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
d89a026c
Commit
d89a026c
authored
Apr 27, 2022
by
Gavin Peng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 需求单报价-报价信息-关联报价商品
parent
8ed9fdce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
offer.tsx
...ion/purchaseAbility/offter/addOffter/components/offer.tsx
+10
-2
No files found.
src/pages/transaction/purchaseAbility/offter/addOffter/components/offer.tsx
View file @
d89a026c
...
...
@@ -9,7 +9,8 @@ import {
Row
,
Col
,
Typography
,
Space
Space
,
message
}
from
'antd'
;
import
{
CaretDownOutlined
,
CaretRightOutlined
}
from
'@ant-design/icons'
;
import
style
from
'./index.less'
;
...
...
@@ -236,11 +237,18 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
const
productAttributeJson
=
params
.
attribute
.
map
(
item
=>
{
return
item
.
customerAttributeValueList
[
0
].
value
}).
join
(
'/'
);
const
param
=
{
...
data
};
const
query
=
[...
param
[
idx
]];
if
(
!!!
params
.
product
.
id
)
{
message
.
warning
(
intl
.
formatMessage
({
id
:
'table.purchase.qingxuanze'
,
defaultMessage
:
'请选择'
})
+
intl
.
formatMessage
({
id
:
'detail.purchase.modalTitle5'
,
defaultMessage
:
'关联报价商品'
})
)
return
}
query
[
index
].
productId
=
params
.
product
.
id
;
query
[
index
].
customerCategoryName
=
params
.
product
.
customerCategoryName
;
query
[
index
].
productName
=
params
.
product
.
name
;
query
[
index
].
productBrand
=
params
.
product
.
brandName
;
query
[
index
].
productAttributeJson
=
`
${
productAttributeJson
}
-
${
params
.
product
.
customerCategoryName
}
`
;
query
[
index
].
productAttributeJson
=
(
productAttributeJson
&&
params
.
product
.
customerCategoryName
)
?
`
${
productAttributeJson
}
-
${
params
.
product
.
customerCategoryName
}
`
:
null
;
query
[
index
].
enclosureUrls
=
params
.
files
;
param
[
idx
]
=
[...
query
];
setData
(
param
)
...
...
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