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
85b42256
authored
May 22, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
去掉同步状态
parent
25060136
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
21 deletions
public/js/self_order.js
resources/views/selfOrder/content.blade.php
public/js/self_order.js
View file @
85b42256
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
order_invoice_status
=
$
(
'#order_invoice_status'
).
data
(
'default'
),
order_invoice_status
=
$
(
'#order_invoice_status'
).
data
(
'default'
),
order_source_adtag
=
$
(
'input[name="order_source_adtag"]'
).
val
(),
order_source_adtag
=
$
(
'input[name="order_source_adtag"]'
).
val
(),
test_order
=
$
(
'input[name=test_order]'
),
test_order
=
$
(
'input[name=test_order]'
),
erp_order_id
=
$
(
'#erp_order_id'
).
data
(
'default'
),
listUrl
=
'/self_order'
;
listUrl
=
'/self_order'
;
listUrl
+=
'?order_type='
+
order_type
;
listUrl
+=
'?order_type='
+
order_type
;
...
@@ -63,10 +62,6 @@
...
@@ -63,10 +62,6 @@
listUrl
+=
'&order_source_adtag='
+
order_source_adtag
;
listUrl
+=
'&order_source_adtag='
+
order_source_adtag
;
}
}
if
(
erp_order_id
)
{
listUrl
+=
'&erp_order_id='
+
erp_order_id
;
}
if
(
test_order
.
is
(
':checked'
))
{
if
(
test_order
.
is
(
':checked'
))
{
listUrl
+=
'&test_order='
+
1
;
listUrl
+=
'&test_order='
+
1
;
}
}
...
@@ -90,16 +85,15 @@
...
@@ -90,16 +85,15 @@
order_payment_mode
=
$
(
'#order_payment_mode'
).
data
(
'default'
),
order_payment_mode
=
$
(
'#order_payment_mode'
).
data
(
'default'
),
order_invoice_status
=
$
(
'#order_invoice_status'
).
data
(
'default'
),
order_invoice_status
=
$
(
'#order_invoice_status'
).
data
(
'default'
),
order_source_adtag
=
$
(
'input[name="order_source_adtag"]'
).
val
(),
order_source_adtag
=
$
(
'input[name="order_source_adtag"]'
).
val
(),
test_order
=
$
(
'input[name=test_order]'
),
test_order
=
$
(
'input[name=test_order]'
);
erp_order_id
=
$
(
'#erp_order_id'
).
data
(
'default'
);
if
(
test_order
.
length
)
{
if
(
test_order
.
length
)
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
order_invoice_status
&&
!
order_send
&&
!
order_source_pf
&&
!
order_source_adtag
&&
!
erp_order_id
&&
!
test_order
.
is
(
':checked'
))
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
order_invoice_status
&&
!
order_send
&&
!
order_source_pf
&&
!
order_source_adtag
&&
!
test_order
.
is
(
':checked'
))
{
layer
.
msg
(
'请选择筛选条件,再导出!'
);
layer
.
msg
(
'请选择筛选条件,再导出!'
);
return
false
;
return
false
;
}
}
}
else
{
}
else
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
order_invoice_status
&&
!
order_send
&&
!
order_source_pf
&&
!
order_source_adtag
&&
!
erp_order_id
)
{
if
(
!
order_contain
&&
!
time_start
&&
!
time_end
&&
!
order_payment_mode
&&
!
order_status
&&
!
order_invoice_status
&&
!
order_send
&&
!
order_source_pf
&&
!
order_source_adtag
)
{
layer
.
msg
(
'请选择筛选条件,再导出!'
);
layer
.
msg
(
'请选择筛选条件,再导出!'
);
return
false
;
return
false
;
}
}
...
@@ -119,7 +113,7 @@
...
@@ -119,7 +113,7 @@
test_order
=
''
;
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
+
'&order_invoice_status='
+
order_invoice_status
+
'&order_send='
+
order_send
+
'&order_source_pf='
+
order_source_pf
+
'&order_source_adtag='
+
order_source_adtag
+
'&
erp_order_id='
+
erp_order_id
+
'&
test_order='
+
test_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
+
'&order_invoice_status='
+
order_invoice_status
+
'&order_send='
+
order_send
+
'&order_source_pf='
+
order_source_pf
+
'&order_source_adtag='
+
order_source_adtag
+
'&test_order='
+
test_order
+
'&order_goods_type='
+
2
;
})
})
// 选择查看测试订单
// 选择查看测试订单
...
...
resources/views/selfOrder/content.blade.php
View file @
85b42256
...
@@ -104,17 +104,7 @@
...
@@ -104,17 +104,7 @@
<input
type=
"text"
name=
"order_source_adtag"
value=
"{{$condition['order_source_adtag']}}"
placeholder=
"请输入内容"
>
<input
type=
"text"
name=
"order_source_adtag"
value=
"{{$condition['order_source_adtag']}}"
placeholder=
"请输入内容"
>
</dd>
</dd>
</dl>
</dl>
<dl>
<dt>
同步状态:
</dt>
<dd>
<div
class=
"droplist"
data-default=
"{{$condition['erp_order_id']}}"
id=
"erp_order_id"
name=
"erp_order_id"
>
<ul
class=
"dropdown-menu"
>
<li
data-val=
""
class=
"active"
>
全部
</li>
<li
data-val=
"1"
>
已同步
</li>
</ul>
</div>
</dd>
</dl>
@if (in_array('self_check_test_order', $userPerms))
@if (in_array('self_check_test_order', $userPerms))
<dl>
<dl>
<dt></dt>
<dt></dt>
...
...
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