From ba5f311a61fab416efa6f240e59f25cb87399d2f Mon Sep 17 00:00:00 2001 From: ShenQiLun <97694732@qq.com> Date: Fri, 26 Jun 2026 13:29:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A1=AE=E8=AE=A4=E4=B8=8A=E4=BC=A0/?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=85=A5=E5=BA=93=E5=90=8E=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E5=9C=A8=E5=94=AE=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E5=8F=8A?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index b39bafa..d812a9d 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -2251,6 +2251,7 @@ export default { this.stock = 1 this.printTime = '' this.productList = [] + this.marketData = { onSale: 0, old: 0, new: 0, sold: 0 } // ISBN提交成功 → 自动打开扫码 if (this.currentTab === 'isbn') { @@ -2415,6 +2416,7 @@ export default { this.noIsbnFormat = '' this.noIsbnBinding = '' this.noIsbnProductList = [] + this.noIsbnMarketData = { onSale: 0, old: 0, new: 0, sold: 0 } } catch (e) { uni.hideLoading() console.error('【syncBook】失败:', e) @@ -2672,9 +2674,13 @@ export default { uni.hideLoading() uni.showToast({ title: '入库完成,共 ' + list.length + ' 件', icon: 'success' }) - // 清空待入库列表及波次缓存 + // 清空待入库列表、在售商品列表及统计数据 this.pendingProductList = [] this.pendingCount = 0 + this.productList = [] + this.marketData = { onSale: 0, old: 0, new: 0, sold: 0 } + this.noIsbnProductList = [] + this.noIsbnMarketData = { onSale: 0, old: 0, new: 0, sold: 0 } uni.removeStorageSync('reuseWaveNo') uni.removeStorageSync('reuseWaveId') uni.removeStorageSync('reuseOrderId')