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
a9a4f72a
authored
Jan 07, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1. 去掉客服折叠效果;
2. 调整新增商品采购员;
parent
da26ef9d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
18 deletions
app/Http/Controllers/AddOrderController.php
app/Http/Controllers/OrderController.php
public/js/goods.js
resources/views/detail/addGoodsNoSkuid.blade.php
resources/views/orderlist/content.blade.php
resources/views/selfOrder/content.blade.php
app/Http/Controllers/AddOrderController.php
View file @
a9a4f72a
...
...
@@ -819,11 +819,7 @@ Class AddOrderController extends Controller
$data
[
'add_goods_number'
]
=
$request
->
input
(
'add_goods_number'
,
0
);
$data
[
'add_goods_price'
]
=
$request
->
input
(
'add_goods_price'
,
0
);
$data
[
'add_delivery_time'
]
=
$request
->
input
(
'add_delivery_time'
,
''
);
$CmsModel
=
new
CmsModel
();
$add_buyer_id
=
$request
->
input
(
'add_buyer_id'
,
0
);
$data
[
'add_buyer_id'
]
=
$add_buyer_id
?
$CmsModel
->
getSaleId
(
$add_buyer_id
)
:
0
;
$data
[
'add_buyer_id'
]
=
$request
->
input
(
'add_buyer_id'
,
0
);
$data
[
'add_batch'
]
=
$request
->
input
(
'add_batch'
,
''
);
$data
[
'add_remarks'
]
=
$request
->
input
(
'add_remarks'
,
''
);
}
else
{
...
...
app/Http/Controllers/OrderController.php
View file @
a9a4f72a
...
...
@@ -844,6 +844,9 @@ Class OrderController extends Controller
}
else
{
$this
->
selfOtherData
(
$info
,
$id
);
}
}
else
{
$perm
=
new
PermController
;
$info
[
'buyers'
]
=
$perm
->
getRoleUsers
(
$request
,
'采购员'
);
}
// 账期订单跳转到详情页
...
...
public/js/goods.js
View file @
a9a4f72a
...
...
@@ -95,7 +95,7 @@
var
add_goods_number
=
$
(
'input[name=add_goods_number]'
).
val
();
var
add_goods_price
=
$
(
'input[name=add_goods_price]'
).
val
();
var
add_delivery_time
=
$
(
'input[name=add_delivery_time]'
).
val
();
var
add_buyer_id
=
$
(
'
inpu
t[name=add_buyer_id]'
).
val
();
var
add_buyer_id
=
$
(
'
selec
t[name=add_buyer_id]'
).
val
();
var
add_batch
=
$
(
'input[name=add_batch]'
).
val
();
var
add_remarks
=
$
(
'textarea[name=add_remarks]'
).
val
();
var
reg
=
/
\d
/
;
...
...
@@ -177,6 +177,9 @@
layer
.
close
(
index
)
}
})
$
(
"#add_buyer_id"
).
selectpicker
();
$
(
'.layui-layer-content'
).
css
(
'overflow'
,
'visible'
);
})
// 获取SKU信息
...
...
resources/views/detail/addGoodsNoSkuid.blade.php
View file @
a9a4f72a
...
...
@@ -44,8 +44,15 @@
</div>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-4 control-label"
>
采购员
</label>
<div
class=
"col-sm-8"
>
<input
class=
"form-control"
type=
"text"
name=
"add_buyer_id"
value=
""
placeholder=
"请输入采购员"
>
<div
class=
"col-sm-8"
style=
"width:310px;"
>
<select
class=
"form-control"
name=
"add_buyer_id"
id=
"add_buyer_id"
data-live-search=
"true"
data-size=
"7"
>
<option
value=
""
>
请选择采购员
</option>
@if (isset($buyers))
@foreach ($buyers as $v)
<option
value=
"{{ $v->userId }}"
>
{{ $v->name }}
</option>
@endforeach
@endif
</select>
</div>
</div>
<div
class=
"form-group"
>
...
...
resources/views/orderlist/content.blade.php
View file @
a9a4f72a
...
...
@@ -8,12 +8,7 @@
<input
type=
"hidden"
name=
"page_type"
id=
"page_type"
value=
"1"
>
<div
class=
"tabs-box"
>
@if (in_array($role, [7, 15, 17, 19]))
<a
href=
"#list_search"
class=
"btn btn-primary"
data-toggle=
"collapse"
>
高级筛选
</a>
<div
id=
"list_search"
class=
"row-fluid search-box collapse"
>
@else
<div
class=
"row-fluid search-box"
>
@endif
<div
class=
"span12"
>
<table
style=
"width:100%"
>
<tr>
...
...
resources/views/selfOrder/content.blade.php
View file @
a9a4f72a
...
...
@@ -8,12 +8,7 @@
<input
type=
"hidden"
name=
"page_type"
id=
"page_type"
value=
"2"
>
<div
class=
"tabs-box"
>
@if (in_array($role, [7, 15, 17, 19]))
<a
href=
"#list_search"
class=
"btn btn-primary"
data-toggle=
"collapse"
>
高级筛选
</a>
<div
id=
"list_search"
class=
"row-fluid search-box collapse"
>
@else
<div
class=
"row-fluid search-box"
>
@endif
<div
class=
"span12"
>
<table
style=
"width:100%"
>
<tr>
...
...
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