|
@@ -171,7 +171,7 @@
|
|
|
@close="addCustomerClose"
|
|
|
:visible.sync="recVisList"
|
|
|
style="font-size: 0px;">
|
|
|
- <div class="tou">客户--备案列表 <el-button type="success" size="small" style="margin-left: 1%;" @click="showAddCustomerRec">添加</el-button></div>
|
|
|
+ <div class="tou">客户--备案列表 <el-input placeholder="公司名称" class="input-demo" v-model="customer.company"></el-input> <el-button type="success" style="margin-left: 1%;" @click="queryCustomerRec">查询</el-button> <el-button type="success" style="margin-left: 1%;" @click="showAddCustomerRec">添加</el-button></div>
|
|
|
<div class="line"></div>
|
|
|
|
|
|
<!-- 表格部分 -->
|
|
@@ -951,6 +951,12 @@ import XLSX from "xlsx";
|
|
|
|
|
|
this.recVisList = true;
|
|
|
},
|
|
|
+ async queryCustomerRec(){
|
|
|
+ const response = await this.$http.post(`lowerService/customeRecQueryList`, {"customerName":this.customer.customerName,"companyName":this.customer.company});
|
|
|
+ if (response.data.code === 0) {
|
|
|
+ this.customeRecQueryListTable = response.data.data;
|
|
|
+ }
|
|
|
+ },
|
|
|
async carInfo(recoder){
|
|
|
const response = await this.$http.post(`lowerService/customerCarRecQuery`, {"customerName":recoder.customerName});
|
|
|
if (response.data.code === 0) {
|