|
@@ -266,7 +266,9 @@ export default {
|
|
|
return toThousands(price,2);
|
|
|
},
|
|
|
settlement() {
|
|
|
- let priceNum=this.chooseTotalPayPrice - this.discountVal;
|
|
|
+ let totalPrice=this.chooseTotalPayPrice?this.chooseTotalPayPrice:0;
|
|
|
+ let discountPrice=this.discountVal?this.discountVal:0
|
|
|
+ let priceNum=totalPrice - discountPrice;
|
|
|
return toThousands(priceNum,2)
|
|
|
}
|
|
|
},
|