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
4be1a29c
authored
Dec 24, 2019
by
allen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复筛选js bug
parent
dfef04bc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
app/Http/Controllers/OrderController.php
public/js/order.js
resources/views/orderlist/content.blade.php
app/Http/Controllers/OrderController.php
View file @
4be1a29c
...
...
@@ -2101,6 +2101,12 @@ Class OrderController extends Controller
exit
;
}
if
(
empty
(
$value
[
'buyerName'
])){
$msg
=
'商品:'
.
$tmp
[
'goods'
]
.
'缺少采购人员<br/>'
.
'请填写采购后再发送'
;
echo
json_encode
([
'errcode'
=>-
1
,
'errmsg'
=>
$msg
]);
exit
;
}
//批次
$tmp
[
'deliveryTime'
]
=
$value
[
'batch'
];
$tmp
[
'send_email'
]
=
!
empty
(
$value
[
'send_email'
])
?
$value
[
'send_email'
]
:
''
;
...
...
public/js/order.js
View file @
4be1a29c
...
...
@@ -173,7 +173,6 @@
}
if
(
select_time_val
){
listUrl
+=
'&select_time_val='
+
select_time_val
;
}
...
...
resources/views/orderlist/content.blade.php
View file @
4be1a29c
...
...
@@ -542,7 +542,7 @@
if
(
$id
==
''
){
//创建日期
$
(
'#start_time'
).
find
(
'input'
).
attr
(
'name'
,
'time_start'
);
$
(
'#end_time'
).
find
(
'input'
).
attr
(
'name'
,
'time_
start
'
);
$
(
'#end_time'
).
find
(
'input'
).
attr
(
'name'
,
'time_
end
'
);
}
else
if
(
$id
==
1
){
...
...
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