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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
11 deletions
+17
-11
index.tsx
...on/purchaseAbility/confirmOffer/toComparePrices/index.tsx
+1
-1
offer.tsx
...ion/purchaseAbility/offter/addOffter/components/offer.tsx
+14
-10
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 = () => {
...
@@ -107,7 +107,7 @@ const ToComparePrices = () => {
record
.
confirmInteriorState
===
OFFTER_CONFIRMINTERNALSTATE_TYPE
.
AUDITNOPASS2_TYPE
record
.
confirmInteriorState
===
OFFTER_CONFIRMINTERNALSTATE_TYPE
.
AUDITNOPASS2_TYPE
)
&&
<
Button
type=
'link'
>
修改授标结果
</
Button
>
)
&&
<
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,16 +208,20 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
...
@@ -208,16 +208,20 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
current
:
'1'
,
current
:
'1'
,
pageSize
:
'100'
,
pageSize
:
'100'
,
}
}
PublicApi
.
getPurchaseQuotedPriceMaterielDetailed
({
...
params
}).
then
((
res
:
any
)
=>
{
const
param
=
{
...
data
};
if
(
res
.
code
!==
1000
)
{
if
(
name
===
'quote'
)
{
return
param
[
index
]
=
fetchdata
.
materiels
;
}
const
param
=
{
...
data
};
param
[
index
]
=
[...
res
.
data
.
data
];
console
.
log
(
param
,
10086
)
setData
({
...
param
});
setData
({
...
param
});
setDataSource
(
res
.
data
.
data
)
}
else
{
})
PublicApi
.
getPurchaseQuotedPriceMaterielDetailed
({
...
params
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
!==
1000
)
{
return
}
param
[
index
]
=
[...
res
.
data
.
data
];
setData
({
...
param
});
})
}
}
}
useEffect
(()
=>
{
useEffect
(()
=>
{
...
@@ -259,7 +263,7 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
...
@@ -259,7 +263,7 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
productId
:
item
.
productId
,
productId
:
item
.
productId
,
goodsId
:
item
.
goodsId
,
goodsId
:
item
.
goodsId
,
productBrand
:
item
.
productBrand
,
productBrand
:
item
.
productBrand
,
productAttributeJson
:
item
.
productAttributeJson
,
productAttributeJson
:
`
${
item
.
productAttributeJson
}
-
${
item
.
customerCategoryName
}
`
,
})
})
})
})
resolve
({
resolve
({
...
...
src/pages/transaction/purchaseAbility/offter/addOffter/modal/crossSellProducts.tsx
View file @
bb2c5118
...
@@ -114,6 +114,8 @@ const CrossSellProducts: React.FC<IProps> = (props: any) => {
...
@@ -114,6 +114,8 @@ const CrossSellProducts: React.FC<IProps> = (props: any) => {
setFiles
(
arr
);
setFiles
(
arr
);
}
}
console
.
log
(
record
,
10086
)
return
(
return
(
<>
<>
<
Drawer
<
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