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 19c5c979
authored
Dec 23, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
售前权益--更新表格组件
1 parent
1141670c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
9 deletions
package-lock.json
package.json
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
package-lock.json
View file @
19c5c97
...
@@ -6658,9 +6658,9 @@
...
@@ -6658,9 +6658,9 @@
}
}
},
},
"glsx-components"
:
{
"glsx-components"
:
{
"version"
:
"1.2.
7
"
,
"version"
:
"1.2.
8
"
,
"resolved"
:
"https://registry.npmmirror.com/glsx-components/download/glsx-components-1.2.
7
.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/glsx-components/download/glsx-components-1.2.
8
.tgz"
,
"integrity"
:
"sha512-
Rdh9YWIJL7zPMTW83I2o5qNeAO1OU7kunkgU7dUr+PkAzqpL/cMTNlibwMtPthKLmk8gI8I05zWxo/mzNjnZqg
=="
,
"integrity"
:
"sha512-
BMQi/RrzPC+qCe9jDuq3KHtGbHufz/FLnq4yvs6km78zlfKIg3XGILuOCGaYowiS/cqpN+fTDdIfWGImMzhtJQ
=="
,
"requires"
:
{
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
"element-ui"
:
"^2.15.6"
,
...
...
package.json
View file @
19c5c97
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.2.
7
"
,
"glsx-components"
:
"^1.2.
8
"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
...
...
src/views/beforeSale/editEquity.vue
View file @
19c5c97
<!-- 编辑权益 -->
<!-- 编辑权益 -->
<
template
>
<
template
>
<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=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefCar"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar.slice(0, 7)"
:formRules=
"editRuleCar"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefCar"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefCar"
:formObj
.
sync=
"editForm.vehicle"
:formData=
"editFormDataCar.slice(0, 7)"
:formRules=
"editRuleCar"
></glsx-combi-form>
...
@@ -27,10 +28,23 @@
...
@@ -27,10 +28,23 @@
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<!-- 客户信息 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
<p
class=
"edit-title"
>
客户信息
</p>
<p
class=
"edit-title"
>
客户信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefUser"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefUser"
:formObj=
"editForm"
:formData=
"editFormDataUser"
:formRules=
"editRuleUser"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefUser"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefUser"
:formObj=
"editForm"
:formData=
"editFormDataUser"
:formRules=
"editRuleUser"
></glsx-combi-form>
</div>
</div>
<!-- 选择产品 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
<p
class=
"edit-title"
>
选择产品
</p>
<p
class=
"edit-title"
>
选择产品
</p>
<glsx-combi-form
class=
"edit-form-container"
labelWidth=
"160px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormDataPro"
>
<glsx-combi-form
class=
"edit-form-container"
labelWidth=
"160px"
defaultWidth=
"320px"
:formObj=
"editForm"
:formData=
"editFormDataPro"
>
...
@@ -68,14 +82,40 @@
...
@@ -68,14 +82,40 @@
</template>
</template>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<!-- 其他信息 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
<p
class=
"edit-title"
>
其他信息
</p>
<p
class=
"edit-title"
>
其他信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefOther"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefOther"
:formObj=
"editForm"
:formData=
"editFormDataOther"
:formRules=
"editRuleOther"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefOther"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefOther"
:formObj=
"editForm"
:formData=
"editFormDataOther"
:formRules=
"editRuleOther"
></glsx-combi-form>
</div>
</div>
<!-- 店面信息 -->
<div
class=
"container m-t-10"
>
<div
class=
"container m-t-10"
>
<p
class=
"edit-title"
>
店面信息
</p>
<p
class=
"edit-title"
>
店面信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefShop"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefShop"
:formObj=
"editForm"
:formData=
"editFormDataShop"
:formRules=
"editRuleShop"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefShop"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefShop"
:formObj=
"editForm"
:formData=
"editFormDataShop"
:formRules=
"editRuleShop"
></glsx-combi-form>
</div>
</div>
<!-- 底部固定按钮 -->
<div
style=
"height: 78px"
></div>
<div
style=
"height: 78px"
></div>
<div
<div
class=
"fixed_bottom"
class=
"fixed_bottom"
...
@@ -86,7 +126,13 @@
...
@@ -86,7 +126,13 @@
>
>
<div
class=
"ma_top"
></div>
<div
class=
"ma_top"
></div>
<div
class=
"flex_cc ma_bot"
>
<div
class=
"flex_cc ma_bot"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
size=
"small"
class=
"custom_black"
@
click=
"handleReset"
>
重置
</el-button>
<div
class=
"mar-10"
></div>
<el-button
class=
"custom_blue"
v-show=
"!['3', '5'].includes(routeInfo.addOrEdit)"
size=
"small"
@
click=
"handleDraft"
>
草稿
</el-button>
<div
class=
"mar-10"
></div>
<el-button
v-show=
"routeInfo.addOrEdit != '5'"
size=
"small"
type=
"primary"
@
click=
"handleConfirm"
>
{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}
</el-button>
<div
class=
"mar-10"
></div>
<el-button
size=
"small"
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
</div>
</div>
<!-- <div class="footer" :style="{ width: '100%' }">
<!-- <div class="footer" :style="{ width: '100%' }">
...
@@ -1263,12 +1309,25 @@ export default {
...
@@ -1263,12 +1309,25 @@ export default {
background
:
#ffffff
;
background
:
#ffffff
;
z-index
:
999
;
z-index
:
999
;
//
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
//
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
.ma_top{
.ma_top
{
height
:
4px
;
height
:
4px
;
background
:
#
F4F5FA
;
background
:
#
f4f5fa
;
}
}
.ma_bot
{
.ma_bot
{
height
:
78px
;
height
:
78px
;
.custom_black
{
background
:
#ffffff
;
color
:
#333333
;
border
:
1px
solid
#333333
;
}
.custom_blue
{
background
:
#ffffff
;
color
:
#5850ff
;
border
:
1px
solid
#5850ff
;
}
.mar-10
{
width
:
20px
;
}
}
}
}
}
</
style
>
</
style
>
src/views/beforeSale/equityList.vue
View file @
19c5c97
...
@@ -271,12 +271,14 @@ export default {
...
@@ -271,12 +271,14 @@ export default {
{
{
label
:
'车主姓名'
,
label
:
'车主姓名'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
line
:
1
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
return
cellValue
.
customerName
||
'-'
}
}
},
},
{
{
label
:
'合同号'
,
label
:
'合同号'
,
line
:
1
,
prop
:
'contractNo'
,
prop
:
'contractNo'
,
width
:
'200px'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -285,6 +287,7 @@ export default {
...
@@ -285,6 +287,7 @@ export default {
},
},
{
{
label
:
'提单成功时间'
,
label
:
'提单成功时间'
,
line
:
1
,
prop
:
'successDate'
,
prop
:
'successDate'
,
width
:
'160px'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -293,6 +296,7 @@ export default {
...
@@ -293,6 +296,7 @@ export default {
},
},
{
{
label
:
'购车日期'
,
label
:
'购车日期'
,
line
:
1
,
prop
:
'billingDate'
,
prop
:
'billingDate'
,
width
:
'130px'
,
width
:
'130px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -301,6 +305,7 @@ export default {
...
@@ -301,6 +305,7 @@ export default {
},
},
{
{
label
:
'店面名称'
,
label
:
'店面名称'
,
line
:
1
,
prop
:
'merchantName'
,
prop
:
'merchantName'
,
width
:
'160px'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -309,6 +314,7 @@ export default {
...
@@ -309,6 +314,7 @@ export default {
},
},
{
{
label
:
'车品牌'
,
label
:
'车品牌'
,
line
:
1
,
prop
:
'vehicleBrandName'
,
prop
:
'vehicleBrandName'
,
width
:
'160px'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -317,6 +323,8 @@ export default {
...
@@ -317,6 +323,8 @@ export default {
},
},
{
{
label
:
'车系'
,
label
:
'车系'
,
line
:
1
,
width
:
"160px"
,
prop
:
'vehicleSeriesName'
,
prop
:
'vehicleSeriesName'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
vehicleSeriesName
||
'-'
return
cellValue
.
vehicleSeriesName
||
'-'
...
@@ -324,6 +332,7 @@ export default {
...
@@ -324,6 +332,7 @@ export default {
},
},
{
{
label
:
'无忧卡卡号'
,
label
:
'无忧卡卡号'
,
line
:
1
,
prop
:
'carNo'
,
prop
:
'carNo'
,
width
:
'200px'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -332,8 +341,8 @@ export default {
...
@@ -332,8 +341,8 @@ export default {
},
},
{
{
label
:
'车架号'
,
label
:
'车架号'
,
line
:
1
,
prop
:
'vin'
,
prop
:
'vin'
,
line
:
1
,
width
:
'200px'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
vin
||
'-'
return
cellValue
.
vin
||
'-'
...
@@ -341,6 +350,7 @@ export default {
...
@@ -341,6 +350,7 @@ export default {
},
},
{
{
label
:
'电话'
,
label
:
'电话'
,
line
:
1
,
prop
:
'customerPhone'
,
prop
:
'customerPhone'
,
width
:
'160px'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -349,6 +359,7 @@ export default {
...
@@ -349,6 +359,7 @@ export default {
},
},
{
{
label
:
'产品名称'
,
label
:
'产品名称'
,
line
:
1
,
prop
:
'packageName'
,
prop
:
'packageName'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
packageName
||
'-'
return
cellValue
.
packageName
||
'-'
...
@@ -356,6 +367,7 @@ export default {
...
@@ -356,6 +367,7 @@ export default {
},
},
{
{
label
:
'无忧保障服务费'
,
label
:
'无忧保障服务费'
,
line
:
1
,
prop
:
'actualSalesPrice'
,
prop
:
'actualSalesPrice'
,
width
:
'160px'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -373,6 +385,7 @@ export default {
...
@@ -373,6 +385,7 @@ export default {
// },
// },
{
{
label
:
'服务期限'
,
label
:
'服务期限'
,
line
:
1
,
prop
:
'servicePeriod'
,
prop
:
'servicePeriod'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
servicePeriod
?
'1年'
:
'-'
return
cellValue
.
servicePeriod
?
'1年'
:
'-'
...
@@ -380,6 +393,7 @@ export default {
...
@@ -380,6 +393,7 @@ export default {
},
},
{
{
label
:
'生效时间'
,
label
:
'生效时间'
,
line
:
1
,
prop
:
'effectiveDate'
,
prop
:
'effectiveDate'
,
width
:
'130px'
,
width
:
'130px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -388,6 +402,7 @@ export default {
...
@@ -388,6 +402,7 @@ export default {
},
},
{
{
label
:
'服务状态'
,
label
:
'服务状态'
,
line
:
1
,
prop
:
'orderStatus'
,
prop
:
'orderStatus'
,
width
:
'100px'
,
width
:
'100px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -435,6 +450,7 @@ export default {
...
@@ -435,6 +450,7 @@ export default {
// },
// },
{
{
label
:
'省代'
,
label
:
'省代'
,
line
:
1
,
prop
:
'provinceMerchantName'
,
prop
:
'provinceMerchantName'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
provinceMerchantName
||
'-'
return
cellValue
.
provinceMerchantName
||
'-'
...
@@ -442,6 +458,7 @@ export default {
...
@@ -442,6 +458,7 @@ export default {
},
},
{
{
label
:
'市代'
,
label
:
'市代'
,
line
:
1
,
prop
:
'cityMerchantName'
,
prop
:
'cityMerchantName'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
cityMerchantName
||
'-'
return
cellValue
.
cityMerchantName
||
'-'
...
@@ -449,6 +466,7 @@ export default {
...
@@ -449,6 +466,7 @@ export default {
},
},
{
{
label
:
'操作人'
,
label
:
'操作人'
,
line
:
1
,
prop
:
'updatedBy'
,
prop
:
'updatedBy'
,
width
:
'140px'
,
width
:
'140px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
...
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