This commit is contained in:
yanran200730
2022-11-30 16:17:55 +08:00
parent 7a936f8a9f
commit 28f52973f3
2 changed files with 22 additions and 15 deletions

View File

@@ -29,12 +29,12 @@
</template>
<template #right>
<el-input
v-model="search.name"
v-model="search.merchandiseName"
size="small"
placeholder="请输入商品名称"
clearable
v-throttle="() => {search.current = 1, getList()}"
@clear="search.current = 1, search.name = '', getList()"
@clear="search.current = 1, search.merchandiseName = '', getList()"
suffix-icon="iconfont iconSearch">
</el-input>
</template>
@@ -85,7 +85,7 @@
search: {
current: 1,
size: 10,
name: '',
merchandiseName: '',
girdId: ''
},
name: '',