@bit-sun/business-component 2.2.46 → 2.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/.editorconfig +16 -16
  2. package/.fatherrc.ts +5 -5
  3. package/.gitlab-ci.yml +179 -179
  4. package/.prettierignore +7 -7
  5. package/.prettierrc +11 -11
  6. package/.umirc.ts +74 -74
  7. package/README.md +27 -27
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  10. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  11. package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
  12. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  13. package/dist/index.esm.js +683 -685
  14. package/dist/index.js +689 -691
  15. package/dist/utils/LocalstorageUtils.d.ts +0 -1
  16. package/dist/utils/utils.d.ts +1 -1
  17. package/docs/index.md +21 -21
  18. package/lib/assets/drag.svg +17 -17
  19. package/lib/assets/exportFail.svg +37 -37
  20. package/lib/assets/exportProcessing.svg +28 -28
  21. package/lib/assets/exportSuccess.svg +34 -34
  22. package/lib/assets/label_icon_bottom.svg +25 -25
  23. package/lib/assets/upExport.svg +22 -22
  24. package/package.json +77 -77
  25. package/src/assets/32.svg +27 -27
  26. package/src/assets/addIcon.svg +17 -17
  27. package/src/assets/allfunc.svg +27 -27
  28. package/src/assets/arrowRight.svg +24 -24
  29. package/src/assets/btn-delete.svg +29 -29
  30. package/src/assets/btn-edit.svg +19 -19
  31. package/src/assets/btn-more.svg +17 -17
  32. package/src/assets/btn-submit.svg +19 -19
  33. package/src/assets/caidan.svg +11 -11
  34. package/src/assets/close.svg +26 -26
  35. package/src/assets/drag.svg +17 -17
  36. package/src/assets/exportFail.svg +37 -37
  37. package/src/assets/exportProcessing.svg +28 -28
  38. package/src/assets/exportSuccess.svg +34 -34
  39. package/src/assets/fixed-left-active.svg +11 -11
  40. package/src/assets/fixed-left.svg +15 -15
  41. package/src/assets/fixed-right-active.svg +11 -11
  42. package/src/assets/fixed-right.svg +15 -15
  43. package/src/assets/guanbi.svg +15 -15
  44. package/src/assets/icon-quanping.svg +15 -15
  45. package/src/assets/icon-shezhi.svg +17 -17
  46. package/src/assets/label_icon_bottom.svg +25 -25
  47. package/src/assets/list-no-img.svg +21 -21
  48. package/src/assets/morentouxiang-32.svg +23 -23
  49. package/src/assets/scanning.svg +24 -24
  50. package/src/assets/upExport.svg +22 -22
  51. package/src/components/Business/AddSelectBusiness/index.md +161 -161
  52. package/src/components/Business/AddSelectBusiness/index.tsx +861 -887
  53. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
  54. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  55. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  56. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  57. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  58. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  59. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  60. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
  61. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  62. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
  63. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  64. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  65. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
  66. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
  67. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  68. package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
  69. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
  70. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  71. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  72. package/src/components/Business/BsLayouts/index.less +79 -79
  73. package/src/components/Business/BsLayouts/index.tsx +1484 -1484
  74. package/src/components/Business/BsLayouts/service.ts +10 -10
  75. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  76. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +564 -564
  77. package/src/components/Business/BsSulaQueryTable/index.less +221 -221
  78. package/src/components/Business/BsSulaQueryTable/index.tsx +527 -527
  79. package/src/components/Business/BsSulaQueryTable/setting.tsx +832 -832
  80. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  81. package/src/components/Business/BsSulaQueryTable/utils.tsx +688 -688
  82. package/src/components/Business/CommodityEntry/index.md +70 -70
  83. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  84. package/src/components/Business/CommonAlert/index.tsx +23 -23
  85. package/src/components/Business/CommonGuideWrapper/index.less +111 -111
  86. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  87. package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
  88. package/src/components/Business/DetailPageWrapper/index.less +79 -79
  89. package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
  90. package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
  91. package/src/components/Business/HomePageWrapper/index.less +33 -33
  92. package/src/components/Business/HomePageWrapper/index.md +45 -45
  93. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  94. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
  95. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +201 -201
  96. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
  97. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  98. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  99. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  100. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  101. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  102. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  103. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  104. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  105. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  106. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  107. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  108. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  109. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  110. package/src/components/Business/JsonQueryTable/index.less +16 -16
  111. package/src/components/Business/JsonQueryTable/index.md +328 -328
  112. package/src/components/Business/JsonQueryTable/index.tsx +320 -320
  113. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  114. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  115. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  116. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  117. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  118. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  119. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  120. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  121. package/src/components/Business/JsonQueryTable/static.ts +390 -390
  122. package/src/components/Business/SearchSelect/BusinessUtils.ts +1732 -1732
  123. package/src/components/Business/SearchSelect/common.ts +53 -53
  124. package/src/components/Business/SearchSelect/index.md +1319 -1319
  125. package/src/components/Business/SearchSelect/index.tsx +52 -55
  126. package/src/components/Business/SearchSelect/utils.ts +100 -100
  127. package/src/components/Business/StateFlow/index.less +130 -130
  128. package/src/components/Business/StateFlow/index.md +60 -60
  129. package/src/components/Business/StateFlow/index.tsx +29 -29
  130. package/src/components/Business/TreeSearchSelect/index.md +154 -154
  131. package/src/components/Business/TreeSearchSelect/index.tsx +34 -34
  132. package/src/components/Business/TreeSearchSelect/utils.ts +69 -69
  133. package/src/components/Business/columnSettingTable/columnSetting.tsx +764 -764
  134. package/src/components/Business/columnSettingTable/index.less +247 -247
  135. package/src/components/Business/columnSettingTable/index.md +357 -357
  136. package/src/components/Business/columnSettingTable/index.tsx +232 -232
  137. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
  138. package/src/components/Business/columnSettingTable/utils.tsx +68 -68
  139. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +86 -86
  140. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
  141. package/src/components/Business/moreTreeTable/index.less +99 -99
  142. package/src/components/Business/moreTreeTable/index.md +448 -448
  143. package/src/components/Business/moreTreeTable/index.tsx +380 -380
  144. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  145. package/src/components/Functional/AddSelect/helps.ts +14 -14
  146. package/src/components/Functional/AddSelect/index.less +367 -367
  147. package/src/components/Functional/AddSelect/index.md +155 -155
  148. package/src/components/Functional/AddSelect/index.tsx +1282 -1279
  149. package/src/components/Functional/BillEntry/index.less +371 -371
  150. package/src/components/Functional/BillEntry/index.md +39 -39
  151. package/src/components/Functional/BillEntry/index.tsx +772 -772
  152. package/src/components/Functional/DataImport/index.less +63 -63
  153. package/src/components/Functional/DataImport/index.md +44 -44
  154. package/src/components/Functional/DataImport/index.tsx +695 -695
  155. package/src/components/Functional/DataValidation/index.less +63 -63
  156. package/src/components/Functional/DataValidation/index.md +39 -39
  157. package/src/components/Functional/DataValidation/index.tsx +687 -687
  158. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  159. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
  160. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  161. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  162. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  163. package/src/components/Functional/SearchSelect/index.less +115 -115
  164. package/src/components/Functional/SearchSelect/index.md +141 -141
  165. package/src/components/Functional/SearchSelect/index.tsx +849 -858
  166. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  167. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  168. package/src/components/Functional/TreeSearchSelect/index.tsx +162 -162
  169. package/src/index.ts +34 -34
  170. package/src/plugin/TableColumnSetting/index.less +247 -247
  171. package/src/plugin/TableColumnSetting/index.md +50 -50
  172. package/src/plugin/TableColumnSetting/index.tsx +724 -724
  173. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  174. package/src/styles/bsDefault.less +1912 -1912
  175. package/src/utils/CheckOneUser/index.md +39 -39
  176. package/src/utils/CheckOneUser/index.ts +51 -51
  177. package/src/utils/LocalstorageUtils.ts +90 -95
  178. package/src/utils/TableUtils.tsx +18 -18
  179. package/src/utils/checkUtils.ts +39 -39
  180. package/src/utils/enumConfig.ts +11 -11
  181. package/src/utils/getFormMode.js +12 -12
  182. package/src/utils/index.ts +3 -3
  183. package/src/utils/requestUtils.ts +34 -34
  184. package/src/utils/serialize.js +7 -7
  185. package/src/utils/utils.ts +183 -183
  186. package/tsconfig.json +29 -29
  187. package/typings.d.ts +4 -4
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var reactResizable = require('react-resizable');
14
14
  var reactSortableHoc = require('react-sortable-hoc');
15
15
  var arrayMove = require('array-move');
16
16
  var umi = require('umi');
17
- var isEqual = require('lodash/isEqual');
17
+ var isEqual$1 = require('lodash/isEqual');
18
18
  var bssula = require('bssula');
19
19
  var ProLayout = require('@ant-design/pro-layout');
20
20
  var cloneDeep = require('lodash/cloneDeep');
@@ -33,7 +33,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
33
33
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
34
34
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
35
35
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
36
- var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual);
36
+ var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual$1);
37
37
  var ProLayout__default = /*#__PURE__*/_interopDefaultLegacy(ProLayout);
38
38
  var cloneDeep__default = /*#__PURE__*/_interopDefaultLegacy(cloneDeep);
39
39
  var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
