Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 0f5d368a
authored
Dec 03, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户详情修改
1 parent
a464599c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
src/views/clientGroupManage/index.vue
src/views/clientManage/clientDetail.vue
src/views/clientGroupManage/index.vue
View file @
0f5d368
...
...
@@ -167,6 +167,8 @@ export default {
})
.
catch
(
err
=>
{
_this
.
sloading
=
false
}).
finally
(()
=>
{
_this
.
sloading
=
false
;
})
},
setTableHeightEvent
()
{
...
...
src/views/clientManage/clientDetail.vue
View file @
0f5d368
...
...
@@ -87,7 +87,7 @@
<el-table
:data=
"vehicleTableData"
style=
"width: 100%"
:header-cell-style=
"
{ height: '54px', background: '#F4F6FC', color: '#333333', fontSize: '14px' }">
<el-table-column
prop=
"standNo"
label=
"车架号(后6位)"
align=
"center"
width=
"120"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
standNo
.
substring
(
scope
.
row
.
standNo
.
length
-
6
)
}}
</span>
<span>
{{
myStandNo
(
scope
.
scope
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"vehicleNo"
label=
"车牌号"
align=
"center"
></el-table-column>
...
...
@@ -101,7 +101,11 @@
</el-table-column>
<el-table-column
prop=
"vehicleType"
label=
"车型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"vehicleModelYear"
label=
"年款"
align=
"center"
></el-table-column>
<el-table-column
prop=
"vehiclePrice"
label=
"购车价格"
align=
"center"
></el-table-column>
<el-table-column
prop=
"vehiclePrice"
label=
"购车价格"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
vehiclePrice
||
''
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"buyTime"
label=
"购车时间"
align=
"center"
></el-table-column>
<el-table-column
prop=
"insBgnTime"
label=
"保险开始时间"
align=
"center"
width=
"120"
></el-table-column>
<el-table-column
prop=
"insEndTime"
label=
"保险到期时间"
align=
"center"
width=
"120"
></el-table-column>
...
...
@@ -283,6 +287,13 @@ export default {
str:需要进行处理的字符串,可含汉字
len:需要显示多少个汉字,两个英文字母相当于一个汉字
*/
myStandNo
(
row
){
if
(
!
row
){
return
''
}
return
row
.
standNo
.
substring
(
row
.
standNo
.
length
-
6
)
},
beautySub
(
value
)
{
if
(
value
&&
value
.
length
>=
7
)
{
return
value
.
substring
(
0
,
6
)
+
'...'
...
...
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