Index: ssts-web/src/main/webapp/disinfectsystem/print/print.js =================================================================== diff -u -r12599 -r12785 --- ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 12599) +++ ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 12785) @@ -1406,6 +1406,17 @@ LODOP.PREVIEW(); } } +//一次性物品采购计划 +function printPurchasePlanInfo(obj,printType) { + formTypeOfPrinted = "purchasePlan"; + 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'));