diff --git a/src/views/baseinfo/port/columns.tsx b/src/views/baseinfo/port/columns.tsx index 2045ea96..2a4aa6ba 100644 --- a/src/views/baseinfo/port/columns.tsx +++ b/src/views/baseinfo/port/columns.tsx @@ -138,7 +138,7 @@ export const columns: BasicColumn[] = [ export const searchFormSchema: FormSchema[] = [ { - field: 'CnName:portName:ediCode', + field: 'cnName:portName:ediCode', label: '港口名称', component: 'Input', colProps: { span: 4 }, diff --git a/src/views/baseinfo/port/index.vue b/src/views/baseinfo/port/index.vue index 9f86a9f5..f84fde0e 100644 --- a/src/views/baseinfo/port/index.vue +++ b/src/views/baseinfo/port/index.vue @@ -76,7 +76,9 @@ }) }, beforeFetch: (p) => { - return formatParams(p) + let RData = formatParams(p) + RData.queryCondition = RData.queryCondition.replace(`{"Key":1,"Value"`, `{"Key":0,"Value"`) + return RData }, columns, formConfig: {