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
bb2c5118
Commit
bb2c5118
authored
Apr 22, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix: 修改报价轮次问题
parent
f60b8ef0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
index.tsx
...on/purchaseAbility/confirmOffer/toComparePrices/index.tsx
+1
-1
offer.tsx
...ion/purchaseAbility/offter/addOffter/components/offer.tsx
+8
-4
crossSellProducts.tsx
...chaseAbility/offter/addOffter/modal/crossSellProducts.tsx
+2
-0
No files found.
src/pages/transaction/purchaseAbility/confirmOffer/toComparePrices/index.tsx
View file @
bb2c5118
...
...
@@ -107,7 +107,7 @@ const ToComparePrices = () => {
record
.
confirmInteriorState
===
OFFTER_CONFIRMINTERNALSTATE_TYPE
.
AUDITNOPASS2_TYPE
)
&&
<
Button
type=
'link'
>
修改授标结果
</
Button
>
}
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/confirmOffer/preview?id=${record.id}&turn=${record.turn}`
)
}
>
查看
</
Button
>
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/confirmOffer/
toComparePrices/
preview?id=${record.id}&turn=${record.turn}`
)
}
>
查看
</
Button
>
</>
}];
...
...
src/pages/transaction/purchaseAbility/offter/addOffter/components/offer.tsx
View file @
bb2c5118
...
...
@@ -208,18 +208,22 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
current
:
'1'
,
pageSize
:
'100'
,
}
const
param
=
{
...
data
};
if
(
name
===
'quote'
)
{
param
[
index
]
=
fetchdata
.
materiels
;
setData
({
...
param
});
}
else
{
PublicApi
.
getPurchaseQuotedPriceMaterielDetailed
({
...
params
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
!==
1000
)
{
return
}
const
param
=
{
...
data
};
param
[
index
]
=
[...
res
.
data
.
data
];
console
.
log
(
param
,
10086
)
setData
({
...
param
});
setDataSource
(
res
.
data
.
data
)
})
}
}
useEffect
(()
=>
{
if
(
fetchdata
.
id
)
{
const
isTurn
=
fetchdata
.
count
?
fetchdata
.
count
:
1
;
...
...
@@ -259,7 +263,7 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
productId
:
item
.
productId
,
goodsId
:
item
.
goodsId
,
productBrand
:
item
.
productBrand
,
productAttributeJson
:
item
.
productAttributeJson
,
productAttributeJson
:
`
${
item
.
productAttributeJson
}
-
${
item
.
customerCategoryName
}
`
,
})
})
resolve
({
...
...
src/pages/transaction/purchaseAbility/offter/addOffter/modal/crossSellProducts.tsx
View file @
bb2c5118
...
...
@@ -114,6 +114,8 @@ const CrossSellProducts: React.FC<IProps> = (props: any) => {
setFiles
(
arr
);
}
console
.
log
(
record
,
10086
)
return
(
<>
<
Drawer
...
...
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