|
@@ -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
|
|
|
}
|