|
@@ -25,9 +25,9 @@ import ColHeader from '@/components/col-header'
|
|
|
export default defineComponent({
|
|
|
name: 'cartConfirmAgin',
|
|
|
setup() {
|
|
|
- // console.log(cartConfirm)
|
|
|
const list = cartConfirm.orderInfo?.orderItemList || []
|
|
|
const calcAmount = {
|
|
|
+ integrationAmount: cartConfirm.orderInfo?.integrationAmount || 0,
|
|
|
totalAmount: cartConfirm.orderInfo?.totalAmount || 0,
|
|
|
payAmount: cartConfirm.orderInfo?.payAmount || 0,
|
|
|
freightAmount: cartConfirm.orderInfo?.freightAmount || 0,
|
|
@@ -137,6 +137,23 @@ export default defineComponent({
|
|
|
></Cell>
|
|
|
<Cell
|
|
|
border={false}
|
|
|
+ title="余额支付"
|
|
|
+ v-slots={{
|
|
|
+ value: () => (
|
|
|
+ <span
|
|
|
+ style={{
|
|
|
+ fontSize: '0.42667rem',
|
|
|
+ color: '#ff3535',
|
|
|
+ fontWeight: 'bold'
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ {'-¥ ' + calcAmount.integrationAmount}
|
|
|
+ </span>
|
|
|
+ )
|
|
|
+ }}
|
|
|
+ ></Cell>
|
|
|
+ <Cell
|
|
|
+ border={false}
|
|
|
title="总额"
|
|
|
value={'¥ ' + calcAmount.totalAmount}
|
|
|
></Cell>
|