@bit-sun/business-component 4.0.12-alpha.26 → 4.0.12-alpha.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -2,7 +2,7 @@ import axios from 'axios';
2
2
  import request$1 from 'umi-request';
3
3
  import cookie from 'js-cookie';
4
4
  import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Select, Tag, Form, Table, Spin, Row, Col, Tabs, TreeSelect, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, DatePicker, TimePicker, Divider, Switch, Collapse } from 'antd';
5
- import _, { isNil, escapeRegExp, omit, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
5
+ import _, { omit, isNil, escapeRegExp, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
6
6
  import memoizeOne from 'memoize-one';
7
7
  import { formatMessage, history, useLocation, Link, useModel, setLocale, useIntl, request as request$3 } from 'umi';
8
8
  import isEqual from 'lodash/isEqual';
@@ -31,9 +31,88 @@ import { parse as parse$1 } from '@babel/parser';
31
31
  import { visit } from 'ast-types';
32
32
  import isArray$1 from 'lodash/isArray';
33
33
 
34
+ function _arrayLikeToArray(r, a) {
35
+ (null == a || a > r.length) && (a = r.length);
36
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
37
+ return n;
38
+ }
39
+ function _arrayWithHoles(r) {
40
+ if (Array.isArray(r)) return r;
41
+ }
42
+ function _arrayWithoutHoles(r) {
43
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
44
+ }
45
+ function _assertThisInitialized(e) {
46
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47
+ return e;
48
+ }
49
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
50
+ try {
51
+ var i = n[a](c),
52
+ u = i.value;
53
+ } catch (n) {
54
+ return void e(n);
55
+ }
56
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
57
+ }
58
+ function _asyncToGenerator(n) {
59
+ return function () {
60
+ var t = this,
61
+ e = arguments;
62
+ return new Promise(function (r, o) {
63
+ var a = n.apply(t, e);
64
+ function _next(n) {
65
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
66
+ }
67
+ function _throw(n) {
68
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
69
+ }
70
+ _next(void 0);
71
+ });
72
+ };
73
+ }
34
74
  function _callSuper(t, o, e) {
35
75
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
36
76
  }
77
+ function _classCallCheck(a, n) {
78
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
79
+ }
80
+ function _defineProperties(e, r) {
81
+ for (var t = 0; t < r.length; t++) {
82
+ var o = r[t];
83
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
84
+ }
85
+ }
86
+ function _createClass(e, r, t) {
87
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
88
+ writable: !1
89
+ }), e;
90
+ }
91
+ function _defineProperty(e, r, t) {
92
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
93
+ value: t,
94
+ enumerable: !0,
95
+ configurable: !0,
96
+ writable: !0
97
+ }) : e[r] = t, e;
98
+ }
99
+ function _getPrototypeOf(t) {
100
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
101
+ return t.__proto__ || Object.getPrototypeOf(t);
102
+ }, _getPrototypeOf(t);
103
+ }
104
+ function _inherits(t, e) {
105
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
106
+ t.prototype = Object.create(e && e.prototype, {
107
+ constructor: {
108
+ value: t,
109
+ writable: !0,
110
+ configurable: !0
111
+ }
112
+ }), Object.defineProperty(t, "prototype", {
113
+ writable: !1
114
+ }), e && _setPrototypeOf(t, e);
115
+ }
37
116
  function _isNativeReflectConstruct() {
38
117
  try {
39
118
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -42,6 +121,9 @@ function _isNativeReflectConstruct() {
42
121
  return !!t;
43
122
  })();
44
123
  }
124
+ function _iterableToArray(r) {
125
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
126
+ }
45
127
  function _iterableToArrayLimit(r, l) {
46
128
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
47
129
  if (null != t) {
@@ -69,6 +151,15 @@ function _iterableToArrayLimit(r, l) {
69
151
  return a;
70
152
  }
71
153
  }
154
+ function _nonIterableRest() {
155
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
156
+ }
157
+ function _nonIterableSpread() {
158
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
159
+ }
160
+ function _objectDestructuringEmpty(t) {
161
+ if (null == t) throw new TypeError("Cannot destructure " + t);
162
+ }
72
163
  function ownKeys(e, r) {
73
164
  var t = Object.keys(e);
74
165
  if (Object.getOwnPropertySymbols) {
@@ -90,6 +181,31 @@ function _objectSpread2(e) {
90
181
  }
91
182
  return e;
92
183
  }
184
+ function _objectWithoutProperties(e, t) {
185
+ if (null == e) return {};
186
+ var o,
187
+ r,
188
+ i = _objectWithoutPropertiesLoose(e, t);
189
+ if (Object.getOwnPropertySymbols) {
190
+ var s = Object.getOwnPropertySymbols(e);
191
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
192
+ }
193
+ return i;
194
+ }
195
+ function _objectWithoutPropertiesLoose(r, e) {
196
+ if (null == r) return {};
197
+ var t = {};
198
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
199
+ if (e.includes(n)) continue;
200
+ t[n] = r[n];
201
+ }
202
+ return t;
203
+ }
204
+ function _possibleConstructorReturn(t, e) {
205
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
206
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
207
+ return _assertThisInitialized(t);
208
+ }
93
209
  function _regeneratorRuntime() {
94
210
  _regeneratorRuntime = function () {
95
211
  return e;
@@ -391,6 +507,20 @@ function _regeneratorRuntime() {
391
507
  }
392
508
  }, e;
393
509
  }
510
+ function _setPrototypeOf(t, e) {
511
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
512
+ return t.__proto__ = e, t;
513
+ }, _setPrototypeOf(t, e);
514
+ }
515
+ function _slicedToArray(r, e) {
516
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
517
+ }
518
+ function _toArray(r) {
519
+ return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
520
+ }
521
+ function _toConsumableArray(r) {
522
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
523
+ }
394
524
  function _toPrimitive(t, r) {
395
525
  if ("object" != typeof t || !t) return t;
396
526
  var e = t[Symbol.toPrimitive];
@@ -414,180 +544,12 @@ function _typeof(o) {
414
544
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
415
545
  }, _typeof(o);
416
546
  }
417
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
418
- try {
419
- var info = gen[key](arg);
420
- var value = info.value;
421
- } catch (error) {
422
- reject(error);
423
- return;
424
- }
425
- if (info.done) {
426
- resolve(value);
427
- } else {
428
- Promise.resolve(value).then(_next, _throw);
429
- }
430
- }
431
- function _asyncToGenerator(fn) {
432
- return function () {
433
- var self = this,
434
- args = arguments;
435
- return new Promise(function (resolve, reject) {
436
- var gen = fn.apply(self, args);
437
- function _next(value) {
438
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
439
- }
440
- function _throw(err) {
441
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
442
- }
443
- _next(undefined);
444
- });
445
- };
446
- }
447
- function _classCallCheck(instance, Constructor) {
448
- if (!(instance instanceof Constructor)) {
449
- throw new TypeError("Cannot call a class as a function");
450
- }
451
- }
452
- function _defineProperties(target, props) {
453
- for (var i = 0; i < props.length; i++) {
454
- var descriptor = props[i];
455
- descriptor.enumerable = descriptor.enumerable || false;
456
- descriptor.configurable = true;
457
- if ("value" in descriptor) descriptor.writable = true;
458
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
459
- }
460
- }
461
- function _createClass(Constructor, protoProps, staticProps) {
462
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
463
- if (staticProps) _defineProperties(Constructor, staticProps);
464
- Object.defineProperty(Constructor, "prototype", {
465
- writable: false
466
- });
467
- return Constructor;
468
- }
469
- function _defineProperty(obj, key, value) {
470
- key = _toPropertyKey(key);
471
- if (key in obj) {
472
- Object.defineProperty(obj, key, {
473
- value: value,
474
- enumerable: true,
475
- configurable: true,
476
- writable: true
477
- });
478
- } else {
479
- obj[key] = value;
480
- }
481
- return obj;
482
- }
483
- function _inherits(subClass, superClass) {
484
- if (typeof superClass !== "function" && superClass !== null) {
485
- throw new TypeError("Super expression must either be null or a function");
547
+ function _unsupportedIterableToArray(r, a) {
548
+ if (r) {
549
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
550
+ var t = {}.toString.call(r).slice(8, -1);
551
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
486
552
  }
487
- subClass.prototype = Object.create(superClass && superClass.prototype, {
488
- constructor: {
489
- value: subClass,
490
- writable: true,
491
- configurable: true
492
- }
493
- });
494
- Object.defineProperty(subClass, "prototype", {
495
- writable: false
496
- });
497
- if (superClass) _setPrototypeOf(subClass, superClass);
498
- }
499
- function _getPrototypeOf(o) {
500
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
501
- return o.__proto__ || Object.getPrototypeOf(o);
502
- };
503
- return _getPrototypeOf(o);
504
- }
505
- function _setPrototypeOf(o, p) {
506
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
507
- o.__proto__ = p;
508
- return o;
509
- };
510
- return _setPrototypeOf(o, p);
511
- }
512
- function _objectDestructuringEmpty(obj) {
513
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
514
- }
515
- function _objectWithoutPropertiesLoose(source, excluded) {
516
- if (source == null) return {};
517
- var target = {};
518
- for (var key in source) {
519
- if (Object.prototype.hasOwnProperty.call(source, key)) {
520
- if (excluded.indexOf(key) >= 0) continue;
521
- target[key] = source[key];
522
- }
523
- }
524
- return target;
525
- }
526
- function _objectWithoutProperties(source, excluded) {
527
- if (source == null) return {};
528
- var target = _objectWithoutPropertiesLoose(source, excluded);
529
- var key, i;
530
- if (Object.getOwnPropertySymbols) {
531
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
532
- for (i = 0; i < sourceSymbolKeys.length; i++) {
533
- key = sourceSymbolKeys[i];
534
- if (excluded.indexOf(key) >= 0) continue;
535
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
536
- target[key] = source[key];
537
- }
538
- }
539
- return target;
540
- }
541
- function _assertThisInitialized(self) {
542
- if (self === void 0) {
543
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
544
- }
545
- return self;
546
- }
547
- function _possibleConstructorReturn(self, call) {
548
- if (call && (typeof call === "object" || typeof call === "function")) {
549
- return call;
550
- } else if (call !== void 0) {
551
- throw new TypeError("Derived constructors may only return object or undefined");
552
- }
553
- return _assertThisInitialized(self);
554
- }
555
- function _slicedToArray(arr, i) {
556
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
557
- }
558
- function _toArray(arr) {
559
- return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
560
- }
561
- function _toConsumableArray(arr) {
562
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
563
- }
564
- function _arrayWithoutHoles(arr) {
565
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
566
- }
567
- function _arrayWithHoles(arr) {
568
- if (Array.isArray(arr)) return arr;
569
- }
570
- function _iterableToArray(iter) {
571
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
572
- }
573
- function _unsupportedIterableToArray(o, minLen) {
574
- if (!o) return;
575
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
576
- var n = Object.prototype.toString.call(o).slice(8, -1);
577
- if (n === "Object" && o.constructor) n = o.constructor.name;
578
- if (n === "Map" || n === "Set") return Array.from(o);
579
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
580
- }
581
- function _arrayLikeToArray(arr, len) {
582
- if (len == null || len > arr.length) len = arr.length;
583
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
584
- return arr2;
585
- }
586
- function _nonIterableSpread() {
587
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
588
- }
589
- function _nonIterableRest() {
590
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
591
553
  }
592
554
 
593
555
  var ENUM = {
@@ -1097,13 +1059,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1097
1059
  imgHtml.innerHTML = str;
1098
1060
  }
1099
1061
  // 测试使用 测试类型缩小 end
1100
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1062
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1101
1063
  className: "clomnsImg"
1102
1064
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1103
1065
  src: url,
1104
1066
  width: "16px",
1105
1067
  height: "16px"
1106
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1068
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1107
1069
  className: "clomnsImg2"
1108
1070
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1109
1071
  src: noImg
@@ -1242,7 +1204,7 @@ function downloadExcel(data, fileName, isResUrl) {
1242
1204
  }
1243
1205
  save_link.click();
1244
1206
  }
1245
- var formatter = function formatter(data, parentAuthority, parentName) {
1207
+ var _formatter = function formatter(data, parentAuthority, parentName) {
1246
1208
  return data.map(function (item) {
1247
1209
  if (!item.name || !item.path) {
1248
1210
  return null;
@@ -1262,7 +1224,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1262
1224
  authority: item.authority || parentAuthority
1263
1225
  });
1264
1226
  if (item.routes) {
1265
- var children = formatter(item.routes, item.authority, locale);
1227
+ var children = _formatter(item.routes, item.authority, locale);
1266
1228
  // Reduce memory usage
1267
1229
  result.children = children;
1268
1230
  }
@@ -1272,7 +1234,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1272
1234
  return item;
1273
1235
  });
1274
1236
  };
1275
- var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1237
+ var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1276
1238
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1277
1239
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1278
1240
  if (backHistoryPath) {
@@ -1581,7 +1543,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1581
1543
  // sheepMap是表头字段中英文映射
1582
1544
  // sheetCount:表的数量,默认一张
1583
1545
  var resolveFile = /*#__PURE__*/function () {
1584
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1546
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1585
1547
  var config,
1586
1548
  data,
1587
1549
  _args = arguments;
@@ -1620,7 +1582,7 @@ var resolveFile = /*#__PURE__*/function () {
1620
1582
  }();
1621
1583
  //读取文件
1622
1584
  var readerXlsxToList = /*#__PURE__*/function () {
1623
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1585
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1624
1586
  var _ref5, callback, sheetMap, nowFile, data2, data;
1625
1587
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1626
1588
  while (1) switch (_context2.prev = _context2.next) {
@@ -1713,14 +1675,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1713
1675
  /**---------------------数据写入excel-------结束------------------------*/
1714
1676
 
1715
1677
  // 获取树平行结构
1716
- var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1678
+ var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1717
1679
  var childrenKey = chilKey || 'children';
1718
1680
  treeData.forEach(function (el) {
1719
1681
  var _el$childrenKey;
1720
1682
  result.push(el);
1721
1683
  if ((el === null || el === void 0 ? void 0 : el[childrenKey]) && (el === null || el === void 0 ? void 0 : (_el$childrenKey = el[childrenKey]) === null || _el$childrenKey === void 0 ? void 0 : _el$childrenKey.length) > 0) {
1722
1684
  // 子级递归
1723
- coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1685
+ _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1724
1686
  }
1725
1687
  });
1726
1688
  return result;
@@ -1997,13 +1959,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1997
1959
  imgHtml.innerHTML = str;
1998
1960
  }
1999
1961
  // 测试使用 测试类型缩小 end
2000
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1962
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
2001
1963
  className: "clomnsImg"
2002
1964
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
2003
1965
  src: url,
2004
1966
  width: "16px",
2005
1967
  height: "16px"
2006
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1968
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2007
1969
  src: noImg
2008
1970
  }))));
2009
1971
  };
@@ -2065,7 +2027,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2065
2027
  }
2066
2028
  });
2067
2029
  };
2068
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2030
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2069
2031
  disabled: disabled,
2070
2032
  onChange: function onChange(e) {
2071
2033
  var v = e.target.value;
@@ -2075,7 +2037,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2075
2037
  width: 170
2076
2038
  },
2077
2039
  value: inputValue
2078
- }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2040
+ }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2079
2041
  disabled: disabled,
