Index: ssts-web/src/main/webapp/disinfectsystem/config/mmsrmyy/spring/HIS.xml
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/mmsrmyy/spring/HIS.xml (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/mmsrmyy/spring/HIS.xml (revision 31157)
@@ -0,0 +1,86 @@
+
+
主管: ", 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}
+ ]
+ }
+};
+
+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}
+ ]
+ }
+}
+//
+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}
+ ]
+ }
+}
+
+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]},
+
+ {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'}
+ ]
+ }
+
+ }
+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 : [
+ // 器械包名称,水平居中
+ {label : "", dataIndex : 'name', position : ["1mm","0mm","RightMargin:0mm","BottomMargin:0mm"], type: 'html', beforeStr: "
"; + tableHtml += " | ";
+ tableHtml += "|||
"+sterilizationDate+" | "; + tableHtml += ""+operator+" | "; + tableHtml += "||
"+validDate+" | "; + tableHtml += ""+reviewer+" | "; + tableHtml += "||
"+total+" | "; + tableHtml += "|||
"+patient+" | "; + tableHtml += "|||
"+foreignPackageObjectArray[2]+" | "; +// tableHtml += ""+foreignPackageObjectArray[0]+" | "; +// tableHtml += "||
"; + tableHtml += " | ";
+ tableHtml += "|||
"+sterilizationDate+" | "; + tableHtml += ""+operator+" | "; + tableHtml += "||
"+validDate+" | "; + tableHtml += ""+reviewer+" | "; + tableHtml += "||
"+total+" | "; + tableHtml += "|||
"+patientInfo+" | "; + tableHtml += "|||
"+patientAreaInfo+" | "; + tableHtml += "|||
"+foreignPackageObjectArray[2]+" | "; + tableHtml += ""+foreignPackageObjectArray[0]+" | "; + tableHtml += "||
"+barcode; + tableHtml += " | ";
+ tableHtml += "器械总数量:"+ret.amount+"件"; + tableHtml += " | "; + tableHtml += "||