@@ -2093,8 +2093,7 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
2093
2093
  needModalTable = _props$needModalTable === void 0 ? true : _props$needModalTable,
2094
2094
  _props$getPopupContai = props.getPopupContainer,
2095
2095
  _getPopupContainer = _props$getPopupContai === void 0 ? undefined : _props$getPopupContai,
2096
- fieldComponent = props.fieldComponent,
2097
- selectBusinessType = props.selectBusinessType;
2096
+ fieldComponent = props.fieldComponent;
2098
2097
  var _ref = requestConfig || {},
2099
2098
  url = _ref.url,
2100
2099
  otherParams = _ref.otherParams,
@@ -2298,85 +2297,84 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
2298
2297
  });
2299
2298
  }
2300
2299
  // 数组对象处理,对带有特殊标记的name进行处理
2301
- var _loop = function _loop() {
2300
+ for (var key in params) {
2302
2301
  if (Object.prototype.hasOwnProperty.call(params, key)) {
2303
- var element = params[key];
2304
- if (element && key.indexOf('*number*') >= 0) {
2305
- var dataParams = key.split('*number*');
2306
- dataParams.forEach(function (value, index) {
2307
- params[value] = element[index];
2308
- });
2309
- delete params[key];
2310
- } else if (element && key.indexOf('*address*') >= 0) {
2311
- var _dataParams = key.split('*address*');
2312
- _dataParams.forEach(function (value, index) {
2313
- params[value] = element.PCDCode[index];
2314
- });
2315
- delete params[key];
2316
- } else if (element && key.indexOf('*costType*') >= 0) {
2317
- var _dataParams2 = key.split('*costType*');
2318
- // eslint-disable-next-line prefer-destructuring
2319
- params[_dataParams2[0]] = element[1];
2320
- delete params[key];
2321
- } else if (element && key.indexOf('*fullDate*') >= 0) {
2322
- var _dataParams3 = key.split('*fullDate*');
2323
- _dataParams3.forEach(function (value, index) {
2324
- if (index === 0) {
2325
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2326
- } else {
2327
- params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
2302
+ (function () {
2303
+ var element = params[key];
2304
+ if (element && key.indexOf('*number*') >= 0) {
2305
+ var dataParams = key.split('*number*');
2306
+ dataParams.forEach(function (value, index) {
2307
+ params[value] = element[index];
2308
+ });
2309
+ delete params[key];
2310
+ } else if (element && key.indexOf('*address*') >= 0) {
2311
+ var _dataParams = key.split('*address*');
2312
+ _dataParams.forEach(function (value, index) {
2313
+ params[value] = element.PCDCode[index];
2314
+ });
2315
+ delete params[key];
2316
+ } else if (element && key.indexOf('*costType*') >= 0) {
2317
+ var _dataParams2 = key.split('*costType*');
2318
+ // eslint-disable-next-line prefer-destructuring
2319
+ params[_dataParams2[0]] = element[1];
2320
+ delete params[key];
2321
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
2322
+ var _dataParams3 = key.split('*fullDate*');
2323
+ _dataParams3.forEach(function (value, index) {
2324
+ if (index === 0) {
2325
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2326
+ } else {
2327
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
2328
+ }
2329
+ });
2330
+ delete params[key];
2331
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
2332
+ var _dataParams4 = key.split('*checkBox*');
2333
+ if (element) {
2334
+ params[_dataParams4[0]] = 0;
2328
2335
  }
2329
- });
2330
- delete params[key];
2331
- } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
2332
- var _dataParams4 = key.split('*checkBox*');
2333
- if (element) {
2334
- params[_dataParams4[0]] = 0;
2335
- }
2336
- delete params[key];
2337
- } else if (element && key.indexOf('*cascader*') >= 0) {
2338
- var _dataParams5 = key.split('*cascader*');
2339
- params[_dataParams5[0]] = element[element.length - 1];
2340
- delete params[key];
2341
- } else if (element && key.indexOf('*date*') >= 0) {
2342
- var _dataParams6 = key.split('*date*');
2343
- _dataParams6.forEach(function (value, index) {
2344
- if (index === 0) {
2345
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2336
+ delete params[key];
2337
+ } else if (element && key.indexOf('*cascader*') >= 0) {
2338
+ var _dataParams5 = key.split('*cascader*');
2339
+ params[_dataParams5[0]] = element[element.length - 1];
2340
+ delete params[key];
2341
+ } else if (element && key.indexOf('*date*') >= 0) {
2342
+ var _dataParams6 = key.split('*date*');
2343
+ _dataParams6.forEach(function (value, index) {
2344
+ if (index === 0) {
2345
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2346
+ } else {
2347
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2348
+ }
2349
+ });
2350
+ delete params[key];
2351
+ } else if (element && key.indexOf('*') >= 0) {
2352
+ var _dataParams7 = key.split('*');
2353
+ _dataParams7.forEach(function (value, index) {
2354
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
2355
+ });
2356
+ delete params[key];
2357
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
2358
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
2359
+ var _dataParams8 = key.split('_selectNumberRange')[0];
2360
+ if (params[key][0] === 'range') {
2361
+ if (params[key][1][0]) {
2362
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
2363
+ }
2364
+ if (params[key][1][1]) {
2365
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
2366
+ }
2346
2367
  } else {
2347
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2348
- }
2349
- });
2350
- delete params[key];
2351
- } else if (element && key.indexOf('*') >= 0) {
2352
- var _dataParams7 = key.split('*');
2353
- _dataParams7.forEach(function (value, index) {
2354
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
2355
- });
2356
- delete params[key];
2357
- } else if (element && key.indexOf('_selectNumberRange') >= 0) {
2358
- // key = xxxxx_selectNumberRange qp-xxxxx-gt
2359
- var _dataParams8 = key.split('_selectNumberRange')[0];
2360
- if (params[key][0] === 'range') {
2361
- if (params[key][1][0]) {
2362
- params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
2363
- }
2364
- if (params[key][1][1]) {
2365
- params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
2368
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2366
2369
  }
2367
- } else {
2368
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2370
+ delete params[key];
2371
+ } else if (Array.isArray(element)) {
2372
+ params[key] = element.join(',');
2373
+ } else if (element == null || element === undefined || String(element).trim() === '') {
2374
+ delete params[key];
2369
2375
  }
2370
- delete params[key];
2371
- } else if (Array.isArray(element)) {
2372
- params[key] = element.join(',');
2373
- } else if (element == null || element === undefined || String(element).trim() === '') {
2374
- delete params[key];
2375
- }
2376
+ })();
2376
2377
  }
2377
- };
2378
- for (var key in params) {
2379
- _loop();
2380
2378
  }
2381
2379
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
2382
2380
  pageSize: pageSize,
@@ -2500,13 +2498,6 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
2500
2498
  React.useEffect(function () {
2501
2499
  makeUniqueValue();
2502
2500
  }, [resultSourceKey]);
2503
- React.useEffect(function () {
2504
- if (init) {
2505
- setItems([]);
2506
- setItemsTotal(0);
2507
- run('init');
2508
- }
2509
- }, [selectBusinessType]);
2510
2501
  var showModal = function showModal() {
2511
2502
  getData({
2512
2503
  pageSize: tableInitPageSize,
@@ -3702,41 +3693,52 @@ var setInitialShowColumn = function setInitialShowColumn(tableCode, columns, cal
3702
3693
  callback(showColumns);
3703
3694
  };
3704
3695
 
3705
- var simpleIsEqual = function simpleIsEqual(a, b) {
3706
- return a === b;
3707
- };
3708
-
3709
- function index (resultFn, isEqual) {
3710
- if (isEqual === void 0) {
3711
- isEqual = simpleIsEqual;
3712
- }
3713
-
3714
- var lastThis;
3715
- var lastArgs = [];
3716
- var lastResult;
3717
- var calledOnce = false;
3718
-
3719
- var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
3720
- return isEqual(newArg, lastArgs[index], index);
3721
- };
3722
-
3723
- var result = function result() {
3724
- for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
3725
- newArgs[_key] = arguments[_key];
3696
+ var safeIsNaN = Number.isNaN ||
3697
+ function ponyfill(value) {
3698
+ return typeof value === 'number' && value !== value;
3699
+ };
3700
+ function isEqual(first, second) {
3701
+ if (first === second) {
3702
+ return true;
3726
3703
  }
3727
-
3728
- if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
3729
- return lastResult;
3704
+ if (safeIsNaN(first) && safeIsNaN(second)) {
3705
+ return true;
3730
3706
  }
3707
+ return false;
3708
+ }
3709
+ function areInputsEqual(newInputs, lastInputs) {
3710
+ if (newInputs.length !== lastInputs.length) {
3711
+ return false;
3712
+ }
3713
+ for (var i = 0; i < newInputs.length; i++) {
3714
+ if (!isEqual(newInputs[i], lastInputs[i])) {
3715
+ return false;
3716
+ }
3717
+ }
3718
+ return true;
3719
+ }
3731
3720
 
3732
- lastResult = resultFn.apply(this, newArgs);
3733
- calledOnce = true;
3734
- lastThis = this;
3735
- lastArgs = newArgs;
3736
- return lastResult;
3737
- };
3738
-
3739
- return result;
3721
+ function memoizeOne(resultFn, isEqual) {
3722
+ if (isEqual === void 0) { isEqual = areInputsEqual; }
3723
+ var lastThis;
3724
+ var lastArgs = [];
3725
+ var lastResult;
3726
+ var calledOnce = false;
3727
+ function memoized() {
3728
+ var newArgs = [];
3729
+ for (var _i = 0; _i < arguments.length; _i++) {
3730
+ newArgs[_i] = arguments[_i];
3731
+ }
3732
+ if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
3733
+ return lastResult;
3734
+ }
3735
+ lastResult = resultFn.apply(this, newArgs);
3736
+ calledOnce = true;
3737
+ lastThis = this;
3738
+ lastArgs = newArgs;
3739
+ return lastResult;
3740
+ }
3741
+ return memoized;
3740
3742
  }
3741
3743
 
3742
3744
  //! moment.js
@@ -9599,59 +9601,58 @@ var getItemDefaultWidth = function getItemDefaultWidth(item) {
9599
9601
  * @returns 返回处理后的查询参数
9600
9602
  */
9601
9603
  function queryParams(params, flag) {
9602
- var _loop = function _loop() {
9604
+ for (var key in params) {
9603
9605
  if (Object.prototype.hasOwnProperty.call(params, key)) {
9604
- var element = params[key];
9605
- if (element && key.indexOf('*number*') >= 0) {
9606
- var dataParams = key.split('*number*');
9607
- dataParams.forEach(function (value, index) {
9608
- params[value] = element[index];
9609
- });
9610
- delete params[key];
9611
- } else if (element && key.indexOf('*address*') >= 0) {
9612
- var _dataParams = key.split('*address*');
9613
- _dataParams.forEach(function (value, index) {
9614
- params[value] = element.PCDCode[index];
9615
- });
9616
- delete params[key];
9617
- } else if (element && key.indexOf('*costType*') >= 0) {
9618
- var _dataParams2 = key.split('*costType*');
9619
- // eslint-disable-next-line prefer-destructuring
9620
- params[_dataParams2[0]] = element[1];
9621
- delete params[key];
9622
- } else if (element && key.indexOf('*fullDate*') >= 0) {
9623
- var _dataParams3 = key.split('*fullDate*');
9624
- _dataParams3.forEach(function (value, index) {
9625
- if (index === 0) {
9626
- params[value] = hooks(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
9606
+ (function () {
9607
+ var element = params[key];
9608
+ if (element && key.indexOf('*number*') >= 0) {
9609
+ var dataParams = key.split('*number*');
9610
+ dataParams.forEach(function (value, index) {
9611
+ params[value] = element[index];
9612
+ });
9613
+ delete params[key];
9614
+ } else if (element && key.indexOf('*address*') >= 0) {
9615
+ var _dataParams = key.split('*address*');
9616
+ _dataParams.forEach(function (value, index) {
9617
+ params[value] = element.PCDCode[index];
9618
+ });
9619
+ delete params[key];
9620
+ } else if (element && key.indexOf('*costType*') >= 0) {
9621
+ var _dataParams2 = key.split('*costType*');
9622
+ // eslint-disable-next-line prefer-destructuring
9623
+ params[_dataParams2[0]] = element[1];
9624
+ delete params[key];
9625
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
9626
+ var _dataParams3 = key.split('*fullDate*');
9627
+ _dataParams3.forEach(function (value, index) {
9628
+ if (index === 0) {
9629
+ params[value] = hooks(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
9630
+ } else {
9631
+ params[value] = hooks(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
9632
+ }
9633
+ });
9634
+ delete params[key];
9635
+ } else if (element && key.indexOf('*') >= 0) {
9636
+ var _dataParams4 = key.split('*');
9637
+ _dataParams4.forEach(function (value, index) {
9638
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
9639
+ });
9640
+ delete params[key];
9641
+ } else if (element && key.indexOf('_likeIn_') >= 0) {
9642
+ var _dataParams5 = key.split('_likeIn_');
9643
+ if (element.indexOf(',') >= 0) {
9644
+ params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
9645
+ params["qp-".concat(_dataParams5[0], "-like")] = null;
9627
9646
  } else {
9628
- params[value] = hooks(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
9647
+ params["qp-".concat(_dataParams5[0], "-like")] = element;
9648
+ params["qp-".concat(_dataParams5[0], "-in")] = null;
9629
9649
  }
9630
- });
9631
- delete params[key];
9632
- } else if (element && key.indexOf('*') >= 0) {
9633
- var _dataParams4 = key.split('*');
9634
- _dataParams4.forEach(function (value, index) {
9635
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
9636
- });
9637
- delete params[key];
9638
- } else if (element && key.indexOf('_likeIn_') >= 0) {
9639
- var _dataParams5 = key.split('_likeIn_');
9640
- if (element.indexOf(',') >= 0) {
9641
- params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
9642
- params["qp-".concat(_dataParams5[0], "-like")] = null;
9643
- } else {
9644
- params["qp-".concat(_dataParams5[0], "-like")] = element;
9645
- params["qp-".concat(_dataParams5[0], "-in")] = null;
9650
+ delete params[key];
9651
+ } else if (Array.isArray(element)) {
9652
+ params[key] = element.join(',');
9646
9653
  }
9647
- delete params[key];
9648
- } else if (Array.isArray(element)) {
9649
- params[key] = element.join(',');
9650
- }
9654
+ })();
9651
9655
  }
9652
- };
9653
- for (var key in params) {
9654
- _loop();
9655
9656
  }
9656
9657
  return flag ? params : qs.stringify(params);
9657
9658
  }
@@ -9697,7 +9698,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
9697
9698
  return item;
9698
9699
  });
9699
9700
  };
9700
- var memoizeOneFormatter = index(formatter, isEqual__default['default']);
9701
+ var memoizeOneFormatter = memoizeOne(formatter, isEqual__default['default']);
9701
9702
  var go2BackAndClose = function go2BackAndClose() {
9702
9703
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
9703
9704
  umi.history.goBack();
@@ -10181,74 +10182,76 @@ var AddSelect = function AddSelect(props) {
10181
10182
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
10182
10183
  var result;
10183
10184
  return _regeneratorRuntime().wrap(function _callee$(_context) {
10184
- while (1) switch (_context.prev = _context.next) {
10185
- case 0:
10186
- if (!(bType == 'skc' && tList.some(function (i) {
10187
- return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
10188
- }))) {
10189
- _context.next = 3;
10190
- break;
10191
- }
10192
- antd.message.warning('相同skc配码不可设置相同哦');
10193
- return _context.abrupt("return", false);
10194
- case 3:
10195
- if (!(bType == 'spu')) {
10196
- _context.next = 26;
10197
- break;
10198
- }
10199
- if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
10200
- return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
10201
- }))) {
10202
- _context.next = 7;
10203
- break;
10204
- }
10205
- antd.message.warning('相同商品相同配码颜色不可设置相同哦');
10206
- return _context.abrupt("return", false);
10207
- case 7:
10208
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
10209
- _context.next = 10;
10210
- break;
10211
- }
10212
- antd.message.warning('请先选择颜色!');
10213
- return _context.abrupt("return", false);
10214
- case 10:
10215
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
10216
- return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
10217
- }))) {
10218
- _context.next = 13;
10219
- break;
10220
- }
10221
- antd.message.warning('相同商品相同颜色配码不可设置相同哦');
10222
- return _context.abrupt("return", false);
10223
- case 13:
10224
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
10225
- _context.next = 26;
10185
+ while (1) {
10186
+ switch (_context.prev = _context.next) {
10187
+ case 0:
10188
+ if (!(bType == 'skc' && tList.some(function (i) {
10189
+ return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
10190
+ }))) {
10191
+ _context.next = 3;
10192
+ break;
10193
+ }
10194
+ antd.message.warning('相同skc配码不可设置相同哦');
10195
+ return _context.abrupt("return", false);
10196
+ case 3:
10197
+ if (!(bType == 'spu')) {
10198
+ _context.next = 26;
10199
+ break;
10200
+ }
10201
+ if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
10202
+ return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
10203
+ }))) {
10204
+ _context.next = 7;
10205
+ break;
10206
+ }
10207
+ antd.message.warning('相同商品相同配码颜色不可设置相同哦');
10208
+ return _context.abrupt("return", false);
10209
+ case 7:
10210
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
10211
+ _context.next = 10;
10212
+ break;
10213
+ }
10214
+ antd.message.warning('请先选择颜色!');
10215
+ return _context.abrupt("return", false);
10216
+ case 10:
10217
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
10218
+ return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
10219
+ }))) {
10220
+ _context.next = 13;
10221
+ break;
10222
+ }
10223
+ antd.message.warning('相同商品相同颜色配码不可设置相同哦');
10224
+ return _context.abrupt("return", false);
10225
+ case 13:
10226
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
10227
+ _context.next = 26;
10228
+ break;
10229
+ }
10230
+ result = true;
10231
+ _context.prev = 15;
10232
+ _context.next = 18;
10233
+ return checkSpuMatchCode({
10234
+ skcCode: recordItem[recordKey],
10235
+ matchingCode: changeValue,
10236
+ ext1: recordItem.colorName
10237
+ });
10238
+ case 18:
10239
+ result = _context.sent;
10240
+ result = true;
10241
+ _context.next = 25;
10226
10242
  break;
