@kmkf-fe-packages/basic-components 2.0.53 → 2.0.54-beta.0
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/README.md +1 -1
- package/dist/index.esm.js +1000 -975
- package/dist/index.js +1000 -974
- package/dist/src/bs/component/model/Columns/Erp/bse3.d.ts +7 -0
- package/dist/src/bs/component/model/Columns/Erp/gy.d.ts +15 -0
- package/dist/src/bs/component/model/Columns/Erp/jst.d.ts +21 -0
- package/dist/src/bs/component/model/Columns/Erp/wdt.d.ts +21 -0
- package/dist/src/bs/component/model/Columns/index.d.ts +5 -0
- package/dist/src/bs/component/model/Columns/useGetColumns.d.ts +11 -0
- package/dist/src/bs/component/model/JstGoodsModal/GoodsList.d.ts +1 -1
- package/dist/src/bs/component/model/components/SearchForm/index.d.ts +18 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -1,372 +1,386 @@
|
|
|
1
1
|
import React, { useRef, useState, useEffect, forwardRef, useImperativeHandle, useMemo, useCallback } from 'react';
|
|
2
|
-
import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, message, Radio, Space, Spin, Modal, Button, Checkbox, Row, Col, Slider, Rate, Form, Popover, Table, Tabs, ConfigProvider, Pagination, Typography } from 'antd';
|
|
2
|
+
import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, message, Radio, Space, Spin, Modal, Button, Checkbox, Row, Col, Slider, Rate, Form, Popover, Table, Tabs, ConfigProvider, Pagination, Typography, Skeleton } from 'antd';
|
|
3
3
|
import { EyeOutlined, DeleteOutlined, CloseOutlined, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, MinusCircleFilled } from '@ant-design/icons';
|
|
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, GyAddressData, request as request$1, ExpressData, uuid, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, servers, filterJstOrders, filterKmOrders, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog } from '@kmkf-fe-packages/kmkf-utils';
|
|
7
|
-
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, cloneDeep, difference, differenceWith, takeRight, reject, isEmpty, intersection, uniqBy } from 'lodash';
|
|
7
|
+
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, cloneDeep, difference, differenceWith, isEqual, takeRight, reject, isEmpty, intersection, uniqBy } 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(r, l) {
|
|
14
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
15
|
+
if (null != t) {
|
|
16
|
+
var e,
|
|
17
|
+
n,
|
|
18
|
+
i,
|
|
19
|
+
u,
|
|
20
|
+
a = [],
|
|
21
|
+
f = !0,
|
|
22
|
+
o = !1;
|
|
23
23
|
try {
|
|
24
|
-
if (
|
|
25
|
-
if (Object(
|
|
26
|
-
|
|
27
|
-
} else for (; !(
|
|
28
|
-
} catch (
|
|
29
|
-
|
|
24
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
25
|
+
if (Object(t) !== t) return;
|
|
26
|
+
f = !1;
|
|
27
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
28
|
+
} catch (r) {
|
|
29
|
+
o = !0, n = r;
|
|
30
30
|
} finally {
|
|
31
31
|
try {
|
|
32
|
-
if (!
|
|
32
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
33
33
|
} finally {
|
|
34
|
-
if (
|
|
34
|
+
if (o) throw n;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
return
|
|
37
|
+
return a;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function ownKeys(
|
|
41
|
-
var
|
|
40
|
+
function ownKeys(e, r) {
|
|
41
|
+
var t = Object.keys(e);
|
|
42
42
|
if (Object.getOwnPropertySymbols) {
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
return Object.getOwnPropertyDescriptor(
|
|
46
|
-
})),
|
|
43
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
44
|
+
r && (o = o.filter(function (r) {
|
|
45
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
46
|
+
})), t.push.apply(t, o);
|
|
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 t;
|
|
49
|
+
}
|
|
50
|
+
function _objectSpread2(e) {
|
|
51
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
52
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
53
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
54
|
+
_defineProperty(e, r, t[r]);
|
|
55
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
56
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return e;
|
|
60
60
|
}
|
|
61
61
|
function _regeneratorRuntime() {
|
|
62
62
|
_regeneratorRuntime = function () {
|
|
63
|
-
return
|
|
63
|
+
return e;
|
|
64
64
|
};
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
var t,
|
|
66
|
+
e = {},
|
|
67
|
+
r = Object.prototype,
|
|
68
|
+
n = r.hasOwnProperty,
|
|
69
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
70
|
+
t[e] = r.value;
|
|
70
71
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
function define(
|
|
76
|
-
return Object.defineProperty(
|
|
77
|
-
value:
|
|
72
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
73
|
+
a = i.iterator || "@@iterator",
|
|
74
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
75
|
+
u = i.toStringTag || "@@toStringTag";
|
|
76
|
+
function define(t, e, r) {
|
|
77
|
+
return Object.defineProperty(t, e, {
|
|
78
|
+
value: r,
|
|
78
79
|
enumerable: !0,
|
|
79
80
|
configurable: !0,
|
|
80
81
|
writable: !0
|
|
81
|
-
}),
|
|
82
|
+
}), t[e];
|
|
82
83
|
}
|
|
83
84
|
try {
|
|
84
85
|
define({}, "");
|
|
85
|
-
} catch (
|
|
86
|
-
define = function (
|
|
87
|
-
return
|
|
86
|
+
} catch (t) {
|
|
87
|
+
define = function (t, e, r) {
|
|
88
|
+
return t[e] = r;
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
|
-
function wrap(
|
|
91
|
-
var
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
return
|
|
95
|
-
value: makeInvokeMethod(
|
|
96
|
-
}),
|
|
91
|
+
function wrap(t, e, r, n) {
|
|
92
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
93
|
+
a = Object.create(i.prototype),
|
|
94
|
+
c = new Context(n || []);
|
|
95
|
+
return o(a, "_invoke", {
|
|
96
|
+
value: makeInvokeMethod(t, r, c)
|
|
97
|
+
}), a;
|
|
97
98
|
}
|
|
98
|
-
function tryCatch(
|
|
99
|
+
function tryCatch(t, e, r) {
|
|
99
100
|
try {
|
|
100
101
|
return {
|
|
101
102
|
type: "normal",
|
|
102
|
-
arg:
|
|
103
|
+
arg: t.call(e, r)
|
|
103
104
|
};
|
|
104
|
-
} catch (
|
|
105
|
+
} catch (t) {
|
|
105
106
|
return {
|
|
106
107
|
type: "throw",
|
|
107
|
-
arg:
|
|
108
|
+
arg: t
|
|
108
109
|
};
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
|
-
|
|
112
|
-
var
|
|
112
|
+
e.wrap = wrap;
|
|
113
|
+
var h = "suspendedStart",
|
|
114
|
+
l = "suspendedYield",
|
|
115
|
+
f = "executing",
|
|
116
|
+
s = "completed",
|
|
117
|
+
y = {};
|
|
113
118
|
function Generator() {}
|
|
114
119
|
function GeneratorFunction() {}
|
|
115
120
|
function GeneratorFunctionPrototype() {}
|
|
116
|
-
var
|
|
117
|
-
define(
|
|
121
|
+
var p = {};
|
|
122
|
+
define(p, a, function () {
|
|
118
123
|
return this;
|
|
119
124
|
});
|
|
120
|
-
var
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
var
|
|
124
|
-
function defineIteratorMethods(
|
|
125
|
-
["next", "throw", "return"].forEach(function (
|
|
126
|
-
define(
|
|
127
|
-
return this._invoke(
|
|
125
|
+
var d = Object.getPrototypeOf,
|
|
126
|
+
v = d && d(d(values([])));
|
|
127
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
128
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
129
|
+
function defineIteratorMethods(t) {
|
|
130
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
131
|
+
define(t, e, function (t) {
|
|
132
|
+
return this._invoke(e, t);
|
|
128
133
|
});
|
|
129
134
|
});
|
|
130
135
|
}
|
|
131
|
-
function AsyncIterator(
|
|
132
|
-
function invoke(
|
|
133
|
-
var
|
|
134
|
-
if ("throw" !==
|
|
135
|
-
var
|
|
136
|
-
|
|
137
|
-
return
|
|
138
|
-
invoke("next",
|
|
139
|
-
}, function (
|
|
140
|
-
invoke("throw",
|
|
141
|
-
}) :
|
|
142
|
-
|
|
143
|
-
}, function (
|
|
144
|
-
return invoke("throw",
|
|
136
|
+
function AsyncIterator(t, e) {
|
|
137
|
+
function invoke(r, o, i, a) {
|
|
138
|
+
var c = tryCatch(t[r], t, o);
|
|
139
|
+
if ("throw" !== c.type) {
|
|
140
|
+
var u = c.arg,
|
|
141
|
+
h = u.value;
|
|
142
|
+
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
143
|
+
invoke("next", t, i, a);
|
|
144
|
+
}, function (t) {
|
|
145
|
+
invoke("throw", t, i, a);
|
|
146
|
+
}) : e.resolve(h).then(function (t) {
|
|
147
|
+
u.value = t, i(u);
|
|
148
|
+
}, function (t) {
|
|
149
|
+
return invoke("throw", t, i, a);
|
|
145
150
|
});
|
|
146
151
|
}
|
|
147
|
-
|
|
152
|
+
a(c.arg);
|
|
148
153
|
}
|
|
149
|
-
var
|
|
150
|
-
|
|
151
|
-
value: function (
|
|
154
|
+
var r;
|
|
155
|
+
o(this, "_invoke", {
|
|
156
|
+
value: function (t, n) {
|
|
152
157
|
function callInvokeWithMethodAndArg() {
|
|
153
|
-
return new
|
|
154
|
-
invoke(
|
|
158
|
+
return new e(function (e, r) {
|
|
159
|
+
invoke(t, n, e, r);
|
|
155
160
|
});
|
|
156
161
|
}
|
|
157
|
-
return
|
|
162
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
158
163
|
}
|
|
159
164
|
});
|
|
160
165
|
}
|
|
161
|
-
function makeInvokeMethod(
|
|
162
|
-
var
|
|
163
|
-
return function (
|
|
164
|
-
if (
|
|
165
|
-
if (
|
|
166
|
-
if ("throw" ===
|
|
167
|
-
return
|
|
166
|
+
function makeInvokeMethod(e, r, n) {
|
|
167
|
+
var o = h;
|
|
168
|
+
return function (i, a) {
|
|
169
|
+
if (o === f) throw new Error("Generator is already running");
|
|
170
|
+
if (o === s) {
|
|
171
|
+
if ("throw" === i) throw a;
|
|
172
|
+
return {
|
|
173
|
+
value: t,
|
|
174
|
+
done: !0
|
|
175
|
+
};
|
|
168
176
|
}
|
|
169
|
-
for (
|
|
170
|
-
var
|
|
171
|
-
if (
|
|
172
|
-
var
|
|
173
|
-
if (
|
|
174
|
-
if (
|
|
175
|
-
return
|
|
177
|
+
for (n.method = i, n.arg = a;;) {
|
|
178
|
+
var c = n.delegate;
|
|
179
|
+
if (c) {
|
|
180
|
+
var u = maybeInvokeDelegate(c, n);
|
|
181
|
+
if (u) {
|
|
182
|
+
if (u === y) continue;
|
|
183
|
+
return u;
|
|
176
184
|
}
|
|
177
185
|
}
|
|
178
|
-
if ("next" ===
|
|
179
|
-
if (
|
|
180
|
-
|
|
181
|
-
} else "return" ===
|
|
182
|
-
|
|
183
|
-
var
|
|
184
|
-
if ("normal" ===
|
|
185
|
-
if (
|
|
186
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
187
|
+
if (o === h) throw o = s, n.arg;
|
|
188
|
+
n.dispatchException(n.arg);
|
|
189
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
190
|
+
o = f;
|
|
191
|
+
var p = tryCatch(e, r, n);
|
|
192
|
+
if ("normal" === p.type) {
|
|
193
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
186
194
|
return {
|
|
187
|
-
value:
|
|
188
|
-
done:
|
|
195
|
+
value: p.arg,
|
|
196
|
+
done: n.done
|
|
189
197
|
};
|
|
190
198
|
}
|
|
191
|
-
"throw" ===
|
|
199
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
192
200
|
}
|
|
193
201
|
};
|
|
194
202
|
}
|
|
195
|
-
function maybeInvokeDelegate(
|
|
196
|
-
var
|
|
197
|
-
|
|
198
|
-
if (
|
|
199
|
-
var
|
|
200
|
-
if ("throw" ===
|
|
201
|
-
var
|
|
202
|
-
return
|
|
203
|
+
function maybeInvokeDelegate(e, r) {
|
|
204
|
+
var n = r.method,
|
|
205
|
+
o = e.iterator[n];
|
|
206
|
+
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;
|
|
207
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
208
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
209
|
+
var a = i.arg;
|
|
210
|
+
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);
|
|
203
211
|
}
|
|
204
|
-
function pushTryEntry(
|
|
205
|
-
var
|
|
206
|
-
tryLoc:
|
|
212
|
+
function pushTryEntry(t) {
|
|
213
|
+
var e = {
|
|
214
|
+
tryLoc: t[0]
|
|
207
215
|
};
|
|
208
|
-
1 in
|
|
216
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
209
217
|
}
|
|
210
|
-
function resetTryEntry(
|
|
211
|
-
var
|
|
212
|
-
|
|
218
|
+
function resetTryEntry(t) {
|
|
219
|
+
var e = t.completion || {};
|
|
220
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
213
221
|
}
|
|
214
|
-
function Context(
|
|
222
|
+
function Context(t) {
|
|
215
223
|
this.tryEntries = [{
|
|
216
224
|
tryLoc: "root"
|
|
217
|
-
}],
|
|
225
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
218
226
|
}
|
|
219
|
-
function values(
|
|
220
|
-
if (
|
|
221
|
-
var
|
|
222
|
-
if (
|
|
223
|
-
if ("function" == typeof
|
|
224
|
-
if (!isNaN(
|
|
225
|
-
var
|
|
226
|
-
|
|
227
|
-
for (; ++
|
|
228
|
-
return next.value =
|
|
227
|
+
function values(e) {
|
|
228
|
+
if (e || "" === e) {
|
|
229
|
+
var r = e[a];
|
|
230
|
+
if (r) return r.call(e);
|
|
231
|
+
if ("function" == typeof e.next) return e;
|
|
232
|
+
if (!isNaN(e.length)) {
|
|
233
|
+
var o = -1,
|
|
234
|
+
i = function next() {
|
|
235
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
236
|
+
return next.value = t, next.done = !0, next;
|
|
229
237
|
};
|
|
230
|
-
return
|
|
238
|
+
return i.next = i;
|
|
231
239
|
}
|
|
232
240
|
}
|
|
233
|
-
|
|
234
|
-
next: doneResult
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
function doneResult() {
|
|
238
|
-
return {
|
|
239
|
-
value: undefined,
|
|
240
|
-
done: !0
|
|
241
|
-
};
|
|
241
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
242
242
|
}
|
|
243
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
243
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
244
244
|
value: GeneratorFunctionPrototype,
|
|
245
245
|
configurable: !0
|
|
246
|
-
}),
|
|
246
|
+
}), o(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, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
250
|
+
var e = "function" == typeof t && t.constructor;
|
|
251
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
252
|
+
}, e.mark = function (t) {
|
|
253
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
254
|
+
}, e.awrap = function (t) {
|
|
255
255
|
return {
|
|
256
|
-
__await:
|
|
256
|
+
__await: t
|
|
257
257
|
};
|
|
258
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
258
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
259
259
|
return this;
|
|
260
|
-
}),
|
|
261
|
-
void 0 ===
|
|
262
|
-
var
|
|
263
|
-
return
|
|
264
|
-
return
|
|
260
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
261
|
+
void 0 === i && (i = Promise);
|
|
262
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
263
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
264
|
+
return t.done ? t.value : a.next();
|
|
265
265
|
});
|
|
266
|
-
}, defineIteratorMethods(
|
|
266
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
267
267
|
return this;
|
|
268
|
-
}), define(
|
|
268
|
+
}), define(g, "toString", function () {
|
|
269
269
|
return "[object Generator]";
|
|
270
|
-
}),
|
|
271
|
-
var
|
|
272
|
-
|
|
273
|
-
for (var
|
|
274
|
-
return
|
|
275
|
-
for (;
|
|
276
|
-
var
|
|
277
|
-
if (
|
|
270
|
+
}), e.keys = function (t) {
|
|
271
|
+
var e = Object(t),
|
|
272
|
+
r = [];
|
|
273
|
+
for (var n in e) r.push(n);
|
|
274
|
+
return r.reverse(), function next() {
|
|
275
|
+
for (; r.length;) {
|
|
276
|
+
var t = r.pop();
|
|
277
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
278
278
|
}
|
|
279
279
|
return next.done = !0, next;
|
|
280
280
|
};
|
|
281
|
-
},
|
|
281
|
+
}, e.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 (e) {
|
|
284
|
+
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);
|
|
285
285
|
},
|
|
286
286
|
stop: function () {
|
|
287
287
|
this.done = !0;
|
|
288
|
-
var
|
|
289
|
-
if ("throw" ===
|
|
288
|
+
var t = this.tryEntries[0].completion;
|
|
289
|
+
if ("throw" === t.type) throw t.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 (e) {
|
|
293
|
+
if (this.done) throw e;
|
|
294
|
+
var r = this;
|
|
295
|
+
function handle(n, o) {
|
|
296
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
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 o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
299
|
+
var i = this.tryEntries[o],
|
|
300
|
+
a = i.completion;
|
|
301
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
302
|
+
if (i.tryLoc <= this.prev) {
|
|
303
|
+
var c = n.call(i, "catchLoc"),
|
|
304
|
+
u = n.call(i, "finallyLoc");
|
|
305
|
+
if (c && u) {
|
|
306
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
307
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
308
|
+
} else if (c) {
|
|
309
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
310
310
|
} else {
|
|
311
|
-
if (!
|
|
312
|
-
if (this.prev <
|
|
311
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
312
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
},
|
|
317
|
-
abrupt: function (
|
|
318
|
-
for (var
|
|
319
|
-
var
|
|
320
|
-
if (
|
|
321
|
-
var
|
|
317
|
+
abrupt: function (t, e) {
|
|
318
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
319
|
+
var o = this.tryEntries[r];
|
|
320
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
321
|
+
var i = o;
|
|
322
322
|
break;
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
var
|
|
327
|
-
return
|
|
325
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
326
|
+
var a = i ? i.completion : {};
|
|
327
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
328
328
|
},
|
|
329
|
-
complete: function (
|
|
330
|
-
if ("throw" ===
|
|
331
|
-
return "break" ===
|
|
329
|
+
complete: function (t, e) {
|
|
330
|
+
if ("throw" === t.type) throw t.arg;
|
|
331
|
+
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;
|
|
332
332
|
},
|
|
333
|
-
finish: function (
|
|
334
|
-
for (var
|
|
335
|
-
var
|
|
336
|
-
if (
|
|
333
|
+
finish: function (t) {
|
|
334
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
335
|
+
var r = this.tryEntries[e];
|
|
336
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
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 (t) {
|
|
340
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
341
|
+
var r = this.tryEntries[e];
|
|
342
|
+
if (r.tryLoc === t) {
|
|
343
|
+
var n = r.completion;
|
|
344
|
+
if ("throw" === n.type) {
|
|
345
|
+
var o = n.arg;
|
|
346
|
+
resetTryEntry(r);
|
|
347
347
|
}
|
|
348
|
-
return
|
|
348
|
+
return o;
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
throw new Error("illegal catch attempt");
|
|
352
352
|
},
|
|
353
|
-
delegateYield: function (
|
|
353
|
+
delegateYield: function (e, r, n) {
|
|
354
354
|
return this.delegate = {
|
|
355
|
-
iterator: values(
|
|
356
|
-
resultName:
|
|
357
|
-
nextLoc:
|
|
358
|
-
}, "next" === this.method && (this.arg =
|
|
359
|
-
}
|
|
360
|
-
},
|
|
355
|
+
iterator: values(e),
|
|
356
|
+
resultName: r,
|
|
357
|
+
nextLoc: n
|
|
358
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
359
|
+
}
|
|
360
|
+
}, e;
|
|
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);
|
|
361
375
|
}
|
|
362
|
-
function _typeof(
|
|
376
|
+
function _typeof(o) {
|
|
363
377
|
"@babel/helpers - typeof";
|
|
364
378
|
|
|
365
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
366
|
-
return typeof
|
|
367
|
-
} : function (
|
|
368
|
-
return
|
|
369
|
-
}, _typeof(
|
|
379
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
380
|
+
return typeof o;
|
|
381
|
+
} : function (o) {
|
|
382
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
383
|
+
}, _typeof(o);
|
|
370
384
|
}
|
|
371
385
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
372
386
|
try {
|
|
@@ -473,20 +487,6 @@ function _nonIterableSpread() {
|
|
|
473
487
|
function _nonIterableRest() {
|
|
474
488
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
475
489
|
}
|
|
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({
|
|
@@ -12191,53 +12191,145 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
12191
12191
|
};
|
|
12192
12192
|
var GoodsModal$2 = /*#__PURE__*/forwardRef(GoodsModal$1);
|
|
12193
12193
|
|
|
12194
|
-
var
|
|
12195
|
-
|
|
12196
|
-
|
|
12197
|
-
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
|
|
12203
|
-
|
|
12204
|
-
|
|
12205
|
-
|
|
12206
|
-
|
|
12207
|
-
|
|
12208
|
-
|
|
12209
|
-
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
|
|
12221
|
-
|
|
12222
|
-
|
|
12223
|
-
|
|
12224
|
-
|
|
12225
|
-
list: newProducts
|
|
12226
|
-
};
|
|
12227
|
-
});
|
|
12228
|
-
};
|
|
12229
|
-
var columns$1 = [{
|
|
12230
|
-
dataIndex: 'index',
|
|
12231
|
-
title: 'NO',
|
|
12232
|
-
render: function render(val, record, index) {
|
|
12233
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
12194
|
+
var gyColumns = [{
|
|
12195
|
+
dataIndex: 'specName',
|
|
12196
|
+
title: 'SKU名称',
|
|
12197
|
+
width: 250,
|
|
12198
|
+
ellipsis: true
|
|
12199
|
+
}, {
|
|
12200
|
+
dataIndex: 'specNo',
|
|
12201
|
+
title: 'SKU编码',
|
|
12202
|
+
width: 200,
|
|
12203
|
+
ellipsis: true
|
|
12204
|
+
}, {
|
|
12205
|
+
dataIndex: 'goodName',
|
|
12206
|
+
title: '商品名称',
|
|
12207
|
+
width: 250,
|
|
12208
|
+
ellipsis: true
|
|
12209
|
+
}, {
|
|
12210
|
+
dataIndex: 'goodShortName',
|
|
12211
|
+
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12212
|
+
ellipsis: true,
|
|
12213
|
+
width: 250
|
|
12214
|
+
}, {
|
|
12215
|
+
dataIndex: 'goodNo',
|
|
12216
|
+
title: '商品编码',
|
|
12217
|
+
width: 200,
|
|
12218
|
+
ellipsis: true
|
|
12219
|
+
}, {
|
|
12220
|
+
dataIndex: 'goodPicUrl',
|
|
12221
|
+
title: '商品图片',
|
|
12222
|
+
width: 100,
|
|
12223
|
+
render: function render(picUrl) {
|
|
12224
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
12234
12225
|
style: {
|
|
12235
|
-
width:
|
|
12236
|
-
|
|
12237
|
-
|
|
12238
|
-
|
|
12226
|
+
width: '40px',
|
|
12227
|
+
height: '40px',
|
|
12228
|
+
objectFit: 'contain'
|
|
12229
|
+
},
|
|
12230
|
+
src: picUrl
|
|
12231
|
+
});
|
|
12232
|
+
}
|
|
12233
|
+
}, {
|
|
12234
|
+
dataIndex: 'brandName',
|
|
12235
|
+
title: '品牌名称',
|
|
12236
|
+
width: 200,
|
|
12237
|
+
ellipsis: true
|
|
12238
|
+
}, {
|
|
12239
|
+
dataIndex: 'retailPrice',
|
|
12240
|
+
title: "\u6807\u51C6\u552E\u4EF7",
|
|
12241
|
+
ellipsis: true,
|
|
12242
|
+
width: 100
|
|
12243
|
+
}, {
|
|
12244
|
+
dataIndex: 'costPrice',
|
|
12245
|
+
title: "\u6210\u672C\u4EF7",
|
|
12246
|
+
ellipsis: true,
|
|
12239
12247
|
width: 100
|
|
12248
|
+
}];
|
|
12249
|
+
|
|
12250
|
+
var jstColumns = [{
|
|
12251
|
+
dataIndex: 'goodName',
|
|
12252
|
+
title: '商品名称',
|
|
12253
|
+
width: 250,
|
|
12254
|
+
ellipsis: true
|
|
12255
|
+
}, {
|
|
12256
|
+
dataIndex: 'goodNo',
|
|
12257
|
+
title: '商品编码',
|
|
12258
|
+
width: 200,
|
|
12259
|
+
ellipsis: true
|
|
12260
|
+
}, {
|
|
12261
|
+
dataIndex: 'styleCode',
|
|
12262
|
+
title: '款式编码',
|
|
12263
|
+
width: 200,
|
|
12264
|
+
ellipsis: true
|
|
12265
|
+
}, {
|
|
12266
|
+
dataIndex: 'propertiesValue',
|
|
12267
|
+
title: '规格值',
|
|
12268
|
+
width: 200,
|
|
12269
|
+
ellipsis: true
|
|
12270
|
+
}, {
|
|
12271
|
+
dataIndex: 'goodPicUrl',
|
|
12272
|
+
title: '商品图片',
|
|
12273
|
+
width: 100,
|
|
12274
|
+
render: function render(picUrl) {
|
|
12275
|
+
return /*#__PURE__*/React.createElement("img", {
|
|
12276
|
+
style: {
|
|
12277
|
+
width: '40px',
|
|
12278
|
+
height: '40px',
|
|
12279
|
+
objectFit: 'contain'
|
|
12280
|
+
},
|
|
12281
|
+
src: picUrl
|
|
12282
|
+
});
|
|
12283
|
+
}
|
|
12284
|
+
}, {
|
|
12285
|
+
dataIndex: 'goodShortName',
|
|
12286
|
+
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12287
|
+
ellipsis: true,
|
|
12288
|
+
width: 250
|
|
12289
|
+
}, {
|
|
12290
|
+
dataIndex: 'brandName',
|
|
12291
|
+
title: '品牌名称',
|
|
12292
|
+
width: 200,
|
|
12293
|
+
ellipsis: true
|
|
12294
|
+
}, {
|
|
12295
|
+
dataIndex: 'retailPrice',
|
|
12296
|
+
title: "\u9500\u552E\u4EF7\u683C",
|
|
12297
|
+
ellipsis: true,
|
|
12298
|
+
width: 100,
|
|
12299
|
+
render: function render(price) {
|
|
12300
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
12301
|
+
}
|
|
12302
|
+
}, {
|
|
12303
|
+
dataIndex: 'marketPrice',
|
|
12304
|
+
title: "\u5E02\u573A\u4EF7",
|
|
12305
|
+
ellipsis: true,
|
|
12306
|
+
width: 100,
|
|
12307
|
+
render: function render(price) {
|
|
12308
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
12309
|
+
}
|
|
12310
|
+
}, {
|
|
12311
|
+
dataIndex: 'costPrice',
|
|
12312
|
+
title: "\u6210\u672C\u4EF7",
|
|
12313
|
+
ellipsis: true,
|
|
12314
|
+
width: 100,
|
|
12315
|
+
render: function render(price) {
|
|
12316
|
+
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
12317
|
+
}
|
|
12240
12318
|
}, {
|
|
12319
|
+
dataIndex: 'skuType',
|
|
12320
|
+
title: "\u5546\u54C1\u7C7B\u578B",
|
|
12321
|
+
ellipsis: true,
|
|
12322
|
+
width: 100,
|
|
12323
|
+
render: function render() {
|
|
12324
|
+
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'normal';
|
|
12325
|
+
return {
|
|
12326
|
+
combine: '组合装商品',
|
|
12327
|
+
normal: '普通商品'
|
|
12328
|
+
}[type] || type;
|
|
12329
|
+
}
|
|
12330
|
+
}];
|
|
12331
|
+
|
|
12332
|
+
var wdtColumns = [{
|
|
12241
12333
|
dataIndex: 'specName',
|
|
12242
12334
|
title: 'SKU名称',
|
|
12243
12335
|
width: 250,
|
|
@@ -12308,144 +12400,272 @@ var columns$1 = [{
|
|
|
12308
12400
|
return Number(price).toFixed(2);
|
|
12309
12401
|
}
|
|
12310
12402
|
}];
|
|
12311
|
-
|
|
12312
|
-
|
|
12313
|
-
|
|
12314
|
-
|
|
12315
|
-
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
|
|
12319
|
-
|
|
12320
|
-
|
|
12321
|
-
|
|
12322
|
-
|
|
12323
|
-
|
|
12324
|
-
|
|
12325
|
-
|
|
12326
|
-
|
|
12327
|
-
|
|
12328
|
-
|
|
12329
|
-
|
|
12330
|
-
|
|
12331
|
-
|
|
12332
|
-
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
12336
|
-
|
|
12337
|
-
|
|
12338
|
-
|
|
12339
|
-
|
|
12340
|
-
|
|
12341
|
-
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12403
|
+
|
|
12404
|
+
var bse3Columns = [{
|
|
12405
|
+
dataIndex: 'specNo',
|
|
12406
|
+
title: "SKU",
|
|
12407
|
+
ellipsis: true,
|
|
12408
|
+
width: 200
|
|
12409
|
+
}, {
|
|
12410
|
+
dataIndex: 'specId',
|
|
12411
|
+
title: "SKU ID",
|
|
12412
|
+
ellipsis: true,
|
|
12413
|
+
width: 80
|
|
12414
|
+
}, {
|
|
12415
|
+
dataIndex: 'goodName',
|
|
12416
|
+
title: "\u5546\u54C1\u540D\u79F0",
|
|
12417
|
+
ellipsis: true,
|
|
12418
|
+
width: 250
|
|
12419
|
+
}, {
|
|
12420
|
+
dataIndex: 'goodShortName',
|
|
12421
|
+
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12422
|
+
ellipsis: true,
|
|
12423
|
+
width: 250
|
|
12424
|
+
},
|
|
12425
|
+
// {
|
|
12426
|
+
// dataIndex: 'goodPicUrl',
|
|
12427
|
+
// title: `商品图片`,
|
|
12428
|
+
// ellipsis: true,
|
|
12429
|
+
// width: 100,
|
|
12430
|
+
// render: (picUrl: string) => {
|
|
12431
|
+
// return (
|
|
12432
|
+
// <img
|
|
12433
|
+
// style={{
|
|
12434
|
+
// width: '40px',
|
|
12435
|
+
// height: '40px',
|
|
12436
|
+
// objectFit: 'contain',
|
|
12437
|
+
// }}
|
|
12438
|
+
// src={picUrl}
|
|
12439
|
+
// ></img>
|
|
12440
|
+
// );
|
|
12441
|
+
// },
|
|
12442
|
+
// },
|
|
12443
|
+
{
|
|
12444
|
+
dataIndex: 'goodNo',
|
|
12445
|
+
title: "\u8D27\u53F7",
|
|
12446
|
+
ellipsis: true,
|
|
12447
|
+
width: 150
|
|
12448
|
+
}, {
|
|
12449
|
+
dataIndex: 'goodId',
|
|
12450
|
+
title: "\u8D27\u53F7ID",
|
|
12451
|
+
ellipsis: true,
|
|
12452
|
+
width: 100
|
|
12453
|
+
}, {
|
|
12454
|
+
dataIndex: 'colorName',
|
|
12455
|
+
title: "\u989C\u8272\u540D\u79F0",
|
|
12456
|
+
ellipsis: true,
|
|
12457
|
+
width: 100
|
|
12458
|
+
}, {
|
|
12459
|
+
dataIndex: 'colorCode',
|
|
12460
|
+
title: "\u989C\u8272\u4EE3\u7801",
|
|
12461
|
+
ellipsis: true,
|
|
12462
|
+
width: 100
|
|
12463
|
+
}, {
|
|
12464
|
+
dataIndex: 'sizeName',
|
|
12465
|
+
title: "\u5C3A\u7801\u540D\u79F0",
|
|
12466
|
+
ellipsis: true,
|
|
12467
|
+
width: 100
|
|
12468
|
+
}, {
|
|
12469
|
+
dataIndex: 'sizeCode',
|
|
12470
|
+
title: "\u5C3A\u7801\u4EE3\u7801",
|
|
12471
|
+
ellipsis: true,
|
|
12472
|
+
width: 100
|
|
12473
|
+
}, {
|
|
12474
|
+
dataIndex: 'brandName',
|
|
12475
|
+
title: "\u54C1\u724C\u540D\u79F0",
|
|
12476
|
+
ellipsis: true,
|
|
12477
|
+
width: 100
|
|
12478
|
+
}, {
|
|
12479
|
+
dataIndex: 'marketPrice',
|
|
12480
|
+
title: "\u5E02\u573A\u4EF7",
|
|
12481
|
+
ellipsis: true,
|
|
12482
|
+
width: 100
|
|
12483
|
+
}, {
|
|
12484
|
+
dataIndex: 'retailPrice',
|
|
12485
|
+
title: "\u552E\u4EF7",
|
|
12486
|
+
ellipsis: true,
|
|
12487
|
+
width: 100
|
|
12488
|
+
}];
|
|
12489
|
+
|
|
12490
|
+
var getColumnsMap = function getColumnsMap() {
|
|
12491
|
+
return cloneDeep({
|
|
12492
|
+
gy: gyColumns,
|
|
12493
|
+
jst: jstColumns,
|
|
12494
|
+
wdt: wdtColumns,
|
|
12495
|
+
bse3: bse3Columns
|
|
12496
|
+
});
|
|
12497
|
+
};
|
|
12498
|
+
var getColumnsBaseInfo = function getColumnsBaseInfo() {
|
|
12499
|
+
var clone_columnsMap = cloneDeep(getColumnsMap());
|
|
12500
|
+
var newColumns = {};
|
|
12501
|
+
Object.keys(clone_columnsMap).forEach(function (key) {
|
|
12502
|
+
newColumns[key] = clone_columnsMap[key].map(function (col) {
|
|
12503
|
+
return {
|
|
12504
|
+
title: col.title,
|
|
12505
|
+
dataIndex: col.dataIndex
|
|
12506
|
+
};
|
|
12507
|
+
});
|
|
12508
|
+
});
|
|
12509
|
+
return newColumns;
|
|
12510
|
+
};
|
|
12511
|
+
var index$2 = getColumnsBaseInfo();
|
|
12512
|
+
|
|
12513
|
+
var initNo = {
|
|
12514
|
+
dataIndex: 'index',
|
|
12515
|
+
title: 'NO',
|
|
12516
|
+
render: function render(val, record, index) {
|
|
12517
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
12518
|
+
style: {
|
|
12519
|
+
width: 25
|
|
12520
|
+
}
|
|
12521
|
+
}, index + 1);
|
|
12522
|
+
},
|
|
12523
|
+
width: 80
|
|
12524
|
+
};
|
|
12525
|
+
var asyncGetData = function asyncGetData(type) {
|
|
12526
|
+
return extendRequest('/qy/condition/list', {
|
|
12527
|
+
method: 'get',
|
|
12528
|
+
params: {
|
|
12529
|
+
typeKey: "erp_select_modal_".concat(type),
|
|
12530
|
+
configScope: 'company' //按企业查询
|
|
12531
|
+
}
|
|
12532
|
+
}).then(function (res) {
|
|
12533
|
+
if (res && res.data && res.data[0] && res.data[0].queryInfo && res.data[0].queryInfo.length > 0) {
|
|
12534
|
+
return JSON.parse(res.data[0].queryInfo);
|
|
12535
|
+
} else {
|
|
12536
|
+
return getColumnsMap()[type];
|
|
12537
|
+
}
|
|
12538
|
+
});
|
|
12539
|
+
};
|
|
12540
|
+
var useGetColumns = (function (type) {
|
|
12541
|
+
var _useState = useState([]),
|
|
12542
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
12543
|
+
columns = _useState2[0],
|
|
12544
|
+
setColumns = _useState2[1];
|
|
12545
|
+
var _useState3 = useState(false),
|
|
12546
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
12547
|
+
loading = _useState4[0],
|
|
12548
|
+
setLoading = _useState4[1];
|
|
12549
|
+
var showColumnsDataIndexList = useMemo(function () {
|
|
12550
|
+
return columns.filter(function (item) {
|
|
12551
|
+
return Object.hasOwn(item, 'dataIndex');
|
|
12552
|
+
}).map(function (item) {
|
|
12553
|
+
return item.dataIndex;
|
|
12554
|
+
});
|
|
12555
|
+
}, [columns]);
|
|
12556
|
+
useEffect(function () {
|
|
12557
|
+
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
12558
|
+
var initColumns, requestSortColumns, list, initDataIndexList;
|
|
12559
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12560
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12561
|
+
case 0:
|
|
12562
|
+
initColumns = getColumnsMap()[type];
|
|
12563
|
+
setLoading(true);
|
|
12564
|
+
_context.next = 4;
|
|
12565
|
+
return asyncGetData(type);
|
|
12566
|
+
case 4:
|
|
12567
|
+
requestSortColumns = _context.sent;
|
|
12568
|
+
setLoading(false);
|
|
12569
|
+
list = [initNo];
|
|
12570
|
+
if (requestSortColumns && requestSortColumns.length > 0) {
|
|
12571
|
+
initDataIndexList = initColumns.map(function (item) {
|
|
12572
|
+
return item.dataIndex;
|
|
12573
|
+
});
|
|
12574
|
+
requestSortColumns.forEach(function (item) {
|
|
12575
|
+
var dataIndex = item.dataIndex,
|
|
12576
|
+
show = item.show;
|
|
12577
|
+
if (show !== false && initDataIndexList.includes(dataIndex)) {
|
|
12578
|
+
list.push(initColumns.find(function (item) {
|
|
12579
|
+
return item.dataIndex === dataIndex;
|
|
12580
|
+
}));
|
|
12581
|
+
}
|
|
12582
|
+
});
|
|
12583
|
+
}
|
|
12584
|
+
setColumns(list);
|
|
12585
|
+
case 9:
|
|
12586
|
+
case "end":
|
|
12587
|
+
return _context.stop();
|
|
12588
|
+
}
|
|
12589
|
+
}, _callee);
|
|
12590
|
+
}))();
|
|
12374
12591
|
}, []);
|
|
12375
|
-
|
|
12592
|
+
return [columns, showColumnsDataIndexList, loading];
|
|
12593
|
+
});
|
|
12594
|
+
|
|
12595
|
+
function SearchForm(_ref) {
|
|
12596
|
+
var searchFormData = _ref.searchFormData,
|
|
12597
|
+
form = _ref.form,
|
|
12598
|
+
showColumnsDataIndexList = _ref.showColumnsDataIndexList,
|
|
12599
|
+
submit = _ref.submit,
|
|
12600
|
+
reset = _ref.reset;
|
|
12601
|
+
var _useState = useState({}),
|
|
12602
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
12603
|
+
searchData = _useState2[0],
|
|
12604
|
+
setSearchData = _useState2[1];
|
|
12605
|
+
var submitForm = /*#__PURE__*/function () {
|
|
12606
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(submitBtnClickFlag) {
|
|
12607
|
+
var values;
|
|
12608
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12609
|
+
while (1) switch (_context.prev = _context.next) {
|
|
12610
|
+
case 0:
|
|
12611
|
+
_context.next = 2;
|
|
12612
|
+
return form.getFieldsValue();
|
|
12613
|
+
case 2:
|
|
12614
|
+
values = _context.sent;
|
|
12615
|
+
if (submitBtnClickFlag || !isEqual(values, searchData)) {
|
|
12616
|
+
setSearchData(values);
|
|
12617
|
+
submit();
|
|
12618
|
+
}
|
|
12619
|
+
case 4:
|
|
12620
|
+
case "end":
|
|
12621
|
+
return _context.stop();
|
|
12622
|
+
}
|
|
12623
|
+
}, _callee);
|
|
12624
|
+
}));
|
|
12625
|
+
return function submitForm(_x) {
|
|
12626
|
+
return _ref2.apply(this, arguments);
|
|
12627
|
+
};
|
|
12628
|
+
}();
|
|
12629
|
+
return /*#__PURE__*/React.createElement(Form, {
|
|
12376
12630
|
layout: "inline",
|
|
12377
12631
|
form: form
|
|
12378
|
-
},
|
|
12379
|
-
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
|
|
12384
|
-
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12403
|
-
|
|
12404
|
-
|
|
12405
|
-
|
|
12406
|
-
|
|
12407
|
-
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
}
|
|
12416
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
12417
|
-
placeholder: "\u5546\u54C1\u7F16\u7801",
|
|
12418
|
-
allowClear: true,
|
|
12419
|
-
style: {
|
|
12420
|
-
width: 150
|
|
12421
|
-
}
|
|
12422
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12423
|
-
name: "brandIds",
|
|
12424
|
-
style: {
|
|
12425
|
-
marginBottom: '12px'
|
|
12426
|
-
}
|
|
12427
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
12428
|
-
mode: "multiple",
|
|
12429
|
-
showSearch: true,
|
|
12430
|
-
allowClear: true,
|
|
12431
|
-
filterOption: function filterOption(input, option) {
|
|
12432
|
-
return option.label.includes(input);
|
|
12433
|
-
},
|
|
12434
|
-
style: {
|
|
12435
|
-
width: 150
|
|
12436
|
-
},
|
|
12437
|
-
placeholder: "\u54C1\u724C",
|
|
12438
|
-
options: brandList.filter(function (item) {
|
|
12439
|
-
return !item.isDisabled;
|
|
12440
|
-
}).map(function (_ref2) {
|
|
12441
|
-
var value = _ref2.brandId,
|
|
12442
|
-
label = _ref2.brandName;
|
|
12443
|
-
return {
|
|
12444
|
-
value: value,
|
|
12445
|
-
label: label
|
|
12446
|
-
};
|
|
12447
|
-
})
|
|
12448
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12632
|
+
}, searchFormData.map(function (item) {
|
|
12633
|
+
var label = item.label,
|
|
12634
|
+
name = item.name,
|
|
12635
|
+
dataIndex = item.dataIndex,
|
|
12636
|
+
type = item.type,
|
|
12637
|
+
_item$formItemProps = item.formItemProps,
|
|
12638
|
+
formItemProps = _item$formItemProps === void 0 ? {} : _item$formItemProps;
|
|
12639
|
+
if (!showColumnsDataIndexList.includes(dataIndex || name)) return;
|
|
12640
|
+
return /*#__PURE__*/React.createElement(Form.Item, {
|
|
12641
|
+
name: name,
|
|
12642
|
+
style: {
|
|
12643
|
+
marginBottom: '12px'
|
|
12644
|
+
}
|
|
12645
|
+
}, type === 'select' ? /*#__PURE__*/React.createElement(Select, _objectSpread2({
|
|
12646
|
+
placeholder: label,
|
|
12647
|
+
showSearch: true,
|
|
12648
|
+
allowClear: true,
|
|
12649
|
+
style: {
|
|
12650
|
+
width: 150
|
|
12651
|
+
},
|
|
12652
|
+
onBlur: function onBlur() {
|
|
12653
|
+
return submitForm();
|
|
12654
|
+
}
|
|
12655
|
+
}, formItemProps)) : /*#__PURE__*/React.createElement(Input, _objectSpread2({
|
|
12656
|
+
placeholder: label,
|
|
12657
|
+
allowClear: true,
|
|
12658
|
+
style: {
|
|
12659
|
+
width: 150
|
|
12660
|
+
},
|
|
12661
|
+
onPressEnter: function onPressEnter() {
|
|
12662
|
+
return submitForm();
|
|
12663
|
+
},
|
|
12664
|
+
onBlur: function onBlur() {
|
|
12665
|
+
return submitForm();
|
|
12666
|
+
}
|
|
12667
|
+
}, formItemProps)));
|
|
12668
|
+
}), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12449
12669
|
style: {
|
|
12450
12670
|
marginBottom: '12px'
|
|
12451
12671
|
}
|
|
@@ -12454,10 +12674,154 @@ var GoodList = function GoodList(props, ref) {
|
|
|
12454
12674
|
style: {
|
|
12455
12675
|
marginRight: '8px'
|
|
12456
12676
|
},
|
|
12457
|
-
onClick:
|
|
12677
|
+
onClick: function onClick() {
|
|
12678
|
+
return submitForm(true);
|
|
12679
|
+
}
|
|
12458
12680
|
}, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
|
|
12459
12681
|
onClick: reset
|
|
12460
12682
|
}, "\u91CD\u7F6E")));
|
|
12683
|
+
}
|
|
12684
|
+
|
|
12685
|
+
var getTableData = function getTableData(_ref, formData) {
|
|
12686
|
+
var _formData$brandIds;
|
|
12687
|
+
var current = _ref.current,
|
|
12688
|
+
pageSize = _ref.pageSize;
|
|
12689
|
+
var data = {
|
|
12690
|
+
brandIds: ((_formData$brandIds = formData.brandIds) === null || _formData$brandIds === void 0 ? void 0 : _formData$brandIds.length) ? formData.brandIds : null,
|
|
12691
|
+
skuCode: formData.skuCode || null,
|
|
12692
|
+
skuName: formData.skuName || null,
|
|
12693
|
+
goodName: formData.goodName || null,
|
|
12694
|
+
goodNo: formData.goodNo || null
|
|
12695
|
+
};
|
|
12696
|
+
return extendRequest('/qy/gdfw/product/product/page', {
|
|
12697
|
+
method: 'post',
|
|
12698
|
+
data: _objectSpread2({
|
|
12699
|
+
pageSize: pageSize,
|
|
12700
|
+
pageNo: current,
|
|
12701
|
+
platform: 'WDT_ERP'
|
|
12702
|
+
}, data)
|
|
12703
|
+
}).then(function (res) {
|
|
12704
|
+
var _res$data = res.data,
|
|
12705
|
+
_res$data$productSkuL = _res$data.productSkuList,
|
|
12706
|
+
productSkuList = _res$data$productSkuL === void 0 ? [] : _res$data$productSkuL,
|
|
12707
|
+
_res$data$total = _res$data.total,
|
|
12708
|
+
total = _res$data$total === void 0 ? 0 : _res$data$total;
|
|
12709
|
+
var newProducts = productSkuList.map(function (item, index) {
|
|
12710
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
12711
|
+
index: index + 1
|
|
12712
|
+
});
|
|
12713
|
+
});
|
|
12714
|
+
return {
|
|
12715
|
+
total: total,
|
|
12716
|
+
list: newProducts
|
|
12717
|
+
};
|
|
12718
|
+
});
|
|
12719
|
+
};
|
|
12720
|
+
var GoodList = function GoodList(props, ref) {
|
|
12721
|
+
var _useState = useState([]),
|
|
12722
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
12723
|
+
selectList = _useState2[0],
|
|
12724
|
+
setSelect = _useState2[1];
|
|
12725
|
+
var _useState3 = useState([]),
|
|
12726
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
12727
|
+
selectIds = _useState4[0],
|
|
12728
|
+
setSelectIds = _useState4[1];
|
|
12729
|
+
var _useState5 = useState([]),
|
|
12730
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
12731
|
+
brandList = _useState6[0],
|
|
12732
|
+
setBrandList = _useState6[1];
|
|
12733
|
+
var _useGetColumns = useGetColumns('wdt'),
|
|
12734
|
+
_useGetColumns2 = _slicedToArray(_useGetColumns, 3),
|
|
12735
|
+
columns = _useGetColumns2[0],
|
|
12736
|
+
showColumnsDataIndexList = _useGetColumns2[1],
|
|
12737
|
+
loading = _useGetColumns2[2];
|
|
12738
|
+
useImperativeHandle(ref, function () {
|
|
12739
|
+
return {
|
|
12740
|
+
getSelectGoodList: function getSelectGoodList() {
|
|
12741
|
+
return selectList;
|
|
12742
|
+
}
|
|
12743
|
+
};
|
|
12744
|
+
});
|
|
12745
|
+
var _Form$useForm = Form.useForm(),
|
|
12746
|
+
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
12747
|
+
form = _Form$useForm2[0];
|
|
12748
|
+
var _useAntdTable = useAntdTable(getTableData, {
|
|
12749
|
+
defaultPageSize: 10,
|
|
12750
|
+
form: form
|
|
12751
|
+
}),
|
|
12752
|
+
tableProps = _useAntdTable.tableProps,
|
|
12753
|
+
search = _useAntdTable.search,
|
|
12754
|
+
params = _useAntdTable.params;
|
|
12755
|
+
var submit = search.submit,
|
|
12756
|
+
reset = search.reset;
|
|
12757
|
+
var setGoodBrandList = function setGoodBrandList() {
|
|
12758
|
+
var list = [];
|
|
12759
|
+
var pageNo = 0;
|
|
12760
|
+
var pageSize = 100;
|
|
12761
|
+
var getMore = function getMore() {
|
|
12762
|
+
extendRequest('/qy/gdfw/wdt/erp/goodBrand/list', {
|
|
12763
|
+
method: 'post',
|
|
12764
|
+
data: {
|
|
12765
|
+
pageSize: pageSize,
|
|
12766
|
+
pageNo: pageNo
|
|
12767
|
+
}
|
|
12768
|
+
}).then(function (res) {
|
|
12769
|
+
var _res$data2;
|
|
12770
|
+
if (res.success && (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.detailList)) {
|
|
12771
|
+
var _res$data3, _res$data4;
|
|
12772
|
+
list.push.apply(list, _toConsumableArray((res === null || res === void 0 ? void 0 : (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.detailList) || []));
|
|
12773
|
+
if ((res === null || res === void 0 ? void 0 : (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.detailList.length) === pageSize) {
|
|
12774
|
+
pageNo += 1;
|
|
12775
|
+
getMore();
|
|
12776
|
+
} else {
|
|
12777
|
+
setBrandList(list);
|
|
12778
|
+
}
|
|
12779
|
+
} else {
|
|
12780
|
+
reject(res);
|
|
12781
|
+
}
|
|
12782
|
+
}).catch(console.error);
|
|
12783
|
+
};
|
|
12784
|
+
getMore();
|
|
12785
|
+
};
|
|
12786
|
+
React.useEffect(function () {
|
|
12787
|
+
setGoodBrandList();
|
|
12788
|
+
}, []);
|
|
12789
|
+
var searchFormData = [{
|
|
12790
|
+
label: 'SKU名称',
|
|
12791
|
+
name: 'skuName',
|
|
12792
|
+
dataIndex: 'specName'
|
|
12793
|
+
}, {
|
|
12794
|
+
label: 'SKU编码',
|
|
12795
|
+
name: 'skuCode',
|
|
12796
|
+
dataIndex: 'specNo'
|
|
12797
|
+
}, {
|
|
12798
|
+
label: '商品名称',
|
|
12799
|
+
name: 'goodName'
|
|
12800
|
+
}, {
|
|
12801
|
+
label: '商品编码',
|
|
12802
|
+
name: 'goodNo'
|
|
12803
|
+
}, {
|
|
12804
|
+
label: '品牌',
|
|
12805
|
+
name: 'brandIds',
|
|
12806
|
+
dataIndex: 'brandName',
|
|
12807
|
+
type: 'select',
|
|
12808
|
+
formItemProps: {
|
|
12809
|
+
mode: 'multiple',
|
|
12810
|
+
filterOption: function filterOption(input, option) {
|
|
12811
|
+
return option.label.includes(input);
|
|
12812
|
+
},
|
|
12813
|
+
options: brandList.filter(function (item) {
|
|
12814
|
+
return !item.isDisabled;
|
|
12815
|
+
}).map(function (_ref2) {
|
|
12816
|
+
var value = _ref2.brandId,
|
|
12817
|
+
label = _ref2.brandName;
|
|
12818
|
+
return {
|
|
12819
|
+
value: value,
|
|
12820
|
+
label: label
|
|
12821
|
+
};
|
|
12822
|
+
})
|
|
12823
|
+
}
|
|
12824
|
+
}];
|
|
12461
12825
|
var rowSelection = {
|
|
12462
12826
|
selectedRowKeys: selectIds,
|
|
12463
12827
|
fixed: true,
|
|
@@ -12513,7 +12877,7 @@ var GoodList = function GoodList(props, ref) {
|
|
|
12513
12877
|
}
|
|
12514
12878
|
}, "\u5220\u9664");
|
|
12515
12879
|
}
|
|
12516
|
-
}].concat(takeRight(columns
|
|
12880
|
+
}].concat(takeRight(columns, columns.length - 1));
|
|
12517
12881
|
return selectList.length ? /*#__PURE__*/React.createElement("div", {
|
|
12518
12882
|
style: {
|
|
12519
12883
|
width: '100%',
|
|
@@ -12535,14 +12899,23 @@ var GoodList = function GoodList(props, ref) {
|
|
|
12535
12899
|
}
|
|
12536
12900
|
})) : null;
|
|
12537
12901
|
};
|
|
12538
|
-
return /*#__PURE__*/React.createElement(
|
|
12902
|
+
return /*#__PURE__*/React.createElement(Skeleton, {
|
|
12903
|
+
active: true,
|
|
12904
|
+
loading: loading
|
|
12905
|
+
}, /*#__PURE__*/React.createElement(SearchForm, {
|
|
12906
|
+
searchFormData: searchFormData,
|
|
12907
|
+
form: form,
|
|
12908
|
+
showColumnsDataIndexList: showColumnsDataIndexList,
|
|
12909
|
+
submit: submit,
|
|
12910
|
+
reset: reset
|
|
12911
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
12539
12912
|
style: {
|
|
12540
12913
|
marginTop: '4px'
|
|
12541
12914
|
}
|
|
12542
12915
|
}, /*#__PURE__*/React.createElement(Table, _objectSpread2({
|
|
12543
12916
|
rowSelection: rowSelection,
|
|
12544
12917
|
rowKey: "specNo",
|
|
12545
|
-
columns: columns
|
|
12918
|
+
columns: columns,
|
|
12546
12919
|
scroll: {
|
|
12547
12920
|
x: '100%',
|
|
12548
12921
|
y: 250
|
|
@@ -12599,124 +12972,42 @@ var GoodsModal$3 = function GoodsModal(props, ref) {
|
|
|
12599
12972
|
ref: wdtGoodListRef
|
|
12600
12973
|
})));
|
|
12601
12974
|
};
|
|
12602
|
-
var WdtGoodsModal = /*#__PURE__*/forwardRef(GoodsModal$3);
|
|
12603
|
-
|
|
12604
|
-
var getTableData$1 = function getTableData(_ref, formData) {
|
|
12605
|
-
var current = _ref.current,
|
|
12606
|
-
pageSize = _ref.pageSize;
|
|
12607
|
-
return extendRequest('/qy/gdfw/product/product/page', {
|
|
12608
|
-
method: 'post',
|
|
12609
|
-
data: _objectSpread2({
|
|
12610
|
-
pageSize: pageSize,
|
|
12611
|
-
pageNo: current,
|
|
12612
|
-
platform: 'JST_ERP'
|
|
12613
|
-
}, formData)
|
|
12614
|
-
}).then(function (res) {
|
|
12615
|
-
var _res$data = res.data,
|
|
12616
|
-
_res$data$productSkuL = _res$data.productSkuList,
|
|
12617
|
-
productSkuList = _res$data$productSkuL === void 0 ? [] : _res$data$productSkuL,
|
|
12618
|
-
_res$data$total = _res$data.total,
|
|
12619
|
-
total = _res$data$total === void 0 ? 0 : _res$data$total;
|
|
12620
|
-
var newProducts = productSkuList.map(function (item, index) {
|
|
12621
|
-
return _objectSpread2({}, item);
|
|
12622
|
-
});
|
|
12623
|
-
return {
|
|
12624
|
-
total: total,
|
|
12625
|
-
list: newProducts
|
|
12626
|
-
};
|
|
12627
|
-
});
|
|
12628
|
-
};
|
|
12629
|
-
var columns$2 = [{
|
|
12630
|
-
dataIndex: 'index',
|
|
12631
|
-
title: 'NO',
|
|
12632
|
-
render: function render(val, record, index) {
|
|
12633
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
12634
|
-
style: {
|
|
12635
|
-
width: 25
|
|
12636
|
-
}
|
|
12637
|
-
}, index + 1);
|
|
12638
|
-
},
|
|
12639
|
-
width: 80
|
|
12640
|
-
}, {
|
|
12641
|
-
dataIndex: 'goodName',
|
|
12642
|
-
title: '商品名称',
|
|
12643
|
-
width: 250,
|
|
12644
|
-
ellipsis: true
|
|
12645
|
-
}, {
|
|
12646
|
-
dataIndex: 'goodNo',
|
|
12647
|
-
title: '商品编码',
|
|
12648
|
-
width: 200,
|
|
12649
|
-
ellipsis: true
|
|
12650
|
-
}, {
|
|
12651
|
-
dataIndex: 'styleCode',
|
|
12652
|
-
title: '款式编码',
|
|
12653
|
-
width: 200,
|
|
12654
|
-
ellipsis: true
|
|
12655
|
-
}, {
|
|
12656
|
-
dataIndex: 'propertiesValue',
|
|
12657
|
-
title: '规格值',
|
|
12658
|
-
width: 200,
|
|
12659
|
-
ellipsis: true
|
|
12660
|
-
}, {
|
|
12661
|
-
dataIndex: 'goodPicUrl',
|
|
12662
|
-
title: '商品图片',
|
|
12663
|
-
width: 100,
|
|
12664
|
-
render: function render(picUrl) {
|
|
12665
|
-
return /*#__PURE__*/React.createElement("img", {
|
|
12666
|
-
style: {
|
|
12667
|
-
width: '40px',
|
|
12668
|
-
height: '40px',
|
|
12669
|
-
objectFit: 'contain'
|
|
12670
|
-
},
|
|
12671
|
-
src: picUrl
|
|
12975
|
+
var WdtGoodsModal = /*#__PURE__*/forwardRef(GoodsModal$3);
|
|
12976
|
+
|
|
12977
|
+
var getTableData$1 = function getTableData(_ref, formData) {
|
|
12978
|
+
var current = _ref.current,
|
|
12979
|
+
pageSize = _ref.pageSize;
|
|
12980
|
+
return extendRequest('/qy/gdfw/product/product/page', {
|
|
12981
|
+
method: 'post',
|
|
12982
|
+
data: _objectSpread2({
|
|
12983
|
+
pageSize: pageSize,
|
|
12984
|
+
pageNo: current,
|
|
12985
|
+
platform: 'JST_ERP'
|
|
12986
|
+
}, formData)
|
|
12987
|
+
}).then(function (res) {
|
|
12988
|
+
var _res$data = res.data,
|
|
12989
|
+
_res$data$productSkuL = _res$data.productSkuList,
|
|
12990
|
+
productSkuList = _res$data$productSkuL === void 0 ? [] : _res$data$productSkuL,
|
|
12991
|
+
_res$data$total = _res$data.total,
|
|
12992
|
+
total = _res$data$total === void 0 ? 0 : _res$data$total;
|
|
12993
|
+
var newProducts = productSkuList.map(function (item, index) {
|
|
12994
|
+
return _objectSpread2({}, item);
|
|
12672
12995
|
});
|
|
12673
|
-
|
|
12674
|
-
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
width: 200,
|
|
12683
|
-
ellipsis: true
|
|
12684
|
-
}, {
|
|
12685
|
-
dataIndex: 'retailPrice',
|
|
12686
|
-
title: "\u9500\u552E\u4EF7\u683C",
|
|
12687
|
-
ellipsis: true,
|
|
12688
|
-
width: 100,
|
|
12689
|
-
render: function render(price) {
|
|
12690
|
-
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
12691
|
-
}
|
|
12692
|
-
}, {
|
|
12693
|
-
dataIndex: 'marketPrice',
|
|
12694
|
-
title: "\u5E02\u573A\u4EF7",
|
|
12695
|
-
ellipsis: true,
|
|
12696
|
-
width: 100,
|
|
12697
|
-
render: function render(price) {
|
|
12698
|
-
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
12699
|
-
}
|
|
12996
|
+
return {
|
|
12997
|
+
total: total,
|
|
12998
|
+
list: newProducts
|
|
12999
|
+
};
|
|
13000
|
+
});
|
|
13001
|
+
};
|
|
13002
|
+
var searchFormData = [{
|
|
13003
|
+
label: '商品名称',
|
|
13004
|
+
name: 'goodName'
|
|
12700
13005
|
}, {
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
ellipsis: true,
|
|
12704
|
-
width: 100,
|
|
12705
|
-
render: function render(price) {
|
|
12706
|
-
return price || price === 0 ? Number(price).toFixed(2) : '';
|
|
12707
|
-
}
|
|
13006
|
+
label: '商品编码',
|
|
13007
|
+
name: 'goodNo'
|
|
12708
13008
|
}, {
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
ellipsis: true,
|
|
12712
|
-
width: 100,
|
|
12713
|
-
render: function render() {
|
|
12714
|
-
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'normal';
|
|
12715
|
-
return {
|
|
12716
|
-
'combine': '组合装商品',
|
|
12717
|
-
'normal': '普通商品'
|
|
12718
|
-
}[type] || type;
|
|
12719
|
-
}
|
|
13009
|
+
label: '款式编码',
|
|
13010
|
+
name: 'styleCode'
|
|
12720
13011
|
}];
|
|
12721
13012
|
var GoodList$1 = function GoodList(props, ref) {
|
|
12722
13013
|
var _useState = useState([]),
|
|
@@ -12727,6 +13018,11 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12727
13018
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
12728
13019
|
selectIds = _useState4[0],
|
|
12729
13020
|
setSelectIds = _useState4[1];
|
|
13021
|
+
var _useGetColumns = useGetColumns('jst'),
|
|
13022
|
+
_useGetColumns2 = _slicedToArray(_useGetColumns, 3),
|
|
13023
|
+
columns = _useGetColumns2[0],
|
|
13024
|
+
showColumnsDataIndexList = _useGetColumns2[1],
|
|
13025
|
+
loading = _useGetColumns2[2];
|
|
12730
13026
|
useImperativeHandle(ref, function () {
|
|
12731
13027
|
return {
|
|
12732
13028
|
getSelectGoodList: function getSelectGoodList() {
|
|
@@ -12746,55 +13042,6 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12746
13042
|
params = _useAntdTable.params;
|
|
12747
13043
|
var submit = search.submit,
|
|
12748
13044
|
reset = search.reset;
|
|
12749
|
-
var advanceSearchForm = /*#__PURE__*/React.createElement(Form, {
|
|
12750
|
-
layout: "inline",
|
|
12751
|
-
form: form
|
|
12752
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
12753
|
-
name: "goodName",
|
|
12754
|
-
style: {
|
|
12755
|
-
marginBottom: '12px'
|
|
12756
|
-
}
|
|
12757
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
12758
|
-
placeholder: "\u5546\u54C1\u540D\u79F0",
|
|
12759
|
-
allowClear: true,
|
|
12760
|
-
style: {
|
|
12761
|
-
width: 150
|
|
12762
|
-
}
|
|
12763
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12764
|
-
name: "goodNo",
|
|
12765
|
-
style: {
|
|
12766
|
-
marginBottom: '12px'
|
|
12767
|
-
}
|
|
12768
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
12769
|
-
placeholder: "\u5546\u54C1\u7F16\u7801",
|
|
12770
|
-
allowClear: true,
|
|
12771
|
-
style: {
|
|
12772
|
-
width: 150
|
|
12773
|
-
}
|
|
12774
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12775
|
-
name: "styleCode",
|
|
12776
|
-
style: {
|
|
12777
|
-
marginBottom: '12px'
|
|
12778
|
-
}
|
|
12779
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
12780
|
-
placeholder: "\u6B3E\u5F0F\u7F16\u7801",
|
|
12781
|
-
allowClear: true,
|
|
12782
|
-
style: {
|
|
12783
|
-
width: 150
|
|
12784
|
-
}
|
|
12785
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12786
|
-
style: {
|
|
12787
|
-
marginBottom: '12px'
|
|
12788
|
-
}
|
|
12789
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
12790
|
-
type: "primary",
|
|
12791
|
-
style: {
|
|
12792
|
-
marginRight: '8px'
|
|
12793
|
-
},
|
|
12794
|
-
onClick: submit
|
|
12795
|
-
}, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
|
|
12796
|
-
onClick: reset
|
|
12797
|
-
}, "\u91CD\u7F6E")));
|
|
12798
13045
|
var rowSelection = {
|
|
12799
13046
|
selectedRowKeys: selectIds,
|
|
12800
13047
|
fixed: true,
|
|
@@ -12859,7 +13106,7 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12859
13106
|
}
|
|
12860
13107
|
}, "\u5220\u9664");
|
|
12861
13108
|
}
|
|
12862
|
-
}].concat(takeRight(columns
|
|
13109
|
+
}].concat(takeRight(columns, columns.length - 1));
|
|
12863
13110
|
return selectList.length ? /*#__PURE__*/React.createElement("div", {
|
|
12864
13111
|
style: {
|
|
12865
13112
|
width: '100%',
|
|
@@ -12881,14 +13128,23 @@ var GoodList$1 = function GoodList(props, ref) {
|
|
|
12881
13128
|
}
|
|
12882
13129
|
})) : null;
|
|
12883
13130
|
};
|
|
12884
|
-
return /*#__PURE__*/React.createElement(
|
|
13131
|
+
return /*#__PURE__*/React.createElement(Skeleton, {
|
|
13132
|
+
active: true,
|
|
13133
|
+
loading: loading
|
|
13134
|
+
}, /*#__PURE__*/React.createElement(SearchForm, {
|
|
13135
|
+
searchFormData: searchFormData,
|
|
13136
|
+
form: form,
|
|
13137
|
+
showColumnsDataIndexList: showColumnsDataIndexList,
|
|
13138
|
+
submit: submit,
|
|
13139
|
+
reset: reset
|
|
13140
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
12885
13141
|
style: {
|
|
12886
13142
|
marginTop: '4px'
|
|
12887
13143
|
}
|
|
12888
13144
|
}, /*#__PURE__*/React.createElement(Table, _objectSpread2({
|
|
12889
13145
|
rowSelection: rowSelection,
|
|
12890
13146
|
rowKey: "goodNo",
|
|
12891
|
-
columns: columns
|
|
13147
|
+
columns: columns,
|
|
12892
13148
|
scroll: {
|
|
12893
13149
|
x: '100%',
|
|
12894
13150
|
y: 250
|
|
@@ -12924,164 +13180,84 @@ var GyGoodsModal = function GyGoodsModal(props, ref) {
|
|
|
12924
13180
|
setVisible = _useState2[1];
|
|
12925
13181
|
var _useState3 = useState([]),
|
|
12926
13182
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
12927
|
-
selectedRows = _useState4[0],
|
|
12928
|
-
setSelectedRows = _useState4[1];
|
|
12929
|
-
var gyGoodsListRef = useRef(null);
|
|
12930
|
-
var _onCancel = function onCancel() {
|
|
12931
|
-
setVisible(false);
|
|
12932
|
-
};
|
|
12933
|
-
var onOk = function onOk() {
|
|
12934
|
-
var _gyGoodsListRef$curre;
|
|
12935
|
-
var selectedList = ((_gyGoodsListRef$curre = gyGoodsListRef.current) === null || _gyGoodsListRef$curre === void 0 ? void 0 : _gyGoodsListRef$curre.getSelectGoodList()) || [];
|
|
12936
|
-
onSubmit(selectedList);
|
|
12937
|
-
_onCancel();
|
|
12938
|
-
};
|
|
12939
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, visible && /*#__PURE__*/React.createElement(Modal, {
|
|
12940
|
-
title: '选择商品',
|
|
12941
|
-
okText: '确认',
|
|
12942
|
-
cancelText: '取消',
|
|
12943
|
-
visible: visible,
|
|
12944
|
-
width: width || 850,
|
|
12945
|
-
onCancel: function onCancel() {
|
|
12946
|
-
_onCancel();
|
|
12947
|
-
},
|
|
12948
|
-
onOk: onOk,
|
|
12949
|
-
wrapClassName: "goodModal"
|
|
12950
|
-
}, /*#__PURE__*/React.createElement(GyGoodsList, {
|
|
12951
|
-
ref: gyGoodsListRef,
|
|
12952
|
-
selectedRows: selectedRows
|
|
12953
|
-
})));
|
|
12954
|
-
};
|
|
12955
|
-
var JstGoodsModal = /*#__PURE__*/forwardRef(GyGoodsModal);
|
|
12956
|
-
|
|
12957
|
-
var getTableData$2 = function getTableData(_ref, formData) {
|
|
12958
|
-
var current = _ref.current,
|
|
12959
|
-
pageSize = _ref.pageSize;
|
|
12960
|
-
var data = {
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12964
|
-
|
|
12965
|
-
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
|
|
12970
|
-
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
12974
|
-
|
|
12975
|
-
|
|
12976
|
-
|
|
12977
|
-
_res$data$
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
|
|
12989
|
-
};
|
|
12990
|
-
|
|
12991
|
-
|
|
12992
|
-
|
|
12993
|
-
|
|
12994
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
12995
|
-
style: {
|
|
12996
|
-
width: 25
|
|
12997
|
-
}
|
|
12998
|
-
}, index + 1);
|
|
12999
|
-
},
|
|
13000
|
-
width: 80
|
|
13001
|
-
}, {
|
|
13002
|
-
dataIndex: 'specNo',
|
|
13003
|
-
title: "SKU",
|
|
13004
|
-
ellipsis: true,
|
|
13005
|
-
width: 200
|
|
13006
|
-
}, {
|
|
13007
|
-
dataIndex: 'specId',
|
|
13008
|
-
title: "SKU ID",
|
|
13009
|
-
ellipsis: true,
|
|
13010
|
-
width: 80
|
|
13011
|
-
}, {
|
|
13012
|
-
dataIndex: 'goodName',
|
|
13013
|
-
title: "\u5546\u54C1\u540D\u79F0",
|
|
13014
|
-
ellipsis: true,
|
|
13015
|
-
width: 250
|
|
13016
|
-
}, {
|
|
13017
|
-
dataIndex: 'goodShortName',
|
|
13018
|
-
title: "\u5546\u54C1\u7B80\u79F0",
|
|
13019
|
-
ellipsis: true,
|
|
13020
|
-
width: 250
|
|
13021
|
-
},
|
|
13022
|
-
// {
|
|
13023
|
-
// dataIndex: 'goodPicUrl',
|
|
13024
|
-
// title: `商品图片`,
|
|
13025
|
-
// ellipsis: true,
|
|
13026
|
-
// width: 100,
|
|
13027
|
-
// render: (picUrl: string) => {
|
|
13028
|
-
// return (
|
|
13029
|
-
// <img
|
|
13030
|
-
// style={{
|
|
13031
|
-
// width: '40px',
|
|
13032
|
-
// height: '40px',
|
|
13033
|
-
// objectFit: 'contain',
|
|
13034
|
-
// }}
|
|
13035
|
-
// src={picUrl}
|
|
13036
|
-
// ></img>
|
|
13037
|
-
// );
|
|
13038
|
-
// },
|
|
13039
|
-
// },
|
|
13040
|
-
{
|
|
13041
|
-
dataIndex: 'goodNo',
|
|
13042
|
-
title: "\u8D27\u53F7",
|
|
13043
|
-
ellipsis: true,
|
|
13044
|
-
width: 150
|
|
13045
|
-
}, {
|
|
13046
|
-
dataIndex: 'goodId',
|
|
13047
|
-
title: "\u8D27\u53F7ID",
|
|
13048
|
-
ellipsis: true,
|
|
13049
|
-
width: 100
|
|
13050
|
-
}, {
|
|
13051
|
-
dataIndex: 'colorName',
|
|
13052
|
-
title: "\u989C\u8272\u540D\u79F0",
|
|
13053
|
-
ellipsis: true,
|
|
13054
|
-
width: 100
|
|
13055
|
-
}, {
|
|
13056
|
-
dataIndex: 'colorCode',
|
|
13057
|
-
title: "\u989C\u8272\u4EE3\u7801",
|
|
13058
|
-
ellipsis: true,
|
|
13059
|
-
width: 100
|
|
13060
|
-
}, {
|
|
13061
|
-
dataIndex: 'sizeName',
|
|
13062
|
-
title: "\u5C3A\u7801\u540D\u79F0",
|
|
13063
|
-
ellipsis: true,
|
|
13064
|
-
width: 100
|
|
13065
|
-
}, {
|
|
13066
|
-
dataIndex: 'sizeCode',
|
|
13067
|
-
title: "\u5C3A\u7801\u4EE3\u7801",
|
|
13068
|
-
ellipsis: true,
|
|
13069
|
-
width: 100
|
|
13183
|
+
selectedRows = _useState4[0],
|
|
13184
|
+
setSelectedRows = _useState4[1];
|
|
13185
|
+
var gyGoodsListRef = useRef(null);
|
|
13186
|
+
var _onCancel = function onCancel() {
|
|
13187
|
+
setVisible(false);
|
|
13188
|
+
};
|
|
13189
|
+
var onOk = function onOk() {
|
|
13190
|
+
var _gyGoodsListRef$curre;
|
|
13191
|
+
var selectedList = ((_gyGoodsListRef$curre = gyGoodsListRef.current) === null || _gyGoodsListRef$curre === void 0 ? void 0 : _gyGoodsListRef$curre.getSelectGoodList()) || [];
|
|
13192
|
+
onSubmit(selectedList);
|
|
13193
|
+
_onCancel();
|
|
13194
|
+
};
|
|
13195
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, visible && /*#__PURE__*/React.createElement(Modal, {
|
|
13196
|
+
title: '选择商品',
|
|
13197
|
+
okText: '确认',
|
|
13198
|
+
cancelText: '取消',
|
|
13199
|
+
visible: visible,
|
|
13200
|
+
width: width || 850,
|
|
13201
|
+
onCancel: function onCancel() {
|
|
13202
|
+
_onCancel();
|
|
13203
|
+
},
|
|
13204
|
+
onOk: onOk,
|
|
13205
|
+
wrapClassName: "goodModal"
|
|
13206
|
+
}, /*#__PURE__*/React.createElement(GyGoodsList, {
|
|
13207
|
+
ref: gyGoodsListRef,
|
|
13208
|
+
selectedRows: selectedRows
|
|
13209
|
+
})));
|
|
13210
|
+
};
|
|
13211
|
+
var JstGoodsModal = /*#__PURE__*/forwardRef(GyGoodsModal);
|
|
13212
|
+
|
|
13213
|
+
var getTableData$2 = function getTableData(_ref, formData) {
|
|
13214
|
+
var current = _ref.current,
|
|
13215
|
+
pageSize = _ref.pageSize;
|
|
13216
|
+
var data = {
|
|
13217
|
+
goodShortName: formData.goodShortName || null,
|
|
13218
|
+
goodNo: formData.goodNo || null,
|
|
13219
|
+
goodName: formData.goodName || null,
|
|
13220
|
+
skuCode: formData.skuCode || null,
|
|
13221
|
+
skuId: formData.skuId || null
|
|
13222
|
+
};
|
|
13223
|
+
return extendRequest('/qy/gdfw/product/product/page', {
|
|
13224
|
+
method: 'post',
|
|
13225
|
+
data: _objectSpread2({
|
|
13226
|
+
pageSize: pageSize,
|
|
13227
|
+
pageNo: current,
|
|
13228
|
+
platform: 'BS_E3_ERP'
|
|
13229
|
+
}, data)
|
|
13230
|
+
}).then(function (res) {
|
|
13231
|
+
var _res$data = res.data,
|
|
13232
|
+
_res$data$productSkuL = _res$data.productSkuList,
|
|
13233
|
+
productSkuList = _res$data$productSkuL === void 0 ? [] : _res$data$productSkuL,
|
|
13234
|
+
_res$data$total = _res$data.total,
|
|
13235
|
+
total = _res$data$total === void 0 ? 0 : _res$data$total;
|
|
13236
|
+
var newProducts = productSkuList.map(function (item, index) {
|
|
13237
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
13238
|
+
index: index + 1
|
|
13239
|
+
});
|
|
13240
|
+
});
|
|
13241
|
+
return {
|
|
13242
|
+
total: total,
|
|
13243
|
+
list: newProducts
|
|
13244
|
+
};
|
|
13245
|
+
});
|
|
13246
|
+
};
|
|
13247
|
+
var searchFormData$1 = [{
|
|
13248
|
+
label: '商品货号',
|
|
13249
|
+
name: 'goodNo'
|
|
13070
13250
|
}, {
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
ellipsis: true,
|
|
13074
|
-
width: 100
|
|
13251
|
+
label: '商品名称',
|
|
13252
|
+
name: 'goodName'
|
|
13075
13253
|
}, {
|
|
13076
|
-
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
width: 100
|
|
13254
|
+
label: 'SKU',
|
|
13255
|
+
name: 'skuCode',
|
|
13256
|
+
dataIndex: 'specNo'
|
|
13080
13257
|
}, {
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
width: 100
|
|
13258
|
+
label: 'SKU ID',
|
|
13259
|
+
name: 'skuId',
|
|
13260
|
+
dataIndex: 'specId'
|
|
13085
13261
|
}];
|
|
13086
13262
|
var GoodList$2 = function GoodList(props, ref) {
|
|
13087
13263
|
var _useState = useState([]),
|
|
@@ -13092,6 +13268,11 @@ var GoodList$2 = function GoodList(props, ref) {
|
|
|
13092
13268
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
13093
13269
|
selectIds = _useState4[0],
|
|
13094
13270
|
setSelectIds = _useState4[1];
|
|
13271
|
+
var _useGetColumns = useGetColumns('bse3'),
|
|
13272
|
+
_useGetColumns2 = _slicedToArray(_useGetColumns, 3),
|
|
13273
|
+
columns = _useGetColumns2[0],
|
|
13274
|
+
showColumnsDataIndexList = _useGetColumns2[1],
|
|
13275
|
+
loading = _useGetColumns2[2];
|
|
13095
13276
|
useImperativeHandle(ref, function () {
|
|
13096
13277
|
return {
|
|
13097
13278
|
getSelectGoodList: function getSelectGoodList() {
|
|
@@ -13111,66 +13292,6 @@ var GoodList$2 = function GoodList(props, ref) {
|
|
|
13111
13292
|
params = _useAntdTable.params;
|
|
13112
13293
|
var submit = search.submit,
|
|
13113
13294
|
reset = search.reset;
|
|
13114
|
-
var advanceSearchForm = /*#__PURE__*/React.createElement(Form, {
|
|
13115
|
-
layout: "inline",
|
|
13116
|
-
form: form
|
|
13117
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
13118
|
-
name: "goodNo",
|
|
13119
|
-
style: {
|
|
13120
|
-
marginBottom: '12px'
|
|
13121
|
-
}
|
|
13122
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13123
|
-
placeholder: "\u5546\u54C1\u8D27\u53F7",
|
|
13124
|
-
allowClear: true,
|
|
13125
|
-
style: {
|
|
13126
|
-
width: 150
|
|
13127
|
-
}
|
|
13128
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13129
|
-
name: "goodName",
|
|
13130
|
-
style: {
|
|
13131
|
-
marginBottom: '12px'
|
|
13132
|
-
}
|
|
13133
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13134
|
-
placeholder: "\u5546\u54C1\u540D\u79F0",
|
|
13135
|
-
allowClear: true,
|
|
13136
|
-
style: {
|
|
13137
|
-
width: 150
|
|
13138
|
-
}
|
|
13139
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13140
|
-
name: "skuCode",
|
|
13141
|
-
style: {
|
|
13142
|
-
marginBottom: '12px'
|
|
13143
|
-
}
|
|
13144
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13145
|
-
placeholder: "SKU",
|
|
13146
|
-
allowClear: true,
|
|
13147
|
-
style: {
|
|
13148
|
-
width: 150
|
|
13149
|
-
}
|
|
13150
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13151
|
-
name: "skuId",
|
|
13152
|
-
style: {
|
|
13153
|
-
marginBottom: '12px'
|
|
13154
|
-
}
|
|
13155
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13156
|
-
placeholder: "SKU ID",
|
|
13157
|
-
allowClear: true,
|
|
13158
|
-
style: {
|
|
13159
|
-
width: 150
|
|
13160
|
-
}
|
|
13161
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13162
|
-
style: {
|
|
13163
|
-
marginBottom: '12px'
|
|
13164
|
-
}
|
|
13165
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
13166
|
-
type: "primary",
|
|
13167
|
-
style: {
|
|
13168
|
-
marginRight: '8px'
|
|
13169
|
-
},
|
|
13170
|
-
onClick: submit
|
|
13171
|
-
}, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
|
|
13172
|
-
onClick: reset
|
|
13173
|
-
}, "\u91CD\u7F6E")));
|
|
13174
13295
|
var rowSelection = {
|
|
13175
13296
|
selectedRowKeys: selectIds,
|
|
13176
13297
|
fixed: true,
|
|
@@ -13226,7 +13347,7 @@ var GoodList$2 = function GoodList(props, ref) {
|
|
|
13226
13347
|
}
|
|
13227
13348
|
}, "\u5220\u9664");
|
|
13228
13349
|
}
|
|
13229
|
-
}].concat(takeRight(columns
|
|
13350
|
+
}].concat(takeRight(columns, columns.length - 1));
|
|
13230
13351
|
return selectList.length ? /*#__PURE__*/React.createElement("div", {
|
|
13231
13352
|
style: {
|
|
13232
13353
|
width: '100%',
|
|
@@ -13248,14 +13369,23 @@ var GoodList$2 = function GoodList(props, ref) {
|
|
|
13248
13369
|
}
|
|
13249
13370
|
})) : null;
|
|
13250
13371
|
};
|
|
13251
|
-
return /*#__PURE__*/React.createElement(
|
|
13372
|
+
return /*#__PURE__*/React.createElement(Skeleton, {
|
|
13373
|
+
active: true,
|
|
13374
|
+
loading: loading
|
|
13375
|
+
}, /*#__PURE__*/React.createElement(SearchForm, {
|
|
13376
|
+
searchFormData: searchFormData$1,
|
|
13377
|
+
form: form,
|
|
13378
|
+
showColumnsDataIndexList: showColumnsDataIndexList,
|
|
13379
|
+
submit: submit,
|
|
13380
|
+
reset: reset
|
|
13381
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
13252
13382
|
style: {
|
|
13253
13383
|
marginTop: '4px'
|
|
13254
13384
|
}
|
|
13255
13385
|
}, /*#__PURE__*/React.createElement(Table, _objectSpread2({
|
|
13256
13386
|
rowSelection: rowSelection,
|
|
13257
13387
|
rowKey: "specNo",
|
|
13258
|
-
columns: columns
|
|
13388
|
+
columns: columns,
|
|
13259
13389
|
scroll: {
|
|
13260
13390
|
x: '100%',
|
|
13261
13391
|
y: 250
|
|
@@ -13346,71 +13476,23 @@ var getTableData$3 = function getTableData(_ref, formData) {
|
|
|
13346
13476
|
};
|
|
13347
13477
|
});
|
|
13348
13478
|
};
|
|
13349
|
-
var
|
|
13350
|
-
|
|
13351
|
-
|
|
13352
|
-
render: function render(val, record, index) {
|
|
13353
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
13354
|
-
style: {
|
|
13355
|
-
width: 25
|
|
13356
|
-
}
|
|
13357
|
-
}, index + 1);
|
|
13358
|
-
},
|
|
13359
|
-
width: 80
|
|
13360
|
-
}, {
|
|
13361
|
-
dataIndex: 'specName',
|
|
13362
|
-
title: 'SKU名称',
|
|
13363
|
-
width: 250,
|
|
13364
|
-
ellipsis: true
|
|
13365
|
-
}, {
|
|
13366
|
-
dataIndex: 'specNo',
|
|
13367
|
-
title: 'SKU编码',
|
|
13368
|
-
width: 200,
|
|
13369
|
-
ellipsis: true
|
|
13370
|
-
}, {
|
|
13371
|
-
dataIndex: 'goodName',
|
|
13372
|
-
title: '商品名称',
|
|
13373
|
-
width: 250,
|
|
13374
|
-
ellipsis: true
|
|
13375
|
-
}, {
|
|
13376
|
-
dataIndex: 'goodShortName',
|
|
13377
|
-
title: "\u5546\u54C1\u7B80\u79F0",
|
|
13378
|
-
ellipsis: true,
|
|
13379
|
-
width: 250
|
|
13380
|
-
}, {
|
|
13381
|
-
dataIndex: 'goodNo',
|
|
13382
|
-
title: '商品编码',
|
|
13383
|
-
width: 200,
|
|
13384
|
-
ellipsis: true
|
|
13479
|
+
var searchFormData$2 = [{
|
|
13480
|
+
label: '商品简称',
|
|
13481
|
+
name: 'goodShortName'
|
|
13385
13482
|
}, {
|
|
13386
|
-
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
render: function render(picUrl) {
|
|
13390
|
-
return /*#__PURE__*/React.createElement("img", {
|
|
13391
|
-
style: {
|
|
13392
|
-
width: '40px',
|
|
13393
|
-
height: '40px',
|
|
13394
|
-
objectFit: 'contain'
|
|
13395
|
-
},
|
|
13396
|
-
src: picUrl
|
|
13397
|
-
});
|
|
13398
|
-
}
|
|
13483
|
+
label: '商品sku名称',
|
|
13484
|
+
name: 'skuName',
|
|
13485
|
+
dataIndex: 'specName'
|
|
13399
13486
|
}, {
|
|
13400
|
-
|
|
13401
|
-
|
|
13402
|
-
|
|
13403
|
-
ellipsis: true
|
|
13487
|
+
label: '商品sku编码',
|
|
13488
|
+
name: 'skuCode',
|
|
13489
|
+
dataIndex: 'specNo'
|
|
13404
13490
|
}, {
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
ellipsis: true,
|
|
13408
|
-
width: 100
|
|
13491
|
+
label: '商品名称',
|
|
13492
|
+
name: 'goodName'
|
|
13409
13493
|
}, {
|
|
13410
|
-
|
|
13411
|
-
|
|
13412
|
-
ellipsis: true,
|
|
13413
|
-
width: 100
|
|
13494
|
+
label: '商品编码',
|
|
13495
|
+
name: 'goodNo'
|
|
13414
13496
|
}];
|
|
13415
13497
|
var GoodList$3 = function GoodList(props, ref) {
|
|
13416
13498
|
var _useState = useState([]),
|
|
@@ -13421,6 +13503,11 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13421
13503
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
13422
13504
|
selectIds = _useState4[0],
|
|
13423
13505
|
setSelectIds = _useState4[1];
|
|
13506
|
+
var _useGetColumns = useGetColumns('gy'),
|
|
13507
|
+
_useGetColumns2 = _slicedToArray(_useGetColumns, 3),
|
|
13508
|
+
columns = _useGetColumns2[0],
|
|
13509
|
+
showColumnsDataIndexList = _useGetColumns2[1],
|
|
13510
|
+
loading = _useGetColumns2[2];
|
|
13424
13511
|
useImperativeHandle(ref, function () {
|
|
13425
13512
|
return {
|
|
13426
13513
|
getSelectGoodList: function getSelectGoodList() {
|
|
@@ -13440,77 +13527,6 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13440
13527
|
params = _useAntdTable.params;
|
|
13441
13528
|
var submit = search.submit,
|
|
13442
13529
|
reset = search.reset;
|
|
13443
|
-
var advanceSearchForm = /*#__PURE__*/React.createElement(Form, {
|
|
13444
|
-
layout: "inline",
|
|
13445
|
-
form: form
|
|
13446
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
13447
|
-
name: "goodShortName",
|
|
13448
|
-
style: {
|
|
13449
|
-
marginBottom: '12px'
|
|
13450
|
-
}
|
|
13451
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13452
|
-
placeholder: "\u5546\u54C1\u7B80\u79F0",
|
|
13453
|
-
allowClear: true,
|
|
13454
|
-
style: {
|
|
13455
|
-
width: 150
|
|
13456
|
-
}
|
|
13457
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13458
|
-
name: "skuName",
|
|
13459
|
-
style: {
|
|
13460
|
-
marginBottom: '12px'
|
|
13461
|
-
}
|
|
13462
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13463
|
-
placeholder: "\u5546\u54C1sku\u540D\u79F0",
|
|
13464
|
-
allowClear: true,
|
|
13465
|
-
style: {
|
|
13466
|
-
width: 150
|
|
13467
|
-
}
|
|
13468
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13469
|
-
name: "skuCode",
|
|
13470
|
-
style: {
|
|
13471
|
-
marginBottom: '12px'
|
|
13472
|
-
}
|
|
13473
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13474
|
-
placeholder: "\u5546\u54C1sku\u7F16\u7801",
|
|
13475
|
-
allowClear: true,
|
|
13476
|
-
style: {
|
|
13477
|
-
width: 150
|
|
13478
|
-
}
|
|
13479
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13480
|
-
name: "goodName",
|
|
13481
|
-
style: {
|
|
13482
|
-
marginBottom: '12px'
|
|
13483
|
-
}
|
|
13484
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13485
|
-
placeholder: "\u5546\u54C1\u540D\u79F0",
|
|
13486
|
-
allowClear: true,
|
|
13487
|
-
style: {
|
|
13488
|
-
width: 150
|
|
13489
|
-
}
|
|
13490
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13491
|
-
name: "goodNo",
|
|
13492
|
-
style: {
|
|
13493
|
-
marginBottom: '12px'
|
|
13494
|
-
}
|
|
13495
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
13496
|
-
placeholder: "\u5546\u54C1\u7F16\u7801",
|
|
13497
|
-
allowClear: true,
|
|
13498
|
-
style: {
|
|
13499
|
-
width: 150
|
|
13500
|
-
}
|
|
13501
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
13502
|
-
style: {
|
|
13503
|
-
marginBottom: '12px'
|
|
13504
|
-
}
|
|
13505
|
-
}, /*#__PURE__*/React.createElement(Button, {
|
|
13506
|
-
type: "primary",
|
|
13507
|
-
style: {
|
|
13508
|
-
marginRight: '8px'
|
|
13509
|
-
},
|
|
13510
|
-
onClick: submit
|
|
13511
|
-
}, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
|
|
13512
|
-
onClick: reset
|
|
13513
|
-
}, "\u91CD\u7F6E")));
|
|
13514
13530
|
var rowSelection = {
|
|
13515
13531
|
selectedRowKeys: selectIds,
|
|
13516
13532
|
fixed: true,
|
|
@@ -13566,7 +13582,7 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13566
13582
|
}
|
|
13567
13583
|
}, "\u5220\u9664");
|
|
13568
13584
|
}
|
|
13569
|
-
}].concat(takeRight(columns
|
|
13585
|
+
}].concat(takeRight(columns, columns.length - 1));
|
|
13570
13586
|
return selectList.length ? /*#__PURE__*/React.createElement("div", {
|
|
13571
13587
|
style: {
|
|
13572
13588
|
width: '100%',
|
|
@@ -13588,14 +13604,23 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13588
13604
|
}
|
|
13589
13605
|
})) : null;
|
|
13590
13606
|
};
|
|
13591
|
-
return /*#__PURE__*/React.createElement(
|
|
13607
|
+
return /*#__PURE__*/React.createElement(Skeleton, {
|
|
13608
|
+
active: true,
|
|
13609
|
+
loading: loading
|
|
13610
|
+
}, /*#__PURE__*/React.createElement(SearchForm, {
|
|
13611
|
+
searchFormData: searchFormData$2,
|
|
13612
|
+
form: form,
|
|
13613
|
+
showColumnsDataIndexList: showColumnsDataIndexList,
|
|
13614
|
+
submit: submit,
|
|
13615
|
+
reset: reset
|
|
13616
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
13592
13617
|
style: {
|
|
13593
13618
|
marginTop: '4px'
|
|
13594
13619
|
}
|
|
13595
13620
|
}, /*#__PURE__*/React.createElement(Table, _objectSpread2({
|
|
13596
13621
|
rowSelection: rowSelection,
|
|
13597
13622
|
rowKey: "id",
|
|
13598
|
-
columns: columns
|
|
13623
|
+
columns: columns,
|
|
13599
13624
|
scroll: {
|
|
13600
13625
|
x: '100%',
|
|
13601
13626
|
y: 250
|
|
@@ -14075,7 +14100,7 @@ var getWdtReissueGoodColumns = function getWdtReissueGoodColumns(_ref2) {
|
|
|
14075
14100
|
var disabled = _ref2.disabled,
|
|
14076
14101
|
updateHandle = _ref2.updateHandle,
|
|
14077
14102
|
operate = _ref2.operate;
|
|
14078
|
-
return getColumnsMap()['WDT_REISSUE_GOODS'].map(function (item) {
|
|
14103
|
+
return getColumnsMap$1()['WDT_REISSUE_GOODS'].map(function (item) {
|
|
14079
14104
|
var newItem = _objectSpread2({
|
|
14080
14105
|
align: 'center',
|
|
14081
14106
|
ellipsis: true
|
|
@@ -15598,7 +15623,7 @@ var getColumns$6 = function getColumns(_ref) {
|
|
|
15598
15623
|
};
|
|
15599
15624
|
};
|
|
15600
15625
|
|
|
15601
|
-
var getColumnsMap = function getColumnsMap(args) {
|
|
15626
|
+
var getColumnsMap$1 = function getColumnsMap(args) {
|
|
15602
15627
|
var _ref = args || {},
|
|
15603
15628
|
_ref$text = _ref.text,
|
|
15604
15629
|
text = _ref$text === void 0 ? '' : _ref$text,
|
|
@@ -15638,8 +15663,8 @@ var getColumnsMap = function getColumnsMap(args) {
|
|
|
15638
15663
|
})['default']
|
|
15639
15664
|
});
|
|
15640
15665
|
};
|
|
15641
|
-
var getColumnsBaseInfo = function getColumnsBaseInfo() {
|
|
15642
|
-
var clone_columnsMap = cloneDeep(getColumnsMap());
|
|
15666
|
+
var getColumnsBaseInfo$1 = function getColumnsBaseInfo() {
|
|
15667
|
+
var clone_columnsMap = cloneDeep(getColumnsMap$1());
|
|
15643
15668
|
var newColumns = {};
|
|
15644
15669
|
Object.keys(clone_columnsMap).forEach(function (key) {
|
|
15645
15670
|
newColumns[key] = clone_columnsMap[key].map(function (col) {
|
|
@@ -15651,7 +15676,7 @@ var getColumnsBaseInfo = function getColumnsBaseInfo() {
|
|
|
15651
15676
|
});
|
|
15652
15677
|
return newColumns;
|
|
15653
15678
|
};
|
|
15654
|
-
var columnsBaseInfoMap = getColumnsBaseInfo();
|
|
15679
|
+
var columnsBaseInfoMap = getColumnsBaseInfo$1();
|
|
15655
15680
|
|
|
15656
15681
|
var renderFieldMap$1 = {
|
|
15657
15682
|
goodsNumber: function goodsNumber(_ref) {
|
|
@@ -15718,7 +15743,7 @@ var getBsE3ReissueGoodColumns = function getBsE3ReissueGoodColumns(_ref4) {
|
|
|
15718
15743
|
var disabled = _ref4.disabled,
|
|
15719
15744
|
updateHandle = _ref4.updateHandle,
|
|
15720
15745
|
operate = _ref4.operate;
|
|
15721
|
-
return getColumnsMap()['BS_E3_REISSUE_GOODS'].map(function (item) {
|
|
15746
|
+
return getColumnsMap$1()['BS_E3_REISSUE_GOODS'].map(function (item) {
|
|
15722
15747
|
var newItem = _objectSpread2({
|
|
15723
15748
|
align: 'center',
|
|
15724
15749
|
ellipsis: true
|
|
@@ -15977,7 +16002,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15977
16002
|
case 'GY_REISSUE_GOODS':
|
|
15978
16003
|
case 'GY_RETURN_GOODS':
|
|
15979
16004
|
{
|
|
15980
|
-
columns = getColumnsMap({
|
|
16005
|
+
columns = getColumnsMap$1({
|
|
15981
16006
|
text: text,
|
|
15982
16007
|
disabled: disabled || columnsOptions.disabled,
|
|
15983
16008
|
updateHandle: updateHandle,
|
|
@@ -16004,7 +16029,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
16004
16029
|
}
|
|
16005
16030
|
break;
|
|
16006
16031
|
default:
|
|
16007
|
-
columns = getColumnsMap({
|
|
16032
|
+
columns = getColumnsMap$1({
|
|
16008
16033
|
text: text,
|
|
16009
16034
|
disabled: disabled || columnsOptions.disabled,
|
|
16010
16035
|
updateHandle: updateHandle,
|
|
@@ -17141,7 +17166,7 @@ var rowKeyMap = {
|
|
|
17141
17166
|
GY_SYSTEM_ORDER: 'billNo',
|
|
17142
17167
|
JST_SYSTEM_ORDER: 'oId'
|
|
17143
17168
|
};
|
|
17144
|
-
var index$
|
|
17169
|
+
var index$3 = (function (props) {
|
|
17145
17170
|
var value = props.value,
|
|
17146
17171
|
_onChange = props.onChange,
|
|
17147
17172
|
disabled = props.disabled,
|
|
@@ -19146,7 +19171,7 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
19146
19171
|
userNick: userNick
|
|
19147
19172
|
}));
|
|
19148
19173
|
};
|
|
19149
|
-
var index$
|
|
19174
|
+
var index$4 = /*#__PURE__*/forwardRef(Goods$1);
|
|
19150
19175
|
|
|
19151
19176
|
var _excluded$k = ["onChange", "value", "failValue"];
|
|
19152
19177
|
function CommonStatus(props) {
|
|
@@ -19407,7 +19432,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
19407
19432
|
onClick: function onClick() {
|
|
19408
19433
|
return setChangeIndex(index);
|
|
19409
19434
|
}
|
|
19410
|
-
}, msgTypeCh[key], item.ruleName);
|
|
19435
|
+
}, msgTypeCh[key] || key, item.ruleName);
|
|
19411
19436
|
}))) : null, type === 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
19412
19437
|
showSearch: true,
|
|
19413
19438
|
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
|
|
@@ -20244,4 +20269,4 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
20244
20269
|
})));
|
|
20245
20270
|
};
|
|
20246
20271
|
|
|
20247
|
-
export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, index as ApaasUploadAsync, ApaasUploadFile, index$1 as ApaasUploadProAsync, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$
|
|
20272
|
+
export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, index as ApaasUploadAsync, ApaasUploadFile, index$1 as ApaasUploadProAsync, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$3 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, CopyTextIcon, ExpressLogistics, Goods, index$4 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, index$2 as erpModalColumnsMap, getColumns$5 as getJstColumns, getColumns$3 as getWlnColumns };
|