fix:price未定义修复,改为salePrice
This commit is contained in:
parent
48809b1f42
commit
07d2277664
@ -2217,14 +2217,14 @@ export default {
|
||||
// 添加到待入库列表
|
||||
var entry = {
|
||||
productId: productId,
|
||||
price: price,
|
||||
price: salePrice,
|
||||
stock: stock,
|
||||
warehouseData: warehouseData
|
||||
}
|
||||
this.pendingProductList.push(entry)
|
||||
this.pendingCount = this.pendingProductList.length
|
||||
// 创建/追加波次
|
||||
await this.appendWaveItem(warehouseData, productId, stock, price)
|
||||
await this.appendWaveItem(warehouseData, productId, stock, salePrice)
|
||||
if (this.pendingCount >= 200) {
|
||||
uni.showToast({ title: '本波次已满200件,请先提交入库', icon: 'none', duration: 2000 })
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user