Hwt 3 jaren geleden
bovenliggende
commit
712d5ac2b6

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

@@ -64,9 +64,10 @@ export default {
           label: '-'//0
         },
         {
-          name: '车牌类型',
-          label: '-'//1
-        }, {
+          name: '订单状态',
+          label: '成功'//1
+        },
+        {
           name: '充值数额',
           label: ''//chargeNumber  2
         }, {
@@ -116,8 +117,8 @@ export default {
 
     debugger
     // ruleName
-    this.rechargeDetails[0].label = this.params.row.ruleName;
-    this.rechargeDetails[1].label = this.params.row.carType == 0 ? '临时车'
+    // this.rechargeDetails[0].label = this.params.row.ruleName;
+    this.rechargeDetails[0].label = this.params.row.carType == 0 ? '临时车'
       : this.params.row.carType == 1 ? 'VIP车'
         : this.params.row.carType == 2 ? '月租车'
           : this.params.row.carType == 3 ? '充时车'
@@ -133,6 +134,8 @@ export default {
     this.rechargeDetails[6].label = this.params.row.remark;
     this.rechargeDetails[7].label = this.params.row.orderNo;
     this.rechargeDetails[8].label = this.params.row.payTime;
+    // opreatName
+    this.rechargeDetails[10].label = this.params.row.opreatName;
   }
 }
 

+ 2 - 0
smart/src/views/vehicleInformation/setpPage/recharge.vue

@@ -408,6 +408,8 @@ export default {
             payStatus: this.paymentMethod
           }).then(({ data, status, msg }) => {
             if (status == 0) {
+              this.params.callback();
+              this.$emit('close');
               this.$message.success('成功');
             }
           })