2080
2042
  onBlur: function onBlur(e) {
2081
2043
  var v = parseFloat(e.target.value);
@@ -2454,16 +2416,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2454
2416
  var handleExportBarCode = handleExport;
2455
2417
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2456
2418
  var routerMap = {};
2457
- var flattenMenuData = function flattenMenuData(data) {
2419
+ var _flattenMenuData = function flattenMenuData(data) {
2458
2420
  data.forEach(function (menuItem) {
2459
2421
  if (menuItem.children) {
2460
- flattenMenuData(menuItem.children);
2422
+ _flattenMenuData(menuItem.children);
2461
2423
  }
2462
2424
  // Reduce memory usage
2463
2425
  routerMap[menuItem.path] = menuItem;
2464
2426
  });
2465
2427
  };
2466
- flattenMenuData(menuData);
2428
+ _flattenMenuData(menuData);
2467
2429
  return routerMap;
2468
2430
  };
2469
2431
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2606,7 +2568,7 @@ var requestUtil = function requestUtil(_ref) {
2606
2568
  return request$1(url, parms).then(handleResponseData);
2607
2569
  };
2608
2570
  var handleResponseData = /*#__PURE__*/function () {
2609
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2571
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2610
2572
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2611
2573
  while (1) switch (_context.prev = _context.next) {
2612
2574
  case 0:
@@ -3280,7 +3242,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3280
3242
  placement: "bottomLeft"
3281
3243
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3282
3244
  title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
3283
- }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3245
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3284
3246
  trigger: ['click'],
3285
3247
  overlay: this.menuList,
3286
3248
  placement: "bottomRight"
@@ -3955,7 +3917,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3955
3917
  placement: "bottomLeft"
3956
3918
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3957
3919
  title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
3958
- }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3920
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3959
3921
  trigger: ['click'],
3960
3922
  overlay: this.menuList,
3961
3923
  placement: "bottomRight"
@@ -4150,13 +4112,6 @@ var hasMoreQueryFields = function hasMoreQueryFields(modalTableProps) {
4150
4112
  var visibleFieldsCount = getVisibleFieldsCount(modalTableProps);
4151
4113
  return visibleFieldsCount < (tableSearchForm === null || tableSearchForm === void 0 ? void 0 : tableSearchForm.length);
4152
4114
  };
4153
- var getRealStr = function getRealStr(oldSelect, newSelect, record) {
4154
- return (oldSelect === null || oldSelect === void 0 ? void 0 : oldSelect.length) ? oldSelect.some(function (o) {
4155
- return o.value == (record === null || record === void 0 ? void 0 : record.value);
4156
- }) ? oldSelect.filter(function (s) {
4157
- return s.value != (record === null || record === void 0 ? void 0 : record.value);
4158
- }) : [].concat(_toConsumableArray(oldSelect), _toConsumableArray(newSelect)) : newSelect;
4159
- };
4160
4115
  var getTableHeigth = function getTableHeigth(list) {
4161
4116
  var totalRows = Math.ceil(((list === null || list === void 0 ? void 0 : list.length) + 1) / 4);
4162
4117
  if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
@@ -4164,6 +4119,22 @@ var getTableHeigth = function getTableHeigth(list) {
4164
4119
  };
4165
4120
  // ------------------------------------------处理样式相关--结束----------------------------------------
4166
4121
  // ------------------------------------------处理数据相关--开始----------------------------------------
4122
+ var formatSelectedValue = function formatSelectedValue(value) {
4123
+ return (value === null || value === void 0 ? void 0 : value.map(function (s) {
4124
+ return {
4125
+ value: (s === null || s === void 0 ? void 0 : s.value) || s,
4126
+ key: (s === null || s === void 0 ? void 0 : s.key) || (s === null || s === void 0 ? void 0 : s.value) || s,
4127
+ label: (s === null || s === void 0 ? void 0 : s.label) || ''
4128
+ };
4129
+ })) || [];
4130
+ };
4131
+ var getRealStr = function getRealStr(oldSelect, newSelect, record) {
4132
+ return (oldSelect === null || oldSelect === void 0 ? void 0 : oldSelect.length) ? oldSelect.some(function (o) {
4133
+ return o.value == (record === null || record === void 0 ? void 0 : record.value);
4134
+ }) ? oldSelect.filter(function (s) {
4135
+ return s.value != (record === null || record === void 0 ? void 0 : record.value);
4136
+ }) : [].concat(_toConsumableArray(oldSelect), _toConsumableArray(newSelect)) : newSelect;
4137
+ };
4167
4138
  var getCurrentSRKs = function getCurrentSRKs(selectMode, labelInValue, value) {
4168
4139
  return selectMode ? labelInValue ? value === null || value === void 0 ? void 0 : value.map(function (s) {
4169
4140
  return (s === null || s === void 0 ? void 0 : s.value) || s;
@@ -4192,6 +4163,40 @@ var getRenderSource = function getRenderSource(currentSRKs, items) {
4192
4163
  return [].concat(_toConsumableArray(selectedOptionSort), _toConsumableArray(otherOptions));
4193
4164
  };
4194
4165
  // ------------------------------------------处理数据相关--结束----------------------------------------
4166
+ // ------------------------------------------查询相关--开始----------------------------------------
4167
+ //处理单据编号查询 如果是查询单条数据 就是模糊查询 两条以上就是精准查询
4168
+ var convertOrderNo = function convertOrderNo(params) {
4169
+ //需要处理得编号字段名
4170
+ var arr = ['qp-skuCode-in', 'qp-eancode-in'];
4171
+ for (var i = 0; i < arr.length; i++) {
4172
+ if (params[arr[i]]) {
4173
+ if (!params[arr[i]].includes(',')) {
4174
+ params[arr[i].replace(/(.*)in/, '$1like')] = params[arr[i]];
4175
+ delete params[arr[i]];
4176
+ }
4177
+ }
4178
+ }
4179
+ return params;
4180
+ };
4181
+ var convertQueryParams = function convertQueryParams(params) {
4182
+ var result = convertOrderNo(params);
4183
+ return omit(result, ['UNIQUE_SPEC']); // 处理sku选择器属性参数
4184
+ };
4185
+ var convertUrlQueryParams = function convertUrlQueryParams(params) {
4186
+ // 非query请求:默认参数拼接URL,设置属性noUrlQueryParams可不拼接
4187
+ return (params === null || params === void 0 ? void 0 : params.noUrlQueryParams) ? '' : "?".concat(stringify(convertQueryParams(params)));
4188
+ };
4189
+ var convertBodyParams = function convertBodyParams(params) {
4190
+ // 处理sku选择器属性参数
4191
+ var unique_params = null;
4192
+ if (params['UNIQUE_SPEC']) {
4193
+ var _params$UNIQUE_SPEC;
4194
+ unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
4195
+ }
4196
+ // body参数来源:sku选择器固定参数 > 调用所传bodyParams > 默认参数-无
4197
+ return unique_params || (params === null || params === void 0 ? void 0 : params.bodyParams) || null;
4198
+ };
4199
+ // ------------------------------------------查询相关--结束----------------------------------------
4195
4200
 
4196
4201
  var zhankaitiaojian = "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%3Ezhankaitiaojian-icon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%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%22icon%22%20transform%3D%22translate%28-702.000000%2C%20-498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22zhankaitiaojian-icon%22%20transform%3D%22translate%28702.000000%2C%20498.000000%29%22%3E%20%20%20%20%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%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%20%20%20%20%3C%2Fmask%3E%20%20%20%20%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%23D8D8D8%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%20%20%20%20%3Cpath%20d%3D%22M12.0142082%2C6%20L18%2C11.9972435%20L12.0142082%2C18%20L11.04209%2C17.0260337%20L16.0562218%2C11.9972435%20L11.04209%2C6.97396631%20L12.0142082%2C6%20Z%20M6.97257658%2C6%20L12.9583683%2C11.9972435%20L6.97257658%2C18%20L6.00091666%2C17.0260337%20L11.0150485%2C11.9972435%20L6%2C6.97396631%20L6.97257658%2C6%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%20transform%3D%22translate%2812.000000%2C%2012.000000%29%20rotate%28-270.000000%29%20translate%28-12.000000%2C%20-12.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
4197
4202
 
@@ -4354,7 +4359,7 @@ var PropertyGroup = function PropertyGroup(props) {
4354
4359
  title: item.name,
4355
4360
  className: "propertyGroup_checkbox_container"
4356
4361
  }, item.name));
4357
- }), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
4362
+ }), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
4358
4363
  style: {
4359
4364
  width: '50px',
4360
4365
  cursor: 'pointer',
@@ -4367,7 +4372,7 @@ var PropertyGroup = function PropertyGroup(props) {
4367
4372
  setShowNotCommon(!showNotCommon);
4368
4373
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
4369
4374
  }
4370
- }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
4375
+ }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
4371
4376
  };
4372
4377
  var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
4373
4378
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -4597,7 +4602,7 @@ var PropertySelector = function PropertySelector(_ref) {
4597
4602
  propertyData: item,
4598
4603
  handleProperyItemChange: handleProperyItemChange
4599
4604
  });
4600
- }))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
4605
+ }))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
4601
4606
  style: {
4602
4607
  width: '50px',
4603
4608
  cursor: 'pointer',
@@ -4607,7 +4612,7 @@ var PropertySelector = function PropertySelector(_ref) {
4607
4612
  onClick: function onClick() {
4608
4613
  return setShowNotCommon(!showNotCommon);
4609
4614
  }
4610
- }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
4615
+ }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
4611
4616
  };
4612
4617
 
4613
4618
  var Option$1 = Select.Option;
@@ -4628,7 +4633,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4628
4633
  _props$needModalTable = props.needModalTable,
4629
4634
  needModalTable = _props$needModalTable === void 0 ? true : _props$needModalTable,
4630
4635
  _props$getPopupContai = props.getPopupContainer,
4631
- _getPopupContainer = _props$getPopupContai === void 0 ? undefined : _props$getPopupContai,
4632
4636
  _props$highestPopCont = props.highestPopContainer,
4633
4637
  highestPopContainer = _props$highestPopCont === void 0 ? undefined : _props$highestPopCont,
4634
4638
  fieldComponent = props.fieldComponent,
@@ -4636,6 +4640,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4636
4640
  selectBusinessType = props.selectBusinessType;
4637
4641
  var _ref = requestConfig || {},
4638
4642
  url = _ref.url,
4643
+ _ref$method = _ref.method,
4644
+ method = _ref$method === void 0 ? 'get' : _ref$method,
4639
4645
  otherParams = _ref.otherParams,
4640
4646
  isMap = _ref.isMap,
4641
4647
  fixedparameter = _ref.fixedparameter,
@@ -4683,7 +4689,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4683
4689
  var isFormPage = ((_pathname$match = pathname.match(pattern)) === null || _pathname$match === void 0 ? void 0 : _pathname$match.length) > 0;
4684
4690
  var initPagination = {
4685
4691
  showQuickJumper: true,
4686
- showSizeChanger: false,
4692
+ showSizeChanger: true,
4687
4693
  showTotal: function showTotal(total) {
4688
4694
  return "\u5171 ".concat(total, " \u6761");
4689
4695
  },
@@ -4882,7 +4888,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4882
4888
  var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4883
4889
  var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
4884
4890
  var callback = arguments.length > 2 ? arguments[2] : undefined;
4885
- var bodyParams = arguments.length > 3 ? arguments[3] : undefined;
4886
4891
  if (!requestConfig) return;
4887
4892
  setFetching(true);
4888
4893
  // 处理dependence参数
@@ -5011,112 +5016,17 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5011
5016
  if (isNil(queryParams[selectParamsKey])) {
5012
5017
  queryParams[selectParamsKey] = searchValue;
5013
5018
  }
5014
- if ((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.method) === 'post') {
5015
- requestUtil.post("".concat(url, "?").concat(stringify(queryParams)), bodyParams || null).then(function (result) {
5016
- setFetching(false);
5017
- result = result.data;
5018
- if (judgeIsRequestError(result)) {
5019
- message$1.error(result.msg);
5020
- return;
5021
- }
5022
- var res = result.data;
5023
- var source = [];
5024
- if (isMap) {
5025
- source = Object.keys(res).map(function (d, i) {
5026
- return {
5027
- text: Object.values(res)[i],
5028
- value: d
5029
- };
5030
- });
5031
- } else {
5032
- var keys = res.list ? 'list' : 'items';
5033
- source = res ? res[keys] ? res[keys].map(function (item, index) {
5034
- var _item$children;
5035
- var textShowText = item[mappingTextField];
5036
- if (mappingTextShowTextField) {
5037
- textShowText = [];
5038
- if (Array.isArray(mappingTextShowTextField)) {
5039
- mappingTextShowTextField.forEach(function (r) {
5040
- textShowText.push(item[r]);
5041
- });
5042
- } else {
5043
- textShowText = item[mappingTextShowTextField];
5044
- }
5045
- }
5046
- if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
5047
- item === null || item === void 0 ? true : delete item.children;
5048
- }
5049
- return _objectSpread2(_objectSpread2({}, item), {}, {
5050
- text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
5051
- textShowText: textShowText,
5052
- textShowKey: item[mappingTextShowKeyField || mappingValueField],
5053
- value: item[mappingValueField],
5054
- keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
5055
- });
5056
- }) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
5057
- var _item$children2;
5058
- var textShowText = item[mappingTextField];
5059
- if (mappingTextShowTextField) {
5060
- textShowText = [];
5061
- if (Array.isArray(mappingTextShowTextField)) {
5062
- mappingTextShowTextField.forEach(function (r) {
5063
- textShowText.push(item[r]);
5064
- });
5065
- } else {
5066
- textShowText = item[mappingTextShowTextField];
5067
- }
5068
- }
5069
- if (!(item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length)) {
5070
- item === null || item === void 0 ? true : delete item.children;
5071
- }
5072
- return _objectSpread2(_objectSpread2({}, item), {}, {
5073
- text: specialBracket ? "\u3010".concat(item[mappingValueField], "\u3011").concat(item[mappingTextField]) : item[mappingTextField],
5074
- textShowText: textShowText,
5075
- textShowKey: item[mappingTextShowKeyField || mappingValueField],
5076
- value: item[mappingValueField],
5077
- keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
5078
- });
5079
- })) : [];
5080
- }
5081
- // 补充搜索项--选中的数据添加到数据源中去
5082
- var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
5083
- if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
5084
- var _source;
5085
- return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
5086
- return r.value == s;
5087
- }));
5088
- }))) {
5089
- var selectedOption = items.filter(function (option) {
5090
- return currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.includes(option.value);
5091
- }) || [];
5092
- source = (source || []).concat(selectedOption);
5093
- }
5094
- // 数据源 不可以有重复key
5095
- source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
5096
- if (callback) {
5097
- callback(source);
5098
- } else {
5099
- if (type === 1) {
5100
- var _ctx$form;
5101
- ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(resultSourceKey, source);
5102
- setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
5103
- } else {
5104
- setTableData(source);
5105
- setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
5106
- total: Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length),
5107
- 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),
5108
- 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)
5109
- }));
5110
- }
5111
- }
5112
- }).catch(function (err) {
5113
- setFetching(false);
5019
+ var getRequest;
5020
+ var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
5021
+ if (['post', 'patch', 'put'].includes(methodName)) {
5022
+ getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
5023
+ } else {
5024
+ getRequest = requestUtil.get("".concat(url).concat(convertUrlQueryParams(queryParams)), {
5025
+ headers: _objectSpread2({}, extralHeaders)
5114
5026
  });
5115
- return;
5116
5027
  }
5117
- requestUtil.get("".concat(url, "?").concat(stringify(queryParams)), {
5118
- headers: _objectSpread2({}, extralHeaders)
5119
- }).then(function (result) {
5028
+ if (!url || !getRequest) return;
5029
+ getRequest.then(function (result) {
5120
5030
  setFetching(false);
5121
5031
  result = result.data;
5122
5032
  if (judgeIsRequestError(result)) {
@@ -5135,7 +5045,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5135
5045
  } else {
5136
5046
  var keys = res.list ? 'list' : 'items';
5137
5047
  source = res ? res[keys] ? res[keys].map(function (item, index) {
5138
- var _item$children3;
5048
+ var _item$children;
5139
5049
  var textShowText = item[mappingTextField];
5140
5050
  if (mappingTextShowTextField) {
5141
5051
  textShowText = [];
@@ -5147,7 +5057,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5147
5057
  textShowText = item[mappingTextShowTextField];
5148
5058
  }
5149
5059
  }
5150
- if (!(item === null || item === void 0 ? void 0 : (_item$children3 = item.children) === null || _item$children3 === void 0 ? void 0 : _item$children3.length)) {
5060
+ if (!(item === null || item === void 0 ? void 0 : (_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length)) {
5151
5061
  item === null || item === void 0 ? true : delete item.children;
5152
5062
  }
5153
5063
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -5158,7 +5068,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5158
5068
  keyIndex: type != 1 ? ((queryParams === null || queryParams === void 0 ? void 0 : queryParams.currentPage) - 1) * (queryParams === null || queryParams === void 0 ? void 0 : queryParams.pageSize) + index + 1 : index + 1
5159
5069
  });
5160
5070
  }) : Array.isArray(res) && (res === null || res === void 0 ? void 0 : res.map(function (item, index) {
5161
- var _item$children4;
5071
+ var _item$children2;
5162
5072
  var textShowText = item[mappingTextField];
5163
5073
  if (mappingTextShowTextField) {
5164
5074
  textShowText = [];
@@ -5170,7 +5080,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5170
5080
  textShowText = item[mappingTextShowTextField];
5171
5081
  }
5172
5082
  }
5173
- if (!(item === null || item === void 0 ? void 0 : (_item$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.length)) {
5083
+ if (!(item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.length)) {
5174
5084
  item === null || item === void 0 ? true : delete item.children;
5175
5085
  }
5176
5086
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -5185,8 +5095,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5185
5095
  // 补充搜索项--选中的数据添加到数据源中去
5186
5096
  var currentSRKs = getCurrentSRKs(selectMode, labelInValue, value);
5187
5097
  if (type === 1 && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.length) && (currentSRKs === null || currentSRKs === void 0 ? void 0 : currentSRKs.some(function (s) {
5188
- var _source2;
5189
- return !((_source2 = source) === null || _source2 === void 0 ? void 0 : _source2.find(function (r) {
5098
+ var _source;
5099
+ return !((_source = source) === null || _source === void 0 ? void 0 : _source.find(function (r) {
5190
5100
  return r.value == s;
5191
5101
  }));
5192
5102
  }))) {
@@ -5201,8 +5111,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5201
5111
  callback(source);
5202
5112
  } else {
5203
5113
  if (type === 1) {
5204
- var _ctx$form2;
5205
- ctx === null || ctx === void 0 ? void 0 : (_ctx$form2 = ctx.form) === null || _ctx$form2 === void 0 ? void 0 : _ctx$form2.setFieldSource(resultSourceKey, source);
5114
+ var _ctx$form;
5115
+ ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(resultSourceKey, source);
5206
5116
  setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
5207
5117
  } else {
5208
5118
  setTableData(source);
@@ -5346,10 +5256,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5346
5256
  };
5347
5257
  var handleSelectOver = function handleSelectOver(selectedValue) {
5348
5258
  if (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) {
5349
- var _ctx$form3;
5259
+ var _ctx$form2;
5350
5260
  // 解决选择最后1页的sku,返回后,不显示名称问题
5351
5261
  var source = _.uniqBy(items.concat(selectedValue), 'value');
5352
- ctx === null || ctx === void 0 ? void 0 : (_ctx$form3 = ctx.form) === null || _ctx$form3 === void 0 ? void 0 : _ctx$form3.setFieldSource(resultSourceKey, source);
5262
+ ctx === null || ctx === void 0 ? void 0 : (_ctx$form2 = ctx.form) === null || _ctx$form2 === void 0 ? void 0 : _ctx$form2.setFieldSource(resultSourceKey, source);
5353
5263
  setSelectDataSource(source, source === null || source === void 0 ? void 0 : source.length);
5354
5264
  formaData(selectedValue, source);
5355
5265
  } else {
@@ -5438,17 +5348,11 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5438
5348
  };
5439
5349
  var onSearchTable = function onSearchTable() {
5440
5350
  var params = form.getFieldsValue();
5441
- // const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
5442
5351
  setModalSearched(true);
5443
- var unique_params = null;
5444
- if (params['UNIQUE_SPEC']) {
5445
- var _params$UNIQUE_SPEC;
5446
- unique_params = ((_params$UNIQUE_SPEC = params['UNIQUE_SPEC']) === null || _params$UNIQUE_SPEC === void 0 ? void 0 : _params$UNIQUE_SPEC.propertyList) || [];
5447
- }
5448
5352
  setTableFormParams(params);
5449
5353
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
5450
5354
  pageSize: tableInitPageSize
5451
- }), 2, null, unique_params);
5355
+ }), 2, null);
5452
5356
  };
5453
5357
  var onResetTable = function onResetTable() {
5454
5358
  form.resetFields();
@@ -5687,13 +5591,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5687
5591
  var viCount = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.visibleFieldsCount) || defaultVisibleFieldsCount;
5688
5592
  return collapsed ? formItem(list === null || list === void 0 ? void 0 : list.slice(0, viCount)) : formItem(list);
5689
5593
  };
5690
- // const queryFieldsDom = <SearchItemTable
5691
- // ref={searchTableRef}
5692
- // setShowSearchFields={setShowSearchFields||[]}
5693
- // showSearchFields={showSearchFields||[]}
5694
- // datasource={modalTableProps?.tableSearchForm || []}
5695
- // bsTableCode={bsTableCode}
5696
- // />
5697
5594
  var renderShowTable = function renderShowTable(tableList, type) {
5698
5595
  var tableBoxHeighth = getTableHeigth(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm);
5699
5596
  var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - 82px)"); // 分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
@@ -5708,7 +5605,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5708
5605
  columns: tableShowColumns,
5709
5606
  dataSource: tableList
5710
5607
  }, type == 'noPage' ? {
5711
- pagination: initPagination,
5608
+ pagination: _objectSpread2(_objectSpread2({}, initPagination), {}, {
5609
+ showSizeChanger: false
5610
+ }),
5712
5611
  locale: {
5713
5612
  emptyText: '暂无已选结果'
5714
5613
  }
@@ -5771,11 +5670,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5771
5670
  resetSelectDataSource(true);
5772
5671
  };
5773
5672
  var onDeselect = function onDeselect() {
5774
- var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
5775
- return {
5776
- value: (s === null || s === void 0 ? void 0 : s.value) || s
5777
- };
5778
- })) || [];
5673
+ var oldSelect = formatSelectedValue(value);
5779
5674
  var deRecord = arguments.length <= 1 ? undefined : arguments[1];
5780
5675
  var srs = oldSelect.filter(function (s) {
5781
5676
  return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
@@ -5814,11 +5709,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5814
5709
  selectedRowKeys: currentSRKs,
5815
5710
  preserveSelectedRowKeys: true,
5816
5711
  onChange: function onChange(sks, srs) {
5817
- var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
5818
- return {
5819
- value: (s === null || s === void 0 ? void 0 : s.value) || s
5820
- };
5821
- })) || [];
5712
+ var oldSelect = formatSelectedValue(value);
5822
5713
  var tmpSelectedRows = oldSelect.concat(srs).filter(function (item) {
5823
5714
  return item != undefined;
5824
5715
  });
@@ -5837,13 +5728,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5837
5728
  onClick: function onClick(event) {
5838
5729
  event.stopPropagation();
5839
5730
  event.nativeEvent.stopImmediatePropagation();
5840
- var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
5841
- return {
5842
- value: (s === null || s === void 0 ? void 0 : s.value) || s,
5843
- key: (s === null || s === void 0 ? void 0 : s.key) || s,
5844
- label: (s === null || s === void 0 ? void 0 : s.label) || ''
5845
- };
5846
- })) || [];
5731
+ var oldSelect = formatSelectedValue(value);
5847
5732
  var newSelect = [JSON.parse(JSON.stringify(record))];
5848
5733
  var srs = getRealStr(oldSelect, newSelect, record);
5849
5734
  onSelectClick(srs, dataSource, false);
@@ -5891,7 +5776,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5891
5776
  destroyTooltipOnHide: true,
5892
5777
  placement: "topRight",
5893
5778
  autoAdjustOverflow: false,
5894
- title: ( /*#__PURE__*/React$1.createElement("div", {
5779
+ title: (/*#__PURE__*/React$1.createElement("div", {
5895
5780
  style: {
5896
5781
  margin: '6px 8px 0px'
5897
5782
  },
@@ -5963,13 +5848,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5963
5848
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5964
5849
  return /*#__PURE__*/React$1.createElement("div", {
5965
5850
  className: 'search_select'
5966
- }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
5851
+ }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
5967
5852
  onClick: function onClick() {
5968
5853
  var _fieldComponent$props, _fieldComponent$props2;
5969
5854
  (_fieldComponent$props = fieldComponent.props) === null || _fieldComponent$props === void 0 ? void 0 : (_fieldComponent$props2 = _fieldComponent$props.onClick) === null || _fieldComponent$props2 === void 0 ? void 0 : _fieldComponent$props2.call(_fieldComponent$props);
5970
5855
  showModal();
5971
5856
  }
5972
- }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
5857
+ }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
5973
5858
  title: getShowStr(),
5974
5859
  style: {
5975
5860
  overflow: 'hidden',
@@ -5996,10 +5881,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5996
5881
  dropdownRender: function dropdownRender(menu) {
5997
5882
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
5998
5883
  },
5999
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
5884
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
6000
5885
  size: "small",
6001
5886
  className: 'searchSelectSpin'
6002
- })) : ( /*#__PURE__*/React$1.createElement("div", {
5887
+ })) : (/*#__PURE__*/React$1.createElement("div", {
6003
5888
  style: {
6004
5889
  textAlign: 'center'
6005
5890
  }
@@ -6020,7 +5905,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6020
5905
  }, /*#__PURE__*/React$1.createElement(SearchOutlined, null))
6021
5906
  } : {}), currentSelectProps), {}, {
6022
5907
  getPopupContainer: function getPopupContainer(triggerNode) {
6023
- return highestPopContainer && highestPopContainer() || triggerNode.parentElement || _getPopupContainer && _getPopupContainer(triggerNode);
5908
+ return highestPopContainer && highestPopContainer(triggerNode) || triggerNode.parentElement;
6024
5909
  }
6025
5910
  }), items.map(function (item) {
6026
5911
  return /*#__PURE__*/React$1.createElement(Option$1, {
@@ -6030,7 +5915,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6030
5915
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6031
5916
  filterTxt: searchValue
6032
5917
  }));
6033
- }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5918
+ }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6034
5919
  maskClosable: false,
