Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
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
76a0d136
authored
Dec 01, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://git.ichunt.net/semour/semour_admin
parents
d962af76
08872ccb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
app/Admin/Controllers/OrderController.php
resources/lang/zh_CN/scm-user.php
app/Admin/Controllers/OrderController.php
View file @
76a0d136
...
@@ -68,15 +68,15 @@ class OrderController extends AdminController
...
@@ -68,15 +68,15 @@ class OrderController extends AdminController
$grid
->
column
(
'company_name'
)
->
display
(
function
(
$company_name
)
{
$grid
->
column
(
'company_name'
)
->
display
(
function
(
$company_name
)
{
return
$company_name
?
$company_name
:
"-"
;
return
$company_name
?
$company_name
:
"-"
;
});
});
$grid
->
column
(
'scmUser.user_sn'
,
admin_trans
(
'scm-user.
option
s.user_sn'
))
->
link
(
function
()
{
$grid
->
column
(
'scmUser.user_sn'
,
admin_trans
(
'scm-user.
field
s.user_sn'
))
->
link
(
function
()
{
return
admin_url
(
'smc_user/'
.
$this
->
user_id
);
return
admin_url
(
'smc_user/'
.
$this
->
user_id
);
});
});
$grid
->
column
(
'scmUser.name'
,
admin_trans
(
'scm-user.
option
s.name'
));
$grid
->
column
(
'scmUser.name'
,
admin_trans
(
'scm-user.
field
s.name'
));
$grid
->
column
(
'order_amount'
)
->
help
(
'订单详情里-结算信息的“运费”“支付手续费”“其他费用”为空时;应付金额一栏为“待确认”'
);
$grid
->
column
(
'order_amount'
)
->
help
(
'订单详情里-结算信息的“运费”“支付手续费”“其他费用”为空时;应付金额一栏为“待确认”'
);
$grid
->
column
(
'order_pay_type'
)
->
using
(
admin_trans
(
'order.options.order_pay_type'
))
->
sortable
();
$grid
->
column
(
'order_pay_type'
)
->
using
(
admin_trans
(
'order.options.order_pay_type'
))
->
sortable
();
$grid
->
column
(
'order_user_pay_type'
,
admin_trans
(
"order.field.order_user_pay_type"
))
->
display
(
function
()
{
$grid
->
column
(
'order_user_pay_type'
,
admin_trans
(
"order.field
s
.order_user_pay_type"
))
->
display
(
function
()
{
return
Arr
::
get
(
admin_trans
(
"order.options_user_pay_type"
),
$this
->
order_user_pay_type
,
""
);
return
Arr
::
get
(
admin_trans
(
"order.options
.order
_user_pay_type"
),
$this
->
order_user_pay_type
,
""
);
});
});
$grid
->
column
(
'sale_name'
);
$grid
->
column
(
'sale_name'
);
$grid
->
column
(
'order_remark'
)
->
limit
(
10
);
$grid
->
column
(
'order_remark'
)
->
limit
(
10
);
...
...
resources/lang/zh_CN/scm-user.php
View file @
76a0d136
...
@@ -5,7 +5,7 @@ return [
...
@@ -5,7 +5,7 @@ return [
'scm-user'
=>
'ScmUser'
,
'scm-user'
=>
'ScmUser'
,
],
],
'fields'
=>
[
'fields'
=>
[
'name'
=>
'
用户名
'
,
'name'
=>
'
联系人
'
,
'user_sn'
=>
'客户编码'
,
'user_sn'
=>
'客户编码'
,
'email'
=>
'邮箱'
,
'email'
=>
'邮箱'
,
'email_verified_at'
=>
'邮箱校验时间'
,
'email_verified_at'
=>
'邮箱校验时间'
,
...
...
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