@bit-sun/business-component 4.2.0-alpha.jw-1 → 4.2.1-alpha.10-aiwei

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 (73) hide show
  1. package/.umirc.ts +9 -9
  2. package/dist/components/Business/AddSelectBusiness/index.d.ts +3 -4
  3. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -2
  4. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +1 -2
  5. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  6. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
  7. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +1 -2
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +1 -2
  10. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  11. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +1 -2
  12. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +1 -2
  13. package/dist/components/Business/BsLayouts/index.d.ts +1 -1
  14. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
  15. package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -2
  16. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
  17. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -15
  18. package/dist/components/Business/CommodityEntry/index.d.ts +1 -2
  19. package/dist/components/Business/CommonAlert/index.d.ts +1 -2
  20. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  21. package/dist/components/Business/DetailPageWrapper/index.d.ts +11 -12
  22. package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
  23. package/dist/components/Business/ItemPropertySelector/index.d.ts +1 -2
  24. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +1 -2
  25. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +1 -2
  26. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +1 -2
  27. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +1 -2
  28. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +1 -2
  29. package/dist/components/Business/PropertyModal/index.d.ts +1 -2
  30. package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
  31. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  32. package/dist/components/Business/StateFlow/index.d.ts +1 -2
  33. package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
  34. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
  35. package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +1 -2
  36. package/dist/components/Business/columnSettingTable/index.d.ts +3 -3
  37. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +3 -3
  38. package/dist/components/Business/columnSettingTable/utils.d.ts +1 -2
  39. package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
  40. package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
  41. package/dist/components/Common/Section/index.d.ts +1 -1
  42. package/dist/components/Functional/AddSelect/index.d.ts +1 -2
  43. package/dist/components/Functional/AuthButton/index.d.ts +1 -2
  44. package/dist/components/Functional/DataImport/index.d.ts +3 -3
  45. package/dist/components/Functional/DataValidation/index.d.ts +4 -4
  46. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -2
  47. package/dist/components/Functional/QueryMutipleInput/index.d.ts +1 -2
  48. package/dist/components/Functional/QueryMutipleSelect/index.d.ts +1 -2
  49. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  50. package/dist/components/Functional/SearchSelect/utils.d.ts +2 -3
  51. package/dist/components/Functional/TreeSearchSelect/index.d.ts +1 -2
  52. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
  53. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +1 -2
  54. package/dist/components/Solution/RuleComponent/Formula.d.ts +1 -2
  55. package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +1 -2
  56. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +1 -2
  57. package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +1 -2
  58. package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
  59. package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
  60. package/dist/index.esm.js +517 -69
  61. package/dist/index.js +516 -68
  62. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  63. package/dist/utils/TableUtils.d.ts +18 -19
  64. package/package.json +1 -1
  65. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +2 -2
  66. package/src/components/Business/BsLayouts/index.tsx +2 -2
  67. package/src/components/Business/BsSulaQueryTable/index.tsx +11 -10
  68. package/src/components/Business/BsSulaQueryTable/setting.tsx +6 -0
  69. package/src/components/Business/SearchSelect/BusinessUtils.tsx +314 -25
  70. package/src/components/Business/SearchSelect/index.md +32 -12
  71. package/src/components/Functional/SearchSelect/index.tsx +33 -1
  72. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +9 -1
  73. package/src/components/Solution/RuleComponent/ruleFiled.js +25 -1
package/dist/index.js CHANGED
@@ -5346,7 +5346,9 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5346
5346
  viewShowValueStr = _ref.viewShowValueStr,
5347
5347
  searchStartLength = _ref.searchStartLength,
5348
5348
  _ref$isQuery = _ref.isQuery,
