@bit-sun/business-component 4.2.1-alpha.8 → 4.2.1-alpha.8-longya

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/dist/index.js CHANGED
@@ -4873,14 +4873,14 @@ function ToCDB$1(selectStr) {
4873
4873
  return tmp;
4874
4874
  }
4875
4875
 
4876
- var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapLeft2 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapRight .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
4876
+ var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .search_select_current_page_filter_column {\n min-width: 140px;\n}\n.search_select_modal_wrapper .search_select_current_page_filter_column .ant-table-filter-column {\n min-width: 108px;\n}\n.search_select_modal_wrapper .search_select_current_page_filter_column .ant-table-column-title {\n min-width: 64px;\n white-space: nowrap;\n}\n.search_select_modal_wrapper .search_select_current_page_filter_column .ant-table-filter-trigger {\n flex: 0 0 32px;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapLeft2 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapRight .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
4877
4877
  styleInject(css_248z$6);
4878
4878
 
4879
- var SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE = 100;
4880
- var SEARCH_SELECT_MODAL_PAGE_SIZE_OPTIONS = [10, 20, 50, 100, 500, 1000];
4879
+ var SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE = 200;
4880
+ var SEARCH_SELECT_MODAL_PAGE_SIZE_OPTIONS = [10, 20, 50, 100, 200, 300, 500, 1000];
4881
4881
  var SEARCH_SELECT_MODAL_PAGE_SIZE_CACHE_KEY = 'businessComponentSearchSelectPageSize';
4882
4882
  /**
4883
- * 规范化选择器弹窗分页大小,缓存异常时统一回退到每页 100 条。
4883
+ * 规范化选择器弹窗分页大小,缓存异常时统一回退到默认条数。
4884
4884
  *
4885
4885
  * @param pageSize 待校验的分页大小
4886
4886
  * @returns 合法的分页大小
@@ -4892,7 +4892,7 @@ var normalizeSearchSelectModalPageSize = function normalizeSearchSelectModalPage
4892
4892
  /**
4893
4893
  * 读取所有选择器弹窗共用的分页大小。
4894
4894
  *
4895
- * @returns 缓存中的分页大小,无有效缓存时返回每页 100 条
4895
+ * @returns 缓存中的分页大小,无有效缓存时返回默认条数
4896
4896
  */
4897
4897
  var getSearchSelectModalPageSize = function getSearchSelectModalPageSize() {
4898
4898
  if (typeof window === 'undefined') {
@@ -5384,6 +5384,103 @@ var ItemPropertySelector = function ItemPropertySelector(_ref) {
5384
5384
  }));
5385
5385
  };
5386
5386
 
5387
+ var _excluded$5 = ["currentPageFilter", "children"];
5388
+ /**
5389
+ * SKU 选择弹框「当前页列筛选」默认字段(合并 BusinessSearchSelect / AddSkuSelect 命名)。
5390
+ * Functional 层按 dataIndex 命中自动开启,业务列不必再散标 currentPageFilter。
5391
+ */
5392
+ var SKU_CURRENT_PAGE_FILTER_DATA_INDEXES = ['skuCode', 'skuName', 'name', 'itemName', 'itemCode', 'styleCode', 'pinCode', 'longyaStyleCode', 'longyaPinCode', 'colorName', 'sizeName'];
5393
+ /**
5394
+ * 按 dataIndex 白名单为表格列打上 currentPageFilter。
5395
+ *
5396
+ * @param columns 原始表格列
5397
+ * @param dataIndexes 需要开启当前页筛选的字段
5398
+ * @returns 已标记的表格列
5399
+ */
5400
+ var markCurrentPageFilterByDataIndex = function markCurrentPageFilterByDataIndex() {
5401
+ var columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5402
+ var dataIndexes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : SKU_CURRENT_PAGE_FILTER_DATA_INDEXES;
5403
+ return columns.map(function (column) {
5404
+ return dataIndexes.includes(column === null || column === void 0 ? void 0 : column.dataIndex) ? _objectSpread2(_objectSpread2({}, column), {}, {
5405
+ currentPageFilter: true,
5406
+ width: column.width || 140
5407
+ }) : column;
5408
+ });
5409
+ };
5410
+ /**
5411
+ * 从当前页数据中提取指定字段的筛选项,过滤空值后按名称去重、排序。
5412
+ *
5413
+ * @param dataSource 当前页表格数据
5414
+ * @param dataIndex 作为筛选值的数据字段
5415
+ * @returns 当前页可用的筛选项
5416
+ */
5417
+ var getCurrentPageFilterOptions = function getCurrentPageFilterOptions() {
5418
+ var dataSource = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5419
+ var dataIndex = arguments.length > 1 ? arguments[1] : undefined;
5420
+ if (!dataIndex) {
5421
+ return [];
5422
+ }
5423
+ var optionMap = new Map();
5424
+ dataSource.forEach(function (record) {
5425
+ var rawValue = record === null || record === void 0 ? void 0 : record[dataIndex];
5426
+ if (rawValue === null || rawValue === undefined) {
5427
+ return;
5428
+ }
5429
+ var value = String(rawValue).trim();
5430
+ if (!value || optionMap.has(value)) {
5431
+ return;
5432
+ }
5433
+ optionMap.set(value, {
5434
+ text: value,
5435
+ value: value
5436
+ });
5437
+ });
5438
+ return Array.from(optionMap.values()).sort(function (left, right) {
5439
+ return left.text.localeCompare(right.text, 'zh-CN', {
5440
+ numeric: true
5441
+ });
5442
+ });
5443
+ };
5444
+ /**
5445
+ * 为声明了 currentPageFilter 的表格列注入当前页筛选能力。
5446
+ *
5447
+ * @param columns 原始表格列
5448
+ * @param dataSource 当前页表格数据
5449
+ * @param filteredValues 当前已选筛选值
5450
+ * @param enabled 是否启用筛选;已选结果表仅移除内部配置,不启用筛选
5451
+ * @returns 可直接传给 Ant Design Table 的表格列
5452
+ */
5453
+ var _buildCurrentPageFilterColumns = function buildCurrentPageFilterColumns() {
5454
+ var columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5455
+ var dataSource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
5456
+ var filteredValues = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
5457
+ var enabled = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
5458
+ return columns.map(function (column) {
5459
+ var currentPageFilter = column.currentPageFilter,
5460
+ children = column.children,
5461
+ columnProps = _objectWithoutProperties(column, _excluded$5);
5462
+ var nextColumn = _objectSpread2(_objectSpread2({}, columnProps), (children === null || children === void 0 ? void 0 : children.length) ? {
5463
+ children: _buildCurrentPageFilterColumns(children, dataSource, filteredValues, enabled)
5464
+ } : {});
5465
+ if (!currentPageFilter || !enabled || !column.dataIndex) {
5466
+ return nextColumn;
5467
+ }
5468
+ var dataIndex = column.dataIndex;
5469
+ var currentPageFilterClassName = [columnProps.className, 'search_select_current_page_filter_column'].filter(Boolean).join(' ');
5470
+ return _objectSpread2(_objectSpread2({}, nextColumn), {}, {
5471
+ width: columnProps.width || 140,
5472
+ className: currentPageFilterClassName,
5473
+ filters: getCurrentPageFilterOptions(dataSource, dataIndex),
5474
+ filterSearch: true,
5475
+ filteredValue: filteredValues[dataIndex] || null,
5476
+ onFilter: function onFilter(filterValue, record) {
5477
+ var _record$dataIndex;
5478
+ return String((_record$dataIndex = record === null || record === void 0 ? void 0 : record[dataIndex]) !== null && _record$dataIndex !== void 0 ? _record$dataIndex : '') === String(filterValue);
5479
+ }
5480
+ });
5481
+ });
5482
+ };
5483
+
5387
5484
  var Option$1 = antd.Select.Option;
5388
5485
  var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5389
5486
  var _pathname$match;
@@ -5425,7 +5522,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5425
5522
  mappingTextShowKeyField = _ref.mappingTextShowKeyField,
5426
5523
  _ref$mappingValueFiel = _ref.mappingValueField,
5427
5524
  mappingValueField = _ref$mappingValueFiel === void 0 ? 'code' : _ref$mappingValueFiel,
5428
- mappingOutputField = _ref.mappingOutputField,
5429
5525
  mappingTextShowTextField = _ref.mappingTextShowTextField,
5430
5526
  _ref$init = _ref.init,
5431
5527
  init = _ref$init === void 0 ? false : _ref$init,
@@ -5452,7 +5548,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5452
5548
  mappingTextField: mappingTextField,
5453
5549
  mappingTextShowKeyField: mappingTextShowKeyField,
5454
5550
  mappingValueField: mappingValueField,
5455
- mappingOutputField: mappingOutputField,
5456
5551
  mappingTextShowTextField: mappingTextShowTextField,
5457
5552
  init: init,
5458
5553
  extralHeaders: extralHeaders,
@@ -5516,77 +5611,42 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5516
5611
  _useState2 = _slicedToArray(_useState, 2),
5517
5612
  items = _useState2[0],
5518
5613
  setItems = _useState2[1];
5519
- var selectedRecordsRef = React$1.useRef([]);
5520
- var _useState3 = React$1.useState(0),
5614
+ var _useState3 = React$1.useState(false),
5521
5615
  _useState4 = _slicedToArray(_useState3, 2),
5522
- refreshSelectedRecords = _useState4[1];
5523
- /**
5524
- * 使用记录标识维护选中状态,同时保留原有表单业务值。
5525
- */
5526
- var getSelectedRecords = function getSelectedRecords() {
5527
- if (!mappingOutputField || !value) return [];
5528
- var outputValues = selectMode ? value : [value];
5529
- var codes = new Set((Array.isArray(outputValues) ? outputValues : [outputValues]).map(function (item) {
5530
- var _item$value;
5531
- return labelInValue ? (_item$value = item === null || item === void 0 ? void 0 : item.value) !== null && _item$value !== void 0 ? _item$value : item === null || item === void 0 ? void 0 : item.key : item;
5532
- }));
5533
- return _toConsumableArray(codes).flatMap(function (code) {
5534
- var cached = selectedRecordsRef.current.filter(function (item) {
5535
- return item[mappingOutputField] === code;
5536
- });
5537
- return cached.length ? cached : items.filter(function (item) {
5538
- return item[mappingOutputField] === code;
5539
- }).slice(0, 1);
5540
- });
5541
- };
5542
- var getIdentityValue = function getIdentityValue() {
5543
- if (!mappingOutputField) return value;
5544
- var keys = getSelectedRecords().map(function (item) {
5545
- return labelInValue ? {
5546
- key: item[mappingValueField],
5547
- value: item[mappingValueField],
5548
- label: item[mappingTextField]
5549
- } : item[mappingValueField];
5550
- });
5551
- if (!keys.length) return value;
5552
- return selectMode ? keys : keys[0];
5553
- };
5616
+ selectOpen = _useState4[0],
5617
+ setSelectOpen = _useState4[1];
5554
5618
  var _useState5 = React$1.useState(false),
5555
5619
  _useState6 = _slicedToArray(_useState5, 2),
5556
- selectOpen = _useState6[0],
5557
- setSelectOpen = _useState6[1];
5558
- var _useState7 = React$1.useState(false),
5620
+ isMaxTagsOpen = _useState6[0],
5621
+ setIsMaxTagsOpen = _useState6[1];
5622
+ var _useState7 = React$1.useState(1),
5559
5623
  _useState8 = _slicedToArray(_useState7, 2),
5560
- isMaxTagsOpen = _useState8[0],
5561
- setIsMaxTagsOpen = _useState8[1];
5562
- var _useState9 = React$1.useState(1),
5624
+ scrollPage = _useState8[0],
5625
+ setScrollPage = _useState8[1];
5626
+ var _useState9 = React$1.useState(0),
5563
5627
  _useState0 = _slicedToArray(_useState9, 2),
5564
- scrollPage = _useState0[0],
5565
- setScrollPage = _useState0[1];
5566
- var _useState1 = React$1.useState(0),
5628
+ itemsTotal = _useState0[0],
5629
+ setItemsTotal = _useState0[1];
5630
+ var _useState1 = React$1.useState(false),
5567
5631
  _useState10 = _slicedToArray(_useState1, 2),
5568
- itemsTotal = _useState10[0],
5569
- setItemsTotal = _useState10[1];
5570
- var _useState11 = React$1.useState(false),
5632
+ fetching = _useState10[0],
5633
+ setFetching = _useState10[1];
5634
+ var _useState11 = React$1.useState(''),
5571
5635
  _useState12 = _slicedToArray(_useState11, 2),
5572
- fetching = _useState12[0],
5573
- setFetching = _useState12[1];
5574
- var _useState13 = React$1.useState(''),
5636
+ searchValue = _useState12[0],
5637
+ setSearchValue = _useState12[1];
5638
+ var _useState13 = React$1.useState(false),
5575
5639
  _useState14 = _slicedToArray(_useState13, 2),
5576
- searchValue = _useState14[0],
5577
- setSearchValue = _useState14[1];
5578
- var _useState15 = React$1.useState(false),
5640
+ isModalVisible = _useState14[0],
5641
+ setIsModalVisible = _useState14[1];
5642
+ var _useState15 = React$1.useState(initVal),
5579
5643
  _useState16 = _slicedToArray(_useState15, 2),
5580
- isModalVisible = _useState16[0],
5581
- setIsModalVisible = _useState16[1];
5582
- var _useState17 = React$1.useState(initVal),
5644
+ popvalue = _useState16[0],
5645
+ setPopValue = _useState16[1];
5646
+ var _useState17 = React$1.useState(resultSourceKey),
5583
5647
  _useState18 = _slicedToArray(_useState17, 2),
