@kmkf-fe-packages/kmkf-utils 0.8.17-alpha.34 → 0.8.17-alpha.35
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.
|
@@ -28,6 +28,11 @@ export declare const bsOrderTransform: (detail: any) => {
|
|
|
28
28
|
bsReissueType: never[];
|
|
29
29
|
bsReissueGoods: never[];
|
|
30
30
|
};
|
|
31
|
+
bsReturnGoods: {
|
|
32
|
+
shopCode: any;
|
|
33
|
+
bsReturnType: never[];
|
|
34
|
+
bsReturnGoods: never[];
|
|
35
|
+
};
|
|
31
36
|
bsLogistics: any;
|
|
32
37
|
bsSendGood: any;
|
|
33
38
|
bsDeliveryNo: any;
|
|
@@ -177,6 +177,9 @@ export var bsOrderBackFormValues = function bsOrderBackFormValues() {
|
|
|
177
177
|
case "BS_REISSUE_GOODS":
|
|
178
178
|
prv[uniqueKey] = detail === null || detail === void 0 ? void 0 : detail.bsReissueGoods;
|
|
179
179
|
break;
|
|
180
|
+
case "BS_RETURN_GOODS":
|
|
181
|
+
prv[uniqueKey] = detail === null || detail === void 0 ? void 0 : detail.bsReturnGoods;
|
|
182
|
+
break;
|
|
180
183
|
case "BS_LOGISTICS":
|
|
181
184
|
prv[uniqueKey] = updateBsItemListByConfigHandle(detail === null || detail === void 0 ? void 0 : detail.bsLogistics, "logistics", config);
|
|
182
185
|
break;
|
|
@@ -193,7 +196,7 @@ export var bsOrderBackFormValues = function bsOrderBackFormValues() {
|
|
|
193
196
|
return prv;
|
|
194
197
|
}, {});
|
|
195
198
|
};
|
|
196
|
-
//
|
|
199
|
+
//bs订单信息转换
|
|
197
200
|
export var bsOrderTransform = function bsOrderTransform(detail) {
|
|
198
201
|
var _detail$orders, _detail$orders$, _detail$orders$$advan, _detail$orders2, _ref, _detail$orders3, _detail$orders3$, _detail$orders3$$adva, _detail$orders3$$adva2;
|
|
199
202
|
var advItem = (detail === null || detail === void 0 ? void 0 : (_detail$orders = detail.orders) === null || _detail$orders === void 0 ? void 0 : (_detail$orders$ = _detail$orders[0]) === null || _detail$orders$ === void 0 ? void 0 : (_detail$orders$$advan = _detail$orders$.advancedDistributionInfos) === null || _detail$orders$$advan === void 0 ? void 0 : _detail$orders$$advan[0]) || {};
|
|
@@ -241,6 +244,11 @@ export var bsOrderTransform = function bsOrderTransform(detail) {
|
|
|
241
244
|
bsReissueType: [],
|
|
242
245
|
bsReissueGoods: []
|
|
243
246
|
},
|
|
247
|
+
bsReturnGoods: {
|
|
248
|
+
shopCode: detail === null || detail === void 0 ? void 0 : detail.shopCode,
|
|
249
|
+
bsReturnType: [],
|
|
250
|
+
bsReturnGoods: []
|
|
251
|
+
},
|
|
244
252
|
bsLogistics: updateBsItemListHandle(detail === null || detail === void 0 ? void 0 : detail.orders, "logistics"),
|
|
245
253
|
bsSendGood: updateBsItemListHandle(detail === null || detail === void 0 ? void 0 : detail.orders, "send"),
|
|
246
254
|
bsDeliveryNo: updateBsSystemItemListHandle(detail === null || detail === void 0 ? void 0 : detail.orders, "delivery"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-utils",
|
|
3
|
-
"version": "0.8.17-alpha.
|
|
3
|
+
"version": "0.8.17-alpha.35",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"gitHooks": {
|
|
43
43
|
"pre-commit": "lint-staged"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "8936a448ae21f628dffb06b5ae0fb4d4170e71a7"
|
|
46
46
|
}
|