|
@@ -36,16 +36,7 @@
|
|
|
<a-col :lg="8">
|
|
|
<a-form-item name="inquiryCustomer" :label-col="{ style: 'width: 200px' }">
|
|
|
<template #label><span title="询价客户(inquiry customer)">询价客户(inquiry customer)</span></template>
|
|
|
- <ApiSelect
|
|
|
- :api="CustomerOption"
|
|
|
- showSearch
|
|
|
- v-model:value="queryParam.inquiryCustomer"
|
|
|
- :filterOption="true"
|
|
|
- resultField="records"
|
|
|
- labelField="abbreviation"
|
|
|
- valueField="id"
|
|
|
- optionFilterProp="label"
|
|
|
- />
|
|
|
+ <JSelect v-model:value="queryParam.inquiryCustomer" :get-option-url="CustomerOption" :showField="showField"></JSelect>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<!-- <a-col :lg="8">
|
|
@@ -217,12 +208,9 @@
|
|
|
CustomerOption,
|
|
|
ClassOption,
|
|
|
} from './SaleInquiryForm.api';
|
|
|
- import { downloadFile } from '/@/utils/common/renderUtils';
|
|
|
import { cloneDeep } from 'lodash-es';
|
|
|
- import { useUserStore } from '/@/store/modules/user';
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
- import { JDictSelectTag, ApiSelect, JInput } from '/@/components/Form';
|
|
|
- import JSelectInput from '/@/components/Form/src/jeecg/components/JSelectInput.vue';
|
|
|
+ import { JDictSelectTag, ApiSelect, JInput ,JSelect} from '/@/components/Form';
|
|
|
import JSelectUser from '/@/components/Form/src/jeecg/components/JSelectUser.vue';
|
|
|
import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue';
|
|
|
import SetOtherStatus from './components/SetOtherStatus.vue';
|
|
@@ -232,7 +220,7 @@
|
|
|
const checkedKeys = ref<Array<string | number>>([]);
|
|
|
//注册model
|
|
|
const [registerModal, { openModal }] = useModal();
|
|
|
- const userStore = useUserStore();
|
|
|
+ var showField = ref('currency+name');
|
|
|
var classOption = ref([]);
|
|
|
var SetOtherStatusRef = ref();
|
|
|
//注册table数据
|