MicroCommunityWeb/public/pages/owner/addOwnerSettledApply/addOwnerSettledApply.html
2023-09-04 00:50:33 +08:00

171 lines
9.1 KiB
HTML

<div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>
<span>
<vc:i18n name="申请入驻" namespace="addOwnerSettledApply"></vc:i18n>
</span>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-white " v-on:click="vc.goBack()">
<vc:i18n name="返回"></vc:i18n>
</button>
</div>
</div>
<div class="ibox-content">
<div>
<div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span>
<vc:i18n name='业主' namespace='addOwnerSettledApply'></vc:i18n>
</span></label>
<div class="col-sm-8">
<input v-model="addOwnerSettledApplyInfo.ownerName" disabled type="text" :placeholder="vc.i18n('必填,请填写业主','addOwnerSettledApply')" class="form-control">
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_selectOwner()">
选择
</button>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span>
<vc:i18n name='说明' namespace='addOwnerSettledApply'></vc:i18n>
</span></label>
<div class="col-sm-8">
<textarea v-model="addOwnerSettledApplyInfo.remark" :placeholder="vc.i18n('必填,请填写说明','addOwnerSettledApply')" class="form-control">
</textarea>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>
<vc:i18n name="入驻房屋" namespace="addOwnerSettledApply"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_selectRoom()">
选择房屋
</button>
<!-- <button type="button" class="btn btn-white btn-sm" v-on:click="_createFeeOrder()">
创建费用
</button> -->
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" style="margin-top:10px" data-page-size="10">
<thead>
<tr>
<!-- <th><span><vc:i18n name="房屋" namespace="addOwnerSettledApply"></vc:i18n></span>ID</th> -->
<th data-hide="phone" class="text-center">
<span>
<vc:i18n name="房屋" namespace="addOwnerSettledApply"></vc:i18n>
</span>
</th>
<th data-hide="phone" class="text-center">
<vc:i18n name="建筑面积" namespace="addOwnerSettledApply"></vc:i18n>
</th>
<th data-hide="phone" class="text-center">
<vc:i18n name="房屋状态" namespace="addOwnerSettledApply"></vc:i18n>
</th>
<th data-hide="phone" class="text-center">
<vc:i18n name="起租时间" namespace="addOwnerSettledApply"></vc:i18n>
</th>
<th data-hide="phone" class="text-center">
<vc:i18n name="截止时间" namespace="addOwnerSettledApply"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="操作" namespace="addOwnerSettledApply"></vc:i18n>
</th>
</tr>
</thead>
<tbody>
<tr v-for="room in addOwnerSettledApplyInfo.rooms">
<td class="text-center">
{{room.floorNum}}-{{room.unitNum}}-{{room.roomNum}}
</td>
<td class="text-center">
{{room.builtUpArea}}
<span>
<vc:i18n name="平方米" namespace="addOwnerSettledApply"></vc:i18n>
</span>
</td>
<td class="text-center">
{{room.stateName}}
</td>
<td class="text-center" style="width: 250px;">
<input v-model="room.startTime" type="text" :placeholder="vc.i18n('必填,房屋起租时间','addOwnerSettledApply')" class="form-control" :class="'startTime_'+room.roomId">
</td>
<td class="text-center" style="width: 250px;">
<input v-model="room.endTime" type="text" :placeholder="vc.i18n('必填,房屋截止时间','addOwnerSettledApply')" class="form-control" :class="'endTime_'+room.roomId">
</td>
<td class="text-center">
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openDelRoomModel(room)"><span>
<vc:i18n name="删除" namespace="addOwnerSettledApply"></vc:i18n>
</span></button>
</div>
</td>
</tr>
</tbody>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
<div class="row" v-if="addOwnerSettledApplyInfo.audit.assignee == '-2'">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5><span>
<vc:i18n name="审批人信息" namespace="addOwnerSettledApply"></vc:i18n>
</span></h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<div class="form-group row">
<label class="col-sm-2 col-form-label text-right">
<vc:i18n name="审批人" namespace="addOwnerSettledApply"></vc:i18n></label>
<div class="col-sm-8">
<input type="text" class="form-control" :placeholder="vc.i18n('必填,请选择审批人','addOwnerSettledApply')" disabled v-model="addOwnerSettledApplyInfo.audit.staffName">
</div>
<div class="col-sm-2">
<button class="btn btn-white " type="button" v-on:click="chooseStaff()">
选择
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<vc:create path="property/selectStaff"></vc:create>
<div class="margin-top">
<button class="btn btn-primary float-right" type="button" v-on:click="saveOwnerSettledApplyInfo()"><i
class="fa fa-check"></i>&nbsp;
<span>
<vc:i18n name="保存"></vc:i18n>
</span>
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal">
<span>
<vc:i18n name="取消"></vc:i18n>
</span>
</button>
</div>
<vc:create path="property/searchOwner" emitChooseOwner="addOwnerSettledApply" emitLoadData="addOwnerSettledApply">
</vc:create>
</div>