Index: ssts-web/src/main/webapp/disinfectsystem/config/cssdsyy/print/printConfig.js =================================================================== diff -u -r25273 -r25296 --- ssts-web/src/main/webapp/disinfectsystem/config/cssdsyy/print/printConfig.js (.../printConfig.js) (revision 25273) +++ ssts-web/src/main/webapp/disinfectsystem/config/cssdsyy/print/printConfig.js (.../printConfig.js) (revision 25296) @@ -1198,10 +1198,53 @@ LODOP.ADD_PRINT_HTM(0,0,"95%","100%",""+tableHtml+""); } - +var batchPrintInvoicesConfig_csdsyy = { + headerFooter : [ + // 页眉名称 + {label : "", dataIndex : 'unitName', fontSize : 10, position : ["5","3%","90%",5]}, + // 标题 + {label : "供应室物品出库单", dataIndex : '', fontSize : 18, position : ["10","30%","99%",5]}, + {label : "部门:", dataIndex : 'depart', fontSize : 11, position : ["45","2%","90%",5]}, + {label : "仓库:消毒供应中心", dataIndex : '', fontSize : 11, position : ["45","65%","90%",5]}, + {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["45","35%","90%",5]}, + {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["65","35%","90%",5]}, + {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["65","2%","90%",5]}, +// {label : "主管:", dataIndex : '', fontSize : 11, position : ["10cm","5%","90%",5]}, + {label : "领用人:", dataIndex : '', fontSize : 11, position : ["8cm","2%","90%",5],onlyLast:true}, + {label : "发货人:", dataIndex : 'sender', fontSize : 11, position : ["8cm","30%","90%",5],onlyLast:true}, + {barcodes : [ + {codeType : "128Auto", dataIndex : 'departBarcode', position : ["3mm","65%","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 : ["8cm","75%","90%",5]}, + totalPageAmount : {label : "共&页", fontSize : 11, position : ["8cm","80%","90%",5]}, + goodsTable :{ + rowHeight : 25, + position : ["80","2%","90%","5.0cm"], + headRepeat : true, + columns : [ + {header : "序号", dataIndex : 'serialNumber', width : '10%', align : 'center', fontSize : 11}, + {header : "名称", dataIndex : 'name', width : '30%', align : 'left', fontSize : 11}, + {header : "数量", dataIndex : 'amount', width : '5%', align : 'right', fontSize : 11}, + {header : "规格", dataIndex : 'specification', width : '15%', align : 'center', fontSize : 11}, + {header : "包装规格", dataIndex : 'packageSpec', width : '15%', align : 'center', fontSize : 11}, + {header : "单位", dataIndex : 'unit', width : '5%', align : 'center', fontSize : 11} +// {header : "批次/灭菌日期", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11}, +// {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11}, +// {header : "单价", dataIndex : 'price', width : '10%', align : 'right', fontSize : 11}, +// {header : "金额", dataIndex : 'totalPrice', width : '10%', align : 'right', fontSize : 11} + ] + } +} var printConfig = { //发货计划单 invoicePlan : invoicePlanPrintConfig, + batchPrintInvoices: batchPrintInvoicesConfig_csdsyy, batchPrintMaterialInvoices:batchPrintMaterialInvoicesConfig, // 发货单(通用发货单) invoiceCombo : invoiceComboPrintConfig,