From 9acf4430b2a93bd6db86908663fc843fce040429 Mon Sep 17 00:00:00 2001 From: wk Date: 星期四, 13 六月 2024 14:44:03 +0800 Subject: [PATCH] feat:保安 --- 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