|
@@ -18,9 +18,18 @@
|
|
|
</a-col>
|
|
|
<template v-if="toggleSearchStatus">
|
|
|
<a-col :lg="8">
|
|
|
- <a-form-item name="supplierName">
|
|
|
+ <a-form-item name="supplier">
|
|
|
<template #label><span title="供应商(supplier)">供应商(supplier)</span></template>
|
|
|
- <a-input v-model:value="queryParam.supplierName" placeholder="请输入" AutoComplete="off"/>
|
|
|
+ <ApiSelect
|
|
|
+ :api="supplierOption"
|
|
|
+ showSearch
|
|
|
+ v-model:value="queryParam.supplier"
|
|
|
+ :filterOption="false"
|
|
|
+ resultField="records"
|
|
|
+ labelField="name"
|
|
|
+ valueField="id"
|
|
|
+ :params='{pageSize:-1}'
|
|
|
+ />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="8">
|
|
@@ -98,10 +107,9 @@
|
|
|
import { useListPage } from '/@/hooks/system/useListPage'
|
|
|
import {useModal} from '/@/components/Modal';
|
|
|
import {columns,} from './purPaymentRequest.data';
|
|
|
- import {list, deleteOne, batchDelete, getImportUrl,getExportUrl,batchSubmit,cancelBatchSubmit} from './purPaymentRequestForm.api';
|
|
|
+ import {list, deleteOne, batchDelete, getImportUrl,getExportUrl,batchSubmit,cancelBatchSubmit,supplierOption} from './purPaymentRequestForm.api';
|
|
|
import { cloneDeep } from "lodash-es";
|
|
|
- import { defHttp } from '/@/utils/http/axios';
|
|
|
- import { JDictSelectTag} from '/@/components/Form';
|
|
|
+ import { JDictSelectTag,ApiSelect} from '/@/components/Form';
|
|
|
import purPaymentRequestFormModal from './components/purPaymentRequestFormModal.vue';
|
|
|
import { message } from 'ant-design-vue';
|
|
|
const formRef = ref();
|