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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/components/Business/AddSelectBusiness/index.d.ts +3 -4
  2. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -2
  3. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +1 -2
  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 +1 -2
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +1 -2
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  10. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +1 -2
  11. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +1 -2
  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 +1 -2
  15. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
  16. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -15
  17. package/dist/components/Business/CommodityEntry/index.d.ts +1 -2
  18. package/dist/components/Business/CommonAlert/index.d.ts +1 -2
  19. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  20. package/dist/components/Business/DetailPageWrapper/index.d.ts +11 -12
  21. package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
  22. package/dist/components/Business/ItemPropertySelector/index.d.ts +1 -2
  23. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +1 -2
  24. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +1 -2
  25. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +1 -2
  26. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +1 -2
  27. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +1 -2
  28. package/dist/components/Business/PropertyModal/index.d.ts +1 -2
  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 +1 -2
  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 +1 -2
  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 +1 -2
  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 +1 -2
  42. package/dist/components/Functional/AuthButton/index.d.ts +1 -2
  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 +1 -2
  46. package/dist/components/Functional/QueryMutipleInput/index.d.ts +1 -2
  47. package/dist/components/Functional/QueryMutipleSelect/index.d.ts +1 -2
  48. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  49. package/dist/components/Functional/SearchSelect/utils.d.ts +2 -3
  50. package/dist/components/Functional/TreeSearchSelect/index.d.ts +1 -2
  51. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
  52. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +1 -2
  53. package/dist/components/Solution/RuleComponent/Formula.d.ts +1 -2
  54. package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +1 -2
  55. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +1 -2
  56. package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +1 -2
  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 +767 -1022
  60. package/dist/index.js +767 -1022
  61. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  62. package/dist/utils/TableUtils.d.ts +18 -19
  63. package/package.json +1 -1
  64. package/src/components/Business/SearchSelect/BusinessUtils.tsx +7 -8
package/dist/index.esm.js CHANGED
@@ -188,8 +188,8 @@ function _objectWithoutProperties(e, t) {
188
188
  r,
189
189
  i = _objectWithoutPropertiesLoose(e, t);
190
190
  if (Object.getOwnPropertySymbols) {
191
- var s = Object.getOwnPropertySymbols(e);
192
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
191
+ var n = Object.getOwnPropertySymbols(e);
192
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
193
193
  }
194
194
  return i;
195
195
  }
@@ -197,7 +197,7 @@ function _objectWithoutPropertiesLoose(r, e) {
197
197
  if (null == r) return {};
198
198
  var t = {};
199
199
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
200
- if (e.includes(n)) continue;
200
+ if (-1 !== e.indexOf(n)) continue;
201
201
  t[n] = r[n];
202
202
  }
203
203
  return t;
@@ -207,306 +207,113 @@ function _possibleConstructorReturn(t, e) {
207
207
  if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
208
208
  return _assertThisInitialized(t);
209
209
  }
