Index: ssts-web/src/main/webapp/disinfectsystem/config/zsdxfsdeyy/print/printConfig.js =================================================================== diff -u -r27314 -r30691 --- ssts-web/src/main/webapp/disinfectsystem/config/zsdxfsdeyy/print/printConfig.js (.../printConfig.js) (revision 27314) +++ ssts-web/src/main/webapp/disinfectsystem/config/zsdxfsdeyy/print/printConfig.js (.../printConfig.js) (revision 30691) @@ -1,791 +1,819 @@ var appropriationInListConfig = { - headerFooter : [ - // 页眉名称 - {label : "中山大学附属第二医院调拨入库单", dataIndex : '', fontSize : 15, position : ["0.3cm","37%","99%",5]}, - {label : "调拨日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}, - {label : "仓库:", dataIndex : 'warehouse', fontSize : 9, position : ["1cm","2%","90%",5]} - ], - //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 20, - //position : ["50","1%","96%","6.0cm"], - fontSize:10, - position : ["1.5cm","0.2cm","99%","29cm"], - headRepeat : true, - columns : [ - {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, - {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, - {header : "出库仓库", dataIndex : 'warehouseName', width : 60, align : 'center'}, - //{header : "入库仓库", dataIndex : 'targetWareHouseName', width : 60, align : 'center'}, - {header : "操作时间", dataIndex : 'time', width : 110, align : 'center'}, - {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}, - {header : "供应商", dataIndex : 'supplierName', width : 225, align : 'center'}, - {header : "备注", dataIndex : 'remark', width : 100, align : 'center'} - ] - } + headerFooter: [ + // 页眉名称 + { label: "中山大学附属第二医院调拨入库单", dataIndex: '', fontSize: 15, position: ["0.3cm", "37%", "99%", 5] }, + { label: "调拨日期:", dataIndex: 'date', fontSize: 9, position: ["1cm", "38%", "99%", 5] }, + { label: "仓库:", dataIndex: 'warehouse', fontSize: 9, position: ["1cm", "2%", "90%", 5] } + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable: { + rowHeight: 20, + //position : ["50","1%","96%","6.0cm"], + fontSize: 10, + position: ["1.5cm", "0.2cm", "99%", "29cm"], + headRepeat: true, + columns: [ + { header: "单号", dataIndex: 'serialNumber', width: 60, align: 'center' }, + { header: "操作员", dataIndex: 'operator', width: 60, align: 'center' }, + { header: "出库仓库", dataIndex: 'warehouseName', width: 60, align: 'center' }, + //{header : "入库仓库", dataIndex : 'targetWareHouseName', width : 60, align : 'center'}, + { header: "操作时间", dataIndex: 'time', width: 110, align: 'center' }, + { header: "金额", dataIndex: 'totalPrice', width: 75, align: 'center' }, + { header: "供应商", dataIndex: 'supplierName', width: 225, align: 'center' }, + { header: "备注", dataIndex: 'remark', width: 100, align: 'center' } + ] + } }; + var appropriationOutListConfig = { - headerFooter : [ - // 页眉名称 - {label : "中山大学附属第二医院调拨出库单", dataIndex : '', fontSize : 15, position : ["0.3cm","37%","99%",5]}, - {label : "调拨日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}, - {label : "仓库:", dataIndex : 'warehouse', fontSize : 9, position : ["1cm","2%","90%",5]} - ], - //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 20, - //position : ["50","1%","96%","6.0cm"], - fontSize:10, - position : ["1.5cm","0.2cm","99%","29cm"], - headRepeat : true, - columns : [ - {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, - {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, - //{header : "出库仓库", dataIndex : 'warehouseName', width : 60, align : 'center'}, - {header : "入库仓库", dataIndex : 'targetWareHouseName', width : 60, align : 'center'}, - {header : "操作时间", dataIndex : 'time', width : 110, align : 'center'}, - {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}, - {header : "供应商", dataIndex : 'supplierName', width : 225, align : 'center'}, - {header : "备注", dataIndex : 'remark', width : 100, align : 'center'} - ] - } + headerFooter: [ + // 页眉名称 + { label: "中山大学附属第二医院调拨出库单", dataIndex: '', fontSize: 15, position: ["0.3cm", "37%", "99%", 5] }, + { label: "调拨日期:", dataIndex: 'date', fontSize: 9, position: ["1cm", "38%", "99%", 5] }, + { label: "仓库:", dataIndex: 'warehouse', fontSize: 9, position: ["1cm", "2%", "90%", 5] } + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable: { + rowHeight: 20, + //position : ["50","1%","96%","6.0cm"], + fontSize: 10, + position: ["1.5cm", "0.2cm", "99%", "29cm"], + headRepeat: true, + columns: [ + { header: "单号", dataIndex: 'serialNumber', width: 60, align: 'center' }, + { header: "操作员", dataIndex: 'operator', width: 60, align: 'center' }, + //{header : "出库仓库", dataIndex : 'warehouseName', width : 60, align : 'center'}, + { header: "入库仓库", dataIndex: 'targetWareHouseName', width: 60, align: 'center' }, + { header: "操作时间", dataIndex: 'time', width: 110, align: 'center' }, + { header: "金额", dataIndex: 'totalPrice', width: 75, align: 'center' }, + { header: "供应商", dataIndex: 'supplierName', width: 225, align: 'center' }, + { header: "备注", dataIndex: 'remark', width: 100, align: 'center' } + ] + } }; + var appropriationListConfig = { - headerFooter : [ - // 页眉名称 - {label : "中山大学附属第二医院调拨单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]}, - {label : "调拨日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]} - //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} - ], - //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 20, - //position : ["50","1%","96%","6.0cm"], - fontSize:10, - position : ["1.5cm","0.2cm","99%","29cm"], - headRepeat : true, - columns : [ - {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, - {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, - {header : "出库仓库", dataIndex : 'warehouseName', width : 60, align : 'center'}, - {header : "入库仓库", dataIndex : 'targetWareHouseName', width : 60, align : 'center'}, - {header : "操作时间", dataIndex : 'time', width : 110, align : 'center'}, - {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}, - {header : "供应商", dataIndex : 'supplierName', width : 225, align : 'center'}, - {header : "备注", dataIndex : 'remark', width : 100, align : 'center'} - ] - } + headerFooter: [ + // 页眉名称 + { label: "中山大学附属第二医院调拨单查询", dataIndex: 'depart', fontSize: 15, position: ["0.3cm", "30%", "99%", 5] }, + { label: "调拨日期:", dataIndex: 'date', fontSize: 9, position: ["1cm", "38%", "99%", 5] } + //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable: { + rowHeight: 20, + //position : ["50","1%","96%","6.0cm"], + fontSize: 10, + position: ["1.5cm", "0.2cm", "99%", "29cm"], + headRepeat: true, + columns: [ + { header: "单号", dataIndex: 'serialNumber', width: 60, align: 'center' }, + { header: "操作员", dataIndex: 'operator', width: 60, align: 'center' }, + { header: "出库仓库", dataIndex: 'warehouseName', width: 60, align: 'center' }, + { header: "入库仓库", dataIndex: 'targetWareHouseName', width: 60, align: 'center' }, + { header: "操作时间", dataIndex: 'time', width: 110, align: 'center' }, + { header: "金额", dataIndex: 'totalPrice', width: 75, align: 'center' }, + { header: "供应商", dataIndex: 'supplierName', width: 225, align: 'center' }, + { header: "备注", dataIndex: 'remark', width: 100, align: 'center' } + ] + } } + var godownEntryOutListConfig = { - headerFooter : [ - // 页眉名称 - {label : "中山大学附属第二医院退库单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]}, - {label : "退库日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]} - //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} - ], - //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 20, - //position : ["50","1%","96%","6.0cm"], - fontSize:10, - position : ["1.5cm","0.2cm","99%","29cm"], - headRepeat : true, - columns : [ - {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, - {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, - {header : "退库时间", dataIndex : 'time', width : 110, align : 'center'}, - {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}, - {header : "供应商", dataIndex : 'supplierName', width : 285, align : 'center'}, - {header : "备注", dataIndex : 'remark', width : 160, align : 'center'} - ] - } + headerFooter: [ + // 页眉名称 + { label: "中山大学附属第二医院退库单查询", dataIndex: 'depart', fontSize: 15, position: ["0.3cm", "30%", "99%", 5] }, + { label: "退库日期:", dataIndex: 'date', fontSize: 9, position: ["1cm", "38%", "99%", 5] } + //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable: { + rowHeight: 20, + //position : ["50","1%","96%","6.0cm"], + fontSize: 10, + position: ["1.5cm", "0.2cm", "99%", "29cm"], + headRepeat: true, + columns: [ + { header: "单号", dataIndex: 'serialNumber', width: 60, align: 'center' }, + { header: "操作员", dataIndex: 'operator', width: 60, align: 'center' }, + { header: "退库时间", dataIndex: 'time', width: 110, align: 'center' }, + { header: "金额", dataIndex: 'totalPrice', width: 75, align: 'center' }, + { header: "供应商", dataIndex: 'supplierName', width: 285, align: 'center' }, + { header: "备注", dataIndex: 'remark', width: 160, align: 'center' } + ] + } } + var godownStockTakeListConfig = { - headerFooter : [ - // 页眉名称 - {label : "中山大学附属第二医院盘盈盘亏单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]}, - {label : "日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]} - //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} - ], - //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 20, - //position : ["50","1%","96%","6.0cm"], - fontSize:10, - position : ["1.5cm","0.2cm","99%","29cm"], - headRepeat : true, - columns : [ - {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, - {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, - {header : "仓库", dataIndex : 'warehouseName', width : 285, align : 'center'}, - {header : "类型", dataIndex : 'subType', width : 160, align : 'center'}, - {header : "时间", dataIndex : 'time', width : 110, align : 'center'}, - {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'} - ] - } + headerFooter: [ + // 页眉名称 + { label: "中山大学附属第二医院盘盈盘亏单查询", dataIndex: 'depart', fontSize: 15, position: ["0.3cm", "30%", "99%", 5] }, + { label: "日期:", dataIndex: 'date', fontSize: 9, position: ["1cm", "38%", "99%", 5] } + //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable: { + rowHeight: 20, + //position : ["50","1%","96%","6.0cm"], + fontSize: 10, + position: ["1.5cm", "0.2cm", "99%", "29cm"], + headRepeat: true, + columns: [ + { header: "单号", dataIndex: 'serialNumber', width: 60, align: 'center' }, + { header: "操作员", dataIndex: 'operator', width: 60, align: 'center' }, + { header: "仓库", dataIndex: 'warehouseName', width: 285, align: 'center' }, + { header: "类型", dataIndex: 'subType', width: 160, align: 'center' }, + { header: "时间", dataIndex: 'time', width: 110, align: 'center' }, + { header: "金额", dataIndex: 'totalPrice', width: 75, align: 'center' } + ] + } } + var godownEntryListPrintConfig = { - headerFooter : [ - // 页眉名称 - {label : "中山大学附属第二医院入库单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]}, - {label : "入库日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]} - //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} - ], - //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 20, - //position : ["50","1%","96%","6.0cm"], - fontSize:10, - position : ["1.5cm","0.2cm","99%","29cm"], - headRepeat : true, - columns : [ - {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, - {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, - {header : "入库时间", dataIndex : 'time', width : 110, align : 'center'}, - {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}, - {header : "供应商", dataIndex : 'supplierName', width : 285, align : 'center'}, - {header : "备注", dataIndex : 'remark', width : 160, align : 'center'} - ] - } + headerFooter: [ + // 页眉名称 + { label: "中山大学附属第二医院入库单查询", dataIndex: 'depart', fontSize: 15, position: ["0.3cm", "30%", "99%", 5] }, + { label: "入库日期:", dataIndex: 'date', fontSize: 9, position: ["1cm", "38%", "99%", 5] } + //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","2%","90%",5]} + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable: { + rowHeight: 20, + //position : ["50","1%","96%","6.0cm"], + fontSize: 10, + position: ["1.5cm", "0.2cm", "99%", "29cm"], + headRepeat: true, + columns: [ + { header: "单号", dataIndex: 'serialNumber', width: 60, align: 'center' }, + { header: "操作员", dataIndex: 'operator', width: 60, align: 'center' }, + { header: "入库时间", dataIndex: 'time', width: 110, align: 'center' }, + { header: "金额", dataIndex: 'totalPrice', width: 75, align: 'center' }, + { header: "供应商", dataIndex: 'supplierName', width: 285, align: 'center' }, + { header: "备注", dataIndex: 'remark', width: 160, align: 'center' } + ] + } } var invoicePlanPrintConfig = { - isPrintTousse : true, - isPrintDisinfectGoods : true, - isPrintDisposableGoods : true, // 打印申请单是否打印一次性物品 - isMergePrintTousseAndDisposable : false, // 器械包和一次性物品是否合并打印 - printByOriginalApplications : true, //不合并打印情况下是否按原始单据逐份打印 - printApplyInfo : false, - printOrder : 1, // 1:优先打印一次性物品, 2:优先打印器械包 - // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: - // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 - disinfectGoodsPrintMode : 2, - rowsPerPage : 9, - headerContent : [ - // 页眉名称 - {label : "中山大学附属第二医院", dataIndex : '', fontSize : 12, position : ["5","1%","90%",5]}, - // 标题 - {label : "无菌物品出库单", dataIndex : '', fontSize : 15, position : ["20","40%","99%",5]}, - {label : "部门:", dataIndex : 'depart', fontSize : 12, position : ["55","2%","90%",5]}, - {label : "单号:", dataIndex : 'serialNum', fontSize : 11, position : ["55","35%","90%",5]}, - {label : "仓库:消毒供应中心", dataIndex : '', fontSize : 11, position : ["55","75%","90%",5]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["80","75%","90%",5]}, - {label : "提交时间:", dataIndex : 'applicationTime', fontSize : 11, position : ["80","35%","90%",5]}, - {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["80","2%","90%",5]} - ], - goodsTable :{ - rowHeight : 24, - position : ["100","1%","97%","2000"], - content : [ - {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11}, - {header : "名称", dataIndex : 'goodsName', width : 340, align : 'left', fontSize : 11}, - {header : "规格", dataIndex : 'sp', width : 185, align : 'center', fontSize : 11}, - {header : "包装规格", dataIndex : 'packageSpec', width : 100, align : 'center', fontSize : 11}, - {header : "单位", dataIndex : 'unit', width : 60, align : 'center', fontSize : 11}, - {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11}, - {header : "单价", dataIndex : 'price', width : 60, align : 'right', fontSize : 11} - //header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11} - ] - }, - footer: { - fontSize : 12, - content : [ - {label : "
主管: ", dataIndex : ''}, - {label : " 领料人: ", dataIndex : ''}, - {label : " 发料人: ", dataIndex : 'printUser'}, - {label : " 发货日期:", dataIndex : 'printTime'} - ] - }, - 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} - ] - } - ] + isPrintTousse: true, + isPrintDisinfectGoods: true, + isPrintDisposableGoods: true, // 打印申请单是否打印一次性物品 + isMergePrintTousseAndDisposable: false, // 器械包和一次性物品是否合并打印 + printByOriginalApplications: true, //不合并打印情况下是否按原始单据逐份打印 + printApplyInfo: false, + printOrder: 1, // 1:优先打印一次性物品, 2:优先打印器械包 + // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: + // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 + disinfectGoodsPrintMode: 2, + rowsPerPage: 9, + headerContent: [ + // 页眉名称 + { label: "中山大学附属第二医院", dataIndex: '', fontSize: 12, position: ["5", "1%", "90%", 5] }, + // 标题 + { label: "无菌物品出库单", dataIndex: '', fontSize: 15, position: ["20", "40%", "99%", 5] }, + { label: "部门:", dataIndex: 'depart', fontSize: 12, position: ["55", "2%", "90%", 5] }, + { label: "单号:", dataIndex: 'serialNum', fontSize: 11, position: ["55", "35%", "90%", 5] }, + { label: "仓库:消毒供应中心", dataIndex: '', fontSize: 11, position: ["55", "75%", "90%", 5] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 11, position: ["80", "75%", "90%", 5] }, + { label: "提交时间:", dataIndex: 'applicationTime', fontSize: 11, position: ["80", "35%", "90%", 5] }, + { label: "备注:", dataIndex: 'remark', fontSize: 11, position: ["80", "2%", "90%", 5] } + ], + goodsTable: { + rowHeight: 24, + position: ["100", "1%", "97%", "2000"], + content: [ + { header: "序号", dataIndex: 'serialNumber', width: 60, align: 'center', fontSize: 11 }, + { header: "名称", dataIndex: 'goodsName', width: 340, align: 'left', fontSize: 11 }, + { header: "规格", dataIndex: 'sp', width: 185, align: 'center', fontSize: 11 }, + { header: "包装规格", dataIndex: 'packageSpec', width: 100, align: 'center', fontSize: 11 }, + { header: "单位", dataIndex: 'unit', width: 60, align: 'center', fontSize: 11 }, + { header: "数量", dataIndex: 'goodsAmount', width: 60, align: 'right', fontSize: 11 }, + { header: "单价", dataIndex: 'price', width: 60, align: 'right', fontSize: 11 } + //header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11} + ] + }, + footer: { + fontSize: 12, + content: [ + { label: "
主管: ", dataIndex: '' }, + { label: " 领料人: ", dataIndex: '' }, + { label: " 发料人: ", dataIndex: 'printUser' }, + { label: " 发货日期:", dataIndex: 'printTime' } + ] + }, + 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 } + ] + } + ] } + var batchPrintMaterialInvoicesConfig = { - headerFooter : [ - // 页眉名称 - //{label : "中山大学附属第二医院", dataIndex : '', 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 : '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]} - ], - currentPageNumber : {label : "第#页", fontSize : 11, position : ["30","45%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 11, position : ["30","50%","90%",5]}, - goodsTable :{ - rowHeight : 20, - position : ["50","1%","99%","6.0cm"], - headRepeat : true, - columns : [ - {header : "序号", dataIndex : 'serialNumber', width : '100', align : 'center', fontSize : 11}, - {header : "编码", dataIndex : 'externalCode', width : '150', align : 'center', fontSize : 11}, - {header : "名称", dataIndex : 'name', width : '150', align : 'center', fontSize : 11}, - {header : "规格", dataIndex : 'specification', width : '150', align : 'center', fontSize : 11}, -// {header : "包装规格", dataIndex : 'packageSpec', width : '15%', align : 'center', fontSize : 11}, - {header : "单位", dataIndex : 'unit', width : '100', align : 'center', fontSize : 11}, - {header : "数量", dataIndex : 'amount', width : '100', align : 'center', 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} - ] - } + headerFooter: [ + // 页眉名称 + //{label : "中山大学附属第二医院", dataIndex : '', 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: '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] } + ], + currentPageNumber: { label: "第#页", fontSize: 11, position: ["30", "45%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 11, position: ["30", "50%", "90%", 5] }, + goodsTable: { + rowHeight: 20, + position: ["50", "1%", "99%", "6.0cm"], + headRepeat: true, + columns: [ + { header: "序号", dataIndex: 'serialNumber', width: '100', align: 'center', fontSize: 11 }, + { header: "编码", dataIndex: 'externalCode', width: '150', align: 'center', fontSize: 11 }, + { header: "名称", dataIndex: 'name', width: '150', align: 'center', fontSize: 11 }, + { header: "规格", dataIndex: 'specification', width: '150', align: 'center', fontSize: 11 }, + // {header : "包装规格", dataIndex : 'packageSpec', width : '15%', align : 'center', fontSize : 11}, + { header: "单位", dataIndex: 'unit', width: '100', align: 'center', fontSize: 11 }, + { header: "数量", dataIndex: 'amount', width: '100', align: 'center', 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} + ] + } }; var batchPrintInvoicesConfig = { - 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 : '', fontSize : 11, position : ["55","75%","90%",5]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["55","35%","90%",5]}, - {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["80","35%","90%",5]}, - {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["80","2%","90%",5]}, - {label : "主管:", dataIndex : '', fontSize : 11, position : ["10cm","5%","90%",5]}, - {label : "领料人:", dataIndex : '', fontSize : 11, position : ["10cm","40%","90%",5]}, - {label : "发料人:", dataIndex : 'sender', fontSize : 11, position : ["10cm","75%","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 : ["11cm","75%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 11, position : ["11cm","81%","90%",5]}, - goodsTable :{ - rowHeight : 25, - position : ["100","1%","97%","6.5cm"], - headRepeat : true, - columns : [ - {header : "序号", dataIndex : 'serialNumber', width : '10%', align : 'center', fontSize : 11}, - {header : "名称", dataIndex : 'name', width : '30%', align : 'left', 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 : 'amount', width : '5%', align : 'right', 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} - ] - } + 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: '', fontSize: 11, position: ["55", "75%", "90%", 5] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 11, position: ["55", "35%", "90%", 5] }, + { label: "打印时间:", dataIndex: 'printTime', fontSize: 11, position: ["80", "35%", "90%", 5] }, + { label: "备注:", dataIndex: 'remark', fontSize: 11, position: ["80", "2%", "90%", 5] }, + { label: "主管:", dataIndex: '', fontSize: 11, position: ["10cm", "5%", "90%", 5] }, + { label: "领料人:", dataIndex: '', fontSize: 11, position: ["10cm", "40%", "90%", 5] }, + { label: "发料人:", dataIndex: 'sender', fontSize: 11, position: ["10cm", "75%", "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: ["11cm", "75%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 11, position: ["11cm", "81%", "90%", 5] }, + goodsTable: { + rowHeight: 25, + position: ["100", "1%", "97%", "6.5cm"], + headRepeat: true, + columns: [ + { header: "序号", dataIndex: 'serialNumber', width: '10%', align: 'center', fontSize: 11 }, + { header: "名称", dataIndex: 'name', width: '30%', align: 'left', 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: 'amount', width: '5%', align: 'right', 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 invoiceComboPrintConfig = { - 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 : '', fontSize : 11, position : ["55","75%","90%",5]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["80","75%","90%",5]}, - {label : "申请时间:", dataIndex : 'applicationTime', fontSize : 11, position : ["80","35%","90%",5]}, - {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["80","2%","90%",5]}, - {label : "主管:", dataIndex : '', fontSize : 11, position : ["415","5%","90%",5]}, - {label : "领料人:", dataIndex : '', fontSize : 11, position : ["415","40%","90%",5]}, - {label : "发货员:", dataIndex : 'sender', fontSize : 11, position : ["415","75%","90%",5]}, - {label : "发货日期:", dataIndex : 'sendTime', 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 : 'name', width : 220, align : 'left', fontSize : 11}, - {header : "数量", dataIndex : 'count', width : 40, align : 'right', fontSize : 11}, - {header : "单位", dataIndex : 'unit', width : 40, align : 'center', fontSize : 11}, - {header : "规格", dataIndex : 'specification', width : 110, 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 : 60, align : 'right', fontSize : 11}, - {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'right', fontSize : 11} - ] - } + 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: '', fontSize: 11, position: ["55", "75%", "90%", 5] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 11, position: ["80", "75%", "90%", 5] }, + { label: "申请时间:", dataIndex: 'applicationTime', fontSize: 11, position: ["80", "35%", "90%", 5] }, + { label: "备注:", dataIndex: 'remark', fontSize: 11, position: ["80", "2%", "90%", 5] }, + { label: "主管:", dataIndex: '', fontSize: 11, position: ["415", "5%", "90%", 5] }, + { label: "领料人:", dataIndex: '', fontSize: 11, position: ["415", "40%", "90%", 5] }, + { label: "发货员:", dataIndex: 'sender', fontSize: 11, position: ["415", "75%", "90%", 5] }, + { label: "发货日期:", dataIndex: 'sendTime', 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: 'name', width: 220, align: 'left', fontSize: 11 }, + { header: "数量", dataIndex: 'count', width: 40, align: 'right', fontSize: 11 }, + { header: "单位", dataIndex: 'unit', width: 40, align: 'center', fontSize: 11 }, + { header: "规格", dataIndex: 'specification', width: 110, 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: 60, align: 'right', fontSize: 11 }, + { header: "金额", dataIndex: 'totalPrice', width: 75, align: 'right', fontSize: 11 } + ] + } } var applicationPrintConfig = { - isPrintTousse : true, - isPrintDisinfectGoods : true, - isPrintDisposableGoods : true, // 打印申请单是否打印一次性物品 - isMergePrintTousseAndDiposable : true, // 器械包和一次性物品是否合并打印 - printApplyInfo : true, - // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: - // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 - disinfectGoodsPrintMode : 1, - rowsPerPage : 11, - headerContent : [ - // 页眉名称 - {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 : 'serialNum', fontSize : 11, position : ["55","35%","90%",5]}, + isPrintTousse: true, + isPrintDisinfectGoods: true, + isPrintDisposableGoods: true, // 打印申请单是否打印一次性物品 + isMergePrintTousseAndDiposable: true, // 器械包和一次性物品是否合并打印 + printApplyInfo: true, + // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: + // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 + disinfectGoodsPrintMode: 1, + rowsPerPage: 11, + headerContent: [ + // 页眉名称 + { 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: 'serialNum', fontSize: 11, position: ["55", "35%", "90%", 5] }, - {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["80","75%","90%",5]}, - {label : "提交时间:", dataIndex : 'applicationTime', fontSize : 11, position : ["80","35%","90%",5]}, - {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["80","2%","90%",5]} - ], - goodsTable :{ - rowHeight : 25, - position : ["100","1%","97%","2000"], - content : [ - {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11}, - {header : "名称", dataIndex : 'goodsName', width : 340, align : 'left', fontSize : 11}, - {header : "规格", dataIndex : 'sp', width : 185, align : 'center', fontSize : 11}, - {header : "包装规格", dataIndex : 'packageSpec', width : 100, align : 'center', fontSize : 11}, - {header : "单位", dataIndex : 'unit', width : 60, align : 'center', fontSize : 11}, - {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11}, - {header : "单价", dataIndex : 'price', width : 60, align : 'right', fontSize : 11}, - {header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11} - ] - }, - footer: { - fontSize : 15, - content : [ - {label : "
主管: ", dataIndex : ''}, - {label : " 领料人: ", dataIndex : ''}, - {label : " 打印人: ", dataIndex : 'printUser'}, - {label : " 打印日期:", dataIndex : 'printTime'} - ] - }, - barcodes : [ - {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5mm","74%","40mm","8mm"], - styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true}, - {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, - {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} - ] - } - ] - + { label: "制单人:", dataIndex: 'printUser', fontSize: 11, position: ["80", "75%", "90%", 5] }, + { label: "提交时间:", dataIndex: 'applicationTime', fontSize: 11, position: ["80", "35%", "90%", 5] }, + { label: "备注:", dataIndex: 'remark', fontSize: 11, position: ["80", "2%", "90%", 5] } + ], + goodsTable: { + rowHeight: 25, + position: ["100", "1%", "97%", "2000"], + content: [ + { header: "序号", dataIndex: 'serialNumber', width: 60, align: 'center', fontSize: 11 }, + { header: "名称", dataIndex: 'goodsName', width: 340, align: 'left', fontSize: 11 }, + { header: "规格", dataIndex: 'sp', width: 185, align: 'center', fontSize: 11 }, + { header: "包装规格", dataIndex: 'packageSpec', width: 100, align: 'center', fontSize: 11 }, + { header: "单位", dataIndex: 'unit', width: 60, align: 'center', fontSize: 11 }, + { header: "数量", dataIndex: 'goodsAmount', width: 60, align: 'right', fontSize: 11 }, + { header: "单价", dataIndex: 'price', width: 60, align: 'right', fontSize: 11 }, + { header: "金额", dataIndex: 'rowPrice', width: 75, align: 'right', fontSize: 11 } + ] + }, + footer: { + fontSize: 15, + content: [ + { label: "
主管: ", dataIndex: '' }, + { label: " 领料人: ", dataIndex: '' }, + { label: " 打印人: ", dataIndex: 'printUser' }, + { label: " 打印日期:", dataIndex: 'printTime' } + ] + }, + barcodes: [ + { + codeType: "128Auto", dataIndex: 'departBarcode', position: ["5mm", "74%", "40mm", "8mm"], + styles: [{ itemNameID: 0, styleName: 'ShowBarText', styleValue: true }, + { itemNameID: 0, styleName: 'FontSize', styleValue: 6 }, + { itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true } + ] + } + ] + } var borrowPrintConfig = { - isPrintTousse : true, - isPrintDisinfectGoods : true, - isPrintDisposableGoods : false, // 打印申请单是否打印一次性物品 - isMergePrintTousseAndDiposable : true, // 器械包和一次性物品是否合并打印 - printApplyInfo : true, - disinfectGoodsPrintMode : 1, - rowsPerPage : 9, - headerContent : [ - // 标题 - {label : "中山大学附属第二医院", dataIndex : '', fontSize : 10, position : ["5","1%","90%",5]}, - {label : "借物单", dataIndex : '', fontSize : 17, position : ["22","45%","99%",5]}, - {label : "去向:", dataIndex : 'depart', fontSize : 10, position : ["55","5%","90%",5]}, - {label : "单号:", dataIndex : 'serialNum', fontSize : 10, position : ["55","25%","90%",5]}, - {label : "日期:", dataIndex : 'printTime', fontSize : 10, position : ["55","41%","90%",5]}, - {label : "备注:", dataIndex : 'remark', fontSize : 10, position : ["55","65%","90%",5]} - ], - goodsTable :{ - rowHeight : 25, - position : ["75","2%","97%","2000"], - content : [ - {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11}, - {header : "名称", dataIndex : 'goodsName', width : 340, align : 'left', fontSize : 11}, - {header : "规格", dataIndex : 'sp', width : 185, align : 'center', fontSize : 11}, - {header : "单位", dataIndex : 'unit', width : 60, align : 'center', fontSize : 11}, - {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11}, - {header : "单价", dataIndex : 'price', width : 60, align : 'right', fontSize : 11}, - {header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11} - ] - }, - footer: { - fontSize : 14, - content : [ - {label : "制单:", dataIndex : 'printUser'}, - {label : " 申请人:", dataIndex : 'applicant'}, - {label : " 复核: ", dataIndex : ''}, - {label : " 验收: ", dataIndex : ''}, - {label : "提交时间:", dataIndex : 'applicationTime'} - ] - } - + isPrintTousse: true, + isPrintDisinfectGoods: true, + isPrintDisposableGoods: false, // 打印申请单是否打印一次性物品 + isMergePrintTousseAndDiposable: true, // 器械包和一次性物品是否合并打印 + printApplyInfo: true, + disinfectGoodsPrintMode: 1, + rowsPerPage: 9, + headerContent: [ + // 标题 + { label: "中山大学附属第二医院", dataIndex: '', fontSize: 10, position: ["5", "1%", "90%", 5] }, + { label: "借物单", dataIndex: '', fontSize: 17, position: ["22", "45%", "99%", 5] }, + { label: "去向:", dataIndex: 'depart', fontSize: 10, position: ["55", "5%", "90%", 5] }, + { label: "单号:", dataIndex: 'serialNum', fontSize: 10, position: ["55", "25%", "90%", 5] }, + { label: "日期:", dataIndex: 'printTime', fontSize: 10, position: ["55", "41%", "90%", 5] }, + { label: "备注:", dataIndex: 'remark', fontSize: 10, position: ["55", "65%", "90%", 5] } + ], + goodsTable: { + rowHeight: 25, + position: ["75", "2%", "97%", "2000"], + content: [ + { header: "序号", dataIndex: 'serialNumber', width: 60, align: 'center', fontSize: 11 }, + { header: "名称", dataIndex: 'goodsName', width: 340, align: 'left', fontSize: 11 }, + { header: "规格", dataIndex: 'sp', width: 185, align: 'center', fontSize: 11 }, + { header: "单位", dataIndex: 'unit', width: 60, align: 'center', fontSize: 11 }, + { header: "数量", dataIndex: 'goodsAmount', width: 60, align: 'right', fontSize: 11 }, + { header: "单价", dataIndex: 'price', width: 60, align: 'right', fontSize: 11 }, + { header: "金额", dataIndex: 'rowPrice', width: 75, align: 'right', fontSize: 11 } + ] + }, + footer: { + fontSize: 14, + content: [ + { label: "制单:", dataIndex: 'printUser' }, + { label: " 申请人:", dataIndex: 'applicant' }, + { label: " 复核: ", dataIndex: '' }, + { label: " 验收: ", dataIndex: '' }, + { label: "提交时间:", dataIndex: 'applicationTime' } + ] } + +} + var appropriationConfig = { - headerFooter : [ - // 标题 - {label : "中山大学附属第二医院卫生材料调拨单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]}, - {label : "调拨类型:手工调拨", dataIndex : '', fontSize : 9, position : ["1cm","2%","90%",5]}, - {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1.5cm","2%","90%",5]}, - {label : "出库仓库:", dataIndex : 'warehouseName', fontSize : 9, position : ["1cm","40%","90%",5]}, - {label : "入库仓库:", dataIndex : 'targetWarehouseName', fontSize : 9, position : ["1cm","75%","90%",5]}, - {label : "操作日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1.5cm","53%","90%",5]}, - {label : "调拨单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1.5cm","75%","90%",5]}, - - - {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]}, - {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]}, - //{label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, - //{label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, - {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]}, - {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]} - ], - currentPageNumber : {label : "第#页", fontSize : 9, position : ["1.5cm","40%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 9, position : ["1.5cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 22, - fontSize:10, - position : ["2cm","0.2cm","100%","5.5cm"], - headRepeat : true, - columns : [ - {header : "编码", dataIndex : 'code', width : '35', align : 'center'}, - {header : "名称", dataIndex : 'name', width : '170', align : 'left'}, - {header : "规格", dataIndex : 'specification', width : '100', align : 'center'}, - {header : "单位", dataIndex : 'unit', width : '30', align : 'center'}, - {header : "数量", dataIndex : 'amount', width : '30', align : 'center'}, - {header : "进价", dataIndex : 'price', width : '40', align : 'right'}, - {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'}, - {header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'}, - {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, - {header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'} - ] - } + headerFooter: [ + // 标题 + { label: "中山大学附属第二医院卫生材料调拨单", dataIndex: '', fontSize: 15, position: ["0.2cm", "28%", "99%", 5] }, + { label: "调拨类型:手工调拨", dataIndex: '', fontSize: 9, position: ["1cm", "2%", "90%", 5] }, + { label: "供应商:", dataIndex: 'supplierName', fontSize: 9, position: ["1.5cm", "2%", "90%", 5] }, + { label: "出库仓库:", dataIndex: 'warehouseName', fontSize: 9, position: ["1cm", "40%", "90%", 5] }, + { label: "入库仓库:", dataIndex: 'targetWarehouseName', fontSize: 9, position: ["1cm", "75%", "90%", 5] }, + { label: "操作日期:", dataIndex: 'godownEntryTime', fontSize: 9, position: ["1.5cm", "53%", "90%", 5] }, + { label: "调拨单号:", dataIndex: 'serialNumber', fontSize: 9, position: ["1.5cm", "75%", "90%", 5] }, + + + { label: "小计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["7.5cm", "2%", "90%", 4] }, + { label: "制单日期:", dataIndex: 'printTime', fontSize: 9, position: ["8cm", "2%", "90%", 4] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "25%", "90%", 4] }, + //{label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, + //{label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, + { label: "复核人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "64%", "90%", 4] }, + { label: "总合计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["8cm", "77%", "99%", 4] } + ], + currentPageNumber: { label: "第#页", fontSize: 9, position: ["1.5cm", "40%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 9, position: ["1.5cm", "45%", "90%", 5] }, + goodsTable: { + rowHeight: 22, + fontSize: 10, + position: ["2cm", "0.2cm", "100%", "5.5cm"], + headRepeat: true, + columns: [ + { header: "编码", dataIndex: 'code', width: '35', align: 'center' }, + { header: "名称", dataIndex: 'name', width: '170', align: 'left' }, + { header: "规格", dataIndex: 'specification', width: '100', align: 'center' }, + { header: "单位", dataIndex: 'unit', width: '30', align: 'center' }, + { header: "数量", dataIndex: 'amount', width: '30', align: 'center' }, + { header: "进价", dataIndex: 'price', width: '40', align: 'right' }, + { header: "进价金额", dataIndex: 'totalPrice', width: '50', align: 'right' }, + { header: "批号", dataIndex: 'batchNumber', width: '60', align: 'right' }, + { header: "产地", dataIndex: 'producingArea', width: '50', align: 'right' }, + { header: "注册证号", dataIndex: 'certification', width: '180', align: 'left' } + ] + } } var godownOutEntryConfig = { - headerFooter : [ - // 标题 - {label : "中山大学附属第二医院卫生材料退库单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]}, - {label : "退库类型:手工退库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]}, - {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]}, - {label : "退库日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]}, - {label : "退库单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]}, - - {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]}, - {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]}, - //{label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, - //{label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, - {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]}, - {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]} - ], - currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 22, - fontSize:10, - position : ["1.5cm","0.2cm","100%","5.5cm"], - headRepeat : true, - columns : [ - {header : "编码", dataIndex : 'code', width : '35', align : 'center'}, - {header : "名称", dataIndex : 'name', width : '170', align : 'left'}, - {header : "规格", dataIndex : 'specification', width : '100', align : 'center'}, - {header : "单位", dataIndex : 'unit', width : '30', align : 'center'}, - {header : "数量", dataIndex : 'amount', width : '30', align : 'center'}, - {header : "进价", dataIndex : 'price', width : '40', align : 'right'}, - {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'}, - {header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'}, - {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, - {header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'} - ] - } + headerFooter: [ + // 标题 + { label: "中山大学附属第二医院卫生材料退库单", dataIndex: '', fontSize: 15, position: ["0.2cm", "28%", "99%", 5] }, + { label: "退库类型:手工退库", dataIndex: '', fontSize: 9, position: ["0.5cm", "2%", "90%", 5] }, + { label: "供应商:", dataIndex: 'supplierName', fontSize: 9, position: ["1cm", "2%", "90%", 5] }, + { label: "退库日期:", dataIndex: 'godownEntryTime', fontSize: 9, position: ["1cm", "53%", "90%", 5] }, + { label: "退库单号:", dataIndex: 'serialNumber', fontSize: 9, position: ["1cm", "75%", "90%", 5] }, + + { label: "小计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["7.5cm", "2%", "90%", 4] }, + { label: "制单日期:", dataIndex: 'printTime', fontSize: 9, position: ["8cm", "2%", "90%", 4] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "25%", "90%", 4] }, + //{label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, + //{label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, + { label: "复核人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "64%", "90%", 4] }, + { label: "总合计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["8cm", "77%", "99%", 4] } + ], + currentPageNumber: { label: "第#页", fontSize: 9, position: ["1cm", "40%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 9, position: ["1cm", "45%", "90%", 5] }, + goodsTable: { + rowHeight: 22, + fontSize: 10, + position: ["1.5cm", "0.2cm", "100%", "5.5cm"], + headRepeat: true, + columns: [ + { header: "编码", dataIndex: 'code', width: '35', align: 'center' }, + { header: "名称", dataIndex: 'name', width: '170', align: 'left' }, + { header: "规格", dataIndex: 'specification', width: '100', align: 'center' }, + { header: "单位", dataIndex: 'unit', width: '30', align: 'center' }, + { header: "数量", dataIndex: 'amount', width: '30', align: 'center' }, + { header: "进价", dataIndex: 'price', width: '40', align: 'right' }, + { header: "进价金额", dataIndex: 'totalPrice', width: '50', align: 'right' }, + { header: "批号", dataIndex: 'batchNumber', width: '60', align: 'right' }, + { header: "产地", dataIndex: 'producingArea', width: '50', align: 'right' }, + { header: "注册证号", dataIndex: 'certification', width: '180', align: 'left' } + ] + } } + var materialEntryConfig = { - headerFooter : [ - // 标题 - {label : "中山大学附属第二医院卫生材料入库单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]}, - {label : "入库类型:购入入库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]}, - {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]}, - {label : "入库日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]}, - {label : "入库单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]}, - - {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]}, - {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]}, - {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, - {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, - {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]}, - {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]} - ], - currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 22, - fontSize:10, - position : ["1.5cm","0.2cm","100%","5.5cm"], - headRepeat : true, - columns : [ - {header : "编码", dataIndex : 'code', width : '55', align : 'center'}, - {header : "名称", dataIndex : 'name', width : '220', align : 'center'}, - {header : "规格", dataIndex : 'specification', width : '100', align : 'center'}, - {header : "单位", dataIndex : 'unit', width : '30', align : 'center'}, - {header : "数量", dataIndex : 'amount', width : '30', align : 'center'}, - {header : "进价", dataIndex : 'price', width : '40', align : 'right'}, - {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'}, - //{header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'}, - //{header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, - {header : "注册证号", dataIndex : 'certification', width : '220', align : 'center'} - ] - } + headerFooter: [ + // 标题 + { label: "中山大学附属第二医院卫生材料入库单", dataIndex: '', fontSize: 15, position: ["0.2cm", "28%", "99%", 5] }, + { label: "入库类型:购入入库", dataIndex: '', fontSize: 9, position: ["0.5cm", "2%", "90%", 5] }, + { label: "供应商:", dataIndex: 'supplierName', fontSize: 9, position: ["1cm", "2%", "90%", 5] }, + { label: "入库日期:", dataIndex: 'godownEntryTime', fontSize: 9, position: ["1cm", "53%", "90%", 5] }, + { label: "入库单号:", dataIndex: 'serialNumber', fontSize: 9, position: ["1cm", "75%", "90%", 5] }, + + { label: "小计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["7.5cm", "2%", "90%", 4] }, + { label: "制单日期:", dataIndex: 'printTime', fontSize: 9, position: ["8cm", "2%", "90%", 4] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "25%", "90%", 4] }, + { label: "验收:", dataIndex: '', fontSize: 9, position: ["8cm", "38%", "90%", 4] }, + { label: "采购:", dataIndex: '', fontSize: 9, position: ["8cm", "51%", "90%", 4] }, + { label: "复核人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "64%", "90%", 4] }, + { label: "总合计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["8cm", "77%", "99%", 4] } + ], + currentPageNumber: { label: "第#页", fontSize: 9, position: ["1cm", "40%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 9, position: ["1cm", "45%", "90%", 5] }, + goodsTable: { + rowHeight: 22, + fontSize: 10, + position: ["1.5cm", "0.2cm", "100%", "5.5cm"], + headRepeat: true, + columns: [ + { header: "编码", dataIndex: 'code', width: '55', align: 'center' }, + { header: "名称", dataIndex: 'name', width: '220', align: 'center' }, + { header: "规格", dataIndex: 'specification', width: '100', align: 'center' }, + { header: "单位", dataIndex: 'unit', width: '30', align: 'center' }, + { header: "数量", dataIndex: 'amount', width: '30', align: 'center' }, + { header: "进价", dataIndex: 'price', width: '40', align: 'right' }, + { header: "进价金额", dataIndex: 'totalPrice', width: '50', align: 'right' }, + //{header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'}, + //{header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, + { header: "注册证号", dataIndex: 'certification', width: '220', align: 'center' } + ] + } } + // 一次性物品盘盈盘亏单 var godownStockTakeConfig = { - headerFooter : [ - // 标题 - {label : "中山大学附属第二医院卫生材料盘盈盘亏单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]}, - {label : "入库类型:", dataIndex : 'subType', fontSize : 9, position : ["0.5cm","2%","90%",5]}, - {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]}, - {label : "日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]}, - {label : "单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]}, - - {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]}, -// {label : "", dataIndex : 'totalPrice', fontSize : 11, position : ["8cm","60%","90%",4]}, - {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]}, - {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, - {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, - {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]}, - {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]} -// {label : "发料人:", dataIndex : 'sender', fontSize : 11, position : ["10cm","75%","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 : 9, position : ["1cm","40%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 22, - fontSize:10, - position : ["1.5cm","0.2cm","100%","5.5cm"], - headRepeat : true, - columns : [ - //{header : "序号", dataIndex : 'serialNumber', width : '30', align : 'center'}, - //{header : "编码", dataIndex : 'code', width : '35', align : 'center'}, - {header : "名称", dataIndex : 'name', width : '270', align : 'center'}, - //{header : "规格", dataIndex : 'specification', width : '100', align : 'center'}, - //{header : "单位", dataIndex : 'unit', width : '30', align : 'center'}, - {header : "数量", dataIndex : 'amount', width : '130', align : 'center'}, - {header : "批次", dataIndex : 'batchNumber', width : '160', align : 'center'}, - {header : "单价", dataIndex : 'price', width : '100', align : 'right'}, - {header : "小计", dataIndex : 'totalPrice', width : '100', align : 'right'} - - //{header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, - //{header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'} - -// {header : "批次", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11}, -// {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11}, - - ] - } + headerFooter: [ + // 标题 + { label: "中山大学附属第二医院卫生材料盘盈盘亏单", dataIndex: '', fontSize: 15, position: ["0.2cm", "28%", "99%", 5] }, + { label: "入库类型:", dataIndex: 'subType', fontSize: 9, position: ["0.5cm", "2%", "90%", 5] }, + { label: "供应商:", dataIndex: 'supplierName', fontSize: 9, position: ["1cm", "2%", "90%", 5] }, + { label: "日期:", dataIndex: 'godownEntryTime', fontSize: 9, position: ["1cm", "53%", "90%", 5] }, + { label: "单号:", dataIndex: 'serialNumber', fontSize: 9, position: ["1cm", "75%", "90%", 5] }, + + { label: "小计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["7.5cm", "2%", "90%", 4] }, + // {label : "", dataIndex : 'totalPrice', fontSize : 11, position : ["8cm","60%","90%",4]}, + { label: "制单日期:", dataIndex: 'printTime', fontSize: 9, position: ["8cm", "2%", "90%", 4] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "25%", "90%", 4] }, + { label: "验收:", dataIndex: '', fontSize: 9, position: ["8cm", "38%", "90%", 4] }, + { label: "采购:", dataIndex: '', fontSize: 9, position: ["8cm", "51%", "90%", 4] }, + { label: "复核人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "64%", "90%", 4] }, + { label: "总合计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["8cm", "77%", "99%", 4] } + // {label : "发料人:", dataIndex : 'sender', fontSize : 11, position : ["10cm","75%","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: 9, position: ["1cm", "40%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 9, position: ["1cm", "45%", "90%", 5] }, + goodsTable: { + rowHeight: 22, + fontSize: 10, + position: ["1.5cm", "0.2cm", "100%", "5.5cm"], + headRepeat: true, + columns: [ + //{header : "序号", dataIndex : 'serialNumber', width : '30', align : 'center'}, + //{header : "编码", dataIndex : 'code', width : '35', align : 'center'}, + { header: "名称", dataIndex: 'name', width: '270', align: 'center' }, + //{header : "规格", dataIndex : 'specification', width : '100', align : 'center'}, + //{header : "单位", dataIndex : 'unit', width : '30', align : 'center'}, + { header: "数量", dataIndex: 'amount', width: '130', align: 'center' }, + { header: "批次", dataIndex: 'batchNumber', width: '160', align: 'center' }, + { header: "单价", dataIndex: 'price', width: '100', align: 'right' }, + { header: "小计", dataIndex: 'totalPrice', width: '100', align: 'right' } + + //{header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, + //{header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'} + + // {header : "批次", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11}, + // {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11}, + + ] + } } + // 一次性物品入库单 var godownEntryConfig = { - headerFooter : [ - // 标题 - {label : "中山大学附属第二医院卫生材料入库单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]}, - {label : "入库类型:购入入库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]}, - {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]}, - {label : "入库日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]}, - {label : "入库单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]}, - - {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]}, -// {label : "", dataIndex : 'totalPrice', fontSize : 11, position : ["8cm","60%","90%",4]}, - {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]}, - {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, - {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, - {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]}, - {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]} -// {label : "发料人:", dataIndex : 'sender', fontSize : 11, position : ["10cm","75%","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 : 9, position : ["1cm","40%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 22, - fontSize:10, - position : ["1.5cm","0.2cm","100%","5.5cm"], - headRepeat : true, - columns : [ - //{header : "序号", dataIndex : 'serialNumber', width : '30', align : 'center'}, - {header : "编码", dataIndex : 'code', width : '35', align : 'center'}, - {header : "名称", dataIndex : 'name', width : '170', align : 'left'}, - {header : "规格", dataIndex : 'specification', width : '100', align : 'center'}, - {header : "单位", dataIndex : 'unit', width : '30', align : 'center'}, - {header : "数量", dataIndex : 'amount', width : '30', align : 'center'}, - {header : "进价", dataIndex : 'price', width : '40', align : 'right'}, - {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'}, - {header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'}, - {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, - {header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'} - -// {header : "批次/灭菌日期", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11}, -// {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11}, - - ] - } + headerFooter: [ + // 标题 + { label: "中山大学附属第二医院卫生材料入库单", dataIndex: '', fontSize: 15, position: ["0.2cm", "28%", "99%", 5] }, + { label: "入库类型:购入入库", dataIndex: '', fontSize: 9, position: ["0.5cm", "2%", "90%", 5] }, + { label: "供应商:", dataIndex: 'supplierName', fontSize: 9, position: ["1cm", "2%", "90%", 5] }, + { label: "入库日期:", dataIndex: 'godownEntryTime', fontSize: 9, position: ["1cm", "53%", "90%", 5] }, + { label: "入库单号:", dataIndex: 'serialNumber', fontSize: 9, position: ["1cm", "75%", "90%", 5] }, + + { label: "小计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["7.5cm", "2%", "90%", 4] }, + // {label : "", dataIndex : 'totalPrice', fontSize : 11, position : ["8cm","60%","90%",4]}, + { label: "制单日期:", dataIndex: 'printTime', fontSize: 9, position: ["8cm", "2%", "90%", 4] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "25%", "90%", 4] }, + { label: "验收:", dataIndex: '', fontSize: 9, position: ["8cm", "38%", "90%", 4] }, + { label: "采购:", dataIndex: '', fontSize: 9, position: ["8cm", "51%", "90%", 4] }, + { label: "复核人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "64%", "90%", 4] }, + { label: "总合计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["8cm", "77%", "99%", 4] } + // {label : "发料人:", dataIndex : 'sender', fontSize : 11, position : ["10cm","75%","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: 9, position: ["1cm", "40%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 9, position: ["1cm", "45%", "90%", 5] }, + goodsTable: { + rowHeight: 22, + fontSize: 10, + position: ["1.5cm", "0.2cm", "100%", "5.5cm"], + headRepeat: true, + columns: [ + //{header : "序号", dataIndex : 'serialNumber', width : '30', align : 'center'}, + { header: "编码", dataIndex: 'code', width: '35', align: 'center' }, + { header: "名称", dataIndex: 'name', width: '170', align: 'left' }, + { header: "规格", dataIndex: 'specification', width: '100', align: 'center' }, + { header: "单位", dataIndex: 'unit', width: '30', align: 'center' }, + { header: "数量", dataIndex: 'amount', width: '30', align: 'center' }, + { header: "进价", dataIndex: 'price', width: '40', align: 'right' }, + { header: "进价金额", dataIndex: 'totalPrice', width: '50', align: 'right' }, + { header: "批号", dataIndex: 'batchNumber', width: '60', align: 'right' }, + { header: "产地", dataIndex: 'producingArea', width: '50', align: 'right' }, + { header: "注册证号", dataIndex: 'certification', width: '180', align: 'left' } + + // {header : "批次/灭菌日期", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11}, + // {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11}, + + ] + } } + var purchasePlanConfig = { - headerFooter : [ - // 标题 - {label : "中山大学附属第二医院一次性物品采购计划", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]}, - //{label : "入库类型:购入入库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]}, - //{label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]}, - {label : "操作日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","2%","90%",5]}, - {label : "单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]}, - {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]}, - {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]}, - {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]}, - {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]}, - {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]}, - {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]}, - {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]} - ], - currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, - totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, - goodsTable :{ - rowHeight : 22, - fontSize:10, - position : ["1.5cm","0.2cm","100%","5.5cm"], - headRepeat : true, - columns : [ - {header : "编码", dataIndex : 'code', width : '35', align : 'center'}, - {header : "名称", dataIndex : 'name', width : '140', align : 'center'}, - {header : "规格", dataIndex : 'specification', width : '100', align : 'center'}, - {header : "单位", dataIndex : 'unit', width : '30', align : 'center'}, - {header : "数量", dataIndex : 'amount', width : '30', align : 'center'}, - {header : "进价", dataIndex : 'price', width : '40', align : 'right'}, - {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'}, - //{header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'}, - {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'}, - {header : "供应商", dataIndex : 'supplierName', width : '150', align : 'center'}, - {header : "注册证号", dataIndex : 'certification', width : '140', align : 'left'} - ] - } + headerFooter: [ + // 标题 + { label: "中山大学附属第二医院一次性物品采购计划", dataIndex: '', fontSize: 15, position: ["0.2cm", "28%", "99%", 5] }, + //{label : "入库类型:购入入库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]}, + //{label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]}, + { label: "操作日期:", dataIndex: 'godownEntryTime', fontSize: 9, position: ["1cm", "2%", "90%", 5] }, + { label: "单号:", dataIndex: 'serialNumber', fontSize: 9, position: ["1cm", "75%", "90%", 5] }, + { label: "小计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["7.5cm", "2%", "90%", 4] }, + { label: "制单日期:", dataIndex: 'printTime', fontSize: 9, position: ["8cm", "2%", "90%", 4] }, + { label: "制单人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "25%", "90%", 4] }, + { label: "验收:", dataIndex: '', fontSize: 9, position: ["8cm", "38%", "90%", 4] }, + { label: "采购:", dataIndex: '', fontSize: 9, position: ["8cm", "51%", "90%", 4] }, + { label: "复核人:", dataIndex: 'printUser', fontSize: 9, position: ["8cm", "64%", "90%", 4] }, + { label: "总合计: ", dataIndex: 'totalPrice', fontSize: 9, position: ["8cm", "77%", "99%", 4] } + ], + currentPageNumber: { label: "第#页", fontSize: 9, position: ["1cm", "40%", "90%", 5] }, + totalPageAmount: { label: "共&页", fontSize: 9, position: ["1cm", "45%", "90%", 5] }, + goodsTable: { + rowHeight: 22, + fontSize: 10, + position: ["1.5cm", "0.2cm", "100%", "5.5cm"], + headRepeat: true, + columns: [ + { header: "编码", dataIndex: 'code', width: '35', align: 'center' }, + { header: "名称", dataIndex: 'name', width: '140', align: 'center' }, + { header: "规格", dataIndex: 'specification', width: '100', align: 'center' }, + { header: "单位", dataIndex: 'unit', width: '30', align: 'center' }, + { header: "数量", dataIndex: 'amount', width: '30', align: 'center' }, + { header: "进价", dataIndex: 'price', width: '40', align: 'right' }, + { header: "进价金额", dataIndex: 'totalPrice', width: '50', align: 'right' }, + //{header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'}, + { header: "产地", dataIndex: 'producingArea', width: '50', align: 'right' }, + { header: "供应商", dataIndex: 'supplierName', width: '150', align: 'center' }, + { header: "注册证号", dataIndex: 'certification', width: '140', align: 'left' } + ] + } } + // 加大标签配置,100x100mm var exLargeLabelConfig = { - headerContent : [ - // 器械包名称,水平居中 - {label : "", dataIndex : 'name', position : ["1mm","0mm","RightMargin:0mm","BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
"}, - {label : "装配员:", dataIndex : 'operator', fontSize : 10, bold: 1, position : ["6mm","5mm","50mm","10px"]}, - {label : "审核员:", dataIndex : 'reviewer', fontSize : 10, bold: 1, position : ["6mm","55mm","50mm","10px"]}, - {label : "灭菌日期:", dataIndex : 'sterilizationDate', fontSize : 10, bold: 1, position : ["10mm","5mm","50mm","10px"]}, - {label : "失效日期:", dataIndex : 'validDate', fontSize : 10, bold: 1, position : ["10mm","55mm","50mm","10px"]}, - - {label : "", dataIndex : 'materials', position : ["14mm","0mm","RightMargin:0mm","BottomMargin:20mm"], type: 'html', beforeStr: "
", afterStr: "
"}, - - {label : "灭菌程序:", dataIndex : 'sterilingType', position : ["78mm","0mm","RightMargin:50mm","BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
"}, - - {label : "", dataIndex : 'name', position : ["87mm","0mm","RightMargin:50mm","BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
"}, - {label : "", dataIndex : 'name', position : ["87mm","50mm","RightMargin:0mm","BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
"} - - ], - barcodes : [ - {codeType : "128Auto", dataIndex : 'barcode', position : ["77mm","55mm","40mm","8mm"], - styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true}, - {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, - {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} - ] - }, - {codeType : "128Auto", dataIndex : 'barcode', position : ["91mm","5mm","40mm","8mm"], - styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true}, - {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, - {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} - ] - }, - {codeType : "128Auto", dataIndex : 'barcode', position : ["91mm","55mm","40mm","8mm"], - styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true}, - {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, - {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} - ] - } + headerContent: [ + // 器械包名称,水平居中 + { label: "", dataIndex: 'name', position: ["1mm", "0mm", "RightMargin:0mm", "BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
" }, + { label: "装配员:", dataIndex: 'operator', fontSize: 10, bold: 1, position: ["6mm", "5mm", "50mm", "10px"] }, + { label: "审核员:", dataIndex: 'reviewer', fontSize: 10, bold: 1, position: ["6mm", "55mm", "50mm", "10px"] }, + { label: "灭菌日期:", dataIndex: 'sterilizationDate', fontSize: 10, bold: 1, position: ["10mm", "5mm", "50mm", "10px"] }, + { label: "失效日期:", dataIndex: 'validDate', fontSize: 10, bold: 1, position: ["10mm", "55mm", "50mm", "10px"] }, + + { label: "", dataIndex: 'materials', position: ["14mm", "0mm", "RightMargin:0mm", "BottomMargin:20mm"], type: 'html', beforeStr: "
", afterStr: "
" }, + + { label: "灭菌程序:", dataIndex: 'sterilingType', position: ["78mm", "0mm", "RightMargin:50mm", "BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
" }, + + { label: "", dataIndex: 'name', position: ["87mm", "0mm", "RightMargin:50mm", "BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
" }, + { label: "", dataIndex: 'name', position: ["87mm", "50mm", "RightMargin:0mm", "BottomMargin:0mm"], type: 'html', beforeStr: "
", afterStr: "
" } + + ], + barcodes: [ + { + codeType: "128Auto", dataIndex: 'barcode', position: ["77mm", "55mm", "40mm", "8mm"], + styles: [{ itemNameID: 0, styleName: 'ShowBarText', styleValue: true }, + { itemNameID: 0, styleName: 'FontSize', styleValue: 6 }, + { itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true } + ] + }, + { + codeType: "128Auto", dataIndex: 'barcode', position: ["91mm", "5mm", "40mm", "8mm"], + styles: [{ itemNameID: 0, styleName: 'ShowBarText', styleValue: true }, + { itemNameID: 0, styleName: 'FontSize', styleValue: 6 }, + { itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true } + ] + }, + { + codeType: "128Auto", dataIndex: 'barcode', position: ["91mm", "55mm", "40mm", "8mm"], + styles: [{ itemNameID: 0, styleName: 'ShowBarText', styleValue: true }, + { itemNameID: 0, styleName: 'FontSize', styleValue: 6 }, + { itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true } + ] + } ] } //小标签配置,50x30mm var smallLabelConfig = { - // 可带表格线的table定义 - - table : { - rules : 'rows', - style : 'width: 50mm; height: 30mm', - cellspacing : '0', - cellpadding : '0', - position : [0,"0mm","100%","100%"], - printMode : {mode : 'PRINT_PAGE_PERCENT', value : 'Full-Page'}, - beforeStr: "", afterStr: "", - rows : [ - // 每个表格行的定义 - {height : "", tds : [ - { label : "", dataIndex : 'name', colspan: 4, styles : [{minLen:0, maxLen:10, style: "font-size:14px;font-weight:bold;text-align:center"},{minLen :10, maxLen:100 ,style : "font-size:10px;text-align:center"}]} - ] - }, - {height : "", tds : [ - { label : "灭菌:", dataIndex : '', style : "font-size:12px; text-align:center;width:10mm"}, - { label : "", dataIndex : 'sterilizationDate', style : "font-size:12px; text-align:center;width:20mm"}, - { label : "装配:", dataIndex : '', style : "font-size:12px; text-align:center;width:10mm"}, - { label : "", dataIndex : 'operator', style : "font-size:12px; text-align:center;width:16mm"} - ] - }, - {height : "", tds : [ - { label : "失效:", dataIndex : '', style : "font-size:12px; text-align:center"}, - { label : "", dataIndex : 'validDate', style : "font-size:12px; text-align:center"}, - { label : "审核:", dataIndex : '', style : "font-size:12px; text-align:center"}, - { label : "", dataIndex : 'reviewer', style : "font-size:12px; text-align:center"} - ] - }, - {height : "", tds : [ - { label : "", dataIndex : 'barcode', colspan: 4, style : "font-size:10px;text-align:center"} - ] - } - ] - } + // 可带表格线的table定义 + + table: { + rules: 'rows', + style: 'width: 50mm; height: 30mm', + cellspacing: '0', + cellpadding: '0', + position: [0, "0mm", "100%", "100%"], + printMode: { mode: 'PRINT_PAGE_PERCENT', value: 'Full-Page' }, + beforeStr: "", afterStr: "", + rows: [ + // 每个表格行的定义 + { + height: "", tds: [ + { label: "", dataIndex: 'name', colspan: 4, styles: [{ minLen: 0, maxLen: 10, style: "font-size:14px;font-weight:bold;text-align:center" }, { minLen: 10, maxLen: 100, style: "font-size:10px;text-align:center" }] } + ] + }, + { + height: "", tds: [ + { label: "灭菌:", dataIndex: '', style: "font-size:12px; text-align:center;width:10mm" }, + { label: "", dataIndex: 'sterilizationDate', style: "font-size:12px; text-align:center;width:20mm" }, + { label: "装配:", dataIndex: '', style: "font-size:12px; text-align:center;width:10mm" }, + { label: "", dataIndex: 'operator', style: "font-size:12px; text-align:center;width:16mm" } + ] + }, + { + height: "", tds: [ + { label: "失效:", dataIndex: '', style: "font-size:12px; text-align:center" }, + { label: "", dataIndex: 'validDate', style: "font-size:12px; text-align:center" }, + { label: "审核:", dataIndex: '', style: "font-size:12px; text-align:center" }, + { label: "", dataIndex: 'reviewer', style: "font-size:12px; text-align:center" } + ] + }, + { + height: "", tds: [ + { label: "", dataIndex: 'barcode', colspan: 4, style: "font-size:10px;text-align:center" } + ] + } + ] + } } + var foreignTousseMiddleLableConfig = { - customPrint:printForeignTousseMiddleLable_gzzyyfs + customPrint: printForeignTousseMiddleLable_gzzyyfs } -function printForeignTousseMiddleLable_gzzyyfs(printSummaryObj){ - var name = printSummaryObj.name ; +function printForeignTousseMiddleLable_gzzyyfs(printSummaryObj) { + var name = printSummaryObj.name; var barcode = printSummaryObj.barcode; var material = printSummaryObj.material; var operator = printSummaryObj.operator; @@ -800,75 +828,77 @@ var labelType = printSummaryObj.labelType; var patient = printSummaryObj.patient; LODOP = getLodop(document.getElementById('LODOP'), document - .getElementById('LODOP_EM')); - var tableHtml =""; + .getElementById('LODOP_EM')); + var tableHtml = "
"; tableHtml += ""; - tableHtml += ""; tableHtml += ""; - + tableHtml += ""; tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; - + tableHtml += ""; tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; - + tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; - + tableHtml += ""; tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; -// tableHtml += ""; -// tableHtml += ""; -// tableHtml += ""; -// tableHtml += ""; -// tableHtml += ""; -// tableHtml += ""; - - if(sterilizer == null || sterilizer.length == 0){ + // tableHtml += ""; + // tableHtml += ""; + // tableHtml += ""; + // tableHtml += ""; + // tableHtml += ""; + // tableHtml += ""; + + if (sterilizer == null || sterilizer.length == 0) { tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; - }else{ - var str = "【"+sterilizer + "】第" + frequency +"炉"; + } else { + var str = "【" + sterilizer + "】第" + frequency + "炉"; tableHtml += ""; - tableHtml += ""; + tableHtml += ""; tableHtml += ""; } tableHtml += ""; tableHtml += ""; - + tableHtml += ""; tableHtml += ""; - + tableHtml += "
"+name+"
"; -// tableHtml += "
"; + tableHtml += "
" + name + "
"; + // tableHtml += "
"; tableHtml += "
灭菌:
"+sterilizationDate+"" + sterilizationDate + "
装配员:
"+operator+"" + operator + "
失效:
"+validDate+"" + validDate + "
审核员:
"+reviewer+"" + reviewer + "
"+total+"" + total + "
病人:
"+patient+"" + patient + "
病人:
"+foreignPackageObjectArray[2]+"
住院号:
"+foreignPackageObjectArray[0]+"
病人:
"+foreignPackageObjectArray[2]+"
住院号:
"+foreignPackageObjectArray[0]+"
"+hospitalName+"
" + hospitalName + "
"+str+"
" + str + "
"; tableHtml += ""; - tableHtml += "
"+barcode; + tableHtml += "
" + barcode; tableHtml += "
"; tableHtml += ""; - tableHtml += "
"+barcode; + tableHtml += "
" + barcode; tableHtml += "
"; - - LODOP.ADD_PRINT_HTM(0,0,"100%","100%",""+tableHtml+""); - LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Page"); + + LODOP.ADD_PRINT_HTM(0, 0, "100%", "100%", "" + tableHtml + ""); + LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page"); } + var foreignTousseLargeLabelConfig = { - customPrint:foreignTousseLargeLabel_gzzyyfs + customPrint: foreignTousseLargeLabel_gzzyyfs } -function foreignTousseLargeLabel_gzzyyfs(printSummaryObj){ - var name = printSummaryObj.name ; + +function foreignTousseLargeLabel_gzzyyfs(printSummaryObj) { + var name = printSummaryObj.name; var barcode = printSummaryObj.barcode; var material = printSummaryObj.material; var operator = printSummaryObj.operator; @@ -886,287 +916,296 @@ var patientArea = printSummaryObj.patientArea; var bedNumber = printSummaryObj.bedNumber; var ascriptionDepartment = printSummaryObj.ascriptionDepartment; - if(isUndefinedOrNullOrEmpty(patientArea)){ + if (isUndefinedOrNullOrEmpty(patientArea)) { patientArea = ''; } - if(isUndefinedOrNull(bedNumber)){ + if (isUndefinedOrNull(bedNumber)) { bedNumber = ''; } LODOP = getLodop(document.getElementById('LODOP'), document - .getElementById('LODOP_EM')); - var tableHtml =""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - - var patientInfo = '
住院号:'+hospitalNumber+'   病人:'+patient+'   床位:'+bedNumber+'
'; - tableHtml += ""; - tableHtml += ""; + .getElementById('LODOP_EM')); + var tableHtml = "
"+name+"
"; -// tableHtml += "
"; - tableHtml += "
灭菌:
"+sterilizationDate+"
装配员:
"+operator+"
失效:
"+validDate+"
审核员:
"+reviewer+"
"+total+"
"+patientInfo+"
"; + tableHtml += ""; + tableHtml += ""; tableHtml += ""; - - var patientAreaInfo = '科室:'+ascriptionDepartment; - tableHtml += ""; - tableHtml += ""; + + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; + tableHtml += ""; tableHtml += ""; - - /*tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += "";*/ - - var sterilizerStr = ""; - if(sterilizer == null || sterilizer.length == 0){ - sterilizerStr = ""; - }else{ - var str = "【"+sterilizer + "】第" + frequency +"炉"; - sterilizerStr = ""; - } - tableHtml += ""; - tableHtml += sterilizerStr; - tableHtml += ""; - - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += ""; - tableHtml += "
" + name + "
"; + // tableHtml += "
"; + tableHtml += "
"+patientAreaInfo+"
灭菌:
" + sterilizationDate + "
装配员:
" + operator + "
病人:
"+foreignPackageObjectArray[2]+"
住院号:
"+foreignPackageObjectArray[0]+"
"+hospitalName+"
"+str+"
"; - tableHtml += ""; - tableHtml += "
"+barcode; - tableHtml += "
"; - tableHtml += ""; - tableHtml += "
"+barcode; - tableHtml += "
"; - tableHtml += ""; - tableHtml += "
"+barcode; - tableHtml += "
"; - LODOP.ADD_PRINT_HTM(0,0,"100%","100%",""+tableHtml+""); - LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Page"); + tableHtml += ""; + tableHtml += "
失效:
"; + tableHtml += "" + validDate + ""; + tableHtml += "
审核员:
"; + tableHtml += "" + reviewer + ""; + tableHtml += ""; + + tableHtml += ""; + tableHtml += "" + total + ""; + tableHtml += ""; + + var patientInfo = '
住院号:' + hospitalNumber + '   病人:' + patient + '   床位:' + bedNumber + '
'; + tableHtml += ""; + tableHtml += "" + patientInfo + ""; + tableHtml += ""; + + var patientAreaInfo = '科室:' + ascriptionDepartment; + tableHtml += ""; + tableHtml += "" + patientAreaInfo + ""; + tableHtml += ""; + + /*tableHtml += ""; + tableHtml += "
病人:
"; + tableHtml += ""+foreignPackageObjectArray[2]+""; + tableHtml += "
住院号:
"; + tableHtml += ""+foreignPackageObjectArray[0]+""; + tableHtml += "";*/ + + var sterilizerStr = ""; + if (sterilizer == null || sterilizer.length == 0) { + sterilizerStr = "
" + hospitalName + "
"; + } else { + var str = "【" + sterilizer + "】第" + frequency + "炉"; + sterilizerStr = "
" + str + "
"; + } + tableHtml += ""; + tableHtml += sterilizerStr; + tableHtml += "
"; + tableHtml += ""; + tableHtml += "
" + barcode; + tableHtml += "
"; + + tableHtml += ""; + tableHtml += "
"; + tableHtml += ""; + tableHtml += "
" + barcode; + tableHtml += "
"; + tableHtml += "
"; + tableHtml += ""; + tableHtml += "
" + barcode; + tableHtml += "
"; + tableHtml += ""; + + tableHtml += ""; + LODOP.ADD_PRINT_HTM(0, 0, "100%", "100%", "" + tableHtml + ""); + LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "Full-Page"); } + var foreignProxyDisinfectionLabelConfig = { - // 可带表格线的table定义 - table : { - rules : 'rows', - style : 'width: 50mm; height: 30mm', - cellspacing : '0', - cellpadding : '0', - position : [0,"0mm","100%","100%"], - printMode : {mode : 'PRINT_PAGE_PERCENT', value : 'Full-Page'}, - beforeStr: "", afterStr: "", - rows : [ - // 每个表格行的定义 - {height : "", tds : [ - { label : "", dataIndex : 'name', colspan: 4, styles : [{minLen:0, maxLen:14, style: "font-size:12px;font-weight:bold;text-align:center"},{minLen :14, maxLen:100 ,style : "font-size:10px;text-align:center"}]} - ] - }, - {height : "", tds : [ - { label : "", dataIndex : 'depart', colspan: 4, style : "font-size:12px;text-align:center;height:5mm"} - ] - }, - {height : "", tds : [ - { label : "灭菌程序:", dataIndex : 'sterilingType', colspan: 4, style : "font-size:12px;text-align:center;height:5mm"} - ] - }, - {height : "", tds : [ - { label : "灭菌:", dataIndex : 'sterilizationDate', colspan: 2, style : "font-size:11px; text-align:center;height:5mm;width:24mm"}, - { label : "失效:", dataIndex : 'validDate', colspan: 2, length: 10, style : "font-size:11px; text-align:center;width:24mm"} - ] - }, - {height : "", tds : [ - { label : "", dataIndex : 'barcode', colspan: 4, style : "font-size:10px;text-align:center"} - ] - } - ] - } + // 可带表格线的table定义 + table: { + rules: 'rows', + style: 'width: 50mm; height: 30mm', + cellspacing: '0', + cellpadding: '0', + position: [0, "0mm", "100%", "100%"], + printMode: { mode: 'PRINT_PAGE_PERCENT', value: 'Full-Page' }, + beforeStr: "", afterStr: "", + rows: [ + // 每个表格行的定义 + { + height: "", tds: [ + { label: "", dataIndex: 'name', colspan: 4, styles: [{ minLen: 0, maxLen: 14, style: "font-size:12px;font-weight:bold;text-align:center" }, { minLen: 14, maxLen: 100, style: "font-size:10px;text-align:center" }] } + ] + }, + { + height: "", tds: [ + { label: "", dataIndex: 'depart', colspan: 4, style: "font-size:12px;text-align:center;height:5mm" } + ] + }, + { + height: "", tds: [ + { label: "灭菌程序:", dataIndex: 'sterilingType', colspan: 4, style: "font-size:12px;text-align:center;height:5mm" } + ] + }, + { + height: "", tds: [ + { label: "灭菌:", dataIndex: 'sterilizationDate', colspan: 2, style: "font-size:11px; text-align:center;height:5mm;width:24mm" }, + { label: "失效:", dataIndex: 'validDate', colspan: 2, length: 10, style: "font-size:11px; text-align:center;width:24mm" } + ] + }, + { + height: "", tds: [ + { label: "", dataIndex: 'barcode', colspan: 4, style: "font-size:10px;text-align:center" } + ] + } + ] + } } var foreignTousseAppliationPrintConfig = { - isPrintTousse : true, - isPrintDisinfectGoods : false, - isPrintDisposableGoods : false, // 打印申请单是否打印一次性物品 - isPrintForeignTousse : true, // 是否打印外来器械包 - isMergePrintTousseAndDisposable : false, // 器械包和一次性物品是否合并打印 - printByOriginalApplications : true, //不合并打印情况下是否按原始单据逐份打印 - printApplyInfo : true, - printOrder : 1, // 1:优先打印一次性物品, 2:优先打印器械包 - // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: - // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 - disinfectGoodsPrintMode : 3, - rowsPerPage : 20, - headerContent : [ - // 标题 - {label : "中山大学附属第二医院", dataIndex : '', fontSize : 10, position : ["10","4%","90%",5]}, - {label : "外来器械接收单", dataIndex : 'header', fontSize : 17, position : ["30","15%","99%",22]}, - - {label : "姓名:", dataIndex : 'patient', fontSize : 11, position : ["90","4%","90%",5]}, - {label : "性别:", dataIndex : 'patientSex', fontSize : 11, position : ["90","80mm","90%",5]}, - {label : "年龄:", dataIndex : 'patientAge', fontSize : 11, position : ["90","130mm","90%",5]}, - - {label : "床号:", dataIndex : 'bedNumber', fontSize : 11, position : ["120","4%","90%",5]}, - {label : "住院号:", dataIndex : 'hospitalNumber', fontSize : 11, position : ["120","80mm","90%",5]}, + isPrintTousse: true, + isPrintDisinfectGoods: false, + isPrintDisposableGoods: false, // 打印申请单是否打印一次性物品 + isPrintForeignTousse: true, // 是否打印外来器械包 + isMergePrintTousseAndDisposable: false, // 器械包和一次性物品是否合并打印 + printByOriginalApplications: true, //不合并打印情况下是否按原始单据逐份打印 + printApplyInfo: true, + printOrder: 1, // 1:优先打印一次性物品, 2:优先打印器械包 + // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: + // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 + disinfectGoodsPrintMode: 3, + rowsPerPage: 20, + headerContent: [ + // 标题 + { label: "中山大学附属第二医院", dataIndex: '', fontSize: 10, position: ["10", "4%", "90%", 5] }, + { label: "外来器械接收单", dataIndex: 'header', fontSize: 17, position: ["30", "15%", "99%", 22] }, - {label : "单号:", dataIndex : 'serialNum', fontSize : 11, position : ["150","4%","90%",10]}, - {label : "申请科室:", dataIndex : 'depart', fontSize : 11, position : ["150","80mm","90%",5]}, - {label : "结算科室:", dataIndex : 'settleAccountsDepart', fontSize : 11, position : ["150","130mm","90%",10]}, - - {label : "申请人:", dataIndex : 'applicant', fontSize : 11, position : ["180","4%","90%",10]}, - {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["180","80mm","90%",10]}, - - {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["210","4%","90%",5]}, - - - {label : "手术名称:", dataIndex : 'surgery', fontSize : 11, position : ["280","4%","90%",10]}, - {label : "手术医生:", dataIndex : 'doctor', fontSize : 11, position : ["320","4%","90%",10]}, - {label : "手术时间:", dataIndex : 'operationTime', fontSize : 11, position : ["360","4%","90%",10]}, - - {label : "手术器械清单:", dataIndex : '', fontSize : 11, position : ["400","4%","90%",10]}, - - - {label : "清洗注意事项:", dataIndex : '', fontSize : 11, position : ["680","4%","90%",5]}, - {label : "灭菌方式:", dataIndex : '', fontSize : 11, position : ["720","4%","90%",5]}, - {label : "公司名称:", dataIndex : 'supplierName', fontSize : 11, position : ["760","4%","90%",5]}, - {label : "联系方式:", dataIndex : '', fontSize : 11, position : ["800","4%","90%",5]}, - {label : "送包日期及时间:", dataIndex : '', fontSize : 11, position : ["840","4%","90%",5]}, - {label : "送包者签名:", dataIndex : '', fontSize : 11, position : ["880","4%","90%",5]}, - {label : "回收者签名:", dataIndex : '', fontSize : 11, position : ["920","4%","90%",5]} - - ], - goodsTable :{ - rowHeight : 25, - position : ["430","8%","170mm","1000"], - content : [ - {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11}, - {header : "名称", dataIndex : 'goodsName', width : 300, align : 'left', fontSize : 11}, - {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11}, - {header : "材料名称及数量", dataIndex : 'sp', width : 300, align : 'center', fontSize : 11} - ] - }, - footer: { - fontSize : 14, - content : [ - {label : "", dataIndex : ''} - ] - },barcodes : [ - {codeType : "128Auto", dataIndex : 'serialNum', position : ["30","65%",210,30], - styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true}, - {itemNameID: 0, styleName: 'FontSize', styleValue: 6}, - {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true} - ] - } - ] + { label: "姓名:", dataIndex: 'patient', fontSize: 11, position: ["90", "4%", "90%", 5] }, + { label: "性别:", dataIndex: 'patientSex', fontSize: 11, position: ["90", "80mm", "90%", 5] }, + { label: "年龄:", dataIndex: 'patientAge', fontSize: 11, position: ["90", "130mm", "90%", 5] }, + + { label: "床号:", dataIndex: 'bedNumber', fontSize: 11, position: ["120", "4%", "90%", 5] }, + { label: "住院号:", dataIndex: 'hospitalNumber', fontSize: 11, position: ["120", "80mm", "90%", 5] }, + + { label: "单号:", dataIndex: 'serialNum', fontSize: 11, position: ["150", "4%", "90%", 10] }, + { label: "申请科室:", dataIndex: 'depart', fontSize: 11, position: ["150", "80mm", "90%", 5] }, + { label: "结算科室:", dataIndex: 'settleAccountsDepart', fontSize: 11, position: ["150", "130mm", "90%", 10] }, + + { label: "申请人:", dataIndex: 'applicant', fontSize: 11, position: ["180", "4%", "90%", 10] }, + { label: "打印时间:", dataIndex: 'printTime', fontSize: 11, position: ["180", "80mm", "90%", 10] }, + + { label: "备注:", dataIndex: 'remark', fontSize: 11, position: ["210", "4%", "90%", 5] }, + + + { label: "手术名称:", dataIndex: 'surgery', fontSize: 11, position: ["280", "4%", "90%", 10] }, + { label: "手术医生:", dataIndex: 'doctor', fontSize: 11, position: ["320", "4%", "90%", 10] }, + { label: "手术时间:", dataIndex: 'operationTime', fontSize: 11, position: ["360", "4%", "90%", 10] }, + + { label: "手术器械清单:", dataIndex: '', fontSize: 11, position: ["400", "4%", "90%", 10] }, + + + { label: "清洗注意事项:", dataIndex: '', fontSize: 11, position: ["680", "4%", "90%", 5] }, + { label: "灭菌方式:", dataIndex: '', fontSize: 11, position: ["720", "4%", "90%", 5] }, + { label: "公司名称:", dataIndex: 'supplierName', fontSize: 11, position: ["760", "4%", "90%", 5] }, + { label: "联系方式:", dataIndex: '', fontSize: 11, position: ["800", "4%", "90%", 5] }, + { label: "送包日期及时间:", dataIndex: '', fontSize: 11, position: ["840", "4%", "90%", 5] }, + { label: "送包者签名:", dataIndex: '', fontSize: 11, position: ["880", "4%", "90%", 5] }, + { label: "回收者签名:", dataIndex: '', fontSize: 11, position: ["920", "4%", "90%", 5] } + + ], + goodsTable: { + rowHeight: 25, + position: ["430", "8%", "170mm", "1000"], + content: [ + { header: "序号", dataIndex: 'serialNumber', width: 60, align: 'center', fontSize: 11 }, + { header: "名称", dataIndex: 'goodsName', width: 300, align: 'left', fontSize: 11 }, + { header: "数量", dataIndex: 'goodsAmount', width: 60, align: 'right', fontSize: 11 }, + { header: "材料名称及数量", dataIndex: 'sp', width: 300, align: 'center', fontSize: 11 } + ] + }, + footer: { + fontSize: 14, + content: [ + { label: "", dataIndex: '' } + ] + }, barcodes: [ + { + codeType: "128Auto", dataIndex: 'serialNum', position: ["30", "65%", 210, 30], + styles: [{ itemNameID: 0, styleName: 'ShowBarText', styleValue: true }, + { itemNameID: 0, styleName: 'FontSize', styleValue: 6 }, + { itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true } + ] + } + ] } + /** * 器械包管理界面的包定义材料清单 */ var tousseDefinitionMaterialsConfig_qifuyy = { - customPrint:printTousseDefinitionMaterials_qifuyy + customPrint: printTousseDefinitionMaterials_qifuyy } -function printTousseDefinitionMaterials_qifuyy(tousseDefinitionObj){ - if(isUndefinedOrNullOrEmpty(tousseDefinitionObj)){ +function printTousseDefinitionMaterials_qifuyy(tousseDefinitionObj) { + if (isUndefinedOrNullOrEmpty(tousseDefinitionObj)) { alert('包定义不能为空!'); return; } doGetLodop(); - var ret = buildTousseDefinitionMeterialTable(tousseDefinitionObj,tousseDefinitionObj.unit); - var barcode = tousseDefinitionObj.barcode?tousseDefinitionObj.barcode:''; + var ret = buildTousseDefinitionMeterialTable(tousseDefinitionObj, tousseDefinitionObj.unit); + var barcode = tousseDefinitionObj.barcode ? tousseDefinitionObj.barcode : ''; var tableHtml = ret.tableHtml + ""; - + tableHtml += ""; tableHtml += ""; - tableHtml += ""; tableHtml += ""; - + //告警语(已注释不打印,经省医护长与封枫、关总确认 since 2016-01-25 SYF) tableHtml += ""; tableHtml += ""; tableHtml += ""; tableHtml += "
"; tableHtml += ""; - tableHtml += "
"+barcode; + tableHtml += "
" + barcode; tableHtml += "
器械总数量:"+ret.amount+"件"; + tableHtml += "器械总数量:" + ret.amount + "件"; tableHtml += "
***需要回收,切勿丢失***
"; - LODOP.ADD_PRINT_HTM(0,0,"95%","100%",""+tableHtml+""); + LODOP.ADD_PRINT_HTM(0, 0, "95%", "100%", "" + tableHtml + ""); } + var printConfig = { - //发货计划单 - invoicePlan : invoicePlanPrintConfig, - batchPrintInvoices: batchPrintInvoicesConfig, - batchPrintMaterialInvoices:batchPrintMaterialInvoicesConfig, - // 发货单(通用发货单) - invoiceCombo : invoiceComboPrintConfig, - // 发货单(一次性物品) - invoiceDiposableGoods : invoiceComboPrintConfig, - // 发货单(器械包或者回收申请单) - invoiceTousse : invoiceComboPrintConfig, - // 发货单(消毒物品) - invoiceDisinfectGoods : invoiceComboPrintConfig, - // 申请单 - application : applicationPrintConfig, - // 消毒物品申请单 - disinfectGoodsApplication : applicationPrintConfig, - // 借物单 - borrow : borrowPrintConfig, - //材料入库单 - materialEntry : materialEntryConfig, - godownEntry: godownEntryConfig,// 一次性物品入库单 - godownOutEntry: godownOutEntryConfig,//一次性物品退库单 - //一次性物品盘盈盘亏单 - godownStockTake:godownStockTakeConfig, - //一次性物品调拨单 - appropriation : appropriationConfig, - - purchasePlan : purchasePlanConfig, - - // 小标签:50x30规格 - smallLabel : smallLabelConfig, - // 中标签:80x60规格 - //middleLable : middleLableConfig, - foreignTousseMiddleLable:foreignTousseMiddleLableConfig,// 外来器械中标签 - foreignTousseLargeLabel: foreignTousseLargeLabelConfig,// 外来器械大标签 - // 大标签:100x80规格 - largeLabel : exLargeLabelConfig, - // 加大标签:100x100规格 - exLargeLabel : exLargeLabelConfig, - // 外部代理灭菌标签 - foreignProxyDisinfectionLabel : foreignProxyDisinfectionLabelConfig, - //外来器械申请单 - foreignTousseAppliation : foreignTousseAppliationPrintConfig, - // 入库单列表 - godownEntryList : godownEntryListPrintConfig, - //盘盈盘亏列表 - godownStockTakeList : godownStockTakeListConfig, - //退库单列表 - godownEntryOutList : godownEntryOutListConfig, - //调拨单 - appropriationList : appropriationListConfig, - //调拨入库单 - appropriationInList : appropriationInListConfig, - //调拨出库单 - appropriationOutList : appropriationOutListConfig, - //打印器械包明细单 - tousseDefinitionMaterials:tousseDefinitionMaterialsConfig_qifuyy + //发货计划单 + invoicePlan: invoicePlanPrintConfig, + batchPrintInvoices: batchPrintInvoicesConfig, + batchPrintMaterialInvoices: batchPrintMaterialInvoicesConfig, + // 发货单(通用发货单) + invoiceCombo: invoiceComboPrintConfig, + // 发货单(一次性物品) + invoiceDiposableGoods: invoiceComboPrintConfig, + // 发货单(器械包或者回收申请单) + invoiceTousse: invoiceComboPrintConfig, + // 发货单(消毒物品) + invoiceDisinfectGoods: invoiceComboPrintConfig, + // 申请单 + application: applicationPrintConfig, + // 消毒物品申请单 + disinfectGoodsApplication: applicationPrintConfig, + // 借物单 + borrow: borrowPrintConfig, + //材料入库单 + materialEntry: materialEntryConfig, + godownEntry: godownEntryConfig,// 一次性物品入库单 + godownOutEntry: godownOutEntryConfig,//一次性物品退库单 + //一次性物品盘盈盘亏单 + godownStockTake: godownStockTakeConfig, + //一次性物品调拨单 + appropriation: appropriationConfig, + + purchasePlan: purchasePlanConfig, + + // 小标签:50x30规格 + smallLabel: smallLabelConfig, + // 中标签:80x60规格 + //middleLable : middleLableConfig, + foreignTousseMiddleLable: foreignTousseMiddleLableConfig,// 外来器械中标签 + foreignTousseLargeLabel: foreignTousseLargeLabelConfig,// 外来器械大标签 + // 大标签:100x80规格 + largeLabel: exLargeLabelConfig, + // 加大标签:100x100规格 + exLargeLabel: exLargeLabelConfig, + // 外部代理灭菌标签 + foreignProxyDisinfectionLabel: foreignProxyDisinfectionLabelConfig, + //外来器械申请单 + foreignTousseAppliation: foreignTousseAppliationPrintConfig, + // 入库单列表 + godownEntryList: godownEntryListPrintConfig, + //盘盈盘亏列表 + godownStockTakeList: godownStockTakeListConfig, + //退库单列表 + godownEntryOutList: godownEntryOutListConfig, + //调拨单 + appropriationList: appropriationListConfig, + //调拨入库单 + appropriationInList: appropriationInListConfig, + //调拨出库单 + appropriationOutList: appropriationOutListConfig, + //打印器械包明细单 + tousseDefinitionMaterials: tousseDefinitionMaterialsConfig_qifuyy }; \ No newline at end of file