@kmkf-fe-packages/kmkf-utils 2.9.1-beta.14 → 2.9.1-beta.15

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.
@@ -196,6 +196,7 @@ export var updateJkyGoodsHandle = function updateJkyGoodsHandle() {
196
196
  var productDates = [];
197
197
  var expireDates = [];
198
198
  if (config.orderBackGoodsLevel !== "2" && next.tradeOrderAssemblyGoodsDtoList && next.tradeOrderAssemblyGoodsDtoList.length) {
199
+ var goodsList = next.goodsDetail;
199
200
  next.tradeOrderAssemblyGoodsDtoList.forEach(function (subItem) {
200
201
  var _next$assemblyGoodsDe;
201
202
  subItem.systemOrderNo = next === null || next === void 0 ? void 0 : next.tradeNo;
@@ -207,6 +208,10 @@ export var updateJkyGoodsHandle = function updateJkyGoodsHandle() {
207
208
  subItem.batchNo = batchNos.join(",");
208
209
  subItem.productDate = productDates.join(",");
209
210
  subItem.expireDate = expireDates.join(",");
211
+ var goodsItem = goodsList.find(function (goodItem) {
212
+ return goodItem.subTradeId === subItem.subTradeId;
213
+ });
214
+ subItem.sourceSubtradeNo = goodsItem.sourceSubtradeNo;
210
215
  prv.push(subItem);
211
216
  });
212
217
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "2.9.1-beta.14",
3
+ "version": "2.9.1-beta.15",
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": "af085aafcfe80aee6c561305fe508ee5252399ff",
44
+ "gitHead": "0a90cf25939d9096bb5585a7518d1483161569f5",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }