@bit-sun/business-component 4.2.0-alpha.6.1 → 4.2.0-alpha.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/components/Business/AddSelectBusiness/index.d.ts +4 -3
  2. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +2 -1
  3. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +2 -1
  4. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  5. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
  6. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
  7. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +2 -1
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +2 -1
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  10. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +2 -1
  11. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +2 -1
  12. package/dist/components/Business/BsLayouts/index.d.ts +1 -1
  13. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
  14. package/dist/components/Business/BsSulaQueryTable/index.d.ts +2 -1
  15. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
  16. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +15 -14
  17. package/dist/components/Business/CommodityEntry/index.d.ts +2 -1
  18. package/dist/components/Business/CommonAlert/index.d.ts +2 -1
  19. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  20. package/dist/components/Business/DetailPageWrapper/index.d.ts +12 -11
  21. package/dist/components/Business/HomePageWrapper/index.d.ts +2 -1
  22. package/dist/components/Business/ItemPropertySelector/index.d.ts +2 -1
  23. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -1
  24. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -1
  25. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +2 -1
  26. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -1
  27. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -1
  28. package/dist/components/Business/PropertyModal/index.d.ts +2 -1
  29. package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
  30. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  31. package/dist/components/Business/StateFlow/index.d.ts +2 -1
  32. package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
  33. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
  34. package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +2 -1
  35. package/dist/components/Business/columnSettingTable/index.d.ts +3 -3
  36. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +3 -3
  37. package/dist/components/Business/columnSettingTable/utils.d.ts +2 -1
  38. package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
  39. package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
  40. package/dist/components/Common/Section/index.d.ts +1 -1
  41. package/dist/components/Functional/AddSelect/index.d.ts +2 -1
  42. package/dist/components/Functional/AuthButton/index.d.ts +2 -1
  43. package/dist/components/Functional/DataImport/index.d.ts +3 -3
  44. package/dist/components/Functional/DataValidation/index.d.ts +4 -4
  45. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +2 -1
  46. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
  47. package/dist/components/Functional/QueryMutipleSelect/index.d.ts +2 -1
  48. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  49. package/dist/components/Functional/SearchSelect/utils.d.ts +3 -2
  50. package/dist/components/Functional/TreeSearchSelect/index.d.ts +2 -1
  51. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
  52. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +2 -1
  53. package/dist/components/Solution/RuleComponent/Formula.d.ts +2 -1
  54. package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +2 -1
  55. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -1
  56. package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +2 -1
  57. package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
  58. package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
  59. package/dist/index.esm.js +1384 -795
  60. package/dist/index.js +1384 -795
  61. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  62. package/dist/utils/TableUtils.d.ts +19 -18
  63. package/package.json +1 -1
  64. package/src/components/Business/SearchSelect/BusinessUtils.tsx +234 -38
  65. package/src/components/Business/columnSettingTable/index.tsx +7 -6
  66. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +23 -22
  67. package/src/components/Functional/AddSelect/index.tsx +92 -0
  68. package/src/components/Functional/SearchSelect/index.css +274 -0
  69. package/src/components/Functional/SearchSelect/index.less +5 -5
  70. package/src/components/Functional/SearchSelect/index.tsx +5 -2
  71. package/src/components/Solution/RuleComponent/index.js +1 -0
package/dist/index.js CHANGED
@@ -211,8 +211,8 @@ function _objectWithoutProperties(e, t) {
211
211
  r,
212
212
  i = _objectWithoutPropertiesLoose(e, t);
213
213
  if (Object.getOwnPropertySymbols) {
214
- var n = Object.getOwnPropertySymbols(e);
215
- for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
214
+ var s = Object.getOwnPropertySymbols(e);
215
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
216
216
  }
217
217
  return i;
218
218
  }
@@ -220,7 +220,7 @@ function _objectWithoutPropertiesLoose(r, e) {
220
220
  if (null == r) return {};
221
221
  var t = {};
222
222
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
223
- if (-1 !== e.indexOf(n)) continue;
223
+ if (e.includes(n)) continue;
224
224
  t[n] = r[n];
225
225
  }
226
226
  return t;
@@ -230,115 +230,306 @@ function _possibleConstructorReturn(t, e) {
230
230
  if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
231
231
  return _assertThisInitialized(t);
232
232
  }
233
- function _regenerator() {
234
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
235
- var e,
236
- t,
237
- r = "function" == typeof Symbol ? Symbol : {},
238
- n = r.iterator || "@@iterator",
239
- o = r.toStringTag || "@@toStringTag";
240
- function i(r, n, o, i) {
241
- var c = n && n.prototype instanceof Generator ? n : Generator,
242
- u = Object.create(c.prototype);
243
- return _regeneratorDefine(u, "_invoke", function (r, n, o) {
244
- var i,
245
- c,
246
- u,
247
- f = 0,
248
- p = o || [],
249
- y = !1,
250
- G = {
251
- p: 0,
252
- n: 0,
253
- v: e,
254
- a: d,
255
- f: d.bind(e, 4),
256
- d: function (t, r) {
257
- return i = t, c = 0, u = e, G.n = r, a;
258
- }
259
- };
260
- function d(r, n) {
261
- for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
262
- var o,
263
- i = p[t],
264
- d = G.p,
265
- l = i[2];
266
- r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
267
- }
268
- if (o || r > 1) return a;
269
- throw y = !0, n;
270
- }
271
- return function (o, p, l) {
272
- if (f > 1) throw TypeError("Generator is already running");
273
- for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
274
- i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
275
- try {
276
- if (f = 2, i) {
277
- if (c || (o = "next"), t = i[o]) {
278
- if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
279
- if (!t.done) return t;
280
- u = t.value, c < 2 && (c = 0);
281
- } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
282
- i = e;
283
- } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
284
- } catch (t) {
285
- i = e, c = 1, u = t;
286
- } finally {
287
- f = 1;
288
- }
289
- }
290
- return {
291
- value: t,
292
- done: y
293
- };
233
+ function _regeneratorRuntime() {
234
+ _regeneratorRuntime = function () {
235
+ return e;
236
+ };
237
+ var t,
238
+ e = {},
239
+ r = Object.prototype,
240
+ n = r.hasOwnProperty,
241
+ o = Object.defineProperty || function (t, e, r) {
242
+ t[e] = r.value;
243
+ },
244
+ i = "function" == typeof Symbol ? Symbol : {},
245
+ a = i.iterator || "@@iterator",
246
+ c = i.asyncIterator || "@@asyncIterator",
247
+ u = i.toStringTag || "@@toStringTag";
248
+ function define(t, e, r) {
249
+ return Object.defineProperty(t, e, {
250
+ value: r,
251
+ enumerable: !0,
252
+ configurable: !0,
253
+ writable: !0
254
+ }), t[e];
255
+ }
256
+ try {
257
+ define({}, "");
258
+ } catch (t) {
259
+ define = function (t, e, r) {
260
+ return t[e] = r;
261
+ };
262
+ }
263
+ function wrap(t, e, r, n) {
264
+ var i = e && e.prototype instanceof Generator ? e : Generator,
265
+ a = Object.create(i.prototype),
266
+ c = new Context(n || []);
267
+ return o(a, "_invoke", {
268
+ value: makeInvokeMethod(t, r, c)
269
+ }), a;
270
+ }
271
+ function tryCatch(t, e, r) {
272
+ try {
273
+ return {
274
+ type: "normal",
275
+ arg: t.call(e, r)
276
+ };
277
+ } catch (t) {
278
+ return {
279
+ type: "throw",
280
+ arg: t
294
281
  };
295
- }(r, o, i), !0), u;
282
+ }
296
283
  }
297
- var a = {};
284
+ e.wrap = wrap;
285
+ var h = "suspendedStart",
286
+ l = "suspendedYield",
287
+ f = "executing",
288
+ s = "completed",
289
+ y = {};
298
290
  function Generator() {}
299
291
  function GeneratorFunction() {}
300
292
  function GeneratorFunctionPrototype() {}
301
- t = Object.getPrototypeOf;
302
- var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
303
- return this;
304
- }), t),
305
- u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
306
- function f(e) {
307
- return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
308
- }
309
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
293
+ var p = {};
294
+ define(p, a, function () {
310
295
  return this;
311
- }), _regeneratorDefine(u, "toString", function () {
312
- return "[object Generator]";
313
- }), (_regenerator = function () {
296
+ });
297
+ var d = Object.getPrototypeOf,
298
+ v = d && d(d(values([])));
299
+ v && v !== r && n.call(v, a) && (p = v);
300
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
301
+ function defineIteratorMethods(t) {
302
+ ["next", "throw", "return"].forEach(function (e) {
303
+ define(t, e, function (t) {
304
+ return this._invoke(e, t);
305
+ });
306
+ });
307
+ }
308
+ function AsyncIterator(t, e) {
309
+ function invoke(r, o, i, a) {
310
+ var c = tryCatch(t[r], t, o);
311
+ if ("throw" !== c.type) {
312
+ var u = c.arg,
313
+ h = u.value;
314
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
315
+ invoke("next", t, i, a);
316
+ }, function (t) {
317
+ invoke("throw", t, i, a);
318
+ }) : e.resolve(h).then(function (t) {
319
+ u.value = t, i(u);
320
+ }, function (t) {
321
+ return invoke("throw", t, i, a);
322
+ });
323
+ }
324
+ a(c.arg);
325
+ }
326
+ var r;
327
+ o(this, "_invoke", {
328
+ value: function (t, n) {
329
+ function callInvokeWithMethodAndArg() {
330
+ return new e(function (e, r) {
331
+ invoke(t, n, e, r);
332
+ });
333
+ }
334
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
335
+ }
336
+ });
337
+ }
338
+ function makeInvokeMethod(e, r, n) {
339
+ var o = h;
340
+ return function (i, a) {
341
+ if (o === f) throw Error("Generator is already running");
342
+ if (o === s) {
343
+ if ("throw" === i) throw a;
344
+ return {
345
+ value: t,
346
+ done: !0
347
+ };
348
+ }
349
+ for (n.method = i, n.arg = a;;) {
350
+ var c = n.delegate;
351
+ if (c) {
352
+ var u = maybeInvokeDelegate(c, n);
353
+ if (u) {
354
+ if (u === y) continue;
355
+ return u;
356
+ }
357
+ }
358
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
359
+ if (o === h) throw o = s, n.arg;
360
+ n.dispatchException(n.arg);
361
+ } else "return" === n.method && n.abrupt("return", n.arg);
362
+ o = f;
363
+ var p = tryCatch(e, r, n);
364
+ if ("normal" === p.type) {
365
+ if (o = n.done ? s : l, p.arg === y) continue;
366
+ return {
367
+ value: p.arg,
368
+ done: n.done
369
+ };
370
+ }
371
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
372
+ }
373
+ };
374
+ }
375
+ function maybeInvokeDelegate(e, r) {
376
+ var n = r.method,
377
+ o = e.iterator[n];
378
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
379
+ var i = tryCatch(o, e.iterator, r.arg);
380
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
381
+ var a = i.arg;
382
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
383
+ }
384
+ function pushTryEntry(t) {
385
+ var e = {
386
+ tryLoc: t[0]
387
+ };
388
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
389
+ }
390
+ function resetTryEntry(t) {
391
+ var e = t.completion || {};
392
+ e.type = "normal", delete e.arg, t.completion = e;
393
+ }
394
+ function Context(t) {
395
+ this.tryEntries = [{
396
+ tryLoc: "root"
397
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
398
+ }
399
+ function values(e) {
400
+ if (e || "" === e) {
401
+ var r = e[a];
402
+ if (r) return r.call(e);
403
+ if ("function" == typeof e.next) return e;
404
+ if (!isNaN(e.length)) {
405
+ var o = -1,
406
+ i = function next() {
407
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
408
+ return next.value = t, next.done = !0, next;
409
+ };
410
+ return i.next = i;
411
+ }
412
+ }
413
+ throw new TypeError(typeof e + " is not iterable");
414
+ }
415
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
416
+ value: GeneratorFunctionPrototype,
417
+ configurable: !0
418
+ }), o(GeneratorFunctionPrototype, "constructor", {
419
+ value: GeneratorFunction,
420
+ configurable: !0
421
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
422
+ var e = "function" == typeof t && t.constructor;
423
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
424
+ }, e.mark = function (t) {
425
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
426
+ }, e.awrap = function (t) {
314
427
  return {
315
- w: i,
316
- m: f
428
+ __await: t
317
429
  };
318
- })();
319
- }
320
- function _regeneratorDefine(e, r, n, t) {
321
- var i = Object.defineProperty;
322
- try {
323
- i({}, "", {});
324
- } catch (e) {
325
- i = 0;
326
- }
327
- _regeneratorDefine = function (e, r, n, t) {
328
- if (r) i ? i(e, r, {
329
- value: n,
330
- enumerable: !t,
331
- configurable: !t,
332
- writable: !t
333
- }) : e[r] = n;else {
334
- function o(r, n) {
335
- _regeneratorDefine(e, r, function (e) {
336
- return this._invoke(r, n, e);
337
- });
430
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
431
+ return this;
432
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
433
+ void 0 === i && (i = Promise);
434
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
435
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
436
+ return t.done ? t.value : a.next();
437
+ });
438
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
439
+ return this;
440
+ }), define(g, "toString", function () {
441
+ return "[object Generator]";
442
+ }), e.keys = function (t) {
443
+ var e = Object(t),
444
+ r = [];
445
+ for (var n in e) r.push(n);
446
+ return r.reverse(), function next() {
447
+ for (; r.length;) {
448
+ var t = r.pop();
449
+ if (t in e) return next.value = t, next.done = !1, next;
450
+ }
451
+ return next.done = !0, next;
452
+ };
453
+ }, e.values = values, Context.prototype = {
454
+ constructor: Context,
455
+ reset: function (e) {
456
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
457
+ },
458
+ stop: function () {
459
+ this.done = !0;
460
+ var t = this.tryEntries[0].completion;
461
+ if ("throw" === t.type) throw t.arg;
462
+ return this.rval;
463
+ },
464
+ dispatchException: function (e) {
465
+ if (this.done) throw e;
466
+ var r = this;
467
+ function handle(n, o) {
468
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
469
+ }
470
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
471
+ var i = this.tryEntries[o],
472
+ a = i.completion;
473
+ if ("root" === i.tryLoc) return handle("end");
474
+ if (i.tryLoc <= this.prev) {
475
+ var c = n.call(i, "catchLoc"),
476
+ u = n.call(i, "finallyLoc");
477
+ if (c && u) {
478
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
479
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
480
+ } else if (c) {
481
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
482
+ } else {
483
+ if (!u) throw Error("try statement without catch or finally");
484
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
485
+ }
486
+ }
487
+ }
488
+ },
489
+ abrupt: function (t, e) {
490
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
491
+ var o = this.tryEntries[r];
492
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
493
+ var i = o;
494
+ break;
495
+ }
496
+ }
497
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
498
+ var a = i ? i.completion : {};
499
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
500
+ },
501
+ complete: function (t, e) {
502
+ if ("throw" === t.type) throw t.arg;
503
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
504
+ },
505
+ finish: function (t) {
506
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
507
+ var r = this.tryEntries[e];
508
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
509
+ }
510
+ },
511
+ catch: function (t) {
512
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
513
+ var r = this.tryEntries[e];
514
+ if (r.tryLoc === t) {
515
+ var n = r.completion;
516
+ if ("throw" === n.type) {
517
+ var o = n.arg;
518
+ resetTryEntry(r);
519
+ }
520
+ return o;
521
+ }
338
522
  }
339
- o("next", 0), o("throw", 1), o("return", 2);
523
+ throw Error("illegal catch attempt");
524
+ },
525
+ delegateYield: function (e, r, n) {
526
+ return this.delegate = {
527
+ iterator: values(e),
528
+ resultName: r,
529
+ nextLoc: n
530
+ }, "next" === this.method && (this.arg = t), y;
340
531
  }
341
- }, _regeneratorDefine(e, r, n, t);
532
+ }, e;
342
533
  }
