Commit 5af0ca9a by 杨树贤

优化

parent 83a6c26b
......@@ -108,10 +108,10 @@ class SupplierExaminationService
$errMsg[] = "供应商名称不能为空! (第${lineNo}行)";
}
if (empty($examineTime)) {
$errMsg[] = "检货时间不能为空! (第${lineNo}行),请修改为 2000-01-01 这种格式后再次提交";
$errMsg[] = "检货时间不能为空! (第${lineNo}行),请修改为 2022/10/10 这种格式后再次提交";
}
if (!isDateTime($examineTime)) {
if (!empty($examineTime)&&!isDateTime($examineTime)) {
$errMsg[] = "检货时间格式不规范! (第${lineNo}行),请修改为 2022/10/10 这种格式后再次提交";
}
......
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 sign in to comment