5349
- isQuery = _ref$isQuery === void 0 ? false : _ref$isQuery;
5349
+ isQuery = _ref$isQuery === void 0 ? false : _ref$isQuery,
5350
+ _ref$requireSearchCon = _ref.requireSearchCondition,
5351
+ requireSearchCondition = _ref$requireSearchCon === void 0 ? false : _ref$requireSearchCon;
5350
5352
  var requestConfig = _objectSpread2({
5351
5353
  url: url,
5352
5354
  method: method,
@@ -5909,6 +5911,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5909
5911
  };
5910
5912
  var onSearchTable = function onSearchTable() {
5911
5913
  var params = form.getFieldsValue();
5914
+ // 必须选择一个值
5915
+ if (requireSearchCondition) {
5916
+ var hasValidValue = Object.values(params).some(function (value) {
5917
+ return Array.isArray(value) && value.length > 0 || typeof value === 'string' && value.trim().length > 0;
5918
+ });
5919
+ if (!hasValidValue) {
5920
+ antd.message.warning('请至少选择一个搜索条件');
5921
+ return;
5922
+ }
5923
+ }
5912
5924
  setModalSearched(true);
5913
5925
  setTableFormParams(params);
5914
5926
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
@@ -5994,6 +6006,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5994
6006
  };
5995
6007
  var formItem = function formItem(list) {
5996
6008
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
6009
+ debugger;
5997
6010
  var setDisabled = function setDisabled(name) {
5998
6011
  if (fixedparamsDisabled && (fixedparameter === null || fixedparameter === void 0 ? void 0 : fixedparameter.length) && fixedparameter.find(function (item) {
5999
6012
  return item === name;
@@ -6202,7 +6215,26 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6202
6215
  });
6203
6216
  };
6204
6217
  var renderShowTable = function renderShowTable(tableList, type) {
6205
- var tableBoxHeighth = getTableHeigth(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm);
6218
+ var _modalTableProps$tabl;
6219
+ var viCount = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.visibleFieldsCount) || defaultVisibleFieldsCount;
6220
+ var canExpand = hasMoreQueryFields(modalTableProps);
6221
+ var collapsedList = modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$tabl = modalTableProps.tableSearchForm) === null || _modalTableProps$tabl === void 0 ? void 0 : _modalTableProps$tabl.slice(0, viCount);
6222
+ var baseHeight = getTableHeigth(collapsedList);
6223
+ var rowsCollapsed = getFormRowInfo(collapsedList, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan).totalRows;
6224
+ var rowsExpandedData = getFormRowInfo(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan);
6225
+ var rowsExpanded = rowsExpandedData.totalRows;
6226
+ var isMoreAction = false;
6227
+ if (24 / (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan) - rowsExpandedData.emptyArray.length === 1) {
6228
+ rowsExpanded++;
6229
+ isMoreAction = true;
6230
+ }
6231
+ var extraRows = !collapsed && canExpand ? Math.max(0, rowsExpanded - rowsCollapsed) : 0;
6232
+ var tableBoxHeighth = baseHeight;
6233
+ if (isMoreAction && extraRows > 0) {
6234
+ tableBoxHeighth = tableBoxHeighth + (extraRows - 1 ? extraRows - 1 : 0) * 34 + 32;
6235
+ } else {
6236
+ tableBoxHeighth = tableBoxHeighth + extraRows * 34;
6237
+ }
6206
6238
  var x = (tableList === null || tableList === void 0 ? void 0 : tableList.length) ? 82 : 28; // 无数据没有分页,有数据计算减去:分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
6207
6239
  var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - ").concat(x, "px)");
6208
6240
  var mTB = "calc(50vh - ".concat(tableBoxHeighth / 2, "px - ").concat(x / 2, "px - 40px)");
@@ -10028,6 +10060,7 @@ function commonFun(type, prefixUrl, parentProps) {
10028
10060
  var modalTableProps = _objectSpread2({
10029
10061
  modalTableTitle: '',
10030
10062
  tableSearchForm: tableSearchForm,
10063
+ visibleFieldsCount: 13,
10031
10064
  tableColumns: []
10032
10065
  }, modalTableBusProps);
10033
10066
  var needModalTable = (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable) !== undefined ? modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable : true;
@@ -10393,15 +10426,172 @@ function commonFun(type, prefixUrl, parentProps) {
10393
10426
  }
10394
10427
  }
10395
10428
  }, {
10396
- name: 'UNIQUE_SPEC',
10397
- label: '属性',
10429
+ name: 'qp-skcCode-in',
10430
+ label: 'SKC编码',
10431
+ field: {
10432
+ type: 'multipleQuerySearchSelect',
10433
+ props: {
10434
+ selectProps: {
10435
+ mode: "multiple",
10436
+ placeholder: '请输入SKC编码查询'
10437
+ },
10438
+ requestConfig: {
10439
+ url: '/items/sku//listNoPage/Simple',
10440
+ filter: 'qp-skcCode,name-orGroup,like',
10441
+ mappingTextField: 'name',
10442
+ mappingValueField: 'skcCode',
10443
+ sourceName: 'qp-skcCode-in',
10444
+ specialBracket: true,
10445
+ otherParams: {
10446
+ 'ownOrgSign': getCurrentTargetBgId(),
10447
+ 'ctl-count': true
10448
+ } // 默认参数
10449
+ }
10450
+ }
10451
+ }
10452
+ }, {
10453
+ name: 'qp-year-in',
10454
+ type: 'select',
10455
+ label: '年份',
10398
10456
  field: {
10399
- type: 'proppertySelector'
10457
+ type: 'select',
10458
+ props: {
10459
+ mode: 'multiple',
10460
+ notFoundContent: '暂无数据',
10461
+ allowClear: true,
10462
+ showSearch: true,
10463
+ showArrow: true,
10464
+ maxTagCount: 1,
10465
+ optionFilterProp: 'children',
10466
+ filterOption: function filterOption(input, option) {
10467
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10468
+ }
10469
+ }
10400
10470
  }
10401
- }];
10471
+ }, {
10472
+ name: 'qp-season-in',
10473
+ type: 'select',
10474
+ label: '季节',
10475
+ field: {
10476
+ type: 'select',
10477
+ props: {
10478
+ mode: 'multiple',
10479
+ notFoundContent: '暂无数据',
10480
+ allowClear: true,
10481
+ showSearch: true,
10482
+ showArrow: true,
10483
+ maxTagCount: 1,
10484
+ optionFilterProp: 'children',
10485
+ filterOption: function filterOption(input, option) {
10486
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10487
+ }
10488
+ }
10489
+ }
10490
+ }, {
10491
+ name: 'qp-zzbdbm-in',
10492
+ type: 'select',
10493
+ label: '波段',
10494
+ field: {
10495
+ type: 'select',
10496
+ props: {
10497
+ mode: 'multiple',
10498
+ notFoundContent: '暂无数据',
10499
+ allowClear: true,
10500
+ showSearch: true,
10501
+ showArrow: true,
10502
+ maxTagCount: 1,
10503
+ optionFilterProp: 'children',
10504
+ filterOption: function filterOption(input, option) {
10505
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10506
+ }
10507
+ }
10508
+ }
10509
+ }, {
10510
+ name: 'qp-zzdlbm-in',
10511
+ type: 'select',
10512
+ label: '品类',
10513
+ field: {
10514
+ type: 'select',
10515
+ props: {
10516
+ mode: 'multiple',
10517
+ notFoundContent: '暂无数据',
10518
+ allowClear: true,
10519
+ showSearch: true,
10520
+ showArrow: true,
10521
+ maxTagCount: 1,
10522
+ optionFilterProp: 'children',
10523
+ filterOption: function filterOption(input, option) {
10524
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10525
+ }
10526
+ }
10527
+ }
10528
+ }, {
10529
+ name: 'qp-zzzlbm-in',
10530
+ type: 'select',
10531
+ label: '大类',
10532
+ field: {
10533
+ type: 'select',
10534
+ props: {
10535
+ mode: 'multiple',
10536
+ notFoundContent: '暂无数据',
10537
+ allowClear: true,
10538
+ showSearch: true,
10539
+ showArrow: true,
10540
+ maxTagCount: 1,
10541
+ optionFilterProp: 'children',
10542
+ filterOption: function filterOption(input, option) {
10543
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10544
+ }
10545
+ }
10546
+ }
10547
+ }, {
10548
+ name: 'qp-zzxlbm-in',
10549
+ type: 'select',
10550
+ label: '中类',
10551
+ field: {
10552
+ type: 'select',
10553
+ props: {
10554
+ mode: 'multiple',
10555
+ notFoundContent: '暂无数据',
10556
+ allowClear: true,
10557
+ showSearch: true,
10558
+ showArrow: true,
10559
+ maxTagCount: 1,
10560
+ optionFilterProp: 'children',
10561
+ filterOption: function filterOption(input, option) {
10562
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10563
+ }
10564
+ }
10565
+ }
10566
+ }
10567
+ // { name: 'UNIQUE_SPEC', label: '属性', field: {
10568
+ // type: 'proppertySelector',
10569
+ // } },
10570
+ ];
10402
10571
  var defaultQSHL = [{
10403
10572
  isOpen: true,
10404
10573
  queryKey: 'qp-brandId-in'
10574
+ }, {
10575
+ isOpen: true,
10576
+ queryKey: 'qp-categoryId-in'
10577
+ }, {
10578
+ isOpen: true,
10579
+ queryKey: 'qp-year-in'
10580
+ }, {
10581
+ isOpen: true,
10582
+ queryKey: 'qp-season-in'
10583
+ }, {
10584
+ isOpen: true,
10585
+ queryKey: 'qp-zzbdbm-in'
10586
+ }, {
10587
+ isOpen: true,
10588
+ queryKey: 'qp-zzdlbm-in'
10589
+ }, {
10590
+ isOpen: true,
10591
+ queryKey: 'qp-zzzlbm-in'
10592
+ }, {
10593
+ isOpen: true,
10594
+ queryKey: 'qp-zzxlbm-in'
10405
10595
  }];
