From 407856f268d36c3c91c7427d92452b352b9a4687 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 24 Jan 2024 13:40:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E6=96=99=E7=94=B3=E8=AF=B7=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=95=B0=E6=8D=AE=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/issue/coms/comIssueRequestPopup.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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