From 74073d164925eff4962188405355debb367aaf06 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 24 十月 2024 18:13:25 +0800
Subject: [PATCH] feat:小问题修改

---
 subPages/addDailyPlan/addDailyPlan.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/subPages/addDailyPlan/addDailyPlan.vue b/subPages/addDailyPlan/addDailyPlan.vue
index c94c359..8cd2ed2 100644
--- a/subPages/addDailyPlan/addDailyPlan.vue
+++ b/subPages/addDailyPlan/addDailyPlan.vue
@@ -75,13 +75,15 @@
 			emptyText="鏆傛棤鏇村鏁版嵁">
 					<uni-tr>
 					    <uni-th align="center">浜у搧鍚嶇О</uni-th>
+						<uni-th align="center">瑙勬牸</uni-th>
 					    <uni-th align="center">浠撳簱</uni-th>
 						<uni-th align="center" v-if="isNumOk">鏁伴噺</uni-th>
 					</uni-tr>
 					<uni-tr v-for="(item, index) in subDataList" :key="index">
 						<uni-td align="center">
 							<view>{{   item.productName}}</view></uni-td>
-					
+							<uni-td align="center">
+							<view>{{   item.productSpecs}}</view></uni-td>
 				聽   <uni-td align="center">
 					<view>{{ item.bunkerName }}</view></uni-td>
 					聽   <uni-td align="center" v-if="isNumOk">
@@ -298,7 +300,7 @@
 							if(this.isNumOk){
 								let tempArr = [];
 								this.subDataList.forEach(item=>{
-								tempArr.push(item.productId + ':' + item.quant);
+								tempArr.push(item.productId + ':' + item.surplusQuant);
 								this.isWeighing = item.isWeight;
 								this.orderType = item.orderType;
 								})
@@ -315,7 +317,13 @@
 			confirmBuild() {
 				let tempArr = [];
 					this.subDataList.forEach(item=>{
-						tempArr.push(item.productId + ':' + item.quant);
+						this.checkList.forEach(val=>{
+							if(item.id === val){
+								tempArr.push(item.productId + ':' + item.surplusQuant);
+							}
+						
+						})
+						
 						})
 					this.mapProductNum = tempArr.join(",")
 				let form = {

--
Gitblit v1.9.1