MicroCommunityWeb/public/components/property/carCreateFeeAdd/carCreateFeeAdd.html
2023-01-09 16:25:36 +08:00

135 lines
9.1 KiB
HTML
Executable File

<div id="carCreateFeeAddModel" 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 ">
<span><vc:i18n name="创建费用" namespace="carCreateFeeAdd"></vc:i18n></span>
</h3>
<div class="ibox-content">
<div>
<div>
<div class="form-group row" v-if="carCreateFeeAddInfo.isMore == true">
<label class="col-sm-2 col-form-label">
<span><vc:i18n name="收费范围" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
<div class="col-sm-10">
<select class="custom-select" v-model="carCreateFeeAddInfo.locationTypeCd">
<option selected disabled value="">
{{vc.i18n('必填,请选择收费范围','carCreateFeeAdd')}}
</option>
<option value="1000">{{vc.i18n('小区','carCreateFeeAdd')}}</option>
<option value="3000">{{vc.i18n('停车场','carCreateFeeAdd')}}</option>
</select>
</div>
</div>
<div class="form-group row" v-else>
<label class="col-sm-2 col-form-label">
<span><vc:i18n name="车辆" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
<div class="col-sm-10">
<input v-model="carCreateFeeAddInfo.locationTypeCdName" disabled="disabled"
type="text" :placeholder="vc.i18n('必填,请填写收费范围','carCreateFeeAdd')"
class="form-control">
</div>
</div>
<div class="form-group row" v-show="carCreateFeeAddInfo.locationTypeCd == '3000'">
<label class="col-sm-2 col-form-label">{{vc.i18n('停车场','carCreateFeeAdd')}}</label>
<div class="col-sm-10">
<vc:create path="property/parkingAreaSelect2" parentModal="carCreateFeeAdd"
callBackListener="carCreateFeeAdd" callBackFunction="notify"
namespace="carCreateFeeAdd">
</vc:create>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<span><vc:i18n name="费用类型" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
<div class="col-sm-10">
<select class="custom-select" v-model="carCreateFeeAddInfo.feeTypeCd"
@change="_changeCarFeeTypeCd(carCreateFeeAddInfo.feeTypeCd)">
<option selected disabled value="">
{{vc.i18n('必填,请选择费用类型','carCreateFeeAdd')}}
</option>
<option v-for="(item,index) in carCreateFeeAddInfo.feeTypeCds" :key="index"
v-bind:value="item.statusCd"
v-if="item.statusCd != '888800010001' && item.statusCd != '888800010009' && item.statusCd != '888800010011'">
{{item.name}}
</option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<span><vc:i18n name="收费项目" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
<div class="col-sm-10">
<select class="custom-select" v-model="carCreateFeeAddInfo.configId"
@change="_carCreateFeeAddIfOnceFee(carCreateFeeAddInfo.configId)">
<option selected disabled value="">
{{vc.i18n('必填,请选择收费项目','carCreateFeeAdd')}}
</option>
<option v-for="(item,index) in carCreateFeeAddInfo.feeConfigs" :key="index"
v-bind:value="item.configId">{{item.feeName}}
</option>
</select>
</div>
</div>
<div class="form-group row" v-if="carCreateFeeAddInfo.isMore == true">
<label class="col-sm-2 col-form-label">
<span><vc:i18n name="车位状态" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
<div class="col-sm-10">
<div class="checkbox custom-control-inline">
<label>
<input type="checkbox" v-model="carCreateFeeAddInfo.carState"
value="S">
<span><vc:i18n name="已出售" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
</div>
<div class="checkbox custom-control-inline">
<label>
<input type="checkbox" v-model="carCreateFeeAddInfo.carState"
value="H">
<span><vc:i18n name="已出租" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<span><vc:i18n name="计费起始时间" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
<div class="col-sm-10">
<input v-model="carCreateFeeAddInfo.startTime" type="text"
:placeholder="vc.i18n('必填,请填写计费起始时间','carCreateFeeAdd')"
class="form-control carCreateFeeStartTime">
</div>
</div>
<div class="form-group row" v-show="carCreateFeeAddInfo.feeFlag != '1003006'">
<label class="col-sm-2 col-form-label">
<span><vc:i18n name="计费结束时间" namespace="carCreateFeeAdd"></vc:i18n></span>
</label>
<div class="col-sm-10">
<input v-model="carCreateFeeAddInfo.endTime" type="text"
:placeholder="vc.i18n('必填,请填写计费结束时间','carCreateFeeAdd')"
class="form-control carCreateFeeEndTime">
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button"
v-on:click="saveCarCreateFeeInfo()">
<i class="fa fa-check"></i>&nbsp;提交
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
data-dismiss="modal">
<i class="fa fa-times"></i>&nbsp;取消
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>