Hwt %!s(int64=2) %!d(string=hai) anos
pai
achega
594ca0e20b

+ 1 - 0
smart/src/views/vehicleInformation/index.vue

@@ -264,6 +264,7 @@ export default {
             fullCarNoStr: row.fullCarNoStr,
             residentId: row.residentId,
             ruleId: row.ruleId,
+            carStatus: row.carStatus,
             callback: resolve,
           },
           hideStar: true,

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

@@ -78,7 +78,10 @@
             >
             </el-date-picker>
           </el-col>
-          <el-col :span="24">
+          <el-col
+            :span="24"
+            v-show="this.carStatus == 2 ? true : false"
+          >
             <span>车辆未过期,已绑定充值规则,充值开始时间:过期时间+1</span>
           </el-col>
         </el-col>
@@ -190,6 +193,7 @@ export default {
       ruleNamed: '',
       credit: '',
       rechargeDatesName: '',
+      carStatus: ''
     }
   },
   methods: {
@@ -328,7 +332,7 @@ export default {
     this.fullCarNoStr = this.params.fullCarNoStr;
     this.residentId = this.params.residentId;
     this.ruleId = this.params.ruleId;
-
+    this.carStatus = this.params.carStatus;
     this.valueselected = this.params.ruleId;
 
     this.rechargeRules();