@bit-sun/business-component 4.2.0-alpha.jw-1 → 4.2.1-alpha.2-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.
- package/.umirc.ts +9 -9
- package/dist/components/Business/AddSelectBusiness/index.d.ts +3 -4
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +1 -2
- package/dist/components/Business/BsLayouts/index.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -2
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -15
- package/dist/components/Business/CommodityEntry/index.d.ts +1 -2
- package/dist/components/Business/CommonAlert/index.d.ts +1 -2
- package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
- package/dist/components/Business/DetailPageWrapper/index.d.ts +11 -12
- package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
- package/dist/components/Business/ItemPropertySelector/index.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +1 -2
- package/dist/components/Business/PropertyModal/index.d.ts +1 -2
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
- package/dist/components/Business/SearchSelect/index.d.ts +1 -1
- package/dist/components/Business/StateFlow/index.d.ts +1 -2
- package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +1 -2
- package/dist/components/Business/columnSettingTable/index.d.ts +3 -3
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +3 -3
- package/dist/components/Business/columnSettingTable/utils.d.ts +1 -2
- package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
- package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
- package/dist/components/Common/Section/index.d.ts +1 -1
- package/dist/components/Functional/AddSelect/index.d.ts +1 -2
- package/dist/components/Functional/AuthButton/index.d.ts +1 -2
- package/dist/components/Functional/DataImport/index.d.ts +3 -3
- package/dist/components/Functional/DataValidation/index.d.ts +4 -4
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +1 -2
- package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
- package/dist/components/Functional/SearchSelect/utils.d.ts +2 -3
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/Formula.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
- package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
- package/dist/index.esm.js +324 -50
- package/dist/index.js +324 -50
- package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
- package/dist/utils/TableUtils.d.ts +18 -19
- package/package.json +1 -1
- package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +2 -2
- package/src/components/Business/BsLayouts/index.tsx +2 -2
- package/src/components/Business/BsSulaQueryTable/index.tsx +11 -10
- package/src/components/Business/BsSulaQueryTable/setting.tsx +6 -0
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +196 -12
- package/src/components/Business/SearchSelect/index.md +1 -1
- package/src/components/Functional/SearchSelect/index.tsx +1 -0
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +9 -1
- package/src/components/Solution/RuleComponent/ruleFiled.js +25 -1
package/dist/index.js
CHANGED
|
@@ -5994,6 +5994,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5994
5994
|
};
|
|
5995
5995
|
var formItem = function formItem(list) {
|
|
5996
5996
|
if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
|
|
5997
|
+
debugger;
|
|
5997
5998
|
var setDisabled = function setDisabled(name) {
|
|
5998
5999
|
if (fixedparamsDisabled && (fixedparameter === null || fixedparameter === void 0 ? void 0 : fixedparameter.length) && fixedparameter.find(function (item) {
|
|
5999
6000
|
return item === name;
|
|
@@ -10028,6 +10029,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10028
10029
|
var modalTableProps = _objectSpread2({
|
|
10029
10030
|
modalTableTitle: '',
|
|
10030
10031
|
tableSearchForm: tableSearchForm,
|
|
10032
|
+
visibleFieldsCount: 13,
|
|
10031
10033
|
tableColumns: []
|
|
10032
10034
|
}, modalTableBusProps);
|
|
10033
10035
|
var needModalTable = (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable) !== undefined ? modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable : true;
|
|
@@ -10393,15 +10395,172 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10393
10395
|
}
|
|
10394
10396
|
}
|
|
10395
10397
|
}, {
|
|
10396
|
-
name: '
|
|
10397
|
-
label: '
|
|
10398
|
+
name: 'qp-skcCode-in',
|
|
10399
|
+
label: 'SKC编码',
|
|
10398
10400
|
field: {
|
|
10399
|
-
type: '
|
|
10401
|
+
type: 'multipleQuerySearchSelect',
|
|
10402
|
+
props: {
|
|
10403
|
+
selectProps: {
|
|
10404
|
+
mode: "multiple",
|
|
10405
|
+
placeholder: '请输入SKC编码查询'
|
|
10406
|
+
},
|
|
10407
|
+
requestConfig: {
|
|
10408
|
+
url: '/items/sku//listNoPage/Simple',
|
|
10409
|
+
filter: 'qp-skcCode,name-orGroup,like',
|
|
10410
|
+
mappingTextField: 'name',
|
|
10411
|
+
mappingValueField: 'skcCode',
|
|
10412
|
+
sourceName: 'qp-skcCode-in',
|
|
10413
|
+
specialBracket: true,
|
|
10414
|
+
otherParams: {
|
|
10415
|
+
'ownOrgSign': getCurrentTargetBgId(),
|
|
10416
|
+
'ctl-count': true
|
|
10417
|
+
} // 默认参数
|
|
10418
|
+
}
|
|
10419
|
+
}
|
|
10400
10420
|
}
|
|
10401
|
-
}
|
|
10421
|
+
}, {
|
|
10422
|
+
name: 'qp-year-in',
|
|
10423
|
+
type: 'select',
|
|
10424
|
+
label: '年份',
|
|
10425
|
+
field: {
|
|
10426
|
+
type: 'select',
|
|
10427
|
+
props: {
|
|
10428
|
+
mode: 'multiple',
|
|
10429
|
+
notFoundContent: '暂无数据',
|
|
10430
|
+
allowClear: true,
|
|
10431
|
+
showSearch: true,
|
|
10432
|
+
showArrow: true,
|
|
10433
|
+
maxTagCount: 1,
|
|
10434
|
+
optionFilterProp: 'children',
|
|
10435
|
+
filterOption: function filterOption(input, option) {
|
|
10436
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10437
|
+
}
|
|
10438
|
+
}
|
|
10439
|
+
}
|
|
10440
|
+
}, {
|
|
10441
|
+
name: 'qp-season-in',
|
|
10442
|
+
type: 'select',
|
|
10443
|
+
label: '季节',
|
|
10444
|
+
field: {
|
|
10445
|
+
type: 'select',
|
|
10446
|
+
props: {
|
|
10447
|
+
mode: 'multiple',
|
|
10448
|
+
notFoundContent: '暂无数据',
|
|
10449
|
+
allowClear: true,
|
|
10450
|
+
showSearch: true,
|
|
10451
|
+
showArrow: true,
|
|
10452
|
+
maxTagCount: 1,
|
|
10453
|
+
optionFilterProp: 'children',
|
|
10454
|
+
filterOption: function filterOption(input, option) {
|
|
10455
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10456
|
+
}
|
|
10457
|
+
}
|
|
10458
|
+
}
|
|
10459
|
+
}, {
|
|
10460
|
+
name: 'qp-zzbdbm-in',
|
|
10461
|
+
type: 'select',
|
|
10462
|
+
label: '波段',
|
|
10463
|
+
field: {
|
|
10464
|
+
type: 'select',
|
|
10465
|
+
props: {
|
|
10466
|
+
mode: 'multiple',
|
|
10467
|
+
notFoundContent: '暂无数据',
|
|
10468
|
+
allowClear: true,
|
|
10469
|
+
showSearch: true,
|
|
10470
|
+
showArrow: true,
|
|
10471
|
+
maxTagCount: 1,
|
|
10472
|
+
optionFilterProp: 'children',
|
|
10473
|
+
filterOption: function filterOption(input, option) {
|
|
10474
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10475
|
+
}
|
|
10476
|
+
}
|
|
10477
|
+
}
|
|
10478
|
+
}, {
|
|
10479
|
+
name: 'qp-zzdlbm-in',
|
|
10480
|
+
type: 'select',
|
|
10481
|
+
label: '大类',
|
|
10482
|
+
field: {
|
|
10483
|
+
type: 'select',
|
|
10484
|
+
props: {
|
|
10485
|
+
mode: 'multiple',
|
|
10486
|
+
notFoundContent: '暂无数据',
|
|
10487
|
+
allowClear: true,
|
|
10488
|
+
showSearch: true,
|
|
10489
|
+
showArrow: true,
|
|
10490
|
+
maxTagCount: 1,
|
|
10491
|
+
optionFilterProp: 'children',
|
|
10492
|
+
filterOption: function filterOption(input, option) {
|
|
10493
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10494
|
+
}
|
|
10495
|
+
}
|
|
10496
|
+
}
|
|
10497
|
+
}, {
|
|
10498
|
+
name: 'qp-zzzlbm-in',
|
|
10499
|
+
type: 'select',
|
|
10500
|
+
label: '中类',
|
|
10501
|
+
field: {
|
|
10502
|
+
type: 'select',
|
|
10503
|
+
props: {
|
|
10504
|
+
mode: 'multiple',
|
|
10505
|
+
notFoundContent: '暂无数据',
|
|
10506
|
+
allowClear: true,
|
|
10507
|
+
showSearch: true,
|
|
10508
|
+
showArrow: true,
|
|
10509
|
+
maxTagCount: 1,
|
|
10510
|
+
optionFilterProp: 'children',
|
|
10511
|
+
filterOption: function filterOption(input, option) {
|
|
10512
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10513
|
+
}
|
|
10514
|
+
}
|
|
10515
|
+
}
|
|
10516
|
+
}, {
|
|
10517
|
+
name: 'qp-zzxlbm-in',
|
|
10518
|
+
type: 'select',
|
|
10519
|
+
label: '小类',
|
|
10520
|
+
field: {
|
|
10521
|
+
type: 'select',
|
|
10522
|
+
props: {
|
|
10523
|
+
mode: 'multiple',
|
|
10524
|
+
notFoundContent: '暂无数据',
|
|
10525
|
+
allowClear: true,
|
|
10526
|
+
showSearch: true,
|
|
10527
|
+
showArrow: true,
|
|
10528
|
+
maxTagCount: 1,
|
|
10529
|
+
optionFilterProp: 'children',
|
|
10530
|
+
filterOption: function filterOption(input, option) {
|
|
10531
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10532
|
+
}
|
|
10533
|
+
}
|
|
10534
|
+
}
|
|
10535
|
+
}
|
|
10536
|
+
// { name: 'UNIQUE_SPEC', label: '属性', field: {
|
|
10537
|
+
// type: 'proppertySelector',
|
|
10538
|
+
// } },
|
|
10539
|
+
];
|
|
10402
10540
|
var defaultQSHL = [{
|
|
10403
10541
|
isOpen: true,
|
|
10404
10542
|
queryKey: 'qp-brandId-in'
|
|
10543
|
+
}, {
|
|
10544
|
+
isOpen: true,
|
|
10545
|
+
queryKey: 'qp-categoryId-in'
|
|
10546
|
+
}, {
|
|
10547
|
+
isOpen: true,
|
|
10548
|
+
queryKey: 'qp-year-in'
|
|
10549
|
+
}, {
|
|
10550
|
+
isOpen: true,
|
|
10551
|
+
queryKey: 'qp-season-in'
|
|
10552
|
+
}, {
|
|
10553
|
+
isOpen: true,
|
|
10554
|
+
queryKey: 'qp-zzbdbm-in'
|
|
10555
|
+
}, {
|
|
10556
|
+
isOpen: true,
|
|
10557
|
+
queryKey: 'qp-zzdlbm-in'
|
|
10558
|
+
}, {
|
|
10559
|
+
isOpen: true,
|
|
10560
|
+
queryKey: 'qp-zzzlbm-in'
|
|
10561
|
+
}, {
|
|
10562
|
+
isOpen: true,
|
|
10563
|
+
queryKey: 'qp-zzxlbm-in'
|
|
10405
10564
|
}];
|
|
10406
10565
|
var _queryHeaderParams2 = getQueryHeadersList({
|
|
10407
10566
|
defaultQSHL: defaultQSHL,
|
|
@@ -10415,14 +10574,39 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10415
10574
|
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-brandId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
|
|
10416
10575
|
pageSize: 5000,
|
|
10417
10576
|
currentPage: 1
|
|
10418
|
-
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in'))
|
|
10577
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10578
|
+
'qp-propertyCode-eq': 'PROP_YEAR',
|
|
10579
|
+
pageSize: 999
|
|
10580
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-year-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10581
|
+
'qp-propertyCode-eq': 'PROP_SEASON',
|
|
10582
|
+
pageSize: 999
|
|
10583
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-season-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/band"), {
|
|
10584
|
+
pageSize: 999,
|
|
10585
|
+
currentPage: 1
|
|
10586
|
+
}, 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"), {
|
|
10587
|
+
'qp-propertyCode-eq': 'MID_CATA',
|
|
10588
|
+
pageSize: 999
|
|
10589
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzzlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10590
|
+
'qp-propertyCode-eq': 'PROP_SUBCATEORY',
|
|
10591
|
+
pageSize: 999
|
|
10592
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in'))]).then(function (x) {
|
|
10419
10593
|
formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
|
|
10420
10594
|
formatTreeDataSource(x, 1, 4, tableSearchForm);
|
|
10595
|
+
formatSource(x, 0, getFieldIndex(tableSearchForm, 'qp-brandId-in'), tableSearchForm, ['id', 'name']);
|
|
10596
|
+
formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'qp-categoryId-in'), tableSearchForm);
|
|
10597
|
+
formatSource(x, 2, getFieldIndex(tableSearchForm, 'qp-year-in'), tableSearchForm, ['value', 'value']);
|
|
10598
|
+
formatSource(x, 3, getFieldIndex(tableSearchForm, 'qp-season-in'), tableSearchForm, ['value', 'value']);
|
|
10599
|
+
formatSource(x, 4, getFieldIndex(tableSearchForm, 'qp-zzbdbm-in'), tableSearchForm, ['bandCode', 'bandName']);
|
|
10600
|
+
formatSource(x, 5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10601
|
+
formatSource(x, 6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10602
|
+
formatSource(x, 7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10421
10603
|
});
|
|
10422
10604
|
modalTableProps = _objectSpread2({
|
|
10423
10605
|
modalTableTitle: '选择SKU',
|
|
10424
10606
|
tableSearchForm: tableSearchForm,
|
|
10425
10607
|
isHorizontally: true,
|
|
10608
|
+
tableSearchColSpan: 6,
|
|
10609
|
+
visibleFieldsCount: 13,
|
|
10426
10610
|
tableColumns: [{
|
|
10427
10611
|
title: '序号',
|
|
10428
10612
|
dataIndex: 'keyIndex',
|
|
@@ -11204,20 +11388,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11204
11388
|
type: 'select',
|
|
11205
11389
|
label: '逻辑仓类型',
|
|
11206
11390
|
initialSource: getDictionarySource$1('SC00004')
|
|
11207
|
-
},
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
type: 'select',
|
|
11211
|
-
props: {
|
|
11212
|
-
mode: 'multiple'
|
|
11213
|
-
}
|
|
11214
|
-
},
|
|
11215
|
-
label: '管理大区',
|
|
11216
|
-
initialSource: getDictionarySource$1('BUSINESS_belongArea')
|
|
11217
|
-
}, {
|
|
11391
|
+
},
|
|
11392
|
+
// { name: 'belongArea', field: {type: 'select', props: {mode: 'multiple',}}, label: '管理大区', initialSource: getDictionarySource('BUSINESS_belongArea'), },
|
|
11393
|
+
{
|
|
11218
11394
|
name: 'qp-channelCode-in',
|
|
11219
11395
|
type: 'treeSelect',
|
|
11220
|
-
label: '
|
|
11396
|
+
label: '战区',
|
|
11221
11397
|
field: {
|
|
11222
11398
|
type: 'treeSelect',
|
|
11223
11399
|
props: {
|
|
@@ -11239,7 +11415,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11239
11415
|
}, {
|
|
11240
11416
|
name: 'qp-refCode-in',
|
|
11241
11417
|
type: 'treeSelect',
|
|
11242
|
-
label: '
|
|
11418
|
+
label: '大区',
|
|
11243
11419
|
field: {
|
|
11244
11420
|
type: 'treeSelect',
|
|
11245
11421
|
props: {
|
|
@@ -12118,7 +12294,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12118
12294
|
}, {
|
|
12119
12295
|
name: 'qp-channelCode-in',
|
|
12120
12296
|
type: 'treeSelect',
|
|
12121
|
-
label: '
|
|
12297
|
+
label: '战区',
|
|
12122
12298
|
field: {
|
|
12123
12299
|
type: 'treeSelect',
|
|
12124
12300
|
props: {
|
|
@@ -12140,7 +12316,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12140
12316
|
}, {
|
|
12141
12317
|
name: 'qp-commonRelationAreaCode-in',
|
|
12142
12318
|
type: 'treeSelect',
|
|
12143
|
-
label: '
|
|
12319
|
+
label: '大区',
|
|
12144
12320
|
field: {
|
|
12145
12321
|
type: 'treeSelect',
|
|
12146
12322
|
props: {
|
|
@@ -12197,6 +12373,26 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12197
12373
|
}
|
|
12198
12374
|
}
|
|
12199
12375
|
}
|
|
12376
|
+
}, {
|
|
12377
|
+
name: 'qp-manageSupervisor-like',
|
|
12378
|
+
label: '管理督导',
|
|
12379
|
+
type: 'input'
|
|
12380
|
+
}, {
|
|
12381
|
+
name: 'qp-directSupervisor-like',
|
|
12382
|
+
label: '直接督导',
|
|
12383
|
+
type: 'input'
|
|
12384
|
+
}, {
|
|
12385
|
+
name: 'qp-distributionItem-like',
|
|
12386
|
+
label: '分销商品',
|
|
12387
|
+
type: 'input'
|
|
12388
|
+
}, {
|
|
12389
|
+
name: 'qp-headItem-like',
|
|
12390
|
+
label: '总部商品',
|
|
12391
|
+
type: 'input'
|
|
12392
|
+
}, {
|
|
12393
|
+
name: 'qp-storeChannelName-like',
|
|
12394
|
+
label: '管理模式',
|
|
12395
|
+
type: 'input'
|
|
12200
12396
|
}];
|
|
12201
12397
|
var _queryHeaderParams10 = getQueryHeadersList({
|
|
12202
12398
|
querySelectHeadersList: querySelectHeadersList,
|
|
@@ -12290,6 +12486,36 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12290
12486
|
return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
|
|
12291
12487
|
},
|
|
12292
12488
|
width: 80
|
|
12489
|
+
}, {
|
|
12490
|
+
title: '品牌',
|
|
12491
|
+
dataIndex: 'brandName',
|
|
12492
|
+
defaultSort: 8,
|
|
12493
|
+
width: 80
|
|
12494
|
+
}, {
|
|
12495
|
+
title: '管理督导',
|
|
12496
|
+
dataIndex: 'manageSupervisor',
|
|
12497
|
+
defaultSort: 9,
|
|
12498
|
+
width: 100
|
|
12499
|
+
}, {
|
|
12500
|
+
title: '直接督导',
|
|
12501
|
+
dataIndex: 'directSupervisor',
|
|
12502
|
+
defaultSort: 10,
|
|
12503
|
+
width: 100
|
|
12504
|
+
}, {
|
|
12505
|
+
title: '分销商品',
|
|
12506
|
+
dataIndex: 'distributionItem',
|
|
12507
|
+
defaultSort: 11,
|
|
12508
|
+
width: 100
|
|
12509
|
+
}, {
|
|
12510
|
+
title: '总部商品',
|
|
12511
|
+
dataIndex: 'headItem',
|
|
12512
|
+
defaultSort: 12,
|
|
12513
|
+
width: 100
|
|
12514
|
+
}, {
|
|
12515
|
+
title: '管理模式',
|
|
12516
|
+
dataIndex: 'storeChannelName',
|
|
12517
|
+
defaultSort: 13,
|
|
12518
|
+
width: 100
|
|
12293
12519
|
}],
|
|
12294
12520
|
noEmptySearchField: true
|
|
12295
12521
|
}, modalTableBusProps);
|
|
@@ -14831,7 +15057,7 @@ function getStorageVale(storageKeyString) {
|
|
|
14831
15057
|
var _storageKeyString$spl = storageKeyString.split('.'),
|
|
14832
15058
|
_storageKeyString$spl2 = _toArray(_storageKeyString$spl),
|
|
14833
15059
|
localstorage = _storageKeyString$spl2[0],
|
|
14834
|
-
restKeyArrays = _storageKeyString$spl2.slice(1);
|
|
15060
|
+
restKeyArrays = _arrayLikeToArray(_storageKeyString$spl2).slice(1);
|
|
14835
15061
|
var localStorageInfo = window.localStorage.getItem(localstorage);
|
|
14836
15062
|
if (!restKeyArrays.length) return localStorageInfo;
|
|
14837
15063
|
var returnVal = JSON.parse(localStorageInfo || '{}');
|
|
@@ -17869,6 +18095,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17869
18095
|
title: '列首',
|
|
17870
18096
|
dataIndex: 'fixedLeft',
|
|
17871
18097
|
render: function render(text, record) {
|
|
18098
|
+
if (_this.props.disableColumnFixed) {
|
|
18099
|
+
return null;
|
|
18100
|
+
}
|
|
17872
18101
|
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17873
18102
|
onClick: function onClick() {
|
|
17874
18103
|
var sortDataSource = _this.state.sortDataSource;
|
|
@@ -17945,6 +18174,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17945
18174
|
title: '列尾',
|
|
17946
18175
|
dataIndex: 'fixedRight',
|
|
17947
18176
|
render: function render(text, record) {
|
|
18177
|
+
if (_this.props.disableColumnFixed) {
|
|
18178
|
+
return null;
|
|
18179
|
+
}
|
|
17948
18180
|
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17949
18181
|
onClick: function onClick() {
|
|
17950
18182
|
var sortDataSource = _this.state.sortDataSource;
|
|
@@ -19194,7 +19426,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
19194
19426
|
}, /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps)));
|
|
19195
19427
|
};
|
|
19196
19428
|
var BsSulaQueryTable = (function (props) {
|
|
19197
|
-
var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _value$exportConfig6;
|
|
19429
|
+
var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _props$tableProps, _value$exportConfig6;
|
|
19198
19430
|
var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
|
|
19199
19431
|
var rowsRef = React$1.useRef(null);
|
|
19200
19432
|
// 获取 table columns中所有的 key 防止有的地方是 dataindex
|
|
@@ -19277,8 +19509,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
19277
19509
|
setPagePath = _useState0[1];
|
|
19278
19510
|
var _useLocation = umi.useLocation(),
|
|
19279
19511
|
pathname = _useLocation.pathname,
|
|
19280
|
-
_useLocation$state = _useLocation.state
|
|
19281
|
-
state = _useLocation$state === void 0 ? {} : _useLocation$state;
|
|
19512
|
+
_useLocation$state = _useLocation.state;
|
|
19282
19513
|
var _useState1 = React$1.useState(false),
|
|
19283
19514
|
_useState10 = _slicedToArray(_useState1, 2),
|
|
19284
19515
|
isFullScreen = _useState10[0],
|
|
@@ -19754,17 +19985,16 @@ var BsSulaQueryTable = (function (props) {
|
|
|
19754
19985
|
isFullScreen: isFullScreen
|
|
19755
19986
|
});
|
|
19756
19987
|
React$1.useEffect(function () {
|
|
19757
|
-
if (!localStorage.getItem('isTabChange') ||
|
|
19758
|
-
|
|
19759
|
-
|
|
19760
|
-
|
|
19761
|
-
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
|
|
19765
|
-
|
|
19766
|
-
|
|
19767
|
-
}, 0);
|
|
19988
|
+
// if (!localStorage.getItem('isTabChange') || state?.updateCurrentPage) {
|
|
19989
|
+
// if (pagePath === pathname) {
|
|
19990
|
+
// // @ts-ignore
|
|
19991
|
+
// config.ref?.current?.tableRef?.current?.refreshTable();
|
|
19992
|
+
// }
|
|
19993
|
+
// }
|
|
19994
|
+
// setTimeout(() => {
|
|
19995
|
+
// // 处理页面刷新两面
|
|
19996
|
+
// localStorage.removeItem('isTabChange');
|
|
19997
|
+
// }, 0);
|
|
19768
19998
|
}, [pathname]);
|
|
19769
19999
|
var expandedRowKeys = props === null || props === void 0 ? void 0 : (_props$expandable = props.expandable) === null || _props$expandable === void 0 ? void 0 : _props$expandable.expandedRowKeys;
|
|
19770
20000
|
//todo summary属性已经被使用,为了兼容之前的,现在使用 summaryList
|
|
@@ -19855,6 +20085,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
19855
20085
|
id: "bs-sula-query-table"
|
|
19856
20086
|
}, /*#__PURE__*/React__default['default'].createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
|
|
19857
20087
|
ref: sortTableRef,
|
|
20088
|
+
disableColumnFixed: (_props$tableProps = props.tableProps) === null || _props$tableProps === void 0 ? void 0 : _props$tableProps.isVirtualTable,
|
|
19858
20089
|
setShowColumns: setResizeShowColumns,
|
|
19859
20090
|
showColumn: showColumn,
|
|
19860
20091
|
setInitialTableInfo: setInitialTableInfo,
|
|
@@ -19931,7 +20162,7 @@ var matchPath = function matchPath(pathname) {
|
|
|
19931
20162
|
if (!match) return null;
|
|
19932
20163
|
var _match = _toArray(match),
|
|
19933
20164
|
url = _match[0],
|
|
19934
|
-
values = _match.slice(1);
|
|
20165
|
+
values = _arrayLikeToArray(_match).slice(1);
|
|
19935
20166
|
var isExact = pathname === url;
|
|
19936
20167
|
if (exact && !isExact) return null;
|
|
19937
20168
|
return {
|
|
@@ -21012,6 +21243,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
21012
21243
|
})), /*#__PURE__*/React__default['default'].createElement(GlobalHeaderRight, null));
|
|
21013
21244
|
};
|
|
21014
21245
|
|
|
21246
|
+
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";
|
|
21247
|
+
|
|
21015
21248
|
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
21249
|
styleInject(css_248z$o);
|
|
21017
21250
|
|
|
@@ -21717,7 +21950,28 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
|
|
|
21717
21950
|
};
|
|
21718
21951
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
21719
21952
|
className: 'customer_menu_content'
|
|
21720
|
-
},
|
|
21953
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
21954
|
+
style: {
|
|
21955
|
+
cursor: 'pointer'
|
|
21956
|
+
},
|
|
21957
|
+
onClick: function onClick(e) {
|
|
21958
|
+
handleClose();
|
|
21959
|
+
settingModalFn(_objectSpread2(_objectSpread2({}, settingModal), {}, {
|
|
21960
|
+
visible: true
|
|
21961
|
+
}));
|
|
21962
|
+
}
|
|
21963
|
+
}, /*#__PURE__*/React__default['default'].createElement("img", {
|
|
21964
|
+
style: {
|
|
21965
|
+
marginTop: '-3px'
|
|
21966
|
+
},
|
|
21967
|
+
width: 24,
|
|
21968
|
+
src: addIcon
|
|
21969
|
+
}), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
|
|
21970
|
+
type: 'link',
|
|
21971
|
+
style: {
|
|
21972
|
+
paddingLeft: '5px'
|
|
21973
|
+
}
|
|
21974
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
|
|
21721
21975
|
style: {
|
|
21722
21976
|
left: isDrawer ? 140 : 0
|
|
21723
21977
|
},
|
|
@@ -22219,7 +22473,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
22219
22473
|
if (item.children && item.children.length > 0) {
|
|
22220
22474
|
_getLimitedMenuKeys(item.children);
|
|
22221
22475
|
} else {
|
|
22222
|
-
var originPath =
|
|
22476
|
+
var originPath = item.path.replace(/^\/\w+\//, '/');
|
|
22223
22477
|
menuKeys.push(originPath);
|
|
22224
22478
|
if (pathToRegexp('/operation-and-maintenance-center/configuration-management/all-general-documents-specific/:id').test(originPath)) {
|
|
22225
22479
|
getId(originPath) && docsId.push(getId(originPath));
|
|
@@ -22469,7 +22723,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
22469
22723
|
return;
|
|
22470
22724
|
}
|
|
22471
22725
|
// todo:暂时处理非wujie环境不做404管控
|
|
22472
|
-
if (!window.__POWERED_BY_WUJIE__
|
|
22726
|
+
if (!window.__POWERED_BY_WUJIE__) {
|
|
22473
22727
|
treeList.push({
|
|
22474
22728
|
tab: node.locale,
|
|
22475
22729
|
key: node.path,
|
|
@@ -32588,7 +32842,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
|
|
|
32588
32842
|
});
|
|
32589
32843
|
Promise.all(axiosArr).then(function (_ref5) {
|
|
32590
32844
|
var _ref6 = _toArray(_ref5),
|
|
32591
|
-
resArr = _ref6.slice(0);
|
|
32845
|
+
resArr = _arrayLikeToArray(_ref6).slice(0);
|
|
32592
32846
|
var configParams = {};
|
|
32593
32847
|
detailTablesSetting.map(function (item, index) {
|
|
32594
32848
|
var _resArr$index;
|
|
@@ -35986,7 +36240,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35986
36240
|
}
|
|
35987
36241
|
}
|
|
35988
36242
|
// 配送方式选择器
|
|
35989
|
-
if (dataChoiceBusinessType == 310) {
|
|
36243
|
+
if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
|
|
35990
36244
|
if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
|
|
35991
36245
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
|
|
35992
36246
|
selectBusinessType: "deliveryMode",
|
|
@@ -36000,9 +36254,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36000
36254
|
disabled: disabled,
|
|
36001
36255
|
labelInValue: true,
|
|
36002
36256
|
value: values[0],
|
|
36003
|
-
requestConfig: {
|
|
36257
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36258
|
+
otherParams: {
|
|
36259
|
+
// 配送方式只选择标准配送方式
|
|
36260
|
+
'qp-recordChannnelCode-eq': 80
|
|
36261
|
+
}
|
|
36262
|
+
} : {}), {}, {
|
|
36004
36263
|
filterInit: 'qp-code-in'
|
|
36005
|
-
},
|
|
36264
|
+
}),
|
|
36006
36265
|
onChange: function onChange(value) {
|
|
36007
36266
|
if (dataInputBusinessType === 12) {
|
|
36008
36267
|
values[0] = value.map(function (i) {
|
|
@@ -36032,9 +36291,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36032
36291
|
disabled: disabled,
|
|
36033
36292
|
labelInValue: true,
|
|
36034
36293
|
value: values[1],
|
|
36035
|
-
requestConfig: {
|
|
36294
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36295
|
+
otherParams: {
|
|
36296
|
+
// 配送方式只选择标准配送方式
|
|
36297
|
+
'qp-recordChannnelCode-eq': 80
|
|
36298
|
+
}
|
|
36299
|
+
} : {}), {}, {
|
|
36036
36300
|
filterInit: 'qp-code-in'
|
|
36037
|
-
},
|
|
36301
|
+
}),
|
|
36038
36302
|
onChange: function onChange(value) {
|
|
36039
36303
|
if (dataInputBusinessType === 12) {
|
|
36040
36304
|
values[1] = value.map(function (i) {
|
|
@@ -36078,9 +36342,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36078
36342
|
disabled: disabled,
|
|
36079
36343
|
labelInValue: true,
|
|
36080
36344
|
value: _currentValue0,
|
|
36081
|
-
requestConfig: {
|
|
36345
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36346
|
+
otherParams: {
|
|
36347
|
+
// 配送方式只选择标准配送方式
|
|
36348
|
+
'qp-recordChannnelCode-eq': 80
|
|
36349
|
+
}
|
|
36350
|
+
} : {}), {}, {
|
|
36082
36351
|
filterInit: 'qp-code-in'
|
|
36083
|
-
},
|
|
36352
|
+
}),
|
|
36084
36353
|
onChange: function onChange(value) {
|
|
36085
36354
|
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
36086
36355
|
values = value.map(function (i) {
|
|
@@ -37780,7 +38049,7 @@ function RenderCompItem(props) {
|
|
|
37780
38049
|
getPopupContainer: function getPopupContainer() {
|
|
37781
38050
|
return document.body;
|
|
37782
38051
|
}
|
|
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, {
|
|
38052
|
+
})) || 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
38053
|
selectBusinessType: "deliveryMode",
|
|
37785
38054
|
selectProps: _objectSpread2({
|
|
37786
38055
|
style: styleCommon,
|
|
@@ -37792,9 +38061,14 @@ function RenderCompItem(props) {
|
|
|
37792
38061
|
disabled: disabled,
|
|
37793
38062
|
labelInValue: true,
|
|
37794
38063
|
value: showValue(ites.code),
|
|
37795
|
-
requestConfig: {
|
|
38064
|
+
requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
|
|
38065
|
+
otherParams: {
|
|
38066
|
+
// 配送方式只选择标准配送方式
|
|
38067
|
+
'qp-recordChannnelCode-eq': 80
|
|
38068
|
+
}
|
|
38069
|
+
} : {}), {}, {
|
|
37796
38070
|
filterInit: 'qp-code-in'
|
|
37797
|
-
},
|
|
38071
|
+
}),
|
|
37798
38072
|
onChange: function onChange(value) {
|
|
37799
38073
|
handleEdit(ites.code, value);
|
|
37800
38074
|
},
|
|
@@ -38,14 +38,14 @@ declare class TableColumnSetting extends React.Component<TableColumnSettingProps
|
|
|
38
38
|
} | {
|
|
39
39
|
title: string;
|
|
40
40
|
dataIndex: string;
|
|
41
|
-
render: (text: any, record: any) =>
|
|
41
|
+
render: (text: any, record: any) => JSX.Element;
|
|
42
42
|
className?: undefined;
|
|
43
43
|
width?: undefined;
|
|
44
44
|
} | {
|
|
45
45
|
title: string;
|
|
46
46
|
dataIndex: string;
|
|
47
47
|
className: string;
|
|
48
|
-
render: () =>
|
|
48
|
+
render: () => JSX.Element;
|
|
49
49
|
width?: undefined;
|
|
50
50
|
})[];
|
|
51
51
|
showModal: () => void;
|
|
@@ -53,13 +53,13 @@ declare class TableColumnSetting extends React.Component<TableColumnSettingProps
|
|
|
53
53
|
handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
|
|
54
54
|
handleTableHeadHidden: (title: string) => void;
|
|
55
55
|
onSortEnd: ({ oldIndex, newIndex }: any) => void;
|
|
56
|
-
DraggableContainer: (props: any) =>
|
|
57
|
-
DraggableBodyRow: ({ className, style, ...restProps }: any) =>
|
|
56
|
+
DraggableContainer: (props: any) => JSX.Element;
|
|
57
|
+
DraggableBodyRow: ({ className, style, ...restProps }: any) => JSX.Element;
|
|
58
58
|
onChange: (e: any, title: any) => void;
|
|
59
59
|
handleReset: () => void;
|
|
60
60
|
handleResetSetting: () => Promise<unknown>;
|
|
61
61
|
onSearch: (e: any) => void;
|
|
62
62
|
onSearchSort: (e: any) => void;
|
|
63
|
-
render():
|
|
63
|
+
render(): JSX.Element;
|
|
64
64
|
}
|
|
65
65
|
export default TableColumnSetting;
|