Index: ssts-web/src/main/webapp/disinfectsystem/config/sznsrmyy/print/printConfig.js
===================================================================
diff -u -r17222 -r22683
--- ssts-web/src/main/webapp/disinfectsystem/config/sznsrmyy/print/printConfig.js (.../printConfig.js) (revision 17222)
+++ ssts-web/src/main/webapp/disinfectsystem/config/sznsrmyy/print/printConfig.js (.../printConfig.js) (revision 22683)
@@ -237,6 +237,60 @@
]
}
+var invoicePlanPrintConfig_disposableGoods = {
+ isPrintTousse : true,
+ isPrintDisinfectGoods : true,
+ isPrintDisposableGoods : true, // 打印申请单是否打印一次性物品
+ isMergePrintTousseAndDisposable : true, // 器械包和一次性物品是否合并打印
+ printByOriginalApplications : true, //不合并打印情况下是否按原始单据逐份打印
+ printApplyInfo : false,
+ printOrder : 1, // 1:优先打印一次性物品, 2:优先打印器械包
+
+ // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式:
+ // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印
+ disinfectGoodsPrintMode : 1,
+ rowsPerPage : 10,
+ headerContent : [
+ // 标题
+ {label : "深圳市南山人民医院一次性物品领用出库单", dataIndex : 'header', fontSize : 17, position : ["15","1%","99%",5],type: 'html', beforeStr: "
"},
+ {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 : 9.4,
+ position : ["75","1%","95%","2000"],
+ content : [
+ {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'goodsName', width : 340, align : 'left', fontSize : 11},
+ {header : "规格", dataIndex : 'sp', width : 180, align : 'center', fontSize : 11},
+ {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11},
+ {header : "单位", dataIndex : 'unit', width : 50, align : 'center', fontSize : 11},
+ {header : "单价", dataIndex : 'price', width : 50, align : 'right', fontSize : 11},
+ {header : "金额", dataIndex : 'rowPrice', width : 70, align : 'right', fontSize : 11}
+ ]
+ },
+ footer: {
+ fontSize : 14,
+ content : [
+ {label : "科室接收人: ", dataIndex : ''},
+ {label : "下送人: ", dataIndex : ''},
+ {label : "审核人: ", dataIndex : ''},
+ {label : " 发货人:", dataIndex : 'printUser'}
+ //{label : "提交时间:", dataIndex : 'applicationTime'}
+ ]
+ },
+ barcodes : [
+ {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5","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 : [
// 页眉名称
@@ -1540,6 +1594,8 @@
var printConfig = {
//发货计划单
invoicePlan : invoicePlanPrintConfig,
+ //一次性物品发货计划单
+ invoicePlan_disposableGoods : invoicePlanPrintConfig_disposableGoods,
batchPrintInvoices:batchPrintInvoicesConfig,
// 批量打印发货单(器械包),如果没有配置,则跟batchPrintInvoices一样
//batchPrintInvoice_Tousse:batchPrintInvoicesConfig,