10406
10596
  var _queryHeaderParams2 = getQueryHeadersList({
10407
10597
  defaultQSHL: defaultQSHL,
@@ -10415,14 +10605,38 @@ function commonFun(type, prefixUrl, parentProps) {
10415
10605
  }, getQueryHeadersItem(_queryHeaderParams2, 'qp-brandId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
10416
10606
  pageSize: 5000,
10417
10607
  currentPage: 1
10418
- }, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in'))]).then(function (x) {
10608
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10609
+ 'qp-propertyCode-eq': 'PROP_YEAR',
10610
+ pageSize: 999
10611
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-year-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10612
+ 'qp-propertyCode-eq': 'PROP_SEASON',
10613
+ pageSize: 999
10614
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-season-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/band"), {
10615
+ pageSize: 999,
10616
+ currentPage: 1
10617
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzbdbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/rule/getClassPropertyValue/110000217"), {}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzdlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10618
+ 'qp-propertyCode-eq': 'MID_CATA',
10619
+ pageSize: 999
10620
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzzlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10621
+ 'qp-propertyCode-eq': 'PROP_SUBCATEORY',
10622
+ pageSize: 999
10623
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in'))]).then(function (x) {
10419
10624
  formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
10420
10625
  formatTreeDataSource(x, 1, 4, tableSearchForm);
10626
+ formatSource(x, 0, getFieldIndex(tableSearchForm, 'qp-brandId-in'), tableSearchForm, ['id', 'name']);
10627
+ formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'qp-categoryId-in'), tableSearchForm);
10628
+ formatSource(x, 2, getFieldIndex(tableSearchForm, 'qp-year-in'), tableSearchForm, ['value', 'value']);
10629
+ formatSource(x, 3, getFieldIndex(tableSearchForm, 'qp-season-in'), tableSearchForm, ['value', 'value']);
10630
+ formatSource(x, 4, getFieldIndex(tableSearchForm, 'qp-zzbdbm-in'), tableSearchForm, ['bandCode', 'bandName']);
10631
+ formatSource(x, 5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm, ['value', 'value']);
10632
+ formatSource(x, 6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm, ['value', 'value']);
10633
+ formatSource(x, 7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm, ['value', 'value']);
10421
10634
  });
