Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-appreciation
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 ed092b56
authored
Mar 27, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.26.0' into 'master'
代码上线合并 See merge request
!9
2 parents
b2690588
84fb5699
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/editEquity.vue
View file @
ed092b5
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
<div
v-for=
"(item, index) in customProductList"
:key=
"index"
class=
"product_wrapper"
>
<div
v-for=
"(item, index) in customProductList"
:key=
"index"
class=
"product_wrapper"
>
<div>
<div>
<el-checkbox
@
change=
"changeRaido($event, item, index)"
:label=
"item.packageName"
:disabled=
"item.disabled"
>
<el-checkbox
@
change=
"changeRaido($event, item, index)"
:label=
"item.packageName"
:disabled=
"item.disabled"
>
<div>
{{ item.packageName }}
</div>
<div>
{{ item.pa
rentName ? item.packageName + '-' + item.parentName : item.pa
ckageName }}
</div>
</el-checkbox>
</el-checkbox>
<p
class=
"h20_title product_intro"
>
包括服务项目:{{ item.serviceItems }}
</p>
<p
class=
"h20_title product_intro"
>
包括服务项目:{{ item.serviceItems }}
</p>
</div>
</div>
...
@@ -1328,6 +1328,10 @@ export default {
...
@@ -1328,6 +1328,10 @@ export default {
packageCode
:
pack
.
packageCode
,
packageCode
:
pack
.
packageCode
,
printType
:
pack
.
printType
printType
:
pack
.
printType
}
}
if
(
pack
.
parentId
&&
pack
.
parentName
)
{
temp
.
parentId
=
pack
.
parentId
temp
.
parentName
=
pack
.
parentName
}
this
.
productModal
[
pack
.
idName
]
=
{
this
.
productModal
[
pack
.
idName
]
=
{
...
temp
,
...
temp
,
...
orgin
,
...
orgin
,
...
@@ -1421,11 +1425,17 @@ export default {
...
@@ -1421,11 +1425,17 @@ export default {
let
attrStr
=
`attributes[
${
j
}
].packageCode`
let
attrStr
=
`attributes[
${
j
}
].packageCode`
let
contractNoStr
=
`attributes[
${
j
}
].contractNo`
let
contractNoStr
=
`attributes[
${
j
}
].contractNo`
let
printType
=
`attributes[
${
j
}
].printType`
let
printType
=
`attributes[
${
j
}
].printType`
let
parentId
=
`attributes[
${
j
}
].parentId`
let
parentName
=
`attributes[
${
j
}
].parentName`
let
temp
=
{
let
temp
=
{
[
attrStr
]:
codeList
[
j
],
[
attrStr
]:
codeList
[
j
],
[
contractNoStr
]:
arr
[
i
].
contractNo
,
[
contractNoStr
]:
arr
[
i
].
contractNo
,
[
printType
]:
arr
[
i
].
printType
[
printType
]:
arr
[
i
].
printType
}
}
if
(
arr
[
i
].
parentName
)
{
temp
[
parentId
]
=
arr
[
i
].
parentId
temp
[
parentName
]
=
arr
[
i
].
parentName
}
newArr
.
push
(
temp
)
newArr
.
push
(
temp
)
}
}
}
}
...
@@ -1716,6 +1726,9 @@ export default {
...
@@ -1716,6 +1726,9 @@ 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
)
{
res
=
res
?.
filter
(
item
=>
item
.
shelfStatus
!==
0
)
||
[]
}
this
.
allProdList
=
res
this
.
allProdList
=
res
res
.
forEach
((
item
,
index
)
=>
{
res
.
forEach
((
item
,
index
)
=>
{
let
obj
=
null
let
obj
=
null
...
@@ -1773,6 +1786,10 @@ export default {
...
@@ -1773,6 +1786,10 @@ 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
)
if
(
targetItem
&&
item
.
parentId
)
{
targetItem
.
parentId
=
item
.
parentId
targetItem
.
parentName
=
item
.
parentName
}
const
defalutAttr
=
this
.
handleDefaultValue
(
targetItem
,
item
.
attributeDTOList
)
const
defalutAttr
=
this
.
handleDefaultValue
(
targetItem
,
item
.
attributeDTOList
)
if
(
defalutAttr
.
length
)
{
if
(
defalutAttr
.
length
)
{
item
.
attributeDTOList
=
this
.
handlerAttrSetValue
(
this
.
unique
(
defalutAttr
),
item
.
attributeDTOList
)
item
.
attributeDTOList
=
this
.
handlerAttrSetValue
(
this
.
unique
(
defalutAttr
),
item
.
attributeDTOList
)
...
...
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