From f2dd92deb176ad39b18805d5d2721fad0974a278 Mon Sep 17 00:00:00 2001 From: wk Date: 星期五, 22 十一月 2024 11:32:35 +0800 Subject: [PATCH] feat:我的 --- subPages/addDailyPlan/addDailyPlan.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/subPages/addDailyPlan/addDailyPlan.vue b/subPages/addDailyPlan/addDailyPlan.vue index 07489af..5139e83 100644 --- a/subPages/addDailyPlan/addDailyPlan.vue +++ b/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); } }) -- Gitblit v1.9.1