Index: ssts-web/src/main/webapp/dx-disinfectsystem/js/recyclingApplication/goodsApplicationView.js =================================================================== diff -u -r24530 -r24531 --- ssts-web/src/main/webapp/dx-disinfectsystem/js/recyclingApplication/goodsApplicationView.js (.../goodsApplicationView.js) (revision 24530) +++ ssts-web/src/main/webapp/dx-disinfectsystem/js/recyclingApplication/goodsApplicationView.js (.../goodsApplicationView.js) (revision 24531) @@ -1598,14 +1598,15 @@ var departAppEl=$('#departApp_tousse') var departCoding=departAppEl.val()[0]; var depart=departAppEl.find("option:selected").text(); + //结算科室 var settleDepEl=$('#settleDep_tousse') var settleAccountsDepartCoding=settleDepEl.val()[0]; var settleAccountsDepart=settleDepEl.find("option:selected").text(); //处理科室 var handleDepEl=$('#handleDep_tousse') - var handleDepartCoding=handleDepEl.val()[0]; + var handleDepartCoding=handleDepEl.val(); var handleDepart=handleDepEl.find("option:selected").text(); //时间 @@ -1941,13 +1942,10 @@ //处理科室 var handleDepEl=$('#'+submitJson.handleDepEl); - var handleDepartCoding = ""; - var handleDepElVal = departAppEl.val(); - if(!Tools.ArrayUtils.isNotEmpty(handleDepElVal)){ + var handleDepartCoding = handleDepEl.val(); + if( Tools.StringUtils.isEmpty(handleDepartCoding) ){ valiResult = false; alert("处理科室科室不能为空!"); - }else{ - handleDepartCoding=handleDepEl.val()[0]; } var handleDepart=handleDepEl.find("option:selected").text();