diff --git a/src/pages/issue/record/directIssue.vue b/src/pages/issue/record/directIssue.vue index 5970463b..e746af75 100644 --- a/src/pages/issue/record/directIssue.vue +++ b/src/pages/issue/record/directIssue.vue @@ -5,8 +5,10 @@ - + + 来源库位 : {{fromLocationCode}} + @@ -15,9 +17,8 @@ + :isShowToLocation="false" :isShowParentToLocation="false" @updateData="updateData" + @removePack="removePack"> @@ -44,7 +45,7 @@ - + @@ -131,7 +132,7 @@ show: false, positionInfo: "请选择生产线", resultData: {}, - itemCode:"" + itemCode: "" }; }, onLoad(option) { @@ -169,7 +170,7 @@ mounted() {}, methods: { - + getBusinessType() { getBusinessType(this.businessTypeCode, res => { if (res.success) { @@ -182,7 +183,7 @@ } }); }, - + getScanResult(result) { this.setData(result); }, @@ -190,14 +191,14 @@ let balance = result.balance; let label = result.label; let pack = result.package; - - + + if (this.fromLocationCode && this.fromLocationCode != balance.locationCode) { this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]在库位[" + this .fromLocationCode + "]没有库存余额") return; } - + var item = this.detailSource.find(res => { if (res.itemCode == balance.itemCode) { return res @@ -255,13 +256,8 @@ }, showErrorMessage(message) { - if (this.$refs.scanPopup) { - this.$refs.scanPopup.losefocus(); - } this.$refs.comMessage.showErrorMessage(message, res => { - if (res) { - this.scanPopupGetFocus() - } + if (res) {} }); }, @@ -518,7 +514,7 @@ this.toWarehouseCode = ''; this.detailSource = []; this.positionInfo = "请选择生产线"; - this.itemCode="" + this.itemCode = "" } } } diff --git a/src/pages/pointPutawayJob/index.vue b/src/pages/pointPutawayJob/index.vue index bac7be5b..d3c1fe15 100644 --- a/src/pages/pointPutawayJob/index.vue +++ b/src/pages/pointPutawayJob/index.vue @@ -26,7 +26,7 @@ 供应商 {{item.supplierCode}} - 批次 + 供应商批次 {{item.supplierBatch}} @@ -218,7 +218,7 @@ 供应商 ${item.supplierCode} - 批次 + 供应商批次 ${item.supplierBatch}