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
9b6267e8
Commit
9b6267e8
authored
Jul 13, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 处理招投标系列问题
parent
77be9e7b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
8 deletions
+14
-8
index.tsx
...yCheckedConfirmFirst/components/remarkBidReport/index.tsx
+1
-1
index.tsx
...CheckedConfirmSecond/components/remarkBidReport/index.tsx
+1
-1
index.tsx
...llForBids/readyConfirmBid/components/bidConfirm/index.tsx
+1
-1
index.tsx
...Bids/readyConfirmBid/components/remarkBidReport/index.tsx
+1
-1
index.tsx
...ForBids/readyPassBid/components/remarkBidReport/index.tsx
+1
-1
index.tsx
...ds/readySubmitReport/components/remarkBidReport/index.tsx
+1
-1
index.tsx
src/pages/procurement/components/remarkBidReport/index.tsx
+1
-1
index.tsx
src/pages/procurement/tender/addTender/index.tsx
+6
-1
index.ts
src/pages/procurement/tender/addTender/schema/index.ts
+1
-0
No files found.
src/pages/procurement/callForBids/readyCheckedConfirmFirst/components/remarkBidReport/index.tsx
View file @
9b6267e8
...
...
@@ -98,7 +98,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
memberId
:
childDataSource
[
_item
][
0
][
'memberId'
],
memberName
:
_item
,
total
:
computedMemberScoreItem
[
'total'
],
average
:
computedMemberScoreItem
[
'average'
],
average
:
computedMemberScoreItem
[
'average'
]
?
computedMemberScoreItem
[
'average'
].
toFixed
(
2
)
:
null
,
expertNumber
:
computedMemberScoreItem
[
'expertNumber'
],
}
let
columns
:
any
=
[]
...
...
src/pages/procurement/callForBids/readyCheckedConfirmSecond/components/remarkBidReport/index.tsx
View file @
9b6267e8
...
...
@@ -98,7 +98,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
memberId
:
childDataSource
[
_item
][
0
][
'memberId'
],
memberName
:
_item
,
total
:
computedMemberScoreItem
[
'total'
],
average
:
computedMemberScoreItem
[
'average'
],
average
:
computedMemberScoreItem
[
'average'
]
?
computedMemberScoreItem
[
'average'
].
toFixed
(
2
)
:
null
,
expertNumber
:
computedMemberScoreItem
[
'expertNumber'
],
}
let
columns
:
any
=
[]
...
...
src/pages/procurement/callForBids/readyConfirmBid/components/bidConfirm/index.tsx
View file @
9b6267e8
...
...
@@ -29,7 +29,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
useEffect
(()
=>
{
if
(
data
?.
memberList
.
length
)
{
const
{
memberList
}
=
data
const
_memberList
=
memberList
.
filter
(
every
=>
every
.
submitTender
).
map
(
item
=>
({
const
_memberList
=
memberList
.
filter
(
every
=>
every
.
submitTender
&&
every
.
isSubmit
).
map
(
item
=>
({
...
item
,
totalAmount
:
(
item
.
submitTender
.
submitTenderMateriel
.
reduce
((
a
,
b
)
=>
a
+
b
.
price
*
b
.
inviteTenderMateriel
.
count
,
0
)).
toFixed
(
2
)
})).
sort
((
a
,
b
)
=>
b
.
totalAmount
-
a
.
totalAmount
)
...
...
src/pages/procurement/callForBids/readyConfirmBid/components/remarkBidReport/index.tsx
View file @
9b6267e8
...
...
@@ -98,7 +98,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
memberId
:
childDataSource
[
_item
][
0
][
'memberId'
],
memberName
:
_item
,
total
:
computedMemberScoreItem
[
'total'
],
average
:
computedMemberScoreItem
[
'average'
],
average
:
computedMemberScoreItem
[
'average'
]
?
computedMemberScoreItem
[
'average'
].
toFixed
(
2
)
:
null
,
expertNumber
:
computedMemberScoreItem
[
'expertNumber'
],
}
let
columns
:
any
=
[]
...
...
src/pages/procurement/callForBids/readyPassBid/components/remarkBidReport/index.tsx
View file @
9b6267e8
...
...
@@ -98,7 +98,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
memberId
:
childDataSource
[
_item
][
0
][
'memberId'
],
memberName
:
_item
,
total
:
computedMemberScoreItem
[
'total'
],
average
:
computedMemberScoreItem
[
'average'
],
average
:
computedMemberScoreItem
[
'average'
]
?
computedMemberScoreItem
[
'average'
].
toFixed
(
2
)
:
null
,
expertNumber
:
computedMemberScoreItem
[
'expertNumber'
],
}
let
columns
:
any
=
[]
...
...
src/pages/procurement/callForBids/readySubmitReport/components/remarkBidReport/index.tsx
View file @
9b6267e8
...
...
@@ -127,7 +127,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle, editable})
memberId
:
childDataSource
[
_item
][
0
][
'memberId'
],
memberName
:
_item
,
total
:
computedMemberScoreItem
[
'total'
],
average
:
computedMemberScoreItem
[
'average'
],
average
:
computedMemberScoreItem
[
'average'
]
?
computedMemberScoreItem
[
'average'
].
toFixed
(
2
)
:
null
,
expertNumber
:
computedMemberScoreItem
[
'expertNumber'
],
editable
,
}
...
...
src/pages/procurement/components/remarkBidReport/index.tsx
View file @
9b6267e8
...
...
@@ -100,7 +100,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle}) => {
memberId
:
childDataSource
[
_item
][
0
][
'memberId'
],
memberName
:
_item
,
total
:
computedMemberScoreItem
[
'total'
],
average
:
computedMemberScoreItem
[
'average'
],
average
:
computedMemberScoreItem
[
'average'
]
?
computedMemberScoreItem
[
'average'
].
toFixed
(
2
)
:
null
,
expertNumber
:
computedMemberScoreItem
[
'expertNumber'
],
}
let
columns
:
any
=
[]
...
...
src/pages/procurement/tender/addTender/index.tsx
View file @
9b6267e8
...
...
@@ -63,6 +63,7 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
const
[
initFormValue
,
setInitFormValue
]
=
useState
<
any
>
({
submitTenderMateriel
:
[]
})
const
[
code
,
setCode
]
=
useState
<
any
>
({})
// 关联报价商品
const
productRef
=
useRef
<
any
>
({})
...
...
@@ -80,6 +81,7 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
PublicApi
.
getPurchaseSubmitTenderGetSubmitTender
({
submitTenderId
:
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
const
pocessedData
=
processTenderData
(
res
.
data
)
setCode
(
res
.
data
.
inviteTender
)
setInitFormValue
(
pocessedData
)
}
})
...
...
@@ -151,6 +153,8 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
}
}
const
InviterCodeJump
=
()
=>
<
a
target=
"_blank"
href=
{
`/memberCenter/procurementAbility/callForBids/callForBidsSearch/detail?id=${code.id}`
}
>
{
code
.
code
}
</
a
>
return
(
<
PageHeaderWrapper
style=
{
{
margin
:
0
}
}
...
...
@@ -172,7 +176,8 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
schema=
{
formSchema
}
onSubmit=
{
handleSubmit
}
components=
{
{
ArrayTable
ArrayTable
,
InviterCodeJump
}
}
effects=
{
(
$
,
ctx
)
=>
{
$
(
'onFormMount'
).
subscribe
(
async
()
=>
{
...
...
src/pages/procurement/tender/addTender/schema/index.ts
View file @
9b6267e8
...
...
@@ -44,6 +44,7 @@ export const formSchema: ISchema = {
type
:
'string'
,
title
:
'招标编号'
,
readOnly
:
true
,
'x-component'
:
'InviterCodeJump'
,
},
memberName
:
{
type
:
'string'
,
...
...
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