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
5fe3b6d3
Commit
5fe3b6d3
authored
May 13, 2022
by
wuting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bug
parent
8513e100
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
16 deletions
+15
-16
index.tsx
...ages/contract/components/detailCard/PaymentCard/index.tsx
+1
-2
index.tsx
src/pages/contract/contractexecution/details/index.tsx
+1
-1
PurchaseList.tsx
...contract/coordination/details/components/PurchaseList.tsx
+1
-1
index.tsx
src/pages/contract/coordination/details/index.tsx
+2
-3
Fromtable.tsx
src/pages/contract/manage/add/components/Fromtable.tsx
+6
-4
index.tsx
src/pages/contract/manage/details/index.tsx
+2
-2
FormList.tsx
src/pages/contract/manage/editing/components/FormList.tsx
+1
-1
Fromtable.tsx
src/pages/contract/manage/editing/components/Fromtable.tsx
+1
-2
No files found.
src/pages/contract/components/detailCard/PaymentCard/index.tsx
View file @
5fe3b6d3
...
...
@@ -51,9 +51,8 @@ const PaymentCard: React.FC<Iprops> = ({
const
purchaseColumns
=
[
{
title
:
intl
.
formatMessage
({
id
:
'contract.advance'
}),
dataIndex
:
'
AdvanceChargeEnum
'
,
dataIndex
:
'
advanceChargeName
'
,
align
:
'left'
,
render
:
(
text
)
=>
<>
{
text
==
1
?
'需要预付'
:
'无需预付'
}
</>
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.paymentClause'
}),
...
...
src/pages/contract/contractexecution/details/index.tsx
View file @
5fe3b6d3
...
...
@@ -184,7 +184,7 @@ const Details = (props: any) => {
],
col2
:[
{
label
:
intl
.
formatMessage
({
id
:
'contract.currency'
}),
extra
:
contractCoordinationSourceVO
.
currencyTypeName
?
contractCoordinationSourceVO
.
currencyTypeName
:
''
,
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.contractAmount'
}),
extra
:
contractCoordinationSourceVO
.
totalAmount
?
`
${
intl
.
formatMessage
({
id
:
'common.money'
})}${
contractCoordinationSourceVO
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.contractAmount'
}),
extra
:
contractCoordinationSourceVO
.
totalAmount
?
`
${
contractCoordinationSourceVO
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.portDestination'
}),
extra
:
contractCoordinationSourceVO
.
arrivalPortName
?
contractCoordinationSourceVO
.
arrivalPortName
:
''
,
},
]
}
...
...
src/pages/contract/coordination/details/components/PurchaseList.tsx
View file @
5fe3b6d3
...
...
@@ -107,7 +107,7 @@ const purchaseList: React.FC<Iprops> = ({
}
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.remark'
}),
dataIndex
:
'remark'
,
align
:
'center'
,
key
:
'remark'
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.purchase.type'
}),
dataIndex
:
'delivery
MethodName'
,
align
:
'center'
,
key
:
'deliveryMethod
Name'
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.purchase.type'
}),
dataIndex
:
'delivery
TypeName'
,
align
:
'center'
,
key
:
'deliveryType
Name'
},
];
setcolumns
(
columns
)
...
...
src/pages/contract/coordination/details/index.tsx
View file @
5fe3b6d3
...
...
@@ -111,7 +111,7 @@ const Details = (props: any) => {
],
col2
:[
{
label
:
intl
.
formatMessage
({
id
:
'contract.currency'
}),
extra
:
contractCoordinationSourceVO
.
currencyName
?
contractCoordinationSourceVO
.
currencyName
:
''
,
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.contractAmount'
}),
extra
:
contractCoordinationSourceVO
.
totalAmount
?
`
${
intl
.
formatMessage
({
id
:
'common.money'
})}${
contractCoordinationSourceVO
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.contractAmount'
}),
extra
:
contractCoordinationSourceVO
.
totalAmount
?
`
${
contractCoordinationSourceVO
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.portDestination'
}),
extra
:
contractCoordinationSourceVO
.
arrivalPortName
?
contractCoordinationSourceVO
.
arrivalPortName
:
''
,
},
]
}
...
...
@@ -368,9 +368,8 @@ const Details = (props: any) => {
const
columns
=
[
{
title
:
intl
.
formatMessage
({
id
:
'contract.advance'
}),
dataIndex
:
'
AdvanceChargeEnum
'
,
dataIndex
:
'
advanceChargeName
'
,
align
:
'left'
,
render
:
(
text
)
=>
<>
{
text
==
1
?
'需要预付'
:
'无需预付'
}
</>
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.paymentClause'
}),
...
...
src/pages/contract/manage/add/components/Fromtable.tsx
View file @
5fe3b6d3
...
...
@@ -34,9 +34,8 @@ const FormList = (props: any) => {
const
columns
=
[
{
title
:
intl
.
formatMessage
({
id
:
'contract.advance'
}),
dataIndex
:
'
AdvanceChargeEnum
'
,
dataIndex
:
'
advanceChargeName
'
,
align
:
'left'
,
render
:
(
text
)
=>
<>
{
text
==
1
?
'需要预付'
:
'无需预付'
}
</>
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.paymentClause'
}),
...
...
@@ -299,7 +298,6 @@ const FormList = (props: any) => {
})
const
fetchData
=
(
params
:
any
)
=>
{
console
.
log
(
'basicsVO.sourceTypebasicsVO.sourceTypebasicsVO.sourceType'
,
111
)
// ctx()
let
param
=
{
memberId
:
memberId
,
...
...
@@ -308,7 +306,11 @@ const FormList = (props: any) => {
}
return
new
Promise
(
resolve
=>
{
postContractManageGetFeignPayPlan
({
...
param
},
{
ctlType
:
'none'
}).
then
(
res
=>
{
resolve
(
res
.
data
)
let
data
:
any
=
res
.
data
data
?.
data
?.
length
&&
data
.
data
.
map
((
i
,
k
)
=>
{
i
.
id
=
param
.
current
+
(
k
.
toString
())
})
resolve
(
data
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
...
...
src/pages/contract/manage/details/index.tsx
View file @
5fe3b6d3
...
...
@@ -123,7 +123,7 @@ const Details = (props: any) => {
],
col2
:[
{
label
:
intl
.
formatMessage
({
id
:
'contract.currency'
}),
extra
:
contractSourceVO
.
currencyTypeName
?
contractSourceVO
.
currencyTypeName
:
''
,
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.contractAmount'
}),
extra
:
contractSourceVO
.
totalAmount
?
`
${
intl
.
formatMessage
({
id
:
'common.money'
})}${
contractSourceVO
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.contractAmount'
}),
extra
:
contractSourceVO
.
totalAmount
?
`
${
contractSourceVO
.
totalAmount
}
`
:
''
},
{
label
:
intl
.
formatMessage
({
id
:
'contract.portDestination'
}),
extra
:
contractSourceVO
.
arrivalPortName
?
contractSourceVO
.
arrivalPortName
:
''
,
},
]
}
...
...
@@ -263,7 +263,7 @@ const Details = (props: any) => {
}
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.remark'
}),
dataIndex
:
'remark'
,
align
:
'center'
,
key
:
'remark'
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.purchase.type'
}),
dataIndex
:
'delivery
MethodName'
,
align
:
'center'
,
key
:
'deliveryMethod
Name'
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.purchase.type'
}),
dataIndex
:
'delivery
TypeName'
,
align
:
'center'
,
key
:
'deliveryType
Name'
},
{
dataIndex
:
'guanlianqinggoudan'
,
align
:
'center'
,
title
:
intl
.
formatMessage
({
id
:
'contract.guanliandanju'
}),
...
...
src/pages/contract/manage/editing/components/FormList.tsx
View file @
5fe3b6d3
...
...
@@ -138,7 +138,7 @@ const FormList = (props: any) => {
render
:
(
text
:
any
,
record
:
any
)
=>
<
Text
>
{
Number
(
record
.
bidAmount
).
toFixed
(
2
)
}
</
Text
>
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.remark'
}),
dataIndex
:
'remark'
,
align
:
'center'
,
key
:
'remark'
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.purchase.type'
}),
dataIndex
:
'delivery
MethodName'
,
align
:
'center'
,
key
:
'deliveryMethod
Name'
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.purchase.type'
}),
dataIndex
:
'delivery
TypeName'
,
align
:
'center'
,
key
:
'deliveryType
Name'
},
];
useEffect
(()
=>
{
...
...
src/pages/contract/manage/editing/components/Fromtable.tsx
View file @
5fe3b6d3
...
...
@@ -252,9 +252,8 @@ const FormList = (props: any) => {
const
columns
=
[
{
title
:
intl
.
formatMessage
({
id
:
'contract.advance'
}),
dataIndex
:
'
AdvanceChargeEnum
'
,
dataIndex
:
'
advanceChargeName
'
,
align
:
'left'
,
render
:
(
text
)
=>
<>
{
text
==
1
?
'需要预付'
:
'无需预付'
}
</>
},
{
title
:
intl
.
formatMessage
({
id
:
'contract.paymentClause'
}),
...
...
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