Skip to content

Commit b88f893

Browse files
committed
优化相关代码
1 parent 7b7db22 commit b88f893

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

public/pages/property/owePayFeeOrder/owePayFeeOrder.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
payObjId: '',
1313
payObjType: '',
1414
roomName: '',
15-
receiptId: '',
15+
receiptIds: '',
1616
remark: ''
1717
}
1818
},
@@ -125,13 +125,13 @@
125125
$that._closeDoOwePayFeeModal();
126126
if (_json.code == 0) {
127127

128-
let _feeInfo = {
129-
totalAmount: $that.owePayFeeOrderInfo.feePrices,
130-
fees: _printFees
131-
}
132128
let _data = JSON.parse(json).data;
129+
let receiptIds = '';
130+
_data.forEach(item=>{
131+
receiptIds +=(item.receiptId+',');
132+
})
133133

134-
$that.owePayFeeOrderInfo.receiptId = _data.receiptId;
134+
$that.owePayFeeOrderInfo.receiptIds = receiptIds;
135135

136136
//vc.saveData('_feeInfo', _feeInfo);
137137
//关闭model
@@ -157,7 +157,7 @@
157157
},
158158
_printAndBack: function () {
159159
$('#payFeeResult').modal("hide");
160-
window.open("/print.html#/pages/property/printPayFee?receiptId=" + $that.owePayFeeOrderInfo.receiptId)
160+
window.open("/print.html#/pages/property/printPayFee?receiptIds=" + $that.owePayFeeOrderInfo.receiptIds)
161161
},
162162
_dealSelectFee: function () {
163163
let totalFee = 0.00;

0 commit comments

Comments
 (0)