From c7315d91dcc148e5574190c3d816eec283ac870f Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Thu, 23 Oct 2025 11:10:51 +0800 Subject: [PATCH] 1.EBC版本都有这个问题,选择第三个查询方案”全部机台计划” --- src/components/Common/SearchComponent/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Common/SearchComponent/index.js b/src/components/Common/SearchComponent/index.js index 83b0668..e557386 100644 --- a/src/components/Common/SearchComponent/index.js +++ b/src/components/Common/SearchComponent/index.js @@ -744,7 +744,7 @@ export default class SearchComponent extends Component { sSqlCondition = searchColumnsCurrent[0].sSqlCondition; ([{ showDropDown, sAssignField }] = searchColumnsCurrent); } - const sSecondConditionPro = firstDataIndex === 's' && sFirstValue.endsWith('_pro'); /* 字段名以s开头,sFilterName以pro结尾,则只有等于条件 */ + const sSecondConditionPro = firstDataIndex === 's' && sFirstValue?.endsWith('_pro'); /* 字段名以s开头,sFilterName以pro结尾,则只有等于条件 */ const showSecondConfig = { sId: commonUtils.createSid(), sName: `sSecond-${key}`, @@ -1243,7 +1243,7 @@ export default class SearchComponent extends Component { getTranslatedSeaJudge = (type, sLanguage) => { const { seaJudge } = commonConfig; const judgeMap = seaJudge[type] || []; - + // 定义翻译映射 const translations = { sEnglish: { @@ -1300,7 +1300,7 @@ export default class SearchComponent extends Component { value: translations[sLanguage][item.value] || item.value })); } - + return judgeMap; }; -- libgit2 0.22.2