5584
- popvalue = _useState18[0],
5585
- setPopValue = _useState18[1];
5586
- var _useState19 = React$1.useState(resultSourceKey),
5587
- _useState20 = _slicedToArray(_useState19, 2),
5588
- uniqueValue = _useState20[0],
5589
- setUniqueValue = _useState20[1];
5648
+ uniqueValue = _useState18[0],
5649
+ setUniqueValue = _useState18[1];
5590
5650
  var _useDebounceFn = ahooks.useDebounceFn(function (v) {
5591
5651
  // 优化搜索参数 支持传多个
5592
5652
  var searchParams = {};
@@ -5615,50 +5675,55 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5615
5675
  var _Form$useForm = antd.Form.useForm(),
5616
5676
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
5617
5677
  form = _Form$useForm2[0];
5678
+ var _useState19 = React$1.useState(true),
5679
+ _useState20 = _slicedToArray(_useState19, 2),
5680
+ collapsed = _useState20[0],
5681
+ setCollapsed = _useState20[1];
5618
5682
  var _useState21 = React$1.useState(true),
5619
5683
  _useState22 = _slicedToArray(_useState21, 2),
5620
- collapsed = _useState22[0],
5621
- setCollapsed = _useState22[1];
5622
- var _useState23 = React$1.useState(true),
5684
+ caretLeftFlag = _useState22[0],
5685
+ setCaretLeftFlag = _useState22[1];
5686
+ var _useState23 = React$1.useState([]),
5623
5687
  _useState24 = _slicedToArray(_useState23, 2),
5624
- caretLeftFlag = _useState24[0],
5625
- setCaretLeftFlag = _useState24[1];
5626
- var _useState25 = React$1.useState([]),
5688
+ tableData = _useState24[0],
5689
+ setTableData = _useState24[1];
5690
+ var _useState25 = React$1.useState(tableInitPagination),
5627
5691
  _useState26 = _slicedToArray(_useState25, 2),
5628
- tableData = _useState26[0],
5629
- setTableData = _useState26[1];
5630
- var _useState27 = React$1.useState(tableInitPagination),
5692
+ tablePagination = _useState26[0],
5693
+ setTablePagination = _useState26[1];
5694
+ var _useState27 = React$1.useState([]),
5631
5695
  _useState28 = _slicedToArray(_useState27, 2),
5632
- tablePagination = _useState28[0],
5633
- setTablePagination = _useState28[1];
5696
+ selectedRowKeys = _useState28[0],
5697
+ setSelectedRowKeys = _useState28[1];
5634
5698
  var _useState29 = React$1.useState([]),
5635
5699
  _useState30 = _slicedToArray(_useState29, 2),
5636
- selectedRowKeys = _useState30[0],
5637
- setSelectedRowKeys = _useState30[1];
5638
- var _useState31 = React$1.useState([]),
5700
+ selectedRows = _useState30[0],
5701
+ setSelectedRows = _useState30[1];
5702
+ var selectedLookupVersion = React$1.useRef(0);
5703
+ var _useState31 = React$1.useState(false),
5639
5704
  _useState32 = _slicedToArray(_useState31, 2),
5640
- selectedRows = _useState32[0],
5641
- setSelectedRows = _useState32[1];
5705
+ checkedAll = _useState32[0],
5706
+ setCheckedAll = _useState32[1];
5642
5707
  var _useState33 = React$1.useState(false),
5643
5708
  _useState34 = _slicedToArray(_useState33, 2),
5644
- checkedAll = _useState34[0],
5645
- setCheckedAll = _useState34[1];
5646
- var _useState35 = React$1.useState(false),
5709
+ indeterminate = _useState34[0],
5710
+ setIndeterminate = _useState34[1];
5711
+ var _useState35 = React$1.useState({}),
5647
5712
  _useState36 = _slicedToArray(_useState35, 2),
5648
- indeterminate = _useState36[0],
5649
- setIndeterminate = _useState36[1];
5650
- var _useState37 = React$1.useState({}),
5713
+ tableFormParams = _useState36[0],
5714
+ setTableFormParams = _useState36[1];
5715
+ var _useState37 = React$1.useState(false),
5651
5716
  _useState38 = _slicedToArray(_useState37, 2),
5652
- tableFormParams = _useState38[0],
5653
- setTableFormParams = _useState38[1];
5654
- var _useState39 = React$1.useState(false),
5717
+ tooltipVisible = _useState38[0],
5718
+ setTooltipVisible = _useState38[1];
5719
+ var _useState39 = React$1.useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5655
5720
  _useState40 = _slicedToArray(_useState39, 2),
5656
- tooltipVisible = _useState40[0],
5657
- setTooltipVisible = _useState40[1];
5658
- var _useState41 = React$1.useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5721
+ tableShowColumns = _useState40[0],
5722
+ setTabletShowColumns = _useState40[1]; // 默认展示表头-modalTableProps?.tableColumns
5723
+ var _useState41 = React$1.useState({}),
5659
5724
  _useState42 = _slicedToArray(_useState41, 2),
5660
- tableShowColumns = _useState42[0],
5661
- setTabletShowColumns = _useState42[1]; // 默认展示表头-modalTableProps?.tableColumns
5725
+ currentPageFilters = _useState42[0],
5726
+ setCurrentPageFilters = _useState42[1];
5662
5727
  var _useState43 = React$1.useState(false),
5663
5728
  _useState44 = _slicedToArray(_useState43, 2),
5664
5729
  confirmLoading = _useState44[0],
@@ -5721,7 +5786,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5721
5786
  var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
5722
5787
  var callback = arguments.length > 2 ? arguments[2] : undefined;
5723
5788
  if (!requestConfig) return;
5724
- setFetching(true);
5789
+ if (type !== 3) setFetching(true);
5725
5790
  // 处理dependence参数
5726
5791
  var fixedParam = {};
5727
5792
  if (isHaveDependency) {
@@ -5730,7 +5795,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5730
5795
  if (fixedParamVal) {
5731
5796
  fixedParam[item] = fixedParamVal;
5732
5797
  // 解决依赖项在弹窗中回显/更改(如果不能更改,传参fixedparamsDisabled为true即可)
5733
- if (type == 2 || type == 3) {
5798
+ if (type == 2) {
5734
5799
  var fixedChangeParamVal = form.getFieldValue(item);
5735
5800
  var isDependenceValueChange = false;
5736
5801
  var dependenceValue = fixedParamVal;
@@ -5756,7 +5821,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5756
5821
  pageSize: pageSize,
5757
5822
  currentPage: currentPage
5758
5823
  }, otherParams), fixedParam), params);
5759
- if (_.isNil(queryParams[selectParamsKey]) && (searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) {
5824
+ if (type !== 3 && _.isNil(queryParams[selectParamsKey]) && (searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) {
5760
5825
  var _searchValue$trim;
5761
5826
  queryParams[selectParamsKey] = searchValue === null || searchValue === void 0 ? void 0 : (_searchValue$trim = searchValue.trim) === null || _searchValue$trim === void 0 ? void 0 : _searchValue$trim.call(searchValue);
5762
5827
  }
@@ -5780,9 +5845,12 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5780
5845
  headers: _objectSpread2({}, extralHeaders)
5781
5846
  });
5782
5847
  }
5783
- if (!url || !getRequest) return;
5848
+ if (!url || !getRequest) {
5849
+ if (type !== 3) setFetching(false);
5850
+ return;
5851
+ }
5784
5852
  getRequest.then(function (result) {
5785
- setFetching(false);
5853
+ if (type !== 3) setFetching(false);
5786
5854
  result = result.data;
5787
5855
  if (judgeIsRequestError(result)) {
5788
5856
  antd.message.error(result.msg);
@@ -5792,7 +5860,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5792
5860
  var source = convertResData(requestConfig, res, {
5793
5861
  selectMode: selectMode,
5794
5862
  labelInValue: labelInValue,
5795
- value: getIdentityValue(),
5863
+ value: value,
5796
5864
  type: type,
5797
5865
  items: items,
5798
5866
  queryParams: queryParams,
@@ -5806,6 +5874,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5806
5874
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(resultSourceKey, source);
5807
5875
  setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
5808
5876
  } else {
5877
+ setCurrentPageFilters({});
5809
5878
  setTableData(source);
5810
5879
  setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
5811
5880
  total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
@@ -5815,7 +5884,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5815
5884
  }
5816
5885
  }
5817
5886
  }).catch(function (err) {
5818
- setFetching(false);
5887
+ if (type !== 3) setFetching(false);
5819
5888
  });
5820
5889
  };
5821
5890
  var SelectScroll = function SelectScroll(e) {
@@ -5929,6 +5998,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5929
5998
  return newValue;
5930
5999
  };
5931
6000
  var showModal = function showModal() {
6001
+ var _requestConfig$filter, _requestConfig$filter2;
5932
6002
  if (sDisabled) return;
5933
6003
  var cachedPageSize = getSearchSelectModalPageSize();
5934
6004
  setSelectOpen(false);
@@ -5939,17 +6009,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5939
6009
  current: 1
5940
6010
  }));
5941
6011
  setIsModalVisible(true);
5942
- if (mappingOutputField) {
5943
- var records = getSelectedRecords();
5944
- setSelectedRowKeys(records.map(function (item) {
5945
- return item[mappingValueField];
5946
- }));
5947
- setSelectedRows(records);
5948
- setPopValue(records);
5949
- setIndeterminate(!!records.length && records.length < itemsTotal);
5950
- setCheckedAll(!!itemsTotal && records.length === itemsTotal);
5951
- return;
5952
- }
5953
6012
  // 回显
5954
6013
  if (value) {
5955
6014
  if (selectMode) {
@@ -5985,6 +6044,28 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5985
6044
  }]);
5986
6045
  }
5987
6046
  }
6047
+ /** 根据已选值查询完整记录,更新弹窗右侧的回显列。 */
6048
+ var selectedValues = selectMode ? getShowValue(value) : value == null ? [] : [value];
6049
+ var selectedKeys = selectedValues.map(function (item) {
6050
+ var _item$key;
6051
+ return labelInValue ? (_item$key = item === null || item === void 0 ? void 0 : item.key) !== null && _item$key !== void 0 ? _item$key : item === null || item === void 0 ? void 0 : item.value : item;
6052
+ }).filter(function (key) {
6053
+ return key !== null && key !== undefined && key !== '';
6054
+ });
6055
+ var lookupKey = (requestConfig === null || requestConfig === void 0 ? void 0 : (_requestConfig$filter = requestConfig.filterInit) === null || _requestConfig$filter === void 0 ? void 0 : (_requestConfig$filter2 = _requestConfig$filter.endsWith) === null || _requestConfig$filter2 === void 0 ? void 0 : _requestConfig$filter2.call(_requestConfig$filter, '-in')) ? requestConfig.filterInit : "qp-".concat(mappingValueField, "-in");
6056
+ var lookupVersion = ++selectedLookupVersion.current;
6057
+ if (selectedKeys.length && url) {
6058
+ getData(_defineProperty(_defineProperty(_defineProperty({}, lookupKey, selectedKeys.join(',')), "pageSize", Math.max(selectedKeys.length, tableInitPageSize)), "currentPage", 1), 3, function (source) {
6059
+ if (lookupVersion !== selectedLookupVersion.current) return;
6060
+ setSelectedRows(function (previous) {
6061
+ return previous.map(function (row) {
6062
+ return source.find(function (item) {
6063
+ return String(item.value) === String(row.value);
6064
+ }) || row;
6065
+ });
6066
+ });
6067
+ });
6068
+ }
5988
6069
  };
5989
6070
  var handleSelectOver = function handleSelectOver(selectedValue) {
5990
6071
  if (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) {
@@ -6048,12 +6129,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6048
6129
  }
6049
6130
  };
6050
6131
  var formaData = function formaData(value, source) {
6051
- if (mappingOutputField) {
6052
- selectedRecordsRef.current = value;
6053
- refreshSelectedRecords(function (current) {
6054
- return current + 1;
6055
- });
6056
- }
6057
6132
  if (labelInValue) {
6058
6133
  var getFromat = function getFromat(format, val) {
6059
6134
  return format.map(function (_ref8) {
@@ -6064,24 +6139,24 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6064
6139
  };
6065
6140
  var formatResult = value.map(function (i) {
6066
6141
  return Object.assign.apply(Object, [{
6067
- key: i[mappingOutputField || mappingValueField] || i.key,
6142
+ key: i[mappingValueField] || i.key,
6068
6143
  label: i[mappingTextField] || i.label,
6069
- value: i[mappingOutputField || mappingValueField] || i.value
6144
+ value: i[mappingValueField] || i.value
6070
6145
  }].concat(_toConsumableArray(getFromat(returnFormat, i))));
6071
6146
  });
6072
- onChange(selectMode ? mappingOutputField ? ___default['default'].uniqBy(formatResult, 'value') : formatResult : formatResult[0], value, source);
6147
+ onChange(selectMode ? formatResult : formatResult[0], value, source);
6073
6148
  } else {
6074
- var _value$;
6075
6149
  var _formatResult = selectMode ? value.map(function (i) {
6076
- return mappingOutputField ? i[mappingOutputField] : i.value;
6077
- }) : mappingOutputField ? (_value$ = value[0]) === null || _value$ === void 0 ? void 0 : _value$[mappingOutputField] : ___default['default'].get(value[0], 'value');
6078
- onChange(selectMode && mappingOutputField ? ___default['default'].uniq(_formatResult) : _formatResult, value, source);
6150
+ return i.value;
6151
+ }) : ___default['default'].get(value[0], 'value');
6152
+ onChange(_formatResult, value, source);
6079
6153
  }
6080
6154
  };
6081
6155
  var clearModalTable = function clearModalTable() {
6082
6156
  form.resetFields();
6083
6157
  setTableFormParams({});
6084
6158
  setTableData([]);
6159
+ setCurrentPageFilters({});
6085
6160
  setTablePagination(tableInitPagination);
6086
6161
  setSelectedRowKeys([]);
6087
6162
  setSelectedRows([]);
@@ -6089,6 +6164,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6089
6164
  setIndeterminate(false);
6090
6165
  };
6091
6166
  var handleCancel = function handleCancel() {
6167
+ selectedLookupVersion.current += 1;
6092
6168
  clearModalTable();
6093
6169
  setIsModalVisible(false);
6094
6170
  };
@@ -6115,6 +6191,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6115
6191
  var pageSize = normalizeSearchSelectModalPageSize(tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize);
6116
6192
  setModalSearched(true);
6117
6193
  setTableFormParams(params);
6194
+ setCurrentPageFilters({});
6118
6195
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
6119
6196
  pageSize: pageSize,
6120
6197
  currentPage: 1
@@ -6124,6 +6201,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6124
6201
  var pageSize = normalizeSearchSelectModalPageSize(tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize);
6125
6202
  form.resetFields();
6126
6203
  setTableFormParams({});
6204
+ setCurrentPageFilters({});
6127
6205
  getData({
6128
6206
  pageSize: pageSize,
6129
6207
  currentPage: 1
@@ -6132,9 +6210,14 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6132
6210
  var toggleCollapsed = function toggleCollapsed() {
6133
6211
  setCollapsed(!collapsed);
6134
6212
  };
6135
- var handleTableChange = function handleTableChange(pagination) {
6213
+ var handleTableChange = function handleTableChange(pagination, filters, sorter, extra) {
6214
+ if ((extra === null || extra === void 0 ? void 0 : extra.action) === 'filter') {
6215
+ setCurrentPageFilters(filters || {});
6216
+ return;
6217
+ }
6136
6218
  var pageSize = normalizeSearchSelectModalPageSize(pagination.pageSize);
6137
6219
  setSearchSelectModalPageSize(pageSize);
6220
+ setCurrentPageFilters({});
6138
6221
  getData(_objectSpread2(_objectSpread2({}, tableFormParams), {}, {
6139
6222
  pageSize: pageSize,
6140
6223
  currentPage: pagination.current
@@ -6414,6 +6497,33 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6414
6497
  var x = (tableList === null || tableList === void 0 ? void 0 : tableList.length) ? 82 : 28; // 无数据没有分页,有数据计算减去:分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
6415
6498
  var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - ").concat(x, "px)");
6416
6499
  var mTB = "calc(50vh - ".concat(tableBoxHeighth / 2, "px - ").concat(x / 2, "px - 40px)");
6500
+ var currentColumns = _buildCurrentPageFilterColumns(markCurrentPageFilterByDataIndex(tableShowColumns), tableList, currentPageFilters, type !== 'noPage');
6501
+ // 无 width 的列在固定 scroll.x 下会被挤没;先兜底宽度再按列宽求和
6502
+ var DEFAULT_COLUMN_WIDTH = 120;
6503
+ var columnsWithWidth = currentColumns.map(function (col) {
6504
+ if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'number' && col.width > 0) {
6505
+ return col;
6506
+ }
6507
+ if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'string') {
6508
+ var parsed = parseFloat(col.width);
6509
+ if (Number.isFinite(parsed) && parsed > 0) {
6510
+ return _objectSpread2(_objectSpread2({}, col), {}, {
6511
+ width: parsed
6512
+ });
6513
+ }
6514
+ }
6515
+ return _objectSpread2(_objectSpread2({}, col), {}, {
6516
+ width: DEFAULT_COLUMN_WIDTH
6517
+ });
6518
+ });
6519
+ var sumColumnScrollX = function sumColumnScrollX(columns) {
6520
+ var extraWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
6521
+ var sum = (columns || []).reduce(function (total, col) {
6522
+ return total + (Number(col === null || col === void 0 ? void 0 : col.width) || DEFAULT_COLUMN_WIDTH);
6523
+ }, extraWidth);
6524
+ return sum > extraWidth ? sum : undefined;
6525
+ };
6526
+ var tableScrollX = modalTableProps.overScrollX || sumColumnScrollX(columnsWithWidth, rowSelection ? 60 : 0) || true;
6417
6527
  return /*#__PURE__*/React__default['default'].createElement("div", {
6418
6528
  style: {
6419
6529
  height: "calc(100vh - ".concat(tableBoxHeighth, "px)")
@@ -6422,8 +6532,12 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6422
6532
  bordered: true,
6423
6533
  size: "middle",
6424
6534
  rowSelection: rowSelection,
6425
- columns: tableShowColumns,
6426
- dataSource: tableList
6535
+ columns: columnsWithWidth,
6536
+ dataSource: tableList,
6537
+ getPopupContainer: function getPopupContainer(triggerNode) {
6538
+ var _modalTableProps$getF;
6539
+ return (modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$getF = modalTableProps.getFilterPopupContainer) === null || _modalTableProps$getF === void 0 ? void 0 : _modalTableProps$getF.call(modalTableProps, triggerNode)) || document.body;
6540
+ }
6427
6541
  }, type == 'noPage' ? {
6428
6542
  pagination: _objectSpread2(_objectSpread2({}, initPagination), {}, {
6429
6543
  showSizeChanger: false
@@ -6441,7 +6555,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6441
6555
  }), {}, {
6442
6556
  rowKey: mappingValueField,
6443
6557
  scroll: {
6444
- x: modalTableProps.overScrollX || 'max-content',
6558
+ x: tableScrollX,
6445
6559
  y: modalTableProps.overScrollY || oSY
6446
6560
  },
6447
6561
  onRow: function onRow(record) {
@@ -6490,7 +6604,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6490
6604
  resetSelectDataSource(true);
6491
6605
  };
6492
6606
  var onDeselect = function onDeselect() {
6493
- var oldSelect = mappingOutputField ? getSelectedRecords() : formatSelectedValue(value);
6607
+ var oldSelect = formatSelectedValue(value);
6494
6608
  var deRecord = arguments.length <= 1 ? undefined : arguments[1];
6495
6609
  var srs = oldSelect.filter(function (s) {
6496
6610
  return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
@@ -6515,7 +6629,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6515
6629
  }
6516
6630
  };
6517
6631
  var renderTable = function renderTable(dataSource) {
6518
- var currentSRKs = getCurrentSRKs(selectMode, labelInValue, getIdentityValue());
6632
+ var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
6519
6633
  var renderSource = getRenderSource(currentSRKs, items);
6520
6634
  return /*#__PURE__*/React__default['default'].createElement("div", {
6521
6635
  className: "search_select_dropdown_table ".concat(!selectMode ? 'search_select_dropdown_table1' : '')
@@ -6529,7 +6643,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6529
6643
  selectedRowKeys: currentSRKs,
6530
6644
  preserveSelectedRowKeys: true,
6531
6645
  onChange: function onChange(sks, srs) {
6532
- var oldSelect = mappingOutputField ? getSelectedRecords() : formatSelectedValue(value);
6646
+ var oldSelect = formatSelectedValue(value);
6533
6647
  var tmpSelectedRows = oldSelect.concat(srs).filter(function (item) {
6534
6648
  return item != undefined;
6535
6649
  });
@@ -6548,7 +6662,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6548
6662
  onClick: function onClick(event) {
6549
6663
  event.stopPropagation();
6550
6664
  event.nativeEvent.stopImmediatePropagation();
6551
- var oldSelect = mappingOutputField ? getSelectedRecords() : formatSelectedValue(value);
6665
+ var oldSelect = formatSelectedValue(value);
6552
6666
  var newSelect = [JSON.parse(JSON.stringify(record))];
6553
6667
  var srs = getRealStr(oldSelect, newSelect, record);
6554
6668
  onSelectClick(srs, dataSource, false);
@@ -6581,16 +6695,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6581
6695
  }
6582
6696
  })));
6583
6697
  };
6584
- /**
6585
- * 折叠标签移除记录时,先按内部标识更新选中项,再回传业务值。
6586
- */
6587
- var onRemoveIdentityTag = function onRemoveIdentityTag(remainingValue) {
6588
- var keys = getCurrentSRKs(selectMode, labelInValue, remainingValue);
6589
- var records = getSelectedRecords().filter(function (item) {
6590
- return keys.includes(item[mappingValueField]);
6591
- });
6592
- onSelectClick(records, items, false);
6593
- };
6594
6698
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6595
6699
  return /*#__PURE__*/React__default['default'].createElement("div", {
6596
6700
  className: 'search_select'
@@ -6605,7 +6709,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6605
6709
  viewShowValueStr: viewShowValueStr,
6606
6710
  labelInValue: labelInValue,
6607
6711
  selectMode: selectMode,
6608
- value: getIdentityValue(),
6712
+ value: value,
6609
6713
  items: items
6610
6714
  }),
6611
6715
  style: {
@@ -6618,14 +6722,14 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6618
6722
  viewShowValueStr: viewShowValueStr,
6619
6723
  labelInValue: labelInValue,
6620
6724
  selectMode: selectMode,
6621
- value: getIdentityValue(),
6725
+ value: value,
6622
6726
  items: items
6623
6727
  }))) : /*#__PURE__*/React__default['default'].createElement("div", {
6624
6728
  className: "".concat(isFormPage ? '' : 'search_select_show_list', " search_select_show"),
6625
6729
  id: "search_select_div_".concat(uniqueValue)
6626
6730
  }, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2(_objectSpread2({
6627
6731
  labelInValue: labelInValue,
6628
- value: getIdentityValue(),
6732
+ value: value,
6629
6733
  onChange: onchange,
6630
6734
  onClear: onClear,
6631
6735
  onDeselect: onDeselect,
@@ -6657,8 +6761,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6657
6761
  selectProps: {
6658
6762
  labelInValue: labelInValue
6659
6763
  },
6660
- onChange: mappingOutputField ? onRemoveIdentityTag : onChange,
6661
- value: getIdentityValue(),
6764
+ onChange: onChange,
6765
+ value: value,
6662
6766
  setIsMaxTagsOpen: setIsMaxTagsOpen
6663
6767
  });
6664
6768
  },
@@ -6775,7 +6879,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6775
6879
  })) : null)))));
