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
5c25b3bb
Commit
5c25b3bb
authored
Dec 10, 2022
by
shenshaokai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 合同详情页-附件区分供应商和采购商
parent
85b9c50a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
5 deletions
+33
-5
index.tsx
...ages/contract/components/detailCard/PaymentCard/index.tsx
+1
-1
index.tsx
src/pages/contract/coordination/details/index.tsx
+19
-3
index.tsx
src/pages/contract/manage/details/index.tsx
+13
-1
No files found.
src/pages/contract/components/detailCard/PaymentCard/index.tsx
View file @
5c25b3bb
...
...
@@ -107,7 +107,7 @@ const PaymentCard: React.FC<Iprops> = ({
<
div
className=
'ant-card-head-wrapper'
>
{
title
?
title
:
intl
.
formatMessage
({
id
:
'contract.fukuanjihua'
})
}
</
div
>
{
oldPayPlanList
.
length
&&
{
oldPayPlanList
?
.
length
&&
!
isEqual
(
handlePayPlanList
(
payPlanList
),
handlePayPlanList
(
oldPayPlanList
))
?
(
<
div
className=
{
style
.
changeBtn
}
>
<
div
...
...
src/pages/contract/coordination/details/index.tsx
View file @
5c25b3bb
...
...
@@ -274,7 +274,7 @@ const Details = (props: any) => {
setOldPayPlanList(oldContractManageDetailVO?.payPlanList)
}
}).catch((err) => {
console.log("错误??",err)
console.log("错误??",
err)
});
}
useEffect(() => {
...
...
@@ -722,16 +722,20 @@ const Details = (props: any) => {
isContractNew
? contractText?.contractName
: oldContractCoordinationDetailVOData?.contractText?.contractName
) ? <div className={style.upload_item} style={{ width: 680 }}>
) ?
<>
<div className={style.upload_item} style={{ width: 680 }}>
<div className='ant-card-head-wrapper'>
{contractText.isUseElectronicContract != 1 ? intl.formatMessage({ id: 'contract.zhizhihetong' }) : intl.formatMessage({ id: 'contract.dianzihetong' })}
</div>
<FileHt contractText={isContractNew
? contractText?.contractName
: oldContractCoordinationDetailVOData?.contractText?.contractName} name_='contractName' url_='contractUrl' />
</div>
<div className={style.upload_item} style={{ width: 680 }}>
<div className='ant-card-head-wrapper'>
附件
附件(供应商)
</div>
<div>
{
...
...
@@ -742,8 +746,20 @@ const Details = (props: any) => {
</div>
</div>
<div className={style.upload_item} style={{ width: 680 }}>
<div className='ant-card-head-wrapper'>
附件(采购商)
</div>
<div>
{
FileFj(isContractNew
? contractText?.buyerContractLis
: oldContractCoordinationDetailVOData?.contractText?.buyerContractLis)
}
</div>
</div>
</>
: null}
</div>
...
...
src/pages/contract/manage/details/index.tsx
View file @
5c25b3bb
...
...
@@ -782,7 +782,7 @@ const Details = (props: any) => {
<div className={style.upload_item} style={{ width: 680 }}>
<div className='ant-card-head-wrapper'>
附件
附件
(供应商)
</div>
<div>
{
...
...
@@ -792,6 +792,18 @@ const Details = (props: any) => {
}
</div>
</div>
<div className={style.upload_item} style={{ width: 680 }}>
<div className='ant-card-head-wrapper'>
附件(采购商)
</div>
<div>
{
FileFj(isContractNew
? contractText.buyerContractLis
: oldContractText?.buyerContractLis)
}
</div>
</div>
</>
) : null}
...
...
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