🐞 fix(ID1000793):新版内部商城,大货、散剪未配布前的金额叫“预估金额”;配布后叫“合计金额”
This commit is contained in:
parent
425eb9e3ae
commit
088ac6f46e
@ -615,6 +615,14 @@ export default () => {
|
||||
}
|
||||
})
|
||||
}, [infoObj])
|
||||
//待接单、配布中、已配布状态时,叫预估金额,其他状态叫合计金额。
|
||||
const payFont = useMemo(() => {
|
||||
if (infoObj?.status === 0 || infoObj?.status === 1 || infoObj?.status === 2) {
|
||||
return "预估金额"
|
||||
} else {
|
||||
return "合计金额"
|
||||
}
|
||||
}, [infoObj])
|
||||
|
||||
|
||||
return (
|
||||
@ -644,7 +652,7 @@ export default () => {
|
||||
<GoodsItem list={infoObj?.product_list} obj={infoObj}></GoodsItem>
|
||||
<View className={styles.flexMoney}>
|
||||
<View className={styles.flexTotalBox}>
|
||||
<View className={styles.totalFont}>合计金额</View>
|
||||
<View className={styles.totalFont}>{payFont}</View>
|
||||
{/* <IconFont name={'icon-tishi'} size={28} ></IconFont> */}
|
||||
</View>
|
||||
<View className={styles.shoudPay}>¥{formatPriceDiv(infoObj.bill_total_sale_price)}</View>
|
||||
|
Loading…
x
Reference in New Issue
Block a user