From 7f02619d92353f989cccf29fd58321d4f13500bb Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 21 六月 2024 14:04:26 +0800 Subject: [PATCH] feat:客户界面修改 productName 问题& 库管点击装卸问题 --- pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue index f14f369..20efefd 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; @@ -90,7 +90,7 @@ </view> <view class="line-content"> <view class="line-content_text">浣欓噺</view> - <view class="line-content_num">{{ item.allowance.toFixed(2) || 0 }}</view> + <view class="line-content_num">{{ Number(item.allowance).toFixed(2) || 0 }}</view> </view> </view> </view> @@ -114,6 +114,7 @@ this.cars2 = value.cars2 ? value.cars2 : null; this.deptName = value.deptName; this.coalName = value.coalName; + this.productName = value.productNames; 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