6035
5920
  destroyOnClose: true,
6036
5921
  width: "80%",
@@ -6627,7 +6512,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6627
6512
  style: {
6628
6513
  width: 525
6629
6514
  }
6630
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
6515
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
6631
6516
  checked: !dataSource.some(function (item) {
6632
6517
  if (item.hidden) return true;
6633
6518
  return false;
@@ -6665,13 +6550,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6665
6550
  _this2.onChange(e, item.title);
6666
6551
  }
6667
6552
  }, item.title);
6668
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
6553
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
6669
6554
  style: {
6670
6555
  width: '144px'
6671
6556
  }
6672
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
6557
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
6673
6558
  className: 'sort_table_column_all_empty'
6674
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6559
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6675
6560
  className: 'sort_table_column_special'
6676
6561
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
6677
6562
  className: 'sort_table_column_all'
@@ -6860,7 +6745,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
6860
6745
  });
6861
6746
  };
6862
6747
  // 格式化树选择器数据源
6863
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6748
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6864
6749
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
6865
6750
  return {
6866
6751
  title: treeDataItem[resKeyValue[1]],
@@ -6870,7 +6755,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6870
6755
  isLeaf: !haveChildren,
6871
6756
  disabled: haveChildren,
6872
6757
  children: haveChildren ? treeDataItem.children.map(function (i) {
6873
- return mapSearchTree(i, resKeyValue);
6758
+ return _mapSearchTree(i, resKeyValue);
6874
6759
  }) : []
6875
6760
  };
6876
6761
  };
@@ -6879,7 +6764,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
6879
6764
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
6880
6765
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
6881
6766
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
6882
- return mapSearchTree(ites, resKeyValue);
6767
+ return _mapSearchTree(ites, resKeyValue);
6883
6768
  }) || [];
6884
6769
  changeSearchForm[changePosition].field.props.treeData = formatData;
6885
6770
  };
@@ -7050,7 +6935,7 @@ var AddSelect = function AddSelect(props) {
7050
6935
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7051
6936
  // FIXME: 特殊业务逻辑
7052
6937
  var checkSelectChange = /*#__PURE__*/function () {
7053
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6938
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7054
6939
  var result;
7055
6940
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7056
6941
  while (1) switch (_context.prev = _context.next) {
@@ -7303,7 +7188,7 @@ var AddSelect = function AddSelect(props) {
7303
7188
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7304
7189
  value: text || null,
7305
7190
  onChange: function () {
7306
- var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7191
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7307
7192
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7308
7193
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7309
7194
  while (1) switch (_context2.prev = _context2.next) {
@@ -7911,10 +7796,10 @@ var AddSelect = function AddSelect(props) {
7911
7796
  var newColumns = arr.map(function (col) {
7912
7797
  return _objectSpread2({}, col);
7913
7798
  });
7914
- var handleIndex = function handleIndex(arr, indexArr) {
7799
+ var _handleIndex = function handleIndex(arr, indexArr) {
7915
7800
  var i = indexArr.shift();
7916
7801
  if (indexArr.length > 0) {
7917
- handleIndex(arr[i].children, indexArr);
7802
+ _handleIndex(arr[i].children, indexArr);
7918
7803
  } else {
7919
7804
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
7920
7805
  width: size.width
@@ -7922,7 +7807,7 @@ var AddSelect = function AddSelect(props) {
7922
7807
  handleAntdColumnsSpecialParams(arr[i]);
7923
7808
  }
7924
7809
  };
7925
- handleIndex(newColumns, _toConsumableArray(index));
7810
+ _handleIndex(newColumns, _toConsumableArray(index));
7926
7811
  callback(newColumns);
7927
7812
  };
7928
7813
  };
@@ -7932,13 +7817,13 @@ var AddSelect = function AddSelect(props) {
7932
7817
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
7933
7818
  setShowToChooseColumns(_toConsumableArray(newColumns));
7934
7819
  };
7935
- var handleColumns = function handleColumns(arr, indexArr, callback) {
7820
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
7936
7821
  arr.forEach(function (item, index) {
7937
7822
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
7938
7823
  return i || i === 0;
7939
7824
  });
7940
7825
  if (noEmptyArray$1(item.children)) {
7941
- handleColumns(item.children, indexArrInside);
7826
+ _handleColumns(item.children, indexArrInside);
7942
7827
  } else {
7943
7828
  item.width = item.width || getItemDefaultWidth$2(item);
7944
7829
  item.onHeaderCell = function (column) {
@@ -7954,14 +7839,14 @@ var AddSelect = function AddSelect(props) {
7954
7839
  handleAntdColumnsSpecialParams(item);
7955
7840
  return _objectSpread2({}, item);
7956
7841
  });
7957
- handleColumns(showToChooseCol, [], function (res) {
7842
+ _handleColumns(showToChooseCol, [], function (res) {
7958
7843
  return setShowToChooseColumnsCallback(res);
7959
7844
  });
7960
7845
  var showSelectedCol = showColumns.map(function (item) {
7961
7846
  handleAntdColumnsSpecialParams(item);
7962
7847
  return _objectSpread2({}, item);
7963
7848
  });
7964
- handleColumns(showSelectedCol, [], function (res) {
7849
+ _handleColumns(showSelectedCol, [], function (res) {
7965
7850
  return setShowColumnsCallback(res);
7966
7851
  });
7967
7852
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -7972,7 +7857,7 @@ var AddSelect = function AddSelect(props) {
7972
7857
  id: "add_select_div_".concat(uniqueValue)
7973
7858
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
7974
7859
  onClick: handleShowModal
7975
- }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
7860
+ }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
7976
7861
  width: '1200px',
7977
7862
  style: {
7978
7863
  top: 20
@@ -8886,7 +8771,7 @@ var BillEntry = function BillEntry(_ref3) {
8886
8771
  });
8887
8772
  };
8888
8773
  var handleSubmit = /*#__PURE__*/function () {
8889
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8774
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8890
8775
  var canEntryObject, _canEntryObject$error, messageInfo;
8891
8776
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8892
8777
  while (1) switch (_context.prev = _context.next) {
@@ -8969,10 +8854,10 @@ var BillEntry = function BillEntry(_ref3) {
8969
8854
  var newColumns = arr.map(function (col) {
8970
8855
  return _objectSpread2({}, col);
8971
8856
  });
8972
- var handleIndex = function handleIndex(arr, indexArr) {
8857
+ var _handleIndex = function handleIndex(arr, indexArr) {
8973
8858
  var i = indexArr.shift();
8974
8859
  if (indexArr.length > 0) {
8975
- handleIndex(arr[i].children, indexArr);
8860
+ _handleIndex(arr[i].children, indexArr);
8976
8861
  } else {
8977
8862
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8978
8863
  width: size.width
@@ -8980,17 +8865,17 @@ var BillEntry = function BillEntry(_ref3) {
8980
8865
  handleAntdColumnsSpecialParams(arr[i]);
8981
8866
  }
8982
8867
  };
8983
- handleIndex(newColumns, _toConsumableArray(index));
8868
+ _handleIndex(newColumns, _toConsumableArray(index));
8984
8869
  callback(newColumns);
8985
8870
  };
8986
8871
  };
8987
- var handleColumns = function handleColumns(arr, indexArr, callback) {
8872
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
8988
8873
  arr.forEach(function (item, index) {
8989
8874
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8990
8875
  return i || i === 0;
8991
8876
  });
8992
8877
  if (noEmptyArray$1(item.children)) {
8993
- handleColumns(item.children, indexArrInside);
8878
+ _handleColumns(item.children, indexArrInside);
8994
8879
  } else {
8995
8880
  item.width = item.width || getItemDefaultWidth$2(item);
8996
8881
  item.onHeaderCell = function (column) {
@@ -9006,7 +8891,7 @@ var BillEntry = function BillEntry(_ref3) {
9006
8891
  handleAntdColumnsSpecialParams(item);
9007
8892
  return _objectSpread2({}, item);
9008
8893
  });
9009
- handleColumns(showSelectedCol, [], function (res) {
8894
+ _handleColumns(showSelectedCol, [], function (res) {
9010
8895
  return setShowColumnsCallback(res);
9011
8896
  });
9012
8897
  return /*#__PURE__*/React$1.createElement("div", {
@@ -9321,7 +9206,7 @@ function commonFun(type, prefixUrl, parentProps) {
9321
9206
  });
9322
9207
  };
9323
9208
  // 格式化树选择器数据源
9324
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9209
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9325
9210
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9326
9211
  return {
9327
9212
  title: treeDataItem[resKeyValue[1]],
@@ -9331,7 +9216,7 @@ function commonFun(type, prefixUrl, parentProps) {
9331
9216
  isLeaf: !haveChildren,
9332
9217
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9333
9218
  children: haveChildren ? treeDataItem.children.map(function (i) {
9334
- return mapSearchTree(i, resKeyValue, disabledJudge);
9219
+ return _mapSearchTree(i, resKeyValue, disabledJudge);
9335
9220
  }) : []
9336
9221
  };
9337
9222
  };
@@ -9345,7 +9230,7 @@ function commonFun(type, prefixUrl, parentProps) {
9345
9230
  disabledJudge = false;
9346
9231
  }
9347
9232
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9348
- return mapSearchTree(ites, resKeyValue, disabledJudge);
9233
+ return _mapSearchTree(ites, resKeyValue, disabledJudge);
9349
9234
  }) || [];
9350
9235
  changeSearchForm[changePosition].field.props.treeData = formatData;
9351
9236
  };
@@ -9614,7 +9499,7 @@ function commonFun(type, prefixUrl, parentProps) {
9614
9499
  label: 'SKU名称'
9615
9500
  }, {
9616
9501
  name: 'qp-itemCode-like',
9617
- label: '外部SPU编码'
9502
+ label: 'SPU编码'
9618
9503
  }, {
9619
9504
  name: 'qp-eancode-in',
9620
9505
  label: '商品条码',
@@ -13415,7 +13300,7 @@ var CommodityEntry = function CommodityEntry(props) {
13415
13300
  };
13416
13301
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
13417
13302
  onClick: handleShowModal
13418
- }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13303
+ }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13419
13304
  onOk: handleOk,
13420
13305
  onCancel: handleCancel,
13421
13306
  destroyOnClose: true,
@@ -13534,7 +13419,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13534
13419
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
13535
13420
  _remoteSource$special = remoteSource.specialBracket,
13536
13421
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
13537
- var mapSearchTree = function mapSearchTree(treeDataItem) {
13422
+ var _mapSearchTree = function mapSearchTree(treeDataItem) {
13538
13423
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
13539
13424
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
13540
13425
  return {
@@ -13546,7 +13431,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13546
13431
  isLeaf: !haveChildren,
13547
13432
  disabled: isDisabled(haveChildren, isRoot),
13548
13433
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
13549
- return mapSearchTree(i);
13434
+ return _mapSearchTree(i);
13550
13435
  }) : []
13551
13436
  };
13552
13437
  };
@@ -13564,8 +13449,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13564
13449
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13565
13450
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
13566
13451
  headers: headers
13567
- }).then( /*#__PURE__*/function () {
13568
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13452
+ }).then(/*#__PURE__*/function () {
13453
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13569
13454
  var _ctx$form;
13570
13455
  var resData, coverData, data, dataList;
13571
13456
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13592,7 +13477,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13592
13477
  case 9:
13593
13478
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13594
13479
  coverData = dataList.length && dataList.map(function (ites) {
13595
- return mapSearchTree(ites);
13480
+ return _mapSearchTree(ites);
13596
13481
  }) || [];
13597
13482
  case 11:
13598
13483
  _context.next = 14;
@@ -13630,11 +13515,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13630
13515
  return _formatResult;
13631
13516
  }
13632
13517
  };
13633
- var parallelData = function parallelData(data, result) {
13518
+ var _parallelData = function parallelData(data, result) {
13634
13519
  data.forEach(function (i) {
13635
13520
  result.push(i);
13636
13521
  if (i[treeChildrenRoom]) {
13637
- parallelData(i[treeChildrenRoom], result);
13522
+ _parallelData(i[treeChildrenRoom], result);
13638
13523
  }
13639
13524
  });
13640
13525
  return result;
@@ -13674,7 +13559,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13674
13559
  var _ctx$form2;
13675
13560
  var handleData = formatData(data);
13676
13561
  // 获取选中树节点当条数据,并返回给调用业务
13677
- var parallelTreeData = parallelData(treeData, []);
13562
+ var parallelTreeData = _parallelData(treeData, []);
13678
13563
  var currentItem = getSelectItem(parallelTreeData, data);
13679
13564
  onChange(handleData, data, currentItem, parallelTreeData);
13680
13565
  onChangeName && onChangeName(dataName);
@@ -13717,7 +13602,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13717
13602
  var getShowStr = function getShowStr() {
13718
13603
  var isMultiple = multiple || treeCheckable;
13719
13604
  var kongValue = '无';
13720
- var parallelTreeData = parallelData(treeData, []);
13605
+ var parallelTreeData = _parallelData(treeData, []);
13721
13606
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
13722
13607
  if (isMultiple) {
13723
13608
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -13729,7 +13614,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13729
13614
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
13730
13615
  return /*#__PURE__*/React$1.createElement("div", {
13731
13616
  className: 'tree_search_select'
13732
- }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
13617
+ }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
13733
13618
  title: getShowStr(),
13734
13619
  style: {
13735
13620
  overflow: 'hidden',
@@ -13737,7 +13622,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13737
13622
  whiteSpace: 'nowrap'
13738
13623
  },
13739
13624
  className: 'search_select_show'
13740
- }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13625
+ }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13741
13626
  treeCheckable: treeCheckable,
13742
13627
  maxTagCount: maxTagCount,
13743
13628
  showSearch: showSearch,
@@ -13934,7 +13819,7 @@ var index$2 = (function (props) {
13934
13819
  } : {}
13935
13820
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
13936
13821
  className: 'status-label-operate'
13937
- }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
13822
+ }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
13938
13823
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
13939
13824
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
13940
13825
  style: {
@@ -14715,7 +14600,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14715
14600
  style: {
14716
14601
  width: 525
14717
14602
  }
14718
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
14603
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
14719
14604
  checked: !dataSource.some(function (item) {
14720
14605
  if (item.hidden) return true;
14721
14606
  return false;
@@ -14753,13 +14638,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14753
14638
  _this2.onChange(e, item.title);
14754
14639
  }
14755
14640
  }, item.title);
14756
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
14641
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
14757
14642
  style: {
14758
14643
  width: '144px'
14759
14644
  }
14760
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
14645
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
14761
14646
  className: 'sort_table_column_all_empty'
14762
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14647
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14763
14648
  className: 'sort_table_column_special'
14764
14649
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
14765
14650
  className: 'sort_table_column_all'
@@ -14938,10 +14823,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14938
14823
  var newColumns = _this.state.showColumns.map(function (col) {
14939
14824
  return _objectSpread2({}, col);
14940
14825
  });
14941
- var handleIndex = function handleIndex(arr, indexArr) {
14826
+ var _handleIndex = function handleIndex(arr, indexArr) {
14942
14827
  var i = indexArr.shift();
14943
14828
  if (indexArr.length > 0) {
14944
- handleIndex(arr[i].children, indexArr);
14829
+ _handleIndex(arr[i].children, indexArr);
14945
14830
  } else {
14946
14831
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
14947
14832
  width: size.width
@@ -14949,7 +14834,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14949
14834
  handleBssulaColumnsSpecialParams(arr[i]);
14950
14835
  }
14951
14836
  };
14952
- handleIndex(newColumns, _toConsumableArray(index));
14837
+ _handleIndex(newColumns, _toConsumableArray(index));
14953
14838
  _this.setState({
14954
14839
  showColumns: _toConsumableArray(newColumns)
14955
14840
  });
@@ -14990,7 +14875,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14990
14875
  };
14991
14876
  setIsResizing(true);
14992
14877
  document.addEventListener('mousemove', handleMouseMove);
14993
- document.addEventListener('mouseup', handleMouseUp);
14878
+ document.addEventListener('mouseup', _handleMouseUp);
14994
14879
  };
14995
14880
  var handleMouseMove = function handleMouseMove(e) {
14996
14881
  e.stopPropagation();
@@ -15006,9 +14891,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15006
14891
  dom.style.top = "".concat(e.clientY - 20, "px");
15007
14892
  }
15008
14893
  };
15009
- var handleMouseUp = function handleMouseUp(e) {
14894
+ var _handleMouseUp = function handleMouseUp(e) {
15010
14895
  document.removeEventListener('mousemove', handleMouseMove);
15011
- document.removeEventListener('mouseup', handleMouseUp);
14896
+ document.removeEventListener('mouseup', _handleMouseUp);
15012
14897
  setIsResizing(false);
15013
14898
  };
15014
14899
  var handleresize = function handleresize(e, data, title) {
@@ -15129,13 +15014,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15129
15014
  showSummary = summary;
15130
15015
  }
15131
15016
  }
15132
- var handleColumns = function handleColumns(arr, indexArr) {
15017
+ var _handleColumns = function handleColumns(arr, indexArr) {
15133
15018
  arr.forEach(function (item, index) {
15134
15019
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15135
15020
  return i || i === 0;
15136
15021
  });
15137
15022
  if (noEmptyArray$1(item.children)) {
15138
- handleColumns(item.children, indexArrInside);
15023
+ _handleColumns(item.children, indexArrInside);
15139
15024
  } else {
15140
15025
  item.width = item.width || getItemDefaultWidth$2(item);
15141
15026
  item.onHeaderCell = function (column) {
@@ -15151,7 +15036,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15151
15036
  handleBssulaColumnsSpecialParams(item);
15152
15037
  return _objectSpread2({}, item);
15153
15038
  });
15154
- handleColumns(showCol, []);
15039
+ _handleColumns(showCol, []);
15155
15040
  if (dynamicColumns.length) {
15156
15041
  showCol = this.handledynamicColumns(showCol);
15157
15042
  }
@@ -15192,7 +15077,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15192
15077
  cell: this.ResizeableTitle
15193
15078
  }
15194
15079
  }
15195
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15080
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15196
15081
  summary: summary
15197
15082
  })));
15198
15083
  }
@@ -15289,10 +15174,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15289
15174
  var newColumns = _this.state.showColumns.map(function (col) {
15290
15175
  return _objectSpread2({}, col);
15291
15176
  });
15292
- var handleIndex = function handleIndex(arr, indexArr) {
15177
+ var _handleIndex = function handleIndex(arr, indexArr) {
15293
15178
  var i = indexArr.shift();
15294
15179
  if (indexArr.length > 0) {
15295
- handleIndex(arr[i].children, indexArr);
15180
+ _handleIndex(arr[i].children, indexArr);
15296
15181
  } else {
15297
15182
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15298
15183
  width: size.width
@@ -15300,7 +15185,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15300
15185
  handleAntdColumnsSpecialParams(arr[i]);
15301
15186
  }
15302
15187
  };
15303
- handleIndex(newColumns, _toConsumableArray(index));
15188
+ _handleIndex(newColumns, _toConsumableArray(index));
15304
15189
  _this.setState({
15305
15190
  showColumns: _toConsumableArray(newColumns)
15306
15191
  });
@@ -15376,13 +15261,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15376
15261
  showSummary = summary;
15377
15262
  }
15378
15263
  }
15379
- var handleColumns = function handleColumns(arr, indexArr) {
15264
+ var _handleColumns = function handleColumns(arr, indexArr) {
15380
15265
  arr.forEach(function (item, index) {
15381
15266
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15382
15267
  return i || i === 0;
15383
15268
  });
15384
15269
  if (noEmptyArray$1(item.children)) {
15385
- handleColumns(item.children, indexArrInside);
15270
+ _handleColumns(item.children, indexArrInside);
15386
15271
  } else {
15387
15272
  item.width = item.width || getItemDefaultWidth$2(item);
15388
15273
  item.onHeaderCell = function (column) {
@@ -15398,7 +15283,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15398
15283
  handleAntdColumnsSpecialParams(item);
15399
15284
  return _objectSpread2({}, item);
15400
15285
  });
15401
- handleColumns(showCol, []);
15286
+ _handleColumns(showCol, []);
15402
15287
  if (dynamicColumns.length) {
15403
15288
  showCol = this.handledynamicColumns(showCol);
15404
15289
  }
@@ -15438,7 +15323,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15438
15323
  cell: this.ResizeableTitle
15439
15324
  }
15440
15325
  }
15441
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15326
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15442
15327
  summary: summary
15443
15328
  })));
15444
15329
  }
@@ -15498,20 +15383,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
15498
15383
  };
15499
15384
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
15500
15385
  var routerMap = {};
15501
- var flattenMenuData = function flattenMenuData(data, parent) {
15386
+ var _flattenMenuData2 = function flattenMenuData(data, parent) {
15502
15387
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
15503
15388
  data.forEach(function (menuItem) {
15504
15389
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
15505
15390
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
15506
15391
  });
15507
15392
  if (newMenuItem.children) {
15508
- flattenMenuData(newMenuItem.children, newMenuItem);
15393
+ _flattenMenuData2(newMenuItem.children, newMenuItem);
15509
15394
  }
15510
15395
  // Reduce memory usage
15511
15396
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
15512
15397
  });
15513
15398
  };
15514
- flattenMenuData(menuData, {});
15399
+ _flattenMenuData2(menuData, {});
15515
15400
  return routerMap;
15516
15401
  };
15517
15402
  // mode类型判断
@@ -15837,7 +15722,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15837
15722
  display: 'flex',
15838
15723
  gap: '8px'
15839
15724
  }
15840
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
15725
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
15841
15726
  title: "\u53D6\u6D88\u5168\u5C4F"
15842
15727
  }, /*#__PURE__*/React$1.createElement("img", {
15843
15728
  onClick: function onClick() {
@@ -15845,7 +15730,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15845
15730
  },
15846
15731
  width: 24,
15847
15732
  src: scanning
15848
- }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
15733
+ }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
15849
15734
  title: "\u5168\u5C4F"
15850
15735
  }, /*#__PURE__*/React$1.createElement("img", {
15851
15736
  onClick: function onClick() {
@@ -15853,7 +15738,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15853
15738
  },
15854
15739
  width: 24,
15855
15740
  src: quanping
15856
- }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15741
+ }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15857
15742
  }, function (prevProps, nextProps) {
15858
15743
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
15859
15744
  return false;
@@ -15938,7 +15823,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15938
15823
  }, /*#__PURE__*/React$1.createElement("span", {
15939
15824
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
15940
15825
  }, item));
15941
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15826
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15942
15827
  }, function (prevProps, nextProps) {
15943
15828
  if (prevProps.title !== nextProps.title) {
15944
15829
  return false;
@@ -16578,7 +16463,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16578
16463
  });
16579
16464
  return /*#__PURE__*/React$1.createElement("div", {
16580
16465
  className: 'sort_table_wrapper'
16581
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16466
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
16582
16467
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
16583
16468
  wrapClassName: 'sort_table_wrapper',
16584
16469
  width: 810,
@@ -16629,7 +16514,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16629
16514
  width: 525,
16630
16515
  height: 24
16631
16516
  }
16632
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16517
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16633
16518
  checked: !dataSource.some(function (item) {
16634
16519
  if (item.hidden) return true;
16635
16520
  return false;
@@ -16683,13 +16568,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16683
16568
  _this2.onChange(e, item.title);
16684
16569
  }
16685
16570
  }, item.title);
16686
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
16571
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
16687
16572
  style: {
16688
16573
  width: '144px'
16689
16574
  }
16690
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
16575
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
16691
16576
  className: 'sort_table_column_all_empty'
16692
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16577
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16693
16578
  className: 'sort_table_column_special'
16694
16579
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
16695
16580
  className: 'sort_table_column_all'
@@ -17163,7 +17048,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17163
17048
  });
17164
17049
  return /*#__PURE__*/React$1.createElement("div", {
17165
17050
  className: 'sort_table_wrapper'
17166
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17051
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17167
17052
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17168
17053
  wrapClassName: 'sort_table_wrapper',
17169
17054
  width: 820,
@@ -17208,7 +17093,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17208
17093
  style: {
17209
17094
  width: 525
17210
17095
  }
17211
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17096
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17212
17097
  checked: !dataSource.some(function (item) {
17213
17098
  if (item.hidden) return true;
17214
17099
  return false;
@@ -17244,11 +17129,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17244
17129
  _this2.onChange(e, item.name);
17245
17130
  }
17246
17131
  }, item.label);
17247
- }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17132
+ }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
17248
17133
  style: {
17249
17134
  width: '144px'
17250
17135
  }
17251
- })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17136
+ })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
17252
17137
  className: 'sort_table_column_all_empty'
17253
17138
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
17254
17139
  className: 'sort_table_content_wrapper'
@@ -17347,7 +17232,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17347
17232
  };
17348
17233
  setIsResizing(true);
17349
17234
  document.addEventListener('mousemove', handleMouseMove);
17350
- document.addEventListener('mouseup', handleMouseUp);
17235
+ document.addEventListener('mouseup', _handleMouseUp);
17351
17236
  };
17352
17237
  var handleMouseMove = function handleMouseMove(e) {
17353
17238
  e.stopPropagation();
@@ -17363,9 +17248,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17363
17248
  dom.style.top = "".concat(e.clientY - 20, "px");
17364
17249
  }
17365
17250
  };
17366
- var handleMouseUp = function handleMouseUp(e) {
17251
+ var _handleMouseUp = function handleMouseUp(e) {
17367
17252
  document.removeEventListener('mousemove', handleMouseMove);
17368
- document.removeEventListener('mouseup', handleMouseUp);
17253
+ document.removeEventListener('mouseup', _handleMouseUp);
17369
17254
  setIsResizing(false);
17370
17255
  };
17371
17256
  var handleresize = function handleresize(e, data, title) {
@@ -17776,7 +17661,7 @@ var BsSulaQueryTable = (function (props) {
17776
17661
  actionsRender = actionsRender.concat([{
17777
17662
  type: 'text',
17778
17663
  props: {
17779
- children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
17664
+ children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
17780
17665
  request: {
17781
17666
  url: (value === null || value === void 0 ? void 0 : (_value$exportConfig2 = value.exportConfig) === null || _value$exportConfig2 === void 0 ? void 0 : _value$exportConfig2.url) || "/oms-ops/excel/exportAsync/".concat(value === null || value === void 0 ? void 0 : (_value$exportConfig3 = value.exportConfig) === null || _value$exportConfig3 === void 0 ? void 0 : _value$exportConfig3.type),
17782
17667
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18022,7 +17907,7 @@ var BsSulaQueryTable = (function (props) {
18022
17907
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18023
17908
  bsTableCode: bsTableCode,
18024
17909
  onlyModal: true
18025
- }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && ( /*#__PURE__*/React$1.createElement(SortableTable$1, {
17910
+ }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React$1.createElement(SortableTable$1, {
18026
17911
  ref: exportTableRef,
18027
17912
  setShowColumns: setShowExportColumns,
18028
17913
  setInitialTableInfo: setInitialTableInfo,
@@ -18115,11 +18000,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18115
18000
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18116
18001
  var resultList = [];
18117
18002
  var newRouter = cloneDeep(router);
18118
- var deep = function deep(router) {
18003
+ var _deep = function deep(router) {
18119
18004
  if (router && Array.isArray(router)) {
18120
18005
  router.forEach(function (item) {
18121
18006
  if (item.children && Array.isArray(item.children)) {
18122
- deep(item.children);
18007
+ _deep(item.children);
18123
18008
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18124
18009
  return d === item.code;
18125
18010
  })) {
@@ -18133,10 +18018,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18133
18018
  resultList.push(_objectSpread2({}, router));
18134
18019
  }
18135
18020
  };
18136
- deep(newRouter);
18021
+ _deep(newRouter);
18137
18022
  callBack([].concat(resultList));
18138
18023
  };
18139
- var setMenuTreeData = function setMenuTreeData(routesData) {
18024
+ var _setMenuTreeData = function setMenuTreeData(routesData) {
18140
18025
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18141
18026
  var _loop = function _loop(i) {
18142
18027
  if (routesData[i].hideInMenu) {
@@ -18150,7 +18035,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
18150
18035
  return 0; // continue
18151
18036
  }
18152
18037
  if (routesData[i].children) {
18153
- setMenuTreeData(routesData[i].children);
18038
+ _setMenuTreeData(routesData[i].children);
18154
18039
  }
18155
18040
  },
18156
18041
  _ret;
@@ -18171,16 +18056,16 @@ var setLoginOutPath = function setLoginOutPath() {
18171
18056
  };
18172
18057
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18173
18058
  var routerMap = {};
18174
- var flattenMenuData = function flattenMenuData(data) {
18059
+ var _flattenMenuData = function flattenMenuData(data) {
18175
18060
  data.forEach(function (menuItem) {
18176
18061
  if (menuItem.children) {
18177
- flattenMenuData(menuItem.children);
18062
+ _flattenMenuData(menuItem.children);
18178
18063
  }
18179
18064
  // Reduce memory usage
18180
18065
  routerMap[menuItem.path] = menuItem;
18181
18066
  });
18182
18067
  };
18183
- flattenMenuData(menuData);
18068
+ _flattenMenuData(menuData);
18184
18069
  return routerMap;
18185
18070
  };
18186
18071
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -18326,7 +18211,7 @@ var DrawContent = function DrawContent(_ref) {
18326
18211
  sethomepageData(homepageDataList);
18327
18212
  setroutesData(routesDataList);
18328
18213
  }, []);
18329
- var renderChildItem = function renderChildItem(child) {
18214
+ var _renderChildItem = function renderChildItem(child) {
18330
18215
  if (!child.hideInMenu && child.children) {
18331
18216
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18332
18217
  style: {
@@ -18336,7 +18221,7 @@ var DrawContent = function DrawContent(_ref) {
18336
18221
  }, formatMessage({
18337
18222
  id: "".concat(child.locale)
18338
18223
  })), child.children.map(function (menuItem) {
18339
- return renderChildItem(menuItem);
18224
+ return _renderChildItem(menuItem);
18340
18225
  }));
18341
18226
  } else if (!child.hideInMenu && child.path) {
18342
18227
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18371,7 +18256,7 @@ var DrawContent = function DrawContent(_ref) {
18371
18256
  className: 'drawerWarp'
18372
18257
  }, homepageData && homepageData.filter(function (d) {
18373
18258
  return !d.hideInMenu;
18374
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
18259
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
18375
18260
  className: classNames('allFunsList', 'allFunsListWarp'),
18376
18261
  dataSource: homepageData,
18377
18262
  renderItem: function renderItem(child) {
@@ -18406,7 +18291,7 @@ var DrawContent = function DrawContent(_ref) {
18406
18291
  bordered: true,
18407
18292
  dataSource: item.children,
18408
18293
  renderItem: function renderItem(child) {
18409
- return renderChildItem(child);
18294
+ return _renderChildItem(child);
18410
18295
  }
18411
18296
  });
18412
18297
  })));
@@ -18466,7 +18351,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
18466
18351
  src: allfunc
18467
18352
  })), /*#__PURE__*/React$1.createElement("span", {
18468
18353
  className: 'btnSpan2'
18469
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18354
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
18470
18355
  style: {
18471
18356
  left: isDrawer ? 140 : 0,
18472
18357
  top: 50
@@ -18512,7 +18397,7 @@ function outLogin(_x) {
18512
18397
  return _outLogin.apply(this, arguments);
18513
18398
  }
18514
18399
  function _outLogin() {
18515
- _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18400
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18516
18401
  var res;
18517
18402
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18518
18403
  while (1) switch (_context.prev = _context.next) {
@@ -18654,7 +18539,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18654
18539
  });
18655
18540
  };
18656
18541
  var loginOut = /*#__PURE__*/function () {
18657
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18542
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18658
18543
  var sessionId;
18659
18544
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18660
18545
  while (1) switch (_context.prev = _context.next) {
@@ -18758,7 +18643,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18758
18643
  marginRight: '0px'
18759
18644
  },
18760
18645
  src: './xialajiantou-new.svg'
18761
- }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
18646
+ }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
18762
18647
  };
18763
18648
 
18764
18649
  // -- 查询店铺 --
@@ -18766,7 +18651,7 @@ function getStoreByName(_x) {
18766
18651
  return _getStoreByName.apply(this, arguments);
18767
18652
  }
18768
18653
  function _getStoreByName() {
18769
- _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18654
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18770
18655
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18771
18656
  while (1) switch (_context.prev = _context.next) {
18772
18657
  case 0:
@@ -18834,7 +18719,7 @@ var ChooseStore = function ChooseStore(props) {
18834
18719
  return _fetchUserList.apply(this, arguments);
18835
18720
  }
18836
18721
  function _fetchUserList() {
18837
- _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
18722
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
18838
18723
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
18839
18724
  while (1) switch (_context3.prev = _context3.next) {
18840
18725
  case 0:
@@ -18882,7 +18767,7 @@ var ChooseStore = function ChooseStore(props) {
18882
18767
  return debounce$1(loadOptions, debounceTimeout);
18883
18768
  }, [debounceTimeout, key]);
18884
18769
  var changeInput = /*#__PURE__*/function () {
18885
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
18770
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
18886
18771
  var res;
18887
18772
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18888
18773
  while (1) switch (_context.prev = _context.next) {
@@ -18904,7 +18789,7 @@ var ChooseStore = function ChooseStore(props) {
18904
18789
  };
18905
18790
  }();
18906
18791
  useEffect(function () {
18907
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
18792
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
18908
18793
  var res;
18909
18794
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
18910
18795
  while (1) switch (_context2.prev = _context2.next) {
@@ -19069,7 +18954,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19069
18954
  var resultList = [];
19070
18955
  var newRouter = cloneDeep$1(router);
19071
18956
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19072
- var deep = function deep(router) {
18957
+ var _deep = function deep(router) {
19073
18958
  if (router && Array.isArray(router)) {
19074
18959
  router.forEach(function (item) {
19075
18960
  if (item.routes && Array.isArray(item.routes)) {
@@ -19079,7 +18964,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19079
18964
  d.nameEdit = true;
19080
18965
  }
19081
18966
  });
19082
- deep(item.routes);
18967
+ _deep(item.routes);
19083
18968
  } else if (!item.hideInMenu && (name ? formatMessage({
19084
18969
  id: "menu.".concat(item.name)
19085
18970
  }).indexOf(name) !== -1 : true)) {
@@ -19098,7 +18983,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19098
18983
  }));
19099
18984
  }
19100
18985
  };
19101
- deep(newRouter);
18986
+ _deep(newRouter);
19102
18987
  setroutesData([].concat(resultList));
19103
18988
  };
19104
18989
  var renderLineStyl = function renderLineStyl(name) {
@@ -19180,7 +19065,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19180
19065
  },
19181
19066
  title: item.fullPathName
19182
19067
  }, renderLineStyl(item.fullPathName));
19183
- }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
19068
+ }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
19184
19069
  employeeCode: employeeCode
19185
19070
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
19186
19071
  };
@@ -19195,7 +19080,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19195
19080
  var TreeNode = Tree.TreeNode;
19196
19081
  var Search$2 = Input.Search;
19197
19082
  var dataList = [];
19198
- var generateList = function generateList(data) {
19083
+ var _generateList = function generateList(data) {
19199
19084
  for (var i = 0; i < data.length; i++) {
19200
19085
  var node = data[i];
19201
19086
  var path = node.path,
@@ -19205,11 +19090,11 @@ var generateList = function generateList(data) {
19205
19090
  name: name
19206
19091
  });
19207
19092
  if (node.children) {
19208
- generateList(node.children);
19093
+ _generateList(node.children);
19209
19094
  }
19210
19095
  }
19211
19096
  };
19212
- var getParentKey = function getParentKey(path, tree) {
19097
+ var _getParentKey = function getParentKey(path, tree) {
19213
19098
  var parentKey;
19214
19099
  for (var i = 0; i < tree.length; i++) {
19215
19100
  var node = tree[i];
@@ -19218,8 +19103,8 @@ var getParentKey = function getParentKey(path, tree) {
19218
19103
  return item.path === path;
19219
19104
  })) {
19220
19105
  parentKey = node.path;
19221
- } else if (getParentKey(path, node.children)) {
19222
- parentKey = getParentKey(path, node.children);
19106
+ } else if (_getParentKey(path, node.children)) {
19107
+ parentKey = _getParentKey(path, node.children);
19223
19108
  }
19224
19109
  }
19225
19110
  }
@@ -19250,7 +19135,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19250
19135
  var treeData = _this.state.treeData;
19251
19136
  var expandedKeys = dataList.map(function (item) {
19252
19137
  if (item.name.indexOf(value) > -1) {
19253
- return getParentKey(item.path, treeData);
19138
+ return _getParentKey(item.path, treeData);
19254
19139
  }
19255
19140
  return null;
19256
19141
  }).filter(function (item, i, self) {
@@ -19264,22 +19149,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19264
19149
  };
19265
19150
  _this.getPathList = function (originData) {
19266
19151
  var pathList = [];
19267
- var getList = function getList(data) {
19152
+ var _getList = function getList(data) {
19268
19153
  if (Array.isArray(data)) {
19269
19154
  data.forEach(function (item) {
19270
19155
  pathList.push(item.path);
19271
19156
  if (item.children) {
19272
- getList(item.children);
19157
+ _getList(item.children);
19273
19158
  }
19274
19159
  });
19275
19160
  } else {
19276
19161
  pathList.push(data.path);
19277
19162
  if (data.children) {
19278
- getList(data.children);
19163
+ _getList(data.children);
19279
19164
  }
19280
19165
  }
19281
19166
  };
19282
- getList(originData);
19167
+ _getList(originData);
19283
19168
  return pathList;
19284
19169
  };
19285
19170
  _this.handleAdd2Menu = function (path) {
@@ -19288,18 +19173,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19288
19173
  customerMenuData = _this$props.customerMenuData,
19289
19174
  setCustomerMenuData = _this$props.setCustomerMenuData;
19290
19175
  var filterItem;
19291
- var filterMenuItem = function filterMenuItem(menuData) {
19176
+ var _filterMenuItem = function filterMenuItem(menuData) {
19292
19177
  menuData.forEach(function (item) {
19293
19178
  if (item.path === path) {
19294
19179
  filterItem = _objectSpread2({}, item);
19295
19180
  return;
19296
19181
  }
19297
19182
  if (item.children) {
19298
- filterMenuItem(item.children);
19183
+ _filterMenuItem(item.children);
19299
19184
  }
19300
19185
  });
19301
19186
  };
19302
- filterMenuItem(treeData);
19187
+ _filterMenuItem(treeData);
19303
19188
  var addPathList = _this.getPathList(filterItem);
19304
19189
  var oldPathList = _this.getPathList(customerMenuData);
19305
19190
  var isRepet = false;
@@ -19329,8 +19214,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19329
19214
  return item.path === '/';
19330
19215
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19331
19216
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19332
- setMenuTreeData(routesData);
19333
- generateList(routesData);
19217
+ _setMenuTreeData(routesData);
19218
+ _generateList(routesData);
19334
19219
  this.setState({
19335
19220
  treeData: routesData
19336
19221
  });
@@ -19344,16 +19229,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19344
19229
  expandedKeys = _this$state.expandedKeys,
19345
19230
  autoExpandParent = _this$state.autoExpandParent,
19346
19231
  treeData = _this$state.treeData;
19347
- var loop = function loop(data) {
19232
+ var _loop = function loop(data) {
19348
19233
  return data.map(function (item) {
19349
19234
  var index = item.name.indexOf(searchValue);
19350
19235
  var beforeStr = item.name.substr(0, index);
19351
19236
  var afterStr = item.name.substr(index + searchValue.length);
19352
- var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19237
+ var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19353
19238
  style: {
19354
19239
  color: '#f50'
19355
19240
  }
19356
- }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
19241
+ }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
19357
19242
  if (item.children && item.children.length) {
19358
19243
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19359
19244
  path: item.path,
@@ -19375,7 +19260,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19375
19260
  width: 18,
19376
19261
  src: arrowRight
19377
19262
  }))))
19378
- }, loop(item.children));
19263
+ }, _loop(item.children));
19379
19264
  }
19380
19265
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19381
19266
  path: item.path,
@@ -19425,7 +19310,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19425
19310
  onExpand: this.onExpand,
19426
19311
  expandedKeys: expandedKeys,
19427
19312
  autoExpandParent: autoExpandParent
19428
- }, loop(treeData))));
19313
+ }, _loop(treeData))));
19429
19314
  }
19430
19315
  }]);
19431
19316
  }(React$1.Component);
@@ -19458,24 +19343,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19458
19343
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
19459
19344
  var dragObj;
19460
19345
  var finalDropItem;
19461
- var loop = function loop(data, path, callback) {
19346
+ var _loop = function loop(data, path, callback) {
19462
19347
  for (var i = 0; i < data.length; i++) {
19463
19348
  if (data[i].path === path) {
19464
19349
  return callback(data[i], i, data);
19465
19350
  }
19466
19351
  if (data[i].children) {
19467
- loop(data[i].children, path, callback);
19352
+ _loop(data[i].children, path, callback);
19468
19353
  }
19469
19354
  }
19470
19355
  };
19471
19356
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
19472
- loop(data, dragKey, function (item, index, arr) {
19357
+ _loop(data, dragKey, function (item, index, arr) {
19473
19358
  arr.splice(index, 1);
19474
19359
  dragObj = item;
19475
19360
  });
19476
19361
  if (!info.dropToGap) {
19477
19362
  // Drop on the content
19478
- loop(data, dropKey, function (item) {
19363
+ _loop(data, dropKey, function (item) {
19479
19364
  item.children = item.children || [];
19480
19365
  item.children.unshift(dragObj);
19481
19366
  finalDropItem = _objectSpread2({}, item);
@@ -19486,7 +19371,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19486
19371
  // Is expanded
19487
19372
  dropPosition === 1 // On the bottom gap
19488
19373
  ) {
19489
- loop(data, dropKey, function (item) {
19374
+ _loop(data, dropKey, function (item) {
19490
19375
  item.children = item.children || [];
19491
19376
  item.children.unshift(dragObj);
19492
19377
  finalDropItem = _objectSpread2({}, item);
@@ -19494,7 +19379,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19494
19379
  } else {
19495
19380
  var ar;
19496
19381
  var i;
19497
- loop(data, dropKey, function (item, index, arr) {
19382
+ _loop(data, dropKey, function (item, index, arr) {
19498
19383
  ar = arr;
19499
19384
  i = index;
19500
19385
  });
@@ -19533,17 +19418,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19533
19418
  title: '编辑名称',
19534
19419
  callBack: function callBack(newName) {
19535
19420
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19536
- var editTreeDataName = function editTreeDataName(oldTreeData) {
19421
+ var _editTreeDataName = function editTreeDataName(oldTreeData) {
19537
19422
  oldTreeData.forEach(function (treeItem) {
19538
19423
  if (treeItem.path === item.path) {
19539
19424
  treeItem.name = newName;
19540
19425
  }
19541
19426
  if (treeItem.children) {
19542
- editTreeDataName(treeItem.children);
19427
+ _editTreeDataName(treeItem.children);
19543
19428
  }
19544
19429
  });
19545
19430
  };
19546
- editTreeDataName(oldTreeData);
19431
+ _editTreeDataName(oldTreeData);
19547
19432
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19548
19433
  _this.setState({
19549
19434
  modalInfo: {
@@ -19588,7 +19473,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19588
19473
  title: '新增子目录',
19589
19474
  callBack: function callBack(newName) {
19590
19475
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19591
- var addChildFolder = function addChildFolder(oldTreeData) {
19476
+ var _addChildFolder = function addChildFolder(oldTreeData) {
19592
19477
  oldTreeData.forEach(function (treeItem) {
19593
19478
  if (treeItem.path === item.path) {
19594
19479
  treeItem.children ? treeItem.children.push({
@@ -19600,11 +19485,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19600
19485
  }];
19601
19486
  }
19602
19487
  if (treeItem.children) {
19603
- addChildFolder(treeItem.children);
19488
+ _addChildFolder(treeItem.children);
19604
19489
  }
19605
19490
  });
19606
19491
  };
19607
- addChildFolder(oldTreeData);
19492
+ _addChildFolder(oldTreeData);
19608
19493
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19609
19494
  _this.setState({
19610
19495
  modalInfo: {
@@ -19663,7 +19548,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19663
19548
  var _this$state = this.state,
19664
19549
  modalInfo = _this$state.modalInfo,
19665
19550
  checkedKeys = _this$state.checkedKeys;
19666
- var loop = function loop(data) {
19551
+ var _loop2 = function loop(data) {
19667
19552
  return data.map(function (item) {
19668
19553
  if (item.children && item.children.length) {
19669
19554
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -19680,7 +19565,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19680
19565
  e.stopPropagation();
19681
19566
  }
19682
19567
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
19683
- }, loop(item.children));
19568
+ }, _loop2(item.children));
19684
19569
  }
19685
19570
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
19686
19571
  path: item.path,
@@ -19759,7 +19644,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19759
19644
  children: 'children'
19760
19645
  },
19761
19646
  onDrop: this.onDrop
19762
- }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
19647
+ }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
19763
19648
  width: 600,
19764
19649
  bodyStyle: {
19765
19650
  paddingTop: '32px',
@@ -19872,7 +19757,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19872
19757
  pathname: item.path
19873
19758
  });
19874
19759
  };
19875
- var getMenuDom = function getMenuDom(menuData) {
19760
+ var _getMenuDom = function getMenuDom(menuData) {
19876
19761
  return menuData.map(function (item) {
19877
19762
  return /*#__PURE__*/React$1.createElement("div", {
19878
19763
  style: {
@@ -19887,7 +19772,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19887
19772
  fontWeight: item.children || !item.component ? 'bolder' : '400',
19888
19773
  paddingLeft: '4px'
19889
19774
  }
19890
- }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
19775
+ }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
19891
19776
  });
19892
19777
  };
19893
19778
  return /*#__PURE__*/React$1.createElement("div", {
@@ -19913,7 +19798,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19913
19798
  style: {
19914
19799
  paddingLeft: '5px'
19915
19800
  }
19916
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
19801
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
19917
19802
  style: {
19918
19803
  left: isDrawer ? 140 : 0
19919
19804
  },
@@ -19934,7 +19819,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
19934
19819
  visible: isDrawer
19935
19820
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
19936
19821
  className: 'menu_title_line'
19937
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
19822
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
19938
19823
  title: /*#__PURE__*/React$1.createElement("span", {
19939
19824
  style: {
19940
19825
  fontWeight: '600',
@@ -20008,7 +19893,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20008
19893
  return item.path === '/';
20009
19894
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20010
19895
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20011
- setMenuTreeData(routesData);
19896
+ _setMenuTreeData(routesData);
20012
19897
  routesData.forEach(function (item) {
20013
19898
  if (item.children) {
20014
19899
  routesDataList.push(item);
@@ -20038,7 +19923,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20038
19923
  setHeight(clientHeight - 190);
20039
19924
  setDrawHeight(clientHeight - 70);
20040
19925
  };
20041
- var renderChildItem = function renderChildItem(child) {
19926
+ var _renderChildItem = function renderChildItem(child) {
20042
19927
  if (!child.hideInMenu && child.children) {
20043
19928
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
20044
19929
  style: {
@@ -20048,7 +19933,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20048
19933
  }, formatMessage({
20049
19934
  id: "".concat(child.locale)
20050
19935
  })), child.children.map(function (menuItem) {
20051
- return renderChildItem(menuItem);
19936
+ return _renderChildItem(menuItem);
20052
19937
  }));
20053
19938
  } else if (!child.hideInMenu && child.path) {
20054
19939
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -20190,7 +20075,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20190
20075
  onMenuClick(e, item);
20191
20076
  }
20192
20077
  }, item.name);
20193
- }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
20078
+ }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
20194
20079
  className: 'search_menu_content'
20195
20080
  }, SearhData.map(function (item) {
20196
20081
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20199,7 +20084,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20199
20084
  },
20200
20085
  key: item.path
20201
20086
  }, item.name);
20202
- }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20087
+ }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20203
20088
  style: {
20204
20089
  height: "".concat(rightMenuHeight, "px"),
20205
20090
  overflowY: 'scroll',
@@ -20211,7 +20096,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20211
20096
  className: 'drawerWarp_right'
20212
20097
  }, homepageData && homepageData.filter(function (d) {
20213
20098
  return !d.hideInMenu;
20214
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
20099
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
20215
20100
  className: classNames('allFunsList', 'allFunsListWarp'),
20216
20101
  dataSource: homepageData,
20217
20102
  renderItem: function renderItem(child) {
@@ -20252,7 +20137,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20252
20137
  bordered: true,
20253
20138
  dataSource: item.children,
20254
20139
  renderItem: function renderItem(child) {
20255
- return renderChildItem(child);
20140
+ return _renderChildItem(child);
20256
20141
  }
20257
20142
  });
20258
20143
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -20410,10 +20295,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20410
20295
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
20411
20296
  var menuKeys = [];
20412
20297
  var docsId = [];
20413
- var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20298
+ var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20414
20299
  data.forEach(function (item) {
20415
20300
  if (item.children && item.children.length > 0) {
20416
- getLimitedMenuKeys(item.children);
20301
+ _getLimitedMenuKeys(item.children);
20417
20302
  } else {
20418
20303
  var originPath = item.path.replace(/^\/\w+\//, '/');
20419
20304
  menuKeys.push(originPath);
@@ -20424,7 +20309,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20424
20309
  });
20425
20310
  };
20426
20311
  try {
20427
- getLimitedMenuKeys(limitedMenuData);
20312
+ _getLimitedMenuKeys(limitedMenuData);
20428
20313
  } catch (e) {}
20429
20314
  return {
20430
20315
  menuKeys: menuKeys,
@@ -20658,10 +20543,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20658
20543
  return (node.path || '').includes('all-general-documents');
20659
20544
  };
20660
20545
  // 递归获取树列表
20661
- var getTreeList = function getTreeList(data) {
20546
+ var _getTreeList = function getTreeList(data) {
20662
20547
  data.forEach(function (node) {
20663
20548
  if (node.routes && node.routes.length > 0) {
20664
- getTreeList(node.routes);
20549
+ _getTreeList(node.routes);
20665
20550
  return;
20666
20551
  }
20667
20552
  // todo:暂时处理非wujie环境不做404管控
@@ -20692,7 +20577,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20692
20577
  }
20693
20578
  });
20694
20579
  };
20695
- getTreeList(treeData);
20580
+ _getTreeList(treeData);
20696
20581
  return treeList;
20697
20582
  };
20698
20583
  _this.getDictionarySource = function (dicCode) {
@@ -21321,7 +21206,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21321
21206
  updateState = _ref8.updateState;
21322
21207
  return /*#__PURE__*/React$1.createElement("div", {
21323
21208
  className: "tab_title_content"
21324
- }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
21209
+ }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
21325
21210
  info: item,
21326
21211
  operateFun: _this3.operateFun,
21327
21212
  listenRouterState: listenRouterState
@@ -21457,7 +21342,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21457
21342
  };
21458
21343
  }
21459
21344
  var OperationsSlot = {
21460
- left: ( /*#__PURE__*/React$1.createElement("div", {
21345
+ left: (/*#__PURE__*/React$1.createElement("div", {
21461
21346
  className: 'tab_left_operate'
21462
21347
  }, /*#__PURE__*/React$1.createElement("div", {
21463
21348
  onClick: function onClick() {
@@ -21473,7 +21358,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21473
21358
  _this3.setTabNavTransLate(-100);
21474
21359
  }
21475
21360
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
21476
- right: ( /*#__PURE__*/React$1.createElement("div", {
21361
+ right: (/*#__PURE__*/React$1.createElement("div", {
21477
21362
  style: {
21478
21363
  opacity: this.state.isSlider ? 1 : 0.5
21479
21364
  },
@@ -21571,7 +21456,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21571
21456
  onMouseLeave: function onMouseLeave() {
21572
21457
  _this3.setShowMenu(false);
21573
21458
  }
21574
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21459
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21575
21460
  style: {
21576
21461
  position: 'absolute',
21577
21462
  top: '14px',
@@ -21590,7 +21475,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21590
21475
  postMenuData: function postMenuData(menus) {
21591
21476
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21592
21477
  },
21593
- links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
21478
+ links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
21594
21479
  ref: this.allFunc,
21595
21480
  itemPath: itemPath,
21596
21481
  handleClose: this.handleClose,
@@ -21608,7 +21493,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21608
21493
  },
21609
21494
  menu: {
21610
21495
  request: function () {
21611
- var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21496
+ var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21612
21497
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21613
21498
  while (1) switch (_context.prev = _context.next) {
21614
21499
  case 0:
@@ -21743,7 +21628,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
21743
21628
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
21744
21629
  timeFormat = _this$props4.timeFormat,
21745
21630
  transparentProps = _this$props4.transparentProps;
21746
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? ( /*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
21631
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (/*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
21747
21632
  getDictionarySource: getDictionarySource,
21748
21633
  getDictionaryTextByValue: getDictionaryTextByValue,
21749
21634
  timeFormat: timeFormat
@@ -21767,12 +21652,12 @@ var index$5 = (function (props) {
21767
21652
  });
21768
21653
 
21769
21654
  // @ts-nocheck
21770
- var getAllColumns = function getAllColumns(columns) {
21655
+ var _getAllColumns = function getAllColumns(columns) {
21771
21656
  var result = [];
21772
21657
  columns.forEach(function (column) {
21773
21658
  if (column.children) {
21774
21659
  result.push(column);
21775
- result.push.apply(result, getAllColumns(column.children));
21660
+ result.push.apply(result, _getAllColumns(column.children));
21776
21661
  } else {
21777
21662
  result.push(column);
21778
21663
  }
@@ -21781,7 +21666,7 @@ var getAllColumns = function getAllColumns(columns) {
21781
21666
  };
21782
21667
  var convertToRows = function convertToRows(originColumns) {
21783
21668
  var maxLevel = 1;
21784
- var traverse = function traverse(column, parent) {
21669
+ var _traverse = function traverse(column, parent) {
21785
21670
  if (parent) {
21786
21671
  column.level = parent.level + 1;
21787
21672
  if (maxLevel < column.level) {
@@ -21791,7 +21676,7 @@ var convertToRows = function convertToRows(originColumns) {
21791
21676
  if (column.children) {
21792
21677
  var colSpan = 0;
21793
21678
  column.children.forEach(function (subColumn) {
21794
- traverse(subColumn, column);
21679
+ _traverse(subColumn, column);
21795
21680
  colSpan += subColumn.colSpan;
21796
21681
  });
21797
21682
  column.colSpan = colSpan;
@@ -21801,13 +21686,13 @@ var convertToRows = function convertToRows(originColumns) {
21801
21686
  };
21802
21687
  originColumns.forEach(function (column) {
21803
21688
  column.level = 1;
21804
- traverse(column);
21689
+ _traverse(column);
21805
21690
  });
21806
21691
  var rows = [];
21807
21692
  for (var i = 0; i < maxLevel; i++) {
21808
21693
  rows.push([]);
21809
21694
  }
21810
- var allColumns = getAllColumns(originColumns);
21695
+ var allColumns = _getAllColumns(originColumns);
21811
21696
  allColumns.forEach(function (column) {
21812
21697
  if (!column.children) {
21813
21698
  column.rowSpan = maxLevel - column.level + 1;
@@ -21847,7 +21732,7 @@ var convertToRows = function convertToRows(originColumns) {
21847
21732
  };
21848
21733
  var headersToRows = function headersToRows(originColumns) {
21849
21734
  var maxLevel = 1;
21850
- var traverse = function traverse(column, parent) {
21735
+ var _traverse2 = function traverse(column, parent) {
21851
21736
  if (parent) {
21852
21737
  //计算当前元素属于第几个层级
21853
21738
  column.level = parent.level + 1;
@@ -21860,7 +21745,7 @@ var headersToRows = function headersToRows(originColumns) {
21860
21745
  var colSpan = 0;
21861
21746
  column.children.forEach(function (subColumn) {
21862
21747
  //进行递归
21863
- traverse(subColumn, column);
21748
+ _traverse2(subColumn, column);
21864
21749
  colSpan += subColumn.colSpan;
21865
21750
  });
21866
21751
  column.colSpan = colSpan;
@@ -21870,14 +21755,14 @@ var headersToRows = function headersToRows(originColumns) {
21870
21755
  };
21871
21756
  originColumns.forEach(function (column) {
21872
21757
  column.level = 1;
21873
- traverse(column);
21758
+ _traverse2(column);
21874
21759
  });
21875
21760
  var rows = [];
21876
21761
  var lastData = [];
21877
21762
  for (var i = 0; i < maxLevel; i++) {
21878
21763
  rows.push([]);
21879
21764
  }
21880
- var allColumns = getAllColumns(originColumns);
21765
+ var allColumns = _getAllColumns(originColumns);
21881
21766
  allColumns.forEach(function (column) {
21882
21767
  if (!column.children) {
21883
21768
  column.rowSpan = maxLevel - column.level + 1;
@@ -27894,7 +27779,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
27894
27779
  }
27895
27780
  return lineStart <= highLightLine && lineEnd >= highLightLine;
27896
27781
  };
27897
- var hasHighLightChildren = function hasHighLightChildren() {
27782
+ var _hasHighLightChildren = function hasHighLightChildren() {
27898
27783
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
27899
27784
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
27900
27785
  var children = hightLightData.children,
@@ -27905,7 +27790,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
27905
27790
  lineEnd = _loc2[2];
27906
27791
  if (children) {
27907
27792
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
27908
- return hasHighLightChildren(v, highLightLine);
27793
+ return _hasHighLightChildren(v, highLightLine);
27909
27794
  });
27910
27795
  }
27911
27796
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -27917,7 +27802,7 @@ function createHighLightTreeData(treeData, highLightLine) {
27917
27802
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
27918
27803
  data.forEach(function (node) {
27919
27804
  if (!node) return;
27920
- node.toggled = hasHighLightChildren(node, highLightLine);
27805
+ node.toggled = _hasHighLightChildren(node, highLightLine);
27921
27806
  node.active = isHightLight(node, highLightLine);
27922
27807
  if (node.children) {
27923
27808
  if (node.active) {
@@ -29348,7 +29233,7 @@ var valueType = {
29348
29233
  };
29349
29234
 
29350
29235
  var getDynamicDict = /*#__PURE__*/function () {
29351
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29236
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29352
29237
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29353
29238
  while (1) switch (_context.prev = _context.next) {
29354
29239
  case 0:
@@ -29416,7 +29301,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29416
29301
  value: false
29417
29302
  }];
29418
29303
  var ref = useRef();
29419
- useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29304
+ useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29420
29305
  var _ref$current, source;
29421
29306
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29422
29307
  while (1) switch (_context.prev = _context.next) {
@@ -29530,7 +29415,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29530
29415
  source: {
29531
29416
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
29532
29417
  type: function () {
29533
- var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29418
+ var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29534
29419
  var form, values, name, relates, source;
29535
29420
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29536
29421
  while (1) switch (_context2.prev = _context2.next) {
@@ -30010,7 +29895,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30010
29895
  source: {
30011
29896
  relates: ['choiceType', 'inputType'],
30012
29897
  type: function () {
30013
- var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
29898
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30014
29899
  var values, name, form, source;
30015
29900
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30016
29901
  while (1) switch (_context3.prev = _context3.next) {
@@ -30232,7 +30117,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30232
30117
  width: 900,
30233
30118
  maskClosable: false,
30234
30119
  onOk: function () {
30235
- var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30120
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30236
30121
  var _ref$current4, _res$editableStatus;
30237
30122
  var res, _res$defaultValue;
30238
30123
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -30304,7 +30189,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30304
30189
  }()
30305
30190
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
30306
30191
  ref: ref
30307
- })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30192
+ })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30308
30193
  };
30309
30194
 
30310
30195
  // @ts-nocheck
@@ -30918,7 +30803,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30918
30803
  return setVisible(false);
30919
30804
  },
30920
30805
  className: 'customFieldsDrawer'
30921
- }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
30806
+ }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
30922
30807
  style: {
30923
30808
  display: 'flex'
30924
30809
  }
@@ -30927,13 +30812,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30927
30812
  flex: 1,
30928
30813
  width: 500
30929
30814
  }
30930
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
30815
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
30931
30816
  style: {
30932
30817
  padding: "10px 0",
30933
30818
  fontSize: "16px",
30934
30819
  fontWeight: "bolder"
30935
30820
  }
30936
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
30821
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
30937
30822
  style: {
30938
30823
  flex: 1
30939
30824
  }
@@ -30942,7 +30827,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30942
30827
  onRun: onClickRun,
30943
30828
  value: jsonEditorVal,
30944
30829
  shallowHeight: height
30945
- })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
30830
+ })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
30946
30831
  defaultActiveKey: activeKey,
30947
30832
  onChange: function onChange(v) {
30948
30833
  return setActiveKey(v);
@@ -30959,13 +30844,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30959
30844
  flex: 1,
30960
30845
  width: 500
30961
30846
  }
30962
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
30847
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
30963
30848
  style: {
30964
30849
  padding: "10px 0",
30965
30850
  fontSize: "16px",
30966
30851
  fontWeight: "bolder"
30967
30852
  }
30968
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
30853
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
30969
30854
  style: {
30970
30855
  flex: 1
30971
30856
  }
@@ -30987,13 +30872,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
30987
30872
  flex: 1,
30988
30873
  width: 500
30989
30874
  }
30990
- }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
30875
+ }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
30991
30876
  style: {
30992
30877
  padding: "10px 0",
30993
30878
  fontSize: "16px",
30994
30879
  fontWeight: "bolder"
30995
30880
  }
30996
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
30881
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
30997
30882
  style: {
30998
30883
  flex: 1
30999
30884
  }
@@ -31139,7 +31024,7 @@ function getMetaData(_x) {
31139
31024
 
31140
31025
  // 获取数据
31141
31026
  function _getMetaData() {
31142
- _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31027
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31143
31028
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31144
31029
  while (1) switch (_context.prev = _context.next) {
31145
31030
  case 0:
@@ -31361,7 +31246,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31361
31246
  tableState = _useState4[0],
31362
31247
  setTableState = _useState4[1];
31363
31248
  var handleOpen = /*#__PURE__*/function () {
31364
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31249
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31365
31250
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
31366
31251
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
31367
31252
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -31680,7 +31565,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31680
31565
  destroyOnClose: true
31681
31566
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
31682
31567
  ref: queryTableRef
31683
- }, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && ( /*#__PURE__*/React$1.createElement(Row, {
31568
+ }, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (/*#__PURE__*/React$1.createElement(Row, {
31684
31569
  justify: "center",
31685
31570
  style: {
31686
31571
  marginBottom: 30,
@@ -31796,7 +31681,7 @@ var CustomSelector = (function (props) {
31796
31681
  var _props$ctx7;
31797
31682
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
31798
31683
  }
31799
- })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
31684
+ })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
31800
31685
  type: "primary",
31801
31686
  style: {
31802
31687
  width: '30px',
@@ -31882,7 +31767,7 @@ var BsCascader = function BsCascader(_ref) {
31882
31767
  _useState2 = _slicedToArray(_useState, 2),
31883
31768
  handSource = _useState2[0],
31884
31769
  setHandSource = _useState2[1];
31885
- useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31770
+ useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31886
31771
  var resData, data;
31887
31772
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31888
31773
  while (1) switch (_context.prev = _context.next) {
@@ -32034,7 +31919,7 @@ function getRegularThresholdRange(_x) {
32034
31919
  return _getRegularThresholdRange.apply(this, arguments);
32035
31920
  }
32036
31921
  function _getRegularThresholdRange() {
32037
- _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
31922
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32038
31923
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32039
31924
  while (1) switch (_context.prev = _context.next) {
32040
31925
  case 0:
@@ -32188,7 +32073,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32188
32073
  };
32189
32074
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32190
32075
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32191
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32076
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32192
32077
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32193
32078
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32194
32079
  while (1) switch (_context.prev = _context.next) {
@@ -32462,7 +32347,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32462
32347
  }
32463
32348
  callback(values, valueNames);
32464
32349
  },
32465
- getPopupContainer: function getPopupContainer() {
32350
+ highestPopContainer: function highestPopContainer() {
32466
32351
  return document.body;
32467
32352
  }
32468
32353
  }), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
@@ -32495,27 +32380,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
32495
32380
  }
32496
32381
  callback(values, valueNames);
32497
32382
  },
32498
- getPopupContainer: function getPopupContainer() {
32383
+ highestPopContainer: function highestPopContainer() {
32499
32384
  return document.body;
32500
32385
  }
32501
32386
  }));
32502
32387
  } else {
32503
32388
  var _values;
32504
- var currentValue = dataInputBusinessType === 12 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
32389
+ var currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values = values) === null || _values === void 0 ? void 0 : _values.map(function (s, vIndex) {
32505
32390
  return {
32506
32391
  key: s,
32507
- label: valueNames[vIndex]
32392
+ label: valueNames[vIndex],
32393
+ value: s
32508
32394
  };
32509
32395
  })) || [] : values[0] && {
32510
32396
  key: values[0],
32511
- label: valueNames[0]
32397
+ label: valueNames[0],
32398
+ value: values[0]
32512
32399
  } || {};
32513
32400
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
32514
32401
  selectBusinessType: "physicalWarehouse",
32515
32402
  selectProps: _objectSpread2({
32516
32403
  style: styleCommon,
32517
32404
  placeholder: '请选择物理仓'
32518
- }, dataInputBusinessType === 12 ? {
32405
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
32519
32406
  mode: 'multiple',
32520
32407
  maxTagCount: 1
32521
32408
  } : {}),
@@ -32527,7 +32414,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32527
32414
  filterInit: 'qp-physicalWarehouseCode-in'
32528
32415
  },
32529
32416
  onChange: function onChange(value) {
32530
- if (dataInputBusinessType === 12) {
32417
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
32531
32418
  values = value.map(function (i) {
32532
32419
  return i.key;
32533
32420
  }) || [];
@@ -32540,7 +32427,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32540
32427
  }
32541
32428
  callback(values, valueNames);
32542
32429
  },
32543
- getPopupContainer: function getPopupContainer() {
32430
+ highestPopContainer: function highestPopContainer() {
32544
32431
  return document.body;
32545
32432
  }
32546
32433
  });
@@ -32579,7 +32466,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32579
32466
  }
32580
32467
  callback(values, valueNames);
32581
32468
  },
32582
- getPopupContainer: function getPopupContainer() {
32469
+ highestPopContainer: function highestPopContainer() {
32583
32470
  return document.body;
32584
32471
  }
32585
32472
  }), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
@@ -32612,27 +32499,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
32612
32499
  }
32613
32500
  callback(values, valueNames);
32614
32501
  },
32615
- getPopupContainer: function getPopupContainer() {
32502
+ highestPopContainer: function highestPopContainer() {
32616
32503
  return document.body;
32617
32504
  }
32618
32505
  }));
32619
32506
  } else {
32620
32507
  var _values2;
32621
- var _currentValue = dataInputBusinessType === 12 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
32508
+ var _currentValue = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values2 = values) === null || _values2 === void 0 ? void 0 : _values2.map(function (s, vIndex) {
32622
32509
  return {
32623
32510
  key: s,
32624
- label: valueNames[vIndex]
32511
+ label: valueNames[vIndex],
32512
+ value: s
32625
32513
  };
32626
32514
  })) || [] : values[0] && {
32627
32515
  key: values[0],
32628
- label: valueNames[0]
32516
+ label: valueNames[0],
32517
+ value: values[0]
32629
32518
  } || {};
32630
32519
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
32631
32520
  selectBusinessType: "realWarehouse",
32632
32521
  selectProps: _objectSpread2({
32633
32522
  style: styleCommon,
32634
32523
  placeholder: '请选择逻辑仓'
32635
- }, dataInputBusinessType === 12 ? {
32524
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
32636
32525
  mode: 'multiple',
32637
32526
  maxTagCount: 1
32638
32527
  } : {}),
@@ -32644,7 +32533,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32644
32533
  filterInit: 'qp-realWarehouseCode-in'
32645
32534
  },
32646
32535
  onChange: function onChange(value) {
32647
- if (dataInputBusinessType === 12) {
32536
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
32648
32537
  values = value.map(function (i) {
32649
32538
  return i.key;
32650
32539
  }) || [];
@@ -32657,7 +32546,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32657
32546
  }
32658
32547
  callback(values, valueNames);
32659
32548
  },
32660
- getPopupContainer: function getPopupContainer() {
32549
+ highestPopContainer: function highestPopContainer() {
32661
32550
  return document.body;
32662
32551
  }
32663
32552
  });
@@ -32696,7 +32585,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32696
32585
  }
32697
32586
  callback(values, valueNames);
32698
32587
  },
32699
- getPopupContainer: function getPopupContainer() {
32588
+ highestPopContainer: function highestPopContainer() {
32700
32589
  return document.body;
32701
32590
  }
32702
32591
  }), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
@@ -32729,27 +32618,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
32729
32618
  }
32730
32619
  callback(values, valueNames);
32731
32620
  },
32732
- getPopupContainer: function getPopupContainer() {
32621
+ highestPopContainer: function highestPopContainer() {
32733
32622
  return document.body;
32734
32623
  }
32735
32624
  }));
32736
32625
  } else {
32737
32626
  var _values3;
32738
- var _currentValue2 = dataInputBusinessType === 12 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
32627
+ var _currentValue2 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values3 = values) === null || _values3 === void 0 ? void 0 : _values3.map(function (s, vIndex) {
32739
32628
  return {
32740
32629
  key: s,
32741
- label: valueNames[vIndex]
32630
+ label: valueNames[vIndex],
32631
+ value: s
32742
32632
  };
32743
32633
  })) || [] : values[0] && {
32744
32634
  key: values[0],
32745
- label: valueNames[0]
32635
+ label: valueNames[0],
32636
+ value: values[0]
32746
32637
  } || {};
32747
32638
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
32748
32639
  selectBusinessType: "virtualWarehouse",
32749
32640
  selectProps: _objectSpread2({
32750
32641
  style: styleCommon,
32751
32642
  placeholder: '请选择虚拟仓'
32752
- }, dataInputBusinessType === 12 ? {
32643
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
32753
32644
  mode: 'multiple',
32754
32645
  maxTagCount: 1
32755
32646
  } : {}),
@@ -32761,7 +32652,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32761
32652
  filterInit: 'qp-virtualWarehouseCode-in'
32762
32653
  },
32763
32654
  onChange: function onChange(value) {
32764
- if (dataInputBusinessType === 12) {
32655
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
32765
32656
  values = value.map(function (i) {
32766
32657
  return i.key;
32767
32658
  }) || [];
@@ -32774,7 +32665,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32774
32665
  }
32775
32666
  callback(values, valueNames);
32776
32667
  },
32777
- getPopupContainer: function getPopupContainer() {
32668
+ highestPopContainer: function highestPopContainer() {
32778
32669
  return document.body;
32779
32670
  }
32780
32671
  });
@@ -32846,27 +32737,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
32846
32737
  }
32847
32738
  callback(values, valueNames);
32848
32739
  },
32849
- getPopupContainer: function getPopupContainer() {
32740
+ highestPopContainer: function highestPopContainer() {
32850
32741
  return document.body;
32851
32742
  }
32852
32743
  }));
32853
32744
  } else {
32854
32745
  var _values4;
32855
- var _currentValue3 = dataInputBusinessType === 12 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
32746
+ var _currentValue3 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values4 = values) === null || _values4 === void 0 ? void 0 : _values4.map(function (s, vIndex) {
32856
32747
  return {
32857
32748
  key: s,
32858
- label: valueNames[vIndex]
32749
+ label: valueNames[vIndex],
32750
+ value: s
32859
32751
  };
32860
32752
  })) || [] : values[0] && {
32861
32753
  key: values[0],
32862
- label: valueNames[0]
32754
+ label: valueNames[0],
32755
+ value: values[0]
32863
32756
  } || {};
32864
32757
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
32865
32758
  selectBusinessType: "channelWarehouse",
32866
32759
  selectProps: _objectSpread2({
32867
32760
  style: styleCommon,
32868
32761
  placeholder: '请选择渠道仓'
32869
- }, dataInputBusinessType === 12 ? {
32762
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
32870
32763
  mode: 'multiple',
32871
32764
  maxTagCount: 1
32872
32765
  } : {}),
@@ -32878,7 +32771,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32878
32771
  filterInit: 'qp-channelWarehouseCode-in'
32879
32772
  },
32880
32773
  onChange: function onChange(value) {
32881
- if (dataInputBusinessType === 12) {
32774
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
32882
32775
  values = value.map(function (i) {
32883
32776
  return i.key;
32884
32777
  }) || [];
@@ -32891,7 +32784,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32891
32784
  }
32892
32785
  callback(values, valueNames);
32893
32786
  },
32894
- getPopupContainer: function getPopupContainer() {
32787
+ highestPopContainer: function highestPopContainer() {
32895
32788
  return document.body;
32896
32789
  }
32897
32790
  });
@@ -32929,7 +32822,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32929
32822
  }
32930
32823
  callback(values, valueNames);
32931
32824
  },
32932
- getPopupContainer: function getPopupContainer() {
32825
+ highestPopContainer: function highestPopContainer() {
32933
32826
  return document.body;
32934
32827
  }
32935
32828
  }), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
@@ -32961,27 +32854,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
32961
32854
  }
32962
32855
  callback(values, valueNames);
32963
32856
  },
32964
- getPopupContainer: function getPopupContainer() {
32857
+ highestPopContainer: function highestPopContainer() {
32965
32858
  return document.body;
32966
32859
  }
32967
32860
  }));
32968
32861
  } else {
32969
32862
  var _values5;
32970
- var _currentValue4 = dataInputBusinessType === 12 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
32863
+ var _currentValue4 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values5 = values) === null || _values5 === void 0 ? void 0 : _values5.map(function (s, vIndex) {
32971
32864
  return {
32972
32865
  key: s,
32973
- label: valueNames[vIndex]
32866
+ label: valueNames[vIndex],
32867
+ value: s
32974
32868
  };
32975
32869
  })) || [] : values[0] && {
32976
32870
  key: values[0],
32977
- label: valueNames[0]
32871
+ label: valueNames[0],
32872
+ value: values[0]
32978
32873
  } || {};
32979
32874
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
32980
32875
  selectBusinessType: "spuCommodity",
32981
32876
  selectProps: _objectSpread2({
32982
32877
  style: styleCommon,
32983
32878
  placeholder: '请选择SPU'
32984
- }, dataInputBusinessType === 12 ? {
32879
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
32985
32880
  mode: 'multiple',
32986
32881
  maxTagCount: 1
32987
32882
  } : {}),
@@ -32992,7 +32887,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32992
32887
  filterInit: 'qp-itemCode-in'
32993
32888
  },
32994
32889
  onChange: function onChange(value) {
32995
- if (dataInputBusinessType === 12) {
32890
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
32996
32891
  values = value.map(function (i) {
32997
32892
  return i.key;
32998
32893
  }) || [];
@@ -33005,7 +32900,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33005
32900
  }
33006
32901
  callback(values, valueNames);
33007
32902
  },
33008
- getPopupContainer: function getPopupContainer() {
32903
+ highestPopContainer: function highestPopContainer() {
33009
32904
  return document.body;
33010
32905
  }
33011
32906
  });
@@ -33081,21 +32976,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
33081
32976
  }));
33082
32977
  } else {
33083
32978
  var _values6;
33084
- var _currentValue5 = dataInputBusinessType === 12 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
32979
+ var _currentValue5 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values6 = values) === null || _values6 === void 0 ? void 0 : _values6.map(function (s, vIndex) {
33085
32980
  return {
33086
32981
  key: s,
33087
- label: valueNames[vIndex]
32982
+ label: valueNames[vIndex],
32983
+ value: s
33088
32984
  };
33089
32985
  })) || [] : values[0] && {
33090
32986
  key: values[0],
33091
- label: valueNames[0]
32987
+ label: valueNames[0],
32988
+ value: values[0]
33092
32989
  } || {};
33093
32990
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
33094
32991
  selectBusinessType: "skuCommodity",
33095
32992
  selectProps: _objectSpread2({
33096
32993
  style: styleCommon,
33097
32994
  placeholder: '请选择商品'
33098
- }, dataInputBusinessType === 12 ? {
32995
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
33099
32996
  mode: 'multiple',
33100
32997
  maxTagCount: 1
33101
32998
  } : {}),
@@ -33106,7 +33003,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33106
33003
  filterInit: 'qp-skuCode-in'
33107
33004
  },
33108
33005
  onChange: function onChange(value) {
33109
- if (dataInputBusinessType === 12) {
33006
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
33110
33007
  values = value.map(function (i) {
33111
33008
  return i.key;
33112
33009
  }) || [];
@@ -33119,7 +33016,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33119
33016
  }
33120
33017
  callback(values, valueNames);
33121
33018
  },
33122
- getPopupContainer: function getPopupContainer() {
33019
+ highestPopContainer: function highestPopContainer() {
33123
33020
  return document.body;
33124
33021
  }
33125
33022
  });
@@ -33133,7 +33030,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33133
33030
  isAll: true,
33134
33031
  needNameAndCode: true,
33135
33032
  notChangeOnSelect: true,
33136
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33033
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33137
33034
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33138
33035
  while (1) switch (_context2.prev = _context2.next) {
33139
33036
  case 0:
@@ -33182,7 +33079,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33182
33079
  isAll: true,
33183
33080
  needNameAndCode: true,
33184
33081
  notChangeOnSelect: true,
33185
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33082
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33186
33083
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33187
33084
  while (1) switch (_context3.prev = _context3.next) {
33188
33085
  case 0:
@@ -33233,7 +33130,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33233
33130
  isAll: true,
33234
33131
  needNameAndCode: true,
33235
33132
  notChangeOnSelect: true,
33236
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33133
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33237
33134
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33238
33135
  while (1) switch (_context4.prev = _context4.next) {
33239
33136
  case 0:
@@ -33560,7 +33457,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33560
33457
  }
33561
33458
  callback(values, valueNames);
33562
33459
  },
33563
- getPopupContainer: function getPopupContainer() {
33460
+ highestPopContainer: function highestPopContainer() {
33564
33461
  return document.body;
33565
33462
  }
33566
33463
  }), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
@@ -33592,27 +33489,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
33592
33489
  }
33593
33490
  callback(values, valueNames);
33594
33491
  },
33595
- getPopupContainer: function getPopupContainer() {
33492
+ highestPopContainer: function highestPopContainer() {
33596
33493
  return document.body;
33597
33494
  }
33598
33495
  }));
33599
33496
  } else {
33600
33497
  var _values7;
33601
- var _currentValue6 = dataInputBusinessType === 12 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
33498
+ var _currentValue6 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values7 = values) === null || _values7 === void 0 ? void 0 : _values7.map(function (s, vIndex) {
33602
33499
  return {
33603
33500
  key: s,
33604
- label: valueNames[vIndex]
33501
+ label: valueNames[vIndex],
33502
+ value: s
33605
33503
  };
33606
33504
  })) || [] : values[0] && {
33607
33505
  key: values[0],
33608
- label: valueNames[0]
33506
+ label: valueNames[0],
33507
+ value: values[0]
33609
33508
  } || {};
33610
33509
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
33611
33510
  selectBusinessType: "supplier2",
33612
33511
  selectProps: _objectSpread2({
33613
33512
  style: styleCommon,
33614
33513
  placeholder: '请选择供应商'
33615
- }, dataInputBusinessType === 12 ? {
33514
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
33616
33515
  mode: 'multiple',
33617
33516
  maxTagCount: 1
33618
33517
  } : {}),
@@ -33623,7 +33522,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33623
33522
  filterInit: 'qp-code-in'
33624
33523
  },
33625
33524
  onChange: function onChange(value) {
33626
- if (dataInputBusinessType === 12) {
33525
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
33627
33526
  values = value.map(function (i) {
33628
33527
  return i.key;
33629
33528
  }) || [];
@@ -33636,7 +33535,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33636
33535
  }
33637
33536
  callback(values, valueNames);
33638
33537
  },
33639
- getPopupContainer: function getPopupContainer() {
33538
+ highestPopContainer: function highestPopContainer() {
33640
33539
  return document.body;
33641
33540
  }
33642
33541
  });
@@ -33712,21 +33611,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
33712
33611
  }));
33713
33612
  } else {
33714
33613
  var _values8;
33715
- var _currentValue7 = dataInputBusinessType === 12 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
33614
+ var _currentValue7 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values8 = values) === null || _values8 === void 0 ? void 0 : _values8.map(function (s, vIndex) {
33716
33615
  return {
33717
33616
  key: s,
33718
- label: valueNames[vIndex]
33617
+ label: valueNames[vIndex],
33618
+ value: s
33719
33619
  };
33720
33620
  })) || [] : values[0] && {
33721
33621
  key: values[0],
33722
- label: valueNames[0]
33622
+ label: valueNames[0],
33623
+ value: values[0]
33723
33624
  } || {};
33724
33625
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
33725
33626
  selectBusinessType: "customer2",
33726
33627
  selectProps: _objectSpread2({
33727
33628
  style: styleCommon,
33728
33629
  placeholder: '请选择客户'
33729
- }, dataInputBusinessType === 12 ? {
33630
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
33730
33631
  mode: 'multiple',
33731
33632
  maxTagCount: 1
33732
33633
  } : {}),
@@ -33737,7 +33638,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33737
33638
  filterInit: 'qp-code-in'
33738
33639
  },
33739
33640
  onChange: function onChange(value) {
33740
- if (dataInputBusinessType === 12) {
33641
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
33741
33642
  values = value.map(function (i) {
33742
33643
  return i.key;
33743
33644
  }) || [];
@@ -33750,7 +33651,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33750
33651
  }
33751
33652
  callback(values, valueNames);
33752
33653
  },
33753
- getPopupContainer: function getPopupContainer() {
33654
+ highestPopContainer: function highestPopContainer() {
33754
33655
  return document.body;
33755
33656
  }
33756
33657
  });
@@ -33826,21 +33727,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
33826
33727
  }));
33827
33728
  } else {
33828
33729
  var _values9;
33829
- var _currentValue8 = dataInputBusinessType === 12 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
33730
+ var _currentValue8 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values9 = values) === null || _values9 === void 0 ? void 0 : _values9.map(function (s, vIndex) {
33830
33731
  return {
33831
33732
  key: s,
33832
- label: valueNames[vIndex]
33733
+ label: valueNames[vIndex],
33734
+ value: s
33833
33735
  };
33834
33736
  })) || [] : values[0] && {
33835
33737
  key: values[0],
33836
- label: valueNames[0]
33738
+ label: valueNames[0],
33739
+ value: values[0]
33837
33740
  } || {};
33838
33741
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
33839
33742
  selectBusinessType: "shopFile2",
33840
33743
  selectProps: _objectSpread2({
33841
33744
  style: styleCommon,
33842
33745
  placeholder: '请选择店铺'
33843
- }, dataInputBusinessType === 12 ? {
33746
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
33844
33747
  mode: 'multiple',
33845
33748
  maxTagCount: 1
33846
33749
  } : {}),
@@ -33851,7 +33754,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33851
33754
  filterInit: 'qp-code-in'
33852
33755
  },
33853
33756
  onChange: function onChange(value) {
33854
- if (dataInputBusinessType === 12) {
33757
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
33855
33758
  values = value.map(function (i) {
33856
33759
  return i.key;
33857
33760
  }) || [];
@@ -33864,7 +33767,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33864
33767
  }
33865
33768
  callback(values, valueNames);
33866
33769
  },
33867
- getPopupContainer: function getPopupContainer() {
33770
+ highestPopContainer: function highestPopContainer() {
33868
33771
  return document.body;
33869
33772
  }
33870
33773
  });
@@ -33940,21 +33843,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
33940
33843
  }));
33941
33844
  } else {
33942
33845
  var _values10;
33943
- var _currentValue9 = dataInputBusinessType === 12 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
33846
+ var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
33944
33847
  return {
33945
33848
  key: s,
33946
- label: valueNames[vIndex]
33849
+ label: valueNames[vIndex],
33850
+ value: s
33947
33851
  };
33948
33852
  })) || [] : values[0] && {
33949
33853
  key: values[0],
33950
- label: valueNames[0]
33854
+ label: valueNames[0],
33855
+ value: values[0]
33951
33856
  } || {};
33952
33857
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
33953
33858
  selectBusinessType: "employee2",
33954
33859
  selectProps: _objectSpread2({
33955
33860
  style: styleCommon,
33956
33861
  placeholder: '请选择员工'
33957
- }, dataInputBusinessType === 12 ? {
33862
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
33958
33863
  mode: 'multiple',
33959
33864
  maxTagCount: 1
33960
33865
  } : {}),
@@ -33965,7 +33870,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33965
33870
  filterInit: 'qp-id-in'
33966
33871
  },
33967
33872
  onChange: function onChange(value) {
33968
- if (dataInputBusinessType === 12) {
33873
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
33969
33874
  values = value.map(function (i) {
33970
33875
  return i.key;
33971
33876
  }) || [];
@@ -33978,7 +33883,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33978
33883
  }
33979
33884
  callback(values, valueNames);
33980
33885
  },
