yangan
2024-11-11 cc456f2c057eaa904919961888d4f1c755524dd5
subPages/addDailyPlan/addDailyPlan.vue
@@ -295,7 +295,7 @@
                        this.subDataList = [];
                     }
                     //查看是不是采购的计数
                     if(this.subDataList.find(item=>item.isWeight === 0)){
                     if(this.subDataList.find(item=>item.isWeight === 0 || item.isWeight === 2)){
                        this.isNumOk = true;
                        this.value = 1;
                     } else{
@@ -304,7 +304,7 @@
                     if(this.isNumOk){
                        let tempArr = [];
                        this.subDataList.forEach(item=>{
                        tempArr.push(item.productId + ':' + item.surplusQuant);
                        tempArr.push(item.id + ':' + item.surplusQuant);
                        this.isWeighing = item.isWeight;
                        this.orderType = item.orderType;
                        })
@@ -323,7 +323,7 @@
               this.subDataList.forEach(item=>{
                  this.checkList.forEach(val=>{
                     if(item.id === val){
                        tempArr.push(item.productId + ':' + item.nums);
                        tempArr.push(item.id + ':' + item.nums);
                     }
                  
                  })