Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/customIntoBasket.js =================================================================== diff -u -r28986 -r28987 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/customIntoBasket.js (.../customIntoBasket.js) (revision 28986) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/customIntoBasket.js (.../customIntoBasket.js) (revision 28987) @@ -728,7 +728,16 @@ area : [width + 'px' , height + 'px'], border : [5, 0.3, '#fff', true], closeBtn : [2 , true], - offset : ['250px',''] + offset : ['250px',''], + end:function(){ + var recycleAmount = $('#recycleAmount'+row).val(); + var applicationAmount = $('#applicationAmount'+row).val(); + if(parseInt(recycleAmount) > parseInt(applicationAmount)){ + alertDiv("回收数量不能大于申请数量"); + $('#recycleAmount'+row).val(applicationAmount) + return; + } + } }); } //打开输入装载数量页面