From 8bedb5a0c09876046b397a94a9b12bb6e805d284 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期三, 19 六月 2024 17:13:23 +0800 Subject: [PATCH] Merge branch 'jlhg' of http://39.96.92.240:10000/r/~fyy/unattended-app 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