@kmkf-fe-packages/kmkf-utils 0.7.15-alpha.42 → 0.7.15-alpha.45

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.
@@ -92,6 +92,44 @@ var updateJSTItemListHandle = function updateJSTItemListHandle() {
92
92
  }
93
93
  };
94
94
 
95
+ // const updateBsItemListHandle = (
96
+ // list: any,
97
+ // type: string,
98
+ // config: Partial<{
99
+ // showField: string;
100
+ // }> = {}
101
+ // ) => {
102
+ // const { showField } = config;
103
+ // let newList = list?.map((item: any) => {
104
+ // const items = item.items.map((t: any) => {
105
+ // return {
106
+ // title: t.skuName,
107
+ // picUrl: t.pic,
108
+ // platform: "bs",
109
+ // skuId: t.skuId,
110
+ // };
111
+ // });
112
+ // const params: any = { items };
113
+ // if (type === "logistics") {
114
+ // if (["logisticsCompany", ""].includes(showField || "")) {
115
+ // params.logisticsCompany = item.logisticsCompany;
116
+ // }
117
+ // if (["logisticsCode", ""].includes(showField || "")) {
118
+ // params.logisticsCode = item.lId;
119
+ // }
120
+ // } else if (type === "send") {
121
+ // if (["sendId", "all"].includes(showField || "")) {
122
+ // params.sendId = item.wmsCoId;
123
+ // }
124
+ // if (["sendName", "all"].includes(showField || "")) {
125
+ // params.sendName = item.wmsCoName;
126
+ // }
127
+ // }
128
+ // return params;
129
+ // });
130
+ // return newList;
131
+ // };
132
+
95
133
  // 淘宝商品组件信息处理
96
134
 
97
135
  var taobaoGoodHandle = function taobaoGoodHandle() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "0.7.15-alpha.42",
3
+ "version": "0.7.15-alpha.45",
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": "76ad2144cdbee64aaa196879a8d3553015700999"
45
+ "gitHead": "c604f10273aeab32e49006c8578bbe5f097b1f19"
46
46
  }