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
939def73
authored
Nov 19, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加采购时间搜索
parent
bac54290
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletions
app/Http/Controllers/OrderController.php
public/js/list.js
resources/views/orderlist/content.blade.php
app/Http/Controllers/OrderController.php
View file @
939def73
...
...
@@ -443,6 +443,7 @@ Class OrderController extends Controller
$map
[
'status_extend'
]
=
$request
->
input
(
'status_extend'
,
''
);
$map
[
'is_manager_audit'
]
=
$request
->
input
(
'is_manager_audit'
,
''
);
$map
[
'order_remark'
]
=
$request
->
input
(
'order_remark'
,
''
);
$map
[
'pur_time'
]
=
$request
->
input
(
'pur_time'
,
''
);
$perm
=
new
PermController
;
...
...
public/js/list.js
View file @
939def73
...
...
@@ -97,7 +97,8 @@
order_type_extend
=
$
(
'#order_type_extend'
).
val
()
?
$
(
'#order_type_extend'
).
val
()
:
''
,
status_extend
=
$
(
'#status_extend'
).
val
()
?
$
(
'#status_extend'
).
val
()
:
''
,
is_manager_audit
=
$
(
'#is_manager_audit'
).
val
()
?
$
(
'#is_manager_audit'
).
val
()
:
''
;
order_remark
=
$
(
'#order_remark'
).
val
()
?
$
(
'#order_remark'
).
val
()
:
''
;
order_remark
=
$
(
'#order_remark'
).
val
()
?
$
(
'#order_remark'
).
val
()
:
''
,
pur_time
=
$
(
'input[name="pur_time"]'
).
val
();
if
(
url
==
'/export'
)
{
if
(
type
==
1
)
{
// 联营
...
...
@@ -243,6 +244,10 @@
listUrl
+=
'&order_remark='
+
order_remark
;
}
if
(
pur_time
){
listUrl
+=
'&pur_time='
+
pur_time
;
}
if
(
url
==
'/export'
)
{
listUrl
+=
'&order_goods_type='
+
type
;
}
...
...
resources/views/orderlist/content.blade.php
View file @
939def73
...
...
@@ -234,6 +234,13 @@
<input
type=
"text"
id=
"order_remark"
name=
"order_remark"
value=
"{{$condition['order_remark']}}"
placeholder=
"请输入公司名称"
>
</dd>
</dl>
<dl>
<dt>
采购时间:
</dt>
<dd
style=
"width: 120px;"
>
<input
type=
"text"
name=
"pur_time"
value=
"{{ !empty($condition['pur_time']) ? $condition['pur_time'] : '' }}"
class=
"Wdate "
onfocus=
"WdatePicker({dateFmt:'yyyy/MM'})"
placeholder=
"采购时间"
autocomplete=
"off"
style=
"width: 140px;"
/>
</dd>
</dl>
@endif
@if (in_array('check_test_order', $userPerms))
...
...
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