切换导航条
此项目
正在载入...
登录
何书鹏
/
anttest
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
何书鹏
4 years ago
提交
d33e511bf148a899e218c02c9ba535f84b3fc718
1 个父辈
ca4f8318
经销商订单
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
4 行增加
和
2 行删除
application/admin/controller/shopro/order/Order.php
public/assets/js/backend/shopro/order/order.js
application/admin/controller/shopro/order/Order.php
查看文件 @
d33e511
...
...
@@ -55,7 +55,7 @@ class Order extends Base
/**
* 查看
*/
public
function
index
()
public
function
index
(
$dealer_id
=
null
)
{
//当前是否为关联查询
$this
->
relationSearch
=
true
;
...
...
@@ -97,6 +97,7 @@ class Order extends Base
return
$this
->
success
(
'操作成功'
,
null
,
$result
);
}
$this
->
assignconfig
(
'dealer_id'
,
$dealer_id
);
return
$this
->
view
->
fetch
();
}
...
...
@@ -750,7 +751,7 @@ class Order extends Base
$nickname
=
isset
(
$filter
[
'nickname'
])
?
$filter
[
'nickname'
]
:
''
;
$mobile
=
isset
(
$filter
[
'user_phone'
])
?
$filter
[
'user_phone'
]
:
''
;
$goods_title
=
isset
(
$filter
[
'goods_title'
])
?
$filter
[
'goods_title'
]
:
''
;
$dealer_id
=
isset
(
$filter
[
'dealer_id'
])
?
$filter
[
'dealer_id'
]
:
''
;
$dealer_id
=
$this
->
request
->
get
(
'dealer_id'
,
''
)
;
$name
=
$this
->
model
->
getQuery
()
->
getTable
();
$tableName
=
$name
.
'.'
;
...
...
public/assets/js/backend/shopro/order/order.js
查看文件 @
d33e511
...
...
@@ -218,6 +218,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
loading
:
true
,
type
:
'GET'
,
data
:
{
dealer_id
:
Config
.
dealer_id
,
filter
:
JSON
.
stringify
(
filter
),
op
:
JSON
.
stringify
(
op
),
offset
:
that
.
offset
,
...
...
请
注册
或
登录
后发表评论