From b87aa31880a079cc8c197453edfcae0e57576808 Mon Sep 17 00:00:00 2001 From: ShenQiLun <97694732@qq.com> Date: Fri, 26 Jun 2026 13:05:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:doSubmit=E4=B8=ADstock=E6=9C=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89,=E6=94=B9=E4=B8=BAthis.stock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/upload/upload.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue index 29651dd..b39bafa 100644 --- a/pages/upload/upload.vue +++ b/pages/upload/upload.vue @@ -2214,13 +2214,13 @@ export default { var entry = { productId: productId, price: salePrice, - stock: stock, + stock: this.stock ?? '1', warehouseData: warehouseData } this.pendingProductList.push(entry) this.pendingCount = this.pendingProductList.length // 创建/追加波次 - await this.appendWaveItem(warehouseData, productId, stock, salePrice) + await this.appendWaveItem(warehouseData, productId, this.stock ?? '1', salePrice) if (this.pendingCount >= 200) { uni.showToast({ title: '本波次已满200件,请先提交入库', icon: 'none', duration: 2000 }) }