Index: ssts-web/src/main/webapp/disinfectsystem/config/zsyy/print/printConfig.js
===================================================================
diff -u -r20648 -r20984
--- ssts-web/src/main/webapp/disinfectsystem/config/zsyy/print/printConfig.js (.../printConfig.js) (revision 20648)
+++ ssts-web/src/main/webapp/disinfectsystem/config/zsyy/print/printConfig.js (.../printConfig.js) (revision 20984)
@@ -204,8 +204,63 @@
// {header : "金额", dataIndex : 'rowPrice', width : 80, align : 'center', fontSize : 11}
]
}
-}
+};
+//一次性物品发货计划
+var invoicePlanPrintConfig_2 = { //一次性物品发货计划
+ print2:true,
+ isPrintTousse : true,
+ isPrintDisinfectGoods : true,
+ isPrintDisposableGoods : true, // 打印申请单是否打印一次性物品
+ isMergePrintTousseAndDisposable : true, // 器械包和一次性物品是否合并打印
+ printByOriginalApplications : true, //不合并打印情况下是否按原始单据逐份打印
+ printApplyInfo : false,
+ printOrder : 1, // 1:优先打印一次性物品, 2:优先打印器械包
+ // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式:
+ // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印
+ disinfectGoodsPrintMode : 1,
+ rowsPerPage : 1000000,
+ fixed : true,//表格宽度固定
+ headerFooter : [
+ // 标题
+ {label : "中山大学附属第一医院", dataIndex : '', position : ["0","1%","99%",5],type: 'html', beforeStr: "
"},
+ {label : "供应室出库清单", dataIndex : '', position : ["30","1%","99%",5],type: 'html', beforeStr: ""},
+ {label : "科室:", dataIndex : 'depart', fontSize : 13, position : ["60","1%","90%",5]},
+ {label : "日期:", dataIndex : 'applicationTime', fontSize : 13, position : ["60","25%","90%",5]},
+ {label : "单号:", dataIndex : 'serialNum', fontSize : 13, position : ["60","50%","90%",5]},
+ {label : "备注:", dataIndex : 'remark', fontSize : 13, position : ["60","72%","90%",5]},
+ {label : "配包人:", dataIndex : '', fontSize : 13, position : ["8cm","5%","90%",5],onlyLast:true},
+ {label : "发货人:", dataIndex : '', fontSize : 13, position : ["8cm","25%","90%",5],onlyLast:true},
+ {label : "领物人:", dataIndex : '', fontSize : 13, position : ["8cm","55%","90%",5],onlyLast:true},
+ {barcodes : [
+ {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5","70%","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: false},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ }
+ ]}
+ ],
+ currentPageNumber : {label : "第#页 ", fontSize : 11, position : ["8cm","75%","90%",5]},
+ totalPageAmount : {label : " / 共#页", fontSize : 11, position : ["8cm","80%","90%",5]},
+ goodsTable :{
+ rowHeight : 55,
+ position : ["80","0%","100%","5cm"],
+ fontSize : 16,
+ headRepeat : true,
+ columns : [
+ {header : "编码", dataIndex : 'externalCode', width : 100, align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'goodsName', width : 450, align : 'center', fontSize : 8},
+ //{header : "规格", dataIndex : 'sp', width : 100, align : 'center', fontSize : 11},
+ {header : "数量", dataIndex : 'goodsAmount', width : 50, align : 'center', fontSize : 14},
+ // {header : "单位", dataIndex : 'unit', width : 50, align : 'center', fontSize : 14},
+ {header : "单价", dataIndex : 'price', width : 50, align : 'center', fontSize : 14},
+ {header : "金额", dataIndex : 'rowPrice', width : 80, align : 'center', fontSize : 14}
+ ]
+ }
+};
+
+
//批量打印发货单配置
var batchPrintInvoicesConfig = {
fixed : true,//表格宽度固定
@@ -221,8 +276,8 @@
//{label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["42","35%","90%",5]},
// {label : "备注:", dataIndex : 'remark2', fontSize : 11, position : ["57","75%","90%",5]},
- {label : "发货人:", dataIndex : '', fontSize : 13, position : ["9.3cm","2%","90%",5],onlyLast:true},//只在最后一页打印
- {label : "领物人:", dataIndex : '', fontSize : 13, position : ["9.3cm","30%","90%",5],onlyLast:true},
+ {label : "发货人:", dataIndex : '', fontSize : 10, position : ["8cm","2%","100%",5],onlyLast:true},//只在最后一页打印
+ {label : "领物人:", dataIndex : '', fontSize : 10, position : ["8cm","30%","100%",5],onlyLast:true},
//{label : "复核人:", dataIndex : '', fontSize : 11, position : ["11cm","5%","90%",5]},
// {label : "审核人:", dataIndex : '', fontSize : 11, position : ["8.4cm","83%","90%",5]}
{barcodes : [
@@ -237,22 +292,22 @@
currentPageNumber : {label : "页: # / ", fontSize : 13, position : ["40","80%","90%",5]},
totalPageAmount : {label : "&", fontSize : 13, position : ["40","88%","90%",5]},
goodsTable :{
- rowHeight : 25,
- position : ["67","0.2cm","22cm","6.8cm"],
+ rowHeight : 30,
+ position : ["67","0cm","20cm","6cm"],
headRepeat : true,
- fontSize : 16,
+ fontSize : 12,
// style:'"border-left:0px;border-right:0px;border-top:#000000 1px solid;border-bottom:#000000 1px solid;"',
columns : [
{header : "序号", dataIndex : 'serialNumber', width : '40', align : 'center', fontSize : 11},
- {header : "物品名称", dataIndex : 'name', width : '250', align : 'center', fontSize : 11},
- {header : "规格", dataIndex : 'specification', width : '120', align : 'center', fontSize : 11},
+ {header : "物品名称", dataIndex : 'name', width : '350', align : 'center', fontSize : 7},
+ // {header : "规格", dataIndex : 'specification', width : '120', align : 'center', fontSize : 11},
//{header : "包装规格", dataIndex : 'packageSpec', width : '9%', align : 'center', fontSize : 11},
- {header : "批次/灭菌日期", dataIndex : 'batchNumber', width : '110', align : 'center', fontSize : 11},
+ {header : "批次号", dataIndex : '', width : '110', align : 'center', fontSize : 11},//batchNumber
//{header : "失效日期", dataIndex : 'expireDate', width : '70', align : 'center', fontSize : 11},
{header : "单位", dataIndex : 'unit', width : '50', align : 'center', fontSize : 11},
{header : "数量", dataIndex : 'amount', width : '50', align : 'center', fontSize : 11},
- {header : "单价", dataIndex : 'price', width : '70', align : 'center', fontSize : 11},
- {header : "金额", dataIndex : 'totalPrice', width : '90', align : 'center', fontSize : 11}
+ {header : "单价", dataIndex : 'price', width : '50', align : 'center', fontSize : 11},
+ {header : "金额", dataIndex : 'totalPrice', width : '70', align : 'center', fontSize : 11}
//{header : "备注", dataIndex : '', width : '70', align : 'center', fontSize : 11}
//{header : "生产厂家", dataIndex : 'manufacturer', width : '17%', align : 'center', fontSize : 11}
]
@@ -1777,6 +1832,8 @@
foreignProxyDisinfectionApplication: foreignProxyDisinfectionApplicationPrintConfig,// 外部代理灭菌单
batchPrintMaterialInvoices:batchPrintMaterialInvoicesConfig,
batchPrintInvoices:batchPrintInvoicesConfig,
+ //一次性物品发货计划单
+ invoicePlan_disposableGoods : invoicePlanPrintConfig_2,
// 发货单(通用发货单)
invoiceCombo : invoiceComboPrintConfig,
// 发货单(一次性物品)