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
0fb97966
Commit
0fb97966
authored
Jul 07, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 调整新建投标关联商品为非强关联
parent
9ff28854
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
index.tsx
...rocurement/callForBids/callForBidsSearch/detail/index.tsx
+5
-0
index.tsx
...rocurement/callForBids/readySubmitReport/detail/index.tsx
+1
-1
index.tsx
src/pages/procurement/tender/addTender/index.tsx
+7
-6
No files found.
src/pages/procurement/callForBids/callForBidsSearch/detail/index.tsx
View file @
0fb97966
...
...
@@ -57,6 +57,11 @@ const CallForBidsSearchDetail: React.FC = () => {
anchorTitleList
.
forEach
((
ele
,
index
)
=>
ele
[
'title'
]
===
'资格预审要求'
&&
anchorTitleList
.
splice
(
index
,
1
))
}
// 招标完成 才显示招标结果
if
(
!
data
?.
isFinish
)
{
anchorTitleList
.
forEach
((
ele
,
index
)
=>
ele
[
'title'
]
===
'招标结果'
&&
anchorTitleList
.
splice
(
index
,
1
))
}
return
(
<
div
>
<
BidDetailContext
.
Provider
value=
{
formContext
}
>
...
...
src/pages/procurement/callForBids/readySubmitReport/detail/index.tsx
View file @
0fb97966
...
...
@@ -51,7 +51,7 @@ const readySubmitReportDetail: React.FC = () => {
params
.
evaluationTenderRecommendList
=
recommandList
.
filter
(
item
=>
!
item
?.
id
)
}
params
.
evaluationTenderFile
=
fileList
params
.
evaluationTenderReportMemberList
=
childTableData
[
0
].
map
(
item
=>
({
memberId
:
item
.
memberId
,
correctScore
:
item
.
total
}))
params
.
evaluationTenderReportMemberList
=
childTableData
?.
length
?
childTableData
[
0
].
map
(
item
=>
({
memberId
:
item
.
memberId
,
correctScore
:
item
.
total
}))
:
[]
PublicApi
.
postPurchaseExpertExtractReportSubmitEvaluationTenderReport
(
params
).
then
(
res
=>
{
setLoading
(
true
)
if
(
res
.
code
===
1000
)
{
...
...
src/pages/procurement/tender/addTender/index.tsx
View file @
0fb97966
...
...
@@ -109,12 +109,12 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
return
param
})
}
// 校验是否关联商品
if
(
!
params
.
submitTenderMateriel
.
some
(
v
=>
v
.
commoditySkuId
&&
v
.
commodityId
))
{
// if(!params.submitTenderMateriel.some(v => v.commodityId)) {
setBtnLoading
(
false
)
return
message
.
error
(
'请先关联投标商品'
)
}
//
//
校验是否关联商品
//
if(!params.submitTenderMateriel.some(v => v.commoditySkuId && v.commodityId)) {
//
//
if(!params.submitTenderMateriel.some(v => v.commodityId)) {
//
setBtnLoading(false)
//
return message.error('请先关联投标商品')
//
}
// 校验单价
let
judgementByCount
=
params
.
submitTenderMateriel
?.
length
&&
params
.
submitTenderMateriel
.
map
(
item
=>
{
if
(
item
.
price
&&
typeof
item
.
taxRate
===
'number'
){
...
...
@@ -125,6 +125,7 @@ const AddTender:React.FC<AddTenderProps> = (props) => {
})
if
(
!
judgementByCount
||
judgementByCount
.
includes
(
false
)){
// throw new Error('请填写商品单价')
setBtnLoading
(
false
)
return
message
.
error
(
'请填写商品单价'
)
}
if
(
value
?.
id
)
params
.
id
=
value
.
id
...
...
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