From 6a232ec3d1d75af66b5afb475895d585a494cbaf Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期六, 29 六月 2024 16:24:35 +0800 Subject: [PATCH] feat:小程序修改问题若干 --- pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue | 29 +++++++++++++++++------------ 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue index de42249..d9f67c7 100644 --- a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue +++ b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue @@ -7,13 +7,13 @@ fontSize='36'></u-notice-bar> <view class="top-information"> <view class="cutomer-name" - v-if="orderType == '杞叆' || orderType == '杞嚭'">鐓ゅ満:{{ coalDetailsData.toFiledName || '' }}</view> + v-if="orderType == '杞叆' || orderType == '杞嚭'">鍦哄湴:{{ coalDetailsData.toFiledName || '' }}</view> <view class="cutomer-name" v-else>瀹㈡埛:{{ coalDetailsData.customerName || '' }}</view> <view class="fild-name"> <view class="">鐭垮満:{{ coalDetailsData.deptName || '鏆傛棤' }}</view> <view class="" - v-if="orderType == '杞叆' || orderType == '杞嚭'">鐓ゅ満:{{ coalDetailsData.filedName || '' }}</view> + v-if="orderType == '杞叆' || orderType == '杞嚭'">鍦哄湴:{{ coalDetailsData.filedName || '' }}</view> <view class="" v-else>浠撳簱:{{ coalDetailsData.filedName || '鏆傛棤' }}</view> </view> @@ -81,7 +81,8 @@ <uni-th align="center">鐨噸</uni-th> <uni-th align="center">姣涢噸</uni-th> <uni-th align="center">鍑�閲�</uni-th> - <uni-th align="center">鎵e惃</uni-th> + <uni-th align="center">鎵e惃</uni-th> + <uni-th align="center">浠舵暟</uni-th> </uni-tr> <uni-tr v-for="(subItem, index) in tmTaskCoalList" :key="index"> <uni-td align="center"> @@ -99,7 +100,9 @@ 聽 <uni-td align="right"> <view>{{ subItem.discount }}</view ></uni-td> - + <uni-td align="right"> + <view>{{ subItem.productQuantity }}</view + ></uni-td> </uni-tr> </uni-table> </view> @@ -371,14 +374,14 @@ placement="row" @change="radioChange" > - <u-radio label="鐓ゅ満" :name="'鐓ゅ満'" :labelSize="30" :size="30"></u-radio> - <u-radio label="鍗曚綅" :name="'鍗曚綅'":labelSize="30" :size="30"></u-radio> + <u-radio label="鍦哄湴" :name="'鍦哄湴'" :labelSize="30" :size="30"></u-radio> + <u-radio v-for="(item,index) in wareList" :label="'浠撳簱'+(index+1)" :name="index":labelSize="30" :size="30" ></u-radio> </u-radio-group> <div class="guidebox"> <u-swiper v-if="guideLineshow" - :height="200" + :height="400" @click="swiperClick" :list="swiperList" keyName="image" @@ -459,7 +462,7 @@ return { swiperList:[], orderPlanId: null, - radioValue:'鐓ゅ満', + radioValue:'鍦哄湴', tmTaskCoalList:[], currentNum:0, guideLineshow:false, @@ -470,6 +473,7 @@ affiliationId:'', type:2, }, + wareList:[], coalDetailsData: { tmTaskCoalList:[] }, // 鎻愮叅鍗曡鎯� @@ -720,6 +724,7 @@ this.orderType = this.coalDetailsData.orderType; // this.isSpecial = res.data.isSpecial + this.wareList=res.data.bunkerIds.split(",") // // 鍒ゆ柇鏄惁瀹屾垚澶栭攢璁㈠崟 // this.completeOutSale.orderType = this.coalDetailsData.orderType; // this.completeOutSale.deptId = this.coalDetailsData.deptId; @@ -1237,7 +1242,7 @@ this.guideLineshow = true; this.swiperList = []; this.activeText = ''; - this.activeObj.affiliationId = this.coalDetailsData.filedId; //榛樿鏌ョ叅鍦� + this.activeObj.affiliationId = this.coalDetailsData.filedId; this.getguideFun(); }, @@ -1245,12 +1250,12 @@ this.guideLineshow = false; }, radioChange(item){ - console.log(item); - if(item == '鐓ゅ満'){ + console.log(111,item,this.coalDetailsData,this.wareList); + if(item == '鍦哄湴'){ this.activeObj.affiliationId = this.coalDetailsData.filedId; this.activeObj.type = 2 }else{ - this.activeObj.affiliationId = this.coalDetailsData.deptId; + this.activeObj.affiliationId = this.wareList.length>0?this.wareList[item]:this.coalDetailsData.deptId; this.activeObj.type = 1 } this.getguideFun(); -- Gitblit v1.9.1