MicroCommunityWeb/public/pages/property/reportFeeDetail/reportFeeDetail.html
2021-11-08 17:35:08 +08:00

163 lines
9.1 KiB
HTML
Executable File

<div class=" animated fadeInRight ecommerce">
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5>查询条件</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
v-on:click="_moreCondition()">{{reportFeeDetailInfo.moreCondition == true?'隐藏':'更多'}}
</button>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-3">
<div class="form-group input-group">
<input type="text" placeholder="请选择楼栋"
v-model="reportFeeDetailInfo.conditions.floorName" class=" form-control">
<div class="input-group-prepend">
<button type="button" class="btn btn-primary btn-sm"
v-on:click="_openChooseFloorMethod()">
<i class="fa fa-search"></i> 选择
</button>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<select class="form-control-md form-control input-s-sm inline"
v-model="reportFeeDetailInfo.conditions.unitId">
<option selected value="">请选择单元</option>
<option v-for="(unit,index) in reportFeeDetailInfo.roomUnits" :key="index"
v-bind:value="unit.unitId">
{{unit.unitNum}}单元
</option>
</select>
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" placeholder="请填写房屋编号" class="form-control form-control-md"
v-model="reportFeeDetailInfo.conditions.roomNum">
</div>
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-primary btn-md" v-on:click="_queryMethod()">
<i class="fa fa-search"></i> 查询
</button>
<button type="button" class="btn btn-info btn-md" v-on:click="_resetMethod()"
style="margin-left: 20px;">
<i class="fa fa-repeat"></i> 重置
</button>
</div>
</div>
<div class="row" v-show="reportFeeDetailInfo.moreCondition == true">
<div class="col-sm-3">
<div class="form-group">
<select class="form-control-md form-control input-s-sm inline"
v-model="reportFeeDetailInfo.conditions.configId">
<option selected value="">请选择收费项</option>
<option v-for="(item,index) in reportFeeDetailInfo.feeConfigDtos" :key="index"
:value="item.configId">
{{item.feeName}}
</option>
</select>
</div>
</div>
<div class="col-sm-4">
<div class="form-group input-group">
<input type="text" placeholder="请选择缴费开始时间"
v-model="reportFeeDetailInfo.conditions.startTime"
class="form-control reportFeeDetailStartTime startTime">
</div>
</div>
<div class="col-sm-3">
<div class="form-group input-group">
<input type="text" placeholder="请选择缴费结束时间"
v-model="reportFeeDetailInfo.conditions.endTime"
class="form-control reportFeeDetailEndTime endTime">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>费用明细表</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_exportFee()">
<i class="fa fa-plus"></i>导出
</button>
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">费用编号</th>
<th class="text-center">房号</th>
<th class="text-center">业主</th>
<th class="text-center">面积</th>
<th class="text-center">费用项</th>
<th class="text-center">费用开始时间</th>
<th class="text-center">费用结束时间</th>
<th class="text-center">应收金额</th>
<th class="text-center">实收金额</th>
<th class="text-center">更新时间</th>
</tr>
</thead>
<tbody>
<tr v-for="(fee,index) in reportFeeDetailInfo.fees">
<td class="text-center">{{index+1}}</td>
<td class="text-center">{{fee.objName}}</td>
<td class="text-center">{{fee.ownerName}}</td>
<td class="text-center">{{fee.builtUpArea}}</td>
<td class="text-center">{{fee.feeName}}</td>
<td class="text-center">{{vc.dateFormat(fee.feeCreateTime)}}</td>
<!--<td class="text-center">{{fee.deadlineTime}}</td>-->
<td class="text-center" v-if="fee.feeCreateTime >= fee.deadlineTime">
{{vc.dateFormat(fee.deadlineTime)}}
</td>
<td class="text-center" v-else>
{{vc.dateSubOneDay(vc.dateFormat(fee.feeCreateTime),vc.dateFormat(fee.deadlineTime),fee.feeFlag)}}
</td>
<td class="text-center">{{fee.receivableAmount}}</td>
<td class="text-center">{{fee.receivedAmount}}</td>
<td class="text-center">{{fee.updateTime}}</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="7">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<div class="row">
<div class="col-md-4">
<span class="margin-left">小计应收: {{reportFeeDetailInfo.totalReceivableAmount}}元</span>
<span class="margin-left">小计实收: {{reportFeeDetailInfo.totalReceivedAmount}}元</span>
</div>
<div class="col-md-8 text-center">
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
<div class="row">
<div class="col-md-4">
<span class="margin-left">大计应收: {{reportFeeDetailInfo.allReceivableAmount}}元</span>
<span class="margin-left">大计实收: {{reportFeeDetailInfo.allReceivedAmount}}元</span>
</div>
</div>
</div>
</div>
</div>
</div>
<vc:create path="property/searchFloor" emitChooseFloor="reportFeeDetail" emitLoadData="xx"></vc:create>
</div>