mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化diamante
This commit is contained in:
parent
71ccba26ca
commit
a550970bd6
@ -34,6 +34,10 @@
|
|||||||
v-on:click="_printFeeSmallReceipt()">
|
v-on:click="_printFeeSmallReceipt()">
|
||||||
打印小票
|
打印小票
|
||||||
</button>
|
</button>
|
||||||
|
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
|
||||||
|
v-on:click="_printApplyFeeReceipt()">
|
||||||
|
申请单
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="margin-top">
|
<div class="margin-top">
|
||||||
|
|||||||
@ -114,7 +114,22 @@
|
|||||||
if (receiptids.endsWith(',')) {
|
if (receiptids.endsWith(',')) {
|
||||||
receiptids = receiptids.substring(0, receiptids.length - 1);
|
receiptids = receiptids.substring(0, receiptids.length - 1);
|
||||||
}
|
}
|
||||||
window.open("/print.html#/pages/property/printPayFee?receiptIds=" + receiptids);
|
window.open("/print.html#/pages/property/printPayFee?receiptIds=" + receiptids+"&apply=N");
|
||||||
|
},
|
||||||
|
|
||||||
|
_printApplyFeeReceipt: function (_receipt) {
|
||||||
|
if ($that.simplifyFeeReceiptInfo.selectReceipts.length < 1) {
|
||||||
|
vc.toast('请选择');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
let receiptids = '';
|
||||||
|
$that.simplifyFeeReceiptInfo.selectReceipts.forEach(item => {
|
||||||
|
receiptids += (item + ',');
|
||||||
|
})
|
||||||
|
if (receiptids.endsWith(',')) {
|
||||||
|
receiptids = receiptids.substring(0, receiptids.length - 1);
|
||||||
|
}
|
||||||
|
window.open("/print.html#/pages/property/printPayFee?receiptIds=" + receiptids+"&apply=Y");
|
||||||
},
|
},
|
||||||
|
|
||||||
_printFeeSmallReceipt:function(){
|
_printFeeSmallReceipt:function(){
|
||||||
|
|||||||
@ -2,7 +2,8 @@
|
|||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div class=" text-center">
|
<div class=" text-center">
|
||||||
<div style="color:#000;font-size:36px">{{printPayFeeInfo.communityName}} 收据单</div>
|
<div style="color:#000;font-size:36px">{{printPayFeeInfo.communityName}} {{printPayFeeInfo.apply ==
|
||||||
|
'Y'?'申请单':'收据单'}}</div>
|
||||||
<span style="color:#000;font-size:20px">单号:{{printPayFeeInfo.receiptNum}}</span>
|
<span style="color:#000;font-size:20px">单号:{{printPayFeeInfo.receiptNum}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="row " style="color:#000;font-size:20px">
|
<div class="row " style="color:#000;font-size:20px">
|
||||||
|
|||||||
@ -14,7 +14,8 @@
|
|||||||
content: '',
|
content: '',
|
||||||
qrImg: '',
|
qrImg: '',
|
||||||
payObjName:'',
|
payObjName:'',
|
||||||
feeReceipt:[]
|
feeReceipt:[],
|
||||||
|
apply:'N'
|
||||||
},
|
},
|
||||||
printFlag: '0'
|
printFlag: '0'
|
||||||
},
|
},
|
||||||
@ -23,6 +24,8 @@
|
|||||||
|
|
||||||
$that.printPayFeeInfo.receiptId = vc.getParam('receiptId');
|
$that.printPayFeeInfo.receiptId = vc.getParam('receiptId');
|
||||||
$that.printPayFeeInfo.receiptIds = vc.getParam('receiptIds');
|
$that.printPayFeeInfo.receiptIds = vc.getParam('receiptIds');
|
||||||
|
$that.printPayFeeInfo.apply = vc.getParam('apply');
|
||||||
|
|
||||||
//$that.printPayFeeInfo.feeTime = vc.dateTimeFormat(new Date());
|
//$that.printPayFeeInfo.feeTime = vc.dateTimeFormat(new Date());
|
||||||
|
|
||||||
$that.printPayFeeInfo.communityName = vc.getCurrentCommunity().name;
|
$that.printPayFeeInfo.communityName = vc.getCurrentCommunity().name;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user