优化命名冲突

This commit is contained in:
java110 2020-10-29 14:51:49 +08:00
parent 9096ea7ff2
commit 4aa010fc87
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@
<label class="col-sm-2 col-form-label">费用类型</label>
<div class="col-sm-10">
<select class="custom-select" v-model="addProxyFeeInfo.feeTypeCd"
@change="_changeFeeTypeCd(addProxyFeeInfo.feeTypeCd)">
@change="_changeProxyFeeTypeCd(addProxyFeeInfo.feeTypeCd)">
<option selected disabled value="">必填,请选择费用类型</option>
<option value="888800010015">水费</option>
<option value="888800010016">电费</option>
@ -21,7 +21,7 @@
<div class="form-group row">
<label class="col-sm-2 col-form-label">收费项目</label>
<div class="col-sm-10">
<select class="custom-select" v-model="addProxyFeeInfo.configId" @change="_changeFeeConfig()">
<select class="custom-select" v-model="addProxyFeeInfo.configId" @change="_changeProxyFeeConfig()">
<option selected disabled value="">必填,请选择收费项目</option>
<option v-for="(item,index) in addProxyFeeInfo.feeConfigs" :key="index"
v-bind:value="item.configId">{{item.feeName}}

View File

@ -120,11 +120,11 @@
});
},
_changeFeeConfig: function () {
_changeProxyFeeConfig: function () {
$that.addProxyFeeInfo.amount = '';
$that.addProxyFeeInfo.consumption = '';
},
_changeFeeTypeCd: function (_feeTypeCd) {
_changeProxyFeeTypeCd: function (_feeTypeCd) {
$that.addProxyFeeInfo.amount = '';
$that.addProxyFeeInfo.consumption = '';
var param = {