Commit b3f528ab by 杨北旺

添加客户来源字段

1 parent c5ca6692
......@@ -79,6 +79,14 @@
<span v-else>-</span>
</template>
</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="客户车型"
align="center"
width="200"
......@@ -612,7 +620,15 @@ export default {
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'invoiceStatusList'
}
},{
label: '客户来源',
name: 'salesType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'salesTypeList'
}
],
searchForm: {
sceneType: 0,
......@@ -630,7 +646,8 @@ export default {
businessType: "",
paySuccessDate: '',
provinceId: '',
invoiceStatus: ''
invoiceStatus: '',
salesType:''
},
baseData: {
orderStatusList: [
......@@ -749,6 +766,16 @@ export default {
confId: '2',
confLabel: '已开票'
}
],
salesTypeList:[
{
confId: '0',
confLabel: '售前'
},
{
confId: '1',
confLabel: '售后'
}
]
},
tableData: [],
......
......@@ -269,6 +269,14 @@
<span>{{ scope.row.source == 7 ? '系统导入' : '小程序订单' }}</span>
</template>
</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="操作"
align="center"
fixed="right">
......@@ -631,6 +639,14 @@ export default {
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'invoiceStatusList'
},{
label: '客户来源',
name: 'salesType',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'salesTypeList'
}],
searchForm: {
sceneType: 1,
......@@ -648,7 +664,8 @@ export default {
subShopMerchantId: '',
paySuccessDate: '',
provinceId: '',
invoiceStatus: ''
invoiceStatus: '',
salesType:''
},
baseData: {
orderStatusList: [{
......@@ -753,6 +770,16 @@ export default {
confId: '2',
confLabel: '已开票'
}
],
salesTypeList:[
{
confId: '0',
confLabel: '售前'
},
{
confId: '1',
confLabel: '售后'
}
]
},
tableData: [],
......
......@@ -90,6 +90,9 @@
<el-form-item label="用户姓名:">
{{ detail.customerName || $$(detail, 'customer', 'customerName') }}
</el-form-item>
<el-form-item label="客户来源:">
{{ detail.customer.salesType==1?'售后':'售前'}}
</el-form-item>
<el-form-item label="评论:">
{{ detail.customerComment }}
</el-form-item>
......
......@@ -30,6 +30,9 @@
<el-form-item label="姓名:">
{{ $$(detail.ownerDTO, 'owner') }}
</el-form-item>
<el-form-item label="车主来源:">
{{ detail.ownerDTO.salesType==1?'售后':'售前' }}
</el-form-item>
<el-form-item label="手机号:">
{{ $$(detail.ownerDTO, 'phone') }}
</el-form-item>
......
......@@ -152,6 +152,14 @@ export default {
width: "250px"
},
{
label: "客户来源",
prop: "salesType",
width: "100px",
formatter:(cellValue)=>{
return cellValue.salesType==1?'售后':'售前'
}
},
{
label: "车架号",
prop: "carVin",
width: "250px"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!