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
8bbbe1db
authored
Nov 28, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
翻译
parent
2f378093
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
app/Admin/Controllers/OrderController.php
public/assets/js/order/index.js
resources/lang/en/order.php
resources/lang/zh_CN/order.php
app/Admin/Controllers/OrderController.php
View file @
8bbbe1db
...
...
@@ -252,7 +252,7 @@ JS
//基本信息
$info
[
"baseInfo"
][
"order_sn"
]
=
$orderInfo
[
"order_sn"
];
$info
[
"baseInfo"
][
"status"
]
=
$orderInfo
[
"status"
];
$info
[
"baseInfo"
][
"status_cn"
]
=
Arr
::
get
(
a
rray_flip
(
Order
::
$STATUS_FORAMT
),
$orderInfo
[
"status"
],
""
);
$info
[
"baseInfo"
][
"status_cn"
]
=
Arr
::
get
(
a
dmin_trans
(
"order.options.status"
),
$orderInfo
[
"status"
],
""
);
$info
[
"baseInfo"
][
"company_name"
]
=
$orderInfo
[
"company_name"
];
$info
[
"baseInfo"
][
"user_sn"
]
=
$orderInfo
[
"scm_user"
][
"user_sn"
]
??
""
;
$info
[
"baseInfo"
][
"name"
]
=
$orderInfo
[
"scm_user"
][
"name"
]
??
""
;
...
...
public/assets/js/order/index.js
View file @
8bbbe1db
...
...
@@ -34,7 +34,7 @@ layui.use(['form', 'table', 'laydate'], function () {
{
field
:
'purchase_name'
,
title
:
translation
.
purchase_name
,
width
:
120
},
{
field
:
''
,
title
:
translation
.
currncy
,
width
:
80
,
templet
(
d
)
{
return
'美元'
return
translation
.
usd
;
}
},
{
...
...
resources/lang/en/order.php
View file @
8bbbe1db
...
...
@@ -10,6 +10,7 @@ return [
'是否确认审核'
=>
'Do you confirm the audit'
,
'审核成功'
=>
'Successful audit'
,
'是否确认反审核'
=>
'Whether to confirm counteraudit'
,
],
'fields'
=>
[
'order_sn'
=>
'Order No.'
,
...
...
@@ -156,5 +157,6 @@ return [
"modify"
=>
"modify"
,
"save"
=>
"save"
,
"operation_success"
=>
"operation_success"
,
'usd'
=>
'USD'
,
]
];
resources/lang/zh_CN/order.php
View file @
8bbbe1db
...
...
@@ -10,6 +10,7 @@ return [
'是否确认审核'
=>
'是否确认审核'
,
'审核成功'
=>
'是否确认审核'
,
'是否确认反审核'
=>
'是否确认审核'
,
],
'fields'
=>
[
'order_sn'
=>
'订单编号号'
,
...
...
@@ -151,5 +152,6 @@ return [
"modify"
=>
"修改"
,
"save"
=>
"保存"
,
"operation_success"
=>
"操作成功"
,
'usd'
=>
'美元'
,
]
];
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