|
|
@ -116,11 +116,10 @@ |
|
|
|
fgLocationCode: "", |
|
|
|
itemCodeFocus: false, |
|
|
|
isCheckItemCode: false, |
|
|
|
counQty: 0, |
|
|
|
counQty: undefined, |
|
|
|
editPosition: true, |
|
|
|
numberFocus: false, |
|
|
|
uom: "", |
|
|
|
positionInfo: "请选择位置", |
|
|
|
show: false, |
|
|
|
isModifiedPosition: true, |
|
|
|
positionList: [], |
|
|
@ -167,7 +166,12 @@ |
|
|
|
// this.qty = 0 |
|
|
|
// this.itemCodeGetFocus(); |
|
|
|
// } |
|
|
|
|
|
|
|
this.qty = 0; |
|
|
|
this.itemCode = '请扫描物料信息' |
|
|
|
this.toLocationCode = '请扫目标库位' |
|
|
|
this.isCheckItemCode =false; |
|
|
|
this.counQty =undefined; |
|
|
|
this.numberFocus = false |
|
|
|
this.$refs.popup.open('bottom'); |
|
|
|
// this.showScanLocation(); |
|
|
|
}, |
|
|
@ -207,10 +211,21 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
confirm() { |
|
|
|
if (this.toLocationCode == "请扫目标库位") { |
|
|
|
this.showErrorMessage("请输入目标库位") |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
if (this.itemCode == "" || !this.isCheckItemCode) { |
|
|
|
this.showErrorMessage("请输入物料", "itemCode") |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.counQty == undefined) { |
|
|
|
this.showErrorMessage("请输入数量") |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.qty == 0) { |
|
|
|
this.showErrorMessage("数量必须大于0") |
|
|
|
return |
|
|
|