Index: ssts-web/src/main/webapp/disinfectsystem/config/zsxlrmyy/print/printConfig.js =================================================================== diff -u -r13990 -r13991 --- ssts-web/src/main/webapp/disinfectsystem/config/zsxlrmyy/print/printConfig.js (.../printConfig.js) (revision 13990) +++ ssts-web/src/main/webapp/disinfectsystem/config/zsxlrmyy/print/printConfig.js (.../printConfig.js) (revision 13991) @@ -211,6 +211,49 @@ } ] } + +//打印外部代理灭菌单 +var foreignProxyDisinfectionApplicationPrintConfig = { + headerFooter : [ + // 页眉名称 + {label : "中大五院", dataIndex : '', fontSize : 10, position : ["5","1%","90%",5]}, + // 标题 + {label : "外部代理灭菌单", dataIndex : '', fontSize : 15, position : ["20","40%","99%",5]}, + {label : "部门:", dataIndex : 'depart', fontSize : 11, position : ["55","2%","90%",5]}, + {label : "单号:", dataIndex : 'serialNumber', fontSize : 11, position : ["55","35%","90%",5]}, + {label : "申请时间:", dataIndex : 'applicationTime', fontSize : 11, position : ["80","35%","90%",5]}, + {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["80","2%","90%",5]}, + {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["415","5%","90%",5]}, + {label : "发放人:", dataIndex : '', fontSize : 11, position : ["415","40%","90%",5]}, + {label : "领用人:", dataIndex : '', fontSize : 11, position : ["415","75%","90%",5]}, + {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["445","5%","90%",5]}, + {barcodes : [ + {codeType : "128Auto", dataIndex : 'departBarcode', position : ["3mm","74%","40mm","8mm"], + styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true}, + {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, + {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} + ] + } + ]} + ], + currentPageNumber : {label : "第#页", fontSize : 11, position : ["445","75%","90%",5]}, + totalPageAmount : {label : "共&页", fontSize : 11, position : ["445","81%","90%",5]}, + goodsTable :{ + rowHeight : 25, + position : ["100","1%","97%","7cm"], + headRepeat : true, + columns : [ + {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11}, + {header : "名称", dataIndex : 'name', width : 220, align : 'left', fontSize : 11}, + {header : "数量", dataIndex : 'amount', width : 40, align : 'right', fontSize : 11}, + {header : "单位", dataIndex : 'unit', width : 40, align : 'center', fontSize : 11}, + {header : "灭菌日期", dataIndex : 'sterilizationdate', width : 105, align : 'center', fontSize : 11}, + {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11}, + {header : "单价", dataIndex : 'price', width : 60, align : 'right', fontSize : 11}, + {header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11} + ] + } +} var batchPrintMaterialInvoicesConfig = { headerFooter : [ // 页眉名称 @@ -1394,6 +1437,7 @@ var printConfig = { //发货计划单 invoicePlan : invoicePlanPrintConfig, + foreignProxyDisinfectionApplication: foreignProxyDisinfectionApplicationPrintConfig,// 外部代理灭菌单 batchPrintInvoices: batchPrintInvoicesConfig, batchPrintMaterialInvoices:batchPrintMaterialInvoicesConfig, // 发货单(通用发货单)