From 1861d60002ef1effc626cc768f7c1a22ed9f83bb Mon Sep 17 00:00:00 2001 From: 陈鑫涛 <10125295+chen-xintao97@user.noreply.gitee.com> Date: Thu, 19 Jun 2025 17:04:34 +0800 Subject: [PATCH] app盒型分类 --- src/mobile/components/SelectInput.jsx | 2 ++ src/mobile/quotation/detailNew.jsx | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mobile/components/SelectInput.jsx b/src/mobile/components/SelectInput.jsx index 2b5b037..11e2c0f 100644 --- a/src/mobile/components/SelectInput.jsx +++ b/src/mobile/components/SelectInput.jsx @@ -109,6 +109,7 @@ const SelectInput = props => { setCopyColumns(list); // getSqlDropDownData(searchValue); } else if ((sDropDownType = "const")) { + if (!itemDetail.showDropDown) return const list = Object.entries(JSON.parse(itemDetail.showDropDown)).map(([key, value]) => ({ label: value, value: key, @@ -120,6 +121,7 @@ const SelectInput = props => { if (sDropDownType === "sql") { getSqlDropDownData(searchValue); } else if ((sDropDownType = "const")) { + if (!itemDetail.showDropDown) return const list = Object.entries(JSON.parse(itemDetail.showDropDown)).map(([key, value]) => ({ label: value, value: key, diff --git a/src/mobile/quotation/detailNew.jsx b/src/mobile/quotation/detailNew.jsx index 8d7fd68..062d723 100644 --- a/src/mobile/quotation/detailNew.jsx +++ b/src/mobile/quotation/detailNew.jsx @@ -1248,7 +1248,7 @@ const BoxComponent = props => { sSqlCondition: "", sKeyUpFilterName: searchValue, pageNum: 1, - pageSize: 20, + pageSize: 1000, }; commonServices.postValueService(props.app.token, body, url).then(res => { @@ -1271,6 +1271,7 @@ const BoxComponent = props => { }) ) ); + // 去重 const uniqueArray = boxTypeLists.filter((item, index, self) => index === self.findIndex(i => i.sBoxType === item.sBoxType)); setBoxTypeList(uniqueArray); -- libgit2 0.22.2