From a4845ff3c4951f3a471f553edf050ead1a0a8afc Mon Sep 17 00:00:00 2001 From: "97694732@qq.com" Date: Thu, 4 Jun 2026 09:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E4=B8=8A=E4=B9=A6?= =?UTF-8?q?=E9=80=89=E8=B4=A7=E4=BD=8D=E5=90=8E,=E5=9B=BE=E4=B9=A6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=A1=B5=E9=BB=98=E8=AE=A4=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E8=AF=A5=E8=B4=A7=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index cb8084d..1d1a541 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -824,6 +824,25 @@ export default { this.loadSavedAccounts() // 恢复定价策略配置 this.loadPriceConfig() + // 恢复选择的仓库货位 + const savedWhData = uni.getStorageSync('selectedWarehouseData') + if (savedWhData) { + const locationText = savedWhData.warehouseName + ' - ' + savedWhData.locationCode + const whData = { + warehouseId: savedWhData.warehouseId, + warehouseName: savedWhData.warehouseName, + warehouseCode: savedWhData.warehouseCode, + locationId: savedWhData.locationId, + locationName: savedWhData.locationName, + locationCode: savedWhData.locationCode, + code: savedWhData.locationCode, + name: savedWhData.locationName + } + this.isbnSelectedArea = locationText + this.isbnWarehouseData = whData + this.noIsbnSelectedArea = locationText + this.noIsbnWarehouseData = whData + } }, computed: {