10227
- }
10228
- result = true;
10229
- _context.prev = 15;
10230
- _context.next = 18;
10231
- return checkSpuMatchCode({
10232
- skcCode: recordItem[recordKey],
10233
- matchingCode: changeValue,
10234
- ext1: recordItem.colorName
10235
- });
10236
- case 18:
10237
- result = _context.sent;
10238
- result = true;
10239
- _context.next = 25;
10240
- break;
10241
- case 22:
10242
- _context.prev = 22;
10243
- _context.t0 = _context["catch"](15);
10244
- result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
10245
- case 25:
10246
- return _context.abrupt("return", result);
10247
- case 26:
10248
- return _context.abrupt("return", true);
10249
- case 27:
10250
- case "end":
10251
- return _context.stop();
10243
+ case 22:
10244
+ _context.prev = 22;
10245
+ _context.t0 = _context["catch"](15);
10246
+ result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
10247
+ case 25:
10248
+ return _context.abrupt("return", result);
10249
+ case 26:
10250
+ return _context.abrupt("return", true);
10251
+ case 27:
10252
+ case "end":
10253
+ return _context.stop();
10254
+ }
10252
10255
  }
10253
10256
  }, _callee, null, [[15, 22]]);
10254
10257
  }));
@@ -10440,27 +10443,29 @@ var AddSelect = function AddSelect(props) {
10440
10443
  var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
10441
10444
  var isConformToTheRules, newPopValue;
10442
10445
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
10443
- while (1) switch (_context2.prev = _context2.next) {
10444
- case 0:
10445
- _context2.next = 2;
10446
- return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
10447
- case 2:
10448
- isConformToTheRules = _context2.sent;
10449
- if (isConformToTheRules) {
10450
- record[item.dataIndex] = value;
10451
- } else {
10452
- record[item.dataIndex] = null;
10453
- }
10454
- newPopValue = popvalue.map(function (i, innerIndex) {
10455
- if (innerIndex == index) {
10456
- i[item.dataIndex] = record[item.dataIndex];
10446
+ while (1) {
10447
+ switch (_context2.prev = _context2.next) {
10448
+ case 0:
10449
+ _context2.next = 2;
10450
+ return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
10451
+ case 2:
10452
+ isConformToTheRules = _context2.sent;
10453
+ if (isConformToTheRules) {
10454
+ record[item.dataIndex] = value;
10455
+ } else {
10456
+ record[item.dataIndex] = null;
10457
10457
  }
10458
- return i;
10459
- });
10460
- setPopValue(newPopValue);
10461
- case 6:
10462
- case "end":
10463
- return _context2.stop();
10458
+ newPopValue = popvalue.map(function (i, innerIndex) {
10459
+ if (innerIndex == index) {
10460
+ i[item.dataIndex] = record[item.dataIndex];
10461
+ }
10462
+ return i;
10463
+ });
10464
+ setPopValue(newPopValue);
10465
+ case 6:
10466
+ case "end":
10467
+ return _context2.stop();
10468
+ }
10464
10469
  }
10465
10470
  }, _callee2);
10466
10471
  }));
