fix: 修改立减金库存数量
This commit is contained in:
parent
dd6110e4d6
commit
12bf112c20
|
@ -9,7 +9,7 @@ export const knockGoldFun = (item) => {
|
|||
table_obj.product_name = item.batch_goods_name; // 商品名
|
||||
table_obj.official_price = item.reduce_amount; // 官方价
|
||||
table_obj.contract_price = item.price; // 合同价格
|
||||
table_obj.quantity = Math.trunc(item.all_budget / item.reduce_amount); // 库存数量
|
||||
table_obj.quantity = item.total_stock; // 库存数量
|
||||
table_obj.channel_activity_id = item.channel_activity_id; // 批次号
|
||||
table_obj.all_budget = Number(item.all_budget); // 总预算
|
||||
table_obj.effectDate = `${item.time_limit.effect_time.start_time} 至 ${item.time_limit.effect_time.end_time}`; // 有效时间段
|
||||
|
|
Loading…
Reference in New Issue