Browse Source

档案节点-下拉框去全部值

jingbb 3 months ago
parent
commit
1e623c9090

+ 2 - 2
src/views/baseCode/ProjectArchive/BaseProjectArchive.data.ts

@@ -63,7 +63,7 @@ export const searchFormSchema: FormSchema[] = [
     componentProps: {
       // mode: 'multiple',//multiple: 多选;不填写为单选
       //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
-      api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list' }),
+      api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list',params:{pageSize: -1}}),
       //数值转成String
       numberToString: false,
       //标题字段
@@ -112,7 +112,7 @@ export const formSchema: FormSchema[] = [
     componentProps: {
       // mode: 'multiple',//multiple: 多选;不填写为单选
       //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
-      api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list' }),
+      api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list',params:{pageSize: -1}}),
       //数值转成String
       numberToString: false,
       //标题字段

+ 1 - 1
src/views/baseCode/ShipArchive/BaseShipArchive.data.ts

@@ -60,7 +60,7 @@ export const searchFormSchema: FormSchema[] = [
     field: 'relateCustomer',
     component: 'ApiSelect',
     componentProps: {
-      api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1' }),
+      api: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1'}),
       numberToString: false,
       labelField: 'name',
       valueField: 'id',

+ 2 - 2
src/views/cuspCode/CustomerProfile/CuspCustomerProfile.data.ts

@@ -203,7 +203,7 @@ export const searchFormSchema: FormSchema[] = [
     componentProps: {
       // mode: 'multiple',//multiple: 多选;不填写为单选
       //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
-      api: () => defHttp.get({ url: '/cuspCode/cuspIntermediator/list' }),
+      api: () => defHttp.get({ url: '/cuspCode/cuspIntermediator/list',params:{pageSize: -1}}),
       //数值转成String
       numberToString: false,
       //标题字段
@@ -485,7 +485,7 @@ export const formSchema: FormSchema[] = [
     componentProps: {
       // mode: 'multiple',//multiple: 多选;不填写为单选
       //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
-      api: () => defHttp.get({ url: '/cuspCode/cuspIntermediator/list' }),
+      api: () => defHttp.get({ url: '/cuspCode/cuspIntermediator/list',params:{pageSize: -1}}),
       //数值转成String
       numberToString: false,
       //标题字段

+ 2 - 2
src/views/cuspCode/SupplierEvaluation/CuspSupplierEvaluation.data.ts

@@ -74,7 +74,7 @@ export const searchFormSchema: FormSchema[] = [
     componentProps: {
       // mode: 'multiple',//multiple: 多选;不填写为单选
       //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
-      api: () => defHttp.get({ url: '/cuspCode/cuspSupplierProfile/list' }),
+      api: () => defHttp.get({ url: '/cuspCode/cuspSupplierProfile/list',params:{pageSize: -1}}),
       //数值转成String
       numberToString: false,
       //标题字段
@@ -151,7 +151,7 @@ export const formSchema: FormSchema[] = [
     componentProps: {
       // mode: 'multiple',//multiple: 多选;不填写为单选
       //请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
-      api: () => defHttp.get({ url: '/cuspCode/cuspSupplierProfile/list' }),
+      api: () => defHttp.get({ url: '/cuspCode/cuspSupplierProfile/list',params:{pageSize: -1}}),
       //数值转成String
       numberToString: false,
       //标题字段