210
- function _regeneratorRuntime() {
211
- _regeneratorRuntime = function () {
212
- return e;
213
- };
214
- var t,
215
- e = {},
216
- r = Object.prototype,
217
- n = r.hasOwnProperty,
218
- o = Object.defineProperty || function (t, e, r) {
219
- t[e] = r.value;
220
- },
221
- i = "function" == typeof Symbol ? Symbol : {},
222
- a = i.iterator || "@@iterator",
223
- c = i.asyncIterator || "@@asyncIterator",
224
- u = i.toStringTag || "@@toStringTag";
225
- function define(t, e, r) {
226
- return Object.defineProperty(t, e, {
227
- value: r,
228
- enumerable: !0,
229
- configurable: !0,
230
- writable: !0
231
- }), t[e];
232
- }
233
- try {
234
- define({}, "");
235
- } catch (t) {
236
- define = function (t, e, r) {
237
- return t[e] = r;
238
- };
239
- }
240
- function wrap(t, e, r, n) {
241
- var i = e && e.prototype instanceof Generator ? e : Generator,
242
- a = Object.create(i.prototype),
243
- c = new Context(n || []);
244
- return o(a, "_invoke", {
245
- value: makeInvokeMethod(t, r, c)
246
- }), a;
247
- }
248
- function tryCatch(t, e, r) {
249
- try {
250
- return {
251
- type: "normal",
252
- arg: t.call(e, r)
253
- };
254
- } catch (t) {
255
- return {
256
- type: "throw",
257
- arg: t
210
+ function _regenerator() {
211
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
212
+ var e,
213
+ t,
214
+ r = "function" == typeof Symbol ? Symbol : {},
215
+ n = r.iterator || "@@iterator",
216
+ o = r.toStringTag || "@@toStringTag";
217
+ function i(r, n, o, i) {
218
+ var c = n && n.prototype instanceof Generator ? n : Generator,
219
+ u = Object.create(c.prototype);
220
+ return _regeneratorDefine(u, "_invoke", function (r, n, o) {
221
+ var i,
222
+ c,
223
+ u,
224
+ f = 0,
225
+ p = o || [],
226
+ y = !1,
227
+ G = {
228
+ p: 0,
229
+ n: 0,
230
+ v: e,
231
+ a: d,
232
+ f: d.bind(e, 4),
233
+ d: function (t, r) {
234
+ return i = t, c = 0, u = e, G.n = r, a;
235
+ }
236
+ };
237
+ function d(r, n) {
238
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
239
+ var o,
240
+ i = p[t],
241
+ d = G.p,
242
+ l = i[2];
243
+ 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));
244
+ }
245
+ if (o || r > 1) return a;
246
+ throw y = !0, n;
247
+ }
248
+ return function (o, p, l) {
249
+ if (f > 1) throw TypeError("Generator is already running");
250
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
251
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
252
+ try {
253
+ if (f = 2, i) {
254
+ if (c || (o = "next"), t = i[o]) {
255
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
256
+ if (!t.done) return t;
257
+ u = t.value, c < 2 && (c = 0);
258
+ } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
259
+ i = e;
260
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
261
+ } catch (t) {
262
+ i = e, c = 1, u = t;
263
+ } finally {
264
+ f = 1;
265
+ }
266
+ }
267
+ return {
268
+ value: t,
269
+ done: y
270
+ };
258
271
  };
259
- }
272
+ }(r, o, i), !0), u;
260
273
  }
261
- e.wrap = wrap;
262
- var h = "suspendedStart",
263
- l = "suspendedYield",
264
- f = "executing",
265
- s = "completed",
266
- y = {};
274
+ var a = {};
267
275
  function Generator() {}
268
276
  function GeneratorFunction() {}
269
277
  function GeneratorFunctionPrototype() {}
270
- var p = {};
271
- define(p, a, function () {
278
+ t = Object.getPrototypeOf;
279
+ var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
280
+ return this;
281
+ }), t),
282
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
283
+ function f(e) {
284
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
285
+ }
286
+ 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 () {
272
287
  return this;
273
- });
274
- var d = Object.getPrototypeOf,
275
- v = d && d(d(values([])));
276
- v && v !== r && n.call(v, a) && (p = v);
277
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
278
- function defineIteratorMethods(t) {
279
- ["next", "throw", "return"].forEach(function (e) {
280
- define(t, e, function (t) {
281
- return this._invoke(e, t);
282
- });
283
- });
284
- }
285
- function AsyncIterator(t, e) {
286
- function invoke(r, o, i, a) {
287
- var c = tryCatch(t[r], t, o);
288
- if ("throw" !== c.type) {
289
- var u = c.arg,
290
- h = u.value;
291
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
292
- invoke("next", t, i, a);
293
- }, function (t) {
294
- invoke("throw", t, i, a);
295
- }) : e.resolve(h).then(function (t) {
296
- u.value = t, i(u);
297
- }, function (t) {
298
- return invoke("throw", t, i, a);
299
- });
300
- }
301
- a(c.arg);
302
- }
303
- var r;
304
- o(this, "_invoke", {
305
- value: function (t, n) {
306
- function callInvokeWithMethodAndArg() {
307
- return new e(function (e, r) {
308
- invoke(t, n, e, r);
309
- });
310
- }
311
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
312
- }
313
- });
314
- }
315
- function makeInvokeMethod(e, r, n) {
316
- var o = h;
317
- return function (i, a) {
318
- if (o === f) throw Error("Generator is already running");
319
- if (o === s) {
320
- if ("throw" === i) throw a;
321
- return {
322
- value: t,
323
- done: !0
324
- };
325
- }
326
- for (n.method = i, n.arg = a;;) {
327
- var c = n.delegate;
328
- if (c) {
329
- var u = maybeInvokeDelegate(c, n);
330
- if (u) {
331
- if (u === y) continue;
332
- return u;
333
- }
334
- }
335
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
336
- if (o === h) throw o = s, n.arg;
337
- n.dispatchException(n.arg);
338
- } else "return" === n.method && n.abrupt("return", n.arg);
339
- o = f;
340
- var p = tryCatch(e, r, n);
341
- if ("normal" === p.type) {
342
- if (o = n.done ? s : l, p.arg === y) continue;
343
- return {
344
- value: p.arg,
345
- done: n.done
346
- };
347
- }
348
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
349
- }
350
- };
351
- }
352
- function maybeInvokeDelegate(e, r) {
353
- var n = r.method,
354
- o = e.iterator[n];
355
- 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;
356
- var i = tryCatch(o, e.iterator, r.arg);
357
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
358
- var a = i.arg;
359
- 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);
360
- }
361
- function pushTryEntry(t) {
362
- var e = {
363
- tryLoc: t[0]
364
- };
365
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
366
- }
367
- function resetTryEntry(t) {
368
- var e = t.completion || {};
369
- e.type = "normal", delete e.arg, t.completion = e;
370
- }
371
- function Context(t) {
372
- this.tryEntries = [{
373
- tryLoc: "root"
374
- }], t.forEach(pushTryEntry, this), this.reset(!0);
375
- }
376
- function values(e) {
377
- if (e || "" === e) {
378
- var r = e[a];
379
- if (r) return r.call(e);
380
- if ("function" == typeof e.next) return e;
381
- if (!isNaN(e.length)) {
382
- var o = -1,
383
- i = function next() {
384
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
385
- return next.value = t, next.done = !0, next;
386
- };
387
- return i.next = i;
388
- }
389
- }
390
- throw new TypeError(typeof e + " is not iterable");
391
- }
392
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
393
- value: GeneratorFunctionPrototype,
394
- configurable: !0
395
- }), o(GeneratorFunctionPrototype, "constructor", {
396
- value: GeneratorFunction,
397
- configurable: !0
398
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
399
- var e = "function" == typeof t && t.constructor;
400
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
401
- }, e.mark = function (t) {
402
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
403
- }, e.awrap = function (t) {
288
+ }), _regeneratorDefine(u, "toString", function () {
289
+ return "[object Generator]";
290
+ }), (_regenerator = function () {
404
291
  return {
405
- __await: t
292
+ w: i,
293
+ m: f
406
294
  };
407
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
408
- return this;
409
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
410
- void 0 === i && (i = Promise);
411
- var a = new AsyncIterator(wrap(t, r, n, o), i);
412
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
413
- return t.done ? t.value : a.next();
414
- });
415
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
416
- return this;
417
- }), define(g, "toString", function () {
418
- return "[object Generator]";
419
- }), e.keys = function (t) {
420
- var e = Object(t),
421
- r = [];
422
- for (var n in e) r.push(n);
423
- return r.reverse(), function next() {
424
- for (; r.length;) {
425
- var t = r.pop();
426
- if (t in e) return next.value = t, next.done = !1, next;
427
- }
428
- return next.done = !0, next;
429
- };
430
- }, e.values = values, Context.prototype = {
431
- constructor: Context,
432
- reset: function (e) {
433
- 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);
434
- },
435
- stop: function () {
436
- this.done = !0;
437
- var t = this.tryEntries[0].completion;
438
- if ("throw" === t.type) throw t.arg;
439
- return this.rval;
440
- },
441
- dispatchException: function (e) {
442
- if (this.done) throw e;
443
- var r = this;
444
- function handle(n, o) {
445
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
446
- }
447
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
448
- var i = this.tryEntries[o],
449
- a = i.completion;
450
- if ("root" === i.tryLoc) return handle("end");
451
- if (i.tryLoc <= this.prev) {
452
- var c = n.call(i, "catchLoc"),
453
- u = n.call(i, "finallyLoc");
454
- if (c && u) {
455
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
456
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
457
- } else if (c) {
458
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
459
- } else {
460
- if (!u) throw Error("try statement without catch or finally");
461
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
462
- }
463
- }
464
- }
465
- },
466
- abrupt: function (t, e) {
467
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
468
- var o = this.tryEntries[r];
469
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
470
- var i = o;
471
- break;
472
- }
473
- }
474
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
475
- var a = i ? i.completion : {};
476
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
477
- },
478
- complete: function (t, e) {
479
- if ("throw" === t.type) throw t.arg;
480
- 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;
481
- },
482
- finish: function (t) {
483
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
484
- var r = this.tryEntries[e];
485
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
486
- }
487
- },
488
- catch: function (t) {
489
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
490
- var r = this.tryEntries[e];
491
- if (r.tryLoc === t) {
492
- var n = r.completion;
493
- if ("throw" === n.type) {
494
- var o = n.arg;
495
- resetTryEntry(r);
496
- }
497
- return o;
498
- }
499
- }
500
- throw Error("illegal catch attempt");
501
- },
502
- delegateYield: function (e, r, n) {
503
- return this.delegate = {
504
- iterator: values(e),
505
- resultName: r,
506
- nextLoc: n
507
- }, "next" === this.method && (this.arg = t), y;
295
+ })();
296
+ }
297
+ function _regeneratorDefine(e, r, n, t) {
298
+ var i = Object.defineProperty;
299
+ try {
300
+ i({}, "", {});
301
+ } catch (e) {
302
+ i = 0;
303
+ }
304
+ _regeneratorDefine = function (e, r, n, t) {
305
+ function o(r, n) {
306
+ _regeneratorDefine(e, r, function (e) {
307
+ return this._invoke(r, n, e);
308
+ });
508
309
  }
509
- }, e;
310
+ r ? i ? i(e, r, {
311
+ value: n,
312
+ enumerable: !t,
313
+ configurable: !t,
314
+ writable: !t
315
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
316
+ }, _regeneratorDefine(e, r, n, t);
510
317
  }
511
318
  function _setPrototypeOf(t, e) {
512
319
  return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
@@ -1579,22 +1386,22 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1579
1386
  // sheepMap是表头字段中英文映射
1580
1387
  // sheetCount:表的数量,默认一张
1581
1388
  var resolveFile = /*#__PURE__*/function () {
1582
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1389
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(file) {
1583
1390
  var config,
1584
1391
  data,
1585
1392
  _args = arguments;
1586
- return _regeneratorRuntime().wrap(function _callee$(_context) {
1587
- while (1) switch (_context.prev = _context.next) {
1393
+ return _regenerator().w(function (_context) {
1394
+ while (1) switch (_context.n) {
1588
1395
  case 0:
1589
1396
  config = _args.length > 1 && _args[1] !== undefined ? _args[1] : {
1590
1397
  sheetMap: [],
1591
1398
  sheetCount: 1
1592
1399
  };
1593
- _context.next = 3;
1400
+ _context.n = 1;
1594
1401
  return analyseExcelToByte(file);
1595
- case 3:
1596
- data = _context.sent;
1597
- return _context.abrupt("return", new Promise(function (resolve, reject) {
1402
+ case 1:
1403
+ data = _context.v;
1404
+ return _context.a(2, new Promise(function (resolve, reject) {
1598
1405
  var workbook = read(data, {
1599
1406
  type: 'binary'
1600
1407
  });
@@ -1606,9 +1413,6 @@ var resolveFile = /*#__PURE__*/function () {
1606
1413
  var outdata = parseToServe(sheetMapJsonList, config.sheetMap);
1607
1414
  resolve(outdata);
1608
1415
  }));
1609
- case 5:
1610
- case "end":
1611
- return _context.stop();
1612
1416
  }
1613
1417
  }, _callee);
1614
1418
  }));
@@ -1618,41 +1422,40 @@ var resolveFile = /*#__PURE__*/function () {
1618
1422
  }();
1619
1423
  //读取文件
1620
1424
  var readerXlsxToList = /*#__PURE__*/function () {
1621
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1425
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1622
1426
  var _ref5, callback, sheetMap, nowFile, data2, data;
1623
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1624
- while (1) switch (_context2.prev = _context2.next) {
1427
+ return _regenerator().w(function (_context2) {
1428
+ while (1) switch (_context2.n) {
1625
1429
  case 0:
1626
1430
  _ref5 = otherInfo || {}, callback = _ref5.callback, sheetMap = _ref5.sheetMap;
1627
1431
  if (!(Array.isArray(fileList) && fileList.length > 0)) {
1628
- _context2.next = 15;
1432
+ _context2.n = 3;
1629
1433
  break;
1630
1434
  }
1631
1435
  nowFile = fileList[fileList.length - 1]; // 阻止了默认上传file没有originFileObj了 得从fileList中去取
1632
- _context2.next = 5;
1436
+ _context2.n = 1;
1633
1437
  return resolveFile(nowFile.originFileObj, {
1634
1438
  sheetMap: fieldMappingReverse(sheetMap),
1635
1439
  sheetCount: 1
1636
1440
  });
1637
- case 5:
1638
- data2 = _context2.sent;
1441
+ case 1:
1442
+ data2 = _context2.v;
1639
1443
  data = data2[0];
1640
1444
  if (data.length) {
1641
- _context2.next = 10;
1445
+ _context2.n = 2;
1642
1446
  break;
1643
1447
  }
1644
1448
  message$1.error("\u8BF7\u5148\u5F55\u5165\u6570\u636E\u518D\u5BFC\u5165");
1645
- return _context2.abrupt("return");
1646
- case 10:
1449
+ return _context2.a(2);
1450
+ case 2:
1647
1451
  if (callback) callback(data);
1648
1452
  !callback && message$1.success("\u5BFC\u5165\u6210\u529F");
1649
- return _context2.abrupt("return", data);
1650
- case 15:
1453
+ return _context2.a(2, data);
1454
+ case 3:
1651
1455
  message$1.error("\u8BF7\u9009\u62E9\u6587\u4EF6");
1652
- return _context2.abrupt("return");
1653
- case 17:
1654
- case "end":
1655
- return _context2.stop();
1456
+ return _context2.a(2);
1457
+ case 4:
1458
+ return _context2.a(2);
1656
1459
  }
1657
1460
  }, _callee2);
1658
1461
  }));
@@ -2604,17 +2407,14 @@ var requestUtil = function requestUtil(_ref) {
2604
2407
  return request$1(url, parms).then(handleResponseData);
2605
2408
  };
2606
2409
  var handleResponseData = /*#__PURE__*/function () {
2607
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2608
- return _regeneratorRuntime().wrap(function _callee$(_context) {
2609
- while (1) switch (_context.prev = _context.next) {
2410
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(response) {
2411
+ return _regenerator().w(function (_context) {
2412
+ while (1) switch (_context.n) {
2610
2413
  case 0:
2611
- return _context.abrupt("return", Promise.resolve({
2414
+ return _context.a(2, Promise.resolve({
2612
2415
  data: response,
2613
2416
  status: response.status
2614
2417
  }));
2615
- case 1:
2616
- case "end":
2617
- return _context.stop();
2618
2418
  }
2619
2419
  }, _callee);
2620
2420
  }));
@@ -2987,11 +2787,11 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
2987
2787
  data: luckysheet.transToCellData(newData)
2988
2788
  });
2989
2789
  };
2990
- _this.resetData = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
2790
+ _this.resetData = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
2991
2791
  var _customerColumnsMappi;
2992
2792
  var _this$props, validDataUrl, validDataParams, updateData, columns, isBrandAuth, _this$props$isCheckSt, isCheckStockNum, customerColumnsMapping, checkSharedValue, beforeCheckCallback, resultData, resultColumns, otherParams;
2993
- return _regeneratorRuntime().wrap(function _callee$(_context) {
2994
- while (1) switch (_context.prev = _context.next) {
2793
+ return _regenerator().w(function (_context) {
2794
+ while (1) switch (_context.n) {
2995
2795
  case 0:
2996
2796
  _this$props = _this.props, validDataUrl = _this$props.validDataUrl, validDataParams = _this$props.validDataParams, updateData = _this$props.updateData, columns = _this$props.columns, isBrandAuth = _this$props.isBrandAuth, _this$props$isCheckSt = _this$props.isCheckStockNum, isCheckStockNum = _this$props$isCheckSt === void 0 ? true : _this$props$isCheckSt, customerColumnsMapping = _this$props.customerColumnsMapping, checkSharedValue = _this$props.checkSharedValue, beforeCheckCallback = _this$props.beforeCheckCallback;
2997
2797
  resultData = _this.getData().filter(function (d) {
@@ -3016,19 +2816,19 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3016
2816
  }
3017
2817
  // 调用回调函数
3018
2818
  if (!beforeCheckCallback) {
3019
- _context.next = 12;
2819
+ _context.n = 2;
3020
2820
  break;
3021
2821
  }
3022
- _context.next = 9;
2822
+ _context.n = 1;
3023
2823
  return beforeCheckCallback(resultData);
3024
- case 9:
3025
- resultData = _context.sent;
2824
+ case 1:
2825
+ resultData = _context.v;
3026
2826
  if (resultData) {
3027
- _context.next = 12;
2827
+ _context.n = 2;
3028
2828
  break;
3029
2829
  }
3030
- return _context.abrupt("return");
3031
- case 12:
2830
+ return _context.a(2);
2831
+ case 2:
3032
2832
  requestUtil.post(validDataUrl, _objectSpread2(_objectSpread2(_objectSpread2({}, otherParams), validDataParams), {}, {
3033
2833
  columns: resultColumns,
3034
2834
  data: resultData,
@@ -3084,9 +2884,8 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3084
2884
  console.log(setExportData);
3085
2885
  setExportData([123123]);
3086
2886
  }).catch(function (err) {});
3087
- case 13:
3088
- case "end":
3089
- return _context.stop();
2887
+ case 3:
2888
+ return _context.a(2);
3090
2889
  }
3091
2890
  }, _callee);
3092
2891
  }));
@@ -4778,27 +4577,27 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4778
4577
  popvalue = _useState8[0],
4779
4578
  setPopValue = _useState8[1];
4780
4579
  var _useState9 = useState([]),
4781
- _useState10 = _slicedToArray(_useState9, 2),
4782
- source = _useState10[0],
4783
- setSource = _useState10[1];
4580
+ _useState0 = _slicedToArray(_useState9, 2),
4581
+ source = _useState0[0],
4582
+ setSource = _useState0[1];
4784
4583
  var _useDebounceFn = useDebounceFn(function () {
4785
4584
  getData();
4786
4585
  }, {
4787
4586
  wait: 1000
4788
4587
  }),
4789
4588
  run = _useDebounceFn.run;
4790
- var _useState11 = useState(false),
4589
+ var _useState1 = useState(false),
4590
+ _useState10 = _slicedToArray(_useState1, 2),
4591
+ fetching = _useState10[0],
4592
+ setFetching = _useState10[1];
4593
+ var _useState11 = useState(''),
4791
4594
  _useState12 = _slicedToArray(_useState11, 2),
4792
- fetching = _useState12[0],
4793
- setFetching = _useState12[1];
4794
- var _useState13 = useState(''),
4595
+ searchValue = _useState12[0],
4596
+ setSearchValue = _useState12[1];
4597
+ var _useState13 = useState(resultSourceKey),
4795
4598
  _useState14 = _slicedToArray(_useState13, 2),
4796
- searchValue = _useState14[0],
4797
- setSearchValue = _useState14[1];
4798
- var _useState15 = useState(resultSourceKey),
4799
- _useState16 = _slicedToArray(_useState15, 2),
4800
- uniqueValue = _useState16[0],
4801
- setUniqueValue = _useState16[1];
4599
+ uniqueValue = _useState14[0],
4600
+ setUniqueValue = _useState14[1];
4802
4601
  useEffect(function () {
4803
4602
  setPopValue(value);
4804
4603
  onValueChange(value);
@@ -5215,21 +5014,21 @@ var PropertySelector = function PropertySelector(_ref) {
5215
5014
  notCommonProperty = _useState8[0],
5216
5015
  setNotCommonProperty = _useState8[1];
5217
5016
  var _useState9 = useState(false),
5218
- _useState10 = _slicedToArray(_useState9, 2),
5219
- visible = _useState10[0],
5220
- setVisible = _useState10[1];
5221
- var _useState11 = useState(false),
5017
+ _useState0 = _slicedToArray(_useState9, 2),
5018
+ visible = _useState0[0],
5019
+ setVisible = _useState0[1];
5020
+ var _useState1 = useState(false),
5021
+ _useState10 = _slicedToArray(_useState1, 2),
5022
+ showNotCommon = _useState10[0],
5023
+ setShowNotCommon = _useState10[1]; // 是否展示非常用属性
5024
+ var _useState11 = useState([]),
5222
5025
  _useState12 = _slicedToArray(_useState11, 2),
5223
- showNotCommon = _useState12[0],
5224
- setShowNotCommon = _useState12[1]; // 是否展示非常用属性
5225
- var _useState13 = useState([]),
5026
+ classifyOptionList = _useState12[0],
5027
+ setClassifyOptionList = _useState12[1];
5028
+ var _useState13 = useState('1'),
5226
5029
  _useState14 = _slicedToArray(_useState13, 2),
5227
- classifyOptionList = _useState14[0],
5228
- setClassifyOptionList = _useState14[1];
5229
- var _useState15 = useState('1'),
5230
- _useState16 = _slicedToArray(_useState15, 2),
5231
- listKey = _useState16[0],
5232
- setListKey = _useState16[1];
5030
+ listKey = _useState14[0],
5031
+ setListKey = _useState14[1];
5233
5032
  useEffect(function () {
5234
5033
  requestUtil({
5235
5034
  url: '/items/class/withProperty?pageSize=500&currentPage=1',
@@ -5614,29 +5413,29 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5614
5413
  scrollPage = _useState8[0],
5615
5414
  setScrollPage = _useState8[1];
5616
5415
  var _useState9 = useState(0),
5617
- _useState10 = _slicedToArray(_useState9, 2),
5618
- itemsTotal = _useState10[0],
5619
- setItemsTotal = _useState10[1];
5620
- var _useState11 = useState(false),
5416
+ _useState0 = _slicedToArray(_useState9, 2),
5417
+ itemsTotal = _useState0[0],
5418
+ setItemsTotal = _useState0[1];
5419
+ var _useState1 = useState(false),
5420
+ _useState10 = _slicedToArray(_useState1, 2),
5421
+ fetching = _useState10[0],
5422
+ setFetching = _useState10[1];
5423
+ var _useState11 = useState(''),
5621
5424
  _useState12 = _slicedToArray(_useState11, 2),
5622
- fetching = _useState12[0],
5623
- setFetching = _useState12[1];
5624
- var _useState13 = useState(''),
5425
+ searchValue = _useState12[0],
5426
+ setSearchValue = _useState12[1];
5427
+ var _useState13 = useState(false),
5625
5428
  _useState14 = _slicedToArray(_useState13, 2),
5626
- searchValue = _useState14[0],
5627
- setSearchValue = _useState14[1];
5628
- var _useState15 = useState(false),
5429
+ isModalVisible = _useState14[0],
5430
+ setIsModalVisible = _useState14[1];
5431
+ var _useState15 = useState(initVal),
5629
5432
  _useState16 = _slicedToArray(_useState15, 2),
5630
- isModalVisible = _useState16[0],
5631
- setIsModalVisible = _useState16[1];
5632
- var _useState17 = useState(initVal),
5433
+ popvalue = _useState16[0],
5434
+ setPopValue = _useState16[1];
5435
+ var _useState17 = useState(resultSourceKey),
5633
5436
  _useState18 = _slicedToArray(_useState17, 2),
5634
- popvalue = _useState18[0],
5635
- setPopValue = _useState18[1];
5636
- var _useState19 = useState(resultSourceKey),
5637
- _useState20 = _slicedToArray(_useState19, 2),
5638
- uniqueValue = _useState20[0],
5639
- setUniqueValue = _useState20[1];
5437
+ uniqueValue = _useState18[0],
5438
+ setUniqueValue = _useState18[1];
5640
5439
  var _useDebounceFn = useDebounceFn(function (v) {
5641
5440
  // 优化搜索参数 支持传多个
5642
5441
  var searchParams = {};
@@ -5665,58 +5464,58 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5665
5464
  var _Form$useForm = Form.useForm(),
5666
5465
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
5667
5466
  form = _Form$useForm2[0];
5467
+ var _useState19 = useState(true),
5468
+ _useState20 = _slicedToArray(_useState19, 2),
5469
+ collapsed = _useState20[0],
5470
+ setCollapsed = _useState20[1];
5668
5471
  var _useState21 = useState(true),
5669
5472
  _useState22 = _slicedToArray(_useState21, 2),
5670
- collapsed = _useState22[0],
5671
- setCollapsed = _useState22[1];
5672
- var _useState23 = useState(true),
5473
+ caretLeftFlag = _useState22[0],
5474
+ setCaretLeftFlag = _useState22[1];
5475
+ var _useState23 = useState([]),
5673
5476
  _useState24 = _slicedToArray(_useState23, 2),
5674
- caretLeftFlag = _useState24[0],
5675
- setCaretLeftFlag = _useState24[1];
5676
- var _useState25 = useState([]),
5477
+ tableData = _useState24[0],
5478
+ setTableData = _useState24[1];
5479
+ var _useState25 = useState(tableInitPagination),
5677
5480
  _useState26 = _slicedToArray(_useState25, 2),
5678
- tableData = _useState26[0],
5679
- setTableData = _useState26[1];
5680
- var _useState27 = useState(tableInitPagination),
5481
+ tablePagination = _useState26[0],
5482
+ setTablePagination = _useState26[1];
5483
+ var _useState27 = useState([]),
5681
5484
  _useState28 = _slicedToArray(_useState27, 2),
5682
- tablePagination = _useState28[0],
5683
- setTablePagination = _useState28[1];
5485
+ selectedRowKeys = _useState28[0],
5486
+ setSelectedRowKeys = _useState28[1];
5684
5487
  var _useState29 = useState([]),
5685
5488
  _useState30 = _slicedToArray(_useState29, 2),
5686
- selectedRowKeys = _useState30[0],
5687
- setSelectedRowKeys = _useState30[1];
5688
- var _useState31 = useState([]),
5489
+ selectedRows = _useState30[0],
5490
+ setSelectedRows = _useState30[1];
5491
+ var _useState31 = useState(false),
5689
5492
  _useState32 = _slicedToArray(_useState31, 2),
5690
- selectedRows = _useState32[0],
5691
- setSelectedRows = _useState32[1];
5493
+ checkedAll = _useState32[0],
5494
+ setCheckedAll = _useState32[1];
5692
5495
  var _useState33 = useState(false),
5693
5496
  _useState34 = _slicedToArray(_useState33, 2),
5694
- checkedAll = _useState34[0],
5695
- setCheckedAll = _useState34[1];
5696
- var _useState35 = useState(false),
5497
+ indeterminate = _useState34[0],
5498
+ setIndeterminate = _useState34[1];
5499
+ var _useState35 = useState({}),
5697
5500
  _useState36 = _slicedToArray(_useState35, 2),
5698
- indeterminate = _useState36[0],
5699
- setIndeterminate = _useState36[1];
5700
- var _useState37 = useState({}),
5501
+ tableFormParams = _useState36[0],
5502
+ setTableFormParams = _useState36[1];
5503
+ var _useState37 = useState(false),
5701
5504
  _useState38 = _slicedToArray(_useState37, 2),
5702
- tableFormParams = _useState38[0],
5703
- setTableFormParams = _useState38[1];
5704
- var _useState39 = useState(false),
5505
+ tooltipVisible = _useState38[0],
5506
+ setTooltipVisible = _useState38[1];
5507
+ var _useState39 = useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5705
5508
  _useState40 = _slicedToArray(_useState39, 2),
5706
- tooltipVisible = _useState40[0],
5707
- setTooltipVisible = _useState40[1];
5708
- var _useState41 = useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5509
+ tableShowColumns = _useState40[0],
5510
+ setTabletShowColumns = _useState40[1]; // 默认展示表头-modalTableProps?.tableColumns
5511
+ var _useState41 = useState(false),
5709
5512
  _useState42 = _slicedToArray(_useState41, 2),
5710
- tableShowColumns = _useState42[0],
5711
- setTabletShowColumns = _useState42[1]; // 默认展示表头-modalTableProps?.tableColumns
5513
+ confirmLoading = _useState42[0],
5514
+ setConfirmLoading = _useState42[1];
5712
5515
  var _useState43 = useState(false),
5713
5516
  _useState44 = _slicedToArray(_useState43, 2),
5714
- confirmLoading = _useState44[0],
5715
- setConfirmLoading = _useState44[1];
5716
- var _useState45 = useState(false),
5717
- _useState46 = _slicedToArray(_useState45, 2),
5718
- modalSearched = _useState46[0],
5719
- setModalSearched = _useState46[1];
5517
+ modalSearched = _useState44[0],
5518
+ setModalSearched = _useState44[1];
5720
5519
  var setSelectDataSource = function setSelectDataSource(list, total) {
5721
5520
  setItems(list);
5722
5521
  setItemsTotal(total);
@@ -6204,7 +6003,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6204
6003
  })) || [];
6205
6004
  var searchList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.noEmptySearchField) ? list : list === null || list === void 0 ? void 0 : list.concat(addKong);
6206
6005
  return searchList.map(function (i, index) {
6207
- var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field10, _i$field11, _i$field12, _i$field14, _i$field15;
6006
+ var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field0, _i$field1, _i$field10, _i$field12, _i$field13;
6208
6007
  if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
6209
6008
  span: ColSpan,
6210
6009
  key: i
@@ -6302,7 +6101,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6302
6101
  disabled: setDisabled(i.name)
6303
6102
  }))));
6304
6103
  }
6305
- 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') {
6104
+ 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') {
6306
6105
  return /*#__PURE__*/React$1.createElement(Col, {
6307
6106
  span: ColSpan,
6308
6107
  key: i.name
@@ -6316,7 +6115,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6316
6115
  }
6317
6116
  })));
6318
6117
  }
6319
- if ((i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.type) === 'proppertySelector') {
6118
+ if ((i === null || i === void 0 ? void 0 : (_i$field1 = i.field) === null || _i$field1 === void 0 ? void 0 : _i$field1.type) === 'proppertySelector') {
6320
6119
  return /*#__PURE__*/React$1.createElement(Col, {
6321
6120
  span: ColSpan,
6322
6121
  key: i.name
@@ -6326,8 +6125,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6326
6125
  key: i.name
6327
6126
  }, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
6328
6127
  }
6329
- 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') {
6330
- var _i$field13;
6128
+ 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') {
6129
+ var _i$field11;
6331
6130
  return /*#__PURE__*/React$1.createElement(Col, {
6332
6131
  span: ColSpan,
6333
6132
  key: i.name
@@ -6340,9 +6139,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6340
6139
  width: '100%'
6341
6140
  },
6342
6141
  placeholder: "\u8BF7\u9009\u62E9"
6343
- }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props))));
6142
+ }, i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.props))));
6344
6143
  }
6345
- if ((i === null || i === void 0 ? void 0 : (_i$field14 = i.field) === null || _i$field14 === void 0 ? void 0 : _i$field14.type) === 'multipleQuerySearchSelect') {
6144
+ if ((i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'multipleQuerySearchSelect') {
6346
6145
  return /*#__PURE__*/React$1.createElement(Col, {
6347
6146
  span: ColSpan,
6348
6147
  key: i.name
@@ -6371,7 +6170,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6371
6170
  placeholder: "\u8BF7\u8F93\u5165",
6372
6171
  allowClear: true,
6373
6172
  maxLength: 100
6374
- }, i === null || i === void 0 ? void 0 : (_i$field15 = i.field) === null || _i$field15 === void 0 ? void 0 : _i$field15.props), {}, {
6173
+ }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props), {}, {
6375
6174
  disabled: setDisabled(i.name)
6376
6175
  }))));
