|
|
@@ -22,7 +22,7 @@
|
|
|
<block v-if="pageStatus == 1 || pageStatus == 2">
|
|
|
<div class="price">
|
|
|
<span>¥</span>
|
|
|
- <span class="app-size-36 app-bold">{{ option.totalPrice?parseFloat(option.totalPrice):0 }}</span>
|
|
|
+ <span class="app-size-36 app-bold">{{ totalPrice }}</span>
|
|
|
</div>
|
|
|
<div class="order-num app-color-3">订单号: {{ option.orderSn }}</div>
|
|
|
</block>
|
|
|
@@ -151,7 +151,8 @@ export default {
|
|
|
},
|
|
|
payCallData: {},
|
|
|
merchantInfo: {},
|
|
|
- setPassModal: false
|
|
|
+ setPassModal: false,
|
|
|
+ totalPrice:0
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -160,6 +161,11 @@ export default {
|
|
|
onLoad() {},
|
|
|
methods: {
|
|
|
init() {
|
|
|
+
|
|
|
+ if(this.option.totalPrice){
|
|
|
+ this.totalPrice = parseFloat(Number(this.option.totalPrice))
|
|
|
+ }
|
|
|
+
|
|
|
this.pageStatus = this.option.pageStatus;
|
|
|
this.payDiscountPrice = this.option.payDiscountPrice;
|
|
|
this.payDiscountType = this.option.payDiscountType;
|