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
da9f111b
Commit
da9f111b
authored
Feb 17, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 补充翻译;修复不同国际化下字数过多导致的样式问题
parent
15956043
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
reset.less
src/global/styles/reset.less
+4
-0
index.tsx
src/pages/afterService/components/ReturnDetailInfo/index.tsx
+2
-2
index.ts
.../afterService/components/ReturnInfoDrawer/schema/index.ts
+3
-3
No files found.
src/global/styles/reset.less
View file @
da9f111b
...
@@ -324,6 +324,10 @@
...
@@ -324,6 +324,10 @@
display: none;
display: none;
}
}
.ant-btn-link {
white-space: normal !important;
}
/* 处理某些电脑显示与缩放比推荐>100%的影响 */
/* 处理某些电脑显示与缩放比推荐>100%的影响 */
@media all
@media all
...
...
src/pages/afterService/components/ReturnDetailInfo/index.tsx
View file @
da9f111b
...
@@ -203,11 +203,11 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
...
@@ -203,11 +203,11 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
descriptions=
{
[
descriptions=
{
[
{
{
title
:
`${intl.formatMessage({ id: 'afterService.common.productColumns.payAmount2' }, { default: '已支付金额' })}:`
,
title
:
`${intl.formatMessage({ id: 'afterService.common.productColumns.payAmount2' }, { default: '已支付金额' })}:`
,
value
:
`
¥
${text}`
,
value
:
`
${intl.formatMessage({ id: 'common.money' }, { default: '¥' })}
${text}`
,
},
},
{
{
title
:
`${intl.formatMessage({ id: 'afterService.common.productColumns.purchaseAmount' }, { default: '采购金额' })}:`
,
title
:
`${intl.formatMessage({ id: 'afterService.common.productColumns.purchaseAmount' }, { default: '采购金额' })}:`
,
value
:
`
¥
${record.purchaseAmount}`
,
value
:
`
${intl.formatMessage({ id: 'common.money' }, { default: '¥' })}
${record.purchaseAmount}`
,
},
},
]
}
]
}
percent=
{
(
text
/
record
.
purchaseAmount
)
*
100
}
percent=
{
(
text
/
record
.
purchaseAmount
)
*
100
}
...
...
src/pages/afterService/components/ReturnInfoDrawer/schema/index.ts
View file @
da9f111b
...
@@ -131,8 +131,8 @@ const schema: ISchema = {
...
@@ -131,8 +131,8 @@ const schema: ISchema = {
MEGA_LAYOUT_2
:
{
MEGA_LAYOUT_2
:
{
'x-component'
:
'Mega-Layout'
,
'x-component'
:
'Mega-Layout'
,
'x-component-props'
:
{
'x-component-props'
:
{
labelCol
:
6
,
//
labelCol: 6,
wrapperCol
:
14
,
//
wrapperCol: 14,
grid
:
true
,
grid
:
true
,
columns
:
2
,
columns
:
2
,
autoRow
:
true
,
autoRow
:
true
,
...
@@ -150,7 +150,7 @@ const schema: ISchema = {
...
@@ -150,7 +150,7 @@ const schema: ISchema = {
},
},
payRatio
:
{
payRatio
:
{
type
:
'string'
,
type
:
'string'
,
title
:
'支付比例'
,
title
:
intl
.
formatMessage
({
id
:
'afterService.components.ReturnDetailInfo.payRatio'
},
{
default
:
'支付比例'
}),
editable
:
false
,
editable
:
false
,
'x-component-props'
:
{
'x-component-props'
:
{
addonAfter
:
'%'
addonAfter
:
'%'
...
...
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