10422
10635
  modalTableProps = _objectSpread2({
10423
10636
  modalTableTitle: '选择SKU',
10424
10637
  tableSearchForm: tableSearchForm,
10425
10638
  isHorizontally: true,
10639
+ tableSearchColSpan: 6,
10426
10640
  tableColumns: [{
10427
10641
  title: '序号',
10428
10642
  dataIndex: 'keyIndex',
@@ -11182,14 +11396,25 @@ function commonFun(type, prefixUrl, parentProps) {
11182
11396
  }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
11183
11397
  'qp-status-eq': 1
11184
11398
  }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in'))]).then(function (x) {
11399
+ var _x$, _x$$data$, _x$$data$$channelInfo;
11400
+ debugger;
11401
+ // 战区限制一级数据
11402
+ var newData1 = [];
11403
+ (_x$ = x[0]) === null || _x$ === void 0 ? void 0 : (_x$$data$ = _x$.data[0]) === null || _x$$data$ === void 0 ? void 0 : (_x$$data$$channelInfo = _x$$data$.channelInfoSon) === null || _x$$data$$channelInfo === void 0 ? void 0 : _x$$data$$channelInfo.forEach(function (item) {
11404
+ newData1.push({
11405
+ code: item.code,
11406
+ name: item.name
11407
+ });
11408
+ });
11409
+ x[0].data = newData1;
11185
11410
  var channelDisabledJude = function channelDisabledJude(data) {
11186
11411
  return data['parentCode'] === '0';
11187
11412
  }; // 所属销售渠道 树节点不能点判断
11188
11413
  var areaDisabledJude = function areaDisabledJude(data) {
11189
11414
  return data['parent'] === '0';
11190
11415
  }; // 所属营销区域 树节点不能点判断
11191
- formatTreeDataSource(x, 0, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11192
- formatTreeDataSource(x, 1, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
11416
+ formatTreeDataSource(x, 0, 3, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11417
+ formatTreeDataSource(x, 1, 4, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
11193
11418
  });
11194
11419
  tableSearchForm = [{
11195
11420
  name: 'realWarehouseName*multiInput',
@@ -11204,20 +11429,12 @@ function commonFun(type, prefixUrl, parentProps) {
11204
11429
  type: 'select',
11205
11430
  label: '逻辑仓类型',
11206
11431
  initialSource: getDictionarySource$1('SC00004')
11207
- }, {
11208
- name: 'belongArea',
11209
- field: {
11210
- type: 'select',
11211
- props: {
11212
- mode: 'multiple'
11213
- }
11214
- },
11215
- label: '管理大区',
11216
- initialSource: getDictionarySource$1('BUSINESS_belongArea')
11217
- }, {
11432
+ },
11433
+ // { name: 'belongArea', field: {type: 'select', props: {mode: 'multiple',}}, label: '管理大区', initialSource: getDictionarySource('BUSINESS_belongArea'), },
11434
+ {
11218
11435
  name: 'qp-channelCode-in',
11219
11436
  type: 'treeSelect',
11220
- label: '销售渠道',
11437
+ label: '战区',
11221
11438
  field: {
11222
11439
  type: 'treeSelect',
11223
11440
  props: {
@@ -11239,7 +11456,7 @@ function commonFun(type, prefixUrl, parentProps) {
11239
11456
  }, {
11240
11457
  name: 'qp-refCode-in',
11241
11458
  type: 'treeSelect',
11242
- label: '营销区域',
11459
+ label: '大区',
11243
11460
  field: {
11244
11461
  type: 'treeSelect',
11245
11462
  props: {
@@ -11315,7 +11532,7 @@ function commonFun(type, prefixUrl, parentProps) {
11315
11532
  },
11316
11533
  width: 100
11317
11534
  }, {
11318
- title: '所属销售渠道',
11535
+ title: '战区',
11319
11536
  dataIndex: 'channelName',
11320
11537
  defaultSort: 4,
11321
11538
  width: 100
@@ -11396,11 +11613,11 @@ function commonFun(type, prefixUrl, parentProps) {
11396
11613
  }
11397
11614
  }
11398
11615
  }, {
11399
- name: 'qp-channelCode-in',
11400
- type: 'treeSelect',
11401
- label: '销售渠道',
11616
+ name: 'qp-operationWarehouseClassification-in',
11617
+ type: 'select',
11618
+ label: '分类',
11402
11619
  field: {
11403
- type: 'treeSelect',
11620
+ type: 'select',
11404
11621
  props: {
11405
11622
  multiple: true,
11406
11623
  treeData: [],
@@ -11416,7 +11633,8 @@ function commonFun(type, prefixUrl, parentProps) {
11416
11633
  },
11417
11634
  showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11418
11635
  }
11419
- }
11636
+ },
11637
+ initialSource: getDictionarySource$1('BASIC_OPS_WH_TYPE')
11420
11638
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11421
11639
  name: 'qp-status-eq',
11422
11640
  type: 'select',
@@ -11434,11 +11652,16 @@ function commonFun(type, prefixUrl, parentProps) {
11434
11652
  'qp-isMain-eq': 1,
11435
11653
  'qp-type-in': '1,2'
11436
11654
  }, getQueryHeadersItem(_queryHeaderParams8, 'qp-orgCode-in'))]).then(function (x) {
11655
+ var _x$2, _x$2$data$, _x$2$data$$channelInf;
11437
11656
  formatSource(x, 0, 2, tableSearchForm, ['groupCode', 'groupName']);
11438
- var channelDisabledJude = function channelDisabledJude(data) {
11439
- return data['parentCode'] === '0';
11440
- }; // 所属销售渠道 树节点不能点判断
11441
- formatTreeDataSource(x, 1, 3, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11657
+ var newData1 = [];
11658
+ (_x$2 = x[1]) === null || _x$2 === void 0 ? void 0 : (_x$2$data$ = _x$2.data[0]) === null || _x$2$data$ === void 0 ? void 0 : (_x$2$data$$channelInf = _x$2$data$.channelInfoSon) === null || _x$2$data$$channelInf === void 0 ? void 0 : _x$2$data$$channelInf.forEach(function (item) {
11659
+ newData1.push({
11660
+ code: item.code,
11661
+ name: item.name
11662
+ });
11663
+ });
11664
+ x[1].data = newData1;
11442
11665
  });
11443
11666
  modalTableProps = _objectSpread2({
11444
11667
  modalTableTitle: '选择运营仓',
@@ -11710,18 +11933,18 @@ function commonFun(type, prefixUrl, parentProps) {
11710
11933
  name: 'qp-code-like',
11711
11934
  label: '客户编码'
11712
11935
  }, {
11713
- name: 'qp-createOrgCode-eq',
11936
+ name: 'qp-createOrgCode-in',
11714
11937
  type: 'select',
11715
11938
  label: '创建组织',
11716
11939
  field: {
11717
11940
  type: 'select',
11718
11941
  props: {
11719
- // mode: 'multiple',
11942
+ mode: 'multiple',
11720
11943
  notFoundContent: '暂无数据',
11721
11944
  allowClear: true,
11722
11945
  showSearch: true,
11723
11946
  showArrow: true,
11724
- // maxTagCount: 1,
11947
+ maxTagCount: 1,
11725
11948
  optionFilterProp: 'children',
11726
11949
  filterOption: function filterOption(input, option) {
11727
11950
  return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
@@ -12118,7 +12341,7 @@ function commonFun(type, prefixUrl, parentProps) {
12118
12341
  }, {
12119
12342
  name: 'qp-channelCode-in',
12120
12343
  type: 'treeSelect',
12121
- label: '所属销售渠道',
12344
+ label: '战区',
12122
12345
  field: {
12123
12346
  type: 'treeSelect',
12124
12347
  props: {
@@ -12140,7 +12363,7 @@ function commonFun(type, prefixUrl, parentProps) {
12140
12363
  }, {
12141
12364
  name: 'qp-commonRelationAreaCode-in',
12142
12365
  type: 'treeSelect',
12143
- label: '营销区域',
12366
+ label: '大区',
12144
12367
  field: {
12145
12368
  type: 'treeSelect',
12146
12369
  props: {
@@ -12197,6 +12420,102 @@ function commonFun(type, prefixUrl, parentProps) {
12197
12420
  }
12198
12421
  }
12199
12422
  }
12423
+ }, {
12424
+ name: 'qp-manageSupervisor-like',
12425
+ type: 'select',
12426
+ label: '管理督导',
12427
+ field: {
12428
+ type: 'select',
12429
+ props: {
12430
+ notFoundContent: '暂无数据',
12431
+ allowClear: true,
12432
+ showSearch: true,
12433
+ showArrow: true,
12434
+ maxTagCount: 1,
12435
+ optionFilterProp: 'children',
12436
+ filterOption: function filterOption(input, option) {
12437
+ var _option$value;
12438
+ debugger;
12439
+ return ((_option$value = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value !== void 0 ? _option$value : '').toLowerCase().includes(input.toLowerCase());
12440
+ }
12441
+ }
12442
+ }
12443
+ }, {
12444
+ name: 'qp-directSupervisor-like',
12445
+ type: 'select',
12446
+ label: '直接督导',
12447
+ field: {
12448
+ type: 'select',
12449
+ props: {
12450
+ notFoundContent: '暂无数据',
12451
+ allowClear: true,
12452
+ showSearch: true,
12453
+ showArrow: true,
12454
+ maxTagCount: 1,
12455
+ optionFilterProp: 'children',
12456
+ filterOption: function filterOption(input, option) {
12457
+ var _option$value2;
12458
+ return ((_option$value2 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value2 !== void 0 ? _option$value2 : '').toLowerCase().includes(input.toLowerCase());
12459
+ }
12460
+ }
12461
+ }
12462
+ }, {
12463
+ name: 'qp-distributionItem-like',
12464
+ type: 'select',
12465
+ label: '分销商品',
12466
+ field: {
12467
+ type: 'select',
12468
+ props: {
12469
+ notFoundContent: '暂无数据',
12470
+ allowClear: true,
12471
+ showSearch: true,
12472
+ showArrow: true,
12473
+ maxTagCount: 1,
12474
+ optionFilterProp: 'children',
12475
+ filterOption: function filterOption(input, option) {
12476
+ var _option$value3;
12477
+ return ((_option$value3 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value3 !== void 0 ? _option$value3 : '').toLowerCase().includes(input.toLowerCase());
12478
+ }
12479
+ }
12480
+ }
12481
+ }, {
12482
+ name: 'qp-headItem-like',
12483
+ type: 'select',
12484
+ label: '总部商品',
12485
+ field: {
12486
+ type: 'select',
12487
+ props: {
12488
+ notFoundContent: '暂无数据',
12489
+ allowClear: true,
12490
+ showSearch: true,
12491
+ showArrow: true,
12492
+ maxTagCount: 1,
12493
+ optionFilterProp: 'children',
12494
+ filterOption: function filterOption(input, option) {
12495
+ var _option$value4;
12496
+ return ((_option$value4 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value4 !== void 0 ? _option$value4 : '').toLowerCase().includes(input.toLowerCase());
12497
+ }
12498
+ }
12499
+ }
12500
+ }, {
12501
+ name: 'qp-storeChannelName-like',
12502
+ type: 'select',
12503
+ label: '管理模式',
12504
+ field: {
12505
+ type: 'select',
12506
+ props: {
12507
+ notFoundContent: '暂无数据',
12508
+ allowClear: true,
12509
+ showSearch: true,
12510
+ showArrow: true,
12511
+ maxTagCount: 1,
12512
+ optionFilterProp: 'children',
12513
+ filterOption: function filterOption(input, option) {
12514
+ var _option$value5;
12515
+ return ((_option$value5 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value5 !== void 0 ? _option$value5 : '').toLowerCase().includes(input.toLowerCase());
12516
+ }
12517
+ }
12518
+ }
12200
12519
  }];
12201
12520
  var _queryHeaderParams10 = getQueryHeadersList({
12202
12521
  querySelectHeadersList: querySelectHeadersList,
@@ -12216,7 +12535,18 @@ function commonFun(type, prefixUrl, parentProps) {
12216
12535
  pageSize: 5000,
12217
12536
  currentPage: 1,
12218
12537
  'ctl-withAuth': true
12219
- }, getQueryHeadersItem(_queryHeaderParams10, 'ctl-withAuth'))]).then(function (x) {
12538
+ }, getQueryHeadersItem(_queryHeaderParams10, 'ctl-withAuth')), loadSelectSource$1("/channel-manage/store/selectStoreOperationalInfo", {}, {
12539
+ headers: _objectSpread2({}, extralHeaders)
12540
+ })]).then(function (x) {
12541
+ var _x$3, _x$3$data$, _x$3$data$$channelInf, _x$4, _opList, _opList$, _opList2, _opList3, _opList4, _opList5, _opList6;
12542
+ var newData1 = [];
12543
+ (_x$3 = x[1]) === null || _x$3 === void 0 ? void 0 : (_x$3$data$ = _x$3.data[0]) === null || _x$3$data$ === void 0 ? void 0 : (_x$3$data$$channelInf = _x$3$data$.channelInfoSon) === null || _x$3$data$$channelInf === void 0 ? void 0 : _x$3$data$$channelInf.forEach(function (item) {
12544
+ newData1.push({
12545
+ code: item.code,
12546
+ name: item.name
12547
+ });
12548
+ });
12549
+ x[1].data = newData1;
12220
12550
  var channelDisabledJude = function channelDisabledJude(data) {
12221
12551
  return data['parentCode'] === '0';
12222
12552
  }; // 所属销售渠道 树节点不能点判断
@@ -12227,6 +12557,46 @@ function commonFun(type, prefixUrl, parentProps) {
12227
12557
  formatTreeDataSource(x, 1, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
12228
12558
  formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
12229
12559
  formatSource(x, 3, 7, tableSearchForm, ['brandCode', 'name']);
12560
+ var opRaw = (_x$4 = x[4]) === null || _x$4 === void 0 ? void 0 : _x$4.data;
12561
+ // 新增label属性
12562
+ (_opList = opList) === null || _opList === void 0 ? void 0 : _opList.forEach(function (r) {
12563
+ r.label = r === null || r === void 0 ? void 0 : r.value;
12564
+ });
12565
+ var opList = Array.isArray(opRaw) ? opRaw : (opRaw === null || opRaw === void 0 ? void 0 : opRaw.items) || (opRaw === null || opRaw === void 0 ? void 0 : opRaw.list) || [];
12566
+ if (Array.isArray(opList) && Array.isArray(opList[0]) && !((_opList$ = opList[0]) === null || _opList$ === void 0 ? void 0 : _opList$.field)) {
12567
+ opList = opList[0];
12568
+ }
12569
+ var m1 = (_opList2 = opList) === null || _opList2 === void 0 ? void 0 : _opList2.filter(function (r) {
12570
+ return (r === null || r === void 0 ? void 0 : r.field) === 'manage_supervisor' && _.trim(r === null || r === void 0 ? void 0 : r.value);
12571
+ });
12572
+ var m2 = (_opList3 = opList) === null || _opList3 === void 0 ? void 0 : _opList3.filter(function (r) {
12573
+ return (r === null || r === void 0 ? void 0 : r.field) === 'direct_supervisor' && _.trim(r === null || r === void 0 ? void 0 : r.value);
12574
+ });
12575
+ var m3 = (_opList4 = opList) === null || _opList4 === void 0 ? void 0 : _opList4.filter(function (r) {
12576
+ return (r === null || r === void 0 ? void 0 : r.field) === 'distribution_item' && _.trim(r === null || r === void 0 ? void 0 : r.value);
12577
+ });
12578
+ debugger;
12579
+ var m4 = (_opList5 = opList) === null || _opList5 === void 0 ? void 0 : _opList5.filter(function (r) {
12580
+ return (r === null || r === void 0 ? void 0 : r.field) === 'head_item' && _.trim(r === null || r === void 0 ? void 0 : r.value);
12581
+ });
12582
+ var m5 = (_opList6 = opList) === null || _opList6 === void 0 ? void 0 : _opList6.filter(function (r) {
12583
+ return (r === null || r === void 0 ? void 0 : r.field) === 'store_channel_name' && _.trim(r === null || r === void 0 ? void 0 : r.value);
12584
+ });
12585
+ tableSearchForm[8] = _objectSpread2(_objectSpread2({}, tableSearchForm[8]), {}, {
12586
+ initialSource: m1
12587
+ });
12588
+ tableSearchForm[9] = _objectSpread2(_objectSpread2({}, tableSearchForm[9]), {}, {
12589
+ initialSource: m2
12590
+ });
12591
+ tableSearchForm[10] = _objectSpread2(_objectSpread2({}, tableSearchForm[10]), {}, {
12592
+ initialSource: m3
12593
+ });
12594
+ tableSearchForm[11] = _objectSpread2(_objectSpread2({}, tableSearchForm[11]), {}, {
12595
+ initialSource: m4
12596
+ });
12597
+ tableSearchForm[12] = _objectSpread2(_objectSpread2({}, tableSearchForm[12]), {}, {
12598
+ initialSource: m5
12599
+ });
12230
12600
  });
12231
12601
  modalTableProps = _objectSpread2({
12232
12602
  modalTableTitle: '选择商店',
@@ -12290,6 +12660,36 @@ function commonFun(type, prefixUrl, parentProps) {
12290
12660
  return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
12291
12661
  },
12292
12662
  width: 80
12663
+ }, {
12664
+ title: '品牌',
12665
+ dataIndex: 'brandName',
12666
+ defaultSort: 8,
12667
+ width: 80
12668
+ }, {
12669
+ title: '管理督导',
12670
+ dataIndex: 'manageSupervisor',
12671
+ defaultSort: 9,
12672
+ width: 100
12673
+ }, {
12674
+ title: '直接督导',
12675
+ dataIndex: 'directSupervisor',
12676
+ defaultSort: 10,
12677
+ width: 100
12678
+ }, {
12679
+ title: '分销商品',
12680
+ dataIndex: 'distributionItem',
12681
+ defaultSort: 11,
12682
+ width: 100
12683
+ }, {
12684
+ title: '总部商品',
12685
+ dataIndex: 'headItem',
12686
+ defaultSort: 12,
12687
+ width: 100
12688
+ }, {
12689
+ title: '管理模式',
12690
+ dataIndex: 'storeChannelName',
12691
+ defaultSort: 13,
12692
+ width: 100
12293
12693
  }],
12294
12694
  noEmptySearchField: true
12295
12695
  }, modalTableBusProps);
@@ -14831,7 +15231,7 @@ function getStorageVale(storageKeyString) {
14831
15231
  var _storageKeyString$spl = storageKeyString.split('.'),
14832
15232
  _storageKeyString$spl2 = _toArray(_storageKeyString$spl),
14833
15233
  localstorage = _storageKeyString$spl2[0],
14834
- restKeyArrays = _storageKeyString$spl2.slice(1);
15234
+ restKeyArrays = _arrayLikeToArray(_storageKeyString$spl2).slice(1);
14835
15235
  var localStorageInfo = window.localStorage.getItem(localstorage);
14836
15236
  if (!restKeyArrays.length) return localStorageInfo;
14837
15237
  var returnVal = JSON.parse(localStorageInfo || '{}');
@@ -17869,6 +18269,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17869
18269
  title: '列首',
17870
18270
  dataIndex: 'fixedLeft',
17871
18271
  render: function render(text, record) {
18272
+ if (_this.props.disableColumnFixed) {
18273
+ return null;
18274
+ }
17872
18275
  return /*#__PURE__*/React__default['default'].createElement("span", {
17873
18276
  onClick: function onClick() {
17874
18277
  var sortDataSource = _this.state.sortDataSource;
@@ -17945,6 +18348,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17945
18348
  title: '列尾',
17946
18349
  dataIndex: 'fixedRight',
17947
18350
  render: function render(text, record) {
18351
+ if (_this.props.disableColumnFixed) {
18352
+ return null;
18353
+ }
17948
18354
  return /*#__PURE__*/React__default['default'].createElement("span", {
17949
18355
  onClick: function onClick() {
17950
18356
  var sortDataSource = _this.state.sortDataSource;
@@ -19194,7 +19600,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
19194
19600
  }, /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps)));
19195
19601
  };
19196
19602
  var BsSulaQueryTable = (function (props) {
19197
- var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _value$exportConfig6;
19603
+ var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _props$tableProps, _value$exportConfig6;
19198
19604
  var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
19199
19605
  var rowsRef = React$1.useRef(null);
19200
19606
  // 获取 table columns中所有的 key 防止有的地方是 dataindex
@@ -19277,8 +19683,7 @@ var BsSulaQueryTable = (function (props) {
19277
19683
  setPagePath = _useState0[1];
19278
19684
  var _useLocation = umi.useLocation(),
19279
19685
  pathname = _useLocation.pathname,
19280
- _useLocation$state = _useLocation.state,
19281
- state = _useLocation$state === void 0 ? {} : _useLocation$state;
19686
+ _useLocation$state = _useLocation.state;
19282
19687
  var _useState1 = React$1.useState(false),
19283
19688
  _useState10 = _slicedToArray(_useState1, 2),
19284
19689
  isFullScreen = _useState10[0],
@@ -19754,17 +20159,16 @@ var BsSulaQueryTable = (function (props) {
19754
20159
  isFullScreen: isFullScreen
19755
20160
  });
19756
20161
  React$1.useEffect(function () {
19757
- if (!localStorage.getItem('isTabChange') || (state === null || state === void 0 ? void 0 : state.updateCurrentPage)) {
19758
- if (pagePath === pathname) {
19759
- var _config$ref, _config$ref$current, _config$ref$current$t, _config$ref$current$t2;
19760
- // @ts-ignore
19761
- (_config$ref = config.ref) === null || _config$ref === void 0 ? void 0 : (_config$ref$current = _config$ref.current) === null || _config$ref$current === void 0 ? void 0 : (_config$ref$current$t = _config$ref$current.tableRef) === null || _config$ref$current$t === void 0 ? void 0 : (_config$ref$current$t2 = _config$ref$current$t.current) === null || _config$ref$current$t2 === void 0 ? void 0 : _config$ref$current$t2.refreshTable();
19762
- }
19763
- }
19764
- setTimeout(function () {
19765
- // 处理页面刷新两面
19766
- localStorage.removeItem('isTabChange');
19767
- }, 0);
20162
+ // if (!localStorage.getItem('isTabChange') || state?.updateCurrentPage) {
20163
+ // if (pagePath === pathname) {
20164
+ // // @ts-ignore
20165
+ // config.ref?.current?.tableRef?.current?.refreshTable();
20166
+ // }
20167
+ // }
20168
+ // setTimeout(() => {
20169
+ // // 处理页面刷新两面
20170
+ // localStorage.removeItem('isTabChange');
20171
+ // }, 0);
19768
20172
  }, [pathname]);
19769
20173
  var expandedRowKeys = props === null || props === void 0 ? void 0 : (_props$expandable = props.expandable) === null || _props$expandable === void 0 ? void 0 : _props$expandable.expandedRowKeys;
19770
20174
  //todo summary属性已经被使用,为了兼容之前的,现在使用 summaryList
@@ -19855,6 +20259,7 @@ var BsSulaQueryTable = (function (props) {
19855
20259
  id: "bs-sula-query-table"
19856
20260
  }, /*#__PURE__*/React__default['default'].createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
19857
20261
  ref: sortTableRef,
20262
+ disableColumnFixed: (_props$tableProps = props.tableProps) === null || _props$tableProps === void 0 ? void 0 : _props$tableProps.isVirtualTable,
19858
20263
  setShowColumns: setResizeShowColumns,
19859
20264
  showColumn: showColumn,
19860
20265
  setInitialTableInfo: setInitialTableInfo,
@@ -19931,7 +20336,7 @@ var matchPath = function matchPath(pathname) {
19931
20336
  if (!match) return null;
19932
20337
  var _match = _toArray(match),
19933
20338
  url = _match[0],
19934
- values = _match.slice(1);
20339
+ values = _arrayLikeToArray(_match).slice(1);
19935
20340
  var isExact = pathname === url;
19936
20341
  if (exact && !isExact) return null;
19937
20342
  return {
@@ -21012,6 +21417,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
21012
21417
  })), /*#__PURE__*/React__default['default'].createElement(GlobalHeaderRight, null));
21013
21418
  };
21014
21419
 
21420
+ var addIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2014%401x%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-21.000000%2C%20-71.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-15%22%20transform%3D%22translate%2821.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-14%22%20transform%3D%22translate%280.000000%2C%201.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%284.000000%2C%204.000000%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M8%2C0%20C12.4183529%2C0%2016%2C3.58164706%2016%2C8%20C16%2C12.4183529%2012.4183529%2C16%208%2C16%20C3.58164706%2C16%200%2C12.4183529%200%2C8%20C0%2C3.58164706%203.58164706%2C0%208%2C0%20Z%20M8%2C1.4117647%20C4.36141178%2C1.4117647%201.4117647%2C4.36141175%201.4117647%2C8%20C1.4117647%2C11.6385882%204.36141175%2C14.5882353%208%2C14.5882353%20C11.6385882%2C14.5882353%2014.5882353%2C11.6385882%2014.5882353%2C8%20C14.5882353%2C4.36141175%2011.6385882%2C1.4117647%208%2C1.4117647%20Z%20M8.70588235%2C3.76470589%20L8.70588235%2C7.29411765%20L12.2352941%2C7.29411765%20L12.2352941%2C8.70588235%20L8.70588235%2C8.70588235%20L8.70588235%2C12.2352941%20L7.29411765%2C12.2352941%20L7.29411765%2C8.70541177%20L3.76470589%2C8.70588235%20L3.76470589%2C7.29411765%20L7.29411765%2C7.29364707%20L7.29411765%2C3.76470589%20L8.70588235%2C3.76470589%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
21421
+
21015
21422
  var css_248z$o = ".setting_content > div {\n width: 50%;\n box-sizing: border-box;\n margin: 0 10px;\n}\n.setting_content {\n display: flex;\n}\n.tree_title {\n height: 50px;\n}\n.tree_content {\n height: 400px;\n overflow: auto;\n border: 1px solid #d9d9d9;\n padding: 5px;\n}\n.setting_content::after {\n clear: both;\n display: block;\n content: '';\n}\n.choosed_label_color {\n color: #f50;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n flex-grow: 1;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper .ant-tree-title {\n width: 100%;\n}\n.left_tree_content .ant-tree .ant-tree-treenode {\n width: 100%;\n}\n.right_tree_content .ant-tree .ant-tree-node-content-wrapper,\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n display: flex;\n margin-left: -3px;\n}\n.right_tree_content .ant-tree-checkbox,\n.left_tree_content .ant-tree-checkbox {\n top: auto;\n top: initial;\n}\n.node_title_content:hover .right_arrow {\n display: block !important;\n}\n.right_arrow {\n float: right;\n display: none;\n color: #999999;\n margin-right: 10px;\n}\n.right_tree_content .ant-tree-title {\n width: 100%;\n display: inline-block;\n padding-right: 10px;\n}\n.right_tree_content .ant-dropdown-trigger {\n color: gray !important;\n}\n.right_tree_content .tree_node_title {\n font-size: 20px;\n color: #d9d9d9;\n float: right;\n}\n.right_tree_content .tree_node_title span {\n margin-right: 5px;\n}\n";
21016
21423
  styleInject(css_248z$o);
21017
21424
 
@@ -21717,7 +22124,28 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
21717
22124
  };
21718
22125
  return /*#__PURE__*/React__default['default'].createElement("div", {
21719
22126
  className: 'customer_menu_content'
21720
- }, !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
22127
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
22128
+ style: {
22129
+ cursor: 'pointer'
22130
+ },
22131
+ onClick: function onClick(e) {
22132
+ handleClose();
22133
+ settingModalFn(_objectSpread2(_objectSpread2({}, settingModal), {}, {
22134
+ visible: true
22135
+ }));
22136
+ }
22137
+ }, /*#__PURE__*/React__default['default'].createElement("img", {
22138
+ style: {
22139
+ marginTop: '-3px'
22140
+ },
22141
+ width: 24,
22142
+ src: addIcon
22143
+ }), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
22144
+ type: 'link',
22145
+ style: {
22146
+ paddingLeft: '5px'
22147
+ }
22148
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
21721
22149
  style: {
21722
22150
  left: isDrawer ? 140 : 0
21723
22151
  },
@@ -22219,7 +22647,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
22219
22647
  if (item.children && item.children.length > 0) {
22220
22648
  _getLimitedMenuKeys(item.children);
22221
22649
  } else {
22222
- var originPath = (item.path || item.frontendPath).replace(/^\/\w+\//, '/');
22650
+ var originPath = item.path.replace(/^\/\w+\//, '/');
22223
22651
  menuKeys.push(originPath);
22224
22652
  if (pathToRegexp('/operation-and-maintenance-center/configuration-management/all-general-documents-specific/:id').test(originPath)) {
22225
22653
  getId(originPath) && docsId.push(getId(originPath));
@@ -22469,7 +22897,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22469
22897
  return;
22470
22898
  }
22471
22899
  // todo:暂时处理非wujie环境不做404管控
22472
- if (!window.__POWERED_BY_WUJIE__ && !_this.props.isSingleSystem) {
22900
+ if (!window.__POWERED_BY_WUJIE__) {
22473
22901
  treeList.push({
22474
22902
  tab: node.locale,
22475
22903
  key: node.path,
@@ -32588,7 +33016,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
32588
33016
  });
32589
33017
  Promise.all(axiosArr).then(function (_ref5) {
32590
33018
  var _ref6 = _toArray(_ref5),
32591
- resArr = _ref6.slice(0);
33019
+ resArr = _arrayLikeToArray(_ref6).slice(0);
32592
33020
  var configParams = {};
32593
33021
  detailTablesSetting.map(function (item, index) {
32594
33022
  var _resArr$index;
@@ -35986,7 +36414,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35986
36414
  }
35987
36415
  }
35988
36416
  // 配送方式选择器
35989
- if (dataChoiceBusinessType == 310) {
36417
+ if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
35990
36418
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
35991
36419
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
35992
36420
  selectBusinessType: "deliveryMode",
@@ -36000,9 +36428,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36000
36428
  disabled: disabled,
36001
36429
  labelInValue: true,
36002
36430
  value: values[0],
36003
- requestConfig: {
36431
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36432
+ otherParams: {
36433
+ // 配送方式只选择标准配送方式
36434
+ 'qp-recordChannnelCode-eq': 80
36435
+ }
36436
+ } : {}), {}, {
36004
36437
  filterInit: 'qp-code-in'
36005
- },
36438
+ }),
36006
36439
  onChange: function onChange(value) {
36007
36440
  if (dataInputBusinessType === 12) {
36008
36441
  values[0] = value.map(function (i) {
@@ -36032,9 +36465,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36032
36465
  disabled: disabled,
36033
36466
  labelInValue: true,
36034
36467
  value: values[1],
36035
- requestConfig: {
36468
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36469
+ otherParams: {
36470
+ // 配送方式只选择标准配送方式
36471
+ 'qp-recordChannnelCode-eq': 80
36472
+ }
36473
+ } : {}), {}, {
36036
36474
  filterInit: 'qp-code-in'
36037
- },
36475
+ }),
36038
36476
  onChange: function onChange(value) {
36039
36477
  if (dataInputBusinessType === 12) {
36040
36478
  values[1] = value.map(function (i) {
@@ -36078,9 +36516,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36078
36516
  disabled: disabled,
36079
36517
  labelInValue: true,
36080
36518
  value: _currentValue0,
36081
- requestConfig: {
36519
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36520
+ otherParams: {
36521
+ // 配送方式只选择标准配送方式
36522
+ 'qp-recordChannnelCode-eq': 80
36523
+ }
36524
+ } : {}), {}, {
36082
36525
  filterInit: 'qp-code-in'
36083
- },
36526
+ }),
36084
36527
  onChange: function onChange(value) {
36085
36528
  if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36086
36529
  values = value.map(function (i) {
@@ -37780,7 +38223,7 @@ function RenderCompItem(props) {
37780
38223
  getPopupContainer: function getPopupContainer() {
37781
38224
  return document.body;
37782
38225
  }
37783
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
38226
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && ((ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 || (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311) && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
37784
38227
  selectBusinessType: "deliveryMode",
37785
38228
  selectProps: _objectSpread2({
37786
38229
  style: styleCommon,
@@ -37792,9 +38235,14 @@ function RenderCompItem(props) {
37792
38235
  disabled: disabled,
37793
38236
  labelInValue: true,
37794
38237
  value: showValue(ites.code),
37795
- requestConfig: {
38238
+ requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
38239
+ otherParams: {
38240
+ // 配送方式只选择标准配送方式
38241
+ 'qp-recordChannnelCode-eq': 80
38242
+ }
38243
+ } : {}), {}, {
37796
38244
  filterInit: 'qp-code-in'
37797
- },
38245
+ }),
37798
38246
  onChange: function onChange(value) {
37799
38247
  handleEdit(ites.code, value);
37800
38248
  },