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 6a99777d
authored
May 21, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复 bug
1 parent
c4119f4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
src/views/beforeSale/editEquity.vue
src/views/serviceConfig/addService.vue
src/views/beforeSale/editEquity.vue
View file @
6a99777
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
<el-checkbox-group
v-model=
"curSelectCustomPro"
:disabled=
"disabled || dataSourceDisable"
>
<el-checkbox-group
v-model=
"curSelectCustomPro"
:disabled=
"disabled || dataSourceDisable"
>
<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
style=
"padding-left: 73px"
>
<div
style=
"padding-left: 73px"
>
<el-checkbox
@
change=
"changeRaido($event, item
, index
)"
:label=
"item.packageCode"
:disabled=
"item.disabled"
>
<el-checkbox
@
change=
"changeRaido($event, item)"
:label=
"item.packageCode"
:disabled=
"item.disabled"
>
<div>
{{ item.parentName ? item.packageName + '-' + item.parentName : item.packageName }}
</div>
<div>
{{ item.parentName ? item.packageName + '-' + item.parentName : item.packageName }}
</div>
</el-checkbox>
</el-checkbox>
<p
class=
"h20_title product_intro"
>
包括服务项目:{{ item.serviceItems }}
</p>
<p
class=
"h20_title product_intro"
>
包括服务项目:{{ item.serviceItems }}
</p>
...
@@ -1158,7 +1158,8 @@ export default {
...
@@ -1158,7 +1158,8 @@ export default {
let
hasRefitFlagList
=
this
.
allProdList
.
filter
(
item
=>
this
.
packageCodeList
.
includes
(
item
.
packageCode
))
let
hasRefitFlagList
=
this
.
allProdList
.
filter
(
item
=>
this
.
packageCodeList
.
includes
(
item
.
packageCode
))
this
.
refitFormObj
.
autoFlag
=
!!
hasRefitFlagList
?.
find
(
item
=>
item
.
qsFlag
)
this
.
refitFormObj
.
autoFlag
=
!!
hasRefitFlagList
?.
find
(
item
=>
item
.
qsFlag
)
},
},
changeRaido
(
e
,
item
)
{
changeRaido
(
e
,
item
,
isDel
)
{
// isDel 删除选中的
if
(
e
)
{
if
(
e
)
{
// this.checkCodeList = []
// this.checkCodeList = []
// this.autoPackageCodeList = []
// this.autoPackageCodeList = []
...
@@ -1188,6 +1189,9 @@ export default {
...
@@ -1188,6 +1189,9 @@ export default {
}
else
{
}
else
{
this
.
checkCodeList
=
this
.
checkCodeList
.
filter
(
t
=>
t
!=
item
.
packageCode
)
this
.
checkCodeList
=
this
.
checkCodeList
.
filter
(
t
=>
t
!=
item
.
packageCode
)
this
.
autoPackageCodeList
=
this
.
autoPackageCodeList
.
filter
(
t
=>
t
!=
item
.
packageCode
)
this
.
autoPackageCodeList
=
this
.
autoPackageCodeList
.
filter
(
t
=>
t
!=
item
.
packageCode
)
if
(
isDel
)
{
this
.
curSelectCustomPro
=
this
.
curSelectCustomPro
.
filter
(
t
=>
t
!=
item
.
packageCode
)
}
for
(
let
key
in
this
.
productModal
[
item
.
idName
])
{
for
(
let
key
in
this
.
productModal
[
item
.
idName
])
{
item
.
groupAttributeList
.
forEach
(
attr
=>
{
item
.
groupAttributeList
.
forEach
(
attr
=>
{
if
(
attr
.
attributeName
==
key
)
{
if
(
attr
.
attributeName
==
key
)
{
...
@@ -1734,7 +1738,7 @@ export default {
...
@@ -1734,7 +1738,7 @@ export default {
_list
.
push
(
item
)
_list
.
push
(
item
)
}
else
{
}
else
{
if
(
this
.
autoPackageCodeList
.
includes
(
item
.
packageCode
))
{
if
(
this
.
autoPackageCodeList
.
includes
(
item
.
packageCode
))
{
this
.
changeRaido
(
false
,
item
)
this
.
changeRaido
(
false
,
item
,
true
)
}
}
}
}
})
})
...
...
src/views/serviceConfig/addService.vue
View file @
6a99777
...
@@ -508,7 +508,9 @@ export default {
...
@@ -508,7 +508,9 @@ export default {
params
.
exclusionsResponsibility
=
params
.
exclusionsResponsibility
.
join
(
','
)
params
.
exclusionsResponsibility
=
params
.
exclusionsResponsibility
.
join
(
','
)
params
.
buyConditions
=
params
.
buyConditions
.
join
(
','
)
params
.
buyConditions
=
params
.
buyConditions
.
join
(
','
)
params
.
salePeriod
=
params
.
salePeriod
.
join
(
','
)
params
.
salePeriod
=
params
.
salePeriod
.
join
(
','
)
params
.
guorenCode
=
params
.
copyServiceName
if
(
!
params
.
copyServiceCode
)
{
params
.
guorenCode
=
params
.
copyServiceName
}
if
(
this
.
routeInfo
.
id
)
params
.
id
=
this
.
routeInfo
.
id
if
(
this
.
routeInfo
.
id
)
params
.
id
=
this
.
routeInfo
.
id
delete
params
.
copyServiceName
delete
params
.
copyServiceName
this
.
$apis
.
serviceConfig
.
addServicesProject
(
params
).
then
(
res
=>
{
this
.
$apis
.
serviceConfig
.
addServicesProject
(
params
).
then
(
res
=>
{
...
...
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