Commit 8d09c601 by wangyalan-git

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

parent 1ec48149
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
window.qing.call('scanQRCode', { window.qing.call('scanQRCode', {
needResult: 0, needResult: 0,
success: function (result) { success: function (result) {
alert(result) alert('初始化' + result)
} }
}) })
}, },
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
window.qing.call('scanQRCode', { window.qing.call('scanQRCode', {
needResult: 1, needResult: 1,
success: function (result) { success: function (result) {
alert(result) alert('成功' + result.data)
const data = JSON.parse(result.data) const data = JSON.parse(result.data)
checkQcode(data).then(res => { checkQcode(data).then(res => {
console.log('校验结果', res) console.log('校验结果', res)
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
console.log('成功', result) console.log('成功', result)
}, },
error: function (res) { error: function (res) {
alert(res) alert('失败' + res)
} }
}) })
// const result = '{"onlyId":"84c322654e1a4ae4bf93c99839a5af72","memberId":36}' // const result = '{"onlyId":"84c322654e1a4ae4bf93c99839a5af72","memberId":36}'
......
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