@kmkf-fe-packages/kmkf-utils 2.2.13-beta.24 → 2.2.13-beta.25

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.
@@ -151,10 +151,12 @@ var updateJyItemListHandle = function updateJyItemListHandle(list, type, comList
151
151
  // };
152
152
  // });
153
153
  // prv.push(...deliveryList);
154
- params.logisticsCompanyName = next === null || next === void 0 ? void 0 : next.logistName;
155
- params.logisticsCompany = next === null || next === void 0 ? void 0 : next.logisticId;
156
- params.logisticsCode = next === null || next === void 0 ? void 0 : next.logisticNo;
157
- prv.push(params);
154
+ if (next !== null && next !== void 0 && next.logisticId || next !== null && next !== void 0 && next.logisticNo) {
155
+ params.logisticsCompanyName = next === null || next === void 0 ? void 0 : next.logistName;
156
+ params.logisticsCompany = next === null || next === void 0 ? void 0 : next.logisticId;
157
+ params.logisticsCode = next === null || next === void 0 ? void 0 : next.logisticNo;
158
+ prv.push(params);
159
+ }
158
160
  } else if (type === "send") {
159
161
  params.sendId = next === null || next === void 0 ? void 0 : next.warehouseId;
160
162
  //下拉框,取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.24",
3
+ "version": "2.2.13-beta.25",
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": "8df4efcb267844d3dfdeb9ddf408436164924049",
44
+ "gitHead": "1eaef1f475e9a409c5869afbdd15233df186b4e2",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }