From 94d99fe564e8b927709221846aa4fb94f3ddff78 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 02 十二月 2024 09:15:47 +0800
Subject: [PATCH] fix:历史收发单时间筛选bug

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