商城测试版v8

This commit is contained in:
2022-07-26 14:26:27 +08:00
parent e11c46fa9c
commit 341c5c2eed
29 changed files with 32 additions and 411 deletions
@@ -74,21 +74,21 @@ export default memo(({show = true, onClose, company, orderInfo}:Param) => {
client: orderInfo.purchaser_name, //客户名称
phone: userPhone(orderInfo), //收货手机号码
order_total_length: (orderInfo.total_number/100).toString(), //订单布匹长度
order_total_price: formatPriceDiv(orderInfo.total_should_collect_money).toString(), //订单价格
order_total_price: formatPriceDiv(orderInfo.bill_total_sale_price).toString(), //订单价格
order_total_num: (orderInfo.total_number).toString(),
qrcode:"", //跳转链接
order_total_weight: formatWeightDiv(orderInfo.total_weight||orderInfo.total_estimate_weight).toString(), //订单布匹重量
list: lists,
estimate_amount: orderInfo.estimate_amount,
show_estimate_amount: orderInfo.estimate_amount > 0,
total_sale_price: orderInfo.total_sale_price,
estimate_amount: formatPriceDiv(orderInfo.estimate_amount).toString(),
show_estimate_amount: orderInfo.estimate_amount > 0 && orderInfo.total_sale_price <= 0,
total_sale_price: formatPriceDiv(orderInfo.total_sale_price).toString(),
show_total_sale_price: orderInfo.total_sale_price > 0,
total_weight_error_discount: orderInfo.total_weight_error_discount,
total_weight_error_discount: formatPriceDiv(orderInfo.total_weight_error_discount).toString(),
show_total_weight_error_discount: orderInfo.total_weight_error_discount > 0,
actual_amount: orderInfo.actual_amount,
actual_amount: formatPriceDiv(orderInfo.actual_amount).toString(),
show_actual_amount: orderInfo.actual_amount > 0,
wait_pay_amount: orderInfo.wait_pay_amount,
wait_pay_amount: formatPriceDiv(orderInfo.wait_pay_amount).toString(),
show_wait_pay_amount: orderInfo.wait_pay_amount > 0
}))
}