MicroCommunityWeb/public/components/property/addMeterWater/addMeterWater.html
2020-09-11 19:40:06 +08:00

108 lines
5.5 KiB
HTML

<div id="addMeterWaterModel" 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 ">添加抄表</h3>
<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">
<select class="custom-select" v-model="addMeterWaterInfo.feeTypeCd"
@change="_changeFeeTypeCd(addMeterWaterInfo.feeTypeCd)">
<option selected disabled value="">必填,请选择费用类型</option>
<option value="888800010015">水费</option>
<option value="888800010016">电费</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="addMeterWaterInfo.configId">
<option selected disabled value="">必填,请选择收费项目</option>
<option v-for="(item,index) in addMeterWaterInfo.feeConfigs" :key="index"
v-bind:value="item.configId">{{item.feeName}}
</option>
</select>
</div>
</div>
<div class="form-group row" v-show="addMeterWaterInfo.hasRoom == false">
<label class="col-sm-2 col-form-label">楼栋</label>
<div class="col-sm-10">
<vc:create path="property/floorSelect2" parentModal="addMeterWaterModel" namespace="addMeterWater">
</vc:create>
</div>
</div>
<div class="form-group row" v-show="addMeterWaterInfo.hasRoom == false">
<label class="col-sm-2 col-form-label">单元</label>
<div class="col-sm-10">
<vc:create path="property/unitSelect2" parentModal="addMeterWaterModel"
callBackListener="addMeterWater" callBackFunction="notify" namespace="addMeterWater">
</vc:create>
</div>
</div>
<div class="form-group row" v-show="addMeterWaterInfo.hasRoom == false">
<label class="col-sm-2 col-form-label">房屋</label>
<div class="col-sm-10">
<vc:create path="property/roomSelect2" parentModal="addMeterWaterModel"
callBackListener="addMeterWater" callBackFunction="notify" namespace="addMeterWater">
</vc:create>
</div>
</div>
<div class="form-group row" v-show="addMeterWaterInfo.hasRoom == true">
<label class="col-sm-2 col-form-label">收费对象</label>
<div class="col-sm-10">
<input v-model="addMeterWaterInfo.ownerName" type="text" disabled="disabled" 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="addMeterWaterInfo.preDegrees" 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="addMeterWaterInfo.curDegrees" type="text" placeholder="必填,请填写本期度数"
class="form-control addCurDegrees">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">上期读表时间</label>
<div class="col-sm-10">
<input v-model="addMeterWaterInfo.preReadingTime" type="text" placeholder="必填,请填写上期读表时间"
class="form-control addPreReadingTime">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">本期读表时间</label>
<div class="col-sm-10">
<input v-model="addMeterWaterInfo.curReadingTime" type="text" placeholder="必填,请填写本期读表时间"
class="form-control addCurReadingTime">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">备注</label>
<div class="col-sm-10">
<input v-model="addMeterWaterInfo.remark" type="text" placeholder="选填,请填写备注" class="form-control">
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button" v-on:click="saveMeterWaterInfo()"><i
class="fa fa-check"></i>&nbsp;保存</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
data-dismiss="modal">取消</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>