Index: ssts-web/src/main/webapp/disinfectsystem/print/print.js =================================================================== diff -u -r14054 -r14326 --- ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 14054) +++ ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 14326) @@ -1582,6 +1582,20 @@ LODOP.PREVIEW(); } } + +//借物单打印 +function printBorrowRecord(obj,printType) { + formTypeOfPrinted = obj.formTypeOfPrinted; + setGoodsInfos(obj); + print2(obj); + if(printType == 0){//直接打印 + LODOP.PRINT(); + }else{//打印预览 + LODOP.SET_SHOW_MODE("HIDE_PAPER_BOARD",1); + LODOP.PREVIEW(); + } +} + function createInvoiceInfo2(invoiceObj) { LODOP = getLodop(document.getElementById('LODOP'), document .getElementById('LODOP_EM'));