加入费用项

This commit is contained in:
java110 2020-05-31 00:58:02 +08:00
parent 9b945463e5
commit 501fdfe062
6 changed files with 41 additions and 9 deletions

View File

@ -46,6 +46,18 @@
<option value="2006012">一次性费用</option>
</select></div>
</div>
<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="addFeeConfigInfo.billType">
<option selected disabled value="">必填,请选择出账类型</option>
<option value="001">每年1月1日</option>
<option value="002">每月1日</option>
<option value="003">每日</option>
<option value="004">实时</option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">计费起始时间</label>
<div class="col-sm-10">

View File

@ -18,7 +18,8 @@
squarePrice: '',
additionalAmount: '',
feeTypeCds:[],
computingFormulas:[]
computingFormulas:[],
billType:''
}
},
_initMethod: function() {
@ -160,6 +161,12 @@
errInfo: "附加费用格式错误"
},
],
'addFeeConfigInfo.billType': [{
limit: "required",
param: "",
errInfo: "出账类型不能为空"
}
],
});
},

View File

@ -33,6 +33,18 @@
<option value="2006012">一次性费用</option>
</select></div>
</div>
<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="editFeeConfigInfo.billType">
<option selected disabled value="">必填,请选择出账类型</option>
<option value="001">每年1月1日</option>
<option value="002">每月1日</option>
<option value="003">每日</option>
<option value="004">实时</option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">计费起始时间</label>
<div class="col-sm-10">

View File

@ -14,7 +14,8 @@
additionalAmount: '0.00',
isDefault:'',
feeTypeCds:[],
computingFormulas:[]
computingFormulas:[],
billType:''
}
},
_initMethod: function() {
@ -163,6 +164,11 @@
limit: "required",
param: "",
errInfo: "费用项ID不能为空"
}],
'editFeeConfigInfo.billType': [{
limit: "required",
param: "",
errInfo: "出账类型不能为空"
}]
});

View File

@ -15,7 +15,6 @@
roomId: '',
feeTypeCd:'',
configId:'',
billType:'',
roomState:'',
isMore:false,
locationTypeCdName:'',
@ -90,12 +89,6 @@
param: "",
errInfo: "费用项目不能为空"
}
],
'roomCreateFeeAddInfo.billType': [{
limit: "required",
param: "",
errInfo: "出账类型不能为空"
}
],
'roomCreateFeeAddInfo.roomState': [{
limit: "required",

View File

@ -64,6 +64,7 @@
<th class="text-center">费用类型</th>
<th class="text-center">收费项目</th>
<th class="text-center">费用标识</th>
<th class="text-center">出账类型</th>
<th class="text-center">计费起始时间</th>
<th class="text-center">计费终止时间</th>
<th class="text-center">计费单价</th>
@ -79,6 +80,7 @@
<td class="text-center">{{feeConfig.feeTypeCdName}}</td>
<td class="text-center">{{feeConfig.feeName}}</td>
<td class="text-center">{{feeConfig.feeFlagName}}</td>
<td class="text-center">{{feeConfig.billTypeName}}</td>
<td class="text-center">{{feeConfig.startTime}}</td>
<td class="text-center">{{feeConfig.endTime}}</td>
<td class="text-center">{{feeConfig.computingFormula == '2002' ?