|
|
@ -37,7 +37,7 @@ |
|
|
|
<span>刷新</span> |
|
|
|
</el-button> |
|
|
|
<div class="inputClass"> |
|
|
|
<el-input v-model="searchParams.usercode" style="max-width: 600px" placeholder="请输入客户编号" clearable |
|
|
|
<el-input v-model="searchParams.username" style="max-width: 600px" placeholder="请输入简称" clearable |
|
|
|
@clear="searchData" @keyup.enter="searchData"> |
|
|
|
<template #append> |
|
|
|
<el-button @click="searchData"> |
|
|
@ -91,7 +91,7 @@ export default { |
|
|
|
pageSizes: [16, 50, 100, 200], |
|
|
|
total: 0, |
|
|
|
searchParams: { |
|
|
|
usercode: "" |
|
|
|
username: "" |
|
|
|
}, |
|
|
|
selectionData: [], |
|
|
|
dialogFrom: { |
|
|
@ -208,8 +208,8 @@ export default { |
|
|
|
//搜索数据 |
|
|
|
async searchData() { |
|
|
|
let params = {} |
|
|
|
if (this.searchParams.usercode) { |
|
|
|
params["usercode"] = this.searchParams.usercode |
|
|
|
if (this.searchParams.username) { |
|
|
|
params["username"] = this.searchParams.username |
|
|
|
} |
|
|
|
this.updateSeach(params) |
|
|
|
}, |
|
|
|