Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 a448f71d
authored
Nov 25, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改
1 parent
9de52c86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/editEquity.vue
View file @
a448f71
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"before-sale edit-equity"
>
<div
class=
"before-sale edit-equity"
>
<div
class=
"container"
>
<div
class=
"container"
>
<p
class=
"edit-title"
>
车辆信息
</p>
<p
class=
"edit-title"
>
车辆信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefCar"
labelWidth=
"1
4
0px"
formRef=
"editChildRefCar"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar"
:formRules=
"editRuleCar"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefCar"
labelWidth=
"1
6
0px"
formRef=
"editChildRefCar"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar"
:formRules=
"editRuleCar"
>
<template
slot=
"vehicleBrandId"
slot-scope=
"scope"
>
<template
slot=
"vehicleBrandId"
slot-scope=
"scope"
>
<el-select
v-model=
"editForm.vehicle.vehicleBrandId"
placeholder=
"请选择品牌"
filterable
@
change=
"handleChangeBrand(editForm.vehicle.vehicleBrandId)"
style=
"width:220px;"
:disabled=
"scope.scope.isDisabled"
>
<el-select
v-model=
"editForm.vehicle.vehicleBrandId"
placeholder=
"请选择品牌"
filterable
@
change=
"handleChangeBrand(editForm.vehicle.vehicleBrandId)"
style=
"width:220px;"
:disabled=
"scope.scope.isDisabled"
>
<el-option
v-for=
"item in baseData.carBrandOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
<el-option
v-for=
"item in baseData.carBrandOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
...
@@ -28,12 +28,12 @@
...
@@ -28,12 +28,12 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<p
class=
"edit-title"
>
客户信息
</p>
<p
class=
"edit-title"
>
客户信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefUser"
labelWidth=
"1
4
0px"
formRef=
"editChildRefUser"
:formObj=
"editForm"
:formData=
"editFormDataUser"
:formRules=
"editRuleUser"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefUser"
labelWidth=
"1
6
0px"
formRef=
"editChildRefUser"
:formObj=
"editForm"
:formData=
"editFormDataUser"
:formRules=
"editRuleUser"
></glsx-combi-form>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<p
class=
"edit-title"
>
选择产品
</p>
<p
class=
"edit-title"
>
选择产品
</p>
<!-- <glsx-combi-form class="edit-form-container" ref="editFormRefPro" labelWidth="1
4
0px" formRef="editChildRefPro" :formObj="editForm" :formData="editFormDataPro" :formRules="editRulePro"> -->
<!-- <glsx-combi-form class="edit-form-container" ref="editFormRefPro" labelWidth="1
6
0px" formRef="editChildRefPro" :formObj="editForm" :formData="editFormDataPro" :formRules="editRulePro"> -->
<glsx-combi-form
class=
"edit-form-container"
labelWidth=
"1
4
0px"
:formObj=
"editForm"
:formData=
"editFormDataPro"
>
<glsx-combi-form
class=
"edit-form-container"
labelWidth=
"1
6
0px"
:formObj=
"editForm"
:formData=
"editFormDataPro"
>
<
template
slot=
"packageCode"
slot-scope=
"scope"
>
<
template
slot=
"packageCode"
slot-scope=
"scope"
>
<el-radio-group
class=
"package-code-box"
v-model=
"editForm[scope.scope.name]"
:disabled=
"scope.scope.isDisabled"
@
change=
"scope.scope.handleRadioChange"
>
<el-radio-group
class=
"package-code-box"
v-model=
"editForm[scope.scope.name]"
:disabled=
"scope.scope.isDisabled"
@
change=
"scope.scope.handleRadioChange"
>
<el-radio
class=
"package-code"
v-for=
"subItem in scope.scope.optionList"
:key=
"subItem[scope.scope.optionId]"
:label=
"subItem[scope.scope.optionId]"
>
<el-radio
class=
"package-code"
v-for=
"subItem in scope.scope.optionList"
:key=
"subItem[scope.scope.optionId]"
:label=
"subItem[scope.scope.optionId]"
>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<div
class=
"radio-add-block"
>
<div
class=
"radio-add-block"
>
<p>
{{
subItem
.
serviceItems
}}
</p>
<p>
{{
subItem
.
serviceItems
}}
</p>
<div
v-if=
"editForm.packageCode == subItem[scope.scope.optionId]"
>
<div
v-if=
"editForm.packageCode == subItem[scope.scope.optionId]"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefPro"
labelWidth=
"1
4
0px"
formRef=
"editChildRefPro"
:isBlock=
"true"
:formObj=
"editFormPro"
:formData=
"subItem.editFormData"
:formRules=
"editRulePro"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefPro"
labelWidth=
"1
6
0px"
formRef=
"editChildRefPro"
:isBlock=
"true"
:formObj=
"editFormPro"
:formData=
"subItem.editFormData"
:formRules=
"editRulePro"
>
<template
slot=
"table"
slot-scope=
"scope"
>
<template
slot=
"table"
slot-scope=
"scope"
>
<table
class=
"table-style"
>
<table
class=
"table-style"
>
<tbody>
<tbody>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<p
class=
"edit-title"
>
其他信息
</p>
<p
class=
"edit-title"
>
其他信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefOther"
labelWidth=
"1
4
0px"
formRef=
"editChildRefOther"
:formObj=
"editForm"
:formData=
"editFormDataOther"
:formRules=
"editRuleOther"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefOther"
labelWidth=
"1
6
0px"
formRef=
"editChildRefOther"
:formObj=
"editForm"
:formData=
"editFormDataOther"
:formRules=
"editRuleOther"
></glsx-combi-form>
</div>
</div>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<div
class=
"footer"
:style=
"{ width: '100%' }"
>
<div
class=
"footer"
:style=
"{ width: '100%' }"
>
...
@@ -242,7 +242,12 @@ export default {
...
@@ -242,7 +242,12 @@ export default {
optionList
:
[],
optionList
:
[],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
optionsName
:
'customerTypeList'
optionsName
:
'customerTypeList'
,
changeAttr
:
(
value
,
targetItem
)
=>
{
this
.
editForm
.
cardType
=
value
var
idx
=
this
.
editFormDataUser
.
findIndex
(
item
=>
item
.
name
==
'cardNo'
)
this
.
editFormDataUser
[
idx
].
label
=
this
.
baseData
.
cardTypeList
.
find
(
item
=>
item
.
confId
==
value
).
confName
}
},
},
{
{
label
:
'客户姓名'
,
label
:
'客户姓名'
,
...
@@ -258,7 +263,8 @@ export default {
...
@@ -258,7 +263,8 @@ export default {
optionList
:
[],
optionList
:
[],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
optionsName
:
'cardTypeList'
optionsName
:
'cardTypeList'
,
isDisabled
:
true
},
},
{
{
label
:
'身份证'
,
label
:
'身份证'
,
...
@@ -500,6 +506,10 @@ export default {
...
@@ -500,6 +506,10 @@ export default {
if
(
this
.
editForm
.
vehicle
.
vehicleSeriesId
)
{
if
(
this
.
editForm
.
vehicle
.
vehicleSeriesId
)
{
this
.
getCarTypeList
(
true
)
this
.
getCarTypeList
(
true
)
}
}
if
(
this
.
editForm
.
customerType
)
{
var
idx
=
this
.
editFormDataUser
.
findIndex
(
item
=>
item
.
name
==
'cardNo'
)
this
.
editFormDataUser
[
idx
].
label
=
this
.
baseData
.
cardTypeList
.
find
(
item
=>
item
.
confId
==
this
.
editForm
.
customerType
).
confName
}
this
.
editForm
.
packageCode
&&
this
.
packageAttr
(
true
)
this
.
editForm
.
packageCode
&&
this
.
packageAttr
(
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