|
|
|
@ -41,21 +41,21 @@
|
|
|
|
|
<row>
|
|
|
|
|
<Table ref="table" :columns="columns1" :data="data1" style="margin-top: 20px;" size="small" no-data-text="--"></Table>
|
|
|
|
|
</row>
|
|
|
|
|
<Modal v-model="modal12" draggable scrollable title="客户信息" :width="vipModalWidth+'px'" height="651px" >
|
|
|
|
|
<Modal v-model="modal12" draggable scrollable title="好友信息" :width="vipModalWidth+'px'" height="651px" >
|
|
|
|
|
<row style="padding: 10px 0">
|
|
|
|
|
<i-col span="24" v-if="ifVip" >
|
|
|
|
|
<row>
|
|
|
|
|
<span class="txt-font-b margin-right" style="width: 80px;display:inline-block;text-align: right">客户名称</span>
|
|
|
|
|
<span class="txt-font-b margin-right" style="width: 80px;display:inline-block;text-align: right">好友名称</span>
|
|
|
|
|
<i-input v-model="customerName" :placeholder="customerData.name" style="width: 300px;font-weight: 600" />
|
|
|
|
|
</row>
|
|
|
|
|
</i-col>
|
|
|
|
|
<i-col span="12" v-if="!ifVip" >
|
|
|
|
|
<row>
|
|
|
|
|
<span class="txt-font-b margin-right" style="width: 80px;display:inline-block;text-align: right">客户名称</span>
|
|
|
|
|
<span class="txt-font-b margin-right" style="width: 80px;display:inline-block;text-align: right">好友名称</span>
|
|
|
|
|
<i-input v-model="customerName" :placeholder="customerData.name" style="width: 300px;font-weight: 600" />
|
|
|
|
|
</row>
|
|
|
|
|
<!-- <row style="margin-top: 16px">-->
|
|
|
|
|
<!-- <span class="txt-font-b margin-right" style="width: 80px;display:inline-block;text-align: right">客户ID</span> -->
|
|
|
|
|
<!-- <span class="txt-font-b margin-right" style="width: 80px;display:inline-block;text-align: right">好友ID</span> -->
|
|
|
|
|
<!-- <span class="txt-font-b" style="font-weight: 600">{{customerId}}</span>-->
|
|
|
|
|
<!-- </row>-->
|
|
|
|
|
</i-col >
|
|
|
|
@ -149,7 +149,7 @@
|
|
|
|
|
key: 'number'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '客户名称',
|
|
|
|
|
title: '好友名称',
|
|
|
|
|
key: 'name'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -173,7 +173,7 @@
|
|
|
|
|
key: 'createTime'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '客户手机号',
|
|
|
|
|
title: '好友手机号',
|
|
|
|
|
key: 'phone'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -249,7 +249,7 @@
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
/**基础数据:区域list、零售公司list、客户list*/
|
|
|
|
|
/**基础数据:区域list、零售公司list、好友list*/
|
|
|
|
|
getSelectList:function(){
|
|
|
|
|
let that = this;
|
|
|
|
|
let request = {
|
|
|
|
@ -335,7 +335,7 @@
|
|
|
|
|
let title = "零售公司推广情况("+stdate+"至"+eddate+")";
|
|
|
|
|
require.ensure([], () => {
|
|
|
|
|
const { export_json_to_excel } = require('../excel/Export2Excel');
|
|
|
|
|
const tHeader = ['序号', '客户名称', '所属门店', '店铺编号', '所属导购', '工号', '创建时间','客户手机号','关联会员','会员等级','会员生日'];
|
|
|
|
|
const tHeader = ['序号', '好友名称', '所属门店', '店铺编号', '所属导购', '工号', '创建时间','好友手机号','关联会员','会员等级','会员生日'];
|
|
|
|
|
// 属性名
|
|
|
|
|
const filterVal = ['number', 'name', 'shopName', 'shopCode', 'sellerName', 'sellerCode', 'createTime','phone','vipName','vipLevel','birthday'];
|
|
|
|
|
// 数据
|
|
|
|
|