加入缴费周期

This commit is contained in:
java110 2020-06-05 15:44:28 +08:00
parent dff8ad4314
commit e7681dc7ba
4 changed files with 41 additions and 16 deletions

View File

@ -7,19 +7,6 @@
<div class="ibox-content">
<div>
<div>
<!--<div class="form-group row">
<label class="col-sm-2 col-form-label">楼名称</label>
<div class="col-sm-10"><input v-model="addFloorInfo.name" type="text" placeholder="必填,请填写名称" class="form-control"></div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">楼编号</label>
<div class="col-sm-10"><input v-model="addFloorInfo.floorNum" type="email" placeholder="必填,请填写编号" class="form-control"></div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">备注</label>
<div class="col-sm-10"><input v-model="addFloorInfo.remark" type="tel" placeholder="可填,请填写备注" class="form-control"></div>
</div>-->
<div class="form-group row">
<label class="col-sm-2 col-form-label">费用类型</label>
<div class="col-sm-10">
@ -46,6 +33,13 @@
<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">
<input v-model="addFeeConfigInfo.paymentCycle" type="text" placeholder="必填,请填写缴费周期 单位为月"
class="form-control">
</div>
</div>
<div class="form-group row" >
<label class="col-sm-2 col-form-label">出账类型</label>
<div class="col-sm-10">

View File

@ -19,7 +19,8 @@
additionalAmount: '',
feeTypeCds:[],
computingFormulas:[],
billType:''
billType:'',
paymentCycle:''
}
},
_initMethod: function() {
@ -169,6 +170,17 @@
errInfo: "出账类型不能为空"
}
],
'addFeeConfigInfo.paymentCycle': [{
limit: "required",
param: "",
errInfo: "缴费周期不能为空"
},
{
limit: "num",
param: "",
errInfo: "缴费周期必须为数字 单位月"
},
]
});
},

View File

@ -33,6 +33,13 @@
<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">
<input v-model="editFeeConfigInfo.paymentCycle" type="text" placeholder="必填,请填写缴费周期 单位为月"
class="form-control">
</div>
</div>
<div class="form-group row" >
<label class="col-sm-2 col-form-label">出账类型</label>
<div class="col-sm-10">

View File

@ -15,7 +15,8 @@
isDefault:'',
feeTypeCds:[],
computingFormulas:[],
billType:''
billType:'',
paymentCycle:''
}
},
_initMethod: function() {
@ -171,7 +172,18 @@
limit: "required",
param: "",
errInfo: "出账类型不能为空"
}]
}],
'editFeeConfigInfo.paymentCycle': [{
limit: "required",
param: "",
errInfo: "缴费周期不能为空"
},
{
limit: "num",
param: "",
errInfo: "缴费周期必须为数字 单位月"
},
]
});
},