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
de1de14a
authored
Jun 30, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
替换模板
parent
5fd4ef4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
app/Http/Controllers/AddOrderController.php
resources/views/addOrder/content.blade.php
app/Http/Controllers/AddOrderController.php
View file @
de1de14a
...
...
@@ -826,10 +826,10 @@ Class AddOrderController extends Controller
return
;
}
if
(
$type
==
1
&&
!
$val
[
'standard_brand_name'
])
{
$err
[]
=
'第'
.
$key
.
'行,标准品牌不能为空'
;
return
;
}
//
if ($type == 1 && !$val['standard_brand_name']) {
//
$err[] = '第'.$key.'行,标准品牌不能为空';
//
return;
//
}
if
(
$val
[
'num'
]
<=
0
)
{
$err
[]
=
'第'
.
$key
.
'行,商品数量等于或小于0'
;
...
...
resources/views/addOrder/content.blade.php
View file @
de1de14a
...
...
@@ -295,7 +295,7 @@
<div
class=
"batch-btn"
>
<a
class=
"btn btn-success goods_import"
data-type=
"1"
>
批量导入物料
</a>
<a
class=
"btn btn-info"
href=
"http://img.ichunt.com/doc/excel/template/%E8%81%94%E8%90%A5%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx"
>
联营物料模板下载
</a>
<a
class=
"btn btn-info"
href=
"http://img.ichunt.com/doc/excel/template/%E8%81%94%E8%90%A5%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5%E
8%AE%A2%E5%8D%95%E
6%A8%A1%E6%9D%BF.xlsx"
>
联营物料模板下载
</a>
</div>
</div>
</div>
...
...
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