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
1a9584a9
authored
Aug 12, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加会员ID查询
parent
b4b506a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
app/Model/OrderModel.php
resources/views/orderlist/content.blade.php
resources/views/selfOrder/content.blade.php
app/Model/OrderModel.php
View file @
1a9584a9
...
...
@@ -17,8 +17,8 @@ class OrderModel extends Model
// 订单导出
public
function
orderExport
(
$request
,
$info
)
{
set_time_limit
(
30
0
);
ini_set
(
'memory_limit'
,
'
512
M'
);
set_time_limit
(
0
);
ini_set
(
'memory_limit'
,
'
2048
M'
);
$map
=
array
();
...
...
@@ -90,6 +90,8 @@ class OrderModel extends Model
$query
->
where
(
'it.goods_name'
,
'='
,
$map
[
'order_contain'
]);
}
else
if
(
$map
[
'order_type'
]
==
3
)
{
// 发票抬头
$query
->
where
(
'i.tax_title'
,
'='
,
$map
[
'order_contain'
]);
}
else
if
(
$map
[
'order_type'
]
==
4
)
{
$query
->
where
(
'o.user_id'
,
'='
,
$map
[
'order_contain'
]);
}
else
{
// 订单编号
$query
->
where
(
'o.order_sn'
,
'='
,
$map
[
'order_contain'
]);
}
...
...
resources/views/orderlist/content.blade.php
View file @
1a9584a9
...
...
@@ -19,7 +19,8 @@
<div
class=
"droplist"
data-default=
"{{$condition['order_type']}}"
id=
"order_type"
name=
"order_type"
>
<ul
class=
"dropdown-menu"
>
<li
class=
"order_type_tab active"
data-val=
""
>
订单编号
</li>
<li
class=
"order_type_tab"
data-val=
"1"
>
会员账号
</li>
<li
class=
"order_type_tab"
data-val=
"1"
>
会员账号
</li>
<li
class=
"order_type_tab"
data-val=
"4"
>
会员ID
</li>
<li
class=
"order_type_tab"
data-val=
"2"
>
型号名称
</li>
</ul>
</div>
...
...
resources/views/selfOrder/content.blade.php
View file @
1a9584a9
...
...
@@ -20,6 +20,7 @@
<ul
class=
"dropdown-menu"
>
<li
class=
"order_type_tab active"
data-val=
""
>
订单编号
</li>
<li
class=
"order_type_tab"
data-val=
"1"
>
会员账号
</li>
<li
class=
"order_type_tab"
data-val=
"4"
>
会员ID
</li>
<li
class=
"order_type_tab"
data-val=
"2"
>
型号名称
</li>
<li
class=
"order_type_tab"
data-val=
"3"
>
发票抬头
</li>
</ul>
...
...
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