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/exit-index.vue | 27 ++++++++++++++++++++++----- 1 files changed, 22 insertions(+), 5 deletions(-) diff --git a/pages/doorkeeper-page/doorkeeper-index/exit-index.vue b/pages/doorkeeper-page/doorkeeper-index/exit-index.vue index e21fe32..856ad77 100644 --- a/pages/doorkeeper-page/doorkeeper-index/exit-index.vue +++ b/pages/doorkeeper-page/doorkeeper-index/exit-index.vue @@ -45,6 +45,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="second-line"> @@ -101,6 +103,8 @@ <view class="dispatch">{{ item.tempEntrancePlan.driver ||'' }}</view> <view class="black-bar"></view> <text>{{ item.tempEntrancePlan.phone || '' }}</text> + <view class="black-bar"></view> + <view class="dispatch-dept">{{ item.orderType || '' }}</view> </view> </view> <view class="third-line"> @@ -165,11 +169,21 @@ </view> <view class="second-line"> <view class="coal-name"> + <view>鍑�閲嶏細{{item.clean|| 0}}</view> + <view class="black-bar"></view> + <view>鏁伴噺锛歿{item.productQuantity|| 0}}</view> + </view> + </view> + <view class="second-line"> + <view class="coal-name"> <view class="dispatch-dept">{{ item.carNo || '' }}</view> <view class="black-bar"></view> <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="second-line"> @@ -262,6 +276,7 @@ <text style="color:red">鎷煎崟</text> </view> <view class="second-line"> + <view class="coal-name"> <view class="dispatch-dept">{{ activeObj.carNo || '' }}</view> <view class="black-bar"></view> @@ -284,6 +299,7 @@ }, data() { return { + door:'', temporaryPlanId:"", show: false, // 寮瑰嚭鍏ㄩ儴棰嗗彇鎻愮ず showModal:false, @@ -305,6 +321,7 @@ } }, onShow() { + this.door=uni.getStorageSync('door', this.door) this.init(); }, methods: { @@ -423,7 +440,7 @@ }); if(!this.carNo){ - this.$reqGet('getCheckTaskCoal',{flag:1}).then(res => { + this.$reqGet('getCheckTaskCoal',{flag:1,door:this.door}).then(res => { uni.hideLoading(); this.driverBillOfLoadingData = res.data; uni.stopPullDownRefresh(); @@ -436,7 +453,7 @@ this.handleOpenChange(); }); }else{ - this.$reqGet('getCheckTaskCoal',{flag:1,carNo:this.carNo}).then(res => { + this.$reqGet('getCheckTaskCoal',{flag:1,carNo:this.carNo,door:this.door}).then(res => { uni.hideLoading(); this.driverBillOfLoadingData = res.data; uni.stopPullDownRefresh(); @@ -450,14 +467,14 @@ }); } if(!this.carNo){ - this.$reqGet('getAlreadyCheckTaskCoal',{flag:1}).then(res => { + this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,door:this.door}).then(res => { uni.hideLoading(); this.driverBillOfLoadingDatas = res.data; uni.stopPullDownRefresh(); this.handleOpenChange(); }); }else{ - this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,carNo:this.carNo}).then(res => { + this.$reqGet('getAlreadyCheckTaskCoal',{flag:1,carNo:this.carNo,door:this.door}).then(res => { uni.hideLoading(); this.driverBillOfLoadingDatas = res.data; uni.stopPullDownRefresh(); @@ -483,7 +500,7 @@ }, //鏌ョ湅鎷煎崟 checkDetail(item){ - this.activeObj = item; + this.activeObj = item.splicingOrders ? item.splicingOrders : {}; this.showModal = true; }, -- Gitblit v1.9.1