@@ -10520,85 +10525,84 @@ var AddSelect = function AddSelect(props) {
10520
10525
  });
10521
10526
  }
10522
10527
  // 数组对象处理,对带有特殊标记的name进行处理
10523
- var _loop = function _loop() {
10528
+ for (var key in params) {
10524
10529
  if (Object.prototype.hasOwnProperty.call(params, key)) {
10525
- var element = params[key];
10526
- if (element && key.indexOf('*number*') >= 0) {
10527
- var dataParams = key.split('*number*');
10528
- dataParams.forEach(function (value, index) {
10529
- params[value] = element[index];
10530
- });
10531
- delete params[key];
10532
- } else if (element && key.indexOf('*address*') >= 0) {
10533
- var _dataParams = key.split('*address*');
10534
- _dataParams.forEach(function (value, index) {
10535
- params[value] = element.PCDCode[index];
10536
- });
10537
- delete params[key];
10538
- } else if (element && key.indexOf('*costType*') >= 0) {
10539
- var _dataParams2 = key.split('*costType*');
10540
- // eslint-disable-next-line prefer-destructuring
10541
- params[_dataParams2[0]] = element[1];
10542
- delete params[key];
10543
- } else if (element && key.indexOf('*fullDate*') >= 0) {
10544
- var _dataParams3 = key.split('*fullDate*');
10545
- _dataParams3.forEach(function (value, index) {
10546
- if (index === 0) {
10547
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
10548
- } else {
10549
- params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
10530
+ (function () {
10531
+ var element = params[key];
10532
+ if (element && key.indexOf('*number*') >= 0) {
10533
+ var dataParams = key.split('*number*');
10534
+ dataParams.forEach(function (value, index) {
10535
+ params[value] = element[index];
10536
+ });
10537
+ delete params[key];
10538
+ } else if (element && key.indexOf('*address*') >= 0) {
10539
+ var _dataParams = key.split('*address*');
10540
+ _dataParams.forEach(function (value, index) {
10541
+ params[value] = element.PCDCode[index];
10542
+ });
10543
+ delete params[key];
10544
+ } else if (element && key.indexOf('*costType*') >= 0) {
10545
+ var _dataParams2 = key.split('*costType*');
10546
+ // eslint-disable-next-line prefer-destructuring
10547
+ params[_dataParams2[0]] = element[1];
10548
+ delete params[key];
10549
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
10550
+ var _dataParams3 = key.split('*fullDate*');
10551
+ _dataParams3.forEach(function (value, index) {
10552
+ if (index === 0) {
10553
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
10554
+ } else {
10555
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
10556
+ }
10557
+ });
10558
+ delete params[key];
10559
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
10560
+ var _dataParams4 = key.split('*checkBox*');
10561
+ if (element) {
10562
+ params[_dataParams4[0]] = 0;
10550
10563
  }
10551
- });
10552
- delete params[key];
10553
- } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
10554
- var _dataParams4 = key.split('*checkBox*');
10555
- if (element) {
10556
- params[_dataParams4[0]] = 0;
10557
- }
10558
- delete params[key];
10559
- } else if (element && key.indexOf('*cascader*') >= 0) {
10560
- var _dataParams5 = key.split('*cascader*');
10561
- params[_dataParams5[0]] = element[element.length - 1];
10562
- delete params[key];
10563
- } else if (element && key.indexOf('*date*') >= 0) {
10564
- var _dataParams6 = key.split('*date*');
10565
- _dataParams6.forEach(function (value, index) {
10566
- if (index === 0) {
10567
- params[value] = moment(element[index]).format('YYYY-MM-DD');
10564
+ delete params[key];
10565
+ } else if (element && key.indexOf('*cascader*') >= 0) {
10566
+ var _dataParams5 = key.split('*cascader*');
10567
+ params[_dataParams5[0]] = element[element.length - 1];
10568
+ delete params[key];
10569
+ } else if (element && key.indexOf('*date*') >= 0) {
10570
+ var _dataParams6 = key.split('*date*');
10571
+ _dataParams6.forEach(function (value, index) {
10572
+ if (index === 0) {
10573
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
10574
+ } else {
10575
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
10576
+ }
10577
+ });
10578
+ delete params[key];
10579
+ } else if (element && key.indexOf('*') >= 0) {
10580
+ var _dataParams7 = key.split('*');
10581
+ _dataParams7.forEach(function (value, index) {
10582
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
10583
+ });
10584
+ delete params[key];
10585
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
10586
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
10587
+ var _dataParams8 = key.split('_selectNumberRange')[0];
10588
+ if (params[key][0] === 'range') {
10589
+ if (params[key][1][0]) {
10590
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
10591
+ }
10592
+ if (params[key][1][1]) {
10593
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
10594
+ }
10568
10595
  } else {
10569
- params[value] = moment(element[index]).format('YYYY-MM-DD');
10570
- }
10571
- });
10572
- delete params[key];
10573
- } else if (element && key.indexOf('*') >= 0) {
10574
- var _dataParams7 = key.split('*');
10575
- _dataParams7.forEach(function (value, index) {
10576
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
10577
- });
10578
- delete params[key];
10579
- } else if (element && key.indexOf('_selectNumberRange') >= 0) {
10580
- // key = xxxxx_selectNumberRange qp-xxxxx-gt
10581
- var _dataParams8 = key.split('_selectNumberRange')[0];
10582
- if (params[key][0] === 'range') {
10583
- if (params[key][1][0]) {
10584
- params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
10596
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
10585
10597
  }
10586
- if (params[key][1][1]) {
10587
- params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
10588
- }
10589
- } else {
10590
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
10598
+ delete params[key];
10599
+ } else if (Array.isArray(element)) {
10600
+ params[key] = element.join(',');
10601
+ } else if (element == null || element === undefined || String(element).trim() === '') {
10602
+ delete params[key];
10591
10603
  }
10592
- delete params[key];
10593
- } else if (Array.isArray(element)) {
10594
- params[key] = element.join(',');
10595
- } else if (element == null || element === undefined || String(element).trim() === '') {
10596
- delete params[key];
10597
- }
10604
+ })();
10598
10605
  }
10599
- };
10600
- for (var key in params) {
10601
- _loop();
10602
10606
  }
10603
10607
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
10604
10608
  pageSize: pageSize,
@@ -10698,8 +10702,8 @@ var AddSelect = function AddSelect(props) {
10698
10702
  pageSize: 5000,
10699
10703
  currentPage: 1
10700
10704
  })]).then(function (x) {
10701
- formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
10702
- formatTreeDataSource(x, 1, 4, tableSearchForm);
10705
+ formatSource(x, 0, 2, tableSearchForm, ['id', 'name']);
10706
+ formatTreeDataSource(x, 1, 3, tableSearchForm);
10703
10707
  });
