Kaynağa Gözat

确认订单

natasha 3 yıl önce
ebeveyn
işleme
c06acb11ad
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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;