343
534
  function _setPrototypeOf(t, e) {
344
535
  return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
@@ -1411,22 +1602,22 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1411
1602
  // sheepMap是表头字段中英文映射
1412
1603
  // sheetCount:表的数量,默认一张
1413
1604
  var resolveFile = /*#__PURE__*/function () {
1414
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(file) {
1605
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1415
1606
  var config,
1416
1607
  data,
1417
1608
  _args = arguments;
1418
- return _regenerator().w(function (_context) {
1419
- while (1) switch (_context.n) {
1609
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
1610
+ while (1) switch (_context.prev = _context.next) {
1420
1611
  case 0:
1421
1612
  config = _args.length > 1 && _args[1] !== undefined ? _args[1] : {
1422
1613
  sheetMap: [],
1423
1614
  sheetCount: 1
1424
1615
  };
1425
- _context.n = 1;
1616
+ _context.next = 3;
1426
1617
  return analyseExcelToByte(file);
1427
- case 1:
1428
- data = _context.v;
1429
- return _context.a(2, new Promise(function (resolve, reject) {
1618
+ case 3:
1619
+ data = _context.sent;
1620
+ return _context.abrupt("return", new Promise(function (resolve, reject) {
1430
1621
  var workbook = XLSX.read(data, {
1431
1622
  type: 'binary'
1432
1623
  });
@@ -1438,6 +1629,9 @@ var resolveFile = /*#__PURE__*/function () {
1438
1629
  var outdata = parseToServe(sheetMapJsonList, config.sheetMap);
1439
1630
  resolve(outdata);
1440
1631
  }));
1632
+ case 5:
1633
+ case "end":
1634
+ return _context.stop();
1441
1635
  }
1442
1636
  }, _callee);
1443
1637
  }));
@@ -1447,40 +1641,41 @@ var resolveFile = /*#__PURE__*/function () {
1447
1641
  }();
1448
1642
  //读取文件
1449
1643
  var readerXlsxToList = /*#__PURE__*/function () {
1450
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1644
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1451
1645
  var _ref5, callback, sheetMap, nowFile, data2, data;
1452
- return _regenerator().w(function (_context2) {
1453
- while (1) switch (_context2.n) {
1646
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1647
+ while (1) switch (_context2.prev = _context2.next) {
1454
1648
  case 0:
1455
1649
  _ref5 = otherInfo || {}, callback = _ref5.callback, sheetMap = _ref5.sheetMap;
1456
1650
  if (!(Array.isArray(fileList) && fileList.length > 0)) {
1457
- _context2.n = 3;
1651
+ _context2.next = 15;
1458
1652
  break;
1459
1653
  }
1460
1654
  nowFile = fileList[fileList.length - 1]; // 阻止了默认上传file没有originFileObj了 得从fileList中去取
1461
- _context2.n = 1;
1655
+ _context2.next = 5;
1462
1656
  return resolveFile(nowFile.originFileObj, {
1463
1657
  sheetMap: fieldMappingReverse(sheetMap),
1464
1658
  sheetCount: 1
1465
1659
  });
1466
- case 1:
1467
- data2 = _context2.v;
1660
+ case 5:
1661
+ data2 = _context2.sent;
1468
1662
  data = data2[0];
1469
1663
  if (data.length) {
1470
- _context2.n = 2;
1664
+ _context2.next = 10;
1471
1665
  break;
1472
1666
  }
1473
1667
  antd.message.error("\u8BF7\u5148\u5F55\u5165\u6570\u636E\u518D\u5BFC\u5165");
1474
- return _context2.a(2);
1475
- case 2:
1668
+ return _context2.abrupt("return");
1669
+ case 10:
1476
1670
  if (callback) callback(data);
1477
1671
  !callback && antd.message.success("\u5BFC\u5165\u6210\u529F");
1478
- return _context2.a(2, data);
1479
- case 3:
1672
+ return _context2.abrupt("return", data);
1673
+ case 15:
1480
1674
  antd.message.error("\u8BF7\u9009\u62E9\u6587\u4EF6");
1481
- return _context2.a(2);
1482
- case 4:
1483
- return _context2.a(2);
1675
+ return _context2.abrupt("return");
1676
+ case 17:
1677
+ case "end":
1678
+ return _context2.stop();
1484
1679
  }
1485
1680
  }, _callee2);
1486
1681
  }));
@@ -2432,14 +2627,17 @@ var requestUtil = function requestUtil(_ref) {
2432
2627
  return request__default['default'](url, parms).then(handleResponseData);
2433
2628
  };
2434
2629
  var handleResponseData = /*#__PURE__*/function () {
2435
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(response) {
2436
- return _regenerator().w(function (_context) {
2437
- while (1) switch (_context.n) {
2630
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2631
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
2632
+ while (1) switch (_context.prev = _context.next) {
2438
2633
  case 0:
2439
- return _context.a(2, Promise.resolve({
2634
+ return _context.abrupt("return", Promise.resolve({
2440
2635
  data: response,
2441
2636
  status: response.status
2442
2637
  }));
2638
+ case 1:
2639
+ case "end":
2640
+ return _context.stop();
2443
2641
  }
2444
2642
  }, _callee);
2445
2643
  }));
@@ -4582,27 +4780,27 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4582
4780
  popvalue = _useState8[0],
4583
4781
  setPopValue = _useState8[1];
4584
4782
  var _useState9 = React$1.useState([]),
4585
- _useState0 = _slicedToArray(_useState9, 2),
4586
- source = _useState0[0],
4587
- setSource = _useState0[1];
4783
+ _useState10 = _slicedToArray(_useState9, 2),
4784
+ source = _useState10[0],
4785
+ setSource = _useState10[1];
4588
4786
  var _useDebounceFn = ahooks.useDebounceFn(function () {
4589
4787
  getData();
4590
4788
  }, {
4591
4789
  wait: 1000
4592
4790
  }),
4593
4791
  run = _useDebounceFn.run;
4594
- var _useState1 = React$1.useState(false),
4595
- _useState10 = _slicedToArray(_useState1, 2),
4596
- fetching = _useState10[0],
4597
- setFetching = _useState10[1];
4598
- var _useState11 = React$1.useState(''),
4792
+ var _useState11 = React$1.useState(false),
4599
4793
  _useState12 = _slicedToArray(_useState11, 2),
4600
- searchValue = _useState12[0],
4601
- setSearchValue = _useState12[1];
4602
- var _useState13 = React$1.useState(resultSourceKey),
4794
+ fetching = _useState12[0],
4795
+ setFetching = _useState12[1];
4796
+ var _useState13 = React$1.useState(''),
4603
4797
  _useState14 = _slicedToArray(_useState13, 2),
4604
- uniqueValue = _useState14[0],
4605
- setUniqueValue = _useState14[1];
4798
+ searchValue = _useState14[0],
4799
+ setSearchValue = _useState14[1];
4800
+ var _useState15 = React$1.useState(resultSourceKey),
4801
+ _useState16 = _slicedToArray(_useState15, 2),
4802
+ uniqueValue = _useState16[0],
4803
+ setUniqueValue = _useState16[1];
4606
4804
  React$1.useEffect(function () {
4607
4805
  setPopValue(value);
4608
4806
  onValueChange(value);
@@ -4807,7 +5005,7 @@ function ToCDB$1(selectStr) {
4807
5005
  return tmp;
4808
5006
  }
4809
5007
 
4810
- var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapLeft2 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapRight .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
5008
+ var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 190px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapLeft2 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapRight .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
4811
5009
  styleInject(css_248z$6);
4812
5010
 
4813
5011
  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";
@@ -5019,21 +5217,21 @@ var PropertySelector = function PropertySelector(_ref) {
5019
5217
  notCommonProperty = _useState8[0],
5020
5218
  setNotCommonProperty = _useState8[1];
5021
5219
  var _useState9 = React$1.useState(false),
5022
- _useState0 = _slicedToArray(_useState9, 2),
5023
- visible = _useState0[0],
5024
- setVisible = _useState0[1];
5025
- var _useState1 = React$1.useState(false),
5026
- _useState10 = _slicedToArray(_useState1, 2),
5027
- showNotCommon = _useState10[0],
5028
- setShowNotCommon = _useState10[1]; // 是否展示非常用属性
5029
- var _useState11 = React$1.useState([]),
5220
+ _useState10 = _slicedToArray(_useState9, 2),
5221
+ visible = _useState10[0],
5222
+ setVisible = _useState10[1];
5223
+ var _useState11 = React$1.useState(false),
5030
5224
  _useState12 = _slicedToArray(_useState11, 2),
5031
- classifyOptionList = _useState12[0],
5032
- setClassifyOptionList = _useState12[1];
5033
- var _useState13 = React$1.useState('1'),
5225
+ showNotCommon = _useState12[0],
5226
+ setShowNotCommon = _useState12[1]; // 是否展示非常用属性
5227
+ var _useState13 = React$1.useState([]),
5034
5228
  _useState14 = _slicedToArray(_useState13, 2),
5035
- listKey = _useState14[0],
5036
- setListKey = _useState14[1];
5229
+ classifyOptionList = _useState14[0],
5230
+ setClassifyOptionList = _useState14[1];
5231
+ var _useState15 = React$1.useState('1'),
5232
+ _useState16 = _slicedToArray(_useState15, 2),
5233
+ listKey = _useState16[0],
5234
+ setListKey = _useState16[1];
5037
5235
  React$1.useEffect(function () {
5038
5236
  requestUtil({
5039
5237
  url: '/items/class/withProperty?pageSize=500&currentPage=1',
@@ -5297,6 +5495,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5297
5495
  highestPopContainer = _props$highestPopCont === void 0 ? undefined : _props$highestPopCont,
5298
5496
  fieldComponent = props.fieldComponent,
5299
5497
  onSaveCallback = props.onSaveCallback,
5498
+ _props$returnFormat = props.returnFormat,
5499
+ returnFormat = _props$returnFormat === void 0 ? [] : _props$returnFormat,
5300
5500
  selectBusinessType = props.selectBusinessType;
5301
5501
  var _ref = rCTemp || {},
5302
5502
  url = _ref.url,
@@ -5355,14 +5555,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5355
5555
  var currentPage = 1;
5356
5556
  var selectParamsKey = (requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.filter) || 'qp-codeAndName-like';
5357
5557
  var selectParamsInitKey = (requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.filterInit) || selectParamsKey;
5358
- var currentSelectProps = _objectSpread2(_objectSpread2({}, selectProps), {}, {
5558
+ var currentSelectProps = _objectSpread2(_objectSpread2({
5559
+ // 回显字段可自定义
5560
+ optionLabelProp: "label"
5561
+ }, selectProps), {}, {
5359
5562
  // 以下属性不可更改----设计配置项
5360
5563
  showArrow: true,
5361
5564
  showSearch: true,
5362
5565
  filterOption: false,
5363
5566
  allowClear: true,
5364
5567
  listHeight: 160,
5365
- optionLabelProp: "label",
5366
5568
  autoClearSearchValue: false,
5367
5569
  placement: 'bottomRight'
5368
5570
  });
@@ -5412,29 +5614,29 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5412
5614
  scrollPage = _useState8[0],
5413
5615
  setScrollPage = _useState8[1];
5414
5616
  var _useState9 = React$1.useState(0),
5415
- _useState0 = _slicedToArray(_useState9, 2),
5416
- itemsTotal = _useState0[0],
5417
- setItemsTotal = _useState0[1];
5418
- var _useState1 = React$1.useState(false),
5419
- _useState10 = _slicedToArray(_useState1, 2),
5420
- fetching = _useState10[0],
5421
- setFetching = _useState10[1];
5422
- var _useState11 = React$1.useState(''),
5617
+ _useState10 = _slicedToArray(_useState9, 2),
5618
+ itemsTotal = _useState10[0],
5619
+ setItemsTotal = _useState10[1];
5620
+ var _useState11 = React$1.useState(false),
5423
5621
  _useState12 = _slicedToArray(_useState11, 2),
5424
- searchValue = _useState12[0],
5425
- setSearchValue = _useState12[1];
5426
- var _useState13 = React$1.useState(false),
5622
+ fetching = _useState12[0],
5623
+ setFetching = _useState12[1];
5624
+ var _useState13 = React$1.useState(''),
5427
5625
  _useState14 = _slicedToArray(_useState13, 2),
5428
- isModalVisible = _useState14[0],
5429
- setIsModalVisible = _useState14[1];
5430
- var _useState15 = React$1.useState(initVal),
5626
+ searchValue = _useState14[0],
5627
+ setSearchValue = _useState14[1];
5628
+ var _useState15 = React$1.useState(false),
5431
5629
  _useState16 = _slicedToArray(_useState15, 2),
5432
- popvalue = _useState16[0],
5433
- setPopValue = _useState16[1];
5434
- var _useState17 = React$1.useState(resultSourceKey),
5630
+ isModalVisible = _useState16[0],
5631
+ setIsModalVisible = _useState16[1];
5632
+ var _useState17 = React$1.useState(initVal),
5435
5633
  _useState18 = _slicedToArray(_useState17, 2),
5436
- uniqueValue = _useState18[0],
5437
- setUniqueValue = _useState18[1];
5634
+ popvalue = _useState18[0],
5635
+ setPopValue = _useState18[1];
5636
+ var _useState19 = React$1.useState(resultSourceKey),
5637
+ _useState20 = _slicedToArray(_useState19, 2),
5638
+ uniqueValue = _useState20[0],
5639
+ setUniqueValue = _useState20[1];
5438
5640
  var _useDebounceFn = ahooks.useDebounceFn(function (v) {
5439
5641
  // 优化搜索参数 支持传多个
5440
5642
  var searchParams = {};
@@ -5463,58 +5665,58 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5463
5665
  var _Form$useForm = antd.Form.useForm(),
5464
5666
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
5465
5667
  form = _Form$useForm2[0];
5466
- var _useState19 = React$1.useState(true),
5467
- _useState20 = _slicedToArray(_useState19, 2),
5468
- collapsed = _useState20[0],
5469
- setCollapsed = _useState20[1];
5470
5668
  var _useState21 = React$1.useState(true),
5471
5669
  _useState22 = _slicedToArray(_useState21, 2),
5472
- caretLeftFlag = _useState22[0],
5473
- setCaretLeftFlag = _useState22[1];
5474
- var _useState23 = React$1.useState([]),
5670
+ collapsed = _useState22[0],
5671
+ setCollapsed = _useState22[1];
5672
+ var _useState23 = React$1.useState(true),
5475
5673
  _useState24 = _slicedToArray(_useState23, 2),
5476
- tableData = _useState24[0],
5477
- setTableData = _useState24[1];
5478
- var _useState25 = React$1.useState(tableInitPagination),
5674
+ caretLeftFlag = _useState24[0],
5675
+ setCaretLeftFlag = _useState24[1];
5676
+ var _useState25 = React$1.useState([]),
5479
5677
  _useState26 = _slicedToArray(_useState25, 2),
5480
- tablePagination = _useState26[0],
5481
- setTablePagination = _useState26[1];
5482
- var _useState27 = React$1.useState([]),
5678
+ tableData = _useState26[0],
5679
+ setTableData = _useState26[1];
5680
+ var _useState27 = React$1.useState(tableInitPagination),
5483
5681
  _useState28 = _slicedToArray(_useState27, 2),
5484
- selectedRowKeys = _useState28[0],
5485
- setSelectedRowKeys = _useState28[1];
5682
+ tablePagination = _useState28[0],
5683
+ setTablePagination = _useState28[1];
5486
5684
  var _useState29 = React$1.useState([]),
5487
5685
  _useState30 = _slicedToArray(_useState29, 2),
5488
- selectedRows = _useState30[0],
5489
- setSelectedRows = _useState30[1];
5490
- var _useState31 = React$1.useState(false),
5686
+ selectedRowKeys = _useState30[0],
5687
+ setSelectedRowKeys = _useState30[1];
5688
+ var _useState31 = React$1.useState([]),
5491
5689
  _useState32 = _slicedToArray(_useState31, 2),
5492
- checkedAll = _useState32[0],
5493
- setCheckedAll = _useState32[1];
5690
+ selectedRows = _useState32[0],
5691
+ setSelectedRows = _useState32[1];
5494
5692
  var _useState33 = React$1.useState(false),
5495
5693
  _useState34 = _slicedToArray(_useState33, 2),
5496
- indeterminate = _useState34[0],
5497
- setIndeterminate = _useState34[1];
5498
- var _useState35 = React$1.useState({}),
5694
+ checkedAll = _useState34[0],
5695
+ setCheckedAll = _useState34[1];
5696
+ var _useState35 = React$1.useState(false),
5499
5697
  _useState36 = _slicedToArray(_useState35, 2),
5500
- tableFormParams = _useState36[0],
5501
- setTableFormParams = _useState36[1];
5502
- var _useState37 = React$1.useState(false),
5698
+ indeterminate = _useState36[0],
5699
+ setIndeterminate = _useState36[1];
5700
+ var _useState37 = React$1.useState({}),
5503
5701
  _useState38 = _slicedToArray(_useState37, 2),
5504
- tooltipVisible = _useState38[0],
5505
- setTooltipVisible = _useState38[1];
5506
- var _useState39 = React$1.useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5702
+ tableFormParams = _useState38[0],
5703
+ setTableFormParams = _useState38[1];
5704
+ var _useState39 = React$1.useState(false),
5507
5705
  _useState40 = _slicedToArray(_useState39, 2),
5508
- tableShowColumns = _useState40[0],
5509
- setTabletShowColumns = _useState40[1]; // 默认展示表头-modalTableProps?.tableColumns
5510
- var _useState41 = React$1.useState(false),
5706
+ tooltipVisible = _useState40[0],
5707
+ setTooltipVisible = _useState40[1];
5708
+ var _useState41 = React$1.useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5511
5709
  _useState42 = _slicedToArray(_useState41, 2),
5512
- confirmLoading = _useState42[0],
5513
- setConfirmLoading = _useState42[1];
5710
+ tableShowColumns = _useState42[0],
5711
+ setTabletShowColumns = _useState42[1]; // 默认展示表头-modalTableProps?.tableColumns
5514
5712
  var _useState43 = React$1.useState(false),
5515
5713
  _useState44 = _slicedToArray(_useState43, 2),
5516
- modalSearched = _useState44[0],
5517
- setModalSearched = _useState44[1];
5714
+ confirmLoading = _useState44[0],
5715
+ setConfirmLoading = _useState44[1];
5716
+ var _useState45 = React$1.useState(false),
5717
+ _useState46 = _slicedToArray(_useState45, 2),
5718
+ modalSearched = _useState46[0],
5719
+ setModalSearched = _useState46[1];
5518
5720
  var setSelectDataSource = function setSelectDataSource(list, total) {
5519
5721
  setItems(list);
5520
5722
  setItemsTotal(total);
@@ -5831,12 +6033,19 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5831
6033
  };
5832
6034
  var formaData = function formaData(value, source) {
5833
6035
  if (labelInValue) {
6036
+ var getFromat = function getFromat(format, val) {
6037
+ return format.map(function (_ref8) {
6038
+ var key = _ref8.key,
6039
+ value = _ref8.value;
6040
+ return _defineProperty({}, key, val[value]);
6041
+ });
6042
+ };
5834
6043
  var formatResult = value.map(function (i) {
5835
- return {
6044
+ return Object.assign.apply(Object, [{
5836
6045
  key: i[mappingValueField] || i.key,
5837
6046
  label: i[mappingTextField] || i.label,
5838
6047
  value: i[mappingValueField] || i.value
5839
- };
6048
+ }].concat(_toConsumableArray(getFromat(returnFormat, i))));
5840
6049
  });
5841
6050
  onChange(selectMode ? formatResult : formatResult[0], value, source);
5842
6051
  } else {
@@ -5984,7 +6193,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5984
6193
  })) || [];
5985
6194
  var searchList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.noEmptySearchField) ? list : list === null || list === void 0 ? void 0 : list.concat(addKong);
5986
6195
  return searchList.map(function (i, index) {
5987
- var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field0, _i$field1, _i$field10, _i$field12, _i$field13;
6196
+ var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field10, _i$field11, _i$field12, _i$field14, _i$field15;
5988
6197
  if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
5989
6198
  span: ColSpan,
5990
6199
  key: i
@@ -6082,7 +6291,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6082
6291
  disabled: setDisabled(i.name)
6083
6292
  }))));
6084
6293
  }
6085
- if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field0 = i.field) === null || _i$field0 === void 0 ? void 0 : _i$field0.type) === 'multipleQueryInput') {
6294
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field10 = i.field) === null || _i$field10 === void 0 ? void 0 : _i$field10.type) === 'multipleQueryInput') {
6086
6295
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6087
6296
  span: ColSpan,
6088
6297
  key: i.name
@@ -6096,7 +6305,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6096
6305
  }
6097
6306
  })));
6098
6307
  }
6099
- if ((i === null || i === void 0 ? void 0 : (_i$field1 = i.field) === null || _i$field1 === void 0 ? void 0 : _i$field1.type) === 'proppertySelector') {
6308
+ if ((i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.type) === 'proppertySelector') {
6100
6309
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6101
6310
  span: ColSpan,
6102
6311
  key: i.name
@@ -6106,8 +6315,8 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6106
6315
  key: i.name
6107
6316
  }, /*#__PURE__*/React__default['default'].createElement(PropertySelector, null)));
6108
6317
  }
6109
- if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field10 = i.field) === null || _i$field10 === void 0 ? void 0 : _i$field10.type) === 'itemPropertySelector') {
6110
- var _i$field11;
6318
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'itemPropertySelector') {
6319
+ var _i$field13;
6111
6320
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6112
6321
  span: ColSpan,
6113
6322
  key: i.name
@@ -6120,9 +6329,9 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6120
6329
  width: '100%'
6121
6330
  },
6122
6331
  placeholder: "\u8BF7\u9009\u62E9"
6123
- }, i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.props))));
6332
+ }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props))));
6124
6333
  }
6125
- if ((i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'multipleQuerySearchSelect') {
6334
+ if ((i === null || i === void 0 ? void 0 : (_i$field14 = i.field) === null || _i$field14 === void 0 ? void 0 : _i$field14.type) === 'multipleQuerySearchSelect') {
6126
6335
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6127
6336
  span: ColSpan,
6128
6337
  key: i.name
@@ -6151,7 +6360,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6151
6360
  placeholder: "\u8BF7\u8F93\u5165",
6152
6361
  allowClear: true,
6153
6362
  maxLength: 100
6154
- }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props), {}, {
6363
+ }, i === null || i === void 0 ? void 0 : (_i$field15 = i.field) === null || _i$field15 === void 0 ? void 0 : _i$field15.props), {}, {
6155
6364
  disabled: setDisabled(i.name)
6156
6365
  }))));
6157
6366
  });
@@ -7471,132 +7680,135 @@ var AddSelect = function AddSelect(props) {
7471
7680
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
7472
7681
  form = _Form$useForm2[0];
7473
7682
  var _useState9 = React$1.useState(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm),
7474
- _useState0 = _slicedToArray(_useState9, 2),
7475
- tableSearchForm = _useState0[0],
7476
- setTableSearchForm = _useState0[1];
7477
- var _useState1 = React$1.useState(true),
7478
- _useState10 = _slicedToArray(_useState1, 2),
7479
- caretLeftFlag = _useState10[0],
7480
- setCaretLeftFlag = _useState10[1];
7481
- var _useState11 = React$1.useState([]),
7683
+ _useState10 = _slicedToArray(_useState9, 2),
7684
+ tableSearchForm = _useState10[0],
7685
+ setTableSearchForm = _useState10[1];
7686
+ var _useState11 = React$1.useState(true),
7482
7687
  _useState12 = _slicedToArray(_useState11, 2),
7483
- tableData = _useState12[0],
7484
- setTableData = _useState12[1];
7485
- var _useState13 = React$1.useState(_objectSpread2({
7688
+ caretLeftFlag = _useState12[0],
7689
+ setCaretLeftFlag = _useState12[1];
7690
+ var _useState13 = React$1.useState([]),
7691
+ _useState14 = _slicedToArray(_useState13, 2),
7692
+ tableData = _useState14[0],
7693
+ setTableData = _useState14[1];
7694
+ var _useState15 = React$1.useState(_objectSpread2({
7486
7695
  total: 0,
7487
7696
  size: "small",
7488
7697
  current: 1,
7489
7698
  pageSize: tableInitPageSize
7490
7699
  }, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.topTablePagination)),
7491
- _useState14 = _slicedToArray(_useState13, 2),
7492
- tablePagination = _useState14[0],
7493
- setTablePagination = _useState14[1];
7494
- var _useState15 = React$1.useState([]),
7495
7700
  _useState16 = _slicedToArray(_useState15, 2),
7496
- selectedRowKeys = _useState16[0],
7497
- setSelectedRowKeys = _useState16[1];
7498
- var _useState17 = React$1.useState({}),
7701
+ tablePagination = _useState16[0],
7702
+ setTablePagination = _useState16[1];
7703
+ var _useState17 = React$1.useState([]),
7499
7704
  _useState18 = _slicedToArray(_useState17, 2),
7500
- tableFormParams = _useState18[0],
7501
- setTableFormParams = _useState18[1];
7502
- var _useState19 = React$1.useState(false),
7705
+ selectedRowKeys = _useState18[0],
7706
+ setSelectedRowKeys = _useState18[1];
7707
+ var _useState19 = React$1.useState({}),
7503
7708
  _useState20 = _slicedToArray(_useState19, 2),
7504
- confirmLoading = _useState20[0],
7505
- setConfirmLoading = _useState20[1];
7709
+ tableFormParams = _useState20[0],
7710
+ setTableFormParams = _useState20[1];
7506
7711
  var _useState21 = React$1.useState(false),
7507
7712
  _useState22 = _slicedToArray(_useState21, 2),
7508
- confirmContinueLoading = _useState22[0],
7509
- setConfirmContinueLoading = _useState22[1];
7510
- var _useState23 = React$1.useState([]),
7713
+ confirmLoading = _useState22[0],
7714
+ setConfirmLoading = _useState22[1];
7715
+ var _useState23 = React$1.useState(false),
7511
7716
  _useState24 = _slicedToArray(_useState23, 2),
7512
- selectColumns = _useState24[0],
7513
- setSelectColumns = _useState24[1];
7717
+ confirmContinueLoading = _useState24[0],
7718
+ setConfirmContinueLoading = _useState24[1];
7514
7719
  var _useState25 = React$1.useState([]),
7515
7720
  _useState26 = _slicedToArray(_useState25, 2),
7516
- showColumns = _useState26[0],
7517
- setShowColumns = _useState26[1];
7721
+ selectColumns = _useState26[0],
7722
+ setSelectColumns = _useState26[1];
7518
7723
  var _useState27 = React$1.useState([]),
7519
7724
  _useState28 = _slicedToArray(_useState27, 2),
7520
- tableColumns = _useState28[0],
7521
- setTableColumns = _useState28[1];
7725
+ showColumns = _useState28[0],
7726
+ setShowColumns = _useState28[1];
7522
7727
  var _useState29 = React$1.useState([]),
7523
7728
  _useState30 = _slicedToArray(_useState29, 2),
7524
- showToChooseColumns = _useState30[0],
7525
- setShowToChooseColumns = _useState30[1];
7729
+ tableColumns = _useState30[0],
7730
+ setTableColumns = _useState30[1];
7731
+ var _useState31 = React$1.useState([]),
7732
+ _useState32 = _slicedToArray(_useState31, 2),
7733
+ showToChooseColumns = _useState32[0],
7734
+ setShowToChooseColumns = _useState32[1];
7526
7735
  var codeToChoose = tableCodeList[0] || initTableCode[businessType][0];
7527
7736
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7528
7737
  // FIXME: 特殊业务逻辑
7529
7738
  var checkSelectChange = /*#__PURE__*/function () {
7530
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7531
- var result, _t;
7532
- return _regenerator().w(function (_context) {
7533
- while (1) switch (_context.n) {
7739
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7740
+ var result;
7741
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
7742
+ while (1) switch (_context.prev = _context.next) {
7534
7743
  case 0:
7535
7744
  if (!(bType == 'skc' && tList.some(function (i) {
7536
7745
  return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
7537
7746
  }))) {
7538
- _context.n = 1;
7747
+ _context.next = 3;
7539
7748
  break;
7540
7749
  }
7541
7750
  antd.message.warning('相同skc配码不可设置相同哦');
7542
- return _context.a(2, false);
7543
- case 1:
7751
+ return _context.abrupt("return", false);
7752
+ case 3:
7544
7753
  if (!(bType == 'spu')) {
7545
- _context.n = 9;
7754
+ _context.next = 26;
7546
7755
  break;
7547
7756
  }
7548
7757
  if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
7549
7758
  return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
7550
7759
  }))) {
7551
- _context.n = 2;
7760
+ _context.next = 7;
7552
7761
  break;
7553
7762
  }
7554
7763
  antd.message.warning('相同商品相同配码颜色不可设置相同哦');
7555
- return _context.a(2, false);
7556
- case 2:
7764
+ return _context.abrupt("return", false);
7765
+ case 7:
7557
7766
  if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
7558
- _context.n = 3;
7767
+ _context.next = 10;
7559
7768
  break;
7560
7769
  }
7561
7770
  antd.message.warning('请先选择颜色!');
7562
- return _context.a(2, false);
7563
- case 3:
7771
+ return _context.abrupt("return", false);
7772
+ case 10:
7564
7773
  if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
7565
7774
  return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
7566
7775
  }))) {
7567
- _context.n = 4;
7776
+ _context.next = 13;
7568
7777
  break;
7569
7778
  }
