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
fa6b1050
Commit
fa6b1050
authored
Feb 22, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复合同翻译问题BUG
parent
ab84f9ec
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
15 deletions
+15
-15
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
+0
-0
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 {
'contract.hetongfukuanxiangqing'
:
'Contract payment details'
,
'contract.shoukuanzhanghu'
:
'Receiving account'
,
'contract.fapiaobianhaokaipiaori'
:
'Invoice number (invoicing date)'
,
'contract.zhangqi'
:
'
Account period
'
,
'contract.yuejie'
:
'
Monthly End
'
,
'contract.xianjie'
:
'
Currently closed
'
,
'contract.zhangqi'
:
'
account
'
,
'contract.yuejie'
:
'
monthly
'
,
'contract.xianjie'
:
'
now
'
,
'contract.wuliaobianhaomingcheng'
:
'material number/name'
,
'contract.danwei'
:
'Unit'
,
'contract.caigoushuliang'
:
'Purchase Quantity'
,
...
...
src/pages/contract/components/detailCard/PaymentCard/index.tsx
View file @
fa6b1050
...
...
@@ -60,7 +60,7 @@ const PaymentCard: React.FC<Iprops> = ({
<
div
className=
{
style
.
title
}
>
{
intl
.
formatMessage
({
id
:
'contract.fukuanbili'
})
}
</
div
>
<
div
className=
{
style
.
proportion
}
>
{
item
.
payRatio
?
item
.
payRatio
:
item
.
paidRatio
}
%
</
div
>
<
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
?
<
div
onClick=
{
()
=>
key
(
item
)
}
>
{
children
}
</
div
>
...
...
src/pages/contract/contractexecution/details/index.tsx
View file @
fa6b1050
...
...
@@ -120,7 +120,7 @@ const Details = (props: any) => {
],
col3
:
[
{
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
)
{
...
...
src/pages/contract/coordination/details/components/Popup.tsx
View file @
fa6b1050
...
...
@@ -164,7 +164,7 @@ const PopupDrawer: React.FC<Iprops> = ({
<
div
className=
{
style
.
memuItem
}
>
<
div
className=
{
style
.
menuCard
}
>
<
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
className=
{
style
.
menuCard
}
>
<
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) => {
],
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
)
{
...
...
src/pages/contract/funds/addbill/components/table.tsx
View file @
fa6b1050
...
...
@@ -126,7 +126,7 @@ const table = (props: any) => {
render
:
(
_
,
item
,
index
)
=>
<
Input
addonBefore=
"¥"
addonBefore=
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
style=
{
{
width
:
130
,
}
}
...
...
src/pages/contract/manage/add/components/FormList.tsx
View file @
fa6b1050
...
...
@@ -255,7 +255,7 @@ const FormList = (props: any) => {
width
:
120
,
}
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'price'
,
index
)
}
addonBefore=
"¥"
addonBefore=
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
defaultValue=
{
text
!=
''
?
Number
(
text
).
toFixed
(
2
)
:
''
}
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) => {
defaultValue=
{
item
.
payWay
}
>
<
Option
value=
"3"
key=
{
3
}
>
{
intl
.
formatMessage
({
id
:
'contract.xianjie'
})
}
</
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=
"1"
key=
{
1
}
>
{
intl
.
formatMessage
({
id
:
'contract.zhangqi'
})
}
</
Option
>
<
Option
value=
"2"
key=
{
2
}
>
{
intl
.
formatMessage
({
id
:
'contract.yuejie'
})
}
</
Option
>
</
Select
>
{
item
.
payWay
!=
3
&&
...
...
src/pages/contract/manage/details/index.tsx
View file @
fa6b1050
This diff is collapsed.
Click to expand it.
src/pages/contract/manage/editing/components/FormList.tsx
View file @
fa6b1050
...
...
@@ -106,7 +106,7 @@ const FormList = (props: any) => {
width
:
120
,
}
}
onChange=
{
(
e
)
=>
setInput
(
e
,
'price'
,
index
)
}
addonBefore=
"¥"
addonBefore=
{
intl
.
formatMessage
({
id
:
'common.money'
})
}
defaultValue=
{
text
}
disabled
/>
...
...
src/pages/contract/manage/levelexamine/index.tsx
View file @
fa6b1050
...
...
@@ -123,7 +123,7 @@ const Levelexamine = () => {
render
:
(
text
,
record
)
=>
{
return
(
<
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
>
)
}
...
...
src/pages/contract/manage/secondaryexamine/index.tsx
View file @
fa6b1050
...
...
@@ -139,7 +139,7 @@ const Secondaryexamine = () => {
render
:
(
text
,
record
)
=>
{
return
(
<
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
>
)
}
...
...
src/pages/contract/manage/signacontract/index.tsx
View file @
fa6b1050
...
...
@@ -138,7 +138,7 @@ const Signacontract = () => {
render
:
(
text
,
record
)
=>
{
return
(
<
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
>
)
}
...
...
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