Commit b5185ecd by 江和松

材料计划校验修改

parent b3e323f3
......@@ -150,14 +150,14 @@ $(function () {
let flag = true;
$.each(rows, function (index, item) {
let companyName = item.get("companyName");
let createdTime = item.get("createdTime");
let planMaterialDate = item.get("planMaterialDate");
if (isBlank(companyName)) {
message("选中的第" + (index + 1) + "行\"公司\",不能为空!");
flag = false;
return false;
}
if (isBlank(createdTime)) {
message("选中的第" + (index + 1) + "行\"创建时间\",不能为空!");
if (isBlank(planMaterialDate)) {
message("选中的第" + (index + 1) + "行\"材料计划日期\",不能为空!");
flag = 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