7570
7779
  antd.message.warning('相同商品相同颜色配码不可设置相同哦');
7571
- return _context.a(2, false);
7572
- case 4:
7780
+ return _context.abrupt("return", false);
7781
+ case 13:
7573
7782
  if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
7574
- _context.n = 9;
7783
+ _context.next = 26;
7575
7784
  break;
7576
7785
  }
7577
7786
  result = true;
7578
- _context.p = 5;
7579
- _context.n = 6;
7787
+ _context.prev = 15;
7788
+ _context.next = 18;
7580
7789
  return checkSpuMatchCode({
7581
7790
  skcCode: recordItem[recordKey],
7582
7791
  matchingCode: changeValue,
7583
7792
  ext1: recordItem.colorName
7584
7793
  });
7585
- case 6:
7586
- result = _context.v;
7794
+ case 18:
7795
+ result = _context.sent;
7587
7796
  result = true;
7588
- _context.n = 8;
7797
+ _context.next = 25;
7589
7798
  break;
7590
- case 7:
7591
- _context.p = 7;
7592
- _t = _context.v;
7593
- result = typeof _t == 'boolean' ? _t : false;
7594
- case 8:
7595
- return _context.a(2, result);
7596
- case 9:
7597
- return _context.a(2, true);
7598
- }
7599
- }, _callee, null, [[5, 7]]);
7799
+ case 22:
7800
+ _context.prev = 22;
7801
+ _context.t0 = _context["catch"](15);
7802
+ result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
7803
+ case 25:
7804
+ return _context.abrupt("return", result);
7805
+ case 26:
7806
+ return _context.abrupt("return", true);
7807
+ case 27:
7808
+ case "end":
7809
+ return _context.stop();
7810
+ }
7811
+ }, _callee, null, [[15, 22]]);
7600
7812
  }));
7601
7813
  return function checkSelectChange(_x, _x2, _x3, _x4, _x5, _x6) {
7602
7814
  return _ref2.apply(this, arguments);
@@ -7674,6 +7886,116 @@ var AddSelect = function AddSelect(props) {
7674
7886
  acc[key] = typeof value === 'function' ? value === null || value === void 0 ? void 0 : value(record) : value;
7675
7887
  return acc;
7676
7888
  }, {});
7889
+ // 可输入非数字字符
7890
+ if (item.canInputString) {
7891
+ return /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, _objectSpread2(_objectSpread2({
7892
+ min: 0,
7893
+ precision: 0,
7894
+ controls: false
7895
+ }, inputProps), {}, {
7896
+ value: text || '',
7897
+ keyboard: false,
7898
+ onPressEnter: function onPressEnter(e) {
7899
+ e.target.blur();
7900
+ },
7901
+ onBlur: function () {
7902
+ var _onBlur = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(e) {
7903
+ var value;
7904
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7905
+ while (1) switch (_context2.prev = _context2.next) {
7906
+ case 0:
7907
+ value = e.target.value;
7908
+ record[item.dataIndex] = value;
7909
+ editRecord(record);
7910
+ case 3:
7911
+ case "end":
7912
+ return _context2.stop();
7913
+ }
7914
+ }, _callee2);
7915
+ }));
7916
+ function onBlur(_x7) {
7917
+ return _onBlur.apply(this, arguments);
7918
+ }
7919
+ return onBlur;
7920
+ }(),
7921
+ onKeyDown: function onKeyDown(e) {
7922
+ if (e.keyCode === 13 && e.ctrlKey) {
7923
+ var _document$getElementB;
7924
+ handleOk(true);
7925
+ (_document$getElementB = document.getElementById("first-query")) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.focus();
7926
+ }
7927
+ if (e.keyCode === 8 && e.ctrlKey) {
7928
+ var _e$nativeEvent$path$;
7929
+ antd.message.success('删除当前行');
7930
+ e.stopPropagation();
7931
+ e.preventDefault();
7932
+ var dom = (_e$nativeEvent$path$ = e.nativeEvent.path[5].children[index + 2]) === null || _e$nativeEvent$path$ === void 0 ? void 0 : _e$nativeEvent$path$.getElementsByTagName('input')[currentIndex];
7933
+ if (dom) {
7934
+ dom.select();
7935
+ dom.focus();
7936
+ dom.scrollIntoView(false);
7937
+ }
7938
+ dom = null;
7939
+ deleteRecord(record);
7940
+ }
7941
+ if (e.keyCode === 37 && e.shiftKey) {
7942
+ var _e$nativeEvent$path$2;
7943
+ // 左滑动
7944
+ e.stopPropagation();
7945
+ e.preventDefault();
7946
+ var _dom = (_e$nativeEvent$path$2 = e.nativeEvent.path[5].children[index + 1]) === null || _e$nativeEvent$path$2 === void 0 ? void 0 : _e$nativeEvent$path$2.getElementsByTagName('input')[currentIndex - 1];
7947
+ if (_dom) {
7948
+ _dom.select();
7949
+ _dom.focus();
7950
+ _dom.scrollIntoView(false);
7951
+ }
7952
+ _dom = null;
7953
+ }
7954
+ if (e.keyCode === 39 && e.shiftKey) {
7955
+ var _e$nativeEvent$path$3;
7956
+ // 右滑
7957
+ e.stopPropagation();
7958
+ e.preventDefault();
7959
+ var _dom2 = (_e$nativeEvent$path$3 = e.nativeEvent.path[5].children[index + 1]) === null || _e$nativeEvent$path$3 === void 0 ? void 0 : _e$nativeEvent$path$3.getElementsByTagName('input')[currentIndex + 1];
7960
+ if (_dom2) {
7961
+ _dom2.select();
7962
+ _dom2.focus();
7963
+ _dom2.scrollIntoView(false);
7964
+ }
7965
+ _dom2 = null;
7966
+ }
7967
+ if (e.keyCode === 40) {
7968
+ var _e$nativeEvent$path$4;
7969
+ e.stopPropagation();
7970
+ e.preventDefault();
7971
+ var _dom3 = (_e$nativeEvent$path$4 = e.nativeEvent.path[5].children[index + 2]) === null || _e$nativeEvent$path$4 === void 0 ? void 0 : _e$nativeEvent$path$4.getElementsByTagName('input')[currentIndex];
7972
+ if (_dom3) {
7973
+ _dom3.select();
7974
+ _dom3.focus();
7975
+ _dom3.scrollIntoView(false);
7976
+ }
7977
+ _dom3 = null;
7978
+ } else if (e.keyCode === 38) {
7979
+ var _e$nativeEvent$path$5;
7980
+ e.stopPropagation();
7981
+ e.preventDefault();
7982
+ var dom1 = (_e$nativeEvent$path$5 = e.nativeEvent.path[5].children[index]) === null || _e$nativeEvent$path$5 === void 0 ? void 0 : _e$nativeEvent$path$5.getElementsByTagName('input')[currentIndex];
7983
+ if (dom1) {
7984
+ // dom1.value=""
7985
+ // dom1.setSelectionRange(100, 0);
7986
+ dom1.select();
7987
+ dom1.focus();
7988
+ dom1.scrollIntoViewIfNeeded(false);
7989
+ // dom1.value=record['count']
7990
+ }
7991
+ dom1 = null;
7992
+ } else if (e.keyCode === 9 && index === selectedRowKeys.length - 1 && currentIndex === inputLength - 1) {
7993
+ e.stopPropagation();
7994
+ e.preventDefault();
7995
+ }
7996
+ }
7997
+ }));
7998
+ }
7677
7999
  return /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, _objectSpread2(_objectSpread2(_objectSpread2({}, inputProps), {}, {
7678
8000
  value: text || '',
7679
8001
  min: 0,
@@ -7691,16 +8013,16 @@ var AddSelect = function AddSelect(props) {
7691
8013
  // }}
7692
8014
  onKeyDown: function onKeyDown(e) {
7693
8015
  if (e.keyCode === 13 && e.ctrlKey) {
7694
- var _document$getElementB;
8016
+ var _document$getElementB2;
7695
8017
  handleOk(true);
7696
- (_document$getElementB = document.getElementById("first-query")) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.focus();
8018
+ (_document$getElementB2 = document.getElementById("first-query")) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2.focus();
7697
8019
  }
7698
8020
  if (e.keyCode === 8 && e.ctrlKey) {
7699
- var _e$nativeEvent$path$;
8021
+ var _e$nativeEvent$path$6;
7700
8022
  antd.message.success('删除当前行');
7701
8023
  e.stopPropagation();
7702
8024
  e.preventDefault();
7703
- var dom = (_e$nativeEvent$path$ = e.nativeEvent.path[5].children[index + 2]) === null || _e$nativeEvent$path$ === void 0 ? void 0 : _e$nativeEvent$path$.getElementsByTagName('input')[currentIndex];
8025
+ var dom = (_e$nativeEvent$path$6 = e.nativeEvent.path[5].children[index + 2]) === null || _e$nativeEvent$path$6 === void 0 ? void 0 : _e$nativeEvent$path$6.getElementsByTagName('input')[currentIndex];
7704
8026
  if (dom) {
7705
8027
  dom.select();
7706
8028
  dom.focus();
@@ -7710,47 +8032,47 @@ var AddSelect = function AddSelect(props) {
7710
8032
  deleteRecord(record);
7711
8033
  }
7712
8034
  if (e.keyCode === 37 && e.shiftKey) {
7713
- var _e$nativeEvent$path$2;
8035
+ var _e$nativeEvent$path$7;
7714
8036
  // 左滑动
7715
8037
  e.stopPropagation();
7716
8038
  e.preventDefault();
7717
- var _dom = (_e$nativeEvent$path$2 = e.nativeEvent.path[5].children[index + 1]) === null || _e$nativeEvent$path$2 === void 0 ? void 0 : _e$nativeEvent$path$2.getElementsByTagName('input')[currentIndex - 1];
7718
- if (_dom) {
7719
- _dom.select();
7720
- _dom.focus();
7721
- _dom.scrollIntoView(false);
8039
+ var _dom4 = (_e$nativeEvent$path$7 = e.nativeEvent.path[5].children[index + 1]) === null || _e$nativeEvent$path$7 === void 0 ? void 0 : _e$nativeEvent$path$7.getElementsByTagName('input')[currentIndex - 1];
8040
+ if (_dom4) {
8041
+ _dom4.select();
8042
+ _dom4.focus();
8043
+ _dom4.scrollIntoView(false);
7722
8044
  }
7723
- _dom = null;
8045
+ _dom4 = null;
7724
8046
  }
7725
8047
  if (e.keyCode === 39 && e.shiftKey) {
7726
- var _e$nativeEvent$path$3;
8048
+ var _e$nativeEvent$path$8;
7727
8049
  // 右滑
7728
8050
  e.stopPropagation();
7729
8051
  e.preventDefault();
7730
- var _dom2 = (_e$nativeEvent$path$3 = e.nativeEvent.path[5].children[index + 1]) === null || _e$nativeEvent$path$3 === void 0 ? void 0 : _e$nativeEvent$path$3.getElementsByTagName('input')[currentIndex + 1];
7731
- if (_dom2) {
7732
- _dom2.select();
7733
- _dom2.focus();
7734
- _dom2.scrollIntoView(false);
8052
+ var _dom5 = (_e$nativeEvent$path$8 = e.nativeEvent.path[5].children[index + 1]) === null || _e$nativeEvent$path$8 === void 0 ? void 0 : _e$nativeEvent$path$8.getElementsByTagName('input')[currentIndex + 1];
8053
+ if (_dom5) {
8054
+ _dom5.select();
8055
+ _dom5.focus();
8056
+ _dom5.scrollIntoView(false);
7735
8057
  }
7736
- _dom2 = null;
8058
+ _dom5 = null;
7737
8059
  }
7738
8060
  if (e.keyCode === 40) {
7739
- var _e$nativeEvent$path$4;
8061
+ var _e$nativeEvent$path$9;
7740
8062
  e.stopPropagation();
7741
8063
  e.preventDefault();
7742
- var _dom3 = (_e$nativeEvent$path$4 = e.nativeEvent.path[5].children[index + 2]) === null || _e$nativeEvent$path$4 === void 0 ? void 0 : _e$nativeEvent$path$4.getElementsByTagName('input')[currentIndex];
7743
- if (_dom3) {
7744
- _dom3.select();
7745
- _dom3.focus();
7746
- _dom3.scrollIntoView(false);
8064
+ var _dom6 = (_e$nativeEvent$path$9 = e.nativeEvent.path[5].children[index + 2]) === null || _e$nativeEvent$path$9 === void 0 ? void 0 : _e$nativeEvent$path$9.getElementsByTagName('input')[currentIndex];
8065
+ if (_dom6) {
8066
+ _dom6.select();
8067
+ _dom6.focus();
8068
+ _dom6.scrollIntoView(false);
7747
8069
  }
7748
- _dom3 = null;
8070
+ _dom6 = null;
7749
8071
  } else if (e.keyCode === 38) {
7750
- var _e$nativeEvent$path$5;
8072
+ var _e$nativeEvent$path$10;
7751
8073
  e.stopPropagation();
7752
8074
  e.preventDefault();
7753
- var dom1 = (_e$nativeEvent$path$5 = e.nativeEvent.path[5].children[index]) === null || _e$nativeEvent$path$5 === void 0 ? void 0 : _e$nativeEvent$path$5.getElementsByTagName('input')[currentIndex];
8075
+ var dom1 = (_e$nativeEvent$path$10 = e.nativeEvent.path[5].children[index]) === null || _e$nativeEvent$path$10 === void 0 ? void 0 : _e$nativeEvent$path$10.getElementsByTagName('input')[currentIndex];
7754
8076
  if (dom1) {
7755
8077
  // dom1.value=""
7756
8078
  // dom1.setSelectionRange(100, 0);
@@ -7784,19 +8106,19 @@ var AddSelect = function AddSelect(props) {
7784
8106
  return /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7785
8107
  value: text || null,
7786
8108
  onChange: function () {
7787
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(value) {
7788
- var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules, _t2;
7789
- return _regenerator().w(function (_context2) {
7790
- while (1) switch (_context2.n) {
8109
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(value) {
8110
+ var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
8111
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
8112
+ while (1) switch (_context3.prev = _context3.next) {
7791
8113
  case 0:
7792
8114
  dataSourceSelectItem = (dataSourceList === null || dataSourceList === void 0 ? void 0 : dataSourceList.find(function (d) {
7793
8115
  return d[selectKey] == value;
7794
8116
  })) || {};
7795
8117
  if (!(item === null || item === void 0 ? void 0 : item.selectChangeCallback)) {
7796
- _context2.n = 2;
8118
+ _context3.next = 6;
7797
8119
  break;
7798
8120
  }
7799
- _context2.n = 1;
8121
+ _context3.next = 4;
7800
8122
  return item === null || item === void 0 ? void 0 : (_item$selectChangeCal = item.selectChangeCallback) === null || _item$selectChangeCal === void 0 ? void 0 : _item$selectChangeCal.call(item, popvalue, setPopValue, {
7801
8123
  record: record,
7802
8124
  index: index,
@@ -7806,10 +8128,10 @@ var AddSelect = function AddSelect(props) {
7806
8128
  dataSourceSelectItem: dataSourceSelectItem,
7807
8129
  editRecord: editRecord
7808
8130
  });
7809
- case 1:
7810
- _context2.n = 10;
8131
+ case 4:
8132
+ _context3.next = 25;
7811
8133
  break;
7812
- case 2:
8134
+ case 6:
7813
8135
  // 更新当前行数据函数
7814
8136
  changeValue = function changeValue(v, dSSItem) {
7815
8137
  var _item$dataSourceSelec;
@@ -7822,12 +8144,12 @@ var AddSelect = function AddSelect(props) {
7822
8144
  }
7823
8145
  }; // 处理校验,默认不校验
7824
8146
  isCheckPass = true;
7825
- _context2.p = 3;
8147
+ _context3.prev = 8;
7826
8148
  if (!(item === null || item === void 0 ? void 0 : item.selectCheckCallback)) {
7827
- _context2.n = 5;
8149
+ _context3.next = 15;
7828
8150
  break;
7829
8151
  }
7830
- _context2.n = 4;
8152
+ _context3.next = 12;
7831
8153
  return item === null || item === void 0 ? void 0 : item.selectCheckCallback(popvalue, {
7832
8154
  record: record,
7833
8155
  index: index,
@@ -7836,23 +8158,23 @@ var AddSelect = function AddSelect(props) {
7836
8158
  changeValue: value,
7837
8159
  dataSourceSelectItem: dataSourceSelectItem
7838
8160
  });
7839
- case 4:
7840
- isCheckPass = _context2.v;
7841
- _context2.n = 7;
8161
+ case 12:
8162
+ isCheckPass = _context3.sent;
8163
+ _context3.next = 19;
7842
8164
  break;
7843
- case 5:
7844
- _context2.n = 6;
8165
+ case 15:
8166
+ _context3.next = 17;
7845
8167
  return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
7846
- case 6:
7847
- isConformToTheRules = _context2.v;
8168
+ case 17:
8169
+ isConformToTheRules = _context3.sent;
7848
8170
  isCheckPass = !isConformToTheRules;
7849
- case 7:
7850
- _context2.n = 9;
8171
+ case 19:
8172
+ _context3.next = 23;
7851
8173
  break;
7852
- case 8:
7853
- _context2.p = 8;
7854
- _t2 = _context2.v;
7855
- case 9:
8174
+ case 21:
8175
+ _context3.prev = 21;
8176
+ _context3.t0 = _context3["catch"](8);
8177
+ case 23:
7856
8178
  if (isCheckPass) {
7857
8179
  changeValue(value, dataSourceSelectItem);
7858
8180
  } else {
@@ -7860,12 +8182,13 @@ var AddSelect = function AddSelect(props) {
7860
8182
  }
7861
8183
  // 更新已选表格函数
7862
8184
  editRecord(record);
7863
- case 10:
7864
- return _context2.a(2);
8185
+ case 25:
8186
+ case "end":
8187
+ return _context3.stop();
7865
8188
  }
7866
- }, _callee2, null, [[3, 8]]);
8189
+ }, _callee3, null, [[8, 21]]);
7867
8190
  }));
7868
- function onChange(_x7) {
8191
+ function onChange(_x8) {
7869
8192
  return _onChange.apply(this, arguments);
7870
8193
  }
7871
8194
  return onChange;
@@ -8125,8 +8448,8 @@ var AddSelect = function AddSelect(props) {
8125
8448
  }
8126
8449
  }
8127
8450
  setTimeout(function () {
8128
- var _document$getElementB2;
8129
- (_document$getElementB2 = document.getElementById("first-query")) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2.focus();
8451
+ var _document$getElementB3;
8452
+ (_document$getElementB3 = document.getElementById("first-query")) === null || _document$getElementB3 === void 0 ? void 0 : _document$getElementB3.focus();
8130
8453
  }, 50);
8131
8454
  };
8132
8455
  // 将格式化完的数据回显到 表格中
@@ -8156,7 +8479,7 @@ var AddSelect = function AddSelect(props) {
8156
8479
  handleLoading(isContinue, true);
8157
8480
  onSaveCallback(popvalue).then(function (res) {
8158
8481
  {
8159
- var _Object$keys2, _document$getElementB3;
8482
+ var _Object$keys2, _document$getElementB4;
8160
8483
  // 成功信息可以在调用处处理 即resolve({messageSuccessBackInfo: { needThrowSuccess: false } })、resolve({messageSuccessBackInfo: { needThrowSuccess: true, successMessage: '已保存' } })
8161
8484
  var initSuccessMessage = '保存成功';
8162
8485
  var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
@@ -8166,7 +8489,7 @@ var AddSelect = function AddSelect(props) {
8166
8489
  antd.message.success(initSuccessMessage);
8167
8490
  }
8168
8491
  deleteSelectRows();
8169
- (_document$getElementB3 = document.getElementById('first-query')) === null || _document$getElementB3 === void 0 ? void 0 : _document$getElementB3.focus();
8492
+ (_document$getElementB4 = document.getElementById('first-query')) === null || _document$getElementB4 === void 0 ? void 0 : _document$getElementB4.focus();
8170
8493
  !isContinue && handleCancel();
8171
8494
  }
8172
8495
  handleLoading(isContinue, false);
@@ -9254,29 +9577,29 @@ var BillEntry = function BillEntry(_ref3) {
9254
9577
  dataIndex: 'propertyNameAndValue'
9255
9578
  }];
9256
9579
  var _useState9 = React$1.useState(false),
9257
- _useState0 = _slicedToArray(_useState9, 2),
9258
- isModalVisible = _useState0[0],
9259
- setIsModalVisible = _useState0[1];
9260
- var _useState1 = React$1.useState([{
9580
+ _useState10 = _slicedToArray(_useState9, 2),
9581
+ isModalVisible = _useState10[0],
9582
+ setIsModalVisible = _useState10[1];
9583
+ var _useState11 = React$1.useState([{
9261
9584
  hovered: false
9262
9585
  }]),
9263
- _useState10 = _slicedToArray(_useState1, 2),
9264
- data = _useState10[0],
9265
- setData = _useState10[1];
9586
+ _useState12 = _slicedToArray(_useState11, 2),
9587
+ data = _useState12[0],
9588
+ setData = _useState12[1];
9266
9589
  var tableRef = React$1.useRef(null);
9267
9590
  var codeSelected = tableCode;
9268
- var _useState11 = React$1.useState(false),
9269
- _useState12 = _slicedToArray(_useState11, 2),
9270
- loading = _useState12[0],
9271
- setLoading = _useState12[1];
9272
- var _useState13 = React$1.useState([]),
9591
+ var _useState13 = React$1.useState(false),
9273
9592
  _useState14 = _slicedToArray(_useState13, 2),
9274
- selectColumns = _useState14[0],
9275
- setSelectColumns = _useState14[1];
9593
+ loading = _useState14[0],
9594
+ setLoading = _useState14[1];
9276
9595
  var _useState15 = React$1.useState([]),
9277
9596
  _useState16 = _slicedToArray(_useState15, 2),
9278
- showColumns = _useState16[0],
9279
- setShowColumns = _useState16[1];
9597
+ selectColumns = _useState16[0],
9598
+ setSelectColumns = _useState16[1];
9599
+ var _useState17 = React$1.useState([]),
9600
+ _useState18 = _slicedToArray(_useState17, 2),
9601
+ showColumns = _useState18[0],
9602
+ setShowColumns = _useState18[1];
9280
9603
  React$1.useEffect(function () {
9281
9604
  setSelectColumns([].concat(_toConsumableArray(columns.map(function (item) {
9282
9605
  var inputLength = columns.filter(function (item) {
@@ -9392,42 +9715,42 @@ var BillEntry = function BillEntry(_ref3) {
9392
9715
  });
9393
9716
  };
9394
9717
  var handleSubmit = /*#__PURE__*/function () {
9395
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
9718
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9396
9719
  var canEntryObject, _canEntryObject$error, messageInfo;
9397
- return _regenerator().w(function (_context) {
9398
- while (1) switch (_context.n) {
9720
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
9721
+ while (1) switch (_context.prev = _context.next) {
9399
9722
  case 0:
9400
9723
  if (data === null || data === void 0 ? void 0 : data.length) {
9401
- _context.n = 1;
9724
+ _context.next = 3;
9402
9725
  break;
9403
9726
  }
9404
9727
  antd.message.warning('至少录入一条数据');
9405
- return _context.a(2);
9406
- case 1:
9728
+ return _context.abrupt("return");
9729
+ case 3:
9407
9730
  if (data === null || data === void 0 ? void 0 : data.every(function (d) {
9408
9731
  return d.skuCode && d.name;
9409
9732
  })) {
9410
- _context.n = 2;
9733
+ _context.next = 6;
9411
9734
  break;
9412
9735
  }
9413
9736
  antd.message.warning('录入商品不存在');
9414
- return _context.a(2);
9415
- case 2:
9737
+ return _context.abrupt("return");
9738
+ case 6:
9416
9739
  if (data === null || data === void 0 ? void 0 : data.every(function (d) {
9417
9740
  return d.count;
9418
9741
  })) {
9419
- _context.n = 3;
9742
+ _context.next = 9;
9420
9743
  break;
9421
9744
  }
9422
9745
  antd.message.warning('请填写商品数量!');
9423
- return _context.a(2);
9424
- case 3:
9425
- _context.n = 4;
9746
+ return _context.abrupt("return");
9747
+ case 9:
9748
+ _context.next = 11;
9426
9749
  return isSkuCanEntry(data);
9427
- case 4:
9428
- canEntryObject = _context.v;
9750
+ case 11:
9751
+ canEntryObject = _context.sent;
9429
9752
  if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
9430
- _context.n = 5;
9753
+ _context.next = 16;
9431
9754
  break;
9432
9755
  }
9433
9756
  messageInfo = (canEntryObject === null || canEntryObject === void 0 ? void 0 : (_canEntryObject$error = canEntryObject.errorList) === null || _canEntryObject$error === void 0 ? void 0 : _canEntryObject$error.length) && (canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.errorList.map(function (i) {
@@ -9437,8 +9760,8 @@ var BillEntry = function BillEntry(_ref3) {
9437
9760
  content: messageInfo,
9438
9761
  duration: 6
9439
9762
  });
9440
- return _context.a(2);
9441
- case 5:
9763
+ return _context.abrupt("return");
9764
+ case 16:
9442
9765
  setLoading(true);
9443
9766
  onSaveCallback(data).then(function (res) {
9444
9767
  {
@@ -9456,8 +9779,9 @@ var BillEntry = function BillEntry(_ref3) {
9456
9779
  antd.message.error(Error);
9457
9780
  setLoading(false);
9458
9781
  });
9459
- case 6:
9460
- return _context.a(2);
9782
+ case 18:
9783
+ case "end":
9784
+ return _context.stop();
9461
9785
  }
9462
9786
  }, _callee);
9463
9787
  }));
@@ -10343,10 +10667,10 @@ function commonFun(type, prefixUrl, parentProps) {
10343
10667
  selectProps = _objectSpread2({
10344
10668
  placeholder: '输入商品(SPU)编码或名称',
10345
10669
  renderTableColumns: [{
10346
- title: '商品编码(SPU)',
10670
+ title: 'SPU编码',
10347
10671
  dataIndex: 'itemCode'
10348
10672
  }, {
10349
- title: '商品名称(SPU)',
10673
+ title: 'SPU名称',
10350
10674
  dataIndex: 'name'
10351
10675
  }]
10352
10676
  }, selectConfigProps);
@@ -10363,11 +10687,11 @@ function commonFun(type, prefixUrl, parentProps) {
10363
10687
  }, requestConfigProp);
10364
10688
  tableSearchForm = [{
10365
10689
  name: 'itemCode*multiInput',
10366
- label: '商品编码(SPU)',
10690
+ label: 'SPU编码',
10367
10691
  type: 'multipleQueryInput'
10368
10692
  }, {
10369
10693
  name: 'name*multiInput',
10370
- label: '商品名称(SPU)',
10694
+ label: 'SPU名称',
10371
10695
  type: 'multipleQueryInput'
10372
10696
  }, {
10373
10697
  name: 'qp-brandId-in',
@@ -10461,11 +10785,11 @@ function commonFun(type, prefixUrl, parentProps) {
10461
10785
  dataIndex: 'keyIndex',
10462
10786
  defaultSort: 0
10463
10787
  }, {
10464
- title: '商品编码(SPU)',
10788
+ title: 'SPU编码',
10465
10789
  dataIndex: 'itemCode',
10466
10790
  defaultSort: 1
10467
10791
  }, {
10468
- title: '商品名称(SPU) ',
10792
+ title: 'SPU名称',
10469
10793
  dataIndex: 'name',
10470
10794
  defaultSort: 2
10471
10795
  }, {
@@ -10819,7 +11143,7 @@ function commonFun(type, prefixUrl, parentProps) {
10819
11143
  options: getQueryHeadersItem(_queryHeaderParams5, 'qp-brandId-in')
10820
11144
  }], ['colorName', 'categoryId', 'classId', 'brandId'], hiddenFields);
10821
11145
  var fieldLoadSource = fieldsRequest.map(function (i) {
10822
- return loadSelectSource$1(i.url, i.params, options);
11146
+ return loadSelectSource$1(i.url, i.params, i.options);
10823
11147
  });
10824
11148
  requestConfig = _objectSpread2({
10825
11149
  url: "".concat(prefixUrl.selectPrefix, "/skc/skcSelect"),
@@ -11033,6 +11357,26 @@ function commonFun(type, prefixUrl, parentProps) {
11033
11357
  }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11034
11358
  sourceName: 'warehouseIds'
11035
11359
  }, requestConfigProp);
11360
+ var _queryHeaderParams7 = getQueryHeadersList({
11361
+ querySelectHeadersList: querySelectHeadersList,
11362
+ extralHeaders: extralHeaders
11363
+ });
11364
+ Promise.all([loadSelectSource$1("/channel-manage/channelInfo/tree", {
11365
+ 'qp-status-eq': 10,
11366
+ 'qp-isMain-eq': 1,
11367
+ 'qp-type-in': '1,2'
11368
+ }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
11369
+ 'qp-status-eq': 1
11370
+ }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in'))]).then(function (x) {
11371
+ var channelDisabledJude = function channelDisabledJude(data) {
11372
+ return data['parentCode'] === '0';
11373
+ }; // 所属销售渠道 树节点不能点判断
11374
+ var areaDisabledJude = function areaDisabledJude(data) {
11375
+ return data['parent'] === '0';
11376
+ }; // 所属营销区域 树节点不能点判断
11377
+ formatTreeDataSource(x, 0, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11378
+ formatTreeDataSource(x, 1, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
11379
+ });
11036
11380
  tableSearchForm = [{
11037
11381
  name: 'realWarehouseName*multiInput',
11038
11382
  label: '逻辑仓名称',
@@ -11056,6 +11400,70 @@ function commonFun(type, prefixUrl, parentProps) {
11056
11400
  },
11057
11401
  label: '管理大区',
11058
11402
  initialSource: getDictionarySource$1('BUSINESS_belongArea')
11403
+ }, {
11404
+ name: 'qp-channelCode-in',
11405
+ type: 'treeSelect',
11406
+ label: '销售渠道',
11407
+ field: {
11408
+ type: 'treeSelect',
11409
+ props: {
11410
+ multiple: true,
11411
+ treeData: [],
11412
+ treeCheckable: false,
11413
+ notFoundContent: '暂无数据',
11414
+ allowClear: true,
11415
+ showSearch: true,
11416
+ showArrow: true,
11417
+ maxTagCount: 1,
11418
+ optionFilterProp: 'children',
11419
+ filterOption: function filterOption(input, option) {
11420
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
11421
+ },
11422
+ showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11423
+ }
11424
+ }
11425
+ }, {
11426
+ name: 'qp-refCode-in',
11427
+ type: 'treeSelect',
11428
+ label: '营销区域',
11429
+ field: {
11430
+ type: 'treeSelect',
11431
+ props: {
11432
+ multiple: true,
11433
+ treeData: [],
11434
+ treeCheckable: false,
11435
+ notFoundContent: '暂无数据',
11436
+ allowClear: true,
11437
+ showSearch: true,
11438
+ showArrow: true,
11439
+ maxTagCount: 1,
11440
+ optionFilterProp: 'children',
11441
+ filterOption: function filterOption(input, option) {
11442
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
11443
+ },
11444
+ showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11445
+ }
11446
+ }
11447
+ }, {
11448
+ name: 'qp-type-in',
11449
+ type: 'select',
11450
+ label: '店铺性质',
11451
+ field: {
11452
+ type: 'select',
11453
+ props: {
11454
+ mode: 'multiple',
11455
+ notFoundContent: '暂无数据',
11456
+ allowClear: true,
11457
+ showSearch: true,
11458
+ showArrow: true,
11459
+ maxTagCount: 1,
11460
+ optionFilterProp: 'children',
11461
+ filterOption: function filterOption(input, option) {
11462
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
11463
+ }
11464
+ }
11465
+ },
11466
+ initialSource: getDictionarySource$1('BUSINESS_StoreType')
11059
11467
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11060
11468
  name: 'qp-isEnable-eq',
11061
11469
  type: 'select',
@@ -11084,10 +11492,36 @@ function commonFun(type, prefixUrl, parentProps) {
11084
11492
  render: function render(text) {
11085
11493
  return getDictionaryTextByValue$1('SC00004', text);
11086
11494
  }
11495
+ }, {
11496
+ title: '运营组名称',
11497
+ dataIndex: 'groupCode',
11498
+ defaultSort: 7,
11499
+ render: function render(text, record) {
11500
+ return (record === null || record === void 0 ? void 0 : record.groupName) ? "\u3010".concat(text, "\u3011").concat(record === null || record === void 0 ? void 0 : record.groupName) : "";
11501
+ },
11502
+ width: 100
11503
+ }, {
11504
+ title: '所属销售渠道',
11505
+ dataIndex: 'channelName',
11506
+ defaultSort: 4,
11507
+ width: 100
11508
+ }, {
11509
+ title: '营销区域',
11510
+ dataIndex: 'commonRelationAreaName',
11511
+ defaultSort: 5,
11512
+ width: 100
11513
+ }, {
11514
+ title: '店铺性质',
11515
+ dataIndex: 'type',
11516
+ defaultSort: 6,
11517
+ render: function render(text) {
11518
+ return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
11519
+ },
11520
+ width: 80
11087
11521
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11088
11522
  title: '状态',
11089
11523
  dataIndex: 'isEnable',
11090
- defaultSort: 4,
11524
+ defaultSort: 8,
11091
11525
  render: function render(text) {
11092
11526
  return getDictionaryTextByValue$1('SC00001', text);
11093
11527
  }
@@ -11147,20 +11581,50 @@ function commonFun(type, prefixUrl, parentProps) {
11147
11581
  }
11148
11582
  }
11149
11583
  }
11584
+ }, {
11585
+ name: 'qp-channelCode-in',
11586
+ type: 'treeSelect',
11587
+ label: '销售渠道',
11588
+ field: {
11589
+ type: 'treeSelect',
11590
+ props: {
11591
+ multiple: true,
11592
+ treeData: [],
11593
+ treeCheckable: false,
11594
+ notFoundContent: '暂无数据',
11595
+ allowClear: true,
11596
+ showSearch: true,
11597
+ showArrow: true,
11598
+ maxTagCount: 1,
11599
+ optionFilterProp: 'children',
11600
+ filterOption: function filterOption(input, option) {
11601
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
11602
+ },
11603
+ showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11604
+ }
11605
+ }
11150
11606
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11151
11607
  name: 'qp-status-eq',
11152
11608
  type: 'select',
11153
11609
  label: '运营仓状态',
11154
11610
  initialSource: getDictionarySource$1('SC00001')
11155
11611
  }] : []));
11156
- var _queryHeaderParams7 = getQueryHeadersList({
11612
+ var _queryHeaderParams8 = getQueryHeadersList({
11157
11613
  querySelectHeadersList: querySelectHeadersList,
11158
11614
  extralHeaders: extralHeaders
11159
11615
  });
11160
11616
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/groupInfo/listNoPage"), {
11161
11617
  'qp-status-eq': 1
11162
- }, getQueryHeadersItem(_queryHeaderParams7, 'qp-groupCode-in'))]).then(function (x) {
11618
+ }, getQueryHeadersItem(_queryHeaderParams8, 'qp-groupCode-in')), loadSelectSource$1("/channel-manage/channelInfo/tree", {
11619
+ 'qp-status-eq': 10,
11620
+ 'qp-isMain-eq': 1,
11621
+ 'qp-type-in': '1,2'
11622
+ }, getQueryHeadersItem(_queryHeaderParams8, 'qp-orgCode-in'))]).then(function (x) {
11163
11623
  formatSource(x, 0, 2, tableSearchForm, ['groupCode', 'groupName']);
11624
+ var channelDisabledJude = function channelDisabledJude(data) {
11625
+ return data['parentCode'] === '0';
11626
+ }; // 所属销售渠道 树节点不能点判断
11627
+ formatTreeDataSource(x, 1, 3, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11164
11628
  });
11165
11629
  modalTableProps = _objectSpread2({
11166
11630
  modalTableTitle: '选择运营仓',
@@ -11188,7 +11652,12 @@ function commonFun(type, prefixUrl, parentProps) {
11188
11652
  render: function render(text) {
11189
11653
  return getDictionaryTextByValue$1('SC00001', text);
11190
11654
  }
11191
- }] : []))
11655
+ }] : []), [{
11656
+ title: '所属销售渠道',
11657
+ dataIndex: 'channelName',
11658
+ defaultSort: 5,
11659
+ width: 100
11660
+ }])
11192
11661
  }, modalTableBusProps);
11193
11662
  }
11194
11663
  // 仓库选择器(虚拟、渠道仓)(无弹窗)
@@ -11337,7 +11806,7 @@ function commonFun(type, prefixUrl, parentProps) {
11337
11806
  label: '共享类型',
11338
11807
  initialSource: sharingTypeDataList
11339
11808
  }];
11340
- var _queryHeaderParams8 = getQueryHeadersList({
11809
+ var _queryHeaderParams9 = getQueryHeadersList({
11341
11810
  querySelectHeadersList: querySelectHeadersList,
11342
11811
  extralHeaders: extralHeaders
11343
11812
  });
@@ -11345,14 +11814,14 @@ function commonFun(type, prefixUrl, parentProps) {
11345
11814
  pageSize: 5000,
11346
11815
  currentPage: 1,
11347
11816
  'qp-companyType-eq': '30'
11348
- }, getQueryHeadersItem(_queryHeaderParams8, 'qp-conglomerateCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
11817
+ }, getQueryHeadersItem(_queryHeaderParams9, 'qp-conglomerateCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
11349
11818
  pageSize: 5000,
11350
11819
  currentPage: 1
11351
- }, getQueryHeadersItem(_queryHeaderParams8, 'qp-accountingCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
11820
+ }, getQueryHeadersItem(_queryHeaderParams9, 'qp-accountingCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
11352
11821
  pageSize: 5000,
11353
11822
  currentPage: 1,
11354
11823
  'qp-companyType-eq': '20'
11355
- }, getQueryHeadersItem(_queryHeaderParams8, 'qp-sharingType-in'))]).then(function (x) {
11824
+ }, getQueryHeadersItem(_queryHeaderParams9, 'qp-sharingType-in'))]).then(function (x) {
11356
11825
  formatSource(x, 0, 2, tableSearchForm);
11357
11826
  formatSource(x, 1, 3, tableSearchForm);
11358
11827
  formatSource(x, 2, 4, tableSearchForm);
@@ -11464,16 +11933,74 @@ function commonFun(type, prefixUrl, parentProps) {
11464
11933
  }
11465
11934
  }
11466
11935
  }
11936
+ }, {
11937
+ name: 'qp-saleChannel-in',
11938
+ type: 'treeSelect',
11939
+ label: '销售渠道',
11940
+ field: {
11941
+ type: 'treeSelect',
11942
+ props: {
11943
+ multiple: true,
11944
+ treeData: [],
11945
+ treeCheckable: false,
11946
+ notFoundContent: '暂无数据',
11947
+ allowClear: true,
11948
+ showSearch: true,
11949
+ showArrow: true,
11950
+ maxTagCount: 1,
11951
+ optionFilterProp: 'children',
11952
+ filterOption: function filterOption(input, option) {
11953
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
11954
+ },
11955
+ showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11956
+ }
11957
+ }
11958
+ }, {
11959
+ name: 'qp-refCode-in',
11960
+ type: 'treeSelect',
11961
+ label: '营销区域',
11962
+ field: {
11963
+ type: 'treeSelect',
11964
+ props: {
11965
+ multiple: true,
11966
+ treeData: [],
11967
+ treeCheckable: false,
11968
+ notFoundContent: '暂无数据',
11969
+ allowClear: true,
11970
+ showSearch: true,
11971
+ showArrow: true,
11972
+ maxTagCount: 1,
11973
+ optionFilterProp: 'children',
11974
+ filterOption: function filterOption(input, option) {
11975
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
11976
+ },
11977
+ showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11978
+ }
11979
+ }
11467
11980
  }];
11468
- var _queryHeaderParams9 = getQueryHeadersList({
11981
+ var _queryHeaderParams10 = getQueryHeadersList({
11469
11982
  querySelectHeadersList: querySelectHeadersList,
11470
11983
  extralHeaders: extralHeaders
11471
11984
  });
11472
- Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/org/listNoPage"), {}, getQueryHeadersItem(_queryHeaderParams9, 'qp-createOrgCode-eq'))]).then(function (x) {
11985
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/org/listNoPage"), {}, getQueryHeadersItem(_queryHeaderParams10, 'qp-createOrgCode-eq')), loadSelectSource$1("/channel-manage/channelInfo/tree", {
11986
+ 'qp-status-eq': 10,
11987
+ 'qp-isMain-eq': 1,
11988
+ 'qp-type-in': '1,2'
11989
+ }, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
11990
+ 'qp-status-eq': 1
11991
+ }, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in'))]).then(function (x) {
11473
11992
  var firstElement = x === null || x === void 0 ? void 0 : x[0];
11474
11993
  var allList = firstElement && [firstElement, firstElement];
11475
11994
  formatSource(allList, 0, 2, tableSearchForm);
11476
11995
  formatSource(allList, 1, 3, tableSearchForm);
11996
+ var channelDisabledJude = function channelDisabledJude(data) {
11997
+ return data['parentCode'] === '0';
11998
+ }; // 所属销售渠道 树节点不能点判断
11999
+ var areaDisabledJude = function areaDisabledJude(data) {
12000
+ return data['parent'] === '0';
12001
+ }; // 所属营销区域 树节点不能点判断
12002
+ formatTreeDataSource(x, 1, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
12003
+ formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
11477
12004
  });
11478
12005
  modalTableProps = _objectSpread2({
11479
12006
  modalTableTitle: '选择客户',
@@ -11497,7 +12024,18 @@ function commonFun(type, prefixUrl, parentProps) {
11497
12024
  }, {
11498
12025
  title: '使用组织',
11499
12026
  dataIndex: 'salesOrgName',
11500
- defaultSort: 4
12027
+ defaultSort: 4,
12028
+ width: 100
12029
+ }, {
12030
+ title: '所属销售渠道',
12031
+ dataIndex: 'channelName',
12032
+ defaultSort: 5,
12033
+ width: 100
12034
+ }, {
12035
+ title: '营销区域',
12036
+ dataIndex: 'commonRelationAreaName',
12037
+ defaultSort: 6,
12038
+ width: 100
11501
12039
  }]
11502
12040
  }, modalTableBusProps);
11503
12041
  }
@@ -11525,12 +12063,17 @@ function commonFun(type, prefixUrl, parentProps) {
11525
12063
  sourceName: 'code'
11526
12064
  }, requestConfigProp);
11527
12065
  tableSearchForm = [{
11528
- name: 'qp-name-like',
11529
- label: '店铺名称'
11530
- }, {
11531
- name: 'qp-code-like',
11532
- label: '店铺编码'
12066
+ name: 'name*multiInput',
12067
+ label: '店铺名称',
12068
+ type: 'multipleQueryInput'
11533
12069
  }, {
12070
+ name: 'code*multiInput',
12071
+ label: '店铺编码',
12072
+ type: 'multipleQueryInput'
12073
+ },
12074
+ // { name: 'qp-name-like', label: '店铺名称' },
12075
+ // { name: 'qp-code-like', label: '店铺编码' },
12076
+ {
11534
12077
  name: 'qp-conglomerateCode-in',
11535
12078
  type: 'select',
11536
12079
  label: '归属集团',
@@ -11631,7 +12174,7 @@ function commonFun(type, prefixUrl, parentProps) {
11631
12174
  }
11632
12175
  }
11633
12176
  }];
11634
- var _queryHeaderParams0 = getQueryHeadersList({
12177
+ var _queryHeaderParams11 = getQueryHeadersList({
11635
12178
  querySelectHeadersList: querySelectHeadersList,
11636
12179
  extralHeaders: extralHeaders
11637
12180
  });
@@ -11639,21 +12182,21 @@ function commonFun(type, prefixUrl, parentProps) {
11639
12182
  pageSize: 5000,
11640
12183
  currentPage: 1,
11641
12184
  'qp-companyType-eq': '30'
11642
- }, getQueryHeadersItem(_queryHeaderParams0, 'qp-conglomerateCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
12185
+ }, getQueryHeadersItem(_queryHeaderParams11, 'qp-conglomerateCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
11643
12186
  pageSize: 5000,
11644
12187
  currentPage: 1,
11645
12188
  'qp-companyType-eq': '20'
11646
- }, getQueryHeadersItem(_queryHeaderParams0, 'qp-companyCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/platformRecord/getPlatformRecordList"), {
12189
+ }, getQueryHeadersItem(_queryHeaderParams11, 'qp-companyCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/platformRecord/getPlatformRecordList"), {
11647
12190
  // pageSize: 5000,
11648
12191
  // currentPage: 1,
11649
12192
  'qp-status-eq': '1'
11650
- }, getQueryHeadersItem(_queryHeaderParams0, 'qp-plateformCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/store"), {
12193
+ }, getQueryHeadersItem(_queryHeaderParams11, 'qp-plateformCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/store"), {
11651
12194
  pageSize: 5000,
11652
12195
  currentPage: 1
11653
- }, getQueryHeadersItem(_queryHeaderParams0, 'qp-mainBrandCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
12196
+ }, getQueryHeadersItem(_queryHeaderParams11, 'qp-mainBrandCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
11654
12197
  pageSize: 5000,
11655
12198
  currentPage: 1
11656
- }, getQueryHeadersItem(_queryHeaderParams0, 'qp-accountingCode-in'))]).then(function (x) {
12199
+ }, getQueryHeadersItem(_queryHeaderParams11, 'qp-accountingCode-in'))]).then(function (x) {
11657
12200
  formatSource(x, 0, 2, tableSearchForm);
11658
12201
  formatSource(x, 1, 3, tableSearchForm);
11659
12202
  formatSource(x, 2, 5, tableSearchForm);
@@ -11823,7 +12366,7 @@ function commonFun(type, prefixUrl, parentProps) {
11823
12366
  },
11824
12367
  initialSource: getDictionarySource$1('BUSINESS_StoreType')
11825
12368
  }];
11826
- var _queryHeaderParams1 = getQueryHeadersList({
12369
+ var _queryHeaderParams12 = getQueryHeadersList({
11827
12370
  querySelectHeadersList: querySelectHeadersList,
11828
12371
  extralHeaders: extralHeaders
11829
12372
  });
@@ -11831,13 +12374,13 @@ function commonFun(type, prefixUrl, parentProps) {
11831
12374
  'qp-employeeCode-eq': getEmployeeCode(),
11832
12375
  'qp-realOrg-eq': true,
11833
12376
  'qp-status-eq': 10
11834
- }, getQueryHeadersItem(_queryHeaderParams1, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/channelInfo/tree"), {
12377
+ }, getQueryHeadersItem(_queryHeaderParams12, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/channelInfo/tree"), {
11835
12378
  'qp-status-eq': 10,
11836
12379
  'qp-isMain-eq': 1,
11837
12380
  'qp-type-in': '1,2'
11838
- }, getQueryHeadersItem(_queryHeaderParams1, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/tagNode/getTree/10"), {
12381
+ }, getQueryHeadersItem(_queryHeaderParams12, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/tagNode/getTree/10"), {
11839
12382
  'qp-status-eq': 1
11840
- }, getQueryHeadersItem(_queryHeaderParams1, 'qp-orgCode-in'))]).then(function (x) {
12383
+ }, getQueryHeadersItem(_queryHeaderParams12, 'qp-orgCode-in'))]).then(function (x) {
11841
12384
  var channelDisabledJude = function channelDisabledJude(data) {
11842
12385
  return data['parentCode'] === '0';
11843
12386
  }; // 所属销售渠道 树节点不能点判断
@@ -12072,10 +12615,10 @@ function commonFun(type, prefixUrl, parentProps) {
12072
12615
  name: 'qp-email-like',
12073
12616
  label: '邮箱'
12074
12617
  }, {
12075
- name: 'qp-officeTelephone-like',
12618
+ name: 'qp-phone-like',
12076
12619
  label: '手机号'
12077
12620
  }];
12078
- var _queryHeaderParams10 = getQueryHeadersList({
12621
+ var _queryHeaderParams13 = getQueryHeadersList({
12079
12622
  querySelectHeadersList: querySelectHeadersList,
12080
12623
  extralHeaders: extralHeaders
12081
12624
  });
@@ -12083,7 +12626,7 @@ function commonFun(type, prefixUrl, parentProps) {
12083
12626
  pageSize: 5000,
12084
12627
  currentPage: 1,
12085
12628
  'qp-companyType-eq': 20
12086
- }, getQueryHeadersItem(_queryHeaderParams10, 'qp-companyCode-in'))]).then(function (x) {
12629
+ }, getQueryHeadersItem(_queryHeaderParams13, 'qp-companyCode-in'))]).then(function (x) {
12087
12630
  formatSource(x, 0, 2, tableSearchForm);
12088
12631
  });
