Commit b9a6f68b authored by youjie's avatar youjie

no message

parent f925abff
......@@ -395,16 +395,16 @@
</style>
<template>
<div class="page_MyCustomer MyCustomerDiv">
<div class="page_MyCustomerSearch" v-if="type!=5">
<div class="page_MyCustomerSearch">
<li>
<span>
<em>{{$t('salesModule.keyWords')}}</em>
<el-input class='w220' v-model='msg.CustomerName' @keyup.enter.native="getList()"
<el-input class='w220' v-model='msg.CustomerName' @keyup.enter.native="reSearchPage"
:placeholder="$t('salesModule.enterPhone')"></el-input>
</span>
</li>
<li>
<button class="hollowFixedBtn" @click="getList()">{{$t('pub.searchBtn')}}</button>
<button class="hollowFixedBtn" @click="reSearchPage">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn"
@click="clickAdd">{{$t('salesModule.addCustomer')}}</button>
<button class="normalBtn" @click="outerVisible=true">导入</button>
......@@ -428,13 +428,13 @@
{{$t('salesModule.BlackListCustomers')}}
<div class="divActive" v-show="type==4"></div>
</li>
<li :class="{active:type==5}" @click="type=5">
<li :class="{active:type==5}" @click="type=5;clickGetList(5)">
签约客户
<div class="divActive" v-show="type==5"></div>
</li>
</div>
<div v-if="type!=5" class="_mc_list _scrollbar" :class="addShow==true?'_edHeight':''">
<table class="MycustomerTable singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<div class="_mc_list _scrollbar" :class="addShow==true?'_edHeight':''">
<table v-if="type!=5" class="MycustomerTable singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th>姓名</th>
<th>联系电话</th>
......@@ -516,11 +516,12 @@
<td colspan="12" style="text-align:center">暂无数据</td>
</tr>
</table>
<!-- 产品列表 -->
<signedClientList v-else :loading="loading" :list="dataList" :isVisa="isVisa" @success="reSearchPage" :pagesTitle="pagesTitle"></signedClientList>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total">
</el-pagination>
</div>
<signedClient v-if="type==5"></signedClient>
<!-- 新增客户信息 -->
<div class="_mc_edit _scrollbar" :class="addShow==true?'edHeightOne':''">
<p class="_tit">{{$t('salesModule.addCustomer')}}
......@@ -869,13 +870,15 @@
</div>
</template>
<script>
import signedClient from './signedClient'
import signedClientList from './Common/signedClientList'
export default {
components:{
signedClient
signedClientList
},
data() {
return {
isVisa: false, // 是否是签证下面的菜单
pagesTitle: '跟团游产品',
saveMsg: [],
headers: {
'Content-Type': 'application/octet-stream'
......@@ -898,6 +901,7 @@
Province: '-1',
City: '-1',
District: '-1',
SigningType: 0
},
addMsg: {
CustomerId: 0,
......@@ -1048,6 +1052,10 @@
}
},
methods: {
reSearchPage(){
this.msg.pageIndex = 1
this.getList()
},
clickAdd(){
this.addShow=true;
this.isOldPerson=false,
......@@ -1521,7 +1529,12 @@
clickGetList(type) {
this.msg.pageIndex = 1
this.currentPage = 1
this.msg.CustomerStatus = type
this.msg.CustomerStatus = type!=5?type:0
if(type==5){
this.msg.SigningType=1
}else{
this.msg.SigningType=0
}
this.getList()
},
// 获取列表数据
......
......@@ -955,10 +955,10 @@ input[type="number"] {
</div>
<div style="margin-bottom: 20px;font-size: 12px;margin-left: 12px;color:#666">
<span v-if="CustomerInfo" style="color: black;">
<span>门店:<span style="color: #333;font-size: 16px;margin-left:8px;">{{CustomerInfo.contactName}}</span></span>
<span style="margin-left: 20px;">客户:<span style="color: #333;font-size: 16px;margin-left:8px;">{{CustomerInfo.customerName}}</span></span>
<span style="margin-left: 20px;margin-right: 20px;">联系人:<span style="color: #333;font-size: 16px;margin-left:8px;">{{CustomerInfo.contact[0].contactName}}</span></span>
<span>电话:<span style="color: #333;font-size: 16px;margin-left:8px;">{{CustomerInfo.contactNumber}}</span></span>
<span>门店:<span style="color: #333;font-size: 14px;margin-left:8px;">{{CustomerInfo.contactName}}</span></span>
<span style="margin-left: 20px;">客户:<span style="color: #333;font-size: 14px;margin-left:8px;">{{CustomerInfo.customerName}}</span></span>
<span style="margin-left: 20px;margin-right: 20px;">联系人:<span style="color: #333;font-size: 14px;margin-left:8px;">{{CustomerInfo.contact[0].contactName}}</span></span>
<span>电话:<span style="color: #333;font-size: 14px;margin-left:8px;">{{CustomerInfo.contactNumber}}</span></span>
</span>
<span style="margin-left: 20px;color: black;">
汇总金额:<span style="color: #333;font-size: 16px;margin-left:8px;">{{totalData.Money}}</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment