@kmkf-fe-packages/kmkf-utils 2.3.19-beta.15 → 2.3.19-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.
@@ -54,6 +54,17 @@ export var jstOrderDetailWrap = function jstOrderDetailWrap(soId) {
54
54
  });
55
55
  }
56
56
  return jstOrderDetailDataToOrderOutData(res);
57
+ }).then(function (res) {
58
+ var _res$data2;
59
+ if (res !== null && res !== void 0 && (_res$data2 = res.data) !== null && _res$data2 !== void 0 && _res$data2.length) {
60
+ res.data = res.data.map(function (order) {
61
+ order.items = order.items.filter(function (item) {
62
+ return !(item.qty === 0 && item.skuType === "combine");
63
+ });
64
+ return order;
65
+ });
66
+ }
67
+ return res;
57
68
  }).catch(function (e) {
58
69
  // console.log('***** in e', e);
59
70
  return jstOrderOutList({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "2.3.19-beta.15",
3
+ "version": "2.3.19-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": "ae76bf0a2bceb0c86bbecac5146be7366bdc5a93",
44
+ "gitHead": "abb2770b3f49cd415ad86c79881b3a925afb8b29",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }