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
508e5e76
authored
Nov 29, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
自营取消新订单筛选
parent
147a372f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
public/js/self_order.js
resources/views/selfOrder/content.blade.php
public/js/self_order.js
View file @
508e5e76
...
...
@@ -21,7 +21,7 @@
order_source_ptag
=
$
(
'input[name="order_source_ptag"]'
).
val
(),
test_order
=
$
(
'input[name=test_order]'
),
is_new
=
$
(
'#is_new'
).
data
(
'default'
),
is_new_order
=
$
(
'#is_new_order'
).
data
(
'default'
),
//
is_new_order = $('#is_new_order').data('default'),
listUrl
=
'/self_order'
;
listUrl
+=
'?order_type='
+
order_type
;
...
...
@@ -78,9 +78,9 @@
listUrl
+=
'&is_new='
+
is_new
;
}
if
(
is_new_order
!==
''
)
{
listUrl
+=
'&is_new_order='
+
is_new_order
;
}
//
if (is_new_order !== '') {
//
listUrl += '&is_new_order=' + is_new_order;
//
}
if
(
test_order
.
is
(
':checked'
))
{
listUrl
+=
'&test_order='
+
1
;
...
...
@@ -108,16 +108,16 @@
order_source_adtag
=
$
(
'input[name="order_source_adtag"]'
).
val
(),
order_source_ptag
=
$
(
'input[name="order_source_ptag"]'
).
val
(),
is_new
=
$
(
'#is_new'
).
data
(
'default'
),
is_new_order
=
$
(
'#is_new_order'
).
data
(
'default'
),
//
is_new_order = $('#is_new_order').data('default'),
test_order
=
$
(
'input[name=test_order]'
);
if
(
test_order
.
length
)
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
sale_type
&&
!
order_invoice_status
&&
!
order_source_pf
&&
!
order_source_adtag
&&
!
order_source_ptag
&&
!
is_new
&&
!
is_new_order
&&
!
test_order
.
is
(
':checked'
))
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
sale_type
&&
!
order_invoice_status
&&
!
order_source_pf
&&
!
order_source_adtag
&&
!
order_source_ptag
&&
!
is_new
&&
!
test_order
.
is
(
':checked'
))
{
layer
.
msg
(
'请选择筛选条件,再导出!'
);
return
false
;
}
}
else
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
sale_type
&&
!
order_invoice_status
&&
!
order_source_pf
&&
!
order_source_adtag
&&
!
order_source_ptag
&&
!
is_new
&&
!
is_new_order
)
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
sale_type
&&
!
order_invoice_status
&&
!
order_source_pf
&&
!
order_source_adtag
&&
!
order_source_ptag
&&
!
is_new
)
{
layer
.
msg
(
'请选择筛选条件,再导出!'
);
return
false
;
}
...
...
@@ -137,7 +137,7 @@
test_order
=
''
;
}
location
.
href
=
'/export?order_type='
+
order_type
+
'&order_contain='
+
order_contain
+
'&time_start='
+
time_start
+
'&time_end='
+
time_end
+
'&order_payment_mode='
+
order_payment_mode
+
'&order_status='
+
order_status
+
'&sale_type='
+
sale_type
+
'&order_invoice_status='
+
order_invoice_status
+
'&order_source_pf='
+
order_source_pf
+
'&order_source_adtag='
+
order_source_adtag
+
'&order_source_ptag='
+
order_source_ptag
+
'&test_order='
+
test_order
+
'&is_new='
+
is_new
+
'&
is_new_order='
+
is_new_order
+
'&
order_goods_type='
+
2
;
location
.
href
=
'/export?order_type='
+
order_type
+
'&order_contain='
+
order_contain
+
'&time_start='
+
time_start
+
'&time_end='
+
time_end
+
'&order_payment_mode='
+
order_payment_mode
+
'&order_status='
+
order_status
+
'&sale_type='
+
sale_type
+
'&order_invoice_status='
+
order_invoice_status
+
'&order_source_pf='
+
order_source_pf
+
'&order_source_adtag='
+
order_source_adtag
+
'&order_source_ptag='
+
order_source_ptag
+
'&test_order='
+
test_order
+
'&is_new='
+
is_new
+
'&order_goods_type='
+
2
;
})
// 选择查看测试订单
...
...
resources/views/selfOrder/content.blade.php
View file @
508e5e76
...
...
@@ -148,7 +148,7 @@
</div>
</dd>
</dl>
<dl>
<
!-- <
dl>
<dt>新订单:</dt>
<dd style="width: 115px;">
<div class="droplist" data-default="{{$condition['is_new_order']}}" id="is_new_order" name="is_new_order">
...
...
@@ -159,7 +159,7 @@
</ul>
</div>
</dd>
</dl>
</dl>
-->
@if (in_array('self_check_test_order', $userPerms))
<dl>
...
...
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