Index: ssts-web/src/main/webapp/disinfectsystem/common/cssdUtils.js =================================================================== diff -u -r12532 -r12599 --- ssts-web/src/main/webapp/disinfectsystem/common/cssdUtils.js (.../cssdUtils.js) (revision 12532) +++ ssts-web/src/main/webapp/disinfectsystem/common/cssdUtils.js (.../cssdUtils.js) (revision 12599) @@ -206,8 +206,12 @@ if(barcodes != null && barcodes.length > 0){ if(department != null && department != ""){ // 消毒物品如果追溯,则在物品名字前面打印科室名称,不追溯就不打印科室名称 - if (isTraceable){ + /*if (isTraceable){ tousseName = "(" + department + ")" + tousseName; + }*/ + //调整为消毒物品的器械包定义是否打印科室如果为是,则打印科室名称 + if(tousseObj.isPrintOrg == true){ + tousseName = "(" + department + ")" + tousseName; } } for ( var j = 0; j < barcodes.length; j++) { @@ -280,6 +284,54 @@ } }; +/** + * 打印物品的标签 + */ +function doPrintLabels(tousses){ + + // 必须先调用此代码,然后才能调用Ext.MessageBox.updateProgress + showProgressBar(true,'打印中','请稍候...'); + for (var i=0;i