diff --git a/pages/issue/coms/comIssueRequestPopup.vue b/pages/issue/coms/comIssueRequestPopup.vue index bff17718..7d1d5cce 100644 --- a/pages/issue/coms/comIssueRequestPopup.vue +++ b/pages/issue/coms/comIssueRequestPopup.vue @@ -113,7 +113,7 @@ requestInfo: null, itemCodeList: [], isCheckItemCode: false, - counQty: 0, + counQty: undefined, editPosition: true, numberFocus: false, uom: "", @@ -164,7 +164,8 @@ this.itemCode = ""; this.uom = "" this.qty = 0; - this.count = 0; + this.counQty = undefined; + this.numberFocus = false this.itemCodeGetFocus(); } @@ -197,6 +198,11 @@ this.showErrorMessage("请输入物料", "itemCode") return } + if (this.counQty == undefined) { + this.showErrorMessage("请输入数量") + return + } + if (this.qty == 0) { this.showErrorMessage("数量必须大于0") return