6377
6176
  });
@@ -7710,135 +7509,132 @@ var AddSelect = function AddSelect(props) {
7710
7509
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
7711
7510
  form = _Form$useForm2[0];
7712
7511
  var _useState9 = useState(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm),
7713
- _useState10 = _slicedToArray(_useState9, 2),
7714
- tableSearchForm = _useState10[0],
7715
- setTableSearchForm = _useState10[1];
7716
- var _useState11 = useState(true),
7512
+ _useState0 = _slicedToArray(_useState9, 2),
7513
+ tableSearchForm = _useState0[0],
7514
+ setTableSearchForm = _useState0[1];
7515
+ var _useState1 = useState(true),
7516
+ _useState10 = _slicedToArray(_useState1, 2),
7517
+ caretLeftFlag = _useState10[0],
7518
+ setCaretLeftFlag = _useState10[1];
7519
+ var _useState11 = useState([]),
7717
7520
  _useState12 = _slicedToArray(_useState11, 2),
7718
- caretLeftFlag = _useState12[0],
7719
- setCaretLeftFlag = _useState12[1];
7720
- var _useState13 = useState([]),
7721
- _useState14 = _slicedToArray(_useState13, 2),
7722
- tableData = _useState14[0],
7723
- setTableData = _useState14[1];
7724
- var _useState15 = useState(_objectSpread2({
7521
+ tableData = _useState12[0],
7522
+ setTableData = _useState12[1];
7523
+ var _useState13 = useState(_objectSpread2({
7725
7524
  total: 0,
7726
7525
  size: "small",
7727
7526
  current: 1,
7728
7527
  pageSize: tableInitPageSize
7729
7528
  }, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.topTablePagination)),
7529
+ _useState14 = _slicedToArray(_useState13, 2),
7530
+ tablePagination = _useState14[0],
7531
+ setTablePagination = _useState14[1];
7532
+ var _useState15 = useState([]),
7730
7533
  _useState16 = _slicedToArray(_useState15, 2),
7731
- tablePagination = _useState16[0],
7732
- setTablePagination = _useState16[1];
7733
- var _useState17 = useState([]),
7534
+ selectedRowKeys = _useState16[0],
7535
+ setSelectedRowKeys = _useState16[1];
7536
+ var _useState17 = useState({}),
7734
7537
  _useState18 = _slicedToArray(_useState17, 2),
7735
- selectedRowKeys = _useState18[0],
7736
- setSelectedRowKeys = _useState18[1];
7737
- var _useState19 = useState({}),
7538
+ tableFormParams = _useState18[0],
7539
+ setTableFormParams = _useState18[1];
7540
+ var _useState19 = useState(false),
7738
7541
  _useState20 = _slicedToArray(_useState19, 2),
7739
- tableFormParams = _useState20[0],
7740
- setTableFormParams = _useState20[1];
7542
+ confirmLoading = _useState20[0],
7543
+ setConfirmLoading = _useState20[1];
7741
7544
  var _useState21 = useState(false),
7742
7545
  _useState22 = _slicedToArray(_useState21, 2),
7743
- confirmLoading = _useState22[0],
7744
- setConfirmLoading = _useState22[1];
7745
- var _useState23 = useState(false),
7546
+ confirmContinueLoading = _useState22[0],
7547
+ setConfirmContinueLoading = _useState22[1];
7548
+ var _useState23 = useState([]),
7746
7549
  _useState24 = _slicedToArray(_useState23, 2),
7747
- confirmContinueLoading = _useState24[0],
7748
- setConfirmContinueLoading = _useState24[1];
7550
+ selectColumns = _useState24[0],
7551
+ setSelectColumns = _useState24[1];
7749
7552
  var _useState25 = useState([]),
7750
7553
  _useState26 = _slicedToArray(_useState25, 2),
7751
- selectColumns = _useState26[0],
7752
- setSelectColumns = _useState26[1];
7554
+ showColumns = _useState26[0],
7555
+ setShowColumns = _useState26[1];
7753
7556
  var _useState27 = useState([]),
7754
7557
  _useState28 = _slicedToArray(_useState27, 2),
7755
- showColumns = _useState28[0],
7756
- setShowColumns = _useState28[1];
7558
+ tableColumns = _useState28[0],
7559
+ setTableColumns = _useState28[1];
7757
7560
  var _useState29 = useState([]),
7758
7561
  _useState30 = _slicedToArray(_useState29, 2),
7759
- tableColumns = _useState30[0],
7760
- setTableColumns = _useState30[1];
7761
- var _useState31 = useState([]),
7762
- _useState32 = _slicedToArray(_useState31, 2),
7763
- showToChooseColumns = _useState32[0],
7764
- setShowToChooseColumns = _useState32[1];
7562
+ showToChooseColumns = _useState30[0],
7563
+ setShowToChooseColumns = _useState30[1];
7765
7564
  var codeToChoose = tableCodeList[0] || initTableCode[businessType][0];
7766
7565
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7767
7566
  // FIXME: 特殊业务逻辑
7768
7567
  var checkSelectChange = /*#__PURE__*/function () {
7769
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7770
- var result;
7771
- return _regeneratorRuntime().wrap(function _callee$(_context) {
7772
- while (1) switch (_context.prev = _context.next) {
7568
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7569
+ var result, _t;
7570
+ return _regenerator().w(function (_context) {
7571
+ while (1) switch (_context.p = _context.n) {
7773
7572
  case 0:
7774
7573
  if (!(bType == 'skc' && tList.some(function (i) {
7775
7574
  return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
7776
7575
  }))) {
7777
- _context.next = 3;
7576
+ _context.n = 1;
7778
7577
  break;
7779
7578
  }
7780
7579
  message$1.warning('相同skc配码不可设置相同哦');
7781
- return _context.abrupt("return", false);
7782
- case 3:
7580
+ return _context.a(2, false);
7581
+ case 1:
7783
7582
  if (!(bType == 'spu')) {
7784
- _context.next = 26;
7583
+ _context.n = 9;
7785
7584
  break;
7786
7585
  }
7787
7586
  if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
7788
7587
  return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
7789
7588
  }))) {
7790
- _context.next = 7;
7589
+ _context.n = 2;
7791
7590
  break;
7792
7591
  }
7793
7592
  message$1.warning('相同商品相同配码颜色不可设置相同哦');
7794
- return _context.abrupt("return", false);
7795
- case 7:
7593
+ return _context.a(2, false);
7594
+ case 2:
7796
7595
  if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
7797
- _context.next = 10;
7596
+ _context.n = 3;
7798
7597
  break;
7799
7598
  }
7800
7599
  message$1.warning('请先选择颜色!');
7801
- return _context.abrupt("return", false);
7802
- case 10:
7600
+ return _context.a(2, false);
7601
+ case 3:
7803
7602
  if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
7804
7603
  return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
7805
7604
  }))) {
7806
- _context.next = 13;
7605
+ _context.n = 4;
7807
7606
  break;
7808
7607
  }
7809
7608
  message$1.warning('相同商品相同颜色配码不可设置相同哦');
7810
- return _context.abrupt("return", false);
7811
- case 13:
7609
+ return _context.a(2, false);
7610
+ case 4:
7812
7611
  if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
7813
- _context.next = 26;
7612
+ _context.n = 9;
7814
7613
  break;
7815
7614
  }
7816
7615
  result = true;
7817
- _context.prev = 15;
7818
- _context.next = 18;
7616
+ _context.p = 5;
7617
+ _context.n = 6;
7819
7618
  return checkSpuMatchCode({
7820
7619
  skcCode: recordItem[recordKey],
7821
7620
  matchingCode: changeValue,
7822
7621
  ext1: recordItem.colorName
7823
7622
  });
7824
- case 18:
7825
- result = _context.sent;
7623
+ case 6:
7624
+ result = _context.v;
7826
7625
  result = true;
7827
- _context.next = 25;
7626
+ _context.n = 8;
7828
7627
  break;
7829
- case 22:
7830
- _context.prev = 22;
7831
- _context.t0 = _context["catch"](15);
7832
- result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
7833
- case 25:
7834
- return _context.abrupt("return", result);
7835
- case 26:
7836
- return _context.abrupt("return", true);
7837
- case 27:
7838
- case "end":
7839
- return _context.stop();
7840
- }
7841
- }, _callee, null, [[15, 22]]);
7628
+ case 7:
7629
+ _context.p = 7;
7630
+ _t = _context.v;
7631
+ result = typeof _t == 'boolean' ? _t : false;
7632
+ case 8:
7633
+ return _context.a(2, result);
7634
+ case 9:
7635
+ return _context.a(2, true);
7636
+ }
7637
+ }, _callee, null, [[5, 7]]);
7842
7638
  }));
