mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
月缴费明细开发完成
This commit is contained in:
parent
1b9e52c7d6
commit
ee9037000d
@ -1,4 +1,73 @@
|
|||||||
<div class=" animated fadeInRight ecommerce">
|
<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;">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="ibox-content">
|
||||||
|
<div class="row">
|
||||||
|
<!--费用类型-->
|
||||||
|
<div class="col-sm-3">
|
||||||
|
<select class="custom-select" v-model="reportOwnerPayFeeInfo.conditions.feeTypeCd"
|
||||||
|
@click="_changeReporficientFeeTypeCd()">
|
||||||
|
<option selected value="">请选择收费大类</option>
|
||||||
|
<option v-for="(item,index) in reportOwnerPayFeeInfo.feeTypeCds" :key="index"
|
||||||
|
v-bind:value="item.statusCd">{{item.name}}
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-4">
|
||||||
|
<div class="form-group">
|
||||||
|
<!-- @click="_changeReporficientConfigId()"-->
|
||||||
|
<select class="form-control-md form-control input-s-sm inline"
|
||||||
|
v-model="reportOwnerPayFeeInfo.conditions.configId">
|
||||||
|
<option selected value="">请选择收费项</option>
|
||||||
|
<option v-for="(item,index) in reportOwnerPayFeeInfo.feeConfigDtos" :key="index"
|
||||||
|
:value="item.configId">
|
||||||
|
{{item.feeName}}
|
||||||
|
</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-3">
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="text"
|
||||||
|
class="form-control form-control-md"
|
||||||
|
placeholder="请填写房屋编号"
|
||||||
|
v-model="reportOwnerPayFeeInfo.conditions.roomName">
|
||||||
|
</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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<!--费用类型-->
|
||||||
|
<div class="col-sm-3">
|
||||||
|
<input type="text"
|
||||||
|
class="form-control form-control-md"
|
||||||
|
placeholder="请填写年份"
|
||||||
|
v-model="reportOwnerPayFeeInfo.conditions.pfYear">
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-4">
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="text"
|
||||||
|
class="form-control form-control-md"
|
||||||
|
placeholder="请填写业主名称"
|
||||||
|
v-model="reportOwnerPayFeeInfo.conditions.ownerName">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<div class="ibox">
|
<div class="ibox">
|
||||||
|
|||||||
@ -11,14 +11,23 @@
|
|||||||
total: 0,
|
total: 0,
|
||||||
records: 1,
|
records: 1,
|
||||||
moreCondition: false,
|
moreCondition: false,
|
||||||
|
feeTypeCds: [],
|
||||||
|
feeConfigDtos: [],
|
||||||
conditions: {
|
conditions: {
|
||||||
|
feeTypeCd: '',
|
||||||
|
configId: '',
|
||||||
|
roomName: '',
|
||||||
|
ownerName: '',
|
||||||
|
pfYear: new Date().getFullYear()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
_initMethod: function () {
|
_initMethod: function () {
|
||||||
vc.component._listOwnerPayFees(DEFAULT_PAGE, DEFAULT_ROWS);
|
vc.component._listOwnerPayFees(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||||
|
//关联字典表费用类型
|
||||||
|
vc.getDict('pay_fee_config', "fee_type_cd", function (_data) {
|
||||||
|
vc.component.reportOwnerPayFeeInfo.feeTypeCds = _data;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
_initEvent: function () {
|
_initEvent: function () {
|
||||||
vc.on('pagination', 'page_event', function (_currentPage) {
|
vc.on('pagination', 'page_event', function (_currentPage) {
|
||||||
@ -145,7 +154,30 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
return amount;
|
return amount;
|
||||||
}
|
},
|
||||||
|
_changeReporficientFeeTypeCd: function () {
|
||||||
|
let param = {
|
||||||
|
params: {
|
||||||
|
page: 1,
|
||||||
|
row: 50,
|
||||||
|
communityId: vc.getCurrentCommunity().communityId,
|
||||||
|
feeTypeCd: $that.reportOwnerPayFeeInfo.conditions.feeTypeCd,
|
||||||
|
isDefault: '',
|
||||||
|
feeFlag: '',
|
||||||
|
valid: '1'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
//发送get请求
|
||||||
|
vc.http.get('roomCreateFeeAdd', 'list', param,
|
||||||
|
function (json, res) {
|
||||||
|
var _feeConfigManageInfo = JSON.parse(json);
|
||||||
|
let _feeConfigs = _feeConfigManageInfo.feeConfigs
|
||||||
|
vc.component.reportOwnerPayFeeInfo.feeConfigDtos = _feeConfigs;
|
||||||
|
},
|
||||||
|
function (errInfo, error) {
|
||||||
|
console.log('请求失败处理');
|
||||||
|
});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})(window.vc);
|
})(window.vc);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user