From 10207852795508714a0f84bd7934cbbf6a80f572 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期二, 27 八月 2024 08:16:16 +0800 Subject: [PATCH] 外销添加申请复磅按钮 --- pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue index 5e2026e..bd74b53 100644 --- a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue +++ b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue @@ -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