diff --git a/src/pages/issue/record/directIssue.vue b/src/pages/issue/record/directIssue.vue index 2a784cbe..e746af75 100644 --- a/src/pages/issue/record/directIssue.vue +++ b/src/pages/issue/record/directIssue.vue @@ -5,10 +5,11 @@ - - 来源库位 : {{fromLocationCode}} + + + 来源库位 : {{fromLocationCode}} + - @@ -16,9 +17,8 @@ + :isShowToLocation="false" :isShowParentToLocation="false" @updateData="updateData" + @removePack="removePack"> @@ -45,7 +45,7 @@ - + @@ -132,7 +132,7 @@ show: false, positionInfo: "请选择生产线", resultData: {}, - itemCode:"" + itemCode: "" }; }, onLoad(option) { @@ -170,7 +170,7 @@ mounted() {}, methods: { - + getBusinessType() { getBusinessType(this.businessTypeCode, res => { if (res.success) { @@ -183,7 +183,7 @@ } }); }, - + getScanResult(result) { this.setData(result); }, @@ -191,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 @@ -514,7 +514,7 @@ this.toWarehouseCode = ''; this.detailSource = []; this.positionInfo = "请选择生产线"; - this.itemCode="" + this.itemCode = "" } } }