完善供应商、客户、会员查询接口,支持模糊查询,支持1万数量级的快速查询

This commit is contained in:
jishenghua
2025-09-26 17:19:46 +08:00
parent d9a9a1b118
commit 62415c51e4
22 changed files with 203 additions and 33 deletions

View File

@@ -44,7 +44,12 @@
<a-row :gutter="24">
<a-col :md="6" :sm="24">
<a-form-item label="供应商" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select placeholder="请选择供应商" showSearch allow-clear optionFilterProp="children" v-model="queryParam.organId">
<a-select placeholder="请选择供应商" showSearch allow-clear optionFilterProp="children" v-model="queryParam.organId" @search="handleSearchSupplier">
<div slot="dropdownRender" slot-scope="menu">
<v-nodes :vnodes="menu" />
<a-divider style="margin: 4px 0;" />
<div class="dropdown-btn" @mousedown="e => e.preventDefault()" @click="initSupplier(0)"><a-icon type="reload" /> 刷新列表</div>
</div>
<a-select-option v-for="(item,index) in supList" :key="index" :value="item.id">
{{ item.supplier }}
</a-select-option>
@@ -212,7 +217,11 @@
BillDetail,
BillExcelIframe,
JEllipsis,
JDate
JDate,
VNodes: {
functional: true,
render: (h, ctx) => ctx.props.vnodes,
}
},
data () {
return {