Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
7ff704a6
Commit
7ff704a6
authored
Dec 24, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改翻译
parent
7f77e82f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
54 deletions
+72
-54
index.less
src/components/AnchorPage/index.less
+4
-0
HeaderDropdown.tsx
src/layouts/components/HeaderDropdown.tsx
+1
-1
commodity.ts
src/locales/en-US/commodity.ts
+1
-1
index.tsx
src/pages/authConfig/memberSystem/index.tsx
+15
-1
info.tsx
src/pages/contract/funds/editbill/components/info.tsx
+41
-41
table.tsx
src/pages/contract/funds/editbill/components/table.tsx
+10
-10
No files found.
src/components/AnchorPage/index.less
View file @
7ff704a6
...
...
@@ -51,6 +51,10 @@
&-anchors {
display: flex;
align-items: center;
&:hover {
overflow-x: auto;
}
}
:global {
...
...
src/layouts/components/HeaderDropdown.tsx
View file @
7ff704a6
...
...
@@ -78,12 +78,12 @@ const HeaderDropdown: React.FC = () => {
console
.
log
(
getLocale
(),
"locale"
)
if
(
locales
)
{
setLocale
(
locales
as
any
,
true
);
removeCookie
(
'locales'
,
{
path
:
'/'
,
domain
:
getTopDomainByHost
(
TOP_DOMAIN_NO_PORT
,
true
)
})
}
setCurrentLangKey
(
getLocale
())
},
[])
const
setLang
=
(
langItem
:
countryItem
)
=>
{
removeCookie
(
'locales'
,
{
path
:
'/'
,
domain
:
getTopDomainByHost
(
TOP_DOMAIN_NO_PORT
,
true
)
})
setLocale
(
langItem
.
key
,
true
)
}
...
...
src/locales/en-US/commodity.ts
View file @
7ff704a6
...
...
@@ -9,7 +9,7 @@ export default {
'commodity.goods.columns.brand'
:
'Brand'
,
'commodity.goods.columns.unit'
:
'Unit'
,
'commodity.goods.columns.costPrice'
:
'Into unit price'
,
'commodity.goods.columns.currency'
:
'
¥
'
,
'commodity.goods.columns.currency'
:
'
$
'
,
'commodity.goods.columns.batch'
:
'Import batch'
,
'commodity.goods.columns.option'
:
'Operation'
,
'commodity.goods.columns.option.button.1'
:
'Modify'
,
...
...
src/pages/authConfig/memberSystem/index.tsx
View file @
7ff704a6
...
...
@@ -14,7 +14,6 @@ import { IButtonFilter, IFormFilter } from 'god/dist/src/standard-table/TableCon
import
{
getMemberRolePage
,
postMemberRoleDelete
,
postMemberRoleUpdatestatus
}
from
'@/services/MemberV2Api'
;
import
StatusSwitch
from
'@/components/StatusSwitch'
;
import
EyePreview
from
'@/components/EyePreview'
;
import
{
STATUS_ENUM
}
from
'@/constants'
;
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
import
PopConfirmControl
from
'@/components/PopConfirmControl'
;
...
...
@@ -94,6 +93,21 @@ const MemberSystem: React.FC<{}> = () => {
}
];
const
STATUS_ENUM
=
[
{
label
:
intl
.
formatMessage
({
id
:
'common.text.all'
}),
value
:
null
},
{
label
:
intl
.
formatMessage
({
id
:
'common.status.effective'
}),
value
:
1
},
{
label
:
intl
.
formatMessage
({
id
:
'common.status.invalid'
}),
value
:
0
}
]
return
(
<
PageHeaderWrapper
>
...
...
src/pages/contract/funds/editbill/components/info.tsx
View file @
7ff704a6
This diff is collapsed.
Click to expand it.
src/pages/contract/funds/editbill/components/table.tsx
View file @
7ff704a6
...
...
@@ -66,13 +66,13 @@ const table = (props: any) => {
title
:
(
<
Space
direction=
'vertical'
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.danjujine'
})
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
¥
{
toorderAmount
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
toorderAmount
}
</
Text
>
</
Space
>
),
dataIndex
:
'orderAmount'
,
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
div
>
<
div
>
¥
{
record
.
orderType
==
2
?
`-${text}`
:
text
}
</
div
>
<
div
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
record
.
orderType
==
2
?
`-${text}`
:
text
}
</
div
>
</
div
>
},
...
...
@@ -90,12 +90,12 @@ const table = (props: any) => {
title
:
(
<
Space
direction=
'vertical'
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.yifukuan'
})
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
¥
{
topayAmount
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
topayAmount
}
</
Text
>
</
Space
>
),
render
:
(
text
)
=>
<
div
>
<
div
>
¥
{
text
?
text
:
0
}
</
div
>
<
div
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
text
?
text
:
0
}
</
div
>
</
div
>
},
{
...
...
@@ -103,12 +103,12 @@ const table = (props: any) => {
title
:
(
<
Space
direction=
'vertical'
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.yiqingkuandaifukuan'
})
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
¥
{
tounPayApplyAmount
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
tounPayApplyAmount
}
</
Text
>
</
Space
>
),
render
:
(
text
,
record
)
=>
<
div
>
<
div
>
¥
{
text
?
text
:
0
}
</
div
>
<
div
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
text
?
text
:
0
}
</
div
>
</
div
>
},
{
...
...
@@ -116,13 +116,13 @@ const table = (props: any) => {
title
:
(
<
Space
direction=
'vertical'
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.qingkuanjine'
})
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
¥
{
applyAmount
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
applyAmount
}
</
Text
>
</
Space
>
),
render
:
(
_
,
item
,
index
)
=>
<
Input
addonBefore=
"¥"
addonBefore=
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
style=
{
{
width
:
130
,
}
}
...
...
@@ -257,7 +257,7 @@ const table = (props: any) => {
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
div
>
<
div
>
¥
{
text
}
</
div
>
<
div
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
text
}
</
div
>
</
div
>
},
{
...
...
@@ -266,7 +266,7 @@ const table = (props: any) => {
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
div
>
<
div
>
¥
{
text
}
</
div
>
<
div
>
{
intl
.
formatMessage
({
id
:
'commodity.products.directChannel.columns.currency'
})
}
{
text
}
</
div
>
</
div
>
},
]
...
...
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