@kmkf-fe-packages/kmkf-utils 0.26.1-beta.11 → 0.26.1

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.
@@ -41,7 +41,6 @@ declare enum TComponentType {
41
41
  ENTERPRISE_PAYMENT = "ENTERPRISE_PAYMENT",
42
42
  SYSTEM_ORDER_NO = "SYSTEM_ORDER_NO",
43
43
  LOGISTICS_INTERCEPTION = "LOGISTICS_INTERCEPTION",
44
- LOGISTICS_INTERCEPTION_MORE = "LOGISTICS_INTERCEPTION_MORE",
45
44
  WORK_ORDER_ID_INPUT = "WORK_ORDER_ID_INPUT",
46
45
  FLOW_STATUS_SELECT = "FLOW_STATUS_SELECT",
47
46
  FLOW_MARK_SELECT = "FLOW_MARK_SELECT",
@@ -5,7 +5,6 @@ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symb
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
6
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
7
  import ExpressData from "../expressData";
8
- import ExpressInterceptData from "../expressInterceptData";
9
8
  import uuid from "./getUUid";
10
9
  var updateBsGoodsHandle = function updateBsGoodsHandle() {
11
10
  var orders = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
@@ -211,36 +210,6 @@ export var bsOrderBackFormValues = function bsOrderBackFormValues() {
211
210
  }
212
211
  }
213
212
  break;
214
- case "LOGISTICS_INTERCEPTION_MORE":
215
- if (config.isOpen) {
216
- if (config.logisticsMapping.companyType === "BS_LOGISTICS") {
217
- prv[uniqueKey] = detail === null || detail === void 0 ? void 0 : detail.bsLogistics.reduce(function (p, n) {
218
- var expressInterceptData = ExpressInterceptData.getInstance().getExpressData();
219
- var interceptCompany = expressInterceptData.find(function (t) {
220
- return t.value === n.logisticsCompany;
221
- });
222
- var returnValue = ((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.interceptionTypeList) || []).find(function (item) {
223
- var _item$config;
224
- return item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.isDefault;
225
- });
226
- p.push({
227
- interceptCompany: n.logisticsCompany,
228
- interceptCode: n.logisticsCode,
229
- interceptType: returnValue === null || returnValue === void 0 ? void 0 : returnValue.value,
230
- interceptSenderMobile: undefined,
231
- interceptAddress: [],
232
- interceptDetail: undefined,
233
- interceptReceiverName: undefined,
234
- interceptReceiverMobile: undefined,
235
- interceptStatus: undefined,
236
- interceptOther: undefined,
237
- interceptLogisticsSnapshot: undefined
238
- });
239
- return p;
240
- }, []);
241
- }
242
- }
243
- break;
244
213
  }
245
214
  return prv;
246
215
  }, {});
@@ -196,25 +196,6 @@ export default (function (_ref) {
196
196
  }
197
197
  }
198
198
  break;
199
- case "LOGISTICS_INTERCEPTION_MORE":
200
- if (config.isOpen) {
201
- if (config.logisticsMapping.companyType === "EXPRESS_LOGISTICS_SELECT") {
202
- prv[uniqueKey] = [{
203
- interceptCompany: ExpressData.getInstance().getExpressCodeByName(detail["expressLogisticsCompany"]),
204
- interceptCode: detail["expressLogisticsCode"],
205
- interceptType: undefined,
206
- interceptSenderMobile: undefined,
207
- interceptAddress: [],
208
- interceptDetail: undefined,
209
- interceptReceiverName: undefined,
210
- interceptReceiverMobile: undefined,
211
- interceptStatus: undefined,
212
- interceptOther: undefined,
213
- interceptLogisticsSnapshot: undefined
214
- }];
215
- }
216
- }
217
- break;
218
199
  }
219
200
  return prv;
220
201
  }, {});
