From f3630945de02794adfc9fdd592f7643a1470b230 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 25 Jan 2024 15:11:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E6=96=99=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=B8=85=E9=99=A4=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/scan/winScanPackAndPosition.vue | 2 +- pages/issue/coms/comIssueRequestPopup.vue | 28 +++++++++++++++++++ pages/issue/coms/comScanIssuePack.vue | 13 +++++++-- pages/issue/job/issueDetail.vue | 15 ++++++---- pages/issue/record/issueRecord.vue | 25 ++++++++++------- pages/issue/request/issueRequestCreate.vue | 17 +++++------ .../unPlanned/coms/comReceiptRequestPopup.vue | 9 ++++-- 7 files changed, 79 insertions(+), 30 deletions(-) diff --git a/mycomponents/scan/winScanPackAndPosition.vue b/mycomponents/scan/winScanPackAndPosition.vue index a33bc574..dfe09e37 100644 --- a/mycomponents/scan/winScanPackAndPosition.vue +++ b/mycomponents/scan/winScanPackAndPosition.vue @@ -112,7 +112,7 @@ }, initData(){ - this.positionInfo= "请选择位置"; + this.positionInfo = "请选择位置"; this.positionList = []; this.productionLineCode = ''; this.rawLocationCode = ""; diff --git a/pages/issue/coms/comIssueRequestPopup.vue b/pages/issue/coms/comIssueRequestPopup.vue index 7d1d5cce..aad3c3c4 100644 --- a/pages/issue/coms/comIssueRequestPopup.vue +++ b/pages/issue/coms/comIssueRequestPopup.vue @@ -162,8 +162,11 @@ this.isModifiedPosition = false } else { this.itemCode = ""; + this.isCheckItemCode = false; + this.show = false this.uom = "" this.qty = 0; + this.stdPackInfo =undefined; this.counQty = undefined; this.numberFocus = false this.itemCodeGetFocus(); @@ -171,6 +174,26 @@ this.$refs.popup.open('bottom') }, + initData(){ + this.positionList = []; + this.itemCode = "请扫描物料信息"; + this.isCheckItemCode = false; + this.rawLocationCode ="" + this.positionInfo ="请选择位置" + this.workshopCode= "" //车间 + this.workShopName= "" + this.productionLineCode="" //生产线 + this.productionLineName="" + this.workStationCode= "" //工位 + this.workStationName= "" + this.show = false + this.uom = "" + this.qty = 0; + this.stdPackInfo =undefined; + this.counQty = undefined; + this.numberFocus = false + }, + closeRequestPopup() { this.$refs.popup.close() }, @@ -194,6 +217,11 @@ }, confirm() { + if (this.positionInfo == "请选择位置" ) { + this.showErrorMessage("请选择位置") + return + } + if (this.itemCode == "" || !this.isCheckItemCode) { this.showErrorMessage("请输入物料", "itemCode") return diff --git a/pages/issue/coms/comScanIssuePack.vue b/pages/issue/coms/comScanIssuePack.vue index ba6fdeff..1213d1ae 100644 --- a/pages/issue/coms/comScanIssuePack.vue +++ b/pages/issue/coms/comScanIssuePack.vue @@ -3,9 +3,16 @@ - - 扫描箱码 - 关闭 + + + + 扫描箱码 + + + + + - + + + - + + diff --git a/pages/issue/record/issueRecord.vue b/pages/issue/record/issueRecord.vue index eb5268f7..939d5aa8 100644 --- a/pages/issue/record/issueRecord.vue +++ b/pages/issue/record/issueRecord.vue @@ -22,21 +22,26 @@ - -
- + + + - + + + -
+ + - + +