From 1b7e26c2cb24a936d84314909dd74d6688493c79 Mon Sep 17 00:00:00 2001 From: ShenQiLun <97694732@qq.com> Date: Fri, 26 Jun 2026 15:34:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BB=93=E5=BA=93=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=97=B6ISBN=E4=B8=8E=E6=97=A0ISBN=E8=B4=A7?= =?UTF-8?q?=E5=8C=BA=E5=90=8C=E6=AD=A5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 6347886..c79e8b3 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -1681,27 +1681,20 @@ export default { confirmWarehousePicker() { if (!this.popupSelectedLoc) return const wh = this.popupWarehouseList[this.popupActiveWhIndex] - if (this.pickerTargetTab === 'isbn') { - this.isbnWarehouseData = { - warehouseId: wh.id, - warehouseName: wh.name, - warehouseCode: wh.code, - locationId: this.popupSelectedLoc.id, - locationCode: this.popupSelectedLoc.code, - locationName: this.popupSelectedLoc.name - } - this.isbnSelectedArea = `${wh.name} - ${this.popupSelectedLoc.code}` - } else { - this.noIsbnWarehouseData = { - warehouseId: wh.id, - warehouseName: wh.name, - warehouseCode: wh.code, - locationId: this.popupSelectedLoc.id, - locationCode: this.popupSelectedLoc.code, - locationName: this.popupSelectedLoc.name - } - this.noIsbnSelectedArea = `${wh.name} - ${this.popupSelectedLoc.code}` + const whData = { + warehouseId: wh.id, + warehouseName: wh.name, + warehouseCode: wh.code, + locationId: this.popupSelectedLoc.id, + locationCode: this.popupSelectedLoc.code, + locationName: this.popupSelectedLoc.name } + const areaText = `${wh.name} - ${this.popupSelectedLoc.code}` + // ISBN 和无 ISBN 货区同步 + this.isbnWarehouseData = whData + this.isbnSelectedArea = areaText + this.noIsbnWarehouseData = whData + this.noIsbnSelectedArea = areaText this.showWarehousePicker = false },