10704
10708
  }
10705
10709
  if (businessType == 'skc') {
@@ -10832,13 +10836,15 @@ var AddSelect = function AddSelect(props) {
10832
10836
  (_document$getElementB3 = document.getElementById('first-query')) === null || _document$getElementB3 === void 0 ? void 0 : _document$getElementB3.focus();
10833
10837
  !isContinue && handleCancel();
10834
10838
  }
10835
- handleLoading(isContinue, false);
10839
+ // handleLoading(isContinue,false)
10836
10840
  }).catch(function (Error) {
10837
10841
  if (_typeof(Error) === 'object') {
10838
10842
  !Error.needThrowError ? null : antd.message.error(Error.message);
10839
10843
  } else {
10840
10844
  antd.message.error(Error);
10841
10845
  }
10846
+ // handleLoading(isContinue,false)
10847
+ }).finally(function () {
10842
10848
  handleLoading(isContinue, false);
10843
10849
  });
10844
10850
  } else {
@@ -12053,70 +12059,72 @@ var BillEntry = function BillEntry(_ref3) {
12053
12059
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
12054
12060
  var canEntryObject, _canEntryObject$error, messageInfo;
12055
12061
  return _regeneratorRuntime().wrap(function _callee$(_context) {
12056
- while (1) switch (_context.prev = _context.next) {
12057
- case 0:
12058
- if (data === null || data === void 0 ? void 0 : data.length) {
12059
- _context.next = 3;
12060
- break;
12061
- }
12062
- antd.message.warning('至少录入一条数据');
12063
- return _context.abrupt("return");
12064
- case 3:
12065
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
12066
- return d.skuCode && d.name;
12067
- })) {
12068
- _context.next = 6;
12069
- break;
12070
- }
12071
- antd.message.warning('请选择商品!');
12072
- return _context.abrupt("return");
12073
- case 6:
12074
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
12075
- return d.count;
12076
- })) {
12077
- _context.next = 9;
12078
- break;
12079
- }
12080
- antd.message.warning('请填写商品数量!');
12081
- return _context.abrupt("return");
12082
- case 9:
12083
- _context.next = 11;
12084
- return isSkuCanEntry(data);
12085
- case 11:
12086
- canEntryObject = _context.sent;
12087
- if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
12088
- _context.next = 16;
12089
- break;
12090
- }
12091
- messageInfo = (canEntryObject === null || canEntryObject === void 0 ? void 0 : (_canEntryObject$error = canEntryObject.errorList) === null || _canEntryObject$error === void 0 ? void 0 : _canEntryObject$error.length) && (canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.errorList.map(function (i) {
12092
- return /*#__PURE__*/React__default['default'].createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
12093
- }));
12094
- messageInfo && antd.message.warning({
12095
- content: messageInfo,
12096
- duration: 6
12097
- });
12098
- return _context.abrupt("return");
12099
- case 16:
12100
- setLoading(true);
12101
- onSaveCallback(data).then(function (res) {
12102
- {
12103
- var _Object$keys;
12104
- var initSuccessMessage = '保存成功';
12105
- var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
12106
- if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
12107
- (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? antd.message.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
12108
- } else {
12109
- antd.message.success(initSuccessMessage);
12110
- }
12062
+ while (1) {
12063
+ switch (_context.prev = _context.next) {
12064
+ case 0:
12065
+ if (data === null || data === void 0 ? void 0 : data.length) {
12066
+ _context.next = 3;
12067
+ break;
12111
12068
  }
12112
- setLoading(false);
12113
- }).catch(function (Error) {
12114
- antd.message.error(Error);
12115
- setLoading(false);
12116
- });
12117
- case 18:
12118
- case "end":
12119
- return _context.stop();
12069
+ antd.message.warning('至少录入一条数据');
12070
+ return _context.abrupt("return");
12071
+ case 3:
12072
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
12073
+ return d.skuCode && d.name;
12074
+ })) {
12075
+ _context.next = 6;
12076
+ break;
12077
+ }
12078
+ antd.message.warning('请选择商品!');
12079
+ return _context.abrupt("return");
12080
+ case 6:
12081
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
12082
+ return d.count;
12083
+ })) {
12084
+ _context.next = 9;
12085
+ break;
12086
+ }
12087
+ antd.message.warning('请填写商品数量!');
12088
+ return _context.abrupt("return");
12089
+ case 9:
12090
+ _context.next = 11;
12091
+ return isSkuCanEntry(data);
12092
+ case 11:
12093
+ canEntryObject = _context.sent;
12094
+ if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
12095
+ _context.next = 16;
12096
+ break;
12097
+ }
12098
+ messageInfo = (canEntryObject === null || canEntryObject === void 0 ? void 0 : (_canEntryObject$error = canEntryObject.errorList) === null || _canEntryObject$error === void 0 ? void 0 : _canEntryObject$error.length) && (canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.errorList.map(function (i) {
12099
+ return /*#__PURE__*/React__default['default'].createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
12100
+ }));
12101
+ messageInfo && antd.message.warning({
12102
+ content: messageInfo,
12103
+ duration: 6
12104
+ });
12105
+ return _context.abrupt("return");
12106
+ case 16:
12107
+ setLoading(true);
12108
+ onSaveCallback(data).then(function (res) {
12109
+ {
12110
+ var _Object$keys;
12111
+ var initSuccessMessage = '保存成功';
12112
+ var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
12113
+ if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
12114
+ (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? antd.message.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
12115
+ } else {
12116
+ antd.message.success(initSuccessMessage);
12117
+ }
12118
+ }
12119
+ setLoading(false);
12120
+ }).catch(function (Error) {
12121
+ antd.message.error(Error);
12122
+ setLoading(false);
12123
+ });
12124
+ case 18:
12125
+ case "end":
12126
+ return _context.stop();
12127
+ }
12120
12128
  }
12121
12129
  }, _callee);
12122
12130
  }));
@@ -14249,7 +14257,7 @@ var BusinessSearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
14249
14257
  needModalTable: needModalTable,
14250
14258
  modalTableProps: modalTableProps
14251
14259
  });
14252
- }, [props === null || props === void 0 ? void 0 : props.value, props.disabled, props.selectBusinessType]);
14260
+ }, [props === null || props === void 0 ? void 0 : props.value, props.disabled]);
14253
14261
  React.useImperativeHandle(ref, function () {
14254
14262
  return {
14255
14263
  getRef: function getRef() {
@@ -14271,13 +14279,9 @@ var BusinessSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Busines
14271
14279
  if (props && props.disabled !== nextProps.disabled) {
14272
14280
  return false;
14273
14281
  }
14274
- if (props && props.selectBusinessType !== nextProps.selectBusinessType) {
14275
- return false;
14276
- }
14277
14282
  return true;
14278
14283
  });
14279
14284
 
14280
- // import { getCurrentTargetBgId } from '@/utils/LocalstorageUtils';
14281
14285
  function handleSelectColumn(c, parentProps) {
14282
14286
  var result = c;
14283
14287
  var exceptColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptColumns) || [];
@@ -14289,7 +14293,7 @@ function handleSelectColumn(c, parentProps) {
14289
14293
  return !exceptColumns.includes(i.dataIndex);
14290
14294
  });
14291
14295
  }
14292
- // 追加(最好不用这个,当组件不固定时候会有影响)
14296
+ // 追加
14293
14297
  if (additionColumns === null || additionColumns === void 0 ? void 0 : additionColumns.length) {
14294
14298
  additionColumns.forEach(function (i) {
14295
14299
  result.splice(i.position, 0, i.column);
@@ -14302,7 +14306,6 @@ function handleSelectColumn(c, parentProps) {
14302
14306
  return result;
14303
14307
  }
14304
14308
  var AddSkuSelect = function AddSkuSelect(parProps) {
14305
- var _parProps$requestConf, _parProps$requestConf2;
14306
14309
  var selectProps = {
14307
14310
  mode: 'multiple'
14308
14311
  };
@@ -14315,19 +14318,6 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14315
14318
  title: 'SKU编码',
14316
14319
  width: 150,
14317
14320
  dataIndex: 'skuCode'
14318
- }, {
14319
- title: '商品条码',
14320
- width: 100,
14321
- ellipsis: {
14322
- showTitle: false
14323
- },
14324
- dataIndex: 'itemEancode',
14325
- render: function render(text) {
14326
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
14327
- placement: "topLeft",
14328
- title: text
14329
- }, text);
14330
- }
14331
14321
  }, {
14332
14322
  title: 'SKU名称',
14333
14323
  width: 200,
@@ -14415,11 +14405,11 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14415
14405
  requestConfig: _objectSpread2({
14416
14406
  url: "/items/sku/pager/v2",
14417
14407
  filter: 'qp-name-like',
14418
- otherParams: _objectSpread2({
14408
+ otherParams: {
14419
14409
  'qp-combination-eq': false,
14420
14410
  'qp-approveStatus-eq': 1,
14421
14411
  'qp-status-eq': 1
14422
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.addOtherParams) || {}),
14412
+ },
14423
14413
  mappingTextField: 'name',
14424
14414
  mappingValueField: 'skuCode'
14425
14415
  }, parProps.requestConfig),
@@ -14441,13 +14431,6 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14441
14431
  }, {
14442
14432
  name: 'qp-skuName-like',
14443
14433
  label: 'SKU名称'
14444
- }, {
14445
- name: 'qp-code-in',
14446
- label: '商品条码',
14447
- field: {
14448
- type: 'multipleQueryInput',
14449
- props: _objectSpread2({}, ((_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.itemEancodeValueRequestConfig) || {})
14450
- }
14451
14434
  }, {
14452
14435
  name: 'qp-brandId-in',
14453
14436
  type: 'select',
@@ -14528,12 +14511,12 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14528
14511
  }));
