From ae607b4b2f38c0ed8137151ab9946edd50b9e73a Mon Sep 17 00:00:00 2001 From: mabaoyan Date: Thu, 25 May 2023 14:07:14 +0800 Subject: [PATCH] =?UTF-8?q?Overseamom-296=20feat=20=E6=B5=B7=E5=A4=96dn?= =?UTF-8?q?=E5=88=87=E6=8D=A2PO/=E7=89=A9=E6=96=99=E6=97=B6=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E6=9F=A5=E8=AF=A2=E5=BA=93=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/raw/ingoods/dnReceipt/ImportDN.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/raw/ingoods/dnReceipt/ImportDN.vue b/src/pages/raw/ingoods/dnReceipt/ImportDN.vue index d1460af..799526f 100644 --- a/src/pages/raw/ingoods/dnReceipt/ImportDN.vue +++ b/src/pages/raw/ingoods/dnReceipt/ImportDN.vue @@ -137,6 +137,8 @@ export default class dnReceiptDom extends BasePage { async queryLoction() { this.Location = []; let sendSpot = JSON.parse(uni.getStorageSync('sendSpot') as any); + let data: any = this.model.orderInInfoList.find((val: any) => val.poNo == this.poNo && val.materialCode == this.every.materialCode); + uni.setStorageSync('sendSpot', JSON.stringify(data.sendSpot) as any); let content = { loginName: session.loginName, sendSpot: sendSpot, @@ -160,6 +162,8 @@ export default class dnReceiptDom extends BasePage { let list: Array = []; let means: any = JSON.parse(uni.getStorageSync('__GWMS_APP_STATE_DATA__') as any); let sendSpot = JSON.parse(uni.getStorageSync('sendSpot') as any); + let data: any = this.model.orderInInfoList.find((val: any) => val.poNo == this.poNo && val.materialCode == this.every.materialCode); + uni.setStorageSync('sendSpot', JSON.stringify(data.sendSpot) as any); let content = { loginName: means.session.user.loginName, sendSpot: sendSpot,