7843
7639
  return function checkSelectChange(_x, _x2, _x3, _x4, _x5, _x6) {
7844
7640
  return _ref2.apply(this, arguments);
@@ -7929,17 +7725,16 @@ var AddSelect = function AddSelect(props) {
7929
7725
  e.target.blur();
7930
7726
  },
7931
7727
  onBlur: function () {
7932
- var _onBlur = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(e) {
7728
+ var _onBlur = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(e) {
7933
7729
  var value;
7934
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7935
- while (1) switch (_context2.prev = _context2.next) {
7730
+ return _regenerator().w(function (_context2) {
7731
+ while (1) switch (_context2.n) {
7936
7732
  case 0:
7937
7733
  value = e.target.value;
7938
7734
  record[item.dataIndex] = value;
7939
7735
  editRecord(record);
7940
- case 3:
7941
- case "end":
7942
- return _context2.stop();
7736
+ case 1:
7737
+ return _context2.a(2);
7943
7738
  }
7944
7739
  }, _callee2);
7945
7740
  }));
@@ -8099,10 +7894,10 @@ var AddSelect = function AddSelect(props) {
8099
7894
  }
8100
7895
  _dom6 = null;
8101
7896
  } else if (e.keyCode === 38) {
8102
- var _e$nativeEvent$path$10;
7897
+ var _e$nativeEvent$path$0;
8103
7898
  e.stopPropagation();
8104
7899
  e.preventDefault();
8105
- 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];
7900
+ var dom1 = (_e$nativeEvent$path$0 = e.nativeEvent.path[5].children[index]) === null || _e$nativeEvent$path$0 === void 0 ? void 0 : _e$nativeEvent$path$0.getElementsByTagName('input')[currentIndex];
8106
7901
  if (dom1) {
8107
7902
  // dom1.value=""
8108
7903
  // dom1.setSelectionRange(100, 0);
@@ -8136,19 +7931,19 @@ var AddSelect = function AddSelect(props) {
8136
7931
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
8137
7932
  value: text || null,
8138
7933
  onChange: function () {
8139
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(value) {
8140
- var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
8141
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
8142
- while (1) switch (_context3.prev = _context3.next) {
7934
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(value) {
7935
+ var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules, _t2;
7936
+ return _regenerator().w(function (_context3) {
7937
+ while (1) switch (_context3.p = _context3.n) {
8143
7938
  case 0:
8144
7939
  dataSourceSelectItem = (dataSourceList === null || dataSourceList === void 0 ? void 0 : dataSourceList.find(function (d) {
8145
7940
  return d[selectKey] == value;
8146
7941
  })) || {};
8147
7942
  if (!(item === null || item === void 0 ? void 0 : item.selectChangeCallback)) {
8148
- _context3.next = 6;
7943
+ _context3.n = 2;
8149
7944
  break;
8150
7945
  }
8151
- _context3.next = 4;
7946
+ _context3.n = 1;
8152
7947
  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, {
8153
7948
  record: record,
8154
7949
  index: index,
@@ -8158,10 +7953,10 @@ var AddSelect = function AddSelect(props) {
8158
7953
  dataSourceSelectItem: dataSourceSelectItem,
8159
7954
  editRecord: editRecord
8160
7955
  });
8161
- case 4:
8162
- _context3.next = 25;
7956
+ case 1:
7957
+ _context3.n = 10;
8163
7958
  break;
8164
- case 6:
7959
+ case 2:
8165
7960
  // 更新当前行数据函数
8166
7961
  changeValue = function changeValue(v, dSSItem) {
8167
7962
  var _item$dataSourceSelec;
@@ -8174,12 +7969,12 @@ var AddSelect = function AddSelect(props) {
8174
7969
  }
8175
7970
  }; // 处理校验,默认不校验
8176
7971
  isCheckPass = true;
8177
- _context3.prev = 8;
7972
+ _context3.p = 3;
8178
7973
  if (!(item === null || item === void 0 ? void 0 : item.selectCheckCallback)) {
8179
- _context3.next = 15;
7974
+ _context3.n = 5;
8180
7975
  break;
8181
7976
  }
8182
- _context3.next = 12;
7977
+ _context3.n = 4;
8183
7978
  return item === null || item === void 0 ? void 0 : item.selectCheckCallback(popvalue, {
8184
7979
  record: record,
8185
7980
  index: index,
@@ -8188,23 +7983,23 @@ var AddSelect = function AddSelect(props) {
8188
7983
  changeValue: value,
8189
7984
  dataSourceSelectItem: dataSourceSelectItem
8190
7985
  });
8191
- case 12:
8192
- isCheckPass = _context3.sent;
8193
- _context3.next = 19;
7986
+ case 4:
7987
+ isCheckPass = _context3.v;
7988
+ _context3.n = 7;
8194
7989
  break;
8195
- case 15:
8196
- _context3.next = 17;
7990
+ case 5:
7991
+ _context3.n = 6;
8197
7992
  return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
8198
- case 17:
8199
- isConformToTheRules = _context3.sent;
7993
+ case 6:
7994
+ isConformToTheRules = _context3.v;
8200
7995
  isCheckPass = !isConformToTheRules;
8201
- case 19:
8202
- _context3.next = 23;
7996
+ case 7:
7997
+ _context3.n = 9;
8203
7998
  break;
8204
- case 21:
8205
- _context3.prev = 21;
8206
- _context3.t0 = _context3["catch"](8);
8207
- case 23:
7999
+ case 8:
8000
+ _context3.p = 8;
8001
+ _t2 = _context3.v;
8002
+ case 9:
8208
8003
  if (isCheckPass) {
8209
8004
  changeValue(value, dataSourceSelectItem);
8210
8005
  } else {
@@ -8212,11 +8007,10 @@ var AddSelect = function AddSelect(props) {
8212
8007
  }
8213
8008
  // 更新已选表格函数
8214
8009
  editRecord(record);
8215
- case 25:
8216
- case "end":
8217
- return _context3.stop();
8010
+ case 10:
8011
+ return _context3.a(2);
8218
8012
  }
8219
- }, _callee3, null, [[8, 21]]);
8013
+ }, _callee3, null, [[3, 8]]);
8220
8014
  }));
8221
8015
  function onChange(_x8) {
8222
8016
  return _onChange.apply(this, arguments);
@@ -9607,29 +9401,29 @@ var BillEntry = function BillEntry(_ref3) {
9607
9401
  dataIndex: 'propertyNameAndValue'
9608
9402
  }];
9609
9403
  var _useState9 = useState(false),
9610
- _useState10 = _slicedToArray(_useState9, 2),
9611
- isModalVisible = _useState10[0],
9612
- setIsModalVisible = _useState10[1];
9613
- var _useState11 = useState([{
9404
+ _useState0 = _slicedToArray(_useState9, 2),
9405
+ isModalVisible = _useState0[0],
9406
+ setIsModalVisible = _useState0[1];
9407
+ var _useState1 = useState([{
9614
9408
  hovered: false
9615
9409
  }]),
9616
- _useState12 = _slicedToArray(_useState11, 2),
9617
- data = _useState12[0],
9618
- setData = _useState12[1];
9410
+ _useState10 = _slicedToArray(_useState1, 2),
9411
+ data = _useState10[0],
9412
+ setData = _useState10[1];
9619
9413
  var tableRef = useRef(null);
9620
9414
  var codeSelected = tableCode;
9621
- var _useState13 = useState(false),
9415
+ var _useState11 = useState(false),
9416
+ _useState12 = _slicedToArray(_useState11, 2),
9417
+ loading = _useState12[0],
9418
+ setLoading = _useState12[1];
9419
+ var _useState13 = useState([]),
9622
9420
  _useState14 = _slicedToArray(_useState13, 2),
9623
- loading = _useState14[0],
9624
- setLoading = _useState14[1];
9421
+ selectColumns = _useState14[0],
9422
+ setSelectColumns = _useState14[1];
9625
9423
  var _useState15 = useState([]),
9626
9424
  _useState16 = _slicedToArray(_useState15, 2),
9627
- selectColumns = _useState16[0],
9628
- setSelectColumns = _useState16[1];
9629
- var _useState17 = useState([]),
9630
- _useState18 = _slicedToArray(_useState17, 2),
9631
- showColumns = _useState18[0],
9632
- setShowColumns = _useState18[1];
9425
+ showColumns = _useState16[0],
9426
+ setShowColumns = _useState16[1];
9633
9427
  useEffect(function () {
9634
9428
  setSelectColumns([].concat(_toConsumableArray(columns.map(function (item) {
9635
9429
  var inputLength = columns.filter(function (item) {
@@ -9745,42 +9539,42 @@ var BillEntry = function BillEntry(_ref3) {
9745
9539
  });
9746
9540
  };
9747
9541
  var handleSubmit = /*#__PURE__*/function () {
9748
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9542
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
9749
9543
  var canEntryObject, _canEntryObject$error, messageInfo;
9750
- return _regeneratorRuntime().wrap(function _callee$(_context) {
9751
- while (1) switch (_context.prev = _context.next) {
9544
+ return _regenerator().w(function (_context) {
9545
+ while (1) switch (_context.n) {
9752
9546
  case 0:
9753
9547
  if (data === null || data === void 0 ? void 0 : data.length) {
9754
- _context.next = 3;
9548
+ _context.n = 1;
9755
9549
  break;
9756
9550
  }
9757
9551
  message$1.warning('至少录入一条数据');
9758
- return _context.abrupt("return");
9759
- case 3:
9552
+ return _context.a(2);
9553
+ case 1:
9760
9554
  if (data === null || data === void 0 ? void 0 : data.every(function (d) {
9761
9555
  return d.skuCode && d.name;
9762
9556
  })) {
9763
- _context.next = 6;
9557
+ _context.n = 2;
9764
9558
  break;
9765
9559
  }
9766
9560
  message$1.warning('录入商品不存在');
9767
- return _context.abrupt("return");
9768
- case 6:
9561
+ return _context.a(2);
9562
+ case 2:
9769
9563
  if (data === null || data === void 0 ? void 0 : data.every(function (d) {
9770
9564
  return d.count;
9771
9565
  })) {
9772
- _context.next = 9;
9566
+ _context.n = 3;
9773
9567
  break;
9774
9568
  }
9775
9569
  message$1.warning('请填写商品数量!');
9776
- return _context.abrupt("return");
9777
- case 9:
9778
- _context.next = 11;
9570
+ return _context.a(2);
9571
+ case 3:
9572
+ _context.n = 4;
9779
9573
  return isSkuCanEntry(data);
9780
- case 11:
9781
- canEntryObject = _context.sent;
9574
+ case 4:
9575
+ canEntryObject = _context.v;
9782
9576
  if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
9783
- _context.next = 16;
9577
+ _context.n = 5;
9784
9578
  break;
9785
9579
  }
9786
9580
  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) {
@@ -9790,8 +9584,8 @@ var BillEntry = function BillEntry(_ref3) {
9790
9584
  content: messageInfo,
9791
9585
  duration: 6
9792
9586
  });
9793
- return _context.abrupt("return");
9794
- case 16:
9587
+ return _context.a(2);
9588
+ case 5:
9795
9589
  setLoading(true);
9796
9590
  onSaveCallback(data).then(function (res) {
9797
9591
  {
@@ -9809,9 +9603,8 @@ var BillEntry = function BillEntry(_ref3) {
9809
9603
  message$1.error(Error);
9810
9604
  setLoading(false);
9811
9605
  });
9812
- case 18:
9813
- case "end":
9814
- return _context.stop();
9606
+ case 6:
9607
+ return _context.a(2);
9815
9608
  }
9816
9609
  }, _callee);
9817
9610
  }));
@@ -10693,7 +10486,7 @@ function commonFun(type, prefixUrl, parentProps) {
10693
10486
  }, {
10694
10487
  name: 'qp-zzdlbm-in',
10695
10488
  type: 'select',
10696
- label: '大类',
10489
+ label: '品类',
10697
10490
  field: {
10698
10491
  type: 'select',
10699
10492
  props: {
@@ -10712,7 +10505,7 @@ function commonFun(type, prefixUrl, parentProps) {
10712
10505
  }, {
10713
10506
  name: 'qp-zzzlbm-in',
10714
10507
  type: 'select',
10715
- label: '中类',
10508
+ label: '大类',
10716
10509
  field: {
10717
10510
  type: 'select',
10718
10511
  props: {
@@ -10731,7 +10524,7 @@ function commonFun(type, prefixUrl, parentProps) {
10731
10524
  }, {
10732
10525
  name: 'qp-zzxlbm-in',
10733
10526
  type: 'select',
10734
- label: '小类',
10527
+ label: '中类',
10735
10528
  field: {
10736
10529
  type: 'select',
10737
10530
  props: {
@@ -11797,11 +11590,11 @@ function commonFun(type, prefixUrl, parentProps) {
11797
11590
  }
11798
11591
  }
11799
11592
  }, {
11800
- name: 'qp-channelCode-in',
11801
- type: 'treeSelect',
11802
- label: '战区',
11593
+ name: 'qp-operationWarehouseClassification-in',
11594
+ type: 'select',
11595
+ label: '分类',
11803
11596
  field: {
11804
- type: 'treeSelect',
11597
+ type: 'select',
11805
11598
  props: {
11806
11599
  multiple: true,
11807
11600
  treeData: [],
@@ -11817,7 +11610,8 @@ function commonFun(type, prefixUrl, parentProps) {
11817
11610
  },
11818
11611
  showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11819
11612
  }
11820
- }
11613
+ },
11614
+ initialSource: getDictionarySource$1('BASIC_OPS_WH_TYPE')
11821
11615
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11822
11616
  name: 'qp-status-eq',
11823
11617
  type: 'select',
@@ -11845,10 +11639,6 @@ function commonFun(type, prefixUrl, parentProps) {
11845
11639
  });
11846
11640
  });
11847
11641
  x[1].data = newData1;
11848
- var channelDisabledJude = function channelDisabledJude(data) {
11849
- return data['parentCode'] === '0';
11850
- }; // 所属销售渠道 树节点不能点判断
11851
- formatTreeDataSource(x, 1, 3, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11852
11642
  });
11853
11643
  modalTableProps = _objectSpread2({
11854
11644
  modalTableTitle: '选择运营仓',
@@ -12202,17 +11992,17 @@ function commonFun(type, prefixUrl, parentProps) {
12202
11992
  }
12203
11993
  }
12204
11994
  }];
12205
- var _queryHeaderParams10 = getQueryHeadersList({
11995
+ var _queryHeaderParams0 = getQueryHeadersList({
12206
11996
  querySelectHeadersList: querySelectHeadersList,
12207
11997
  extralHeaders: extralHeaders
12208
11998
  });
12209
- Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/org/listNoPage"), {}, getQueryHeadersItem(_queryHeaderParams10, 'qp-createOrgCode-eq')), loadSelectSource$1("/channel-manage/channelInfo/tree", {
11999
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/org/listNoPage"), {}, getQueryHeadersItem(_queryHeaderParams0, 'qp-createOrgCode-eq')), loadSelectSource$1("/channel-manage/channelInfo/tree", {
12210
12000
  'qp-status-eq': 10,
12211
12001
  'qp-isMain-eq': 1,
12212
12002
  'qp-type-in': '1,2'
12213
- }, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
12003
+ }, getQueryHeadersItem(_queryHeaderParams0, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
12214
12004
  'qp-status-eq': 1
12215
- }, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in'))]).then(function (x) {
12005
+ }, getQueryHeadersItem(_queryHeaderParams0, 'qp-orgCode-in'))]).then(function (x) {
12216
12006
  var firstElement = x === null || x === void 0 ? void 0 : x[0];
12217
12007
  var allList = firstElement && [firstElement, firstElement];
12218
12008
  formatSource(allList, 0, 2, tableSearchForm);
@@ -12398,7 +12188,7 @@ function commonFun(type, prefixUrl, parentProps) {
12398
12188
  }
12399
12189
  }
12400
12190
  }];
12401
- var _queryHeaderParams11 = getQueryHeadersList({
12191
+ var _queryHeaderParams1 = getQueryHeadersList({
12402
12192
  querySelectHeadersList: querySelectHeadersList,
12403
12193
  extralHeaders: extralHeaders
12404
12194
  });
@@ -12406,21 +12196,21 @@ function commonFun(type, prefixUrl, parentProps) {
12406
12196
  pageSize: 5000,
12407
12197
  currentPage: 1,
12408
12198
  'qp-companyType-eq': '30'
12409
- }, getQueryHeadersItem(_queryHeaderParams11, 'qp-conglomerateCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
12199
+ }, getQueryHeadersItem(_queryHeaderParams1, 'qp-conglomerateCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
12410
12200
  pageSize: 5000,
12411
12201
  currentPage: 1,
12412
12202
  'qp-companyType-eq': '20'
12413
- }, getQueryHeadersItem(_queryHeaderParams11, 'qp-companyCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/platformRecord/getPlatformRecordList"), {
12203
+ }, getQueryHeadersItem(_queryHeaderParams1, 'qp-companyCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/platformRecord/getPlatformRecordList"), {
12414
12204
  // pageSize: 5000,
12415
12205
  // currentPage: 1,
12416
12206
  'qp-status-eq': '1'
12417
- }, getQueryHeadersItem(_queryHeaderParams11, 'qp-plateformCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/store"), {
12207
+ }, getQueryHeadersItem(_queryHeaderParams1, 'qp-plateformCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/store"), {
12418
12208
  pageSize: 5000,
12419
12209
  currentPage: 1
12420
- }, getQueryHeadersItem(_queryHeaderParams11, 'qp-mainBrandCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
12210
+ }, getQueryHeadersItem(_queryHeaderParams1, 'qp-mainBrandCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
12421
12211
  pageSize: 5000,
12422
12212
  currentPage: 1
12423
- }, getQueryHeadersItem(_queryHeaderParams11, 'qp-accountingCode-in'))]).then(function (x) {
12213
+ }, getQueryHeadersItem(_queryHeaderParams1, 'qp-accountingCode-in'))]).then(function (x) {
12424
12214
  formatSource(x, 0, 2, tableSearchForm);
12425
12215
  formatSource(x, 1, 3, tableSearchForm);
12426
12216
  formatSource(x, 2, 5, tableSearchForm);
@@ -12704,7 +12494,7 @@ function commonFun(type, prefixUrl, parentProps) {
12704
12494
  }
12705
12495
  }
12706
12496
  }];
12707
- var _queryHeaderParams12 = getQueryHeadersList({
12497
+ var _queryHeaderParams10 = getQueryHeadersList({
12708
12498
  querySelectHeadersList: querySelectHeadersList,
12709
12499
  extralHeaders: extralHeaders
12710
12500
  });
@@ -12712,17 +12502,17 @@ function commonFun(type, prefixUrl, parentProps) {
12712
12502
  'qp-employeeCode-eq': getEmployeeCode(),
12713
12503
  'qp-realOrg-eq': true,
12714
12504
  'qp-status-eq': 10
12715
- }, getQueryHeadersItem(_queryHeaderParams12, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/channelInfo/tree"), {
12505
+ }, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/channelInfo/tree"), {
12716
12506
  'qp-status-eq': 10,
12717
12507
  'qp-isMain-eq': 1,
12718
12508
  'qp-type-in': '1,2'
12719
- }, getQueryHeadersItem(_queryHeaderParams12, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/tagNode/getTree/10"), {
12509
+ }, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/tagNode/getTree/10"), {
12720
12510
  'qp-status-eq': 1
12721
- }, getQueryHeadersItem(_queryHeaderParams12, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
12511
+ }, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
12722
12512
  pageSize: 5000,
12723
12513
  currentPage: 1,
12724
12514
  'ctl-withAuth': true
12725
- }, getQueryHeadersItem(_queryHeaderParams12, 'ctl-withAuth')), loadSelectSource$1("/channel-manage/store/selectStoreOperationalInfo", {}, getQueryHeadersItem(_queryHeaderParams12, 'qp-orgCode-in'))]).then(function (x) {
12515
+ }, getQueryHeadersItem(_queryHeaderParams10, 'ctl-withAuth')), loadSelectSource$1("/channel-manage/store/selectStoreOperationalInfo", {}, getQueryHeadersItem(_queryHeaderParams10, 'qp-orgCode-in'))]).then(function (x) {
12726
12516
  var _x$3, _x$3$data$, _x$3$data$$channelInf, _x$4, _opList, _opList$, _opList2, _opList3, _opList4, _opList5, _opList6;
12727
12517
  var newData1 = [];
12728
12518
  (_x$3 = x[1]) === null || _x$3 === void 0 ? void 0 : (_x$3$data$ = _x$3.data[0]) === null || _x$3$data$ === void 0 ? void 0 : (_x$3$data$$channelInf = _x$3$data$.channelInfoSon) === null || _x$3$data$$channelInf === void 0 ? void 0 : _x$3$data$$channelInf.forEach(function (item) {
@@ -13040,7 +12830,7 @@ function commonFun(type, prefixUrl, parentProps) {
13040
12830
  name: 'qp-officeTelephone-like',
13041
12831
  label: '手机号'
13042
12832
  }];
13043
- var _queryHeaderParams13 = getQueryHeadersList({
12833
+ var _queryHeaderParams11 = getQueryHeadersList({
13044
12834
  querySelectHeadersList: querySelectHeadersList,
13045
12835
  extralHeaders: extralHeaders
13046
12836
  });
@@ -13048,7 +12838,7 @@ function commonFun(type, prefixUrl, parentProps) {
13048
12838
  pageSize: 5000,
13049
12839
  currentPage: 1,
13050
12840
  'qp-companyType-eq': 20
13051
- }, getQueryHeadersItem(_queryHeaderParams13, 'qp-companyCode-in'))]).then(function (x) {
12841
+ }, getQueryHeadersItem(_queryHeaderParams11, 'qp-companyCode-in'))]).then(function (x) {
13052
12842
  formatSource(x, 0, 2, tableSearchForm);
13053
12843
  });
13054
12844
  modalTableProps = _objectSpread2({
@@ -13157,13 +12947,13 @@ function commonFun(type, prefixUrl, parentProps) {
13157
12947
  name: 'qp-phone-like',
13158
12948
  label: '手机号'
13159
12949
  }]);
13160
- var _queryHeaderParams14 = getQueryHeadersList({
12950
+ var _queryHeaderParams12 = getQueryHeadersList({
13161
12951
  querySelectHeadersList: querySelectHeadersList,
13162
12952
  extralHeaders: extralHeaders
13163
12953
  });
13164
12954
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgViewNode/common/getTreeForOrgViewAndTenant"), {
13165
12955
  'orgViewCode': 'administrative-organization-view'
13166
- }, getQueryHeadersItem(_queryHeaderParams14, 'qp-code-in'))]).then(function (x) {
12956
+ }, getQueryHeadersItem(_queryHeaderParams12, 'qp-code-in'))]).then(function (x) {
13167
12957
  formatTreeDataSource(x, 0, 2, tableSearchForm, ['code', 'name']);
13168
12958
  });
13169
12959
  modalTableProps = _objectSpread2({
@@ -13310,17 +13100,17 @@ function commonFun(type, prefixUrl, parentProps) {
13310
13100
  name: 'qp-remark-like',
13311
13101
  label: '备注'
13312
13102
  }];
13313
- var _queryHeaderParams15 = getQueryHeadersList({
13103
+ var _queryHeaderParams13 = getQueryHeadersList({
13314
13104
  querySelectHeadersList: querySelectHeadersList,
13315
13105
  extralHeaders: extralHeaders
13316
13106
  });
13317
13107
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/logisCompany"), {
13318
13108
  pageSize: 5000,
13319
13109
  currentPage: 1
13320
- }, getQueryHeadersItem(_queryHeaderParams15, logisCompanyCodeSingleSearchName)), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/printTemplate"), {
13110
+ }, getQueryHeadersItem(_queryHeaderParams13, logisCompanyCodeSingleSearchName)), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/printTemplate"), {
13321
13111
  pageSize: 5000,
13322
13112
  currentPage: 1
13323
- }, getQueryHeadersItem(_queryHeaderParams15, 'qp-sheetTemplateCode-in'))]).then(function (x) {
13113
+ }, getQueryHeadersItem(_queryHeaderParams13, 'qp-sheetTemplateCode-in'))]).then(function (x) {
13324
13114
  formatSource(x, 0, 2, tableSearchForm);
13325
13115
  formatSource(x, 1, 5, tableSearchForm);
13326
13116
  });
@@ -13490,14 +13280,14 @@ function commonFun(type, prefixUrl, parentProps) {
13490
13280
  }
13491
13281
  }
13492
13282
  }];
13493
- var _queryHeaderParams16 = getQueryHeadersList({
13283
+ var _queryHeaderParams14 = getQueryHeadersList({
13494
13284
  querySelectHeadersList: querySelectHeadersList,
13495
13285
  extralHeaders: extralHeaders
13496
13286
  });
13497
13287
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/permissionCategory"), {
13498
13288
  pageSize: 5000,
13499
13289
  currentPage: 1
13500
- }, getQueryHeadersItem(_queryHeaderParams16, 'qp-categoryCode-eq'))]).then(function (x) {
13290
+ }, getQueryHeadersItem(_queryHeaderParams14, 'qp-categoryCode-eq'))]).then(function (x) {
13501
13291
  formatSource(x, 0, 2, tableSearchForm);
13502
13292
  });
13503
13293
  modalTableProps = _objectSpread2({
@@ -13594,7 +13384,7 @@ function commonFun(type, prefixUrl, parentProps) {
13594
13384
  }
13595
13385
  }
13596
13386
  }];
13597
- var _queryHeaderParams17 = getQueryHeadersList({
13387
+ var _queryHeaderParams15 = getQueryHeadersList({
13598
13388
  querySelectHeadersList: querySelectHeadersList,
13599
13389
  extralHeaders: extralHeaders
13600
13390
  });
@@ -13602,7 +13392,7 @@ function commonFun(type, prefixUrl, parentProps) {
13602
13392
  'qp-employeeCode-eq': getEmployeeCode(),
13603
13393
  'qp-realOrg-eq': true,
13604
13394
  'qp-status-eq': 10
13605
- }, getQueryHeadersItem(_queryHeaderParams17, 'qp-salesOrgCode-in'))]).then(function (x) {
13395
+ }, getQueryHeadersItem(_queryHeaderParams15, 'qp-salesOrgCode-in'))]).then(function (x) {
13606
13396
  formatSource(x, 0, 2, tableSearchForm);
13607
13397
  });
13608
13398
  modalTableProps = _objectSpread2({
@@ -13708,13 +13498,13 @@ function commonFun(type, prefixUrl, parentProps) {
13708
13498
  },
13709
13499
  initialSource: nodeType
13710
13500
  }];
13711
- var _queryHeaderParams18 = getQueryHeadersList({
13501
+ var _queryHeaderParams16 = getQueryHeadersList({
13712
13502
  querySelectHeadersList: querySelectHeadersList,
13713
13503
  extralHeaders: extralHeaders
13714
13504
  });
13715
13505
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgView/getOrgViewListNoPage"), {
13716
13506
  'qp-status-eq': 10
13717
- }, getQueryHeadersItem(_queryHeaderParams18, 'qp-orgViewCode-in'))]).then(function (x) {
13507
+ }, getQueryHeadersItem(_queryHeaderParams16, 'qp-orgViewCode-in'))]).then(function (x) {
13718
13508
  formatSource(x, 0, 2, tableSearchForm);
13719
13509
  });
13720
13510
  modalTableProps = _objectSpread2({
@@ -14040,13 +13830,13 @@ function commonFun(type, prefixUrl, parentProps) {
14040
13830
  },
14041
13831
  initialSource: nodeType
14042
13832
  }];
14043
- var _queryHeaderParams19 = getQueryHeadersList({
13833
+ var _queryHeaderParams17 = getQueryHeadersList({
14044
13834
  querySelectHeadersList: querySelectHeadersList,
14045
13835
  extralHeaders: extralHeaders
14046
13836
  });
14047
13837
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/orgView/getOrgViewListNoPage"), {
14048
13838
  'qp-status-eq': 10
14049
- }, getQueryHeadersItem(_queryHeaderParams19, 'qp-orgViewCode-in'))]).then(function (x) {
13839
+ }, getQueryHeadersItem(_queryHeaderParams17, 'qp-orgViewCode-in'))]).then(function (x) {
14050
13840
  formatSource(x, 0, 2, tableSearchForm);
14051
13841
  });
