浏览代码

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

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
                 }