Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationForm.js =================================================================== diff -u -r30479 -r30497 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationForm.js (.../goodsApplicationForm.js) (revision 30479) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationForm.js (.../goodsApplicationForm.js) (revision 30497) @@ -2757,6 +2757,11 @@ showResult("申请数量必须大于0!"); count.focus(); return true; + } + if(Ext4.isEmpty(count.getValue())||count.getValue()>9999){ + showResult("申请数量不能大于9999!"); + count.focus(); + return true; } var urgentAmount = top.Ext4.getCmp('urgentAmount'); if (handleUrgentAmount.handleUaAndCount(urgentAmount.getValue(),count.getValue())){ Index: ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js =================================================================== diff -u -r30290 -r30497 --- ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 30290) +++ ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 30497) @@ -2029,7 +2029,8 @@ xtype: 'numberfield', allowBlank: true, allowDecimals :false, - minValue: 0, + minValue: 0, + maxValue:9999, listeners : { 'focus':function(){ this.selectText(); Index: ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/foreignProxyDisinfectionForm.js =================================================================== diff -u -r30470 -r30497 --- ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/foreignProxyDisinfectionForm.js (.../foreignProxyDisinfectionForm.js) (revision 30470) +++ ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizationrecord/foreignProxyDisinfectionForm.js (.../foreignProxyDisinfectionForm.js) (revision 30497) @@ -129,6 +129,9 @@ }else if(count == ""){ showResult("请输入数量,数量必须大于0!"); top.Ext.getCmp('count1').focus(); + }else if(count > 9999){ + showResult("请输入数量,数量不能大于9999!"); + top.Ext.getCmp('count1').focus(); }else{ addItemToGrid(top.Ext.getCmp('package1').getRawValue(),count,packageType,sterilingType,top.Ext.getCmp('tousseType1').getValue()); //光标操作 @@ -309,6 +312,7 @@ menuDisabled: true, editor : new top.Ext.form.NumberField({ minValue : 1, + maxValue : 9999, allowBlank : false, allowDecimals : false, style : 'text-align: left',