优化代码

This commit is contained in:
java110 2021-03-13 18:18:57 +08:00
parent 16849e724a
commit 913f99aa49
2 changed files with 5 additions and 0 deletions

View File

@ -141,6 +141,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" @click="_back()">返回</button>
<button type="button" class="btn btn-primary" @click="_printSmallAndBack()">打印小票</button>
<button type="button" class="btn btn-primary" @click="_printAndBack()">打印收据</button>
</div>
</div>

View File

@ -285,6 +285,10 @@
//$('#payFeeResult').modal("hide");
window.open("/print.html#/pages/property/printPayFee?receiptId=" + $that.payFeeOrderInfo.receiptId)
},
_printSmallAndBack: function () {
//$('#payFeeResult').modal("hide");
window.open("/smallPrint.html#/pages/property/printSmallPayFee?receiptId=" + $that.payFeeOrderInfo.receiptId)
},
/**
* 向上取整
*/