14529
14512
  }
14530
14513
  }, {
14531
- title: '商品条码',
14514
+ title: '国际条码',
14532
14515
  width: 100,
14533
14516
  ellipsis: {
14534
14517
  showTitle: false
14535
14518
  },
14536
- dataIndex: 'itemEancode',
14519
+ dataIndex: 'barCode',
14537
14520
  render: function render(text) {
14538
14521
  return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
14539
14522
  placement: "topLeft",
@@ -14639,7 +14622,6 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14639
14622
  })));
14640
14623
  };
14641
14624
  var AddSkcSelect = function AddSkcSelect(parProps) {
14642
- var _parProps$requestConf3;
14643
14625
  var selectProps = {
14644
14626
  mode: 'multiple'
14645
14627
  };
@@ -14717,9 +14699,9 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
14717
14699
  requestConfig: _objectSpread2({
14718
14700
  url: "/items/skc/skcSelect",
14719
14701
  filter: 'qp-name-like',
14720
- otherParams: _objectSpread2({
14702
+ otherParams: {
14721
14703
  'qp-skcStatus-eq': 1
14722
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf3 = parProps.requestConfig) === null || _parProps$requestConf3 === void 0 ? void 0 : _parProps$requestConf3.addOtherParams) || {}),
14704
+ },
14723
14705
  mappingTextField: 'name',
14724
14706
  mappingValueField: 'code'
14725
14707
  }, parProps.requestConfig),
@@ -14919,7 +14901,6 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
14919
14901
  })));
14920
14902
  };
14921
14903
  var AddSpuSelect = function AddSpuSelect(parProps) {
14922
- var _parProps$requestConf4;
14923
14904
  var selectProps = {
14924
14905
  mode: 'multiple'
14925
14906
  };
@@ -15006,11 +14987,11 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
15006
14987
  requestConfig: _objectSpread2({
15007
14988
  url: "/items/item",
15008
14989
  filter: 'qp-itemCode,name-orGroup,like',
15009
- otherParams: _objectSpread2({
14990
+ otherParams: {
15010
14991
  'qp-approveStatus-eq': 1,
15011
14992
  'qp-status-eq': 1,
15012
14993
  sorter: 'desc-id'
15013
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf4 = parProps.requestConfig) === null || _parProps$requestConf4 === void 0 ? void 0 : _parProps$requestConf4.addOtherParams) || {}),
14994
+ },
15014
14995
  mappingTextField: 'name',
15015
14996
  mappingValueField: 'itemCode'
15016
14997
  }, parProps.requestConfig),
@@ -15278,7 +15259,7 @@ var CommodityEntry = function CommodityEntry(props) {
15278
15259
  * @LastEditTime: 2022-01-14 17:17:26
15279
15260
  * @LastEditors: rodchen
15280
15261
  */
15281
- var index$1 = (function (storageKeyString) {
15262
+ var index = (function (storageKeyString) {
15282
15263
  var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
15283
15264
  var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
15284
15265
  if (typeof seconds !== 'number') throw new Error('seconds should be number');
@@ -15396,42 +15377,44 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
15396
15377
  var _ctx$form;
15397
15378
  var resData, coverData, data, dataList;
15398
15379
  return _regeneratorRuntime().wrap(function _callee$(_context) {
15399
- while (1) switch (_context.prev = _context.next) {
15400
- case 0:
15401
- resData = (res === null || res === void 0 ? void 0 : res.data) || [];
15402
- if (!(resData.status === '0' || resData.code === '000000')) {
15403
- _context.next = 13;
15380
+ while (1) {
15381
+ switch (_context.prev = _context.next) {
15382
+ case 0:
15383
+ resData = (res === null || res === void 0 ? void 0 : res.data) || [];
15384
+ if (!(resData.status === '0' || resData.code === '000000')) {
15385
+ _context.next = 13;
15386
+ break;
15387
+ }
15388
+ data = resData.data;
15389
+ if (!remoteSource.converter) {
15390
+ _context.next = 9;
15391
+ break;
15392
+ }
15393
+ _context.next = 6;
15394
+ return remoteSource.converter({
15395
+ data: [data]
15396
+ });
15397
+ case 6:
15398
+ coverData = _context.sent;
15399
+ _context.next = 11;
15404
15400
  break;
15405
- }
15406
- data = resData.data;
15407
- if (!remoteSource.converter) {
15408
- _context.next = 9;
15401
+ case 9:
15402
+ dataList = data && Array.isArray(data) ? data : data && [data] || [];
15403
+ coverData = dataList.length && dataList.map(function (ites) {
15404
+ return mapSearchTree(ites);
15405
+ }) || [];
15406
+ case 11:
15407
+ _context.next = 14;
15409
15408
  break;
15410
- }
15411
- _context.next = 6;
15412
- return remoteSource.converter({
15413
- data: [data]
15414
- });
15415
- case 6:
15416
- coverData = _context.sent;
15417
- _context.next = 11;
15418
- break;
15419
- case 9:
15420
- dataList = data && Array.isArray(data) ? data : data && [data] || [];
15421
- coverData = dataList.length && dataList.map(function (ites) {
15422
- return mapSearchTree(ites);
15423
- }) || [];
15424
- case 11:
15425
- _context.next = 14;
15426
- break;
15427
- case 13:
15428
- coverData = [];
15429
- case 14:
15430
- setTreeData(coverData);
15431
- ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
15432
- case 16:
15433
- case "end":
15434
- return _context.stop();
15409
+ case 13:
15410
+ coverData = [];
15411
+ case 14:
15412
+ setTreeData(coverData);
15413
+ ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
15414
+ case 16:
15415
+ case "end":
15416
+ return _context.stop();
15417
+ }
15435
15418
  }
15436
15419
  }, _callee);
15437
15420
  }));
@@ -15619,7 +15602,7 @@ var BusinessTreeSearchSelect = function BusinessTreeSearchSelect(props) {
15619
15602
  }, [props === null || props === void 0 ? void 0 : props.value]);
15620
15603
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(MemoTreeSearchSelect, _objectSpread2({}, currentProps)));
15621
15604
  };