6776
6880
  });
6777
6881
 
6778
- var css_248z$8 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper_select_quick {\n margin: 0;\n}\n.react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n.react-resizable-handle {\n position: absolute;\n width: 10px;\n height: 100%;\n bottom: 0;\n right: -5px;\n cursor: col-resize;\n z-index: 1;\n}\n";
6882
+ var css_248z$8 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .search_select_current_page_filter_column {\n min-width: 140px;\n}\n.add_select_wrapper .search_select_current_page_filter_column .ant-table-filter-column {\n min-width: 108px;\n}\n.add_select_wrapper .search_select_current_page_filter_column .ant-table-column-title {\n min-width: 64px;\n white-space: nowrap;\n}\n.add_select_wrapper .search_select_current_page_filter_column .ant-table-filter-trigger {\n flex: 0 0 32px;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper_select_quick {\n margin: 0;\n}\n.react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n.react-resizable-handle {\n position: absolute;\n width: 10px;\n height: 100%;\n bottom: 0;\n right: -5px;\n cursor: col-resize;\n z-index: 1;\n}\n";
6779
6883
  styleInject(css_248z$8);
6780
6884
 
6781
6885
  var shezhi = "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%E8%92%99%E7%89%88%401x%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%221.97175609e-13%200%2024%200%2024%2024%201.97175609e-13%2024%22%3E%3C%2Fpolygon%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E3%80%90%E9%94%80%E5%94%AE%E8%AE%A2%E5%8D%95%E3%80%91-%E5%88%97%E8%A1%A8%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%E7%BC%96%E7%BB%84-13%E5%A4%87%E4%BB%BD%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23FAFAFA%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.0539833%2C6%20L12.9893599%2C6.00306539%20C13.5902684%2C6.0041207%2014.0770953%2C6.51753931%2014.0778957%2C7.15105962%20L14.0786226%2C7.48365607%20C14.4535346%2C7.64767515%2014.8086815%2C7.85797334%2015.1366285%2C8.11014825%20L15.3957691%2C7.95304625%20C15.9165865%2C7.6370624%2016.5817222%2C7.82488039%2016.8830106%2C8.37300674%20L17.8530614%2C10.1386801%20C18.1419103%2C10.664498%2017.9927093%2C11.3364989%2017.5125078%2C11.6725322%20L17.4532653%2C11.7108498%20L17.1930343%2C11.8691013%20C17.2377388%2C12.3043888%2017.232287%2C12.7465735%2017.1737714%2C13.186076%20L17.3576776%2C13.2983464%20C17.857707%2C13.60263%2018.0460753%2C14.2651041%2017.7872767%2C14.809208%20L17.7571103%2C14.8686002%20L16.8484828%2C16.5277508%20C16.5598628%2C17.0549169%2015.9314906%2C17.253508%2015.4153954%2C16.9806644%20L15.3586971%2C16.9484776%20L15.1075524%2C16.7952074%20C14.7917375%2C17.034765%2014.4508932%2C17.235328%2014.0917069%2C17.3929614%20L14.0917069%2C17.8489404%20C14.0924552%2C18.4564109%2013.6447505%2C18.9596333%2013.0696826%2C18.9977009%20L13.0002635%2C19%20L11.0648868%2C18.9969346%20C10.46412%2C18.9958799%209.97735149%2C18.4826942%209.97635104%2C17.8493235%20L9.97526069%2C17.2994665%20C9.67532321%2C17.1509864%209.38966197%2C16.9723666%209.12224117%2C16.766086%20L8.65847768%2C17.0473369%20C8.13756521%2C17.3632563%207.47240027%2C17.1752586%207.17123614%2C16.6269932%20L6.20118538%2C14.8617031%20C5.91210367%2C14.335799%206.06132792%2C13.6635256%206.54173898%2C13.3274678%20L6.6009815%2C13.2891502%20L7.0727409%2C13.002918%20C7.03639581%2C12.6389012%207.03457855%2C12.2706694%207.06946985%2C11.9032039%20L6.54573694%2C11.5840186%20C6.04557344%2C11.2798633%205.85703718%2C10.6173586%206.1157744%2C10.0731571%20L6.14630429%2C10.0137648%20L7.05493181%2C8.35461431%20C7.3435518%2C7.82744812%207.97192398%2C7.62885707%208.48801915%2C7.9017007%20L8.54435406%2C7.93388746%20L9.00084853%2C8.2116898%20C9.29835141%2C7.96712383%209.62078477%2C7.75828095%209.96217645%2C7.58902938%20L9.96217645%2C7.15144279%20C9.96123583%2C6.54382459%2010.4089927%2C6.0403757%2010.9842007%2C6.00229905%20L11.0536198%2C6%20L11.0539833%2C6%20Z%20M11.0525295%2C7.14952693%20L11.0536198%2C8.31821262%20L10.4270303%2C8.62896808%20C10.1588035%2C8.76193003%209.90547811%2C8.92592919%209.67214254%2C9.11790019%20L9.09280163%2C9.5945707%20L8.02679981%2C8.94547115%20L7.99954099%2C8.92937778%20L7.09091346%2C10.5885283%20L8.22488062%2C11.2786276%20L8.15437112%2C12.0177735%20C8.12711229%2C12.304772%208.12820264%2C12.5944528%208.15691528%2C12.8814513%20L8.23178618%2C13.6255784%20L7.14506767%2C14.2854069%20L8.11475496%2C16.0506971%20L9.19384102%2C15.3966163%20L9.76627637%2C15.8384178%20C9.97702523%2C16.0011688%2010.2022%2C16.142066%2010.4386607%2C16.2591446%20L11.0645234%2C16.5691337%20L11.0667041%2C17.8474077%20L13.0017173%2C17.8504731%20L13.0006269%2C16.6262269%20L13.6730113%2C16.3311816%20C13.9550669%2C16.2075098%2014.2227404%2C16.0501462%2014.4707863%2C15.8621747%20L15.0428581%2C15.428803%20L15.904237%2C15.9529873%20L16.8121377%2C14.2934536%20L15.9921922%2C13.7937926%20L16.0939585%2C13.0270581%20C16.1393899%2C12.6841159%2016.1444782%2C12.3369588%2016.1092234%2C11.9924839%20L16.0328987%2C11.2479736%20L16.9095425%2C10.7145931%20L15.9394918%2C8.9493029%20L15.0672094%2C9.47923482%20L14.4944106%2C9.038966%20C14.2359425%2C8.84023491%2013.9560781%2C8.67444458%2013.6606539%2C8.54505261%20L12.9897234%2C8.25154006%20L12.9875427%2C7.15259232%20L11.0525295%2C7.14952693%20L11.0525295%2C7.14952693%20Z%20M13.2226955%2C10.4494355%20C14.2654163%2C11.0852141%2014.6228641%2C12.4911028%2014.0215608%2C13.5914758%20C13.7329275%2C14.1197135%2013.2568818%2C14.5052495%2012.6983658%2C14.6630942%20C12.1398499%2C14.8209389%2011.5447201%2C14.7381326%2011.0441701%2C14.4329295%20C10.0015813%2C13.7970198%209.64430382%2C12.3911621%2010.2456682%2C11.2908893%20C10.5343004%2C10.7627557%2011.0102799%2C10.3772944%2011.5687082%2C10.2194552%20C12.1271364%2C10.0616161%2012.7221782%2C10.1443543%2013.2226955%2C10.4494355%20L13.2226955%2C10.4494355%20Z%20M11.189914%2C11.8648864%20C10.8889471%2C12.4157197%2011.0678166%2C13.119454%2011.5897101%2C13.4378224%20C11.8397194%2C13.5903842%2012.1370318%2C13.6318051%2012.4160482%2C13.5529458%20C12.6950647%2C13.4740865%2012.9328544%2C13.2814281%2013.0769516%2C13.0174787%20C13.3654467%2C12.4893922%2013.2141569%2C11.8157971%2012.7316732%2C11.480178%20L12.6771555%2C11.4445427%20L12.6208206%2C11.4127391%20C12.1055879%2C11.1395918%2011.4777022%2C11.3379953%2011.189914%2C11.8648864%20L11.189914%2C11.8648864%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%234C4E4D%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -6795,7 +6899,7 @@ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20enc
6795
6899
  var css_248z$9 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-tbody::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tbody tr:first-child {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
6796
6900
  styleInject(css_248z$9);
6797
6901
 
6798
- var _excluded$5 = ["className", "style"];
6902
+ var _excluded$6 = ["className", "style"];
6799
6903
  var Search = antd.Input.Search;
6800
6904
  var DragHandle = reactSortableHoc.SortableHandle(function () {
6801
6905
  return /*#__PURE__*/React__default['default'].createElement("img", {
@@ -7147,7 +7251,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
7147
7251
  _this.DraggableBodyRow = function (_ref2) {
7148
7252
  var className = _ref2.className,
7149
7253
  style = _ref2.style,
7150
- restProps = _objectWithoutProperties(_ref2, _excluded$5);
7254
+ restProps = _objectWithoutProperties(_ref2, _excluded$6);
7151
7255
  var sortDataSource = _this.state.sortDataSource;
7152
7256
  // function findIndex base on Table rowKey props and should always be a right array index
7153
7257
  var index = sortDataSource.findIndex(function (x) {
@@ -7579,6 +7683,7 @@ var loadSelectSource = function loadSelectSource(url, params) {
7579
7683
  var formatSource = function formatSource(reData, position, changePosition, changeSearchForm) {
7580
7684
  var _reData$position;
7581
7685
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['code', 'name'];
7686
+ if (!Array.isArray(changeSearchForm) || !changeSearchForm[changePosition]) return;
7582
7687
  var data = reData && ((_reData$position = reData[position]) === null || _reData$position === void 0 ? void 0 : _reData$position.data);
7583
7688
  var list = Array.isArray(data) ? data : (data === null || data === void 0 ? void 0 : data.items) || (data === null || data === void 0 ? void 0 : data.list) || (data === null || data === void 0 ? void 0 : data.children) || [];
7584
7689
  var formatData = (list === null || list === void 0 ? void 0 : list.length) ? list.map(function (v) {
@@ -7607,8 +7712,9 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7607
7712
  };
7608
7713
  };
7609
7714
  var formatTreeDataSource = function formatTreeDataSource(reData, position, changePosition, changeSearchForm) {
7610
- var _reData$position2;
7715
+ var _changeSearchForm$cha, _changeSearchForm$cha2, _reData$position2;
7611
7716
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7717
+ if (!Array.isArray(changeSearchForm) || !((_changeSearchForm$cha = changeSearchForm[changePosition]) === null || _changeSearchForm$cha === void 0 ? void 0 : (_changeSearchForm$cha2 = _changeSearchForm$cha.field) === null || _changeSearchForm$cha2 === void 0 ? void 0 : _changeSearchForm$cha2.props)) return;
7612
7718
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7613
7719
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7614
7720
  return _mapSearchTree(ites, resKeyValue);
@@ -7628,7 +7734,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
7628
7734
  });
7629
7735
  };
7630
7736
 
7631
- var _excluded$6 = ["onResize", "width"],
7737
+ var _excluded$7 = ["onResize", "width"],
7632
7738
  _excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
7633
7739
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
7634
7740
  return new Promise(function (resolve, reject) {
@@ -7648,7 +7754,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
7648
7754
  var ResizeableTitle = function ResizeableTitle(props) {
7649
7755
  var onResize = props.onResize,
7650
7756
  width = props.width,
7651
- restProps = _objectWithoutProperties(props, _excluded$6);
7757
+ restProps = _objectWithoutProperties(props, _excluded$7);
7652
7758
  if (!width) {
7653
7759
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
7654
7760
  }
@@ -7712,7 +7818,7 @@ var AddSelect = function AddSelect(props) {
7712
7818
  var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
7713
7819
  var initVal = value || (selectMode ? [] : null);
7714
7820
  var pageSize = 100; // 下拉框默认分页 条数
7715
- var tableInitPageSize = (modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$topT = modalTableProps.topTablePagination) === null || _modalTableProps$topT === void 0 ? void 0 : _modalTableProps$topT.pageSize) || 10; // 弹框默认分页 条数
7821
+ var tableInitPageSize = (modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$topT = modalTableProps.topTablePagination) === null || _modalTableProps$topT === void 0 ? void 0 : _modalTableProps$topT.pageSize) || SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE; // 弹框默认分页 条数
7716
7822
  var currentPage = 1;
7717
7823
  var _useState = React$1.useState(false),
7718
7824
  _useState2 = _slicedToArray(_useState, 2),
@@ -7754,38 +7860,42 @@ var AddSelect = function AddSelect(props) {
7754
7860
  _useState14 = _slicedToArray(_useState13, 2),
7755
7861
  tablePagination = _useState14[0],
7756
7862
  setTablePagination = _useState14[1];
7757
- var _useState15 = React$1.useState([]),
7863
+ var _useState15 = React$1.useState({}),
7758
7864
  _useState16 = _slicedToArray(_useState15, 2),
7759
- selectedRowKeys = _useState16[0],
7760
- setSelectedRowKeys = _useState16[1];
7761
- var _useState17 = React$1.useState({}),
7865
+ currentPageFilters = _useState16[0],
7866
+ setCurrentPageFilters = _useState16[1];
7867
+ var _useState17 = React$1.useState([]),
7762
7868
  _useState18 = _slicedToArray(_useState17, 2),
7763
- tableFormParams = _useState18[0],
7764
- setTableFormParams = _useState18[1];
7765
- var _useState19 = React$1.useState(false),
7869
+ selectedRowKeys = _useState18[0],
7870
+ setSelectedRowKeys = _useState18[1];
7871
+ var _useState19 = React$1.useState({}),
7766
7872
  _useState20 = _slicedToArray(_useState19, 2),
7767
- confirmLoading = _useState20[0],
7768
- setConfirmLoading = _useState20[1];
7873
+ tableFormParams = _useState20[0],
7874
+ setTableFormParams = _useState20[1];
7769
7875
  var _useState21 = React$1.useState(false),
7770
7876
  _useState22 = _slicedToArray(_useState21, 2),
7771
- confirmContinueLoading = _useState22[0],
7772
- setConfirmContinueLoading = _useState22[1];
7773
- var _useState23 = React$1.useState([]),
7877
+ confirmLoading = _useState22[0],
7878
+ setConfirmLoading = _useState22[1];
7879
+ var _useState23 = React$1.useState(false),
7774
7880
  _useState24 = _slicedToArray(_useState23, 2),
7775
- selectColumns = _useState24[0],
7776
- setSelectColumns = _useState24[1];
7881
+ confirmContinueLoading = _useState24[0],
7882
+ setConfirmContinueLoading = _useState24[1];
7777
7883
  var _useState25 = React$1.useState([]),
7778
7884
  _useState26 = _slicedToArray(_useState25, 2),
7779
- showColumns = _useState26[0],
7780
- setShowColumns = _useState26[1];
7885
+ selectColumns = _useState26[0],
7886
+ setSelectColumns = _useState26[1];
7781
7887
  var _useState27 = React$1.useState([]),
7782
7888
  _useState28 = _slicedToArray(_useState27, 2),
7783
- tableColumns = _useState28[0],
7784
- setTableColumns = _useState28[1];
7889
+ showColumns = _useState28[0],
7890
+ setShowColumns = _useState28[1];
7785
7891
  var _useState29 = React$1.useState([]),
7786
7892
  _useState30 = _slicedToArray(_useState29, 2),
7787
- showToChooseColumns = _useState30[0],
7788
- setShowToChooseColumns = _useState30[1];
7893
+ tableColumns = _useState30[0],
7894
+ setTableColumns = _useState30[1];
7895
+ var _useState31 = React$1.useState([]),
7896
+ _useState32 = _slicedToArray(_useState31, 2),
7897
+ showToChooseColumns = _useState32[0],
7898
+ setShowToChooseColumns = _useState32[1];
7789
7899
  var codeToChoose = tableCodeList[0] || initTableCode[businessType][0];
7790
7900
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7791
7901
  // FIXME: 特殊业务逻辑
@@ -8440,11 +8550,14 @@ var AddSelect = function AddSelect(props) {
8440
8550
  // 数据源 不可以有重复key
8441
8551
  source = Array.isArray(source) ? ___default['default'].uniqBy(source, 'value') : [];
8442
8552
  setTableData(source);
8443
- setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
8444
- total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
8445
- pageSize: Number((res === null || res === void 0 ? void 0 : res.size) || (res === null || res === void 0 ? void 0 : res.pageSize) || (params === null || params === void 0 ? void 0 : params.pageSize) || pageSize),
8446
- current: Number((res === null || res === void 0 ? void 0 : res.page) || (res === null || res === void 0 ? void 0 : res.currentPage) || (params === null || params === void 0 ? void 0 : params.currentPage) || currentPage)
8447
- }));
8553
+ setCurrentPageFilters({});
8554
+ setTablePagination(function (previousPagination) {
8555
+ return _objectSpread2(_objectSpread2({}, previousPagination), {}, {
8556
+ total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
8557
+ pageSize: Number((res === null || res === void 0 ? void 0 : res.size) || (res === null || res === void 0 ? void 0 : res.pageSize) || (params === null || params === void 0 ? void 0 : params.pageSize) || pageSize),
8558
+ current: Number((res === null || res === void 0 ? void 0 : res.page) || (res === null || res === void 0 ? void 0 : res.currentPage) || (params === null || params === void 0 ? void 0 : params.currentPage) || currentPage)
8559
+ });
8560
+ });
8448
8561
  }).catch(function (err) {
8449
8562
  setFetching(false);
8450
8563
  });
@@ -8469,6 +8582,7 @@ var AddSelect = function AddSelect(props) {
8469
8582
  }, [sourceName]);
8470
8583
  var showModal = function showModal() {
8471
8584
  // getData({ pageSize: tableInitPageSize, currentPage: 1 }, 2)
8585
+ setCurrentPageFilters({});
8472
8586
  setIsModalVisible(true);
8473
8587
  // 回显
8474
8588
  if (value) {
@@ -8557,6 +8671,7 @@ var AddSelect = function AddSelect(props) {
8557
8671
  var handleCancel = function handleCancel() {
8558
8672
  form.resetFields();
8559
8673
  setTableFormParams({});
8674
+ setCurrentPageFilters({});
8560
8675
  setIsModalVisible(false);
8561
8676
  setTableData([]);
8562
8677
  onCancelCallback && onCancelCallback();
@@ -8567,27 +8682,38 @@ var AddSelect = function AddSelect(props) {
8567
8682
  var onSearchTable = function onSearchTable() {
8568
8683
  form.validateFields().then(function () {
8569
8684
  var params = form.getFieldsValue();
8685
+ var currentTablePageSize = businessType === 'sku' ? Number((tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize) || tableInitPageSize) : tableInitPageSize;
8570
8686
  setTableFormParams(params);
8687
+ setCurrentPageFilters({});
8571
8688
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
8572
- pageSize: tableInitPageSize
8689
+ pageSize: currentTablePageSize,
8690
+ currentPage: 1
8573
8691
  }), 2);
8574
8692
  });
8575
8693
  };
8576
8694
  var onResetTable = function onResetTable() {
8577
8695
  form.resetFields();
8578
8696
  setTableFormParams({});
8697
+ setCurrentPageFilters({});
8579
8698
  form.validateFields().then(function () {
8699
+ var currentTablePageSize = businessType === 'sku' ? Number((tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize) || tableInitPageSize) : tableInitPageSize;
8580
8700
  getData({
8581
- pageSize: tableInitPageSize,
8701
+ pageSize: currentTablePageSize,
8582
8702
  currentPage: 1
8583
8703
  }, 2);
8584
8704
  }).catch(function () {
8585
8705
  setTableData([]);
8586
8706
  });
8587
8707
  };
8588
- var handleTableChange = function handleTableChange(pagination) {
8589
- // 设置分页tablePagination
8590
- setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), pagination));
8708
+ var handleTableChange = function handleTableChange(pagination, filters, sorter, extra) {
8709
+ if ((extra === null || extra === void 0 ? void 0 : extra.action) === 'filter') {
8710
+ setCurrentPageFilters(filters || {});
8711
+ return;
8712
+ }
8713
+ setCurrentPageFilters({});
8714
+ setTablePagination(function (previousPagination) {
8715
+ return _objectSpread2(_objectSpread2({}, previousPagination), pagination);
8716
+ });
8591
8717
  getData(_objectSpread2(_objectSpread2({}, tableFormParams), {}, {
8592
8718
  pageSize: pagination.pageSize,
8593
8719
  currentPage: pagination.current
@@ -8829,6 +8955,7 @@ var AddSelect = function AddSelect(props) {
8829
8955
  _handleColumns(showToChooseCol, [], function (res) {
8830
8956
  return setShowToChooseColumnsCallback(res);
8831
8957
  });
8958
+ var currentPageTableColumns = _buildCurrentPageFilterColumns(businessType === 'sku' ? markCurrentPageFilterByDataIndex(showToChooseCol) : showToChooseCol, tableData, currentPageFilters);
8832
8959
  var showSelectedCol = showColumns.map(function (item) {
8833
8960
  handleAntdColumnsSpecialParams(item);
8834
8961
  return _objectSpread2({}, item);
@@ -8836,6 +8963,20 @@ var AddSelect = function AddSelect(props) {
8836
8963
  _handleColumns(showSelectedCol, [], function (res) {
8837
8964
  return setShowColumnsCallback(res);
8838
8965
  });
8966
+ // sku 上表勿用 scroll.x=max-content:会按当前页单元格内容重算列宽,分页切换时 SKU名称等列会忽宽忽窄
8967
+ var sumColumnScrollX = function sumColumnScrollX(columns) {
8968
+ var extraWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
8969
+ var sum = (columns || []).reduce(function (total, col) {
8970
+ if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'number') return total + col.width;
8971
+ if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'string') {
8972
+ var parsed = parseFloat(col.width);
8973
+ return Number.isFinite(parsed) ? total + parsed : total;
8974
+ }
8975
+ return total;
8976
+ }, extraWidth);
8977
+ return sum > extraWidth ? sum : undefined;
8978
+ };
8979
+ var skuTopTableScrollX = sumColumnScrollX(currentPageTableColumns, selectMode ? 60 : 0);
8839
8980
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
8840
8981
  return /*#__PURE__*/React__default['default'].createElement("div", {
8841
8982
  className: 'add_select'
@@ -8939,14 +9080,21 @@ var AddSelect = function AddSelect(props) {
8939
9080
  })))), /*#__PURE__*/React__default['default'].createElement(antd.Table, {
8940
9081
  size: 'small',
8941
9082
  rowSelection: rowSelection,
8942
- columns: showToChooseCol,
9083
+ columns: currentPageTableColumns,
8943
9084
  dataSource: tableData,
9085
+ getPopupContainer: function getPopupContainer(triggerNode) {
9086
+ var _modalTableProps$getF;
9087
+ return (modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$getF = modalTableProps.getFilterPopupContainer) === null || _modalTableProps$getF === void 0 ? void 0 : _modalTableProps$getF.call(modalTableProps, triggerNode)) || document.body;
9088
+ },
8944
9089
  pagination: tablePagination,
8945
9090
  loading: fetching,
8946
9091
  onChange: handleTableChange,
8947
9092
  rowKey: mappingValueField,
8948
9093
  rowClassName: 'row-class',
8949
- scroll: {
9094
+ scroll: businessType === 'sku' ? {
9095
+ x: skuTopTableScrollX || true,
9096
+ y: 500
9097
+ } : {
8950
9098
  y: 500
8951
9099
  },
8952
9100
  components: {
@@ -9028,7 +9176,7 @@ var AddSelect = function AddSelect(props) {
9028
9176
  var css_248z$a = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_gray {\n background: #C0C0C0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
9029
9177
  styleInject(css_248z$a);
9030
9178
 
9031
- var _excluded$7 = ["onResize", "width"];
9179
+ var _excluded$8 = ["onResize", "width"];
9032
9180
  var _this = undefined;
9033
9181
  var InputElement = function InputElement(_ref) {
9034
9182
  var _record$packingUnitLi, _record$packingUnitLi2;
@@ -9526,7 +9674,7 @@ var InputElement = function InputElement(_ref) {
9526
9674
  var ResizeableTitle$1 = function ResizeableTitle(props) {
9527
9675
  var onResize = props.onResize,
9528
9676
  width = props.width,
9529
- restProps = _objectWithoutProperties(props, _excluded$7);
9677
+ restProps = _objectWithoutProperties(props, _excluded$8);
9530
9678
  if (!width) {
9531
9679
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
9532
9680
  }
@@ -10601,6 +10749,14 @@ function commonFun(type, prefixUrl, parentProps) {
10601
10749
  }
10602
10750
  }
10603
10751
  }
10752
+ }, {
10753
+ name: 'qp-styleCode-in',
10754
+ label: '龙牙款号',
10755
+ type: 'multipleQueryInput'
10756
+ }, {
10757
+ name: 'qp-pinCode-in',
10758
+ label: '龙牙品号',
10759
+ type: 'multipleQueryInput'
10604
10760
  },
10605
10761
  // { name: 'qp-eancode-in', label: '商品条码', field: {
10606
10762
  // type: 'multipleQueryInput',
@@ -10703,9 +10859,9 @@ function commonFun(type, prefixUrl, parentProps) {
10703
10859
  currentPage: 1,
10704
10860
  'qp-labelType-eq': 1
10705
10861
  }, getQueryHeadersItem(_queryHeaderParams2, 'qp-itemLabelId-in'))]).then(function (x) {
10706
- formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
10707
- formatTreeDataSource(x, 1, 4, tableSearchForm);
10708
- formatSource(x, 2, 6, tableSearchForm, ['id', 'name']);
10862
+ formatSource(x, 0, getFieldIndex(tableSearchForm, 'brandId'), tableSearchForm, ['id', 'name']);
10863
+ formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'categoryId'), tableSearchForm);
10864
+ formatSource(x, 2, getFieldIndex(tableSearchForm, 'itemLabelId'), tableSearchForm, ['id', 'name']);
10709
10865
  });
10710
10866
  modalTableProps = _objectSpread2({
10711
10867
  modalTableTitle: '选择SKU',
@@ -10714,18 +10870,12 @@ function commonFun(type, prefixUrl, parentProps) {
10714
10870
  tableColumns: [{
10715
10871
  title: '序号',
10716
10872
  dataIndex: 'keyIndex',
10873
+ width: 60,
10717
10874
  defaultSort: 0
10718
- }, {
10719
- title: 'SKU编码',
10720
- dataIndex: 'skuCode',
10721
- defaultSort: 2
10722
- }, {
10723
- title: 'SKU名称',
10724
- dataIndex: 'skuName',
10725
- defaultSort: 3
10726
10875
  }, {
10727
10876
  title: '图片',
10728
10877
  dataIndex: 'itemUrl',
10878
+ width: 60,
10729
10879
  defaultSort: 1,
10730
10880
  render: function render(text, record) {
10731
10881
  return tableColumnsImage(getSkuImg(record), {
@@ -10733,34 +10883,79 @@ function commonFun(type, prefixUrl, parentProps) {
10733
10883
  height: 16
10734
10884
  });
10735
10885
  }
10886
+ }, {
10887
+ title: 'SKU名称',
10888
+ dataIndex: 'skuName',
10889
+ width: 200,
10890
+ defaultSort: 2,
10891
+ ellipsis: {
10892
+ showTitle: false
10893
+ },
10894
+ render: function render(text) {
10895
+ return handleTextOverflow(text, 200);
10896
+ }
10897
+ }, {
10898
+ title: '颜色名称',
10899
+ dataIndex: 'colorName',
10900
+ width: 140,
10901
+ defaultSort: 3
10902
+ }, {
10903
+ title: '尺码名称',
10904
+ dataIndex: 'sizeName',
10905
+ width: 100,
10906
+ defaultSort: 4
10907
+ }, {
10908
+ title: 'SKU编码',
10909
+ dataIndex: 'skuCode',
10910
+ width: 160,
10911
+ defaultSort: 5
10912
+ }, {
10913
+ title: '龙牙款号',
10914
+ dataIndex: 'styleCode',
10915
+ width: 160,
10916
+ defaultSort: 6
10917
+ }, {
10918
+ title: '龙牙品号',
10919
+ dataIndex: 'pinCode',
10920
+ width: 160,
10921
+ defaultSort: 7
10736
10922
  }, {
10737
10923
  title: '商品条码',
10738
- dataIndex: 'eancode'
10924
+ dataIndex: 'eancode',
10925
+ width: 140
10739
10926
  }, {
10740
10927
  title: 'SKC编码',
10741
- dataIndex: 'skcCode'
10928
+ dataIndex: 'skcCode',
10929
+ width: 140
10742
10930
  }, {
10743
10931
  title: '所属SPU名称',
10744
- dataIndex: 'itemName'
10932
+ dataIndex: 'itemName',
10933
+ width: 160
10745
10934
  }, {
10746
10935
  title: '所属SPU编码',
10747
- dataIndex: 'itemCode'
10936
+ dataIndex: 'itemCode',
10937
+ width: 140
10748
10938
  }, {
10749
10939
  title: '外部编码',
10750
- dataIndex: 'externalCode'
10940
+ dataIndex: 'externalCode',
10941
+ width: 140
10751
10942
  }, {
10752
10943
  title: '规格',
10753
- dataIndex: 'propertyNameAndValue'
10944
+ dataIndex: 'propertyNameAndValue',
10945
+ width: 140
10754
10946
  }, {
10755
10947
  title: '类目',
10756
- dataIndex: 'categoryName'
10948
+ dataIndex: 'categoryName',
10949
+ width: 120
10757
10950
  }, {
10758
10951
  title: '品类',
10759
- dataIndex: 'className'
10952
+ dataIndex: 'className',
10953
+ width: 120
10760
10954
  }, {
10761
10955
  title: '品牌',
10762
10956
  dataIndex: 'brandName',
10763
- defaultSort: 4
10957
+ width: 120,
10958
+ defaultSort: 8
10764
10959
  }]
10765
10960
  }, modalTableBusProps);
10766
10961
  }
@@ -11524,8 +11719,8 @@ function commonFun(type, prefixUrl, parentProps) {
11524
11719
  var areaDisabledJude = function areaDisabledJude(data) {
11525
11720
  return data['parent'] === '0';
11526
11721
  }; // 所属营销区域 树节点不能点判断
11527
- formatTreeDataSource(x, 0, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11528
- formatTreeDataSource(x, 1, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
11722
+ formatTreeDataSource(x, 0, getFieldIndex(tableSearchForm, 'qp-channelCode-in'), tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11723
+ formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'qp-refCode-in'), tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
11529
11724
  });
11530
11725
  tableSearchForm = [{
11531
11726
  name: 'realWarehouseName*multiInput',
@@ -11540,16 +11735,6 @@ function commonFun(type, prefixUrl, parentProps) {
11540
11735
  type: 'select',
11541
11736
  label: '逻辑仓类型',
11542
11737
  initialSource: getDictionarySource$1('SC00004')
11543
- }, {
11544
- name: 'belongArea',
11545
- field: {
11546
- type: 'select',
11547
- props: {
11548
- mode: 'multiple'
11549
- }
11550
- },
11551
- label: '管理大区',
11552
- initialSource: getDictionarySource$1('BUSINESS_belongArea')
11553
11738
  }, {
11554
11739
  name: 'qp-channelCode-in',
11555
11740
  type: 'treeSelect',
@@ -14307,7 +14492,7 @@ function handleFormSearchSourceLoad(c, parentProps) {
14307
14492
  return result;
14308
14493
  }
14309
14494
  var AddSkuSelect = function AddSkuSelect(parProps) {
14310
- var _parProps$requestConf, _parProps$requestConf2;
14495
+ var _parProps$requestConf, _parProps$requestConf2, _topTablePagination$p, _topTablePagination$s;
14311
14496
  var selectProps = {
14312
14497
  mode: 'multiple'
14313
14498
  };
@@ -14337,7 +14522,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14337
14522
  }
14338
14523
  }]), [{
14339
14524
  title: 'SKU名称',
14340
- width: 200,
14525
+ width: 300,
14341
14526
  ellipsis: {
14342
14527
  showTitle: false
14343
14528
  },
@@ -14345,9 +14530,32 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14345
14530
  return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
14346
14531
  placement: "topLeft",
14347
14532
  title: text
14348
- }, text);
14533
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
14534
+ style: {
14535
+ display: 'block',
14536
+ overflow: 'hidden',
14537
+ textOverflow: 'ellipsis',
14538
+ whiteSpace: 'nowrap'
14539
+ }
14540
+ }, text));
14349
14541
  },
14350
14542
  dataIndex: 'name'
14543
+ }, {
14544
+ title: '龙牙款号',
14545
+ width: 150,
14546
+ dataIndex: 'longyaStyleCode'
14547
+ }, {
14548
+ title: '龙牙品号',
14549
+ width: 150,
14550
+ dataIndex: 'longyaPinCode'
14551
+ }, {
14552
+ title: '颜色名称',
14553
+ width: 140,
14554
+ dataIndex: 'colorName'
14555
+ }, {
14556
+ title: '尺码名称',
14557
+ width: 140,
14558
+ dataIndex: 'sizeName'
14351
14559
  }, {
14352
14560
  title: '图片',
14353
14561
  dataIndex: 'itemUrl',
@@ -14420,7 +14628,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14420
14628
  dataIndex: 'skuCode'
14421
14629
  }, {
14422
14630
  title: 'SKU名称',
14423
- width: 200,
14631
+ width: 300,
14424
14632
  ellipsis: {
14425
14633
  showTitle: false
14426
14634
  },
@@ -14428,9 +14636,32 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14428
14636
  return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
14429
14637
  placement: "topLeft",
14430
14638
  title: text
14431
- }, text);
14639
+ }, /*#__PURE__*/React__default['default'].createElement("span", {
14640
+ style: {
14641
+ display: 'block',
14642
+ overflow: 'hidden',
14643
+ textOverflow: 'ellipsis',
14644
+ whiteSpace: 'nowrap'
14645
+ }
14646
+ }, text));
14432
14647
  },
14433
14648
  dataIndex: 'name'
14649
+ }, {
14650
+ title: '龙牙款号',
14651
+ width: 150,
14652
+ dataIndex: 'longyaStyleCode'
14653
+ }, {
14654
+ title: '龙牙品号',
14655
+ width: 150,
14656
+ dataIndex: 'longyaPinCode'
14657
+ }, {
14658
+ title: '颜色名称',
14659
+ width: 140,
14660
+ dataIndex: 'colorName'
14661
+ }, {
14662
+ title: '尺码名称',
14663
+ width: 140,
14664
+ dataIndex: 'sizeName'
14434
14665
  }, {
14435
14666
  title: '图片',
14436
14667
  dataIndex: 'itemUrl',
@@ -14568,6 +14799,14 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14568
14799
  }, {
14569
14800
  name: 'qp-skuName-like',
14570
14801
  label: 'SKU名称'
14802
+ }, {
14803
+ name: 'qp-longyaStyleCode-in',
14804
+ label: '龙牙款号',
14805
+ type: 'multipleQueryInput'
14806
+ }, {
14807
+ name: 'qp-longyaPinCode-in',
14808
+ label: '龙牙品号',
14809
+ type: 'multipleQueryInput'
14571
14810
  }, {
14572
14811
  name: 'qp-externalCode-like',
14573
14812
  label: '外部SPU编码'
@@ -14633,7 +14872,9 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14633
14872
  'ctl-withAuth': true
14634
14873
  },
14635
14874
  resType: 'list',
14636
- resPosition: isNoUseItemBarcode ? 4 : 5,
14875
+ resPosition: mTpTableSearchForm.findIndex(function (item) {
14876
+ return item.name === 'qp-brandId-in';
14877
+ }),
14637
14878
  resKeyValue: ['id', 'name']
14638
14879
  }, {
14639
14880
  url: "/items/category/queryCategoryTree",
@@ -14642,9 +14883,17 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14642
14883
  currentPage: 1
14643
14884
  },
14644
14885
  resType: 'treeList',
14645
- resPosition: isNoUseItemBarcode ? 5 : 6
14886
+ resPosition: mTpTableSearchForm.findIndex(function (item) {
14887
+ return item.name === 'qp-categoryId-in';
14888
+ })
14646
14889
  }];
14647
14890
  var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
14891
+ var topTablePagination = (parProps === null || parProps === void 0 ? void 0 : parProps.pagination) || {};
14892
+ var pageSizeOptions = Array.from(new Set([].concat(_toConsumableArray(SEARCH_SELECT_MODAL_PAGE_SIZE_OPTIONS), _toConsumableArray(topTablePagination.pageSizeOptions || [])).map(function (option) {
14893
+ return String(option);
14894
+ }))).sort(function (left, right) {
14895
+ return Number(left) - Number(right);
14896
+ });
14648
14897
  var props = {
14649
14898
  buttonText: parProps.buttonText || '新增',
14650
14899
  buttonProps: parProps.buttonProps || {},
@@ -14680,7 +14929,11 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14680
14929
  tableColumns: mTpTableColumn,
14681
14930
  selectColumn: mTpSelectColumn,
14682
14931
  promiseLoadList: mTpPromiseLoadList,
14683
- topTablePagination: (parProps === null || parProps === void 0 ? void 0 : parProps.pagination) || {}
14932
+ topTablePagination: _objectSpread2(_objectSpread2({}, topTablePagination), {}, {
14933
+ pageSize: (_topTablePagination$p = topTablePagination.pageSize) !== null && _topTablePagination$p !== void 0 ? _topTablePagination$p : SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE,
14934
+ showSizeChanger: (_topTablePagination$s = topTablePagination.showSizeChanger) !== null && _topTablePagination$s !== void 0 ? _topTablePagination$s : true,
14935
+ pageSizeOptions: pageSizeOptions
14936
+ })
14684
14937
  };
14685
14938
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
14686
14939
  modalTableProps: modalTableProps
@@ -15457,7 +15710,7 @@ function getStorageVale(storageKeyString) {
15457
15710
  return "";
15458
15711
  }
15459
15712
 
15460
- var _excluded$8 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
15713
+ var _excluded$9 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
15461
15714
  var TreeSearchSelect = function TreeSearchSelect(props) {
15462
15715
  var _useState = React$1.useState([]),
15463
15716
  _useState2 = _slicedToArray(_useState, 2),
@@ -15499,7 +15752,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
15499
15752
  } : _props$style,
15500
15753
  getTreeData = props.getTreeData,
15501
15754
  disabled = props.disabled,
15502
- restProps = _objectWithoutProperties(props, _excluded$8);
15755
+ restProps = _objectWithoutProperties(props, _excluded$9);
15503
15756
  var url = remoteSource.url,
15504
15757
  headers = remoteSource.headers,
15505
15758
  _remoteSource$paramsK = remoteSource.paramsKey,
@@ -15927,7 +16180,7 @@ var index$2 = (function (props) {
15927
16180
  var css_248z$c = ".guide-wrapper .form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.guide-wrapper .form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.guide-wrapper .form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.guide-wrapper .form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .white-card.bitsun-form-card-class .guidewrapper-body-wrapper {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.guide-wrapper .bitsun-form-card-class > .guidewrapper-body-wrapper {\n margin-bottom: 10px;\n}\n.guide-wrapper .bitsun-form-card-class .guidewrapper-body-wrapper {\n padding: 12px 0 0;\n background-color: #F3F3F3;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005cff;\n height: 20px;\n margin-right: 16px;\n}\n.guide-wrapper .field-group-hidden .guidewrapper-body-wrapper {\n display: none !important;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap {\n cursor: pointer;\n color: #B6B6B6;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon {\n transition: transform 0.3s;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.guidewrapper-head-wrap {\n padding-left: 16px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: #fff;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left {\n display: flex;\n align-items: center;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left::before {\n content: '';\n display: block;\n width: 3px;\n background: #005cff;\n height: 20px;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left .guidewrapper-head-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n padding: 0 6px;\n}\n.guidewrapper-head-border {\n border-bottom: 1px solid #F0F0F0;\n}\n.guidewrapper-title-extra-wrap {\n padding-left: 5px;\n}\n";
15928
16181
  styleInject(css_248z$c);
15929
16182
 
15930
- var _excluded$9 = ["children", "titleExtra", "title", "extra", "bordered"],
16183
+ var _excluded$a = ["children", "titleExtra", "title", "extra", "bordered"],
15931
16184
  _excluded2$3 = ["children"];
15932
16185
  var Field = function Field(_ref) {
15933
16186
  var children = _ref.children,
@@ -15935,7 +16188,7 @@ var Field = function Field(_ref) {
15935
16188
  title = _ref.title,
15936
16189
  extra = _ref.extra,
15937
16190
  bordered = _ref.bordered,
15938
- props = _objectWithoutProperties(_ref, _excluded$9);
16191
+ props = _objectWithoutProperties(_ref, _excluded$a);
15939
16192
  var _React$useState = React__default['default'].useState(true),
15940
16193
  _React$useState2 = _slicedToArray(_React$useState, 2),
15941
16194
  fieldGroupVisible = _React$useState2[0],
@@ -16062,7 +16315,7 @@ var ExportIcon = function ExportIcon(_ref) {
16062
16315
  var css_248z$d = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-tbody::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tbody tr:first-child {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
16063
16316
  styleInject(css_248z$d);
16064
16317
 
16065
- var _excluded$a = ["className", "style"];
16318
+ var _excluded$b = ["className", "style"];
16066
16319
  var Search$1 = antd.Input.Search;
16067
16320
  var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
16068
16321
  return /*#__PURE__*/React__default['default'].createElement("img", {
@@ -16495,7 +16748,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
16495
16748
  _this.DraggableBodyRow = function (_ref2) {
16496
16749
  var className = _ref2.className,
16497
16750
  style = _ref2.style,
16498
- restProps = _objectWithoutProperties(_ref2, _excluded$a);
16751
+ restProps = _objectWithoutProperties(_ref2, _excluded$b);
16499
16752
  var sortDataSource = _this.state.sortDataSource;
16500
16753
  // function findIndex base on Table rowKey props and should always be a right array index
16501
16754
  var index = sortDataSource.findIndex(function (x) {
@@ -16857,7 +17110,7 @@ var TableSumComponent = (function (_ref) {
16857
17110
  }));
16858
17111
  });
16859
17112
 
16860
- var _excluded$b = ["onResize", "width"],
17113
+ var _excluded$c = ["onResize", "width"],
16861
17114
  _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll", "rowSelection"];
16862
17115
  var Text = antd.Typography.Text;
16863
17116
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
@@ -17046,7 +17299,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
17046
17299
  _this.ResizeableTitle = function (props) {
17047
17300
  var onResize = props.onResize,
17048
17301
  width = props.width,
17049
- restProps = _objectWithoutProperties(props, _excluded$b);
17302
+ restProps = _objectWithoutProperties(props, _excluded$c);
17050
17303
  var _useState = React$1.useState(width),
17051
17304
  _useState2 = _slicedToArray(_useState, 2),
17052
17305
  innerWidth = _useState2[0],
@@ -17358,7 +17611,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
17358
17611
  }]);
17359
17612
  }(React__default['default'].Component);
17360
17613
 
17361
- var _excluded$c = ["onResize", "width"],
17614
+ var _excluded$d = ["onResize", "width"],
17362
17615
  _excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll", "rowSelection"];
17363
17616
  var Text$1 = antd.Typography.Text;
17364
17617
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
@@ -17538,7 +17791,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
17538
17791
  _this.ResizeableTitle = function (props) {
17539
17792
  var onResize = props.onResize,
17540
17793
  width = props.width,
17541
- restProps = _objectWithoutProperties(props, _excluded$c);
17794
+ restProps = _objectWithoutProperties(props, _excluded$d);
17542
17795
  if (!width) {
17543
17796
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
17544
17797
  }
@@ -17909,12 +18162,12 @@ var cancelIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org
17909
18162
  var css_248z$g = "";
17910
18163
  styleInject(css_248z$g);
17911
18164
 
17912
- var _excluded$d = ["message", "type"];
18165
+ var _excluded$e = ["message", "type"];
17913
18166
  var CommonAlert = (function (props) {
17914
18167
  var message = props.message,
17915
18168
  _props$type = props.type,
17916
18169
  type = _props$type === void 0 ? 'info' : _props$type,
17917
- reset = _objectWithoutProperties(props, _excluded$d);
18170
+ reset = _objectWithoutProperties(props, _excluded$e);
17918
18171
  return /*#__PURE__*/React__default['default'].createElement("div", {
17919
18172
  style: {
17920
18173
  width: '100%',
@@ -17935,7 +18188,7 @@ var CommonAlert = (function (props) {
17935
18188
  }, reset)));
17936
18189
  });
17937
18190
 
17938
- var _excluded$e = ["children"];
18191
+ var _excluded$f = ["children"];
17939
18192
  var iconStyle = {
17940
18193
  width: 16,
17941
18194
  height: 16
@@ -17979,7 +18232,7 @@ var index$3 = (function (props) {
17979
18232
  _useState2 = _slicedToArray(_useState, 1),
17980
18233
  id = _useState2[0];
17981
18234
  var children = props.children,
17982
- restProps = _objectWithoutProperties(props, _excluded$e);
18235
+ restProps = _objectWithoutProperties(props, _excluded$f);
17983
18236
  return /*#__PURE__*/React__default['default'].createElement("div", {
17984
18237
  id: id,
17985
18238
  className: 'detail_page_wrapper'
@@ -18308,7 +18561,7 @@ var processDetailButtonsVisible = function processDetailButtonsVisible(buttons,
18308
18561
  var css_248z$h = ".bs_home_page_head_wrapper {\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
18309
18562
  styleInject(css_248z$h);
18310
18563
 
18311
- var _excluded$f = ["children"];
18564
+ var _excluded$g = ["children"];
18312
18565
  var index$4 = (function (props) {
18313
18566
  var _useLocation = umi.useLocation(),
18314
18567
  pathname = _useLocation.pathname;
@@ -18316,7 +18569,7 @@ var index$4 = (function (props) {
18316
18569
  _useState2 = _slicedToArray(_useState, 1),
18317
18570
  id = _useState2[0];
18318
18571
  var children = props.children,
18319
- restProps = _objectWithoutProperties(props, _excluded$f);
18572
+ restProps = _objectWithoutProperties(props, _excluded$g);
18320
18573
  return /*#__PURE__*/React__default['default'].createElement("div", {
18321
18574
  id: id,
18322
18575
  className: 'home_page_wrapper'
@@ -18393,7 +18646,7 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
18393
18646
  var css_248z$i = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-body::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tbody tr:first-child {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
18394
18647
  styleInject(css_248z$i);
18395
18648
 
18396
- var _excluded$g = ["className", "style"];
18649
+ var _excluded$h = ["className", "style"];
18397
18650
  var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
18398
18651
  return /*#__PURE__*/React__default['default'].createElement("img", {
18399
18652
  width: 25,
@@ -18863,7 +19116,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
18863
19116
  _this.DraggableBodyRow = function (_ref2) {
18864
19117
  var className = _ref2.className,
18865
19118
  style = _ref2.style,
18866
- restProps = _objectWithoutProperties(_ref2, _excluded$g);
19119
+ restProps = _objectWithoutProperties(_ref2, _excluded$h);
18867
19120
  var sortDataSource = _this.state.sortDataSource;
18868
19121
  // function findIndex base on Table rowKey props and should always be a right array index
18869
19122
  var index = sortDataSource.findIndex(function (x) {
@@ -19247,7 +19500,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
19247
19500
  }]);
19248
19501
  }(React__default['default'].Component);
19249
19502
 
19250
- var _excluded$h = ["className", "style"];
19503
+ var _excluded$i = ["className", "style"];
19251
19504
  var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
19252
19505
  return /*#__PURE__*/React__default['default'].createElement("img", {
19253
19506
  width: 25,
@@ -19500,7 +19753,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
19500
19753
  _this.DraggableBodyRow = function (_ref2) {
19501
19754
  var className = _ref2.className,
19502
19755
  style = _ref2.style,
19503
- restProps = _objectWithoutProperties(_ref2, _excluded$h);
19756
+ restProps = _objectWithoutProperties(_ref2, _excluded$i);
19504
19757
  var sortDataSource = _this.state.sortDataSource;
19505
19758
  var index = sortDataSource.findIndex(function (x) {
19506
19759
  return x.name === restProps['data-row-key'];
@@ -19806,13 +20059,13 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
19806
20059
  var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
19807
20060
  styleInject(css_248z$j);
19808
20061
 
19809
- var _excluded$i = ["onResize", "width"];
20062
+ var _excluded$j = ["onResize", "width"];
19810
20063
  var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
19811
20064
  var Text$2 = antd.Typography.Text;
19812
20065
  var ResizeableTitle$2 = function ResizeableTitle(props) {
19813
20066
  var onResize = props.onResize,
19814
20067
  width = props.width,
19815
- restProps = _objectWithoutProperties(props, _excluded$i);
20068
+ restProps = _objectWithoutProperties(props, _excluded$j);
19816
20069
  var _useState = React$1.useState(width),
19817
20070
  _useState2 = _slicedToArray(_useState, 2),
19818
20071
  innerWidth = _useState2[0],
@@ -23139,7 +23392,7 @@ var NoFoundPage = function NoFoundPage(props) {
23139
23392
  }));
23140
23393
  };
23141
23394
 
23142
- var _excluded$j = ["route"];
23395
+ var _excluded$k = ["route"];
23143
23396
  var TabPane = antd.Tabs.TabPane;
23144
23397
  var getId = function getId(str) {
23145
23398
  // 找到最后一个 / 的位置
@@ -24080,7 +24333,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
24080
24333
  }); // 添加数据大屏
24081
24334
  var _this$props3 = this.props,
24082
24335
  route = _this$props3.route,
24083
- restPrpos = _objectWithoutProperties(_this$props3, _excluded$j);
24336
+ restPrpos = _objectWithoutProperties(_this$props3, _excluded$k);
24084
24337
  var exist = route.routes.find(function (route) {
24085
24338
  return route.path === '/homePage/data-show';
24086
24339
  });
@@ -25050,10 +25303,10 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
25050
25303
  }))))));
25051
25304
  });
25052
25305
 
25053
- var _excluded$k = ["children"];
25306
+ var _excluded$l = ["children"];
25054
25307
  var Drawer = (function (props) {
25055
25308
  var children = props.children,
25056
- restProps = _objectWithoutProperties(props, _excluded$k);
25309
+ restProps = _objectWithoutProperties(props, _excluded$l);
25057
25310
  return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
25058
25311
  mask: true,
25059
25312
  closable: false,
@@ -33825,7 +34078,7 @@ var formatListName = function formatListName(list, columns) {
33825
34078
  });
33826
34079
  };
33827
34080
 
33828
- var _excluded$l = ["sorter"];
34081
+ var _excluded$m = ["sorter"];
33829
34082
  /**
33830
34083
  * 删掉查询条件的qp- 和 -eq等
33831
34084
  * @param {object} data
@@ -33905,7 +34158,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
33905
34158
  var _requestConfig$method;
33906
34159
  var params = _ref.params;
33907
34160
  var sorter = params.sorter,
33908
- paramsTemp = _objectWithoutProperties(params, _excluded$l);
34161
+ paramsTemp = _objectWithoutProperties(params, _excluded$m);
33909
34162
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), ___default['default'].omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
33910
34163
  currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
33911
34164
  });
@@ -35133,6 +35386,9 @@ var RuleField = /*#__PURE__*/function (_Component) {
35133
35386
  var SET_TYPE = ['in', 'nin', 'cn', 'ncn', '5']; //集合类型 (数字为 兼容用户管理子应用使用规则组件)
35134
35387
  var INTERVAL_TYPE = ['be', 'bed', 'nbe', 'nbed', 'ber', 'bel']; //区间类型
35135
35388
  var IS_KONG = ['en']; // 为空
35389
+ // 兼容元数据新旧枚举:旧 11单选/12多选;新 20单选/30多选(与 MetaDataCenter / RenderCompItem 一致)
35390
+ var isMultiInputType = dataInputBusinessType == 12 || dataInputBusinessType == 30;
35391
+ var isSelectInputType = dataInputBusinessType == 11 || dataInputBusinessType == 12 || dataInputBusinessType == 20 || dataInputBusinessType == 30;
35136
35392
  if (IS_KONG.indexOf(selectOperation) > -1) {
35137
35393
  return '';
35138
35394
  }
@@ -35210,8 +35466,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35210
35466
  }, item.name);
35211
35467
  }));
35212
35468
  }
35213
- } else if (dataInputBusinessType == 11 || dataInputBusinessType == 12) {
35214
- // 11 单选 12 多选
35469
+ } else if (isSelectInputType) {
35470
+ // 11/20 单选 12/30 多选
35215
35471
  // 物理仓
35216
35472
  if (dataChoiceBusinessType == 110) {
35217
35473
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
@@ -35220,7 +35476,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35220
35476
  selectProps: _objectSpread2({
35221
35477
  style: styleCommon,
35222
35478
  placeholder: '请选择物理仓'
35223
- }, dataInputBusinessType === 12 ? {
35479
+ }, isMultiInputType ? {
35224
35480
  mode: 'multiple',
35225
35481
  maxTagCount: 1
35226
35482
  } : {}),
@@ -35232,7 +35488,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35232
35488
  filterInit: 'qp-physicalWarehouseCode-in'
35233
35489
  },
35234
35490
  onChange: function onChange(value) {
35235
- if (dataInputBusinessType === 12) {
35491
+ if (isMultiInputType) {
35236
35492
  values[0] = value.map(function (i) {
35237
35493
  return i.key;
35238
35494
  });
@@ -35253,7 +35509,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35253
35509
  selectProps: _objectSpread2({
35254
35510
  style: styleCommon,
35255
35511
  placeholder: '请选择物理仓'
35256
- }, dataInputBusinessType === 12 ? {
35512
+ }, isMultiInputType ? {
35257
35513
  mode: 'multiple',
35258
35514
  maxTagCount: 1
35259
35515
  } : {}),
@@ -35265,7 +35521,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35265
35521
  filterInit: 'qp-physicalWarehouseCode-in'
35266
35522
  },
35267
35523
  onChange: function onChange(value) {
35268
- if (dataInputBusinessType === 12) {
35524
+ if (isMultiInputType) {
35269
35525
  values[1] = value.map(function (i) {
35270
35526
  return i.key;
35271
35527
  });
@@ -35284,7 +35540,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35284
35540
  }));
35285
35541
  } else {
35286
35542
  var _values;
35287
- var currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
35543
+ var currentValue = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
35288
35544
  return {
35289
35545
  key: s,
35290
35546
  label: valueNames[vIndex],
@@ -35300,7 +35556,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35300
35556
  selectProps: _objectSpread2({
35301
35557
  style: styleCommon,
35302
35558
  placeholder: '请选择物理仓'
35303
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
35559
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35304
35560
  mode: 'multiple',
35305
35561
  maxTagCount: 1
35306
35562
  } : {}),
@@ -35312,7 +35568,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35312
35568
  filterInit: 'qp-physicalWarehouseCode-in'
35313
35569
  },
35314
35570
  onChange: function onChange(value) {
35315
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
35571
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35316
35572
  values = value.map(function (i) {
35317
35573
  return i.key;
35318
35574
  }) || [];
@@ -35339,7 +35595,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35339
35595
  selectProps: _objectSpread2({
35340
35596
  style: styleCommon,
35341
35597
  placeholder: '请选择逻辑仓'
35342
- }, dataInputBusinessType === 12 ? {
35598
+ }, isMultiInputType ? {
35343
35599
  mode: 'multiple',
35344
35600
  maxTagCount: 1
35345
35601
  } : {}),
@@ -35351,7 +35607,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35351
35607
  filterInit: 'qp-realWarehouseCode-in'
35352
35608
  },
35353
35609
  onChange: function onChange(value) {
35354
- if (dataInputBusinessType === 12) {
35610
+ if (isMultiInputType) {
35355
35611
  values[0] = value.map(function (i) {
35356
35612
  return i.key;
35357
35613
  });
@@ -35372,7 +35628,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35372
35628
  selectProps: _objectSpread2({
35373
35629
  style: styleCommon,
35374
35630
  placeholder: '请选择逻辑仓'
35375
- }, dataInputBusinessType === 12 ? {
35631
+ }, isMultiInputType ? {
35376
35632
  mode: 'multiple',
35377
35633
  maxTagCount: 1
35378
35634
  } : {}),
@@ -35384,7 +35640,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35384
35640
  filterInit: 'qp-realWarehouseCode-in'
35385
35641
  },
35386
35642
  onChange: function onChange(value) {
35387
- if (dataInputBusinessType === 12) {
35643
+ if (isMultiInputType) {
35388
35644
  values[1] = value.map(function (i) {
35389
35645
  return i.key;
35390
35646
  });
@@ -35403,7 +35659,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35403
35659
  }));
35404
35660
  } else {
35405
35661
  var _values2;
35406
- var _currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
35662
+ var _currentValue = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
35407
35663
  return {
35408
35664
  key: s,
35409
35665
  label: valueNames[vIndex],
@@ -35419,7 +35675,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35419
35675
  selectProps: _objectSpread2({
35420
35676
  style: styleCommon,
35421
35677
  placeholder: '请选择逻辑仓'
35422
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
35678
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35423
35679
  mode: 'multiple',
35424
35680
  maxTagCount: 1
35425
35681
  } : {}),
@@ -35431,7 +35687,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35431
35687
  filterInit: 'qp-realWarehouseCode-in'
35432
35688
  },
35433
35689
  onChange: function onChange(value) {
35434
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
35690
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35435
35691
  values = value.map(function (i) {
35436
35692
  return i.key;
35437
35693
  }) || [];
@@ -35458,7 +35714,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35458
35714
  selectProps: _objectSpread2({
35459
35715
  style: styleCommon,
35460
35716
  placeholder: '请选择虚拟仓'
35461
- }, dataInputBusinessType === 12 ? {
35717
+ }, isMultiInputType ? {
35462
35718
  mode: 'multiple',
35463
35719
  maxTagCount: 1
35464
35720
  } : {}),
@@ -35470,7 +35726,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35470
35726
  filterInit: 'qp-virtualWarehouseCode-in'
35471
35727
  },
35472
35728
  onChange: function onChange(value) {
35473
- if (dataInputBusinessType === 12) {
35729
+ if (isMultiInputType) {
35474
35730
  values[0] = value.map(function (i) {
35475
35731
  return i.key;
35476
35732
  });
@@ -35491,7 +35747,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35491
35747
  selectProps: _objectSpread2({
35492
35748
  style: styleCommon,
35493
35749
  placeholder: '请选择虚拟仓'
35494
- }, dataInputBusinessType === 12 ? {
35750
+ }, isMultiInputType ? {
35495
35751
  mode: 'multiple',
35496
35752
  maxTagCount: 1
35497
35753
  } : {}),
@@ -35503,7 +35759,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35503
35759
  filterInit: 'qp-virtualWarehouseCode-in'
35504
35760
  },
35505
35761
  onChange: function onChange(value) {
35506
- if (dataInputBusinessType === 12) {
35762
+ if (isMultiInputType) {
35507
35763
  values[1] = value.map(function (i) {
35508
35764
  return i.key;
35509
35765
  });
@@ -35522,7 +35778,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35522
35778
  }));
35523
35779
  } else {
35524
35780
  var _values3;
35525
- var _currentValue2 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
35781
+ var _currentValue2 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
35526
35782
  return {
35527
35783
  key: s,
35528
35784
  label: valueNames[vIndex],
@@ -35538,7 +35794,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35538
35794
  selectProps: _objectSpread2({
35539
35795
  style: styleCommon,
35540
35796
  placeholder: '请选择虚拟仓'
35541
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
35797
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35542
35798
  mode: 'multiple',
35543
35799
  maxTagCount: 1
35544
35800
  } : {}),
@@ -35550,7 +35806,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35550
35806
  filterInit: 'qp-virtualWarehouseCode-in'
35551
35807
  },
35552
35808
  onChange: function onChange(value) {
35553
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
35809
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35554
35810
  values = value.map(function (i) {
35555
35811
  return i.key;
35556
35812
  }) || [];
@@ -35577,7 +35833,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35577
35833
  selectProps: _objectSpread2({
35578
35834
  style: styleCommon,
35579
35835
  placeholder: '请选择渠道仓'
35580
- }, dataInputBusinessType === 12 ? {
35836
+ }, isMultiInputType ? {
35581
35837
  mode: 'multiple',
35582
35838
  maxTagCount: 1
35583
35839
  } : {}),
@@ -35589,7 +35845,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35589
35845
  filterInit: 'qp-channelWarehouseCode-in'
35590
35846
  },
35591
35847
  onChange: function onChange(value) {
35592
- if (dataInputBusinessType === 12) {
35848
+ if (isMultiInputType) {
35593
35849
  values[0] = value.map(function (i) {
35594
35850
  return i.key;
35595
35851
  });
@@ -35610,7 +35866,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35610
35866
  selectProps: _objectSpread2({
35611
35867
  style: styleCommon,
35612
35868
  placeholder: '请选择渠道仓'
35613
- }, dataInputBusinessType === 12 ? {
35869
+ }, isMultiInputType ? {
35614
35870
  mode: 'multiple',
35615
35871
  maxTagCount: 1
35616
35872
  } : {}),
@@ -35622,7 +35878,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35622
35878
  filterInit: 'qp-channelWarehouseCode-in'
35623
35879
  },
35624
35880
  onChange: function onChange(value) {
35625
- if (dataInputBusinessType === 12) {
35881
+ if (isMultiInputType) {
35626
35882
  values[1] = value.map(function (i) {
35627
35883
  return i.key;
35628
35884
  });
@@ -35641,7 +35897,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35641
35897
  }));
35642
35898
  } else {
35643
35899
  var _values4;
35644
- var _currentValue3 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
35900
+ var _currentValue3 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
35645
35901
  return {
35646
35902
  key: s,
35647
35903
  label: valueNames[vIndex],
@@ -35657,7 +35913,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35657
35913
  selectProps: _objectSpread2({
35658
35914
  style: styleCommon,
35659
35915
  placeholder: '请选择渠道仓'
35660
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
35916
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35661
35917
  mode: 'multiple',
35662
35918
  maxTagCount: 1
35663
35919
  } : {}),
@@ -35669,7 +35925,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35669
35925
  filterInit: 'qp-channelWarehouseCode-in'
35670
35926
  },
35671
35927
  onChange: function onChange(value) {
35672
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
35928
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35673
35929
  values = value.map(function (i) {
35674
35930
  return i.key;
35675
35931
  }) || [];
@@ -35696,7 +35952,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35696
35952
  selectProps: _objectSpread2({
35697
35953
  style: styleCommon,
35698
35954
  placeholder: '请选择SPU'
35699
- }, dataInputBusinessType === 12 ? {
35955
+ }, isMultiInputType ? {
35700
35956
  mode: 'multiple',
35701
35957
  maxTagCount: 1
35702
35958
  } : {}),
@@ -35707,7 +35963,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35707
35963
  filterInit: 'qp-itemCode-in'
35708
35964
  },
35709
35965
  onChange: function onChange(value) {
35710
- if (dataInputBusinessType === 12) {
35966
+ if (isMultiInputType) {
35711
35967
  values[0] = value.map(function (i) {
35712
35968
  return i.key;
35713
35969
  });
@@ -35728,7 +35984,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35728
35984
  selectProps: _objectSpread2({
35729
35985
  style: styleCommon,
35730
35986
  placeholder: '请选择SPU'
35731
- }, dataInputBusinessType === 12 ? {
35987
+ }, isMultiInputType ? {
35732
35988
  mode: 'multiple',
35733
35989
  maxTagCount: 1
35734
35990
  } : {}),
@@ -35739,7 +35995,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35739
35995
  filterInit: 'qp-itemCode-in'
35740
35996
  },
35741
35997
  onChange: function onChange(value) {
35742
- if (dataInputBusinessType === 12) {
35998
+ if (isMultiInputType) {
35743
35999
  values[1] = value.map(function (i) {
35744
36000
  return i.key;
35745
36001
  });
@@ -35758,7 +36014,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35758
36014
  }));
35759
36015
  } else {
35760
36016
  var _values5;
35761
- var _currentValue4 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
36017
+ var _currentValue4 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
35762
36018
  return {
35763
36019
  key: s,
35764
36020
  label: valueNames[vIndex],
@@ -35774,7 +36030,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35774
36030
  selectProps: _objectSpread2({
35775
36031
  style: styleCommon,
35776
36032
  placeholder: '请选择SPU'
35777
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36033
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35778
36034
  mode: 'multiple',
35779
36035
  maxTagCount: 1
35780
36036
  } : {}),
@@ -35785,7 +36041,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35785
36041
  filterInit: 'qp-itemCode-in'
35786
36042
  },
35787
36043
  onChange: function onChange(value) {
35788
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36044
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35789
36045
  values = value.map(function (i) {
35790
36046
  return i.key;
35791
36047
  }) || [];
@@ -35812,7 +36068,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35812
36068
  selectProps: _objectSpread2({
35813
36069
  style: styleCommon,
35814
36070
  placeholder: '请选择商品'
35815
- }, dataInputBusinessType === 12 ? {
36071
+ }, isMultiInputType ? {
35816
36072
  mode: 'multiple',
35817
36073
  maxTagCount: 1
35818
36074
  } : {}),
@@ -35823,7 +36079,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35823
36079
  filterInit: 'qp-skuCode-in'
35824
36080
  },
35825
36081
  onChange: function onChange(value) {
35826
- if (dataInputBusinessType === 12) {
36082
+ if (isMultiInputType) {
35827
36083
  values[0] = value.map(function (i) {
35828
36084
  return i.key;
35829
36085
  });
@@ -35844,7 +36100,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35844
36100
  selectProps: _objectSpread2({
35845
36101
  style: styleCommon,
35846
36102
  placeholder: '请选择商品'
35847
- }, dataInputBusinessType === 12 ? {
36103
+ }, isMultiInputType ? {
35848
36104
  mode: 'multiple',
35849
36105
  maxTagCount: 1
35850
36106
  } : {}),
@@ -35855,7 +36111,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35855
36111
  filterInit: 'qp-skuCode-in'
35856
36112
  },
35857
36113
  onChange: function onChange(value) {
35858
- if (dataInputBusinessType === 12) {
36114
+ if (isMultiInputType) {
35859
36115
  values[1] = value.map(function (i) {
35860
36116
  return i.key;
35861
36117
  });
@@ -35874,7 +36130,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35874
36130
  }));
35875
36131
  } else {
35876
36132
  var _values6;
35877
- var _currentValue5 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
36133
+ var _currentValue5 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
35878
36134
  return {
35879
36135
  key: s,
35880
36136
  label: valueNames[vIndex],
@@ -35890,7 +36146,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35890
36146
  selectProps: _objectSpread2({
35891
36147
  style: styleCommon,
35892
36148
  placeholder: '请选择商品'
35893
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36149
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35894
36150
  mode: 'multiple',
35895
36151
  maxTagCount: 1
35896
36152
  } : {}),
@@ -35901,7 +36157,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35901
36157
  filterInit: 'qp-skuCode-in'
35902
36158
  },
35903
36159
  onChange: function onChange(value) {
35904
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36160
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35905
36161
  values = value.map(function (i) {
35906
36162
  return i.key;
35907
36163
  }) || [];
@@ -36070,14 +36326,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36070
36326
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36071
36327
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36072
36328
  disabled: disabled,
36073
- treeCheckable: dataInputBusinessType === 12,
36329
+ treeCheckable: isMultiInputType,
36074
36330
  businessType: "department",
36075
36331
  labelInValue: true,
36076
- value: dataInputBusinessType === 12 ? values[0] : values[0][0],
36332
+ value: isMultiInputType ? values[0] : values[0][0],
36077
36333
  style: styleCommon,
36078
36334
  treeCheckStrictly: true,
36079
36335
  onChange: function onChange(value) {
36080
- if (dataInputBusinessType === 12) {
36336
+ if (isMultiInputType) {
36081
36337
  values[0] = value.map(function (i) {
36082
36338
  return i.key;
36083
36339
  });
@@ -36095,14 +36351,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36095
36351
  }
36096
36352
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36097
36353
  disabled: disabled,
36098
- treeCheckable: dataInputBusinessType === 12,
36354
+ treeCheckable: isMultiInputType,
36099
36355
  businessType: "department",
36100
36356
  labelInValue: true,
36101
- value: dataInputBusinessType === 12 ? values[1] : values[1][0],
36357
+ value: isMultiInputType ? values[1] : values[1][0],
36102
36358
  style: styleCommon,
36103
36359
  treeCheckStrictly: true,
36104
36360
  onChange: function onChange(value) {
36105
- if (dataInputBusinessType === 12) {
36361
+ if (isMultiInputType) {
36106
36362
  values[1] = value.map(function (i) {
36107
36363
  return i.key;
36108
36364
  });
@@ -36122,14 +36378,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36122
36378
  } else {
36123
36379
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36124
36380
  disabled: disabled,
36125
- treeCheckable: dataInputBusinessType === 12,
36381
+ treeCheckable: isMultiInputType,
36126
36382
  businessType: "department",
36127
36383
  labelInValue: true,
36128
- value: dataInputBusinessType === 12 ? values : values[0],
36384
+ value: isMultiInputType ? values : values[0],
36129
36385
  style: styleCommon,
36130
36386
  treeCheckStrictly: true,
36131
36387
  onChange: function onChange(value) {
36132
- if (dataInputBusinessType === 12) {
36388
+ if (isMultiInputType) {
36133
36389
  values = value.map(function (i) {
36134
36390
  return i.key;
36135
36391
  }) || [];
@@ -36153,14 +36409,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36153
36409
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36154
36410
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36155
36411
  disabled: disabled,
36156
- treeCheckable: dataInputBusinessType === 12,
36412
+ treeCheckable: isMultiInputType,
36157
36413
  businessType: "purchase-organization",
36158
36414
  labelInValue: true,
36159
- value: dataInputBusinessType === 12 ? values[0] : values[0][0],
36415
+ value: isMultiInputType ? values[0] : values[0][0],
36160
36416
  style: styleCommon,
36161
36417
  treeCheckStrictly: true,
36162
36418
  onChange: function onChange(value) {
36163
- if (dataInputBusinessType === 12) {
36419
+ if (isMultiInputType) {
36164
36420
  values[0] = value.map(function (i) {
36165
36421
  return i.key;
36166
36422
  });
@@ -36178,14 +36434,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36178
36434
  }
36179
36435
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36180
36436
  disabled: disabled,
36181
- treeCheckable: dataInputBusinessType === 12,
36437
+ treeCheckable: isMultiInputType,
36182
36438
  businessType: "purchase-organization",
36183
36439
  labelInValue: true,
36184
- value: dataInputBusinessType === 12 ? values[1] : values[1][0],
36440
+ value: isMultiInputType ? values[1] : values[1][0],
36185
36441
  style: styleCommon,
36186
36442
  treeCheckStrictly: true,
36187
36443
  onChange: function onChange(value) {
36188
- if (dataInputBusinessType === 12) {
36444
+ if (isMultiInputType) {
36189
36445
  values[1] = value.map(function (i) {
36190
36446
  return i.key;
36191
36447
  });
@@ -36205,14 +36461,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36205
36461
  } else {
36206
36462
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36207
36463
  disabled: disabled,
36208
- treeCheckable: dataInputBusinessType === 12,
36464
+ treeCheckable: isMultiInputType,
36209
36465
  businessType: "purchase-organization",
36210
36466
  labelInValue: true,
36211
- value: dataInputBusinessType === 12 ? values : values[0],
36467
+ value: isMultiInputType ? values : values[0],
36212
36468
  style: styleCommon,
36213
36469
  treeCheckStrictly: true,
36214
36470
  onChange: function onChange(value) {
36215
- if (dataInputBusinessType === 12) {
36471
+ if (isMultiInputType) {
36216
36472
  values = value.map(function (i) {
36217
36473
  return i.key;
36218
36474
  }) || [];
@@ -36236,14 +36492,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36236
36492
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36237
36493
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36238
36494
  disabled: disabled,
36239
- treeCheckable: dataInputBusinessType === 12,
36495
+ treeCheckable: isMultiInputType,
36240
36496
  businessType: "sales-organization",
36241
36497
  labelInValue: true,
36242
- value: dataInputBusinessType === 12 ? values[0] : values[0][0],
36498
+ value: isMultiInputType ? values[0] : values[0][0],
36243
36499
  style: styleCommon,
36244
36500
  treeCheckStrictly: true,
36245
36501
  onChange: function onChange(value) {
36246
- if (dataInputBusinessType === 12) {
36502
+ if (isMultiInputType) {
36247
36503
  values[0] = value.map(function (i) {
36248
36504
  return i.key;
36249
36505
  });
@@ -36261,14 +36517,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36261
36517
  }
36262
36518
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36263
36519
  disabled: disabled,
36264
- treeCheckable: dataInputBusinessType === 12,
36520
+ treeCheckable: isMultiInputType,
36265
36521
  businessType: "sales-organization",
36266
36522
  labelInValue: true,
36267
- value: dataInputBusinessType === 12 ? values[1] : values[1][0],
36523
+ value: isMultiInputType ? values[1] : values[1][0],
36268
36524
  style: styleCommon,
36269
36525
  treeCheckStrictly: true,
36270
36526
  onChange: function onChange(value) {
36271
- if (dataInputBusinessType === 12) {
36527
+ if (isMultiInputType) {
36272
36528
  values[1] = value.map(function (i) {
36273
36529
  return i.key;
36274
36530
  });
@@ -36288,14 +36544,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36288
36544
  } else {
36289
36545
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36290
36546
  disabled: disabled,
36291
- treeCheckable: dataInputBusinessType === 12,
36547
+ treeCheckable: isMultiInputType,
36292
36548
  businessType: "sales-organization",
36293
36549
  labelInValue: true,
36294
- value: dataInputBusinessType === 12 ? values : values[0],
36550
+ value: isMultiInputType ? values : values[0],
36295
36551
  style: styleCommon,
36296
36552
  treeCheckStrictly: true,
36297
36553
  onChange: function onChange(value) {
36298
- if (dataInputBusinessType === 12) {
36554
+ if (isMultiInputType) {
36299
36555
  values = value.map(function (i) {
36300
36556
  return i.key;
36301
36557
  }) || [];
@@ -36322,7 +36578,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36322
36578
  selectProps: _objectSpread2({
36323
36579
  style: styleCommon,
36324
36580
  placeholder: '请选择供应商'
36325
- }, dataInputBusinessType === 12 ? {
36581
+ }, isMultiInputType ? {
36326
36582
  mode: 'multiple',
36327
36583
  maxTagCount: 1
36328
36584
  } : {}),
@@ -36333,7 +36589,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36333
36589
  filterInit: 'qp-code-in'
36334
36590
  },
36335
36591
  onChange: function onChange(value) {
36336
- if (dataInputBusinessType === 12) {
36592
+ if (isMultiInputType) {
36337
36593
  values[0] = value.map(function (i) {
36338
36594
  return i.key;
36339
36595
  });
@@ -36354,7 +36610,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36354
36610
  selectProps: _objectSpread2({
36355
36611
  style: styleCommon,
36356
36612
  placeholder: '请选择供应商'
36357
- }, dataInputBusinessType === 12 ? {
36613
+ }, isMultiInputType ? {
36358
36614
  mode: 'multiple',
36359
36615
  maxTagCount: 1
36360
36616
  } : {}),
@@ -36365,7 +36621,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36365
36621
  filterInit: 'qp-code-in'
36366
36622
  },
36367
36623
  onChange: function onChange(value) {
36368
- if (dataInputBusinessType === 12) {
36624
+ if (isMultiInputType) {
36369
36625
  values[1] = value.map(function (i) {
36370
36626
  return i.key;
36371
36627
  });
@@ -36384,7 +36640,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36384
36640
  }));
36385
36641
  } else {
36386
36642
  var _values7;
36387
- var _currentValue6 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
36643
+ var _currentValue6 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
36388
36644
  return {
36389
36645
  key: s,
36390
36646
  label: valueNames[vIndex],
@@ -36400,7 +36656,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36400
36656
  selectProps: _objectSpread2({
36401
36657
  style: styleCommon,
36402
36658
  placeholder: '请选择供应商'
36403
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36659
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36404
36660
  mode: 'multiple',
36405
36661
  maxTagCount: 1
36406
36662
  } : {}),
@@ -36411,7 +36667,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36411
36667
  filterInit: 'qp-code-in'
36412
36668
  },
36413
36669
  onChange: function onChange(value) {
36414
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36670
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36415
36671
  values = value.map(function (i) {
36416
36672
  return i.key;
36417
36673
  }) || [];
@@ -36438,7 +36694,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36438
36694
  selectProps: _objectSpread2({
36439
36695
  style: styleCommon,
36440
36696
  placeholder: '请选择客户'
36441
- }, dataInputBusinessType === 12 ? {
36697
+ }, isMultiInputType ? {
36442
36698
  mode: 'multiple',
36443
36699
  maxTagCount: 1
36444
36700
  } : {}),
@@ -36449,7 +36705,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36449
36705
  filterInit: 'qp-code-in'
36450
36706
  },
36451
36707
  onChange: function onChange(value) {
36452
- if (dataInputBusinessType === 12) {
36708
+ if (isMultiInputType) {
36453
36709
  values[0] = value.map(function (i) {
36454
36710
  return i.key;
36455
36711
  });
@@ -36470,7 +36726,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36470
36726
  selectProps: _objectSpread2({
36471
36727
  style: styleCommon,
36472
36728
  placeholder: '请选择客户'
36473
- }, dataInputBusinessType === 12 ? {
36729
+ }, isMultiInputType ? {
36474
36730
  mode: 'multiple',
36475
36731
  maxTagCount: 1
36476
36732
  } : {}),
@@ -36481,7 +36737,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36481
36737
  filterInit: 'qp-code-in'
36482
36738
  },
36483
36739
  onChange: function onChange(value) {
36484
- if (dataInputBusinessType === 12) {
36740
+ if (isMultiInputType) {
36485
36741
  values[1] = value.map(function (i) {
36486
36742
  return i.key;
36487
36743
  });
@@ -36500,7 +36756,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36500
36756
  }));
36501
36757
  } else {
36502
36758
  var _values8;
36503
- var _currentValue7 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
36759
+ var _currentValue7 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
36504
36760
  return {
36505
36761
  key: s,
36506
36762
  label: valueNames[vIndex],
@@ -36516,7 +36772,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36516
36772
  selectProps: _objectSpread2({
36517
36773
  style: styleCommon,
36518
36774
  placeholder: '请选择客户'
36519
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36775
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36520
36776
  mode: 'multiple',
36521
36777
  maxTagCount: 1
36522
36778
  } : {}),
@@ -36527,7 +36783,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36527
36783
  filterInit: 'qp-code-in'
36528
36784
  },
36529
36785
  onChange: function onChange(value) {
36530
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36786
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36531
36787
  values = value.map(function (i) {
36532
36788
  return i.key;
36533
36789
  }) || [];
@@ -36554,7 +36810,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36554
36810
  selectProps: _objectSpread2({
36555
36811
  style: styleCommon,
36556
36812
  placeholder: '请选择店铺'
36557
- }, dataInputBusinessType === 12 ? {
36813
+ }, isMultiInputType ? {
36558
36814
  mode: 'multiple',
36559
36815
  maxTagCount: 1
36560
36816
  } : {}),
@@ -36565,7 +36821,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36565
36821
  filterInit: 'qp-code-in'
36566
36822
  },
36567
36823
  onChange: function onChange(value) {
36568
- if (dataInputBusinessType === 12) {
36824
+ if (isMultiInputType) {
36569
36825
  values[0] = value.map(function (i) {
36570
36826
  return i.key;
36571
36827
  });
@@ -36586,7 +36842,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36586
36842
  selectProps: _objectSpread2({
36587
36843
  style: styleCommon,
36588
36844
  placeholder: '请选择店铺'
36589
- }, dataInputBusinessType === 12 ? {
36845
+ }, isMultiInputType ? {
36590
36846
  mode: 'multiple',
36591
36847
  maxTagCount: 1
36592
36848
  } : {}),
@@ -36597,7 +36853,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36597
36853
  filterInit: 'qp-code-in'
36598
36854
  },
36599
36855
  onChange: function onChange(value) {
36600
- if (dataInputBusinessType === 12) {
36856
+ if (isMultiInputType) {
36601
36857
  values[1] = value.map(function (i) {
36602
36858
  return i.key;
36603
36859
  });
@@ -36616,7 +36872,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36616
36872
  }));
36617
36873
  } else {
36618
36874
  var _values9;
36619
- var _currentValue8 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
36875
+ var _currentValue8 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
36620
36876
  return {
36621
36877
  key: s,
36622
36878
  label: valueNames[vIndex],
@@ -36632,7 +36888,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36632
36888
  selectProps: _objectSpread2({
36633
36889
  style: styleCommon,
36634
36890
  placeholder: '请选择店铺'
36635
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36891
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36636
36892
  mode: 'multiple',
36637
36893
  maxTagCount: 1
36638
36894
  } : {}),
@@ -36643,7 +36899,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36643
36899
  filterInit: 'qp-code-in'
36644
36900
  },
36645
36901
  onChange: function onChange(value) {
36646
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36902
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36647
36903
  values = value.map(function (i) {
36648
36904
  return i.key;
36649
36905
  }) || [];
@@ -36670,7 +36926,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36670
36926
  selectProps: _objectSpread2({
36671
36927
  style: styleCommon,
36672
36928
  placeholder: '请选择员工'
36673
- }, dataInputBusinessType === 12 ? {
36929
+ }, isMultiInputType ? {
36674
36930
  mode: 'multiple',
36675
36931
  maxTagCount: 1
36676
36932
  } : {}),
@@ -36681,7 +36937,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36681
36937
  filterInit: 'qp-id-in'
36682
36938
  },
36683
36939
  onChange: function onChange(value) {
36684
- if (dataInputBusinessType === 12) {
36940
+ if (isMultiInputType) {
36685
36941
  values[0] = value.map(function (i) {
36686
36942
  return i.key;
36687
36943
  });
@@ -36702,7 +36958,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36702
36958
  selectProps: _objectSpread2({
36703
36959
  style: styleCommon,
36704
36960
  placeholder: '请选择员工'
36705
- }, dataInputBusinessType === 12 ? {
36961
+ }, isMultiInputType ? {
36706
36962
  mode: 'multiple',
36707
36963
  maxTagCount: 1
36708
36964
  } : {}),
@@ -36713,7 +36969,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36713
36969
  filterInit: 'qp-id-in'
36714
36970
  },
36715
36971
  onChange: function onChange(value) {
36716
- if (dataInputBusinessType === 12) {
36972
+ if (isMultiInputType) {
36717
36973
  values[1] = value.map(function (i) {
36718
36974
  return i.key;
36719
36975
  });
@@ -36732,7 +36988,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36732
36988
  }));
36733
36989
  } else {
36734
36990
  var _values0;
36735
- var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values0 = values) === null || _values0 === void 0 ? void 0 : _values0.map(function (s, vIndex) {
36991
+ var _currentValue9 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values0 = values) === null || _values0 === void 0 ? void 0 : _values0.map(function (s, vIndex) {
36736
36992
  return {
36737
36993
  key: s,
36738
36994
  label: valueNames[vIndex],
@@ -36748,7 +37004,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36748
37004
  selectProps: _objectSpread2({
36749
37005
  style: styleCommon,
36750
37006
  placeholder: '请选择员工'
36751
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37007
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36752
37008
  mode: 'multiple',
36753
37009
  maxTagCount: 1
36754
37010
  } : {}),
@@ -36759,7 +37015,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36759
37015
  filterInit: 'qp-id-in'
36760
37016
  },
36761
37017
  onChange: function onChange(value) {
36762
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37018
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36763
37019
  values = value.map(function (i) {
36764
37020
  return i.key;
36765
37021
  }) || [];
@@ -36783,14 +37039,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36783
37039
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36784
37040
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36785
37041
  disabled: disabled,
36786
- treeCheckable: dataInputBusinessType === 12,
37042
+ treeCheckable: isMultiInputType,
36787
37043
  businessType: "stock-organization",
36788
37044
  labelInValue: true,
36789
- value: dataInputBusinessType === 12 ? values : values[0],
37045
+ value: isMultiInputType ? values : values[0],
36790
37046
  style: styleCommon,
36791
37047
  treeCheckStrictly: true,
36792
37048
  onChange: function onChange(value) {
36793
- if (dataInputBusinessType === 12) {
37049
+ if (isMultiInputType) {
36794
37050
  values[0] = value.map(function (i) {
36795
37051
  return i.key;
36796
37052
  });
@@ -36808,14 +37064,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36808
37064
  }
36809
37065
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36810
37066
  disabled: disabled,
36811
- treeCheckable: dataInputBusinessType === 12,
37067
+ treeCheckable: isMultiInputType,
36812
37068
  businessType: "stock-organization",
36813
37069
  labelInValue: true,
36814
- value: dataInputBusinessType === 12 ? values : values[0],
37070
+ value: isMultiInputType ? values : values[0],
36815
37071
  style: styleCommon,
36816
37072
  treeCheckStrictly: true,
36817
37073
  onChange: function onChange(value) {
36818
- if (dataInputBusinessType === 12) {
37074
+ if (isMultiInputType) {
36819
37075
  values[1] = value.map(function (i) {
36820
37076
  return i.key;
36821
37077
  });
@@ -36835,14 +37091,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36835
37091
  } else {
36836
37092
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36837
37093
  disabled: disabled,
36838
- treeCheckable: dataInputBusinessType === 12,
37094
+ treeCheckable: isMultiInputType,
36839
37095
  businessType: "stock-organization",
36840
37096
  labelInValue: true,
36841
- value: dataInputBusinessType === 12 ? values : values[0],
37097
+ value: isMultiInputType ? values : values[0],
36842
37098
  style: styleCommon,
36843
37099
  treeCheckStrictly: true,
36844
37100
  onChange: function onChange(value) {
36845
- if (dataInputBusinessType === 12) {
37101
+ if (isMultiInputType) {
36846
37102
  values = value.map(function (i) {
36847
37103
  return i.key;
36848
37104
  }) || [];
@@ -36866,13 +37122,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
36866
37122
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36867
37123
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36868
37124
  disabled: disabled,
36869
- treeCheckable: dataInputBusinessType === 12,
37125
+ treeCheckable: isMultiInputType,
36870
37126
  businessType: "settle-organization",
36871
37127
  labelInValue: true,
36872
37128
  value: values[0],
36873
37129
  style: styleCommon,
36874
37130
  onChange: function onChange(value) {
36875
- if (dataInputBusinessType === 12) {
37131
+ if (isMultiInputType) {
36876
37132
  values[0] = value.map(function (i) {
36877
37133
  return i.key;
36878
37134
  });
@@ -36890,13 +37146,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
36890
37146
  }
36891
37147
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36892
37148
  disabled: disabled,
36893
- treeCheckable: dataInputBusinessType === 12,
37149
+ treeCheckable: isMultiInputType,
36894
37150
  businessType: "settle-organization",
36895
37151
  labelInValue: true,
36896
37152
  value: values[0],
36897
37153
  style: styleCommon,
36898
37154
  onChange: function onChange(value) {
36899
- if (dataInputBusinessType === 12) {
37155
+ if (isMultiInputType) {
36900
37156
  values[1] = value.map(function (i) {
36901
37157
  return i.key;
36902
37158
  });
@@ -36916,13 +37172,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
36916
37172
  } else {
36917
37173
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36918
37174
  disabled: disabled,
36919
- treeCheckable: dataInputBusinessType === 12,
37175
+ treeCheckable: isMultiInputType,
36920
37176
  businessType: "settle-organization",
36921
37177
  labelInValue: true,
36922
37178
  value: values[0],
36923
37179
  style: styleCommon,
36924
37180
  onChange: function onChange(value) {
36925
- if (dataInputBusinessType === 12) {
37181
+ if (isMultiInputType) {
36926
37182
  values = value.map(function (i) {
36927
37183
  return i.key;
36928
37184
  }) || [];
@@ -36949,7 +37205,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36949
37205
  selectProps: _objectSpread2({
36950
37206
  style: styleCommon,
36951
37207
  placeholder: '请选择配送方式'
36952
- }, dataInputBusinessType === 12 ? {
37208
+ }, isMultiInputType ? {
36953
37209
  mode: 'multiple',
36954
37210
  maxTagCount: 1
36955
37211
  } : {}),
@@ -36965,7 +37221,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36965
37221
  filterInit: 'qp-code-in'
36966
37222
  }),
36967
37223
  onChange: function onChange(value) {
36968
- if (dataInputBusinessType === 12) {
37224
+ if (isMultiInputType) {
36969
37225
  values[0] = value.map(function (i) {
36970
37226
  return i.key;
36971
37227
  });
@@ -36986,7 +37242,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36986
37242
  selectProps: _objectSpread2({
36987
37243
  style: styleCommon,
36988
37244
  placeholder: '请选择配送方式'
36989
- }, dataInputBusinessType === 12 ? {
37245
+ }, isMultiInputType ? {
36990
37246
  mode: 'multiple',
36991
37247
  maxTagCount: 1
36992
37248
  } : {}),
@@ -37002,7 +37258,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37002
37258
  filterInit: 'qp-code-in'
37003
37259
  }),
37004
37260
  onChange: function onChange(value) {
37005
- if (dataInputBusinessType === 12) {
37261
+ if (isMultiInputType) {
37006
37262
  values[1] = value.map(function (i) {
37007
37263
  return i.key;
37008
37264
  });
@@ -37021,7 +37277,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37021
37277
  }));
37022
37278
  } else {
37023
37279
  var _values1;
37024
- var _currentValue0 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values1 = values) === null || _values1 === void 0 ? void 0 : _values1.map(function (s, vIndex) {
37280
+ var _currentValue0 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values1 = values) === null || _values1 === void 0 ? void 0 : _values1.map(function (s, vIndex) {
37025
37281
  return {
37026
37282
  key: s,
37027
37283
  label: valueNames[vIndex],
@@ -37037,7 +37293,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37037
37293
  selectProps: _objectSpread2({
37038
37294
  style: styleCommon,
37039
37295
  placeholder: '请选择配送方式'
37040
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37296
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
37041
37297
  mode: 'multiple',
37042
37298
  maxTagCount: 1
37043
37299
  } : {}),
@@ -37053,7 +37309,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37053
37309
  filterInit: 'qp-code-in'
37054
37310
  }),
37055
37311
  onChange: function onChange(value) {
37056
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37312
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
37057
37313
  values = value.map(function (i) {
37058
37314
  return i.key;
37059
37315
  }) || [];
@@ -37080,7 +37336,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37080
37336
  selectProps: _objectSpread2({
37081
37337
  style: styleCommon,
37082
37338
  placeholder: '请选择角色'
37083
- }, dataInputBusinessType === 12 ? {
37339
+ }, isMultiInputType ? {
37084
37340
  mode: 'multiple',
37085
37341
  maxTagCount: 1
37086
37342
  } : {}),
@@ -37091,7 +37347,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37091
37347
  filterInit: 'qp-code-in'
37092
37348
  },
37093
37349
  onChange: function onChange(value) {
37094
- if (dataInputBusinessType === 12) {
37350
+ if (isMultiInputType) {
37095
37351
  values[0] = value.map(function (i) {
37096
37352
  return i.key;
37097
37353
  });
@@ -37112,7 +37368,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37112
37368
  selectProps: _objectSpread2({
37113
37369
  style: styleCommon,
37114
37370
  placeholder: '请选择角色'
37115
- }, dataInputBusinessType === 12 ? {
37371
+ }, isMultiInputType ? {
37116
37372
  mode: 'multiple',
37117
37373
  maxTagCount: 1
37118
37374
  } : {}),
@@ -37123,7 +37379,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37123
37379
  filterInit: 'qp-code-in'
37124
37380
  },
37125
37381
  onChange: function onChange(value) {
37126
- if (dataInputBusinessType === 12) {
37382
+ if (isMultiInputType) {
37127
37383
  values[1] = value.map(function (i) {
37128
37384
  return i.key;
37129
37385
  });
@@ -37142,7 +37398,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37142
37398
  }));
37143
37399
  } else {
37144
37400
  var _values10;
37145
- var _currentValue1 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
37401
+ var _currentValue1 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
37146
37402
  return {
37147
37403
  key: s,
37148
37404
  label: valueNames[vIndex],
@@ -37158,7 +37414,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37158
37414
  selectProps: _objectSpread2({
37159
37415
  style: styleCommon,
37160
37416
  placeholder: '请选择角色'
37161
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37417
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
37162
37418
  mode: 'multiple',
37163
37419
  maxTagCount: 1
37164
37420
  } : {}),
@@ -37169,7 +37425,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37169
37425
  filterInit: 'qp-code-in'
37170
37426
  },
37171
37427
  onChange: function onChange(value) {
37172
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37428
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
37173
37429
  values = value.map(function (i) {
37174
37430
  return i.key;
37175
37431
  }) || [];
@@ -37196,7 +37452,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37196
37452
  selectProps: _objectSpread2({
37197
37453
  style: styleCommon,
37198
37454
  placeholder: '请选择品牌'
37199
- }, dataInputBusinessType === 12 ? {
37455
+ }, isMultiInputType ? {
37200
37456
  mode: 'multiple',
37201
37457
  maxTagCount: 1
37202
37458
  } : {}),
@@ -37207,7 +37463,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37207
37463
  filterInit: 'qp-brandCode-in'
37208
37464
  },
37209
37465
  onChange: function onChange(value) {
37210
- if (dataInputBusinessType === 12) {
37466
+ if (isMultiInputType) {
37211
37467
  values[0] = value.map(function (i) {
37212
37468
  return i.key;
37213
37469
  });
@@ -37228,7 +37484,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37228
37484
  selectProps: _objectSpread2({
37229
37485
  style: styleCommon,
37230
37486
  placeholder: '请选择品牌'
37231
- }, dataInputBusinessType === 12 ? {
37487
+ }, isMultiInputType ? {
37232
37488
  mode: 'multiple',
37233
37489
  maxTagCount: 1
37234
37490
  } : {}),
@@ -37239,7 +37495,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37239
37495
  filterInit: 'qp-brandCode-in'
37240
37496
  },
37241
37497
  onChange: function onChange(value) {
37242
- if (dataInputBusinessType === 12) {
37498
+ if (isMultiInputType) {
37243
37499
  values[1] = value.map(function (i) {
37244
37500
  return i.key;
37245
37501
  });
@@ -37258,7 +37514,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37258
37514
  }));
37259
37515
  } else {
37260
37516
  var _values11;
37261
- var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
37517
+ var _currentValue10 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
37262
37518
  return {
37263
37519
  key: s,
37264
37520
  label: valueNames[vIndex],
@@ -37274,7 +37530,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37274
37530
  selectProps: _objectSpread2({
37275
37531
  style: styleCommon,
37276
37532
  placeholder: '请选择品牌'
37277
- }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37533
+ }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
37278
37534
  mode: 'multiple',
37279
37535
  maxTagCount: 1
37280
37536
  } : {}),
@@ -37285,7 +37541,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37285
37541
  filterInit: 'qp-brandCode-in'
37286
37542
  },
37287
37543
  onChange: function onChange(value) {
37288
- if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37544
+ if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
37289
37545
  values = value.map(function (i) {
37290
37546
  return i.key;
37291
37547
  }) || [];
@@ -37307,15 +37563,16 @@ var RuleField = /*#__PURE__*/function (_Component) {
37307
37563
  // 类目选择器
37308
37564
  if (dataChoiceBusinessType == 420) {
37309
37565
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
37566
+ var _values$0$, _values$, _values$1$, _values$2;
37310
37567
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37311
37568
  disabled: disabled,
37312
- treeCheckable: dataInputBusinessType === 12,
37569
+ treeCheckable: isMultiInputType,
37313
37570
  businessType: "background-category",
37314
37571
  labelInValue: true,
37315
- value: values[0],
37572
+ value: isMultiInputType ? values[0] : (_values$0$ = (_values$ = values[0]) === null || _values$ === void 0 ? void 0 : _values$[0]) !== null && _values$0$ !== void 0 ? _values$0$ : values[0],
37316
37573
  style: styleCommon,
37317
37574
  onChange: function onChange(value) {
37318
- if (dataInputBusinessType === 12) {
37575
+ if (isMultiInputType) {
37319
37576
  values[0] = value.map(function (i) {
37320
37577
  return i.key;
37321
37578
  });
@@ -37333,13 +37590,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
37333
37590
  }
37334
37591
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37335
37592
  disabled: disabled,
37336
- treeCheckable: dataInputBusinessType === 12,
37593
+ treeCheckable: isMultiInputType,
37337
37594
  businessType: "background-category",
37338
37595
  labelInValue: true,
37339
- value: values[0],
37596
+ value: isMultiInputType ? values[1] : (_values$1$ = (_values$2 = values[1]) === null || _values$2 === void 0 ? void 0 : _values$2[0]) !== null && _values$1$ !== void 0 ? _values$1$ : values[1],
37340
37597
  style: styleCommon,
37341
37598
  onChange: function onChange(value) {
37342
- if (dataInputBusinessType === 12) {
37599
+ if (isMultiInputType) {
37343
37600
  values[1] = value.map(function (i) {
37344
37601
  return i.key;
37345
37602
  });
@@ -37357,15 +37614,28 @@ var RuleField = /*#__PURE__*/function (_Component) {
37357
37614
  }
37358
37615
  }));
37359
37616
  } else {
37617
+ var _values12;
37618
+ var isMulti = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1;
37619
+ var _currentValue11 = isMulti ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
37620
+ return {
37621
+ key: s,
37622
+ label: valueNames[vIndex],
37623
+ value: s
37624
+ };
37625
+ })) || [] : values[0] && {
37626
+ key: values[0],
37627
+ label: valueNames[0],
37628
+ value: values[0]
37629
+ } || {};
37360
37630
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37361
37631
  disabled: disabled,
37362
- treeCheckable: dataInputBusinessType === 12,
37632
+ treeCheckable: isMulti,
37363
37633
  businessType: "background-category",
37364
37634
  labelInValue: true,
37365
- value: values[0],
37635
+ value: _currentValue11,
37366
37636
  style: styleCommon,
37367
37637
  onChange: function onChange(value) {
37368
- if (dataInputBusinessType === 12) {
37638
+ if (isMulti) {
37369
37639
  values = value.map(function (i) {
37370
37640
  return i.key;
37371
37641
  }) || [];
@@ -37391,7 +37661,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37391
37661
  selectProps: _objectSpread2(_objectSpread2({
37392
37662
  style: styleCommon,
37393
37663
  placeholder: '请选择'
37394
- }, dataInputBusinessType === 12 ? {
37664
+ }, isMultiInputType ? {
37395
37665
  mode: 'multiple',
37396
37666
  maxTagCount: 1,
37397
37667
  multipleForQuery: true
@@ -37408,7 +37678,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37408
37678
  disabled: disabled,
37409
37679
  value: values[0],
37410
37680
  onChange: function onChange(value, sourceList) {
37411
- if (dataInputBusinessType === 12) {
37681
+ if (isMultiInputType) {
37412
37682
  var _value$map, _sourceList$filter;
37413
37683
  values[0] = (value === null || value === void 0 ? void 0 : (_value$map = value.map) === null || _value$map === void 0 ? void 0 : _value$map.call(value, function (i) {
37414
37684
  return i;
@@ -37432,7 +37702,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37432
37702
  selectProps: _objectSpread2(_objectSpread2({
37433
37703
  style: styleCommon,
37434
37704
  placeholder: '请选择'
37435
- }, dataInputBusinessType === 12 ? {
37705
+ }, isMultiInputType ? {
37436
37706
  mode: 'multiple',
37437
37707
  maxTagCount: 1,
37438
37708
  multipleForQuery: true
@@ -37449,7 +37719,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37449
37719
  disabled: disabled,
37450
37720
  value: values[1],
37451
37721
  onChange: function onChange(value, sourceList) {
37452
- if (dataInputBusinessType === 12) {
37722
+ if (isMultiInputType) {
37453
37723
  var _value$map2, _sourceList$filter2;
37454
37724
  values[1] = (value === null || value === void 0 ? void 0 : (_value$map2 = value.map) === null || _value$map2 === void 0 ? void 0 : _value$map2.call(value, function (i) {
37455
37725
  return i;
@@ -37471,8 +37741,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
37471
37741
  }
37472
37742
  }));
37473
37743
  } else {
37474
- var _values12;
37475
- var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
37744
+ var _values13;
37745
+ var _currentValue12 = isMultiInputType ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
37476
37746
  return {
37477
37747
  key: s,
37478
37748
  label: valueNames[vIndex]
@@ -37485,7 +37755,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37485
37755
  selectProps: _objectSpread2(_objectSpread2({
37486
37756
  style: styleCommon,
37487
37757
  placeholder: '请选择'
37488
- }, dataInputBusinessType === 12 ? {
37758
+ }, isMultiInputType ? {
37489
37759
  mode: 'multiple',
37490
37760
  maxTagCount: 1,
37491
37761
  multipleForQuery: true
@@ -37500,9 +37770,9 @@ var RuleField = /*#__PURE__*/function (_Component) {
37500
37770
  isSearchForm: true,
37501
37771
  customSelectorConfig: (others === null || others === void 0 ? void 0 : others.customSelectorConfig) || {},
37502
37772
  disabled: disabled,
37503
- value: _currentValue11,
37773
+ value: _currentValue12,
37504
37774
  onChange: function onChange(value, sourceList) {
37505
- if (dataInputBusinessType === 12) {
37775
+ if (isMultiInputType) {
37506
37776
  var _value$map3, _sourceList$filter3;
37507
37777
  values = (value === null || value === void 0 ? void 0 : (_value$map3 = value.map) === null || _value$map3 === void 0 ? void 0 : _value$map3.call(value, function (i) {
37508
37778
  return i;
@@ -41681,14 +41951,14 @@ var PathDisplay = /*#__PURE__*/React__default['default'].forwardRef(function (_r
41681
41951
  var css_248z$z = ".bs-collapse-wrap {\n border-radius: 4px;\n overflow: hidden;\n}\n.bs-collapse-wrap .bs-collapse-header-wrap {\n background: #fff;\n}\n.bs-collapse-wrap .bs-collapse-icon {\n color: #b6b6b6;\n transition: transform 0.3s;\n}\n.bs-collapse-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.bs-collapse-wrap .bs-collapse-header-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n}\n.bs-collapse-wrap .bs-collapse-header-divider {\n width: 3px;\n height: 20px;\n background: #005cff;\n}\n.bs-collapse-header-boder .ant-collapse .ant-collapse-item > .ant-collapse-header {\n border-bottom: 1px solid #f0f0f0;\n padding: 8px 16px;\n}\n";
41682
41952
  styleInject(css_248z$z);
41683
41953
 
41684
- var _excluded$m = ["titleExtra", "header", "showArrow"];
41954
+ var _excluded$n = ["titleExtra", "header", "showArrow"];
41685
41955
  var Panel = antd.Collapse.Panel;
41686
41956
  var ExtendedPanel = function ExtendedPanel(_ref) {
41687
41957
  var titleExtra = _ref.titleExtra,
41688
41958
  header = _ref.header,
41689
41959
  _ref$showArrow = _ref.showArrow,
41690
41960
  showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
41691
- props = _objectWithoutProperties(_ref, _excluded$m);
41961
+ props = _objectWithoutProperties(_ref, _excluded$n);
41692
41962
  var renderHeader = function renderHeader() {
41693
41963
  return /*#__PURE__*/React__default['default'].createElement(antd.Space, {
41694
41964
  align: "center"
@@ -41712,11 +41982,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
41712
41982
  }), props.children);
41713
41983
  };
41714
41984
 
41715
- var _excluded$n = ["children", "bordered"];
41985
+ var _excluded$o = ["children", "bordered"];
41716
41986
  var ExtendedCollapse = function ExtendedCollapse(props) {
41717
41987
  var children = props.children,
41718
41988
  bordered = props.bordered,
41719
- restProps = _objectWithoutProperties(props, _excluded$n);
41989
+ restProps = _objectWithoutProperties(props, _excluded$o);
41720
41990
  return /*#__PURE__*/React__default['default'].createElement("div", {
41721
41991
  className: classNames__default['default']({
41722
41992
  'bs-collapse-wrap': true,