@kmkf-fe-packages/basic-components 1.22.1-beta.19 → 1.22.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +288 -594
- package/dist/index.js +287 -593
- package/package.json +3 -3
- package/dist/src/bs/component/GoodItem/wdtReissueGoodsColumns.d.ts +0 -22
package/dist/index.esm.js
CHANGED
|
@@ -4,383 +4,369 @@ import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } fro
|
|
|
4
4
|
import request, { extend as extend$1 } from 'umi-request';
|
|
5
5
|
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
6
6
|
import { AddressData, BsAddressData, WdtAddressData, request as request$1, ExpressData, uuid, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterKmOrders, KM_SYSTEM_ORDER_CONFIG, BS_E3_ORDER_STATUS_MAP, updateWdtGoodsHandle, updateBsE3GoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
|
|
7
|
-
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, cloneDeep, difference, differenceWith, takeRight, reject, isEmpty
|
|
7
|
+
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, cloneDeep, difference, differenceWith, takeRight, reject, isEmpty } from 'lodash';
|
|
8
8
|
import { useUpdateEffect, useDebounceEffect, useAntdTable } from 'ahooks';
|
|
9
9
|
import zhCN from 'antd/lib/locale/zh_CN';
|
|
10
10
|
import pubsub from 'pubsub-js';
|
|
11
11
|
import BigNumber from 'bignumber.js';
|
|
12
12
|
|
|
13
|
-
function _iterableToArrayLimit(
|
|
14
|
-
var
|
|
15
|
-
if (null !=
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
function _iterableToArrayLimit(arr, i) {
|
|
14
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15
|
+
if (null != _i) {
|
|
16
|
+
var _s,
|
|
17
|
+
_e,
|
|
18
|
+
_x,
|
|
19
|
+
_r,
|
|
20
|
+
_arr = [],
|
|
21
|
+
_n = !0,
|
|
22
|
+
_d = !1;
|
|
23
23
|
try {
|
|
24
|
-
if (
|
|
25
|
-
if (Object(
|
|
26
|
-
|
|
27
|
-
} else for (; !(
|
|
28
|
-
} catch (
|
|
29
|
-
|
|
24
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
25
|
+
if (Object(_i) !== _i) return;
|
|
26
|
+
_n = !1;
|
|
27
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
28
|
+
} catch (err) {
|
|
29
|
+
_d = !0, _e = err;
|
|
30
30
|
} finally {
|
|
31
31
|
try {
|
|
32
|
-
if (!
|
|
32
|
+
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
33
33
|
} finally {
|
|
34
|
-
if (
|
|
34
|
+
if (_d) throw _e;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
return
|
|
37
|
+
return _arr;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function ownKeys(
|
|
41
|
-
var
|
|
40
|
+
function ownKeys(object, enumerableOnly) {
|
|
41
|
+
var keys = Object.keys(object);
|
|
42
42
|
if (Object.getOwnPropertySymbols) {
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
return Object.getOwnPropertyDescriptor(
|
|
46
|
-
})),
|
|
43
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
44
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
45
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
46
|
+
})), keys.push.apply(keys, symbols);
|
|
47
47
|
}
|
|
48
|
-
return
|
|
49
|
-
}
|
|
50
|
-
function _objectSpread2(
|
|
51
|
-
for (var
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
_defineProperty(
|
|
55
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
56
|
-
Object.defineProperty(
|
|
48
|
+
return keys;
|
|
49
|
+
}
|
|
50
|
+
function _objectSpread2(target) {
|
|
51
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
52
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
53
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
54
|
+
_defineProperty(target, key, source[key]);
|
|
55
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
56
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return target;
|
|
60
60
|
}
|
|
61
61
|
function _regeneratorRuntime() {
|
|
62
62
|
_regeneratorRuntime = function () {
|
|
63
|
-
return
|
|
63
|
+
return exports;
|
|
64
64
|
};
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
t[e] = r.value;
|
|
65
|
+
var exports = {},
|
|
66
|
+
Op = Object.prototype,
|
|
67
|
+
hasOwn = Op.hasOwnProperty,
|
|
68
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
69
|
+
obj[key] = desc.value;
|
|
71
70
|
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
function define(
|
|
77
|
-
return Object.defineProperty(
|
|
78
|
-
value:
|
|
71
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
72
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
73
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
74
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
75
|
+
function define(obj, key, value) {
|
|
76
|
+
return Object.defineProperty(obj, key, {
|
|
77
|
+
value: value,
|
|
79
78
|
enumerable: !0,
|
|
80
79
|
configurable: !0,
|
|
81
80
|
writable: !0
|
|
82
|
-
}),
|
|
81
|
+
}), obj[key];
|
|
83
82
|
}
|
|
84
83
|
try {
|
|
85
84
|
define({}, "");
|
|
86
|
-
} catch (
|
|
87
|
-
define = function (
|
|
88
|
-
return
|
|
85
|
+
} catch (err) {
|
|
86
|
+
define = function (obj, key, value) {
|
|
87
|
+
return obj[key] = value;
|
|
89
88
|
};
|
|
90
89
|
}
|
|
91
|
-
function wrap(
|
|
92
|
-
var
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return
|
|
96
|
-
value: makeInvokeMethod(
|
|
97
|
-
}),
|
|
90
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
91
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
92
|
+
generator = Object.create(protoGenerator.prototype),
|
|
93
|
+
context = new Context(tryLocsList || []);
|
|
94
|
+
return defineProperty(generator, "_invoke", {
|
|
95
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
96
|
+
}), generator;
|
|
98
97
|
}
|
|
99
|
-
function tryCatch(
|
|
98
|
+
function tryCatch(fn, obj, arg) {
|
|
100
99
|
try {
|
|
101
100
|
return {
|
|
102
101
|
type: "normal",
|
|
103
|
-
arg:
|
|
102
|
+
arg: fn.call(obj, arg)
|
|
104
103
|
};
|
|
105
|
-
} catch (
|
|
104
|
+
} catch (err) {
|
|
106
105
|
return {
|
|
107
106
|
type: "throw",
|
|
108
|
-
arg:
|
|
107
|
+
arg: err
|
|
109
108
|
};
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
|
-
|
|
113
|
-
var
|
|
114
|
-
l = "suspendedYield",
|
|
115
|
-
f = "executing",
|
|
116
|
-
s = "completed",
|
|
117
|
-
y = {};
|
|
111
|
+
exports.wrap = wrap;
|
|
112
|
+
var ContinueSentinel = {};
|
|
118
113
|
function Generator() {}
|
|
119
114
|
function GeneratorFunction() {}
|
|
120
115
|
function GeneratorFunctionPrototype() {}
|
|
121
|
-
var
|
|
122
|
-
define(
|
|
116
|
+
var IteratorPrototype = {};
|
|
117
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
123
118
|
return this;
|
|
124
119
|
});
|
|
125
|
-
var
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
var
|
|
129
|
-
function defineIteratorMethods(
|
|
130
|
-
["next", "throw", "return"].forEach(function (
|
|
131
|
-
define(
|
|
132
|
-
return this._invoke(
|
|
120
|
+
var getProto = Object.getPrototypeOf,
|
|
121
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
122
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
123
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
124
|
+
function defineIteratorMethods(prototype) {
|
|
125
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
126
|
+
define(prototype, method, function (arg) {
|
|
127
|
+
return this._invoke(method, arg);
|
|
133
128
|
});
|
|
134
129
|
});
|
|
135
130
|
}
|
|
136
|
-
function AsyncIterator(
|
|
137
|
-
function invoke(
|
|
138
|
-
var
|
|
139
|
-
if ("throw" !==
|
|
140
|
-
var
|
|
141
|
-
|
|
142
|
-
return
|
|
143
|
-
invoke("next",
|
|
144
|
-
}, function (
|
|
145
|
-
invoke("throw",
|
|
146
|
-
}) :
|
|
147
|
-
|
|
148
|
-
}, function (
|
|
149
|
-
return invoke("throw",
|
|
131
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
132
|
+
function invoke(method, arg, resolve, reject) {
|
|
133
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
134
|
+
if ("throw" !== record.type) {
|
|
135
|
+
var result = record.arg,
|
|
136
|
+
value = result.value;
|
|
137
|
+
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
138
|
+
invoke("next", value, resolve, reject);
|
|
139
|
+
}, function (err) {
|
|
140
|
+
invoke("throw", err, resolve, reject);
|
|
141
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
142
|
+
result.value = unwrapped, resolve(result);
|
|
143
|
+
}, function (error) {
|
|
144
|
+
return invoke("throw", error, resolve, reject);
|
|
150
145
|
});
|
|
151
146
|
}
|
|
152
|
-
|
|
147
|
+
reject(record.arg);
|
|
153
148
|
}
|
|
154
|
-
var
|
|
155
|
-
|
|
156
|
-
value: function (
|
|
149
|
+
var previousPromise;
|
|
150
|
+
defineProperty(this, "_invoke", {
|
|
151
|
+
value: function (method, arg) {
|
|
157
152
|
function callInvokeWithMethodAndArg() {
|
|
158
|
-
return new
|
|
159
|
-
invoke(
|
|
153
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
154
|
+
invoke(method, arg, resolve, reject);
|
|
160
155
|
});
|
|
161
156
|
}
|
|
162
|
-
return
|
|
157
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
163
158
|
}
|
|
164
159
|
});
|
|
165
160
|
}
|
|
166
|
-
function makeInvokeMethod(
|
|
167
|
-
var
|
|
168
|
-
return function (
|
|
169
|
-
if (
|
|
170
|
-
if (
|
|
171
|
-
if ("throw" ===
|
|
172
|
-
return
|
|
173
|
-
value: t,
|
|
174
|
-
done: !0
|
|
175
|
-
};
|
|
161
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
162
|
+
var state = "suspendedStart";
|
|
163
|
+
return function (method, arg) {
|
|
164
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
165
|
+
if ("completed" === state) {
|
|
166
|
+
if ("throw" === method) throw arg;
|
|
167
|
+
return doneResult();
|
|
176
168
|
}
|
|
177
|
-
for (
|
|
178
|
-
var
|
|
179
|
-
if (
|
|
180
|
-
var
|
|
181
|
-
if (
|
|
182
|
-
if (
|
|
183
|
-
return
|
|
169
|
+
for (context.method = method, context.arg = arg;;) {
|
|
170
|
+
var delegate = context.delegate;
|
|
171
|
+
if (delegate) {
|
|
172
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
173
|
+
if (delegateResult) {
|
|
174
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
175
|
+
return delegateResult;
|
|
184
176
|
}
|
|
185
177
|
}
|
|
186
|
-
if ("next" ===
|
|
187
|
-
if (
|
|
188
|
-
|
|
189
|
-
} else "return" ===
|
|
190
|
-
|
|
191
|
-
var
|
|
192
|
-
if ("normal" ===
|
|
193
|
-
if (
|
|
178
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
179
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
180
|
+
context.dispatchException(context.arg);
|
|
181
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
182
|
+
state = "executing";
|
|
183
|
+
var record = tryCatch(innerFn, self, context);
|
|
184
|
+
if ("normal" === record.type) {
|
|
185
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
194
186
|
return {
|
|
195
|
-
value:
|
|
196
|
-
done:
|
|
187
|
+
value: record.arg,
|
|
188
|
+
done: context.done
|
|
197
189
|
};
|
|
198
190
|
}
|
|
199
|
-
"throw" ===
|
|
191
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
200
192
|
}
|
|
201
193
|
};
|
|
202
194
|
}
|
|
203
|
-
function maybeInvokeDelegate(
|
|
204
|
-
var
|
|
205
|
-
|
|
206
|
-
if (
|
|
207
|
-
var
|
|
208
|
-
if ("throw" ===
|
|
209
|
-
var
|
|
210
|
-
return
|
|
195
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
196
|
+
var methodName = context.method,
|
|
197
|
+
method = delegate.iterator[methodName];
|
|
198
|
+
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;
|
|
199
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
200
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
201
|
+
var info = record.arg;
|
|
202
|
+
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);
|
|
211
203
|
}
|
|
212
|
-
function pushTryEntry(
|
|
213
|
-
var
|
|
214
|
-
tryLoc:
|
|
204
|
+
function pushTryEntry(locs) {
|
|
205
|
+
var entry = {
|
|
206
|
+
tryLoc: locs[0]
|
|
215
207
|
};
|
|
216
|
-
1 in
|
|
208
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
217
209
|
}
|
|
218
|
-
function resetTryEntry(
|
|
219
|
-
var
|
|
220
|
-
|
|
210
|
+
function resetTryEntry(entry) {
|
|
211
|
+
var record = entry.completion || {};
|
|
212
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
221
213
|
}
|
|
222
|
-
function Context(
|
|
214
|
+
function Context(tryLocsList) {
|
|
223
215
|
this.tryEntries = [{
|
|
224
216
|
tryLoc: "root"
|
|
225
|
-
}],
|
|
217
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
226
218
|
}
|
|
227
|
-
function values(
|
|
228
|
-
if (
|
|
229
|
-
var
|
|
230
|
-
if (
|
|
231
|
-
if ("function" == typeof
|
|
232
|
-
if (!isNaN(
|
|
233
|
-
var
|
|
234
|
-
|
|
235
|
-
for (; ++
|
|
236
|
-
return next.value =
|
|
219
|
+
function values(iterable) {
|
|
220
|
+
if (iterable) {
|
|
221
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
222
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
223
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
224
|
+
if (!isNaN(iterable.length)) {
|
|
225
|
+
var i = -1,
|
|
226
|
+
next = function next() {
|
|
227
|
+
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
228
|
+
return next.value = undefined, next.done = !0, next;
|
|
237
229
|
};
|
|
238
|
-
return
|
|
230
|
+
return next.next = next;
|
|
239
231
|
}
|
|
240
232
|
}
|
|
241
|
-
|
|
233
|
+
return {
|
|
234
|
+
next: doneResult
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
function doneResult() {
|
|
238
|
+
return {
|
|
239
|
+
value: undefined,
|
|
240
|
+
done: !0
|
|
241
|
+
};
|
|
242
242
|
}
|
|
243
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
243
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
244
244
|
value: GeneratorFunctionPrototype,
|
|
245
245
|
configurable: !0
|
|
246
|
-
}),
|
|
246
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
247
247
|
value: GeneratorFunction,
|
|
248
248
|
configurable: !0
|
|
249
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
250
|
-
var
|
|
251
|
-
return !!
|
|
252
|
-
},
|
|
253
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
254
|
-
},
|
|
249
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
250
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
251
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
252
|
+
}, exports.mark = function (genFun) {
|
|
253
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
254
|
+
}, exports.awrap = function (arg) {
|
|
255
255
|
return {
|
|
256
|
-
__await:
|
|
256
|
+
__await: arg
|
|
257
257
|
};
|
|
258
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
258
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
259
259
|
return this;
|
|
260
|
-
}),
|
|
261
|
-
void 0 ===
|
|
262
|
-
var
|
|
263
|
-
return
|
|
264
|
-
return
|
|
260
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
261
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
262
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
263
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
264
|
+
return result.done ? result.value : iter.next();
|
|
265
265
|
});
|
|
266
|
-
}, defineIteratorMethods(
|
|
266
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
267
267
|
return this;
|
|
268
|
-
}), define(
|
|
268
|
+
}), define(Gp, "toString", function () {
|
|
269
269
|
return "[object Generator]";
|
|
270
|
-
}),
|
|
271
|
-
var
|
|
272
|
-
|
|
273
|
-
for (var
|
|
274
|
-
return
|
|
275
|
-
for (;
|
|
276
|
-
var
|
|
277
|
-
if (
|
|
270
|
+
}), exports.keys = function (val) {
|
|
271
|
+
var object = Object(val),
|
|
272
|
+
keys = [];
|
|
273
|
+
for (var key in object) keys.push(key);
|
|
274
|
+
return keys.reverse(), function next() {
|
|
275
|
+
for (; keys.length;) {
|
|
276
|
+
var key = keys.pop();
|
|
277
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
278
278
|
}
|
|
279
279
|
return next.done = !0, next;
|
|
280
280
|
};
|
|
281
|
-
},
|
|
281
|
+
}, exports.values = values, Context.prototype = {
|
|
282
282
|
constructor: Context,
|
|
283
|
-
reset: function (
|
|
284
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
283
|
+
reset: function (skipTempReset) {
|
|
284
|
+
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);
|
|
285
285
|
},
|
|
286
286
|
stop: function () {
|
|
287
287
|
this.done = !0;
|
|
288
|
-
var
|
|
289
|
-
if ("throw" ===
|
|
288
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
289
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
290
290
|
return this.rval;
|
|
291
291
|
},
|
|
292
|
-
dispatchException: function (
|
|
293
|
-
if (this.done) throw
|
|
294
|
-
var
|
|
295
|
-
function handle(
|
|
296
|
-
return
|
|
292
|
+
dispatchException: function (exception) {
|
|
293
|
+
if (this.done) throw exception;
|
|
294
|
+
var context = this;
|
|
295
|
+
function handle(loc, caught) {
|
|
296
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
297
297
|
}
|
|
298
|
-
for (var
|
|
299
|
-
var
|
|
300
|
-
|
|
301
|
-
if ("root" ===
|
|
302
|
-
if (
|
|
303
|
-
var
|
|
304
|
-
|
|
305
|
-
if (
|
|
306
|
-
if (this.prev <
|
|
307
|
-
if (this.prev <
|
|
308
|
-
} else if (
|
|
309
|
-
if (this.prev <
|
|
298
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
299
|
+
var entry = this.tryEntries[i],
|
|
300
|
+
record = entry.completion;
|
|
301
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
302
|
+
if (entry.tryLoc <= this.prev) {
|
|
303
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
304
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
305
|
+
if (hasCatch && hasFinally) {
|
|
306
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
307
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
308
|
+
} else if (hasCatch) {
|
|
309
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
310
310
|
} else {
|
|
311
|
-
if (!
|
|
312
|
-
if (this.prev <
|
|
311
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
312
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
},
|
|
317
|
-
abrupt: function (
|
|
318
|
-
for (var
|
|
319
|
-
var
|
|
320
|
-
if (
|
|
321
|
-
var
|
|
317
|
+
abrupt: function (type, arg) {
|
|
318
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
319
|
+
var entry = this.tryEntries[i];
|
|
320
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
321
|
+
var finallyEntry = entry;
|
|
322
322
|
break;
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
var
|
|
327
|
-
return
|
|
325
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
326
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
327
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
328
328
|
},
|
|
329
|
-
complete: function (
|
|
330
|
-
if ("throw" ===
|
|
331
|
-
return "break" ===
|
|
329
|
+
complete: function (record, afterLoc) {
|
|
330
|
+
if ("throw" === record.type) throw record.arg;
|
|
331
|
+
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;
|
|
332
332
|
},
|
|
333
|
-
finish: function (
|
|
334
|
-
for (var
|
|
335
|
-
var
|
|
336
|
-
if (
|
|
333
|
+
finish: function (finallyLoc) {
|
|
334
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
335
|
+
var entry = this.tryEntries[i];
|
|
336
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
337
337
|
}
|
|
338
338
|
},
|
|
339
|
-
catch: function (
|
|
340
|
-
for (var
|
|
341
|
-
var
|
|
342
|
-
if (
|
|
343
|
-
var
|
|
344
|
-
if ("throw" ===
|
|
345
|
-
var
|
|
346
|
-
resetTryEntry(
|
|
339
|
+
catch: function (tryLoc) {
|
|
340
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
341
|
+
var entry = this.tryEntries[i];
|
|
342
|
+
if (entry.tryLoc === tryLoc) {
|
|
343
|
+
var record = entry.completion;
|
|
344
|
+
if ("throw" === record.type) {
|
|
345
|
+
var thrown = record.arg;
|
|
346
|
+
resetTryEntry(entry);
|
|
347
347
|
}
|
|
348
|
-
return
|
|
348
|
+
return thrown;
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
throw new Error("illegal catch attempt");
|
|
352
352
|
},
|
|
353
|
-
delegateYield: function (
|
|
353
|
+
delegateYield: function (iterable, resultName, nextLoc) {
|
|
354
354
|
return this.delegate = {
|
|
355
|
-
iterator: values(
|
|
356
|
-
resultName:
|
|
357
|
-
nextLoc:
|
|
358
|
-
}, "next" === this.method && (this.arg =
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
}
|
|
362
|
-
function _toPrimitive(t, r) {
|
|
363
|
-
if ("object" != typeof t || !t) return t;
|
|
364
|
-
var e = t[Symbol.toPrimitive];
|
|
365
|
-
if (void 0 !== e) {
|
|
366
|
-
var i = e.call(t, r || "default");
|
|
367
|
-
if ("object" != typeof i) return i;
|
|
368
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
369
|
-
}
|
|
370
|
-
return ("string" === r ? String : Number)(t);
|
|
371
|
-
}
|
|
372
|
-
function _toPropertyKey(t) {
|
|
373
|
-
var i = _toPrimitive(t, "string");
|
|
374
|
-
return "symbol" == typeof i ? i : String(i);
|
|
355
|
+
iterator: values(iterable),
|
|
356
|
+
resultName: resultName,
|
|
357
|
+
nextLoc: nextLoc
|
|
358
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
359
|
+
}
|
|
360
|
+
}, exports;
|
|
375
361
|
}
|
|
376
|
-
function _typeof(
|
|
362
|
+
function _typeof(obj) {
|
|
377
363
|
"@babel/helpers - typeof";
|
|
378
364
|
|
|
379
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
380
|
-
return typeof
|
|
381
|
-
} : function (
|
|
382
|
-
return
|
|
383
|
-
}, _typeof(
|
|
365
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
366
|
+
return typeof obj;
|
|
367
|
+
} : function (obj) {
|
|
368
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
369
|
+
}, _typeof(obj);
|
|
384
370
|
}
|
|
385
371
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
386
372
|
try {
|
|
@@ -487,6 +473,20 @@ function _nonIterableSpread() {
|
|
|
487
473
|
function _nonIterableRest() {
|
|
488
474
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
489
475
|
}
|
|
476
|
+
function _toPrimitive(input, hint) {
|
|
477
|
+
if (typeof input !== "object" || input === null) return input;
|
|
478
|
+
var prim = input[Symbol.toPrimitive];
|
|
479
|
+
if (prim !== undefined) {
|
|
480
|
+
var res = prim.call(input, hint || "default");
|
|
481
|
+
if (typeof res !== "object") return res;
|
|
482
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
483
|
+
}
|
|
484
|
+
return (hint === "string" ? String : Number)(input);
|
|
485
|
+
}
|
|
486
|
+
function _toPropertyKey(arg) {
|
|
487
|
+
var key = _toPrimitive(arg, "string");
|
|
488
|
+
return typeof key === "symbol" ? key : String(key);
|
|
489
|
+
}
|
|
490
490
|
|
|
491
491
|
function ApaasCascader(props) {
|
|
492
492
|
return /*#__PURE__*/React.createElement(Cascader, _objectSpread2({
|
|
@@ -10963,11 +10963,6 @@ var jstGoods = function jstGoods(props) {
|
|
|
10963
10963
|
onChange === null || onChange === void 0 ? void 0 : onChange(typeInitValueMap[type]);
|
|
10964
10964
|
}
|
|
10965
10965
|
}, [value, type]);
|
|
10966
|
-
useEffect(function () {
|
|
10967
|
-
if (changeIndex > (value === null || value === void 0 ? void 0 : value.length) - 1) {
|
|
10968
|
-
setChangeIndex(0);
|
|
10969
|
-
}
|
|
10970
|
-
}, value);
|
|
10971
10966
|
var content = function content(item, index) {
|
|
10972
10967
|
return /*#__PURE__*/React.createElement("div", {
|
|
10973
10968
|
style: {
|
|
@@ -10978,7 +10973,7 @@ var jstGoods = function jstGoods(props) {
|
|
|
10978
10973
|
style: {
|
|
10979
10974
|
textAlign: 'center'
|
|
10980
10975
|
}
|
|
10981
|
-
}, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F")
|
|
10976
|
+
}, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
|
|
10982
10977
|
return /*#__PURE__*/React.createElement("div", {
|
|
10983
10978
|
key: index
|
|
10984
10979
|
}, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Image, {
|
|
@@ -12581,104 +12576,6 @@ var getBsE3ReissueGoodColumns = function getBsE3ReissueGoodColumns(_ref4) {
|
|
|
12581
12576
|
});
|
|
12582
12577
|
};
|
|
12583
12578
|
|
|
12584
|
-
var renderGiftType = function renderGiftType(val) {
|
|
12585
|
-
var giftTypeMap = {
|
|
12586
|
-
0: '非赠品',
|
|
12587
|
-
1: '自动赠送',
|
|
12588
|
-
2: '手工赠送',
|
|
12589
|
-
3: '回购自动送赠品',
|
|
12590
|
-
4: '前N有礼送赠品',
|
|
12591
|
-
6: '天猫优仓赠品',
|
|
12592
|
-
7: '淘宝CRM会员送赠'
|
|
12593
|
-
};
|
|
12594
|
-
return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
|
|
12595
|
-
};
|
|
12596
|
-
var columns$4 = [{
|
|
12597
|
-
dataIndex: 'goodId',
|
|
12598
|
-
title: "\u5546\u54C1ID",
|
|
12599
|
-
width: 120
|
|
12600
|
-
}, {
|
|
12601
|
-
dataIndex: 'goodNo',
|
|
12602
|
-
title: "\u5546\u54C1\u7F16\u7801",
|
|
12603
|
-
width: 200
|
|
12604
|
-
}, {
|
|
12605
|
-
dataIndex: 'goodName',
|
|
12606
|
-
title: "\u5546\u54C1\u540D\u79F0",
|
|
12607
|
-
width: 200
|
|
12608
|
-
}, {
|
|
12609
|
-
dataIndex: 'specId',
|
|
12610
|
-
title: "SKUID",
|
|
12611
|
-
width: 150
|
|
12612
|
-
}, {
|
|
12613
|
-
dataIndex: 'specNo',
|
|
12614
|
-
title: "\u5546\u54C1SKU\u7F16\u7801",
|
|
12615
|
-
width: 200
|
|
12616
|
-
}, {
|
|
12617
|
-
dataIndex: 'specName',
|
|
12618
|
-
title: "\u5546\u54C1SKU\u540D\u79F0",
|
|
12619
|
-
width: 250
|
|
12620
|
-
}, {
|
|
12621
|
-
dataIndex: 'orderPrice',
|
|
12622
|
-
title: "\u5B9E\u4ED8\u603B\u91D1\u989D",
|
|
12623
|
-
width: 200
|
|
12624
|
-
}, {
|
|
12625
|
-
dataIndex: 'num',
|
|
12626
|
-
title: "\u6570\u91CF",
|
|
12627
|
-
width: 100
|
|
12628
|
-
}, {
|
|
12629
|
-
dataIndex: 'sharePrice',
|
|
12630
|
-
title: "\u5206\u644A\u4EF7",
|
|
12631
|
-
width: 150
|
|
12632
|
-
}, {
|
|
12633
|
-
dataIndex: 'giftType',
|
|
12634
|
-
title: "\u8D60\u54C1\u65B9\u5F0F",
|
|
12635
|
-
width: 100,
|
|
12636
|
-
render: renderGiftType
|
|
12637
|
-
}];
|
|
12638
|
-
var renderFieldMap$1 = {
|
|
12639
|
-
num: function num(_ref) {
|
|
12640
|
-
var disabled = _ref.disabled,
|
|
12641
|
-
updateHandle = _ref.updateHandle;
|
|
12642
|
-
return function (val, record, index) {
|
|
12643
|
-
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
12644
|
-
style: {
|
|
12645
|
-
width: 70
|
|
12646
|
-
},
|
|
12647
|
-
value: val,
|
|
12648
|
-
min: 1,
|
|
12649
|
-
precision: 0,
|
|
12650
|
-
onChange: function onChange(num) {
|
|
12651
|
-
return updateHandle(num, index, 'num');
|
|
12652
|
-
}
|
|
12653
|
-
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
12654
|
-
};
|
|
12655
|
-
},
|
|
12656
|
-
giftType: function giftType() {
|
|
12657
|
-
return renderGiftType;
|
|
12658
|
-
}
|
|
12659
|
-
};
|
|
12660
|
-
var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
|
|
12661
|
-
var disabled = _ref2.disabled,
|
|
12662
|
-
updateHandle = _ref2.updateHandle,
|
|
12663
|
-
operate = _ref2.operate;
|
|
12664
|
-
return columns$4.map(function (item) {
|
|
12665
|
-
var newItem = _objectSpread2({
|
|
12666
|
-
align: 'center',
|
|
12667
|
-
ellipsis: true
|
|
12668
|
-
}, item);
|
|
12669
|
-
if (operate && (renderFieldMap$1 === null || renderFieldMap$1 === void 0 ? void 0 : renderFieldMap$1[item.dataIndex])) {
|
|
12670
|
-
return _objectSpread2(_objectSpread2({}, newItem), {}, {
|
|
12671
|
-
render: renderFieldMap$1 === null || renderFieldMap$1 === void 0 ? void 0 : renderFieldMap$1[item.dataIndex]({
|
|
12672
|
-
disabled: disabled,
|
|
12673
|
-
updateHandle: updateHandle
|
|
12674
|
-
})
|
|
12675
|
-
});
|
|
12676
|
-
}
|
|
12677
|
-
return newItem;
|
|
12678
|
-
});
|
|
12679
|
-
};
|
|
12680
|
-
|
|
12681
|
-
var MAIN_FIELD = 'uuid';
|
|
12682
12579
|
var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
12683
12580
|
var columns = _ref.columns,
|
|
12684
12581
|
dataSource = _ref.dataSource,
|
|
@@ -12694,20 +12591,11 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
12694
12591
|
var closeModal = function closeModal() {
|
|
12695
12592
|
return setTradeGoodsVisible(false);
|
|
12696
12593
|
};
|
|
12697
|
-
var currentTradeOriginGoods = intersection(dataSource === null || dataSource === void 0 ? void 0 : dataSource.map(function (item) {
|
|
12698
|
-
return item === null || item === void 0 ? void 0 : item[MAIN_FIELD];
|
|
12699
|
-
}), selectedRowKeys);
|
|
12700
|
-
var unCurrentTradeOriginGoods = difference(selectedRowKeys, dataSource === null || dataSource === void 0 ? void 0 : dataSource.map(function (item) {
|
|
12701
|
-
return item === null || item === void 0 ? void 0 : item[MAIN_FIELD];
|
|
12702
|
-
}));
|
|
12703
|
-
var handleChangeSelectedKeys = function handleChangeSelectedKeys(keys) {
|
|
12704
|
-
console.log('handleChangeSelectedKeys', keys, unCurrentTradeOriginGoods);
|
|
12705
|
-
onChangeSelectedKeys(keys.concat(unCurrentTradeOriginGoods));
|
|
12706
|
-
};
|
|
12707
12594
|
var rowSelection = {
|
|
12708
12595
|
selectedRowKeys: selectedRowKeys,
|
|
12709
|
-
onChange:
|
|
12596
|
+
onChange: onChangeSelectedKeys
|
|
12710
12597
|
};
|
|
12598
|
+
console.debug('选择订单商品-dataSource', dataSource, selectedRowKeys);
|
|
12711
12599
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
|
|
12712
12600
|
type: "link",
|
|
12713
12601
|
onClick: openModal
|
|
@@ -12717,7 +12605,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
12717
12605
|
footer: null,
|
|
12718
12606
|
onCancel: closeModal
|
|
12719
12607
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
12720
|
-
rowKey:
|
|
12608
|
+
rowKey: "id",
|
|
12721
12609
|
rowSelection: rowSelection,
|
|
12722
12610
|
columns: columns,
|
|
12723
12611
|
dataSource: dataSource,
|
|
@@ -12726,17 +12614,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
|
|
|
12726
12614
|
x: 500,
|
|
12727
12615
|
y: 500
|
|
12728
12616
|
}
|
|
12729
|
-
}), /*#__PURE__*/React.createElement("span", null, "\u5DF2\u9009\u62E9(",
|
|
12730
|
-
};
|
|
12731
|
-
var getButtonText = function getButtonText() {
|
|
12732
|
-
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
12733
|
-
if (['BS_E3_GOODS', 'BS_E3_REISSUE_GOODS', 'BS_E3_EXCHANGE_GOODS'].includes(type)) {
|
|
12734
|
-
return '选择百胜ERP商品';
|
|
12735
|
-
}
|
|
12736
|
-
if (['WDT_REISSUE_GOODS'].includes(type)) {
|
|
12737
|
-
return '选择旺店通商品';
|
|
12738
|
-
}
|
|
12739
|
-
return '选择商品';
|
|
12617
|
+
}), /*#__PURE__*/React.createElement("span", null, "\u5DF2\u9009\u62E9(", selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length, "/", dataSource === null || dataSource === void 0 ? void 0 : dataSource.length, ")")));
|
|
12740
12618
|
};
|
|
12741
12619
|
var GoodItem$1 = function GoodItem(props) {
|
|
12742
12620
|
var _props$value = props.value,
|
|
@@ -12793,7 +12671,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
12793
12671
|
// TODO: 商品订单中以选中商品
|
|
12794
12672
|
var selectedGoods = useMemo(function () {
|
|
12795
12673
|
return value === null || value === void 0 ? void 0 : value.map(function (v) {
|
|
12796
|
-
return v
|
|
12674
|
+
return v.id;
|
|
12797
12675
|
});
|
|
12798
12676
|
}, [value]);
|
|
12799
12677
|
var updateHandle = function updateHandle(val, index, columnType) {
|
|
@@ -12834,14 +12712,6 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
12834
12712
|
var columns = [];
|
|
12835
12713
|
switch (type) {
|
|
12836
12714
|
case 'WDT_REISSUE_GOODS':
|
|
12837
|
-
{
|
|
12838
|
-
columns = getWdtReissueGoodColumns({
|
|
12839
|
-
disabled: disabled,
|
|
12840
|
-
updateHandle: updateHandle,
|
|
12841
|
-
operate: operate
|
|
12842
|
-
});
|
|
12843
|
-
}
|
|
12844
|
-
break;
|
|
12845
12715
|
case 'WDT_GOODS':
|
|
12846
12716
|
columns = [{
|
|
12847
12717
|
dataIndex: 'goodId',
|
|
@@ -13277,39 +13147,13 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13277
13147
|
title: "\u5546\u54C1\u6570\u91CF",
|
|
13278
13148
|
align: 'center',
|
|
13279
13149
|
ellipsis: true,
|
|
13280
|
-
width: 100
|
|
13281
|
-
render: function render(val, record, index) {
|
|
13282
|
-
return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
13283
|
-
style: {
|
|
13284
|
-
width: 70
|
|
13285
|
-
},
|
|
13286
|
-
value: val,
|
|
13287
|
-
min: 1,
|
|
13288
|
-
precision: 0,
|
|
13289
|
-
onChange: function onChange(num) {
|
|
13290
|
-
return updateHandle(num, index, 'goodsNumber');
|
|
13291
|
-
}
|
|
13292
|
-
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
13293
|
-
}
|
|
13150
|
+
width: 100
|
|
13294
13151
|
}, {
|
|
13295
13152
|
dataIndex: 'goodsPrice',
|
|
13296
13153
|
title: "\u5546\u54C1\u5355\u4EF7",
|
|
13297
13154
|
align: 'center',
|
|
13298
13155
|
ellipsis: true,
|
|
13299
|
-
width: 120
|
|
13300
|
-
render: function render(val, record, index) {
|
|
13301
|
-
return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
13302
|
-
style: {
|
|
13303
|
-
width: 70
|
|
13304
|
-
},
|
|
13305
|
-
value: val,
|
|
13306
|
-
min: 0,
|
|
13307
|
-
precision: 2,
|
|
13308
|
-
onChange: function onChange(num) {
|
|
13309
|
-
return updateHandle(num, index, 'goodsPrice');
|
|
13310
|
-
}
|
|
13311
|
-
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
13312
|
-
}
|
|
13156
|
+
width: 120
|
|
13313
13157
|
}, {
|
|
13314
13158
|
dataIndex: 'shopPrice',
|
|
13315
13159
|
title: "\u5546\u54C1\u7F51\u5E97\u552E\u4EF7",
|
|
@@ -13333,20 +13177,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13333
13177
|
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
13334
13178
|
align: 'center',
|
|
13335
13179
|
ellipsis: true,
|
|
13336
|
-
width: 120
|
|
13337
|
-
render: function render(val, record, index) {
|
|
13338
|
-
return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
13339
|
-
style: {
|
|
13340
|
-
width: 70
|
|
13341
|
-
},
|
|
13342
|
-
value: val,
|
|
13343
|
-
min: 0,
|
|
13344
|
-
precision: 2,
|
|
13345
|
-
onChange: function onChange(num) {
|
|
13346
|
-
return updateHandle(num, index, 'payment');
|
|
13347
|
-
}
|
|
13348
|
-
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
13349
|
-
}
|
|
13180
|
+
width: 120
|
|
13350
13181
|
}, {
|
|
13351
13182
|
dataIndex: 'tcSku',
|
|
13352
13183
|
title: "\u5957\u9910SKU",
|
|
@@ -13386,116 +13217,6 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13386
13217
|
});
|
|
13387
13218
|
}
|
|
13388
13219
|
break;
|
|
13389
|
-
case 'BS_GOODS':
|
|
13390
|
-
columns = [{
|
|
13391
|
-
dataIndex: 'mark',
|
|
13392
|
-
title: "\u5546\u54C1\u6807\u8BB0",
|
|
13393
|
-
align: 'center',
|
|
13394
|
-
ellipsis: true,
|
|
13395
|
-
width: 70,
|
|
13396
|
-
render: function render(val, record, index) {
|
|
13397
|
-
return /*#__PURE__*/React.createElement(Select, {
|
|
13398
|
-
options: [{
|
|
13399
|
-
label: '是',
|
|
13400
|
-
value: '是'
|
|
13401
|
-
}, {
|
|
13402
|
-
label: '否',
|
|
13403
|
-
value: '否'
|
|
13404
|
-
}],
|
|
13405
|
-
disabled: disabled,
|
|
13406
|
-
value: val,
|
|
13407
|
-
onChange: function onChange(val) {
|
|
13408
|
-
return updateHandle(val, index, 'mark');
|
|
13409
|
-
}
|
|
13410
|
-
});
|
|
13411
|
-
}
|
|
13412
|
-
}, {
|
|
13413
|
-
dataIndex: 'skuName',
|
|
13414
|
-
title: "".concat(text, "sku\u540D\u79F0"),
|
|
13415
|
-
align: 'center',
|
|
13416
|
-
ellipsis: true,
|
|
13417
|
-
width: 250
|
|
13418
|
-
}, {
|
|
13419
|
-
dataIndex: 'sku',
|
|
13420
|
-
title: "".concat(text, "sku\u7F16\u7801"),
|
|
13421
|
-
align: 'center',
|
|
13422
|
-
ellipsis: true,
|
|
13423
|
-
width: 100
|
|
13424
|
-
}, {
|
|
13425
|
-
dataIndex: 'name',
|
|
13426
|
-
title: "".concat(text, "\u540D\u79F0"),
|
|
13427
|
-
align: 'center',
|
|
13428
|
-
ellipsis: true,
|
|
13429
|
-
width: 250
|
|
13430
|
-
}, {
|
|
13431
|
-
dataIndex: 'pic',
|
|
13432
|
-
title: "\u56FE\u7247",
|
|
13433
|
-
align: 'center',
|
|
13434
|
-
ellipsis: true,
|
|
13435
|
-
width: 100,
|
|
13436
|
-
render: function render(val) {
|
|
13437
|
-
return /*#__PURE__*/React.createElement(Image, {
|
|
13438
|
-
width: 60,
|
|
13439
|
-
src: val
|
|
13440
|
-
});
|
|
13441
|
-
}
|
|
13442
|
-
}, {
|
|
13443
|
-
dataIndex: 'code',
|
|
13444
|
-
title: "".concat(text, "\u7F16\u7801"),
|
|
13445
|
-
align: 'center',
|
|
13446
|
-
ellipsis: true,
|
|
13447
|
-
width: 100
|
|
13448
|
-
}, {
|
|
13449
|
-
dataIndex: 'money',
|
|
13450
|
-
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
13451
|
-
align: 'center',
|
|
13452
|
-
ellipsis: true,
|
|
13453
|
-
width: 100
|
|
13454
|
-
}, {
|
|
13455
|
-
dataIndex: 'number',
|
|
13456
|
-
title: "".concat(text, "\u6570\u91CF"),
|
|
13457
|
-
align: 'center',
|
|
13458
|
-
ellipsis: true,
|
|
13459
|
-
width: 100,
|
|
13460
|
-
render: function render(val, record, index) {
|
|
13461
|
-
return record.canUpdateNumber && !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
13462
|
-
style: {
|
|
13463
|
-
width: 70
|
|
13464
|
-
},
|
|
13465
|
-
value: val,
|
|
13466
|
-
min: 1,
|
|
13467
|
-
precision: 0,
|
|
13468
|
-
onChange: function onChange(num) {
|
|
13469
|
-
return updateHandle(num, index, 'number');
|
|
13470
|
-
}
|
|
13471
|
-
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
13472
|
-
}
|
|
13473
|
-
}, {
|
|
13474
|
-
dataIndex: 'share',
|
|
13475
|
-
title: "\u5206\u644A\u4EF7",
|
|
13476
|
-
align: 'center',
|
|
13477
|
-
ellipsis: true,
|
|
13478
|
-
width: 70
|
|
13479
|
-
}, {
|
|
13480
|
-
dataIndex: 'type',
|
|
13481
|
-
title: "\u8D60\u54C1\u7C7B\u578B",
|
|
13482
|
-
align: 'center',
|
|
13483
|
-
ellipsis: true,
|
|
13484
|
-
width: 100
|
|
13485
|
-
}, {
|
|
13486
|
-
dataIndex: 'batch',
|
|
13487
|
-
title: "\u6279\u6B21\u53F7",
|
|
13488
|
-
align: 'center',
|
|
13489
|
-
ellipsis: true,
|
|
13490
|
-
width: 100
|
|
13491
|
-
}, {
|
|
13492
|
-
dataIndex: 'expireDate',
|
|
13493
|
-
title: "\u6709\u6548\u671F",
|
|
13494
|
-
align: 'center',
|
|
13495
|
-
ellipsis: true,
|
|
13496
|
-
width: 100
|
|
13497
|
-
}];
|
|
13498
|
-
break;
|
|
13499
13220
|
default:
|
|
13500
13221
|
columns = [{
|
|
13501
13222
|
dataIndex: 'mark',
|
|
@@ -13649,7 +13370,6 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13649
13370
|
}].concat(_toConsumableArray(columns));
|
|
13650
13371
|
}, []);
|
|
13651
13372
|
var onSubmit = function onSubmit(list) {
|
|
13652
|
-
console.log('🚀 ~ onSubmit ~ list:', list);
|
|
13653
13373
|
var newList = [];
|
|
13654
13374
|
if (['WDT_REISSUE_GOODS', 'WDT_GOODS', 'WDT_EXCHANGE_GOODS'].includes(type)) {
|
|
13655
13375
|
newList = list.map(function (item) {
|
|
@@ -13694,7 +13414,6 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13694
13414
|
isGift: '',
|
|
13695
13415
|
uuid: uuid(),
|
|
13696
13416
|
canDelete: true,
|
|
13697
|
-
canEdit: true,
|
|
13698
13417
|
goodsNumber: 1,
|
|
13699
13418
|
canUpdateNumber: canUpdateNumber
|
|
13700
13419
|
});
|
|
@@ -13766,7 +13485,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
13766
13485
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
13767
13486
|
type: "link",
|
|
13768
13487
|
onClick: handleChangeGoods
|
|
13769
|
-
},
|
|
13488
|
+
}, ['BS_E3_GOODS', 'BS_E3_REISSUE_GOODS', 'BS_E3_EXCHANGE_GOODS'].includes(type) ? '选择百胜ERP商品' : '选择商品'), otherOperations), /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
|
|
13770
13489
|
columns: newColumns,
|
|
13771
13490
|
dataSource: value,
|
|
13772
13491
|
rowKey: 'uuid',
|
|
@@ -15445,7 +15164,7 @@ var typeMap$1 = {
|
|
|
15445
15164
|
}
|
|
15446
15165
|
};
|
|
15447
15166
|
var wdtReissue = function wdtReissue(props) {
|
|
15448
|
-
var _value$wdtSystemOrder, _typeMap$
|
|
15167
|
+
var _value$wdtSystemOrder, _typeMap$type24, _typeMap$type25, _value$typeMap$type$s5, _typeMap$type26, _typeMap$type27, _typeMap$type28;
|
|
15449
15168
|
var value = props.value,
|
|
15450
15169
|
onChange = props.onChange,
|
|
15451
15170
|
_props$reasonList = props.reasonList,
|
|
@@ -15605,26 +15324,11 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
15605
15324
|
}
|
|
15606
15325
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
15607
15326
|
};
|
|
15608
|
-
var selectedGoodsChange = useCallback(function (skuList) {
|
|
15609
|
-
var _typeMap$type23, _typeMap$type24, _uniqBy, _typeMap$type25;
|
|
15610
|
-
var newValue = _objectSpread2({}, value);
|
|
15611
|
-
// 原订单商品
|
|
15612
|
-
var originTradeGoodList = getGoodDetails({
|
|
15613
|
-
mode: isStrict
|
|
15614
|
-
}) || [];
|
|
15615
|
-
// 当前选中的所有商品【包含了原订单+商品库】
|
|
15616
|
-
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type23 = typeMap$1[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)]) || [];
|
|
15617
|
-
newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type24 = typeMap$1[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
|
|
15618
|
-
return skuList.includes(item.uuid);
|
|
15619
|
-
});
|
|
15620
|
-
console.log('商品发生变化', newValue["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.key)]);
|
|
15621
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
15622
|
-
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)], isStrict]);
|
|
15623
15327
|
//显示选择商品按钮 原单换不显示选择商品
|
|
15624
15328
|
var showChangeBtn = useMemo(function () {
|
|
15625
|
-
var _typeMap$
|
|
15626
|
-
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
15627
|
-
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
15329
|
+
var _typeMap$type23;
|
|
15330
|
+
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type23 = typeMap$1[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.systemOrderNo]);
|
|
15331
|
+
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type24 = typeMap$1[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.systemOrderNo]]);
|
|
15628
15332
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
15629
15333
|
gutter: 8,
|
|
15630
15334
|
wrap: true
|
|
@@ -15642,12 +15346,12 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
15642
15346
|
},
|
|
15643
15347
|
disabled: disabled,
|
|
15644
15348
|
allowClear: false,
|
|
15645
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$
|
|
15349
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type25 = typeMap$1[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrderNo)],
|
|
15646
15350
|
onChange: function onChange(val) {
|
|
15647
15351
|
return changeSystemOrderHandle(val);
|
|
15648
15352
|
},
|
|
15649
15353
|
placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
|
|
15650
|
-
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$
|
|
15354
|
+
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type26 = typeMap$1[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
|
|
15651
15355
|
return /*#__PURE__*/React.createElement(Select.Option, {
|
|
15652
15356
|
key: item.billNo,
|
|
15653
15357
|
value: item.billNo,
|
|
@@ -15668,7 +15372,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
15668
15372
|
disabled: disabled,
|
|
15669
15373
|
allowClear: false,
|
|
15670
15374
|
options: reasonList,
|
|
15671
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$
|
|
15375
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type27 = typeMap$1[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.typeName)],
|
|
15672
15376
|
onChange: function onChange(val) {
|
|
15673
15377
|
return changeTypeHandle(val);
|
|
15674
15378
|
}
|
|
@@ -15680,19 +15384,13 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
15680
15384
|
canUpdateNumber: showChangeBtn,
|
|
15681
15385
|
showChangeBtn: showChangeBtn,
|
|
15682
15386
|
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
15683
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$
|
|
15387
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type28 = typeMap$1[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.key)],
|
|
15684
15388
|
onChange: function onChange(val) {
|
|
15685
15389
|
return changeGoodHandle(val);
|
|
15686
15390
|
},
|
|
15687
15391
|
onModeChange: handleModeChange,
|
|
15688
15392
|
showModeBtn: showModeBtn,
|
|
15689
|
-
isStrict: isStrict
|
|
15690
|
-
tradeGoods: {
|
|
15691
|
-
originDataSource: getGoodDetails({
|
|
15692
|
-
mode: isStrict
|
|
15693
|
-
}),
|
|
15694
|
-
selectedGoodsChange: selectedGoodsChange
|
|
15695
|
-
}
|
|
15393
|
+
isStrict: isStrict
|
|
15696
15394
|
})));
|
|
15697
15395
|
};
|
|
15698
15396
|
|
|
@@ -16478,7 +16176,7 @@ var typeMap$2 = {
|
|
|
16478
16176
|
}
|
|
16479
16177
|
};
|
|
16480
16178
|
var bsE3Reissue = function bsE3Reissue(props) {
|
|
16481
|
-
var _typeMap$type21, _typeMap$
|
|
16179
|
+
var _typeMap$type21, _typeMap$type23, _typeMap$type24, _value$typeMap$type$s5, _typeMap$type25, _typeMap$type26, _typeMap$type27;
|
|
16482
16180
|
var value = props.value,
|
|
16483
16181
|
onChange = props.onChange,
|
|
16484
16182
|
_props$reasonList = props.reasonList,
|
|
@@ -16616,19 +16314,15 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
16616
16314
|
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type20 = typeMap$2[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.systemOrderNo]);
|
|
16617
16315
|
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.systemOrderNo]]);
|
|
16618
16316
|
var selectedGoodsChange = useCallback(function (skuList) {
|
|
16619
|
-
var _typeMap$type22,
|
|
16317
|
+
var _typeMap$type22, _getGoodDetails;
|
|
16620
16318
|
var newValue = _objectSpread2({}, value);
|
|
16621
|
-
|
|
16622
|
-
var originTradeGoodList = getGoodDetails({
|
|
16319
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = (_getGoodDetails = getGoodDetails({
|
|
16623
16320
|
mode: isStrict
|
|
16624
|
-
}) ||
|
|
16625
|
-
|
|
16626
|
-
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)]) || [];
|
|
16627
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
|
|
16628
|
-
return skuList.includes(item.uuid);
|
|
16321
|
+
})) === null || _getGoodDetails === void 0 ? void 0 : _getGoodDetails.filter(function (item) {
|
|
16322
|
+
return skuList.includes(item.id);
|
|
16629
16323
|
});
|
|
16630
16324
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
16631
|
-
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
16325
|
+
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.key)], isStrict]);
|
|
16632
16326
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
16633
16327
|
gutter: 8,
|
|
16634
16328
|
wrap: true,
|
|
@@ -16647,12 +16341,12 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
16647
16341
|
},
|
|
16648
16342
|
disabled: disabled,
|
|
16649
16343
|
allowClear: false,
|
|
16650
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
16344
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type24 = typeMap$2[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.systemOrderNo)],
|
|
16651
16345
|
onChange: function onChange(val) {
|
|
16652
16346
|
return changeSystemOrderHandle(val);
|
|
16653
16347
|
},
|
|
16654
16348
|
placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
|
|
16655
|
-
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$
|
|
16349
|
+
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type25 = typeMap$2[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
|
|
16656
16350
|
return /*#__PURE__*/React.createElement(Select.Option, {
|
|
16657
16351
|
key: item.billNo,
|
|
16658
16352
|
value: item.billNo,
|
|
@@ -16673,7 +16367,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
16673
16367
|
disabled: disabled,
|
|
16674
16368
|
allowClear: false,
|
|
16675
16369
|
options: reasonList,
|
|
16676
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
16370
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type26 = typeMap$2[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.typeName)],
|
|
16677
16371
|
onChange: function onChange(val) {
|
|
16678
16372
|
return changeTypeHandle(val);
|
|
16679
16373
|
}
|
|
@@ -16685,7 +16379,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
16685
16379
|
canUpdateNumber: showChangeBtn,
|
|
16686
16380
|
showChangeBtn: showChangeBtn,
|
|
16687
16381
|
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
16688
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
16382
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type27 = typeMap$2[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)],
|
|
16689
16383
|
onChange: function onChange(val) {
|
|
16690
16384
|
return changeGoodHandle(val);
|
|
16691
16385
|
},
|