|
@@ -73,6 +73,10 @@ export default defineComponent({
|
|
|
})
|
|
|
|
|
|
return orderDetailList || []
|
|
|
+ },
|
|
|
+ discountAllPrice() {
|
|
|
+ const result: any = this.result
|
|
|
+ return (result.cardDiscountPrice + result.discountPrice).toFixed(2)
|
|
|
}
|
|
|
},
|
|
|
async mounted() {
|
|
@@ -80,7 +84,6 @@ export default defineComponent({
|
|
|
this.loading = true
|
|
|
this.orderNo && (await this.getOrder())
|
|
|
this.loading = false
|
|
|
-
|
|
|
this.type === 'ING' && this.path !== 'tradeRecord' && this.interval()
|
|
|
}, 0)
|
|
|
},
|
|
@@ -233,7 +236,7 @@ export default defineComponent({
|
|
|
/>
|
|
|
))}
|
|
|
|
|
|
- {this.result.couponAmount > 0 && (
|
|
|
+ {this.discountAllPrice > 0 && (
|
|
|
<Row class={styles.optionRow}>
|
|
|
<Col span="8" offset={1}>
|
|
|
优惠金额:
|
|
@@ -241,7 +244,7 @@ export default defineComponent({
|
|
|
<Col span="14">
|
|
|
¥
|
|
|
{(this as any).$filters.moneyFormat(
|
|
|
- this.result.couponAmount
|
|
|
+ this.discountAllPrice
|
|
|
)}
|
|
|
</Col>
|
|
|
<Col span="1"> </Col>
|