12089
12632
  modalTableProps = _objectSpread2({
@@ -12189,16 +12732,16 @@ function commonFun(type, prefixUrl, parentProps) {
12189
12732
  name: 'qp-email-like',
12190
12733
  label: '邮箱'
12191
12734
  }, {
12192
- name: 'qp-officeTelephone-like',
12735
+ name: 'qp-phone-like',
12193
12736
  label: '手机号'
12194
12737
  }]);
12195
- var _queryHeaderParams11 = getQueryHeadersList({
12738
+ var _queryHeaderParams14 = getQueryHeadersList({
12196
12739
  querySelectHeadersList: querySelectHeadersList,
12197
12740
  extralHeaders: extralHeaders
12198
12741
  });
12199
12742
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgViewNode/common/getTreeForOrgViewAndTenant"), {
12200
12743
  'orgViewCode': 'administrative-organization-view'
12201
- }, getQueryHeadersItem(_queryHeaderParams11, 'qp-code-in'))]).then(function (x) {
12744
+ }, getQueryHeadersItem(_queryHeaderParams14, 'qp-code-in'))]).then(function (x) {
12202
12745
  formatTreeDataSource(x, 0, 2, tableSearchForm, ['code', 'name']);
12203
12746
  });
12204
12747
  modalTableProps = _objectSpread2({
@@ -12345,17 +12888,17 @@ function commonFun(type, prefixUrl, parentProps) {
12345
12888
  name: 'qp-remark-like',
12346
12889
  label: '备注'
12347
12890
  }];
12348
- var _queryHeaderParams12 = getQueryHeadersList({
12891
+ var _queryHeaderParams15 = getQueryHeadersList({
12349
12892
  querySelectHeadersList: querySelectHeadersList,
12350
12893
  extralHeaders: extralHeaders
12351
12894
  });
12352
12895
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/logisCompany"), {
12353
12896
  pageSize: 5000,
12354
12897
  currentPage: 1
12355
- }, getQueryHeadersItem(_queryHeaderParams12, logisCompanyCodeSingleSearchName)), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/printTemplate"), {
12898
+ }, getQueryHeadersItem(_queryHeaderParams15, logisCompanyCodeSingleSearchName)), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/printTemplate"), {
12356
12899
  pageSize: 5000,
12357
12900
  currentPage: 1
12358
- }, getQueryHeadersItem(_queryHeaderParams12, 'qp-sheetTemplateCode-in'))]).then(function (x) {
12901
+ }, getQueryHeadersItem(_queryHeaderParams15, 'qp-sheetTemplateCode-in'))]).then(function (x) {
12359
12902
  formatSource(x, 0, 2, tableSearchForm);
12360
12903
  formatSource(x, 1, 5, tableSearchForm);
12361
12904
  });
@@ -12525,14 +13068,14 @@ function commonFun(type, prefixUrl, parentProps) {
12525
13068
  }
12526
13069
  }
12527
13070
  }];
12528
- var _queryHeaderParams13 = getQueryHeadersList({
13071
+ var _queryHeaderParams16 = getQueryHeadersList({
12529
13072
  querySelectHeadersList: querySelectHeadersList,
12530
13073
  extralHeaders: extralHeaders
12531
13074
  });
12532
13075
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/permissionCategory"), {
12533
13076
  pageSize: 5000,
12534
13077
  currentPage: 1
12535
- }, getQueryHeadersItem(_queryHeaderParams13, 'qp-categoryCode-eq'))]).then(function (x) {
13078
+ }, getQueryHeadersItem(_queryHeaderParams16, 'qp-categoryCode-eq'))]).then(function (x) {
12536
13079
  formatSource(x, 0, 2, tableSearchForm);
12537
13080
  });
12538
13081
  modalTableProps = _objectSpread2({
@@ -12629,7 +13172,7 @@ function commonFun(type, prefixUrl, parentProps) {
12629
13172
  }
12630
13173
  }
12631
13174
  }];
12632
- var _queryHeaderParams14 = getQueryHeadersList({
13175
+ var _queryHeaderParams17 = getQueryHeadersList({
12633
13176
  querySelectHeadersList: querySelectHeadersList,
12634
13177
  extralHeaders: extralHeaders
12635
13178
  });
@@ -12637,7 +13180,7 @@ function commonFun(type, prefixUrl, parentProps) {
12637
13180
  'qp-employeeCode-eq': getEmployeeCode(),
12638
13181
  'qp-realOrg-eq': true,
12639
13182
  'qp-status-eq': 10
12640
- }, getQueryHeadersItem(_queryHeaderParams14, 'qp-salesOrgCode-in'))]).then(function (x) {
13183
+ }, getQueryHeadersItem(_queryHeaderParams17, 'qp-salesOrgCode-in'))]).then(function (x) {
12641
13184
  formatSource(x, 0, 2, tableSearchForm);
12642
13185
  });
12643
13186
  modalTableProps = _objectSpread2({
@@ -12743,13 +13286,13 @@ function commonFun(type, prefixUrl, parentProps) {
12743
13286
  },
12744
13287
  initialSource: nodeType
12745
13288
  }];
12746
- var _queryHeaderParams15 = getQueryHeadersList({
13289
+ var _queryHeaderParams18 = getQueryHeadersList({
12747
13290
  querySelectHeadersList: querySelectHeadersList,
12748
13291
  extralHeaders: extralHeaders
12749
13292
  });
12750
13293
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgView/getOrgViewListNoPage"), {
12751
13294
  'qp-status-eq': 10
12752
- }, getQueryHeadersItem(_queryHeaderParams15, 'qp-orgViewCode-in'))]).then(function (x) {
13295
+ }, getQueryHeadersItem(_queryHeaderParams18, 'qp-orgViewCode-in'))]).then(function (x) {
12753
13296
  formatSource(x, 0, 2, tableSearchForm);
12754
13297
  });
12755
13298
  modalTableProps = _objectSpread2({
@@ -13075,13 +13618,13 @@ function commonFun(type, prefixUrl, parentProps) {
13075
13618
  },
13076
13619
  initialSource: nodeType
13077
13620
  }];
13078
- var _queryHeaderParams16 = getQueryHeadersList({
13621
+ var _queryHeaderParams19 = getQueryHeadersList({
13079
13622
  querySelectHeadersList: querySelectHeadersList,
13080
13623
  extralHeaders: extralHeaders
13081
13624
  });
13082
13625
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgView/getOrgViewListNoPage"), {
13083
13626
  'qp-status-eq': 10
13084
- }, getQueryHeadersItem(_queryHeaderParams16, 'qp-orgViewCode-in'))]).then(function (x) {
13627
+ }, getQueryHeadersItem(_queryHeaderParams19, 'qp-orgViewCode-in'))]).then(function (x) {
13085
13628
  formatSource(x, 0, 2, tableSearchForm);
13086
13629
  });
