@bit-sun/business-component 2.2.24 → 2.2.26

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 (177) 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/index.esm.js +190 -51
  9. package/dist/index.js +190 -51
  10. package/docs/index.md +21 -21
  11. package/lib/assets/drag.svg +17 -17
  12. package/lib/assets/exportFail.svg +37 -37
  13. package/lib/assets/exportProcessing.svg +28 -28
  14. package/lib/assets/exportSuccess.svg +34 -34
  15. package/lib/assets/label_icon_bottom.svg +25 -25
  16. package/lib/assets/upExport.svg +22 -22
  17. package/package.json +77 -77
  18. package/src/assets/32.svg +27 -27
  19. package/src/assets/addIcon.svg +17 -17
  20. package/src/assets/allfunc.svg +27 -27
  21. package/src/assets/arrowRight.svg +24 -24
  22. package/src/assets/btn-delete.svg +29 -29
  23. package/src/assets/btn-edit.svg +19 -19
  24. package/src/assets/btn-more.svg +17 -17
  25. package/src/assets/btn-submit.svg +19 -19
  26. package/src/assets/caidan.svg +11 -11
  27. package/src/assets/close.svg +26 -26
  28. package/src/assets/drag.svg +17 -17
  29. package/src/assets/exportFail.svg +37 -37
  30. package/src/assets/exportProcessing.svg +28 -28
  31. package/src/assets/exportSuccess.svg +34 -34
  32. package/src/assets/fixed-left-active.svg +11 -11
  33. package/src/assets/fixed-left.svg +15 -15
  34. package/src/assets/fixed-right-active.svg +11 -11
  35. package/src/assets/fixed-right.svg +15 -15
  36. package/src/assets/guanbi.svg +15 -15
  37. package/src/assets/icon-quanping.svg +15 -15
  38. package/src/assets/icon-shezhi.svg +17 -17
  39. package/src/assets/label_icon_bottom.svg +25 -25
  40. package/src/assets/list-no-img.svg +21 -21
  41. package/src/assets/morentouxiang-32.svg +23 -23
  42. package/src/assets/scanning.svg +24 -24
  43. package/src/assets/upExport.svg +22 -22
  44. package/src/components/Business/AddSelectBusiness/index.md +161 -129
  45. package/src/components/Business/AddSelectBusiness/index.tsx +859 -835
  46. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
  47. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  48. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  49. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  50. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  51. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  52. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  53. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
  54. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  55. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
  56. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  57. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  58. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
  59. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
  60. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  61. package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
  62. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
  63. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  64. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  65. package/src/components/Business/BsLayouts/index.less +79 -79
  66. package/src/components/Business/BsLayouts/index.tsx +1480 -1480
  67. package/src/components/Business/BsLayouts/service.ts +10 -10
  68. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  69. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +538 -538
  70. package/src/components/Business/BsSulaQueryTable/index.less +219 -219
  71. package/src/components/Business/BsSulaQueryTable/index.tsx +527 -527
  72. package/src/components/Business/BsSulaQueryTable/setting.tsx +802 -802
  73. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  74. package/src/components/Business/BsSulaQueryTable/utils.tsx +688 -688
  75. package/src/components/Business/CommodityEntry/index.md +70 -70
  76. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  77. package/src/components/Business/CommonAlert/index.tsx +23 -23
  78. package/src/components/Business/CommonGuideWrapper/index.less +111 -111
  79. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  80. package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
  81. package/src/components/Business/DetailPageWrapper/index.less +79 -79
  82. package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
  83. package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
  84. package/src/components/Business/HomePageWrapper/index.less +33 -33
  85. package/src/components/Business/HomePageWrapper/index.md +45 -45
  86. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  87. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
  88. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +201 -201
  89. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
  90. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  91. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  92. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  93. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  94. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  95. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  96. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  97. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  98. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  99. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  100. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  101. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  102. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  103. package/src/components/Business/JsonQueryTable/index.less +16 -16
  104. package/src/components/Business/JsonQueryTable/index.md +328 -328
  105. package/src/components/Business/JsonQueryTable/index.tsx +320 -320
  106. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  107. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  108. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  109. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  110. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  111. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  112. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  113. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  114. package/src/components/Business/JsonQueryTable/static.ts +390 -390
  115. package/src/components/Business/SearchSelect/BusinessUtils.ts +1730 -1730
  116. package/src/components/Business/SearchSelect/common.ts +53 -53
  117. package/src/components/Business/SearchSelect/index.md +1310 -1310
  118. package/src/components/Business/SearchSelect/index.tsx +51 -51
  119. package/src/components/Business/SearchSelect/utils.ts +100 -100
  120. package/src/components/Business/StateFlow/index.less +130 -130
  121. package/src/components/Business/StateFlow/index.md +60 -60
  122. package/src/components/Business/StateFlow/index.tsx +29 -29
  123. package/src/components/Business/TreeSearchSelect/index.md +154 -154
  124. package/src/components/Business/TreeSearchSelect/index.tsx +34 -34
  125. package/src/components/Business/TreeSearchSelect/utils.ts +69 -69
  126. package/src/components/Business/columnSettingTable/columnSetting.tsx +764 -764
  127. package/src/components/Business/columnSettingTable/index.less +247 -247
  128. package/src/components/Business/columnSettingTable/index.md +357 -357
  129. package/src/components/Business/columnSettingTable/index.tsx +232 -232
  130. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
  131. package/src/components/Business/columnSettingTable/utils.tsx +68 -68
  132. package/src/components/Business/moreTreeTable/index.less +99 -99
  133. package/src/components/Business/moreTreeTable/index.md +448 -448
  134. package/src/components/Business/moreTreeTable/index.tsx +361 -361
  135. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  136. package/src/components/Functional/AddSelect/index.less +367 -367
  137. package/src/components/Functional/AddSelect/index.md +155 -155
  138. package/src/components/Functional/AddSelect/index.tsx +1249 -1203
  139. package/src/components/Functional/BillEntry/index.less +371 -371
  140. package/src/components/Functional/BillEntry/index.md +39 -39
  141. package/src/components/Functional/BillEntry/index.tsx +766 -766
  142. package/src/components/Functional/DataImport/index.less +63 -63
  143. package/src/components/Functional/DataImport/index.md +44 -44
  144. package/src/components/Functional/DataImport/index.tsx +695 -695
  145. package/src/components/Functional/DataValidation/index.less +63 -63
  146. package/src/components/Functional/DataValidation/index.md +39 -39
  147. package/src/components/Functional/DataValidation/index.tsx +687 -687
  148. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  149. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
  150. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  151. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  152. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  153. package/src/components/Functional/SearchSelect/index.less +115 -115
  154. package/src/components/Functional/SearchSelect/index.md +141 -141
  155. package/src/components/Functional/SearchSelect/index.tsx +846 -846
  156. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  157. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  158. package/src/components/Functional/TreeSearchSelect/index.tsx +162 -162
  159. package/src/index.ts +34 -34
  160. package/src/plugin/TableColumnSetting/index.less +247 -247
  161. package/src/plugin/TableColumnSetting/index.md +50 -50
  162. package/src/plugin/TableColumnSetting/index.tsx +724 -724
  163. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  164. package/src/styles/bsDefault.less +1912 -1912
  165. package/src/utils/CheckOneUser/index.md +39 -39
  166. package/src/utils/CheckOneUser/index.ts +51 -51
  167. package/src/utils/LocalstorageUtils.ts +90 -90
  168. package/src/utils/TableUtils.tsx +18 -18
  169. package/src/utils/checkUtils.ts +39 -39
  170. package/src/utils/enumConfig.ts +11 -11
  171. package/src/utils/getFormMode.js +12 -12
  172. package/src/utils/index.ts +3 -3
  173. package/src/utils/requestUtils.ts +34 -34
  174. package/src/utils/serialize.js +7 -7
  175. package/src/utils/utils.ts +183 -183
  176. package/tsconfig.json +29 -29
  177. package/typings.d.ts +4 -4
