소스 검색

确认订单

natasha 3 년 전
부모
커밋
c06acb11ad
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/components/pyment/Confirmorder.vue

+ 2 - 2
src/components/pyment/Confirmorder.vue

@@ -136,7 +136,7 @@ export default {
     //更改优惠码
     changeCode() {
       this.isShow = true;
-      this.discount_money = "0.00";
+      this.discount_money = 0;
       this.receivables_money = this.data.hasOwnProperty("price")
         ? this.data.price
         : this.data.goods_price;
@@ -144,7 +144,7 @@ export default {
     clearData() {
       this.isShow = true;
       this.discount_code = "";
-      this.discount_money = "0.00";
+      this.discount_money = 0;
       this.receivables_money = this.data.hasOwnProperty("price")
         ? this.data.price
         : this.data.goods_price;