zhengkaixin 1 سال پیش
والد
کامیت
3ee03fa815
1فایلهای تغییر یافته به همراه15 افزوده شده و 1 حذف شده
  1. 15 1
      pages/deductionRecord/deductionDetails.vue

+ 15 - 1
pages/deductionRecord/deductionDetails.vue

@@ -52,6 +52,7 @@
 								
 								
 							</template>
 							</template>
 							<template v-else>
 							<template v-else>
+								<!-- {{contractItem.price}}{{contractItem.unit}} -->
 								{{tenantBalanceRecord.extraJson.price}}元/度
 								{{tenantBalanceRecord.extraJson.price}}元/度
 							</template>
 							</template>
 						</view>
 						</view>
@@ -124,13 +125,22 @@
 						<template v-else >
 						<template v-else >
 							<view class="item" >
 							<view class="item" >
 								<view class="item-title">
 								<view class="item-title">
-									度数
+									电量度数
 								</view>
 								</view>
 								<view class="item-value">
 								<view class="item-value">
 									{{tenantBalanceRecord.extraJson.kwh}}度
 									{{tenantBalanceRecord.extraJson.kwh}}度
 									
 									
 								</view>
 								</view>
 							</view>
 							</view>
+							<view class="item" v-if="tenantBalanceRecord.extraJson.lineLoss" >
+								<view class="item-title">
+									线损电量
+								</view>
+								<view class="item-value">
+									{{tenantBalanceRecord.extraJson.lineLoss}}度
+									
+								</view>
+							</view>
 							<view class="item" >
 							<view class="item" >
 								<view class="item-title">
 								<view class="item-title">
 									起止码
 									起止码
@@ -528,10 +538,14 @@
 
 
 					.item-title {
 					.item-title {
 						color: rgb(119, 119, 119);
 						color: rgb(119, 119, 119);
+						white-space: pre;
 					}
 					}
 
 
 					.item-value {
 					.item-value {
 						color: rgb(48, 48, 48);
 						color: rgb(48, 48, 48);
+						    text-align: start;
+						    margin-left: 16rpx;
+						
 					}
 					}
 				}
 				}
 			}
 			}