package/dist/index.js CHANGED
@@ -9899,6 +9899,22 @@ var loadSelectSource = function loadSelectSource(url, params) {
9899
9899
  });
9900
9900
  });
9901
9901
  };
9902
+ var checkSpuMatchCode = function checkSpuMatchCode(data) {
9903
+ return new Promise(function (resolve, reject) {
9904
+ axios__default['default'].post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
9905
+ var _result3, _result4;
9906
+ result = result.data;
9907
+ if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
9908
+ antd.message.error(result.msg);
9909
+ reject(false);
9910
+ return;
9911
+ }
9912
+ resolve(result);
9913
+ }).catch(function (err) {
9914
+ reject(err);
9915
+ });
9916
+ });
9917
+ };
9902
9918
  var ResizeableTitle = function ResizeableTitle(props) {
9903
9919
  var onResize = props.onResize,
9904
9920
  width = props.width,
@@ -10139,6 +10155,87 @@ var AddSelect = function AddSelect(props) {
10139
10155
  setShowToChooseColumns = _useState46[1];
10140
10156
  var codeToChoose = tableCodeList[0] || initTableCode[businessType][0];
10141
10157
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
10158
+ var checkSelectChange = /*#__PURE__*/function () {
10159
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
10160
+ var result;
10161
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
10162
+ while (1) {
10163
+ switch (_context.prev = _context.next) {
10164
+ case 0:
10165
+ if (!(bType == 'skc' && tList.some(function (i) {
10166
+ return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
10167
+ }))) {
10168
+ _context.next = 3;
10169
+ break;
10170
+ }
10171
+ antd.message.warning('相同skc配码不可设置相同哦');
10172
+ return _context.abrupt("return", false);
10173
+ case 3:
10174
+ if (!(bType == 'spu')) {
10175
+ _context.next = 26;
10176
+ break;
10177
+ }
10178
+ if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
10179
+ return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
10180
+ }))) {
10181
+ _context.next = 7;
10182
+ break;
10183
+ }
10184
+ antd.message.warning('相同商品相同配码颜色不可设置相同哦');
10185
+ return _context.abrupt("return", false);
10186
+ case 7:
10187
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
10188
+ _context.next = 10;
10189
+ break;
10190
+ }
10191
+ antd.message.warning('请先选择颜色!');
10192
+ return _context.abrupt("return", false);
10193
+ case 10:
10194
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
10195
+ return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
10196
+ }))) {
10197
+ _context.next = 13;
10198
+ break;
10199
+ }
10200
+ antd.message.warning('相同商品相同颜色配码不可设置相同哦');
10201
+ return _context.abrupt("return", false);
10202
+ case 13:
10203
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
10204
+ _context.next = 26;
10205
+ break;
10206
+ }
10207
+ result = true;
10208
+ _context.prev = 15;
10209
+ _context.next = 18;
10210
+ return checkSpuMatchCode({
10211
+ skcCode: recordItem[recordKey],
10212
+ matchingCode: changeValue,
10213
+ ext1: recordItem.colorName
10214
+ });
10215
+ case 18:
10216
+ result = _context.sent;
10217
+ result = true;
10218
+ _context.next = 25;
10219
+ break;
10220
+ case 22:
10221
+ _context.prev = 22;
10222
+ _context.t0 = _context["catch"](15);
10223
+ result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
10224
+ case 25:
10225
+ return _context.abrupt("return", result);
10226
+ case 26:
10227
+ return _context.abrupt("return", true);
10228
+ case 27:
10229
+ case "end":
10230
+ return _context.stop();
10231
+ }
10232
+ }
10233
+ }, _callee, null, [[15, 22]]);
10234
+ }));
10235
+ return function checkSelectChange(_x, _x2, _x3, _x4, _x5, _x6) {
10236
+ return _ref4.apply(this, arguments);
10237
+ };
10238
+ }();
10142
10239
  React.useEffect(function () {
10143
10240
  setTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns);
10144
10241
  }, [modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns]);
