@kmkf-fe-packages/kmkf-utils 2.2.13-beta.15 → 2.2.13-beta.16
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.
|
@@ -126,12 +126,12 @@ var updateJyItemListHandle = function updateJyItemListHandle(list, type, comList
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
var newList = list === null || list === void 0 ? void 0 : list.reduce(function (prv, next) {
|
|
129
|
-
var items = ((next === null || next === void 0 ? void 0 : next.
|
|
129
|
+
var items = ((next === null || next === void 0 ? void 0 : next.subOrderDetails) || []).map(function (t) {
|
|
130
130
|
return {
|
|
131
|
-
title: (t === null || t === void 0 ? void 0 : t.
|
|
132
|
-
picUrl: (t === null || t === void 0 ? void 0 : t.
|
|
131
|
+
title: (t === null || t === void 0 ? void 0 : t.productName) || "",
|
|
132
|
+
picUrl: (t === null || t === void 0 ? void 0 : t.imageUrl) || "",
|
|
133
133
|
platform: "jy",
|
|
134
|
-
skuId: (t === null || t === void 0 ? void 0 : t.
|
|
134
|
+
skuId: (t === null || t === void 0 ? void 0 : t.productCode) || ""
|
|
135
135
|
};
|
|
136
136
|
});
|
|
137
137
|
var params = {
|
|
@@ -149,6 +149,7 @@ var updateJyItemListHandle = function updateJyItemListHandle(list, type, comList
|
|
|
149
149
|
// prv.push(...deliveryList);
|
|
150
150
|
params.logisticsCompany = next === null || next === void 0 ? void 0 : next.logisticId;
|
|
151
151
|
params.logisticsCode = next === null || next === void 0 ? void 0 : next.logisticNo;
|
|
152
|
+
prv.push(params);
|
|
152
153
|
} else if (type === "send") {
|
|
153
154
|
params.sendId = next === null || next === void 0 ? void 0 : next.warehouseId;
|
|
154
155
|
//下拉框,取id
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-utils",
|
|
3
|
-
"version": "2.2.13-beta.
|
|
3
|
+
"version": "2.2.13-beta.16",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "05b79e8aca7096204256850b1c757e39bdfa198f",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|