新增扫描条形码获取商品

This commit is contained in:
qcl_123 2026-01-27 16:11:01 +08:00
parent 8e28df3158
commit acc1ac1955
3 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@
console.log('条码类型:' + res.scanType); console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result); console.log('条码内容:' + res.result);
that.$model.getPhotoSearch({ that.$model.getPhotoSearch({
barcode: "6920584471017", barcode: res.result,
}).then(res => { }).then(res => {
if (res.code != 0) { if (res.code != 0) {
that.$tools.msg(res.msg) that.$tools.msg(res.msg)

File diff suppressed because one or more lines are too long

View File

@ -383,7 +383,7 @@ var _default = {
console.log('条码类型:' + res.scanType); console.log('条码类型:' + res.scanType);
console.log('条码内容:' + res.result); console.log('条码内容:' + res.result);
that.$model.getPhotoSearch({ that.$model.getPhotoSearch({
barcode: "6920584471017" barcode: res.result
}).then(function (res) { }).then(function (res) {
if (res.code != 0) { if (res.code != 0) {
that.$tools.msg(res.msg); that.$tools.msg(res.msg);