Index: ssts-web/src/main/webapp/systemmanage/userFormExt.js =================================================================== diff -u -r39768 -r39771 --- ssts-web/src/main/webapp/systemmanage/userFormExt.js (.../userFormExt.js) (revision 39768) +++ ssts-web/src/main/webapp/systemmanage/userFormExt.js (.../userFormExt.js) (revision 39771) @@ -348,6 +348,9 @@ url : WWWROOT + '/disinfectSystem/baseData/supplierAction!getSupplierData.do', method : 'POST' }), + baseParams: { + supplierType: '外来器械租用商' + }, reader : new Ext.data.JsonReader({ totalProperty : 'totalCount', root : 'data' @@ -551,7 +554,12 @@ } }, failure:function(form, action){ - alert('保存失败:'+action.failureType); + if(action.result && action.result.message){ + showResult('保存失败:'+ action.result.message); + }else { + showResult('保存失败:'+ action.failureType); + } + that.enable(); } }); }