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
XieZhiXiong
jinfa-platform
Commits
f3a0024d
Commit
f3a0024d
authored
Feb 22, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理资金账户翻译问题
parent
a1383591
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
22 deletions
+43
-22
index.less
src/components/AnchorDrawer/index.less
+3
-0
index.tsx
src/components/AnchorDrawer/index.tsx
+2
-2
procurement.ts
src/constants/procurement.ts
+20
-16
purchase.ts
src/locales/zh-CN/purchase.ts
+14
-0
applyWithdraw.tsx
...yandSettle/capitalAccounts/accountLists/applyWithdraw.tsx
+4
-4
No files found.
src/components/AnchorDrawer/index.less
View file @
f3a0024d
...
...
@@ -51,6 +51,9 @@
height: 48px;
line-height: 48px;
background: #FFFFFF;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
a {
height: 24px;
font-size: 12px;
...
...
src/components/AnchorDrawer/index.tsx
View file @
f3a0024d
...
...
@@ -135,10 +135,10 @@ const AnchorDrawer: React.FC<AnchorProps> = ({
isForm
?
dataIdList
.
map
((
item
,
index
)
=>
(
<
li
key=
{
index
}
onClick=
{
()
=>
handleClick
(
index
)
}
><
a
className=
{
current
===
index
?
style
.
current
:
null
}
>
{
item
[
'title'
]
}
</
a
></
li
>
<
li
key=
{
index
}
onClick=
{
()
=>
handleClick
(
index
)
}
title=
{
item
[
'title'
]
}
><
a
className=
{
current
===
index
?
style
.
current
:
null
}
>
{
item
[
'title'
]
}
</
a
></
li
>
))
:
dataRenderList
.
map
((
item
,
index
)
=>
(
<
li
key=
{
index
}
onClick=
{
()
=>
handleClick
(
index
)
}
><
a
className=
{
current
===
index
?
style
.
current
:
null
}
>
{
item
[
'title'
]
}
</
a
></
li
>
<
li
key=
{
index
}
onClick=
{
()
=>
handleClick
(
index
)
}
title=
{
item
[
'title'
]
}
><
a
className=
{
current
===
index
?
style
.
current
:
null
}
>
{
item
[
'title'
]
}
</
a
></
li
>
))
}
</
ul
>
...
...
src/constants/procurement.ts
View file @
f3a0024d
import
{
getIntl
}
from
'umi'
;
const
intl
=
getIntl
();
/**
* ****采购能力 相关常量****
*/
...
...
@@ -13,8 +17,8 @@
/** 采购类型 */
export
const
PURCHASE_TYPE
=
{
1
:
'有固定采购金额'
,
2
:
'无固定采购金额'
,
1
:
intl
.
formatMessage
({
id
:
'constants.purchase.type1'
},
{
default
:
'有固定采购金额'
})
,
2
:
intl
.
formatMessage
({
id
:
'constants.purchase.type2'
},
{
default
:
'无固定采购金额'
})
,
}
/** 招标方式 */
...
...
@@ -22,31 +26,31 @@ export const PUBLIC_BID = 1;
export
const
SYSTEM_BID
=
2
;
export
const
INVITE_BID
=
3
;
export
const
CALLFORBID_TYPE_ENUM
=
{
[
PUBLIC_BID
]:
'公开招标'
,
[
SYSTEM_BID
]:
'系统匹配'
,
[
INVITE_BID
]:
'邀请招标'
,
[
PUBLIC_BID
]:
intl
.
formatMessage
({
id
:
'constants.purchase.callforbid.type1'
},
{
default
:
'公开招标'
})
,
[
SYSTEM_BID
]:
intl
.
formatMessage
({
id
:
'constants.purchase.callforbid.type2'
},
{
default
:
'系统匹配'
})
,
[
INVITE_BID
]:
intl
.
formatMessage
({
id
:
'constants.purchase.callforbid.type3'
},
{
default
:
'邀请招标'
})
,
}
export
const
CALLFORBID_TYPE
=
[
''
,
'公开招标'
,
'系统匹配'
,
'邀请招标'
,
intl
.
formatMessage
({
id
:
'constants.purchase.callforbid.type1'
},
{
default
:
'公开招标'
})
,
intl
.
formatMessage
({
id
:
'constants.purchase.callforbid.type2'
},
{
default
:
'系统匹配'
})
,
intl
.
formatMessage
({
id
:
'constants.purchase.callforbid.type3'
},
{
default
:
'邀请招标'
})
,
]
/** 专业类别 */
export
const
SpecialityTypeMap
=
{
1
:
'工程类'
,
2
:
'货物类'
,
3
:
'服务类'
,
4
:
'其他类'
,
1
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type1'
},
{
default
:
'工程类'
})
,
2
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type2'
},
{
default
:
'货物类'
})
,
3
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type3'
},
{
default
:
'服务类'
})
,
4
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type4'
},
{
default
:
'其他类'
})
,
}
/** 专家类型 */
export
const
ExpertTypeMap
=
{
1
:
'招标人代表'
,
2
:
'技术类专家'
,
3
:
'特邀类专家'
,
4
:
'其他类专家'
,
1
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type1'
},
{
default
:
'招标人代表'
})
,
2
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type1'
},
{
default
:
'技术类专家'
})
,
3
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type1'
},
{
default
:
'特邀类专家'
})
,
4
:
intl
.
formatMessage
({
id
:
'constants.purchase.speciality.type1'
},
{
default
:
'其他类专家'
})
,
}
/** 招标 内部状态工作流状态 */
...
...
src/locales/zh-CN/purchase.ts
View file @
f3a0024d
...
...
@@ -999,4 +999,18 @@ export default {
'purchase.yaoqingzhaobiao'
:
'邀请招标'
,
'purchase.xuanzeyudangqianhuiyuanxia'
:
'选择与当前会员下属关系的会员且角色类型为服务提供的会员(供应商),招标只发送给指定会员'
,
'purchase.zaixianpingbiaodafen'
:
'在线进行评标打分'
,
'constants.purchase.type1'
:
'有固定采购金额'
,
'constants.purchase.type2'
:
'无固定采购金额'
,
'constants.purchase.callforbid.type1'
:
'公开招标'
,
'constants.purchase.callforbid.type2'
:
'系统匹配'
,
'constants.purchase.callforbid.type3'
:
'邀请招标'
,
'constants.purchase.speciality.type1'
:
'工程类'
,
'constants.purchase.speciality.type2'
:
'货物类'
,
'constants.purchase.speciality.type3'
:
'服务类'
,
'constants.purchase.speciality.type4'
:
'其他类'
,
'constants.purchase.expert.type1'
:
'招标人代表'
,
'constants.purchase.expert.type2'
:
'技术类专家'
,
'constants.purchase.expert.type3'
:
'特邀类专家'
,
'constants.purchase.expert.type4'
:
'其他类专家'
,
}
src/pages/payandSettle/capitalAccounts/accountLists/applyWithdraw.tsx
View file @
f3a0024d
...
...
@@ -136,7 +136,7 @@ const AccountDetail: React.FC<{}> = () => {
<
Row
gutter=
{
100
}
style=
{
{
marginRight
:
0
}
}
>
<
Col
// span={8}
xxl=
{
8
}
xxl=
{
9
}
xl=
{
12
}
lg=
{
12
}
>
...
...
@@ -178,7 +178,7 @@ const AccountDetail: React.FC<{}> = () => {
</
Col
>
<
Col
// span={16}
xxl=
{
1
6
}
xxl=
{
1
5
}
xl=
{
12
}
lg=
{
12
}
>
...
...
@@ -247,7 +247,7 @@ const AccountDetail: React.FC<{}> = () => {
<
Row
gutter=
{
100
}
style=
{
{
marginRight
:
0
}
}
>
<
Col
// span={8}
xxl=
{
8
}
xxl=
{
9
}
xl=
{
12
}
lg=
{
12
}
>
...
...
@@ -269,7 +269,7 @@ const AccountDetail: React.FC<{}> = () => {
</
Col
>
<
Col
// span={16}
xxl=
{
1
6
}
xxl=
{
1
5
}
xl=
{
12
}
lg=
{
12
}
>
...
...
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