|
@@ -36,17 +36,7 @@
|
|
|
<a-col :lg="8">
|
|
|
<a-form-item name="customer">
|
|
|
<template #label><span title="客户(customer)">客户(customer)</span></template>
|
|
|
- <ApiSelect
|
|
|
- :api="CustomerOption"
|
|
|
- showSearch
|
|
|
- v-model:value="queryParam.customer"
|
|
|
- :filterOption="true"
|
|
|
- resultField="records"
|
|
|
- labelField="abbreviation"
|
|
|
- valueField="id"
|
|
|
- :params="{ pageSize: -1 }"
|
|
|
- optionFilterProp="label"
|
|
|
- />
|
|
|
+ <JSelect v-model:value="queryParam.customer" :get-option-url="CustomerOption" :showField="showField"></JSelect>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="8">
|
|
@@ -194,7 +184,7 @@
|
|
|
ClassList,
|
|
|
} from './salesOutboundForm.api';
|
|
|
import { cloneDeep } from 'lodash-es';
|
|
|
- import { JDictSelectTag, ApiSelect, JInput } from '/@/components/Form';
|
|
|
+ import { JDictSelectTag, ApiSelect, JInput,JSelect } from '/@/components/Form';
|
|
|
import { message } from 'ant-design-vue';
|
|
|
import { useGlobSetting } from '/@/hooks/setting';
|
|
|
import { getHeaders } from '/@/utils/common/compUtils';
|
|
@@ -202,6 +192,7 @@
|
|
|
const baseUploadUrl = globSetting.uploadUrl;
|
|
|
const uploadUrl = `${baseUploadUrl}/sys/common/upload`;
|
|
|
const headers = getHeaders();
|
|
|
+ var showField = ref('currency+name');
|
|
|
const formRef = ref();
|
|
|
const queryParam = reactive<any>({});
|
|
|
//注册model
|