|
@ -113,7 +113,7 @@ |
|
|
requestInfo: null, |
|
|
requestInfo: null, |
|
|
itemCodeList: [], |
|
|
itemCodeList: [], |
|
|
isCheckItemCode: false, |
|
|
isCheckItemCode: false, |
|
|
counQty: 0, |
|
|
counQty: undefined, |
|
|
editPosition: true, |
|
|
editPosition: true, |
|
|
numberFocus: false, |
|
|
numberFocus: false, |
|
|
uom: "", |
|
|
uom: "", |
|
@ -164,7 +164,8 @@ |
|
|
this.itemCode = ""; |
|
|
this.itemCode = ""; |
|
|
this.uom = "" |
|
|
this.uom = "" |
|
|
this.qty = 0; |
|
|
this.qty = 0; |
|
|
this.count = 0; |
|
|
this.counQty = undefined; |
|
|
|
|
|
this.numberFocus = false |
|
|
this.itemCodeGetFocus(); |
|
|
this.itemCodeGetFocus(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -197,6 +198,11 @@ |
|
|
this.showErrorMessage("请输入物料", "itemCode") |
|
|
this.showErrorMessage("请输入物料", "itemCode") |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
if (this.counQty == undefined) { |
|
|
|
|
|
this.showErrorMessage("请输入数量") |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (this.qty == 0) { |
|
|
if (this.qty == 0) { |
|
|
this.showErrorMessage("数量必须大于0") |
|
|
this.showErrorMessage("数量必须大于0") |
|
|
return |
|
|
return |
|
|