From a28d0135ee42809b2c5863609da37155d3ecba5b Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 29 四月 2025 15:11:39 +0800 Subject: [PATCH] feat:增加类型显示 --- pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue | 33 +++++++++++++++++++++++++++++---- 1 files changed, 29 insertions(+), 4 deletions(-) diff --git a/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue b/pages/doorkeeper-page/doorkeeper-index/doorkeeper-index.vue index 6c30b6e..6eacd8c 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> <view class="point-number"> <text class="order-type">{{ item.productNames?limitString(item.productNames,20,'...'):'' || '' }}</text> @@ -42,7 +43,11 @@ <view class="dispatch">{{ item.driver ||'' }}</view> <view class="black-bar"></view> <text>{{ item.phone || '' }}</text> + </view> + </view> + <view class="second-line"> + <text>{{ item.orderType || '' }}</text> </view> <view class="third-line"> <view class="time-icon"> @@ -109,7 +114,11 @@ <view class="dispatch-dept">{{ item.coalName || '' }}</view> <view class="black-bar"></view> <view class="dispatch">{{ item.customerName ||'' }}</view> + </view> + <view class="second-line"> + <text>{{ item.orderType || '' }}</text> + </view> <view class="point-number"> <text class="order-type">{{ item.productNames?limitString(item.productNames,20,'...'):'' || '' }}</text> </view> @@ -160,7 +169,11 @@ <view class="dispatch">{{ item.driver ||'' }}</view> <view class="black-bar"></view> <text>{{ item.phone || '' }}</text> + </view> + </view> + <view class="second-line"> + <view class="dispatch-dept">{{ item.orderType || '' }}</view> </view> <view class="third-line"> <view class="time-icon"> @@ -317,7 +330,13 @@ doorshow:true, temporaryPlanId:"", show: false, // 寮瑰嚭鍏ㄩ儴棰嗗彇鎻愮ず - driverBillOfLoadingData:[], + driverBillOfLoadingData:[ + { + carNo:'鍐�A99999', + orderType:'澶栬喘' + } + + ], driverBillOfLoadingDatas:[], driverTemporaryEntry:[], inspectData:[], @@ -409,7 +428,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 +436,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() { @@ -507,6 +529,9 @@ this.form={} this.inspectData=[] this.certificateImg="" + if(uni.getStorageSync('door', this.door)){ + this.TaskCoalList(); + } }, popClick() { this.logoutShow = true; -- Gitblit v1.9.1