Index: ssts-web/src/main/webapp/disinfectsystem/config/gzzyyfs/print/printConfig.js =================================================================== diff -u -r12331 -r13302 --- ssts-web/src/main/webapp/disinfectsystem/config/gzzyyfs/print/printConfig.js (.../printConfig.js) (revision 12331) +++ ssts-web/src/main/webapp/disinfectsystem/config/gzzyyfs/print/printConfig.js (.../printConfig.js) (revision 13302) @@ -1,3 +1,159 @@ +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'} + ] + } +}; +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'} + ] + } +}; +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'} + ] + } +} +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'} + ] + } +} +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'} + ] + } +} +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'} + ] + } +} var invoicePlanPrintConfig = { isPrintTousse : true, @@ -55,6 +211,45 @@ } ] } +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} + ] + } +}; + var batchPrintInvoicesConfig = { headerFooter : [ // 页眉名称 @@ -241,6 +436,271 @@ } } +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'} + ] + } +} + +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'} + ] + } +} +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'} + ] + } +} +// 一次性物品盘盈盘亏单 +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}, + + ] + } +} +// 一次性物品入库单 +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}, + + ] + } +} +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'} + ] + } +} // 加大标签配置,100x100mm var exLargeLabelConfig = { headerContent : [ @@ -622,6 +1082,7 @@ //发货计划单 invoicePlan : invoicePlanPrintConfig, batchPrintInvoices: batchPrintInvoicesConfig, + batchPrintMaterialInvoices:batchPrintMaterialInvoicesConfig, // 发货单(通用发货单) invoiceCombo : invoiceComboPrintConfig, // 发货单(一次性物品) @@ -636,7 +1097,17 @@ disinfectGoodsApplication : applicationPrintConfig, // 借物单 borrow : borrowPrintConfig, + //材料入库单 + materialEntry : materialEntryConfig, + godownEntry: godownEntryConfig,// 一次性物品入库单 + godownOutEntry: godownOutEntryConfig,//一次性物品退库单 + //一次性物品盘盈盘亏单 + godownStockTake:godownStockTakeConfig, + //一次性物品调拨单 + appropriation : appropriationConfig, + purchasePlan : purchasePlanConfig, + // 小标签:50x30规格 smallLabel : smallLabelConfig, // 中标签:80x60规格 @@ -650,5 +1121,17 @@ // 外部代理灭菌标签 foreignProxyDisinfectionLabel : foreignProxyDisinfectionLabelConfig, //外来器械申请单 - foreignTousseAppliation : foreignTousseAppliationPrintConfig + foreignTousseAppliation : foreignTousseAppliationPrintConfig, + // 入库单列表 + godownEntryList : godownEntryListPrintConfig, + //盘盈盘亏列表 + godownStockTakeList : godownStockTakeListConfig, + //退库单列表 + godownEntryOutList : godownEntryOutListConfig, + //调拨单 + appropriationList : appropriationListConfig, + //调拨入库单 + appropriationInList : appropriationInListConfig, + //调拨出库单 + appropriationOutList : appropriationOutListConfig }; \ No newline at end of file