Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 b3f528ab
authored
Apr 15, 2024
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加客户来源字段
1 parent
c5ca6692
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
3 deletions
src/views/orderManage/carDamage.vue
src/views/orderManage/order.vue
src/views/orderManage/orderDetail.vue
src/views/vehicleDamage/vehicleDamageDetail.vue
src/views/vehicleDamage/vehicleDamageList.vue
src/views/orderManage/carDamage.vue
View file @
b3f528a
...
@@ -79,6 +79,14 @@
...
@@ -79,6 +79,14 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"客户来源"
align=
"center"
prop=
"salesType"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.salesType>-1"
>
{{
scope
.
row
.
salesType
==
1
?
"售后"
:
"售前"
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"客户车型"
<el-table-column
label=
"客户车型"
align=
"center"
align=
"center"
width=
"200"
width=
"200"
...
@@ -612,7 +620,15 @@ export default {
...
@@ -612,7 +620,15 @@ export default {
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionLabel
:
'confLabel'
,
optionsName
:
'invoiceStatusList'
optionsName
:
'invoiceStatusList'
}
},{
label
:
'客户来源'
,
name
:
'salesType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'salesTypeList'
}
],
],
searchForm
:
{
searchForm
:
{
sceneType
:
0
,
sceneType
:
0
,
...
@@ -630,7 +646,8 @@ export default {
...
@@ -630,7 +646,8 @@ export default {
businessType
:
""
,
businessType
:
""
,
paySuccessDate
:
''
,
paySuccessDate
:
''
,
provinceId
:
''
,
provinceId
:
''
,
invoiceStatus
:
''
invoiceStatus
:
''
,
salesType
:
''
},
},
baseData
:
{
baseData
:
{
orderStatusList
:
[
orderStatusList
:
[
...
@@ -749,6 +766,16 @@ export default {
...
@@ -749,6 +766,16 @@ export default {
confId
:
'2'
,
confId
:
'2'
,
confLabel
:
'已开票'
confLabel
:
'已开票'
}
}
],
salesTypeList
:[
{
confId
:
'0'
,
confLabel
:
'售前'
},
{
confId
:
'1'
,
confLabel
:
'售后'
}
]
]
},
},
tableData
:
[],
tableData
:
[],
...
...
src/views/orderManage/order.vue
View file @
b3f528a
...
@@ -269,6 +269,14 @@
...
@@ -269,6 +269,14 @@
<
span
>
{{
scope
.
row
.
source
==
7
?
'系统导入'
:
'小程序订单'
}}
<
/span
>
<
span
>
{{
scope
.
row
.
source
==
7
?
'系统导入'
:
'小程序订单'
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"客户来源"
align
=
"center"
prop
=
"source"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
scope
.
row
.
salesType
==
1
?
'售后'
:
'售前'
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"操作"
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
align
=
"center"
fixed
=
"right"
>
fixed
=
"right"
>
...
@@ -631,6 +639,14 @@ export default {
...
@@ -631,6 +639,14 @@ export default {
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionLabel
:
'confLabel'
,
optionsName
:
'invoiceStatusList'
optionsName
:
'invoiceStatusList'
}
,{
label
:
'客户来源'
,
name
:
'salesType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confLabel'
,
optionsName
:
'salesTypeList'
}
],
}
],
searchForm
:
{
searchForm
:
{
sceneType
:
1
,
sceneType
:
1
,
...
@@ -648,7 +664,8 @@ export default {
...
@@ -648,7 +664,8 @@ export default {
subShopMerchantId
:
''
,
subShopMerchantId
:
''
,
paySuccessDate
:
''
,
paySuccessDate
:
''
,
provinceId
:
''
,
provinceId
:
''
,
invoiceStatus
:
''
invoiceStatus
:
''
,
salesType
:
''
}
,
}
,
baseData
:
{
baseData
:
{
orderStatusList
:
[{
orderStatusList
:
[{
...
@@ -753,6 +770,16 @@ export default {
...
@@ -753,6 +770,16 @@ export default {
confId
:
'2'
,
confId
:
'2'
,
confLabel
:
'已开票'
confLabel
:
'已开票'
}
}
],
salesTypeList
:[
{
confId
:
'0'
,
confLabel
:
'售前'
}
,
{
confId
:
'1'
,
confLabel
:
'售后'
}
]
]
}
,
}
,
tableData
:
[],
tableData
:
[],
...
...
src/views/orderManage/orderDetail.vue
View file @
b3f528a
...
@@ -90,6 +90,9 @@
...
@@ -90,6 +90,9 @@
<el-form-item
label=
"用户姓名:"
>
<el-form-item
label=
"用户姓名:"
>
{{
detail
.
customerName
||
$$
(
detail
,
'customer'
,
'customerName'
)
}}
{{
detail
.
customerName
||
$$
(
detail
,
'customer'
,
'customerName'
)
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户来源:"
>
{{
detail
.
customer
.
salesType
==
1
?
'售后'
:
'售前'
}}
</el-form-item>
<el-form-item
label=
"评论:"
>
<el-form-item
label=
"评论:"
>
{{
detail
.
customerComment
}}
{{
detail
.
customerComment
}}
</el-form-item>
</el-form-item>
...
...
src/views/vehicleDamage/vehicleDamageDetail.vue
View file @
b3f528a
...
@@ -30,6 +30,9 @@
...
@@ -30,6 +30,9 @@
<el-form-item
label=
"姓名:"
>
<el-form-item
label=
"姓名:"
>
{{
$$
(
detail
.
ownerDTO
,
'owner'
)
}}
{{
$$
(
detail
.
ownerDTO
,
'owner'
)
}}
</el-form-item>
</el-form-item>
<el-form-item
label=
"车主来源:"
>
{{
detail
.
ownerDTO
.
salesType
==
1
?
'售后'
:
'售前'
}}
</el-form-item>
<el-form-item
label=
"手机号:"
>
<el-form-item
label=
"手机号:"
>
{{
$$
(
detail
.
ownerDTO
,
'phone'
)
}}
{{
$$
(
detail
.
ownerDTO
,
'phone'
)
}}
</el-form-item>
</el-form-item>
...
...
src/views/vehicleDamage/vehicleDamageList.vue
View file @
b3f528a
...
@@ -152,6 +152,14 @@ export default {
...
@@ -152,6 +152,14 @@ export default {
width
:
"250px"
width
:
"250px"
},
},
{
{
label
:
"客户来源"
,
prop
:
"salesType"
,
width
:
"100px"
,
formatter
:(
cellValue
)
=>
{
return
cellValue
.
salesType
==
1
?
'售后'
:
'售前'
}
},
{
label
:
"车架号"
,
label
:
"车架号"
,
prop
:
"carVin"
,
prop
:
"carVin"
,
width
:
"250px"
width
:
"250px"
...
...
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