Index: ssts-web/src/main/webapp/disinfectsystem/config/fjsssyy/print/printConfig.js =================================================================== diff -u -r28322 -r29879 --- ssts-web/src/main/webapp/disinfectsystem/config/fjsssyy/print/printConfig.js (.../printConfig.js) (revision 28322) +++ ssts-web/src/main/webapp/disinfectsystem/config/fjsssyy/print/printConfig.js (.../printConfig.js) (revision 29879) @@ -1146,7 +1146,8 @@ LODOP.ADD_PRINT_TABLE(106,"5%","90%","100%",tableHtml); //标题 LODOP.ADD_PRINT_HTM(20,20,"95%",30,headHtml); - LODOP.PRINT(); + LODOP.SET_SHOW_MODE("HIDE_PAPER_BOARD",1); + LODOP.PREVIEW(); } } Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.js =================================================================== diff -u -r29849 -r29879 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.js (.../goodsApplicationView.js) (revision 29849) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.js (.../goodsApplicationView.js) (revision 29879) @@ -2726,7 +2726,6 @@ invoicePlanIds = invoicePlanIds + ',' + records[i].data['id']; } } - var recyclingInvoiceTotalPrint = "recyclingInvoiceTotal"; var myObj = printConfig[recyclingInvoiceTotalPrint]; if(isUndefinedOrNullOrEmpty(myObj)){ @@ -2742,7 +2741,7 @@ success : function(response, options) { var obj = Ext.decode(response.responseText); if(obj.success){ - if(JSON.stringify(obj.data) !== "{}"){ + if(JSON.stringify(obj.data) !== "{}" && JSON.stringify(obj.data) !== "[]"){ myObj.customPrint(Ext4.Date.format(new Date(),'Y-m-d H:i:s'),obj,(myObj.name || ''),curUserName); }else { showResult('打印回收汇总信息为空,请重新选择申请单'); @@ -2962,7 +2961,7 @@ text: '打印回收汇总单',hidden: !sstsConfig.printWaitRecyclingInvoicePlanSummary, handler: function () { top.Ext.MessageBox.confirm("请确认", "要打印回收汇总单吗?", function (btn) { - if (btn == 'yes') { + if (btn == 'yes') { if(sstsConfig.printInvoicePlanSummarySelectDepartgroup){ var selectResult = showSelectDepartmentGroup();