Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r31768 -r31932 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 31768) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 31932) @@ -23,7 +23,6 @@ // 可以终止的TousseItem的id.已经回收但是还没有发货的话,也是可以终止的。目前部分发货不能终止 var canTerminateTousseItemIds = []; var lastTousseNames = ''; - // 是否开启根据科室加载模板 function openLoadTemplateByUnit() { if (sstsConfig.isOpenLoadTemplateByUnit) { @@ -6210,6 +6209,9 @@ //是否显示保存并打印按钮 if (sstsConfig.showRecyclingPrintDetail && $("#appType").val() == TYPE_FOREIGNTOUSSEAPPLIACTION) { $('#saveAndPrintBtnTd').show(); + }else if(sstsConfig.showRecyclingSaveAndPrintActionButton){ + $('#saveAndPrintBtnTd').show(); + $('#saveAndNewBtnTd').hide(); } else { $('#saveAndPrintBtnTd').hide(); } Index: ssts-web/src/main/webapp/disinfectsystem/config/dgsetyy/config.js =================================================================== diff -u -r31732 -r31932 --- ssts-web/src/main/webapp/disinfectsystem/config/dgsetyy/config.js (.../config.js) (revision 31732) +++ ssts-web/src/main/webapp/disinfectsystem/config/dgsetyy/config.js (.../config.js) (revision 31932) @@ -198,5 +198,7 @@ //急物品的提示时间间隔60秒 urgentGoodsWarningTimeInterval : 60, //是否FTP登录后再设置被动模式,有的ftp服务器需要先登录再设置为被动模式 - setPassiveModeAfterLogin:true + setPassiveModeAfterLogin:true, + //回收时显示保存并打印按钮 + showRecyclingSaveAndPrintActionButton:true } \ No newline at end of file Index: ssts-web/src/main/webapp/disinfectsystem/config/dgsetyy/print/printConfig.js =================================================================== diff -u -r31486 -r31932 --- ssts-web/src/main/webapp/disinfectsystem/config/dgsetyy/print/printConfig.js (.../printConfig.js) (revision 31486) +++ ssts-web/src/main/webapp/disinfectsystem/config/dgsetyy/print/printConfig.js (.../printConfig.js) (revision 31932) @@ -546,6 +546,49 @@ ] } } + +//回收页面打印配置 +var recyclingGoodsDetailConfig = { + isPrintTousse : true, + isPrintDisinfectGoods : true, + isPrintDisposableGoods : false, // 打印申请单是否打印一次性物品 + isMergePrintTousseAndDisposable : false, // 器械包和一次性物品是否合并打印 + printByOriginalApplications : false, //不合并打印情况下是否按原始单据逐份打印 + printApplyInfo : false, + printOrder : 2, // 1:优先打印一次性物品, 2:优先打印器械包 + + // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式: + // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印 + disinfectGoodsPrintMode : 1, + rowsPerPage : 7, + headerFooter : [ + // 标题 + {label : "东莞市儿童医院部门领货凭证", dataIndex : 'header', fontSize : 14, position : ["0","1%","99%",5],type: 'html', beforeStr: "
", afterStr: "
"}, + {label : "去向:", dataIndex : 'departName', fontSize : 10, position : ["30","5%","90%",5]}, + {label : "单号:", dataIndex : 'invoicePlanSerialNumber', fontSize : 10, position : ["30","40%","90%",5]}, + {label : "日期:", dataIndex : 'recyclingTime', fontSize : 10, position : ["45","5%","90%",5]}, + {label : "备注:", dataIndex : 'remark', fontSize :10, position : ["45","40%","90%",5]} + ], + goodsTable :{ + rowHeight : 25, + position : ["60","5%","360","2000"], + columns : [ + {header : "序号", dataIndex : 'index', width : '10%', align : 'center', fontSize : 10}, + {header : "名称", dataIndex : 'name', width : '40%', align : 'left', fontSize : 10}, + {header : "规格", dataIndex : 'specification', width : '40%', align : 'center', fontSize : 8}, + {header : "数量", dataIndex : 'amount', width : '10%', align : 'center', fontSize : 10} + ] + }, + footer: { + fontSize : 12, + rowHeight : 20, + content : [ + {label : "制单:", dataIndex : 'applicant'}, + {label : "打印时间:", dataIndex : 'printTime'} + ] + } +} + // 一次性物品盘盈盘亏单 var godownStockTakeConfig = { headerFooter : [ @@ -1159,6 +1202,8 @@ appropriationInList : appropriationInListConfig, //调拨出库单 appropriationOutList : appropriationOutListConfig, + //回收物品明细。在回收界面的保存并打印按钮触发 + recyclingGoodsDetail : recyclingGoodsDetailConfig, //打印器械包明细单 tousseDefinitionMaterials:tousseDefinitionMaterialsConfig_qifuyy }; \ No newline at end of file Index: ssts-web/src/main/webapp/disinfectsystem/print/print.js =================================================================== diff -u -r31928 -r31932 --- ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 31928) +++ ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 31932) @@ -249,7 +249,6 @@ } } - // 打印表头的内容 if (!isObjEmpty(myObj.headerFooter)){ // 设置为页眉页脚模式 @@ -2186,7 +2185,7 @@ formTypeOfPrinted = "recyclingGoodsDetail"; setPrinterByConfig(); //如果打印回收清单的类型为2(目前仅广医口腔有此配置),则按申请单的打印格式进行配置 - if(sstsConfig.recyclingPrintContent == 2){ + if(sstsConfig.recyclingPrintContent == 2 || (sstsConfig.showRecyclingSaveAndPrintActionButton && recyclingPrintData.recyclingApplicationType !== '外来器械包申请单')){ if(recyclingPrintData && recyclingPrintData.pages && recyclingPrintData.pages.length > 0){ for(var i = 0;i < recyclingPrintData.pages.length;i++){ recyclingPrintData.pageIndex = i;