Browse Source

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

dujingxian 4 years ago
parent
commit
12507d8c78
1 changed files with 8 additions and 1 deletions
  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
                 }