mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 21:59:12 +08:00
解决 西安 园区 批量打印配置
This commit is contained in:
parent
7bd2585aba
commit
60faee7c8f
@ -183,7 +183,8 @@ var saveAs = saveAs || (function(view) {
|
||||
receivedAmountSwitch: '',
|
||||
offlinePayFeeSwitch: '1',
|
||||
payerObjNames: [],
|
||||
payObjs: []
|
||||
payObjs: [],
|
||||
printUrl:'/print.html#/pages/property/printPayFee',
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@ -209,9 +210,34 @@ var saveAs = saveAs || (function(view) {
|
||||
vc.getDict('pay_fee_detail', "prime_rate", function(_data) {
|
||||
vc.component.batchPayFeeOrderInfo.primeRates = _data;
|
||||
});
|
||||
$that._listFeePrintPages();
|
||||
},
|
||||
_initEvent: function() {},
|
||||
methods: {
|
||||
_listFeePrintPages: function (_page, _rows) {
|
||||
var param = {
|
||||
params: {
|
||||
page: 1,
|
||||
row: 1,
|
||||
state: 'T',
|
||||
communityId: vc.getCurrentCommunity().communityId
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
vc.http.apiGet('/feePrintPage.listFeePrintPage',
|
||||
param,
|
||||
function (json, res) {
|
||||
var _feePrintPageManageInfo = JSON.parse(json);
|
||||
let feePrintPages = _feePrintPageManageInfo.data;
|
||||
if (feePrintPages && feePrintPages.length > 0) {
|
||||
$that.batchPayFeeOrderInfo.printUrl = feePrintPages[0].url;
|
||||
}
|
||||
},
|
||||
function (errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
}
|
||||
);
|
||||
},
|
||||
_loadBatchFees: function() {
|
||||
let param = {
|
||||
params: {
|
||||
@ -406,7 +432,7 @@ var saveAs = saveAs || (function(view) {
|
||||
},
|
||||
_printAndBack: function() {
|
||||
$('#payFeeResult').modal("hide");
|
||||
window.open("/print.html#/pages/property/printPayFee?detailIds=" + $that.batchPayFeeOrderInfo.detailIds)
|
||||
window.open($that.payFeeOrderInfo.printUrl+"?detailIds=" + $that.batchPayFeeOrderInfo.detailIds)
|
||||
},
|
||||
_goBack: function() {
|
||||
vc.goBack();
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
communityName: '',
|
||||
receiptId: '',
|
||||
receiptIds: '',
|
||||
detailIds: '',
|
||||
roomName: '',
|
||||
amount: 0.00,
|
||||
fees: [],
|
||||
@ -24,6 +25,7 @@
|
||||
|
||||
$that.printPayFeeInfo.receiptId = vc.getParam('receiptId');
|
||||
$that.printPayFeeInfo.receiptIds = vc.getParam('receiptIds');
|
||||
$that.printPayFeeInfo.detailIds = vc.getParam('detailIds');
|
||||
$that.printPayFeeInfo.apply = vc.getParam('apply');
|
||||
|
||||
//$that.printPayFeeInfo.feeTime = vc.dateTimeFormat(new Date());
|
||||
@ -50,6 +52,7 @@
|
||||
row: 30,
|
||||
receiptId: $that.printPayFeeInfo.receiptId,
|
||||
receiptIds: $that.printPayFeeInfo.receiptIds,
|
||||
detailIds: $that.printPayFeeInfo.detailIds,
|
||||
communityId: vc.getCurrentCommunity().communityId
|
||||
}
|
||||
};
|
||||
@ -87,6 +90,7 @@
|
||||
row: 100,
|
||||
receiptId: $that.printPayFeeInfo.receiptId,
|
||||
receiptIds: $that.printPayFeeInfo.receiptIds,
|
||||
detailIds: $that.printPayFeeInfo.detailIds,
|
||||
communityId: vc.getCurrentCommunity().communityId
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user