|
|
@@ -177,9 +177,12 @@
|
|
|
width="900"
|
|
|
v-model="associatedCustomers.show"
|
|
|
trigger="click">
|
|
|
+ <el-input style="width:200px;" placeholder="搜索" :suffix-icon="associatedCustomers.param.content.where.condition?associatedCustomers.param.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="associatedCustomers.param.content.where.condition" @keyup.native.enter="associatedCustomersList(associatedCustomers.param.content.pageNumber = 1)" @clear="associatedCustomersList(associatedCustomers.param.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
+ </el-input>
|
|
|
<el-table
|
|
|
border
|
|
|
:data="associatedCustomers.listData"
|
|
|
+ style="margin-top: 10px"
|
|
|
@row-click="associatedCustomersSelect"
|
|
|
:header-cell-style="{background:'#EEEEEE',color:'#333'}"
|
|
|
size="mini">
|
|
|
@@ -213,7 +216,7 @@
|
|
|
</div>
|
|
|
<slot name="footerLeft"></slot>
|
|
|
</div>
|
|
|
- <el-input slot="reference" :disabled="form.contactsid !== 0" autosize v-model="form.enterprisename" placeholder="请输入单位" @input="changeTabCustomers"></el-input>
|
|
|
+ <el-input readonly slot="reference" :disabled="form.contactsid !== 0" autosize v-model="form.enterprisename" placeholder="请输入单位" @input="associatedCustomersList"></el-input>
|
|
|
</el-popover>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -504,7 +507,7 @@ export default {
|
|
|
},
|
|
|
/*关联客户*/
|
|
|
async associatedCustomersList(){
|
|
|
- this.associatedCustomers.param.content.where.condition = this.form.enterprisename
|
|
|
+ // this.associatedCustomers.param.content.where.condition = this.form.enterprisename
|
|
|
this.associatedCustomers.param.content.where.sa_projectid = this.data.sa_projectid
|
|
|
const res = await this.$api.requested(this.associatedCustomers.param)
|
|
|
console.log(res,"关联客户")
|