Index: ssts-web/src/main/webapp/disinfectsystem/config/dysyy/print/printConfig.js =================================================================== diff -u -r16623 -r16624 --- ssts-web/src/main/webapp/disinfectsystem/config/dysyy/print/printConfig.js (.../printConfig.js) (revision 16623) +++ ssts-web/src/main/webapp/disinfectsystem/config/dysyy/print/printConfig.js (.../printConfig.js) (revision 16624) @@ -250,44 +250,54 @@ } }; +//批量打印发货单配置 var batchPrintInvoicesConfig = { - /*在打印之前调用,可用于排序,合并等操作*/ - beforeBatchPrintInvoices:beforeBatchPrintInvoices, headerFooter : [ // 页眉名称 - //{label : "德阳市人民医院", dataIndex : '', fontSize : 10, position : ["5","1%","90%",5]}, + //{label : "", dataIndex : 'unitName', fontSize : 10, position : ["5","1%","90%",5]}, // 标题 - {label : "德阳市人民医院卫生材料出库单", dataIndex : '', fontSize : 15, position : ["5","32%","99%",5]}, - {label : "科室:", dataIndex : 'depart', fontSize : 11, position : ["30","2%","90%",5]}, - {label : "备注:", dataIndex : 'remark2', fontSize : 11, position : ["30","25%","90%",5]}, - {label : "记账日期:", dataIndex : 'sendTime', fontSize : 11, position : ["30","58%","90%",5]}, - {label : "出库单号:", dataIndex : 'serialNumber2', fontSize : 11, position : ["30","80%","90%",5]}, - {label : "住院号:", dataIndex : 'hospitalNumber', fontSize : 11, position : ["50","2%","90%",5]}, - //页脚 - {label : "制单日期:", dataIndex : 'printDate', fontSize : 11, position : ["310","2%","90%",5]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["310","25%","90%",5]}, - {label : "领用人:", dataIndex : '', fontSize : 11, position : ["310","45%","90%",5]}, - {label : "保管人:", dataIndex : '', fontSize : 11, position : ["310","65%","90%",5]}, - {label : "记账人:", dataIndex : 'sender', fontSize : 11, position : ["310","80%","90%",5]} + {label : "德阳市人民医院 供应室物资领用出库单", dataIndex : '', fontSize : 15, position : ["15","25%","99%",5]}, + {label : "接收科室:", dataIndex : 'depart', fontSize : 11, position : ["57","2%","90%",5]}, + {label : "日期:", dataIndex : 'printDate', fontSize : 11, position : ["57","33%","90%",5]}, + //{label : "仓库:供应室器械仓库", dataIndex : '', fontSize : 11, position : ["42","75%","90%",5]}, + //{label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["42","35%","90%",5]}, + + {label : "备注:", dataIndex : 'remark2', fontSize : 11, position : ["57","75%","90%",5]}, + {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["8.4cm","5%","90%",5]}, + {label : "发货人:", dataIndex : 'sender', fontSize : 11, position : ["8.4cm","35%","90%",5]}, + {label : "下送人:", dataIndex : '', fontSize : 11, position : ["8.4cm","50%","90%",5]}, + {label : "领用人:", dataIndex : '', fontSize : 11, position : ["8.4cm","65%","90%",5]}, + //{label : "复核人:", dataIndex : '', fontSize : 11, position : ["11cm","5%","90%",5]}, + {label : "审核人:", dataIndex : '', fontSize : 11, position : ["8.4cm","80%","90%",5]}, + {barcodes : [ + {codeType : "128Auto", dataIndex : 'departBarcode', position : ["15","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 : ["30","45%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 11, position : ["30","50%","90%",5]}, + currentPageNumber : {label : "页: # / ", fontSize : 11, position : ["57","55%","90%",5]}, + totalPageAmount : {label : "&", fontSize : 11, position : ["57","63%","90%",5]}, goodsTable :{ - rowHeight : 20, - position : ["70","1%","96%","6.0cm"], + rowHeight : 25, + position : ["85","0.2cm","20.4cm","5.6cm"], headRepeat : true, + fontSize:11, + style:'"border-left:0px;border-right:0px;border-top:#000000 1px solid;border-bottom:#000000 1px solid;"', columns : [ {header : "序号", dataIndex : 'serialNumber', width : '5%', align : 'center', fontSize : 11}, - {header : "编码", dataIndex : 'externalCode', width : '7%', align : 'left', fontSize : 11}, - {header : "名称", dataIndex : 'name', width : '35%', align : 'center', 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 : 'name', width : '265', align : 'center', fontSize : 11}, + //{header : "规格", dataIndex : 'specification', width : '9%', align : 'center', fontSize : 11}, + //{header : "包装规格", dataIndex : 'packageSpec', width : '9%', align : 'center', fontSize : 11}, + {header : "单位", dataIndex : 'unit', width : '8%', align : 'center', fontSize : 11}, {header : "数量", dataIndex : 'amount', width : '5%', align : 'right', fontSize : 11}, - {header : "有效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11}, - {header : "批号", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11} -// {header : "单价", dataIndex : 'price', width : '10%', align : 'right', fontSize : 11}, -// {header : "金额", dataIndex : 'totalPrice', width : '10%', align : 'right', fontSize : 11} + {header : "灭菌日期", dataIndex : 'batchNumber', width : '14%', align : 'center', fontSize : 11}, + {header : "失效日期", dataIndex : 'expireDate', width : '14%', align : 'center', fontSize : 11}, + {header : "单价", dataIndex : 'price', width : '10%', align : 'center', fontSize : 11}, + {header : "金额", dataIndex : 'totalPrice', width : '10%', align : 'center', fontSize : 11} + //{header : "生产厂家", dataIndex : 'manufacturer', width : '17%', align : 'center', fontSize : 11} ] } }