@kmkf-fe-packages/kmkf-utils 2.2.13-beta.11 → 2.2.13-beta.113
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 -2
- package/dist/esm/constants/constant.d.ts +4 -1
- package/dist/esm/constants/constant.js +139 -136
- package/dist/esm/servers/JST/orderDetailWrap.js +10 -1
- package/dist/esm/servers/JST/warehouseData.d.ts +1 -0
- package/dist/esm/servers/JST/warehouseData.js +2 -1
- package/dist/esm/servers/WDT/index.d.ts +1 -0
- package/dist/esm/servers/WDT/index.js +2 -1
- package/dist/esm/servers/WDT/returnBillNo.d.ts +11 -0
- package/dist/esm/servers/WDT/returnBillNo.js +19 -0
- package/dist/esm/utils/SendData.d.ts +2 -0
- package/dist/esm/utils/SendData.js +6 -0
- package/dist/esm/utils/bsOrderBackFormValues.js +34 -3
- package/dist/esm/utils/dist/gyOrderBackFormValues.js +285 -0
- package/dist/esm/utils/getSystemShowHead.d.ts +10 -0
- package/dist/esm/utils/getSystemShowHead.js +25 -0
- package/dist/esm/utils/index.d.ts +3 -2
- package/dist/esm/utils/index.js +4 -3
- package/dist/esm/utils/jstOrderBackFormValues.js +1 -1
- package/dist/esm/utils/jyOrderBackFormValues.d.ts +26 -4
- package/dist/esm/utils/jyOrderBackFormValues.js +75 -34
- package/dist/esm/utils/skxOrderBackFormValues.d.ts +2 -0
- package/dist/esm/utils/skxOrderBackFormValues.js +9 -1
- package/dist/esm/utils/transformList.js +66 -60
- package/dist/esm/utils/unTransField.js +1 -1
- package/dist/esm/utils/wdtOrderBackFormValues.d.ts +27 -0
- package/dist/esm/utils/wdtOrderBackFormValues.js +218 -10
- package/package.json +2 -2
|
@@ -14,14 +14,14 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
14
14
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
15
15
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
16
16
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17
|
-
import { cloneDeep } from
|
|
17
|
+
import { cloneDeep } from "lodash";
|
|
18
18
|
import { WORK_ORDER_STATUS } from "../constants/constant";
|
|
19
|
-
import get from
|
|
20
|
-
import { BS_E3_ORDER_STATUS_MAP, BS_E3_BOOLEAN_STATUS_MAP } from
|
|
19
|
+
import get from "lodash/get";
|
|
20
|
+
import { BS_E3_ORDER_STATUS_MAP, BS_E3_BOOLEAN_STATUS_MAP } from "@kmkf-fe-packages/kmkf-utils";
|
|
21
21
|
import ExpressInterceptData from "../expressInterceptData";
|
|
22
22
|
var interceptExpress = ExpressInterceptData.getInstance();
|
|
23
23
|
export var unTransField = function unTransField(key) {
|
|
24
|
-
return [
|
|
24
|
+
return ["itemList", "jstItemList", "dateTime", "basicMultSelect", "memberLevel", "erpOrderType", "orderRefundType", "checkbox", "multSelect", "rate", "picture", "file", "bsSendGood", "bsGoods", "bsExchangeType", "bsExchangeReturnGoods", "bsExchangeSwapOutGoods", "bsExchangeGiftGoods", "bsReissueType", "bsReissueGoods", "bsReturnGoods", "bsReturnType", "bsLogisticsList", "bsSystemShowOrder", "bsSystemSelectIds", "reissueLogisticsList", "deliveryNoList", "returnGoodsStatusList", "returnGoodsTradeIdList", "returnGoodsTradeItemList", "tradeIdList", "tradeItemList", "erpAfterSaleTradeItemList", "erpAfterSaleTradeIdList", "wlnLogisticsList", "wlnSystemShowOrder", "wlnSystemSelectIds", "wlnGoods", "wlnSendGood", "flowTags", "exchangeReason", "exchangeStatusValue", "inStockStatusItemList", "inStockStatusList", "bsE3InStockStatusItemList", "bsE3InStockStatusList", "msgStatusValues", "msgStatus4Search", "trajectoryList", "trajectoryMoreCompany", "trajectoryMoreCode", "trajectoryMoreSnapshot", "trajectoryMoreStatus", "trajectoryMoreLastLogisticsInfo", "trajectoryMoreLastUpdateTime", "trajectoryApiStatus", "wdtGoods", "wdtSendGood", "wdtReissueType", "wdtReissueGoods", "wdtSystemOrderNo", "wdtLogisticsList", "wdtSystemShowOrder", "kmSystemShowOrder", "wdtSystemSelectIds", "wdtReturnBillNo", "wdtReturnBillSelectIds", "wdtReturnBillShowOrder", "wdtReturnGoods", "wdtReturnType", "wdtExchangeGoods", "bsE3Goods", "bsE3SystemShowOrder", "bsE3SystemSelectIds", "logisticsInterceptList", "logisticsInterceptCompanyList", "logisticsInterceptCodeList", "logisticsInterceptApiStatusList", "logisticsInterceptTypeList", "logisticsInterceptStatusList", "logisticsInterceptSnapshotList", "interceptLogisticsApiStatus", "productList", "label", "kmSendGood", "kmGoods", "bsE3ReissueType", "bsE3ReissueGoods", "gyGoods", "gySendGood", "gyReissueType", "gyReissueGoods", "gySystemOrderNo", "gyLogisticsList", "gySystemShowOrder", "gySystemSelectIds", "gyReturnGoods", "gyReturnType", "gyExchangeGoods", "kmLogisticsList", "jstGoods", "jstSendGood", "jstReissueType", "jstReissueGoods", "jstSystemOrderNo", "jstLogisticsList", "jstSystemShowOrder", "jstSystemSelectIds", "jstReturnGoods", "jstReturnType", "jstExchangeGoods", "kmReissueGoods", "kmReissueType", "kmReturnGoods", "kmReturnType", "wdtTags", "kmVideo", "jstAftersaleGoods"].reduce(function (cur, nxt) {
|
|
25
25
|
return cur || (key === null || key === void 0 ? void 0 : key.includes(nxt));
|
|
26
26
|
}, false);
|
|
27
27
|
};
|
|
@@ -35,7 +35,7 @@ export var transformList = function transformList(fields, uniqueKeys) {
|
|
|
35
35
|
delete next.rowSpan;
|
|
36
36
|
var goodsParams = [];
|
|
37
37
|
var maxLength = Object.keys(next).reduce(function (p, k) {
|
|
38
|
-
var _k$split = k.split(
|
|
38
|
+
var _k$split = k.split("_"),
|
|
39
39
|
_k$split2 = _slicedToArray(_k$split, 3),
|
|
40
40
|
key = _k$split2[0],
|
|
41
41
|
field = _k$split2[1],
|
|
@@ -43,39 +43,45 @@ export var transformList = function transformList(fields, uniqueKeys) {
|
|
|
43
43
|
if (!child && fields.includes(field) && uniqueKeys.includes(key)) {
|
|
44
44
|
var _next$k, _next$k2;
|
|
45
45
|
//如果是bs商品数据 要特殊处理 合并一些固定商品数量信息
|
|
46
|
-
if ([
|
|
46
|
+
if (["bsGoods", "bsExchangeGiftGoods", "bsExchangeReturnGoods", "bsExchangeSwapOutGoods", "bsReissueGoods", "bsReturnGoods"].includes(field)) {
|
|
47
47
|
next[k] = mergeFixedGoods(next[k]);
|
|
48
48
|
}
|
|
49
49
|
//系统订单号只展示选中的
|
|
50
|
-
if (field ===
|
|
50
|
+
if (field === "bsSystemShowOrder") {
|
|
51
51
|
var selectIds = next["".concat(key, "_bsSystemSelectIds")] || [];
|
|
52
52
|
next[k] = next[k].filter(function (item) {
|
|
53
53
|
return selectIds.includes(item === null || item === void 0 ? void 0 : item.billNo);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
if (field ===
|
|
56
|
+
if (field === "wlnSystemShowOrder") {
|
|
57
57
|
var _selectIds = next["".concat(key, "_wlnSystemSelectIds")] || [];
|
|
58
58
|
next[k] = next[k].filter(function (item) {
|
|
59
59
|
return _selectIds.includes(item === null || item === void 0 ? void 0 : item.billNo);
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
-
if (field ===
|
|
62
|
+
if (field === "wdtSystemShowOrder") {
|
|
63
63
|
var _selectIds2 = next["".concat(key, "_wdtSystemSelectIds")] || [];
|
|
64
64
|
next[k] = next[k].filter(function (item) {
|
|
65
65
|
return _selectIds2.includes(item === null || item === void 0 ? void 0 : item.billNo);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
if (field ===
|
|
69
|
-
var _selectIds3 = next["".concat(key, "
|
|
68
|
+
if (field === "wdtReturnBillShowOrder") {
|
|
69
|
+
var _selectIds3 = next["".concat(key, "_wdtReturnBillNoSelectIds")] || [];
|
|
70
70
|
next[k] = next[k].filter(function (item) {
|
|
71
|
-
return _selectIds3.includes(item === null || item === void 0 ? void 0 : item.
|
|
71
|
+
return _selectIds3.includes(item === null || item === void 0 ? void 0 : item.refundNo);
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
if (field ===
|
|
74
|
+
if (field === "kmSystemShowOrder") {
|
|
75
|
+
var _selectIds4 = next["".concat(key, "_kmSystemSelectIds")] || [];
|
|
76
|
+
next[k] = next[k].filter(function (item) {
|
|
77
|
+
return _selectIds4.includes(item === null || item === void 0 ? void 0 : item.billNo);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
if (field === "bsE3SystemShowOrder") {
|
|
75
81
|
var _next$k$filter;
|
|
76
|
-
var
|
|
82
|
+
var _selectIds5 = next["".concat(key, "_bsE3SystemSelectIds")] || [];
|
|
77
83
|
next[k] = (_next$k$filter = next[k].filter(function (item) {
|
|
78
|
-
return
|
|
84
|
+
return _selectIds5.includes(item === null || item === void 0 ? void 0 : item.orderSn);
|
|
79
85
|
})) === null || _next$k$filter === void 0 ? void 0 : _next$k$filter.map(function (item) {
|
|
80
86
|
var isSplit = item.isSplit,
|
|
81
87
|
isSplitNew = item.isSplitNew,
|
|
@@ -95,30 +101,30 @@ export var transformList = function transformList(fields, uniqueKeys) {
|
|
|
95
101
|
});
|
|
96
102
|
});
|
|
97
103
|
}
|
|
98
|
-
if (field ===
|
|
99
|
-
var
|
|
104
|
+
if (field === "gySystemShowOrder") {
|
|
105
|
+
var _selectIds6 = next["".concat(key, "_gySystemSelectIds")] || [];
|
|
100
106
|
next[k] = next[k].filter(function (item) {
|
|
101
|
-
return
|
|
107
|
+
return _selectIds6.includes(item === null || item === void 0 ? void 0 : item.billNo);
|
|
102
108
|
});
|
|
103
109
|
}
|
|
104
110
|
(_next$k = next[k]) === null || _next$k === void 0 ? void 0 : _next$k.forEach(function (item, index) {
|
|
105
|
-
if ([
|
|
111
|
+
if (["wdtGoods", "wdtReissueGoods", "wdtExchangeGoods", "wdtReturnGoods"].includes(field)) {
|
|
106
112
|
var giftTypeMap = {
|
|
107
|
-
0:
|
|
108
|
-
1:
|
|
109
|
-
2:
|
|
110
|
-
3:
|
|
111
|
-
4:
|
|
112
|
-
6:
|
|
113
|
-
7:
|
|
113
|
+
0: "非赠品",
|
|
114
|
+
1: "自动赠送",
|
|
115
|
+
2: "手工赠送",
|
|
116
|
+
3: "回购自动送赠品",
|
|
117
|
+
4: "前N有礼送赠品",
|
|
118
|
+
6: "天猫优仓赠品",
|
|
119
|
+
7: "淘宝CRM会员送赠"
|
|
114
120
|
};
|
|
115
121
|
if (goodsParams[index]) {
|
|
116
122
|
goodsParams[index] = Object.entries(item).reduce(function (acc, cur) {
|
|
117
123
|
var _cur = _slicedToArray(cur, 2),
|
|
118
124
|
key = _cur[0],
|
|
119
125
|
value = _cur[1];
|
|
120
|
-
if (key ===
|
|
121
|
-
acc["".concat(k, "_").concat(key)] = (giftTypeMap === null || giftTypeMap === void 0 ? void 0 : giftTypeMap[value]) ||
|
|
126
|
+
if (key === "giftType") {
|
|
127
|
+
acc["".concat(k, "_").concat(key)] = (giftTypeMap === null || giftTypeMap === void 0 ? void 0 : giftTypeMap[value]) || "";
|
|
122
128
|
} else {
|
|
123
129
|
acc["".concat(k, "_").concat(key)] = value;
|
|
124
130
|
}
|
|
@@ -129,21 +135,21 @@ export var transformList = function transformList(fields, uniqueKeys) {
|
|
|
129
135
|
var _cur2 = _slicedToArray(cur, 2),
|
|
130
136
|
key = _cur2[0],
|
|
131
137
|
value = _cur2[1];
|
|
132
|
-
if (key ===
|
|
133
|
-
acc["".concat(k, "_").concat(key)] = (giftTypeMap === null || giftTypeMap === void 0 ? void 0 : giftTypeMap[value]) ||
|
|
138
|
+
if (key === "giftType") {
|
|
139
|
+
acc["".concat(k, "_").concat(key)] = (giftTypeMap === null || giftTypeMap === void 0 ? void 0 : giftTypeMap[value]) || "";
|
|
134
140
|
} else {
|
|
135
141
|
acc["".concat(k, "_").concat(key)] = value;
|
|
136
142
|
}
|
|
137
143
|
return acc;
|
|
138
144
|
}, {});
|
|
139
145
|
}
|
|
140
|
-
} else if ([
|
|
146
|
+
} else if (["bsE3Goods"].includes(field)) {
|
|
141
147
|
if (goodsParams[index]) {
|
|
142
148
|
goodsParams[index] = Object.entries(item).reduce(function (acc, cur) {
|
|
143
149
|
var _cur3 = _slicedToArray(cur, 2),
|
|
144
150
|
key = _cur3[0],
|
|
145
151
|
value = _cur3[1];
|
|
146
|
-
if (key ===
|
|
152
|
+
if (key === "isGift") {
|
|
147
153
|
acc["".concat(k, "_").concat(key)] = BS_E3_BOOLEAN_STATUS_MAP[value] || value;
|
|
148
154
|
} else {
|
|
149
155
|
acc["".concat(k, "_").concat(key)] = value;
|
|
@@ -155,7 +161,7 @@ export var transformList = function transformList(fields, uniqueKeys) {
|
|
|
155
161
|
var _cur4 = _slicedToArray(cur, 2),
|
|
156
162
|
key = _cur4[0],
|
|
157
163
|
value = _cur4[1];
|
|
158
|
-
if (key ===
|
|
164
|
+
if (key === "isGift") {
|
|
159
165
|
acc["".concat(k, "_").concat(key)] = BS_E3_BOOLEAN_STATUS_MAP[value] || value;
|
|
160
166
|
} else {
|
|
161
167
|
acc["".concat(k, "_").concat(key)] = value;
|
|
@@ -163,37 +169,37 @@ export var transformList = function transformList(fields, uniqueKeys) {
|
|
|
163
169
|
return acc;
|
|
164
170
|
}, {});
|
|
165
171
|
}
|
|
166
|
-
} else if ([
|
|
172
|
+
} else if (["bsLogisticsList", "wlnLogisticsList", "wdtLogisticsList", "jstItemList", "kmLogisticsList", "gyLogisticsList"].includes(field)) {
|
|
167
173
|
var logisticsMap = {
|
|
168
174
|
bsLogisticsList: {
|
|
169
|
-
company:
|
|
170
|
-
code:
|
|
171
|
-
item:
|
|
175
|
+
company: "bsLogisticsCompany",
|
|
176
|
+
code: "bsLogisticsCode",
|
|
177
|
+
item: "bsLogisticsItem"
|
|
172
178
|
},
|
|
173
179
|
wlnLogisticsList: {
|
|
174
|
-
company:
|
|
175
|
-
code:
|
|
176
|
-
item:
|
|
180
|
+
company: "wlnLogisticsCompany",
|
|
181
|
+
code: "wlnLogisticsCode",
|
|
182
|
+
item: "wlnLogisticsItem"
|
|
177
183
|
},
|
|
178
184
|
wdtLogisticsList: {
|
|
179
|
-
company:
|
|
180
|
-
code:
|
|
181
|
-
item:
|
|
185
|
+
company: "wdtLogisticsCompany",
|
|
186
|
+
code: "wdtLogisticsCode",
|
|
187
|
+
item: "wdtLogisticsItem"
|
|
182
188
|
},
|
|
183
189
|
jstItemList: {
|
|
184
|
-
company:
|
|
185
|
-
code:
|
|
186
|
-
item:
|
|
190
|
+
company: "logisticsCompany",
|
|
191
|
+
code: "logisticsCode",
|
|
192
|
+
item: "jstLogisticsItem"
|
|
187
193
|
},
|
|
188
194
|
kmLogisticsList: {
|
|
189
|
-
company:
|
|
190
|
-
code:
|
|
191
|
-
item:
|
|
195
|
+
company: "kmLogisticsCompany",
|
|
196
|
+
code: "kmLogisticsCode",
|
|
197
|
+
item: "kmLogisticsItem"
|
|
192
198
|
},
|
|
193
199
|
gyLogisticsList: {
|
|
194
|
-
company:
|
|
195
|
-
code:
|
|
196
|
-
item:
|
|
200
|
+
company: "gyLogisticsCompany",
|
|
201
|
+
code: "gyLogisticsCode",
|
|
202
|
+
item: "gyLogisticsItem"
|
|
197
203
|
}
|
|
198
204
|
};
|
|
199
205
|
if (goodsParams[index]) {
|
|
@@ -218,7 +224,7 @@ export var transformList = function transformList(fields, uniqueKeys) {
|
|
|
218
224
|
}
|
|
219
225
|
return p;
|
|
220
226
|
}, 1);
|
|
221
|
-
var arr = Array(maxLength).fill(
|
|
227
|
+
var arr = Array(maxLength).fill("").map(function (item, index) {
|
|
222
228
|
var params = _objectSpread(_objectSpread(_objectSpread({}, next), goodsParams[index]), {}, {
|
|
223
229
|
exportIndex: i
|
|
224
230
|
});
|
|
@@ -247,7 +253,7 @@ var mergeFixedGoods = function mergeFixedGoods() {
|
|
|
247
253
|
// 10103003 1元邮费链接
|
|
248
254
|
// Q0000003 花西子拆单发货专用
|
|
249
255
|
// Q0000004 OGP拆单发货专用
|
|
250
|
-
var FIXED_FIELD = [
|
|
256
|
+
var FIXED_FIELD = ["Q0000002", "600123001", "10103003", "Q0000003", "Q0000004"];
|
|
251
257
|
var numParams = {};
|
|
252
258
|
var newList = cloneDeep(list).reduce(function (prv, next) {
|
|
253
259
|
if (FIXED_FIELD.includes(next.sku)) {
|
|
@@ -277,16 +283,16 @@ export var dataSourceTrans = function dataSourceTrans(list) {
|
|
|
277
283
|
var newJsonMap = Object.keys(jsonMap).reduce(function (cur, next) {
|
|
278
284
|
try {
|
|
279
285
|
// 先获取打款状态和打款金额
|
|
280
|
-
if (next !== null && next !== void 0 && next.includes(
|
|
286
|
+
if (next !== null && next !== void 0 && next.includes("enterprisePaymentRefundFee")) {
|
|
281
287
|
cur.enterprisePaymentRefundFee = jsonMap[next];
|
|
282
288
|
}
|
|
283
|
-
if (next !== null && next !== void 0 && next.includes(
|
|
289
|
+
if (next !== null && next !== void 0 && next.includes("enterprisePaymentStatus")) {
|
|
284
290
|
cur.enterprisePaymentStatus = jsonMap[next];
|
|
285
291
|
}
|
|
286
|
-
if (next !== null && next !== void 0 && next.includes(
|
|
292
|
+
if (next !== null && next !== void 0 && next.includes("interceptCompany")) {
|
|
287
293
|
cur.interceptCompany = jsonMap[next];
|
|
288
294
|
}
|
|
289
|
-
if (next !== null && next !== void 0 && next.includes(
|
|
295
|
+
if (next !== null && next !== void 0 && next.includes("interceptLogisticsStatus")) {
|
|
290
296
|
cur.interceptLogisticsStatus = jsonMap[next];
|
|
291
297
|
}
|
|
292
298
|
// if (next?.includes('basicMultSelect')) {
|
|
@@ -303,8 +309,8 @@ export var dataSourceTrans = function dataSourceTrans(list) {
|
|
|
303
309
|
return cur;
|
|
304
310
|
}, {});
|
|
305
311
|
// TODO: 未打款并且打款金额非空是显示审核按钮/审核通过展示取消审核按钮
|
|
306
|
-
var showCheckButton = (newJsonMap === null || newJsonMap === void 0 ? void 0 : newJsonMap.enterprisePaymentStatus) ===
|
|
307
|
-
var showUnCheckButton = (newJsonMap === null || newJsonMap === void 0 ? void 0 : newJsonMap.enterprisePaymentStatus) ===
|
|
312
|
+
var showCheckButton = (newJsonMap === null || newJsonMap === void 0 ? void 0 : newJsonMap.enterprisePaymentStatus) === "未打款" && !!newJsonMap.enterprisePaymentRefundFee;
|
|
313
|
+
var showUnCheckButton = (newJsonMap === null || newJsonMap === void 0 ? void 0 : newJsonMap.enterprisePaymentStatus) === "审核通过";
|
|
308
314
|
var isInterfaceCompany = interceptExpress.isInterfaceCompany(newJsonMap === null || newJsonMap === void 0 ? void 0 : newJsonMap.interceptCompany);
|
|
309
315
|
var hasPayWorkOrder = !!newJsonMap.enterprisePaymentRefundFee;
|
|
310
316
|
delete newJsonMap.enterprisePaymentStatus;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default (function (key) {
|
|
2
|
-
return ["itemList", "itemId", "supplierName", "numIid", "aloneItemId", "aloneItemEncode", "jstItemList", "logisticsCompany", "logisticsCode", "supplyId", "supplyName", "sendId", "sendName", "dateTime", "basicMultSelect", "memberLevel", "erpOrderType", "erpOrderStatus", "orderRefundType", "executeActionType", "checkbox", "multSelect", "rate", "picture", "pictureProList", "file", "wdtGoods", "wdtReissueType", "wdtSystemOrderNo", "wdtReissueGoods", "wdtSendGood", "wdtSendId", "wdtSendName", "wdtLogisticsCode", "wdtSystemShowOrder", "wdtSystemSelectIds", "wdtLogisticsCompany", "wdtLogisticsList", "wdtReturnGoods", "wdtReturnType", "wdtExchangeGoods", "bsSendGood", "bsSendId", "bsSendName", "bsGoods", "bsExchangeType", "bsExchangeReturnGoods", "bsExchangeSwapOutGoods", "bsExchangeGiftGoods", "bsReissueType", "bsReissueGoods", "bsReturnGoods", "bsReturnType", "bsLogisticsList", "bsLogisticsCompany", "bsLogisticsCode", "kmSystemShowOrder", "bsSystemShowOrder", "bsSystemSelectIds", "bsE3SystemOrderNo", "bsE3SystemShowOrder", "bsE3SystemSelectIds", "bsE3Goods", "bsE3ReissueGoods", "bsE3ReissueType", "reissueLogisticsList", "reissueLogisticsCompany", "reissueLogisticsCode", "deliveryNoList", "deliveryNoIds", "returnGoodsStatusList", "returnGoodsTradeIdList", "returnGoodsTradeItemList", "tradeIdList", "tradeItemList", "wlnLogisticsList", "wlnLogisticsCompany", "wlnLogisticsCode", "wlnSystemShowOrder", "wlnSystemSelectIds", "wlnGoods", "wlnSendGood", "wlnSendId", "wlnSendName", "exchangeReason", "flowTag", "returnGoodsStatusList", "returnGoodsStatusValue", "exchangeReason", "exchangeStatusValue", "inStockStatusItemList", "inStockStatusList", "bsE3InStockStatusItemList", "bsE3InStockStatusList", "wdtInStockStatusItemList", "wdtInStockStatusList", "reissueStatusValue", "reissueReason", "adjustWorkOrderStatusValue", "adjustWorkOrderReason", "msgStatusValues", "msgStatus4Search", "createStatusValue", "createReason", "invoiceStatusValue", "invoiceReason", "invoicingStatusValue", "invoicingReason", "trajectoryList", "trajectoryMoreCompany", "trajectoryMoreCode", "trajectoryMoreSnapshot", "logisticsInterceptList", "logisticsInterceptCompanyList", "logisticsInterceptCodeList", "logisticsInterceptTypeList", "logisticsInterceptStatusList", "logisticsInterceptApiStatusList", "interceptLogisticsApiStatus", "logisticsInterceptSnapshotList", "productList", "subOrderList", "label", "kmSendGood", "kmSendId", "kmSendName", "kmGoods", "gyGoods", "gyReissueType", "gySystemOrderNo", "gyReissueGoods", "gySendGood", "gySendId", "gySendName", "gyLogisticsCode", "gySystemShowOrder", "gySystemSelectIds", "gyLogisticsCompany", "gyLogisticsList", "gyReturnGoods", "gyReturnType", "gyExchangeGoods", "jyGoods", "jySystemOrderNo", "jySystemShowOrder", "jySystemSelectIds", "jySendGood", "jySendId", "jySendName", "jyLogisticsList", "jyLogisticsCompany", "jyLogisticsCode", "kmLogisticsList", "jstGoods", "jstSendGood", "jstReissueType", "jstReissueGoods", "jstSystemOrderNo", "jstLogisticsList", "jstSystemShowOrder", "jstSystemSelectIds", "jstReturnGoods", "jstReturnType", "jstExchangeGoods", "trajectoryApiStatus", "kmReissueGoods", "kmReissueType", "kmReturnGoods", "kmReturnType", "kmVideo", "wdtTags", "skxGoods", "skxReturnGoods", "skxLogisticsList", "skxReturnLogistics"].reduce(function (cur, nxt) {
|
|
2
|
+
return ["itemList", "itemId", "supplierName", "numIid", "aloneItemId", "aloneItemEncode", "jstItemList", "logisticsCompany", "logisticsCode", "supplyId", "supplyName", "sendId", "sendName", "dateTime", "basicMultSelect", "memberLevel", "erpOrderType", "erpOrderStatus", "jstOutboundStatus", "orderRefundType", "executeActionType", "checkbox", "multSelect", "rate", "picture", "pictureProList", "file", "wdtGoods", "wdtReissueType", "wdtSystemOrderNo", "wdtReissueGoods", "wdtSendGood", "wdtSendId", "wdtSendName", "wdtLogisticsCode", "wdtSystemShowOrder", "wdtSystemSelectIds", "wdtReturnBillNo", "wdtReturnBillSelectIds", "wdtReturnBillShowOrder", "wdtLogisticsCompany", "wdtLogisticsList", "wdtReturnGoods", "wdtReturnType", "wdtExchangeGoods", "bsSendGood", "bsSendId", "bsSendName", "bsGoods", "bsExchangeType", "bsExchangeReturnGoods", "bsExchangeSwapOutGoods", "bsExchangeGiftGoods", "bsReissueType", "bsReissueGoods", "bsReturnGoods", "bsReturnType", "bsLogisticsList", "bsLogisticsCompany", "bsLogisticsCode", "kmSystemShowOrder", "bsSystemShowOrder", "bsSystemSelectIds", "bsE3SystemOrderNo", "bsE3SystemShowOrder", "bsE3SystemSelectIds", "bsE3Goods", "bsE3ReissueGoods", "bsE3ReissueType", "reissueLogisticsList", "reissueLogisticsCompany", "reissueLogisticsCode", "deliveryNoList", "deliveryNoIds", "returnGoodsStatusList", "returnGoodsTradeIdList", "returnGoodsTradeItemList", "tradeIdList", "tradeItemList", "wlnLogisticsList", "wlnLogisticsCompany", "wlnLogisticsCode", "wlnSystemShowOrder", "wlnSystemSelectIds", "wlnGoods", "wlnSendGood", "wlnSendId", "wlnSendName", "exchangeReason", "flowTag", "returnGoodsStatusList", "returnGoodsStatusValue", "exchangeReason", "exchangeStatusValue", "inStockStatusItemList", "inStockStatusList", "bsE3InStockStatusItemList", "bsE3InStockStatusList", "wdtInStockStatusItemList", "wdtInStockStatusList", "reissueStatusValue", "reissueReason", "adjustWorkOrderStatusValue", "adjustWorkOrderReason", "msgStatusValues", "msgStatus4Search", "createStatusValue", "createReason", "invoiceStatusValue", "invoiceReason", "invoicingStatusValue", "invoicingReason", "trajectoryList", "trajectoryMoreCompany", "trajectoryMoreCode", "trajectoryMoreSnapshot", "logisticsInterceptList", "logisticsInterceptCompanyList", "logisticsInterceptCodeList", "logisticsInterceptTypeList", "logisticsInterceptStatusList", "logisticsInterceptApiStatusList", "interceptLogisticsApiStatus", "logisticsInterceptSnapshotList", "productList", "subOrderList", "label", "kmSendGood", "kmSendId", "kmSendName", "kmGoods", "gyGoods", "gyReissueType", "gySystemOrderNo", "gyReissueGoods", "gySendGood", "gySendId", "gySendName", "gyLogisticsCode", "gySystemShowOrder", "gySystemSelectIds", "gyLogisticsCompany", "gyLogisticsList", "gyReturnGoods", "gyReturnType", "gyExchangeGoods", "jyGoods", "jySystemOrderNo", "jySystemShowOrder", "jySystemSelectIds", "jySendGood", "jySendId", "jySendName", "jyLogisticsList", "jyLogisticsCompany", "jyLogisticsCode", "kmLogisticsList", "jstGoods", "jstSendGood", "jstReissueType", "jstReissueGoods", "jstSystemOrderNo", "jstLogisticsList", "jstSystemShowOrder", "jstSystemSelectIds", "jstReturnGoods", "jstReturnType", "jstExchangeGoods", "trajectoryApiStatus", "kmReissueGoods", "kmReissueType", "kmReturnGoods", "kmReturnType", "kmVideo", "wdtTags", "skxGoods", "skxReturnGoods", "skxLogisticsList", "skxReturnLogistics", "jyReissueGoods", "jyReissueType", "jstAftersaleGoods"].reduce(function (cur, nxt) {
|
|
3
3
|
return cur || (key === null || key === void 0 ? void 0 : key.includes(nxt));
|
|
4
4
|
}, false);
|
|
5
5
|
});
|
|
@@ -7,6 +7,18 @@ export declare const WDT_SYSTEM_ORDER_CONFIG: {
|
|
|
7
7
|
title: string;
|
|
8
8
|
dataIndex: string;
|
|
9
9
|
width: number;
|
|
10
|
+
ellipsis: boolean;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
export declare const WDT_RETURN_BILL_NO_CONFIG: {
|
|
14
|
+
key: string;
|
|
15
|
+
name: string;
|
|
16
|
+
selectId: string;
|
|
17
|
+
columns: {
|
|
18
|
+
title: string;
|
|
19
|
+
dataIndex: string;
|
|
20
|
+
width: number;
|
|
21
|
+
ellipsis: boolean;
|
|
10
22
|
}[];
|
|
11
23
|
};
|
|
12
24
|
export declare const WDT_ORDER_TYPE_MAP: {
|
|
@@ -28,6 +40,7 @@ export declare const WDT_ORDER_TYPE_MAP: {
|
|
|
28
40
|
108: string;
|
|
29
41
|
};
|
|
30
42
|
export declare const updateWdtGoodsHandle: (orders?: any[]) => any;
|
|
43
|
+
export declare const updateWdtAftersaleGoodsHandle: (orders?: any[]) => any;
|
|
31
44
|
export declare const filterWdtOrders: (detail: any, order_no: string) => any;
|
|
32
45
|
export declare const wdtOrderBackFormValues: (detail?: any, templateDetail?: any) => any;
|
|
33
46
|
export declare const wdtOrderTransform: (detail: any, form: any) => {
|
|
@@ -38,6 +51,13 @@ export declare const wdtOrderTransform: (detail: any, form: any) => {
|
|
|
38
51
|
selectIds: any;
|
|
39
52
|
showOrderInfo: any;
|
|
40
53
|
};
|
|
54
|
+
wdtReturnSystemOrder: {
|
|
55
|
+
isRequest: boolean;
|
|
56
|
+
orderNo: any;
|
|
57
|
+
orders: any;
|
|
58
|
+
selectIds: any;
|
|
59
|
+
showOrderInfo: any;
|
|
60
|
+
};
|
|
41
61
|
wdtSystemOrderNo: any;
|
|
42
62
|
wdtReissueGoods: any;
|
|
43
63
|
wdtGoods: {
|
|
@@ -48,6 +68,13 @@ export declare const wdtOrderTransform: (detail: any, form: any) => {
|
|
|
48
68
|
shopCode: any;
|
|
49
69
|
wdtGoods: any;
|
|
50
70
|
};
|
|
71
|
+
wdtAftersaleGoods: {
|
|
72
|
+
isRequest: boolean;
|
|
73
|
+
orders: any;
|
|
74
|
+
orderNo: any;
|
|
75
|
+
shopCode: any;
|
|
76
|
+
wdtAftersaleGoods: any;
|
|
77
|
+
};
|
|
51
78
|
wdtLogistics: any;
|
|
52
79
|
wdtSendGood: any;
|
|
53
80
|
shopCode: any;
|