Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r40373 -r40413 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 40373) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 40413) @@ -31,15 +31,45 @@ var sessionIDCardBarcodes = new newMap(); //ZSYY-385:新增可配置扩展字段(显示序号,当前待回收物品) -var currentlyToBeRecycledBox = false; -var serialNumberBox = false; -if(sstsConfig.expandFieldsOfRecycle){ - if(sstsConfig.expandFieldsOfRecycle.indexOf('currentlyToBeRecycled') >= 0){ - currentlyToBeRecycledBox = true; +//BJDXZLYY-64:统一用新配置项 +var currentlyToBeRecycledHidden = true; +var serialNumberHidden = true; +var tousseRemarkHidden = true; +var lastRecyclingTimeHidden = true; +var packageTypeSplitHidden = true; +var pendinSsecondaryRecyclingHidden = true; + +var tousseRemarkName = '备注'; +var lastRecyclingTimeName = '回收时间'; +var packageTypeSplitName = '外来器械拆分小包'; +var pendinSsecondaryRecyclingName = '待二次回收'; + +var expandFieldsConfigOfRecycling = sstsConfig.expandFieldsConfigOfRecycling; +if(expandFieldsConfigOfRecycling.length > 0){ + for(var i=0;i= 0){ - serialNumberBox = true; - } } //SZSDSRMYY-195:新增扩展字段配置 function setListTab(tab){ @@ -59,6 +89,8 @@ html += ''+recyclingDateDetails[i].recyclingDate+''; html += ''+tousseName+''; html += ''+recyclingDateDetails[i].amount+''; + html += ''+recyclingDateDetails[i].recyclingUser+''; + html += ''+recyclingDateDetails[i].operator+''; html += ''; } $("#recycleTimeListTbody").html(html) @@ -822,15 +854,6 @@ //SZSDSRMYY-195:显示备注信息 function showIDCardRemarks(remark, tousseRemarkObj, row){ - var expandFieldsConfigOfRecycling = sstsConfig.expandFieldsConfigOfRecycling; - var tousseRemarkHidden = true; - if(expandFieldsConfigOfRecycling.length > 0){ - for(var i=0;i 0){ - for(var i=0;i' + msg + ''; } - var lastRecyclingTimeName = ''; - var tousseRemarkName = ''; - var packageTypeSplitName = ''; - var expandFieldsConfigOfRecycling = sstsConfig.expandFieldsConfigOfRecycling || []; - if(expandFieldsConfigOfRecycling.length > 0){ - for(var i=0;i'; trStr += ''; - if(serialNumberBox){ + if(!serialNumberHidden){ trStr += ''; } var splitToussesString = ''; @@ -4850,13 +4843,13 @@ deleteTousseItemArray.splice(i, 1); } } - if(lastRecyclingTimeName == '' || lastRecyclingDate == ''){ + if(!lastRecyclingTimeHidden || lastRecyclingDate == ''){ $('#recycleTimeTr'+row).hide(); } - if(tousseRemarkName == '' || tousseRemark == ''){ + if(!tousseRemarkHidden || tousseRemark == ''){ $('#tousseRemarkTr'+row).hide(); } - if((lastRecyclingTimeName !== '' && lastRecyclingDate !== '') && (tousseRemarkName !== '' && tousseRemark !== '')){ + if((!lastRecyclingTimeHidden && lastRecyclingDate !== '') && (!tousseRemarkHidden && tousseRemark !== '')){ $('#recycleTime'+row + ' .btn').hide(); } if(!sstsConfig.enablePackageTypeSplitPartialSecondaryRecyclingAndReturn || !sstsConfig.allowForeignToussePartiallyPacking || !sstsConfig.enableForeignToussePartRecycle){ @@ -5735,15 +5728,6 @@ }); //部分入筐提示 if (isPartIntheBasket) { - var packageTypeSplitName = ''; - var expandFieldsConfigOfRecycling = sstsConfig.expandFieldsConfigOfRecycling || []; - if(expandFieldsConfigOfRecycling.length > 0){ - for(var i=0;i