黎海 преди 2 години
родител
ревизия
3aa8797295
променени са 1 файла, в които са добавени 1 реда и са изтрити 7 реда
  1. 1 7
      src/pages/confirmOrder/details/index.vue

+ 1 - 7
src/pages/confirmOrder/details/index.vue

@@ -601,19 +601,13 @@ export default {
601
     includes (arr1, arr2) {
601
     includes (arr1, arr2) {
602
       return arr2.every(val => arr1.includes(val));
602
       return arr2.every(val => arr1.includes(val));
603
     },
603
     },
604
+    //选中优惠券
604
     selectPupop (item, index) {
605
     selectPupop (item, index) {
605
-
606
-      if (item.type = 4) {
607
-
608
-      } else {
609
-
610
-      }
611
       this.couponList[index].Select = !this.couponList[index].Select
606
       this.couponList[index].Select = !this.couponList[index].Select
612
       this.selectCouponList = this.couponList.filter(res => {
607
       this.selectCouponList = this.couponList.filter(res => {
613
         return res.Select == true
608
         return res.Select == true
614
       })
609
       })
615
       this.selectCouponList.forEach(res => {
610
       this.selectCouponList.forEach(res => {
616
-
617
       })
611
       })
618
 
612
 
619
     },
613
     },