Commit eb70e9ef by wangyalan-git

库存统计,领用记录,库存统计,领用详情

parent 0521542a
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
needResult: 1, needResult: 1,
success: function (result) { success: function (result) {
alert('成功' + result.data.qrcode_str) alert('成功' + result.data.qrcode_str)
const data = JSON.parse(result.data) const data = JSON.parse(result.data.qrcode_str)
checkQcode(data).then(res => { checkQcode(data).then(res => {
console.log('校验结果', res) console.log('校验结果', res)
getMemberInfo({ memberId: data.memberId }).then(res => { getMemberInfo({ memberId: data.memberId }).then(res => {
...@@ -106,6 +106,7 @@ export default { ...@@ -106,6 +106,7 @@ export default {
needResult: 1, needResult: 1,
success: function (result) { success: function (result) {
alert('物品'+ result.data.qrcode_str) alert('物品'+ result.data.qrcode_str)
// const data = JSON.parse(result.data.qrcode_str)
// result.data = '{"barCode":"f7c3af254e5a40caaf7dab1b06fd7a1c","memberId":53}' // result.data = '{"barCode":"f7c3af254e5a40caaf7dab1b06fd7a1c","memberId":53}'
// const data = JSON.parse(result.data) // const data = JSON.parse(result.data)
getGoodsInfo({ barCode: result.data.qrcode_str }).then(res => { getGoodsInfo({ barCode: result.data.qrcode_str }).then(res => {
......
const Timestamp = new Date().getTime()
module.exports = { module.exports = {
configureWebpack: {
output: {
// 输出重构【模块名称.hash值.时间戳】
filename: `[name].[hash].${Timestamp}.js`,
chunkFilename: `[name].[hash].${Timestamp}.js`
}
},
css: { css: {
loaderOptions: { loaderOptions: {
less: { less: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment