@kmkf-fe-packages/services-components 2.2.5-beta.4 → 2.2.5-beta.42

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.
Files changed (29) hide show
  1. package/dist/esm/Hooks/useColumnsConfig.d.ts +1 -1
  2. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +1 -1
  3. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +3 -2
  4. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.js +13 -12
  5. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.js +10 -9
  6. package/dist/esm/commonComponents/ShopList/index.js +2 -1
  7. package/dist/esm/components/BS/BsLogistics/index.d.ts +2 -0
  8. package/dist/esm/components/BS/BsLogistics/index.js +25 -2
  9. package/dist/esm/components/CommonHeaderGood/index.js +2 -2
  10. package/dist/esm/components/ErpTradeId/index.d.ts +2 -2
  11. package/dist/esm/components/ErpTradeId/index.js +7 -4
  12. package/dist/esm/components/File/index.d.ts +6 -6
  13. package/dist/esm/components/File/index.js +9 -9
  14. package/dist/esm/components/LogisticsInterception/index.d.ts +3 -0
  15. package/dist/esm/components/LogisticsInterception/index.js +10 -5
  16. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.d.ts +35 -0
  17. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.js +84 -0
  18. package/dist/esm/components/OrderSubForm/index.js +4 -1
  19. package/dist/esm/components/SubForm/children/HeaderChildFile.d.ts +30 -0
  20. package/dist/esm/components/SubForm/children/HeaderChildFile.js +117 -0
  21. package/dist/esm/components/SubForm/children/HeaderChildPic.d.ts +30 -0
  22. package/dist/esm/components/SubForm/children/HeaderChildPic.js +116 -0
  23. package/dist/esm/components/SubForm/index.js +78 -3
  24. package/dist/esm/components/TradeId/index.d.ts +5 -5
  25. package/dist/esm/components/TradeId/index.js +17 -14
  26. package/dist/esm/factory.d.ts +1 -1
  27. package/dist/esm/service/api.d.ts +1 -0
  28. package/dist/esm/service/api.js +6 -0
  29. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import LogisticsInterception from "../components/LogisticsInterception";
2
2
  import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
3
- export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/FlowTag").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/BuyerNick").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/CommonSystemOrder").default | import("../components/CommonMultiStatus").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/GY/GyGoods").default;
3
+ export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/TradeId").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/ShopName").default | import("../components/BuyerNick").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/CommonSystemOrder").default | import("../components/CommonMultiStatus").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/GY/GyGoods").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default;
4
4
  export declare const useColumnsConfig: ({ queryWorkOrderDetail, flatTemplateList, shopList, sortState, onChangeSort, handleReset, handleSubmit, handleChangeSingleWorkOrderMark, userList, tbAppKey, isShare, openSingleColumnsFilter, openSingleColumnsSort, }: {
5
5
  queryWorkOrderDetail?: ((p: any) => void) | undefined;
6
6
  flatTemplateList?: any;
@@ -1,3 +1,3 @@
1
- declare type HasErpDataKeyType = "hasWln" | "hasWdt" | "hasBs" | "hasE3" | "hasJst" | "hasGy";
1
+ declare type HasErpDataKeyType = "hasWln" | "hasWdt" | "hasBs" | "hasE3" | "hasJst" | "hasGy" | "hasJy";
2
2
  declare function useGetHasErpData(reduxData: any): Record<HasErpDataKeyType, boolean>;
3
3
  export default useGetHasErpData;
@@ -6,14 +6,15 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import { useEffect, useMemo, useState } from "react";
8
8
  var getTemplate = function getTemplate(companyUserConfig) {
9
- var _companyUserConfig$pl, _companyUserConfig$pl2, _companyUserConfig$pl3, _companyUserConfig$pl4, _companyUserConfig$pl5, _companyUserConfig$pl6, _companyUserConfig$pl7, _companyUserConfig$pl8, _companyUserConfig$pl9, _companyUserConfig$pl10, _companyUserConfig$pl11, _companyUserConfig$pl12, _companyUserConfig$pl13, _companyUserConfig$pl14, _companyUserConfig$pl15, _companyUserConfig$pl16, _companyUserConfig$pl17, _companyUserConfig$pl18;
9
+ var _companyUserConfig$pl, _companyUserConfig$pl2, _companyUserConfig$pl3, _companyUserConfig$pl4, _companyUserConfig$pl5, _companyUserConfig$pl6, _companyUserConfig$pl7, _companyUserConfig$pl8, _companyUserConfig$pl9, _companyUserConfig$pl10, _companyUserConfig$pl11, _companyUserConfig$pl12, _companyUserConfig$pl13, _companyUserConfig$pl14, _companyUserConfig$pl15, _companyUserConfig$pl16, _companyUserConfig$pl17, _companyUserConfig$pl18, _companyUserConfig$pl19, _companyUserConfig$pl20, _companyUserConfig$pl21;
10
10
  return JSON.stringify({
11
11
  hasWln: (_companyUserConfig$pl = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl2 = companyUserConfig.plugins) === null || _companyUserConfig$pl2 === void 0 ? void 0 : (_companyUserConfig$pl3 = _companyUserConfig$pl2.wln) === null || _companyUserConfig$pl3 === void 0 ? void 0 : _companyUserConfig$pl3.show) !== null && _companyUserConfig$pl !== void 0 ? _companyUserConfig$pl : false,
12
12
  hasWdt: (_companyUserConfig$pl4 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl5 = companyUserConfig.plugins) === null || _companyUserConfig$pl5 === void 0 ? void 0 : (_companyUserConfig$pl6 = _companyUserConfig$pl5.wdt) === null || _companyUserConfig$pl6 === void 0 ? void 0 : _companyUserConfig$pl6.show) !== null && _companyUserConfig$pl4 !== void 0 ? _companyUserConfig$pl4 : false,
13
13
  hasBs: (_companyUserConfig$pl7 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl8 = companyUserConfig.plugins) === null || _companyUserConfig$pl8 === void 0 ? void 0 : (_companyUserConfig$pl9 = _companyUserConfig$pl8.bs) === null || _companyUserConfig$pl9 === void 0 ? void 0 : _companyUserConfig$pl9.show) !== null && _companyUserConfig$pl7 !== void 0 ? _companyUserConfig$pl7 : false,
14
14
  hasE3: (_companyUserConfig$pl10 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl11 = companyUserConfig.plugins) === null || _companyUserConfig$pl11 === void 0 ? void 0 : (_companyUserConfig$pl12 = _companyUserConfig$pl11.bse3) === null || _companyUserConfig$pl12 === void 0 ? void 0 : _companyUserConfig$pl12.show) !== null && _companyUserConfig$pl10 !== void 0 ? _companyUserConfig$pl10 : false,
15
15
  hasJst: (_companyUserConfig$pl13 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl14 = companyUserConfig.plugins) === null || _companyUserConfig$pl14 === void 0 ? void 0 : (_companyUserConfig$pl15 = _companyUserConfig$pl14.jst) === null || _companyUserConfig$pl15 === void 0 ? void 0 : _companyUserConfig$pl15.show) !== null && _companyUserConfig$pl13 !== void 0 ? _companyUserConfig$pl13 : false,
16
- hasGy: (_companyUserConfig$pl16 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl17 = companyUserConfig.plugins) === null || _companyUserConfig$pl17 === void 0 ? void 0 : (_companyUserConfig$pl18 = _companyUserConfig$pl17.gy) === null || _companyUserConfig$pl18 === void 0 ? void 0 : _companyUserConfig$pl18.show) !== null && _companyUserConfig$pl16 !== void 0 ? _companyUserConfig$pl16 : false
16
+ hasGy: (_companyUserConfig$pl16 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl17 = companyUserConfig.plugins) === null || _companyUserConfig$pl17 === void 0 ? void 0 : (_companyUserConfig$pl18 = _companyUserConfig$pl17.gy) === null || _companyUserConfig$pl18 === void 0 ? void 0 : _companyUserConfig$pl18.show) !== null && _companyUserConfig$pl16 !== void 0 ? _companyUserConfig$pl16 : false,
17
+ hasJy: (_companyUserConfig$pl19 = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl20 = companyUserConfig.plugins) === null || _companyUserConfig$pl20 === void 0 ? void 0 : (_companyUserConfig$pl21 = _companyUserConfig$pl20.jy) === null || _companyUserConfig$pl21 === void 0 ? void 0 : _companyUserConfig$pl21.show) !== null && _companyUserConfig$pl19 !== void 0 ? _companyUserConfig$pl19 : false
17
18
  });
18
19
  };
19
20
  function useGetHasErpData(reduxData) {
@@ -10,7 +10,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import { useEffect, useState } from "react";
12
12
  import useGetHasErpData from "../hook/useGetHasErpData";
13
- import { queryWdtLogisticsCompany, queryBsE3LogisticsCompany, queryJSTLogisticsCompany, queryWLNLogisticsCompany, queryGYLogisticsCompany } from "../../../service/api";
13
+ import { queryWdtLogisticsCompany, queryBsE3LogisticsCompany, queryJSTLogisticsCompany, queryWLNLogisticsCompany, queryGYLogisticsCompany, queryJYLogisticsCompany } from "../../../service/api";
14
14
  function useGetErpLogisticsCompany(reduxData, notJudgedErp) {
15
15
  var _useState = useState("loading"),
16
16
  _useState2 = _slicedToArray(_useState, 2),
@@ -22,38 +22,39 @@ function useGetErpLogisticsCompany(reduxData, notJudgedErp) {
22
22
  }, [hasErpData, notJudgedErp]);
23
23
  var asyncQueryData = /*#__PURE__*/function () {
24
24
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(hasErpData, notJudgedErp, isReload) {
25
- var hasWdt, hasE3, hasJst, hasWln, hasGy, promises;
25
+ var hasWdt, hasE3, hasJst, hasWln, hasGy, hasJy, promises;
26
26
  return _regeneratorRuntime().wrap(function _callee$(_context) {
27
27
  while (1) switch (_context.prev = _context.next) {
28
28
  case 0:
29
29
  if (!isReload) {
30
30
  setGlobalState("loading");
31
31
  }
32
- hasWdt = hasErpData.hasWdt, hasE3 = hasErpData.hasE3, hasJst = hasErpData.hasJst, hasWln = hasErpData.hasWln, hasGy = hasErpData.hasGy;
32
+ hasWdt = hasErpData.hasWdt, hasE3 = hasErpData.hasE3, hasJst = hasErpData.hasJst, hasWln = hasErpData.hasWln, hasGy = hasErpData.hasGy, hasJy = hasErpData.hasJy;
33
33
  promises = [];
34
34
  if (hasWdt || notJudgedErp) promises.push(queryWdtLogisticsCompany);
35
35
  if (hasE3 || notJudgedErp) promises.push(queryBsE3LogisticsCompany);
36
36
  if (hasJst || notJudgedErp) promises.push(queryJSTLogisticsCompany);
37
37
  if (hasWln || notJudgedErp) promises.push(queryWLNLogisticsCompany);
38
38
  if (hasGy || notJudgedErp) promises.push(queryGYLogisticsCompany);
39
- _context.prev = 8;
40
- _context.next = 11;
39
+ if (hasJy || notJudgedErp) promises.push(queryJYLogisticsCompany);
40
+ _context.prev = 9;
41
+ _context.next = 12;
41
42
  return Promise.all(promises.map(function (promise) {
42
43
  return promise();
43
44
  }));
44
- case 11:
45
+ case 12:
45
46
  setGlobalState("success");
46
- _context.next = 17;
47
+ _context.next = 18;
47
48
  break;
48
- case 14:
49
- _context.prev = 14;
50
- _context.t0 = _context["catch"](8);
49
+ case 15:
50
+ _context.prev = 15;
51
+ _context.t0 = _context["catch"](9);
51
52
  setGlobalState("failed");
52
- case 17:
53
+ case 18:
53
54
  case "end":
54
55
  return _context.stop();
55
56
  }
56
- }, _callee, null, [[8, 14]]);
57
+ }, _callee, null, [[9, 15]]);
57
58
  }));
58
59
  return function asyncQueryData(_x2, _x3, _x4) {
59
60
  return _ref.apply(this, arguments);
@@ -23,7 +23,7 @@ function useGetErpSendData(reduxData, notJudgedErp) {
23
23
  }, [hasErpData, notJudgedErp]);
24
24
  var asyncQueryData = /*#__PURE__*/function () {
25
25
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(hasErpData, notJudgedErp, isReload) {
26
- var hasWdt, hasGy, hasJst, promises;
26
+ var hasWdt, hasGy, hasJst, hasJy, promises;
27
27
  return _regeneratorRuntime().wrap(function _callee$(_context) {
28
28
  while (1) switch (_context.prev = _context.next) {
29
29
  case 0:
@@ -31,28 +31,29 @@ function useGetErpSendData(reduxData, notJudgedErp) {
31
31
  setGlobalState("loading");
32
32
  }
33
33
  _context.prev = 1;
34
- hasWdt = hasErpData.hasWdt, hasGy = hasErpData.hasGy, hasJst = hasErpData.hasJst;
34
+ hasWdt = hasErpData.hasWdt, hasGy = hasErpData.hasGy, hasJst = hasErpData.hasJst, hasJy = hasErpData.hasJy;
35
35
  promises = [];
36
36
  if (hasWdt || notJudgedErp) promises.push(SendDataCenter.getInstance("wdt").fetchData);
37
37
  if (hasGy || notJudgedErp) promises.push(SendDataCenter.getInstance("gy").fetchData);
38
38
  if (hasJst || notJudgedErp) promises.push(SendDataCenter.getInstance("jst").fetchData);
39
- _context.next = 9;
39
+ if (hasJy || notJudgedErp) promises.push(SendDataCenter.getInstance("jy").fetchData);
40
+ _context.next = 10;
40
41
  return Promise.all(promises.map(function (promise) {
41
42
  return promise();
42
43
  }));
43
- case 9:
44
+ case 10:
44
45
  setGlobalState("success");
45
- _context.next = 15;
46
+ _context.next = 16;
46
47
  break;
47
- case 12:
48
- _context.prev = 12;
48
+ case 13:
49
+ _context.prev = 13;
49
50
  _context.t0 = _context["catch"](1);
50
51
  setGlobalState("failed");
51
- case 15:
52
+ case 16:
52
53
  case "end":
53
54
  return _context.stop();
54
55
  }
55
- }, _callee, null, [[1, 12]]);
56
+ }, _callee, null, [[1, 13]]);
56
57
  }));
57
58
  return function asyncQueryData(_x2, _x3, _x4) {
58
59
  return _ref.apply(this, arguments);
@@ -30,6 +30,7 @@ var ShopList = function ShopList(_ref) {
30
30
  var plat = (_platDatInstance$getP = platDatInstance.getPlatData()) === null || _platDatInstance$getP === void 0 ? void 0 : _platDatInstance$getP.find(function (plat) {
31
31
  return plat.platformType === item.shopSource;
32
32
  });
33
+ var shopName = plat !== null && plat !== void 0 && plat.platformName ? "\u3010".concat(plat === null || plat === void 0 ? void 0 : plat.platformName, "\u3011").concat(item.shopName) : item.shopName;
33
34
  return /*#__PURE__*/React.createElement(Select.Option, {
34
35
  disabled: item.disabled || disabledList.includes(item === null || item === void 0 ? void 0 : item[valueMapping]),
35
36
  title: "".concat((plat === null || plat === void 0 ? void 0 : plat.platformName) || "").concat(item.shopName),
@@ -41,7 +42,7 @@ var ShopList = function ShopList(_ref) {
41
42
  marginRight: 5
42
43
  },
43
44
  type: item.shopSource
44
- }), /*#__PURE__*/React.createElement("span", null, (plat === null || plat === void 0 ? void 0 : plat.platformName) && "\u3010".concat(plat === null || plat === void 0 ? void 0 : plat.platformName, "\u3011"), item.shopName));
45
+ }), /*#__PURE__*/React.createElement("span", null, shopName));
45
46
  }));
46
47
  };
47
48
  export default ShopList;
@@ -25,6 +25,8 @@ declare class BsLogistics implements ComponentInterface {
25
25
  dataType: ComponentInterface["dataType"];
26
26
  expressCompany: ExpressCompany;
27
27
  expressCode: ExpressCode;
28
+ isChange: boolean;
29
+ effects: ComponentInterface["effects"];
28
30
  constructor(options: PickOption);
29
31
  renderClient: (record: any) => React.JSX.Element | null;
30
32
  getSortChildFields: (type: string, options: PickOption) => any;
@@ -88,7 +88,8 @@ var typeMap = {
88
88
  company: "jyLogisticsCompany",
89
89
  code: "jyLogisticsCode",
90
90
  platformType: "jy",
91
- companyDataType: "arrayObject"
91
+ companyDataType: "arrayObject",
92
+ companyCodeType: "arrayObject"
92
93
  },
93
94
  SKX_LOGISTICS: {
94
95
  key: "skxLogisticsList",
@@ -141,6 +142,8 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
141
142
  _defineProperty(this, "dataType", void 0);
142
143
  _defineProperty(this, "expressCompany", void 0);
143
144
  _defineProperty(this, "expressCode", void 0);
145
+ _defineProperty(this, "isChange", void 0);
146
+ _defineProperty(this, "effects", void 0);
144
147
  _defineProperty(this, "renderClient", function (record) {
145
148
  var _typeMap$_this$type;
146
149
  var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
@@ -203,6 +206,23 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
203
206
  });
204
207
  _defineProperty(this, "editRender", function (p) {
205
208
  var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$expressDateInst2, _typeMap$_this$type6;
209
+ var onLogisticsCodeBlur = function onLogisticsCodeBlur(val) {
210
+ if (_this.isChange) {
211
+ var _this$effects, _this$effects$form, _p$onBlur;
212
+ (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : (_this$effects$form = _this$effects.form) === null || _this$effects$form === void 0 ? void 0 : _this$effects$form.setFieldsValue({
213
+ skx_return_billNo_blur_from: _this.id
214
+ });
215
+ _this.type === "SKX_RETURN_LOGISTICS" && (p === null || p === void 0 ? void 0 : (_p$onBlur = p.onBlur) === null || _p$onBlur === void 0 ? void 0 : _p$onBlur.call(p, val, "skxReturnTHLogisticsCode"));
216
+ _this.isChange = false;
217
+ }
218
+ };
219
+ var onLogisticsCodeChange = function onLogisticsCodeChange() {
220
+ _this.isChange = true;
221
+ for (var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++) {
222
+ e[_key] = arguments[_key];
223
+ }
224
+ p === null || p === void 0 ? void 0 : p.onChange.apply(p, e);
225
+ };
206
226
  return /*#__PURE__*/React.createElement(GetFormItem, {
207
227
  title: _this.name,
208
228
  name: _this.id,
@@ -215,7 +235,8 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
215
235
  type: 1,
216
236
  platformType: _this.platformType,
217
237
  options: ((_this$expressDateInst2 = _this.expressDateInstance) === null || _this$expressDateInst2 === void 0 ? void 0 : _this$expressDateInst2.getExpressData()) || [],
218
- onChange: p === null || p === void 0 ? void 0 : p.onChange,
238
+ onChange: onLogisticsCodeChange,
239
+ onBlur: onLogisticsCodeBlur,
219
240
  logisticsCompanyFormType: (_typeMap$_this$type6 = typeMap[_this.type]) === null || _typeMap$_this$type6 === void 0 ? void 0 : _typeMap$_this$type6.logisticsCompanyFormType
220
241
  }))
221
242
  });
@@ -237,6 +258,8 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
237
258
  this.componentConfig = _options.componentConfig;
238
259
  this.isCombinationComponent = true;
239
260
  this.canSort = false;
261
+ this.isChange = false;
262
+ this.effects = _options.effects;
240
263
  this.expressCompany = new ExpressCompany(_objectSpread(_objectSpread({}, _options), {}, {
241
264
  name: "物流公司",
242
265
  parentName: this.name,
@@ -1567,7 +1567,7 @@ var GoodHeaderMap = {
1567
1567
  headerMap: {
1568
1568
  skuEcode: {
1569
1569
  name: "[SKX]发货单明细-skuEcode",
1570
- width: 200
1570
+ width: 250
1571
1571
  },
1572
1572
  subOrderId: {
1573
1573
  name: "[SKX]发货单-子订单号",
@@ -1583,7 +1583,7 @@ var GoodHeaderMap = {
1583
1583
  headerMap: {
1584
1584
  returnSkuEcode: {
1585
1585
  name: "[SKX]退货单明细-returnSkuEcode",
1586
- width: 200
1586
+ width: 300
1587
1587
  },
1588
1588
  returnSubOrderId: {
1589
1589
  name: "[SKX]退货单-子订单号",
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import TradeId from '../TradeId';
1
+ import React from "react";
2
+ import TradeId from "../TradeId";
3
3
  declare class ErpTradeId extends TradeId {
4
4
  editRender: (p: any) => React.JSX.Element;
5
5
  }
@@ -13,7 +13,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13
13
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
14
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
15
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
- import React from 'react';
16
+ import React from "react";
17
17
  import GetFormItem from "../GetFormItem";
18
18
  import TradeId from "../TradeId";
19
19
  import OrderNo from "./components/OrderNum";
@@ -30,8 +30,11 @@ var ErpTradeId = /*#__PURE__*/function (_TradeId) {
30
30
  _defineProperty(_assertThisInitialized(_this), "editRender", function (p) {
31
31
  var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
32
32
  var onTradeIdBlur = function onTradeIdBlur(value) {
33
- var _p$onBlur;
34
- p === null || p === void 0 ? void 0 : (_p$onBlur = p.onBlur) === null || _p$onBlur === void 0 ? void 0 : _p$onBlur.call(p, value, 'tradeId');
33
+ var _this$effects, _this$effects$form, _p$onBlur;
34
+ (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : (_this$effects$form = _this$effects.form) === null || _this$effects$form === void 0 ? void 0 : _this$effects$form.setFieldsValue({
35
+ skx_return_billNo_blur_from: _this.id
36
+ });
37
+ p === null || p === void 0 ? void 0 : (_p$onBlur = p.onBlur) === null || _p$onBlur === void 0 ? void 0 : _p$onBlur.call(p, value, "tradeId");
35
38
  };
36
39
  return /*#__PURE__*/React.createElement(GetFormItem, {
37
40
  title: _this.name,
@@ -40,7 +43,7 @@ var ErpTradeId = /*#__PURE__*/function (_TradeId) {
40
43
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
41
44
  display: p === null || p === void 0 ? void 0 : p.display,
42
45
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
43
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
46
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
44
47
  component: /*#__PURE__*/React.createElement(OrderNo, _extends({}, _this.componentConfig, {
45
48
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
46
49
  onTradeIdBlur: onTradeIdBlur
@@ -1,5 +1,5 @@
1
- import { ComponentInterface, PickOption, Record } from "../../type";
2
- import React from "react";
1
+ import { ComponentInterface, PickOption, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class BasicFile implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -7,14 +7,14 @@ declare class BasicFile implements ComponentInterface {
7
7
  formField: string;
8
8
  type: string;
9
9
  rules: any[];
10
- componentConfig: ComponentInterface["componentConfig"];
10
+ componentConfig: ComponentInterface['componentConfig'];
11
11
  isCombinationComponent: boolean;
12
12
  canSort: boolean;
13
13
  children: ComponentInterface[];
14
- effects: ComponentInterface["effects"];
15
- dataType: ComponentInterface["dataType"];
14
+ effects: ComponentInterface['effects'];
15
+ dataType: ComponentInterface['dataType'];
16
16
  exampleValue?: string;
17
- standardDateType: ComponentInterface["standardDateType"];
17
+ standardDateType: ComponentInterface['standardDateType'];
18
18
  constructor(options: PickOption);
19
19
  renderPc: (value: any, record: Record) => any;
20
20
  renderLog: (r: Record) => any;
@@ -12,11 +12,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
12
12
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
13
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
14
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
- import React from "react";
16
- import { ApaasUploadFile } from "@kmkf-fe-packages/basic-components";
15
+ import React from 'react';
16
+ import { ApaasUploadFile } from '@kmkf-fe-packages/basic-components';
17
17
  import GetFormItem from "../GetFormItem";
18
18
  import ItemView from "../../commonComponents/ItemView";
19
- import { isNull } from "@kmkf-fe-packages/kmkf-utils";
19
+ import { isNull } from '@kmkf-fe-packages/kmkf-utils';
20
20
  import { FileRender } from "../Common";
21
21
  import { PlatForm } from "../../type";
22
22
  var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
@@ -46,7 +46,7 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
46
46
  href: file.url,
47
47
  target: "_blank",
48
48
  style: {
49
- display: "block"
49
+ display: 'block'
50
50
  }
51
51
  }, file.name);
52
52
  });
@@ -60,7 +60,7 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
60
60
  });
61
61
  _defineProperty(this, "renderClient", function (record) {
62
62
  var _this$effects;
63
- var _this$id$split = _this.id.split("_"),
63
+ var _this$id$split = _this.id.split('_'),
64
64
  _this$id$split2 = _slicedToArray(_this$id$split, 1),
65
65
  id = _this$id$split2[0];
66
66
  var canDownload = ![PlatForm.KS, PlatForm.FXG].includes((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.env);
@@ -83,7 +83,7 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
83
83
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
84
84
  display: p === null || p === void 0 ? void 0 : p.display,
85
85
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
86
- tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
86
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
87
87
  component: /*#__PURE__*/React.createElement(ApaasUploadFile, _extends({}, _this.componentConfig, {
88
88
  uniqueKey: _this.id,
89
89
  platform: p === null || p === void 0 ? void 0 : p.platform,
@@ -97,7 +97,7 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
97
97
  prv.push(next.url);
98
98
  return prv;
99
99
  }, []);
100
- return textArr === null || textArr === void 0 ? void 0 : textArr.join(",");
100
+ return textArr === null || textArr === void 0 ? void 0 : textArr.join(',');
101
101
  });
102
102
  _defineProperty(this, "filterConfig", function () {
103
103
  return [];
@@ -112,9 +112,9 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
112
112
  this.isCombinationComponent = false;
113
113
  this.canSort = false;
114
114
  this.children = [];
115
- this.dataType = "array";
115
+ this.dataType = 'array';
116
116
  this.effects = options.effects;
117
117
  this.exampleValue = '[{"name":"c.jpeg","url":"https://kefu.kuaimai.com/pic/c.jpeg"}]';
118
- this.standardDateType = "Array";
118
+ this.standardDateType = 'Array';
119
119
  });
120
120
  export default BasicFile;
@@ -2,6 +2,7 @@ import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type
2
2
  import React from "react";
3
3
  import { ExpressData, ExpressInterceptData, LogisticsAddressData } from "@kmkf-fe-packages/kmkf-utils";
4
4
  import InterceptSenderMobile from "./interceptSenderMobile";
5
+ import InterceptApiStatusReason from "./interceptApiStatusReason";
5
6
  import InterceptSnapshot from "./interceptSnapshot";
6
7
  import InterceptAddress from "./InterceptAddress";
7
8
  import InterceptType from "./InterceptType";
@@ -23,6 +24,7 @@ declare class Logistics implements ComponentInterface {
23
24
  interceptLogisticsStatus: InterceptStatus;
24
25
  interceptApiStatus: InterceptApiStatus;
25
26
  interceptSenderMobile: InterceptSenderMobile;
27
+ interceptApiStatusReason: InterceptApiStatusReason;
26
28
  interceptSnapshot: InterceptSnapshot;
27
29
  interceptState: InterceptState;
28
30
  isCombinationComponent: boolean;
@@ -56,6 +58,7 @@ declare class Logistics implements ComponentInterface {
56
58
  };
57
59
  interceptSnapshot: any;
58
60
  interceptState: any;
61
+ interceptApiStatusReason: any;
59
62
  };
60
63
  renderPc: () => null;
61
64
  renderExport: () => null;
@@ -13,6 +13,7 @@ import { LogisticsInterception } from "@kmkf-fe-packages/basic-components";
13
13
  import { ExpressData, ExpressInterceptData, LogisticsAddressData, isNull } from "@kmkf-fe-packages/kmkf-utils";
14
14
  import GetFormItem from "../GetFormItem";
15
15
  import InterceptSenderMobile from "./interceptSenderMobile";
16
+ import InterceptApiStatusReason from "./interceptApiStatusReason";
16
17
  import InterceptSnapshot from "./interceptSnapshot";
17
18
  import InterceptAddress from "./InterceptAddress";
18
19
  import InterceptType from "./InterceptType";
@@ -44,6 +45,7 @@ function Logistics(options) {
44
45
  _defineProperty(this, "interceptLogisticsStatus", void 0);
45
46
  _defineProperty(this, "interceptApiStatus", void 0);
46
47
  _defineProperty(this, "interceptSenderMobile", void 0);
48
+ _defineProperty(this, "interceptApiStatusReason", void 0);
47
49
  _defineProperty(this, "interceptSnapshot", void 0);
48
50
  _defineProperty(this, "interceptState", void 0);
49
51
  _defineProperty(this, "isCombinationComponent", void 0);
@@ -58,10 +60,10 @@ function Logistics(options) {
58
60
  _defineProperty(this, "effects", void 0);
59
61
  _defineProperty(this, "dataType", void 0);
60
62
  _defineProperty(this, "renderClient", function (record) {
61
- return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record), _this.interceptApiStatus.renderClient(record), _this.interceptSnapshot.renderClient(record), _this.interceptState.renderClient(record));
63
+ return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record), _this.interceptApiStatus.renderClient(record), _this.interceptApiStatusReason.renderClient(record), _this.interceptSnapshot.renderClient(record), _this.interceptState.renderClient(record));
62
64
  });
63
65
  _defineProperty(this, "renderLog", function (record) {
64
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, !isNull(_this.express.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.name, ": ", _this.express.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.expressCode.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.expressCode.name, ": ", _this.expressCode.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSenderMobile.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSenderMobile.name, ":", " ", _this.interceptSenderMobile.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptType.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptType.name, ": ", _this.interceptType.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptAddress.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptAddress.name, ":", " ", _this.interceptAddress.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptLogisticsStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptLogisticsStatus.name, ":", " ", _this.interceptLogisticsStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptApiStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptApiStatus.name, ":", " ", _this.interceptApiStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSnapshot.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSnapshot.name, ":", " ", _this.interceptSnapshot.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptState.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptState.name, ":", " ", _this.interceptState.renderLog(record))));
66
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, !isNull(_this.express.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.name, ": ", _this.express.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.expressCode.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.expressCode.name, ": ", _this.expressCode.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSenderMobile.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSenderMobile.name, ":", " ", _this.interceptSenderMobile.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptType.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptType.name, ": ", _this.interceptType.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptAddress.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptAddress.name, ":", " ", _this.interceptAddress.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptLogisticsStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptLogisticsStatus.name, ":", " ", _this.interceptLogisticsStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptApiStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptApiStatus.name, ":", " ", _this.interceptApiStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptApiStatusReason.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptApiStatusReason.name, ":", " ", _this.interceptApiStatusReason.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSnapshot.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSnapshot.name, ":", " ", _this.interceptSnapshot.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptState.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptState.name, ":", " ", _this.interceptState.renderLog(record))));
65
67
  });
66
68
  _defineProperty(this, "getComponentValue", function (r) {
67
69
  return {
@@ -73,7 +75,8 @@ function Logistics(options) {
73
75
  interceptApiStatus: _this.interceptApiStatus.getComponentValue(r),
74
76
  interceptRedirectTo: _this.interceptAddress.getComponentValue(r),
75
77
  interceptSnapshot: _this.interceptSnapshot.getComponentValue(r),
76
- interceptState: _this.interceptState.getComponentValue(r)
78
+ interceptState: _this.interceptState.getComponentValue(r),
79
+ interceptApiStatusReason: _this.interceptApiStatusReason.getComponentValue(r)
77
80
  // interceptLogisticsUserKCode:
78
81
  // this.interceptLogisticsUserKCode.getComponentValue(r),
79
82
  // interceptLogisticsUserSecretKey:
@@ -100,6 +103,7 @@ function Logistics(options) {
100
103
  platform: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.env,
101
104
  onJumpPage: (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.onJumpPage
102
105
  }, _this.componentConfig, {
106
+ showReason: true,
103
107
  logisticsOptions: _this.expressDateInstance.getExpressData(),
104
108
  expressInterceptData: _this.expressInterceptData.getExpressData(),
105
109
  logisticsAddressData: _this.logisticsAddressData.getAddressData(),
@@ -112,7 +116,7 @@ function Logistics(options) {
112
116
  subKey: "interceptCompany"
113
117
  })), _this.expressCode.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
114
118
  subKey: "interceptCode"
115
- })), _this.interceptSenderMobile.filterConfig(item), _this.interceptLogisticsStatus.filterConfig(item), _this.interceptApiStatus.filterConfig(item), _this.interceptType.filterConfig(item), _this.interceptSnapshot.filterConfig(item), _this.interceptState.filterConfig(item)
119
+ })), _this.interceptSenderMobile.filterConfig(item), _this.interceptLogisticsStatus.filterConfig(item), _this.interceptApiStatus.filterConfig(item), _this.interceptApiStatusReason.filterConfig(item), _this.interceptType.filterConfig(item), _this.interceptSnapshot.filterConfig(item), _this.interceptState.filterConfig(item)
116
120
  // this.interceptLogisticsUserKCode.filterConfig(item),
117
121
  // this.interceptLogisticsUserSecretKey.filterConfig(item),
118
122
  ];
@@ -137,6 +141,7 @@ function Logistics(options) {
137
141
  this.interceptSenderMobile = new InterceptSenderMobile(options);
138
142
  this.interceptSnapshot = new InterceptSnapshot(options);
139
143
  this.interceptState = new InterceptState(options);
144
+ this.interceptApiStatusReason = new InterceptApiStatusReason(options);
140
145
  // this.interceptLogisticsUserSecretKey = new InterceptLogisticsUserSecretKey(
141
146
  // options,
142
147
  // );
@@ -152,7 +157,7 @@ function Logistics(options) {
152
157
  this.isCombinationComponent = true;
153
158
  this.canSort = false;
154
159
  this.dataType = "object";
155
- this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptApiStatus, this.interceptSnapshot, this.interceptState
160
+ this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptApiStatus, this.interceptApiStatusReason, this.interceptSnapshot, this.interceptState
156
161
  // this.interceptLogisticsUserKCode,
157
162
  // this.interceptLogisticsUserSecretKey,
158
163
  ];
@@ -0,0 +1,35 @@
1
+ import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from "../../type";
2
+ import React from "react";
3
+ declare class InterceptApiStatusReason implements ComponentInterface {
4
+ name: string;
5
+ id: string;
6
+ companyId: string;
7
+ type: string;
8
+ rules: any[];
9
+ componentConfig: ComponentInterface["componentConfig"];
10
+ effects: ComponentInterface["effects"];
11
+ align: ALignType;
12
+ width: number;
13
+ isCombinationComponent: boolean;
14
+ sortField: string;
15
+ formField: string;
16
+ canSort: boolean;
17
+ dataType: ComponentInterface["dataType"];
18
+ children: ComponentInterface[];
19
+ constructor(options: PickOption);
20
+ getComponentValue: (r: Record) => any;
21
+ renderClient: (record: any) => React.JSX.Element | null;
22
+ renderPc: (value: any, record: Record) => any;
23
+ renderLog: (r: Record) => any;
24
+ renderExport: (value: any, record: Record) => any;
25
+ editRender: () => null;
26
+ filterConfig: (item: ColumnConfig) => {
27
+ searchDefaultConditions: "like";
28
+ type: string;
29
+ id: string;
30
+ name: string;
31
+ filterComponentType: "Input";
32
+ filterFn: (value: string) => (i: Record) => boolean;
33
+ };
34
+ }
35
+ export default InterceptApiStatusReason;