From 5c63b1fccedfcd208f3434edb79926c206c3d26f Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 29 四月 2025 14:52:35 +0800 Subject: [PATCH] feat:增加类型显示 --- pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue b/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue index ed8f29b..851a30c 100644 --- a/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue +++ b/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue @@ -30,6 +30,7 @@ <view class="dispatch-dept">{{ item.code || '' }}</view> <view class="black-bar"></view> <view class="dispatch">{{ item.customerName ||'' }}</view> + <view class="dispatch-dept">{{ item.orderType || '' }}</view> </view> <view class="point-number"> <text class="order-type">{{ item.productNames?limitString(item.productNames,20,'...'):'' || '' }}</text> @@ -109,6 +110,7 @@ <view class="dispatch-dept">{{ item.coalName || '' }}</view> <view class="black-bar"></view> <view class="dispatch">{{ item.customerName ||'' }}</view> + <view class="dispatch-dept">{{ item.orderType || '' }}</view> </view> <view class="point-number"> <text class="order-type">{{ item.productNames?limitString(item.productNames,20,'...'):'' || '' }}</text> @@ -160,6 +162,8 @@ <view class="dispatch">{{ item.driver ||'' }}</view> <view class="black-bar"></view> <text>{{ item.phone || '' }}</text> + <view class="black-bar"></view> + <view class="dispatch-dept">{{ item.orderType || '' }}</view> </view> </view> <view class="third-line"> @@ -317,7 +321,13 @@ doorshow:true, temporaryPlanId:"", show: false, // 寮瑰嚭鍏ㄩ儴棰嗗彇鎻愮ず - driverBillOfLoadingData:[], + driverBillOfLoadingData:[ + { + carNo:'鍐�A99999', + orderType:'澶栬喘' + } + + ], driverBillOfLoadingDatas:[], driverTemporaryEntry:[], inspectData:[], @@ -409,7 +419,7 @@ inspectedResult:JSON.stringify(this.inspectData) }, 'json').then(res => { if (res.code === 0) { - uni.$u.toast('妫�鏌ユ垚鍔�') + this.$u.toast('妫�鏌ユ垚鍔�') this.form={} this.ClickLoading = false; this.inspectData=[] @@ -417,12 +427,15 @@ this.logoutShow = false; this.TaskCoalList() } else { - uni.$u.toast(res.msg ? res.msg : '妫�鏌ュけ璐�') + this.ClickLoading = false; + this.show = false; this.logoutShow = false; + this.$u.toast(res.msg || '妫�鏌ュけ璐�') + } }) }else{ - uni.$u.toast('蹇呴』鍏ㄩ儴妫�娴�') + this.$u.toast('蹇呴』鍏ㄩ儴妫�娴�') } }, logoutCancel() { @@ -539,7 +552,7 @@ if(!this.carNo){ this.$reqGet('getCheckTaskCoal',{flag:0,door:this.door}).then(res => { uni.hideLoading(); - this.driverBillOfLoadingData = res.data; + // this.driverBillOfLoadingData = res.data; uni.stopPullDownRefresh(); this.handleOpenChange(); }); -- Gitblit v1.9.1