🐞 fix(ID1000933):销售码单没有显示小计金额
This commit is contained in:
@@ -503,7 +503,6 @@ const OrderDetails = () => {
|
||||
title: '面料销售电子确认单',
|
||||
show_qrcode: true,
|
||||
show_barcode: true,
|
||||
show_wait_pay_amount: true,
|
||||
order_type: infoObj.sale_mode_name,
|
||||
shipment_mode: infoObj.shipment_mode_name,
|
||||
company: infoObj.title_purchaser_name,
|
||||
@@ -531,13 +530,18 @@ const OrderDetails = () => {
|
||||
order_total_weight: (infoObj.total_weight / 1000).toString(),
|
||||
estimate_amount: (infoObj.estimate_amount / 100).toString(),
|
||||
total_sale_price: (infoObj.total_sale_price / 100).toString(),
|
||||
show_total_sale_price: true,
|
||||
show_total_weight_error_discount: true,
|
||||
actual_amount: (infoObj.actual_amount / 100).toString(),
|
||||
wait_pay_amount: (infoObj.wait_pay_amount / 100).toString(),
|
||||
order_total_weight_error: (
|
||||
infoObj.total_weight_error / 1000
|
||||
).toString(),
|
||||
show_sale_price: infoObj?.sale_mode === 0 && infoObj?.is_display_price ? true : !!((infoObj?.sale_mode === 1 || infoObj?.sale_mode === 2)),
|
||||
show_total_price: infoObj?.sale_mode === 0 && infoObj?.is_display_price ? true : !!((infoObj?.sale_mode === 1 || infoObj?.sale_mode === 2)),
|
||||
show_estimate_amount: infoObj?.sale_mode === 0 && infoObj?.is_display_price ? true : !!((infoObj?.sale_mode === 1 || infoObj?.sale_mode === 2)),
|
||||
show_total_sale_price: infoObj?.sale_mode === 0 && infoObj?.is_display_price ? true : !!((infoObj?.sale_mode === 1 || infoObj?.sale_mode === 2)),
|
||||
show_total_weight_error_discount: infoObj?.sale_mode === 0 && infoObj?.is_display_price ? true : !!((infoObj?.sale_mode === 1 || infoObj?.sale_mode === 2)),
|
||||
show_actual_amount: infoObj?.sale_mode === 0 && infoObj?.is_display_price ? true : !!((infoObj?.sale_mode === 1 || infoObj?.sale_mode === 2)),
|
||||
show_wait_pay_amount: infoObj?.sale_mode === 0 && infoObj?.is_display_price ? true : !!((infoObj?.sale_mode === 1 || infoObj?.sale_mode === 2)),
|
||||
}
|
||||
const res = await payFetch(query)
|
||||
if (res.data) {
|
||||
|
||||
Reference in New Issue
Block a user