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
55f071e3
Commit
55f071e3
authored
Jun 09, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-srm' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into dev-srm
parents
b67efb14
002a3d19
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
118 additions
and
71 deletions
+118
-71
DrawerModal.tsx
src/pages/contract/contractexecution/details/DrawerModal.tsx
+41
-14
index.tsx
src/pages/contract/contractexecution/details/index.tsx
+6
-5
index.tsx
src/pages/contract/coordination/coordinationList/index.tsx
+2
-2
index.tsx
src/pages/contract/coordination/pageToBeExamineOne/index.tsx
+9
-5
index.tsx
src/pages/contract/coordination/pageToBeExamineTwo/index.tsx
+9
-5
index.tsx
...ges/contract/coordination/pageToBeSubmitExamine/index.tsx
+9
-5
index.tsx
src/pages/contract/coordination/sign/index.tsx
+9
-5
table.tsx
src/pages/contract/funds/addbill/components/table.tsx
+1
-1
index.tsx
src/pages/contract/funds/details/index.tsx
+3
-1
index.tsx
src/pages/contract/manage/QueryList/index.tsx
+1
-1
index.css
src/pages/contract/manage/details/index.css
+5
-5
index.less
src/pages/contract/manage/details/index.less
+8
-12
index.tsx
src/pages/contract/manage/details/index.tsx
+3
-1
index.tsx
src/pages/contract/manage/examine/index.tsx
+3
-3
index.tsx
src/pages/contract/manage/levelexamine/index.tsx
+3
-2
index.tsx
src/pages/contract/manage/secondaryexamine/index.tsx
+3
-2
index.tsx
src/pages/contract/manage/signacontract/index.tsx
+3
-2
No files found.
src/pages/contract/contractexecution/details/DrawerModal.tsx
View file @
55f071e3
...
...
@@ -5,24 +5,28 @@ import { Button, Drawer, } from 'antd';
import
{
StandardTable
}
from
'god'
;
import
EyePreview
from
'@/components/EyePreview'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
moment
from
'moment'
;
export
interface
Iprops
extends
IAntdSchemaFormProps
{
/* 显示隐藏 */
visible
:
any
,
applyId
:
any
,
item
:
any
,
contractId
:
any
,
setDrawerModal
:
Function
}
const
DrawerModal
:
React
.
FC
<
Iprops
>
=
({
visible
,
applyId
,
setDrawerModal
item
,
setDrawerModal
,
contractId
,
})
=>
{
console
.
log
(
item
)
const
ref
=
useRef
({});
const
[
selectRow
,
setSelectRow
]
=
useState
<
any
[]
>
([])
// 抽屉选择的行数据
const
[
selectedRowKeys
,
setSelectedRowKeys
]
=
useState
<
Array
<
string
>>
([])
const
PaymentList
:
any
=
[
{
title
:
'
单据号/摘要'
,
dataIndex
:
'orderNO
'
,
align
:
'center'
,
title
:
'
请款单号/摘要'
,
dataIndex
:
'applyNo
'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
)
=>
{
return
(
<
div
>
...
...
@@ -31,14 +35,36 @@ const DrawerModal: React.FC<Iprops> = ({
>
{
text
}
</
EyePreview
>
<
p
>
{
record
.
order
Abstract
}
</
p
>
<
p
>
{
record
.
apply
Abstract
}
</
p
>
</
div
>
);
},
},
{
title
:
'单据类型'
,
dataIndex
:
'orderTypeName'
,
align
:
'center'
,
},
{
title
:
'单据状态'
,
dataIndex
:
'orderStatusName'
,
align
:
'center'
,
},
{
title
:
'单据时间'
,
dataIndex
:
'orderTime'
,
align
:
'center'
,
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
align
:
'center'
,
},
{
title
:
'请款时间'
,
dataIndex
:
'orderTime'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
div
>
{
moment
(
Number
(
text
)).
format
(
'YYYY-MM-DD'
)
}
</
div
>
)
},
{
title
:
'请款金额'
,
dataIndex
:
'applyAmount'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
div
>
¥
{
text
}
</
div
>
)
},
{
title
:
'付款时间'
,
dataIndex
:
'payTime'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
div
>
{
moment
(
Number
(
text
)).
format
(
'YYYY-MM-DD'
)
}
</
div
>
)
},
{
title
:
'付款金额'
,
dataIndex
:
'payAmount'
,
align
:
'center'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<
div
>
¥
{
text
}
</
div
>
)
},
]
/* 查看付款明细————————————————————查看付款明细———————————————————— */
const
rowSelection
:
any
=
{
...
...
@@ -49,15 +75,16 @@ const DrawerModal: React.FC<Iprops> = ({
}
}
/* 请求查看付款明细 */
const
getPaymentList
=
(
params
)
=>
{
const
fetchTableData
=
(
params
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getContractExecuteExecuteInfoPayDetail
InfoPagePayDetail
({
PublicApi
.
getContractExecuteExecuteInfoPayDetail
List
({
...
params
,
applyId
,
executeId
:
item
.
id
,
contractId
,
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
console
.
log
(
res
,
'请求查看付款明细'
)
resolve
(
res
.
data
)
console
.
log
(
res
.
data
,
'请求查看付款明细'
)
resolve
(
res
)
}
})
})
...
...
@@ -92,7 +119,7 @@ const DrawerModal: React.FC<Iprops> = ({
columns=
{
PaymentList
}
currentRef=
{
ref
}
rowSelection=
{
rowSelection
}
fetchTableData=
{
(
params
:
any
)
=>
getPaymentList
(
params
)
}
fetchTableData=
{
(
params
:
any
)
=>
fetchTableData
(
params
)
}
/>
</
Drawer
>
...
...
src/pages/contract/contractexecution/details/index.tsx
View file @
55f071e3
...
...
@@ -59,7 +59,8 @@ const Details = (props: any) => {
/* 待请款 */
const
[
unApplyAmount
,
setunApplyAmount
]
=
useState
<
number
>
(
0
)
/* 请款单id */
const
[
applyId
,
setapplyId
]
=
useState
<
number
>
(
0
)
// const [applyId, setapplyId] = useState<number>(0)
const
[
item
,
setitem
]
=
useState
({});
/* 执行情况分页 */
const
getContracInfoList
=
(
data
)
=>
{
setListLoading
(
true
);
...
...
@@ -242,7 +243,7 @@ const Details = (props: any) => {
return
(
<
div
>
{
record
.
payAmount
>
0
||
record
.
unPayApplyAmount
>
0
&&
<
a
onClick=
{
()
=>
getPayment
(
record
.
id
)
}
className=
{
style
.
gesture
}
>
查看付款明细
</
a
>
record
.
payAmount
>
0
||
record
.
unPayApplyAmount
>
0
&&
<
a
onClick=
{
()
=>
getPayment
(
record
)
}
className=
{
style
.
gesture
}
>
查看付款明细
</
a
>
}
<
a
onClick=
{
()
=>
onModal
(
record
,
false
)
}
style=
{
{
marginLeft
:
10
}
}
className=
{
style
.
gesture
}
>
请款
</
a
>
</
div
>
...
...
@@ -282,8 +283,8 @@ const Details = (props: any) => {
}
}
/* 点击显示弹出 */
const
getPayment
=
(
i
d
)
=>
{
set
applyId
(
id
)
const
getPayment
=
(
i
tem
)
=>
{
set
item
(
item
)
setVisible
(
!
visible
)
}
...
...
@@ -444,7 +445,7 @@ const Details = (props: any) => {
<
DetailedList
contractId=
{
contractId
}
/>
</
div
>
{
/* 选择弹出内容 */
}
<
DrawerModal
visible=
{
visible
}
applyId=
{
apply
Id
}
setDrawerModal=
{
setDrawerModal
}
/>
<
DrawerModal
visible=
{
visible
}
item=
{
item
}
contractId=
{
contract
Id
}
setDrawerModal=
{
setDrawerModal
}
/>
{
/* 请款弹出 */
}
<
PopModal
ModalVisible=
{
ModalVisible
}
payType=
{
payType
}
selectRowList=
{
selectRow
}
contractId=
{
contractId
}
basics=
{
basics
}
setDrawerPopModal=
{
setDrawerPopModal
}
/>
</
div
>
...
...
src/pages/contract/coordination/coordinationList/index.tsx
View file @
55f071e3
...
...
@@ -66,10 +66,10 @@ const coordinationList = () => {
render
:
(
text
,
record
)
=>
<
div
>
{
text
&&
text
&&
record
.
sourceId
&&
<
EyePreview
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/
confirmOffer/offerInquire/demand
/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/
offter/offter
/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
...
...
src/pages/contract/coordination/pageToBeExamineOne/index.tsx
View file @
55f071e3
...
...
@@ -71,11 +71,15 @@ const pageToBeExamineOne = () => {
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
div
>
<
EyePreview
type=
"button"
>
{
text
}
</
EyePreview
>
{
text
&&
record
.
sourceId
&&
<
EyePreview
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/offter/offter/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
}
<
p
>
{
record
.
sourceTypeName
}
</
p
>
</
div
>
},
...
...
src/pages/contract/coordination/pageToBeExamineTwo/index.tsx
View file @
55f071e3
...
...
@@ -70,11 +70,15 @@ const pageToBeExamineTwo = () => {
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
div
>
<
EyePreview
type=
"button"
>
{
text
}
</
EyePreview
>
{
text
&&
record
.
sourceId
&&
<
EyePreview
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/offter/offter/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
}
<
p
>
{
record
.
sourceTypeName
}
</
p
>
</
div
>
},
...
...
src/pages/contract/coordination/pageToBeSubmitExamine/index.tsx
View file @
55f071e3
...
...
@@ -68,11 +68,15 @@ const pageToBeSubmitExamine = () => {
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
div
>
<
EyePreview
type=
"button"
>
{
text
}
</
EyePreview
>
{
text
&&
record
.
sourceId
&&
<
EyePreview
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/offter/offter/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
}
<
p
>
{
record
.
sourceTypeName
}
</
p
>
</
div
>
},
...
...
src/pages/contract/coordination/sign/index.tsx
View file @
55f071e3
...
...
@@ -67,11 +67,15 @@ const Sign = () => {
align
:
'center'
,
render
:
(
text
,
record
)
=>
<
div
>
<
EyePreview
type=
"button"
>
{
text
}
</
EyePreview
>
{
text
&&
record
.
sourceId
&&
<
EyePreview
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/offter/offter/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
}
<
p
>
{
record
.
sourceTypeName
}
</
p
>
</
div
>
},
...
...
src/pages/contract/funds/addbill/components/table.tsx
View file @
55f071e3
...
...
@@ -82,7 +82,7 @@ const table = (props: any) => {
title
:
'含税/税率'
,
dataIndex
:
'taxRate'
,
align
:
'left'
,
render
:
(
text
,
record
)
=>
<
div
>
<
div
>
{
text
?
'是'
:
'否'
}
</
div
>
<
div
>
{
record
.
isHasTax
?
'是'
:
'否'
}
</
div
>
<
div
>
%
{
text
}
</
div
>
</
div
>
...
...
src/pages/contract/funds/details/index.tsx
View file @
55f071e3
...
...
@@ -29,6 +29,7 @@ const BillDetails = (props: any) => {
const
[
isModalVisible
,
setIsModalVisible
]
=
useState
(
false
);
const
[
StepList
,
setStepList
]
=
useState
<
any
>
([]);
const
[
applyAbstract
,
setapplyAbstract
]
=
useState
(
''
);
const
[
applyNo
,
setapplyNo
]
=
useState
(
''
);
const
[
reason
,
setDatareason
]
=
useState
(
''
);
const
[
status
,
setstatus
]
=
useState
<
any
>
()
const
[
ExamineFlag
,
setExamineFlag
]
=
useState
<
boolean
>
(
false
);
...
...
@@ -87,6 +88,7 @@ const BillDetails = (props: any) => {
setbasicInfo
(
basicInfo
)
setStepList
(
taskStepList
);
setapplyAbstract
(
basics
.
applyAbstract
)
setapplyNo
(
basics
.
applyNo
)
setstatus
(
basics
.
status
)
}
})
...
...
@@ -172,7 +174,7 @@ const BillDetails = (props: any) => {
marginLeft
:
'8px'
,
}
}
>
{
applyAbstract
}
{
applyAbstract
}
|
{
applyNo
}
</
span
>
</
div
>
...
...
src/pages/contract/manage/QueryList/index.tsx
View file @
55f071e3
...
...
@@ -80,7 +80,7 @@ const QueryList = () => {
return
(
<
div
>
{
text
&&
text
&&
record
.
sourceId
&&
<
EyePreview
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
...
...
src/pages/contract/manage/details/index.css
View file @
55f071e3
.anchorWrap
:global
.ant-pro-basicLayout-content
{
margin
:
0
!important
;
}
.anchorWrap
:global
.ant-anchor
{
display
:
flex
;
align-items
:
center
;
...
...
@@ -59,6 +62,8 @@
}
.card
.list
{
display
:
flex
;
}
.card
.list
h5
{
margin-bottom
:
2em
;
}
.card
.list
.listLable
{
...
...
@@ -71,7 +76,6 @@
.listItem
.label
{
flex
:
0.2
;
padding
:
0
16px
;
color
:
#00b37a
;
background
:
linear-gradient
(
270deg
,
#ffffff
0%
,
#daf2e7
100%
);
}
.listItem
.text
{
...
...
@@ -157,7 +161,3 @@
margin-left
:
19px
;
color
:
#c0c4cc
;
}
.box
:global
.ant-table-expanded-row-level-1
.ant-table-cell
{
padding
:
0px
!important
;
background-color
:
#ffffff
;
}
src/pages/contract/manage/details/index.less
View file @
55f071e3
.anchorWrap {
:global {
.ant-pro-basicLayout-content{
margin: 0 !important;
}
.ant-anchor {
display: flex;
align-items: center;
...
...
@@ -33,6 +36,7 @@
padding: 0 16px;
}
}
/** 卡片样式 */
.card {
margin: 24px;
...
...
@@ -66,9 +70,8 @@
}
.list {
display: flex;
margin-bottom: 2em;
h5 {
//
margin-bottom: 2em;
margin-bottom: 2em;
}
.listLable {
flex: 0 0 25%;
...
...
@@ -82,7 +85,6 @@
.label {
flex: 0.2;
padding: 0 16px;
color: #00b37a;
background: linear-gradient(270deg, #ffffff 0%, #daf2e7 100%);
}
.text {
...
...
@@ -168,7 +170,6 @@
.upload_right {
color: #00b37a;
cursor: pointer;
:global {
.anticon-delete {
margin-left: 19px;
...
...
@@ -176,13 +177,8 @@
}
}
}
}
.box{
:global {
.ant-table-expanded-row-level-1 .ant-table-cell {
padding: 0px !important;
background-color: #ffffff;
}
}
}
src/pages/contract/manage/details/index.tsx
View file @
55f071e3
...
...
@@ -60,6 +60,7 @@ const Details = (props: any) => {
const
[
targetOffset
,
setTargetOffset
]
=
useState
<
number
|
undefined
>
(
undefined
);
const
[
contractAbstract
,
setcontractAbstract
]
=
useState
(
''
);
const
[
signatureLogId
,
setsignatureLogId
]
=
useState
<
any
>
(
''
)
// 签署地址id
const
[
contractNo
,
setcontractNo
]
=
useState
(
''
);
/* 总金额 */
const
[
tobidCount
,
settobidCount
]
=
useState
<
number
>
(
0
);
const
[
bidAmount
,
setbidAmount
]
=
useState
<
number
>
(
0
);
...
...
@@ -103,6 +104,7 @@ const Details = (props: any) => {
setpayPlanList
(
payPlanList
)
setcontractText
(
contractText
)
setcontractAbstract
(
contractAbstract
)
setcontractNo
(
basics
.
contractNo
)
}
})
}
...
...
@@ -308,7 +310,7 @@ const Details = (props: any) => {
}
}
>
{
contractAbstract
}
{
contractAbstract
}
|
{
contractNo
}
</
span
>
</
div
>
...
...
src/pages/contract/manage/examine/index.tsx
View file @
55f071e3
...
...
@@ -80,10 +80,10 @@ const Examine = () => {
return
(
<
div
>
{
text
&&
text
&&
record
.
sourceId
&&
<
EyePreview
type=
{
record
.
source
Id
?
'link'
:
'button
'
}
url=
{
`/memberCenter/procurementAbility/offter/view?id${record.sourceId}&number${record.sourceNo
}`
}
type=
{
record
.
source
Type
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link
'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId
}`
}
>
{
text
}
</
EyePreview
>
...
...
src/pages/contract/manage/levelexamine/index.tsx
View file @
55f071e3
...
...
@@ -81,9 +81,10 @@ const Levelexamine = () => {
return
(
<
div
>
{
text
&&
text
&&
record
.
sourceId
&&
<
EyePreview
type=
"button"
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
...
...
src/pages/contract/manage/secondaryexamine/index.tsx
View file @
55f071e3
...
...
@@ -76,9 +76,10 @@ const Secondaryexamine = () => {
return
(
<
div
>
{
text
&&
text
&&
record
.
sourceId
&&
<
EyePreview
type=
"button"
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
...
...
src/pages/contract/manage/signacontract/index.tsx
View file @
55f071e3
...
...
@@ -80,9 +80,10 @@ const Signacontract = () => {
return
(
<
div
>
{
text
&&
text
&&
record
.
sourceId
&&
<
EyePreview
type=
"button"
type=
{
record
.
sourceType
==
1
?
record
.
sourceId
?
'link'
:
"button"
:
'link'
}
url=
{
record
.
sourceType
==
1
?
`/memberCenter/procurementAbility/confirmOffer/offerInquire/demand/preview?id=${record.sourceId}&number${record.sourceNo}`
:
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${record.sourceId}`
}
>
{
text
}
</
EyePreview
>
...
...
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