Commit b9a6f68b authored by youjie's avatar youjie

no message

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