💊 fix: 修复官方价和合同价展示问题

This commit is contained in:
wangsongsole 2023-06-29 13:45:58 +08:00
parent fae314d678
commit 349cd527b2
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ export const redPacketsFun = (item) => {
table_obj.only = item // 存储就数据 编辑好用 table_obj.only = item // 存储就数据 编辑好用
table_obj.product_id = item.goods_id || item.id || item.cash_activity_id // 商品编号 table_obj.product_id = item.goods_id || item.id || item.cash_activity_id // 商品编号
table_obj.product_name = item.batch_goods_name // 商品名 table_obj.product_name = item.batch_goods_name // 商品名
table_obj.official_price = item.total_contract_price / item.num // 官方价 table_obj.official_price = price // 官方价
table_obj.contract_price = price // 合同价格 table_obj.contract_price = item.total_contract_price / item.num // 合同价格
table_obj.cost_price = "-" //单价 table_obj.cost_price = "-" //单价
table_obj.quantity = item.num // 库存数量 table_obj.quantity = item.num // 库存数量
table_obj.stock = item.stock || item.num // 剩余库存数量 table_obj.stock = item.stock || item.num // 剩余库存数量