Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ce7a92e1
authored
Mar 08, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
备注
1 parent
d7783459
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/editEquity.vue
View file @
ce7a92e
...
@@ -1683,6 +1683,7 @@ export default {
...
@@ -1683,6 +1683,7 @@ export default {
params
.
tireFlag
=
1
params
.
tireFlag
=
1
}
}
this
.
$apis
.
beforeSale
.
getNewPackageListApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getNewPackageListApi
(
params
).
then
(
res
=>
{
//新增的时候过滤已下架副套餐的产品
if
(
this
.
routeInfo
.
addOrEdit
==
1
)
{
if
(
this
.
routeInfo
.
addOrEdit
==
1
)
{
res
=
res
?.
filter
(
item
=>
item
.
shelfStatus
!==
0
)
||
[]
res
=
res
?.
filter
(
item
=>
item
.
shelfStatus
!==
0
)
||
[]
}
}
...
@@ -1743,6 +1744,7 @@ export default {
...
@@ -1743,6 +1744,7 @@ export default {
packCode
=
[]
packCode
=
[]
detailInfo
.
attributes
.
forEach
(
item
=>
{
detailInfo
.
attributes
.
forEach
(
item
=>
{
let
targetItem
=
productArrData
.
find
(
k
=>
k
.
packageCode
==
item
.
packageCode
)
let
targetItem
=
productArrData
.
find
(
k
=>
k
.
packageCode
==
item
.
packageCode
)
//编辑时,把详情里面的副套餐parentId覆盖without产品列表里的parentId
if
(
targetItem
&&
item
.
parentId
)
{
if
(
targetItem
&&
item
.
parentId
)
{
targetItem
.
parentId
=
item
.
parentId
targetItem
.
parentId
=
item
.
parentId
targetItem
.
parentName
=
item
.
parentName
targetItem
.
parentName
=
item
.
parentName
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment