mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
我菩提免责 reompte
This commit is contained in:
parent
92e7f38d28
commit
9c9a4d5aca
@ -46,8 +46,16 @@
|
|||||||
{{fee.receivedFee}}
|
{{fee.receivedFee}}
|
||||||
</td>
|
</td>
|
||||||
<template v-for="(item,index) in dataReportEarnedDetailStatisticsInfo.feeTypeCds">
|
<template v-for="(item,index) in dataReportEarnedDetailStatisticsInfo.feeTypeCds">
|
||||||
<td class="text-center" >
|
<!-- <td class="text-center" >
|
||||||
{{fee['oweFee'+item.statusCd] || 0}}
|
{{fee['oweFee'+item.statusCd] || 0}}
|
||||||
|
</td> -->
|
||||||
|
<td class="text-center" v-if="fee['receivedFee'+item.statusCd]">
|
||||||
|
<div v-for="(feeItem,fIndex) in fee['receivedFee'+item.statusCd]" >
|
||||||
|
{{feeItem.feeName}}({{feeItem.startTime}}~{{feeItem.endTime}})={{feeItem.receivedAmount}}
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="text-center" v-else>
|
||||||
|
<div>0</div>
|
||||||
</td>
|
</td>
|
||||||
</template>
|
</template>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-lg-2 padding-right-xs padding-right-xl">
|
<div class="col-lg-2 padding-right-xs padding-right-xl">
|
||||||
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px" v-on:click="_qureyDataReportEarnedDetailStatistics()">
|
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px" v-on:click="_qureyDataReportFeeStatistics()">
|
||||||
<i class="fa fa-search"></i>查询
|
<i class="fa fa-search"></i>查询
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@ -62,10 +62,10 @@
|
|||||||
<vc:i18n name="已收户占比" namespace="dataReportFeeStatistics"></vc:i18n>
|
<vc:i18n name="已收户占比" namespace="dataReportFeeStatistics"></vc:i18n>
|
||||||
</th>
|
</th>
|
||||||
<th data-hide="phone" class="text-center">
|
<th data-hide="phone" class="text-center">
|
||||||
<vc:i18n name="已收金额" namespace="dataReportFeeStatistics"></vc:i18n>
|
<vc:i18n name="当月已收金额" namespace="dataReportFeeStatistics"></vc:i18n>
|
||||||
</th>
|
</th>
|
||||||
<th data-hide="phone" class="text-center">
|
<th data-hide="phone" class="text-center">
|
||||||
<vc:i18n name="剩余未收" namespace="dataReportFeeStatistics"></vc:i18n>
|
<vc:i18n name="当月剩余未收" namespace="dataReportFeeStatistics"></vc:i18n>
|
||||||
</th>
|
</th>
|
||||||
<th data-hide="phone" class="text-center">
|
<th data-hide="phone" class="text-center">
|
||||||
<vc:i18n name="收费率" namespace="dataReportFeeStatistics"></vc:i18n>
|
<vc:i18n name="收费率" namespace="dataReportFeeStatistics"></vc:i18n>
|
||||||
@ -75,15 +75,51 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="fee in dataReportFeeStatisticsInfo.fees">
|
<tr v-for="fee in dataReportFeeStatisticsInfo.fees">
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
{{fee.roomName}}
|
{{fee.floorNum}}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
{{fee.ownerName}}
|
{{fee.roomCount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.freeCount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.hisMonthOweFee}}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
{{fee.oweFee}}
|
{{fee.oweFee}}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.todayReceivedRoomCount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.todayReceivedRoomAmount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.hisOweReceivedRoomCount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.hisOweReceivedRoomAmount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.monthReceivedRoomCount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{(fee.roomCount-fee.freeCount-fee.monthReceivedRoomCount).toFixed(0)}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{(fee.monthReceivedRoomCount/(fee.roomCount-fee.freeCount)*100).toFixed(2)}}%
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.monthReceivedRoomAmount}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{fee.curMonthOweFee}}
|
||||||
|
</td>
|
||||||
|
<td class="text-center">
|
||||||
|
{{(fee.monthReceivedRoomAmount/(fee.monthReceivedRoomAmount+fee.curMonthOweFee)*100).toFixed(2)}}%
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@ -27,7 +27,8 @@
|
|||||||
vc.on('dataReportFeeStatistics', 'switch', function(_data) {
|
vc.on('dataReportFeeStatistics', 'switch', function(_data) {
|
||||||
$that.dataReportFeeStatisticsInfo.startDate = _data.startDate;
|
$that.dataReportFeeStatisticsInfo.startDate = _data.startDate;
|
||||||
$that.dataReportFeeStatisticsInfo.endDate = _data.endDate;
|
$that.dataReportFeeStatisticsInfo.endDate = _data.endDate;
|
||||||
$that._loadDataReportFeeStatisticsData(DEFAULT_PAGE, DEFAULT_ROWS);
|
// $that._loadDataReportFeeStatisticsData(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||||
|
$that._loadFloors();
|
||||||
});
|
});
|
||||||
vc.on('dataReportFeeStatistics', 'paginationPlus', 'page_event',
|
vc.on('dataReportFeeStatistics', 'paginationPlus', 'page_event',
|
||||||
function(_currentPage) {
|
function(_currentPage) {
|
||||||
@ -38,15 +39,14 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
_loadDataReportFeeStatisticsData: function(_page, _row,_floorIds) {
|
_loadDataReportFeeStatisticsData: function(_floorIds) {
|
||||||
let param = {
|
let param = {
|
||||||
params: {
|
params: {
|
||||||
communityId: vc.getCurrentCommunity().communityId,
|
communityId: vc.getCurrentCommunity().communityId,
|
||||||
startDate: $that.dataReportFeeStatisticsInfo.startDate,
|
startDate: $that.dataReportFeeStatisticsInfo.startDate,
|
||||||
endDate: $that.dataReportFeeStatisticsInfo.endDate,
|
endDate: $that.dataReportFeeStatisticsInfo.endDate,
|
||||||
|
feeTypeCd: $that.dataReportFeeStatisticsInfo.feeTypeCd,
|
||||||
floorIds: _floorIds,
|
floorIds: _floorIds,
|
||||||
page: _page,
|
|
||||||
row: _row
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -55,7 +55,10 @@
|
|||||||
param,
|
param,
|
||||||
function(json) {
|
function(json) {
|
||||||
let _json = JSON.parse(json);
|
let _json = JSON.parse(json);
|
||||||
$that.dataReportFeeStatisticsInfo.fees = _json.data;
|
_json.data.forEach(item => {
|
||||||
|
$that.dataReportFeeStatisticsInfo.fees.push(item);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// let _feeAmount = 0.0;
|
// let _feeAmount = 0.0;
|
||||||
// if (_json.data && _json.data.length > 0) {
|
// if (_json.data && _json.data.length > 0) {
|
||||||
@ -79,7 +82,7 @@
|
|||||||
communityId: vc.getCurrentCommunity().communityId
|
communityId: vc.getCurrentCommunity().communityId
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
$that.dataReportFeeStatisticsInfo.fees = [];
|
||||||
//发送get请求
|
//发送get请求
|
||||||
vc.http.apiGet('/floor.queryFloors',
|
vc.http.apiGet('/floor.queryFloors',
|
||||||
param,
|
param,
|
||||||
@ -90,6 +93,14 @@
|
|||||||
let _floorIds = [];
|
let _floorIds = [];
|
||||||
for (let _floorIndex = 0; _floorIndex < _floors.length; _floorIndex++) {
|
for (let _floorIndex = 0; _floorIndex < _floors.length; _floorIndex++) {
|
||||||
_floorIds.push(_floors[_floorIndex].floorId);
|
_floorIds.push(_floors[_floorIndex].floorId);
|
||||||
|
if (_floorIds.length >= 5) {
|
||||||
|
$that._loadDataReportFeeStatisticsData(_floorIds.join(','));
|
||||||
|
_floorIds = [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_floorIds.length > 0) {
|
||||||
|
$that._loadDataReportFeeStatisticsData(_floorIds.join(','));
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -100,7 +111,7 @@
|
|||||||
},
|
},
|
||||||
//查询
|
//查询
|
||||||
_qureyDataReportFeeStatistics: function() {
|
_qureyDataReportFeeStatistics: function() {
|
||||||
$that._loadDataReportFeeStatisticsData(DEFAULT_PAGE, DEFAULT_ROWS);
|
$that._loadFloors();
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user