From 85876d4010058bb648c1f59f4b0a65fc95768c04 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期五, 07 六月 2024 08:27:21 +0800 Subject: [PATCH] Merge branch 'feature/jlhg/zxx' into jlhg --- pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue index f14f369..56a46f5 100644 --- a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue +++ b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue @@ -12,7 +12,7 @@ <view class="middle-container"> <view class="dept-name"> {{ deptName }} - <text v-show="deptName">({{ coalName }})</text> + <text v-show="deptName">({{ coalName || productName}})</text> </view> <view class="dept-num"> <text style="font-size: 46rpx; @@ -114,6 +114,7 @@ this.cars2 = value.cars2 ? value.cars2 : null; this.deptName = value.deptName; this.coalName = value.coalName; + this.productName = value.productName; this.carNum = value.carNum ? value.carNum : null console.log(value, '鍙戣繍璁″垝鍙傛暟'); }, @@ -129,6 +130,7 @@ // 棰嗗彇鏁伴噺 cars2: '', coalName: '', + productName:'', deptName: '', total: 0, carNum: '' @@ -164,6 +166,7 @@ this.total = this.yyDailyList.reduce((prev, cur) => { return prev + cur.clean; }, 0); + console.log(this.total,'total') } else { this.total = 0; } -- Gitblit v1.9.1