mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
36b254dc45
commit
daa98b5ac6
@ -3,8 +3,8 @@
|
||||
<div class="col-lg-4 padding-right-xs padding-left-xl">
|
||||
<span class="margin-right" v-for="(item,index) in ownerDetailRoomFeeInfo.payObjs">
|
||||
<input type="checkbox" class="i-checks checkRoomItem" v-bind:value="item.roomId"
|
||||
v-model="ownerDetailRoomFeeInfo.payerObjIds"
|
||||
@change="_chanagePayerObjId()"> {{item.floorNum}}-{{item.unitNum}}-{{item.roomNum}}
|
||||
v-model="ownerDetailRoomFeeInfo.payerObjIds" @change="_chanagePayerObjId()">
|
||||
{{item.floorNum}}-{{item.unitNum}}-{{item.roomNum}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-lg-1 padding-lr-xs">
|
||||
@ -21,8 +21,7 @@
|
||||
<vc:i18n name="批量缴费" namespace="ownerDetailRoomFee"></vc:i18n>
|
||||
</button>
|
||||
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
|
||||
v-if="vc.hasPrivilege('502022073007100003')"
|
||||
v-on:click="_openTempImportRoomFeeModal()">
|
||||
v-if="vc.hasPrivilege('502022073007100003')" v-on:click="_openTempImportRoomFeeModal()">
|
||||
临时收费
|
||||
</button>
|
||||
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
|
||||
@ -30,13 +29,11 @@
|
||||
<vc:i18n name="按量缴费" namespace="ownerDetailRoomFee"></vc:i18n>
|
||||
</button>
|
||||
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
|
||||
v-if="vc.hasPrivilege('502022073096990007')"
|
||||
v-on:click="_openRoomsCreateFeeModal()" >
|
||||
v-if="vc.hasPrivilege('502022073096990007')" v-on:click="_openRoomsCreateFeeModal()">
|
||||
创建费用
|
||||
</button>
|
||||
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
|
||||
v-if="vc.hasPrivilege('502020080570210194')"
|
||||
v-on:click="_toRoomOwePayFee()">
|
||||
v-if="vc.hasPrivilege('502020080570210194')" v-on:click="_toRoomOwePayFee()">
|
||||
欠费缴费
|
||||
</button>
|
||||
<button type="button" class="btn btn-white btn-sm" style="margin-left:10px" v-on:click="_printOwnOrder()">
|
||||
@ -123,7 +120,9 @@
|
||||
</span>{{_getRoomAttrValue(fee.feeAttrs,'390003')}}</div>
|
||||
</td>
|
||||
<td class="text-center" width="150" v-else-if="fee.computingFormula == '4004'">
|
||||
<div><vc:i18n name="费用根据实际情况而定" namespace="ownerDetailRoomFee"></vc:i18n></div>
|
||||
<div>
|
||||
<vc:i18n name="费用根据实际情况而定" namespace="ownerDetailRoomFee"></vc:i18n>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-center" v-else>
|
||||
<div><span>
|
||||
@ -176,12 +175,9 @@
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<span>
|
||||
<span>
|
||||
<span>
|
||||
<vc:i18n name="欠费小计" namespace="ownerDetailRoomFee"></vc:i18n>
|
||||
</span>
|
||||
</span>:{{ownerDetailRoomFeeInfo.totalAmount}}
|
||||
<vc:i18n name="欠费小计:" namespace="ownerDetailRoomFee"></vc:i18n>
|
||||
</span>
|
||||
{{ownerDetailRoomFeeInfo.totalAmount}}
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<vc:create namespace="ownerDetailRoomFee" path="frame/paginationPlus"></vc:create>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
**/
|
||||
(function (vc) {
|
||||
var DEFAULT_PAGE = 1;
|
||||
var DEFAULT_ROWS = 10;
|
||||
var DEFAULT_ROWS = 30;
|
||||
vc.extends({
|
||||
data: {
|
||||
ownerDetailRoomFeeInfo: {
|
||||
@ -52,7 +52,7 @@
|
||||
$that.ownerDetailRoomFeeInfo.total = _feeConfigInfo.total;
|
||||
$that.ownerDetailRoomFeeInfo.records = _feeConfigInfo.records;
|
||||
$that.ownerDetailRoomFeeInfo.fees = _feeConfigInfo.fees;
|
||||
vc.emit('pagination', 'init', {
|
||||
vc.emit('ownerDetailRoomFee','paginationPlus', 'init', {
|
||||
total: _feeConfigInfo.records,
|
||||
currentPage: _page
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user