Преглед на файлове

补缴月份-补缴过的不能点

dujingxian преди 4 години
родител
ревизия
12507d8c78
променени са 1 файла, в които са добавени 8 реда и са изтрити 1 реда
  1. 8 1
      src/views/index/bujiao.vue

+ 8 - 1
src/views/index/bujiao.vue

@@ -266,10 +266,17 @@
         }
 
         changemon(index) {
+            // console.log('index',index);
             let that:any = this
             for (let i = 0; i < that.data.nums.length; i++) {
+                // console.log('i', i);
                 if (index <= i) {
-                    that.data.nums[i].check = true
+                    // that.data.nums[i].check = true
+                    if (that.data.nums[i].is_order == true) {
+                        that.data.nums[i].check = false
+                    } else {
+                        that.data.nums[i].check = true
+                    }
                 }else{
                     that.data.nums[i].check = false
                 }