Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
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
86c9b021
authored
Nov 16, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
下单导入添加判断
parent
bac54290
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
app/Http/Controllers/AddOrderController.php
app/Http/Controllers/AddOrderController.php
View file @
86c9b021
...
...
@@ -839,6 +839,16 @@ Class AddOrderController extends Controller
return
;
}
if
(
$type
==
1
&&
$val
[
'buyer_id'
]
==
'平台'
)
{
if
(
!
$val
[
'id'
])
{
$err
[]
=
'第'
.
(
$key
+
1
)
.
'行,采购员为平台时,SKUID必填'
;
return
;
}
else
if
(
strlen
(
$val
[
'id'
])
==
19
)
{
$err
[]
=
'第'
.
(
$key
+
1
)
.
'行,采购员为平台时,必须填写自营SKUID'
;
return
;
}
}
// if ($type == 1 && !$val['standard_brand_name']) {
// $err[] = '第'.($key+1).'行,标准品牌不能为空';
// return;
...
...
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