Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5af0ca9a
authored
Aug 22, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化
parent
83a6c26b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Services/SupplierExaminationService.php
app/Http/Services/SupplierExaminationService.php
View file @
5af0ca9a
...
@@ -108,10 +108,10 @@ class SupplierExaminationService
...
@@ -108,10 +108,10 @@ class SupplierExaminationService
$errMsg
[]
=
"供应商名称不能为空! (第${lineNo}行)"
;
$errMsg
[]
=
"供应商名称不能为空! (第${lineNo}行)"
;
}
}
if
(
empty
(
$examineTime
))
{
if
(
empty
(
$examineTime
))
{
$errMsg
[]
=
"检货时间不能为空! (第${lineNo}行),请修改为 20
00-01-01
这种格式后再次提交"
;
$errMsg
[]
=
"检货时间不能为空! (第${lineNo}行),请修改为 20
22/10/10
这种格式后再次提交"
;
}
}
if
(
!
isDateTime
(
$examineTime
))
{
if
(
!
empty
(
$examineTime
)
&&!
isDateTime
(
$examineTime
))
{
$errMsg
[]
=
"检货时间格式不规范! (第${lineNo}行),请修改为 2022/10/10 这种格式后再次提交"
;
$errMsg
[]
=
"检货时间格式不规范! (第${lineNo}行),请修改为 2022/10/10 这种格式后再次提交"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment