From 074b6fccf77e8b1d149a1142ac010ced9d658db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Fri, 18 Oct 2024 10:48:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=B1=E7=AE=A1=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ContainerManagement/BuyCtn/columns.tsx | 8 ++++---- src/views/ContainerManagement/CtnScrap/columns.tsx | 2 +- .../ContainerManagement/CurrentState/columns.tsx | 4 ++-- src/views/ContainerManagement/RentIn/columns.tsx | 6 +++--- .../ContainerManagement/RentOneWay/columns.tsx | 14 +++++++------- .../ContainerManagement/RentOneWayIn/columns.tsx | 8 ++++---- src/views/ContainerManagement/RentOut/columns.tsx | 10 +++++----- src/views/ContainerManagement/SellCtn/columns.tsx | 4 ++-- .../ContainerManagement/StateChange/columns.tsx | 2 +- src/views/ContainerManagement/Templat/columns.tsx | 2 +- .../ContainerManagement/TemplatImport/columns.tsx | 2 +- 11 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/views/ContainerManagement/BuyCtn/columns.tsx b/src/views/ContainerManagement/BuyCtn/columns.tsx index e2922e26..f3a2b213 100644 --- a/src/views/ContainerManagement/BuyCtn/columns.tsx +++ b/src/views/ContainerManagement/BuyCtn/columns.tsx @@ -142,7 +142,7 @@ export const searchFormSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -237,7 +237,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -340,7 +340,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -364,7 +364,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'ctnName', valueField: 'ctnName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, diff --git a/src/views/ContainerManagement/CtnScrap/columns.tsx b/src/views/ContainerManagement/CtnScrap/columns.tsx index 016478a1..18b591e0 100644 --- a/src/views/ContainerManagement/CtnScrap/columns.tsx +++ b/src/views/ContainerManagement/CtnScrap/columns.tsx @@ -193,7 +193,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'ctnName', valueField: 'ctnName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, diff --git a/src/views/ContainerManagement/CurrentState/columns.tsx b/src/views/ContainerManagement/CurrentState/columns.tsx index 435cb6c2..656e0208 100644 --- a/src/views/ContainerManagement/CurrentState/columns.tsx +++ b/src/views/ContainerManagement/CurrentState/columns.tsx @@ -202,7 +202,7 @@ export const searchFormSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -424,7 +424,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, diff --git a/src/views/ContainerManagement/RentIn/columns.tsx b/src/views/ContainerManagement/RentIn/columns.tsx index c820b8f2..50fed05b 100644 --- a/src/views/ContainerManagement/RentIn/columns.tsx +++ b/src/views/ContainerManagement/RentIn/columns.tsx @@ -203,7 +203,7 @@ export const searchFormSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -451,7 +451,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -570,7 +570,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'ctnName', valueField: 'ctnName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, diff --git a/src/views/ContainerManagement/RentOneWay/columns.tsx b/src/views/ContainerManagement/RentOneWay/columns.tsx index 2c6fde30..dd4c2f53 100644 --- a/src/views/ContainerManagement/RentOneWay/columns.tsx +++ b/src/views/ContainerManagement/RentOneWay/columns.tsx @@ -175,7 +175,7 @@ export const searchFormSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -411,7 +411,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -512,7 +512,7 @@ export const formSearchBoxSchema: FormSchema[] = [ // showName: 'shortName', // valueField: 'shortName', // resultField: 'data', - // immediate: false, + // immediate: true, // filterOption: (input: string, option: any) => { // return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 // }, @@ -536,7 +536,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'ctnName', valueField: 'ctnName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -557,7 +557,7 @@ export const formSearchBoxSchema: FormSchema[] = [ labelField: 'pinYinCode', showName: 'portName', valueField: 'id', - immediate: false, + immediate: true, } }, }, @@ -597,7 +597,7 @@ export const formSearchBoxSchema: FormSchema[] = [ // showName: 'shortName', // valueField: 'shortName', // resultField: 'data', - // immediate: false, + // immediate: true, // filterOption: (input: string, option: any) => { // return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 // }, @@ -621,7 +621,7 @@ export const formSearchBoxSchema: FormSchema[] = [ // showName: 'ctnName', // valueField: 'ctnName', // resultField: 'data', - // immediate: false, + // immediate: true, // filterOption: (input: string, option: any) => { // return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 // }, diff --git a/src/views/ContainerManagement/RentOneWayIn/columns.tsx b/src/views/ContainerManagement/RentOneWayIn/columns.tsx index 8863de74..26fc60ce 100644 --- a/src/views/ContainerManagement/RentOneWayIn/columns.tsx +++ b/src/views/ContainerManagement/RentOneWayIn/columns.tsx @@ -179,7 +179,7 @@ export const searchFormSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -415,7 +415,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -509,7 +509,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -533,7 +533,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'ctnName', valueField: 'ctnName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, diff --git a/src/views/ContainerManagement/RentOut/columns.tsx b/src/views/ContainerManagement/RentOut/columns.tsx index ee39176f..27eb2be4 100644 --- a/src/views/ContainerManagement/RentOut/columns.tsx +++ b/src/views/ContainerManagement/RentOut/columns.tsx @@ -212,7 +212,7 @@ export const searchFormSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -459,7 +459,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -554,7 +554,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -578,7 +578,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'ctnName', valueField: 'ctnName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -599,7 +599,7 @@ export const formSearchBoxSchema: FormSchema[] = [ labelField: 'pinYinCode', showName: 'portName', valueField: 'id', - immediate: false, + immediate: true, } }, }, diff --git a/src/views/ContainerManagement/SellCtn/columns.tsx b/src/views/ContainerManagement/SellCtn/columns.tsx index 7beafff7..b44de85e 100644 --- a/src/views/ContainerManagement/SellCtn/columns.tsx +++ b/src/views/ContainerManagement/SellCtn/columns.tsx @@ -197,7 +197,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, @@ -326,7 +326,7 @@ export const formSearchBoxSchema: FormSchema[] = [ showName: 'ctnName', valueField: 'ctnName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, diff --git a/src/views/ContainerManagement/StateChange/columns.tsx b/src/views/ContainerManagement/StateChange/columns.tsx index 83630906..b8185e98 100644 --- a/src/views/ContainerManagement/StateChange/columns.tsx +++ b/src/views/ContainerManagement/StateChange/columns.tsx @@ -298,7 +298,7 @@ export const formSchema: FormSchema[] = [ showName: 'shortName', valueField: 'shortName', resultField: 'data', - immediate: false, + immediate: true, filterOption: (input: string, option: any) => { return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, diff --git a/src/views/ContainerManagement/Templat/columns.tsx b/src/views/ContainerManagement/Templat/columns.tsx index ecdd910d..86abb016 100644 --- a/src/views/ContainerManagement/Templat/columns.tsx +++ b/src/views/ContainerManagement/Templat/columns.tsx @@ -122,7 +122,7 @@ export const formSchema: FormSchema[] = [ // showName: 'shortName', // valueField: 'shortName', // resultField: 'data', - // immediate: false, + // immediate: true, // filterOption: (input: string, option: any) => { // return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 // }, diff --git a/src/views/ContainerManagement/TemplatImport/columns.tsx b/src/views/ContainerManagement/TemplatImport/columns.tsx index 562e7188..eff17001 100644 --- a/src/views/ContainerManagement/TemplatImport/columns.tsx +++ b/src/views/ContainerManagement/TemplatImport/columns.tsx @@ -131,7 +131,7 @@ export const formSchema: FormSchema[] = [ // showName: 'shortName', // valueField: 'shortName', // resultField: 'data', - // immediate: false, + // immediate: true, // filterOption: (input: string, option: any) => { // return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0 // },