From f22e264b6c282f597a139f549025cb9120fe0da1 Mon Sep 17 00:00:00 2001 From: wk Date: 星期三, 23 十月 2024 09:49:06 +0800 Subject: [PATCH] feat:临时入场 --- subPages/addDailyPlan/addDailyPlan.vue | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/subPages/addDailyPlan/addDailyPlan.vue b/subPages/addDailyPlan/addDailyPlan.vue index 34c0417..e416afa 100644 --- a/subPages/addDailyPlan/addDailyPlan.vue +++ b/subPages/addDailyPlan/addDailyPlan.vue @@ -84,10 +84,10 @@ 聽 <uni-td align="center"> <view>{{ item.bunkerName }}</view></uni-td> - 聽 <uni-td align="center"> + 聽 <uni-td align="center" v-if="isNumOk"> <view> <u-input - v-model="subDataList[index].quant" + v-model="subDataList[index].surplusQuant" border="surround" placeholder="璇疯緭鍏ユ暟閲�" /> </view></uni-td> @@ -204,6 +204,8 @@ customerNameList: [], buildLoading: false, subDataList:[], + isWeighing:'', + orderType:'', } }, computed: { @@ -296,8 +298,11 @@ 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; }) + this.mapProductNum = tempArr.join(",") }else{ this.mapProductNum = ''; @@ -310,7 +315,7 @@ confirmBuild() { let tempArr = []; this.subDataList.forEach(item=>{ - tempArr.push(item.productId + ':' + item.quant); + tempArr.push(item.productId + ':' + item.surplusQuant); }) this.mapProductNum = tempArr.join(",") let form = { @@ -321,6 +326,8 @@ itemIds:this.checkList.join(",") + ',', closeOrderId:this.closeOrderId, mapProductNum:this.mapProductNum, + orderType:this.orderType, + isWeighing:this.isWeighing } this.buildLoading = true -- Gitblit v1.9.1