mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
251 lines
16 KiB
HTML
251 lines
16 KiB
HTML
<div id="addFeeConfigModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
<div class="modal-body">
|
|
<h3 class="m-t-none m-b ">
|
|
<vc:i18n name="添加" namespace="addFeeConfig"></vc:i18n>
|
|
</h3>
|
|
<div class="ibox-content">
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="费用类型" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.feeTypeCd" @change="_changeAddFeeTypeCd()">
|
|
<option selected disabled value="">
|
|
{{vc.i18n('必填,请选择费用类型','addFeeConfig')}}
|
|
</option>
|
|
<option v-for="(item,index) in addFeeConfigInfo.feeTypeCds" :key="index"
|
|
v-bind:value="item.statusCd">
|
|
{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="收费项目" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<input v-model="addFeeConfigInfo.feeName" type="text"
|
|
:placeholder="vc.i18n('必填,请填写收费项目','addFeeConfig')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="费用标识" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.feeFlag">
|
|
<option selected disabled value="">
|
|
{{vc.i18n('必填,请选择费用标识','addFeeConfig')}}
|
|
</option>
|
|
<option v-for="(item,index) in addFeeConfigInfo.feeFlags" :key="index"
|
|
:value="item.statusCd">{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="付费类型" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.paymentCd">
|
|
<option selected disabled value="">
|
|
{{vc.i18n('必填,请选择付费类型','addFeeConfig')}}
|
|
</option>
|
|
<option v-for="(item,index) in addFeeConfigInfo.paymentCds" :key="index"
|
|
:value="item.statusCd">{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right" v-if="addFeeConfigInfo.feeFlag !='2006012'">
|
|
<vc:i18n name="缴费周期(单位:月)" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4" v-if="addFeeConfigInfo.feeFlag !='2006012'">
|
|
<input v-model="addFeeConfigInfo.paymentCycle" type="text"
|
|
:placeholder="vc.i18n('必填,请填写缴费周期','addFeeConfig')" class="form-control">
|
|
</div>
|
|
<label class="col-sm-2 col-form-label text-right" v-if="addFeeConfigInfo.paymentCd == '1200'">
|
|
<vc:i18n name="预付期(单位:天)" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4" v-if="addFeeConfigInfo.paymentCd == '1200'">
|
|
<input v-model="addFeeConfigInfo.prepaymentPeriod" type="text"
|
|
:placeholder="vc.i18n('必填,请填写预付期','addFeeConfig')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row"></div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="开始时间" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<input v-model="addFeeConfigInfo.startTime" type="text"
|
|
:placeholder="vc.i18n('必填,请填写开始时间','addFeeConfig')"
|
|
class="form-control addFeeConfigStartTime" name="startTime">
|
|
</div>
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="结束时间" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<input v-model="addFeeConfigInfo.endTime" type="text"
|
|
:placeholder="vc.i18n('必填,请填写结束时间','addFeeConfig')"
|
|
class="form-control addFeeConfigEndTime" name="endTime">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<!-- <label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="催缴类型" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.billType">
|
|
<option selected disabled value="">
|
|
{{vc.i18n('必填,请选择催缴类型','addFeeConfig')}}
|
|
</option>
|
|
<option v-for="(item,index) in addFeeConfigInfo.billTypes" :key="index"
|
|
:value="item.statusCd">{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div> -->
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="单位" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<input v-model="addFeeConfigInfo.units" type="text"
|
|
:placeholder="vc.i18n('必填,请填写单位(如:元)','addFeeConfig')" class="form-control">
|
|
</div>
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="账户抵扣" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.deductFrom">
|
|
<option value="Y">{{vc.i18n('是','addFeeConfig')}}</option>
|
|
<option value="N">{{vc.i18n('否','addFeeConfig')}}</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="手机缴费" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.payOnline">
|
|
<option value="Y">{{vc.i18n('是')}}</option>
|
|
<option value="N">{{vc.i18n('否')}}</option>
|
|
</select>
|
|
</div>
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="进位方式" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.scale">
|
|
<option value="1">{{vc.i18n('四舍五入','addFeeConfig')}}</option>
|
|
<option value="3">{{vc.i18n('向上进位','addFeeConfig')}}</option>
|
|
<option value="4">{{vc.i18n('向下进位','addFeeConfig')}}</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="保留小数位" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.decimalPlace">
|
|
<option value="0">{{vc.i18n('取整')}}</option>
|
|
<option value="1">{{vc.i18n('1位')}}</option>
|
|
<option value="2">{{vc.i18n('2位')}}</option>
|
|
<option value="3">{{vc.i18n('3位')}}</option>
|
|
<option value="4">{{vc.i18n('4位')}}</option>
|
|
</select>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="计算公式" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-10">
|
|
<select class="custom-select" v-model="addFeeConfigInfo.computingFormula">
|
|
<option selected disabled value="">
|
|
{{vc.i18n('必填,请选择计算公式','addFeeConfig')}}
|
|
</option>
|
|
<option v-for="(item,index) in addFeeConfigInfo.computingFormulas" :key="index"
|
|
v-bind:value="item.statusCd">{{item.name}}
|
|
</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row" v-show="addFeeConfigInfo.computingFormula != '2002'
|
|
&& addFeeConfigInfo.computingFormula != '7007'
|
|
&& addFeeConfigInfo.computingFormula != '8008'
|
|
&& addFeeConfigInfo.computingFormula != '1101'
|
|
&& addFeeConfigInfo.computingFormula != '1102'
|
|
&& addFeeConfigInfo.computingFormula != '4004'
|
|
&& addFeeConfigInfo.computingFormula != '9009'">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="计费单价" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-10">
|
|
<input v-model="addFeeConfigInfo.squarePrice" type="text"
|
|
:placeholder="vc.i18n('必填,请填写计费单价','addFeeConfig')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row" v-show="addFeeConfigInfo.computingFormula != '7007'
|
|
&& addFeeConfigInfo.computingFormula != '8008'
|
|
&& addFeeConfigInfo.computingFormula != '1101'
|
|
&& addFeeConfigInfo.computingFormula != '1102'
|
|
&& addFeeConfigInfo.computingFormula != '4004'
|
|
&& addFeeConfigInfo.computingFormula != '9009'">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
{{addFeeConfigInfo.computingFormula == '1001' ?'附加费用':'固定费用'}}
|
|
</label>
|
|
<div class="col-sm-10">
|
|
<input v-model="addFeeConfigInfo.additionalAmount" type="text"
|
|
:placeholder="vc.i18n('必填,请填写附加费用','addFeeConfig')" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div v-show="addFeeConfigInfo.computingFormula == '7007'">
|
|
<div class="form-group row">
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="公式" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<textarea v-model="addFeeConfigInfo.computingFormulaText"
|
|
:placeholder="vc.i18n('必填,请填写公式','addFeeConfig')" class="form-control">
|
|
</textarea>
|
|
</div>
|
|
<label class="col-sm-2 col-form-label text-right">
|
|
<vc:i18n name="说明" namespace="addFeeConfig"></vc:i18n>
|
|
</label>
|
|
<div class="col-sm-4">
|
|
<div>C 代表房屋对应小区面积</div>
|
|
<div>F 代表房屋对应楼栋面积</div>
|
|
<div>U 代表房屋对应单元面积</div>
|
|
<div>R 代表房屋面积</div>
|
|
<div>X 代表房屋收费系数(房屋管理中配置)</div>
|
|
<div>L 代表房屋层数</div>
|
|
<div>
|
|
举例:电梯使用费 (层数-5)*每层单价+基础费用
|
|
</div>
|
|
<div>
|
|
公式:(L-5)*5 + 10
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<button class="btn btn-primary float-right" type="button" v-on:click="saveFeeConfigInfo()">
|
|
<i class="fa fa-check"></i> 保存
|
|
</button>
|
|
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
|
|
data-dismiss="modal">
|
|
<i class="fa fa-times"></i> 取消
|
|
</button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |