Hwt 2 anni fa
parent
commit
37a6c98135

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

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

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

@@ -231,6 +231,7 @@ export default {
   data () {
     return {
 
+      communityId: '',//社区id
       valueselected: '',
       valueselect: '',//天数
       value1: '',//日期时间
@@ -412,6 +413,7 @@ export default {
         if (valid) {
           this.$http.post('/sc-community-web/parkingCar/carCharge', {
             amount: this.chargeAmount * 100,
+            communityId: this.communityId,
             carType: this.cardType,
             cardId: this.cardId,
             chargeMethod: this.idType,
@@ -454,6 +456,8 @@ export default {
     // this.formDate.parkingDays = '验证'
     // this.formDate.parkingPicker = '验证'
     // this.formDate.parkingMethod = '验证'
+    debugger
+    this.communityId = this.params.communityId;
     this.userName = this.params.userName;
     this.cardType = this.params.cardType;
     this.parkId = this.params.parkId;