From 30d8c3a8c28d3d071c03758f3de18894d7dda153 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 26 Nov 2024 11:35:19 +0800 Subject: [PATCH] =?UTF-8?q?YT-1275=E6=94=B6=E8=B4=A7=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=94=B6=E8=B4=A7=E6=97=B6=E4=BF=AE=E6=94=B9=E4=BA=86=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E5=BA=93=E4=BD=8D=EF=BC=8C=E6=94=B6=E8=B4=A7=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8E=E5=88=B0=E5=BA=93=E4=BD=8D=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/purchaseReceipt/job/receiptDetail.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pages/purchaseReceipt/job/receiptDetail.vue b/src/pages/purchaseReceipt/job/receiptDetail.vue index 39c34f5a..686b3659 100644 --- a/src/pages/purchaseReceipt/job/receiptDetail.vue +++ b/src/pages/purchaseReceipt/job/receiptDetail.vue @@ -628,6 +628,7 @@ if (this.jobContent.allowModifyLocation == 'TRUE') { this.toLocationCode = code; this.jobToLocationCode= code + this.toWarehouseCode= location.warehouseCode } else { if (code == this.jobToLocationCode) { this.toLocationCode = code; @@ -636,12 +637,12 @@ } } - // this.toLocationCode = code - // this.detailSource.forEach(item => { - // item.subList.forEach(detail => { - // detail.toLocationCode = code - // }) - // }) + this.toLocationCode = code + this.detailSource.forEach(item => { + item.subList.forEach(detail => { + detail.toLocationCode = code + }) + }) }, commit() { @@ -980,6 +981,7 @@ console.log(8787,this.detailSource) subList.push(detail) }) }) + this.jobContent.toWarehouseCode = this.toWarehouseCode this.jobContent.subList = subList this.jobContent.createTime = createTime; this.jobContent.creator = creator;