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 3ab82104
authored
May 21, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
fbb5d121
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/editEquity.vue
View file @
3ab8210
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,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>
<div>
<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>
...
@@ -1207,7 +1207,8 @@ export default {
...
@@ -1207,7 +1207,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 = []
...
@@ -1237,6 +1238,9 @@ export default {
...
@@ -1237,6 +1238,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
)
{
...
@@ -1770,14 +1774,14 @@ export default {
...
@@ -1770,14 +1774,14 @@ export default {
// 改建议价,实际销售价
// 改建议价,实际销售价
packageToPrice
()
{
packageToPrice
()
{
let
_price
=
e
?.
target
?.
value
||
''
let
_price
=
e
?.
target
?.
value
||
''
if
(
_price
)
{
if
(
_price
&&
this
.
editForm
.
orderStatus
!=
2
)
{
let
_list
=
[]
let
_list
=
[]
this
.
copyCustomProductList
.
forEach
(
item
=>
{
this
.
copyCustomProductList
.
forEach
(
item
=>
{
if
(
!
item
.
carHighestPrice
||
(
item
.
carHighestPrice
&&
_price
<
NP
.
divide
(
item
.
carHighestPrice
||
0
,
100
)
&&
_price
>
NP
.
divide
(
item
.
carLowestPrice
||
0
,
100
)))
{
if
(
!
item
.
carHighestPrice
||
(
item
.
carHighestPrice
&&
_price
<
NP
.
divide
(
item
.
carHighestPrice
||
0
,
100
)
&&
_price
>
NP
.
divide
(
item
.
carLowestPrice
||
0
,
100
)))
{
_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
)
}
}
}
}
})
})
...
...
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