新增扫描条形码获取商品
This commit is contained in:
parent
8e28df3158
commit
acc1ac1955
|
|
@ -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
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue