fix:price未定义修复,改为salePrice

This commit is contained in:
ShenQiLun 2026-06-26 12:03:05 +08:00
parent 48809b1f42
commit 07d2277664

View File

@ -2217,14 +2217,14 @@ export default {
// //
var entry = { var entry = {
productId: productId, productId: productId,
price: price, price: salePrice,
stock: stock, stock: stock,
warehouseData: warehouseData warehouseData: warehouseData
} }
this.pendingProductList.push(entry) this.pendingProductList.push(entry)
this.pendingCount = this.pendingProductList.length this.pendingCount = this.pendingProductList.length
// / // /
await this.appendWaveItem(warehouseData, productId, stock, price) await this.appendWaveItem(warehouseData, productId, stock, salePrice)
if (this.pendingCount >= 200) { if (this.pendingCount >= 200) {
uni.showToast({ title: '本波次已满200件请先提交入库', icon: 'none', duration: 2000 }) uni.showToast({ title: '本波次已满200件请先提交入库', icon: 'none', duration: 2000 })
} }