14052
13842
  modalTableProps = _objectSpread2({
@@ -14991,9 +14781,9 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
14991
14781
  value = _useState8[0],
14992
14782
  setValue = _useState8[1];
14993
14783
  var _useState9 = useState([]),
14994
- _useState10 = _slicedToArray(_useState9, 2),
14995
- propertyList = _useState10[0],
14996
- setPropertyList = _useState10[1];
14784
+ _useState0 = _slicedToArray(_useState9, 2),
14785
+ propertyList = _useState0[0],
14786
+ setPropertyList = _useState0[1];
14997
14787
  useEffect(function () {
14998
14788
  if (parProps === null || parProps === void 0 ? void 0 : parProps.isSingleColor) {
14999
14789
  // type: 1 尺码组; 2 配码组
@@ -15416,7 +15206,7 @@ function getStorageVale(storageKeyString) {
15416
15206
  var _storageKeyString$spl = storageKeyString.split('.'),
15417
15207
  _storageKeyString$spl2 = _toArray(_storageKeyString$spl),
15418
15208
  localstorage = _storageKeyString$spl2[0],
15419
- restKeyArrays = _storageKeyString$spl2.slice(1);
15209
+ restKeyArrays = _arrayLikeToArray(_storageKeyString$spl2).slice(1);
15420
15210
  var localStorageInfo = window.localStorage.getItem(localstorage);
15421
15211
  if (!restKeyArrays.length) return localStorageInfo;
15422
15212
  var returnVal = JSON.parse(localStorageInfo || '{}');
@@ -15517,46 +15307,45 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
15517
15307
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
15518
15308
  headers: headers
15519
15309
  }).then(/*#__PURE__*/function () {
15520
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
15310
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(res) {
15521
15311
  var _ctx$form;
15522
15312
  var resData, coverData, data, dataList;
15523
- return _regeneratorRuntime().wrap(function _callee$(_context) {
15524
- while (1) switch (_context.prev = _context.next) {
15313
+ return _regenerator().w(function (_context) {
15314
+ while (1) switch (_context.n) {
15525
15315
  case 0:
15526
15316
  resData = (res === null || res === void 0 ? void 0 : res.data) || [];
15527
15317
  if (!judgeIsRequestSuccess(resData)) {
15528
- _context.next = 13;
15318
+ _context.n = 4;
15529
15319
  break;
15530
15320
  }
15531
15321
  data = resData.data;
15532
15322
  if (!remoteSource.converter) {
15533
- _context.next = 9;
15323
+ _context.n = 2;
15534
15324
  break;
15535
15325
  }
15536
- _context.next = 6;
15326
+ _context.n = 1;
15537
15327
  return remoteSource.converter({
15538
15328
  data: [data]
15539
15329
  });
15540
- case 6:
15541
- coverData = _context.sent;
15542
- _context.next = 11;
15330
+ case 1:
15331
+ coverData = _context.v;
15332
+ _context.n = 3;
15543
15333
  break;
15544
- case 9:
15334
+ case 2:
15545
15335
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
15546
15336
  coverData = dataList.length && dataList.map(function (ites) {
15547
15337
  return _mapSearchTree(ites);
15548
15338
  }) || [];
15549
- case 11:
15550
- _context.next = 14;
15339
+ case 3:
15340
+ _context.n = 5;
15551
15341
  break;
15552
- case 13:
15342
+ case 4:
15553
15343
  coverData = [];
15554
- case 14:
15344
+ case 5:
15555
15345
  setTreeData(coverData);
15556
15346
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
15557
- case 16:
15558
- case "end":
15559
- return _context.stop();
15347
+ case 6:
15348
+ return _context.a(2);
15560
15349
  }
15561
15350
  }, _callee);
15562
15351
  }));
@@ -19864,37 +19653,37 @@ var BsSulaQueryTable = (function (props) {
19864
19653
  };
19865
19654
  var refs = useRef(null);
19866
19655
  var _useState9 = useState(''),
19867
- _useState10 = _slicedToArray(_useState9, 2),
19868
- pagePath = _useState10[0],
19869
- setPagePath = _useState10[1];
19656
+ _useState0 = _slicedToArray(_useState9, 2),
19657
+ pagePath = _useState0[0],
19658
+ setPagePath = _useState0[1];
19870
19659
  var _useLocation = useLocation(),
19871
19660
  pathname = _useLocation.pathname,
19872
19661
  _useLocation$state = _useLocation.state;
19873
- var _useState11 = useState(false),
19874
- _useState12 = _slicedToArray(_useState11, 2),
19875
- isFullScreen = _useState12[0],
19876
- setIsFnllScreen = _useState12[1];
19662
+ var _useState1 = useState(false),
19663
+ _useState10 = _slicedToArray(_useState1, 2),
19664
+ isFullScreen = _useState10[0],
19665
+ setIsFnllScreen = _useState10[1];
19877
19666
  // @ts-nocheck
19878
19667
  var value = props;
19879
19668
  var _props$fields = props.fields,
19880
19669
  fields = _props$fields === void 0 ? [] : _props$fields;
19881
- var _useState13 = useState([]),
19882
- _useState14 = _slicedToArray(_useState13, 2),
19883
- showColumn = _useState14[0],
19884
- setShowColumns = _useState14[1]; // 列字段
19670
+ var _useState11 = useState([]),
19671
+ _useState12 = _slicedToArray(_useState11, 2),
19672
+ showColumn = _useState12[0],
19673
+ setShowColumns = _useState12[1]; // 列字段
19885
19674
  var originSearchFields = getSettingFieldOrColumn(getConfigFromlocalstorage(ENUM$1.BROWSER_CACHE.SEARCH_FIELDS_CONDITION), fields, 'searchFields');
19886
- var _useState15 = useState(originSearchFields),
19675
+ var _useState13 = useState(originSearchFields),
19676
+ _useState14 = _slicedToArray(_useState13, 2),
19677
+ showSearchFields = _useState14[0],
19678
+ setShowSearchFields = _useState14[1]; //搜索项字段
19679
+ var _useState15 = useState([]),
19887
19680
  _useState16 = _slicedToArray(_useState15, 2),
19888
- showSearchFields = _useState16[0],
19889
- setShowSearchFields = _useState16[1]; //搜索项字段
19890
- var _useState17 = useState([]),
19681
+ showExportColumn = _useState16[0],
19682
+ setShowExportColumns = _useState16[1]; // 导出列字段
19683
+ var _useState17 = useState(''),
19891
19684
  _useState18 = _slicedToArray(_useState17, 2),
19892
- showExportColumn = _useState18[0],
19893
- setShowExportColumns = _useState18[1]; // 导出列字段
19894
- var _useState19 = useState(''),
19895
- _useState20 = _slicedToArray(_useState19, 2),
19896
- height = _useState20[0],
19897
- setHeight = _useState20[1];
19685
+ height = _useState18[0],
19686
+ setHeight = _useState18[1];
19898
19687
  var sortTableRef = useRef(null);
19899
19688
  var searchTableRef = useRef(null);
19900
19689
  var exportTableRef = useRef(null);
@@ -20522,7 +20311,7 @@ var matchPath = function matchPath(pathname) {
20522
20311
  if (!match) return null;
20523
20312
  var _match = _toArray(match),
20524
20313
  url = _match[0],
20525
- values = _match.slice(1);
20314
+ values = _arrayLikeToArray(_match).slice(1);
20526
20315
  var isExact = pathname === url;
20527
20316
  if (exact && !isExact) return null;
20528
20317
  return {
@@ -20942,22 +20731,19 @@ function outLogin(_x) {
20942
20731
  return _outLogin.apply(this, arguments);
20943
20732
  }
20944
20733
  function _outLogin() {
20945
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
20734
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
20946
20735
  var res;
20947
- return _regeneratorRuntime().wrap(function _callee$(_context) {
20948
- while (1) switch (_context.prev = _context.next) {
20736
+ return _regenerator().w(function (_context) {
20737
+ while (1) switch (_context.n) {
20949
20738
  case 0:
20950
- _context.next = 2;
20739
+ _context.n = 1;
20951
20740
  return requestUtil({
20952
20741
  url: '/user/web/loginOut',
20953
20742
  method: 'GET'
20954
20743
  });
20955
- case 2:
20956
- res = _context.sent;
20957
- return _context.abrupt("return", res);
20958
- case 4:
20959
- case "end":
20960
- return _context.stop();
20744
+ case 1:
20745
+ res = _context.v;
20746
+ return _context.a(2, res);
20961
20747
  }
20962
20748
  }, _callee);
20963
20749
  }));
@@ -21084,20 +20870,20 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
21084
20870
  });
21085
20871
  };
21086
20872
  var loginOut = /*#__PURE__*/function () {
21087
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20873
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
21088
20874
  var sessionId;
21089
- return _regeneratorRuntime().wrap(function _callee$(_context) {
21090
- while (1) switch (_context.prev = _context.next) {
20875
+ return _regenerator().w(function (_context) {
20876
+ while (1) switch (_context.n) {
21091
20877
  case 0:
21092
- _context.next = 2;
20878
+ _context.n = 1;
21093
20879
  return getSessionId();
21094
- case 2:
21095
- sessionId = _context.sent;
21096
- _context.next = 5;
20880
+ case 1:
20881
+ sessionId = _context.v;
20882
+ _context.n = 2;
21097
20883
  return outLogin({
21098
20884
  sessionId: sessionId
21099
20885
  });
21100
- case 5:
20886
+ case 2:
21101
20887
  // @ts-ignore
21102
20888
  if (BUILD_TYPE) {
21103
20889
  message$1.success('退出登录成功');
@@ -21107,9 +20893,8 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
21107
20893
  } else {
21108
20894
  setLoginOutPath();
21109
20895
  }
21110
- case 6:
21111
- case "end":
21112
- return _context.stop();
20896
+ case 3:
20897
+ return _context.a(2);
21113
20898
  }
21114
20899
  }, _callee);
21115
20900
  }));
@@ -21196,18 +20981,15 @@ function getStoreByName(_x) {
21196
20981
  return _getStoreByName.apply(this, arguments);
21197
20982
  }
21198
20983
  function _getStoreByName() {
21199
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
21200
- return _regeneratorRuntime().wrap(function _callee$(_context) {
21201
- while (1) switch (_context.prev = _context.next) {
20984
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
20985
+ return _regenerator().w(function (_context) {
20986
+ while (1) switch (_context.n) {
21202
20987
  case 0:
21203
- return _context.abrupt("return", requestUtil({
20988
+ return _context.a(2, requestUtil({
21204
20989
  url: '/store-house/orgViewNode/listNoPage',
21205
20990
  method: 'GET',
21206
20991
  params: _objectSpread2({}, params)
21207
20992
  }));
21208
- case 1:
21209
- case "end":
21210
- return _context.stop();
21211
20993
  }
21212
20994
  }, _callee);
21213
20995
  }));
@@ -21242,33 +21024,33 @@ var ChooseStore = function ChooseStore(props) {
21242
21024
  openSelect = _useState8[0],
21243
21025
  setOpenSelect = _useState8[1];
21244
21026
  var _useState9 = useState([]),
21245
- _useState10 = _slicedToArray(_useState9, 2),
21246
- options = _useState10[0],
21247
- setOptions = _useState10[1];
21248
- var _useState11 = useState([]),
21027
+ _useState0 = _slicedToArray(_useState9, 2),
21028
+ options = _useState0[0],
21029
+ setOptions = _useState0[1];
21030
+ var _useState1 = useState([]),
21031
+ _useState10 = _slicedToArray(_useState1, 2),
21032
+ rescouse = _useState10[0],
21033
+ setRescouse = _useState10[1];
21034
+ var _useState11 = useState(''),
21249
21035
  _useState12 = _slicedToArray(_useState11, 2),
21250
- rescouse = _useState12[0],
21251
- setRescouse = _useState12[1];
21252
- var _useState13 = useState(''),
21253
- _useState14 = _slicedToArray(_useState13, 2),
21254
- searchValue = _useState14[0],
21255
- setSearchValue = _useState14[1];
21256
- var _useState15 = useState([{
21036
+ searchValue = _useState12[0],
21037
+ setSearchValue = _useState12[1];
21038
+ var _useState13 = useState([{
21257
21039
  label: name,
21258
21040
  value: code
21259
21041
  }]),
21260
- _useState16 = _slicedToArray(_useState15, 2),
21261
- store = _useState16[0],
21262
- setStore = _useState16[1];
21042
+ _useState14 = _slicedToArray(_useState13, 2),
21043
+ store = _useState14[0],
21044
+ setStore = _useState14[1];
21263
21045
  function fetchUserList(_x, _x2) {
21264
21046
  return _fetchUserList.apply(this, arguments);
21265
21047
  }
21266
21048
  function _fetchUserList() {
21267
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
21268
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
21269
- while (1) switch (_context3.prev = _context3.next) {
21049
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(storeName, init) {
21050
+ return _regenerator().w(function (_context3) {
21051
+ while (1) switch (_context3.n) {
21270
21052
  case 0:
21271
- return _context3.abrupt("return", getStoreByName({
21053
+ return _context3.a(2, getStoreByName({
21272
21054
  orgName: storeName ? storeName : undefined,
21273
21055
  platCompanyCode: init ? undefined : key,
21274
21056
  'qp-employeeCode-eq': employeeCode || 'EMP231011000002',
@@ -21287,9 +21069,6 @@ var ChooseStore = function ChooseStore(props) {
21287
21069
  };
21288
21070
  });
21289
21071
  }));
21290
- case 1:
21291
- case "end":
21292
- return _context3.stop();
21293
21072
  }
21294
21073
  }, _callee3);
21295
21074
  }));
@@ -21312,20 +21091,19 @@ var ChooseStore = function ChooseStore(props) {
21312
21091
  return debounce$1(loadOptions, debounceTimeout);
21313
21092
  }, [debounceTimeout, key]);
21314
21093
  var changeInput = /*#__PURE__*/function () {
21315
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
21094
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(str) {
21316
21095
  var res;
21317
- return _regeneratorRuntime().wrap(function _callee$(_context) {
21318
- while (1) switch (_context.prev = _context.next) {
21096
+ return _regenerator().w(function (_context) {
21097
+ while (1) switch (_context.n) {
21319
21098
  case 0:
21320
- _context.next = 2;
21099
+ _context.n = 1;
21321
21100
  return debounceFetcher(str);
21322
- case 2:
21323
- res = _context.sent;
21101
+ case 1:
21102
+ res = _context.v;
21324
21103
  setOptions(res);
21325
21104
  setRescouse(res);
21326
- case 5:
21327
- case "end":
21328
- return _context.stop();
21105
+ case 2:
21106
+ return _context.a(2);
21329
21107
  }
21330
21108
  }, _callee);
21331
21109
  }));
@@ -21334,15 +21112,15 @@ var ChooseStore = function ChooseStore(props) {
21334
21112
  };
21335
21113
  }();
21336
21114
  useEffect(function () {
21337
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
21115
+ _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
21338
21116
  var res;
21339
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
21340
- while (1) switch (_context2.prev = _context2.next) {
21117
+ return _regenerator().w(function (_context2) {
21118
+ while (1) switch (_context2.n) {
21341
21119
  case 0:
21342
- _context2.next = 2;
21120
+ _context2.n = 1;
21343
21121
  return fetchUserList(undefined, true);
21344
- case 2:
21345
- res = _context2.sent;
21122
+ case 1:
21123
+ res = _context2.v;
21346
21124
  res.map(function (item, indexNumber) {
21347
21125
  if (item.label === name) {
21348
21126
  setIndex(indexNumber);
@@ -21358,9 +21136,8 @@ var ChooseStore = function ChooseStore(props) {
21358
21136
  });
21359
21137
  setOptions(res);
21360
21138
  setRescouse(res);
21361
- case 6:
21362
- case "end":
21363
- return _context2.stop();
21139
+ case 2:
21140
+ return _context2.a(2);
21364
21141
  }
21365
21142
  }, _callee2);
21366
21143
  }))();
@@ -22409,25 +22186,25 @@ var DrawContent$1 = function DrawContent(_ref) {
22409
22186
  currentOneLevel = _useState8[0],
22410
22187
  setCurrentOneLevel = _useState8[1];
22411
22188
  var _useState9 = useState([]),
22412
- _useState10 = _slicedToArray(_useState9, 2),
22413
- SearhData = _useState10[0],
22414
- setSearchMenuData = _useState10[1];
22415
- var _useState11 = useState(600),
22189
+ _useState0 = _slicedToArray(_useState9, 2),
22190
+ SearhData = _useState0[0],
22191
+ setSearchMenuData = _useState0[1];
22192
+ var _useState1 = useState(600),
22193
+ _useState10 = _slicedToArray(_useState1, 2),
22194
+ rightMenuHeight = _useState10[0],
22195
+ setHeight = _useState10[1];
22196
+ var _useState11 = useState(900),
22416
22197
  _useState12 = _slicedToArray(_useState11, 2),
22417
- rightMenuHeight = _useState12[0],
22418
- setHeight = _useState12[1];
22419
- var _useState13 = useState(900),
22198
+ drawHeight = _useState12[0],
22199
+ setDrawHeight = _useState12[1];
22200
+ var _useState13 = useState(false),
22420
22201
  _useState14 = _slicedToArray(_useState13, 2),
22421
- drawHeight = _useState14[0],
22422
- setDrawHeight = _useState14[1];
22202
+ moreBtnShow = _useState14[0],
22203
+ setMoreBtnShow = _useState14[1];
22423
22204
  var _useState15 = useState(false),
22424
22205
  _useState16 = _slicedToArray(_useState15, 2),
22425
- moreBtnShow = _useState16[0],
22426
- setMoreBtnShow = _useState16[1];
22427
- var _useState17 = useState(false),
22428
- _useState18 = _slicedToArray(_useState17, 2),
22429
- showScroll = _useState18[0],
22430
- setShowScroll = _useState18[1];
22206
+ showScroll = _useState16[0],
22207
+ setShowScroll = _useState16[1];
22431
22208
  useEffect(function () {
22432
22209
  var _originRoutes$find;
22433
22210
  getMenuContentHeight();
@@ -24038,14 +23815,11 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
24038
23815
  },
24039
23816
  menu: {
24040
23817
  request: function () {
24041
- var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
24042
- return _regeneratorRuntime().wrap(function _callee$(_context) {
24043
- while (1) switch (_context.prev = _context.next) {
23818
+ var _request = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
23819
+ return _regenerator().w(function (_context) {
23820
+ while (1) switch (_context.n) {
24044
23821
  case 0:
24045
- return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
24046
- case 1:
24047
- case "end":
24048
- return _context.stop();
23822
+ return _context.a(2, JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
24049
23823
  }
24050
23824
  }, _callee);
24051
23825
  }));
@@ -24450,31 +24224,31 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
24450
24224
  multiTableData = _useState8[0],
24451
24225
  setMmultiTableData = _useState8[1]; //多表头数据
24452
24226
  var _useState9 = useState(10),
24453
- _useState10 = _slicedToArray(_useState9, 2),
24454
- viewCount = _useState10[0],
24455
- setViewCount = _useState10[1]; //虚拟表格每次渲染数量
24227
+ _useState0 = _slicedToArray(_useState9, 2),
24228
+ viewCount = _useState0[0],
24229
+ setViewCount = _useState0[1]; //虚拟表格每次渲染数量
24456
24230
  var itemWidth = 100; // 表格每一项宽度
24457
- var _useState11 = useState((props === null || props === void 0 ? void 0 : props.colHeaderWidth) || 400),
24458
- _useState12 = _slicedToArray(_useState11, 2),
24459
- realColHeaderWidth = _useState12[0],
24460
- setLeftWidth = _useState12[1];
24231
+ var _useState1 = useState((props === null || props === void 0 ? void 0 : props.colHeaderWidth) || 400),
24232
+ _useState10 = _slicedToArray(_useState1, 2),
24233
+ realColHeaderWidth = _useState10[0],
24234
+ setLeftWidth = _useState10[1];
24461
24235
  var viewPort = useRef(null);
24462
24236
  var topScrollBar = useRef(null);
24463
24237
  var leftTableRef = useRef(null);
24464
24238
  //起始渲染item
24465
- var _useState13 = useState(0),
24466
- _useState14 = _slicedToArray(_useState13, 2),
24467
- startIndex = _useState14[0],
24468
- setStartIndex = _useState14[1];
24239
+ var _useState11 = useState(0),
24240
+ _useState12 = _slicedToArray(_useState11, 2),
24241
+ startIndex = _useState12[0],
24242
+ setStartIndex = _useState12[1];
24469
24243
  //结束渲染item
24470
24244
  var endIndex = useMemo(function () {
24471
24245
  return startIndex + viewCount;
24472
24246
  }, [startIndex, viewCount]);
24473
24247
  //表格偏移量
24474
- var _useState15 = useState(0),
24475
- _useState16 = _slicedToArray(_useState15, 2),
24476
- offsetWidth = _useState16[0],
24477
- setOffset = _useState16[1];
24248
+ var _useState13 = useState(0),
24249
+ _useState14 = _slicedToArray(_useState13, 2),
24250
+ offsetWidth = _useState14[0],
24251
+ setOffset = _useState14[1];
24478
24252
  useEffect(function () {
24479
24253
  setTimeout(function () {
24480
24254
  var realLeftTableWidth = leftTableRef.current.clientWidth;
@@ -31778,11 +31552,11 @@ var valueType = {
31778
31552
  };
31779
31553
 
31780
31554
  var getDynamicDict = /*#__PURE__*/function () {
31781
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
31782
- return _regeneratorRuntime().wrap(function _callee$(_context) {
31783
- while (1) switch (_context.prev = _context.next) {
31555
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(dictionaryCode) {
31556
+ return _regenerator().w(function (_context) {
31557
+ while (1) switch (_context.n) {
31784
31558
  case 0:
31785
- _context.next = 2;
31559
+ _context.n = 1;
31786
31560
  return request$2({
31787
31561
  url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
31788
31562
  converter: function converter(_ref2) {
@@ -31795,11 +31569,8 @@ var getDynamicDict = /*#__PURE__*/function () {
31795
31569
  });
31796
31570
  }
31797
31571
  });
31798
- case 2:
31799
- return _context.abrupt("return", _context.sent);
31800
- case 3:
31801
- case "end":
31802
- return _context.stop();
31572
+ case 1:
31573
+ return _context.a(2, _context.v);
31803
31574
  }
31804
31575
  }, _callee);
31805
31576
  }));
@@ -31846,12 +31617,12 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31846
31617
  value: false
31847
31618
  }];
31848
31619
  var ref = useRef();
31849
- useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31850
- var _ref$current, source;
31851
- return _regeneratorRuntime().wrap(function _callee$(_context) {
31852
- while (1) switch (_context.prev = _context.next) {
31620
+ useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
31621
+ var _ref$current, source, _t, _t2;
31622
+ return _regenerator().w(function (_context) {
31623
+ while (1) switch (_context.n) {
31853
31624
  case 0:
31854
- _context.next = 2;
31625
+ _context.n = 1;
31855
31626
  return setIsShowAndType(function (prev) {
31856
31627
  if (record.inputType === 20 || record.inputType === 30) {
31857
31628
  return {
@@ -31862,40 +31633,39 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31862
31633
  }
31863
31634
  return prev;
31864
31635
  });
31865
- case 2:
31636
+ case 1:
31866
31637
  if (!record.dictionaryCode) {
31867
- _context.next = 17;
31638
+ _context.n = 7;
31868
31639
  break;
31869
31640
  }
31870
31641
  if (!(record.choiceType == 20)) {
31871
- _context.next = 7;
31642
+ _context.n = 2;
31872
31643
  break;
31873
31644
  }
31874
- _context.t0 = getDictionarySource(record.dictionaryCode);
31875
- _context.next = 15;
31645
+ _t = getDictionarySource(record.dictionaryCode);
31646
+ _context.n = 6;
31876
31647
  break;
31877
- case 7:
31648
+ case 2:
31878
31649
  if (!(record.choiceType == 30)) {
31879
- _context.next = 13;
31650
+ _context.n = 4;
31880
31651
  break;
31881
31652
  }
31882
- _context.next = 10;
31653
+ _context.n = 3;
31883
31654
  return getDynamicDict(record.dictionaryCode);
31884
- case 10:
31885
- _context.t1 = _context.sent;
31886
- _context.next = 14;
31655
+ case 3:
31656
+ _t2 = _context.v;
31657
+ _context.n = 5;
31887
31658
  break;
31888
- case 13:
31889
- _context.t1 = [];
31890
- case 14:
31891
- _context.t0 = _context.t1;
31892
- case 15:
31893
- source = _context.t0;
31659
+ case 4:
31660
+ _t2 = [];
31661
+ case 5:
31662
+ _t = _t2;
31663
+ case 6:
31664
+ source = _t;
31894
31665
  // @ts-ignore
31895
31666
  ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
31896
- case 17:
31897
- case "end":
31898
- return _context.stop();
31667
+ case 7:
31668
+ return _context.a(2);
31899
31669
  }
31900
31670
  }, _callee);
31901
31671
  })));
@@ -31960,10 +31730,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31960
31730
  source: {
31961
31731
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
31962
31732
  type: function () {
31963
- var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
31733
+ var _type = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(_ref3) {
31964
31734
  var form, values, name, relates, source;
31965
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
31966
- while (1) switch (_context2.prev = _context2.next) {
31735
+ return _regenerator().w(function (_context2) {
31736
+ while (1) switch (_context2.n) {
31967
31737
  case 0:
31968
31738
  form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
31969
31739
  if (values[0]) {
@@ -31972,19 +31742,18 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
31972
31742
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
31973
31743
  }
31974
31744
  if (!values[1]) {
31975
- _context2.next = 9;
31745
+ _context2.n = 2;
31976
31746
  break;
31977
31747
  }
31978
- _context2.next = 5;
31748
+ _context2.n = 1;
31979
31749
  return getDynamicDict(record.dictionaryCode || values[1]);
31980
- case 5:
31981
- source = _context2.sent;
31750
+ case 1:
31751
+ source = _context2.v;
31982
31752
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
31983
31753
  form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
31984
31754
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
31985
- case 9:
31986
- case "end":
31987
- return _context2.stop();
31755
+ case 2:
31756
+ return _context2.a(2);
31988
31757
  }
31989
31758
  }, _callee2);
31990
31759
  }));
@@ -32440,25 +32209,25 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32440
32209
  source: {
32441
32210
  relates: ['choiceType', 'inputType'],
32442
32211
  type: function () {
32443
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
32212
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(_ref0) {
32444
32213
  var values, name, form, source;
32445
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
32446
- while (1) switch (_context3.prev = _context3.next) {
32214
+ return _regenerator().w(function (_context3) {
32215
+ while (1) switch (_context3.n) {
32447
32216
  case 0:
32448
- values = _ref10.values, name = _ref10.name, form = _ref10.form;
32217
+ values = _ref0.values, name = _ref0.name, form = _ref0.form;
32449
32218
  if (values[1] === 40) {
32450
32219
  form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
32451
32220
  form.setFieldVisible(name, false);
32452
32221
  }
32453
32222
  if (!(values[0] === 30)) {
32454
- _context3.next = 10;
32223
+ _context3.n = 2;
32455
32224
  break;
32456
32225
  }
32457
- _context3.next = 5;
32226
+ _context3.n = 1;
32458
32227
  return request$2({
32459
32228
  url: '/basic/dictDynamicItem/queryList',
32460
- converter: function converter(_ref11) {
32461
- var data = _ref11.data;
32229
+ converter: function converter(_ref1) {
32230
+ var data = _ref1.data;
32462
32231
  return data === null || data === void 0 ? void 0 : data.map(function (d) {
32463
32232
  return {
32464
32233
  text: d.dictCode,
@@ -32467,17 +32236,16 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32467
32236
  });
32468
32237
  }
32469
32238
  });
32470
- case 5:
32471
- source = _context3.sent;
32239
+ case 1:
32240
+ source = _context3.v;
32472
32241
  form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
32473
32242
  form.setFieldVisible(name, true);
32474
- _context3.next = 11;
32243
+ _context3.n = 3;
32475
32244
  break;
32476
- case 10:
32245
+ case 2:
32477
32246
  form.setFieldVisible(name, false);
32478
- case 11:
32479
- case "end":
32480
- return _context3.stop();
32247
+ case 3:
32248
+ return _context3.a(2);
32481
32249
  }
32482
32250
  }, _callee3);
32483
32251
  }));
@@ -32492,8 +32260,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32492
32260
  name: 'enumeration',
32493
32261
  label: '维护自定义选项',
32494
32262
  field: {
32495
- type: function type(_ref12) {
32496
- var form = _ref12.form;
32263
+ type: function type(_ref10) {
32264
+ var form = _ref10.form;
32497
32265
  return /*#__PURE__*/React$1.createElement(Button, {
32498
32266
  type: 'link',
32499
32267
  onClick: function onClick() {
@@ -32519,10 +32287,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32519
32287
  dependency: {
32520
32288
  source: {
32521
32289
  relates: ['choiceType'],
32522
- type: function type(_ref13) {
32523
- var values = _ref13.values,
32524
- name = _ref13.name,
32525
- form = _ref13.form;
32290
+ type: function type(_ref11) {
32291
+ var values = _ref11.values,
32292
+ name = _ref11.name,
32293
+ form = _ref11.form;
32526
32294
  if (values[0] === 10) {
32527
32295
  form.setFieldVisible(name, true);
32528
32296
  } else {
@@ -32538,10 +32306,10 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32538
32306
  dependency: {
32539
32307
  visible: {
32540
32308
  relates: ['choiceType'],
32541
- type: function type(_ref14) {
32542
- var name = _ref14.name,
32543
- values = _ref14.values,
32544
- form = _ref14.form;
32309
+ type: function type(_ref12) {
32310
+ var name = _ref12.name,
32311
+ values = _ref12.values,
32312
+ form = _ref12.form;
32545
32313
  if (values[0] == 330) {
32546
32314
  form.setFieldVisible(name, true);
32547
32315
  } else {
@@ -32565,8 +32333,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32565
32333
  params: {
32566
32334
  'qp-businessType-eq': record.businessType
32567
32335
  },
32568
- converter: function converter(_ref15) {
32569
- var data = _ref15.data;
32336
+ converter: function converter(_ref13) {
32337
+ var data = _ref13.data;
32570
32338
  return (data === null || data === void 0 ? void 0 : data.map(function (d) {
32571
32339
  return {
32572
32340
  text: d.name,
@@ -32606,8 +32374,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32606
32374
  'qp-businessType-eq': record.businessType,
32607
32375
  'qp-status-eq': 1
32608
32376
  },
32609
- converter: function converter(_ref16) {
32610
- var data = _ref16.data;
32377
+ converter: function converter(_ref14) {
32378
+ var data = _ref14.data;
32611
32379
  return (data === null || data === void 0 ? void 0 : data.map(function (d) {
32612
32380
  var _d$code;
32613
32381
  return {
@@ -32635,8 +32403,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32635
32403
  remoteSource: {
32636
32404
  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),
32637
32405
  method: 'get',
32638
- converter: function converter(_ref17) {
32639
- var data = _ref17.data;
32406
+ converter: function converter(_ref15) {
32407
+ var data = _ref15.data;
32640
32408
  if (lineDetail.moduleType == 1) {
32641
32409
  return (data === null || data === void 0 ? void 0 : data.map(function (d) {
32642
32410
  return {
@@ -32662,16 +32430,16 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32662
32430
  width: 900,
32663
32431
  maskClosable: false,
32664
32432
  onOk: function () {
32665
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
32433
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
32666
32434
  var _ref$current4, _res$editableStatus;
32667
32435
  var res, _res$defaultValue;
32668
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
32669
- while (1) switch (_context4.prev = _context4.next) {
32436
+ return _regenerator().w(function (_context4) {
32437
+ while (1) switch (_context4.n) {
32670
32438
  case 0:
32671
- _context4.next = 2;
32439
+ _context4.n = 1;
32672
32440
  return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
32673
- case 2:
32674
- res = _context4.sent;
32441
+ case 1:
32442
+ res = _context4.v;
32675
32443
  res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
32676
32444
  res.fieldGroup = record.fieldGroup;
32677
32445
  res.businessType = record.businessType;
@@ -32698,7 +32466,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32698
32466
  delete res.formula;
32699
32467
  delete res.showValue;
32700
32468
  if (!(mode === 'create')) {
32701
- _context4.next = 18;
32469
+ _context4.n = 2;
32702
32470
  break;
32703
32471
  }
32704
32472
  request$2({
@@ -32710,8 +32478,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32710
32478
  onParentOk();
32711
32479
  }
32712
32480
  });
32713
- return _context4.abrupt("return");
32714
- case 18:
32481
+ return _context4.a(2);
32482
+ case 2:
32715
32483
  request$2({
32716
32484
  url: "/basic/flow/businessField/".concat(record.id),
32717
32485
  method: 'PATCH',
@@ -32721,9 +32489,8 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
32721
32489
  onParentOk();
32722
32490
  }
32723
32491
  });
32724
- case 19:
32725
- case "end":
32726
- return _context4.stop();
32492
+ case 3:
32493
+ return _context4.a(2);
32727
32494
  }
32728
32495
  }, _callee4);
32729
32496
  }));
@@ -33179,21 +32946,21 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
33179
32946
  jsonEditorVal = _useState8[0],
33180
32947
  setJsonEditorVal = _useState8[1];
33181
32948
  var _useState9 = useState({}),
33182
- _useState10 = _slicedToArray(_useState9, 2),
33183
- moduleParams = _useState10[0],
33184
- setModuleParams = _useState10[1];
33185
- var _useState11 = useState('main'),
32949
+ _useState0 = _slicedToArray(_useState9, 2),
32950
+ moduleParams = _useState0[0],
32951
+ setModuleParams = _useState0[1];
32952
+ var _useState1 = useState('main'),
32953
+ _useState10 = _slicedToArray(_useState1, 2),
32954
+ activeKey = _useState10[0],
32955
+ setActiveKey = _useState10[1]; //默认详情页配置
32956
+ var _useState11 = useState({}),
33186
32957
  _useState12 = _slicedToArray(_useState11, 2),
33187
- activeKey = _useState12[0],
33188
- setActiveKey = _useState12[1]; //默认详情页配置
33189
- var _useState13 = useState({}),
32958
+ tablesConfigParams = _useState12[0],
32959
+ setTablesConfigParams = _useState12[1];
32960
+ var _useState13 = useState([]),
33190
32961
  _useState14 = _slicedToArray(_useState13, 2),
33191
- tablesConfigParams = _useState14[0],
33192
- setTablesConfigParams = _useState14[1];
33193
- var _useState15 = useState([]),
33194
- _useState16 = _slicedToArray(_useState15, 2),
33195
- tableJsonEditorValsArr = _useState16[0],
33196
- setTableJsonEditorValsArr = _useState16[1];
32962
+ tableJsonEditorValsArr = _useState14[0],
32963
+ setTableJsonEditorValsArr = _useState14[1];
33197
32964
  useEffect(function () {
33198
32965
  Promise.all([requestUtil.get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(pageType))]).then(function (_ref2) {
33199
32966
  var _ref3 = _slicedToArray(_ref2, 1),
@@ -33224,7 +32991,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
33224
32991
  });
33225
32992
  Promise.all(axiosArr).then(function (_ref5) {
33226
32993
  var _ref6 = _toArray(_ref5),
33227
- resArr = _ref6.slice(0);
32994
+ resArr = _arrayLikeToArray(_ref6).slice(0);
33228
32995
  var configParams = {};
33229
32996
  detailTablesSetting.map(function (item, index) {
33230
32997
  var _resArr$index;
@@ -33569,11 +33336,11 @@ function getMetaData(_x) {
33569
33336
 
33570
33337
  // 获取数据
33571
33338
  function _getMetaData() {
33572
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
33573
- return _regeneratorRuntime().wrap(function _callee$(_context) {
33574
- while (1) switch (_context.prev = _context.next) {
33339
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(id) {
33340
+ return _regenerator().w(function (_context) {
33341
+ while (1) switch (_context.n) {
33575
33342
  case 0:
33576
- return _context.abrupt("return", new Promise(function (resolve, reject) {
33343
+ return _context.a(2, new Promise(function (resolve, reject) {
33577
33344
  request$3('/basic/entityProperty/listNoPage', {
33578
33345
  params: {
33579
33346
  'qp-entityId-eq': id
@@ -33585,9 +33352,6 @@ function _getMetaData() {
33585
33352
  reject([]);
33586
33353
  });
33587
33354
  }));
33588
- case 1:
33589
- case "end":
33590
- return _context.stop();
33591
33355
  }
33592
33356
  }, _callee);
33593
33357
  }));
@@ -33791,11 +33555,11 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
33791
33555
  tableState = _useState4[0],
33792
33556
  setTableState = _useState4[1];
33793
33557
  var handleOpen = /*#__PURE__*/function () {
33794
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
33558
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
33795
33559
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
33796
33560
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
33797
- return _regeneratorRuntime().wrap(function _callee$(_context) {
33798
- while (1) switch (_context.prev = _context.next) {
33561
+ return _regenerator().w(function (_context) {
33562
+ while (1) switch (_context.n) {
33799
33563
  case 0:
33800
33564
  requestConfigNew = assembleRequest(props.customSelectorConfig, {
33801
33565
  isSearchForm: props.isSearchForm,
@@ -33803,16 +33567,16 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
33803
33567
  searchFormData: searchFormData
33804
33568
  });
33805
33569
  if (requestConfigNew) {
33806
- _context.next = 3;
33570
+ _context.n = 1;
33807
33571
  break;
33808
33572
  }
33809
- return _context.abrupt("return");
33810
- case 3:
33573
+ return _context.a(2);
33574
+ case 1:
33811
33575
  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;
33812
- _context.next = 6;
33576
+ _context.n = 2;
33813
33577
  return getMetaData(metaDataId);
33814
- case 6:
33815
- metaData = _context.sent;
33578
+ case 2:
33579
+ metaData = _context.v;
33816
33580
  realMetaData = (metaData === null || metaData === void 0 ? void 0 : metaData.filter(function (item) {
33817
33581
  return (item === null || item === void 0 ? void 0 : item.inputType) != 1;
33818
33582
  })) || [];
@@ -33852,9 +33616,8 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
33852
33616
  // @ts-ignore
33853
33617
  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);
33854
33618
  }
33855
- case 14:
33856
- case "end":
33857
- return _context.stop();
33619
+ case 3:
33620
+ return _context.a(2);
33858
33621
  }
33859
33622
  }, _callee);
33860
33623
  }));
@@ -33957,7 +33720,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
33957
33720
  }, [requestConfig, tableState.columns]);
33958
33721
  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';
33959
33722
  var handleOk = function handleOk(rowData) {
33960
- var _props$selectProps2, _props$customSelector6, _props$customSelector7, _queryTableRef$curren13, _queryTableRef$curren14, _queryTableRef$curren15;
33723
+ var _props$selectProps2, _props$customSelector6, _props$customSelector7, _queryTableRef$curren11, _queryTableRef$curren12, _queryTableRef$curren13;
33961
33724
  var setSource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
33962
33725
  //多选数据处理
33963
33726
  if (props === null || props === void 0 ? void 0 : (_props$selectProps2 = props.selectProps) === null || _props$selectProps2 === void 0 ? void 0 : _props$selectProps2.multipleForQuery) {
@@ -33968,9 +33731,9 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
33968
33731
  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()) || [];
33969
33732
  var realSelectedRows = selectedRows;
33970
33733
  if (!rowData && (selectedKesys === null || selectedKesys === void 0 ? void 0 : selectedKesys.length) !== (selectedRows === null || selectedRows === void 0 ? void 0 : selectedRows.length)) {
33971
- var _queryTableRef$curren10, _queryTableRef$curren11, _queryTableRef$curren12;
33734
+ var _queryTableRef$curren0, _queryTableRef$curren1, _queryTableRef$curren10;
33972
33735
  // @ts-ignore
33973
- 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()) || [];
33736
+ 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()) || [];
33974
33737
  realSelectedRows = dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (s) {
33975
33738
  return selectedKesys.includes(s[rowKey]);
33976
33739
  });
@@ -34003,10 +33766,10 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
34003
33766
  });
34004
33767
  }
34005
33768
  mappings.map(function (item) {
34006
- var _props$customSelector10, _props$customSelector11, _props$customSelector12, _props$customSelector13;
34007
- 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]) {
34008
- var _props$customSelector14, _props$customSelector15;
34009
- 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];
33769
+ var _props$customSelector0, _props$customSelector1, _props$customSelector10, _props$customSelector11;
33770
+ 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]) {
33771
+ var _props$customSelector12, _props$customSelector13;
33772
+ 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];
34010
33773
  }
34011
33774
  values[item.codeMappingTo] = rowData[item.codeMappingFrom];
34012
33775
  });
@@ -34061,10 +33824,10 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
34061
33824
  }
34062
33825
  props.onCancel();
34063
33826
  //@ts-ignore
34064
- 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();
33827
+ 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();
34065
33828
  };
34066
33829
  var config = useMemo(function () {
34067
- var _props$selectProps3, _props$ctx9, _props$value2, _props$ctx10, _props$ctx10$form;
33830
+ var _props$selectProps3, _props$ctx9, _props$value2, _props$ctx0, _props$ctx0$form;
34068
33831
  var returnConfig = {
34069
33832
  size: 'small',
34070
33833
  needPageHeader: false,
@@ -34073,7 +33836,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
34073
33836
  rowSelection: (props === null || props === void 0 ? void 0 : (_props$selectProps3 = props.selectProps) === null || _props$selectProps3 === void 0 ? void 0 : _props$selectProps3.multipleForQuery) && !isView ? {
34074
33837
  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) {
34075
33838
  return v.key || v;
34076
- })) || (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))
33839
+ })) || (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))
34077
33840
  } : false,
34078
33841
  remoteDataSource: remoteDataSource,
34079
33842
  fields: tableState.fields,
@@ -34081,8 +33844,8 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
34081
33844
  rowKey: rowKey,
34082
33845
  tableProps: !isView && {
34083
33846
  rowClassName: function rowClassName(record) {
34084
- var _props$ctx11, _props$value3, _props$ctx12, _props$ctx12$form;
34085
- 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' : '';
33847
+ var _props$ctx1, _props$value3, _props$ctx10, _props$ctx10$form;
33848
+ 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' : '';
34086
33849
  },
34087
33850
  onRow: function onRow(record) {
34088
33851
  return {
@@ -34127,10 +33890,10 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
34127
33890
  }, "\u63D0\u4EA4"), /*#__PURE__*/React$1.createElement(Button, {
34128
33891
  type: "default",
34129
33892
  onClick: function onClick() {
34130
- var _queryTableRef$curren16, _queryTableRef$curren17, _queryTableRef$curren18;
33893
+ var _queryTableRef$curren14, _queryTableRef$curren15, _queryTableRef$curren16;
34131
33894
  props.onCancel();
34132
33895
  //@ts-ignore
34133
- 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();
33896
+ 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();
34134
33897
  }
34135
33898
  }, "\u53D6\u6D88"))));
34136
33899
  });
@@ -34354,19 +34117,19 @@ var BsCascader = function BsCascader(_ref) {
34354
34117
  _useState2 = _slicedToArray(_useState, 2),
34355
34118
  handSource = _useState2[0],
34356
34119
  setHandSource = _useState2[1];
34357
- useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
34120
+ useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
34358
34121
  var resData, data;
34359
- return _regeneratorRuntime().wrap(function _callee$(_context) {
34360
- while (1) switch (_context.prev = _context.next) {
34122
+ return _regenerator().w(function (_context) {
34123
+ while (1) switch (_context.n) {
34361
34124
  case 0:
34362
34125
  if (!(!source && initRequestSource)) {
34363
- _context.next = 6;
34126
+ _context.n = 2;
34364
34127
  break;
34365
34128
  }
34366
- _context.next = 3;
34129
+ _context.n = 1;
34367
34130
  return initRequestSource();
34368
- case 3:
34369
- resData = _context.sent;
34131
+ case 1:
34132
+ resData = _context.v;
34370
34133
  data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
34371
34134
  return _objectSpread2(_objectSpread2({}, item), {}, {
34372
34135
  label: item.text,
@@ -34374,9 +34137,8 @@ var BsCascader = function BsCascader(_ref) {
34374
34137
  });
34375
34138
  })) || [];
34376
34139
  setHandSource(data);
34377
- case 6:
34378
- case "end":
34379
- return _context.stop();
34140
+ case 2:
34141
+ return _context.a(2);
34380
34142
  }
34381
34143
  }, _callee);
34382
34144
  })), []);
@@ -34506,20 +34268,17 @@ function getRegularThresholdRange(_x) {
34506
34268
  return _getRegularThresholdRange.apply(this, arguments);
34507
34269
  }
34508
34270
  function _getRegularThresholdRange() {
34509
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
34510
- return _regeneratorRuntime().wrap(function _callee$(_context) {
34511
- while (1) switch (_context.prev = _context.next) {
34271
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
34272
+ return _regenerator().w(function (_context) {
34273
+ while (1) switch (_context.n) {
34512
34274
  case 0:
34513
- return _context.abrupt("return", requestUtil({
34275
+ return _context.a(2, requestUtil({
34514
34276
  url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
34515
34277
  method: 'POST',
34516
34278
  data: _objectSpread2(_objectSpread2({}, params), {}, {
34517
34279
  queryIdentify: undefined
34518
34280
  })
34519
34281
  }));
34520
- case 1:
34521
- case "end":
34522
- return _context.stop();
34523
34282
  }
34524
34283
  }, _callee);
34525
34284
  }));
@@ -34660,24 +34419,24 @@ var RuleField = /*#__PURE__*/function (_Component) {
34660
34419
  };
34661
34420
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
34662
34421
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
34663
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
34422
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
34664
34423
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
34665
- return _regeneratorRuntime().wrap(function _callee$(_context) {
34666
- while (1) switch (_context.prev = _context.next) {
34424
+ return _regenerator().w(function (_context) {
34425
+ while (1) switch (_context.n) {
34667
34426
  case 0:
34668
34427
  if (queryIdentify) {
34669
- _context.next = 2;
34428
+ _context.n = 1;
34670
34429
  break;
34671
34430
  }
34672
- return _context.abrupt("return");
34673
- case 2:
34431
+ return _context.a(2);
34432
+ case 1:
34674
34433
  thresholdQuery = _this.state.thresholdQuery;
34675
34434
  extraRequestUrl = '';
34676
34435
  querParams = setParams(propertyCode, thresholdQuery);
34677
34436
  if (!queryIdentityInfo.find(function (item) {
34678
34437
  return item.identity == propertyCode;
34679
34438
  })) {
34680
- _context.next = 10;
34439
+ _context.n = 3;
34681
34440
  break;
34682
34441
  }
34683
34442
  //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
@@ -34691,15 +34450,15 @@ var RuleField = /*#__PURE__*/function (_Component) {
34691
34450
  if (!needQueryList.some(function (item) {
34692
34451
  return !querParams[item] || !querParams[item].length;
34693
34452
  })) {
34694
- _context.next = 9;
34453
+ _context.n = 2;
34695
34454
  break;
34696
34455
  }
34697
- return _context.abrupt("return");
34698
- case 9:
34456
+ return _context.a(2);
34457
+ case 2:
34699
34458
  extraRequestUrl = queryIdentityInfo.find(function (item) {
34700
34459
  return item.identity == propertyCode;
34701
34460
  }).requestUrl || '';
34702
- case 10:
34461
+ case 3:
34703
34462
  if (queryIdentifyType === 'dictCodeIdentify') {
34704
34463
  extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
34705
34464
  querParams = {
@@ -34710,7 +34469,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
34710
34469
  // querParams = { dictCode: queryIdentify }
34711
34470
  }
34712
34471
  if (!extraRequestUrl) {
34713
- _context.next = 16;
34472
+ _context.n = 4;
34714
34473
  break;
34715
34474
  }
34716
34475
  if (queryIdentify == 'maintain_area_code') {
@@ -34749,43 +34508,42 @@ var RuleField = /*#__PURE__*/function (_Component) {
34749
34508
  return handleData;
34750
34509
  }
34751
34510
  });
34752
- _context.next = 29;
34511
+ _context.n = 8;
34753
34512
  break;
34754
- case 16:
34513
+ case 4:
34755
34514
  if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
34756
- _context.next = 20;
34515
+ _context.n = 5;
34757
34516
  break;
34758
34517
  }
34759
34518
  _this.setState({
34760
34519
  thresholdList: queryIdentify
34761
34520
  });
34762
- _context.next = 29;
34521
+ _context.n = 8;
34763
34522
  break;
34764
- case 20:
34523
+ case 5:
34765
34524
  if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
34766
- _context.next = 24;
34525
+ _context.n = 6;
34767
34526
  break;
34768
34527
  }
34769
34528
  // TODO待处理
34770
34529
  _this.setState({
34771
34530
  thresholdList: []
34772
34531
  });
34773
- _context.next = 29;
34532
+ _context.n = 8;
34774
34533
  break;
34775
- case 24:
34534
+ case 6:
34776
34535
  querParams.queryIdentify = queryIdentify;
34777
- _context.next = 27;
34536
+ _context.n = 7;
34778
34537
  return getRegularThresholdRange(querParams);
34779
- case 27:
34780
- res = _context.sent;
34538
+ case 7:
34539
+ res = _context.v;
34781
34540
  if (handleError(res)) {
34782
34541
  _this.setState({
34783
34542
  thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
34784
34543
  });
34785
34544
  }
34786
- case 29:
34787
- case "end":
34788
- return _context.stop();
34545
+ case 8:
34546
+ return _context.a(2);
34789
34547
  }
34790
34548
  }, _callee);
34791
34549
  }));
@@ -35617,11 +35375,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
35617
35375
  isAll: true,
35618
35376
  needNameAndCode: true,
35619
35377
  notChangeOnSelect: true,
35620
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
35621
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
35622
- while (1) switch (_context2.prev = _context2.next) {
35378
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
35379
+ return _regenerator().w(function (_context2) {
35380
+ while (1) switch (_context2.n) {
35623
35381
  case 0:
35624
- _context2.next = 2;
35382
+ _context2.n = 1;
35625
35383
  return request$2({
35626
35384
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
35627
35385
  method: 'get',
@@ -35638,11 +35396,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35638
35396
  return handleData;
35639
35397
  }
35640
35398
  });
35641
- case 2:
35642
- return _context2.abrupt("return", _context2.sent);
35643
- case 3:
35644
- case "end":
35645
- return _context2.stop();
35399
+ case 1:
35400
+ return _context2.a(2, _context2.v);
35646
35401
  }
35647
35402
  }, _callee2);
35648
35403
  })),
@@ -35666,11 +35421,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
35666
35421
  isAll: true,
35667
35422
  needNameAndCode: true,
35668
35423
  notChangeOnSelect: true,
35669
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
35670
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
35671
- while (1) switch (_context3.prev = _context3.next) {
35424
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
35425
+ return _regenerator().w(function (_context3) {
35426
+ while (1) switch (_context3.n) {
35672
35427
  case 0:
35673
- _context3.next = 2;
35428
+ _context3.n = 1;
35674
35429
  return request$2({
35675
35430
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
35676
35431
  method: 'get',
@@ -35687,11 +35442,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35687
35442
  return handleData;
35688
35443
  }
35689
35444
  });
35690
- case 2:
35691
- return _context3.abrupt("return", _context3.sent);
35692
- case 3:
35693
- case "end":
35694
- return _context3.stop();
35445
+ case 1:
35446
+ return _context3.a(2, _context3.v);
35695
35447
  }
35696
35448
  }, _callee3);
35697
35449
  })),
@@ -35717,11 +35469,11 @@ var RuleField = /*#__PURE__*/function (_Component) {
35717
35469
  isAll: true,
35718
35470
  needNameAndCode: true,
35719
35471
  notChangeOnSelect: true,
35720
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
35721
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
35722
- while (1) switch (_context4.prev = _context4.next) {
35472
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
35473
+ return _regenerator().w(function (_context4) {
35474
+ while (1) switch (_context4.n) {
35723
35475
  case 0:
35724
- _context4.next = 2;
35476
+ _context4.n = 1;
35725
35477
  return request$2({
35726
35478
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
35727
35479
  method: 'get',
@@ -35738,11 +35490,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
35738
35490
  return handleData;
35739
35491
  }
35740
35492
  });
35741
- case 2:
35742
- return _context4.abrupt("return", _context4.sent);
35743
- case 3:
35744
- case "end":
35745
- return _context4.stop();
35493
+ case 1:
35494
+ return _context4.a(2, _context4.v);
35746
35495
  }
35747
35496
  }, _callee4);
35748
35497
  })),
@@ -36429,8 +36178,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
36429
36178
  }
36430
36179
  }));
36431
36180
  } else {
36432
- var _values10;
36433
- var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
36181
+ var _values0;
36182
+ var _currentValue9 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values0 = values) === null || _values0 === void 0 ? void 0 : _values0.map(function (s, vIndex) {
36434
36183
  return {
36435
36184
  key: s,
36436
36185
  label: valueNames[vIndex],
@@ -36718,8 +36467,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
36718
36467
  }
36719
36468
  }));
36720
36469
  } else {
36721
- var _values11;
36722
- var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
36470
+ var _values1;
36471
+ var _currentValue0 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values1 = values) === null || _values1 === void 0 ? void 0 : _values1.map(function (s, vIndex) {
36723
36472
  return {
36724
36473
  key: s,
36725
36474
  label: valueNames[vIndex],
@@ -36741,7 +36490,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36741
36490
  } : {}),
36742
36491
  disabled: disabled,
36743
36492
  labelInValue: true,
36744
- value: _currentValue10,
36493
+ value: _currentValue0,
36745
36494
  requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36746
36495
  otherParams: {
36747
36496
  // 配送方式只选择标准配送方式
@@ -36839,8 +36588,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
36839
36588
  }
36840
36589
  }));
36841
36590
  } else {
36842
- var _values12;
36843
- var _currentValue11 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
36591
+ var _values10;
36592
+ var _currentValue1 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values10 = values) === null || _values10 === void 0 ? void 0 : _values10.map(function (s, vIndex) {
36844
36593
  return {
36845
36594
  key: s,
36846
36595
  label: valueNames[vIndex],
@@ -36862,7 +36611,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36862
36611
  } : {}),
36863
36612
  disabled: disabled,
36864
36613
  labelInValue: true,
36865
- value: _currentValue11,
36614
+ value: _currentValue1,
36866
36615
  requestConfig: {
36867
36616
  filterInit: 'qp-code-in'
36868
36617
  },
@@ -36955,8 +36704,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
36955
36704
  }
36956
36705
  }));
36957
36706
  } else {
36958
- var _values13;
36959
- var _currentValue12 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values13 = values) === null || _values13 === void 0 ? void 0 : _values13.map(function (s, vIndex) {
36707
+ var _values11;
36708
+ var _currentValue10 = dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1 ? ((_values11 = values) === null || _values11 === void 0 ? void 0 : _values11.map(function (s, vIndex) {
36960
36709
  return {
36961
36710
  key: s,
36962
36711
  label: valueNames[vIndex],
@@ -36978,7 +36727,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
36978
36727
  } : {}),
36979
36728
  disabled: disabled,
36980
36729
  labelInValue: true,
36981
- value: _currentValue12,
36730
+ value: _currentValue10,
36982
36731
  requestConfig: {
36983
36732
  filterInit: 'qp-brandCode-in'
36984
36733
  },
@@ -37169,8 +36918,8 @@ var RuleField = /*#__PURE__*/function (_Component) {
37169
36918
  }
37170
36919
  }));
37171
36920
  } else {
37172
- var _values14;
37173
- var _currentValue13 = dataInputBusinessType === 12 ? ((_values14 = values) === null || _values14 === void 0 ? void 0 : _values14.map(function (s, vIndex) {
36921
+ var _values12;
36922
+ var _currentValue11 = dataInputBusinessType === 12 ? ((_values12 = values) === null || _values12 === void 0 ? void 0 : _values12.map(function (s, vIndex) {
37174
36923
  return {
37175
36924
  key: s,
37176
36925
  label: valueNames[vIndex]
@@ -37198,7 +36947,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
37198
36947
  isSearchForm: true,
37199
36948
  customSelectorConfig: (others === null || others === void 0 ? void 0 : others.customSelectorConfig) || {},
37200
36949
  disabled: disabled,
37201
- value: _currentValue13,
36950
+ value: _currentValue11,
37202
36951
  onChange: function onChange(value, sourceList) {
37203
36952
  if (dataInputBusinessType === 12) {
37204
36953
  var _value$map3, _sourceList$filter3;
@@ -37518,9 +37267,9 @@ var App$1 = function App(_ref) {
37518
37267
  UpdateState(res);
37519
37268
  };
37520
37269
  var _useState9 = useState(false),
37521
- _useState10 = _slicedToArray(_useState9, 2),
37522
- isModalVisible = _useState10[0],
37523
- setIsModalVisible = _useState10[1];
37270
+ _useState0 = _slicedToArray(_useState9, 2),
37271
+ isModalVisible = _useState0[0],
37272
+ setIsModalVisible = _useState0[1];
37524
37273
  var showModal = function showModal() {
37525
37274
  setIsModalVisible(true);
37526
37275
  };
@@ -38001,27 +37750,26 @@ function RenderCompItem(props) {
38001
37750
  dictData = _useState2[0],
38002
37751
  setDictData = _useState2[1];
38003
37752
  var getDictData = /*#__PURE__*/function () {
38004
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
37753
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
38005
37754
  var _data$map;
38006
37755
  var data;
38007
- return _regeneratorRuntime().wrap(function _callee$(_context) {
38008
- while (1) switch (_context.prev = _context.next) {
37756
+ return _regenerator().w(function (_context) {
37757
+ while (1) switch (_context.n) {
38009
37758
  case 0:
38010
- _context.next = 2;
37759
+ _context.n = 1;
38011
37760
  return request$2({
38012
37761
  url: "/basic/bscDictItem/allItemList?qp-code-eq=".concat(ites.dictionaryCode)
38013
37762
  });
38014
- case 2:
38015
- data = _context.sent;
37763
+ case 1:
37764
+ data = _context.v;
38016
37765
  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) {
38017
37766
  return {
38018
37767
  text: item.dictItemName,
38019
37768
  value: item.dictItemCode
38020
37769
  };
38021
37770
  }));
38022
- case 4:
38023
- case "end":
38024
- return _context.stop();
37771
+ case 2:
37772
+ return _context.a(2);
38025
37773
  }
38026
37774
  }, _callee);
38027
37775
  }));
@@ -38262,11 +38010,11 @@ function RenderCompItem(props) {
38262
38010
  needNameAndCode: true,
38263
38011
  notChangeOnSelect: true,
38264
38012
  initRequestSource: function () {
38265
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
38266
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
38267
- while (1) switch (_context2.prev = _context2.next) {
38013
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
38014
+ return _regenerator().w(function (_context2) {
38015
+ while (1) switch (_context2.n) {
38268
38016
  case 0:
38269
- _context2.next = 2;
38017
+ _context2.n = 1;
38270
38018
  return request$2({
38271
38019
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
38272
38020
  method: 'get',
@@ -38284,11 +38032,8 @@ function RenderCompItem(props) {
38284
38032
  return handleData;
38285
38033
  }
38286
38034
  });
38287
- case 2:
38288
- return _context2.abrupt("return", _context2.sent);
38289
- case 3:
38290
- case "end":
38291
- return _context2.stop();
38035
+ case 1:
38036
+ return _context2.a(2, _context2.v);
38292
38037
  }
38293
38038
  }, _callee2);
38294
38039
  }));
@@ -40344,13 +40089,13 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
40344
40089
  ruleTypeData = _useState8[0],
40345
40090
  setRuleTypeData = _useState8[1];
40346
40091
  var _useState9 = useState([]),
40347
- _useState10 = _slicedToArray(_useState9, 2),
40348
- ruleReturnConfig = _useState10[0],
40349
- setRuleReturnConfig = _useState10[1];
40350
- var _useState11 = useState({}),
40351
- _useState12 = _slicedToArray(_useState11, 2),
40352
- templateData = _useState12[0],
40353
- setTemplateData = _useState12[1];
40092
+ _useState0 = _slicedToArray(_useState9, 2),
40093
+ ruleReturnConfig = _useState0[0],
40094
+ setRuleReturnConfig = _useState0[1];
40095
+ var _useState1 = useState({}),
40096
+ _useState10 = _slicedToArray(_useState1, 2),
40097
+ templateData = _useState10[0],
40098
+ setTemplateData = _useState10[1];
40354
40099
  var loadRuleReturnConfig = function loadRuleReturnConfig(currentSceneId) {
40355
40100
  request$2({
40356
40101
  url: "/basic/ruleTemplate/".concat(currentSceneId),
@@ -40686,25 +40431,25 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
40686
40431
  regularDataList = _useState8[0],
40687
40432
  setRegularDataList = _useState8[1];
40688
40433
  var _useState9 = useState([]),
40689
- _useState10 = _slicedToArray(_useState9, 2),
40690
- baseRuleDetailList = _useState10[0],
40691
- setBaseRuleDetailList = _useState10[1]; // 规则实例详情集合
40692
- var _useState11 = useState([]),
40434
+ _useState0 = _slicedToArray(_useState9, 2),
40435
+ baseRuleDetailList = _useState0[0],
40436
+ setBaseRuleDetailList = _useState0[1]; // 规则实例详情集合
40437
+ var _useState1 = useState([]),
40438
+ _useState10 = _slicedToArray(_useState1, 2),
40439
+ systemVariableList = _useState10[0],
40440
+ setSystemVariableList = _useState10[1];
40441
+ var _useState11 = useState(false),
40693
40442
  _useState12 = _slicedToArray(_useState11, 2),
40694
- systemVariableList = _useState12[0],
40695
- setSystemVariableList = _useState12[1];
40443
+ isGetDefRuleDataRes = _useState12[0],
40444
+ setIsGetDefRuleDataRes = _useState12[1]; // 为了在回显的时候辨别异步查询是否已完成,防止提前认为为新增设置了模板数据,导致再渲染编辑时候 输入框defaultValue不再渲染问题
40696
40445
  var _useState13 = useState(false),
40697
40446
  _useState14 = _slicedToArray(_useState13, 2),
40698
- isGetDefRuleDataRes = _useState14[0],
40699
- setIsGetDefRuleDataRes = _useState14[1]; // 为了在回显的时候辨别异步查询是否已完成,防止提前认为为新增设置了模板数据,导致再渲染编辑时候 输入框defaultValue不再渲染问题
40447
+ isGetRuleDataRes = _useState14[0],
40448
+ setIsGetRuleDataRes = _useState14[1];
40700
40449
  var _useState15 = useState(false),
40701
40450
  _useState16 = _slicedToArray(_useState15, 2),
40702
- isGetRuleDataRes = _useState16[0],
40703
- setIsGetRuleDataRes = _useState16[1];
40704
- var _useState17 = useState(false),
40705
- _useState18 = _slicedToArray(_useState17, 2),
40706
- groupOtherPriorityList = _useState18[0],
40707
- setGroupOtherPriorityList = _useState18[1];
40451
+ groupOtherPriorityList = _useState16[0],
40452
+ setGroupOtherPriorityList = _useState16[1];
40708
40453
  var baseRuleRef = useRef();
40709
40454
  var currentSceneName = (datail === null || datail === void 0 ? void 0 : datail.name) || '';
40710
40455
  // 查询规则组下所有规则实例