创建费用问题

This commit is contained in:
java110 2020-09-06 17:45:25 +08:00
parent f67d56aa52
commit a86c7473fb
3 changed files with 23 additions and 3 deletions

View File

@ -34,7 +34,7 @@
vc.component.roomCreateFeeAddInfo.locationTypeCd = '5008';
vc.component.roomCreateFeeAddInfo.locationObjId = _room.room.roomId;
var room = _room.room;
vc.component.roomCreateFeeAddInfo.locationTypeCdName = room.floorNum +'号楼'+room.unitNum+'单元'+room.roomNum+'室';
vc.component.roomCreateFeeAddInfo.locationTypeCdName = room.floorNum +'号楼'+room.unitNum+'单元'+room.roomNum+'室('+room.ownerName+')';
}
$('#roomCreateFeeAddModel').modal('show');
@ -137,6 +137,7 @@
$('#roomCreateFeeAddModel').modal('hide');
vc.component.clearAddFeeConfigInfo();
vc.toast("创建收费成功,总共["+_json.totalRoom+"]房屋,成功["+_json.successRoom+"],失败["+_json.errorRoom+"]",8000);
vc.emit('listRoomFee','notify',{});
return;
}
vc.toast(json);

View File

@ -5,6 +5,10 @@
<div class="ibox-title">
<h5>{{listRoomCreateFeeInfo.roomName}}费用</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
v-on:click="_openRoomCreateFeeAddModal()">
创建费用
</button>
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
v-on:click="_toOwnerPayFee()">
欠费缴费
@ -81,4 +85,5 @@
</div>
<vc:create path="property/deleteFee"></vc:create>
<vc:create path="property/editFee"></vc:create>
<vc:create path="property/roomCreateFeeAdd"></vc:create>
</div>

View File

@ -9,7 +9,11 @@
roomId:'',
total: 0,
records: 1,
builtUpArea: 0.00
builtUpArea: 0.00,
floorNum:'',
unitNum:'',
roomNum:'',
ownerName:''
}
},
_initMethod:function(){
@ -17,6 +21,10 @@
vc.component.listRoomCreateFeeInfo.roomName = vc.getParam('floorNum')+"号楼"+vc.getParam('unitNum')+"单元"+vc.getParam("roomNum")+"室";
vc.component.listRoomCreateFeeInfo.roomId = vc.getParam('roomId');
$that.listRoomCreateFeeInfo.builtUpArea = vc.getParam('builtUpArea');
$that.listRoomCreateFeeInfo.floorNum = vc.getParam('floorNum');
$that.listRoomCreateFeeInfo.unitNum = vc.getParam('unitNum');
$that.listRoomCreateFeeInfo.roomNum = vc.getParam('roomNum');
$that.listRoomCreateFeeInfo.ownerName = vc.getParam('ownerName');
};
vc.component._loadListRoomCreateFeeInfo(1,10);
},
@ -92,7 +100,13 @@
},
_toOwnerPayFee:function(){
vc.jumpToPage('/admin.html#/pages/property/owePayFeeOrder?payObjId='+$that.listRoomCreateFeeInfo.roomId+"&payObjType=3333&roomName="+$that.listRoomCreateFeeInfo.roomName);
}
},
_openRoomCreateFeeAddModal:function(){
vc.emit('roomCreateFeeAdd', 'openRoomCreateFeeAddModal',{
isMore:false,
room:$that.listRoomCreateFeeInfo
});
},
}
});