Hwt 2 năm trước cách đây
mục cha
commit
bb32491643

+ 1 - 1
smart/src/views/rechargeRecord/index.vue

@@ -64,7 +64,7 @@
         scope="scope"
         slot="endTimes"
       >
-        {{scope.row.startTime  + '-' +scope.row.endTime}}
+        {{(scope.row.startTime).substring(0 ,10)  + '-' +(scope.row.endTime).substring(0 ,10)}}
 
       </template>
       <template

+ 9 - 8
smart/src/views/rechargeRecord/setpPage/details.vue

@@ -21,9 +21,9 @@
           :key="index"
         >
 
-          <el-col :span="8">{{item.name}}</el-col>
+          <el-col :span="9">{{item.name}}</el-col>
           <el-col
-            :span="12"
+            :span="11"
             :title='item.label'
             class="whitespace"
           >{{item.label}}</el-col>
@@ -60,7 +60,7 @@ export default {
       ],
       rechargeDetails: [
         {
-          name: '收费金额',
+          name: '收费金额(元)',
           label: ''//0
         },
         {
@@ -108,8 +108,8 @@ export default {
   },
   methods: {
     DOMInput () {
-      document.querySelectorAll('.el-col-12')[19].style = "color:#29B6FF;"
-      document.querySelectorAll('.el-col-12')[21].style = "color:#29B6FF;"
+      document.querySelectorAll('.el-col-11')[4].style = "color:#29B6FF;"
+      document.querySelectorAll('.el-col-11')[5].style = "color:#29B6FF;"
     }
   },
   created () {
@@ -131,11 +131,12 @@ export default {
 
 
 
-
-
+    this.rechargeDetails[0].label = this.params.row.amount / 100;
     this.rechargeDetails[1].label = (this.params.row.chargeNumber + '月');
     this.rechargeDetails[2].label = (this.params.row.credit + '月') || '-';
-    this.rechargeDetails[3].label = this.params.row.payTime;
+
+    this.rechargeDetails[3].label = (this.params.row.startTime).substring(0, 10) + '~' + (this.params.row.endTime).substring(0, 10);
+
     this.rechargeDetails[6].label = this.params.row.remark || '-';
     this.rechargeDetails[7].label = this.params.row.orderNo;
     this.rechargeDetails[8].label = this.params.row.payTime;