@kmkf-fe-packages/kmkf-utils 2.2.13-beta.22 → 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,9 +151,12 @@ var updateJyItemListHandle = function updateJyItemListHandle(list, type, comList
151
151
  // };
152
152
  // });
153
153
  // prv.push(...deliveryList);
154
- params.logisticsCompany = next === null || next === void 0 ? void 0 : next.logisticId;
155
- params.logisticsCode = next === null || next === void 0 ? void 0 : next.logisticNo;
156
- 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
+ }
157
160
  } else if (type === "send") {
158
161
  params.sendId = next === null || next === void 0 ? void 0 : next.warehouseId;
159
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.22",
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": "d7a2014469d2717f048fc238b35d9cb0aa59444c",
44
+ "gitHead": "1eaef1f475e9a409c5869afbdd15233df186b4e2",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }