业务受理页面 加入备注

This commit is contained in:
java110 2020-12-30 11:32:55 +08:00
parent 0d62fc1869
commit d91e3e2026
3 changed files with 27 additions and 4 deletions

View File

@ -2026,3 +2026,11 @@ a:hover {
.vc-table-border tr th{ .vc-table-border tr th{
border: 1px solid #000000; border: 1px solid #000000;
} }
.fix-width{
width: 60%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: bottom;
}

View File

@ -73,7 +73,10 @@
</div> </div>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<div class="form-group">
<label class="col-form-label">业主备注:</label>
<label class="fix-width" :title="simplifyAcceptanceInfo.ownerRemark">{{simplifyAcceptanceInfo.ownerRemark}}</label>
</div>
</div> </div>
</div> </div>
@ -81,8 +84,7 @@
<div class="col-sm-3"> <div class="col-sm-3">
<div class="form-group"> <div class="form-group">
<label class="col-form-label">房屋编号:</label> <label class="col-form-label">房屋编号:</label>
<label <label>{{simplifyAcceptanceInfo.floorNum}}-{{simplifyAcceptanceInfo.unitNum}}-{{simplifyAcceptanceInfo.roomNum}}</label>
class="">{{simplifyAcceptanceInfo.floorNum}}-{{simplifyAcceptanceInfo.unitNum}}-{{simplifyAcceptanceInfo.roomNum}}</label>
</div> </div>
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3">
@ -117,6 +119,12 @@
<label class="">{{simplifyAcceptanceInfo.roomId}}</label> <label class="">{{simplifyAcceptanceInfo.roomId}}</label>
</div> </div>
</div> </div>
<div class="col-sm-6">
<div class="form-group">
<label class="col-form-label">房屋备注:</label>
<label class="fix-width" :title="simplifyAcceptanceInfo.roomRemark">{{simplifyAcceptanceInfo.roomRemark }}</label>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -15,6 +15,8 @@
_currentTab: 'simplifyRoomFee', _currentTab: 'simplifyRoomFee',
roomId: '', roomId: '',
ownerId: '', ownerId: '',
ownerRemark: '',
roomRemark: '',
name: '', name: '',
idCard: '', idCard: '',
link: '', link: '',
@ -52,6 +54,7 @@
_initEvent: function () { _initEvent: function () {
vc.on('simplifyAcceptance', 'chooseRoom', function (_room) { vc.on('simplifyAcceptance', 'chooseRoom', function (_room) {
vc.copyObject(_room, $that.simplifyAcceptanceInfo); vc.copyObject(_room, $that.simplifyAcceptanceInfo);
$that.simplifyAcceptanceInfo.roomRemark = _room.remark;
$that.simplifyAcceptanceInfo.roomName = _room.floorNum + '栋' + _room.unitNum + '单元' + _room.roomNum; $that.simplifyAcceptanceInfo.roomName = _room.floorNum + '栋' + _room.unitNum + '单元' + _room.roomNum;
vc.emit('simplifyRoomFee', 'switch', $that.simplifyAcceptanceInfo) vc.emit('simplifyRoomFee', 'switch', $that.simplifyAcceptanceInfo)
}); });
@ -114,6 +117,7 @@
$that.saveTempSearchData(); $that.saveTempSearchData();
let _owner = _ownerJson.data; let _owner = _ownerJson.data;
vc.copyObject(_owner, $that.simplifyAcceptanceInfo); vc.copyObject(_owner, $that.simplifyAcceptanceInfo);
$that.simplifyAcceptanceInfo.ownerRemark = _owner.remark;
if (!_owner.hasOwnProperty('rooms')) { if (!_owner.hasOwnProperty('rooms')) {
return; return;
} }
@ -123,6 +127,7 @@
return; return;
} }
vc.copyObject(_rooms[0], $that.simplifyAcceptanceInfo); vc.copyObject(_rooms[0], $that.simplifyAcceptanceInfo);
$that.simplifyAcceptanceInfo.roomRemark = _rooms[0].remark;
$that.simplifyAcceptanceInfo.roomName = _rooms[0].floorNum + '栋' + _rooms[0].unitNum + '单元' + _rooms[0].roomNum; $that.simplifyAcceptanceInfo.roomName = _rooms[0].floorNum + '栋' + _rooms[0].unitNum + '单元' + _rooms[0].roomNum;
vc.emit('simplifyRoomFee', 'switch', $that.simplifyAcceptanceInfo); vc.emit('simplifyRoomFee', 'switch', $that.simplifyAcceptanceInfo);
@ -181,7 +186,9 @@
feeCoefficient: '', feeCoefficient: '',
stateName: '', stateName: '',
roomName: '', roomName: '',
sex: 0 sex: 0,
ownerRemark: '',
roomRemark: ''
} }
} }