Commit 063b081c by 宋祥

Merge branch 'dev-sx' of http://129.211.46.84:8800/platform/hp-smart into dev

parents 611d5009 f5bb819b
...@@ -136,9 +136,9 @@ $(function (){ ...@@ -136,9 +136,9 @@ $(function (){
flag = false; flag = false;
return false; return false;
} }
let groupUserCount= item.get("groupUserCount"); let groupUserCount = item.get("groupUserCount");
if(!isPositiveInteger(groupUserCount)){ if (!isInteger(groupUserCount) || parseFloat(groupUserCount) < 0) {
message("选中的生产组第"+(index+1)+"行\"组用工数\",必须为正整数!"); message("选中的生产组第" + (index + 1) + "行\"组用工数\",必须为正整数!");
flag = false; flag = false;
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment