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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/.claude/settings.local.json +8 -0
  2. package/dist/components/Functional/SearchSelect/pagination.d.ts +3 -3
  3. package/dist/index.esm.js +416 -953
  4. package/dist/index.js +415 -952
  5. package/docs/error-record.md +0 -9
  6. package/package.json +1 -1
  7. package/src/components/Business/AddSelectBusiness/index.tsx +8 -124
  8. package/src/components/Business/SearchSelect/BusinessUtils.tsx +12 -106
  9. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +1 -1
  10. package/src/components/Functional/AddSelect/helps.ts +0 -2
  11. package/src/components/Functional/AddSelect/index.less +0 -17
  12. package/src/components/Functional/AddSelect/index.tsx +9 -66
  13. package/src/components/Functional/SearchSelect/index.less +0 -16
  14. package/src/components/Functional/SearchSelect/index.md +2 -0
  15. package/src/components/Functional/SearchSelect/index.tsx +65 -77
  16. package/src/components/Functional/SearchSelect/pagination.ts +4 -4
  17. package/src/components/Solution/RuleComponent/ruleFiled.js +155 -176
  18. package/dist/components/Functional/QueryAutoComplete/buildOptions.d.ts +0 -3
  19. package/dist/components/Functional/QueryAutoComplete/buildOptions.test.d.ts +0 -1
  20. package/dist/components/Functional/QueryAutoComplete/index.d.ts +0 -23
  21. package/dist/components/Functional/SearchSelect/currentPageFilter.d.ts +0 -41
  22. package/docs/superpowers/plans/2026-10-12-IKJX29-sku-name-autocomplete.md +0 -489
  23. package/docs/superpowers/specs/2026-10-12-IKJX29-sku-name-autocomplete-design.md +0 -115
  24. package/src/components/Functional/QueryAutoComplete/buildOptions.test.ts +0 -22
  25. package/src/components/Functional/QueryAutoComplete/buildOptions.ts +0 -17
  26. package/src/components/Functional/QueryAutoComplete/index.tsx +0 -140
  27. package/src/components/Functional/SearchSelect/currentPageFilter.ts +0 -135
package/dist/index.js CHANGED
@@ -112,54 +112,6 @@ function _createClass(e, r, t) {
112
112
  writable: !1
113
113
  }), e;
114
114
  }
115
- function _createForOfIteratorHelper(r, e) {
116
- var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
117
- if (!t) {
118
- if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
119
- t && (r = t);
120
- var n = 0,
121
- F = function () {};
122
- return {
123
- s: F,
124
- n: function () {
125
- return n >= r.length ? {
126
- done: !0
127
- } : {
128
- done: !1,
129
- value: r[n++]
130
- };
131
- },
132
- e: function (r) {
133
- throw r;
134
- },
135
- f: F
136
- };
137
- }
138
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
139
- }
140
- var o,
141
- a = !0,
142
- u = !1;
143
- return {
144
- s: function () {
145
- t = t.call(r);
146
- },
147
- n: function () {
148
- var r = t.next();
149
- return a = r.done, r;
150
- },
151
- e: function (r) {
152
- u = !0, o = r;
153
- },
154
- f: function () {
155
- try {
156
- a || null == t.return || t.return();
157
- } finally {
158
- if (u) throw o;
159
- }
160
- }
161
- };
162
- }
163
115
  function _defineProperty(e, r, t) {
164
116
  return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
165
117
  value: t,
@@ -4921,14 +4873,14 @@ function ToCDB$1(selectStr) {
4921
4873
  return tmp;
4922
4874
  }
4923
4875
 
4924
- 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";
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";
4925
4877
  styleInject(css_248z$6);
4926
4878
 
4927
- var SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE = 200;
4928
- var SEARCH_SELECT_MODAL_PAGE_SIZE_OPTIONS = [10, 20, 50, 100, 200, 300, 500, 1000];
4879
+ var SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE = 100;
4880
+ var SEARCH_SELECT_MODAL_PAGE_SIZE_OPTIONS = [10, 20, 50, 100, 500, 1000];
4929
4881
  var SEARCH_SELECT_MODAL_PAGE_SIZE_CACHE_KEY = 'businessComponentSearchSelectPageSize';
4930
4882
  /**
4931
- * 规范化选择器弹窗分页大小,缓存异常时统一回退到默认条数。
4883
+ * 规范化选择器弹窗分页大小,缓存异常时统一回退到每页 100 条。
4932
4884
  *
4933
4885
  * @param pageSize 待校验的分页大小
4934
4886
  * @returns 合法的分页大小
@@ -4940,7 +4892,7 @@ var normalizeSearchSelectModalPageSize = function normalizeSearchSelectModalPage
4940
4892
  /**
4941
4893
  * 读取所有选择器弹窗共用的分页大小。
4942
4894
  *
4943
- * @returns 缓存中的分页大小,无有效缓存时返回默认条数
4895
+ * @returns 缓存中的分页大小,无有效缓存时返回每页 100 条
4944
4896
  */
4945
4897
  var getSearchSelectModalPageSize = function getSearchSelectModalPageSize() {
4946
4898
  if (typeof window === 'undefined') {
@@ -5432,241 +5384,6 @@ var ItemPropertySelector = function ItemPropertySelector(_ref) {
5432
5384
  }));
5433
5385
  };
5434
5386
 
5435
- var _excluded$5 = ["currentPageFilter", "children"];
5436
- /**
5437
- * SKU 选择弹框「当前页列筛选」默认字段(合并 BusinessSearchSelect / AddSkuSelect 命名)。
5438
- * Functional 层按 dataIndex 命中自动开启,业务列不必再散标 currentPageFilter。
5439
- */
5440
- var SKU_CURRENT_PAGE_FILTER_DATA_INDEXES = ['skuCode', 'skuName', 'name', 'itemName', 'itemCode', 'styleCode', 'pinCode', 'longyaStyleCode', 'longyaPinCode', 'colorName', 'sizeName'];
5441
- /**
5442
- * 按 dataIndex 白名单为表格列打上 currentPageFilter。
5443
- *
5444
- * @param columns 原始表格列
5445
- * @param dataIndexes 需要开启当前页筛选的字段
5446
- * @returns 已标记的表格列
5447
- */
5448
- var markCurrentPageFilterByDataIndex = function markCurrentPageFilterByDataIndex() {
5449
- var columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5450
- var dataIndexes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : SKU_CURRENT_PAGE_FILTER_DATA_INDEXES;
5451
- return columns.map(function (column) {
5452
- return dataIndexes.includes(column === null || column === void 0 ? void 0 : column.dataIndex) ? _objectSpread2(_objectSpread2({}, column), {}, {
5453
- currentPageFilter: true,
5454
- width: column.width || 140
5455
- }) : column;
5456
- });
5457
- };
5458
- /**
5459
- * 从当前页数据中提取指定字段的筛选项,过滤空值后按名称去重、排序。
5460
- *
5461
- * @param dataSource 当前页表格数据
5462
- * @param dataIndex 作为筛选值的数据字段
5463
- * @returns 当前页可用的筛选项
5464
- */
5465
- var getCurrentPageFilterOptions = function getCurrentPageFilterOptions() {
5466
- var dataSource = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5467
- var dataIndex = arguments.length > 1 ? arguments[1] : undefined;
5468
- if (!dataIndex) {
5469
- return [];
5470
- }
5471
- var optionMap = new Map();
5472
- dataSource.forEach(function (record) {
5473
- var rawValue = record === null || record === void 0 ? void 0 : record[dataIndex];
5474
- if (rawValue === null || rawValue === undefined) {
5475
- return;
5476
- }
5477
- var value = String(rawValue).trim();
5478
- if (!value || optionMap.has(value)) {
5479
- return;
5480
- }
5481
- optionMap.set(value, {
5482
- text: value,
5483
- value: value
5484
- });
5485
- });
5486
- return Array.from(optionMap.values()).sort(function (left, right) {
5487
- return left.text.localeCompare(right.text, 'zh-CN', {
5488
- numeric: true
5489
- });
5490
- });
5491
- };
5492
- /**
5493
- * 为声明了 currentPageFilter 的表格列注入当前页筛选能力。
5494
- *
5495
- * @param columns 原始表格列
5496
- * @param dataSource 当前页表格数据
5497
- * @param filteredValues 当前已选筛选值
5498
- * @param enabled 是否启用筛选;已选结果表仅移除内部配置,不启用筛选
5499
- * @returns 可直接传给 Ant Design Table 的表格列
5500
- */
5501
- var _buildCurrentPageFilterColumns = function buildCurrentPageFilterColumns() {
5502
- var columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5503
- var dataSource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
5504
- var filteredValues = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
5505
- var enabled = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
5506
- return columns.map(function (column) {
5507
- var currentPageFilter = column.currentPageFilter,
5508
- children = column.children,
5509
- columnProps = _objectWithoutProperties(column, _excluded$5);
5510
- var nextColumn = _objectSpread2(_objectSpread2({}, columnProps), (children === null || children === void 0 ? void 0 : children.length) ? {
5511
- children: _buildCurrentPageFilterColumns(children, dataSource, filteredValues, enabled)
5512
- } : {});
5513
- if (!currentPageFilter || !enabled || !column.dataIndex) {
5514
- return nextColumn;
5515
- }
5516
- var dataIndex = column.dataIndex;
5517
- var currentPageFilterClassName = [columnProps.className, 'search_select_current_page_filter_column'].filter(Boolean).join(' ');
5518
- return _objectSpread2(_objectSpread2({}, nextColumn), {}, {
5519
- width: columnProps.width || 140,
5520
- className: currentPageFilterClassName,
5521
- filters: getCurrentPageFilterOptions(dataSource, dataIndex),
5522
- filterSearch: true,
5523
- filteredValue: filteredValues[dataIndex] || null,
5524
- onFilter: function onFilter(filterValue, record) {
5525
- var _record$dataIndex;
5526
- return String((_record$dataIndex = record === null || record === void 0 ? void 0 : record[dataIndex]) !== null && _record$dataIndex !== void 0 ? _record$dataIndex : '') === String(filterValue);
5527
- }
5528
- });
5529
- });
5530
- };
5531
-
5532
- function buildAutoCompleteOptions(list) {
5533
- var mappingTextField = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'name';
5534
- if (!Array.isArray(list)) return [];
5535
- var seen = new Set();
5536
- var options = [];
5537
- var _iterator = _createForOfIteratorHelper(list),
5538
- _step;
5539
- try {
5540
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
5541
- var item = _step.value;
5542
- var text = item === null || item === void 0 ? void 0 : item[mappingTextField];
5543
- if (text == null) continue;
5544
- var value = String(text).trim();
5545
- if (!value || seen.has(value)) continue;
5546
- seen.add(value);
5547
- options.push({
5548
- value: value
5549
- });
5550
- }
5551
- } catch (err) {
5552
- _iterator.e(err);
5553
- } finally {
5554
- _iterator.f();
5555
- }
5556
- return options;
5557
- }
5558
-
5559
- var QueryAutoComplete = function QueryAutoComplete(_ref) {
5560
- var value = _ref.value,
5561
- _onChange = _ref.onChange,
5562
- _onPressEnter = _ref.onPressEnter,
5563
- requestConfig = _ref.requestConfig,
5564
- _ref$placeholder = _ref.placeholder,
5565
- placeholder = _ref$placeholder === void 0 ? '请输入' : _ref$placeholder,
5566
- _ref$allowClear = _ref.allowClear,
5567
- allowClear = _ref$allowClear === void 0 ? true : _ref$allowClear,
5568
- style = _ref.style,
5569
- disabled = _ref.disabled;
5570
- var _ref2 = requestConfig || {},
5571
- url = _ref2.url,
5572
- _ref2$method = _ref2.method,
5573
- method = _ref2$method === void 0 ? 'get' : _ref2$method,
5574
- _ref2$otherParams = _ref2.otherParams,
5575
- otherParams = _ref2$otherParams === void 0 ? {} : _ref2$otherParams,
5576
- _ref2$mappingTextFiel = _ref2.mappingTextField,
5577
- mappingTextField = _ref2$mappingTextFiel === void 0 ? 'name' : _ref2$mappingTextFiel,
5578
- _ref2$pageSize = _ref2.pageSize,
5579
- pageSize = _ref2$pageSize === void 0 ? 50 : _ref2$pageSize,
5580
- _ref2$debounceWait = _ref2.debounceWait,
5581
- debounceWait = _ref2$debounceWait === void 0 ? 300 : _ref2$debounceWait,
5582
- _ref2$likeParamName = _ref2.likeParamName,
5583
- likeParamName = _ref2$likeParamName === void 0 ? 'qp-skuName-like' : _ref2$likeParamName;
5584
- var _useState = React$1.useState([]),
5585
- _useState2 = _slicedToArray(_useState, 2),
5586
- options = _useState2[0],
5587
- setOptions = _useState2[1];
5588
- var seqRef = React$1.useRef(0);
5589
- var mountedRef = React$1.useRef(true);
5590
- React$1.useEffect(function () {
5591
- mountedRef.current = true;
5592
- return function () {
5593
- mountedRef.current = false;
5594
- seqRef.current += 1;
5595
- };
5596
- }, []);
5597
- var fetchSuggest = function fetchSuggest(keyword) {
5598
- var trimmed = (keyword || '').trim();
5599
- if (!url || !trimmed) {
5600
- setOptions([]);
5601
- return;
5602
- }
5603
- var seq = ++seqRef.current;
5604
- var queryParams = _objectSpread2(_objectSpread2({
5605
- pageSize: pageSize,
5606
- currentPage: 1
5607
- }, otherParams), {}, _defineProperty({}, likeParamName, trimmed));
5608
- var qs = querystring.stringify(queryParams);
5609
- var fullUrl = "".concat(url).concat(url.includes('?') ? '&' : '?').concat(qs);
5610
- var methodName = String(method).toLowerCase();
5611
- var pending = ['post', 'patch', 'put'].includes(methodName) ?
5612
- // 与 SearchSelect 弹窗列表一致:参数在 query,body 为空
5613
- requestUtil[methodName](fullUrl, null) : requestUtil.get(fullUrl);
5614
- pending.then(function (result) {
5615
- if (!mountedRef.current || seq !== seqRef.current) return;
5616
- var body = result === null || result === void 0 ? void 0 : result.data;
5617
- if (judgeIsRequestError(body)) {
5618
- setOptions([]);
5619
- return;
5620
- }
5621
- var res = body === null || body === void 0 ? void 0 : body.data;
5622
- var list = (res === null || res === void 0 ? void 0 : res.list) || (res === null || res === void 0 ? void 0 : res.items) || (Array.isArray(res) ? res : []);
5623
- // sku 名称:列表列用 skuName,pager 用 name;其它字段(如 itemName)不做跨字段回退
5624
- var primary = buildAutoCompleteOptions(list, mappingTextField);
5625
- if (primary.length) {
5626
- setOptions(primary);
5627
- return;
5628
- }
5629
- if (mappingTextField === 'skuName' || mappingTextField === 'name') {
5630
- var fallbackField = mappingTextField === 'skuName' ? 'name' : 'skuName';
5631
- setOptions(buildAutoCompleteOptions(list, fallbackField));
5632
- return;
5633
- }
5634
- setOptions([]);
5635
- }).catch(function () {
5636
- if (!mountedRef.current || seq !== seqRef.current) return;
5637
- setOptions([]);
5638
- });
5639
- };
5640
- var _useDebounceFn = ahooks.useDebounceFn(fetchSuggest, {
5641
- wait: debounceWait
5642
- }),
5643
- debouncedFetch = _useDebounceFn.run;
5644
- return /*#__PURE__*/React__default['default'].createElement(antd.AutoComplete, {
5645
- value: value,
5646
- options: options,
5647
- onSearch: function onSearch(text) {
5648
- debouncedFetch(text);
5649
- },
5650
- onSelect: function onSelect(text) {
5651
- _onChange === null || _onChange === void 0 ? void 0 : _onChange(String(text !== null && text !== void 0 ? text : ''));
5652
- },
5653
- onChange: function onChange(next) {
5654
- return _onChange === null || _onChange === void 0 ? void 0 : _onChange(next !== null && next !== void 0 ? next : '');
5655
- },
5656
- disabled: disabled,
5657
- style: _objectSpread2({
5658
- width: '100%'
5659
- }, style)
5660
- }, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
5661
- allowClear: allowClear,
5662
- disabled: disabled,
5663
- placeholder: placeholder,
5664
- onPressEnter: function onPressEnter() {
5665
- return _onPressEnter === null || _onPressEnter === void 0 ? void 0 : _onPressEnter();
5666
- }
5667
- }));
5668
- };
5669
-
5670
5387
  var Option$1 = antd.Select.Option;
5671
5388
  var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5672
5389
  var _pathname$match;
@@ -5708,6 +5425,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5708
5425
  mappingTextShowKeyField = _ref.mappingTextShowKeyField,
5709
5426
  _ref$mappingValueFiel = _ref.mappingValueField,
5710
5427
  mappingValueField = _ref$mappingValueFiel === void 0 ? 'code' : _ref$mappingValueFiel,
5428
+ mappingOutputField = _ref.mappingOutputField,
5711
5429
  mappingTextShowTextField = _ref.mappingTextShowTextField,
5712
5430
  _ref$init = _ref.init,
5713
5431
  init = _ref$init === void 0 ? false : _ref$init,
@@ -5734,6 +5452,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5734
5452
  mappingTextField: mappingTextField,
5735
5453
  mappingTextShowKeyField: mappingTextShowKeyField,
5736
5454
  mappingValueField: mappingValueField,
5455
+ mappingOutputField: mappingOutputField,
5737
5456
  mappingTextShowTextField: mappingTextShowTextField,
5738
5457
  init: init,
5739
5458
  extralHeaders: extralHeaders,
@@ -5797,42 +5516,77 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5797
5516
  _useState2 = _slicedToArray(_useState, 2),
5798
5517
  items = _useState2[0],
5799
5518
  setItems = _useState2[1];
5800
- var _useState3 = React$1.useState(false),
5519
+ var selectedRecordsRef = React$1.useRef([]);
5520
+ var _useState3 = React$1.useState(0),
5801
5521
  _useState4 = _slicedToArray(_useState3, 2),
5802
- selectOpen = _useState4[0],
5803
- setSelectOpen = _useState4[1];
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
+ };
5804
5554
  var _useState5 = React$1.useState(false),
5805
5555
  _useState6 = _slicedToArray(_useState5, 2),
5806
- isMaxTagsOpen = _useState6[0],
5807
- setIsMaxTagsOpen = _useState6[1];
5808
- var _useState7 = React$1.useState(1),
5556
+ selectOpen = _useState6[0],
5557
+ setSelectOpen = _useState6[1];
5558
+ var _useState7 = React$1.useState(false),
5809
5559
  _useState8 = _slicedToArray(_useState7, 2),
5810
- scrollPage = _useState8[0],
5811
- setScrollPage = _useState8[1];
5812
- var _useState9 = React$1.useState(0),
5560
+ isMaxTagsOpen = _useState8[0],
5561
+ setIsMaxTagsOpen = _useState8[1];
5562
+ var _useState9 = React$1.useState(1),
5813
5563
  _useState0 = _slicedToArray(_useState9, 2),
5814
- itemsTotal = _useState0[0],
5815
- setItemsTotal = _useState0[1];
5816
- var _useState1 = React$1.useState(false),
5564
+ scrollPage = _useState0[0],
5565
+ setScrollPage = _useState0[1];
5566
+ var _useState1 = React$1.useState(0),
5817
5567
  _useState10 = _slicedToArray(_useState1, 2),
5818
- fetching = _useState10[0],
5819
- setFetching = _useState10[1];
5820
- var _useState11 = React$1.useState(''),
5568
+ itemsTotal = _useState10[0],
5569
+ setItemsTotal = _useState10[1];
5570
+ var _useState11 = React$1.useState(false),
5821
5571
  _useState12 = _slicedToArray(_useState11, 2),
5822
- searchValue = _useState12[0],
5823
- setSearchValue = _useState12[1];
5824
- var _useState13 = React$1.useState(false),
5572
+ fetching = _useState12[0],
5573
+ setFetching = _useState12[1];
5574
+ var _useState13 = React$1.useState(''),
5825
5575
  _useState14 = _slicedToArray(_useState13, 2),
5826
- isModalVisible = _useState14[0],
5827
- setIsModalVisible = _useState14[1];
5828
- var _useState15 = React$1.useState(initVal),
5576
+ searchValue = _useState14[0],
5577
+ setSearchValue = _useState14[1];
5578
+ var _useState15 = React$1.useState(false),
5829
5579
  _useState16 = _slicedToArray(_useState15, 2),
5830
- popvalue = _useState16[0],
5831
- setPopValue = _useState16[1];
5832
- var _useState17 = React$1.useState(resultSourceKey),
5580
+ isModalVisible = _useState16[0],
5581
+ setIsModalVisible = _useState16[1];
5582
+ var _useState17 = React$1.useState(initVal),
5833
5583
  _useState18 = _slicedToArray(_useState17, 2),
5834
- uniqueValue = _useState18[0],
5835
- setUniqueValue = _useState18[1];
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];
5836
5590
  var _useDebounceFn = ahooks.useDebounceFn(function (v) {
5837
5591
  // 优化搜索参数 支持传多个
5838
5592
  var searchParams = {};
@@ -5861,54 +5615,50 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5861
5615
  var _Form$useForm = antd.Form.useForm(),
5862
5616
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
5863
5617
  form = _Form$useForm2[0];
5864
- var _useState19 = React$1.useState(true),
5865
- _useState20 = _slicedToArray(_useState19, 2),
5866
- collapsed = _useState20[0],
5867
- setCollapsed = _useState20[1];
5868
5618
  var _useState21 = React$1.useState(true),
5869
5619
  _useState22 = _slicedToArray(_useState21, 2),
5870
- caretLeftFlag = _useState22[0],
5871
- setCaretLeftFlag = _useState22[1];
5872
- var _useState23 = React$1.useState([]),
5620
+ collapsed = _useState22[0],
5621
+ setCollapsed = _useState22[1];
5622
+ var _useState23 = React$1.useState(true),
5873
5623
  _useState24 = _slicedToArray(_useState23, 2),
5874
- tableData = _useState24[0],
5875
- setTableData = _useState24[1];
5876
- var _useState25 = React$1.useState(tableInitPagination),
5624
+ caretLeftFlag = _useState24[0],
5625
+ setCaretLeftFlag = _useState24[1];
5626
+ var _useState25 = React$1.useState([]),
5877
5627
  _useState26 = _slicedToArray(_useState25, 2),
5878
- tablePagination = _useState26[0],
5879
- setTablePagination = _useState26[1];
5880
- var _useState27 = React$1.useState([]),
5628
+ tableData = _useState26[0],
5629
+ setTableData = _useState26[1];
5630
+ var _useState27 = React$1.useState(tableInitPagination),
5881
5631
  _useState28 = _slicedToArray(_useState27, 2),
5882
- selectedRowKeys = _useState28[0],
5883
- setSelectedRowKeys = _useState28[1];
5632
+ tablePagination = _useState28[0],
5633
+ setTablePagination = _useState28[1];
5884
5634
  var _useState29 = React$1.useState([]),
5885
5635
  _useState30 = _slicedToArray(_useState29, 2),
5886
- selectedRows = _useState30[0],
5887
- setSelectedRows = _useState30[1];
5888
- var _useState31 = React$1.useState(false),
5636
+ selectedRowKeys = _useState30[0],
5637
+ setSelectedRowKeys = _useState30[1];
5638
+ var _useState31 = React$1.useState([]),
5889
5639
  _useState32 = _slicedToArray(_useState31, 2),
5890
- checkedAll = _useState32[0],
5891
- setCheckedAll = _useState32[1];
5640
+ selectedRows = _useState32[0],
5641
+ setSelectedRows = _useState32[1];
5892
5642
  var _useState33 = React$1.useState(false),
5893
5643
  _useState34 = _slicedToArray(_useState33, 2),
5894
- indeterminate = _useState34[0],
5895
- setIndeterminate = _useState34[1];
5896
- var _useState35 = React$1.useState({}),
5644
+ checkedAll = _useState34[0],
5645
+ setCheckedAll = _useState34[1];
5646
+ var _useState35 = React$1.useState(false),
5897
5647
  _useState36 = _slicedToArray(_useState35, 2),
5898
- tableFormParams = _useState36[0],
5899
- setTableFormParams = _useState36[1];
5900
- var _useState37 = React$1.useState(false),
5648
+ indeterminate = _useState36[0],
5649
+ setIndeterminate = _useState36[1];
5650
+ var _useState37 = React$1.useState({}),
5901
5651
  _useState38 = _slicedToArray(_useState37, 2),
5902
- tooltipVisible = _useState38[0],
5903
- setTooltipVisible = _useState38[1];
5904
- var _useState39 = React$1.useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5652
+ tableFormParams = _useState38[0],
5653
+ setTableFormParams = _useState38[1];
5654
+ var _useState39 = React$1.useState(false),
5905
5655
  _useState40 = _slicedToArray(_useState39, 2),
5906
- tableShowColumns = _useState40[0],
5907
- setTabletShowColumns = _useState40[1]; // 默认展示表头-modalTableProps?.tableColumns
5908
- var _useState41 = React$1.useState({}),
5656
+ tooltipVisible = _useState40[0],
5657
+ setTooltipVisible = _useState40[1];
5658
+ var _useState41 = React$1.useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5909
5659
  _useState42 = _slicedToArray(_useState41, 2),
5910
- currentPageFilters = _useState42[0],
5911
- setCurrentPageFilters = _useState42[1];
5660
+ tableShowColumns = _useState42[0],
5661
+ setTabletShowColumns = _useState42[1]; // 默认展示表头-modalTableProps?.tableColumns
5912
5662
  var _useState43 = React$1.useState(false),
5913
5663
  _useState44 = _slicedToArray(_useState43, 2),
5914
5664
  confirmLoading = _useState44[0],
@@ -6042,7 +5792,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6042
5792
  var source = convertResData(requestConfig, res, {
6043
5793
  selectMode: selectMode,
6044
5794
  labelInValue: labelInValue,
6045
- value: value,
5795
+ value: getIdentityValue(),
6046
5796
  type: type,
6047
5797
  items: items,
6048
5798
  queryParams: queryParams,
@@ -6056,7 +5806,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6056
5806
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(resultSourceKey, source);
6057
5807
  setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
6058
5808
  } else {
6059
- setCurrentPageFilters({});
6060
5809
  setTableData(source);
6061
5810
  setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
6062
5811
  total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
@@ -6190,6 +5939,17 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6190
5939
  current: 1
6191
5940
  }));
6192
5941
  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
+ }
6193
5953
  // 回显
6194
5954
  if (value) {
6195
5955
  if (selectMode) {
@@ -6288,6 +6048,12 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6288
6048
  }
6289
6049
  };
6290
6050
  var formaData = function formaData(value, source) {
6051
+ if (mappingOutputField) {
6052
+ selectedRecordsRef.current = value;
6053
+ refreshSelectedRecords(function (current) {
6054
+ return current + 1;
6055
+ });
6056
+ }
6291
6057
  if (labelInValue) {
6292
6058
  var getFromat = function getFromat(format, val) {
6293
6059
  return format.map(function (_ref8) {
@@ -6298,24 +6064,24 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6298
6064
  };
6299
6065
  var formatResult = value.map(function (i) {
6300
6066
  return Object.assign.apply(Object, [{
6301
- key: i[mappingValueField] || i.key,
6067
+ key: i[mappingOutputField || mappingValueField] || i.key,
6302
6068
  label: i[mappingTextField] || i.label,
6303
- value: i[mappingValueField] || i.value
6069
+ value: i[mappingOutputField || mappingValueField] || i.value
6304
6070
  }].concat(_toConsumableArray(getFromat(returnFormat, i))));
6305
6071
  });
6306
- onChange(selectMode ? formatResult : formatResult[0], value, source);
6072
+ onChange(selectMode ? mappingOutputField ? ___default['default'].uniqBy(formatResult, 'value') : formatResult : formatResult[0], value, source);
6307
6073
  } else {
6074
+ var _value$;
6308
6075
  var _formatResult = selectMode ? value.map(function (i) {
6309
- return i.value;
6310
- }) : ___default['default'].get(value[0], 'value');
6311
- onChange(_formatResult, value, source);
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);
6312
6079
  }
6313
6080
  };
6314
6081
  var clearModalTable = function clearModalTable() {
6315
6082
  form.resetFields();
6316
6083
  setTableFormParams({});
6317
6084
  setTableData([]);
6318
- setCurrentPageFilters({});
6319
6085
  setTablePagination(tableInitPagination);
6320
6086
  setSelectedRowKeys([]);
6321
6087
  setSelectedRows([]);
@@ -6349,7 +6115,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6349
6115
  var pageSize = normalizeSearchSelectModalPageSize(tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize);
6350
6116
  setModalSearched(true);
6351
6117
  setTableFormParams(params);
6352
- setCurrentPageFilters({});
6353
6118
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
6354
6119
  pageSize: pageSize,
6355
6120
  currentPage: 1
@@ -6359,7 +6124,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6359
6124
  var pageSize = normalizeSearchSelectModalPageSize(tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize);
6360
6125
  form.resetFields();
6361
6126
  setTableFormParams({});
6362
- setCurrentPageFilters({});
6363
6127
  getData({
6364
6128
  pageSize: pageSize,
6365
6129
  currentPage: 1
@@ -6368,14 +6132,9 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6368
6132
  var toggleCollapsed = function toggleCollapsed() {
6369
6133
  setCollapsed(!collapsed);
6370
6134
  };
6371
- var handleTableChange = function handleTableChange(pagination, filters, sorter, extra) {
6372
- if ((extra === null || extra === void 0 ? void 0 : extra.action) === 'filter') {
6373
- setCurrentPageFilters(filters || {});
6374
- return;
6375
- }
6135
+ var handleTableChange = function handleTableChange(pagination) {
6376
6136
  var pageSize = normalizeSearchSelectModalPageSize(pagination.pageSize);
6377
6137
  setSearchSelectModalPageSize(pageSize);
6378
- setCurrentPageFilters({});
6379
6138
  getData(_objectSpread2(_objectSpread2({}, tableFormParams), {}, {
6380
6139
  pageSize: pageSize,
6381
6140
  currentPage: pagination.current
@@ -6462,7 +6221,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6462
6221
  })) || [];
6463
6222
  var searchList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.noEmptySearchField) ? list : list === null || list === void 0 ? void 0 : list.concat(addKong);
6464
6223
  return searchList.map(function (i, index) {
6465
- var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field0, _i$field1, _i$field11, _i$field12, _i$field14, _i$field15;
6224
+ var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field0, _i$field1, _i$field10, _i$field12, _i$field13;
6466
6225
  if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6467
6226
  span: ColSpan,
6468
6227
  key: i
@@ -6574,21 +6333,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6574
6333
  }
6575
6334
  })));
6576
6335
  }
6577
- if ((i === null || i === void 0 ? void 0 : i.type) === 'autoComplete' || (i === null || i === void 0 ? void 0 : (_i$field1 = i.field) === null || _i$field1 === void 0 ? void 0 : _i$field1.type) === 'autoComplete') {
6578
- var _i$field10;
6579
- return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6580
- span: ColSpan,
6581
- key: i.name
6582
- }, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
6583
- name: i.name,
6584
- label: i.label,
6585
- key: i.name
6586
- }, /*#__PURE__*/React__default['default'].createElement(QueryAutoComplete, _objectSpread2({
6587
- onPressEnter: onSearchTable,
6588
- disabled: setDisabled(i.name)
6589
- }, (i === null || i === void 0 ? void 0 : (_i$field10 = i.field) === null || _i$field10 === void 0 ? void 0 : _i$field10.props) || {}))));
6590
- }
6591
- if ((i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.type) === 'proppertySelector') {
6336
+ if ((i === null || i === void 0 ? void 0 : (_i$field1 = i.field) === null || _i$field1 === void 0 ? void 0 : _i$field1.type) === 'proppertySelector') {
6592
6337
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6593
6338
  span: ColSpan,
6594
6339
  key: i.name
@@ -6598,8 +6343,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6598
6343
  key: i.name
6599
6344
  }, /*#__PURE__*/React__default['default'].createElement(PropertySelector, null)));
6600
6345
  }
6601
- if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'itemPropertySelector') {
6602
- var _i$field13;
6346
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field10 = i.field) === null || _i$field10 === void 0 ? void 0 : _i$field10.type) === 'itemPropertySelector') {
6347
+ var _i$field11;
6603
6348
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6604
6349
  span: ColSpan,
6605
6350
  key: i.name
@@ -6612,9 +6357,9 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6612
6357
  width: '100%'
6613
6358
  },
6614
6359
  placeholder: "\u8BF7\u9009\u62E9"
6615
- }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props))));
6360
+ }, i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.props))));
6616
6361
  }
6617
- if ((i === null || i === void 0 ? void 0 : (_i$field14 = i.field) === null || _i$field14 === void 0 ? void 0 : _i$field14.type) === 'multipleQuerySearchSelect') {
6362
+ if ((i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'multipleQuerySearchSelect') {
6618
6363
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6619
6364
  span: ColSpan,
6620
6365
  key: i.name
@@ -6643,7 +6388,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6643
6388
  placeholder: "\u8BF7\u8F93\u5165",
6644
6389
  allowClear: true,
6645
6390
  maxLength: 100
6646
- }, i === null || i === void 0 ? void 0 : (_i$field15 = i.field) === null || _i$field15 === void 0 ? void 0 : _i$field15.props), {}, {
6391
+ }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props), {}, {
6647
6392
  disabled: setDisabled(i.name)
6648
6393
  }))));
6649
6394
  });
@@ -6669,33 +6414,6 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6669
6414
  var x = (tableList === null || tableList === void 0 ? void 0 : tableList.length) ? 82 : 28; // 无数据没有分页,有数据计算减去:分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
6670
6415
  var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - ").concat(x, "px)");
6671
6416
  var mTB = "calc(50vh - ".concat(tableBoxHeighth / 2, "px - ").concat(x / 2, "px - 40px)");
