From c7372dc7f495bdefb7f5e78d1c02756d637377b3 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 20 六月 2024 17:13:06 +0800 Subject: [PATCH] feat:司机去掉查看验质出场时间 --- pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue index e3d1cee..bd74b53 100644 --- a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue +++ b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue @@ -60,7 +60,7 @@ </view> </view> <view class="block-top"> - <combined-title title="鎻愮叅鍗曞巻鍙�"></combined-title> + <combined-title title="閫氱煡鍗曞巻鍙�"></combined-title> <view class="total"> 鎬诲噣閲� <text>{{ total.toFixed(2) || 0 }}</text> @@ -123,7 +123,7 @@ orderPlanId: null, orderCode: null, orderPlanDetail: {}, - coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚', '楠岃川瀹屾垚'], + coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚', '澶勭悊瀹屾垚'], yyDailyList: [], // 棰嗗彇鏁伴噺 cars2: '', @@ -161,11 +161,13 @@ this.yyDailyList = res.data.yyDailyList; if (res.data.yyDailyList) { this.total = this.yyDailyList.reduce((prev, cur) => { + cur.clean = cur.clean ? cur.clean : 0 return prev + cur.clean; }, 0); } else { this.total = 0; } + console.log(); uni.hideLoading(); } else { this.$u.toast('鍔犺浇澶辫触锛岃绋嶅悗閲嶈瘯'); -- Gitblit v1.9.1