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
linweijiong
jinfa-platform
Commits
fa6b1050
Commit
fa6b1050
authored
Feb 22, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复合同翻译问题BUG
parent
ab84f9ec
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
63 additions
and
63 deletions
+63
-63
contract.ts
src/locales/en-US/contract.ts
+3
-3
index.tsx
...ages/contract/components/detailCard/PaymentCard/index.tsx
+1
-1
index.tsx
src/pages/contract/contractexecution/details/index.tsx
+1
-1
Popup.tsx
src/pages/contract/coordination/details/components/Popup.tsx
+1
-1
index.tsx
src/pages/contract/coordination/details/index.tsx
+1
-1
table.tsx
src/pages/contract/funds/addbill/components/table.tsx
+1
-1
FormList.tsx
src/pages/contract/manage/add/components/FormList.tsx
+1
-1
Fromtable.tsx
src/pages/contract/manage/add/components/Fromtable.tsx
+2
-2
index.tsx
src/pages/contract/manage/details/index.tsx
+48
-48
FormList.tsx
src/pages/contract/manage/editing/components/FormList.tsx
+1
-1
index.tsx
src/pages/contract/manage/levelexamine/index.tsx
+1
-1
index.tsx
src/pages/contract/manage/secondaryexamine/index.tsx
+1
-1
index.tsx
src/pages/contract/manage/signacontract/index.tsx
+1
-1
No files found.
src/locales/en-US/contract.ts
View file @
fa6b1050
...
@@ -258,9 +258,9 @@ export default {
...
@@ -258,9 +258,9 @@ export default {
'contract.hetongfukuanxiangqing'
:
'Contract payment details'
,
'contract.hetongfukuanxiangqing'
:
'Contract payment details'
,
'contract.shoukuanzhanghu'
:
'Receiving account'
,
'contract.shoukuanzhanghu'
:
'Receiving account'
,
'contract.fapiaobianhaokaipiaori'
:
'Invoice number (invoicing date)'
,
'contract.fapiaobianhaokaipiaori'
:
'Invoice number (invoicing date)'
,
'contract.zhangqi'
:
'
Account period
'
,
'contract.zhangqi'
:
'
account
'
,
'contract.yuejie'
:
'
Monthly End
'
,
'contract.yuejie'
:
'
monthly
'
,
'contract.xianjie'
:
'
Currently closed
'
,
'contract.xianjie'
:
'
now
'
,
'contract.wuliaobianhaomingcheng'
:
'material number/name'
,
'contract.wuliaobianhaomingcheng'
:
'material number/name'
,
'contract.danwei'
:
'Unit'
,
'contract.danwei'
:
'Unit'
,
'contract.caigoushuliang'
:
'Purchase Quantity'
,
'contract.caigoushuliang'
:
'Purchase Quantity'
,
...
...
src/pages/contract/components/detailCard/PaymentCard/index.tsx
View file @
fa6b1050
...
@@ -60,7 +60,7 @@ const PaymentCard: React.FC<Iprops> = ({
...
@@ -60,7 +60,7 @@ const PaymentCard: React.FC<Iprops> = ({
<
div
className=
{
style
.
title
}
>
{
intl
.
formatMessage
({
id
:
'contract.fukuanbili'
})
}
</
div
>
<
div
className=
{
style
.
title
}
>
{
intl
.
formatMessage
({
id
:
'contract.fukuanbili'
})
}
</
div
>
<
div
className=
{
style
.
proportion
}
>
{
item
.
payRatio
?
item
.
payRatio
:
item
.
paidRatio
}
%
</
div
>
<
div
className=
{
style
.
proportion
}
>
{
item
.
payRatio
?
item
.
payRatio
:
item
.
paidRatio
}
%
</
div
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
}
}
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
}
}
>
<
div
className=
{
style
.
Price
}
>
¥
{
item
.
payAmount
}
</
div
>
<
div
className=
{
style
.
Price
}
>
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
{
item
.
payAmount
}
</
div
>
{
{
children
?
children
?
<
div
onClick=
{
()
=>
key
(
item
)
}
>
{
children
}
</
div
>
<
div
onClick=
{
()
=>
key
(
item
)
}
>
{
children
}
</
div
>
...
...
src/pages/contract/contractexecution/details/index.tsx
View file @
fa6b1050
...
@@ -120,7 +120,7 @@ const Details = (props: any) => {
...
@@ -120,7 +120,7 @@ const Details = (props: any) => {
],
],
col3
:
[
col3
:
[
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongjine'
}),
extra
:
basics
.
totalAmount
?
`
${
intl
.
formatMessage
({
id
:
'common.money'
})}${
basics
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongjine'
}),
extra
:
basics
.
totalAmount
?
`
${
intl
.
formatMessage
({
id
:
'common.money'
})}${
basics
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongyouxiaoqi'
}),
extra
:
`
${
basics
.
startTime
}
至
${
basics
.
endTime
}
`
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongyouxiaoqi'
}),
extra
:
`
${
basics
.
startTime
}
${
intl
.
formatMessage
({
id
:
'common.text.to'
})}
${
basics
.
endTime
}
`
},
],
],
}
}
if
(
basics
.
sourceId
)
{
if
(
basics
.
sourceId
)
{
...
...
src/pages/contract/coordination/details/components/Popup.tsx
View file @
fa6b1050
...
@@ -164,7 +164,7 @@ const PopupDrawer: React.FC<Iprops> = ({
...
@@ -164,7 +164,7 @@ const PopupDrawer: React.FC<Iprops> = ({
<
div
className=
{
style
.
memuItem
}
>
<
div
className=
{
style
.
memuItem
}
>
<
div
className=
{
style
.
menuCard
}
>
<
div
className=
{
style
.
menuCard
}
>
<
div
className=
{
style
.
menulabel
}
>
{
intl
.
formatMessage
({
id
:
'contract.fukuanjine'
})
}
:
</
div
>
<
div
className=
{
style
.
menulabel
}
>
{
intl
.
formatMessage
({
id
:
'contract.fukuanjine'
})
}
:
</
div
>
<
div
className=
{
style
.
card
}
>
¥
{
basicData
.
payAmount
}
</
div
>
<
div
className=
{
style
.
card
}
>
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
{
basicData
.
payAmount
}
</
div
>
</
div
>
</
div
>
<
div
className=
{
style
.
menuCard
}
>
<
div
className=
{
style
.
menuCard
}
>
<
div
className=
{
style
.
menulabel
}
>
{
intl
.
formatMessage
({
id
:
'contract.fukuanshijian'
})
}
:
</
div
>
<
div
className=
{
style
.
menulabel
}
>
{
intl
.
formatMessage
({
id
:
'contract.fukuanshijian'
})
}
:
</
div
>
...
...
src/pages/contract/coordination/details/index.tsx
View file @
fa6b1050
...
@@ -83,7 +83,7 @@ const Details = (props: any) => {
...
@@ -83,7 +83,7 @@ const Details = (props: any) => {
],
],
col3
:
[
col3
:
[
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongyouxiaoqi'
}),
extra
:
`
${
basics
.
startTime
}
至
${
basics
.
endTime
}
`
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongyouxiaoqi'
}),
extra
:
`
${
basics
.
startTime
}
${
intl
.
formatMessage
({
id
:
'common.text.to'
})}
${
basics
.
endTime
}
`
},
],
],
}
}
if
(
type
)
{
if
(
type
)
{
...
...
src/pages/contract/funds/addbill/components/table.tsx
View file @
fa6b1050
...
@@ -126,7 +126,7 @@ const table = (props: any) => {
...
@@ -126,7 +126,7 @@ const table = (props: any) => {
render
:
(
_
,
item
,
index
)
=>
render
:
(
_
,
item
,
index
)
=>
<
Input
<
Input
addonBefore=
"¥"
addonBefore=
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
style=
{
{
style=
{
{
width
:
130
,
width
:
130
,
}
}
}
}
...
...
src/pages/contract/manage/add/components/FormList.tsx
View file @
fa6b1050
...
@@ -255,7 +255,7 @@ const FormList = (props: any) => {
...
@@ -255,7 +255,7 @@ const FormList = (props: any) => {
width
:
120
,
width
:
120
,
}
}
}
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'price'
,
index
)
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'price'
,
index
)
}
addonBefore=
"¥"
addonBefore=
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
defaultValue=
{
text
!=
''
?
Number
(
text
).
toFixed
(
2
)
:
''
}
defaultValue=
{
text
!=
''
?
Number
(
text
).
toFixed
(
2
)
:
''
}
disabled=
{
Object
.
keys
(
Row
).
length
!=
0
?
true
:
false
}
disabled=
{
Object
.
keys
(
Row
).
length
!=
0
?
true
:
false
}
/>
/>
...
...
src/pages/contract/manage/add/components/Fromtable.tsx
View file @
fa6b1050
...
@@ -113,8 +113,8 @@ const FormList = (props: any) => {
...
@@ -113,8 +113,8 @@ const FormList = (props: any) => {
defaultValue=
{
item
.
payWay
}
defaultValue=
{
item
.
payWay
}
>
>
<
Option
value=
"3"
key=
{
3
}
>
{
intl
.
formatMessage
({
id
:
'contract.xianjie'
})
}
</
Option
>
<
Option
value=
"3"
key=
{
3
}
>
{
intl
.
formatMessage
({
id
:
'contract.xianjie'
})
}
</
Option
>
<
Option
value=
"1"
key=
{
1
}
>
{
intl
.
formatMessage
({
id
:
'contract.zhangqi'
})
}
:
</
Option
>
<
Option
value=
"1"
key=
{
1
}
>
{
intl
.
formatMessage
({
id
:
'contract.zhangqi'
})
}
</
Option
>
<
Option
value=
"2"
key=
{
2
}
>
{
intl
.
formatMessage
({
id
:
'contract.yuejie'
})
}
:
</
Option
>
<
Option
value=
"2"
key=
{
2
}
>
{
intl
.
formatMessage
({
id
:
'contract.yuejie'
})
}
</
Option
>
</
Select
>
</
Select
>
{
{
item
.
payWay
!=
3
&&
item
.
payWay
!=
3
&&
...
...
src/pages/contract/manage/details/index.tsx
View file @
fa6b1050
...
@@ -61,14 +61,14 @@ const Details = (props: any) => {
...
@@ -61,14 +61,14 @@ const Details = (props: any) => {
/* 总金额 */
/* 总金额 */
const
[
tobidCount
,
settobidCount
]
=
useState
<
number
>
(
0
);
const
[
tobidCount
,
settobidCount
]
=
useState
<
number
>
(
0
);
const
[
bidAmount
,
setbidAmount
]
=
useState
<
number
>
(
0
);
const
[
bidAmount
,
setbidAmount
]
=
useState
<
number
>
(
0
);
const
[
btnText
,
setBtnText
]
=
useState
(
intl
.
formatMessage
({
id
:
'contract.shenhe'
}));
const
[
btnText
,
setBtnText
]
=
useState
(
intl
.
formatMessage
({
id
:
'contract.shenhe'
}));
const
[
tabPane
]
=
useState
([
const
[
tabPane
]
=
useState
([
{
id
:
'progress'
,
title
:
intl
.
formatMessage
({
id
:
'contract.liuzhuanjindu'
})
},
{
id
:
'progress'
,
title
:
intl
.
formatMessage
({
id
:
'contract.liuzhuanjindu'
})
},
{
id
:
'process'
,
title
:
intl
.
formatMessage
({
id
:
'contract.jibenliucheng'
})
},
{
id
:
'process'
,
title
:
intl
.
formatMessage
({
id
:
'contract.jibenliucheng'
})
},
{
id
:
'materials'
,
title
:
intl
.
formatMessage
({
id
:
'contract.caigoucailiao'
})
},
{
id
:
'materials'
,
title
:
intl
.
formatMessage
({
id
:
'contract.caigoucailiao'
})
},
{
id
:
'conditions'
,
title
:
intl
.
formatMessage
({
id
:
'contract.fukuanjihua'
})
},
{
id
:
'conditions'
,
title
:
intl
.
formatMessage
({
id
:
'contract.fukuanjihua'
})
},
{
id
:
'docking'
,
title
:
intl
.
formatMessage
({
id
:
'contract.dianzihetong'
})
},
{
id
:
'docking'
,
title
:
intl
.
formatMessage
({
id
:
'contract.dianzihetong'
})
},
{
id
:
'record'
,
title
:
intl
.
formatMessage
({
id
:
'contract.liuzhuanjilu'
})
},
{
id
:
'record'
,
title
:
intl
.
formatMessage
({
id
:
'contract.liuzhuanjilu'
})
},
])
])
/* 获取详情的数据 */
/* 获取详情的数据 */
...
@@ -80,19 +80,19 @@ const Details = (props: any) => {
...
@@ -80,19 +80,19 @@ const Details = (props: any) => {
setsignatureLogId
(
basics
.
signatureLogId
?
basics
.
signatureLogId
:
''
)
setsignatureLogId
(
basics
.
signatureLogId
?
basics
.
signatureLogId
:
''
)
const
basicInfo
:
any
=
{
const
basicInfo
:
any
=
{
col1
:
[
col1
:
[
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongbianhao'
}),
extra
:
basics
.
contractNo
?
basics
.
contractNo
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongbianhao'
}),
extra
:
basics
.
contractNo
?
basics
.
contractNo
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongzhaiyao'
}),
extra
:
basics
.
contractAbstract
?
basics
.
contractAbstract
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongzhaiyao'
}),
extra
:
basics
.
contractAbstract
?
basics
.
contractAbstract
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.waibuzhuangtai'
}),
extra
:
basics
.
outerStatusName
?
basics
.
outerStatusName
:
''
,
type
:
"StatusTag"
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.waibuzhuangtai'
}),
extra
:
basics
.
outerStatusName
?
basics
.
outerStatusName
:
''
,
type
:
"StatusTag"
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.neibuzhuangtai'
}),
extra
:
basics
.
innerStatusName
?
basics
.
innerStatusName
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.neibuzhuangtai'
}),
extra
:
basics
.
innerStatusName
?
basics
.
innerStatusName
:
''
},
],
],
col2
:
[
col2
:
[
{
label
:
intl
.
formatMessage
({
id
:
'contract.xunyuanleixing'
}),
extra
:
basics
.
sourceTypeName
?
basics
.
sourceTypeName
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.xunyuanleixing'
}),
extra
:
basics
.
sourceTypeName
?
basics
.
sourceTypeName
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.duiyingdanju'
}),
extra
:
basics
.
sourceNo
?
basics
.
sourceNo
:
''
,
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.duiyingdanju'
}),
extra
:
basics
.
sourceNo
?
basics
.
sourceNo
:
''
,
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.shoubiaohuiyuan'
}),
extra
:
basics
.
partyBName
?
basics
.
partyBName
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.shoubiaohuiyuan'
}),
extra
:
basics
.
partyBName
?
basics
.
partyBName
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.shoubiaojine'
}),
extra
:
basics
.
totalAmount
?
`
${
intl
.
formatMessage
({
id
:
'common.money'
})}${
basics
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.shoubiaojine'
}),
extra
:
basics
.
totalAmount
?
`
${
intl
.
formatMessage
({
id
:
'common.money'
})}${
basics
.
totalAmount
}
`
:
''
},
],
],
col3
:
[
col3
:
[
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongyouxiaoqi'
}),
extra
:
`
${
basics
.
startTime
}
至
${
basics
.
endTime
}
`
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.hetongyouxiaoqi'
}),
extra
:
`
${
basics
.
startTime
}${
intl
.
formatMessage
({
id
:
'common.text.to'
})}
${
basics
.
endTime
}
`
},
],
],
}
}
...
@@ -148,7 +148,7 @@ const Details = (props: any) => {
...
@@ -148,7 +148,7 @@ const Details = (props: any) => {
/*查询合同详情-分页查询合同采购物料*/
/*查询合同详情-分页查询合同采购物料*/
const
columns
:
any
=
[
const
columns
:
any
=
[
{
{
title
:
intl
.
formatMessage
({
id
:
'contract.wuliaobianhaomingcheng'
}),
dataIndex
:
'materielNo'
,
align
:
'center'
,
render
:
(
text
,
item
)
=>
{
title
:
intl
.
formatMessage
({
id
:
'contract.wuliaobianhaomingcheng'
}),
dataIndex
:
'materielNo'
,
align
:
'center'
,
render
:
(
text
,
item
)
=>
{
return
(
return
(
<
div
>
<
div
>
<
p
>
{
text
}
</
p
>
<
p
>
{
text
}
</
p
>
...
@@ -158,14 +158,14 @@ const Details = (props: any) => {
...
@@ -158,14 +158,14 @@ const Details = (props: any) => {
}
}
},
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.guigexinghao'
}),
dataIndex
:
'type'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.guigexinghao'
}),
dataIndex
:
'type'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.pinlei'
}),
dataIndex
:
'category'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.pinlei'
}),
dataIndex
:
'category'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.pinpai'
}),
dataIndex
:
'brand'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.pinpai'
}),
dataIndex
:
'brand'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.danwei'
}),
dataIndex
:
'unit'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.danwei'
}),
dataIndex
:
'unit'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.caigoushuliang'
}),
dataIndex
:
'purchaseCount'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.caigoushuliang'
}),
dataIndex
:
'purchaseCount'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.hanshui'
}),
dataIndex
:
'isHasTaxName'
,
align
:
'center'
,
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.hanshui'
}),
dataIndex
:
'isHasTaxName'
,
align
:
'center'
,
},
{
{
title
:
intl
.
formatMessage
({
id
:
'contract.shuil'
}),
dataIndex
:
'taxRate'
,
align
:
'center'
,
title
:
intl
.
formatMessage
({
id
:
'contract.shuil'
}),
dataIndex
:
'taxRate'
,
align
:
'center'
,
render
:
(
text
)
=>
{
render
:
(
text
)
=>
{
return
(
return
(
<
div
>
<
div
>
...
@@ -175,7 +175,7 @@ const Details = (props: any) => {
...
@@ -175,7 +175,7 @@ const Details = (props: any) => {
}
}
},
},
{
{
title
:
intl
.
formatMessage
({
id
:
'contract.danjiahanshui'
}),
dataIndex
:
'price'
,
align
:
'center'
,
title
:
intl
.
formatMessage
({
id
:
'contract.danjiahanshui'
}),
dataIndex
:
'price'
,
align
:
'center'
,
render
:
(
text
)
=>
{
render
:
(
text
)
=>
{
return
(
return
(
<
div
>
<
div
>
...
@@ -189,8 +189,8 @@ const Details = (props: any) => {
...
@@ -189,8 +189,8 @@ const Details = (props: any) => {
title
:
(
item
)
=>
{
title
:
(
item
)
=>
{
return
(
return
(
<
Space
direction=
'vertical'
>
<
Space
direction=
'vertical'
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.shoubiaoshuliang'
})
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.shoubiaoshuliang'
})
}
</
Text
>
<
Text
>
合计
:
{
tobidCount
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
{
tobidCount
}
</
Text
>
</
Space
>
</
Space
>
)
)
},
},
...
@@ -207,8 +207,8 @@ const Details = (props: any) => {
...
@@ -207,8 +207,8 @@ const Details = (props: any) => {
dataIndex
:
'bidAmount'
,
align
:
'center'
,
dataIndex
:
'bidAmount'
,
align
:
'center'
,
title
:
(
title
:
(
<
Space
direction=
'vertical'
>
<
Space
direction=
'vertical'
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.jinebuhanshui'
})
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.jinebuhanshui'
})
}
</
Text
>
<
Text
>
合计
:
{
intl
.
formatMessage
({
id
:
'common.money'
})
}{
bidAmount
}
</
Text
>
<
Text
>
{
intl
.
formatMessage
({
id
:
'contract.heji'
})
}
:
{
intl
.
formatMessage
({
id
:
'common.money'
})
}{
bidAmount
}
</
Text
>
</
Space
>
</
Space
>
),
),
render
:
(
text
)
=>
{
render
:
(
text
)
=>
{
...
@@ -243,7 +243,7 @@ const Details = (props: any) => {
...
@@ -243,7 +243,7 @@ const Details = (props: any) => {
const
onExpand
=
expandedKeys
=>
{
const
onExpand
=
expandedKeys
=>
{
};
};
useEffect
(()
=>
{
useEffect
(()
=>
{
let
text
=
type
==
'Signacontract'
?
intl
.
formatMessage
({
id
:
'contract.qiandinghetong'
})
:
intl
.
formatMessage
({
id
:
'contract.shenhe'
});
let
text
=
type
==
'Signacontract'
?
intl
.
formatMessage
({
id
:
'contract.qiandinghetong'
})
:
intl
.
formatMessage
({
id
:
'contract.shenhe'
});
setBtnText
(
text
);
setBtnText
(
text
);
setTargetOffset
(
window
.
innerHeight
/
6
);
setTargetOffset
(
window
.
innerHeight
/
6
);
getDetail
()
getDetail
()
...
@@ -268,19 +268,19 @@ const Details = (props: any) => {
...
@@ -268,19 +268,19 @@ const Details = (props: any) => {
const
listItem
=
(
record
)
=>
(
const
listItem
=
(
record
)
=>
(
<
div
className=
{
style
.
listItem
}
>
<
div
className=
{
style
.
listItem
}
>
<
div
className=
{
style
.
label
}
>
<
div
className=
{
style
.
label
}
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.guanlian'
})
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.guanlian'
})
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.baojiashangpin'
})
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.baojiashangpin'
})
}
</
p
>
</
div
>
</
div
>
<
div
className=
{
style
.
text
}
>
<
div
className=
{
style
.
text
}
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.shangpinID'
})
}
:
{
record
.
associatedDataId
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.shangpinID'
})
}
:
{
record
.
associatedDataId
}
</
p
>
<
p
className=
{
style
.
nowrap
}
>
{
intl
.
formatMessage
({
id
:
'contract.shangpinmingcheng'
})
}
:
{
record
.
associatedGoods
}
</
p
>
<
p
className=
{
style
.
nowrap
}
>
{
intl
.
formatMessage
({
id
:
'contract.shangpinmingcheng'
})
}
:
{
record
.
associatedGoods
}
</
p
>
</
div
>
</
div
>
<
div
className=
{
style
.
text
}
>
<
div
className=
{
style
.
text
}
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.guigexinghao'
})
}
:
{
record
.
associatedType
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.guigexinghao'
})
}
:
{
record
.
associatedType
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.pinlei'
})
}
:
{
record
.
associatedCategory
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.pinlei'
})
}
:
{
record
.
associatedCategory
}
</
p
>
</
div
>
</
div
>
<
div
className=
{
style
.
text
}
>
<
div
className=
{
style
.
text
}
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.pinpai'
})
}
:
{
record
.
associatedBrand
}
</
p
>
<
p
>
{
intl
.
formatMessage
({
id
:
'contract.pinpai'
})
}
:
{
record
.
associatedBrand
}
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -373,12 +373,12 @@ const Details = (props: any) => {
...
@@ -373,12 +373,12 @@ const Details = (props: any) => {
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
{
intl
.
formatMessage
({
id
:
'contract.liuzhuanjindu'
})
}
{
intl
.
formatMessage
({
id
:
'contract.liuzhuanjindu'
})
}
</
div
>
</
div
>
<
div
className=
'ant-card-extra'
>
<
div
className=
'ant-card-extra'
>
<
Radio
.
Group
defaultValue=
{
currentBatch
}
onChange=
{
(
e
)
=>
handleBatchChange
(
e
,
'Steps'
)
}
>
<
Radio
.
Group
defaultValue=
{
currentBatch
}
onChange=
{
(
e
)
=>
handleBatchChange
(
e
,
'Steps'
)
}
>
<
Radio
.
Button
value=
"1"
>
{
intl
.
formatMessage
({
id
:
'contract.waibuliuzhuan'
})
}
</
Radio
.
Button
>
<
Radio
.
Button
value=
"1"
>
{
intl
.
formatMessage
({
id
:
'contract.waibuliuzhuan'
})
}
</
Radio
.
Button
>
<
Radio
.
Button
value=
"2"
>
{
intl
.
formatMessage
({
id
:
'contract.neibuliuzhuan'
})
}
</
Radio
.
Button
>
<
Radio
.
Button
value=
"2"
>
{
intl
.
formatMessage
({
id
:
'contract.neibuliuzhuan'
})
}
</
Radio
.
Button
>
</
Radio
.
Group
>
</
Radio
.
Group
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -404,7 +404,7 @@ const Details = (props: any) => {
...
@@ -404,7 +404,7 @@ const Details = (props: any) => {
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
{
intl
.
formatMessage
({
id
:
'contract.hetongcaigoucailiao'
})
}
{
intl
.
formatMessage
({
id
:
'contract.hetongcaigoucailiao'
})
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -432,14 +432,14 @@ const Details = (props: any) => {
...
@@ -432,14 +432,14 @@ const Details = (props: any) => {
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
{
intl
.
formatMessage
({
id
:
'contract.dianzihetong'
})
}
{
intl
.
formatMessage
({
id
:
'contract.dianzihetong'
})
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
'ant-card-body'
>
<
div
className=
'ant-card-body'
>
<
div
className=
{
style
.
upload_item
}
style=
{
{
width
:
680
}
}
>
<
div
className=
{
style
.
upload_item
}
style=
{
{
width
:
680
}
}
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
{
intl
.
formatMessage
({
id
:
'contract.dianzihetong'
})
}
{
intl
.
formatMessage
({
id
:
'contract.dianzihetong'
})
}
</
div
>
</
div
>
<
div
className=
{
style
.
upload_left
}
onClick=
{
()
=>
onDownload
(
contractText
)
}
style=
{
{
width
:
600
,
cursor
:
'pointer'
}
}
>
<
div
className=
{
style
.
upload_left
}
onClick=
{
()
=>
onDownload
(
contractText
)
}
style=
{
{
width
:
600
,
cursor
:
'pointer'
}
}
>
<
FileWordFilled
/>
<
FileWordFilled
/>
...
@@ -453,12 +453,12 @@ const Details = (props: any) => {
...
@@ -453,12 +453,12 @@ const Details = (props: any) => {
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
{
intl
.
formatMessage
({
id
:
'contract.liuzhuanjilu'
})
}
{
intl
.
formatMessage
({
id
:
'contract.liuzhuanjilu'
})
}
</
div
>
</
div
>
<
div
className=
'ant-card-extra'
>
<
div
className=
'ant-card-extra'
>
<
Radio
.
Group
defaultValue=
{
listIndex
}
onChange=
{
(
e
)
=>
handleBatchChange
(
e
,
'list'
)
}
>
<
Radio
.
Group
defaultValue=
{
listIndex
}
onChange=
{
(
e
)
=>
handleBatchChange
(
e
,
'list'
)
}
>
<
Radio
.
Button
value=
"1"
>
{
intl
.
formatMessage
({
id
:
'contract.waibuliuzhuan'
})
}
</
Radio
.
Button
>
<
Radio
.
Button
value=
"1"
>
{
intl
.
formatMessage
({
id
:
'contract.waibuliuzhuan'
})
}
</
Radio
.
Button
>
<
Radio
.
Button
value=
"2"
>
{
intl
.
formatMessage
({
id
:
'contract.neibuliuzhuan'
})
}
</
Radio
.
Button
>
<
Radio
.
Button
value=
"2"
>
{
intl
.
formatMessage
({
id
:
'contract.neibuliuzhuan'
})
}
</
Radio
.
Button
>
</
Radio
.
Group
>
</
Radio
.
Group
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -473,8 +473,8 @@ const Details = (props: any) => {
...
@@ -473,8 +473,8 @@ const Details = (props: any) => {
getfetchData=
{
getfetchData
}
getfetchData=
{
getfetchData
}
applyId=
{
contractId
}
applyId=
{
contractId
}
type=
{
type
}
type=
{
type
}
agreeText=
{
type
==
'Signacontract'
?
intl
.
formatMessage
({
id
:
'contract.tongyiqianding'
})
:
intl
.
formatMessage
({
id
:
'contract.tongguo'
})
}
agreeText=
{
type
==
'Signacontract'
?
intl
.
formatMessage
({
id
:
'contract.tongyiqianding'
})
:
intl
.
formatMessage
({
id
:
'contract.tongguo'
})
}
disagree=
{
type
==
'Signacontract'
?
intl
.
formatMessage
({
id
:
'contract.butongyiqianding'
})
:
intl
.
formatMessage
({
id
:
'contract.butongguo'
})
}
disagree=
{
type
==
'Signacontract'
?
intl
.
formatMessage
({
id
:
'contract.butongyiqianding'
})
:
intl
.
formatMessage
({
id
:
'contract.butongguo'
})
}
/>
/>
</
div
>
</
div
>
)
)
...
...
src/pages/contract/manage/editing/components/FormList.tsx
View file @
fa6b1050
...
@@ -106,7 +106,7 @@ const FormList = (props: any) => {
...
@@ -106,7 +106,7 @@ const FormList = (props: any) => {
width
:
120
,
width
:
120
,
}
}
}
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'price'
,
index
)
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'price'
,
index
)
}
addonBefore=
"¥"
addonBefore=
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
defaultValue=
{
text
}
defaultValue=
{
text
}
disabled
disabled
/>
/>
...
...
src/pages/contract/manage/levelexamine/index.tsx
View file @
fa6b1050
...
@@ -123,7 +123,7 @@ const Levelexamine = () => {
...
@@ -123,7 +123,7 @@ const Levelexamine = () => {
render
:
(
text
,
record
)
=>
{
render
:
(
text
,
record
)
=>
{
return
(
return
(
<
div
>
<
div
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
,
marginRight
:
10
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/manage/levelexamine/details?contractId=${record.id}&type=ManageExamineStepOne`
)
}
>
审核
</
span
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
,
marginRight
:
10
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/manage/levelexamine/details?contractId=${record.id}&type=ManageExamineStepOne`
)
}
>
{
intl
.
formatMessage
({
id
:
'contract.shenhe'
})
}
</
span
>
</
div
>
</
div
>
)
)
}
}
...
...
src/pages/contract/manage/secondaryexamine/index.tsx
View file @
fa6b1050
...
@@ -139,7 +139,7 @@ const Secondaryexamine = () => {
...
@@ -139,7 +139,7 @@ const Secondaryexamine = () => {
render
:
(
text
,
record
)
=>
{
render
:
(
text
,
record
)
=>
{
return
(
return
(
<
div
>
<
div
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
,
marginRight
:
10
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/manage/secondaryexamine/details?contractId=${record.id}&type=PageToBeExamineStepTwo`
)
}
>
审核
</
span
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
,
marginRight
:
10
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/manage/secondaryexamine/details?contractId=${record.id}&type=PageToBeExamineStepTwo`
)
}
>
{
intl
.
formatMessage
({
id
:
'contract.shenhe'
})
}
</
span
>
</
div
>
</
div
>
)
)
}
}
...
...
src/pages/contract/manage/signacontract/index.tsx
View file @
fa6b1050
...
@@ -138,7 +138,7 @@ const Signacontract = () => {
...
@@ -138,7 +138,7 @@ const Signacontract = () => {
render
:
(
text
,
record
)
=>
{
render
:
(
text
,
record
)
=>
{
return
(
return
(
<
div
>
<
div
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
,
marginRight
:
10
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/manage/signacontract/details?contractId=${record.id}&type=Signacontract`
)
}
>
签订合同
</
span
>
<
span
style=
{
{
color
:
'#00B37A'
,
cursor
:
'pointer'
,
marginRight
:
10
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/manage/signacontract/details?contractId=${record.id}&type=Signacontract`
)
}
>
{
intl
.
formatMessage
({
id
:
'contract.qiandinghetong'
})
}
</
span
>
</
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