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 @@ - -
- + + + - + + + -
+ + - + +