@@ -10288,40 +10385,55 @@ var AddSelect = function AddSelect(props) {
10288
10385
  return _objectSpread2(_objectSpread2({}, item), {}, {
10289
10386
  render: function render(text, record, index) {
10290
10387
  var _item$dataSource;
10291
- if ((_item$dataSource = item.dataSource) === null || _item$dataSource === void 0 ? void 0 : _item$dataSource.length) {
10388
+ if ((item === null || item === void 0 ? void 0 : (_item$dataSource = item.dataSource) === null || _item$dataSource === void 0 ? void 0 : _item$dataSource.length) || (item === null || item === void 0 ? void 0 : item.dataSourceCode)) {
10389
+ var _item$dataSourceMappi, _item$dataSourceMappi2;
10390
+ var dataSourceList = item.dataSource || (record === null || record === void 0 ? void 0 : record[item === null || item === void 0 ? void 0 : item.dataSourceCode]) || [];
10391
+ var selectKey = (item === null || item === void 0 ? void 0 : (_item$dataSourceMappi = item.dataSourceMapping) === null || _item$dataSourceMappi === void 0 ? void 0 : _item$dataSourceMappi[0]) || 'code';
10392
+ var selectText = (item === null || item === void 0 ? void 0 : (_item$dataSourceMappi2 = item.dataSourceMapping) === null || _item$dataSourceMappi2 === void 0 ? void 0 : _item$dataSourceMappi2[1]) || 'name';
10292
10393
  return /*#__PURE__*/React__default['default'].createElement(antd.Select, {
10293
10394
  value: text || null,
10294
- onChange: function onChange(value) {
10295
- if (businessType == 'skc' && popvalue.some(function (i) {
10296
- return i.code == record.code && i[item.dataIndex] == value;
10297
- })) {
10298
- antd.message.warning('相同skc配码不可设置相同哦');
10299
- record[item.dataIndex] = null;
10300
- var _newPopValue = popvalue.map(function (i, innerIndex) {
10301
- if (innerIndex == index) {
10302
- i[item.dataIndex] = record[item.dataIndex];
10395
+ onChange: function () {
10396
+ var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
10397
+ var isConformToTheRules, newPopValue;
10398
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
10399
+ while (1) {
10400
+ switch (_context2.prev = _context2.next) {
10401
+ case 0:
10402
+ _context2.next = 2;
10403
+ return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
10404
+ case 2:
10405
+ isConformToTheRules = _context2.sent;
10406
+ if (isConformToTheRules) {
10407
+ record[item.dataIndex] = value;
10408
+ } else {
10409
+ record[item.dataIndex] = null;
10410
+ }
10411
+ newPopValue = popvalue.map(function (i, innerIndex) {
10412
+ if (innerIndex == index) {
10413
+ i[item.dataIndex] = record[item.dataIndex];
10414
+ }
10415
+ return i;
10416
+ });
10417
+ setPopValue(newPopValue);
10418
+ case 6:
10419
+ case "end":
10420
+ return _context2.stop();
10421
+ }
10303
10422
  }
10304
- return i;
10305
- });
10306
- setPopValue(_newPopValue);
10307
- return false;
10423
+ }, _callee2);
10424
+ }));
10425
+ function onChange(_x7) {
10426
+ return _onChange.apply(this, arguments);
10308
10427
  }
10309
- record[item.dataIndex] = value;
10310
- var newPopValue = popvalue.map(function (i, innerIndex) {
10311
- if (innerIndex == index) {
10312
- i[item.dataIndex] = record[item.dataIndex];
10313
- }
10314
- return i;
10315
- });
10316
- setPopValue(newPopValue);
10317
- },
10428
+ return onChange;
10429
+ }(),
10318
10430
  style: {
10319
10431
  width: '160px'
10320
10432
  }
10321
- }, item.dataSource.map(function (item) {
10433
+ }, dataSourceList.map(function (item) {
10322
10434
  return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
10323
- value: item.code
10324
- }, item.name);
10435
+ value: item[selectKey]
10436
+ }, item[selectText]);
10325
10437
  }));
10326
10438
  }
10327
10439
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null);
@@ -10450,10 +10562,10 @@ var AddSelect = function AddSelect(props) {
10450
10562
  currentPage: currentPage
10451
10563
  }, otherParams), fixedParam), params);
10452
10564
  axios__default['default'].get("".concat(url, "?").concat(querystring.stringify(queryParams))).then(function (result) {
10453
- var _result3, _result4;
10565
+ var _result5, _result6;
10454
10566
  setFetching(false);
10455
10567
  result = result.data;
10456
- if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
10568
+ if (((_result5 = result) === null || _result5 === void 0 ? void 0 : _result5.status) && result.status !== '0' || ((_result6 = result) === null || _result6 === void 0 ? void 0 : _result6.code) && result.code !== '000000') {
10457
10569
  antd.message.error(result.msg);
10458
10570
  return;
10459
10571
  }
@@ -10698,10 +10810,11 @@ var AddSelect = function AddSelect(props) {
10698
10810
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
10699
10811
  pageSize: tableInitPageSize
10700
10812
  }), 2);
10701
- if (selectMode) {
10702
- getData(params);
10703
- }
10813
+ // if (selectMode) {
10814
+ // getData(params)
10815
+ // }
10704
10816
  };
10817
+
10705
10818
  var onResetTable = function onResetTable() {
10706
10819
  form.resetFields();
10707
10820
  setTableFormParams({});
@@ -10879,8 +10992,8 @@ var AddSelect = function AddSelect(props) {
10879
10992
  });
10880
10993
  }, [tableColumns]);
10881
10994
  var handleResize = function handleResize(arr, index, callback) {
10882
- return function (_, _ref4) {
10883
- var size = _ref4.size;
10995
+ return function (_, _ref5) {
10996
+ var size = _ref5.size;
10884
10997
  var newColumns = arr.map(function (col) {
10885
10998
  return _objectSpread2({}, col);
10886
10999
  });
@@ -14239,14 +14352,9 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14239
14352
  },
14240
14353
  beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
14241
14354
  onSaveCallback: parProps.onSaveCallback,
14242
- businessType: 'sku'
14243
- // onSaveCallback: (rows) => {
14244
- // console.log('save call', rows);
14245
- // // return Promise.resolve(true);
14246
- // // return Promise.reject('FAILE')
14247
- // }
14355
+ businessType: 'sku',
14356
+ isAllowRepeatedSelect: !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect)
14248
14357
  };
