|
@@ -188,11 +188,16 @@ export default {
|
|
|
residentId: '',
|
|
|
ruleId: '',
|
|
|
ruleNamed: '',
|
|
|
- credit: ''
|
|
|
+ credit: '',
|
|
|
+ rechargeDatesName: '',
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
rechargeDates (item) {
|
|
|
+ debugger
|
|
|
+ if (item.name != undefined) {
|
|
|
+ this.rechargeDatesName = item.name;
|
|
|
+ }
|
|
|
debugger
|
|
|
this.rechargeDays = '';
|
|
|
this.valueselect = '';
|
|
@@ -266,6 +271,10 @@ export default {
|
|
|
label: data[i].ruleId,
|
|
|
nameId: i
|
|
|
})
|
|
|
+ if (data[i].ruleId == this.params.ruleId) {
|
|
|
+ debugger
|
|
|
+ this.rechargeDatesName = data[i].ruleName
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|
|
@@ -299,7 +308,8 @@ export default {
|
|
|
validTo: this.timeValue2,
|
|
|
platNo: this.fullCarNoStr,
|
|
|
userId: this.residentId,
|
|
|
- ruleName: '',
|
|
|
+ // ruleName: '',
|
|
|
+ ruleName: this.rechargeDatesName,
|
|
|
credit: this.valueselectName,//充值月份
|
|
|
payStatus: this.paymentMethod
|
|
|
}).then(({ data, status, msg }) => {
|
|
@@ -333,6 +343,8 @@ export default {
|
|
|
<style scoped>
|
|
|
h3 {
|
|
|
margin-bottom: 15px;
|
|
|
+ text-align: center !important;
|
|
|
+ font-size: 22px !important;
|
|
|
}
|
|
|
.el-col {
|
|
|
margin-top: 10px !important;
|