6672
- var currentColumns = _buildCurrentPageFilterColumns(markCurrentPageFilterByDataIndex(tableShowColumns), tableList, currentPageFilters, type !== 'noPage');
6673
- // 无 width 的列在固定 scroll.x 下会被挤没;先兜底宽度再按列宽求和
6674
- var DEFAULT_COLUMN_WIDTH = 120;
6675
- var columnsWithWidth = currentColumns.map(function (col) {
6676
- if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'number' && col.width > 0) {
6677
- return col;
6678
- }
6679
- if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'string') {
6680
- var parsed = parseFloat(col.width);
6681
- if (Number.isFinite(parsed) && parsed > 0) {
6682
- return _objectSpread2(_objectSpread2({}, col), {}, {
6683
- width: parsed
6684
- });
6685
- }
6686
- }
6687
- return _objectSpread2(_objectSpread2({}, col), {}, {
6688
- width: DEFAULT_COLUMN_WIDTH
6689
- });
6690
- });
6691
- var sumColumnScrollX = function sumColumnScrollX(columns) {
6692
- var extraWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
6693
- var sum = (columns || []).reduce(function (total, col) {
6694
- return total + (Number(col === null || col === void 0 ? void 0 : col.width) || DEFAULT_COLUMN_WIDTH);
6695
- }, extraWidth);
6696
- return sum > extraWidth ? sum : undefined;
6697
- };
6698
- var tableScrollX = modalTableProps.overScrollX || sumColumnScrollX(columnsWithWidth, rowSelection ? 60 : 0) || true;
6699
6417
  return /*#__PURE__*/React__default['default'].createElement("div", {
6700
6418
  style: {
6701
6419
  height: "calc(100vh - ".concat(tableBoxHeighth, "px)")
@@ -6704,12 +6422,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6704
6422
  bordered: true,
6705
6423
  size: "middle",
6706
6424
  rowSelection: rowSelection,
6707
- columns: columnsWithWidth,
6708
- dataSource: tableList,
6709
- getPopupContainer: function getPopupContainer(triggerNode) {
6710
- var _modalTableProps$getF;
6711
- 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;
6712
- }
6425
+ columns: tableShowColumns,
6426
+ dataSource: tableList
6713
6427
  }, type == 'noPage' ? {
6714
6428
  pagination: _objectSpread2(_objectSpread2({}, initPagination), {}, {
6715
6429
  showSizeChanger: false
@@ -6727,7 +6441,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6727
6441
  }), {}, {
6728
6442
  rowKey: mappingValueField,
6729
6443
  scroll: {
6730
- x: tableScrollX,
6444
+ x: modalTableProps.overScrollX || 'max-content',
6731
6445
  y: modalTableProps.overScrollY || oSY
6732
6446
  },
6733
6447
  onRow: function onRow(record) {
@@ -6776,7 +6490,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6776
6490
  resetSelectDataSource(true);
6777
6491
  };
6778
6492
  var onDeselect = function onDeselect() {
6779
- var oldSelect = formatSelectedValue(value);
6493
+ var oldSelect = mappingOutputField ? getSelectedRecords() : formatSelectedValue(value);
6780
6494
  var deRecord = arguments.length <= 1 ? undefined : arguments[1];
6781
6495
  var srs = oldSelect.filter(function (s) {
6782
6496
  return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
@@ -6801,7 +6515,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6801
6515
  }
6802
6516
  };
6803
6517
  var renderTable = function renderTable(dataSource) {
6804
- var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
6518
+ var currentSRKs = getCurrentSRKs(selectMode, labelInValue, getIdentityValue());
6805
6519
  var renderSource = getRenderSource(currentSRKs, items);
6806
6520
  return /*#__PURE__*/React__default['default'].createElement("div", {
6807
6521
  className: "search_select_dropdown_table ".concat(!selectMode ? 'search_select_dropdown_table1' : '')
@@ -6815,7 +6529,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6815
6529
  selectedRowKeys: currentSRKs,
6816
6530
  preserveSelectedRowKeys: true,
6817
6531
  onChange: function onChange(sks, srs) {
6818
- var oldSelect = formatSelectedValue(value);
6532
+ var oldSelect = mappingOutputField ? getSelectedRecords() : formatSelectedValue(value);
6819
6533
  var tmpSelectedRows = oldSelect.concat(srs).filter(function (item) {
6820
6534
  return item != undefined;
6821
6535
  });
@@ -6834,7 +6548,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6834
6548
  onClick: function onClick(event) {
6835
6549
  event.stopPropagation();
6836
6550
  event.nativeEvent.stopImmediatePropagation();
6837
- var oldSelect = formatSelectedValue(value);
6551
+ var oldSelect = mappingOutputField ? getSelectedRecords() : formatSelectedValue(value);
6838
6552
  var newSelect = [JSON.parse(JSON.stringify(record))];
6839
6553
  var srs = getRealStr(oldSelect, newSelect, record);
6840
6554
  onSelectClick(srs, dataSource, false);
@@ -6867,6 +6581,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6867
6581
  }
6868
6582
  })));
6869
6583
  };
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
+ };
6870
6594
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6871
6595
  return /*#__PURE__*/React__default['default'].createElement("div", {
6872
6596
  className: 'search_select'
@@ -6881,7 +6605,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6881
6605
  viewShowValueStr: viewShowValueStr,
6882
6606
  labelInValue: labelInValue,
6883
6607
  selectMode: selectMode,
6884
- value: value,
6608
+ value: getIdentityValue(),
6885
6609
  items: items
6886
6610
  }),
6887
6611
  style: {
@@ -6894,14 +6618,14 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6894
6618
  viewShowValueStr: viewShowValueStr,
6895
6619
  labelInValue: labelInValue,
6896
6620
  selectMode: selectMode,
6897
- value: value,
6621
+ value: getIdentityValue(),
6898
6622
  items: items
6899
6623
  }))) : /*#__PURE__*/React__default['default'].createElement("div", {
6900
6624
  className: "".concat(isFormPage ? '' : 'search_select_show_list', " search_select_show"),
6901
6625
  id: "search_select_div_".concat(uniqueValue)
6902
6626
  }, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2(_objectSpread2({
6903
6627
  labelInValue: labelInValue,
6904
- value: value,
6628
+ value: getIdentityValue(),
6905
6629
  onChange: onchange,
6906
6630
  onClear: onClear,
6907
6631
  onDeselect: onDeselect,
@@ -6933,8 +6657,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6933
6657
  selectProps: {
6934
6658
  labelInValue: labelInValue
6935
6659
  },
6936
- onChange: onChange,
6937
- value: value,
6660
+ onChange: mappingOutputField ? onRemoveIdentityTag : onChange,
6661
+ value: getIdentityValue(),
6938
6662
  setIsMaxTagsOpen: setIsMaxTagsOpen
6939
6663
  });
6940
6664
  },
@@ -7051,7 +6775,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
7051
6775
  })) : null)))));
7052
6776
  });
7053
6777
 
7054
- 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";
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";
7055
6779
  styleInject(css_248z$8);
7056
6780
 
7057
6781
  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";
@@ -7071,7 +6795,7 @@ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20enc
7071
6795
  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";
7072
6796
  styleInject(css_248z$9);
7073
6797
 
7074
- var _excluded$6 = ["className", "style"];
6798
+ var _excluded$5 = ["className", "style"];
7075
6799
  var Search = antd.Input.Search;
