Commit 063b081c by 宋祥

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

parents 611d5009 f5bb819b
......@@ -136,12 +136,12 @@ $(function (){
flag = false;
return false;
}
let groupUserCount= item.get("groupUserCount");
if(!isPositiveInteger(groupUserCount)){
message("选中的生产组第"+(index+1)+"行\"组用工数\",必须为正整数!");
flag = false;
return false;
}
let groupUserCount = item.get("groupUserCount");
if (!isInteger(groupUserCount) || parseFloat(groupUserCount) < 0) {
message("选中的生产组第" + (index + 1) + "行\"组用工数\",必须为正整数!");
flag = false;
return false;
}
});
if(flag) {
JSUtils.confirm("确定对数据做\"保存\"操作? ", {
......@@ -330,4 +330,4 @@ var rowsBlock = function (grid_id) {
// 默认查询第一页
eiblock.set(EiConstant.OFFSET, 0);
return eiblock;
}
\ No newline at end of file
}
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