Index: ssts-web/src/main/webapp/disinfectsystem/reportforms/departmentMonthlyDetailDSInvoiceItemView.js =================================================================== diff -u -r34603 -r34604 --- ssts-web/src/main/webapp/disinfectsystem/reportforms/departmentMonthlyDetailDSInvoiceItemView.js (.../departmentMonthlyDetailDSInvoiceItemView.js) (revision 34603) +++ ssts-web/src/main/webapp/disinfectsystem/reportforms/departmentMonthlyDetailDSInvoiceItemView.js (.../departmentMonthlyDetailDSInvoiceItemView.js) (revision 34604) @@ -24,7 +24,7 @@ left: 500, top: 85 }, { - label: ' / ', + label: ' / ', left: 640, top: 85 }]; @@ -36,12 +36,12 @@ var top = headerArr[k].top; if (headerArr[k].dataIndex == 'depart') { value = headerArr[k].label + depart; - top = top + 10 ; + top = top + 10; } else if (headerArr[k].dataIndex == 'date') { value = headerArr[k].label + startDateAndEndDate; - top = top - 13 ; - }else { - top = top + 33 ; + top = top - 13; + } else { + top = top + 33; } LODOP.ADD_PRINT_HTM(top, headerArr[k].left, "90%", 40, value); LODOP.SET_PRINT_STYLEA(0, "ItemType", 1); @@ -112,7 +112,10 @@ var goodsTable = { fontSize: 14, rowHeight: 30, - tableWidth: 800, + tableWidth: '19.9cm', + tableHeight: '10cm', + left:'1cm', + top: 100, columns: [{ align: "center", dataIndex: "externalCode", @@ -160,9 +163,12 @@ goodsTable = newPrintConfig.goodsTable; } var tableWidth = goodsTable.tableWidth; + var tableHeight = goodsTable.tableHeight; + var tableTop = goodsTable.top; + var tableLeft = goodsTable.left; - var html = '
'; - html += ''; + var html = '
'; + html += '
'; html += ''; html += ''; for (var m = 0; m < goodsTable.columns.length; m++) { @@ -204,7 +210,7 @@ html += ''; html += '
'; html += '
'; - LODOP.ADD_PRINT_TABLE(100, 10, "90%", '10cm', html); + LODOP.ADD_PRINT_TABLE(tableTop, tableLeft, tableWidth, tableHeight, html); LODOP.SET_PRINT_STYLEA(0, "Vorient", 3); } Index: ssts-web/src/main/webapp/disinfectsystem/config/dgshlyy/print/printConfig.js =================================================================== diff -u -r34603 -r34604 --- ssts-web/src/main/webapp/disinfectsystem/config/dgshlyy/print/printConfig.js (.../printConfig.js) (revision 34603) +++ ssts-web/src/main/webapp/disinfectsystem/config/dgshlyy/print/printConfig.js (.../printConfig.js) (revision 34604) @@ -1332,7 +1332,7 @@ { label: '统计日期:', dataIndex: "date", - left: 15, + left:'1cm', top: 85 }, { label: '科室:', @@ -1348,7 +1348,10 @@ goodsTable :{ fontSize: 14, rowHeight: 30, - tableWidth:750, + tableWidth:'19.8cm', + tableHeight:'10cm', + left:'1cm', + top:100, columns: [{ align: "center", dataIndex: "externalCode", @@ -1394,7 +1397,7 @@ footer:[{ label: '发货人:', dataIndex: "sender", - left: 15, + left:'1cm', top: 450 }, { label: '收货人:',