Index: ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js =================================================================== diff -u -r17526 -r17541 --- ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js (.../printConfig.js) (revision 17526) +++ ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js (.../printConfig.js) (revision 17541) @@ -199,6 +199,53 @@ ] } } +//打印外部代理灭菌单 +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 : 'currentOrgUnitName', fontSize : 11, position : ["55","35%","90%",5]}, + {label : "流水号:", dataIndex : 'serialNumber', fontSize : 11, position : ["55","70%","90%",5]}, + {label : "申请时间:", dataIndex : 'applicationTime', fontSize : 11, position : ["75","70%","90%",5]}, + {label : "送来时间:", dataIndex : 'arrivedTime', fontSize : 11, position : ["75","2%","90%",5]}, + {label : "预约时间:", dataIndex : 'scheduleTime', fontSize : 11, position : ["75","35%","90%",5]}, + + {label : "制表者:", dataIndex : 'printUser', fontSize : 11, position : ["275","5%","90%",5]}, + {label : "发物者:", dataIndex : '', fontSize : 11, position : ["275","40%","90%",5]}, + {label : "领物者:", dataIndex : '', fontSize : 11, position : ["275","75%","90%",5]}, + {label : "送物者:", dataIndex : '', fontSize : 11, position : ["295","5%","90%",5]}, + {label : "接收员工:", dataIndex : '', fontSize : 11, position : ["295","40%","90%",5]}, + {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["295","70%","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 : ["315","75%","90%",5]}, + totalPageAmount : {label : "共&页", fontSize : 11, position : ["315","81%","90%",5]}, + goodsTable :{ + rowHeight : 25, + position : ["92","1%","97%","4cm"], + 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 : [ // 页眉名称 @@ -1373,6 +1420,7 @@ var printConfig = { //发货计划单 invoicePlan : invoicePlanPrintConfig, + foreignProxyDisinfectionApplication: foreignProxyDisinfectionApplicationPrintConfig,// 外部代理灭菌单 batchPrintInvoices: batchPrintInvoicesConfig, batchPrintMaterialInvoices:batchPrintMaterialInvoicesConfig, // 发货单(通用发货单)