@@ -1,5 +1,5 @@
1
1
  export default (function (key) {
2
- return ["itemList", "itemId", "supplierName", "numIid", "aloneItemId", "aloneItemEncode", "jstItemList", "logisticsCompany", "logisticsCode", "supplyId", "supplyName", "sendId", "sendName", "dateTime", "basicMultSelect", "checkbox", "multSelect", "rate", "picture", "file", "wdtGoods", "wdtReissueType", "wdtReissueGoods", "wdtSendGood", "wdtSendId", "wdtSendName", "wdtLogisticsCode", "wdtSystemShowOrder", "wdtSystemSelectIds", "wdtLogisticsCompany", "wdtLogisticsList", "bsSendGood", "bsSendId", "bsSendName", "bsGoods", "bsExchangeType", "bsExchangeReturnGoods", "bsExchangeSwapOutGoods", "bsExchangeGiftGoods", "bsReissueType", "bsReissueGoods", "bsReturnGoods", "bsReturnType", "bsLogisticsList", "bsLogisticsCompany", "bsLogisticsCode", "bsSystemShowOrder", "bsSystemSelectIds", "reissueLogisticsList", "reissueLogisticsCompany", "reissueLogisticsCode", "deliveryNoList", "deliveryNoIds", "returnGoodsStatusList", "returnGoodsTradeIdList", "returnGoodsTradeItemList", "tradeIdList", "tradeItemList", "wlnLogisticsList", "wlnLogisticsCompany", "wlnLogisticsCode", "wlnSystemShowOrder", "wlnSystemSelectIds", "wlnGoods", "wlnSendGood", "wlnSendId", "wlnSendName", "exchangeReason", "flowTag", "returnGoodsStatusList", "returnGoodsStatusValue", "exchangeReason", "exchangeStatusValue", "inStockStatusItemList", "inStockStatusList", "reissueStatusValue", "reissueReason", "adjustWorkOrderStatusValue", "adjustWorkOrderReason", "msgStatusValues", "msgStatus4Search", "createStatusValue", "createReason", "invoiceStatusValue", "invoiceReason", "invoicingStatusValue", "invoicingReason", "trajectoryList", "trajectoryMoreCompany", "trajectoryMoreCode", "trajectoryMoreSnapshot", "logisticsInterceptList", "logisticsInterceptCompanyList", "logisticsInterceptCodeList", "logisticsInterceptTypeList", "logisticsInterceptStatusList", "logisticsInterceptSnapshotList"].reduce(function (cur, nxt) {
2
+ return ["itemList", "itemId", "supplierName", "numIid", "aloneItemId", "aloneItemEncode", "jstItemList", "logisticsCompany", "logisticsCode", "supplyId", "supplyName", "sendId", "sendName", "dateTime", "basicMultSelect", "checkbox", "multSelect", "rate", "picture", "file", "wdtGoods", "wdtReissueType", "wdtReissueGoods", "wdtSendGood", "wdtSendId", "wdtSendName", "wdtLogisticsCode", "wdtSystemShowOrder", "wdtSystemSelectIds", "wdtLogisticsCompany", "wdtLogisticsList", "bsSendGood", "bsSendId", "bsSendName", "bsGoods", "bsExchangeType", "bsExchangeReturnGoods", "bsExchangeSwapOutGoods", "bsExchangeGiftGoods", "bsReissueType", "bsReissueGoods", "bsReturnGoods", "bsReturnType", "bsLogisticsList", "bsLogisticsCompany", "bsLogisticsCode", "bsSystemShowOrder", "bsSystemSelectIds", "reissueLogisticsList", "reissueLogisticsCompany", "reissueLogisticsCode", "deliveryNoList", "deliveryNoIds", "returnGoodsStatusList", "returnGoodsTradeIdList", "returnGoodsTradeItemList", "tradeIdList", "tradeItemList", "wlnLogisticsList", "wlnLogisticsCompany", "wlnLogisticsCode", "wlnSystemShowOrder", "wlnSystemSelectIds", "wlnGoods", "wlnSendGood", "wlnSendId", "wlnSendName", "exchangeReason", "flowTag", "returnGoodsStatusList", "returnGoodsStatusValue", "exchangeReason", "exchangeStatusValue", "inStockStatusItemList", "inStockStatusList", "reissueStatusValue", "reissueReason", "adjustWorkOrderStatusValue", "adjustWorkOrderReason", "msgStatusValues", "msgStatus4Search", "createStatusValue", "createReason", "invoiceStatusValue", "invoiceReason", "invoicingStatusValue", "invoicingReason", "trajectoryList", "trajectoryMoreCompany", "trajectoryMoreCode", "trajectoryMoreSnapshot"].reduce(function (cur, nxt) {
3
3
  return cur || (key === null || key === void 0 ? void 0 : key.includes(nxt));
4
4
  }, false);
5
5
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "0.26.1-beta.11",
3
+ "version": "0.26.1",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -40,7 +40,7 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "16d58155a74ffcd52ad2e65535cf1f63e4ff789c",
43
+ "gitHead": "a0bba4d2173af489b94bcd39c30078628963767a",
44
44
  "gitHooks": {
45
45
  "pre-commit": "lint-staged"
46
46
  }