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
shenshaokai
jinfa-platform
Commits
46ac74c6
Commit
46ac74c6
authored
Dec 20, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改翻译
parent
25226f9f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
11 deletions
+28
-11
components.ts
src/locales/en-US/components.ts
+1
-0
components.ts
src/locales/ko-KR/components.ts
+1
-0
components.ts
src/locales/zh-CN/components.ts
+1
-0
add.tsx
...isticsAbility/logisticsAdminister/freightTemplate/add.tsx
+24
-10
ruleSetting.tsx
...ages/transaction/purchaseRules/components/ruleSetting.tsx
+1
-1
No files found.
src/locales/en-US/components.ts
View file @
46ac74c6
...
@@ -268,4 +268,5 @@ export default {
...
@@ -268,4 +268,5 @@ export default {
'components.huiyuanfuwu'
:
'Member Services'
,
'components.huiyuanfuwu'
:
'Member Services'
,
'components.huiyuandenglu'
:
'Member login'
,
'components.huiyuandenglu'
:
'Member login'
,
'components.huiyuanzhuce'
:
'Member Registration'
,
'components.huiyuanzhuce'
:
'Member Registration'
,
'components.xuanzezhidinghetong'
:
'Select the designated contract'
,
}
}
src/locales/ko-KR/components.ts
View file @
46ac74c6
...
@@ -268,4 +268,5 @@ export default {
...
@@ -268,4 +268,5 @@ export default {
'components.huiyuanfuwu'
:
'회원 서비스'
,
'components.huiyuanfuwu'
:
'회원 서비스'
,
'components.huiyuandenglu'
:
'회원 등록'
,
'components.huiyuandenglu'
:
'회원 등록'
,
'components.huiyuanzhuce'
:
'회원 등록'
,
'components.huiyuanzhuce'
:
'회원 등록'
,
'components.xuanzezhidinghetong'
:
'선택지정계약'
,
}
}
src/locales/zh-CN/components.ts
View file @
46ac74c6
...
@@ -268,4 +268,5 @@ export default {
...
@@ -268,4 +268,5 @@ export default {
'components.huiyuanfuwu'
:
'会员服务'
,
'components.huiyuanfuwu'
:
'会员服务'
,
'components.huiyuandenglu'
:
'会员登录'
,
'components.huiyuandenglu'
:
'会员登录'
,
'components.huiyuanzhuce'
:
'会员注册'
,
'components.huiyuanzhuce'
:
'会员注册'
,
'components.xuanzezhidinghetong'
:
'选择指定合同'
,
}
}
src/pages/transaction/logisticsAbility/logisticsAdminister/freightTemplate/add.tsx
View file @
46ac74c6
...
@@ -164,7 +164,10 @@ const diaLogForm: React.FC<ListProps> = (props) => {
...
@@ -164,7 +164,10 @@ const diaLogForm: React.FC<ListProps> = (props) => {
<
FormTab
.
TabPane
name=
"tab-1"
tab=
{
intl
.
formatMessage
({
id
:
'logistics.jibenxinxi'
})
}
>
<
FormTab
.
TabPane
name=
"tab-1"
tab=
{
intl
.
formatMessage
({
id
:
'logistics.jibenxinxi'
})
}
>
<
FormMegaLayout
wrapperWidth=
{
570
}
labelWidth=
{
174
}
labelCol=
{
2
}
labelAlign=
"left"
>
<
FormMegaLayout
wrapperWidth=
{
570
}
labelWidth=
{
174
}
labelCol=
{
2
}
labelAlign=
"left"
>
<
Field
<
Field
required
x
-
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'common.form.input.placeholder'
})
}]
}
title=
{
intl
.
formatMessage
({
id
:
'logistics.mubanmingcheng'
})
}
title=
{
intl
.
formatMessage
({
id
:
'logistics.mubanmingcheng'
})
}
name=
"name"
name=
"name"
maxLength=
{
15
}
maxLength=
{
15
}
...
@@ -196,7 +199,6 @@ const diaLogForm: React.FC<ListProps> = (props) => {
...
@@ -196,7 +199,6 @@ const diaLogForm: React.FC<ListProps> = (props) => {
<
FormMegaLayout
inline
>
<
FormMegaLayout
inline
>
<
Field
<
Field
name=
"weight"
name=
"weight"
required
// x-props={{
// x-props={{
// style: {
// style: {
// width: 160,
// width: 160,
...
@@ -213,10 +215,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
...
@@ -213,10 +215,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
addonBefore
:
' '
,
addonBefore
:
' '
,
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.nei'
})
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.nei'
})
}
}
}
}
x
-
rules=
{
{
x
-
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'common.form.input.placeholder'
})
},
{
pattern
:
PATTERN_MAPS
.
weight
,
pattern
:
PATTERN_MAPS
.
weight
,
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing3'
})
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing3'
})
}
}
}
]
}
/>
/>
<
Field
<
Field
name=
"price"
name=
"price"
...
@@ -232,10 +237,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
...
@@ -232,10 +237,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
placeholder
:
''
,
placeholder
:
''
,
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.yuan'
})
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.yuan'
})
}
}
}
}
x
-
rules=
{
{
x
-
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'common.form.input.placeholder'
})
},
{
pattern
:
PATTERN_MAPS
.
money
,
pattern
:
PATTERN_MAPS
.
money
,
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing2'
})
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing2'
})
}
}
}
]
}
/>
/>
</
FormMegaLayout
>
</
FormMegaLayout
>
<
FormMegaLayout
inline
>
<
FormMegaLayout
inline
>
...
@@ -257,10 +265,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
...
@@ -257,10 +265,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
addonBefore
:
intl
.
formatMessage
({
id
:
'logistics.meizengjia'
}),
addonBefore
:
intl
.
formatMessage
({
id
:
'logistics.meizengjia'
}),
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.zengjiayunfei'
})
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.zengjiayunfei'
})
}
}
}
}
x
-
rules=
{
{
x
-
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'common.form.input.placeholder'
})
},
{
pattern
:
PATTERN_MAPS
.
weight
,
pattern
:
PATTERN_MAPS
.
weight
,
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing3'
})
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing3'
})
}
}
}
]
}
/>
/>
<
Field
<
Field
name=
"incrementPrice"
name=
"incrementPrice"
...
@@ -276,10 +287,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
...
@@ -276,10 +287,13 @@ const diaLogForm: React.FC<ListProps> = (props) => {
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.yuan'
})
addonAfter
:
intl
.
formatMessage
({
id
:
'logistics.yuan'
})
}
}
}
}
x
-
rules=
{
{
x
-
rules=
{
[{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'common.form.input.placeholder'
})
},
{
pattern
:
PATTERN_MAPS
.
money
,
pattern
:
PATTERN_MAPS
.
money
,
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing2'
})
message
:
intl
.
formatMessage
({
id
:
'logistics.shuzileixing2'
})
}
}
}
]
}
/>
/>
</
FormMegaLayout
>
</
FormMegaLayout
>
</
FormMegaLayout
>
</
FormMegaLayout
>
...
...
src/pages/transaction/purchaseRules/components/ruleSetting.tsx
View file @
46ac74c6
...
@@ -66,7 +66,7 @@ const RuleSetting:React.FC<RuleSettingProps> = (props) => {
...
@@ -66,7 +66,7 @@ const RuleSetting:React.FC<RuleSettingProps> = (props) => {
}
}
// 新增合同
// 新增合同
const
tableAddButton
=
<
Button
style=
{
{
marginBottom
:
16
}
}
block
icon=
{
<
PlusOutlined
/>
}
disabled=
{
pageStatus
===
PageStatus
.
PREVIEW
}
onClick=
{
handleAddBtn
}
type=
'dashed'
>
选择指定合同
</
Button
>
const
tableAddButton
=
<
Button
style=
{
{
marginBottom
:
16
}
}
block
icon=
{
<
PlusOutlined
/>
}
disabled=
{
pageStatus
===
PageStatus
.
PREVIEW
}
onClick=
{
handleAddBtn
}
type=
'dashed'
>
{
intl
.
formatMessage
({
id
:
'components.xuanzezhidinghetong'
})
}
</
Button
>
const
tableColumns
=
[
const
tableColumns
=
[
...
...
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