14249
-
14250
14358
  var modalTableProps = {
14251
14359
  modalTableTitle: '选择商品',
14252
14360
  tableSearchForm: [{
@@ -14537,8 +14645,9 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
14537
14645
  beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
14538
14646
  onSaveCallback: parProps.onSaveCallback,
14539
14647
  businessType: 'skc',
14540
- isAllowRepeatedSelect: true
14648
+ isAllowRepeatedSelect: (parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect) !== undefined ? !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect) : true // 默认开启一行选多次
14541
14649
  };
14650
+
14542
14651
  var modalTableProps = {
14543
14652
  modalTableTitle: '选择商品',
14544
14653
  tableSearchForm: [{
@@ -14731,6 +14840,25 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
14731
14840
  _useState8 = _slicedToArray(_useState7, 2),
14732
14841
  value = _useState8[0],
14733
14842
  setValue = _useState8[1];
14843
+ var _useState9 = React.useState([]),
14844
+ _useState10 = _slicedToArray(_useState9, 2),
14845
+ propertyList = _useState10[0],
14846
+ setPropertyList = _useState10[1];
14847
+ React.useEffect(function () {
14848
+ if (parProps === null || parProps === void 0 ? void 0 : parProps.isSingleColor) {
14849
+ // type: 1 尺码组; 2 配码组
14850
+ axios__default['default'].get("/items/itemPropertyValueGroup/listNoPage?qp-type-eq=2&qp-status-eq=1").then(function (result) {
14851
+ var _result3, _result4;
14852
+ result = result.data;
14853
+ if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
14854
+ antd.message.error(result.msg);
14855
+ return;
14856
+ }
14857
+ var data = result.data || [];
14858
+ setPropertyList(data);
14859
+ }).catch(function (err) {});
14860
+ }
14861
+ }, []);
14734
14862
  //注⚠️:自定义过表头的请记得传tableCodeList参数
14735
14863
  var initialSelectColumn = [{
14736
14864
  title: '商品编码',
@@ -14749,6 +14877,19 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
14749
14877
  }, text);
14750
14878
  },
14751
14879
  dataIndex: 'name'
14880
+ }, {
14881
+ title: '颜色',
14882
+ dataIndex: 'colorName',
14883
+ width: 200,
14884
+ isSelectItem: true,
14885
+ dataSourceCode: 'colorValues',
14886
+ dataSourceMapping: ['value', 'value']
14887
+ }, {
14888
+ title: '配码',
14889
+ dataIndex: 'selectPropertyGroupCode',
14890
+ width: 160,
14891
+ isSelectItem: true,
14892
+ dataSource: propertyList
14752
14893
  }, {
14753
14894
  title: '数量',
14754
14895
  width: 100,
@@ -14791,14 +14932,9 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
14791
14932
  },
14792
14933
  beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
14793
14934
  onSaveCallback: parProps.onSaveCallback,
14794
- businessType: 'spu'
14795
- // onSaveCallback: (rows) => {
14796
- // console.log('save call', rows);
14797
- // // return Promise.resolve(true);
14798
- // // return Promise.reject('FAILE')
14799
- // }
14935
+ businessType: 'spu',
14936
+ isAllowRepeatedSelect: !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect)
14800
14937
  };
