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
6fcbaa0e
Commit
6fcbaa0e
authored
Jul 19, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改渠道积分商品禁用会员折扣,招标提交评标报告线下模式显示评分项
parent
9ac7e002
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
modifyDirectChannel.tsx
src/pages/commodity/products/modifyDirectChannel.tsx
+1
-1
index.tsx
...ds/readySubmitReport/components/remarkBidReport/index.tsx
+7
-3
No files found.
src/pages/commodity/products/modifyDirectChannel.tsx
View file @
6fcbaa0e
...
...
@@ -491,7 +491,7 @@ const ModifyDirectChannel:React.FC<{}> = () => {
label=
"会员折扣"
valuePropName=
"checked"
>
<
Checkbox
>
允许使用会员折扣价购买
</
Checkbox
>
<
Checkbox
disabled=
{
priceTypeRef
.
current
===
3
}
>
允许使用会员折扣价购买
</
Checkbox
>
</
Form
.
Item
>
</
Form
>
<
Button
onClick=
{
()
=>
setVisibleAddSpec
(
true
)
}
style=
{
{
width
:
'100%'
,
marginBottom
:
24
,
backgroundColor
:
'#fafbfc'
}
}
>
...
...
src/pages/procurement/callForBids/readySubmitReport/components/remarkBidReport/index.tsx
View file @
6fcbaa0e
...
...
@@ -92,7 +92,7 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle, editable})
console
.
log
(
dataSource
,
computedScore
,
dataBySort
,
'computedScore'
)
setEvaluationRecord
(
dataBySort
)
// 线下评标
或者线上评标但是没有去评
评分项Radio来自评标模板接口
// 线下评标 评分项Radio来自评标模板接口
if
(
data
?.
templateId
)
{
PublicApi
.
getPurchaseTemplateGetTemplate
({
id
:
data
.
templateId
}).
then
(
res
=>
{
const
{
code
,
data
}
=
res
...
...
@@ -343,7 +343,10 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle, editable})
<
h3
className=
"commonPanelTitle"
>
评标记录
</
h3
>
<
Radio
.
Group
value=
{
transferRadio
}
buttonStyle=
"solid"
size=
"small"
onChange=
{
handleChangeType
}
>
{
Object
.
keys
(
evaluationRecord
).
map
((
item
,
index
)
=>
(
typeof
item
===
"undefined"
?
<
Radio
.
Button
key=
{
index
}
value=
{
index
}
>
{
item
}
</
Radio
.
Button
>
:
null
))
data
?.
isOnlineEvaluation
?
Object
.
keys
(
evaluationRecord
).
map
((
item
,
index
)
=>
(
item
===
'undefined'
?
null
:
<
Radio
.
Button
key=
{
index
}
value=
{
index
}
>
{
item
}
</
Radio
.
Button
>))
:
templateSort
.
map
((
item
,
index
)
=>
<
Radio
.
Button
key=
{
index
}
value=
{
index
}
>
{
item
[
'sort'
]
}
</
Radio
.
Button
>)
}
</
Radio
.
Group
>
</
div
>
...
...
@@ -367,7 +370,8 @@ const RemarkBidReport: React.FC<RemarkBidReportProps> = ({cardTitle, editable})
};
});
if
(
transferRadio
===
index
)
{
// if(transferRadio === index)
{
if
(
transferRadio
===
index
||
!
data
?.
isOnlineEvaluation
)
{
return
<
Table
key=
{
index
}
components=
{
components
}
...
...
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