Index: ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js =================================================================== diff -u -r15690 -r16662 --- ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js (.../printConfig.js) (revision 15690) +++ ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js (.../printConfig.js) (revision 16662) @@ -154,8 +154,9 @@ ] } } - +//宽24cm. 长28cm var invoicePlanPrintConfig = { + print2:true, isPrintTousse : true, isPrintDisinfectGoods : true, isPrintDisposableGoods : true, // 打印申请单是否打印一次性物品 @@ -166,38 +167,37 @@ // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 disinfectGoodsPrintMode : 2, - rowsPerPage : 99, - headerContent : [ - // 标题 - {label : "无菌物品领用单 ", dataIndex : 'header', fontSize : 17, position : ["0","60mm","99%",22]}, - {label : "单号:", dataIndex : 'serialNum', fontSize : 11, position : ["30","1%","90%",10]}, - {label : "接收部门:", dataIndex : 'depart', fontSize : 11, position : ["30","45mm","90%",5]}, - {label : "收物者:", dataIndex : '', fontSize : 11, position : ["30","100mm","90%",5]} - - ], - goodsTable :{ + rowsPerPage : 1000000, + headerFooter : [ + // 标题 + {label : "无菌物品领用单 ", dataIndex : 'header',type:'html', beforeStr:'
',afterStr:'
', position : ["0","0mm","80%",22]}, +// {label : "无菌物品领用单 ", dataIndex : 'header', fontSize : 17, position : ["0","60mm","99%",22]}, + {label : "单号:", dataIndex : 'serialNum', fontSize : 11, position : ["30","1%","90%",10]}, + {label : "接收部门:", dataIndex : 'depart', fontSize : 11, position : ["30","45mm","90%",5]}, + {label : "收物者:", dataIndex : '', fontSize : 11, position : ["30","100mm","90%",5]}, + {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["26.3cm","1%","90%",5]}, + {label : "回收人:", dataIndex : 'recyclingUser', fontSize : 11, position : ["25.7cm","1%","90%",5]}, + {label : "清点人:", dataIndex : 'applicant', fontSize : 11, position : ["25.7cm","35mm","90%",5]}, + {label : "发货者:", dataIndex : '', fontSize : 11, position : ["25.7cm","70mm","90%",5]}, +// {label : "收物者:", dataIndex : '', fontSize : 11, position : ["8.1cm","105mm","90%",5]}, + {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["25.7cm","130mm","90%",5]} + ], + currentPageNumber : {label : "第#页", fontSize : 11, position : ["25.7cm","190mm","90%",5]}, + totalPageAmount : {label : "/共&页", fontSize : 11, position : ["25.7cm","200mm","90%",5]}, + goodsTable :{ rowHeight : 25, - position : ["49","1%","99%","2000"], - content : [ - {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11}, - {header : "名称", dataIndex : 'goodsName', width : 280, align : 'left', fontSize : 11}, - {header : "规格", dataIndex : 'sp', width : 260, align : 'left', fontSize : 11}, - {header : "申请数量", dataIndex : 'applyAmount', width : 70, align : 'center', fontSize : 11}, - {header : "回收数量", dataIndex : 'recyclingAmount', width : 70, align : 'center', fontSize : 11} + position : ["49","1%","99%","23.5cm"], + fontSize : 14, + headRepeat : true, + columns : [ + {header : "序号", dataIndex : 'serialNumber', width : 110, align : 'center', fontSize : 11}, + {header : "名称", dataIndex : 'goodsName', width : 250, align : 'left', fontSize : 11}, + {header : "规格", dataIndex : 'sp', width : 170, align : 'left', fontSize : 11}, + {header : "申请数量", dataIndex : 'applyAmount', width : 120, align : 'center', fontSize : 11}, + {header : "回收数量", dataIndex : 'recyclingAmount', width : 120, align : 'center', fontSize : 11} //{header : "单位", dataIndex : 'unit', width : 60, align : 'left', fontSize : 11}, ] - }, - footer: { - fontSize : 14, - content : [ - {label : "回收人:", dataIndex : 'recyclingUser'}, - {label : " 清点人:", dataIndex : 'applicant'}, - {label : " 发货者:", dataIndex : ''}, - //{label : " 收物者:", dataIndex : ''}, - {label : " 打印时间:", dataIndex : 'printTime'}, - {label : "
备注:", dataIndex : 'remark'} - ] - } + } } var batchPrintMaterialInvoicesConfig = { headerFooter : [