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,