@kmkf-fe-packages/basic-components 1.17.8-beta.32 → 1.17.8-beta.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -22,363 +22,377 @@ var zhCN__default = /*#__PURE__*/_interopDefaultLegacy(zhCN);
22
22
  var pubsub__default = /*#__PURE__*/_interopDefaultLegacy(pubsub);
23
23
  var BigNumber__default = /*#__PURE__*/_interopDefaultLegacy(BigNumber);
24
24
 
25
- function _iterableToArrayLimit(arr, i) {
26
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
27
- if (null != _i) {
28
- var _s,
29
- _e,
30
- _x,
31
- _r,
32
- _arr = [],
33
- _n = !0,
34
- _d = !1;
25
+ function _iterableToArrayLimit(r, l) {
26
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
27
+ if (null != t) {
28
+ var e,
29
+ n,
30
+ i,
31
+ u,
32
+ a = [],
33
+ f = !0,
34
+ o = !1;
35
35
  try {
36
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
37
- if (Object(_i) !== _i) return;
38
- _n = !1;
39
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
40
- } catch (err) {
41
- _d = !0, _e = err;
36
+ if (i = (t = t.call(r)).next, 0 === l) {
37
+ if (Object(t) !== t) return;
38
+ f = !1;
39
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
40
+ } catch (r) {
41
+ o = !0, n = r;
42
42
  } finally {
43
43
  try {
44
- if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
44
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
45
45
  } finally {
46
- if (_d) throw _e;
46
+ if (o) throw n;
47
47
  }
48
48
  }
49
- return _arr;
49
+ return a;
50
50
  }
51
51
  }
52
- function ownKeys(object, enumerableOnly) {
53
- var keys = Object.keys(object);
52
+ function ownKeys(e, r) {
53
+ var t = Object.keys(e);
54
54
  if (Object.getOwnPropertySymbols) {
55
- var symbols = Object.getOwnPropertySymbols(object);
56
- enumerableOnly && (symbols = symbols.filter(function (sym) {
57
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
58
- })), keys.push.apply(keys, symbols);
55
+ var o = Object.getOwnPropertySymbols(e);
56
+ r && (o = o.filter(function (r) {
57
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
58
+ })), t.push.apply(t, o);
59
59
  }
60
- return keys;
61
- }
62
- function _objectSpread2(target) {
63
- for (var i = 1; i < arguments.length; i++) {
64
- var source = null != arguments[i] ? arguments[i] : {};
65
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
66
- _defineProperty(target, key, source[key]);
67
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
68
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
60
+ return t;
61
+ }
62
+ function _objectSpread2(e) {
63
+ for (var r = 1; r < arguments.length; r++) {
64
+ var t = null != arguments[r] ? arguments[r] : {};
65
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
66
+ _defineProperty(e, r, t[r]);
67
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
68
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
69
69
  });
70
70
  }
71
- return target;
71
+ return e;
72
72
  }
73
73
  function _regeneratorRuntime() {
74
74
  _regeneratorRuntime = function () {
75
- return exports;
76
- };
77
- var exports = {},
78
- Op = Object.prototype,
79
- hasOwn = Op.hasOwnProperty,
80
- defineProperty = Object.defineProperty || function (obj, key, desc) {
81
- obj[key] = desc.value;
75
+ return e;
76
+ };
77
+ var t,
78
+ e = {},
79
+ r = Object.prototype,
80
+ n = r.hasOwnProperty,
81
+ o = Object.defineProperty || function (t, e, r) {
82
+ t[e] = r.value;
82
83
  },
83
- $Symbol = "function" == typeof Symbol ? Symbol : {},
84
- iteratorSymbol = $Symbol.iterator || "@@iterator",
85
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
86
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
87
- function define(obj, key, value) {
88
- return Object.defineProperty(obj, key, {
89
- value: value,
84
+ i = "function" == typeof Symbol ? Symbol : {},
85
+ a = i.iterator || "@@iterator",
86
+ c = i.asyncIterator || "@@asyncIterator",
87
+ u = i.toStringTag || "@@toStringTag";
88
+ function define(t, e, r) {
89
+ return Object.defineProperty(t, e, {
90
+ value: r,
90
91
  enumerable: !0,
91
92
  configurable: !0,
92
93
  writable: !0
93
- }), obj[key];
94
+ }), t[e];
94
95
  }
95
96
  try {
96
97
  define({}, "");
97
- } catch (err) {
98
- define = function (obj, key, value) {
99
- return obj[key] = value;
98
+ } catch (t) {
99
+ define = function (t, e, r) {
100
+ return t[e] = r;
100
101
  };
101
102
  }
102
- function wrap(innerFn, outerFn, self, tryLocsList) {
103
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
104
- generator = Object.create(protoGenerator.prototype),
105
- context = new Context(tryLocsList || []);
106
- return defineProperty(generator, "_invoke", {
107
- value: makeInvokeMethod(innerFn, self, context)
108
- }), generator;
103
+ function wrap(t, e, r, n) {
104
+ var i = e && e.prototype instanceof Generator ? e : Generator,
105
+ a = Object.create(i.prototype),
106
+ c = new Context(n || []);
107
+ return o(a, "_invoke", {
108
+ value: makeInvokeMethod(t, r, c)
109
+ }), a;
109
110
  }
110
- function tryCatch(fn, obj, arg) {
111
+ function tryCatch(t, e, r) {
111
112
  try {
112
113
  return {
113
114
  type: "normal",
114
- arg: fn.call(obj, arg)
115
+ arg: t.call(e, r)
115
116
  };
116
- } catch (err) {
117
+ } catch (t) {
117
118
  return {
118
119
  type: "throw",
119
- arg: err
120
+ arg: t
120
121
  };
121
122
  }
122
123
  }
123
- exports.wrap = wrap;
124
- var ContinueSentinel = {};
124
+ e.wrap = wrap;
125
+ var h = "suspendedStart",
126
+ l = "suspendedYield",
127
+ f = "executing",
128
+ s = "completed",
129
+ y = {};
125
130
  function Generator() {}
126
131
  function GeneratorFunction() {}
127
132
  function GeneratorFunctionPrototype() {}
128
- var IteratorPrototype = {};
129
- define(IteratorPrototype, iteratorSymbol, function () {
133
+ var p = {};
134
+ define(p, a, function () {
130
135
  return this;
131
136
  });
132
- var getProto = Object.getPrototypeOf,
133
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
134
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
135
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
136
- function defineIteratorMethods(prototype) {
137
- ["next", "throw", "return"].forEach(function (method) {
138
- define(prototype, method, function (arg) {
139
- return this._invoke(method, arg);
137
+ var d = Object.getPrototypeOf,
138
+ v = d && d(d(values([])));
139
+ v && v !== r && n.call(v, a) && (p = v);
140
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
141
+ function defineIteratorMethods(t) {
142
+ ["next", "throw", "return"].forEach(function (e) {
143
+ define(t, e, function (t) {
144
+ return this._invoke(e, t);
140
145
  });
141
146
  });
142
147
  }
143
- function AsyncIterator(generator, PromiseImpl) {
144
- function invoke(method, arg, resolve, reject) {
145
- var record = tryCatch(generator[method], generator, arg);
146
- if ("throw" !== record.type) {
147
- var result = record.arg,
148
- value = result.value;
149
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
150
- invoke("next", value, resolve, reject);
151
- }, function (err) {
152
- invoke("throw", err, resolve, reject);
153
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
154
- result.value = unwrapped, resolve(result);
155
- }, function (error) {
156
- return invoke("throw", error, resolve, reject);
148
+ function AsyncIterator(t, e) {
149
+ function invoke(r, o, i, a) {
150
+ var c = tryCatch(t[r], t, o);
151
+ if ("throw" !== c.type) {
152
+ var u = c.arg,
153
+ h = u.value;
154
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
155
+ invoke("next", t, i, a);
156
+ }, function (t) {
157
+ invoke("throw", t, i, a);
158
+ }) : e.resolve(h).then(function (t) {
159
+ u.value = t, i(u);
160
+ }, function (t) {
161
+ return invoke("throw", t, i, a);
157
162
  });
158
163
  }
159
- reject(record.arg);
164
+ a(c.arg);
160
165
  }
161
- var previousPromise;
162
- defineProperty(this, "_invoke", {
163
- value: function (method, arg) {
166
+ var r;
167
+ o(this, "_invoke", {
168
+ value: function (t, n) {
164
169
  function callInvokeWithMethodAndArg() {
165
- return new PromiseImpl(function (resolve, reject) {
166
- invoke(method, arg, resolve, reject);
170
+ return new e(function (e, r) {
171
+ invoke(t, n, e, r);
167
172
  });
168
173
  }
169
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
174
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
170
175
  }
171
176
  });
172
177
  }
173
- function makeInvokeMethod(innerFn, self, context) {
174
- var state = "suspendedStart";
175
- return function (method, arg) {
176
- if ("executing" === state) throw new Error("Generator is already running");
177
- if ("completed" === state) {
178
- if ("throw" === method) throw arg;
179
- return doneResult();
178
+ function makeInvokeMethod(e, r, n) {
179
+ var o = h;
180
+ return function (i, a) {
181
+ if (o === f) throw new Error("Generator is already running");
182
+ if (o === s) {
183
+ if ("throw" === i) throw a;
184
+ return {
185
+ value: t,
186
+ done: !0
187
+ };
180
188
  }
181
- for (context.method = method, context.arg = arg;;) {
182
- var delegate = context.delegate;
183
- if (delegate) {
184
- var delegateResult = maybeInvokeDelegate(delegate, context);
185
- if (delegateResult) {
186
- if (delegateResult === ContinueSentinel) continue;
187
- return delegateResult;
189
+ for (n.method = i, n.arg = a;;) {
190
+ var c = n.delegate;
191
+ if (c) {
192
+ var u = maybeInvokeDelegate(c, n);
193
+ if (u) {
194
+ if (u === y) continue;
195
+ return u;
188
196
  }
189
197
  }
190
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
191
- if ("suspendedStart" === state) throw state = "completed", context.arg;
192
- context.dispatchException(context.arg);
193
- } else "return" === context.method && context.abrupt("return", context.arg);
194
- state = "executing";
195
- var record = tryCatch(innerFn, self, context);
196
- if ("normal" === record.type) {
197
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
198
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
199
+ if (o === h) throw o = s, n.arg;
200
+ n.dispatchException(n.arg);
201
+ } else "return" === n.method && n.abrupt("return", n.arg);
202
+ o = f;
203
+ var p = tryCatch(e, r, n);
204
+ if ("normal" === p.type) {
205
+ if (o = n.done ? s : l, p.arg === y) continue;
198
206
  return {
199
- value: record.arg,
200
- done: context.done
207
+ value: p.arg,
208
+ done: n.done
201
209
  };
202
210
  }
203
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
211
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
204
212
  }
205
213
  };
206
214
  }
207
- function maybeInvokeDelegate(delegate, context) {
208
- var methodName = context.method,
209
- method = delegate.iterator[methodName];
210
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
211
- var record = tryCatch(method, delegate.iterator, context.arg);
212
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
213
- var info = record.arg;
214
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
215
+ function maybeInvokeDelegate(e, r) {
216
+ var n = r.method,
217
+ o = e.iterator[n];
218
+ 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;
219
+ var i = tryCatch(o, e.iterator, r.arg);
220
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
221
+ var a = i.arg;
222
+ 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);
215
223
  }
216
- function pushTryEntry(locs) {
217
- var entry = {
218
- tryLoc: locs[0]
224
+ function pushTryEntry(t) {
225
+ var e = {
226
+ tryLoc: t[0]
219
227
  };
220
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
228
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
221
229
  }
222
- function resetTryEntry(entry) {
223
- var record = entry.completion || {};
224
- record.type = "normal", delete record.arg, entry.completion = record;
230
+ function resetTryEntry(t) {
231
+ var e = t.completion || {};
232
+ e.type = "normal", delete e.arg, t.completion = e;
225
233
  }
226
- function Context(tryLocsList) {
234
+ function Context(t) {
227
235
  this.tryEntries = [{
228
236
  tryLoc: "root"
229
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
237
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
230
238
  }
231
- function values(iterable) {
232
- if (iterable) {
233
- var iteratorMethod = iterable[iteratorSymbol];
234
- if (iteratorMethod) return iteratorMethod.call(iterable);
235
- if ("function" == typeof iterable.next) return iterable;
236
- if (!isNaN(iterable.length)) {
237
- var i = -1,
238
- next = function next() {
239
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
240
- return next.value = undefined, next.done = !0, next;
239
+ function values(e) {
240
+ if (e || "" === e) {
241
+ var r = e[a];
242
+ if (r) return r.call(e);
243
+ if ("function" == typeof e.next) return e;
244
+ if (!isNaN(e.length)) {
245
+ var o = -1,
246
+ i = function next() {
247
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
248
+ return next.value = t, next.done = !0, next;
241
249
  };
242
- return next.next = next;
250
+ return i.next = i;
243
251
  }
244
252
  }
245
- return {
246
- next: doneResult
247
- };
253
+ throw new TypeError(typeof e + " is not iterable");
248
254
  }
249
- function doneResult() {
250
- return {
251
- value: undefined,
252
- done: !0
253
- };
254
- }
255
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
255
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
256
256
  value: GeneratorFunctionPrototype,
257
257
  configurable: !0
258
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
258
+ }), o(GeneratorFunctionPrototype, "constructor", {
259
259
  value: GeneratorFunction,
260
260
  configurable: !0
261
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
262
- var ctor = "function" == typeof genFun && genFun.constructor;
263
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
264
- }, exports.mark = function (genFun) {
265
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
266
- }, exports.awrap = function (arg) {
261
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
262
+ var e = "function" == typeof t && t.constructor;
263
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
264
+ }, e.mark = function (t) {
265
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
266
+ }, e.awrap = function (t) {
267
267
  return {
268
- __await: arg
268
+ __await: t
269
269
  };
270
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
270
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
271
271
  return this;
272
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
273
- void 0 === PromiseImpl && (PromiseImpl = Promise);
274
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
275
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
276
- return result.done ? result.value : iter.next();
272
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
273
+ void 0 === i && (i = Promise);
274
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
275
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
276
+ return t.done ? t.value : a.next();
277
277
  });
278
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
278
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
279
279
  return this;
280
- }), define(Gp, "toString", function () {
280
+ }), define(g, "toString", function () {
281
281
  return "[object Generator]";
282
- }), exports.keys = function (val) {
283
- var object = Object(val),
284
- keys = [];
285
- for (var key in object) keys.push(key);
286
- return keys.reverse(), function next() {
287
- for (; keys.length;) {
288
- var key = keys.pop();
289
- if (key in object) return next.value = key, next.done = !1, next;
282
+ }), e.keys = function (t) {
283
+ var e = Object(t),
284
+ r = [];
285
+ for (var n in e) r.push(n);
286
+ return r.reverse(), function next() {
287
+ for (; r.length;) {
288
+ var t = r.pop();
289
+ if (t in e) return next.value = t, next.done = !1, next;
290
290
  }
291
291
  return next.done = !0, next;
292
292
  };
293
- }, exports.values = values, Context.prototype = {
293
+ }, e.values = values, Context.prototype = {
294
294
  constructor: Context,
295
- reset: function (skipTempReset) {
296
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
295
+ reset: function (e) {
296
+ 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);
297
297
  },
298
298
  stop: function () {
299
299
  this.done = !0;
300
- var rootRecord = this.tryEntries[0].completion;
301
- if ("throw" === rootRecord.type) throw rootRecord.arg;
300
+ var t = this.tryEntries[0].completion;
301
+ if ("throw" === t.type) throw t.arg;
302
302
  return this.rval;
303
303
  },
304
- dispatchException: function (exception) {
305
- if (this.done) throw exception;
306
- var context = this;
307
- function handle(loc, caught) {
308
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
304
+ dispatchException: function (e) {
305
+ if (this.done) throw e;
306
+ var r = this;
307
+ function handle(n, o) {
308
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
309
309
  }
310
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
311
- var entry = this.tryEntries[i],
312
- record = entry.completion;
313
- if ("root" === entry.tryLoc) return handle("end");
314
- if (entry.tryLoc <= this.prev) {
315
- var hasCatch = hasOwn.call(entry, "catchLoc"),
316
- hasFinally = hasOwn.call(entry, "finallyLoc");
317
- if (hasCatch && hasFinally) {
318
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
319
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
320
- } else if (hasCatch) {
321
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
310
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
311
+ var i = this.tryEntries[o],
312
+ a = i.completion;
313
+ if ("root" === i.tryLoc) return handle("end");
314
+ if (i.tryLoc <= this.prev) {
315
+ var c = n.call(i, "catchLoc"),
316
+ u = n.call(i, "finallyLoc");
317
+ if (c && u) {
318
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
319
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
320
+ } else if (c) {
321
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
322
322
  } else {
323
- if (!hasFinally) throw new Error("try statement without catch or finally");
324
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
323
+ if (!u) throw new Error("try statement without catch or finally");
324
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
325
325
  }
326
326
  }
327
327
  }
328
328
  },
329
- abrupt: function (type, arg) {
330
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
331
- var entry = this.tryEntries[i];
332
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
333
- var finallyEntry = entry;
329
+ abrupt: function (t, e) {
330
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
331
+ var o = this.tryEntries[r];
332
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
333
+ var i = o;
334
334
  break;
335
335
  }
336
336
  }
337
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
338
- var record = finallyEntry ? finallyEntry.completion : {};
339
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
337
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
338
+ var a = i ? i.completion : {};
339
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
340
340
  },
341
- complete: function (record, afterLoc) {
342
- if ("throw" === record.type) throw record.arg;
343
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
341
+ complete: function (t, e) {
342
+ if ("throw" === t.type) throw t.arg;
343
+ 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;
344
344
  },
345
- finish: function (finallyLoc) {
346
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
347
- var entry = this.tryEntries[i];
348
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
345
+ finish: function (t) {
346
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
347
+ var r = this.tryEntries[e];
348
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
349
349
  }
350
350
  },
351
- catch: function (tryLoc) {
352
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
353
- var entry = this.tryEntries[i];
354
- if (entry.tryLoc === tryLoc) {
355
- var record = entry.completion;
356
- if ("throw" === record.type) {
357
- var thrown = record.arg;
358
- resetTryEntry(entry);
351
+ catch: function (t) {
352
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
353
+ var r = this.tryEntries[e];
354
+ if (r.tryLoc === t) {
355
+ var n = r.completion;
356
+ if ("throw" === n.type) {
357
+ var o = n.arg;
358
+ resetTryEntry(r);
359
359
  }
360
- return thrown;
360
+ return o;
361
361
  }
362
362
  }
363
363
  throw new Error("illegal catch attempt");
364
364
  },
365
- delegateYield: function (iterable, resultName, nextLoc) {
365
+ delegateYield: function (e, r, n) {
366
366
  return this.delegate = {
367
- iterator: values(iterable),
368
- resultName: resultName,
369
- nextLoc: nextLoc
370
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
371
- }
372
- }, exports;
367
+ iterator: values(e),
368
+ resultName: r,
369
+ nextLoc: n
370
+ }, "next" === this.method && (this.arg = t), y;
371
+ }
372
+ }, e;
373
+ }
374
+ function _toPrimitive(t, r) {
375
+ if ("object" != typeof t || !t) return t;
376
+ var e = t[Symbol.toPrimitive];
377
+ if (void 0 !== e) {
378
+ var i = e.call(t, r || "default");
379
+ if ("object" != typeof i) return i;
380
+ throw new TypeError("@@toPrimitive must return a primitive value.");
381
+ }
382
+ return ("string" === r ? String : Number)(t);
373
383
  }
374
- function _typeof(obj) {
384
+ function _toPropertyKey(t) {
385
+ var i = _toPrimitive(t, "string");
386
+ return "symbol" == typeof i ? i : String(i);
387
+ }
388
+ function _typeof(o) {
375
389
  "@babel/helpers - typeof";
376
390
 
377
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
378
- return typeof obj;
379
- } : function (obj) {
380
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
381
- }, _typeof(obj);
391
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
392
+ return typeof o;
393
+ } : function (o) {
394
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
395
+ }, _typeof(o);
382
396
  }
383
397
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
384
398
  try {
@@ -485,20 +499,6 @@ function _nonIterableSpread() {
485
499
  function _nonIterableRest() {
486
500
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
487
501
  }
488
- function _toPrimitive(input, hint) {
489
- if (typeof input !== "object" || input === null) return input;
490
- var prim = input[Symbol.toPrimitive];
491
- if (prim !== undefined) {
492
- var res = prim.call(input, hint || "default");
493
- if (typeof res !== "object") return res;
494
- throw new TypeError("@@toPrimitive must return a primitive value.");
495
- }
496
- return (hint === "string" ? String : Number)(input);
497
- }
498
- function _toPropertyKey(arg) {
499
- var key = _toPrimitive(arg, "string");
500
- return typeof key === "symbol" ? key : String(key);
501
- }
502
502
 
503
503
  function ApaasCascader(props) {
504
504
  return /*#__PURE__*/React__default['default'].createElement(antd.Cascader, _objectSpread2({
@@ -12165,7 +12165,7 @@ var columns$2 = [{
12165
12165
  ellipsis: true,
12166
12166
  width: 70
12167
12167
  }, {
12168
- dataIndex: 'goodsSname',
12168
+ dataIndex: 'goodsShortName',
12169
12169
  title: "\u5546\u54C1\u7B80\u79F0",
12170
12170
  ellipsis: true,
12171
12171
  width: 70
@@ -12177,8 +12177,8 @@ var columns$2 = [{
12177
12177
  render: function render(picUrl) {
12178
12178
  return /*#__PURE__*/React__default['default'].createElement("img", {
12179
12179
  style: {
12180
- width: '40px',
12181
- height: '40px',
12180
+ width: '60px',
12181
+ height: '60px',
12182
12182
  objectFit: 'contain'
12183
12183
  },
12184
12184
  src: picUrl
@@ -12260,7 +12260,7 @@ var columns$2 = [{
12260
12260
  ellipsis: true,
12261
12261
  width: 70
12262
12262
  }, {
12263
- dataIndex: 'taocanSingleSl',
12263
+ dataIndex: 'taoCanSingleSl',
12264
12264
  title: "\u5355\u4E2A\u5957\u9910\u6570\u91CF",
12265
12265
  ellipsis: true,
12266
12266
  width: 70
@@ -12509,6 +12509,7 @@ var BsE3GoodsModal = /*#__PURE__*/React.forwardRef(GoodsModal$4);
12509
12509
  // styleId: string;
12510
12510
  // }
12511
12511
  var GoodItem$1 = function GoodItem(props) {
12512
+ var _ref;
12512
12513
  var _props$value = props.value,
12513
12514
  value = _props$value === void 0 ? [] : _props$value,
12514
12515
  type = props.type,
@@ -12952,133 +12953,139 @@ var GoodItem$1 = function GoodItem(props) {
12952
12953
  title: "SKU",
12953
12954
  align: 'center',
12954
12955
  ellipsis: true,
12955
- width: 70
12956
+ width: 150
12956
12957
  }, {
12957
12958
  dataIndex: 'skuId',
12958
12959
  title: "SKU ID",
12959
12960
  align: 'center',
12960
12961
  ellipsis: true,
12961
- width: 70
12962
+ width: 150
12962
12963
  }, {
12963
12964
  dataIndex: 'goodsName',
12964
12965
  title: "\u5546\u54C1\u540D\u79F0",
12965
12966
  align: 'center',
12966
12967
  ellipsis: true,
12967
- width: 70
12968
+ width: 150
12968
12969
  }, {
12969
- dataIndex: 'goodsSname',
12970
+ dataIndex: 'goodsShortName',
12970
12971
  title: "\u5546\u54C1\u7B80\u79F0",
12971
12972
  align: 'center',
12972
12973
  ellipsis: true,
12973
- width: 70
12974
+ width: 100
12974
12975
  }, {
12975
12976
  dataIndex: 'picPath',
12976
12977
  title: "\u5546\u54C1\u56FE\u7247",
12977
12978
  align: 'center',
12978
12979
  ellipsis: true,
12979
- width: 70
12980
+ width: 100,
12981
+ render: function render(val) {
12982
+ return /*#__PURE__*/React__default['default'].createElement(antd.Image, {
12983
+ width: 60,
12984
+ src: val
12985
+ });
12986
+ }
12980
12987
  }, {
12981
12988
  dataIndex: 'goodsSn',
12982
12989
  title: "\u8D27\u53F7",
12983
12990
  align: 'center',
12984
12991
  ellipsis: true,
12985
- width: 70
12992
+ width: 150
12986
12993
  }, {
12987
12994
  dataIndex: 'goodsId',
12988
12995
  title: "\u8D27\u53F7ID",
12989
12996
  align: 'center',
12990
12997
  ellipsis: true,
12991
- width: 70
12998
+ width: 150
12992
12999
  }, {
12993
13000
  dataIndex: 'colorName',
12994
13001
  title: "\u989C\u8272\u540D\u79F0",
12995
13002
  align: 'center',
12996
13003
  ellipsis: true,
12997
- width: 70
13004
+ width: 100
12998
13005
  }, {
12999
13006
  dataIndex: 'colorCode',
13000
13007
  title: "\u989C\u8272\u4EE3\u7801",
13001
13008
  align: 'center',
13002
13009
  ellipsis: true,
13003
- width: 70
13010
+ width: 150
13004
13011
  }, {
13005
13012
  dataIndex: 'sizeName',
13006
13013
  title: "\u5C3A\u7801\u540D\u79F0",
13007
13014
  align: 'center',
13008
13015
  ellipsis: true,
13009
- width: 70
13016
+ width: 100
13010
13017
  }, {
13011
13018
  dataIndex: 'sizeCode',
13012
13019
  title: "\u5C3A\u7801\u4EE3\u7801",
13013
13020
  align: 'center',
13014
13021
  ellipsis: true,
13015
- width: 70
13022
+ width: 100
13016
13023
  }, {
13017
13024
  dataIndex: 'brandName',
13018
13025
  title: "\u54C1\u724C\u540D\u79F0",
13019
13026
  align: 'center',
13020
13027
  ellipsis: true,
13021
- width: 70
13028
+ width: 150
13022
13029
  }, {
13023
13030
  dataIndex: 'goodsNumber',
13024
13031
  title: "\u5546\u54C1\u6570\u91CF",
13025
13032
  align: 'center',
13026
13033
  ellipsis: true,
13027
- width: 70
13034
+ width: 100
13028
13035
  }, {
13029
13036
  dataIndex: 'goodsPrice',
13030
13037
  title: "\u5546\u54C1\u5355\u4EF7",
13031
13038
  align: 'center',
13032
13039
  ellipsis: true,
13033
- width: 70
13040
+ width: 120
13034
13041
  }, {
13035
13042
  dataIndex: 'shopPrice',
13036
13043
  title: "\u5546\u54C1\u7F51\u5E97\u552E\u4EF7",
13037
13044
  align: 'center',
13038
13045
  ellipsis: true,
13039
- width: 70
13046
+ width: 120
13040
13047
  }, {
13041
13048
  dataIndex: 'sharePrice',
13042
13049
  title: "\u5206\u644A\u4EF7",
13043
13050
  align: 'center',
13044
13051
  ellipsis: true,
13045
- width: 70
13052
+ width: 120
13046
13053
  }, {
13047
13054
  dataIndex: 'sharePayment',
13048
13055
  title: "\u5206\u644A\u5B9E\u4ED8\u91D1\u989D",
13049
13056
  align: 'center',
13050
13057
  ellipsis: true,
13051
- width: 70
13058
+ width: 120
13052
13059
  }, {
13053
13060
  dataIndex: 'payment',
13054
13061
  title: "\u5B9E\u4ED8\u91D1\u989D",
13055
13062
  align: 'center',
13056
13063
  ellipsis: true,
13057
- width: 70
13064
+ width: 120
13058
13065
  }, {
13059
13066
  dataIndex: 'tcSku',
13060
13067
  title: "\u5957\u9910SKU",
13061
13068
  align: 'center',
13062
13069
  ellipsis: true,
13063
- width: 70
13070
+ width: 150
13064
13071
  }, {
13065
13072
  dataIndex: 'tcGoodsNumber',
13066
13073
  title: "\u5957\u9910\u5957\u6570",
13067
13074
  align: 'center',
13068
13075
  ellipsis: true,
13069
- width: 70
13076
+ width: 100
13070
13077
  }, {
13071
- dataIndex: 'taocanSingleSl',
13078
+ dataIndex: 'taoCanSingleSl',
13072
13079
  title: "\u5355\u4E2A\u5957\u9910\u6570\u91CF",
13073
13080
  align: 'center',
13074
13081
  ellipsis: true,
13075
- width: 70
13082
+ width: 100
13076
13083
  }, {
13077
13084
  dataIndex: 'isGift',
13078
13085
  title: "\u662F\u5426\u8D60\u54C1",
13079
13086
  align: 'center',
13080
13087
  ellipsis: true,
13081
- width: 70
13088
+ width: 100
13082
13089
  }];
13083
13090
  }
13084
13091
  break;
@@ -13305,7 +13312,7 @@ var GoodItem$1 = function GoodItem(props) {
13305
13312
  }, showModeBtn && /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
13306
13313
  checked: isStrict,
13307
13314
  onChange: handleCheckboxChange
13308
- }, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
13315
+ }, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), !((_ref = ['BS_E3_GOODS']) === null || _ref === void 0 ? void 0 : _ref.includes(type)) && /*#__PURE__*/React__default['default'].createElement(antd.Button, {
13309
13316
  type: "link",
13310
13317
  onClick: handleChangeGoods
13311
13318
  }, "\u9009\u62E9\u5546\u54C1"), otherOperations), /*#__PURE__*/React__default['default'].createElement(antd.Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
@@ -13999,6 +14006,58 @@ var wdtUtils = {
13999
14006
  getWdtOrderListSingleton: getWdtOrderListSingleton
14000
14007
  };
14001
14008
 
14009
+ var singletonMap$1 = new Map();
14010
+ var getBsE3OrderListSingleton = function getBsE3OrderListSingleton(orderNo) {
14011
+ if (!singletonMap$1.has(orderNo)) {
14012
+ var p = new Promise(function (resolve, reject) {
14013
+ var doReject = function doReject(err) {
14014
+ // 清空掉错误的请求记录
14015
+ // singletonMap.delete(orderNo);
14016
+ reject(err);
14017
+ };
14018
+ extendRequest('/qy/gdfw/order/bse3OrderDetail', {
14019
+ method: 'post',
14020
+ data: {
14021
+ billNo: orderNo
14022
+ }
14023
+ }).then(function (data) {
14024
+ if (data === null || data === void 0 ? void 0 : data.success) {
14025
+ var _data$data, _data$data$orderList;
14026
+ if (data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : (_data$data$orderList = _data$data.orderList) === null || _data$data$orderList === void 0 ? void 0 : _data$data$orderList.length) {
14027
+ var _filterBsE3Orders;
14028
+ data.data.orderList = (_filterBsE3Orders = kmkfUtils.filterBsE3Orders(data === null || data === void 0 ? void 0 : data.data, orderNo)) === null || _filterBsE3Orders === void 0 ? void 0 : _filterBsE3Orders.map(function (item) {
14029
+ var isSplit = item.isSplit,
14030
+ isSplitNew = item.isSplitNew,
14031
+ isCopy = item.isCopy,
14032
+ isExchangeOrder = item.isExchangeOrder,
14033
+ isCombineNew = item.isCombineNew,
14034
+ isCombine = item.isCombine,
14035
+ orderStatus = item.orderStatus;
14036
+ return _objectSpread2(_objectSpread2({}, item), {}, {
14037
+ orderStatus: kmkfUtils.BS_E3_ORDER_STATUS_MAP[orderStatus],
14038
+ isSplit: kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[isSplit],
14039
+ isSplitNew: kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[isSplitNew],
14040
+ isExchangeOrder: kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[isExchangeOrder],
14041
+ isCopy: kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[isCopy],
14042
+ isCombineNew: kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[isCombineNew],
14043
+ isCombine: kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[isCombine]
14044
+ });
14045
+ });
14046
+ }
14047
+ resolve(data.data);
14048
+ } else {
14049
+ doReject(data);
14050
+ }
14051
+ }).catch(doReject);
14052
+ });
14053
+ singletonMap$1.set(orderNo, p);
14054
+ }
14055
+ return singletonMap$1.get(orderNo);
14056
+ };
14057
+ var bsE3Utils = {
14058
+ getBsE3OrderListSingleton: getBsE3OrderListSingleton
14059
+ };
14060
+
14002
14061
  var columnsMap = {
14003
14062
  BS_SYSTEM_ORDER: [{
14004
14063
  title: '单据类型',
@@ -14050,27 +14109,27 @@ var columnsMap = {
14050
14109
  }, {
14051
14110
  title: '是否被拆分',
14052
14111
  dataIndex: 'isSplit',
14053
- width: 100
14112
+ width: 70
14054
14113
  }, {
14055
14114
  title: '是否拆分子单',
14056
14115
  dataIndex: 'isSplitNew',
14057
- width: 100
14116
+ width: 70
14058
14117
  }, {
14059
14118
  title: '是否被合并',
14060
14119
  dataIndex: 'isCombine',
14061
- width: 100
14120
+ width: 70
14062
14121
  }, {
14063
14122
  title: '是否合并新单',
14064
14123
  dataIndex: 'isCombineNew',
14065
- width: 100
14124
+ width: 70
14066
14125
  }, {
14067
14126
  title: '是否复制单',
14068
14127
  dataIndex: 'isCopy',
14069
- width: 100
14128
+ width: 70
14070
14129
  }, {
14071
14130
  title: '是否换货单',
14072
- dataIndex: 'isHH',
14073
- width: 100
14131
+ dataIndex: 'isExchangeOrder',
14132
+ width: 70
14074
14133
  }, {
14075
14134
  title: '订单备注',
14076
14135
  dataIndex: 'orderMsg',
@@ -14099,7 +14158,9 @@ var index$1 = (function (props) {
14099
14158
  getWlnOrderList(value.orderNo);
14100
14159
  } else if (type === 'WDT_SYSTEM_ORDER') {
14101
14160
  getWdtOrderList(value.orderNo);
14102
- } else ;
14161
+ } else if (type === 'BS_E3_SYSTEM_ORDER') {
14162
+ getBsE3OrderList(value.orderNo);
14163
+ }
14103
14164
  }
14104
14165
  }, [value, type]);
14105
14166
  var columns = React.useMemo(function () {
@@ -14225,6 +14286,31 @@ var index$1 = (function (props) {
14225
14286
  return _ref3.apply(this, arguments);
14226
14287
  };
14227
14288
  }();
14289
+ var getBsE3OrderList = /*#__PURE__*/function () {
14290
+ var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(orderNo) {
14291
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
14292
+ while (1) switch (_context4.prev = _context4.next) {
14293
+ case 0:
14294
+ bsE3Utils.getBsE3OrderListSingleton(orderNo).then(function (data) {
14295
+ var trades = ((data === null || data === void 0 ? void 0 : data.orderList) || []).filter(function (item) {
14296
+ return (item.dealCode || '').split(',').includes(orderNo);
14297
+ });
14298
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, value), {}, {
14299
+ orders: trades,
14300
+ showOrderInfo: trades
14301
+ }));
14302
+ });
14303
+ onceRef.current = false;
14304
+ case 2:
14305
+ case "end":
14306
+ return _context4.stop();
14307
+ }
14308
+ }, _callee4);
14309
+ }));
14310
+ return function getBsE3OrderList(_x4) {
14311
+ return _ref5.apply(this, arguments);
14312
+ };
14313
+ }();
14228
14314
  var rowSelection = {
14229
14315
  selectedRowKeys: (value === null || value === void 0 ? void 0 : value.selectIds) || [],
14230
14316
  fixed: true,
@@ -14284,8 +14370,11 @@ var componentMap$1 = {
14284
14370
  type: 'wdt',
14285
14371
  key: 'wdtGoods',
14286
14372
  name: '旺店通',
14373
+ orderNo: 'srcTid',
14374
+ goodDetailOrderNo: 'srcTid',
14287
14375
  eventNameMap: {
14288
14376
  type: 'wdtType',
14377
+ updateGoodsHandle: kmkfUtils.updateWdtGoodsHandle,
14289
14378
  selectListReturn: 'wdtSelectListReturn',
14290
14379
  selectList: 'wdtSelectList',
14291
14380
  reissueSelectList: 'wdtReissueSelectList',
@@ -14304,9 +14393,12 @@ var componentMap$1 = {
14304
14393
  'BS_E3_GOODS': {
14305
14394
  type: 'e3',
14306
14395
  key: 'bsE3Goods',
14307
- name: '旺店通',
14396
+ name: '百胜E3',
14397
+ orderNo: 'dealCode',
14398
+ goodDetailOrderNo: 'originalDealCode',
14308
14399
  eventNameMap: {
14309
14400
  type: 'bsE3Type',
14401
+ updateGoodsHandle: kmkfUtils.updateBsE3GoodsHandle,
14310
14402
  selectListReturn: 'bsE3SelectListReturn',
14311
14403
  selectList: 'bsE3SelectList',
14312
14404
  reissueSelectList: 'bsE3ReissueSelectList',
@@ -14329,8 +14421,11 @@ var CommonGoods = function CommonGoods(props) {
14329
14421
  disabled = props.disabled,
14330
14422
  onChange = props.onChange,
14331
14423
  compType = props.type;
14424
+ console.log('value?.orders', value === null || value === void 0 ? void 0 : value.orders);
14425
+ // 合并单订单会包含","
14332
14426
  var showModeBtn = ((value === null || value === void 0 ? void 0 : value.orders) || []).some(function (order) {
14333
- return order.srcTid.includes(',');
14427
+ var _order$componentMap$c;
14428
+ return order === null || order === void 0 ? void 0 : (_order$componentMap$c = order[componentMap$1[compType].orderNo]) === null || _order$componentMap$c === void 0 ? void 0 : _order$componentMap$c.includes(',');
14334
14429
  });
14335
14430
  var getOrderFlag = React.useRef(false);
14336
14431
  var _useState = React.useState(false),
@@ -14477,12 +14572,15 @@ var CommonGoods = function CommonGoods(props) {
14477
14572
  };
14478
14573
  var getGoodDetails = function getGoodDetails(_ref2) {
14479
14574
  var mode = _ref2.mode;
14480
- var goodDetails = kmkfUtils.updateWdtGoodsHandle(value.orders || []);
14575
+ var updateHandle = componentMap$1[compType].eventNameMap['updateGoodsHandle'];
14576
+ var goodDetails = updateHandle(value.orders || []);
14481
14577
  var orderNo = value.orderNo;
14482
14578
  return mode ? goodDetails.filter(function (goodItem) {
14483
- return !orderNo || goodItem.srcTid === orderNo;
14579
+ var _componentMap$compTyp;
14580
+ return !orderNo || (goodItem === null || goodItem === void 0 ? void 0 : goodItem[(_componentMap$compTyp = componentMap$1[compType]) === null || _componentMap$compTyp === void 0 ? void 0 : _componentMap$compTyp.goodDetailOrderNo]) === orderNo;
14484
14581
  }) : goodDetails;
14485
14582
  };
14583
+ console.log('commonStatus', value, compType);
14486
14584
  return /*#__PURE__*/React__default['default'].createElement(GoodItem$1, _objectSpread2(_objectSpread2({
14487
14585
  key: componentMap$1[compType].key
14488
14586
  }, props), {}, {
@@ -14792,7 +14890,8 @@ var wdtReissue = function wdtReissue(props) {
14792
14890
  type = props.type,
14793
14891
  other = _objectWithoutProperties(props, _excluded$g);
14794
14892
  var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$wdtSystemOrder = value.wdtSystemOrder) === null || _value$wdtSystemOrder === void 0 ? void 0 : _value$wdtSystemOrder.orders) || []).some(function (order) {
14795
- return order.srcTid.includes(',');
14893
+ var _order$srcTid;
14894
+ return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
14796
14895
  });
14797
14896
  var getOrderFlag = React.useRef(false);
14798
14897
  var _useState = React.useState(false),