@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.
- 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 +517 -69
- package/dist/index.js +516 -68
- 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 +314 -25
- package/src/components/Business/SearchSelect/index.md +32 -12
- package/src/components/Functional/SearchSelect/index.tsx +33 -1
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +9 -1
- package/src/components/Solution/RuleComponent/ruleFiled.js +25 -1
package/dist/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import axios from 'axios';
|
|
|
2
2
|
import request$1 from 'umi-request';
|
|
3
3
|
import cookie from 'js-cookie';
|
|
4
4
|
import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Tag, Select, Spin, Form, Table, Empty, Row, Col, Tabs, TreeSelect, DatePicker, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, TimePicker, Divider, Switch, Collapse } from 'antd';
|
|
5
|
-
import _, { omit, uniqBy, escapeRegExp, isNil, isBoolean, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
|
|
5
|
+
import _, { omit, uniqBy, escapeRegExp, isNil, trim, isBoolean, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
|
|
6
6
|
import memoizeOne from 'memoize-one';
|
|
7
7
|
import { formatMessage, history, useLocation, Link, useModel, setLocale, useIntl, request as request$3 } from 'umi';
|
|
8
8
|
import isEqual from 'lodash/isEqual';
|
|
@@ -5323,7 +5323,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5323
5323
|
viewShowValueStr = _ref.viewShowValueStr,
|
|
5324
5324
|
searchStartLength = _ref.searchStartLength,
|
|
5325
5325
|
_ref$isQuery = _ref.isQuery,
|
|
5326
|
-
isQuery = _ref$isQuery === void 0 ? false : _ref$isQuery
|
|
5326
|
+
isQuery = _ref$isQuery === void 0 ? false : _ref$isQuery,
|
|
5327
|
+
_ref$requireSearchCon = _ref.requireSearchCondition,
|
|
5328
|
+
requireSearchCondition = _ref$requireSearchCon === void 0 ? false : _ref$requireSearchCon;
|
|
5327
5329
|
var requestConfig = _objectSpread2({
|
|
5328
5330
|
url: url,
|
|
5329
5331
|
method: method,
|
|
@@ -5886,6 +5888,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5886
5888
|
};
|
|
5887
5889
|
var onSearchTable = function onSearchTable() {
|
|
5888
5890
|
var params = form.getFieldsValue();
|
|
5891
|
+
// 必须选择一个值
|
|
5892
|
+
if (requireSearchCondition) {
|
|
5893
|
+
var hasValidValue = Object.values(params).some(function (value) {
|
|
5894
|
+
return Array.isArray(value) && value.length > 0 || typeof value === 'string' && value.trim().length > 0;
|
|
5895
|
+
});
|
|
5896
|
+
if (!hasValidValue) {
|
|
5897
|
+
message$1.warning('请至少选择一个搜索条件');
|
|
5898
|
+
return;
|
|
5899
|
+
}
|
|
5900
|
+
}
|
|
5889
5901
|
setModalSearched(true);
|
|
5890
5902
|
setTableFormParams(params);
|
|
5891
5903
|
getData(_objectSpread2(_objectSpread2({}, params), {}, {
|
|
@@ -5971,6 +5983,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5971
5983
|
};
|
|
5972
5984
|
var formItem = function formItem(list) {
|
|
5973
5985
|
if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
|
|
5986
|
+
debugger;
|
|
5974
5987
|
var setDisabled = function setDisabled(name) {
|
|
5975
5988
|
if (fixedparamsDisabled && (fixedparameter === null || fixedparameter === void 0 ? void 0 : fixedparameter.length) && fixedparameter.find(function (item) {
|
|
5976
5989
|
return item === name;
|
|
@@ -6179,7 +6192,26 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6179
6192
|
});
|
|
6180
6193
|
};
|
|
6181
6194
|
var renderShowTable = function renderShowTable(tableList, type) {
|
|
6182
|
-
var
|
|
6195
|
+
var _modalTableProps$tabl;
|
|
6196
|
+
var viCount = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.visibleFieldsCount) || defaultVisibleFieldsCount;
|
|
6197
|
+
var canExpand = hasMoreQueryFields(modalTableProps);
|
|
6198
|
+
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);
|
|
6199
|
+
var baseHeight = getTableHeigth(collapsedList);
|
|
6200
|
+
var rowsCollapsed = getFormRowInfo(collapsedList, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan).totalRows;
|
|
6201
|
+
var rowsExpandedData = getFormRowInfo(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan);
|
|
6202
|
+
var rowsExpanded = rowsExpandedData.totalRows;
|
|
6203
|
+
var isMoreAction = false;
|
|
6204
|
+
if (24 / (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan) - rowsExpandedData.emptyArray.length === 1) {
|
|
6205
|
+
rowsExpanded++;
|
|
6206
|
+
isMoreAction = true;
|
|
6207
|
+
}
|
|
6208
|
+
var extraRows = !collapsed && canExpand ? Math.max(0, rowsExpanded - rowsCollapsed) : 0;
|
|
6209
|
+
var tableBoxHeighth = baseHeight;
|
|
6210
|
+
if (isMoreAction && extraRows > 0) {
|
|
6211
|
+
tableBoxHeighth = tableBoxHeighth + (extraRows - 1 ? extraRows - 1 : 0) * 34 + 32;
|
|
6212
|
+
} else {
|
|
6213
|
+
tableBoxHeighth = tableBoxHeighth + extraRows * 34;
|
|
6214
|
+
}
|
|
6183
6215
|
var x = (tableList === null || tableList === void 0 ? void 0 : tableList.length) ? 82 : 28; // 无数据没有分页,有数据计算减去:分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
|
|
6184
6216
|
var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - ").concat(x, "px)");
|
|
6185
6217
|
var mTB = "calc(50vh - ".concat(tableBoxHeighth / 2, "px - ").concat(x / 2, "px - 40px)");
|
|
@@ -10005,6 +10037,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10005
10037
|
var modalTableProps = _objectSpread2({
|
|
10006
10038
|
modalTableTitle: '',
|
|
10007
10039
|
tableSearchForm: tableSearchForm,
|
|
10040
|
+
visibleFieldsCount: 13,
|
|
10008
10041
|
tableColumns: []
|
|
10009
10042
|
}, modalTableBusProps);
|
|
10010
10043
|
var needModalTable = (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable) !== undefined ? modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable : true;
|
|
@@ -10370,15 +10403,172 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10370
10403
|
}
|
|
10371
10404
|
}
|
|
10372
10405
|
}, {
|
|
10373
|
-
name: '
|
|
10374
|
-
label: '
|
|
10406
|
+
name: 'qp-skcCode-in',
|
|
10407
|
+
label: 'SKC编码',
|
|
10408
|
+
field: {
|
|
10409
|
+
type: 'multipleQuerySearchSelect',
|
|
10410
|
+
props: {
|
|
10411
|
+
selectProps: {
|
|
10412
|
+
mode: "multiple",
|
|
10413
|
+
placeholder: '请输入SKC编码查询'
|
|
10414
|
+
},
|
|
10415
|
+
requestConfig: {
|
|
10416
|
+
url: '/items/sku//listNoPage/Simple',
|
|
10417
|
+
filter: 'qp-skcCode,name-orGroup,like',
|
|
10418
|
+
mappingTextField: 'name',
|
|
10419
|
+
mappingValueField: 'skcCode',
|
|
10420
|
+
sourceName: 'qp-skcCode-in',
|
|
10421
|
+
specialBracket: true,
|
|
10422
|
+
otherParams: {
|
|
10423
|
+
'ownOrgSign': getCurrentTargetBgId(),
|
|
10424
|
+
'ctl-count': true
|
|
10425
|
+
} // 默认参数
|
|
10426
|
+
}
|
|
10427
|
+
}
|
|
10428
|
+
}
|
|
10429
|
+
}, {
|
|
10430
|
+
name: 'qp-year-in',
|
|
10431
|
+
type: 'select',
|
|
10432
|
+
label: '年份',
|
|
10375
10433
|
field: {
|
|
10376
|
-
type: '
|
|
10434
|
+
type: 'select',
|
|
10435
|
+
props: {
|
|
10436
|
+
mode: 'multiple',
|
|
10437
|
+
notFoundContent: '暂无数据',
|
|
10438
|
+
allowClear: true,
|
|
10439
|
+
showSearch: true,
|
|
10440
|
+
showArrow: true,
|
|
10441
|
+
maxTagCount: 1,
|
|
10442
|
+
optionFilterProp: 'children',
|
|
10443
|
+
filterOption: function filterOption(input, option) {
|
|
10444
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10445
|
+
}
|
|
10446
|
+
}
|
|
10377
10447
|
}
|
|
10378
|
-
}
|
|
10448
|
+
}, {
|
|
10449
|
+
name: 'qp-season-in',
|
|
10450
|
+
type: 'select',
|
|
10451
|
+
label: '季节',
|
|
10452
|
+
field: {
|
|
10453
|
+
type: 'select',
|
|
10454
|
+
props: {
|
|
10455
|
+
mode: 'multiple',
|
|
10456
|
+
notFoundContent: '暂无数据',
|
|
10457
|
+
allowClear: true,
|
|
10458
|
+
showSearch: true,
|
|
10459
|
+
showArrow: true,
|
|
10460
|
+
maxTagCount: 1,
|
|
10461
|
+
optionFilterProp: 'children',
|
|
10462
|
+
filterOption: function filterOption(input, option) {
|
|
10463
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10464
|
+
}
|
|
10465
|
+
}
|
|
10466
|
+
}
|
|
10467
|
+
}, {
|
|
10468
|
+
name: 'qp-zzbdbm-in',
|
|
10469
|
+
type: 'select',
|
|
10470
|
+
label: '波段',
|
|
10471
|
+
field: {
|
|
10472
|
+
type: 'select',
|
|
10473
|
+
props: {
|
|
10474
|
+
mode: 'multiple',
|
|
10475
|
+
notFoundContent: '暂无数据',
|
|
10476
|
+
allowClear: true,
|
|
10477
|
+
showSearch: true,
|
|
10478
|
+
showArrow: true,
|
|
10479
|
+
maxTagCount: 1,
|
|
10480
|
+
optionFilterProp: 'children',
|
|
10481
|
+
filterOption: function filterOption(input, option) {
|
|
10482
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10483
|
+
}
|
|
10484
|
+
}
|
|
10485
|
+
}
|
|
10486
|
+
}, {
|
|
10487
|
+
name: 'qp-zzdlbm-in',
|
|
10488
|
+
type: 'select',
|
|
10489
|
+
label: '品类',
|
|
10490
|
+
field: {
|
|
10491
|
+
type: 'select',
|
|
10492
|
+
props: {
|
|
10493
|
+
mode: 'multiple',
|
|
10494
|
+
notFoundContent: '暂无数据',
|
|
10495
|
+
allowClear: true,
|
|
10496
|
+
showSearch: true,
|
|
10497
|
+
showArrow: true,
|
|
10498
|
+
maxTagCount: 1,
|
|
10499
|
+
optionFilterProp: 'children',
|
|
10500
|
+
filterOption: function filterOption(input, option) {
|
|
10501
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10502
|
+
}
|
|
10503
|
+
}
|
|
10504
|
+
}
|
|
10505
|
+
}, {
|
|
10506
|
+
name: 'qp-zzzlbm-in',
|
|
10507
|
+
type: 'select',
|
|
10508
|
+
label: '大类',
|
|
10509
|
+
field: {
|
|
10510
|
+
type: 'select',
|
|
10511
|
+
props: {
|
|
10512
|
+
mode: 'multiple',
|
|
10513
|
+
notFoundContent: '暂无数据',
|
|
10514
|
+
allowClear: true,
|
|
10515
|
+
showSearch: true,
|
|
10516
|
+
showArrow: true,
|
|
10517
|
+
maxTagCount: 1,
|
|
10518
|
+
optionFilterProp: 'children',
|
|
10519
|
+
filterOption: function filterOption(input, option) {
|
|
10520
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10521
|
+
}
|
|
10522
|
+
}
|
|
10523
|
+
}
|
|
10524
|
+
}, {
|
|
10525
|
+
name: 'qp-zzxlbm-in',
|
|
10526
|
+
type: 'select',
|
|
10527
|
+
label: '中类',
|
|
10528
|
+
field: {
|
|
10529
|
+
type: 'select',
|
|
10530
|
+
props: {
|
|
10531
|
+
mode: 'multiple',
|
|
10532
|
+
notFoundContent: '暂无数据',
|
|
10533
|
+
allowClear: true,
|
|
10534
|
+
showSearch: true,
|
|
10535
|
+
showArrow: true,
|
|
10536
|
+
maxTagCount: 1,
|
|
10537
|
+
optionFilterProp: 'children',
|
|
10538
|
+
filterOption: function filterOption(input, option) {
|
|
10539
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10540
|
+
}
|
|
10541
|
+
}
|
|
10542
|
+
}
|
|
10543
|
+
}
|
|
10544
|
+
// { name: 'UNIQUE_SPEC', label: '属性', field: {
|
|
10545
|
+
// type: 'proppertySelector',
|
|
10546
|
+
// } },
|
|
10547
|
+
];
|
|
10379
10548
|
var defaultQSHL = [{
|
|
10380
10549
|
isOpen: true,
|
|
10381
10550
|
queryKey: 'qp-brandId-in'
|
|
10551
|
+
}, {
|
|
10552
|
+
isOpen: true,
|
|
10553
|
+
queryKey: 'qp-categoryId-in'
|
|
10554
|
+
}, {
|
|
10555
|
+
isOpen: true,
|
|
10556
|
+
queryKey: 'qp-year-in'
|
|
10557
|
+
}, {
|
|
10558
|
+
isOpen: true,
|
|
10559
|
+
queryKey: 'qp-season-in'
|
|
10560
|
+
}, {
|
|
10561
|
+
isOpen: true,
|
|
10562
|
+
queryKey: 'qp-zzbdbm-in'
|
|
10563
|
+
}, {
|
|
10564
|
+
isOpen: true,
|
|
10565
|
+
queryKey: 'qp-zzdlbm-in'
|
|
10566
|
+
}, {
|
|
10567
|
+
isOpen: true,
|
|
10568
|
+
queryKey: 'qp-zzzlbm-in'
|
|
10569
|
+
}, {
|
|
10570
|
+
isOpen: true,
|
|
10571
|
+
queryKey: 'qp-zzxlbm-in'
|
|
10382
10572
|
}];
|
|
10383
10573
|
var _queryHeaderParams2 = getQueryHeadersList({
|
|
10384
10574
|
defaultQSHL: defaultQSHL,
|
|
@@ -10392,14 +10582,38 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10392
10582
|
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-brandId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
|
|
10393
10583
|
pageSize: 5000,
|
|
10394
10584
|
currentPage: 1
|
|
10395
|
-
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in'))
|
|
10585
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10586
|
+
'qp-propertyCode-eq': 'PROP_YEAR',
|
|
10587
|
+
pageSize: 999
|
|
10588
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-year-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10589
|
+
'qp-propertyCode-eq': 'PROP_SEASON',
|
|
10590
|
+
pageSize: 999
|
|
10591
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-season-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/band"), {
|
|
10592
|
+
pageSize: 999,
|
|
10593
|
+
currentPage: 1
|
|
10594
|
+
}, 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"), {
|
|
10595
|
+
'qp-propertyCode-eq': 'MID_CATA',
|
|
10596
|
+
pageSize: 999
|
|
10597
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzzlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10598
|
+
'qp-propertyCode-eq': 'PROP_SUBCATEORY',
|
|
10599
|
+
pageSize: 999
|
|
10600
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in'))]).then(function (x) {
|
|
10396
10601
|
formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
|
|
10397
10602
|
formatTreeDataSource(x, 1, 4, tableSearchForm);
|
|
10603
|
+
formatSource(x, 0, getFieldIndex(tableSearchForm, 'qp-brandId-in'), tableSearchForm, ['id', 'name']);
|
|
10604
|
+
formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'qp-categoryId-in'), tableSearchForm);
|
|
10605
|
+
formatSource(x, 2, getFieldIndex(tableSearchForm, 'qp-year-in'), tableSearchForm, ['value', 'value']);
|
|
10606
|
+
formatSource(x, 3, getFieldIndex(tableSearchForm, 'qp-season-in'), tableSearchForm, ['value', 'value']);
|
|
10607
|
+
formatSource(x, 4, getFieldIndex(tableSearchForm, 'qp-zzbdbm-in'), tableSearchForm, ['bandCode', 'bandName']);
|
|
10608
|
+
formatSource(x, 5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10609
|
+
formatSource(x, 6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10610
|
+
formatSource(x, 7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10398
10611
|
});
|
|
10399
10612
|
modalTableProps = _objectSpread2({
|
|
10400
10613
|
modalTableTitle: '选择SKU',
|
|
10401
10614
|
tableSearchForm: tableSearchForm,
|
|
10402
10615
|
isHorizontally: true,
|
|
10616
|
+
tableSearchColSpan: 6,
|
|
10403
10617
|
tableColumns: [{
|
|
10404
10618
|
title: '序号',
|
|
10405
10619
|
dataIndex: 'keyIndex',
|
|
@@ -11159,14 +11373,25 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11159
11373
|
}, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
|
|
11160
11374
|
'qp-status-eq': 1
|
|
11161
11375
|
}, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in'))]).then(function (x) {
|
|
11376
|
+
var _x$, _x$$data$, _x$$data$$channelInfo;
|
|
11377
|
+
debugger;
|
|
11378
|
+
// 战区限制一级数据
|
|
11379
|
+
var newData1 = [];
|
|
11380
|
+
(_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) {
|
|
11381
|
+
newData1.push({
|
|
11382
|
+
code: item.code,
|
|
11383
|
+
name: item.name
|
|
11384
|
+
});
|
|
11385
|
+
});
|
|
11386
|
+
x[0].data = newData1;
|
|
11162
11387
|
var channelDisabledJude = function channelDisabledJude(data) {
|
|
11163
11388
|
return data['parentCode'] === '0';
|
|
11164
11389
|
}; // 所属销售渠道 树节点不能点判断
|
|
11165
11390
|
var areaDisabledJude = function areaDisabledJude(data) {
|
|
11166
11391
|
return data['parent'] === '0';
|
|
11167
11392
|
}; // 所属营销区域 树节点不能点判断
|
|
11168
|
-
formatTreeDataSource(x, 0,
|
|
11169
|
-
formatTreeDataSource(x, 1,
|
|
11393
|
+
formatTreeDataSource(x, 0, 3, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
|
|
11394
|
+
formatTreeDataSource(x, 1, 4, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
|
|
11170
11395
|
});
|
|
11171
11396
|
tableSearchForm = [{
|
|
11172
11397
|
name: 'realWarehouseName*multiInput',
|
|
@@ -11181,20 +11406,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11181
11406
|
type: 'select',
|
|
11182
11407
|
label: '逻辑仓类型',
|
|
11183
11408
|
initialSource: getDictionarySource$1('SC00004')
|
|
11184
|
-
},
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
type: 'select',
|
|
11188
|
-
props: {
|
|
11189
|
-
mode: 'multiple'
|
|
11190
|
-
}
|
|
11191
|
-
},
|
|
11192
|
-
label: '管理大区',
|
|
11193
|
-
initialSource: getDictionarySource$1('BUSINESS_belongArea')
|
|
11194
|
-
}, {
|
|
11409
|
+
},
|
|
11410
|
+
// { name: 'belongArea', field: {type: 'select', props: {mode: 'multiple',}}, label: '管理大区', initialSource: getDictionarySource('BUSINESS_belongArea'), },
|
|
11411
|
+
{
|
|
11195
11412
|
name: 'qp-channelCode-in',
|
|
11196
11413
|
type: 'treeSelect',
|
|
11197
|
-
label: '
|
|
11414
|
+
label: '战区',
|
|
11198
11415
|
field: {
|
|
11199
11416
|
type: 'treeSelect',
|
|
11200
11417
|
props: {
|
|
@@ -11216,7 +11433,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11216
11433
|
}, {
|
|
11217
11434
|
name: 'qp-refCode-in',
|
|
11218
11435
|
type: 'treeSelect',
|
|
11219
|
-
label: '
|
|
11436
|
+
label: '大区',
|
|
11220
11437
|
field: {
|
|
11221
11438
|
type: 'treeSelect',
|
|
11222
11439
|
props: {
|
|
@@ -11292,7 +11509,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11292
11509
|
},
|
|
11293
11510
|
width: 100
|
|
11294
11511
|
}, {
|
|
11295
|
-
title: '
|
|
11512
|
+
title: '战区',
|
|
11296
11513
|
dataIndex: 'channelName',
|
|
11297
11514
|
defaultSort: 4,
|
|
11298
11515
|
width: 100
|
|
@@ -11373,11 +11590,11 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11373
11590
|
}
|
|
11374
11591
|
}
|
|
11375
11592
|
}, {
|
|
11376
|
-
name: 'qp-
|
|
11377
|
-
type: '
|
|
11378
|
-
label: '
|
|
11593
|
+
name: 'qp-operationWarehouseClassification-in',
|
|
11594
|
+
type: 'select',
|
|
11595
|
+
label: '分类',
|
|
11379
11596
|
field: {
|
|
11380
|
-
type: '
|
|
11597
|
+
type: 'select',
|
|
11381
11598
|
props: {
|
|
11382
11599
|
multiple: true,
|
|
11383
11600
|
treeData: [],
|
|
@@ -11393,7 +11610,8 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11393
11610
|
},
|
|
11394
11611
|
showCheckedStrategy: 'TreeSelect.SHOW_ALL'
|
|
11395
11612
|
}
|
|
11396
|
-
}
|
|
11613
|
+
},
|
|
11614
|
+
initialSource: getDictionarySource$1('BASIC_OPS_WH_TYPE')
|
|
11397
11615
|
}].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
|
|
11398
11616
|
name: 'qp-status-eq',
|
|
11399
11617
|
type: 'select',
|
|
@@ -11411,11 +11629,16 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11411
11629
|
'qp-isMain-eq': 1,
|
|
11412
11630
|
'qp-type-in': '1,2'
|
|
11413
11631
|
}, getQueryHeadersItem(_queryHeaderParams8, 'qp-orgCode-in'))]).then(function (x) {
|
|
11632
|
+
var _x$2, _x$2$data$, _x$2$data$$channelInf;
|
|
11414
11633
|
formatSource(x, 0, 2, tableSearchForm, ['groupCode', 'groupName']);
|
|
11415
|
-
var
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11634
|
+
var newData1 = [];
|
|
11635
|
+
(_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) {
|
|
11636
|
+
newData1.push({
|
|
11637
|
+
code: item.code,
|
|
11638
|
+
name: item.name
|
|
11639
|
+
});
|
|
11640
|
+
});
|
|
11641
|
+
x[1].data = newData1;
|
|
11419
11642
|
});
|
|
11420
11643
|
modalTableProps = _objectSpread2({
|
|
11421
11644
|
modalTableTitle: '选择运营仓',
|
|
@@ -11687,18 +11910,18 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11687
11910
|
name: 'qp-code-like',
|
|
11688
11911
|
label: '客户编码'
|
|
11689
11912
|
}, {
|
|
11690
|
-
name: 'qp-createOrgCode-
|
|
11913
|
+
name: 'qp-createOrgCode-in',
|
|
11691
11914
|
type: 'select',
|
|
11692
11915
|
label: '创建组织',
|
|
11693
11916
|
field: {
|
|
11694
11917
|
type: 'select',
|
|
11695
11918
|
props: {
|
|
11696
|
-
|
|
11919
|
+
mode: 'multiple',
|
|
11697
11920
|
notFoundContent: '暂无数据',
|
|
11698
11921
|
allowClear: true,
|
|
11699
11922
|
showSearch: true,
|
|
11700
11923
|
showArrow: true,
|
|
11701
|
-
|
|
11924
|
+
maxTagCount: 1,
|
|
11702
11925
|
optionFilterProp: 'children',
|
|
11703
11926
|
filterOption: function filterOption(input, option) {
|
|
11704
11927
|
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
@@ -12095,7 +12318,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12095
12318
|
}, {
|
|
12096
12319
|
name: 'qp-channelCode-in',
|
|
12097
12320
|
type: 'treeSelect',
|
|
12098
|
-
label: '
|
|
12321
|
+
label: '战区',
|
|
12099
12322
|
field: {
|
|
12100
12323
|
type: 'treeSelect',
|
|
12101
12324
|
props: {
|
|
@@ -12117,7 +12340,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12117
12340
|
}, {
|
|
12118
12341
|
name: 'qp-commonRelationAreaCode-in',
|
|
12119
12342
|
type: 'treeSelect',
|
|
12120
|
-
label: '
|
|
12343
|
+
label: '大区',
|
|
12121
12344
|
field: {
|
|
12122
12345
|
type: 'treeSelect',
|
|
12123
12346
|
props: {
|
|
@@ -12174,6 +12397,102 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12174
12397
|
}
|
|
12175
12398
|
}
|
|
12176
12399
|
}
|
|
12400
|
+
}, {
|
|
12401
|
+
name: 'qp-manageSupervisor-like',
|
|
12402
|
+
type: 'select',
|
|
12403
|
+
label: '管理督导',
|
|
12404
|
+
field: {
|
|
12405
|
+
type: 'select',
|
|
12406
|
+
props: {
|
|
12407
|
+
notFoundContent: '暂无数据',
|
|
12408
|
+
allowClear: true,
|
|
12409
|
+
showSearch: true,
|
|
12410
|
+
showArrow: true,
|
|
12411
|
+
maxTagCount: 1,
|
|
12412
|
+
optionFilterProp: 'children',
|
|
12413
|
+
filterOption: function filterOption(input, option) {
|
|
12414
|
+
var _option$value;
|
|
12415
|
+
debugger;
|
|
12416
|
+
return ((_option$value = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value !== void 0 ? _option$value : '').toLowerCase().includes(input.toLowerCase());
|
|
12417
|
+
}
|
|
12418
|
+
}
|
|
12419
|
+
}
|
|
12420
|
+
}, {
|
|
12421
|
+
name: 'qp-directSupervisor-like',
|
|
12422
|
+
type: 'select',
|
|
12423
|
+
label: '直接督导',
|
|
12424
|
+
field: {
|
|
12425
|
+
type: 'select',
|
|
12426
|
+
props: {
|
|
12427
|
+
notFoundContent: '暂无数据',
|
|
12428
|
+
allowClear: true,
|
|
12429
|
+
showSearch: true,
|
|
12430
|
+
showArrow: true,
|
|
12431
|
+
maxTagCount: 1,
|
|
12432
|
+
optionFilterProp: 'children',
|
|
12433
|
+
filterOption: function filterOption(input, option) {
|
|
12434
|
+
var _option$value2;
|
|
12435
|
+
return ((_option$value2 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value2 !== void 0 ? _option$value2 : '').toLowerCase().includes(input.toLowerCase());
|
|
12436
|
+
}
|
|
12437
|
+
}
|
|
12438
|
+
}
|
|
12439
|
+
}, {
|
|
12440
|
+
name: 'qp-distributionItem-like',
|
|
12441
|
+
type: 'select',
|
|
12442
|
+
label: '分销商品',
|
|
12443
|
+
field: {
|
|
12444
|
+
type: 'select',
|
|
12445
|
+
props: {
|
|
12446
|
+
notFoundContent: '暂无数据',
|
|
12447
|
+
allowClear: true,
|
|
12448
|
+
showSearch: true,
|
|
12449
|
+
showArrow: true,
|
|
12450
|
+
maxTagCount: 1,
|
|
12451
|
+
optionFilterProp: 'children',
|
|
12452
|
+
filterOption: function filterOption(input, option) {
|
|
12453
|
+
var _option$value3;
|
|
12454
|
+
return ((_option$value3 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value3 !== void 0 ? _option$value3 : '').toLowerCase().includes(input.toLowerCase());
|
|
12455
|
+
}
|
|
12456
|
+
}
|
|
12457
|
+
}
|
|
12458
|
+
}, {
|
|
12459
|
+
name: 'qp-headItem-like',
|
|
12460
|
+
type: 'select',
|
|
12461
|
+
label: '总部商品',
|
|
12462
|
+
field: {
|
|
12463
|
+
type: 'select',
|
|
12464
|
+
props: {
|
|
12465
|
+
notFoundContent: '暂无数据',
|
|
12466
|
+
allowClear: true,
|
|
12467
|
+
showSearch: true,
|
|
12468
|
+
showArrow: true,
|
|
12469
|
+
maxTagCount: 1,
|
|
12470
|
+
optionFilterProp: 'children',
|
|
12471
|
+
filterOption: function filterOption(input, option) {
|
|
12472
|
+
var _option$value4;
|
|
12473
|
+
return ((_option$value4 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value4 !== void 0 ? _option$value4 : '').toLowerCase().includes(input.toLowerCase());
|
|
12474
|
+
}
|
|
12475
|
+
}
|
|
12476
|
+
}
|
|
12477
|
+
}, {
|
|
12478
|
+
name: 'qp-storeChannelName-like',
|
|
12479
|
+
type: 'select',
|
|
12480
|
+
label: '管理模式',
|
|
12481
|
+
field: {
|
|
12482
|
+
type: 'select',
|
|
12483
|
+
props: {
|
|
12484
|
+
notFoundContent: '暂无数据',
|
|
12485
|
+
allowClear: true,
|
|
12486
|
+
showSearch: true,
|
|
12487
|
+
showArrow: true,
|
|
12488
|
+
maxTagCount: 1,
|
|
12489
|
+
optionFilterProp: 'children',
|
|
12490
|
+
filterOption: function filterOption(input, option) {
|
|
12491
|
+
var _option$value5;
|
|
12492
|
+
return ((_option$value5 = option === null || option === void 0 ? void 0 : option.value) !== null && _option$value5 !== void 0 ? _option$value5 : '').toLowerCase().includes(input.toLowerCase());
|
|
12493
|
+
}
|
|
12494
|
+
}
|
|
12495
|
+
}
|
|
12177
12496
|
}];
|
|
12178
12497
|
var _queryHeaderParams10 = getQueryHeadersList({
|
|
12179
12498
|
querySelectHeadersList: querySelectHeadersList,
|
|
@@ -12193,7 +12512,18 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12193
12512
|
pageSize: 5000,
|
|
12194
12513
|
currentPage: 1,
|
|
12195
12514
|
'ctl-withAuth': true
|
|
12196
|
-
}, getQueryHeadersItem(_queryHeaderParams10, 'ctl-withAuth'))
|
|
12515
|
+
}, getQueryHeadersItem(_queryHeaderParams10, 'ctl-withAuth')), loadSelectSource$1("/channel-manage/store/selectStoreOperationalInfo", {}, {
|
|
12516
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
12517
|
+
})]).then(function (x) {
|
|
12518
|
+
var _x$3, _x$3$data$, _x$3$data$$channelInf, _x$4, _opList, _opList$, _opList2, _opList3, _opList4, _opList5, _opList6;
|
|
12519
|
+
var newData1 = [];
|
|
12520
|
+
(_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) {
|
|
12521
|
+
newData1.push({
|
|
12522
|
+
code: item.code,
|
|
12523
|
+
name: item.name
|
|
12524
|
+
});
|
|
12525
|
+
});
|
|
12526
|
+
x[1].data = newData1;
|
|
12197
12527
|
var channelDisabledJude = function channelDisabledJude(data) {
|
|
12198
12528
|
return data['parentCode'] === '0';
|
|
12199
12529
|
}; // 所属销售渠道 树节点不能点判断
|
|
@@ -12204,6 +12534,46 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12204
12534
|
formatTreeDataSource(x, 1, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
|
|
12205
12535
|
formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
|
|
12206
12536
|
formatSource(x, 3, 7, tableSearchForm, ['brandCode', 'name']);
|
|
12537
|
+
var opRaw = (_x$4 = x[4]) === null || _x$4 === void 0 ? void 0 : _x$4.data;
|
|
12538
|
+
// 新增label属性
|
|
12539
|
+
(_opList = opList) === null || _opList === void 0 ? void 0 : _opList.forEach(function (r) {
|
|
12540
|
+
r.label = r === null || r === void 0 ? void 0 : r.value;
|
|
12541
|
+
});
|
|
12542
|
+
var opList = Array.isArray(opRaw) ? opRaw : (opRaw === null || opRaw === void 0 ? void 0 : opRaw.items) || (opRaw === null || opRaw === void 0 ? void 0 : opRaw.list) || [];
|
|
12543
|
+
if (Array.isArray(opList) && Array.isArray(opList[0]) && !((_opList$ = opList[0]) === null || _opList$ === void 0 ? void 0 : _opList$.field)) {
|
|
12544
|
+
opList = opList[0];
|
|
12545
|
+
}
|
|
12546
|
+
var m1 = (_opList2 = opList) === null || _opList2 === void 0 ? void 0 : _opList2.filter(function (r) {
|
|
12547
|
+
return (r === null || r === void 0 ? void 0 : r.field) === 'manage_supervisor' && trim(r === null || r === void 0 ? void 0 : r.value);
|
|
12548
|
+
});
|
|
12549
|
+
var m2 = (_opList3 = opList) === null || _opList3 === void 0 ? void 0 : _opList3.filter(function (r) {
|
|
12550
|
+
return (r === null || r === void 0 ? void 0 : r.field) === 'direct_supervisor' && trim(r === null || r === void 0 ? void 0 : r.value);
|
|
12551
|
+
});
|
|
12552
|
+
var m3 = (_opList4 = opList) === null || _opList4 === void 0 ? void 0 : _opList4.filter(function (r) {
|
|
12553
|
+
return (r === null || r === void 0 ? void 0 : r.field) === 'distribution_item' && trim(r === null || r === void 0 ? void 0 : r.value);
|
|
12554
|
+
});
|
|
12555
|
+
debugger;
|
|
12556
|
+
var m4 = (_opList5 = opList) === null || _opList5 === void 0 ? void 0 : _opList5.filter(function (r) {
|
|
12557
|
+
return (r === null || r === void 0 ? void 0 : r.field) === 'head_item' && trim(r === null || r === void 0 ? void 0 : r.value);
|
|
12558
|
+
});
|
|
12559
|
+
var m5 = (_opList6 = opList) === null || _opList6 === void 0 ? void 0 : _opList6.filter(function (r) {
|
|
12560
|
+
return (r === null || r === void 0 ? void 0 : r.field) === 'store_channel_name' && trim(r === null || r === void 0 ? void 0 : r.value);
|
|
12561
|
+
});
|
|
12562
|
+
tableSearchForm[8] = _objectSpread2(_objectSpread2({}, tableSearchForm[8]), {}, {
|
|
12563
|
+
initialSource: m1
|
|
12564
|
+
});
|
|
12565
|
+
tableSearchForm[9] = _objectSpread2(_objectSpread2({}, tableSearchForm[9]), {}, {
|
|
12566
|
+
initialSource: m2
|
|
12567
|
+
});
|
|
12568
|
+
tableSearchForm[10] = _objectSpread2(_objectSpread2({}, tableSearchForm[10]), {}, {
|
|
12569
|
+
initialSource: m3
|
|
12570
|
+
});
|
|
12571
|
+
tableSearchForm[11] = _objectSpread2(_objectSpread2({}, tableSearchForm[11]), {}, {
|
|
12572
|
+
initialSource: m4
|
|
12573
|
+
});
|
|
12574
|
+
tableSearchForm[12] = _objectSpread2(_objectSpread2({}, tableSearchForm[12]), {}, {
|
|
12575
|
+
initialSource: m5
|
|
12576
|
+
});
|
|
12207
12577
|
});
|
|
12208
12578
|
modalTableProps = _objectSpread2({
|
|
12209
12579
|
modalTableTitle: '选择商店',
|
|
@@ -12267,6 +12637,36 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12267
12637
|
return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
|
|
12268
12638
|
},
|
|
12269
12639
|
width: 80
|
|
12640
|
+
}, {
|
|
12641
|
+
title: '品牌',
|
|
12642
|
+
dataIndex: 'brandName',
|
|
12643
|
+
defaultSort: 8,
|
|
12644
|
+
width: 80
|
|
12645
|
+
}, {
|
|
12646
|
+
title: '管理督导',
|
|
12647
|
+
dataIndex: 'manageSupervisor',
|
|
12648
|
+
defaultSort: 9,
|
|
12649
|
+
width: 100
|
|
12650
|
+
}, {
|
|
12651
|
+
title: '直接督导',
|
|
12652
|
+
dataIndex: 'directSupervisor',
|
|
12653
|
+
defaultSort: 10,
|
|
12654
|
+
width: 100
|
|
12655
|
+
}, {
|
|
12656
|
+
title: '分销商品',
|
|
12657
|
+
dataIndex: 'distributionItem',
|
|
12658
|
+
defaultSort: 11,
|
|
12659
|
+
width: 100
|
|
12660
|
+
}, {
|
|
12661
|
+
title: '总部商品',
|
|
12662
|
+
dataIndex: 'headItem',
|
|
12663
|
+
defaultSort: 12,
|
|
12664
|
+
width: 100
|
|
12665
|
+
}, {
|
|
12666
|
+
title: '管理模式',
|
|
12667
|
+
dataIndex: 'storeChannelName',
|
|
12668
|
+
defaultSort: 13,
|
|
12669
|
+
width: 100
|
|
12270
12670
|
}],
|
|
12271
12671
|
noEmptySearchField: true
|
|
12272
12672
|
}, modalTableBusProps);
|
|
@@ -14808,7 +15208,7 @@ function getStorageVale(storageKeyString) {
|
|
|
14808
15208
|
var _storageKeyString$spl = storageKeyString.split('.'),
|
|
14809
15209
|
_storageKeyString$spl2 = _toArray(_storageKeyString$spl),
|
|
14810
15210
|
localstorage = _storageKeyString$spl2[0],
|
|
14811
|
-
restKeyArrays = _storageKeyString$spl2.slice(1);
|
|
15211
|
+
restKeyArrays = _arrayLikeToArray(_storageKeyString$spl2).slice(1);
|
|
14812
15212
|
var localStorageInfo = window.localStorage.getItem(localstorage);
|
|
14813
15213
|
if (!restKeyArrays.length) return localStorageInfo;
|
|
14814
15214
|
var returnVal = JSON.parse(localStorageInfo || '{}');
|
|
@@ -17846,6 +18246,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17846
18246
|
title: '列首',
|
|
17847
18247
|
dataIndex: 'fixedLeft',
|
|
17848
18248
|
render: function render(text, record) {
|
|
18249
|
+
if (_this.props.disableColumnFixed) {
|
|
18250
|
+
return null;
|
|
18251
|
+
}
|
|
17849
18252
|
return /*#__PURE__*/React$1.createElement("span", {
|
|
17850
18253
|
onClick: function onClick() {
|
|
17851
18254
|
var sortDataSource = _this.state.sortDataSource;
|
|
@@ -17922,6 +18325,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17922
18325
|
title: '列尾',
|
|
17923
18326
|
dataIndex: 'fixedRight',
|
|
17924
18327
|
render: function render(text, record) {
|
|
18328
|
+
if (_this.props.disableColumnFixed) {
|
|
18329
|
+
return null;
|
|
18330
|
+
}
|
|
17925
18331
|
return /*#__PURE__*/React$1.createElement("span", {
|
|
17926
18332
|
onClick: function onClick() {
|
|
17927
18333
|
var sortDataSource = _this.state.sortDataSource;
|
|
@@ -19171,7 +19577,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
|
|
|
19171
19577
|
}, /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps)));
|
|
19172
19578
|
};
|
|
19173
19579
|
var BsSulaQueryTable = (function (props) {
|
|
19174
|
-
var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _value$exportConfig6;
|
|
19580
|
+
var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _props$tableProps, _value$exportConfig6;
|
|
19175
19581
|
var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
|
|
19176
19582
|
var rowsRef = useRef(null);
|
|
19177
19583
|
// 获取 table columns中所有的 key 防止有的地方是 dataindex
|
|
@@ -19254,8 +19660,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
19254
19660
|
setPagePath = _useState0[1];
|
|
19255
19661
|
var _useLocation = useLocation(),
|
|
19256
19662
|
pathname = _useLocation.pathname,
|
|
19257
|
-
_useLocation$state = _useLocation.state
|
|
19258
|
-
state = _useLocation$state === void 0 ? {} : _useLocation$state;
|
|
19663
|
+
_useLocation$state = _useLocation.state;
|
|
19259
19664
|
var _useState1 = useState(false),
|
|
19260
19665
|
_useState10 = _slicedToArray(_useState1, 2),
|
|
19261
19666
|
isFullScreen = _useState10[0],
|
|
@@ -19731,17 +20136,16 @@ var BsSulaQueryTable = (function (props) {
|
|
|
19731
20136
|
isFullScreen: isFullScreen
|
|
19732
20137
|
});
|
|
19733
20138
|
useEffect(function () {
|
|
19734
|
-
if (!localStorage.getItem('isTabChange') ||
|
|
19735
|
-
|
|
19736
|
-
|
|
19737
|
-
|
|
19738
|
-
|
|
19739
|
-
|
|
19740
|
-
|
|
19741
|
-
|
|
19742
|
-
|
|
19743
|
-
|
|
19744
|
-
}, 0);
|
|
20139
|
+
// if (!localStorage.getItem('isTabChange') || state?.updateCurrentPage) {
|
|
20140
|
+
// if (pagePath === pathname) {
|
|
20141
|
+
// // @ts-ignore
|
|
20142
|
+
// config.ref?.current?.tableRef?.current?.refreshTable();
|
|
20143
|
+
// }
|
|
20144
|
+
// }
|
|
20145
|
+
// setTimeout(() => {
|
|
20146
|
+
// // 处理页面刷新两面
|
|
20147
|
+
// localStorage.removeItem('isTabChange');
|
|
20148
|
+
// }, 0);
|
|
19745
20149
|
}, [pathname]);
|
|
19746
20150
|
var expandedRowKeys = props === null || props === void 0 ? void 0 : (_props$expandable = props.expandable) === null || _props$expandable === void 0 ? void 0 : _props$expandable.expandedRowKeys;
|
|
19747
20151
|
//todo summary属性已经被使用,为了兼容之前的,现在使用 summaryList
|
|
@@ -19832,6 +20236,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
19832
20236
|
id: "bs-sula-query-table"
|
|
19833
20237
|
}, /*#__PURE__*/React$1.createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React$1.createElement(SortableTable$1, {
|
|
19834
20238
|
ref: sortTableRef,
|
|
20239
|
+
disableColumnFixed: (_props$tableProps = props.tableProps) === null || _props$tableProps === void 0 ? void 0 : _props$tableProps.isVirtualTable,
|
|
19835
20240
|
setShowColumns: setResizeShowColumns,
|
|
19836
20241
|
showColumn: showColumn,
|
|
19837
20242
|
setInitialTableInfo: setInitialTableInfo,
|
|
@@ -19908,7 +20313,7 @@ var matchPath = function matchPath(pathname) {
|
|
|
19908
20313
|
if (!match) return null;
|
|
19909
20314
|
var _match = _toArray(match),
|
|
19910
20315
|
url = _match[0],
|
|
19911
|
-
values = _match.slice(1);
|
|
20316
|
+
values = _arrayLikeToArray(_match).slice(1);
|
|
19912
20317
|
var isExact = pathname === url;
|
|
19913
20318
|
if (exact && !isExact) return null;
|
|
19914
20319
|
return {
|
|
@@ -20989,6 +21394,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
20989
21394
|
})), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
|
|
20990
21395
|
};
|
|
20991
21396
|
|
|
21397
|
+
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";
|
|
21398
|
+
|
|
20992
21399
|
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";
|
|
20993
21400
|
styleInject(css_248z$o);
|
|
20994
21401
|
|
|
@@ -21694,7 +22101,28 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
21694
22101
|
};
|
|
21695
22102
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
21696
22103
|
className: 'customer_menu_content'
|
|
21697
|
-
},
|
|
22104
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
22105
|
+
style: {
|
|
22106
|
+
cursor: 'pointer'
|
|
22107
|
+
},
|
|
22108
|
+
onClick: function onClick(e) {
|
|
22109
|
+
handleClose();
|
|
22110
|
+
settingModalFn(_objectSpread2(_objectSpread2({}, settingModal), {}, {
|
|
22111
|
+
visible: true
|
|
22112
|
+
}));
|
|
22113
|
+
}
|
|
22114
|
+
}, /*#__PURE__*/React$1.createElement("img", {
|
|
22115
|
+
style: {
|
|
22116
|
+
marginTop: '-3px'
|
|
22117
|
+
},
|
|
22118
|
+
width: 24,
|
|
22119
|
+
src: addIcon
|
|
22120
|
+
}), /*#__PURE__*/React$1.createElement(Button, {
|
|
22121
|
+
type: 'link',
|
|
22122
|
+
style: {
|
|
22123
|
+
paddingLeft: '5px'
|
|
22124
|
+
}
|
|
22125
|
+
}, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
|
|
21698
22126
|
style: {
|
|
21699
22127
|
left: isDrawer ? 140 : 0
|
|
21700
22128
|
},
|
|
@@ -22196,7 +22624,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
|
|
|
22196
22624
|
if (item.children && item.children.length > 0) {
|
|
22197
22625
|
_getLimitedMenuKeys(item.children);
|
|
22198
22626
|
} else {
|
|
22199
|
-
var originPath =
|
|
22627
|
+
var originPath = item.path.replace(/^\/\w+\//, '/');
|
|
22200
22628
|
menuKeys.push(originPath);
|
|
22201
22629
|
if (pathToRegexp('/operation-and-maintenance-center/configuration-management/all-general-documents-specific/:id').test(originPath)) {
|
|
22202
22630
|
getId(originPath) && docsId.push(getId(originPath));
|
|
@@ -22446,7 +22874,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
22446
22874
|
return;
|
|
22447
22875
|
}
|
|
22448
22876
|
// todo:暂时处理非wujie环境不做404管控
|
|
22449
|
-
if (!window.__POWERED_BY_WUJIE__
|
|
22877
|
+
if (!window.__POWERED_BY_WUJIE__) {
|
|
22450
22878
|
treeList.push({
|
|
22451
22879
|
tab: node.locale,
|
|
22452
22880
|
key: node.path,
|
|
@@ -32565,7 +32993,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
|
|
|
32565
32993
|
});
|
|
32566
32994
|
Promise.all(axiosArr).then(function (_ref5) {
|
|
32567
32995
|
var _ref6 = _toArray(_ref5),
|
|
32568
|
-
resArr = _ref6.slice(0);
|
|
32996
|
+
resArr = _arrayLikeToArray(_ref6).slice(0);
|
|
32569
32997
|
var configParams = {};
|
|
32570
32998
|
detailTablesSetting.map(function (item, index) {
|
|
32571
32999
|
var _resArr$index;
|
|
@@ -35963,7 +36391,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35963
36391
|
}
|
|
35964
36392
|
}
|
|
35965
36393
|
// 配送方式选择器
|
|
35966
|
-
if (dataChoiceBusinessType == 310) {
|
|
36394
|
+
if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
|
|
35967
36395
|
if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
|
|
35968
36396
|
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
|
|
35969
36397
|
selectBusinessType: "deliveryMode",
|
|
@@ -35977,9 +36405,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
35977
36405
|
disabled: disabled,
|
|
35978
36406
|
labelInValue: true,
|
|
35979
36407
|
value: values[0],
|
|
35980
|
-
requestConfig: {
|
|
36408
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36409
|
+
otherParams: {
|
|
36410
|
+
// 配送方式只选择标准配送方式
|
|
36411
|
+
'qp-recordChannnelCode-eq': 80
|
|
36412
|
+
}
|
|
36413
|
+
} : {}), {}, {
|
|
35981
36414
|
filterInit: 'qp-code-in'
|
|
35982
|
-
},
|
|
36415
|
+
}),
|
|
35983
36416
|
onChange: function onChange(value) {
|
|
35984
36417
|
if (dataInputBusinessType === 12) {
|
|
35985
36418
|
values[0] = value.map(function (i) {
|
|
@@ -36009,9 +36442,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36009
36442
|
disabled: disabled,
|
|
36010
36443
|
labelInValue: true,
|
|
36011
36444
|
value: values[1],
|
|
36012
|
-
requestConfig: {
|
|
36445
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36446
|
+
otherParams: {
|
|
36447
|
+
// 配送方式只选择标准配送方式
|
|
36448
|
+
'qp-recordChannnelCode-eq': 80
|
|
36449
|
+
}
|
|
36450
|
+
} : {}), {}, {
|
|
36013
36451
|
filterInit: 'qp-code-in'
|
|
36014
|
-
},
|
|
36452
|
+
}),
|
|
36015
36453
|
onChange: function onChange(value) {
|
|
36016
36454
|
if (dataInputBusinessType === 12) {
|
|
36017
36455
|
values[1] = value.map(function (i) {
|
|
@@ -36055,9 +36493,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
36055
36493
|
disabled: disabled,
|
|
36056
36494
|
labelInValue: true,
|
|
36057
36495
|
value: _currentValue0,
|
|
36058
|
-
requestConfig: {
|
|
36496
|
+
requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
|
|
36497
|
+
otherParams: {
|
|
36498
|
+
// 配送方式只选择标准配送方式
|
|
36499
|
+
'qp-recordChannnelCode-eq': 80
|
|
36500
|
+
}
|
|
36501
|
+
} : {}), {}, {
|
|
36059
36502
|
filterInit: 'qp-code-in'
|
|
36060
|
-
},
|
|
36503
|
+
}),
|
|
36061
36504
|
onChange: function onChange(value) {
|
|
36062
36505
|
if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
|
|
36063
36506
|
values = value.map(function (i) {
|
|
@@ -37757,7 +38200,7 @@ function RenderCompItem(props) {
|
|
|
37757
38200
|
getPopupContainer: function getPopupContainer() {
|
|
37758
38201
|
return document.body;
|
|
37759
38202
|
}
|
|
37760
|
-
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
38203
|
+
})) || 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$1.createElement(BusinessSearchSelect$1, {
|
|
37761
38204
|
selectBusinessType: "deliveryMode",
|
|
37762
38205
|
selectProps: _objectSpread2({
|
|
37763
38206
|
style: styleCommon,
|
|
@@ -37769,9 +38212,14 @@ function RenderCompItem(props) {
|
|
|
37769
38212
|
disabled: disabled,
|
|
37770
38213
|
labelInValue: true,
|
|
37771
38214
|
value: showValue(ites.code),
|
|
37772
|
-
requestConfig: {
|
|
38215
|
+
requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
|
|
38216
|
+
otherParams: {
|
|
38217
|
+
// 配送方式只选择标准配送方式
|
|
38218
|
+
'qp-recordChannnelCode-eq': 80
|
|
38219
|
+
}
|
|
38220
|
+
} : {}), {}, {
|
|
37773
38221
|
filterInit: 'qp-code-in'
|
|
37774
|
-
},
|
|
38222
|
+
}),
|
|
37775
38223
|
onChange: function onChange(value) {
|
|
37776
38224
|
handleEdit(ites.code, value);
|
|
37777
38225
|
},
|