15622
- var index$2 = /*#__PURE__*/React__default['default'].memo(BusinessTreeSearchSelect, function (props, nextProps) {
15605
+ var index$1 = /*#__PURE__*/React__default['default'].memo(BusinessTreeSearchSelect, function (props, nextProps) {
15623
15606
  if (props && props.labelInValue && props.value && JSON.stringify(props.value) !== JSON.stringify(nextProps.value)) {
15624
15607
  return false;
15625
15608
  }
@@ -15632,7 +15615,7 @@ var index$2 = /*#__PURE__*/React__default['default'].memo(BusinessTreeSearchSele
15632
15615
  var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #005CFF;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #005CFF;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
15633
15616
  styleInject(css_248z$8);
15634
15617
 
15635
- var index$3 = (function (props) {
15618
+ var index$2 = (function (props) {
15636
15619
  var _props$formStatusMapp = props.formStatusMapping,
15637
15620
  formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
15638
15621
  return /*#__PURE__*/React__default['default'].createElement("div", {
@@ -17056,7 +17039,7 @@ var iconMap = {
17056
17039
  src: moreIcon
17057
17040
  })
17058
17041
  };
17059
- var index$4 = (function (props) {
17042
+ var index$3 = (function (props) {
17060
17043
  var _useLocation = umi.useLocation(),
17061
17044
  pathname = _useLocation.pathname;
17062
17045
  var _useState = React.useState(pathname + 'id'),
@@ -17273,7 +17256,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
17273
17256
  styleInject(css_248z$d);
17274
17257
 
17275
17258
  var _excluded$c = ["children"];
17276
- var index$5 = (function (props) {
17259
+ var index$4 = (function (props) {
17277
17260
  var _useLocation = umi.useLocation(),
17278
17261
  pathname = _useLocation.pathname;
17279
17262
  var _useState = React.useState(pathname + 'id'),
@@ -19549,19 +19532,21 @@ function _outLogin() {
19549
19532
  _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19550
19533
  var res;
19551
19534
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19552
- while (1) switch (_context.prev = _context.next) {
19553
- case 0:
19554
- _context.next = 2;
19555
- return axios__default['default']({
19556
- url: '/user/web/loginOut',
19557
- method: 'GET'
19558
- });
19559
- case 2:
19560
- res = _context.sent;
19561
- return _context.abrupt("return", res);
19562
- case 4:
19563
- case "end":
19564
- return _context.stop();
19535
+ while (1) {
19536
+ switch (_context.prev = _context.next) {
19537
+ case 0:
19538
+ _context.next = 2;
19539
+ return axios__default['default']({
19540
+ url: '/user/web/loginOut',
19541
+ method: 'GET'
19542
+ });
19543
+ case 2:
19544
+ res = _context.sent;
19545
+ return _context.abrupt("return", res);
19546
+ case 4:
19547
+ case "end":
19548
+ return _context.stop();
19549
+ }
19565
19550
  }
19566
19551
  }, _callee);
19567
19552
  }));
@@ -19690,29 +19675,31 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19690
19675
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19691
19676
  var sessionId;
19692
19677
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19693
- while (1) switch (_context.prev = _context.next) {
19694
- case 0:
19695
- _context.next = 2;
19696
- return getSessionId();
19697
- case 2:
19698
- sessionId = _context.sent;
19699
- _context.next = 5;
19700
- return outLogin({
19701
- sessionId: sessionId
19702
- });
19703
- case 5:
19704
- // @ts-ignore
19705
- if (BUILD_TYPE) {
19706
- antd.message.success('退出登录成功');
19707
- umi.history.replace({
19708
- pathname: '/user/login'
19678
+ while (1) {
19679
+ switch (_context.prev = _context.next) {
19680
+ case 0:
19681
+ _context.next = 2;
19682
+ return getSessionId();
19683
+ case 2:
19684
+ sessionId = _context.sent;
19685
+ _context.next = 5;
19686
+ return outLogin({
19687
+ sessionId: sessionId
19709
19688
  });
19710
- } else {
19711
- setLoginOutPath();
19712
- }
19713
- case 6:
19714
- case "end":
19715
- return _context.stop();
19689
+ case 5:
19690
+ // @ts-ignore
19691
+ if (BUILD_TYPE) {
19692
+ antd.message.success('退出登录成功');
19693
+ umi.history.replace({
19694
+ pathname: '/user/login'
19695
+ });
19696
+ } else {
19697
+ setLoginOutPath();
19698
+ }
19699
+ case 6:
19700
+ case "end":
19701
+ return _context.stop();
19702
+ }
19716
19703
  }
19717
19704
  }, _callee);
19718
19705
  }));
@@ -21540,7 +21527,6 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21540
21527
  showSubMenu: isShow
21541
21528
  });
21542
21529
  }, 500);
21543
- //设置tabs标签左右滚动
21544
21530
  _this.setTabNavTransLate = function (num) {
21545
21531
  var _document$getElementB, _document$getElementB2, _document$getElementB3, _document$getElementB4, _document$defaultView;
21546
21532
  var globalTabsNav = (_document$getElementB = document.getElementById('globalTabs')) === null || _document$getElementB === void 0 ? void 0 : (_document$getElementB2 = _document$getElementB.getElementsByClassName('ant-tabs-nav-list')) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2[0];
@@ -22221,12 +22207,14 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22221
22207
  request: function () {
22222
22208
  var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
22223
22209
  return _regeneratorRuntime().wrap(function _callee$(_context) {
22224
- while (1) switch (_context.prev = _context.next) {
22225
- case 0:
22226
- return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
22227
- case 1:
22228
- case "end":
22229
- return _context.stop();
22210
+ while (1) {
22211
+ switch (_context.prev = _context.next) {
22212
+ case 0:
22213
+ return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
22214
+ case 1:
22215
+ case "end":
22216
+ return _context.stop();
22217
+ }
22230
22218
  }
22231
22219
  }, _callee);
22232
22220
  }));
@@ -22364,7 +22352,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22364
22352
  }]);
22365
22353
  return WrapperComponent;
22366
22354
  }(React__default['default'].Component);
22367
- var index$6 = (function (props) {
22355
+ var index$5 = (function (props) {
22368
22356
  var _useModel = umi.useModel('@@initialState'),
22369
22357
  _useModel$initialStat = _useModel.initialState,
22370
22358
  initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
@@ -22605,7 +22593,7 @@ var FixedScrollBar = function FixedScrollBar(_ref, ref) {
22605
22593
  };
22606
22594
  var FixedScrollBar$1 = /*#__PURE__*/React__default['default'].forwardRef(FixedScrollBar);
22607
22595
 
22608
- var index$7 = /*#__PURE__*/React.forwardRef(function (props, ref) {
22596
+ var index$6 = /*#__PURE__*/React.forwardRef(function (props, ref) {
22609
22597
  var _useState = React.useState(false),
22610
22598
  _useState2 = _slicedToArray(_useState, 2),
22611
22599
  show = _useState2[0],
@@ -29898,26 +29886,28 @@ var valueType = {
29898
29886
  var getDynamicDict = /*#__PURE__*/function () {
29899
29887
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29900
29888
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29901
- while (1) switch (_context.prev = _context.next) {
29902
- case 0:
29903
- _context.next = 2;
29904
- return bssula.request({
29905
- url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
29906
- converter: function converter(_ref2) {
29907
- var data = _ref2.data;
29908
- return data === null || data === void 0 ? void 0 : data.map(function (d) {
29909
- return {
29910
- text: d.name,
29911
- value: d.code || d.brandCode
29912
- };
29913
- });
29914
- }
29915
- });
29916
- case 2:
29917
- return _context.abrupt("return", _context.sent);
29918
- case 3:
29919
- case "end":
29920
- return _context.stop();
29889
+ while (1) {
29890
+ switch (_context.prev = _context.next) {
29891
+ case 0:
29892
+ _context.next = 2;
29893
+ return bssula.request({
29894
+ url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
29895
+ converter: function converter(_ref2) {
29896
+ var data = _ref2.data;
29897
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
29898
+ return {
29899
+ text: d.name,
29900
+ value: d.code || d.brandCode
29901
+ };
29902
+ });
29903
+ }
29904
+ });
29905
+ case 2:
29906
+ return _context.abrupt("return", _context.sent);
29907
+ case 3:
29908
+ case "end":
29909
+ return _context.stop();
29910
+ }
29921
29911
  }
29922
29912
  }, _callee);
29923
29913
  }));
@@ -29967,53 +29957,55 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29967
29957
  ahooks.useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29968
29958
  var _ref$current, source;
29969
29959
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29970
- while (1) switch (_context.prev = _context.next) {
29971
- case 0:
29972
- _context.next = 2;
29973
- return setIsShowAndType(function (prev) {
29974
- if (record.inputType === 20 || record.inputType === 30) {
29975
- return {
29976
- isShow: true,
29977
- singleOrMultiple: record.inputType,
29978
- type: record.choiceType
29979
- };
29960
+ while (1) {
29961
+ switch (_context.prev = _context.next) {
29962
+ case 0:
29963
+ _context.next = 2;
29964
+ return setIsShowAndType(function (prev) {
29965
+ if (record.inputType === 20 || record.inputType === 30) {
29966
+ return {
29967
+ isShow: true,
29968
+ singleOrMultiple: record.inputType,
29969
+ type: record.choiceType
29970
+ };
29971
+ }
29972
+ return prev;
29973
+ });
29974
+ case 2:
29975
+ if (!record.dictionaryCode) {
29976
+ _context.next = 17;
29977
+ break;
29980
29978
  }
29981
- return prev;
29982
- });
29983
- case 2:
29984
- if (!record.dictionaryCode) {
29985
- _context.next = 17;
29986
- break;
29987
- }
29988
- if (!(record.choiceType == 20)) {
29989
- _context.next = 7;
29979
+ if (!(record.choiceType == 20)) {
29980
+ _context.next = 7;
29981
+ break;
29982
+ }
29983
+ _context.t0 = getDictionarySource(record.dictionaryCode);
29984
+ _context.next = 15;
29990
29985
  break;
29991
- }
29992
- _context.t0 = getDictionarySource(record.dictionaryCode);
29993
- _context.next = 15;
29994
- break;
29995
- case 7:
29996
- if (!(record.choiceType == 30)) {
29997
- _context.next = 13;
29986
+ case 7:
29987
+ if (!(record.choiceType == 30)) {
29988
+ _context.next = 13;
29989
+ break;
29990
+ }
29991
+ _context.next = 10;
29992
+ return getDynamicDict(record.dictionaryCode);
29993
+ case 10:
29994
+ _context.t1 = _context.sent;
29995
+ _context.next = 14;
29998
29996
  break;
29999
- }
30000
- _context.next = 10;
30001
- return getDynamicDict(record.dictionaryCode);
30002
- case 10:
30003
- _context.t1 = _context.sent;
30004
- _context.next = 14;
30005
- break;
30006
- case 13:
30007
- _context.t1 = [];
30008
- case 14:
30009
- _context.t0 = _context.t1;
30010
- case 15:
30011
- source = _context.t0;
30012
- // @ts-ignore
30013
- ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
30014
- case 17:
30015
- case "end":
30016
- return _context.stop();
29997
+ case 13:
29998
+ _context.t1 = [];
29999
+ case 14:
30000
+ _context.t0 = _context.t1;
30001
+ case 15:
30002
+ source = _context.t0;
30003
+ // @ts-ignore
30004
+ ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
30005
+ case 17:
30006
+ case "end":
30007
+ return _context.stop();
30008
+ }
30017
30009
  }
30018
30010
  }, _callee);
30019
30011
  })));
@@ -30081,28 +30073,30 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30081
30073
  var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30082
30074
  var form, values, name, relates, source;
30083
30075
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
30084
- while (1) switch (_context2.prev = _context2.next) {
30085
- case 0:
30086
- form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
30087
- if (values[0]) {
30076
+ while (1) {
30077
+ switch (_context2.prev = _context2.next) {
30078
+ case 0:
30079
+ form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
30080
+ if (values[0]) {
30081
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
30082
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
30083
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
30084
+ }
30085
+ if (!values[1]) {
30086
+ _context2.next = 9;
30087
+ break;
30088
+ }
30089
+ _context2.next = 5;
30090
+ return getDynamicDict(record.dictionaryCode || values[1]);
30091
+ case 5:
30092
+ source = _context2.sent;
30088
30093
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
30089
30094
  form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
30090
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
30091
- }
30092
- if (!values[1]) {
30093
- _context2.next = 9;
30094
- break;
30095
- }
30096
- _context2.next = 5;
30097
- return getDynamicDict(record.dictionaryCode || values[1]);
30098
- case 5:
30099
- source = _context2.sent;
30100
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
30101
- form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
30102
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
30103
- case 9:
30104
- case "end":
30105
- return _context2.stop();
30095
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
30096
+ case 9:
30097
+ case "end":
30098
+ return _context2.stop();
30099
+ }
30106
30100
  }
30107
30101
  }, _callee2);
30108
30102
  }));