7076
6800
  var DragHandle = reactSortableHoc.SortableHandle(function () {
7077
6801
  return /*#__PURE__*/React__default['default'].createElement("img", {
@@ -7423,7 +7147,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
7423
7147
  _this.DraggableBodyRow = function (_ref2) {
7424
7148
  var className = _ref2.className,
7425
7149
  style = _ref2.style,
7426
- restProps = _objectWithoutProperties(_ref2, _excluded$6);
7150
+ restProps = _objectWithoutProperties(_ref2, _excluded$5);
7427
7151
  var sortDataSource = _this.state.sortDataSource;
7428
7152
  // function findIndex base on Table rowKey props and should always be a right array index
7429
7153
  var index = sortDataSource.findIndex(function (x) {
@@ -7855,7 +7579,6 @@ var loadSelectSource = function loadSelectSource(url, params) {
7855
7579
  var formatSource = function formatSource(reData, position, changePosition, changeSearchForm) {
7856
7580
  var _reData$position;
7857
7581
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['code', 'name'];
7858
- if (!Array.isArray(changeSearchForm) || !changeSearchForm[changePosition]) return;
7859
7582
  var data = reData && ((_reData$position = reData[position]) === null || _reData$position === void 0 ? void 0 : _reData$position.data);
7860
7583
  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) || [];
7861
7584
  var formatData = (list === null || list === void 0 ? void 0 : list.length) ? list.map(function (v) {
@@ -7884,9 +7607,8 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7884
7607
  };
7885
7608
  };
7886
7609
  var formatTreeDataSource = function formatTreeDataSource(reData, position, changePosition, changeSearchForm) {
7887
- var _changeSearchForm$cha, _changeSearchForm$cha2, _reData$position2;
7610
+ var _reData$position2;
7888
7611
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7889
- 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;
7890
7612
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7891
7613
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7892
7614
  return _mapSearchTree(ites, resKeyValue);
@@ -7906,7 +7628,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
7906
7628
  });
7907
7629
  };
7908
7630
 
7909
- var _excluded$7 = ["onResize", "width"],
7631
+ var _excluded$6 = ["onResize", "width"],
7910
7632
  _excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
7911
7633
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
7912
7634
  return new Promise(function (resolve, reject) {
@@ -7926,7 +7648,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
7926
7648
  var ResizeableTitle = function ResizeableTitle(props) {
7927
7649
  var onResize = props.onResize,
7928
7650
  width = props.width,
7929
- restProps = _objectWithoutProperties(props, _excluded$7);
7651
+ restProps = _objectWithoutProperties(props, _excluded$6);
7930
7652
  if (!width) {
7931
7653
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
7932
7654
  }
@@ -7990,7 +7712,7 @@ var AddSelect = function AddSelect(props) {
7990
7712
  var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
7991
7713
  var initVal = value || (selectMode ? [] : null);
7992
7714
  var pageSize = 100; // 下拉框默认分页 条数
7993
- 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; // 弹框默认分页 条数
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; // 弹框默认分页 条数
7994
7716
  var currentPage = 1;
7995
7717
  var _useState = React$1.useState(false),
7996
7718
  _useState2 = _slicedToArray(_useState, 2),
@@ -8032,42 +7754,38 @@ var AddSelect = function AddSelect(props) {
8032
7754
  _useState14 = _slicedToArray(_useState13, 2),
8033
7755
  tablePagination = _useState14[0],
8034
7756
  setTablePagination = _useState14[1];
8035
- var _useState15 = React$1.useState({}),
7757
+ var _useState15 = React$1.useState([]),
8036
7758
  _useState16 = _slicedToArray(_useState15, 2),
8037
- currentPageFilters = _useState16[0],
8038
- setCurrentPageFilters = _useState16[1];
8039
- var _useState17 = React$1.useState([]),
7759
+ selectedRowKeys = _useState16[0],
7760
+ setSelectedRowKeys = _useState16[1];
7761
+ var _useState17 = React$1.useState({}),
8040
7762
  _useState18 = _slicedToArray(_useState17, 2),
8041
- selectedRowKeys = _useState18[0],
8042
- setSelectedRowKeys = _useState18[1];
8043
- var _useState19 = React$1.useState({}),
7763
+ tableFormParams = _useState18[0],
7764
+ setTableFormParams = _useState18[1];
7765
+ var _useState19 = React$1.useState(false),
8044
7766
  _useState20 = _slicedToArray(_useState19, 2),
8045
- tableFormParams = _useState20[0],
8046
- setTableFormParams = _useState20[1];
7767
+ confirmLoading = _useState20[0],
7768
+ setConfirmLoading = _useState20[1];
8047
7769
  var _useState21 = React$1.useState(false),
8048
7770
  _useState22 = _slicedToArray(_useState21, 2),
8049
- confirmLoading = _useState22[0],
8050
- setConfirmLoading = _useState22[1];
8051
- var _useState23 = React$1.useState(false),
7771
+ confirmContinueLoading = _useState22[0],
7772
+ setConfirmContinueLoading = _useState22[1];
7773
+ var _useState23 = React$1.useState([]),
8052
7774
  _useState24 = _slicedToArray(_useState23, 2),
8053
- confirmContinueLoading = _useState24[0],
8054
- setConfirmContinueLoading = _useState24[1];
7775
+ selectColumns = _useState24[0],
7776
+ setSelectColumns = _useState24[1];
8055
7777
  var _useState25 = React$1.useState([]),
8056
7778
  _useState26 = _slicedToArray(_useState25, 2),
8057
- selectColumns = _useState26[0],
8058
- setSelectColumns = _useState26[1];
7779
+ showColumns = _useState26[0],
7780
+ setShowColumns = _useState26[1];
8059
7781
  var _useState27 = React$1.useState([]),
8060
7782
  _useState28 = _slicedToArray(_useState27, 2),
8061
- showColumns = _useState28[0],
8062
- setShowColumns = _useState28[1];
7783
+ tableColumns = _useState28[0],
7784
+ setTableColumns = _useState28[1];
8063
7785
  var _useState29 = React$1.useState([]),
8064
7786
  _useState30 = _slicedToArray(_useState29, 2),
8065
- tableColumns = _useState30[0],
8066
- setTableColumns = _useState30[1];
8067
- var _useState31 = React$1.useState([]),
8068
- _useState32 = _slicedToArray(_useState31, 2),
8069
- showToChooseColumns = _useState32[0],
8070
- setShowToChooseColumns = _useState32[1];
7787
+ showToChooseColumns = _useState30[0],
7788
+ setShowToChooseColumns = _useState30[1];
8071
7789
  var codeToChoose = tableCodeList[0] || initTableCode[businessType][0];
8072
7790
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
8073
7791
  // FIXME: 特殊业务逻辑
@@ -8722,14 +8440,11 @@ var AddSelect = function AddSelect(props) {
8722
8440
  // 数据源 不可以有重复key
8723
8441
  source = Array.isArray(source) ? ___default['default'].uniqBy(source, 'value') : [];
8724
8442
  setTableData(source);
8725
- setCurrentPageFilters({});
8726
- setTablePagination(function (previousPagination) {
8727
- return _objectSpread2(_objectSpread2({}, previousPagination), {}, {
8728
- total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
8729
- 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),
8730
- 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)
8731
- });
8732
- });
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
+ }));
8733
8448
  }).catch(function (err) {
8734
8449
  setFetching(false);
8735
8450
  });
@@ -8754,7 +8469,6 @@ var AddSelect = function AddSelect(props) {
8754
8469
  }, [sourceName]);
8755
8470
  var showModal = function showModal() {
8756
8471
  // getData({ pageSize: tableInitPageSize, currentPage: 1 }, 2)
8757
- setCurrentPageFilters({});
8758
8472
  setIsModalVisible(true);
8759
8473
  // 回显
8760
8474
  if (value) {
@@ -8843,7 +8557,6 @@ var AddSelect = function AddSelect(props) {
8843
8557
  var handleCancel = function handleCancel() {
8844
8558
  form.resetFields();
8845
8559
  setTableFormParams({});
8846
- setCurrentPageFilters({});
8847
8560
  setIsModalVisible(false);
8848
8561
  setTableData([]);
8849
8562
  onCancelCallback && onCancelCallback();
@@ -8854,38 +8567,27 @@ var AddSelect = function AddSelect(props) {
8854
8567
  var onSearchTable = function onSearchTable() {
8855
8568
  form.validateFields().then(function () {
8856
8569
  var params = form.getFieldsValue();
8857
- var currentTablePageSize = businessType === 'sku' ? Number((tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize) || tableInitPageSize) : tableInitPageSize;
8858
8570
  setTableFormParams(params);
8859
- setCurrentPageFilters({});
8860
8571
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
8861
- pageSize: currentTablePageSize,
8862
- currentPage: 1
8572
+ pageSize: tableInitPageSize
8863
8573
  }), 2);
8864
8574
  });
8865
8575
  };
8866
8576
  var onResetTable = function onResetTable() {
8867
8577
  form.resetFields();
8868
8578
  setTableFormParams({});
8869
- setCurrentPageFilters({});
8870
8579
  form.validateFields().then(function () {
8871
- var currentTablePageSize = businessType === 'sku' ? Number((tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.pageSize) || tableInitPageSize) : tableInitPageSize;
8872
8580
  getData({
8873
- pageSize: currentTablePageSize,
8581
+ pageSize: tableInitPageSize,
8874
8582
  currentPage: 1
8875
8583
  }, 2);
8876
8584
  }).catch(function () {
8877
8585
  setTableData([]);
8878
8586
  });
8879
8587
  };
8880
- var handleTableChange = function handleTableChange(pagination, filters, sorter, extra) {
8881
- if ((extra === null || extra === void 0 ? void 0 : extra.action) === 'filter') {
8882
- setCurrentPageFilters(filters || {});
8883
- return;
8884
- }
8885
- setCurrentPageFilters({});
8886
- setTablePagination(function (previousPagination) {
8887
- return _objectSpread2(_objectSpread2({}, previousPagination), pagination);
8888
- });
8588
+ var handleTableChange = function handleTableChange(pagination) {
8589
+ // 设置分页tablePagination
8590
+ setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), pagination));
8889
8591
  getData(_objectSpread2(_objectSpread2({}, tableFormParams), {}, {
8890
8592
  pageSize: pagination.pageSize,
8891
8593
  currentPage: pagination.current
@@ -9012,15 +8714,6 @@ var AddSelect = function AddSelect(props) {
9012
8714
  }
9013
8715
  })));
9014
8716
  }
9015
- if (type === 'autoComplete' || (field === null || field === void 0 ? void 0 : field.type) === 'autoComplete') {
9016
- return /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, _objectSpread2({
9017
- name: name,
9018
- label: label,
9019
- key: name
9020
- }, restProps), /*#__PURE__*/React__default['default'].createElement(QueryAutoComplete, _objectSpread2({
9021
- onPressEnter: onSearchTable
9022
- }, (field === null || field === void 0 ? void 0 : field.props) || {})));
9023
- }
9024
8717
  // 默认type是input
9025
8718
  return /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, _objectSpread2({
9026
8719
  name: name,
@@ -9136,7 +8829,6 @@ var AddSelect = function AddSelect(props) {
9136
8829
  _handleColumns(showToChooseCol, [], function (res) {
9137
8830
  return setShowToChooseColumnsCallback(res);
9138
8831
  });
9139
- var currentPageTableColumns = _buildCurrentPageFilterColumns(businessType === 'sku' ? markCurrentPageFilterByDataIndex(showToChooseCol) : showToChooseCol, tableData, currentPageFilters);
9140
8832
  var showSelectedCol = showColumns.map(function (item) {
9141
8833
  handleAntdColumnsSpecialParams(item);
9142
8834
  return _objectSpread2({}, item);
@@ -9144,20 +8836,6 @@ var AddSelect = function AddSelect(props) {
9144
8836
  _handleColumns(showSelectedCol, [], function (res) {
9145
8837
  return setShowColumnsCallback(res);
9146
8838
  });
9147
- // sku 上表勿用 scroll.x=max-content:会按当前页单元格内容重算列宽,分页切换时 SKU名称等列会忽宽忽窄
9148
- var sumColumnScrollX = function sumColumnScrollX(columns) {
9149
- var extraWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
9150
- var sum = (columns || []).reduce(function (total, col) {
9151
- if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'number') return total + col.width;
9152
- if (typeof (col === null || col === void 0 ? void 0 : col.width) === 'string') {
9153
- var parsed = parseFloat(col.width);
9154
- return Number.isFinite(parsed) ? total + parsed : total;
9155
- }
9156
- return total;
9157
- }, extraWidth);
9158
- return sum > extraWidth ? sum : undefined;
9159
- };
9160
- var skuTopTableScrollX = sumColumnScrollX(currentPageTableColumns, selectMode ? 60 : 0);
9161
8839
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
9162
8840
  return /*#__PURE__*/React__default['default'].createElement("div", {
9163
8841
  className: 'add_select'
@@ -9261,21 +8939,14 @@ var AddSelect = function AddSelect(props) {
9261
8939
  })))), /*#__PURE__*/React__default['default'].createElement(antd.Table, {
9262
8940
  size: 'small',
9263
8941
  rowSelection: rowSelection,
9264
- columns: currentPageTableColumns,
8942
+ columns: showToChooseCol,
9265
8943
  dataSource: tableData,
9266
- getPopupContainer: function getPopupContainer(triggerNode) {
9267
- var _modalTableProps$getF;
9268
- 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;
9269
- },
9270
8944
  pagination: tablePagination,
9271
8945
  loading: fetching,
9272
8946
  onChange: handleTableChange,
9273
8947
  rowKey: mappingValueField,
9274
8948
  rowClassName: 'row-class',
9275
- scroll: businessType === 'sku' ? {
9276
- x: skuTopTableScrollX || true,
9277
- y: 500
9278
- } : {
8949
+ scroll: {
9279
8950
  y: 500
9280
8951
  },
9281
8952
  components: {
@@ -9357,7 +9028,7 @@ var AddSelect = function AddSelect(props) {
9357
9028
  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";
9358
9029
  styleInject(css_248z$a);
9359
9030
 
9360
- var _excluded$8 = ["onResize", "width"];
9031
+ var _excluded$7 = ["onResize", "width"];
9361
9032
  var _this = undefined;
9362
9033
  var InputElement = function InputElement(_ref) {
9363
9034
  var _record$packingUnitLi, _record$packingUnitLi2;
@@ -9855,7 +9526,7 @@ var InputElement = function InputElement(_ref) {
9855
9526
  var ResizeableTitle$1 = function ResizeableTitle(props) {
9856
9527
  var onResize = props.onResize,
9857
9528
  width = props.width,
9858
- restProps = _objectWithoutProperties(props, _excluded$8);
9529
+ restProps = _objectWithoutProperties(props, _excluded$7);
9859
9530
  if (!width) {
9860
9531
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
9861
9532
  }
@@ -10906,44 +10577,7 @@ function commonFun(type, prefixUrl, parentProps) {
10906
10577
  }
10907
10578
  }, {
10908
10579
  name: 'qp-skuName-like',
10909
- label: 'SKU名称',
10910
- type: 'autoComplete',
10911
- field: {
10912
- type: 'autoComplete',
10913
- props: {
10914
- requestConfig: {
10915
- url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
10916
- method: 'post',
10917
- otherParams: _objectSpread2({
10918
- ownOrgSign: getCurrentTargetBgId()
10919
- }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10920
- mappingTextField: 'skuName',
10921
- pageSize: 50,
10922
- debounceWait: 300,
10923
- likeParamName: 'qp-skuName-like'
10924
- }
10925
- }
10926
- }
10927
- }, {
10928
- name: 'qp-itemName-like',
10929
- label: '商品名称',
10930
- type: 'autoComplete',
10931
- field: {
10932
- type: 'autoComplete',
10933
- props: {
10934
- requestConfig: {
10935
- url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v4"),
10936
- method: 'post',
10937
- otherParams: _objectSpread2({
10938
- ownOrgSign: getCurrentTargetBgId()
10939
- }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10940
- mappingTextField: 'itemName',
10941
- pageSize: 50,
10942
- debounceWait: 300,
10943
- likeParamName: 'qp-itemName-like'
10944
- }
10945
- }
10946
- }
10580
+ label: 'SKU名称'
10947
10581
  }, {
10948
10582
  name: 'qp-itemCode-in',
10949
10583
  label: 'SPU编码',
@@ -10967,14 +10601,6 @@ function commonFun(type, prefixUrl, parentProps) {
10967
10601
  }
10968
10602
  }
10969
10603
  }
10970
- }, {
10971
- name: 'qp-styleCode-in',
10972
- label: '龙牙款号',
10973
- type: 'multipleQueryInput'
10974
- }, {
10975
- name: 'qp-pinCode-in',
10976
- label: '龙牙品号',
10977
- type: 'multipleQueryInput'
10978
10604
  },
10979
10605
  // { name: 'qp-eancode-in', label: '商品条码', field: {
10980
10606
  // type: 'multipleQueryInput',
@@ -11077,9 +10703,9 @@ function commonFun(type, prefixUrl, parentProps) {
11077
10703
  currentPage: 1,
11078
10704
  'qp-labelType-eq': 1
11079
10705
  }, getQueryHeadersItem(_queryHeaderParams2, 'qp-itemLabelId-in'))]).then(function (x) {
11080
- formatSource(x, 0, getFieldIndex(tableSearchForm, 'brandId'), tableSearchForm, ['id', 'name']);
11081
- formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'categoryId'), tableSearchForm);
11082
- formatSource(x, 2, getFieldIndex(tableSearchForm, 'itemLabelId'), tableSearchForm, ['id', 'name']);
10706
+ formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
10707
+ formatTreeDataSource(x, 1, 4, tableSearchForm);
10708
+ formatSource(x, 2, 6, tableSearchForm, ['id', 'name']);
11083
10709
  });
11084
10710
  modalTableProps = _objectSpread2({
11085
10711
  modalTableTitle: '选择SKU',
@@ -11088,12 +10714,18 @@ function commonFun(type, prefixUrl, parentProps) {
11088
10714
  tableColumns: [{
11089
10715
  title: '序号',
11090
10716
  dataIndex: 'keyIndex',
11091
- width: 60,
11092
10717
  defaultSort: 0
10718
+ }, {
10719
+ title: 'SKU编码',
10720
+ dataIndex: 'skuCode',
10721
+ defaultSort: 2
10722
+ }, {
10723
+ title: 'SKU名称',
10724
+ dataIndex: 'skuName',
10725
+ defaultSort: 3
11093
10726
  }, {
11094
10727
  title: '图片',
11095
10728
  dataIndex: 'itemUrl',
11096
- width: 60,
11097
10729
  defaultSort: 1,
11098
10730
  render: function render(text, record) {
11099
10731
  return tableColumnsImage(getSkuImg(record), {
@@ -11101,79 +10733,34 @@ function commonFun(type, prefixUrl, parentProps) {
11101
10733
  height: 16
11102
10734
  });
11103
10735
  }
11104
- }, {
11105
- title: 'SKU名称',
11106
- dataIndex: 'skuName',
11107
- width: 200,
11108
- defaultSort: 2,
11109
- ellipsis: {
11110
- showTitle: false
11111
- },
11112
- render: function render(text) {
11113
- return handleTextOverflow(text, 200);
11114
- }
11115
- }, {
11116
- title: '颜色名称',
11117
- dataIndex: 'colorName',
11118
- width: 140,
11119
- defaultSort: 3
11120
- }, {
11121
- title: '尺码名称',
11122
- dataIndex: 'sizeName',
11123
- width: 100,
11124
- defaultSort: 4
11125
- }, {
11126
- title: 'SKU编码',
11127
- dataIndex: 'skuCode',
11128
- width: 160,
11129
- defaultSort: 5
11130
- }, {
11131
- title: '龙牙款号',
11132
- dataIndex: 'styleCode',
11133
- width: 160,
11134
- defaultSort: 6
11135
- }, {
11136
- title: '龙牙品号',
11137
- dataIndex: 'pinCode',
11138
- width: 160,
11139
- defaultSort: 7
11140
10736
  }, {
11141
10737
  title: '商品条码',
11142
- dataIndex: 'eancode',
11143
- width: 140
10738
+ dataIndex: 'eancode'
11144
10739
  }, {
11145
10740
  title: 'SKC编码',
11146
- dataIndex: 'skcCode',
11147
- width: 140
10741
+ dataIndex: 'skcCode'
11148
10742
  }, {
11149
10743
  title: '所属SPU名称',
11150
- dataIndex: 'itemName',
11151
- width: 160
10744
+ dataIndex: 'itemName'
11152
10745
  }, {
11153
10746
  title: '所属SPU编码',
11154
- dataIndex: 'itemCode',
11155
- width: 140
10747
+ dataIndex: 'itemCode'
11156
10748
  }, {
11157
10749
  title: '外部编码',
11158
- dataIndex: 'externalCode',
11159
- width: 140
10750
+ dataIndex: 'externalCode'
11160
10751
  }, {
11161
10752
  title: '规格',
11162
- dataIndex: 'propertyNameAndValue',
11163
- width: 140
10753
+ dataIndex: 'propertyNameAndValue'
11164
10754
  }, {
11165
10755
  title: '类目',
11166
- dataIndex: 'categoryName',
11167
- width: 120
10756
+ dataIndex: 'categoryName'
11168
10757
  }, {
11169
10758
  title: '品类',
11170
- dataIndex: 'className',
11171
- width: 120
10759
+ dataIndex: 'className'
11172
10760
  }, {
11173
10761
  title: '品牌',
11174
10762
  dataIndex: 'brandName',
11175
- width: 120,
11176
- defaultSort: 8
10763
+ defaultSort: 4
11177
10764
  }]
11178
10765
  }, modalTableBusProps);
11179
10766
  }
@@ -14720,7 +14307,7 @@ function handleFormSearchSourceLoad(c, parentProps) {
14720
14307
  return result;
14721
14308
  }
14722
14309
  var AddSkuSelect = function AddSkuSelect(parProps) {
14723
- var _parProps$requestConf, _parProps$requestConf2, _parProps$requestConf3, _parProps$requestConf4, _topTablePagination$p, _topTablePagination$s;
14310
+ var _parProps$requestConf, _parProps$requestConf2;
14724
14311
  var selectProps = {
14725
14312
  mode: 'multiple'
14726
14313
  };
@@ -14750,7 +14337,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14750
14337
  }
14751
14338
  }]), [{
14752
14339
  title: 'SKU名称',
14753
- width: 300,
14340
+ width: 200,
14754
14341
  ellipsis: {
14755
14342
  showTitle: false
14756
14343
  },
@@ -14758,32 +14345,9 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14758
14345
  return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
14759
14346
  placement: "topLeft",
14760
14347
  title: text
14761
- }, /*#__PURE__*/React__default['default'].createElement("span", {
14762
- style: {
14763
- display: 'block',
14764
- overflow: 'hidden',
14765
- textOverflow: 'ellipsis',
14766
- whiteSpace: 'nowrap'
14767
- }
14768
- }, text));
14348
+ }, text);
14769
14349
  },
14770
14350
  dataIndex: 'name'
14771
- }, {
14772
- title: '龙牙款号',
14773
- width: 150,
14774
- dataIndex: 'longyaStyleCode'
14775
- }, {
14776
- title: '龙牙品号',
14777
- width: 150,
14778
- dataIndex: 'longyaPinCode'
14779
- }, {
14780
- title: '颜色名称',
14781
- width: 140,
14782
- dataIndex: 'colorName'
14783
- }, {
14784
- title: '尺码名称',
14785
- width: 140,
14786
- dataIndex: 'sizeName'
14787
14351
  }, {
14788
14352
  title: '图片',
14789
14353
  dataIndex: 'itemUrl',
@@ -14856,7 +14420,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14856
14420
  dataIndex: 'skuCode'
14857
14421
  }, {
14858
14422
  title: 'SKU名称',
14859
- width: 300,
14423
+ width: 200,
14860
14424
  ellipsis: {
14861
14425
  showTitle: false
14862
14426
  },
@@ -14864,32 +14428,9 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
14864
14428
  return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
14865
14429
  placement: "topLeft",
14866
14430
  title: text
14867
- }, /*#__PURE__*/React__default['default'].createElement("span", {
14868
- style: {
14869
- display: 'block',
14870
- overflow: 'hidden',
14871
- textOverflow: 'ellipsis',
14872
- whiteSpace: 'nowrap'
14873
- }
14874
- }, text));
14431
+ }, text);
14875
14432
  },
14876
14433
  dataIndex: 'name'
14877
- }, {
14878
- title: '龙牙款号',
14879
- width: 150,
14880
- dataIndex: 'longyaStyleCode'
14881
- }, {
14882
- title: '龙牙品号',
14883
- width: 150,
14884
- dataIndex: 'longyaPinCode'
14885
- }, {
14886
- title: '颜色名称',
14887
- width: 140,
14888
- dataIndex: 'colorName'
14889
- }, {
14890
- title: '尺码名称',
14891
- width: 140,
14892
- dataIndex: 'sizeName'
14893
14434
  }, {
14894
14435
  title: '图片',
14895
14436
  dataIndex: 'itemUrl',
@@ -15026,54 +14567,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
15026
14567
  type: 'multipleQueryInput'
15027
14568
  }, {
15028
14569
  name: 'qp-skuName-like',
15029
- label: 'SKU名称',
15030
- type: 'autoComplete',
15031
- field: {
15032
- type: 'autoComplete',
15033
- props: {
15034
- requestConfig: {
15035
- url: '/items/sku/pager/v2',
15036
- otherParams: _objectSpread2({
15037
- 'qp-combination-eq': false,
15038
- 'qp-approveStatus-eq': 1,
15039
- 'qp-status-eq': 1
15040
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.addOtherParams) || {}),
15041
- mappingTextField: 'name',
15042
- pageSize: 50,
15043
- debounceWait: 300,
15044
- likeParamName: 'qp-skuName-like'
15045
- }
15046
- }
15047
- }
15048
- }, {
15049
- name: 'qp-itemName-like',
15050
- label: '商品名称',
15051
- type: 'autoComplete',
15052
- field: {
15053
- type: 'autoComplete',
15054
- props: {
15055
- requestConfig: {
15056
- url: '/items/sku/pager/v2',
15057
- otherParams: _objectSpread2({
15058
- 'qp-combination-eq': false,
15059
- 'qp-approveStatus-eq': 1,
15060
- 'qp-status-eq': 1
15061
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.addOtherParams) || {}),
15062
- mappingTextField: 'itemName',
15063
- pageSize: 50,
15064
- debounceWait: 300,
15065
- likeParamName: 'qp-itemName-like'
15066
- }
15067
- }
15068
- }
15069
- }, {
15070
- name: 'qp-longyaStyleCode-in',
15071
- label: '龙牙款号',
15072
- type: 'multipleQueryInput'
15073
- }, {
15074
- name: 'qp-longyaPinCode-in',
15075
- label: '龙牙品号',
15076
- type: 'multipleQueryInput'
14570
+ label: 'SKU名称'
15077
14571
  }, {
15078
14572
  name: 'qp-externalCode-like',
15079
14573
  label: '外部SPU编码'
@@ -15082,7 +14576,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
15082
14576
  label: '商品条码',
15083
14577
  field: {
15084
14578
  type: 'multipleQueryInput',
15085
- props: _objectSpread2({}, ((_parProps$requestConf3 = parProps.requestConfig) === null || _parProps$requestConf3 === void 0 ? void 0 : _parProps$requestConf3.itemEancodeValueRequestConfig) || {})
14579
+ props: _objectSpread2({}, ((_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.itemEancodeValueRequestConfig) || {})
15086
14580
  }
15087
14581
  }]), [{
15088
14582
  name: 'qp-brandId-in',
@@ -15139,9 +14633,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
15139
14633
  'ctl-withAuth': true
15140
14634
  },
15141
14635
  resType: 'list',
15142
- resPosition: mTpTableSearchForm.findIndex(function (item) {
15143
- return item.name === 'qp-brandId-in';
15144
- }),
14636
+ resPosition: isNoUseItemBarcode ? 4 : 5,
15145
14637
  resKeyValue: ['id', 'name']
15146
14638
  }, {
15147
14639
  url: "/items/category/queryCategoryTree",
@@ -15150,17 +14642,9 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
15150
14642
  currentPage: 1
15151
14643
  },
15152
14644
  resType: 'treeList',
15153
- resPosition: mTpTableSearchForm.findIndex(function (item) {
15154
- return item.name === 'qp-categoryId-in';
15155
- })
14645
+ resPosition: isNoUseItemBarcode ? 5 : 6
15156
14646
  }];
15157
14647
  var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
15158
- var topTablePagination = (parProps === null || parProps === void 0 ? void 0 : parProps.pagination) || {};
15159
- var pageSizeOptions = Array.from(new Set([].concat(_toConsumableArray(SEARCH_SELECT_MODAL_PAGE_SIZE_OPTIONS), _toConsumableArray(topTablePagination.pageSizeOptions || [])).map(function (option) {
15160
- return String(option);
15161
- }))).sort(function (left, right) {
15162
- return Number(left) - Number(right);
15163
- });
15164
14648
  var props = {
15165
14649
  buttonText: parProps.buttonText || '新增',
15166
14650
  buttonProps: parProps.buttonProps || {},
@@ -15174,7 +14658,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
15174
14658
  'qp-combination-eq': false,
15175
14659
  'qp-approveStatus-eq': 1,
15176
14660
  'qp-status-eq': 1
15177
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf4 = parProps.requestConfig) === null || _parProps$requestConf4 === void 0 ? void 0 : _parProps$requestConf4.addOtherParams) || {}),
14661
+ }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.addOtherParams) || {}),
15178
14662
  mappingTextField: 'name',
15179
14663
  mappingValueField: 'skuCode'
15180
14664
  }, parProps.requestConfig),
@@ -15196,18 +14680,14 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
15196
14680
  tableColumns: mTpTableColumn,
15197
14681
  selectColumn: mTpSelectColumn,
15198
14682
  promiseLoadList: mTpPromiseLoadList,
15199
- topTablePagination: _objectSpread2(_objectSpread2({}, topTablePagination), {}, {
15200
- pageSize: (_topTablePagination$p = topTablePagination.pageSize) !== null && _topTablePagination$p !== void 0 ? _topTablePagination$p : SEARCH_SELECT_MODAL_DEFAULT_PAGE_SIZE,
15201
- showSizeChanger: (_topTablePagination$s = topTablePagination.showSizeChanger) !== null && _topTablePagination$s !== void 0 ? _topTablePagination$s : true,
15202
- pageSizeOptions: pageSizeOptions
15203
- })
14683
+ topTablePagination: (parProps === null || parProps === void 0 ? void 0 : parProps.pagination) || {}
15204
14684
  };
15205
14685
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
15206
14686
  modalTableProps: modalTableProps
15207
14687
  })));
15208
14688
  };
15209
14689
  var AddSkcSelect = function AddSkcSelect(parProps) {
15210
- var _parProps$requestConf5;
14690
+ var _parProps$requestConf3;
15211
14691
  var selectProps = {
15212
14692
  mode: 'multiple'
15213
14693
  };
@@ -15503,7 +14983,7 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
15503
14983
  filter: 'qp-name-like',
15504
14984
  otherParams: _objectSpread2({
15505
14985
  'qp-skcStatus-eq': 1
15506
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf5 = parProps.requestConfig) === null || _parProps$requestConf5 === void 0 ? void 0 : _parProps$requestConf5.addOtherParams) || {}),
14986
+ }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf3 = parProps.requestConfig) === null || _parProps$requestConf3 === void 0 ? void 0 : _parProps$requestConf3.addOtherParams) || {}),
15507
14987
  mappingTextField: 'name',
15508
14988
  mappingValueField: 'code'
15509
14989
  }, parProps.requestConfig),
@@ -15529,7 +15009,7 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
15529
15009
  })));
15530
15010
  };
15531
15011
  var AddSpuSelect = function AddSpuSelect(parProps) {
15532
- var _parProps$requestConf6;
15012
+ var _parProps$requestConf4;
15533
15013
  var selectProps = {
15534
15014
  mode: 'multiple'
15535
15015
  };
@@ -15820,7 +15300,7 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
15820
15300
  'qp-approveStatus-eq': 1,
15821
15301
  'qp-status-eq': 1,
15822
15302
  sorter: 'desc-id'
15823
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf6 = parProps.requestConfig) === null || _parProps$requestConf6 === void 0 ? void 0 : _parProps$requestConf6.addOtherParams) || {}),
15303
+ }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf4 = parProps.requestConfig) === null || _parProps$requestConf4 === void 0 ? void 0 : _parProps$requestConf4.addOtherParams) || {}),
15824
15304
  mappingTextField: 'name',
15825
15305
  mappingValueField: 'itemCode'
15826
15306
  }, parProps.requestConfig),
@@ -15977,7 +15457,7 @@ function getStorageVale(storageKeyString) {
15977
15457
  return "";
15978
15458
  }
15979
15459
 
15980
- 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"];
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"];
15981
15461
  var TreeSearchSelect = function TreeSearchSelect(props) {
15982
15462
  var _useState = React$1.useState([]),
15983
15463
  _useState2 = _slicedToArray(_useState, 2),
@@ -16019,7 +15499,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
16019
15499
  } : _props$style,
16020
15500
  getTreeData = props.getTreeData,
16021
15501
  disabled = props.disabled,
16022
- restProps = _objectWithoutProperties(props, _excluded$9);
15502
+ restProps = _objectWithoutProperties(props, _excluded$8);
16023
15503
  var url = remoteSource.url,
16024
15504
  headers = remoteSource.headers,
16025
15505
  _remoteSource$paramsK = remoteSource.paramsKey,
