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
33d41b9c
Commit
33d41b9c
authored
Apr 14, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418' of…
Merge branch 'v2-220418' of
ssh://gitlab.shushangyun.com:8122/linkseeks-design/pro-platform
into feat-memberLevel
parents
02852670
d2d4cf11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.tsx
...on/saleOrder/agentPurchaseOrder/commodityDetail/index.tsx
+4
-1
No files found.
src/pages/transaction/saleOrder/agentPurchaseOrder/commodityDetail/index.tsx
View file @
33d41b9c
...
...
@@ -275,7 +275,10 @@ const CommodityDetail: React.FC = (props: any) => {
setMarketingData
(
data
as
unknown
as
MarketingDetailType
);
// 如果有活动标签,则表示是活动商品
if
(
data
.
tagDetailList
&&
data
.
tagDetailList
.
length
>
0
)
{
setHasActivity
(
true
)
// 排除拼团商品
if
(
data
.
tagDetailList
.
every
((
item
:
{
activityType
:
number
})
=>
item
.
activityType
!==
MarketingTypeEnum
.
activity_type_9
))
{
setHasActivity
(
true
)
}
}
else
{
setCurrentGroupDetail
(
undefined
)
setHasActivity
(
false
)
...
...
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