💊 fix: 【新增兑换码】商品范围中,随机红包的成本价格展示红包的区间值,固额红包的成本价展示红包的面额
This commit is contained in:
parent
3c607b1e3f
commit
9e9f07ed4f
|
@ -203,7 +203,7 @@ export function redPacketsDataFn(params) {
|
|||
newObj.all_budget = params.all_budget
|
||||
newObj.effectDate = params.begin_time + " 至 " + params.end_time //有效时间
|
||||
newObj.contract_price = params.total_contract_price / params.num //合同单价
|
||||
newObj.cost_price = "-" //单价
|
||||
newObj.cost_price = price //单价
|
||||
newObj.official_price = price //官方价
|
||||
newObj.quantity = params.total_stock || params.num //总库
|
||||
newObj.stock = params.stock || params.num //剩余
|
||||
|
|
|
@ -48,7 +48,7 @@ export const redPacketsFun = (item) => {
|
|||
table_obj.product_name = item.batch_goods_name // 商品名
|
||||
table_obj.official_price = price // 官方价
|
||||
table_obj.contract_price = item.total_contract_price / item.num // 合同价格
|
||||
table_obj.cost_price = "-" //单价
|
||||
table_obj.cost_price = price //单价
|
||||
table_obj.quantity = item.num // 库存数量
|
||||
table_obj.stock = item.stock || item.num // 剩余库存数量
|
||||
table_obj.channel_activity_id = item.cash_activity_id // 批次号
|
||||
|
|
Loading…
Reference in New Issue