|
@@ -20,13 +20,31 @@
|
|
|
<a-col :lg="8">
|
|
|
<a-form-item name="inquiryProject">
|
|
|
<template #label><span title="报价项目(quotation project)">报价项目(quotation project)</span></template>
|
|
|
- <a-input placeholder="请输入报价项目(quotation project)" v-model:value="queryParam.quotationProject" allow-clear AutoComplete="off"></a-input>
|
|
|
+ <ApiSelect
|
|
|
+ :api="ProjectOption"
|
|
|
+ showSearch
|
|
|
+ v-model:value="queryParam.quotationProject"
|
|
|
+ :filterOption="false"
|
|
|
+ resultField="records"
|
|
|
+ labelField="name"
|
|
|
+ valueField="id"
|
|
|
+ :params='{pageSize:-1}'
|
|
|
+ />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="8">
|
|
|
<a-form-item name="quotationCustomer">
|
|
|
<template #label><span title="报价客户(quotation customer)">报价客户(quotation customer)</span></template>
|
|
|
- <a-input placeholder="请输入报价客户(quotation customer)" v-model:value="queryParam.quotationCustomer" allow-clear ></a-input>
|
|
|
+ <ApiSelect
|
|
|
+ :api="CustomerOption"
|
|
|
+ showSearch
|
|
|
+ v-model:value="queryParam.quotationCustomer"
|
|
|
+ :filterOption="false"
|
|
|
+ resultField="records"
|
|
|
+ labelField="abbreviation"
|
|
|
+ valueField="id"
|
|
|
+ :params='{pageSize:-1}'
|
|
|
+ />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="8">
|
|
@@ -50,7 +68,7 @@
|
|
|
<a-col :lg="8">
|
|
|
<a-form-item name="maker">
|
|
|
<template #label><span title="厂家(maker)">厂家(maker)</span></template>
|
|
|
- <a-input placeholder="请输入厂家(maker)" v-model:value="queryParam.maker" allow-clear AutoComplete="off"></a-input>
|
|
|
+ <JDictSelectTag v-model:value="queryParam.maker" placeholder="请选择" dictCode="factory"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="8">
|
|
@@ -135,11 +153,11 @@
|
|
|
import { useListPage } from '/@/hooks/system/useListPage'
|
|
|
import {useModal} from '/@/components/Modal';
|
|
|
import {columns, superQuerySchema} from './quotationForm.data';
|
|
|
- import {list, deleteOne, batchDelete, getImportUrl,getExportUrl,batchSubmit,cancelBatchSubmit} from './quotationForm.api';
|
|
|
+ import {list, deleteOne, batchDelete, getImportUrl,getExportUrl,batchSubmit,cancelBatchSubmit,ProjectOption,CustomerOption} from './quotationForm.api';
|
|
|
import { cloneDeep } from "lodash-es";
|
|
|
import { useUserStore } from '/@/store/modules/user';
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
- import { JDictSelectTag} from '/@/components/Form';
|
|
|
+ import { JDictSelectTag,ApiSelect} from '/@/components/Form';
|
|
|
import JSelectInput from '/@/components/Form/src/jeecg/components/JSelectInput.vue';
|
|
|
import quotationFormModal from './components/quotationFormModal.vue';
|
|
|
import ViewHistoryVersionModal from './components/ViewHistoryVersionModal.vue';
|