From 65d1e61e0546a5a7b42381b1f11a5ad6ed2ce145 Mon Sep 17 00:00:00 2001 From: wk Date: 星期六, 29 六月 2024 13:50:15 +0800 Subject: [PATCH] feta:道路指引 --- pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 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 3583722..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> @@ -374,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" @@ -462,7 +462,7 @@ return { swiperList:[], orderPlanId: null, - radioValue:'鐓ゅ満', + radioValue:'鍦哄湴', tmTaskCoalList:[], currentNum:0, guideLineshow:false, @@ -473,6 +473,7 @@ affiliationId:'', type:2, }, + wareList:[], coalDetailsData: { tmTaskCoalList:[] }, // 鎻愮叅鍗曡鎯� @@ -723,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; @@ -1240,7 +1242,7 @@ this.guideLineshow = true; this.swiperList = []; this.activeText = ''; - this.activeObj.affiliationId = this.coalDetailsData.filedId; //榛樿鏌ョ叅鍦� + this.activeObj.affiliationId = this.coalDetailsData.filedId; this.getguideFun(); }, @@ -1248,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