13087
13630
  modalTableProps = _objectSpread2({
@@ -14026,9 +14569,9 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
14026
14569
  value = _useState8[0],
14027
14570
  setValue = _useState8[1];
14028
14571
  var _useState9 = React$1.useState([]),
14029
- _useState0 = _slicedToArray(_useState9, 2),
14030
- propertyList = _useState0[0],
14031
- setPropertyList = _useState0[1];
14572
+ _useState10 = _slicedToArray(_useState9, 2),
14573
+ propertyList = _useState10[0],
14574
+ setPropertyList = _useState10[1];
14032
14575
  React$1.useEffect(function () {
14033
14576
  if (parProps === null || parProps === void 0 ? void 0 : parProps.isSingleColor) {
14034
14577
  // type: 1 尺码组; 2 配码组
@@ -14552,45 +15095,46 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14552
15095
  requestUtil.get("".concat(url, "?").concat(querystring.stringify(paramsData)), {
14553
15096
  headers: headers
14554
15097
  }).then(/*#__PURE__*/function () {
14555
- var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(res) {
15098
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
14556
15099
  var _ctx$form;
14557
15100
  var resData, coverData, data, dataList;
14558
- return _regenerator().w(function (_context) {
14559
- while (1) switch (_context.n) {
15101
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
15102
+ while (1) switch (_context.prev = _context.next) {
14560
15103
  case 0:
14561
15104
  resData = (res === null || res === void 0 ? void 0 : res.data) || [];
14562
15105
  if (!judgeIsRequestSuccess(resData)) {
14563
- _context.n = 4;
15106
+ _context.next = 13;
14564
15107
  break;
14565
15108
  }
14566
15109
  data = resData.data;
14567
15110
  if (!remoteSource.converter) {
14568
- _context.n = 2;
15111
+ _context.next = 9;
14569
15112
  break;
14570
15113
  }
14571
- _context.n = 1;
15114
+ _context.next = 6;
14572
15115
  return remoteSource.converter({
14573
15116
  data: [data]
14574
15117
  });
14575
- case 1:
14576
- coverData = _context.v;
14577
- _context.n = 3;
15118
+ case 6:
15119
+ coverData = _context.sent;
15120
+ _context.next = 11;
14578
15121
  break;
14579
- case 2:
15122
+ case 9:
14580
15123
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
14581
15124
  coverData = dataList.length && dataList.map(function (ites) {
14582
15125
  return _mapSearchTree(ites);
14583
15126
  }) || [];
14584
- case 3:
14585
- _context.n = 5;
15127
+ case 11:
15128
+ _context.next = 14;
14586
15129
  break;
14587
- case 4:
15130
+ case 13:
14588
15131
  coverData = [];
14589
- case 5:
15132
+ case 14:
14590
15133
  setTreeData(coverData);
14591
15134
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
14592
- case 6:
14593
- return _context.a(2);
15135
+ case 16:
15136
+ case "end":
15137
+ return _context.stop();
14594
15138
  }
14595
15139
  }, _callee);
14596
15140
  }));
@@ -18892,38 +19436,38 @@ var BsSulaQueryTable = (function (props) {
18892
19436
  };
18893
19437
  var refs = React$1.useRef(null);
18894
19438
  var _useState9 = React$1.useState(''),
18895
- _useState0 = _slicedToArray(_useState9, 2),
18896
- pagePath = _useState0[0],
18897
- setPagePath = _useState0[1];
19439
+ _useState10 = _slicedToArray(_useState9, 2),
19440
+ pagePath = _useState10[0],
19441
+ setPagePath = _useState10[1];
18898
19442
  var _useLocation = umi.useLocation(),
18899
19443
  pathname = _useLocation.pathname,
18900
19444
  _useLocation$state = _useLocation.state,
18901
19445
  state = _useLocation$state === void 0 ? {} : _useLocation$state;
18902
- var _useState1 = React$1.useState(false),
18903
- _useState10 = _slicedToArray(_useState1, 2),
18904
- isFullScreen = _useState10[0],
18905
- setIsFnllScreen = _useState10[1];
19446
+ var _useState11 = React$1.useState(false),
19447
+ _useState12 = _slicedToArray(_useState11, 2),
19448
+ isFullScreen = _useState12[0],
19449
+ setIsFnllScreen = _useState12[1];
18906
19450
  // @ts-nocheck
18907
19451
  var value = props;
18908
19452
  var _props$fields = props.fields,
18909
19453
  fields = _props$fields === void 0 ? [] : _props$fields;
18910
- var _useState11 = React$1.useState([]),
18911
- _useState12 = _slicedToArray(_useState11, 2),
18912
- showColumn = _useState12[0],
18913
- setShowColumns = _useState12[1]; // 列字段
18914
- var originSearchFields = getSettingFieldOrColumn(getConfigFromlocalstorage(ENUM$1.BROWSER_CACHE.SEARCH_FIELDS_CONDITION), fields, 'searchFields');
18915
- var _useState13 = React$1.useState(originSearchFields),
19454
+ var _useState13 = React$1.useState([]),
18916
19455
  _useState14 = _slicedToArray(_useState13, 2),
18917
- showSearchFields = _useState14[0],
18918
- setShowSearchFields = _useState14[1]; //搜索项字段
18919
- var _useState15 = React$1.useState([]),
19456
+ showColumn = _useState14[0],
19457
+ setShowColumns = _useState14[1]; // 列字段
19458
+ var originSearchFields = getSettingFieldOrColumn(getConfigFromlocalstorage(ENUM$1.BROWSER_CACHE.SEARCH_FIELDS_CONDITION), fields, 'searchFields');
19459
+ var _useState15 = React$1.useState(originSearchFields),
18920
19460
  _useState16 = _slicedToArray(_useState15, 2),
18921
- showExportColumn = _useState16[0],
18922
- setShowExportColumns = _useState16[1]; // 导出列字段
18923
- var _useState17 = React$1.useState(''),
19461
+ showSearchFields = _useState16[0],
19462
+ setShowSearchFields = _useState16[1]; //搜索项字段
19463
+ var _useState17 = React$1.useState([]),
18924
19464
  _useState18 = _slicedToArray(_useState17, 2),
18925
- height = _useState18[0],
18926
- setHeight = _useState18[1];
19465
+ showExportColumn = _useState18[0],
19466
+ setShowExportColumns = _useState18[1]; // 导出列字段
19467
+ var _useState19 = React$1.useState(''),
19468
+ _useState20 = _slicedToArray(_useState19, 2),
19469
+ height = _useState20[0],
19470
+ setHeight = _useState20[1];
18927
19471
  var sortTableRef = React$1.useRef(null);
18928
19472
  var searchTableRef = React$1.useRef(null);
18929
19473
  var exportTableRef = React$1.useRef(null);
@@ -19971,19 +20515,22 @@ function outLogin(_x) {
19971
20515
  return _outLogin.apply(this, arguments);
19972
20516
  }
19973
20517
  function _outLogin() {
19974
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
20518
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19975
20519
  var res;
19976
- return _regenerator().w(function (_context) {
19977
- while (1) switch (_context.n) {
20520
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
20521
+ while (1) switch (_context.prev = _context.next) {
19978
20522
  case 0:
19979
- _context.n = 1;
20523
+ _context.next = 2;
19980
20524
  return requestUtil({
19981
20525
  url: '/user/web/loginOut',
19982
20526
  method: 'GET'
19983
20527
  });
19984
- case 1:
19985
- res = _context.v;
19986
- return _context.a(2, res);
20528
+ case 2:
20529
+ res = _context.sent;
20530
+ return _context.abrupt("return", res);
20531
+ case 4:
20532
+ case "end":
20533
+ return _context.stop();
19987
20534
  }
19988
20535
  }, _callee);
19989
20536
  }));
@@ -20110,20 +20657,20 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
20110
20657
  });
20111
20658
  };
20112
20659
  var loginOut = /*#__PURE__*/function () {
20113
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
20660
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20114
20661
  var sessionId;
20115
- return _regenerator().w(function (_context) {
20116
- while (1) switch (_context.n) {
20662
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
20663
+ while (1) switch (_context.prev = _context.next) {
20117
20664
  case 0:
20118
- _context.n = 1;
20665
+ _context.next = 2;
20119
20666
  return getSessionId();
20120
- case 1:
20121
- sessionId = _context.v;
20122
- _context.n = 2;
20667
+ case 2:
20668
+ sessionId = _context.sent;
20669
+ _context.next = 5;
20123
20670
  return outLogin({
20124
20671
  sessionId: sessionId
20125
20672
  });
20126
- case 2:
20673
+ case 5:
20127
20674
  // @ts-ignore
20128
20675
  if (BUILD_TYPE) {
20129
20676
  antd.message.success('退出登录成功');
@@ -20133,8 +20680,9 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
20133
20680
  } else {
20134
20681
  setLoginOutPath();
20135
20682
  }
20136
- case 3:
20137
- return _context.a(2);
20683
+ case 6:
20684
+ case "end":
20685
+ return _context.stop();
20138
20686
  }
20139
20687
  }, _callee);
20140
20688
  }));
@@ -20221,15 +20769,18 @@ function getStoreByName(_x) {
20221
20769
  return _getStoreByName.apply(this, arguments);
20222
20770
  }
20223
20771
  function _getStoreByName() {
20224
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
20225
- return _regenerator().w(function (_context) {
20226
- while (1) switch (_context.n) {
20772
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
20773
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
20774
+ while (1) switch (_context.prev = _context.next) {
20227
20775
  case 0:
20228
- return _context.a(2, requestUtil({
20776
+ return _context.abrupt("return", requestUtil({
20229
20777
  url: '/store-house/orgViewNode/listNoPage',
20230
20778
  method: 'GET',
20231
20779
  params: _objectSpread2({}, params)
20232
20780
  }));
20781
+ case 1:
20782
+ case "end":
20783
+ return _context.stop();
20233
20784
  }
20234
20785
  }, _callee);
20235
20786
  }));
@@ -20264,33 +20815,33 @@ var ChooseStore = function ChooseStore(props) {
20264
20815
  openSelect = _useState8[0],
20265
20816
  setOpenSelect = _useState8[1];
20266
20817
  var _useState9 = React$1.useState([]),
20267
- _useState0 = _slicedToArray(_useState9, 2),
20268
- options = _useState0[0],
20269
- setOptions = _useState0[1];
20270
- var _useState1 = React$1.useState([]),
20271
- _useState10 = _slicedToArray(_useState1, 2),
20272
- rescouse = _useState10[0],
20273
- setRescouse = _useState10[1];
20274
- var _useState11 = React$1.useState(''),
20818
+ _useState10 = _slicedToArray(_useState9, 2),
20819
+ options = _useState10[0],
20820
+ setOptions = _useState10[1];
20821
+ var _useState11 = React$1.useState([]),
20275
20822
  _useState12 = _slicedToArray(_useState11, 2),
20276
- searchValue = _useState12[0],
20277
- setSearchValue = _useState12[1];
20278
- var _useState13 = React$1.useState([{
20823
+ rescouse = _useState12[0],
20824
+ setRescouse = _useState12[1];
20825
+ var _useState13 = React$1.useState(''),
20826
+ _useState14 = _slicedToArray(_useState13, 2),
20827
+ searchValue = _useState14[0],
20828
+ setSearchValue = _useState14[1];
20829
+ var _useState15 = React$1.useState([{
20279
20830
  label: name,
20280
20831
  value: code
20281
20832
  }]),
20282
- _useState14 = _slicedToArray(_useState13, 2),
20283
- store = _useState14[0],
20284
- setStore = _useState14[1];
20833
+ _useState16 = _slicedToArray(_useState15, 2),
20834
+ store = _useState16[0],
20835
+ setStore = _useState16[1];
20285
20836
  function fetchUserList(_x, _x2) {
20286
20837
  return _fetchUserList.apply(this, arguments);
20287
20838
  }
20288
20839
  function _fetchUserList() {
20289
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(storeName, init) {
20290
- return _regenerator().w(function (_context3) {
20291
- while (1) switch (_context3.n) {
20840
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
20841
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
20842
+ while (1) switch (_context3.prev = _context3.next) {
20292
20843
  case 0:
20293
- return _context3.a(2, getStoreByName({
20844
+ return _context3.abrupt("return", getStoreByName({
20294
20845
  orgName: storeName ? storeName : undefined,
20295
20846
  platCompanyCode: init ? undefined : key,
20296
20847
  'qp-employeeCode-eq': employeeCode || 'EMP231011000002',
@@ -20309,6 +20860,9 @@ var ChooseStore = function ChooseStore(props) {
20309
20860
  };
20310
20861
  });
20311
20862
  }));
20863
+ case 1:
20864
+ case "end":
20865
+ return _context3.stop();
20312
20866
  }
20313
20867
  }, _callee3);
20314
20868
  }));
@@ -20331,19 +20885,20 @@ var ChooseStore = function ChooseStore(props) {
20331
20885
  return debounce__default['default'](loadOptions, debounceTimeout);
20332
20886
  }, [debounceTimeout, key]);
20333
20887
  var changeInput = /*#__PURE__*/function () {
20334
- var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(str) {
20888
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
20335
20889
  var res;
20336
- return _regenerator().w(function (_context) {
20337
- while (1) switch (_context.n) {
20890
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
20891
+ while (1) switch (_context.prev = _context.next) {
20338
20892
  case 0:
20339
- _context.n = 1;
20893
+ _context.next = 2;
20340
20894
  return debounceFetcher(str);
20341
- case 1:
20342
- res = _context.v;
20895
+ case 2:
20896
+ res = _context.sent;
20343
20897
  setOptions(res);
20344
20898
  setRescouse(res);
20345
- case 2:
20346
- return _context.a(2);
20899
+ case 5:
20900
+ case "end":
20901
+ return _context.stop();
20347
20902
  }
20348
20903
  }, _callee);
20349
20904
  }));
@@ -20352,15 +20907,15 @@ var ChooseStore = function ChooseStore(props) {
20352
20907
  };
20353
20908
  }();
20354
20909
  React$1.useEffect(function () {
20355
- _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
20910
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
20356
20911
  var res;
20357
- return _regenerator().w(function (_context2) {
20358
- while (1) switch (_context2.n) {
20912
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
20913
+ while (1) switch (_context2.prev = _context2.next) {
20359
20914
  case 0:
20360
- _context2.n = 1;
20915
+ _context2.next = 2;
20361
20916
  return fetchUserList(undefined, true);
20362
- case 1:
20363
- res = _context2.v;
20917
+ case 2:
20918
+ res = _context2.sent;
20364
20919
  res.map(function (item, indexNumber) {
20365
20920
  if (item.label === name) {
20366
20921
  setIndex(indexNumber);
@@ -20376,8 +20931,9 @@ var ChooseStore = function ChooseStore(props) {
20376
20931
  });
20377
20932
  setOptions(res);
20378
20933
  setRescouse(res);
20379
- case 2:
20380
- return _context2.a(2);
20934
+ case 6:
20935
+ case "end":
20936
+ return _context2.stop();
20381
20937
  }
20382
20938
  }, _callee2);
20383
20939
  }))();
@@ -21426,25 +21982,25 @@ var DrawContent$1 = function DrawContent(_ref) {
21426
21982
  currentOneLevel = _useState8[0],
21427
21983
  setCurrentOneLevel = _useState8[1];
21428
21984
  var _useState9 = React$1.useState([]),
21429
- _useState0 = _slicedToArray(_useState9, 2),
21430
- SearhData = _useState0[0],
21431
- setSearchMenuData = _useState0[1];
21432
- var _useState1 = React$1.useState(600),
21433
- _useState10 = _slicedToArray(_useState1, 2),
21434
- rightMenuHeight = _useState10[0],
21435
- setHeight = _useState10[1];
21436
- var _useState11 = React$1.useState(900),
21985
+ _useState10 = _slicedToArray(_useState9, 2),
21986
+ SearhData = _useState10[0],
21987
+ setSearchMenuData = _useState10[1];
21988
+ var _useState11 = React$1.useState(600),
21437
21989
  _useState12 = _slicedToArray(_useState11, 2),
21438
- drawHeight = _useState12[0],
21439
- setDrawHeight = _useState12[1];
21440
- var _useState13 = React$1.useState(false),
21990
+ rightMenuHeight = _useState12[0],
21991
+ setHeight = _useState12[1];
21992
+ var _useState13 = React$1.useState(900),
21441
21993
  _useState14 = _slicedToArray(_useState13, 2),
21442
- moreBtnShow = _useState14[0],
21443
- setMoreBtnShow = _useState14[1];
21994
+ drawHeight = _useState14[0],
21995
+ setDrawHeight = _useState14[1];
21444
21996
  var _useState15 = React$1.useState(false),
21445
21997
  _useState16 = _slicedToArray(_useState15, 2),
21446
- showScroll = _useState16[0],
21447
- setShowScroll = _useState16[1];
21998
+ moreBtnShow = _useState16[0],
21999
+ setMoreBtnShow = _useState16[1];
22000
+ var _useState17 = React$1.useState(false),
22001
+ _useState18 = _slicedToArray(_useState17, 2),
22002
+ showScroll = _useState18[0],
22003
+ setShowScroll = _useState18[1];
21448
22004
  React$1.useEffect(function () {
21449
22005
  var _originRoutes$find;
21450
22006
  getMenuContentHeight();
@@ -23055,11 +23611,14 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
23055
23611
  },
23056
23612
  menu: {
23057
23613
  request: function () {
23058
- var _request = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
23059
- return _regenerator().w(function (_context) {
23060
- while (1) switch (_context.n) {
23614
+ var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
23615
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
23616
+ while (1) switch (_context.prev = _context.next) {
23061
23617
  case 0:
23062
- return _context.a(2, JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
23618
+ return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
23619
+ case 1:
23620
+ case "end":
23621
+ return _context.stop();
23063
23622
  }
23064
23623
  }, _callee);
23065
23624
  }));
@@ -23464,31 +24023,31 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
23464
24023
  multiTableData = _useState8[0],
23465
24024
  setMmultiTableData = _useState8[1]; //多表头数据
23466
24025
  var _useState9 = React$1.useState(10),
23467
- _useState0 = _slicedToArray(_useState9, 2),
23468
- viewCount = _useState0[0],
23469
- setViewCount = _useState0[1]; //虚拟表格每次渲染数量
24026
+ _useState10 = _slicedToArray(_useState9, 2),
24027
+ viewCount = _useState10[0],
24028
+ setViewCount = _useState10[1]; //虚拟表格每次渲染数量
23470
24029
  var itemWidth = 100; // 表格每一项宽度
23471
- var _useState1 = React$1.useState((props === null || props === void 0 ? void 0 : props.colHeaderWidth) || 400),
23472
- _useState10 = _slicedToArray(_useState1, 2),
23473
- realColHeaderWidth = _useState10[0],
23474
- setLeftWidth = _useState10[1];
24030
+ var _useState11 = React$1.useState((props === null || props === void 0 ? void 0 : props.colHeaderWidth) || 400),
24031
+ _useState12 = _slicedToArray(_useState11, 2),
24032
+ realColHeaderWidth = _useState12[0],
24033
+ setLeftWidth = _useState12[1];
23475
24034
  var viewPort = React$1.useRef(null);
23476
24035
  var topScrollBar = React$1.useRef(null);
23477
24036
  var leftTableRef = React$1.useRef(null);
23478
24037
  //起始渲染item
23479
- var _useState11 = React$1.useState(0),
23480
- _useState12 = _slicedToArray(_useState11, 2),
23481
- startIndex = _useState12[0],
23482
- setStartIndex = _useState12[1];
24038
+ var _useState13 = React$1.useState(0),
24039
+ _useState14 = _slicedToArray(_useState13, 2),
24040
+ startIndex = _useState14[0],
24041
+ setStartIndex = _useState14[1];
23483
24042
  //结束渲染item
23484
24043
  var endIndex = React$1.useMemo(function () {
23485
24044
  return startIndex + viewCount;
23486
24045
  }, [startIndex, viewCount]);
23487
24046
  //表格偏移量
23488
- var _useState13 = React$1.useState(0),
23489
- _useState14 = _slicedToArray(_useState13, 2),
23490
- offsetWidth = _useState14[0],
23491
- setOffset = _useState14[1];
24047
+ var _useState15 = React$1.useState(0),
24048
+ _useState16 = _slicedToArray(_useState15, 2),
24049
+ offsetWidth = _useState16[0],
24050
+ setOffset = _useState16[1];
23492
24051
  React$1.useEffect(function () {
23493
24052
  setTimeout(function () {
23494
24053
  var realLeftTableWidth = leftTableRef.current.clientWidth;
@@ -30792,11 +31351,11 @@ var valueType = {
30792
31351
  };
30793
31352
 
30794
31353
  var getDynamicDict = /*#__PURE__*/function () {
30795
- var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(dictionaryCode) {
30796
- return _regenerator().w(function (_context) {
30797
- while (1) switch (_context.n) {
31354
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
31355
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
31356
+ while (1) switch (_context.prev = _context.next) {
30798
31357
  case 0:
30799
- _context.n = 1;
31358
+ _context.next = 2;
30800
31359
  return bssula.request({
30801
31360
  url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
30802
31361
  converter: function converter(_ref2) {
@@ -30809,8 +31368,11 @@ var getDynamicDict = /*#__PURE__*/function () {
30809
31368
  });
30810
31369
  }
30811
31370
  });
30812
- case 1:
30813
- return _context.a(2, _context.v);
31371
+ case 2:
31372
+ return _context.abrupt("return", _context.sent);
31373
+ case 3:
31374
+ case "end":
31375
+ return _context.stop();
30814
31376
  }
30815
31377
  }, _callee);
30816
31378
  }));
@@ -30857,12 +31419,12 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30857
31419
  value: false
30858
31420
  }];
30859
31421
  var ref = React$1.useRef();
30860
- ahooks.useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
30861
- var _ref$current, source, _t, _t2;
30862
- return _regenerator().w(function (_context) {
30863
- while (1) switch (_context.n) {
31422
+ ahooks.useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31423
+ var _ref$current, source;
31424
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
31425
+ while (1) switch (_context.prev = _context.next) {
30864
31426
  case 0:
30865
- _context.n = 1;
31427
+ _context.next = 2;
30866
31428
  return setIsShowAndType(function (prev) {
30867
31429
  if (record.inputType === 20 || record.inputType === 30) {
30868
31430
  return {
@@ -30873,39 +31435,40 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30873
31435
  }
30874
31436
  return prev;
30875
31437
  });
30876
- case 1:
31438
+ case 2:
30877
31439
  if (!record.dictionaryCode) {
30878
- _context.n = 7;
31440
+ _context.next = 17;
30879
31441
  break;
30880
31442
  }
30881
31443
  if (!(record.choiceType == 20)) {
30882
- _context.n = 2;
31444
+ _context.next = 7;
30883
31445
  break;
30884
31446
  }
30885
- _t = getDictionarySource(record.dictionaryCode);
30886
- _context.n = 6;
31447
+ _context.t0 = getDictionarySource(record.dictionaryCode);
31448
+ _context.next = 15;
30887
31449
  break;
30888
- case 2:
31450
+ case 7:
30889
31451
  if (!(record.choiceType == 30)) {
30890
- _context.n = 4;
31452
+ _context.next = 13;
30891
31453
  break;
30892
31454
  }
30893
- _context.n = 3;
31455
+ _context.next = 10;
30894
31456
  return getDynamicDict(record.dictionaryCode);
30895
- case 3:
30896
- _t2 = _context.v;
30897
- _context.n = 5;
31457
+ case 10:
31458
+ _context.t1 = _context.sent;
31459
+ _context.next = 14;
30898
31460
  break;
30899
- case 4:
30900
- _t2 = [];
30901
- case 5:
30902
- _t = _t2;
30903
- case 6:
30904
- source = _t;
31461
+ case 13:
31462
+ _context.t1 = [];
31463
+ case 14:
31464
+ _context.t0 = _context.t1;
31465
+ case 15:
31466
+ source = _context.t0;
30905
31467
  // @ts-ignore
30906
31468
  ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
30907
- case 7:
30908
- return _context.a(2);
31469
+ case 17:
31470
+ case "end":
31471
+ return _context.stop();
30909
31472
  }
30910
31473
  }, _callee);
30911
31474
  })));
@@ -30970,10 +31533,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30970
31533
  source: {
30971
31534
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
30972
31535
  type: function () {
30973
- var _type = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(_ref3) {
31536
+ var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30974
31537
  var form, values, name, relates, source;
30975
- return _regenerator().w(function (_context2) {
30976
- while (1) switch (_context2.n) {
31538
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
31539
+ while (1) switch (_context2.prev = _context2.next) {
30977
31540
  case 0:
30978
31541
  form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
30979
31542
  if (values[0]) {
@@ -30982,18 +31545,19 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30982
31545
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
30983
31546
  }
30984
31547
  if (!values[1]) {
30985
- _context2.n = 2;
31548
+ _context2.next = 9;
30986
31549
  break;
30987
31550
  }
30988
- _context2.n = 1;
31551
+ _context2.next = 5;
30989
31552
  return getDynamicDict(record.dictionaryCode || values[1]);
30990
- case 1:
30991
- source = _context2.v;
31553
+ case 5:
31554
+ source = _context2.sent;
30992
31555
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
30993
31556
  form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
30994
31557
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
30995
- case 2:
30996
- return _context2.a(2);
31558
+ case 9:
31559
+ case "end":
31560
+ return _context2.stop();
30997
31561
  }
30998
31562
  }, _callee2);
30999
31563
  }));
@@ -31449,25 +32013,25 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31449
32013
  source: {
31450
32014
  relates: ['choiceType', 'inputType'],
31451
32015
  type: function () {
31452
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(_ref0) {
32016
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
31453
32017
  var values, name, form, source;
31454
- return _regenerator().w(function (_context3) {
31455
- while (1) switch (_context3.n) {
32018
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
32019
+ while (1) switch (_context3.prev = _context3.next) {
31456
32020
  case 0:
31457
- values = _ref0.values, name = _ref0.name, form = _ref0.form;
32021
+ values = _ref10.values, name = _ref10.name, form = _ref10.form;
31458
32022
  if (values[1] === 40) {
31459
32023
  form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
31460
32024
  form.setFieldVisible(name, false);
31461
32025
  }
31462
32026
  if (!(values[0] === 30)) {
31463
- _context3.n = 2;
32027
+ _context3.next = 10;
31464
32028
  break;
31465
32029
  }
31466
- _context3.n = 1;
32030
+ _context3.next = 5;
31467
32031
  return bssula.request({
31468
32032
  url: '/basic/dictDynamicItem/queryList',
31469
- converter: function converter(_ref1) {
31470
- var data = _ref1.data;
32033
+ converter: function converter(_ref11) {
32034
+ var data = _ref11.data;
31471
32035
  return data === null || data === void 0 ? void 0 : data.map(function (d) {
31472
32036
  return {
31473
32037
  text: d.dictCode,
@@ -31476,16 +32040,17 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31476
32040
  });
31477
32041
  }
31478
32042
  });
31479
- case 1:
31480
- source = _context3.v;
32043
+ case 5:
32044
+ source = _context3.sent;
31481
32045
  form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
31482
32046
  form.setFieldVisible(name, true);
31483
- _context3.n = 3;
32047
+ _context3.next = 11;
31484
32048
  break;
31485
- case 2:
32049
+ case 10:
31486
32050
  form.setFieldVisible(name, false);
31487
- case 3:
31488
- return _context3.a(2);
32051
+ case 11:
32052
+ case "end":
32053
+ return _context3.stop();
31489
32054
  }
31490
32055
  }, _callee3);
31491
32056
  }));
@@ -31500,8 +32065,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31500
32065
  name: 'enumeration',
31501
32066
  label: '维护自定义选项',
31502
32067
  field: {
31503
- type: function type(_ref10) {
31504
- var form = _ref10.form;
32068
+ type: function type(_ref12) {
32069
+ var form = _ref12.form;
31505
32070
  return /*#__PURE__*/React__default['default'].createElement(antd.Button, {
31506
32071
  type: 'link',
31507
32072
  onClick: function onClick() {
@@ -31527,10 +32092,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31527
32092
  dependency: {
31528
32093
  source: {
31529
32094
  relates: ['choiceType'],
31530
- type: function type(_ref11) {
31531
- var values = _ref11.values,
31532
- name = _ref11.name,
31533
- form = _ref11.form;
32095
+ type: function type(_ref13) {
32096
+ var values = _ref13.values,
32097
+ name = _ref13.name,
32098
+ form = _ref13.form;
31534
32099
  if (values[0] === 10) {
31535
32100
  form.setFieldVisible(name, true);
31536
32101
  } else {
@@ -31546,10 +32111,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31546
32111
  dependency: {
31547
32112
  visible: {
31548
32113
  relates: ['choiceType'],
31549
- type: function type(_ref12) {
31550
- var name = _ref12.name,
31551
- values = _ref12.values,
31552
- form = _ref12.form;
32114
+ type: function type(_ref14) {
32115
+ var name = _ref14.name,
32116
+ values = _ref14.values,
32117
+ form = _ref14.form;
31553
32118
  if (values[0] == 330) {
31554
32119
  form.setFieldVisible(name, true);
31555
32120
  } else {
@@ -31573,8 +32138,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31573
32138
  params: {
31574
32139
  'qp-businessType-eq': record.businessType
31575
32140
  },
31576
- converter: function converter(_ref13) {
31577
- var data = _ref13.data;
32141
+ converter: function converter(_ref15) {
32142
+ var data = _ref15.data;
31578
32143
  return (data === null || data === void 0 ? void 0 : data.map(function (d) {
31579
32144
  return {
31580
32145
  text: d.name,
@@ -31614,8 +32179,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31614
32179
  'qp-businessType-eq': record.businessType,
31615
32180
  'qp-status-eq': 1
31616
32181
  },
31617
- converter: function converter(_ref14) {
31618
- var data = _ref14.data;
32182
+ converter: function converter(_ref16) {
32183
+ var data = _ref16.data;
31619
32184
  return (data === null || data === void 0 ? void 0 : data.map(function (d) {
31620
32185
  var _d$code;
31621
32186
  return {
@@ -31643,8 +32208,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31643
32208
  remoteSource: {
31644
32209
  url: lineDetail.moduleType == 1 ? "/basic/planModelField/listNoPage?qp-modelCode-eq=".concat(lineDetail === null || lineDetail === void 0 ? void 0 : lineDetail.moduleRelationId) : "/basic/flow/businessField/metaFieldMapping?metaEntityCode=".concat(lineDetail === null || lineDetail === void 0 ? void 0 : lineDetail.moduleRelationId, "&fieldMapping=").concat(record === null || record === void 0 ? void 0 : record.fieldMapping),
31645
32210
  method: 'get',
31646
- converter: function converter(_ref15) {
31647
- var data = _ref15.data;
32211
+ converter: function converter(_ref17) {
32212
+ var data = _ref17.data;
31648
32213
  if (lineDetail.moduleType == 1) {
31649
32214
  return (data === null || data === void 0 ? void 0 : data.map(function (d) {
31650
32215
  return {
@@ -31670,16 +32235,16 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31670
32235
  width: 900,
31671
32236
  maskClosable: false,
31672
32237
  onOk: function () {
31673
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
32238
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
31674
32239
  var _ref$current4, _res$editableStatus;
31675
32240
  var res, _res$defaultValue;
31676
- return _regenerator().w(function (_context4) {
31677
- while (1) switch (_context4.n) {
32241
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
32242
+ while (1) switch (_context4.prev = _context4.next) {
31678
32243
  case 0:
31679
- _context4.n = 1;
32244
+ _context4.next = 2;
31680
32245
  return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
31681
- case 1:
31682
- res = _context4.v;
32246
+ case 2:
32247
+ res = _context4.sent;
31683
32248
  res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
31684
32249
  res.fieldGroup = record.fieldGroup;
31685
32250
  res.businessType = record.businessType;
@@ -31706,7 +32271,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31706
32271
  delete res.formula;
31707
32272
  delete res.showValue;
31708
32273
  if (!(mode === 'create')) {
31709
- _context4.n = 2;
32274
+ _context4.next = 18;
31710
32275
  break;
31711
32276
  }
31712
32277
  bssula.request({
@@ -31718,8 +32283,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31718
32283
  onParentOk();
31719
32284
  }
31720
32285
  });
31721
- return _context4.a(2);
31722
- case 2:
32286
+ return _context4.abrupt("return");
32287
+ case 18:
31723
32288
  bssula.request({
31724
32289
  url: "/basic/flow/businessField/".concat(record.id),
31725
32290
  method: 'PATCH',
@@ -31729,8 +32294,9 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31729
32294
  onParentOk();
31730
32295
  }
31731
32296
  });
31732
- case 3:
31733
- return _context4.a(2);
32297
+ case 19:
32298
+ case "end":
32299
+ return _context4.stop();
31734
32300
  }
31735
32301
  }, _callee4);
31736
32302
  }));
@@ -32186,21 +32752,21 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
32186
32752
  jsonEditorVal = _useState8[0],
32187
32753
  setJsonEditorVal = _useState8[1];
32188
32754
  var _useState9 = React$1.useState({}),
32189
- _useState0 = _slicedToArray(_useState9, 2),
32190
- moduleParams = _useState0[0],
32191
- setModuleParams = _useState0[1];
32192
- var _useState1 = React$1.useState('main'),
32193
- _useState10 = _slicedToArray(_useState1, 2),
32194
- activeKey = _useState10[0],
32195
- setActiveKey = _useState10[1]; //默认详情页配置
32196
- var _useState11 = React$1.useState({}),
32755
+ _useState10 = _slicedToArray(_useState9, 2),
32756
+ moduleParams = _useState10[0],
32757
+ setModuleParams = _useState10[1];
32758
+ var _useState11 = React$1.useState('main'),
32197
32759
  _useState12 = _slicedToArray(_useState11, 2),
32198
- tablesConfigParams = _useState12[0],
32199
- setTablesConfigParams = _useState12[1];
32200
- var _useState13 = React$1.useState([]),
32760
+ activeKey = _useState12[0],
32761
+ setActiveKey = _useState12[1]; //默认详情页配置
32762
+ var _useState13 = React$1.useState({}),
32201
32763
  _useState14 = _slicedToArray(_useState13, 2),
32202
- tableJsonEditorValsArr = _useState14[0],
32203
- setTableJsonEditorValsArr = _useState14[1];
32764
+ tablesConfigParams = _useState14[0],
32765
+ setTablesConfigParams = _useState14[1];
32766
+ var _useState15 = React$1.useState([]),
32767
+ _useState16 = _slicedToArray(_useState15, 2),
32768
+ tableJsonEditorValsArr = _useState16[0],
32769
+ setTableJsonEditorValsArr = _useState16[1];
32204
32770
  React$1.useEffect(function () {
32205
32771
  Promise.all([requestUtil.get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(pageType))]).then(function (_ref2) {
32206
32772
  var _ref3 = _slicedToArray(_ref2, 1),
@@ -32576,11 +33142,11 @@ function getMetaData(_x) {
32576
33142
 
32577
33143
  // 获取数据
32578
33144
  function _getMetaData() {
32579
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(id) {
32580
- return _regenerator().w(function (_context) {
32581
- while (1) switch (_context.n) {
33145
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
33146
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
33147
+ while (1) switch (_context.prev = _context.next) {
32582
33148
  case 0:
32583
- return _context.a(2, new Promise(function (resolve, reject) {
33149
+ return _context.abrupt("return", new Promise(function (resolve, reject) {
32584
33150
  umi.request('/basic/entityProperty/listNoPage', {
32585
33151
  params: {
32586
33152
  'qp-entityId-eq': id
@@ -32592,6 +33158,9 @@ function _getMetaData() {
32592
33158
  reject([]);
32593
33159
  });
32594
33160
  }));
33161
+ case 1:
33162
+ case "end":
33163
+ return _context.stop();
32595
33164
  }
32596
33165
  }, _callee);
32597
33166
  }));
@@ -32795,11 +33364,11 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
32795
33364
  tableState = _useState4[0],
32796
33365
  setTableState = _useState4[1];
32797
33366
  var handleOpen = /*#__PURE__*/function () {
32798
- var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
33367
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32799
33368
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
32800
33369
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
32801
- return _regenerator().w(function (_context) {
32802
- while (1) switch (_context.n) {
33370
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
33371
+ while (1) switch (_context.prev = _context.next) {
32803
33372
  case 0:
32804
33373
  requestConfigNew = assembleRequest(props.customSelectorConfig, {
32805
33374
  isSearchForm: props.isSearchForm,
@@ -32807,16 +33376,16 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
32807
33376
  searchFormData: searchFormData
32808
33377
  });
32809
33378
  if (requestConfigNew) {
32810
- _context.n = 1;
33379
+ _context.next = 3;
32811
33380
  break;
32812
33381
  }
32813
- return _context.a(2);
32814
- case 1:
33382
+ return _context.abrupt("return");
33383
+ case 3:
32815
33384
  metaDataId = (_props$customSelector = props.customSelectorConfig) === null || _props$customSelector === void 0 ? void 0 : (_props$customSelector2 = _props$customSelector.targetMetaData) === null || _props$customSelector2 === void 0 ? void 0 : _props$customSelector2.id;
32816
- _context.n = 2;
33385
+ _context.next = 6;
32817
33386
  return getMetaData(metaDataId);
32818
- case 2:
32819
- metaData = _context.v;
33387
+ case 6:
33388
+ metaData = _context.sent;
32820
33389
  realMetaData = (metaData === null || metaData === void 0 ? void 0 : metaData.filter(function (item) {
32821
33390
  return (item === null || item === void 0 ? void 0 : item.inputType) != 1;
32822
33391
  })) || [];
@@ -32856,8 +33425,9 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
32856
33425
  // @ts-ignore
32857
33426
  queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren = queryTableRef.current) === null || _queryTableRef$curren === void 0 ? void 0 : (_queryTableRef$curren2 = _queryTableRef$curren.tableRef) === null || _queryTableRef$curren2 === void 0 ? void 0 : (_queryTableRef$curren3 = _queryTableRef$curren2.current) === null || _queryTableRef$curren3 === void 0 ? void 0 : _queryTableRef$curren3.bsSetSelectInfo(initValue);
32858
33427
  }
32859
- case 3:
32860
- return _context.a(2);
33428
+ case 14:
33429
+ case "end":
33430
+ return _context.stop();
32861
33431
  }
32862
33432
  }, _callee);
32863
33433
  }));
@@ -32960,7 +33530,7 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
32960
33530
  }, [requestConfig, tableState.columns]);
32961
33531
  var rowKey = (_ref3 = (_fieldMappingItem$cod = fieldMappingItem === null || fieldMappingItem === void 0 ? void 0 : fieldMappingItem.codeMappingFrom) !== null && _fieldMappingItem$cod !== void 0 ? _fieldMappingItem$cod : 'id') !== null && _ref3 !== void 0 ? _ref3 : 'code';
32962
33532
  var handleOk = function handleOk(rowData) {
32963
- var _props$selectProps2, _props$customSelector6, _props$customSelector7, _queryTableRef$curren11, _queryTableRef$curren12, _queryTableRef$curren13;
33533
+ var _props$selectProps2, _props$customSelector6, _props$customSelector7, _queryTableRef$curren13, _queryTableRef$curren14, _queryTableRef$curren15;
32964
33534
  var setSource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
32965
33535
  //多选数据处理
32966
33536
  if (props === null || props === void 0 ? void 0 : (_props$selectProps2 = props.selectProps) === null || _props$selectProps2 === void 0 ? void 0 : _props$selectProps2.multipleForQuery) {
@@ -32971,9 +33541,9 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
32971
33541
  var selectedRows = (queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren7 = queryTableRef.current) === null || _queryTableRef$curren7 === void 0 ? void 0 : (_queryTableRef$curren8 = _queryTableRef$curren7.tableRef) === null || _queryTableRef$curren8 === void 0 ? void 0 : (_queryTableRef$curren9 = _queryTableRef$curren8.current) === null || _queryTableRef$curren9 === void 0 ? void 0 : _queryTableRef$curren9.getSelectedRows()) || [];
32972
33542
  var realSelectedRows = selectedRows;
32973
33543
  if (!rowData && (selectedKesys === null || selectedKesys === void 0 ? void 0 : selectedKesys.length) !== (selectedRows === null || selectedRows === void 0 ? void 0 : selectedRows.length)) {
32974
- var _queryTableRef$curren0, _queryTableRef$curren1, _queryTableRef$curren10;
33544
+ var _queryTableRef$curren10, _queryTableRef$curren11, _queryTableRef$curren12;
32975
33545
  // @ts-ignore
32976
- var dataSource = (queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren0 = queryTableRef.current) === null || _queryTableRef$curren0 === void 0 ? void 0 : (_queryTableRef$curren1 = _queryTableRef$curren0.tableRef) === null || _queryTableRef$curren1 === void 0 ? void 0 : (_queryTableRef$curren10 = _queryTableRef$curren1.current) === null || _queryTableRef$curren10 === void 0 ? void 0 : _queryTableRef$curren10.getDataSource()) || [];
33546
+ var dataSource = (queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren10 = queryTableRef.current) === null || _queryTableRef$curren10 === void 0 ? void 0 : (_queryTableRef$curren11 = _queryTableRef$curren10.tableRef) === null || _queryTableRef$curren11 === void 0 ? void 0 : (_queryTableRef$curren12 = _queryTableRef$curren11.current) === null || _queryTableRef$curren12 === void 0 ? void 0 : _queryTableRef$curren12.getDataSource()) || [];
32977
33547
  realSelectedRows = dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (s) {
32978
33548
  return selectedKesys.includes(s[rowKey]);
32979
33549
  });
@@ -33006,10 +33576,10 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
33006
33576
  });
33007
33577
  }
33008
33578
  mappings.map(function (item) {
33009
- var _props$customSelector0, _props$customSelector1, _props$customSelector10, _props$customSelector11;
33010
- if (((_props$customSelector0 = props.customSelectorConfig) === null || _props$customSelector0 === void 0 ? void 0 : (_props$customSelector1 = _props$customSelector0.extraData) === null || _props$customSelector1 === void 0 ? void 0 : _props$customSelector1.echoLabel) && item.codeMappingTo === prop && rowData[(_props$customSelector10 = props.customSelectorConfig) === null || _props$customSelector10 === void 0 ? void 0 : (_props$customSelector11 = _props$customSelector10.extraData) === null || _props$customSelector11 === void 0 ? void 0 : _props$customSelector11.echoLabel]) {
33011
- var _props$customSelector12, _props$customSelector13;
33012
- values["".concat(item.codeMappingTo, "Name")] = rowData[(_props$customSelector12 = props.customSelectorConfig) === null || _props$customSelector12 === void 0 ? void 0 : (_props$customSelector13 = _props$customSelector12.extraData) === null || _props$customSelector13 === void 0 ? void 0 : _props$customSelector13.echoLabel];
33579
+ var _props$customSelector10, _props$customSelector11, _props$customSelector12, _props$customSelector13;
33580
+ if (((_props$customSelector10 = props.customSelectorConfig) === null || _props$customSelector10 === void 0 ? void 0 : (_props$customSelector11 = _props$customSelector10.extraData) === null || _props$customSelector11 === void 0 ? void 0 : _props$customSelector11.echoLabel) && item.codeMappingTo === prop && rowData[(_props$customSelector12 = props.customSelectorConfig) === null || _props$customSelector12 === void 0 ? void 0 : (_props$customSelector13 = _props$customSelector12.extraData) === null || _props$customSelector13 === void 0 ? void 0 : _props$customSelector13.echoLabel]) {
33581
+ var _props$customSelector14, _props$customSelector15;
33582
+ values["".concat(item.codeMappingTo, "Name")] = rowData[(_props$customSelector14 = props.customSelectorConfig) === null || _props$customSelector14 === void 0 ? void 0 : (_props$customSelector15 = _props$customSelector14.extraData) === null || _props$customSelector15 === void 0 ? void 0 : _props$customSelector15.echoLabel];
33013
33583
  }
33014
33584
  values[item.codeMappingTo] = rowData[item.codeMappingFrom];
33015
33585
  });
@@ -33064,10 +33634,10 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
33064
33634
  }
33065
33635
  props.onCancel();
33066
33636
  //@ts-ignore
33067
- queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren11 = queryTableRef.current) === null || _queryTableRef$curren11 === void 0 ? void 0 : (_queryTableRef$curren12 = _queryTableRef$curren11.tableRef) === null || _queryTableRef$curren12 === void 0 ? void 0 : (_queryTableRef$curren13 = _queryTableRef$curren12.current) === null || _queryTableRef$curren13 === void 0 ? void 0 : _queryTableRef$curren13.clearRowSelection();
33637
+ queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren13 = queryTableRef.current) === null || _queryTableRef$curren13 === void 0 ? void 0 : (_queryTableRef$curren14 = _queryTableRef$curren13.tableRef) === null || _queryTableRef$curren14 === void 0 ? void 0 : (_queryTableRef$curren15 = _queryTableRef$curren14.current) === null || _queryTableRef$curren15 === void 0 ? void 0 : _queryTableRef$curren15.clearRowSelection();
33068
33638
  };
33069
33639
  var config = React$1.useMemo(function () {
33070
- var _props$selectProps3, _props$ctx9, _props$value2, _props$ctx0, _props$ctx0$form;
33640
+ var _props$selectProps3, _props$ctx9, _props$value2, _props$ctx10, _props$ctx10$form;
33071
33641
  var returnConfig = {
33072
33642
  size: 'small',
33073
33643
  needPageHeader: false,
@@ -33076,7 +33646,7 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
33076
33646
  rowSelection: (props === null || props === void 0 ? void 0 : (_props$selectProps3 = props.selectProps) === null || _props$selectProps3 === void 0 ? void 0 : _props$selectProps3.multipleForQuery) && !isView ? {
33077
33647
  selectedRowKeys: !(props === null || props === void 0 ? void 0 : (_props$ctx9 = props.ctx) === null || _props$ctx9 === void 0 ? void 0 : _props$ctx9.form) && (props === null || props === void 0 ? void 0 : (_props$value2 = props.value) === null || _props$value2 === void 0 ? void 0 : _props$value2.map(function (v) {
33078
33648
  return v.key || v;
33079
- })) || (props === null || props === void 0 ? void 0 : (_props$ctx0 = props.ctx) === null || _props$ctx0 === void 0 ? void 0 : (_props$ctx0$form = _props$ctx0.form) === null || _props$ctx0$form === void 0 ? void 0 : _props$ctx0$form.getFieldValue(props.id))
33649
+ })) || (props === null || props === void 0 ? void 0 : (_props$ctx10 = props.ctx) === null || _props$ctx10 === void 0 ? void 0 : (_props$ctx10$form = _props$ctx10.form) === null || _props$ctx10$form === void 0 ? void 0 : _props$ctx10$form.getFieldValue(props.id))
33080
33650
  } : false,
33081
33651
  remoteDataSource: remoteDataSource,
33082
33652
  fields: tableState.fields,
@@ -33084,8 +33654,8 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
33084
33654
  rowKey: rowKey,
33085
33655
  tableProps: !isView && {
33086
33656
  rowClassName: function rowClassName(record) {
33087
- var _props$ctx1, _props$value3, _props$ctx10, _props$ctx10$form;
33088
- return record[rowKey] == (!(props === null || props === void 0 ? void 0 : (_props$ctx1 = props.ctx) === null || _props$ctx1 === void 0 ? void 0 : _props$ctx1.form) && ((props === null || props === void 0 ? void 0 : (_props$value3 = props.value) === null || _props$value3 === void 0 ? void 0 : _props$value3.key) || (props === null || props === void 0 ? void 0 : props.value)) || (props === null || props === void 0 ? void 0 : (_props$ctx10 = props.ctx) === null || _props$ctx10 === void 0 ? void 0 : (_props$ctx10$form = _props$ctx10.form) === null || _props$ctx10$form === void 0 ? void 0 : _props$ctx10$form.getFieldValue(props.id))) ? 'tableSelectedRow' : '';
33657
+ var _props$ctx11, _props$value3, _props$ctx12, _props$ctx12$form;
33658
+ return record[rowKey] == (!(props === null || props === void 0 ? void 0 : (_props$ctx11 = props.ctx) === null || _props$ctx11 === void 0 ? void 0 : _props$ctx11.form) && ((props === null || props === void 0 ? void 0 : (_props$value3 = props.value) === null || _props$value3 === void 0 ? void 0 : _props$value3.key) || (props === null || props === void 0 ? void 0 : props.value)) || (props === null || props === void 0 ? void 0 : (_props$ctx12 = props.ctx) === null || _props$ctx12 === void 0 ? void 0 : (_props$ctx12$form = _props$ctx12.form) === null || _props$ctx12$form === void 0 ? void 0 : _props$ctx12$form.getFieldValue(props.id))) ? 'tableSelectedRow' : '';
33089
33659
  },
33090
33660
  onRow: function onRow(record) {
33091
33661
  return {
@@ -33130,10 +33700,10 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
33130
33700
  }, "\u63D0\u4EA4"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
33131
33701
  type: "default",
33132
33702
  onClick: function onClick() {
33133
- var _queryTableRef$curren14, _queryTableRef$curren15, _queryTableRef$curren16;
33703
+ var _queryTableRef$curren16, _queryTableRef$curren17, _queryTableRef$curren18;
33134
33704
  props.onCancel();
33135
33705
  //@ts-ignore
33136
- queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren14 = queryTableRef.current) === null || _queryTableRef$curren14 === void 0 ? void 0 : (_queryTableRef$curren15 = _queryTableRef$curren14.tableRef) === null || _queryTableRef$curren15 === void 0 ? void 0 : (_queryTableRef$curren16 = _queryTableRef$curren15.current) === null || _queryTableRef$curren16 === void 0 ? void 0 : _queryTableRef$curren16.clearRowSelection();
33706
+ queryTableRef === null || queryTableRef === void 0 ? void 0 : (_queryTableRef$curren16 = queryTableRef.current) === null || _queryTableRef$curren16 === void 0 ? void 0 : (_queryTableRef$curren17 = _queryTableRef$curren16.tableRef) === null || _queryTableRef$curren17 === void 0 ? void 0 : (_queryTableRef$curren18 = _queryTableRef$curren17.current) === null || _queryTableRef$curren18 === void 0 ? void 0 : _queryTableRef$curren18.clearRowSelection();
33137
33707
  }
33138
33708
  }, "\u53D6\u6D88"))));
33139
33709
  });
@@ -33357,19 +33927,19 @@ var BsCascader = function BsCascader(_ref) {
33357
33927
  _useState2 = _slicedToArray(_useState, 2),
33358
33928
  handSource = _useState2[0],
33359
33929
  setHandSource = _useState2[1];
33360
- React$1.useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
33930
+ React$1.useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
33361
33931
  var resData, data;
33362
- return _regenerator().w(function (_context) {
33363
- while (1) switch (_context.n) {
33932
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
33933
+ while (1) switch (_context.prev = _context.next) {
33364
33934
  case 0:
33365
33935
  if (!(!source && initRequestSource)) {
33366
- _context.n = 2;
33936
+ _context.next = 6;
33367
33937
  break;
33368
33938
  }
33369
- _context.n = 1;
33939
+ _context.next = 3;
33370
33940
  return initRequestSource();
33371
- case 1:
33372
- resData = _context.v;
33941
+ case 3:
33942
+ resData = _context.sent;
33373
33943
  data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
33374
33944
  return _objectSpread2(_objectSpread2({}, item), {}, {
33375
33945
  label: item.text,
@@ -33377,8 +33947,9 @@ var BsCascader = function BsCascader(_ref) {
33377
33947
  });
33378
33948
  })) || [];
33379
33949
  setHandSource(data);
33380
- case 2:
33381
- return _context.a(2);
33950
+ case 6:
33951
+ case "end":
33952
+ return _context.stop();
33382
33953
  }
33383
33954
  }, _callee);
33384
33955
  })), []);
@@ -33508,17 +34079,20 @@ function getRegularThresholdRange(_x) {
33508
34079
  return _getRegularThresholdRange.apply(this, arguments);
33509
34080
  }
33510
34081
  function _getRegularThresholdRange() {
33511
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
33512
- return _regenerator().w(function (_context) {
33513
- while (1) switch (_context.n) {
34082
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
34083
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
34084
+ while (1) switch (_context.prev = _context.next) {
33514
34085
  case 0:
33515
- return _context.a(2, requestUtil({
34086
+ return _context.abrupt("return", requestUtil({
33516
34087
  url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
33517
34088
  method: 'POST',
33518
34089
  data: _objectSpread2(_objectSpread2({}, params), {}, {
33519
34090
  queryIdentify: undefined
33520
34091
  })
33521
34092
  }));
34093
+ case 1:
34094
+ case "end":
34095
+ return _context.stop();
33522
34096
  }
33523
34097
  }, _callee);
33524
34098
  }));
@@ -33659,24 +34233,24 @@ var RuleField = /*#__PURE__*/function (_Component) {
33659
34233
  };
33660
34234
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
33661
34235
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
33662
- var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
34236
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
33663
34237
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
33664
- return _regenerator().w(function (_context) {
33665
- while (1) switch (_context.n) {
34238
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
34239
+ while (1) switch (_context.prev = _context.next) {
33666
34240
  case 0:
33667
34241
  if (queryIdentify) {
33668
- _context.n = 1;
34242
+ _context.next = 2;
33669
34243
  break;
33670
34244
  }
33671
- return _context.a(2);
33672
- case 1:
34245
+ return _context.abrupt("return");
34246
+ case 2:
33673
34247
  thresholdQuery = _this.state.thresholdQuery;
33674
34248
  extraRequestUrl = '';
33675
34249
  querParams = setParams(propertyCode, thresholdQuery);
33676
34250
  if (!queryIdentityInfo.find(function (item) {
33677
34251
  return item.identity == propertyCode;
33678
34252
  })) {
33679
- _context.n = 3;
34253
+ _context.next = 10;
33680
34254
  break;
33681
34255
  }
33682
34256
  //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
@@ -33690,15 +34264,15 @@ var RuleField = /*#__PURE__*/function (_Component) {
33690
34264
  if (!needQueryList.some(function (item) {
33691
34265
  return !querParams[item] || !querParams[item].length;
33692
34266
  })) {
33693
- _context.n = 2;
34267
+ _context.next = 9;
33694
34268
  break;
33695
34269
  }
33696
- return _context.a(2);
33697
- case 2:
34270
+ return _context.abrupt("return");
34271
+ case 9:
33698
34272
  extraRequestUrl = queryIdentityInfo.find(function (item) {
33699
34273
  return item.identity == propertyCode;
33700
34274
  }).requestUrl || '';
33701
- case 3:
34275
+ case 10:
33702
34276
  if (queryIdentifyType === 'dictCodeIdentify') {
33703
34277
  extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
33704
34278
  querParams = {
@@ -33709,7 +34283,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33709
34283
  // querParams = { dictCode: queryIdentify }
33710
34284
  }
33711
34285
  if (!extraRequestUrl) {
33712
- _context.n = 4;
34286
+ _context.next = 16;
33713
34287
  break;
33714
34288
  }
33715
34289
  if (queryIdentify == 'maintain_area_code') {
@@ -33748,42 +34322,43 @@ var RuleField = /*#__PURE__*/function (_Component) {
33748
34322
  return handleData;
33749
34323
  }
33750
34324
  });
33751
- _context.n = 8;
34325
+ _context.next = 29;
33752
34326
  break;
33753
- case 4:
34327
+ case 16:
33754
34328
  if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
33755
- _context.n = 5;
34329
+ _context.next = 20;
33756
34330
  break;
33757
34331
  }
33758
34332
  _this.setState({
33759
34333
  thresholdList: queryIdentify
33760
34334
  });
33761
- _context.n = 8;
34335
+ _context.next = 29;
33762
34336
  break;
33763
- case 5:
34337
+ case 20:
33764
34338
  if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
33765
- _context.n = 6;
34339
+ _context.next = 24;
33766
34340
  break;
33767
34341
  }
33768
34342
  // TODO待处理
33769
34343
  _this.setState({
33770
34344
  thresholdList: []
33771
34345
  });
33772
- _context.n = 8;
34346
+ _context.next = 29;
33773
34347
  break;
33774
- case 6:
34348
+ case 24:
33775
34349
  querParams.queryIdentify = queryIdentify;
33776
- _context.n = 7;
34350
+ _context.next = 27;
33777
34351
  return getRegularThresholdRange(querParams);
33778
- case 7:
33779
- res = _context.v;
34352
+ case 27:
34353
+ res = _context.sent;
33780
34354
  if (handleError(res)) {
33781
34355
  _this.setState({
33782
34356
  thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
33783
34357
  });
33784
34358
  }
33785
- case 8:
33786
- return _context.a(2);
34359
+ case 29:
34360
+ case "end":
34361
+ return _context.stop();
33787
34362
  }
33788
34363
  }, _callee);
33789
34364
  }));
@@ -34615,11 +35190,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
34615
35190
  isAll: true,
34616
35191
  needNameAndCode: true,
34617
35192
  notChangeOnSelect: true,
34618
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
34619
- return _regenerator().w(function (_context2) {
34620
- while (1) switch (_context2.n) {
35193
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
35194
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
35195
+ while (1) switch (_context2.prev = _context2.next) {
34621
35196
  case 0:
34622
- _context2.n = 1;
35197
+ _context2.next = 2;
34623
35198
  return bssula.request({
34624
35199
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
34625
35200
  method: 'get',
@@ -34636,8 +35211,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
34636
35211
  return handleData;
34637
35212
  }
34638
35213
  });
34639
- case 1:
34640
- return _context2.a(2, _context2.v);
35214
+ case 2:
35215
+ return _context2.abrupt("return", _context2.sent);
35216
+ case 3:
35217
+ case "end":
35218
+ return _context2.stop();
34641
35219
  }
34642
35220
  }, _callee2);
34643
35221
  })),
@@ -34661,11 +35239,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
34661
35239
  isAll: true,
34662
35240
  needNameAndCode: true,
34663
35241
  notChangeOnSelect: true,
34664
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
34665
- return _regenerator().w(function (_context3) {
34666
- while (1) switch (_context3.n) {
35242
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
35243
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
35244
+ while (1) switch (_context3.prev = _context3.next) {
34667
35245
  case 0:
34668
- _context3.n = 1;
35246
+ _context3.next = 2;
34669
35247
  return bssula.request({
34670
35248
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
34671
35249
  method: 'get',
@@ -34682,8 +35260,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
34682
35260
  return handleData;
34683
35261
  }
34684
35262
  });
34685
- case 1:
34686
- return _context3.a(2, _context3.v);
35263
+ case 2:
35264
+ return _context3.abrupt("return", _context3.sent);
35265
+ case 3:
35266
+ case "end":
35267
+ return _context3.stop();
34687
35268
  }
34688
35269
  }, _callee3);
34689
35270
  })),
@@ -34709,11 +35290,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
34709
35290
  isAll: true,
34710
35291
  needNameAndCode: true,
34711
35292
  notChangeOnSelect: true,
34712
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
34713
- return _regenerator().w(function (_context4) {
34714
- while (1) switch (_context4.n) {
35293
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
35294
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
35295
+ while (1) switch (_context4.prev = _context4.next) {
34715
35296
  case 0:
34716
- _context4.n = 1;
35297
+ _context4.next = 2;
34717
35298
  return bssula.request({
34718
35299
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
34719
35300
  method: 'get',
@@ -34730,8 +35311,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
34730
35311
  return handleData;
34731
35312
  }
34732
35313
  });
34733
- case 1:
34734
- return _context4.a(2, _context4.v);
35314
+ case 2:
35315
+ return _context4.abrupt("return", _context4.sent);
35316
+ case 3:
35317
+ case "end":
35318
+ return _context4.stop();
34735
35319
  }
34736
35320
  }, _callee4);
34737
35321
  })),
@@ -35418,8 +36002,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35418
36002
  }
35419
36003
  }));
35420
36004
  } else {
35421
- var _values0;
35422
- var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values0 = values) === null || _values0 === void 0 ? void 0 : _values0.map(function (s, vIndex) {
36005
+ var _values10;
36006
+ var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
35423
36007
  return {
35424
36008
  key: s,
35425
36009
  label: valueNames[vIndex],
@@ -35697,8 +36281,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35697
36281
  }
35698
36282
  }));
35699
36283
  } else {
35700
- var _values1;
35701
- var _currentValue0 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values1 = values) === null || _values1 === void 0 ? void 0 : _values1.map(function (s, vIndex) {
36284
+ var _values11;
36285
+ var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
35702
36286
  return {
35703
36287
  key: s,
35704
36288
  label: valueNames[vIndex],
@@ -35720,7 +36304,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35720
36304
  } : {}),
35721
36305
  disabled: disabled,
35722
36306
  labelInValue: true,
35723
- value: _currentValue0,
36307
+ value: _currentValue10,
35724
36308
  requestConfig: {
35725
36309
  filterInit: 'qp-code-in'
35726
36310
  },
@@ -35813,8 +36397,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35813
36397
  }
35814
36398
  }));
35815
36399
  } else {
35816
- var _values10;
35817
- var _currentValue1 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
36400
+ var _values12;
36401
+ var _currentValue11 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
35818
36402
  return {
35819
36403
  key: s,
35820
36404
  label: valueNames[vIndex],
@@ -35836,7 +36420,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35836
36420
  } : {}),
35837
36421
  disabled: disabled,
35838
36422
  labelInValue: true,
35839
- value: _currentValue1,
36423
+ value: _currentValue11,
35840
36424
  requestConfig: {
35841
36425
  filterInit: 'qp-code-in'
35842
36426
  },
@@ -35929,8 +36513,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35929
36513
  }
35930
36514
  }));
35931
36515
  } else {
35932
- var _values11;
35933
- var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
36516
+ var _values13;
36517
+ var _currentValue12 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
35934
36518
  return {
35935
36519
  key: s,
35936
36520
  label: valueNames[vIndex],
@@ -35952,7 +36536,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35952
36536
  } : {}),
35953
36537
  disabled: disabled,
35954
36538
  labelInValue: true,
35955
- value: _currentValue10,
36539
+ value: _currentValue12,
35956
36540
  requestConfig: {
35957
36541
  filterInit: 'qp-brandCode-in'
35958
36542
  },
@@ -36143,8 +36727,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
36143
36727
  }
36144
36728
  }));
36145
36729
  } else {
36146
- var _values12;
36147
- var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
36730
+ var _values14;
36731
+ var _currentValue13 = dataInputBusinessType === 12 ? ((_values14 = values) === null || _values14 === void 0 ? void 0 : _values14.map(function (s, vIndex) {
36148
36732
  return {
36149
36733
  key: s,
36150
36734
  label: valueNames[vIndex]
@@ -36172,7 +36756,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36172
36756
  isSearchForm: true,
36173
36757
  customSelectorConfig: (others === null || others === void 0 ? void 0 : others.customSelectorConfig) || {},
36174
36758
  disabled: disabled,
36175
- value: _currentValue11,
36759
+ value: _currentValue13,
36176
36760
  onChange: function onChange(value, sourceList) {
36177
36761
  if (dataInputBusinessType === 12) {
36178
36762
  var _value$map3, _sourceList$filter3;
@@ -36492,9 +37076,9 @@ var App$1 = function App(_ref) {
36492
37076
  UpdateState(res);
36493
37077
  };
36494
37078
  var _useState9 = React$1.useState(false),
36495
- _useState0 = _slicedToArray(_useState9, 2),
36496
- isModalVisible = _useState0[0],
36497
- setIsModalVisible = _useState0[1];
37079
+ _useState10 = _slicedToArray(_useState9, 2),
37080
+ isModalVisible = _useState10[0],
37081
+ setIsModalVisible = _useState10[1];
36498
37082
  var showModal = function showModal() {
36499
37083
  setIsModalVisible(true);
36500
37084
  };
@@ -36975,26 +37559,27 @@ function RenderCompItem(props) {
36975
37559
  dictData = _useState2[0],
36976
37560
  setDictData = _useState2[1];
36977
37561
  var getDictData = /*#__PURE__*/function () {
36978
- var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
37562
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36979
37563
  var _data$map;
36980
37564
  var data;
36981
- return _regenerator().w(function (_context) {
36982
- while (1) switch (_context.n) {
37565
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
37566
+ while (1) switch (_context.prev = _context.next) {
36983
37567
  case 0:
36984
- _context.n = 1;
37568
+ _context.next = 2;
36985
37569
  return bssula.request({
36986
37570
  url: "/basic/bscDictItem/allItemList?qp-code-eq=".concat(ites.dictionaryCode)
36987
37571
  });
36988
- case 1:
36989
- data = _context.v;
37572
+ case 2:
37573
+ data = _context.sent;
36990
37574
  setDictData(data === null || data === void 0 ? void 0 : (_data$map = data.map) === null || _data$map === void 0 ? void 0 : _data$map.call(data, function (item) {
36991
37575
  return {
36992
37576
  text: item.dictItemName,
36993
37577
  value: item.dictItemCode
36994
37578
  };
36995
37579
  }));
36996
- case 2:
36997
- return _context.a(2);
37580
+ case 4:
37581
+ case "end":
37582
+ return _context.stop();
36998
37583
  }
36999
37584
  }, _callee);
37000
37585
  }));
@@ -37235,11 +37820,11 @@ function RenderCompItem(props) {
37235
37820
  needNameAndCode: true,
37236
37821
  notChangeOnSelect: true,
37237
37822
  initRequestSource: function () {
37238
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
37239
- return _regenerator().w(function (_context2) {
37240
- while (1) switch (_context2.n) {
37823
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
37824
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
37825
+ while (1) switch (_context2.prev = _context2.next) {
37241
37826
  case 0:
37242
- _context2.n = 1;
37827
+ _context2.next = 2;
37243
37828
  return bssula.request({
37244
37829
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
37245
37830
  method: 'get',
@@ -37257,8 +37842,11 @@ function RenderCompItem(props) {
37257
37842
  return handleData;
37258
37843
  }
37259
37844
  });
37260
- case 1:
37261
- return _context2.a(2, _context2.v);
37845
+ case 2:
37846
+ return _context2.abrupt("return", _context2.sent);
37847
+ case 3:
37848
+ case "end":
37849
+ return _context2.stop();
37262
37850
  }
37263
37851
  }, _callee2);
37264
37852
  }));
@@ -38048,7 +38636,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
38048
38636
  display: 'flex',
38049
38637
  marginBottom: '0px',
38050
38638
  padding: '10px 0px'
38051
- }
38639
+ },
38640
+ key: itemDetail.elementId
38052
38641
  }, /*#__PURE__*/React__default['default'].createElement("div", {
38053
38642
  className: 'logical_operate_content',
38054
38643
  style: {
@@ -39308,13 +39897,13 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
39308
39897
  ruleTypeData = _useState8[0],
39309
39898
  setRuleTypeData = _useState8[1];
39310
39899
  var _useState9 = React$1.useState([]),
39311
- _useState0 = _slicedToArray(_useState9, 2),
39312
- ruleReturnConfig = _useState0[0],
39313
- setRuleReturnConfig = _useState0[1];
39314
- var _useState1 = React$1.useState({}),
39315
- _useState10 = _slicedToArray(_useState1, 2),
39316
- templateData = _useState10[0],
39317
- setTemplateData = _useState10[1];
39900
+ _useState10 = _slicedToArray(_useState9, 2),
39901
+ ruleReturnConfig = _useState10[0],
39902
+ setRuleReturnConfig = _useState10[1];
39903
+ var _useState11 = React$1.useState({}),
39904
+ _useState12 = _slicedToArray(_useState11, 2),
39905
+ templateData = _useState12[0],
39906
+ setTemplateData = _useState12[1];
39318
39907
  var loadRuleReturnConfig = function loadRuleReturnConfig(currentSceneId) {
39319
39908
  bssula.request({
39320
39909
  url: "/basic/ruleTemplate/".concat(currentSceneId),
@@ -39650,25 +40239,25 @@ var index$7 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
39650
40239
  regularDataList = _useState8[0],
39651
40240
  setRegularDataList = _useState8[1];
39652
40241
  var _useState9 = React$1.useState([]),
39653
- _useState0 = _slicedToArray(_useState9, 2),
39654
- baseRuleDetailList = _useState0[0],
39655
- setBaseRuleDetailList = _useState0[1]; // 规则实例详情集合
39656
- var _useState1 = React$1.useState([]),
39657
- _useState10 = _slicedToArray(_useState1, 2),
39658
- systemVariableList = _useState10[0],
39659
- setSystemVariableList = _useState10[1];
39660
- var _useState11 = React$1.useState(false),
40242
+ _useState10 = _slicedToArray(_useState9, 2),
40243
+ baseRuleDetailList = _useState10[0],
40244
+ setBaseRuleDetailList = _useState10[1]; // 规则实例详情集合
40245
+ var _useState11 = React$1.useState([]),
39661
40246
  _useState12 = _slicedToArray(_useState11, 2),
39662
- isGetDefRuleDataRes = _useState12[0],
39663
- setIsGetDefRuleDataRes = _useState12[1]; // 为了在回显的时候辨别异步查询是否已完成,防止提前认为为新增设置了模板数据,导致再渲染编辑时候 输入框defaultValue不再渲染问题
40247
+ systemVariableList = _useState12[0],
40248
+ setSystemVariableList = _useState12[1];
39664
40249
  var _useState13 = React$1.useState(false),
39665
40250
  _useState14 = _slicedToArray(_useState13, 2),
39666
- isGetRuleDataRes = _useState14[0],
39667
- setIsGetRuleDataRes = _useState14[1];
40251
+ isGetDefRuleDataRes = _useState14[0],
40252
+ setIsGetDefRuleDataRes = _useState14[1]; // 为了在回显的时候辨别异步查询是否已完成,防止提前认为为新增设置了模板数据,导致再渲染编辑时候 输入框defaultValue不再渲染问题
39668
40253
  var _useState15 = React$1.useState(false),
39669
40254
  _useState16 = _slicedToArray(_useState15, 2),
39670
- groupOtherPriorityList = _useState16[0],
39671
- setGroupOtherPriorityList = _useState16[1];
40255
+ isGetRuleDataRes = _useState16[0],
40256
+ setIsGetRuleDataRes = _useState16[1];
40257
+ var _useState17 = React$1.useState(false),
40258
+ _useState18 = _slicedToArray(_useState17, 2),
40259
+ groupOtherPriorityList = _useState18[0],
40260
+ setGroupOtherPriorityList = _useState18[1];
39672
40261
  var baseRuleRef = React$1.useRef();
39673
40262
  var currentSceneName = (datail === null || datail === void 0 ? void 0 : datail.name) || '';
39674
40263
  // 查询规则组下所有规则实例