@@ -16447,7 +15927,7 @@ var index$2 = (function (props) {
16447
15927
  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";
16448
15928
  styleInject(css_248z$c);
16449
15929
 
16450
- var _excluded$a = ["children", "titleExtra", "title", "extra", "bordered"],
15930
+ var _excluded$9 = ["children", "titleExtra", "title", "extra", "bordered"],
16451
15931
  _excluded2$3 = ["children"];
16452
15932
  var Field = function Field(_ref) {
16453
15933
  var children = _ref.children,
@@ -16455,7 +15935,7 @@ var Field = function Field(_ref) {
16455
15935
  title = _ref.title,
16456
15936
  extra = _ref.extra,
16457
15937
  bordered = _ref.bordered,
16458
- props = _objectWithoutProperties(_ref, _excluded$a);
15938
+ props = _objectWithoutProperties(_ref, _excluded$9);
16459
15939
  var _React$useState = React__default['default'].useState(true),
16460
15940
  _React$useState2 = _slicedToArray(_React$useState, 2),
16461
15941
  fieldGroupVisible = _React$useState2[0],
@@ -16582,7 +16062,7 @@ var ExportIcon = function ExportIcon(_ref) {
16582
16062
  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";
16583
16063
  styleInject(css_248z$d);
16584
16064
 
16585
- var _excluded$b = ["className", "style"];
16065
+ var _excluded$a = ["className", "style"];
16586
16066
  var Search$1 = antd.Input.Search;
16587
16067
  var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
16588
16068
  return /*#__PURE__*/React__default['default'].createElement("img", {
@@ -17015,7 +16495,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
17015
16495
  _this.DraggableBodyRow = function (_ref2) {
17016
16496
  var className = _ref2.className,
17017
16497
  style = _ref2.style,
17018
- restProps = _objectWithoutProperties(_ref2, _excluded$b);
16498
+ restProps = _objectWithoutProperties(_ref2, _excluded$a);
17019
16499
  var sortDataSource = _this.state.sortDataSource;
17020
16500
  // function findIndex base on Table rowKey props and should always be a right array index
17021
16501
  var index = sortDataSource.findIndex(function (x) {
@@ -17377,7 +16857,7 @@ var TableSumComponent = (function (_ref) {
17377
16857
  }));
17378
16858
  });
17379
16859
 
17380
- var _excluded$c = ["onResize", "width"],
16860
+ var _excluded$b = ["onResize", "width"],
17381
16861
  _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll", "rowSelection"];
17382
16862
  var Text = antd.Typography.Text;
17383
16863
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
@@ -17566,7 +17046,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
17566
17046
  _this.ResizeableTitle = function (props) {
17567
17047
  var onResize = props.onResize,
17568
17048
  width = props.width,
17569
- restProps = _objectWithoutProperties(props, _excluded$c);
17049
+ restProps = _objectWithoutProperties(props, _excluded$b);
17570
17050
  var _useState = React$1.useState(width),
17571
17051
  _useState2 = _slicedToArray(_useState, 2),
17572
17052
  innerWidth = _useState2[0],
@@ -17878,7 +17358,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
17878
17358
  }]);
17879
17359
  }(React__default['default'].Component);
17880
17360
 
17881
- var _excluded$d = ["onResize", "width"],
17361
+ var _excluded$c = ["onResize", "width"],
17882
17362
  _excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll", "rowSelection"];
17883
17363
  var Text$1 = antd.Typography.Text;
17884
17364
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
@@ -18058,7 +17538,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
18058
17538
  _this.ResizeableTitle = function (props) {
18059
17539
  var onResize = props.onResize,
18060
17540
  width = props.width,
18061
- restProps = _objectWithoutProperties(props, _excluded$d);
17541
+ restProps = _objectWithoutProperties(props, _excluded$c);
18062
17542
  if (!width) {
18063
17543
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
18064
17544
  }
@@ -18429,12 +17909,12 @@ var cancelIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org
18429
17909
  var css_248z$g = "";
18430
17910
  styleInject(css_248z$g);
18431
17911
 
18432
- var _excluded$e = ["message", "type"];
17912
+ var _excluded$d = ["message", "type"];
18433
17913
  var CommonAlert = (function (props) {
18434
17914
  var message = props.message,
18435
17915
  _props$type = props.type,
18436
17916
  type = _props$type === void 0 ? 'info' : _props$type,
18437
- reset = _objectWithoutProperties(props, _excluded$e);
17917
+ reset = _objectWithoutProperties(props, _excluded$d);
18438
17918
  return /*#__PURE__*/React__default['default'].createElement("div", {
18439
17919
  style: {
18440
17920
  width: '100%',
@@ -18455,7 +17935,7 @@ var CommonAlert = (function (props) {
18455
17935
  }, reset)));
18456
17936
  });
18457
17937
 
18458
- var _excluded$f = ["children"];
17938
+ var _excluded$e = ["children"];
18459
17939
  var iconStyle = {
18460
17940
  width: 16,
18461
17941
  height: 16
@@ -18499,7 +17979,7 @@ var index$3 = (function (props) {
18499
17979
  _useState2 = _slicedToArray(_useState, 1),
18500
17980
  id = _useState2[0];
18501
17981
  var children = props.children,
18502
- restProps = _objectWithoutProperties(props, _excluded$f);
17982
+ restProps = _objectWithoutProperties(props, _excluded$e);
18503
17983
  return /*#__PURE__*/React__default['default'].createElement("div", {
18504
17984
  id: id,
18505
17985
  className: 'detail_page_wrapper'
@@ -18828,7 +18308,7 @@ var processDetailButtonsVisible = function processDetailButtonsVisible(buttons,
18828
18308
  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";
18829
18309
  styleInject(css_248z$h);
18830
18310
 
18831
- var _excluded$g = ["children"];
18311
+ var _excluded$f = ["children"];
18832
18312
  var index$4 = (function (props) {
18833
18313
  var _useLocation = umi.useLocation(),
18834
18314
  pathname = _useLocation.pathname;
@@ -18836,7 +18316,7 @@ var index$4 = (function (props) {
18836
18316
  _useState2 = _slicedToArray(_useState, 1),
18837
18317
  id = _useState2[0];
18838
18318
  var children = props.children,
18839
- restProps = _objectWithoutProperties(props, _excluded$g);
18319
+ restProps = _objectWithoutProperties(props, _excluded$f);
18840
18320
  return /*#__PURE__*/React__default['default'].createElement("div", {
18841
18321
  id: id,
18842
18322
  className: 'home_page_wrapper'
@@ -18913,7 +18393,7 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
18913
18393
  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";
18914
18394
  styleInject(css_248z$i);
18915
18395
 
18916
- var _excluded$h = ["className", "style"];
18396
+ var _excluded$g = ["className", "style"];
18917
18397
  var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
18918
18398
  return /*#__PURE__*/React__default['default'].createElement("img", {
18919
18399
  width: 25,
@@ -19383,7 +18863,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
19383
18863
  _this.DraggableBodyRow = function (_ref2) {
19384
18864
  var className = _ref2.className,
19385
18865
  style = _ref2.style,
19386
- restProps = _objectWithoutProperties(_ref2, _excluded$h);
18866
+ restProps = _objectWithoutProperties(_ref2, _excluded$g);
19387
18867
  var sortDataSource = _this.state.sortDataSource;
19388
18868
  // function findIndex base on Table rowKey props and should always be a right array index
19389
18869
  var index = sortDataSource.findIndex(function (x) {
@@ -19767,7 +19247,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
19767
19247
  }]);
19768
19248
  }(React__default['default'].Component);
19769
19249
 
19770
- var _excluded$i = ["className", "style"];
19250
+ var _excluded$h = ["className", "style"];
19771
19251
  var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
19772
19252
  return /*#__PURE__*/React__default['default'].createElement("img", {
19773
19253
  width: 25,
@@ -20020,7 +19500,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
20020
19500
  _this.DraggableBodyRow = function (_ref2) {
20021
19501
  var className = _ref2.className,
20022
19502
  style = _ref2.style,
20023
- restProps = _objectWithoutProperties(_ref2, _excluded$i);
19503
+ restProps = _objectWithoutProperties(_ref2, _excluded$h);
20024
19504
  var sortDataSource = _this.state.sortDataSource;
20025
19505
  var index = sortDataSource.findIndex(function (x) {
20026
19506
  return x.name === restProps['data-row-key'];
@@ -20326,13 +19806,13 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
20326
19806
  var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
20327
19807
  styleInject(css_248z$j);
20328
19808
 
20329
- var _excluded$j = ["onResize", "width"];
19809
+ var _excluded$i = ["onResize", "width"];
20330
19810
  var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
20331
19811
  var Text$2 = antd.Typography.Text;
20332
19812
  var ResizeableTitle$2 = function ResizeableTitle(props) {
20333
19813
  var onResize = props.onResize,
20334
19814
  width = props.width,
20335
- restProps = _objectWithoutProperties(props, _excluded$j);
19815
+ restProps = _objectWithoutProperties(props, _excluded$i);
20336
19816
  var _useState = React$1.useState(width),
20337
19817
  _useState2 = _slicedToArray(_useState, 2),
20338
19818
  innerWidth = _useState2[0],
@@ -23659,7 +23139,7 @@ var NoFoundPage = function NoFoundPage(props) {
23659
23139
  }));
23660
23140
  };
23661
23141
 
23662
- var _excluded$k = ["route"];
23142
+ var _excluded$j = ["route"];
23663
23143
  var TabPane = antd.Tabs.TabPane;
23664
23144
  var getId = function getId(str) {
23665
23145
  // 找到最后一个 / 的位置
@@ -24600,7 +24080,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
24600
24080
  }); // 添加数据大屏
24601
24081
  var _this$props3 = this.props,
24602
24082
  route = _this$props3.route,
24603
- restPrpos = _objectWithoutProperties(_this$props3, _excluded$k);
24083
+ restPrpos = _objectWithoutProperties(_this$props3, _excluded$j);
24604
24084
  var exist = route.routes.find(function (route) {
24605
24085
  return route.path === '/homePage/data-show';
24606
24086
  });
@@ -25570,10 +25050,10 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
25570
25050
  }))))));
25571
25051
  });
25572
25052
 
25573
- var _excluded$l = ["children"];
25053
+ var _excluded$k = ["children"];
25574
25054
  var Drawer = (function (props) {
25575
25055
  var children = props.children,
25576
- restProps = _objectWithoutProperties(props, _excluded$l);
25056
+ restProps = _objectWithoutProperties(props, _excluded$k);
25577
25057
  return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
25578
25058
  mask: true,
25579
25059
  closable: false,
@@ -34345,7 +33825,7 @@ var formatListName = function formatListName(list, columns) {
34345
33825
  });
34346
33826
  };
34347
33827
 
34348
- var _excluded$m = ["sorter"];
33828
+ var _excluded$l = ["sorter"];
34349
33829
  /**
34350
33830
  * 删掉查询条件的qp- 和 -eq等
34351
33831
  * @param {object} data
@@ -34425,7 +33905,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
34425
33905
  var _requestConfig$method;
34426
33906
  var params = _ref.params;
34427
33907
  var sorter = params.sorter,
34428
- paramsTemp = _objectWithoutProperties(params, _excluded$m);
33908
+ paramsTemp = _objectWithoutProperties(params, _excluded$l);
34429
33909
  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) || {}), {
34430
33910
  currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
34431
33911
  });
@@ -35653,9 +35133,6 @@ var RuleField = /*#__PURE__*/function (_Component) {
35653
35133
  var SET_TYPE = ['in', 'nin', 'cn', 'ncn', '5']; //集合类型 (数字为 兼容用户管理子应用使用规则组件)
35654
35134
  var INTERVAL_TYPE = ['be', 'bed', 'nbe', 'nbed', 'ber', 'bel']; //区间类型
35655
35135
  var IS_KONG = ['en']; // 为空
35656
- // 兼容元数据新旧枚举:旧 11单选/12多选;新 20单选/30多选(与 MetaDataCenter / RenderCompItem 一致)
35657
- var isMultiInputType = dataInputBusinessType == 12 || dataInputBusinessType == 30;
35658
- var isSelectInputType = dataInputBusinessType == 11 || dataInputBusinessType == 12 || dataInputBusinessType == 20 || dataInputBusinessType == 30;
35659
35136
  if (IS_KONG.indexOf(selectOperation) > -1) {
35660
35137
  return '';
35661
35138
  }
@@ -35733,8 +35210,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35733
35210
  }, item.name);
35734
35211
  }));
35735
35212
  }
35736
- } else if (isSelectInputType) {
35737
- // 11/20 单选 12/30 多选
35213
+ } else if (dataInputBusinessType == 11 || dataInputBusinessType == 12) {
35214
+ // 11 单选 12 多选
35738
35215
  // 物理仓
35739
35216
  if (dataChoiceBusinessType == 110) {
35740
35217
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
@@ -35743,7 +35220,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35743
35220
  selectProps: _objectSpread2({
35744
35221
  style: styleCommon,
35745
35222
  placeholder: '请选择物理仓'
35746
- }, isMultiInputType ? {
35223
+ }, dataInputBusinessType === 12 ? {
35747
35224
  mode: 'multiple',
35748
35225
  maxTagCount: 1
35749
35226
  } : {}),
@@ -35755,7 +35232,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35755
35232
  filterInit: 'qp-physicalWarehouseCode-in'
35756
35233
  },
35757
35234
  onChange: function onChange(value) {
35758
- if (isMultiInputType) {
35235
+ if (dataInputBusinessType === 12) {
35759
35236
  values[0] = value.map(function (i) {
35760
35237
  return i.key;
35761
35238
  });
@@ -35776,7 +35253,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35776
35253
  selectProps: _objectSpread2({
35777
35254
  style: styleCommon,
35778
35255
  placeholder: '请选择物理仓'
35779
- }, isMultiInputType ? {
35256
+ }, dataInputBusinessType === 12 ? {
35780
35257
  mode: 'multiple',
35781
35258
  maxTagCount: 1
35782
35259
  } : {}),
@@ -35788,7 +35265,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35788
35265
  filterInit: 'qp-physicalWarehouseCode-in'
35789
35266
  },
35790
35267
  onChange: function onChange(value) {
35791
- if (isMultiInputType) {
35268
+ if (dataInputBusinessType === 12) {
35792
35269
  values[1] = value.map(function (i) {
35793
35270
  return i.key;
35794
35271
  });
@@ -35807,7 +35284,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35807
35284
  }));
35808
35285
  } else {
35809
35286
  var _values;
35810
- var currentValue = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
35287
+ var currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
35811
35288
  return {
35812
35289
  key: s,
35813
35290
  label: valueNames[vIndex],
@@ -35823,7 +35300,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35823
35300
  selectProps: _objectSpread2({
35824
35301
  style: styleCommon,
35825
35302
  placeholder: '请选择物理仓'
35826
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35303
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
35827
35304
  mode: 'multiple',
35828
35305
  maxTagCount: 1
35829
35306
  } : {}),
@@ -35835,7 +35312,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35835
35312
  filterInit: 'qp-physicalWarehouseCode-in'
35836
35313
  },
35837
35314
  onChange: function onChange(value) {
35838
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35315
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
35839
35316
  values = value.map(function (i) {
35840
35317
  return i.key;
35841
35318
  }) || [];
@@ -35862,7 +35339,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35862
35339
  selectProps: _objectSpread2({
35863
35340
  style: styleCommon,
35864
35341
  placeholder: '请选择逻辑仓'
35865
- }, isMultiInputType ? {
35342
+ }, dataInputBusinessType === 12 ? {
35866
35343
  mode: 'multiple',
35867
35344
  maxTagCount: 1
35868
35345
  } : {}),
@@ -35874,7 +35351,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35874
35351
  filterInit: 'qp-realWarehouseCode-in'
35875
35352
  },
35876
35353
  onChange: function onChange(value) {
35877
- if (isMultiInputType) {
35354
+ if (dataInputBusinessType === 12) {
35878
35355
  values[0] = value.map(function (i) {
35879
35356
  return i.key;
35880
35357
  });
@@ -35895,7 +35372,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35895
35372
  selectProps: _objectSpread2({
35896
35373
  style: styleCommon,
35897
35374
  placeholder: '请选择逻辑仓'
35898
- }, isMultiInputType ? {
35375
+ }, dataInputBusinessType === 12 ? {
35899
35376
  mode: 'multiple',
35900
35377
  maxTagCount: 1
35901
35378
  } : {}),
@@ -35907,7 +35384,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35907
35384
  filterInit: 'qp-realWarehouseCode-in'
35908
35385
  },
35909
35386
  onChange: function onChange(value) {
35910
- if (isMultiInputType) {
35387
+ if (dataInputBusinessType === 12) {
35911
35388
  values[1] = value.map(function (i) {
35912
35389
  return i.key;
35913
35390
  });
@@ -35926,7 +35403,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35926
35403
  }));
35927
35404
  } else {
35928
35405
  var _values2;
35929
- var _currentValue = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
35406
+ var _currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
35930
35407
  return {
35931
35408
  key: s,
35932
35409
  label: valueNames[vIndex],
@@ -35942,7 +35419,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35942
35419
  selectProps: _objectSpread2({
35943
35420
  style: styleCommon,
35944
35421
  placeholder: '请选择逻辑仓'
35945
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35422
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
35946
35423
  mode: 'multiple',
35947
35424
  maxTagCount: 1
35948
35425
  } : {}),
@@ -35954,7 +35431,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35954
35431
  filterInit: 'qp-realWarehouseCode-in'
35955
35432
  },
35956
35433
  onChange: function onChange(value) {
35957
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35434
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
35958
35435
  values = value.map(function (i) {
35959
35436
  return i.key;
35960
35437
  }) || [];
@@ -35981,7 +35458,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35981
35458
  selectProps: _objectSpread2({
35982
35459
  style: styleCommon,
35983
35460
  placeholder: '请选择虚拟仓'
35984
- }, isMultiInputType ? {
35461
+ }, dataInputBusinessType === 12 ? {
35985
35462
  mode: 'multiple',
35986
35463
  maxTagCount: 1
35987
35464
  } : {}),
@@ -35993,7 +35470,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35993
35470
  filterInit: 'qp-virtualWarehouseCode-in'
35994
35471
  },
35995
35472
  onChange: function onChange(value) {
35996
- if (isMultiInputType) {
35473
+ if (dataInputBusinessType === 12) {
35997
35474
  values[0] = value.map(function (i) {
35998
35475
  return i.key;
35999
35476
  });
@@ -36014,7 +35491,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36014
35491
  selectProps: _objectSpread2({
36015
35492
  style: styleCommon,
36016
35493
  placeholder: '请选择虚拟仓'
36017
- }, isMultiInputType ? {
35494
+ }, dataInputBusinessType === 12 ? {
36018
35495
  mode: 'multiple',
36019
35496
  maxTagCount: 1
36020
35497
  } : {}),
@@ -36026,7 +35503,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36026
35503
  filterInit: 'qp-virtualWarehouseCode-in'
36027
35504
  },
36028
35505
  onChange: function onChange(value) {
36029
- if (isMultiInputType) {
35506
+ if (dataInputBusinessType === 12) {
36030
35507
  values[1] = value.map(function (i) {
36031
35508
  return i.key;
36032
35509
  });
@@ -36045,7 +35522,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36045
35522
  }));
36046
35523
  } else {
36047
35524
  var _values3;
36048
- var _currentValue2 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
35525
+ var _currentValue2 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
36049
35526
  return {
36050
35527
  key: s,
36051
35528
  label: valueNames[vIndex],
@@ -36061,7 +35538,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36061
35538
  selectProps: _objectSpread2({
36062
35539
  style: styleCommon,
36063
35540
  placeholder: '请选择虚拟仓'
36064
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35541
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36065
35542
  mode: 'multiple',
36066
35543
  maxTagCount: 1
36067
35544
  } : {}),
@@ -36073,7 +35550,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36073
35550
  filterInit: 'qp-virtualWarehouseCode-in'
36074
35551
  },
36075
35552
  onChange: function onChange(value) {
36076
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35553
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36077
35554
  values = value.map(function (i) {
36078
35555
  return i.key;
36079
35556
  }) || [];
@@ -36100,7 +35577,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36100
35577
  selectProps: _objectSpread2({
36101
35578
  style: styleCommon,
36102
35579
  placeholder: '请选择渠道仓'
36103
- }, isMultiInputType ? {
35580
+ }, dataInputBusinessType === 12 ? {
36104
35581
  mode: 'multiple',
36105
35582
  maxTagCount: 1
36106
35583
  } : {}),
@@ -36112,7 +35589,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36112
35589
  filterInit: 'qp-channelWarehouseCode-in'
36113
35590
  },
36114
35591
  onChange: function onChange(value) {
36115
- if (isMultiInputType) {
35592
+ if (dataInputBusinessType === 12) {
36116
35593
  values[0] = value.map(function (i) {
36117
35594
  return i.key;
36118
35595
  });
@@ -36133,7 +35610,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36133
35610
  selectProps: _objectSpread2({
36134
35611
  style: styleCommon,
36135
35612
  placeholder: '请选择渠道仓'
36136
- }, isMultiInputType ? {
35613
+ }, dataInputBusinessType === 12 ? {
36137
35614
  mode: 'multiple',
36138
35615
  maxTagCount: 1
36139
35616
  } : {}),
@@ -36145,7 +35622,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36145
35622
  filterInit: 'qp-channelWarehouseCode-in'
36146
35623
  },
36147
35624
  onChange: function onChange(value) {
36148
- if (isMultiInputType) {
35625
+ if (dataInputBusinessType === 12) {
36149
35626
  values[1] = value.map(function (i) {
36150
35627
  return i.key;
36151
35628
  });
@@ -36164,7 +35641,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36164
35641
  }));
36165
35642
  } else {
36166
35643
  var _values4;
36167
- var _currentValue3 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
35644
+ var _currentValue3 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
36168
35645
  return {
36169
35646
  key: s,
36170
35647
  label: valueNames[vIndex],
@@ -36180,7 +35657,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36180
35657
  selectProps: _objectSpread2({
36181
35658
  style: styleCommon,
36182
35659
  placeholder: '请选择渠道仓'
36183
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35660
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36184
35661
  mode: 'multiple',
36185
35662
  maxTagCount: 1
36186
35663
  } : {}),
@@ -36192,7 +35669,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36192
35669
  filterInit: 'qp-channelWarehouseCode-in'
36193
35670
  },
36194
35671
  onChange: function onChange(value) {
36195
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35672
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36196
35673
  values = value.map(function (i) {
36197
35674
  return i.key;
36198
35675
  }) || [];
@@ -36219,7 +35696,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36219
35696
  selectProps: _objectSpread2({
36220
35697
  style: styleCommon,
36221
35698
  placeholder: '请选择SPU'
36222
- }, isMultiInputType ? {
35699
+ }, dataInputBusinessType === 12 ? {
36223
35700
  mode: 'multiple',
36224
35701
  maxTagCount: 1
36225
35702
  } : {}),
@@ -36230,7 +35707,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36230
35707
  filterInit: 'qp-itemCode-in'
36231
35708
  },
36232
35709
  onChange: function onChange(value) {
36233
- if (isMultiInputType) {
35710
+ if (dataInputBusinessType === 12) {
36234
35711
  values[0] = value.map(function (i) {
36235
35712
  return i.key;
36236
35713
  });
@@ -36251,7 +35728,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36251
35728
  selectProps: _objectSpread2({
36252
35729
  style: styleCommon,
36253
35730
  placeholder: '请选择SPU'
36254
- }, isMultiInputType ? {
35731
+ }, dataInputBusinessType === 12 ? {
36255
35732
  mode: 'multiple',
36256
35733
  maxTagCount: 1
36257
35734
  } : {}),
@@ -36262,7 +35739,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36262
35739
  filterInit: 'qp-itemCode-in'
36263
35740
  },
36264
35741
  onChange: function onChange(value) {
36265
- if (isMultiInputType) {
35742
+ if (dataInputBusinessType === 12) {
36266
35743
  values[1] = value.map(function (i) {
36267
35744
  return i.key;
36268
35745
  });
@@ -36281,7 +35758,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36281
35758
  }));
36282
35759
  } else {
36283
35760
  var _values5;
36284
- var _currentValue4 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
35761
+ var _currentValue4 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
36285
35762
  return {
36286
35763
  key: s,
36287
35764
  label: valueNames[vIndex],
@@ -36297,7 +35774,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36297
35774
  selectProps: _objectSpread2({
36298
35775
  style: styleCommon,
36299
35776
  placeholder: '请选择SPU'
36300
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35777
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36301
35778
  mode: 'multiple',
36302
35779
  maxTagCount: 1
36303
35780
  } : {}),
@@ -36308,7 +35785,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36308
35785
  filterInit: 'qp-itemCode-in'
36309
35786
  },
36310
35787
  onChange: function onChange(value) {
36311
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35788
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36312
35789
  values = value.map(function (i) {
36313
35790
  return i.key;
36314
35791
  }) || [];
@@ -36335,7 +35812,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36335
35812
  selectProps: _objectSpread2({
36336
35813
  style: styleCommon,
36337
35814
  placeholder: '请选择商品'
36338
- }, isMultiInputType ? {
35815
+ }, dataInputBusinessType === 12 ? {
36339
35816
  mode: 'multiple',
36340
35817
  maxTagCount: 1
36341
35818
  } : {}),
@@ -36346,7 +35823,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36346
35823
  filterInit: 'qp-skuCode-in'
36347
35824
  },
36348
35825
  onChange: function onChange(value) {
36349
- if (isMultiInputType) {
35826
+ if (dataInputBusinessType === 12) {
36350
35827
  values[0] = value.map(function (i) {
36351
35828
  return i.key;
36352
35829
  });
@@ -36367,7 +35844,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36367
35844
  selectProps: _objectSpread2({
36368
35845
  style: styleCommon,
36369
35846
  placeholder: '请选择商品'
36370
- }, isMultiInputType ? {
35847
+ }, dataInputBusinessType === 12 ? {
36371
35848
  mode: 'multiple',
36372
35849
  maxTagCount: 1
36373
35850
  } : {}),
@@ -36378,7 +35855,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36378
35855
  filterInit: 'qp-skuCode-in'
36379
35856
  },
36380
35857
  onChange: function onChange(value) {
36381
- if (isMultiInputType) {
35858
+ if (dataInputBusinessType === 12) {
36382
35859
  values[1] = value.map(function (i) {
36383
35860
  return i.key;
36384
35861
  });
@@ -36397,7 +35874,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36397
35874
  }));
36398
35875
  } else {
36399
35876
  var _values6;
36400
- var _currentValue5 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
35877
+ var _currentValue5 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
36401
35878
  return {
36402
35879
  key: s,
36403
35880
  label: valueNames[vIndex],
@@ -36413,7 +35890,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36413
35890
  selectProps: _objectSpread2({
36414
35891
  style: styleCommon,
36415
35892
  placeholder: '请选择商品'
36416
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
35893
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36417
35894
  mode: 'multiple',
36418
35895
  maxTagCount: 1
36419
35896
  } : {}),
@@ -36424,7 +35901,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36424
35901
  filterInit: 'qp-skuCode-in'
36425
35902
  },
36426
35903
  onChange: function onChange(value) {
36427
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
35904
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36428
35905
  values = value.map(function (i) {
36429
35906
  return i.key;
36430
35907
  }) || [];
@@ -36593,14 +36070,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36593
36070
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36594
36071
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36595
36072
  disabled: disabled,
36596
- treeCheckable: isMultiInputType,
36073
+ treeCheckable: dataInputBusinessType === 12,
36597
36074
  businessType: "department",
36598
36075
  labelInValue: true,
36599
- value: isMultiInputType ? values[0] : values[0][0],
36076
+ value: dataInputBusinessType === 12 ? values[0] : values[0][0],
36600
36077
  style: styleCommon,
36601
36078
  treeCheckStrictly: true,
36602
36079
  onChange: function onChange(value) {
36603
- if (isMultiInputType) {
36080
+ if (dataInputBusinessType === 12) {
36604
36081
  values[0] = value.map(function (i) {
36605
36082
  return i.key;
36606
36083
  });
@@ -36618,14 +36095,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36618
36095
  }
36619
36096
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36620
36097
  disabled: disabled,
36621
- treeCheckable: isMultiInputType,
36098
+ treeCheckable: dataInputBusinessType === 12,
36622
36099
  businessType: "department",
36623
36100
  labelInValue: true,
36624
- value: isMultiInputType ? values[1] : values[1][0],
36101
+ value: dataInputBusinessType === 12 ? values[1] : values[1][0],
36625
36102
  style: styleCommon,
36626
36103
  treeCheckStrictly: true,
36627
36104
  onChange: function onChange(value) {
36628
- if (isMultiInputType) {
36105
+ if (dataInputBusinessType === 12) {
36629
36106
  values[1] = value.map(function (i) {
36630
36107
  return i.key;
36631
36108
  });
@@ -36645,14 +36122,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36645
36122
  } else {
36646
36123
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36647
36124
  disabled: disabled,
36648
- treeCheckable: isMultiInputType,
36125
+ treeCheckable: dataInputBusinessType === 12,
36649
36126
  businessType: "department",
36650
36127
  labelInValue: true,
36651
- value: isMultiInputType ? values : values[0],
36128
+ value: dataInputBusinessType === 12 ? values : values[0],
36652
36129
  style: styleCommon,
36653
36130
  treeCheckStrictly: true,
36654
36131
  onChange: function onChange(value) {
36655
- if (isMultiInputType) {
36132
+ if (dataInputBusinessType === 12) {
36656
36133
  values = value.map(function (i) {
36657
36134
  return i.key;
36658
36135
  }) || [];
@@ -36676,14 +36153,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36676
36153
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36677
36154
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36678
36155
  disabled: disabled,
36679
- treeCheckable: isMultiInputType,
36156
+ treeCheckable: dataInputBusinessType === 12,
36680
36157
  businessType: "purchase-organization",
36681
36158
  labelInValue: true,
36682
- value: isMultiInputType ? values[0] : values[0][0],
36159
+ value: dataInputBusinessType === 12 ? values[0] : values[0][0],
36683
36160
  style: styleCommon,
36684
36161
  treeCheckStrictly: true,
36685
36162
  onChange: function onChange(value) {
36686
- if (isMultiInputType) {
36163
+ if (dataInputBusinessType === 12) {
36687
36164
  values[0] = value.map(function (i) {
36688
36165
  return i.key;
36689
36166
  });
@@ -36701,14 +36178,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36701
36178
  }
36702
36179
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36703
36180
  disabled: disabled,
36704
- treeCheckable: isMultiInputType,
36181
+ treeCheckable: dataInputBusinessType === 12,
36705
36182
  businessType: "purchase-organization",
36706
36183
  labelInValue: true,
36707
- value: isMultiInputType ? values[1] : values[1][0],
36184
+ value: dataInputBusinessType === 12 ? values[1] : values[1][0],
36708
36185
  style: styleCommon,
36709
36186
  treeCheckStrictly: true,
36710
36187
  onChange: function onChange(value) {
36711
- if (isMultiInputType) {
36188
+ if (dataInputBusinessType === 12) {
36712
36189
  values[1] = value.map(function (i) {
36713
36190
  return i.key;
36714
36191
  });
@@ -36728,14 +36205,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36728
36205
  } else {
36729
36206
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36730
36207
  disabled: disabled,
36731
- treeCheckable: isMultiInputType,
36208
+ treeCheckable: dataInputBusinessType === 12,
36732
36209
  businessType: "purchase-organization",
36733
36210
  labelInValue: true,
36734
- value: isMultiInputType ? values : values[0],
36211
+ value: dataInputBusinessType === 12 ? values : values[0],
36735
36212
  style: styleCommon,
36736
36213
  treeCheckStrictly: true,
36737
36214
  onChange: function onChange(value) {
36738
- if (isMultiInputType) {
36215
+ if (dataInputBusinessType === 12) {
36739
36216
  values = value.map(function (i) {
36740
36217
  return i.key;
36741
36218
  }) || [];
@@ -36759,14 +36236,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36759
36236
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
36760
36237
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36761
36238
  disabled: disabled,
36762
- treeCheckable: isMultiInputType,
36239
+ treeCheckable: dataInputBusinessType === 12,
36763
36240
  businessType: "sales-organization",
36764
36241
  labelInValue: true,
36765
- value: isMultiInputType ? values[0] : values[0][0],
36242
+ value: dataInputBusinessType === 12 ? values[0] : values[0][0],
36766
36243
  style: styleCommon,
36767
36244
  treeCheckStrictly: true,
36768
36245
  onChange: function onChange(value) {
36769
- if (isMultiInputType) {
36246
+ if (dataInputBusinessType === 12) {
36770
36247
  values[0] = value.map(function (i) {
36771
36248
  return i.key;
36772
36249
  });
@@ -36784,14 +36261,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36784
36261
  }
36785
36262
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36786
36263
  disabled: disabled,
36787
- treeCheckable: isMultiInputType,
36264
+ treeCheckable: dataInputBusinessType === 12,
36788
36265
  businessType: "sales-organization",
36789
36266
  labelInValue: true,
36790
- value: isMultiInputType ? values[1] : values[1][0],
36267
+ value: dataInputBusinessType === 12 ? values[1] : values[1][0],
36791
36268
  style: styleCommon,
36792
36269
  treeCheckStrictly: true,
36793
36270
  onChange: function onChange(value) {
36794
- if (isMultiInputType) {
36271
+ if (dataInputBusinessType === 12) {
36795
36272
  values[1] = value.map(function (i) {
36796
36273
  return i.key;
36797
36274
  });
@@ -36811,14 +36288,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36811
36288
  } else {
36812
36289
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36813
36290
  disabled: disabled,
36814
- treeCheckable: isMultiInputType,
36291
+ treeCheckable: dataInputBusinessType === 12,
36815
36292
  businessType: "sales-organization",
36816
36293
  labelInValue: true,
36817
- value: isMultiInputType ? values : values[0],
36294
+ value: dataInputBusinessType === 12 ? values : values[0],
36818
36295
  style: styleCommon,
36819
36296
  treeCheckStrictly: true,
36820
36297
  onChange: function onChange(value) {
36821
- if (isMultiInputType) {
36298
+ if (dataInputBusinessType === 12) {
36822
36299
  values = value.map(function (i) {
36823
36300
  return i.key;
36824
36301
  }) || [];
@@ -36845,7 +36322,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36845
36322
  selectProps: _objectSpread2({
36846
36323
  style: styleCommon,
36847
36324
  placeholder: '请选择供应商'
36848
- }, isMultiInputType ? {
36325
+ }, dataInputBusinessType === 12 ? {
36849
36326
  mode: 'multiple',
36850
36327
  maxTagCount: 1
36851
36328
  } : {}),
@@ -36856,7 +36333,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36856
36333
  filterInit: 'qp-code-in'
36857
36334
  },
36858
36335
  onChange: function onChange(value) {
36859
- if (isMultiInputType) {
36336
+ if (dataInputBusinessType === 12) {
36860
36337
  values[0] = value.map(function (i) {
36861
36338
  return i.key;
36862
36339
  });
@@ -36877,7 +36354,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36877
36354
  selectProps: _objectSpread2({
36878
36355
  style: styleCommon,
36879
36356
  placeholder: '请选择供应商'
36880
- }, isMultiInputType ? {
36357
+ }, dataInputBusinessType === 12 ? {
36881
36358
  mode: 'multiple',
36882
36359
  maxTagCount: 1
36883
36360
  } : {}),
@@ -36888,7 +36365,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36888
36365
  filterInit: 'qp-code-in'
36889
36366
  },
36890
36367
  onChange: function onChange(value) {
36891
- if (isMultiInputType) {
36368
+ if (dataInputBusinessType === 12) {
36892
36369
  values[1] = value.map(function (i) {
36893
36370
  return i.key;
36894
36371
  });
@@ -36907,7 +36384,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36907
36384
  }));
36908
36385
  } else {
36909
36386
  var _values7;
36910
- var _currentValue6 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
36387
+ var _currentValue6 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
36911
36388
  return {
36912
36389
  key: s,
36913
36390
  label: valueNames[vIndex],
@@ -36923,7 +36400,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36923
36400
  selectProps: _objectSpread2({
36924
36401
  style: styleCommon,
36925
36402
  placeholder: '请选择供应商'
36926
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36403
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
36927
36404
  mode: 'multiple',
36928
36405
  maxTagCount: 1
36929
36406
  } : {}),
@@ -36934,7 +36411,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36934
36411
  filterInit: 'qp-code-in'
36935
36412
  },
36936
36413
  onChange: function onChange(value) {
36937
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36414
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36938
36415
  values = value.map(function (i) {
36939
36416
  return i.key;
36940
36417
  }) || [];
@@ -36961,7 +36438,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36961
36438
  selectProps: _objectSpread2({
36962
36439
  style: styleCommon,
36963
36440
  placeholder: '请选择客户'
36964
- }, isMultiInputType ? {
36441
+ }, dataInputBusinessType === 12 ? {
36965
36442
  mode: 'multiple',
36966
36443
  maxTagCount: 1
36967
36444
  } : {}),
@@ -36972,7 +36449,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36972
36449
  filterInit: 'qp-code-in'
36973
36450
  },
36974
36451
  onChange: function onChange(value) {
36975
- if (isMultiInputType) {
36452
+ if (dataInputBusinessType === 12) {
36976
36453
  values[0] = value.map(function (i) {
36977
36454
  return i.key;
36978
36455
  });
@@ -36993,7 +36470,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36993
36470
  selectProps: _objectSpread2({
36994
36471
  style: styleCommon,
36995
36472
  placeholder: '请选择客户'
36996
- }, isMultiInputType ? {
36473
+ }, dataInputBusinessType === 12 ? {
36997
36474
  mode: 'multiple',
36998
36475
  maxTagCount: 1
36999
36476
  } : {}),
@@ -37004,7 +36481,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37004
36481
  filterInit: 'qp-code-in'
37005
36482
  },
37006
36483
  onChange: function onChange(value) {
37007
- if (isMultiInputType) {
36484
+ if (dataInputBusinessType === 12) {
37008
36485
  values[1] = value.map(function (i) {
37009
36486
  return i.key;
37010
36487
  });
@@ -37023,7 +36500,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37023
36500
  }));
37024
36501
  } else {
37025
36502
  var _values8;
37026
- var _currentValue7 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
36503
+ var _currentValue7 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
37027
36504
  return {
37028
36505
  key: s,
37029
36506
  label: valueNames[vIndex],
@@ -37039,7 +36516,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37039
36516
  selectProps: _objectSpread2({
37040
36517
  style: styleCommon,
37041
36518
  placeholder: '请选择客户'
37042
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36519
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37043
36520
  mode: 'multiple',
37044
36521
  maxTagCount: 1
37045
36522
  } : {}),
@@ -37050,7 +36527,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37050
36527
  filterInit: 'qp-code-in'
37051
36528
  },
37052
36529
  onChange: function onChange(value) {
37053
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36530
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37054
36531
  values = value.map(function (i) {
37055
36532
  return i.key;
37056
36533
  }) || [];
@@ -37077,7 +36554,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37077
36554
  selectProps: _objectSpread2({
37078
36555
  style: styleCommon,
37079
36556
  placeholder: '请选择店铺'
37080
- }, isMultiInputType ? {
36557
+ }, dataInputBusinessType === 12 ? {
37081
36558
  mode: 'multiple',
37082
36559
  maxTagCount: 1
37083
36560
  } : {}),
@@ -37088,7 +36565,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37088
36565
  filterInit: 'qp-code-in'
37089
36566
  },
37090
36567
  onChange: function onChange(value) {
37091
- if (isMultiInputType) {
36568
+ if (dataInputBusinessType === 12) {
37092
36569
  values[0] = value.map(function (i) {
37093
36570
  return i.key;
37094
36571
  });
@@ -37109,7 +36586,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37109
36586
  selectProps: _objectSpread2({
37110
36587
  style: styleCommon,
37111
36588
  placeholder: '请选择店铺'
37112
- }, isMultiInputType ? {
36589
+ }, dataInputBusinessType === 12 ? {
37113
36590
  mode: 'multiple',
37114
36591
  maxTagCount: 1
37115
36592
  } : {}),
@@ -37120,7 +36597,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37120
36597
  filterInit: 'qp-code-in'
37121
36598
  },
37122
36599
  onChange: function onChange(value) {
37123
- if (isMultiInputType) {
36600
+ if (dataInputBusinessType === 12) {
37124
36601
  values[1] = value.map(function (i) {
37125
36602
  return i.key;
37126
36603
  });
@@ -37139,7 +36616,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37139
36616
  }));
37140
36617
  } else {
37141
36618
  var _values9;
37142
- var _currentValue8 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
36619
+ var _currentValue8 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
37143
36620
  return {
37144
36621
  key: s,
37145
36622
  label: valueNames[vIndex],
@@ -37155,7 +36632,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37155
36632
  selectProps: _objectSpread2({
37156
36633
  style: styleCommon,
37157
36634
  placeholder: '请选择店铺'
37158
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36635
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37159
36636
  mode: 'multiple',
37160
36637
  maxTagCount: 1
37161
36638
  } : {}),
@@ -37166,7 +36643,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37166
36643
  filterInit: 'qp-code-in'
37167
36644
  },
37168
36645
  onChange: function onChange(value) {
37169
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36646
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37170
36647
  values = value.map(function (i) {
37171
36648
  return i.key;
37172
36649
  }) || [];
@@ -37193,7 +36670,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37193
36670
  selectProps: _objectSpread2({
37194
36671
  style: styleCommon,
37195
36672
  placeholder: '请选择员工'
37196
- }, isMultiInputType ? {
36673
+ }, dataInputBusinessType === 12 ? {
37197
36674
  mode: 'multiple',
37198
36675
  maxTagCount: 1
37199
36676
  } : {}),
@@ -37204,7 +36681,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37204
36681
  filterInit: 'qp-id-in'
37205
36682
  },
37206
36683
  onChange: function onChange(value) {
37207
- if (isMultiInputType) {
36684
+ if (dataInputBusinessType === 12) {
37208
36685
  values[0] = value.map(function (i) {
37209
36686
  return i.key;
37210
36687
  });
@@ -37225,7 +36702,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37225
36702
  selectProps: _objectSpread2({
37226
36703
  style: styleCommon,
37227
36704
  placeholder: '请选择员工'
37228
- }, isMultiInputType ? {
36705
+ }, dataInputBusinessType === 12 ? {
37229
36706
  mode: 'multiple',
37230
36707
  maxTagCount: 1
37231
36708
  } : {}),
@@ -37236,7 +36713,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37236
36713
  filterInit: 'qp-id-in'
37237
36714
  },
37238
36715
  onChange: function onChange(value) {
37239
- if (isMultiInputType) {
36716
+ if (dataInputBusinessType === 12) {
37240
36717
  values[1] = value.map(function (i) {
37241
36718
  return i.key;
37242
36719
  });
@@ -37255,7 +36732,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37255
36732
  }));
37256
36733
  } else {
37257
36734
  var _values0;
37258
- var _currentValue9 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values0 = values) === null || _values0 === void 0 ? void 0 : _values0.map(function (s, vIndex) {
36735
+ var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values0 = values) === null || _values0 === void 0 ? void 0 : _values0.map(function (s, vIndex) {
37259
36736
  return {
37260
36737
  key: s,
37261
36738
  label: valueNames[vIndex],
@@ -37271,7 +36748,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37271
36748
  selectProps: _objectSpread2({
37272
36749
  style: styleCommon,
37273
36750
  placeholder: '请选择员工'
37274
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
36751
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37275
36752
  mode: 'multiple',
37276
36753
  maxTagCount: 1
37277
36754
  } : {}),
@@ -37282,7 +36759,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37282
36759
  filterInit: 'qp-id-in'
37283
36760
  },
37284
36761
  onChange: function onChange(value) {
37285
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
36762
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37286
36763
  values = value.map(function (i) {
37287
36764
  return i.key;
37288
36765
  }) || [];
@@ -37306,14 +36783,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
37306
36783
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
37307
36784
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37308
36785
  disabled: disabled,
37309
- treeCheckable: isMultiInputType,
36786
+ treeCheckable: dataInputBusinessType === 12,
37310
36787
  businessType: "stock-organization",
37311
36788
  labelInValue: true,
37312
- value: isMultiInputType ? values : values[0],
36789
+ value: dataInputBusinessType === 12 ? values : values[0],
37313
36790
  style: styleCommon,
37314
36791
  treeCheckStrictly: true,
37315
36792
  onChange: function onChange(value) {
37316
- if (isMultiInputType) {
36793
+ if (dataInputBusinessType === 12) {
37317
36794
  values[0] = value.map(function (i) {
37318
36795
  return i.key;
37319
36796
  });
@@ -37331,14 +36808,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
37331
36808
  }
37332
36809
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37333
36810
  disabled: disabled,
37334
- treeCheckable: isMultiInputType,
36811
+ treeCheckable: dataInputBusinessType === 12,
37335
36812
  businessType: "stock-organization",
37336
36813
  labelInValue: true,
37337
- value: isMultiInputType ? values : values[0],
36814
+ value: dataInputBusinessType === 12 ? values : values[0],
37338
36815
  style: styleCommon,
37339
36816
  treeCheckStrictly: true,
37340
36817
  onChange: function onChange(value) {
37341
- if (isMultiInputType) {
36818
+ if (dataInputBusinessType === 12) {
37342
36819
  values[1] = value.map(function (i) {
37343
36820
  return i.key;
37344
36821
  });
@@ -37358,14 +36835,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
37358
36835
  } else {
37359
36836
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37360
36837
  disabled: disabled,
37361
- treeCheckable: isMultiInputType,
36838
+ treeCheckable: dataInputBusinessType === 12,
37362
36839
  businessType: "stock-organization",
37363
36840
  labelInValue: true,
37364
- value: isMultiInputType ? values : values[0],
36841
+ value: dataInputBusinessType === 12 ? values : values[0],
37365
36842
  style: styleCommon,
37366
36843
  treeCheckStrictly: true,
37367
36844
  onChange: function onChange(value) {
37368
- if (isMultiInputType) {
36845
+ if (dataInputBusinessType === 12) {
37369
36846
  values = value.map(function (i) {
37370
36847
  return i.key;
37371
36848
  }) || [];
@@ -37389,13 +36866,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
37389
36866
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
37390
36867
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37391
36868
  disabled: disabled,
37392
- treeCheckable: isMultiInputType,
36869
+ treeCheckable: dataInputBusinessType === 12,
37393
36870
  businessType: "settle-organization",
37394
36871
  labelInValue: true,
37395
36872
  value: values[0],
37396
36873
  style: styleCommon,
37397
36874
  onChange: function onChange(value) {
37398
- if (isMultiInputType) {
36875
+ if (dataInputBusinessType === 12) {
37399
36876
  values[0] = value.map(function (i) {
37400
36877
  return i.key;
37401
36878
  });
@@ -37413,13 +36890,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
37413
36890
  }
37414
36891
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37415
36892
  disabled: disabled,
37416
- treeCheckable: isMultiInputType,
36893
+ treeCheckable: dataInputBusinessType === 12,
37417
36894
  businessType: "settle-organization",
37418
36895
  labelInValue: true,
37419
36896
  value: values[0],
37420
36897
  style: styleCommon,
37421
36898
  onChange: function onChange(value) {
37422
- if (isMultiInputType) {
36899
+ if (dataInputBusinessType === 12) {
37423
36900
  values[1] = value.map(function (i) {
37424
36901
  return i.key;
37425
36902
  });
@@ -37439,13 +36916,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
37439
36916
  } else {
37440
36917
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37441
36918
  disabled: disabled,
37442
- treeCheckable: isMultiInputType,
36919
+ treeCheckable: dataInputBusinessType === 12,
37443
36920
  businessType: "settle-organization",
37444
36921
  labelInValue: true,
37445
36922
  value: values[0],
37446
36923
  style: styleCommon,
37447
36924
  onChange: function onChange(value) {
37448
- if (isMultiInputType) {
36925
+ if (dataInputBusinessType === 12) {
37449
36926
  values = value.map(function (i) {
37450
36927
  return i.key;
37451
36928
  }) || [];
@@ -37472,7 +36949,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37472
36949
  selectProps: _objectSpread2({
37473
36950
  style: styleCommon,
37474
36951
  placeholder: '请选择配送方式'
37475
- }, isMultiInputType ? {
36952
+ }, dataInputBusinessType === 12 ? {
37476
36953
  mode: 'multiple',
37477
36954
  maxTagCount: 1
37478
36955
  } : {}),
@@ -37488,7 +36965,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37488
36965
  filterInit: 'qp-code-in'
37489
36966
  }),
37490
36967
  onChange: function onChange(value) {
37491
- if (isMultiInputType) {
36968
+ if (dataInputBusinessType === 12) {
37492
36969
  values[0] = value.map(function (i) {
37493
36970
  return i.key;
37494
36971
  });
@@ -37509,7 +36986,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37509
36986
  selectProps: _objectSpread2({
37510
36987
  style: styleCommon,
37511
36988
  placeholder: '请选择配送方式'
37512
- }, isMultiInputType ? {
36989
+ }, dataInputBusinessType === 12 ? {
37513
36990
  mode: 'multiple',
37514
36991
  maxTagCount: 1
37515
36992
  } : {}),
@@ -37525,7 +37002,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37525
37002
  filterInit: 'qp-code-in'
37526
37003
  }),
37527
37004
  onChange: function onChange(value) {
37528
- if (isMultiInputType) {
37005
+ if (dataInputBusinessType === 12) {
37529
37006
  values[1] = value.map(function (i) {
37530
37007
  return i.key;
37531
37008
  });
@@ -37544,7 +37021,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37544
37021
  }));
37545
37022
  } else {
37546
37023
  var _values1;
37547
- var _currentValue0 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values1 = values) === null || _values1 === void 0 ? void 0 : _values1.map(function (s, vIndex) {
37024
+ var _currentValue0 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values1 = values) === null || _values1 === void 0 ? void 0 : _values1.map(function (s, vIndex) {
37548
37025
  return {
37549
37026
  key: s,
37550
37027
  label: valueNames[vIndex],
@@ -37560,7 +37037,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37560
37037
  selectProps: _objectSpread2({
37561
37038
  style: styleCommon,
37562
37039
  placeholder: '请选择配送方式'
37563
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
37040
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37564
37041
  mode: 'multiple',
37565
37042
  maxTagCount: 1
37566
37043
  } : {}),
@@ -37576,7 +37053,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37576
37053
  filterInit: 'qp-code-in'
37577
37054
  }),
37578
37055
  onChange: function onChange(value) {
37579
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
37056
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37580
37057
  values = value.map(function (i) {
37581
37058
  return i.key;
37582
37059
  }) || [];
@@ -37603,7 +37080,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37603
37080
  selectProps: _objectSpread2({
37604
37081
  style: styleCommon,
37605
37082
  placeholder: '请选择角色'
37606
- }, isMultiInputType ? {
37083
+ }, dataInputBusinessType === 12 ? {
37607
37084
  mode: 'multiple',
37608
37085
  maxTagCount: 1
37609
37086
  } : {}),
@@ -37614,7 +37091,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37614
37091
  filterInit: 'qp-code-in'
37615
37092
  },
37616
37093
  onChange: function onChange(value) {
37617
- if (isMultiInputType) {
37094
+ if (dataInputBusinessType === 12) {
37618
37095
  values[0] = value.map(function (i) {
37619
37096
  return i.key;
37620
37097
  });
@@ -37635,7 +37112,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37635
37112
  selectProps: _objectSpread2({
37636
37113
  style: styleCommon,
37637
37114
  placeholder: '请选择角色'
37638
- }, isMultiInputType ? {
37115
+ }, dataInputBusinessType === 12 ? {
37639
37116
  mode: 'multiple',
37640
37117
  maxTagCount: 1
37641
37118
  } : {}),
@@ -37646,7 +37123,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37646
37123
  filterInit: 'qp-code-in'
37647
37124
  },
37648
37125
  onChange: function onChange(value) {
37649
- if (isMultiInputType) {
37126
+ if (dataInputBusinessType === 12) {
37650
37127
  values[1] = value.map(function (i) {
37651
37128
  return i.key;
37652
37129
  });
@@ -37665,7 +37142,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37665
37142
  }));
37666
37143
  } else {
37667
37144
  var _values10;
37668
- var _currentValue1 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
37145
+ var _currentValue1 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
37669
37146
  return {
37670
37147
  key: s,
37671
37148
  label: valueNames[vIndex],
@@ -37681,7 +37158,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37681
37158
  selectProps: _objectSpread2({
37682
37159
  style: styleCommon,
37683
37160
  placeholder: '请选择角色'
37684
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
37161
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37685
37162
  mode: 'multiple',
37686
37163
  maxTagCount: 1
37687
37164
  } : {}),
@@ -37692,7 +37169,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37692
37169
  filterInit: 'qp-code-in'
37693
37170
  },
37694
37171
  onChange: function onChange(value) {
37695
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
37172
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37696
37173
  values = value.map(function (i) {
37697
37174
  return i.key;
37698
37175
  }) || [];
@@ -37719,7 +37196,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37719
37196
  selectProps: _objectSpread2({
37720
37197
  style: styleCommon,
37721
37198
  placeholder: '请选择品牌'
37722
- }, isMultiInputType ? {
37199
+ }, dataInputBusinessType === 12 ? {
37723
37200
  mode: 'multiple',
37724
37201
  maxTagCount: 1
37725
37202
  } : {}),
@@ -37730,7 +37207,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37730
37207
  filterInit: 'qp-brandCode-in'
37731
37208
  },
37732
37209
  onChange: function onChange(value) {
37733
- if (isMultiInputType) {
37210
+ if (dataInputBusinessType === 12) {
37734
37211
  values[0] = value.map(function (i) {
37735
37212
  return i.key;
37736
37213
  });
@@ -37751,7 +37228,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37751
37228
  selectProps: _objectSpread2({
37752
37229
  style: styleCommon,
37753
37230
  placeholder: '请选择品牌'
37754
- }, isMultiInputType ? {
37231
+ }, dataInputBusinessType === 12 ? {
37755
37232
  mode: 'multiple',
37756
37233
  maxTagCount: 1
37757
37234
  } : {}),
@@ -37762,7 +37239,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37762
37239
  filterInit: 'qp-brandCode-in'
37763
37240
  },
37764
37241
  onChange: function onChange(value) {
37765
- if (isMultiInputType) {
37242
+ if (dataInputBusinessType === 12) {
37766
37243
  values[1] = value.map(function (i) {
37767
37244
  return i.key;
37768
37245
  });
@@ -37781,7 +37258,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37781
37258
  }));
37782
37259
  } else {
37783
37260
  var _values11;
37784
- var _currentValue10 = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
37261
+ var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
37785
37262
  return {
37786
37263
  key: s,
37787
37264
  label: valueNames[vIndex],
@@ -37797,7 +37274,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37797
37274
  selectProps: _objectSpread2({
37798
37275
  style: styleCommon,
37799
37276
  placeholder: '请选择品牌'
37800
- }, isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1 ? {
37277
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
37801
37278
  mode: 'multiple',
37802
37279
  maxTagCount: 1
37803
37280
  } : {}),
@@ -37808,7 +37285,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37808
37285
  filterInit: 'qp-brandCode-in'
37809
37286
  },
37810
37287
  onChange: function onChange(value) {
37811
- if (isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1) {
37288
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
37812
37289
  values = value.map(function (i) {
37813
37290
  return i.key;
37814
37291
  }) || [];
@@ -37830,16 +37307,15 @@ var RuleField = /*#__PURE__*/function (_Component) {
37830
37307
  // 类目选择器
37831
37308
  if (dataChoiceBusinessType == 420) {
37832
37309
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
37833
- var _values$0$, _values$, _values$1$, _values$2;
37834
37310
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37835
37311
  disabled: disabled,
37836
- treeCheckable: isMultiInputType,
37312
+ treeCheckable: dataInputBusinessType === 12,
37837
37313
  businessType: "background-category",
37838
37314
  labelInValue: true,
37839
- 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],
37315
+ value: values[0],
37840
37316
  style: styleCommon,
37841
37317
  onChange: function onChange(value) {
37842
- if (isMultiInputType) {
37318
+ if (dataInputBusinessType === 12) {
37843
37319
  values[0] = value.map(function (i) {
37844
37320
  return i.key;
37845
37321
  });
@@ -37857,13 +37333,13 @@ var RuleField = /*#__PURE__*/function (_Component) {
37857
37333
  }
37858
37334
  }), /*#__PURE__*/React__default['default'].createElement("span", null, "~"), /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37859
37335
  disabled: disabled,
37860
- treeCheckable: isMultiInputType,
37336
+ treeCheckable: dataInputBusinessType === 12,
37861
37337
  businessType: "background-category",
37862
37338
  labelInValue: true,
37863
- 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],
37339
+ value: values[0],
37864
37340
  style: styleCommon,
37865
37341
  onChange: function onChange(value) {
37866
- if (isMultiInputType) {
37342
+ if (dataInputBusinessType === 12) {
37867
37343
  values[1] = value.map(function (i) {
37868
37344
  return i.key;
37869
37345
  });
@@ -37881,28 +37357,15 @@ var RuleField = /*#__PURE__*/function (_Component) {
37881
37357
  }
37882
37358
  }));
37883
37359
  } else {
37884
- var _values12;
37885
- var isMulti = isMultiInputType || SET_TYPE.indexOf(selectOperation) > -1;
37886
- var _currentValue11 = isMulti ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
37887
- return {
37888
- key: s,
37889
- label: valueNames[vIndex],
37890
- value: s
37891
- };
37892
- })) || [] : values[0] && {
37893
- key: values[0],
37894
- label: valueNames[0],
37895
- value: values[0]
37896
- } || {};
37897
37360
  return /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
37898
37361
  disabled: disabled,
37899
- treeCheckable: isMulti,
37362
+ treeCheckable: dataInputBusinessType === 12,
37900
37363
  businessType: "background-category",
37901
37364
  labelInValue: true,
37902
- value: _currentValue11,
37365
+ value: values[0],
37903
37366
  style: styleCommon,
37904
37367
  onChange: function onChange(value) {
37905
- if (isMulti) {
37368
+ if (dataInputBusinessType === 12) {
37906
37369
  values = value.map(function (i) {
37907
37370
  return i.key;
37908
37371
  }) || [];
@@ -37928,7 +37391,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37928
37391
  selectProps: _objectSpread2(_objectSpread2({
37929
37392
  style: styleCommon,
37930
37393
  placeholder: '请选择'
37931
- }, isMultiInputType ? {
37394
+ }, dataInputBusinessType === 12 ? {
37932
37395
  mode: 'multiple',
37933
37396
  maxTagCount: 1,
37934
37397
  multipleForQuery: true
@@ -37945,7 +37408,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37945
37408
  disabled: disabled,
37946
37409
  value: values[0],
37947
37410
  onChange: function onChange(value, sourceList) {
37948
- if (isMultiInputType) {
37411
+ if (dataInputBusinessType === 12) {
37949
37412
  var _value$map, _sourceList$filter;
37950
37413
  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) {
37951
37414
  return i;
@@ -37969,7 +37432,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37969
37432
  selectProps: _objectSpread2(_objectSpread2({
37970
37433
  style: styleCommon,
37971
37434
  placeholder: '请选择'
37972
- }, isMultiInputType ? {
37435
+ }, dataInputBusinessType === 12 ? {
37973
37436
  mode: 'multiple',
37974
37437
  maxTagCount: 1,
37975
37438
  multipleForQuery: true
@@ -37986,7 +37449,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37986
37449
  disabled: disabled,
37987
37450
  value: values[1],
37988
37451
  onChange: function onChange(value, sourceList) {
37989
- if (isMultiInputType) {
37452
+ if (dataInputBusinessType === 12) {
37990
37453
  var _value$map2, _sourceList$filter2;
37991
37454
  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) {
37992
37455
  return i;
@@ -38008,8 +37471,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
38008
37471
  }
38009
37472
  }));
38010
37473
  } else {
38011
- var _values13;
38012
- var _currentValue12 = isMultiInputType ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
37474
+ var _values12;
37475
+ var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
38013
37476
  return {
38014
37477
  key: s,
38015
37478
  label: valueNames[vIndex]
@@ -38022,7 +37485,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
38022
37485
  selectProps: _objectSpread2(_objectSpread2({
38023
37486
  style: styleCommon,
38024
37487
  placeholder: '请选择'
38025
- }, isMultiInputType ? {
37488
+ }, dataInputBusinessType === 12 ? {
38026
37489
  mode: 'multiple',
38027
37490
  maxTagCount: 1,
38028
37491
  multipleForQuery: true
@@ -38037,9 +37500,9 @@ var RuleField = /*#__PURE__*/function (_Component) {
38037
37500
  isSearchForm: true,
38038
37501
  customSelectorConfig: (others === null || others === void 0 ? void 0 : others.customSelectorConfig) || {},
38039
37502
  disabled: disabled,
38040
- value: _currentValue12,
37503
+ value: _currentValue11,
38041
37504
  onChange: function onChange(value, sourceList) {
38042
- if (isMultiInputType) {
37505
+ if (dataInputBusinessType === 12) {
38043
37506
  var _value$map3, _sourceList$filter3;
38044
37507
  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) {
38045
37508
  return i;
@@ -42218,14 +41681,14 @@ var PathDisplay = /*#__PURE__*/React__default['default'].forwardRef(function (_r
42218
41681
  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";
42219
41682
  styleInject(css_248z$z);
42220
41683
 
42221
- var _excluded$n = ["titleExtra", "header", "showArrow"];
41684
+ var _excluded$m = ["titleExtra", "header", "showArrow"];
42222
41685
  var Panel = antd.Collapse.Panel;
42223
41686
  var ExtendedPanel = function ExtendedPanel(_ref) {
42224
41687
  var titleExtra = _ref.titleExtra,
42225
41688
  header = _ref.header,
42226
41689
  _ref$showArrow = _ref.showArrow,
42227
41690
  showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
42228
- props = _objectWithoutProperties(_ref, _excluded$n);
41691
+ props = _objectWithoutProperties(_ref, _excluded$m);
42229
41692
  var renderHeader = function renderHeader() {
42230
41693
  return /*#__PURE__*/React__default['default'].createElement(antd.Space, {
42231
41694
  align: "center"
@@ -42249,11 +41712,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
42249
41712
  }), props.children);
42250
41713
  };
42251
41714
 
42252
- var _excluded$o = ["children", "bordered"];
41715
+ var _excluded$n = ["children", "bordered"];
42253
41716
  var ExtendedCollapse = function ExtendedCollapse(props) {
42254
41717
  var children = props.children,
42255
41718
  bordered = props.bordered,
42256
- restProps = _objectWithoutProperties(props, _excluded$o);
41719
+ restProps = _objectWithoutProperties(props, _excluded$n);
42257
41720
  return /*#__PURE__*/React__default['default'].createElement("div", {
42258
41721
  className: classNames__default['default']({
42259
41722
  'bs-collapse-wrap': true,