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
082d1ef7
Commit
082d1ef7
authored
Jul 16, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
65d8b05b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
69 additions
and
25 deletions
+69
-25
detailedList.tsx
...pages/contract/contractexecution/details/detailedList.tsx
+15
-8
index.tsx
src/pages/contract/contractexecution/details/index.tsx
+19
-6
detailedList.tsx
src/pages/contract/coordination/details/detailedList.tsx
+3
-3
index.tsx
src/pages/contract/coordination/details/index.tsx
+4
-1
add.tsx
src/pages/contract/funds/addbill/add.tsx
+11
-2
info.tsx
src/pages/contract/funds/addbill/components/info.tsx
+0
-1
index.tsx
src/pages/contract/funds/addbill/index.tsx
+16
-3
index.tsx
src/pages/contract/funds/details/index.tsx
+1
-1
No files found.
src/pages/contract/contractexecution/details/detailedList.tsx
View file @
082d1ef7
...
...
@@ -16,7 +16,7 @@ const DetailedList: React.FC<Iprops> = ({
const
ref
=
useRef
({});
const
columnsList
:
any
=
[
{
title
:
'请款次数'
,
dataIndex
:
'name'
,
key
:
'name'
,
align
:
'
center
'
,
title
:
'请款次数'
,
dataIndex
:
'name'
,
key
:
'name'
,
align
:
'
left
'
,
render
:
(
text
:
any
,
record
:
any
,
index
:
number
)
=>
{
return
(
<
span
>
{
index
+
1
}
</
span
>
...
...
@@ -24,7 +24,7 @@ const DetailedList: React.FC<Iprops> = ({
},
},
{
title
:
'请款单号/摘要'
,
dataIndex
:
'applyNo'
,
align
:
'
center
'
,
title
:
'请款单号/摘要'
,
dataIndex
:
'applyNo'
,
align
:
'
left
'
,
render
:
(
text
:
any
,
record
:
any
)
=>
{
return
(
<
div
>
...
...
@@ -38,9 +38,17 @@ const DetailedList: React.FC<Iprops> = ({
);
}
},
{
title
:
'请款时间'
,
dataIndex
:
'applyTime'
,
align
:
'center'
,
},
{
title
:
'请款金额'
,
dataIndex
:
'applyAmount'
,
align
:
'center'
,
title
:
'请款单状态'
,
dataIndex
:
'statusName'
,
key
:
'statusName'
,
align
:
'left'
,
render
:
(
text
:
any
)
=>
{
return
(
<
span
>
{
text
}
</
span
>
)
},
},
{
title
:
'请款时间'
,
dataIndex
:
'applyTime'
,
align
:
'left'
,
},
{
title
:
'请款金额'
,
dataIndex
:
'applyAmount'
,
align
:
'left'
,
render
:
(
text
:
any
,
record
:
any
,
index
:
number
)
=>
{
return
(
<
span
>
¥
{
text
}
</
span
>
...
...
@@ -48,9 +56,9 @@ const DetailedList: React.FC<Iprops> = ({
},
},
{
title
:
'付款时间'
,
dataIndex
:
'payTime'
,
align
:
'
center
'
,
},
{
title
:
'付款时间'
,
dataIndex
:
'payTime'
,
align
:
'
left
'
,
},
{
title
:
'付款金额'
,
dataIndex
:
'payAmount'
,
align
:
'
center
'
,
title
:
'付款金额'
,
dataIndex
:
'payAmount'
,
align
:
'
left
'
,
render
:
(
text
:
any
,
record
:
any
,
index
:
number
)
=>
{
return
(
<
span
>
¥
{
text
}
</
span
>
...
...
@@ -59,7 +67,7 @@ const DetailedList: React.FC<Iprops> = ({
},
{
title
:
'付款方式'
,
dataIndex
:
'payWayName'
,
align
:
'
center
'
,
align
:
'
left
'
,
},
];
/* 请款统计 */
...
...
@@ -70,7 +78,6 @@ const DetailedList: React.FC<Iprops> = ({
contractId
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
console
.
log
(
res
,
'这个是什么玩意'
)
resolve
(
res
.
data
)
}
else
{
...
...
src/pages/contract/contractexecution/details/index.tsx
View file @
082d1ef7
...
...
@@ -121,6 +121,24 @@ const Details = (props: any) => {
{
label
:
'合同有效期:'
,
extra
:
`
${
basics
.
startTime
}
至
${
basics
.
endTime
}
`
},
],
}
if
(
basics
.
sourceId
)
{
switch
(
basics
.
sourceType
)
{
case
1
:
{
if
(
basics
.
turn
&&
basics
.
sourceId
)
{
basicInfo
.
col2
[
1
].
url
=
`/memberCenter/procurementAbility/confirmOffer/offerInquire/preview?id=
${
basics
.
sourceId
}
&turn=
${
basics
.
turn
}
`
}
break
;
};
case
2
:
{
basicInfo
.
col2
[
1
].
url
=
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=
${
basics
.
sourceId
}
`
break
;
};
case
3
:
{
basicInfo
.
col2
[
1
].
url
=
`/memberCenter/procurementAbility/purchaseBid/search/detail?id=
${
basics
.
sourceId
}
&number=
${
basics
.
sourceNo
}
`
break
;
};
}
}
setpayPlanList
(
payPlanList
)
setbasicInfo
(
basicInfo
)
}
...
...
@@ -343,7 +361,6 @@ const Details = (props: any) => {
current
:
current
,
pageSize
:
pageSize
,
}
console
.
log
(
data
)
getContracInfoList
(
data
)
};
...
...
@@ -394,11 +411,7 @@ const Details = (props: any) => {
{
/* 基本信息 */
}
<
BasicInfo
basicInfo=
{
basicInfo
}
/>
{
/* 付款计划 */
}
<
PaymentCard
payPlanList=
{
payPlanList
}
basics=
{
basics
}
contractId=
{
contractId
}
/>
<
PaymentCard
payPlanList=
{
payPlanList
}
basics=
{
basicInfo
}
contractId=
{
contractId
}
/>
{
/* 执行情况 */
}
<
div
id=
'docking'
className=
'ant-card ant-card-bordered'
>
<
div
className=
'ant-card-head'
>
...
...
src/pages/contract/coordination/details/detailedList.tsx
View file @
082d1ef7
...
...
@@ -16,7 +16,7 @@ const DetailedList: React.FC<Iprops> = ({
const
ref
=
useRef
({});
const
columnsList
:
any
=
[
{
title
:
'
请
款次数'
,
dataIndex
:
'name'
,
key
:
'name'
,
align
:
'center'
,
title
:
'
付
款次数'
,
dataIndex
:
'name'
,
key
:
'name'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
,
index
:
number
)
=>
{
return
(
<
span
>
{
index
+
1
}
</
span
>
...
...
@@ -83,8 +83,8 @@ const DetailedList: React.FC<Iprops> = ({
<
div
className=
'ant-card-head'
>
<
div
className=
'ant-card-head-wrapper'
>
<
div
className=
'ant-card-head-wrapper'
>
请款
统计
</
div
>
合同付款情况
统计
</
div
>
</
div
>
</
div
>
<
div
className=
'ant-card-body'
>
...
...
src/pages/contract/coordination/details/index.tsx
View file @
082d1ef7
...
...
@@ -341,7 +341,10 @@ const Details = (props: any) => {
:
<
PurchaseList
contractId=
{
contractId
}
type=
{
type
}
Refresh=
{
Refresh
}
/>
}
{
/* 付款计划 */
}
<
PaymentCard
IsShow=
{
true
}
payPlanList=
{
payPlanList
}
basics=
{
basicInfo
}
contractId=
{
contractId
}
/>
{
type
!=
'implement'
&&
<
PaymentCard
IsShow=
{
true
}
payPlanList=
{
payPlanList
}
basics=
{
basicInfo
}
contractId=
{
contractId
}
/>
}
{
/* 交易条件 */
}
{
type
!=
'implement'
&&
...
...
src/pages/contract/funds/addbill/add.tsx
View file @
082d1ef7
...
...
@@ -16,7 +16,7 @@ const { TabPane } = Tabs;
const
Add
:
React
.
FC
<
{}
>
=
(
props
:
any
)
=>
{
const
{
location
:
{
query
:
{
sourceType
,
paymentId
}
}
}
=
props
;
const
{
location
:
{
query
:
{
sourceType
,
paymentId
,
type
}
}
}
=
props
;
console
.
log
(
sourceType
)
const
currentBasic
=
useRef
<
any
>
({});
const
detailData
=
useRef
<
any
>
({});
...
...
@@ -29,7 +29,14 @@ const Add: React.FC<{}> = (props: any) => {
setid
(
data
.
selectRow
.
id
)
console
.
log
(
data
)
}
useEffect
(()
=>
{
// contract
PublicApi
.
getContractApplyAmountGetDetail
({
applyId
:
paymentId
}).
then
((
res
)
=>
{
console
.
log
(
res
)
}).
catch
((
err
)
=>
{
});
},
[])
const
TabList
=
[
{
name
:
'基本信息'
,
components
:
...
...
@@ -38,6 +45,7 @@ const Add: React.FC<{}> = (props: any) => {
getcontractId=
{
getflag
}
sourceType=
{
sourceType
}
paymentId=
{
paymentId
}
type=
{
type
}
/>
},
{
...
...
@@ -68,9 +76,10 @@ const Add: React.FC<{}> = (props: any) => {
}
return
(
<
PageHeaderWrapper
title=
"新建请款单"
title=
{
type
?
'修改请款单'
:
'新建请款单'
}
onBack=
{
()
=>
history
.
goBack
()
}
backIcon=
{
<
ReutrnEle
description=
"返回"
/>
}
extra=
{
[
...
...
src/pages/contract/funds/addbill/components/info.tsx
View file @
082d1ef7
...
...
@@ -241,7 +241,6 @@ const AddInfo = (props: any) => {
key
=
item
}
})
console
.
log
(
key
);
const
basicsData
=
basics
;
basicsData
.
applyAmount
=
key
.
payAmount
;
basicsData
.
payWay
=
key
.
payWay
;
...
...
src/pages/contract/funds/addbill/index.tsx
View file @
082d1ef7
...
...
@@ -86,14 +86,27 @@ const AddbillList: React.FC<{}> = () => {
// 修改时不允许修改请款单号、合同编号,修改后状态更新为待提交审核,待提交审核、审核不通过(一级) 、审核不通过(二级)状态的可以修改
// 状态, 1.待提交审核, 2.待审核(一级), 3.审核不通过(一级), 4.待审核(二级), 5.审核不通过(二级), 6.待提交财务付款, 7.待付款, 8.已付款, 9.已作废
// 删除:只有内部状态为待提交审核状态且从未提交审核的才可以删除,删除前需要提示,确认后才能删除
let
node
;
let
edit
=
<
span
style=
{
{
color
:
'#00B37A'
,
marginRight
:
20
,
cursor
:
'pointer'
,
}
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/contract/funds/addbill/Add?paymentId=${record.id}&type=edit`
)
}
>
修改
</
span
>;
switch
(
record
.
status
)
{
case
1
:
node
=
edit
;
break
;
case
3
:
node
=
edit
break
;
case
5
:
node
=
edit
break
;
default
:
break
;
}
return
(
<>
{
record
.
status
==
1
&&
<
span
style=
{
{
color
:
'#00B37A'
,
marginRight
:
20
,
cursor
:
'pointer'
,
}
}
onClick=
{
()
=>
isModal
(
record
)
}
>
提交
</
span
>
}
{
record
.
status
!=
3
||
record
.
status
!=
5
&&
<
span
style=
{
{
color
:
'#00B37A'
,
marginRight
:
20
,
cursor
:
'pointer'
,
}
}
>
修改
</
span
>
}
{
node
}
{
record
.
status
==
1
&&
<
Popconfirm
...
...
src/pages/contract/funds/details/index.tsx
View file @
082d1ef7
...
...
@@ -21,7 +21,7 @@ const BillDetails = (props: any) => {
const
{
location
:
{
query
:
{
applyId
,
type
}
}
}
=
props
const
[
tabPane
]
=
useState
([
{
id
:
'progress'
,
title
:
'流转进度'
},
{
id
:
'process'
,
title
:
'基本
流程
'
},
{
id
:
'process'
,
title
:
'基本
信息
'
},
{
id
:
'materials'
,
title
:
'请款明细'
},
{
id
:
'record'
,
title
:
'流转记录'
},
])
...
...
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