diff --git a/pages/issue/coms/comIssueRequestPopup.vue b/pages/issue/coms/comIssueRequestPopup.vue index f457fce7..8cb50dd3 100644 --- a/pages/issue/coms/comIssueRequestPopup.vue +++ b/pages/issue/coms/comIssueRequestPopup.vue @@ -163,7 +163,7 @@ if (this.isModifiedPosition) { this.isModifiedPosition = false } else { - this.itemCode = ""; + this.itemCode = "请扫描物料信息"; this.show = false this.uom = "" this.qty = 0; @@ -321,7 +321,6 @@ this.uom =scanResult.uom this.stdPackInfo = scanResult.package; this.numberFocus = true - } } } diff --git a/pages/query/container.vue b/pages/query/container.vue index 0bd4e41a..defebb34 100644 --- a/pages/query/container.vue +++ b/pages/query/container.vue @@ -27,7 +27,7 @@ 、 - + diff --git a/pages/query/item.vue b/pages/query/item.vue index 142c73f0..fc666c9b 100644 --- a/pages/query/item.vue +++ b/pages/query/item.vue @@ -27,7 +27,7 @@ - + diff --git a/pages/query/item_copy.vue b/pages/query/item_copy.vue index d509d3e8..4f31d51f 100644 --- a/pages/query/item_copy.vue +++ b/pages/query/item_copy.vue @@ -42,7 +42,7 @@ - + diff --git a/pages/repleinsh/coms/comRepleinshRequestPopup.vue b/pages/repleinsh/coms/comRepleinshRequestPopup.vue index c8098218..8ebc05a6 100644 --- a/pages/repleinsh/coms/comRepleinshRequestPopup.vue +++ b/pages/repleinsh/coms/comRepleinshRequestPopup.vue @@ -64,7 +64,7 @@ - + 0) { this.itemCode = res.data.list[0].code; this.itemName = res.data.list[0].name - this.isCheckItemCode = true; this.numberFocus = true this.uom = res.data.list[0].uom } else { @@ -276,14 +273,12 @@ this.closeRequestPopup(); }, - getScanCode(code, scanResult) { - if (code == "") { - this.showErrorMessage('物料号不能为空') - return; - } - this.itemCode = ""; - this.checkItemCode(code) + getItemScanResult(code, scanResult) { + this.itemCode = code; + this.itemName = scanResult.name + this.uom =scanResult.uom this.stdPackInfo = scanResult.package; + this.numberFocus = true }, getLocationCode(location, code) { @@ -304,8 +299,7 @@ } }) if (type == "itemCode") { - this.itemCode = "" - this.isCheckItemCode = false; + this.itemCode = "请扫描物料信息" } }) }, diff --git a/pages/repleinsh/record/repleinshRecord.vue b/pages/repleinsh/record/repleinshRecord.vue index 9eb97203..62446127 100644 --- a/pages/repleinsh/record/repleinshRecord.vue +++ b/pages/repleinsh/record/repleinshRecord.vue @@ -33,7 +33,8 @@ + @confirm='requestConfirm' + :itemCodeTypeList="itemCodeTypeList"> @@ -125,7 +126,8 @@ businessType: {}, requestList: [], managementList: [], - dataContent: {} + dataContent: {}, + itemCodeTypeList:[] }; }, onLoad(option) { @@ -133,6 +135,7 @@ getBusinessType(typeCode, res => { if (res.success) { this.businessType = res.businessType; + this.itemCodeTypeList = res.itemCodeTypeList; this.fromlocationTypeList = res.fromlocationTypeList; this.tolocationTypeList = res.tolocationTypeList; this.showRequestPopup(); diff --git a/pages/unPlanned/coms/comReceiptRequestPopup.vue b/pages/unPlanned/coms/comReceiptRequestPopup.vue index 1bfeafbe..d458a30d 100644 --- a/pages/unPlanned/coms/comReceiptRequestPopup.vue +++ b/pages/unPlanned/coms/comReceiptRequestPopup.vue @@ -68,7 +68,7 @@ - +