Index: ssts-web/src/main/webapp/disinfectsystem/config/zsyy/print/printConfig.js =================================================================== diff -u -r19928 -r19930 --- ssts-web/src/main/webapp/disinfectsystem/config/zsyy/print/printConfig.js (.../printConfig.js) (revision 19928) +++ ssts-web/src/main/webapp/disinfectsystem/config/zsyy/print/printConfig.js (.../printConfig.js) (revision 19930) @@ -175,9 +175,17 @@ {label : "科室:", dataIndex : 'depart', fontSize : 16, position : ["60","5%","90%",5]}, {label : "日期:", dataIndex : 'applicationTime', fontSize : 16, position : ["60","35%","90%",5]}, {label : "单号:", dataIndex : 'serialNum', fontSize : 16, position : ["60","75%","90%",5]}, - {label : "配包人:", dataIndex : '', fontSize : 13, position : ["8cm","5%","90%",5]}, - {label : "发货人:", dataIndex : '', fontSize : 13, position : ["8cm","25%","90%",5]}, - {label : "领物人:", dataIndex : '', fontSize : 13, position : ["8cm","55%","90%",5]} + {label : "配包人:", dataIndex : '', fontSize : 13, position : ["8cm","5%","90%",5],onlyLast:true}, + {label : "发货人:", dataIndex : '', fontSize : 13, position : ["8cm","25%","90%",5],onlyLast:true}, + {label : "领物人:", dataIndex : '', fontSize : 13, position : ["8cm","55%","90%",5],onlyLast:true}, + {barcodes : [ + {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5","70%","40mm","8mm"], + styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: false}, + {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]}, @@ -205,46 +213,46 @@ // 页眉名称 //{label : "", dataIndex : 'unitName', fontSize : 10, position : ["5","1%","90%",5]}, // 标题 - {label : "中山大学附属第一医院供应室出库清单", dataIndex : '', fontSize : 15, position : ["5","20%","99%",5]}, - {label : "科室:", dataIndex : 'depart', fontSize : 11, position : ["40","2%","90%",5]}, - {label : "单号:", dataIndex : 'serialNumber2', fontSize : 11, position : ["40","25%","90%",5]}, - {label : "发货时间:", dataIndex : 'sendTime', fontSize : 11, position : ["40","50%","90%",5]}, + {label : "中山大学附属第一医院供应室出库清单", dataIndex : '', fontSize : 16, position : ["5","20%","99%",5]}, + {label : "科室:", dataIndex : 'depart', fontSize : 13, position : ["40","2%","90%",5]}, + {label : "单号:", dataIndex : 'serialNumber2', fontSize : 13, position : ["40","25%","90%",5]}, + {label : "发货时间:", dataIndex : 'sendTime', fontSize : 13, position : ["40","50%","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 : '', fontSize : 11, position : ["9.3cm","2%","90%",5],onlyLast:true},//只在最后一页打印 - {label : "领物人:", dataIndex : '', fontSize : 11, position : ["9.3cm","30%","90%",5],onlyLast:true}, + {label : "发货人:", dataIndex : '', fontSize : 13, position : ["9.3cm","2%","90%",5],onlyLast:true},//只在最后一页打印 + {label : "领物人:", dataIndex : '', fontSize : 13, position : ["9.3cm","30%","90%",5],onlyLast:true}, //{label : "复核人:", dataIndex : '', fontSize : 11, position : ["11cm","5%","90%",5]}, // {label : "审核人:", dataIndex : '', fontSize : 11, position : ["8.4cm","83%","90%",5]} {barcodes : [ - {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5","70%","40mm","8mm"], + {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5","75%","40mm","8mm"], styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: false}, {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} ] } ]} ], - currentPageNumber : {label : "页: # / ", fontSize : 11, position : ["40","80%","90%",5]}, - totalPageAmount : {label : "&", fontSize : 11, position : ["40","88%","90%",5]}, + currentPageNumber : {label : "页: # / ", fontSize : 13, position : ["40","80%","90%",5]}, + totalPageAmount : {label : "&", fontSize : 13, position : ["40","88%","90%",5]}, goodsTable :{ rowHeight : 25, position : ["67","0.2cm","22cm","6.8cm"], headRepeat : true, - fontSize:13, + fontSize : 16, // style:'"border-left:0px;border-right:0px;border-top:#000000 1px solid;border-bottom:#000000 1px solid;"', columns : [ {header : "序号", dataIndex : 'serialNumber', width : '40', align : 'center', fontSize : 11}, - {header : "物品名称", dataIndex : 'name', width : '300', align : 'center', fontSize : 11}, - {header : "规格", dataIndex : 'specification', width : '130', align : 'center', fontSize : 11}, + {header : "物品名称", dataIndex : 'name', width : '250', align : 'center', fontSize : 11}, + {header : "规格", dataIndex : 'specification', width : '120', align : 'center', fontSize : 11}, //{header : "包装规格", dataIndex : 'packageSpec', width : '9%', align : 'center', fontSize : 11}, - {header : "批次/灭菌日期", dataIndex : 'batchNumber', width : '90', align : 'center', fontSize : 11}, + {header : "批次/灭菌日期", dataIndex : 'batchNumber', width : '110', align : 'center', fontSize : 11}, //{header : "失效日期", dataIndex : 'expireDate', width : '70', align : 'center', fontSize : 11}, {header : "单位", dataIndex : 'unit', width : '50', align : 'center', fontSize : 11}, {header : "数量", dataIndex : 'amount', width : '50', align : 'center', fontSize : 11}, - {header : "单价", dataIndex : 'price', width : '50', align : 'center', fontSize : 11}, - {header : "金额", dataIndex : 'totalPrice', width : '70', align : 'center', fontSize : 11} + {header : "单价", dataIndex : 'price', width : '70', align : 'center', fontSize : 11}, + {header : "金额", dataIndex : 'totalPrice', width : '90', align : 'center', fontSize : 11} //{header : "备注", dataIndex : '', width : '70', align : 'center', fontSize : 11} //{header : "生产厂家", dataIndex : 'manufacturer', width : '17%', align : 'center', fontSize : 11} ]