14801
-
14802
14938
  var modalTableProps = {
14803
14939
  modalTableTitle: '选择商品',
14804
14940
  tableSearchForm: [{
@@ -15328,7 +15464,8 @@ var handleDefaultProps = function handleDefaultProps(type) {
15328
15464
  remoteSource: {
15329
15465
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
15330
15466
  initialParams: {
15331
- 'orgViewCode': 'sales-organizational-view'
15467
+ 'orgViewCode': 'sales-organizational-view',
15468
+ 'qp-status-eq': 10
15332
15469
  },
15333
15470
  resKeyValue: ['code', 'name']
15334
15471
  }
@@ -15340,7 +15477,8 @@ var handleDefaultProps = function handleDefaultProps(type) {
15340
15477
  remoteSource: {
15341
15478
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
15342
15479
  initialParams: {
15343
- 'orgViewCode': 'purchase-organizational-view'
15480
+ 'orgViewCode': 'purchase-organizational-view',
15481
+ 'qp-status-eq': 10
15344
15482
  },
15345
15483
  resKeyValue: ['code', 'name']
15346
15484
  }
@@ -15352,7 +15490,8 @@ var handleDefaultProps = function handleDefaultProps(type) {
15352
15490
  remoteSource: {
15353
15491
  url: "/user/orgViewNode/common/getTreeForOrgViewAndTenant",
15354
15492
  initialParams: {
15355
- 'orgViewCode': 'stock-organizational-view'
15493
+ 'orgViewCode': 'stock-organizational-view',
15494
+ 'qp-status-eq': 10
15356
15495
  },
15357
15496
  resKeyValue: ['code', 'name']
15358
15497
  }
package/docs/index.md CHANGED
@@ -1,21 +1,21 @@
1
- ---
2
- hero:
3
- title: business-component
4
- desc: business-component site example
5
- actions:
6
- - text: Getting Started
7
- link: /components
8
- features:
9
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/881dc458-f20b-407b-947a-95104b5ec82b/k79dm8ih_w144_h144.png
10
- title: Feature 1
11
- desc: Balabala
12
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/d60657df-0822-4631-9d7c-e7a869c2f21c/k79dmz3q_w126_h126.png
13
- title: Feature 2
14
- desc: Balabala
15
- - icon: https://gw.alipayobjects.com/zos/bmw-prod/d1ee0c6f-5aed-4a45-a507-339a4bfe076c/k7bjsocq_w144_h144.png
16
- title: Feature 3
17
- desc: Balabala
18
- footer: Open-source MIT Licensed | Copyright © 2020<br />Powered by [dumi](https://d.umijs.org)
19
- ---
20
-
21
- ## Hello business-component!
1
+ ---
2
+ hero:
3
+ title: business-component
4
+ desc: business-component site example
5
+ actions:
6
+ - text: Getting Started
7
+ link: /components
8
+ features:
9
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/881dc458-f20b-407b-947a-95104b5ec82b/k79dm8ih_w144_h144.png
10
+ title: Feature 1
11
+ desc: Balabala
12
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/d60657df-0822-4631-9d7c-e7a869c2f21c/k79dmz3q_w126_h126.png
13
+ title: Feature 2
14
+ desc: Balabala
15
+ - icon: https://gw.alipayobjects.com/zos/bmw-prod/d1ee0c6f-5aed-4a45-a507-339a4bfe076c/k7bjsocq_w144_h144.png
16
+ title: Feature 3
17
+ desc: Balabala
18
+ footer: Open-source MIT Licensed | Copyright © 2020<br />Powered by [dumi](https://d.umijs.org)
19
+ ---
20
+
21
+ ## Hello business-component!
@@ -1,17 +1,17 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24" class="design-iconfont">
2
- <defs>
3
- <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="l1lf23lgga">
4
- <stop stop-color="#10295B" offset="0%"/>
5
- <stop stop-color="#0F2A61" offset="100%"/>
6
- </linearGradient>
7
- <path id="okxu11mz5b" d="M0 0H24V24H0z"/>
8
- </defs>
9
- <g fill="none" fill-rule="evenodd">
10
- <mask id="7u8dk2lilc" fill="#fff">
11
- <use xlink:href="#okxu11mz5b"/>
12
- </mask>
13
- <g mask="url(#7u8dk2lilc)" fill="#999" fill-rule="nonzero">
14
- <path d="M1.31655092,7 C2.03935948,7 2.6253116,7.58595212 2.6253116,8.30876068 C2.6253116,9.03156925 2.03935948,9.61752137 1.31655092,9.61752137 C0.593742351,9.61752137 0.00779023438,9.03156925 0.00779023438,8.30876068 C0.00779023438,7.58595212 0.593742351,7 1.31655092,7 Z M6.99034011,7 C7.71314867,7 8.29910079,7.58595212 8.29910079,8.30876068 C8.29910079,9.03156925 7.71314867,9.61752137 6.99034011,9.61752137 C6.26753154,9.61752137 5.68157942,9.03156925 5.68157942,8.30876068 C5.68157942,7.58595212 6.26753154,7 6.99034011,7 Z M12.6641293,7 C13.3869378,7 13.97289,7.58595212 13.97289,8.30876068 C13.97289,9.03156925 13.3869378,9.61752137 12.6641293,9.61752137 C11.9413207,9.61752137 11.3553686,9.03156925 11.3553686,8.30876068 C11.3553686,7.58595212 11.9413207,7 12.6641293,7 Z M1.31655092,-5.32907052e-15 C2.03935948,-5.32907052e-15 2.6253116,0.585952117 2.6253116,1.30876068 C2.6253116,2.03156925 2.03935948,2.61752137 1.31655092,2.61752137 C0.593742351,2.61752137 0.00779023438,2.03156925 0.00779023438,1.30876068 C0.00779023438,0.585952117 0.593742351,-5.32907052e-15 1.31655092,-5.32907052e-15 Z M6.99034011,-5.32907052e-15 C7.71314867,-5.32907052e-15 8.29910079,0.585952117 8.29910079,1.30876068 C8.29910079,2.03156925 7.71314867,2.61752137 6.99034011,2.61752137 C6.26753154,2.61752137 5.68157942,2.03156925 5.68157942,1.30876068 C5.68157942,0.585952117 6.26753154,-5.32907052e-15 6.99034011,-5.32907052e-15 Z M12.6641293,-5.32907052e-15 C13.3869378,-5.32907052e-15 13.97289,0.585952117 13.97289,1.30876068 C13.97289,2.03156925 13.3869378,2.61752137 12.6641293,2.61752137 C11.9413207,2.61752137 11.3553686,2.03156925 11.3553686,1.30876068 C11.3553686,0.585952117 11.9413207,-5.32907052e-15 12.6641293,-5.32907052e-15 Z" transform="translate(5 7)"/>
15
- </g>
16
- </g>
17
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24" class="design-iconfont">
2
+ <defs>
3
+ <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="l1lf23lgga">
4
+ <stop stop-color="#10295B" offset="0%"/>
5
+ <stop stop-color="#0F2A61" offset="100%"/>
6
+ </linearGradient>
7
+ <path id="okxu11mz5b" d="M0 0H24V24H0z"/>
8
+ </defs>
9
+ <g fill="none" fill-rule="evenodd">
10
+ <mask id="7u8dk2lilc" fill="#fff">
11
+ <use xlink:href="#okxu11mz5b"/>
12
+ </mask>
13
+ <g mask="url(#7u8dk2lilc)" fill="#999" fill-rule="nonzero">
14
+ <path d="M1.31655092,7 C2.03935948,7 2.6253116,7.58595212 2.6253116,8.30876068 C2.6253116,9.03156925 2.03935948,9.61752137 1.31655092,9.61752137 C0.593742351,9.61752137 0.00779023438,9.03156925 0.00779023438,8.30876068 C0.00779023438,7.58595212 0.593742351,7 1.31655092,7 Z M6.99034011,7 C7.71314867,7 8.29910079,7.58595212 8.29910079,8.30876068 C8.29910079,9.03156925 7.71314867,9.61752137 6.99034011,9.61752137 C6.26753154,9.61752137 5.68157942,9.03156925 5.68157942,8.30876068 C5.68157942,7.58595212 6.26753154,7 6.99034011,7 Z M12.6641293,7 C13.3869378,7 13.97289,7.58595212 13.97289,8.30876068 C13.97289,9.03156925 13.3869378,9.61752137 12.6641293,9.61752137 C11.9413207,9.61752137 11.3553686,9.03156925 11.3553686,8.30876068 C11.3553686,7.58595212 11.9413207,7 12.6641293,7 Z M1.31655092,-5.32907052e-15 C2.03935948,-5.32907052e-15 2.6253116,0.585952117 2.6253116,1.30876068 C2.6253116,2.03156925 2.03935948,2.61752137 1.31655092,2.61752137 C0.593742351,2.61752137 0.00779023438,2.03156925 0.00779023438,1.30876068 C0.00779023438,0.585952117 0.593742351,-5.32907052e-15 1.31655092,-5.32907052e-15 Z M6.99034011,-5.32907052e-15 C7.71314867,-5.32907052e-15 8.29910079,0.585952117 8.29910079,1.30876068 C8.29910079,2.03156925 7.71314867,2.61752137 6.99034011,2.61752137 C6.26753154,2.61752137 5.68157942,2.03156925 5.68157942,1.30876068 C5.68157942,0.585952117 6.26753154,-5.32907052e-15 6.99034011,-5.32907052e-15 Z M12.6641293,-5.32907052e-15 C13.3869378,-5.32907052e-15 13.97289,0.585952117 13.97289,1.30876068 C13.97289,2.03156925 13.3869378,2.61752137 12.6641293,2.61752137 C11.9413207,2.61752137 11.3553686,2.03156925 11.3553686,1.30876068 C11.3553686,0.585952117 11.9413207,-5.32907052e-15 12.6641293,-5.32907052e-15 Z" transform="translate(5 7)"/>
15
+ </g>
16
+ </g>
17
+ </svg>
@@ -1,38 +1,38 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="40px" height="42px" viewBox="0 0 40 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 18</title>
4
- <g id="导出功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="编组-13" transform="translate(-14.000000, -138.000000)">
6
- <g id="编组-21备份-21" transform="translate(0.000000, 126.000000)">
7
- <g id="编组-18" transform="translate(14.000000, 12.000000)">
8
- <rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="39" height="41"></rect>
9
- <g id="编组-10" transform="translate(6.000000, 4.000000)">
10
- <g id="编组-6">
11
- <path d="M4,28 L4,2 C4,0.8954305 4.8954305,-1.91384796e-17 6,0 L20.1028879,0 L20.1028879,0 L28,7.2545499 L28,28 C28,29.1045695 27.1045695,30 26,30 L6,30 C4.8954305,30 4,29.1045695 4,28 Z" id="路径-6" fill="#1B79FF"></path>
12
- <g id="编组-2" transform="translate(0.000000, 9.000000)">
13
- <path d="M11,0.5 C11.4142136,0.5 11.7892136,0.667893219 12.0606602,0.939339828 C12.3321068,1.21078644 12.5,1.58578644 12.5,2 L12.5,2 L12.5,11 C12.5,11.4142136 12.3321068,11.7892136 12.0606602,12.0606602 C11.7892136,12.3321068 11.4142136,12.5 11,12.5 L11,12.5 L2,12.5 C1.58578644,12.5 1.21078644,12.3321068 0.939339828,12.0606602 C0.667893219,11.7892136 0.5,11.4142136 0.5,11 L0.5,11 L0.5,2 C0.5,1.58578644 0.667893219,1.21078644 0.939339828,0.939339828 C1.21078644,0.667893219 1.58578644,0.5 2,0.5 L2,0.5 Z" id="矩形" stroke="#005CFF" fill="#FFFFFF"></path>
14
- <g id="X" transform="translate(3.986000, 4.100000)" fill="#005CFF" fill-rule="nonzero">
15
- <polygon id="路径" points="3.598 4.9 2.583 3.381 1.582 4.9 0 4.9 1.785 2.422 0.077 0 1.638 0 2.618 1.414 3.584 0 5.082 0 3.374 2.366 5.194 4.9"></polygon>
16
- </g>
17
- </g>
18
- <path d="M15,10 L18,10 C18.5522847,10 19,10.4477153 19,11 L19,12 C19,12.5522847 18.5522847,13 18,13 L15,13 C14.4477153,13 14,12.5522847 14,12 L14,11 C14,10.4477153 14.4477153,10 15,10 Z" id="矩形备份-7" fill="#005CFF"></path>
19
- <path d="M21,10 L24,10 C24.5522847,10 25,10.4477153 25,11 L25,12 C25,12.5522847 24.5522847,13 24,13 L21,13 C20.4477153,13 20,12.5522847 20,12 L20,11 C20,10.4477153 20.4477153,10 21,10 Z" id="矩形备份-18" fill="#005CFF"></path>
20
- <path d="M15,14 L18,14 C18.5522847,14 19,14.4477153 19,15 L19,16 C19,16.5522847 18.5522847,17 18,17 L15,17 C14.4477153,17 14,16.5522847 14,16 L14,15 C14,14.4477153 14.4477153,14 15,14 Z" id="矩形备份-20" fill="#005CFF"></path>
21
- <path d="M21,14 L24,14 C24.5522847,14 25,14.4477153 25,15 L25,16 C25,16.5522847 24.5522847,17 24,17 L21,17 C20.4477153,17 20,16.5522847 20,16 L20,15 C20,14.4477153 20.4477153,14 21,14 Z" id="矩形备份-19" fill="#005CFF"></path>
22
- <path d="M15,18 L18,18 C18.5522847,18 19,18.4477153 19,19 L19,20 C19,20.5522847 18.5522847,21 18,21 L15,21 C14.4477153,21 14,20.5522847 14,20 L14,19 C14,18.4477153 14.4477153,18 15,18 Z" id="矩形备份-22" fill="#005CFF"></path>
23
- <path d="M21,18 L24,18 C24.5522847,18 25,18.4477153 25,19 L25,20 C25,20.5522847 24.5522847,21 24,21 L21,21 C20.4477153,21 20,20.5522847 20,20 L20,19 C20,18.4477153 20.4477153,18 21,18 Z" id="矩形备份-21" fill="#005CFF"></path>
24
- <polygon id="路径-19" fill="#005CFF" points="20.1168478 0 20.1168478 7.2545499 28 7.2545499"></polygon>
25
- </g>
26
- <g id="编组-8" transform="translate(17.000000, 19.000000)" stroke="#FFFFFF">
27
- <circle id="椭圆形" fill="#FE0300" cx="8" cy="8" r="7.5"></circle>
28
- <g id="编组-9" transform="translate(5.000000, 5.000000)" stroke-linecap="round" stroke-width="1.13795117">
29
- <polyline id="路径-20" transform="translate(3.181981, 3.181981) rotate(-315.000000) translate(-3.181981, -3.181981) " points="3.18198052 7.18198052 3.18198052 1.99975567 3.18198052 -0.818019485"></polyline>
30
- <polyline id="路径-20备份" transform="translate(3.181981, 3.181981) scale(-1, 1) rotate(-315.000000) translate(-3.181981, -3.181981) " points="3.18198052 7.18198052 3.18198052 1.99975567 3.18198052 -0.818019485"></polyline>
31
- </g>
32
- </g>
33
- </g>
34
- </g>
35
- </g>
36
- </g>
37
- </g>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="40px" height="42px" viewBox="0 0 40 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>编组 18</title>
4
+ <g id="导出功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="编组-13" transform="translate(-14.000000, -138.000000)">
6
+ <g id="编组-21备份-21" transform="translate(0.000000, 126.000000)">
7
+ <g id="编组-18" transform="translate(14.000000, 12.000000)">
8
+ <rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="39" height="41"></rect>
9
+ <g id="编组-10" transform="translate(6.000000, 4.000000)">
10
+ <g id="编组-6">
11
+ <path d="M4,28 L4,2 C4,0.8954305 4.8954305,-1.91384796e-17 6,0 L20.1028879,0 L20.1028879,0 L28,7.2545499 L28,28 C28,29.1045695 27.1045695,30 26,30 L6,30 C4.8954305,30 4,29.1045695 4,28 Z" id="路径-6" fill="#1B79FF"></path>
12
+ <g id="编组-2" transform="translate(0.000000, 9.000000)">
13
+ <path d="M11,0.5 C11.4142136,0.5 11.7892136,0.667893219 12.0606602,0.939339828 C12.3321068,1.21078644 12.5,1.58578644 12.5,2 L12.5,2 L12.5,11 C12.5,11.4142136 12.3321068,11.7892136 12.0606602,12.0606602 C11.7892136,12.3321068 11.4142136,12.5 11,12.5 L11,12.5 L2,12.5 C1.58578644,12.5 1.21078644,12.3321068 0.939339828,12.0606602 C0.667893219,11.7892136 0.5,11.4142136 0.5,11 L0.5,11 L0.5,2 C0.5,1.58578644 0.667893219,1.21078644 0.939339828,0.939339828 C1.21078644,0.667893219 1.58578644,0.5 2,0.5 L2,0.5 Z" id="矩形" stroke="#005CFF" fill="#FFFFFF"></path>
14
+ <g id="X" transform="translate(3.986000, 4.100000)" fill="#005CFF" fill-rule="nonzero">
15
+ <polygon id="路径" points="3.598 4.9 2.583 3.381 1.582 4.9 0 4.9 1.785 2.422 0.077 0 1.638 0 2.618 1.414 3.584 0 5.082 0 3.374 2.366 5.194 4.9"></polygon>
16
+ </g>
17
+ </g>
18
+ <path d="M15,10 L18,10 C18.5522847,10 19,10.4477153 19,11 L19,12 C19,12.5522847 18.5522847,13 18,13 L15,13 C14.4477153,13 14,12.5522847 14,12 L14,11 C14,10.4477153 14.4477153,10 15,10 Z" id="矩形备份-7" fill="#005CFF"></path>
19
+ <path d="M21,10 L24,10 C24.5522847,10 25,10.4477153 25,11 L25,12 C25,12.5522847 24.5522847,13 24,13 L21,13 C20.4477153,13 20,12.5522847 20,12 L20,11 C20,10.4477153 20.4477153,10 21,10 Z" id="矩形备份-18" fill="#005CFF"></path>
20
+ <path d="M15,14 L18,14 C18.5522847,14 19,14.4477153 19,15 L19,16 C19,16.5522847 18.5522847,17 18,17 L15,17 C14.4477153,17 14,16.5522847 14,16 L14,15 C14,14.4477153 14.4477153,14 15,14 Z" id="矩形备份-20" fill="#005CFF"></path>
21
+ <path d="M21,14 L24,14 C24.5522847,14 25,14.4477153 25,15 L25,16 C25,16.5522847 24.5522847,17 24,17 L21,17 C20.4477153,17 20,16.5522847 20,16 L20,15 C20,14.4477153 20.4477153,14 21,14 Z" id="矩形备份-19" fill="#005CFF"></path>
22
+ <path d="M15,18 L18,18 C18.5522847,18 19,18.4477153 19,19 L19,20 C19,20.5522847 18.5522847,21 18,21 L15,21 C14.4477153,21 14,20.5522847 14,20 L14,19 C14,18.4477153 14.4477153,18 15,18 Z" id="矩形备份-22" fill="#005CFF"></path>
23
+ <path d="M21,18 L24,18 C24.5522847,18 25,18.4477153 25,19 L25,20 C25,20.5522847 24.5522847,21 24,21 L21,21 C20.4477153,21 20,20.5522847 20,20 L20,19 C20,18.4477153 20.4477153,18 21,18 Z" id="矩形备份-21" fill="#005CFF"></path>
24
+ <polygon id="路径-19" fill="#005CFF" points="20.1168478 0 20.1168478 7.2545499 28 7.2545499"></polygon>
25
+ </g>
26
+ <g id="编组-8" transform="translate(17.000000, 19.000000)" stroke="#FFFFFF">
27
+ <circle id="椭圆形" fill="#FE0300" cx="8" cy="8" r="7.5"></circle>
28
+ <g id="编组-9" transform="translate(5.000000, 5.000000)" stroke-linecap="round" stroke-width="1.13795117">
29
+ <polyline id="路径-20" transform="translate(3.181981, 3.181981) rotate(-315.000000) translate(-3.181981, -3.181981) " points="3.18198052 7.18198052 3.18198052 1.99975567 3.18198052 -0.818019485"></polyline>
30
+ <polyline id="路径-20备份" transform="translate(3.181981, 3.181981) scale(-1, 1) rotate(-315.000000) translate(-3.181981, -3.181981) " points="3.18198052 7.18198052 3.18198052 1.99975567 3.18198052 -0.818019485"></polyline>
31
+ </g>
32
+ </g>
33
+ </g>
34
+ </g>
35
+ </g>
36
+ </g>
37
+ </g>
38
38
  </svg>
@@ -1,29 +1,29 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="40px" height="42px" viewBox="0 0 40 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>编组 17</title>
4
- <g id="导出功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
- <g id="编组-13" transform="translate(-14.000000, -74.000000)">
6
- <g id="编组-21备份-20" transform="translate(0.000000, 64.000000)">
7
- <g id="编组-17" transform="translate(14.000000, 10.000000)">
8
- <rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="39" height="41"></rect>
9
- <g id="编组-6" transform="translate(6.000000, 6.000000)">
10
- <path d="M4,28 L4,2 C4,0.8954305 4.8954305,-1.91384796e-17 6,0 L20.1028879,0 L20.1028879,0 L28,7.2545499 L28,28 C28,29.1045695 27.1045695,30 26,30 L6,30 C4.8954305,30 4,29.1045695 4,28 Z" id="路径-6" fill="#1B79FF"></path>
11
- <g id="编组-2" transform="translate(0.000000, 9.000000)">
12
- <path d="M11,0.5 C11.4142136,0.5 11.7892136,0.667893219 12.0606602,0.939339828 C12.3321068,1.21078644 12.5,1.58578644 12.5,2 L12.5,2 L12.5,11 C12.5,11.4142136 12.3321068,11.7892136 12.0606602,12.0606602 C11.7892136,12.3321068 11.4142136,12.5 11,12.5 L11,12.5 L2,12.5 C1.58578644,12.5 1.21078644,12.3321068 0.939339828,12.0606602 C0.667893219,11.7892136 0.5,11.4142136 0.5,11 L0.5,11 L0.5,2 C0.5,1.58578644 0.667893219,1.21078644 0.939339828,0.939339828 C1.21078644,0.667893219 1.58578644,0.5 2,0.5 L2,0.5 Z" id="矩形" stroke="#005CFF" fill="#FFFFFF"></path>
13
- <g id="X" transform="translate(3.986000, 4.100000)" fill="#005CFF" fill-rule="nonzero">
14
- <polygon id="路径" points="3.598 4.9 2.583 3.381 1.582 4.9 0 4.9 1.785 2.422 0.077 0 1.638 0 2.618 1.414 3.584 0 5.082 0 3.374 2.366 5.194 4.9"></polygon>
15
- </g>
16
- </g>
17
- <path d="M15,10 L18,10 C18.5522847,10 19,10.4477153 19,11 L19,12 C19,12.5522847 18.5522847,13 18,13 L15,13 C14.4477153,13 14,12.5522847 14,12 L14,11 C14,10.4477153 14.4477153,10 15,10 Z" id="矩形备份-7" fill="#005CFF"></path>
18
- <path d="M21,10 L24,10 C24.5522847,10 25,10.4477153 25,11 L25,12 C25,12.5522847 24.5522847,13 24,13 L21,13 C20.4477153,13 20,12.5522847 20,12 L20,11 C20,10.4477153 20.4477153,10 21,10 Z" id="矩形备份-18" fill="#005CFF"></path>
19
- <path d="M15,14 L18,14 C18.5522847,14 19,14.4477153 19,15 L19,16 C19,16.5522847 18.5522847,17 18,17 L15,17 C14.4477153,17 14,16.5522847 14,16 L14,15 C14,14.4477153 14.4477153,14 15,14 Z" id="矩形备份-20" fill="#005CFF"></path>
20
- <path d="M21,14 L24,14 C24.5522847,14 25,14.4477153 25,15 L25,16 C25,16.5522847 24.5522847,17 24,17 L21,17 C20.4477153,17 20,16.5522847 20,16 L20,15 C20,14.4477153 20.4477153,14 21,14 Z" id="矩形备份-19" fill="#005CFF"></path>
21
- <path d="M15,18 L18,18 C18.5522847,18 19,18.4477153 19,19 L19,20 C19,20.5522847 18.5522847,21 18,21 L15,21 C14.4477153,21 14,20.5522847 14,20 L14,19 C14,18.4477153 14.4477153,18 15,18 Z" id="矩形备份-22" fill="#005CFF"></path>
22
- <path d="M21,18 L24,18 C24.5522847,18 25,18.4477153 25,19 L25,20 C25,20.5522847 24.5522847,21 24,21 L21,21 C20.4477153,21 20,20.5522847 20,20 L20,19 C20,18.4477153 20.4477153,18 21,18 Z" id="矩形备份-21" fill="#005CFF"></path>
23
- <polygon id="路径-19" fill="#005CFF" points="20.1168478 0 20.1168478 7.2545499 28 7.2545499"></polygon>
24
- </g>
25
- </g>
26
- </g>
27
- </g>
28
- </g>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="40px" height="42px" viewBox="0 0 40 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>编组 17</title>
4
+ <g id="导出功能" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="编组-13" transform="translate(-14.000000, -74.000000)">
6
+ <g id="编组-21备份-20" transform="translate(0.000000, 64.000000)">
7
+ <g id="编组-17" transform="translate(14.000000, 10.000000)">
8
+ <rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="39" height="41"></rect>
9
+ <g id="编组-6" transform="translate(6.000000, 6.000000)">
10
+ <path d="M4,28 L4,2 C4,0.8954305 4.8954305,-1.91384796e-17 6,0 L20.1028879,0 L20.1028879,0 L28,7.2545499 L28,28 C28,29.1045695 27.1045695,30 26,30 L6,30 C4.8954305,30 4,29.1045695 4,28 Z" id="路径-6" fill="#1B79FF"></path>
11
+ <g id="编组-2" transform="translate(0.000000, 9.000000)">
12
+ <path d="M11,0.5 C11.4142136,0.5 11.7892136,0.667893219 12.0606602,0.939339828 C12.3321068,1.21078644 12.5,1.58578644 12.5,2 L12.5,2 L12.5,11 C12.5,11.4142136 12.3321068,11.7892136 12.0606602,12.0606602 C11.7892136,12.3321068 11.4142136,12.5 11,12.5 L11,12.5 L2,12.5 C1.58578644,12.5 1.21078644,12.3321068 0.939339828,12.0606602 C0.667893219,11.7892136 0.5,11.4142136 0.5,11 L0.5,11 L0.5,2 C0.5,1.58578644 0.667893219,1.21078644 0.939339828,0.939339828 C1.21078644,0.667893219 1.58578644,0.5 2,0.5 L2,0.5 Z" id="矩形" stroke="#005CFF" fill="#FFFFFF"></path>
13
+ <g id="X" transform="translate(3.986000, 4.100000)" fill="#005CFF" fill-rule="nonzero">
14
+ <polygon id="路径" points="3.598 4.9 2.583 3.381 1.582 4.9 0 4.9 1.785 2.422 0.077 0 1.638 0 2.618 1.414 3.584 0 5.082 0 3.374 2.366 5.194 4.9"></polygon>
15
+ </g>
16
+ </g>
17
+ <path d="M15,10 L18,10 C18.5522847,10 19,10.4477153 19,11 L19,12 C19,12.5522847 18.5522847,13 18,13 L15,13 C14.4477153,13 14,12.5522847 14,12 L14,11 C14,10.4477153 14.4477153,10 15,10 Z" id="矩形备份-7" fill="#005CFF"></path>
18
+ <path d="M21,10 L24,10 C24.5522847,10 25,10.4477153 25,11 L25,12 C25,12.5522847 24.5522847,13 24,13 L21,13 C20.4477153,13 20,12.5522847 20,12 L20,11 C20,10.4477153 20.4477153,10 21,10 Z" id="矩形备份-18" fill="#005CFF"></path>
19
+ <path d="M15,14 L18,14 C18.5522847,14 19,14.4477153 19,15 L19,16 C19,16.5522847 18.5522847,17 18,17 L15,17 C14.4477153,17 14,16.5522847 14,16 L14,15 C14,14.4477153 14.4477153,14 15,14 Z" id="矩形备份-20" fill="#005CFF"></path>
20
+ <path d="M21,14 L24,14 C24.5522847,14 25,14.4477153 25,15 L25,16 C25,16.5522847 24.5522847,17 24,17 L21,17 C20.4477153,17 20,16.5522847 20,16 L20,15 C20,14.4477153 20.4477153,14 21,14 Z" id="矩形备份-19" fill="#005CFF"></path>
21
+ <path d="M15,18 L18,18 C18.5522847,18 19,18.4477153 19,19 L19,20 C19,20.5522847 18.5522847,21 18,21 L15,21 C14.4477153,21 14,20.5522847 14,20 L14,19 C14,18.4477153 14.4477153,18 15,18 Z" id="矩形备份-22" fill="#005CFF"></path>
22
+ <path d="M21,18 L24,18 C24.5522847,18 25,18.4477153 25,19 L25,20 C25,20.5522847 24.5522847,21 24,21 L21,21 C20.4477153,21 20,20.5522847 20,20 L20,19 C20,18.4477153 20.4477153,18 21,18 Z" id="矩形备份-21" fill="#005CFF"></path>
23
+ <polygon id="路径-19" fill="#005CFF" points="20.1168478 0 20.1168478 7.2545499 28 7.2545499"></polygon>
24
+ </g>
25
+ </g>
26
+ </g>
27
+ </g>
28
+ </g>
29
29
  </svg>