Index: ssts-web/src/main/webapp/disinfectsystem/config/gdszyy/print/printConfig.js =================================================================== diff -u -r29151 -r29154 --- ssts-web/src/main/webapp/disinfectsystem/config/gdszyy/print/printConfig.js (.../printConfig.js) (revision 29151) +++ ssts-web/src/main/webapp/disinfectsystem/config/gdszyy/print/printConfig.js (.../printConfig.js) (revision 29154) @@ -468,7 +468,7 @@ ] }, barcodes : [ - {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5mm","74%","40mm","8mm"], + {codeType : "128Auto", dataIndex : 'serialNum', position : ["5mm","74%","40mm","8mm"], styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true}, {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} @@ -1205,20 +1205,22 @@ } function printDisposableGoodsInvoicePlanSummary(obj,printType){ doGetLodop(); - LODOP.SET_PRINT_PAGESIZE(3,'29.7cm','2cm',''); - var tableStyle = "font-family: verdana, arial, sans-serif;font-size: 14px;color: #333333;border-width: 1px;border-color: #666666;border-collapse: collapse;margin-bottom:5mm;margin-left:0.5cm;width: 28.7cm"; - var tableThStyle = "border-width: 1px;padding: 5px;border-style: solid;border-color: #666666;font-size: 14px;" - var tableTdStyle = "border-width: 1px;padding: 5px;border-style: solid;border-color: #666666;background-color: #ffffff;font-size: 14px;"; - var tableNameStyle = "font-size: 16px;border-width: 1px;padding: 5px;border-style: solid;border-color: #666666;background-color: #ffffff;"; - var html = '
'; + // 设置打印纸的大小 + LODOP.SET_PRINT_PAGESIZE(1,'21cm','27.93cm',''); + var tableStyle = "font-family: verdana, arial, sans-serif;font-size: 14px;color: #333333;border-width: 1px;border-color: #666666;border-collapse: collapse;margin-bottom:5mm;margin-left:0cm;width:20cm"; + var tableThStyle = "border-width: 1px;border-style: solid;border-color: #666666;font-size: 12px;" + var tableTdStyle = "border-width: 1px;text-align:right;border-style: solid;border-color: #666666;background-color: #ffffff;font-size: 12px;"; + var tableNameStyle = "font-size: 16px;border-width: 1px;border-style: solid;border-color: #666666;background-color: #ffffff;"; + //var html = '
'; + var html = '
'; var data = obj.data; for(var i=0;i"; table += ''; table += ''+item.name+''; table += ''; - table += '科室/名称'; + table += '科室/名称'; for(var j=0;j'+item.content.header[j]+''; } @@ -1246,7 +1248,7 @@ html += table; } html += '
'; - LODOP.ADD_PRINT_HTM(0,0,"95%","100%",""+html+""); + LODOP.ADD_PRINT_HTM(0,0,"100%","100%",""+html+""); LODOP.SET_SHOW_MODE("HIDE_PAPER_BOARD",1); if(printType == 0){ LODOP.PRINT();