|
|
|
|
@ -8,11 +8,15 @@
|
|
|
|
|
|
|
|
|
|
<slot>
|
|
|
|
|
<div>
|
|
|
|
|
<Input placeholder="关键字搜索" v-model="select.keyword" style="width: 200px; margin-right: 10px" />
|
|
|
|
|
<el-select v-model="select.product_type_id" size="small" style="margin-right: 10px;">
|
|
|
|
|
<el-option v-for="(item,index) in types" :key="item.id" :value="item.id" :label="item.name" ></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
|
|
<el-input size="small" placeholder="关键字搜索" v-model="select.keyword" style="width: 200px; margin-right: 10px" />
|
|
|
|
|
|
|
|
|
|
<Button style="margin-left: 10px" type="primary" @click="select.page = 1,getCustomers()">查询</Button>
|
|
|
|
|
<Button style="margin-left: 10px" type="primary"
|
|
|
|
|
@click="$refs['addCustomer'].type = 'add',$refs['addCustomer'].isShow = true">录入客户
|
|
|
|
|
@click="$refs['addCustomer'].type = 'add',$refs['addCustomer'].isShow = true">新增客户
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</slot>
|
|
|
|
|
@ -68,6 +72,7 @@
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
select: {
|
|
|
|
|
product_type_id:'',
|
|
|
|
|
page: 1,
|
|
|
|
|
page_size: 10,
|
|
|
|
|
keyword: ''
|
|
|
|
|
|