33981
- getPopupContainer: function getPopupContainer() {
33886
+ highestPopContainer: function highestPopContainer() {
33982
33887
  return document.body;
33983
33888
  }
33984
33889
  });
@@ -34217,21 +34122,23 @@ var RuleField = /*#__PURE__*/function (_Component) {
34217
34122
  }));
34218
34123
  } else {
34219
34124
  var _values11;
34220
- var _currentValue10 = dataInputBusinessType === 12 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
34125
+ var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
34221
34126
  return {
34222
34127
  key: s,
34223
- label: valueNames[vIndex]
34128
+ label: valueNames[vIndex],
34129
+ value: s
34224
34130
  };
34225
34131
  })) || [] : values[0] && {
34226
34132
  key: values[0],
34227
- label: valueNames[0]
34133
+ label: valueNames[0],
34134
+ value: values[0]
34228
34135
  } || {};
34229
34136
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34230
34137
  selectBusinessType: "deliveryMode",
34231
34138
  selectProps: _objectSpread2({
34232
34139
  style: styleCommon,
34233
34140
  placeholder: '请选择配送方式'
34234
- }, dataInputBusinessType === 12 ? {
34141
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
34235
34142
  mode: 'multiple',
34236
34143
  maxTagCount: 1
34237
34144
  } : {}),
@@ -34242,7 +34149,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
34242
34149
  filterInit: 'qp-code-in'
34243
34150
  },
34244
34151
  onChange: function onChange(value) {
34245
- if (dataInputBusinessType === 12) {
34152
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
34246
34153
  values = value.map(function (i) {
34247
34154
  return i.key;
34248
34155
  }) || [];
@@ -34255,7 +34162,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
34255
34162
  }
34256
34163
  callback(values, valueNames);
34257
34164
  },
34258
- getPopupContainer: function getPopupContainer() {
34165
+ highestPopContainer: function highestPopContainer() {
34259
34166
  return document.body;
34260
34167
  }
34261
34168
  });
@@ -34293,7 +34200,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
34293
34200
  }
34294
34201
  callback(values, valueNames);
34295
34202
  },
34296
- getPopupContainer: function getPopupContainer() {
34203
+ highestPopContainer: function highestPopContainer() {
34297
34204
  return document.body;
34298
34205
  }
34299
34206
  }), /*#__PURE__*/React$1.createElement("span", null, "~"), /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
@@ -34325,27 +34232,29 @@ var RuleField = /*#__PURE__*/function (_Component) {
34325
34232
  }
34326
34233
  callback(values, valueNames);
34327
34234
  },
34328
- getPopupContainer: function getPopupContainer() {
34235
+ highestPopContainer: function highestPopContainer() {
34329
34236
  return document.body;
34330
34237
  }
34331
34238
  }));
34332
34239
  } else {
34333
34240
  var _values12;
34334
- var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
34241
+ var _currentValue11 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
34335
34242
  return {
34336
34243
  key: s,
34337
- label: valueNames[vIndex]
34244
+ label: valueNames[vIndex],
34245
+ value: s
34338
34246
  };
34339
34247
  })) || [] : values[0] && {
34340
34248
  key: values[0],
34341
- label: valueNames[0]
34249
+ label: valueNames[0],
34250
+ value: values[0]
34342
34251
  } || {};
34343
34252
  return /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
34344
34253
  selectBusinessType: "role",
34345
34254
  selectProps: _objectSpread2({
34346
34255
  style: styleCommon,
34347
34256
  placeholder: '请选择角色'
34348
- }, dataInputBusinessType === 12 ? {
34257
+ }, dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? {
34349
34258
  mode: 'multiple',
34350
34259
  maxTagCount: 1
34351
34260
  } : {}),
@@ -34356,7 +34265,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
34356
34265
  filterInit: 'qp-code-in'
34357
34266
  },
34358
34267
  onChange: function onChange(value) {
34359
- if (dataInputBusinessType === 12) {
34268
+ if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
34360
34269
  values = value.map(function (i) {
34361
34270
  return i.key;
34362
34271
  }) || [];
@@ -34369,7 +34278,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
34369
34278
  }
34370
34279
  callback(values, valueNames);
34371
34280
  },
34372
- getPopupContainer: function getPopupContainer() {
34281
+ highestPopContainer: function highestPopContainer() {
34373
34282
  return document.body;
34374
34283
  }
34375
34284
  });
@@ -35199,7 +35108,7 @@ var App$1 = function App(_ref) {
35199
35108
  borderRadius: '5px',
35200
35109
  cursor: 'pointer'
35201
35110
  }
35202
- }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
35111
+ }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
35203
35112
  autoFocus: true,
35204
35113
  onClick: function onClick(e) {
35205
35114
  return e.stopPropagation();
@@ -35486,7 +35395,7 @@ function RenderCompItem(props) {
35486
35395
  dictData = _useState2[0],
35487
35396
  setDictData = _useState2[1];
35488
35397
  var getDictData = /*#__PURE__*/function () {
35489
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35398
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35490
35399
  var _data$map;
35491
35400
  var data;
35492
35401
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -35528,7 +35437,7 @@ function RenderCompItem(props) {
35528
35437
  var style2 = {
35529
35438
  width: '100px'
35530
35439
  };
35531
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && ( /*#__PURE__*/React$1.createElement(Input, {
35440
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (/*#__PURE__*/React$1.createElement(Input, {
35532
35441
  disabled: disabled,
35533
35442
  allowClear: true,
35534
35443
  onClear: function onClear() {
@@ -35539,7 +35448,7 @@ function RenderCompItem(props) {
35539
35448
  onBlur: function onBlur(e) {
35540
35449
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
35541
35450
  }
35542
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && ( /*#__PURE__*/React$1.createElement(InputNumber, {
35451
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && (/*#__PURE__*/React$1.createElement(InputNumber, {
35543
35452
  disabled: disabled,
35544
35453
  // max={Number.MAX_SAFE_INTEGER}
35545
35454
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -35552,7 +35461,7 @@ function RenderCompItem(props) {
35552
35461
  onChange: function onChange(value) {
35553
35462
  handleEdit(ites.code, value);
35554
35463
  }
35555
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && ( /*#__PURE__*/React$1.createElement(DatePicker, {
35464
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && (/*#__PURE__*/React$1.createElement(DatePicker, {
35556
35465
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
35557
35466
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
35558
35467
  disabled: disabled,
@@ -35562,7 +35471,7 @@ function RenderCompItem(props) {
35562
35471
  onChange: function onChange(value, dateString) {
35563
35472
  handleEdit(ites.code, dateString);
35564
35473
  }
35565
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && ( /*#__PURE__*/React$1.createElement(RangePicker$1, {
35474
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (/*#__PURE__*/React$1.createElement(RangePicker$1, {
35566
35475
  showTime: true,
35567
35476
  disabled: disabled,
35568
35477
  defaultValue: ites.defaultValue,
@@ -35571,7 +35480,7 @@ function RenderCompItem(props) {
35571
35480
  onChange: function onChange(value, timeString) {
35572
35481
  handleEdit(ites.code, timeString);
35573
35482
  }
35574
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && ( /*#__PURE__*/React$1.createElement(Switch, {
35483
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (/*#__PURE__*/React$1.createElement(Switch, {
35575
35484
  disabled: disabled,
35576
35485
  defaultChecked: !!ites.defaultValue,
35577
35486
  style: style2,
@@ -35579,7 +35488,7 @@ function RenderCompItem(props) {
35579
35488
  onChange: function onChange(value) {
35580
35489
  handleEdit(ites.code, value);
35581
35490
  }
35582
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && ( /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
35491
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && (/*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
35583
35492
  disabled: disabled,
35584
35493
  allowClear: true,
35585
35494
  showArrow: true
@@ -35597,7 +35506,7 @@ function RenderCompItem(props) {
35597
35506
  key: it,
35598
35507
  value: it
35599
35508
  }, ites.enumeration[it]);
35600
- }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && ( /*#__PURE__*/React$1.createElement(InnerSelect, {
35509
+ }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && (/*#__PURE__*/React$1.createElement(InnerSelect, {
35601
35510
  disabled: disabled,
35602
35511
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
35603
35512
  defaultValue: ites.defaultValue,
@@ -35607,7 +35516,7 @@ function RenderCompItem(props) {
35607
35516
  handleEdit(ites.code, value);
35608
35517
  },
35609
35518
  dictionaryCode: ites.dictionaryCode
35610
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35519
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35611
35520
  selectBusinessType: "physicalWarehouse",
35612
35521
  selectProps: _objectSpread2({
35613
35522
  style: styleCommon,
@@ -35629,7 +35538,7 @@ function RenderCompItem(props) {
35629
35538
  getPopupContainer: function getPopupContainer() {
35630
35539
  return document.body;
35631
35540
  }
35632
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35541
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35633
35542
  selectBusinessType: "realWarehouse",
35634
35543
  selectProps: _objectSpread2({
35635
35544
  style: styleCommon,
@@ -35651,7 +35560,7 @@ function RenderCompItem(props) {
35651
35560
  getPopupContainer: function getPopupContainer() {
35652
35561
  return document.body;
35653
35562
  }
35654
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35563
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35655
35564
  selectBusinessType: "virtualWarehouse",
35656
35565
  selectProps: _objectSpread2({
35657
35566
  style: styleCommon,
@@ -35673,7 +35582,7 @@ function RenderCompItem(props) {
35673
35582
  getPopupContainer: function getPopupContainer() {
35674
35583
  return document.body;
35675
35584
  }
35676
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35585
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35677
35586
  selectBusinessType: "channelWarehouse",
35678
35587
  selectProps: _objectSpread2({
35679
35588
  style: styleCommon,
@@ -35695,7 +35604,7 @@ function RenderCompItem(props) {
35695
35604
  getPopupContainer: function getPopupContainer() {
35696
35605
  return document.body;
35697
35606
  }
35698
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35607
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35699
35608
  selectBusinessType: "spuCommodity",
35700
35609
  selectProps: _objectSpread2({
35701
35610
  style: styleCommon,
@@ -35716,7 +35625,7 @@ function RenderCompItem(props) {
35716
35625
  getPopupContainer: function getPopupContainer() {
35717
35626
  return document.body;
35718
35627
  }
35719
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35628
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35720
35629
  selectBusinessType: "skuCommodity",
35721
35630
  selectProps: _objectSpread2({
35722
35631
  style: styleCommon,
@@ -35737,13 +35646,13 @@ function RenderCompItem(props) {
35737
35646
  getPopupContainer: function getPopupContainer() {
35738
35647
  return document.body;
35739
35648
  }
35740
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && ( /*#__PURE__*/React$1.createElement(BsCascader, {
35649
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && (/*#__PURE__*/React$1.createElement(BsCascader, {
35741
35650
  disabled: disabled,
35742
35651
  isAll: true,
35743
35652
  needNameAndCode: true,
35744
35653
  notChangeOnSelect: true,
35745
35654
  initRequestSource: function () {
35746
- var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
35655
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
35747
35656
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
35748
35657
  while (1) switch (_context2.prev = _context2.next) {
35749
35658
  case 0:
@@ -35785,7 +35694,7 @@ function RenderCompItem(props) {
35785
35694
  getPopupContainer: function getPopupContainer() {
35786
35695
  return document.body;
35787
35696
  }
35788
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35697
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35789
35698
  disabled: disabled,
35790
35699
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35791
35700
  businessType: "department",
@@ -35798,7 +35707,7 @@ function RenderCompItem(props) {
35798
35707
  getPopupContainer: function getPopupContainer() {
35799
35708
  return document.body;
35800
35709
  }
35801
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35710
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35802
35711
  disabled: disabled,
35803
35712
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35804
35713
  businessType: "purchase-organization",
@@ -35811,7 +35720,7 @@ function RenderCompItem(props) {
35811
35720
  getPopupContainer: function getPopupContainer() {
35812
35721
  return document.body;
35813
35722
  }
35814
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35723
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35815
35724
  disabled: disabled,
35816
35725
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35817
35726
  businessType: "sales-organization",
@@ -35824,7 +35733,7 @@ function RenderCompItem(props) {
35824
35733
  getPopupContainer: function getPopupContainer() {
35825
35734
  return document.body;
35826
35735
  }
35827
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35736
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35828
35737
  selectBusinessType: "supplier2",
35829
35738
  selectProps: _objectSpread2({
35830
35739
  style: styleCommon,
@@ -35845,7 +35754,7 @@ function RenderCompItem(props) {
35845
35754
  getPopupContainer: function getPopupContainer() {
35846
35755
  return document.body;
35847
35756
  }
35848
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35757
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35849
35758
  selectBusinessType: "customer2",
35850
35759
  selectProps: _objectSpread2({
35851
35760
  style: styleCommon,
@@ -35866,7 +35775,7 @@ function RenderCompItem(props) {
35866
35775
  getPopupContainer: function getPopupContainer() {
35867
35776
  return document.body;
35868
35777
  }
35869
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35778
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35870
35779
  selectBusinessType: "shopFile2",
35871
35780
  selectProps: _objectSpread2({
35872
35781
  style: styleCommon,
@@ -35887,7 +35796,7 @@ function RenderCompItem(props) {
35887
35796
  getPopupContainer: function getPopupContainer() {
35888
35797
  return document.body;
35889
35798
  }
35890
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35799
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35891
35800
  selectBusinessType: "employee2",
35892
35801
  selectProps: _objectSpread2({
35893
35802
  style: styleCommon,
@@ -35908,7 +35817,7 @@ function RenderCompItem(props) {
35908
35817
  getPopupContainer: function getPopupContainer() {
35909
35818
  return document.body;
35910
35819
  }
35911
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35820
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35912
35821
  disabled: disabled,
35913
35822
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35914
35823
  businessType: "stock-organization",
@@ -35921,7 +35830,7 @@ function RenderCompItem(props) {
35921
35830
  getPopupContainer: function getPopupContainer() {
35922
35831
  return document.body;
35923
35832
  }
35924
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35833
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35925
35834
  disabled: disabled,
35926
35835
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
35927
35836
  businessType: "settle-organization",
@@ -35934,7 +35843,7 @@ function RenderCompItem(props) {
35934
35843
  getPopupContainer: function getPopupContainer() {
35935
35844
  return document.body;
35936
35845
  }
35937
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35846
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35938
35847
  selectBusinessType: "deliveryMode",
35939
35848
  selectProps: _objectSpread2({
35940
35849
  style: styleCommon,
@@ -35955,7 +35864,7 @@ function RenderCompItem(props) {
35955
35864
  getPopupContainer: function getPopupContainer() {
35956
35865
  return document.body;
35957
35866
  }
35958
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35867
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35959
35868
  selectBusinessType: "role",
35960
35869
  selectProps: _objectSpread2({
35961
35870
  style: styleCommon,
@@ -35976,7 +35885,7 @@ function RenderCompItem(props) {
35976
35885
  getPopupContainer: function getPopupContainer() {
35977
35886
  return document.body;
35978
35887
  }
35979
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35888
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35980
35889
  selectBusinessType: "brand",
35981
35890
  selectProps: _objectSpread2({
35982
35891
  style: styleCommon,
@@ -35997,7 +35906,7 @@ function RenderCompItem(props) {
35997
35906
  getPopupContainer: function getPopupContainer() {
35998
35907
  return document.body;
35999
35908
  }
36000
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
35909
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
36001
35910
  disabled: disabled,
36002
35911
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36003
35912
  businessType: "background-category",
@@ -36010,7 +35919,7 @@ function RenderCompItem(props) {
36010
35919
  getPopupContainer: function getPopupContainer() {
36011
35920
  return document.body;
36012
35921
  }
36013
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && ( /*#__PURE__*/React$1.createElement(CustomSelector, {
35922
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && (/*#__PURE__*/React$1.createElement(CustomSelector, {
36014
35923
  selectProps: _objectSpread2(_objectSpread2({
36015
35924
  style: styleCommon,
36016
35925
  placeholder: '请选择'
@@ -36033,7 +35942,7 @@ function RenderCompItem(props) {
36033
35942
  onChange: function onChange(value) {
36034
35943
  handleEdit(ites.code, value);
36035
35944
  }
36036
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
35945
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
36037
35946
  style: {
36038
35947
  display: 'flex'
36039
35948
  }
@@ -36545,7 +36454,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36545
36454
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
36546
36455
  queryIdentifyType = 'dynamicDictCodeIdentify';
36547
36456
  }
36548
- var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
36457
+ var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
36549
36458
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
36550
36459
  var _i$key;
36551
36460
  return ((i === null || i === void 0 ? void 0 : (_i$key = i.key) === null || _i$key === void 0 ? void 0 : _i$key.indexOf('.')) > -1 ? i.id : i.key) === (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId);
@@ -37472,13 +37381,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
37472
37381
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
37473
37382
  // 处理对象-设置了必填-规则实例保存时数据必填校验
37474
37383
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
37475
- var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37384
+ var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37476
37385
  var requiredList = list.filter(function (c) {
37477
37386
  return c.required == 1;
37478
37387
  }) || []; // 获取对象属性为true的集合
37479
37388
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
37480
37389
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
37481
- var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
37390
+ var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? _coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
37482
37391
  (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : coverExpressionTree.length) && (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : (_coverExpressionTree$ = coverExpressionTree.forEach) === null || _coverExpressionTree$ === void 0 ? void 0 : _coverExpressionTree$.call(coverExpressionTree, function (e) {
37483
37392
  if (requiredList.some(function (r) {
37484
37393
  return r.id === e.elementId;
@@ -38067,7 +37976,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38067
37976
  style: {
38068
37977
  float: 'right'
38069
37978
  }
38070
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
37979
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38071
37980
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38072
37981
  ruleGroupInfo: {
38073
37982
  ruleGroupList: ruleGroupList,
@@ -38085,7 +37994,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38085
37994
  callBack: function callBack(newData) {
38086
37995
  upDateData(newData);
38087
37996
  }
38088
- }))) : ( /*#__PURE__*/React$1.createElement("div", {
37997
+ }))) : (/*#__PURE__*/React$1.createElement("div", {
38089
37998
  style: {
38090
37999
  padding: 20
38091
38000
  }
@@ -38460,4 +38369,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
38460
38369
  }, children));
38461
38370
  };
38462
38371
 
38463
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
38372
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };