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
78da315b
authored
Aug 24, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
导入校验
parent
9f9acde1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
app/Http/Services/SupplierExaminationService.php
app/Http/Services/SupplierExaminationService.php
View file @
78da315b
...
...
@@ -111,7 +111,7 @@ class SupplierExaminationService
$errMsg
[]
=
"检货时间不能为空! (第${lineNo}行),请修改为 2022/10/10 这种格式后再次提交"
;
}
if
(
!
empty
(
$examineTime
)
&&
!
isDateTime
(
$examineTime
))
{
if
(
!
empty
(
$examineTime
)
&&
!
isDateTime
(
$examineTime
))
{
$errMsg
[]
=
"检货时间格式不规范! (第${lineNo}行),请修改为 2022/10/10 这种格式后再次提交"
;
}
...
...
@@ -234,6 +234,9 @@ class SupplierExaminationService
'备注'
];
foreach
(
$header
as
$key
=>
$item
)
{
if
(
$key
>
count
(
$validHeader
)
-
1
)
{
continue
;
}
if
(
strpos
(
$item
,
$validHeader
[
$key
])
===
false
)
{
return
false
;
}
...
...
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