@kmkf-fe-packages/kmkf-utils 2.2.13-beta.82 → 2.2.13-beta.86

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.
@@ -223,11 +223,10 @@ export var bsOrderBackFormValues = function bsOrderBackFormValues() {
223
223
  {
224
224
  var _detail$bsGoods, _detail$bsGoods2;
225
225
  var initReason = !isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : [];
226
- console.log("initReason", initReason);
227
226
  prv[uniqueKey] = _objectSpread(_objectSpread({}, detail === null || detail === void 0 ? void 0 : detail.bsExchangeGoods), {}, {
228
227
  bsExchangeType: initReason,
229
- bsExchangeReturnGoods: ["2", "4"].includes(initReason[0]) ? [] : (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods = detail.bsGoods) === null || _detail$bsGoods === void 0 ? void 0 : _detail$bsGoods.bsGoods) || [],
230
- bsExchangeSwapOutGoods: ["2", "4"].includes(initReason[0]) ? [] : (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods2 = detail.bsGoods) === null || _detail$bsGoods2 === void 0 ? void 0 : _detail$bsGoods2.bsGoods) || []
228
+ bsExchangeReturnGoods: ["1", "3"].includes(initReason[0]) ? (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods = detail.bsGoods) === null || _detail$bsGoods === void 0 ? void 0 : _detail$bsGoods.bsGoods) || [] : [],
229
+ bsExchangeSwapOutGoods: ["1", "3"].includes(initReason[0]) ? (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods2 = detail.bsGoods) === null || _detail$bsGoods2 === void 0 ? void 0 : _detail$bsGoods2.bsGoods) || [] : []
231
230
  });
232
231
  }
233
232
  break;
@@ -237,7 +236,7 @@ export var bsOrderBackFormValues = function bsOrderBackFormValues() {
237
236
  var _initReason = !isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : [];
238
237
  prv[uniqueKey] = _objectSpread(_objectSpread({}, detail === null || detail === void 0 ? void 0 : detail.bsReissueGoods), {}, {
239
238
  bsReissueType: _initReason,
240
- bsReissueGoods: ["2", "4"].includes(_initReason[0]) ? [] : (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods3 = detail.bsGoods) === null || _detail$bsGoods3 === void 0 ? void 0 : _detail$bsGoods3.bsGoods) || []
239
+ bsReissueGoods: ["1", "3"].includes(_initReason[0]) ? (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods3 = detail.bsGoods) === null || _detail$bsGoods3 === void 0 ? void 0 : _detail$bsGoods3.bsGoods) || [] : []
241
240
  });
242
241
  }
243
242
  // prv[uniqueKey] = detail?.bsReissueGoods;
@@ -249,7 +248,7 @@ export var bsOrderBackFormValues = function bsOrderBackFormValues() {
249
248
  var _initReason2 = !isNull(config === null || config === void 0 ? void 0 : config.initReason) ? Array.isArray(config.initReason) ? config.initReason : [config.initReason] : [];
250
249
  prv[uniqueKey] = _objectSpread(_objectSpread({}, detail === null || detail === void 0 ? void 0 : detail.bsReturnGoods), {}, {
251
250
  bsReturnType: _initReason2,
252
- bsReturnGoods: ["2"].includes(_initReason2[0]) ? [] : (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods4 = detail.bsGoods) === null || _detail$bsGoods4 === void 0 ? void 0 : _detail$bsGoods4.bsGoods) || []
251
+ bsReturnGoods: ["1"].includes(_initReason2[0]) ? (detail === null || detail === void 0 ? void 0 : (_detail$bsGoods4 = detail.bsGoods) === null || _detail$bsGoods4 === void 0 ? void 0 : _detail$bsGoods4.bsGoods) || [] : []
253
252
  });
254
253
  }
255
254
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "2.2.13-beta.82",
3
+ "version": "2.2.13-beta.86",
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": "f86d1a464c1e1d38874099e38795e7e52be29103",
44
+ "gitHead": "435d3fcd1e904b78057e2b697529e547aace331c",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }