Commit 1861d60002ef1effc626cc768f7c1a22ed9f83bb

Authored by 陈鑫涛
1 parent c3149b8d

app盒型分类

src/mobile/components/SelectInput.jsx
... ... @@ -109,6 +109,7 @@ const SelectInput = props => {
109 109 setCopyColumns(list);
110 110 // getSqlDropDownData(searchValue);
111 111 } else if ((sDropDownType = "const")) {
  112 + if (!itemDetail.showDropDown) return
112 113 const list = Object.entries(JSON.parse(itemDetail.showDropDown)).map(([key, value]) => ({
113 114 label: value,
114 115 value: key,
... ... @@ -120,6 +121,7 @@ const SelectInput = props => {
120 121 if (sDropDownType === "sql") {
121 122 getSqlDropDownData(searchValue);
122 123 } else if ((sDropDownType = "const")) {
  124 + if (!itemDetail.showDropDown) return
123 125 const list = Object.entries(JSON.parse(itemDetail.showDropDown)).map(([key, value]) => ({
124 126 label: value,
125 127 value: key,
... ...
src/mobile/quotation/detailNew.jsx
... ... @@ -1248,7 +1248,7 @@ const BoxComponent = props => {
1248 1248 sSqlCondition: "",
1249 1249 sKeyUpFilterName: searchValue,
1250 1250 pageNum: 1,
1251   - pageSize: 20,
  1251 + pageSize: 1000,
1252 1252 };
1253 1253  
1254 1254 commonServices.postValueService(props.app.token, body, url).then(res => {
... ... @@ -1271,6 +1271,7 @@ const BoxComponent = props => {
1271 1271 })
1272 1272 )
1273 1273 );
  1274 +
1274 1275 // 去重
1275 1276 const uniqueArray = boxTypeLists.filter((item, index, self) => index === self.findIndex(i => i.sBoxType === item.sBoxType));
1276 1277 setBoxTypeList(uniqueArray);
... ...