@@ -30562,41 +30556,43 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30562
30556
  var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30563
30557
  var values, name, form, source;
30564
30558
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30565
- while (1) switch (_context3.prev = _context3.next) {
30566
- case 0:
30567
- values = _ref10.values, name = _ref10.name, form = _ref10.form;
30568
- if (values[1] === 40) {
30569
- form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
30570
- form.setFieldVisible(name, false);
30571
- }
30572
- if (!(values[0] === 30)) {
30573
- _context3.next = 10;
30574
- break;
30575
- }
30576
- _context3.next = 5;
30577
- return bssula.request({
30578
- url: '/basic/dictDynamicItem/queryList',
30579
- converter: function converter(_ref11) {
30580
- var data = _ref11.data;
30581
- return data === null || data === void 0 ? void 0 : data.map(function (d) {
30582
- return {
30583
- text: d.dictCode,
30584
- value: d.dictCode
30585
- };
30586
- });
30559
+ while (1) {
30560
+ switch (_context3.prev = _context3.next) {
30561
+ case 0:
30562
+ values = _ref10.values, name = _ref10.name, form = _ref10.form;
30563
+ if (values[1] === 40) {
30564
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
30565
+ form.setFieldVisible(name, false);
30587
30566
  }
30588
- });
30589
- case 5:
30590
- source = _context3.sent;
30591
- form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
30592
- form.setFieldVisible(name, true);
30593
- _context3.next = 11;
30594
- break;
30595
- case 10:
30596
- form.setFieldVisible(name, false);
30597
- case 11:
30598
- case "end":
30599
- return _context3.stop();
30567
+ if (!(values[0] === 30)) {
30568
+ _context3.next = 10;
30569
+ break;
30570
+ }
30571
+ _context3.next = 5;
30572
+ return bssula.request({
30573
+ url: '/basic/dictDynamicItem/queryList',
30574
+ converter: function converter(_ref11) {
30575
+ var data = _ref11.data;
30576
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
30577
+ return {
30578
+ text: d.dictCode,
30579
+ value: d.dictCode
30580
+ };
30581
+ });
30582
+ }
30583
+ });
30584
+ case 5:
30585
+ source = _context3.sent;
30586
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
30587
+ form.setFieldVisible(name, true);
30588
+ _context3.next = 11;
30589
+ break;
30590
+ case 10:
30591
+ form.setFieldVisible(name, false);
30592
+ case 11:
30593
+ case "end":
30594
+ return _context3.stop();
30595
+ }
30600
30596
  }
30601
30597
  }, _callee3);
30602
30598
  }));
@@ -30785,64 +30781,66 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30785
30781
  var _ref$current4, _res$editableStatus;
30786
30782
  var res, _res$defaultValue;
30787
30783
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
30788
- while (1) switch (_context4.prev = _context4.next) {
30789
- case 0:
30790
- _context4.next = 2;
30791
- return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
30792
- case 2:
30793
- res = _context4.sent;
30794
- res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
30795
- res.fieldGroup = record.fieldGroup;
30796
- res.businessType = record.businessType;
30797
- res.info = {
30798
- enumeration: res.enumeration,
30799
- dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
30800
- formula: res.formula,
30801
- scale: res.scale,
30802
- variable: res.variable
30803
- };
30804
- res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
30805
- res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
30806
- res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
30807
- if (res.inputType === 40) {
30808
- res.valueType = 22;
30809
- }
30810
- // 把数组处理成文本
30811
- if (res.inputType === 30) {
30812
- if (res.defaultValue) {
30813
- res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
30784
+ while (1) {
30785
+ switch (_context4.prev = _context4.next) {
30786
+ case 0:
30787
+ _context4.next = 2;
30788
+ return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
30789
+ case 2:
30790
+ res = _context4.sent;
30791
+ res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
30792
+ res.fieldGroup = record.fieldGroup;
30793
+ res.businessType = record.businessType;
30794
+ res.info = {
30795
+ enumeration: res.enumeration,
30796
+ dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
30797
+ formula: res.formula,
30798
+ scale: res.scale,
30799
+ variable: res.variable
30800
+ };
30801
+ res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
30802
+ res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
30803
+ res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
30804
+ if (res.inputType === 40) {
30805
+ res.valueType = 22;
30814
30806
  }
30815
- }
30816
- res.fieldMapping = res.fieldMapping || '';
30817
- delete res.formula;
30818
- delete res.showValue;
30819
- if (!(mode === 'create')) {
30820
- _context4.next = 18;
30821
- break;
30822
- }
30823
- bssula.request({
30824
- url: "/basic/flow/businessField",
30825
- method: 'POST',
30826
- params: res,
30827
- successMessage: '创建成功!',
30828
- converter: function converter() {
30829
- onParentOk();
30807
+ // 把数组处理成文本
30808
+ if (res.inputType === 30) {
30809
+ if (res.defaultValue) {
30810
+ res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
30811
+ }
30830
30812
  }
30831
- });
30832
- return _context4.abrupt("return");
30833
- case 18:
30834
- bssula.request({
30835
- url: "/basic/flow/businessField/".concat(record.id),
30836
- method: 'PATCH',
30837
- params: res,
30838
- successMessage: '修改成功!',
30839
- converter: function converter() {
30840
- onParentOk();
30813
+ res.fieldMapping = res.fieldMapping || '';
30814
+ delete res.formula;
30815
+ delete res.showValue;
30816
+ if (!(mode === 'create')) {
30817
+ _context4.next = 18;
30818
+ break;
30841
30819
  }
30842
- });
30843
- case 19:
30844
- case "end":
30845
- return _context4.stop();
30820
+ bssula.request({
30821
+ url: "/basic/flow/businessField",
30822
+ method: 'POST',
30823
+ params: res,
30824
+ successMessage: '创建成功!',
30825
+ converter: function converter() {
30826
+ onParentOk();
30827
+ }
30828
+ });
30829
+ return _context4.abrupt("return");
30830
+ case 18:
30831
+ bssula.request({
30832
+ url: "/basic/flow/businessField/".concat(record.id),
30833
+ method: 'PATCH',
30834
+ params: res,
30835
+ successMessage: '修改成功!',
30836
+ converter: function converter() {
30837
+ onParentOk();
30838
+ }
30839
+ });
30840
+ case 19:
30841
+ case "end":
30842
+ return _context4.stop();
30843
+ }
30846
30844
  }
30847
30845
  }, _callee4);
30848
30846
  }));
@@ -31312,24 +31310,24 @@ exports.AddSkcSelect = AddSkcSelect;
31312
31310
  exports.AddSkuSelect = AddSkuSelect;
31313
31311
  exports.AddSpuSelect = AddSpuSelect;
31314
31312
  exports.BillEntry = BillEntry;
31315
- exports.BsLayout = index$6;
31313
+ exports.BsLayout = index$5;
31316
31314
  exports.BsSulaQueryTable = BsSulaQueryTable;
31317
31315
  exports.BusinessSearchSelect = BusinessSearchSelect$1;
31318
- exports.BusinessTreeSearchSelect = index$2;
31319
- exports.CheckOneUser = index$1;
31316
+ exports.BusinessTreeSearchSelect = index$1;
31317
+ exports.CheckOneUser = index;
31320
31318
  exports.ColumnSettingTable = ColumnSettingTable;
31321
31319
  exports.CommodityEntry = CommodityEntry;
31322
31320
  exports.DataImport = DataImport;
31323
31321
  exports.DataValidation = DataValidation;
31324
- exports.DetailPageWrapper = index$4;
31322
+ exports.DetailPageWrapper = index$3;
31325
31323
  exports.ExportIcon = ExportIcon;
31326
31324
  exports.GuideWrapper = GuideWrapper;
31327
- exports.HomePageWrapper = index$5;
31325
+ exports.HomePageWrapper = index$4;
31328
31326
  exports.JsonQueryTable = JsonQueryTable;
31329
- exports.MoreTreeTable = index$7;
31327
+ exports.MoreTreeTable = index$6;
31330
31328
  exports.QueryMutipleInput = QueryMutipleInput;
31331
31329
  exports.SearchSelect = SearchSelect;
31332
- exports.StateFlow = index$3;
31330
+ exports.StateFlow = index$2;
31333
31331
  exports.SulaColumnSettingTable = ColumnSettingSulaTable;
31334
31332
  exports.TableColumnSetting = TableColumnSetting;
31335
31333
  exports.TreeSearchSelect = TreeSearchSelect;