Commit 3ba118ce by wancheng

采购计划更新

parent 8c60720f
......@@ -127,15 +127,15 @@ function save() {
return;
}
if (isBlank(rows[i]['custCode'])) {
message("勾选的第" + (i + 1) + "行供应商不能为空");
message("勾选的第" + (i + 1) + "行\"供应商\"不能为空");
return;
}
if (!isPositiveInteger(rows[i]['planAmount'])) {
message("勾选的第" + (index + 1) + "行\"计划数量\"必须是大于0的整数");
if (isBlank(rows[i]['planAmount'])) {
message("勾选的第" + (i + 1) + "行\"计划数量\"不能为空");
return;
}
if(!isPositiveNumber(rows[i]['planWeight'])){
message("选中的第"+(index+1)+"行\"计划重量\"必须是大于0的数");
if(isBlank(rows[i]['planWeight'])){
message("选中的第"+(i+1)+"行\"计划重量\"不能为空");
return ;
}
}
......
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