Commit 1ec48149 by wangyalan-git

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

parent 02b3dfef
......@@ -52,13 +52,23 @@ export default {
}
},
mounted () {
this.init()
},
methods: {
init () {
window.qing.call('scanQRCode', {
needResult: 0,
success: function (result) {
alert(result)
}
})
},
// 员工二维码扫描
scanQrCode () {
window.qing.call('scanQRCode', {
needResult: 1,
success: function (result) {
alert(result)
const data = JSON.parse(result.data)
checkQcode(data).then(res => {
console.log('校验结果', res)
......
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