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 dcb5c9e8
authored
Apr 16, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
线上bug修复
1 parent
ed092b56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/editEquity.vue
View file @
dcb5c9e
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
v-for=
"(item, index) in productList"
:key=
"index"
class=
"product_wrapper"
>
<div
v-for=
"(item, index) in productList"
:key=
"index"
class=
"product_wrapper"
>
<div>
<div>
<!-- <el-checkbox @change="changeCheckBox($event, item, index)" :disabled="item.disabled" :label="errGlassName&&item.idName=='glass'?item.packageName+`(${errGlassName})`:item.packageName"> -->
<!-- <el-checkbox @change="changeCheckBox($event, item, index)" :disabled="item.disabled" :label="errGlassName&&item.idName=='glass'?item.packageName+`(${errGlassName})`:item.packageName"> -->
<el-checkbox
@
change=
"changeCheckBox($event, item, index)"
:label=
"item.package
Nam
e"
:disabled=
"item.disabled"
>
<el-checkbox
@
change=
"changeCheckBox($event, item, index)"
:label=
"item.package
Cod
e"
:disabled=
"item.disabled"
>
<div
v-if=
"errGlassName && item.idName == 'glass'"
>
<div
v-if=
"errGlassName && item.idName == 'glass'"
>
{{ item.packageName }}
{{ item.packageName }}
<span
style=
"color: red; font-weight: normal"
>
({{ errGlassName }})
</span>
<span
style=
"color: red; font-weight: normal"
>
({{ errGlassName }})
</span>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<div
class=
"customer-form"
>
<div
class=
"customer-form"
>
<!-- 属性 -->
<!-- 属性 -->
<
template
v-for=
"(ele, indexs) in curSelectPro"
>
<
template
v-for=
"(ele, indexs) in curSelectPro"
>
<div
v-if=
"ele == item.package
Nam
e"
:key=
"indexs"
class=
"child_wrap"
>
<div
v-if=
"ele == item.package
Cod
e"
:key=
"indexs"
class=
"child_wrap"
>
<div
:class=
"['child_wrap_pannel', attr.attributeType + '_child_wrap_pannel']"
v-for=
"(attr, attrindex) in item.groupAttributeList"
:key=
"attrindex"
>
<div
:class=
"['child_wrap_pannel', attr.attributeType + '_child_wrap_pannel']"
v-for=
"(attr, attrindex) in item.groupAttributeList"
:key=
"attrindex"
>
<div
class=
"attr_wrapper flex_sc"
>
<div
class=
"attr_wrapper flex_sc"
>
<div
:class=
"['attr_label', 'h13_title', attr.attributeType + '_label']"
>
<div
:class=
"['attr_label', 'h13_title', attr.attributeType + '_label']"
>
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
</template>
</template>
<!-- 方案 -->
<!-- 方案 -->
<div
v-if=
"item.packageName.includes('碰撞') && curSelectPro.includes(item.package
Nam
e)"
class=
"table_case_wrap"
>
<div
v-if=
"item.packageName.includes('碰撞') && curSelectPro.includes(item.package
Cod
e)"
class=
"table_case_wrap"
>
<div
class=
"case_title"
>
方案
</div>
<div
class=
"case_title"
>
方案
</div>
<div
class=
"case_table"
>
<div
class=
"case_table"
>
<div
class=
"table_th flex_sc"
>
<div
class=
"table_th flex_sc"
>
...
@@ -162,14 +162,14 @@
...
@@ -162,14 +162,14 @@
<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.package
Nam
e"
:disabled=
"item.disabled"
>
<el-checkbox
@
change=
"changeRaido($event, item, index)"
:label=
"item.package
Cod
e"
: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>
</div>
</div>
<div
class=
"customer-form"
>
<div
class=
"customer-form"
>
<
template
v-for=
"(ele, indexs) in curSelectCustomPro"
>
<
template
v-for=
"(ele, indexs) in curSelectCustomPro"
>
<div
v-if=
"ele == item.package
Nam
e"
:key=
"indexs"
class=
"child_wrap"
>
<div
v-if=
"ele == item.package
Cod
e"
:key=
"indexs"
class=
"child_wrap"
>
<div
:class=
"['child_wrap_pannel', attr.attributeType + '_child_wrap_pannel']"
v-for=
"(attr, attrindex) in item.groupAttributeList"
:key=
"attrindex"
>
<div
:class=
"['child_wrap_pannel', attr.attributeType + '_child_wrap_pannel']"
v-for=
"(attr, attrindex) in item.groupAttributeList"
:key=
"attrindex"
>
<div
class=
"attr_wrapper flex_sc"
>
<div
class=
"attr_wrapper flex_sc"
>
<div
:class=
"['attr_label', 'h13_title', attr.attributeType + '_label']"
>
<div
:class=
"['attr_label', 'h13_title', attr.attributeType + '_label']"
>
...
@@ -1100,7 +1100,7 @@ export default {
...
@@ -1100,7 +1100,7 @@ export default {
vailGlassPackage
(
item
,
index
)
{
vailGlassPackage
(
item
,
index
)
{
this
.
currentVaildItem
=
item
this
.
currentVaildItem
=
item
this
.
currentVaildIndex
=
index
this
.
currentVaildIndex
=
index
let
glassNameFlag
=
this
.
curSelectPro
.
includes
(
this
.
vailGlass
Nam
e
)
let
glassNameFlag
=
this
.
curSelectPro
.
includes
(
this
.
vailGlass
Cod
e
)
if
(
item
.
idName
==
'glass'
)
this
.
vailIndex
=
index
if
(
item
.
idName
==
'glass'
)
this
.
vailIndex
=
index
if
(
glassNameFlag
)
{
if
(
glassNameFlag
)
{
let
vaild
=
this
.
editForm
.
vehicle
.
invoicePrice
&&
Number
(
this
.
editForm
.
vehicle
.
invoicePrice
)
>
500000
let
vaild
=
this
.
editForm
.
vehicle
.
invoicePrice
&&
Number
(
this
.
editForm
.
vehicle
.
invoicePrice
)
>
500000
...
@@ -1796,7 +1796,7 @@ export default {
...
@@ -1796,7 +1796,7 @@ export default {
}
}
if
(
targetItem
.
packageType
==
1
)
{
if
(
targetItem
.
packageType
==
1
)
{
this
.
equityRadio
=
2
this
.
equityRadio
=
2
this
.
curSelectCustomPro
.
push
(
targetItem
.
package
Nam
e
)
this
.
curSelectCustomPro
.
push
(
targetItem
.
package
Cod
e
)
this
.
curSelectCustomPro
=
Array
.
from
(
new
Set
(
this
.
curSelectCustomPro
))
this
.
curSelectCustomPro
=
Array
.
from
(
new
Set
(
this
.
curSelectCustomPro
))
item
.
attributeDTOList
.
forEach
(
a
=>
{
item
.
attributeDTOList
.
forEach
(
a
=>
{
if
(
a
.
attributeName
.
includes
(
'price'
))
{
if
(
a
.
attributeName
.
includes
(
'price'
))
{
...
@@ -1842,7 +1842,7 @@ export default {
...
@@ -1842,7 +1842,7 @@ export default {
}
}
}
else
{
}
else
{
this
.
equityRadio
=
1
this
.
equityRadio
=
1
this
.
curSelectPro
.
push
(
targetItem
.
package
Nam
e
)
this
.
curSelectPro
.
push
(
targetItem
.
package
Cod
e
)
this
.
curSelectPro
=
Array
.
from
(
new
Set
(
this
.
curSelectPro
))
this
.
curSelectPro
=
Array
.
from
(
new
Set
(
this
.
curSelectPro
))
item
.
attributeDTOList
.
forEach
(
b
=>
{
item
.
attributeDTOList
.
forEach
(
b
=>
{
if
(
b
.
attributeName
.
includes
(
'price'
))
{
if
(
b
.
attributeName
.
includes
(
'price'
))
{
...
...
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