@kmkf-fe-packages/services-components 2.7.0-rc.0 → 2.7.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.
Files changed (127) hide show
  1. package/dist/esm/Hooks/index.d.ts +2 -0
  2. package/dist/esm/Hooks/index.js +2 -0
  3. package/dist/esm/Hooks/useColumnsConfig.d.ts +26 -0
  4. package/dist/esm/Hooks/useColumnsConfig.js +243 -0
  5. package/dist/esm/Hooks/useGoodsSourceFormat.d.ts +29 -0
  6. package/dist/esm/Hooks/useGoodsSourceFormat.js +441 -0
  7. package/dist/esm/commonComponents/GlobalContext/hook/dist/useGetHasErpData.js +52 -0
  8. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +1 -1
  9. package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +4 -2
  10. package/dist/esm/commonComponents/GlobalContext/index.js +60 -20
  11. package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpAddressData.js +180 -0
  12. package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpLogisticsCompany.js +186 -0
  13. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpAddressData.js +14 -11
  14. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.js +14 -12
  15. package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.js +11 -9
  16. package/dist/esm/commonComponents/OperationLog/index.d.ts +2 -1
  17. package/dist/esm/commonComponents/OperationLog/index.js +4 -2
  18. package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +5 -3
  19. package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +23 -19
  20. package/dist/esm/commonComponents/ShopList/index.js +3 -1
  21. package/dist/esm/components/BS/BsGoods/dist/index.js +113 -0
  22. package/dist/esm/components/BS/BsLogistics/index.d.ts +7 -2
  23. package/dist/esm/components/BS/BsLogistics/index.js +61 -8
  24. package/dist/esm/components/BS/BsSystemOrder/index.d.ts +8 -0
  25. package/dist/esm/components/BS/BsSystemOrder/index.js +56 -9
  26. package/dist/esm/components/BS/common/BsHeaderGood.js +2 -2
  27. package/dist/esm/components/BS/common/BsHeaderPic.d.ts +2 -0
  28. package/dist/esm/components/BS/common/BsHeaderPic.js +17 -2
  29. package/dist/esm/components/BS/common/BsMemo.js +4 -1
  30. package/dist/esm/components/BS/common/BsType.js +4 -1
  31. package/dist/esm/components/BS/common/SystemOrderNo.js +4 -1
  32. package/dist/esm/components/BS/common/expressCode.d.ts +4 -1
  33. package/dist/esm/components/BS/common/expressCode.js +16 -4
  34. package/dist/esm/components/BS/common/expressCompany.d.ts +5 -2
  35. package/dist/esm/components/BS/common/expressCompany.js +31 -5
  36. package/dist/esm/components/BsE3/BsReissueE3/index.js +4 -1
  37. package/dist/esm/components/Cascader/index.d.ts +8 -6
  38. package/dist/esm/components/Cascader/index.js +26 -22
  39. package/dist/esm/components/Common/constants/bs.js +2 -2
  40. package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +6 -2
  41. package/dist/esm/components/Common/constants/defaultColumns.js +2 -2
  42. package/dist/esm/components/Common/constants/wdt.js +104 -0
  43. package/dist/esm/components/Common/dist/index.js +1019 -0
  44. package/dist/esm/components/Common/index.d.ts +2 -2
  45. package/dist/esm/components/Common/index.js +40 -24
  46. package/dist/esm/components/CommonDataTime/index.d.ts +2 -2
  47. package/dist/esm/components/CommonDataTime/index.js +2 -2
  48. package/dist/esm/components/CommonHeaderGood/index.js +1201 -40
  49. package/dist/esm/components/CommonInput/index.js +11 -3
  50. package/dist/esm/components/CommonMultiStatus/index.js +73 -36
  51. package/dist/esm/components/CommonSystemOrder/index.js +7 -0
  52. package/dist/esm/components/ErpTradeId/index.d.ts +2 -2
  53. package/dist/esm/components/ErpTradeId/index.js +7 -4
  54. package/dist/esm/components/File/index.d.ts +6 -6
  55. package/dist/esm/components/File/index.js +9 -10
  56. package/dist/esm/components/FlowOverallStatusSelect/index.d.ts +40 -0
  57. package/dist/esm/components/FlowOverallStatusSelect/index.js +180 -0
  58. package/dist/esm/components/GY/GyGoods/index.js +5 -1
  59. package/dist/esm/components/GY/GyReissue/index.js +5 -1
  60. package/dist/esm/components/GY/GyReturn/index.js +5 -1
  61. package/dist/esm/components/Input/index.d.ts +4 -4
  62. package/dist/esm/components/Input/index.js +35 -31
  63. package/dist/esm/components/JST/JstSendGood/index.js +17 -1
  64. package/dist/esm/components/KM/KmExchange/index.d.ts +35 -0
  65. package/dist/esm/components/KM/KmExchange/index.js +136 -0
  66. package/dist/esm/components/KmErpSendGood/index.js +1 -1
  67. package/dist/esm/components/Logistics/index.d.ts +1 -0
  68. package/dist/esm/components/Logistics/index.js +10 -0
  69. package/dist/esm/components/LogisticsInterception/columnHeader.js +1 -1
  70. package/dist/esm/components/LogisticsInterception/index.d.ts +20 -0
  71. package/dist/esm/components/LogisticsInterception/index.js +10 -5
  72. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.d.ts +45 -0
  73. package/dist/esm/components/LogisticsInterception/interceptApiStatusReason.js +97 -0
  74. package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +3 -2
  75. package/dist/esm/components/LogisticsMoreInterception/InterceptAddress.js +4 -2
  76. package/dist/esm/components/LogisticsMoreInterception/InterceptApiStatus.js +1 -1
  77. package/dist/esm/components/LogisticsMoreInterception/index.js +1 -0
  78. package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.d.ts +5 -5
  79. package/dist/esm/components/LogisticsMoreInterception/interceptSenderMobile.js +9 -9
  80. package/dist/esm/components/OrderSubForm/index.d.ts +7 -0
  81. package/dist/esm/components/OrderSubForm/index.js +18 -1
  82. package/dist/esm/components/Payment/index.d.ts +13 -12
  83. package/dist/esm/components/Payment/index.js +31 -11
  84. package/dist/esm/components/PaymentVoucherCode/Preview.js +35 -9
  85. package/dist/esm/components/Picture/index.d.ts +5 -5
  86. package/dist/esm/components/Picture/index.js +20 -20
  87. package/dist/esm/components/PicturePro/index.d.ts +15 -6
  88. package/dist/esm/components/PicturePro/index.js +42 -25
  89. package/dist/esm/components/PostIng/index.d.ts +5 -0
  90. package/dist/esm/components/PostIng/index.js +42 -8
  91. package/dist/esm/components/Public/Goods/index.d.ts +10 -8
  92. package/dist/esm/components/Public/Goods/index.js +42 -2
  93. package/dist/esm/components/Public/ReissueGoods/index.js +62 -4
  94. package/dist/esm/components/Public/ReturnWarehouse/index.d.ts +51 -0
  95. package/dist/esm/components/Public/ReturnWarehouse/index.js +210 -0
  96. package/dist/esm/components/ReceiverAddress/index.d.ts +7 -6
  97. package/dist/esm/components/ReceiverAddress/index.js +41 -27
  98. package/dist/esm/components/Reissue/Logistics/index.js +2 -2
  99. package/dist/esm/components/Remark/index.d.ts +18 -2
  100. package/dist/esm/components/Remark/index.js +37 -2
  101. package/dist/esm/components/ReturnLogistics/index.d.ts +7 -6
  102. package/dist/esm/components/ReturnLogistics/index.js +34 -17
  103. package/dist/esm/components/SKX/SkxGoods/index.js +4 -0
  104. package/dist/esm/components/SKX/SkxIdInputSelect/index.js +4 -0
  105. package/dist/esm/components/Select/index.d.ts +1 -0
  106. package/dist/esm/components/Select/index.js +19 -11
  107. package/dist/esm/components/ShopInput/index.d.ts +5 -5
  108. package/dist/esm/components/ShopInput/index.js +12 -9
  109. package/dist/esm/components/StatusSelect/index.js +4 -0
  110. package/dist/esm/components/SubForm/children/HeaderChildFile.d.ts +30 -0
  111. package/dist/esm/components/SubForm/children/HeaderChildFile.js +117 -0
  112. package/dist/esm/components/SubForm/children/HeaderChildPic.d.ts +30 -0
  113. package/dist/esm/components/SubForm/children/HeaderChildPic.js +116 -0
  114. package/dist/esm/components/SubForm/index.js +78 -6
  115. package/dist/esm/components/TradeId/index.d.ts +6 -5
  116. package/dist/esm/components/TradeId/index.js +31 -15
  117. package/dist/esm/components/WDT/WdtRessuie/index.js +28 -8
  118. package/dist/esm/factory.d.ts +2 -2
  119. package/dist/esm/factory.js +35 -7
  120. package/dist/esm/index.d.ts +4 -0
  121. package/dist/esm/index.js +6 -1
  122. package/dist/esm/service/api.d.ts +3 -0
  123. package/dist/esm/service/api.js +34 -1
  124. package/dist/esm/type.d.ts +38 -0
  125. package/package.json +4 -4
  126. package/dist/esm/components/Common/constants/gy.d.ts +0 -3
  127. package/dist/esm/components/Common/constants/gy.js +0 -219
@@ -25,7 +25,7 @@ export declare const ShowTotalImage: ({ total, allImage, type, showHeader, }: {
25
25
  export declare const GoodImage: ({ list, type, showHeader }: any) => React.JSX.Element | null;
26
26
  export declare const JstGoodImage: ({ list, type, platformType, logisticsCompanyFormType, }: any) => any;
27
27
  export declare const BsExpressRender: ({ list, showField, platformType, logisticsCompanyFormType, }: any) => any;
28
- export declare const CommonOrderContent: ({ list, valueKey: initValueKey, failValue, options, isShowPopover, }: any) => any;
28
+ export declare const CommonOrderContent: ({ list, valueKey: initValueKey, failValue, options, isShowPopover, idKey, }: any) => any;
29
29
  export declare const BsGoodImage: ({ item, index }: {
30
30
  item: any;
31
31
  index: number;
@@ -40,7 +40,7 @@ export declare const BsGoodsTable: ({ list, showHeader, text, type, }: {
40
40
  }) => React.JSX.Element;
41
41
  export declare const FileRender: ({ fileList, canDownload }: any) => React.JSX.Element;
42
42
  export declare const KmVideoRender: ({ fileList, canDownload }: any) => React.JSX.Element;
43
- export declare const BsSystemOrderTable: ({ value, type }: any) => React.JSX.Element;
43
+ export declare const BsSystemOrderTable: ({ value, type, showHeader }: any) => React.JSX.Element;
44
44
  export declare const MsgContent: ({ horizontal, list, valueKey, failValue, options, }: any) => React.JSX.Element;
45
45
  export declare const AlipayBill: (props: any) => React.JSX.Element;
46
46
  export declare const RenderPicturePro: (props: any) => React.JSX.Element;
@@ -15,15 +15,16 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
15
  import { Form, Button, Modal, Tooltip, Space, Image, Popover, Table, message, Typography } from "antd";
16
16
  import { DownloadOutlined } from "@ant-design/icons";
17
17
  import React, { useState, useMemo } from "react";
18
- import { ExpressData, SendDataCenter } from "@kmkf-fe-packages/kmkf-utils";
18
+ import { ExpressData, SendDataCenter, getSystemShowHead } from "@kmkf-fe-packages/kmkf-utils";
19
19
  import { getAlipayBillReceipt } from "../../service/api";
20
20
  import { CopyToClipboard } from "react-copy-to-clipboard";
21
21
  import styles from "./index.module.less";
22
22
  import defaultImg from "./img/default-img.png";
23
23
  import CopyText from "../../commonComponents/CopyText";
24
- import { KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, msgTypeCh, getMapping, columnsGoodsList } from "@kmkf-fe-packages/kmkf-utils";
24
+ import { KM_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, BS_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, JKY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, msgTypeCh, getMapping, columnsGoodsList } from "@kmkf-fe-packages/kmkf-utils";
25
25
  import { getColumnsMap } from "./constants/columnsBaseInfoMap";
26
26
  import { VideoCameraTwoTone } from "@ant-design/icons";
27
+ import { ApaasImage } from "@kmkf-fe-packages/basic-components";
27
28
  var Paragraph = Typography.Paragraph;
28
29
  export var getFormItem = function getFormItem(_ref) {
29
30
  var name = _ref.name,
@@ -65,17 +66,17 @@ export var showImage = function showImage(_ref2) {
65
66
  }, type === "itemCode" && !showHeader.includes("picUrl") ? null : (item === null || item === void 0 ? void 0 : item.platform) === "taobao" ? /*#__PURE__*/React.createElement("a", {
66
67
  target: "_blank",
67
68
  href: item.numIid ? "https://item.taobao.com/item.htm?id=".concat(item.numIid) : "javascript:void(0);"
68
- }, /*#__PURE__*/React.createElement("img", {
69
+ }, /*#__PURE__*/React.createElement(ApaasImage, {
70
+ width: 40,
71
+ height: 40,
69
72
  style: {
70
- width: "40px",
71
- height: "40px",
72
73
  objectFit: "contain"
73
74
  },
74
75
  src: picUrl
75
- })) : /*#__PURE__*/React.createElement("img", {
76
+ })) : /*#__PURE__*/React.createElement(ApaasImage, {
77
+ width: 40,
78
+ height: 40,
76
79
  style: {
77
- width: "40px",
78
- height: "40px",
79
80
  objectFit: "contain"
80
81
  },
81
82
  src: picUrl
@@ -249,7 +250,7 @@ var content = function content(item, index) {
249
250
  }, "\u5305\u88F9".concat(index + 1, "\u5546\u54C1\u4FE1\u606F"), item.sid && /*#__PURE__*/React.createElement("span", null, "(\u7CFB\u7EDF\u5355\u53F7:", item.sid, ")")), ((item === null || item === void 0 ? void 0 : item.items) || []).map(function (t, index) {
250
251
  return /*#__PURE__*/React.createElement("div", {
251
252
  key: index
252
- }, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Image, {
253
+ }, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(ApaasImage, {
253
254
  width: 70,
254
255
  src: t.picUrl,
255
256
  preview: false
@@ -272,7 +273,7 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
272
273
  var company = "";
273
274
  if (logisticsCompanyFormType === "input") {
274
275
  company = logisticsCompany;
275
- } else if (platformType === "gy") {
276
+ } else if (["gy", "jy"].includes(platformType)) {
276
277
  // 管易为了兼容之前的补发物流信息,若不存在logisticsCompanyName值则去匹配物流映射列表展示物流公司名称
277
278
  company = ExpressData.getInstance(platformType).getExpressNameByCode(logisticsCompany, false) || logisticsCompanyName;
278
279
  } else {
@@ -293,7 +294,7 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
293
294
  text: item.logisticsCode
294
295
  })) : company ? company : item.logisticsCode ? /*#__PURE__*/React.createElement(CopyText, {
295
296
  text: item.logisticsCode
296
- }) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join("/") : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item)].join("/") : item.sendId ? item.sendId : getSendName(item)) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || "") : null));
297
+ }) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join("/") : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item)].join("/") : item.sendId ? item.sendId : getSendName(item)) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || "") : null, type === 5 ? /*#__PURE__*/React.createElement("span", null, item.returnWarehouseName && item.returnWarehouseId ? [item.returnWarehouseId, item.returnWarehouseName].join("/") : item.returnWarehouseId ? item.returnWarehouseId : item.returnWarehouseName) : null));
297
298
  }) : null;
298
299
  };
299
300
  export var BsExpressRender = function BsExpressRender(_ref7) {
@@ -305,8 +306,9 @@ export var BsExpressRender = function BsExpressRender(_ref7) {
305
306
  platformType = _ref7$platformType === void 0 ? "default" : _ref7$platformType,
306
307
  logisticsCompanyFormType = _ref7.logisticsCompanyFormType;
307
308
  return list !== null && list !== void 0 && list.length ? (list || []).map(function (item, index) {
308
- var logisticsCompany = item.logisticsCompany;
309
- var company = logisticsCompanyFormType === "input" ? logisticsCompany : ExpressData.getInstance(platformType).getExpressNameByCode(logisticsCompany);
309
+ var logisticsCompany = item.logisticsCompany,
310
+ logisticsCompanyName = item.logisticsCompanyName;
311
+ var company = logisticsCompanyFormType === "input" ? logisticsCompany : ExpressData.getInstance(platformType).getExpressNameByCode(logisticsCompany, false) || logisticsCompanyName || logisticsCompany;
310
312
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Popover, {
311
313
  content: content(item, index),
312
314
  overlayStyle: {
@@ -331,7 +333,8 @@ export var CommonOrderContent = function CommonOrderContent(_ref8) {
331
333
  _ref8$options = _ref8.options,
332
334
  options = _ref8$options === void 0 ? [] : _ref8$options,
333
335
  _ref8$isShowPopover = _ref8.isShowPopover,
334
- isShowPopover = _ref8$isShowPopover === void 0 ? true : _ref8$isShowPopover;
336
+ isShowPopover = _ref8$isShowPopover === void 0 ? true : _ref8$isShowPopover,
337
+ idKey = _ref8.idKey;
335
338
  var getContentData = function getContentData(item, index) {
336
339
  if (item.platformId) return {
337
340
  text: "平台售后单号",
@@ -343,7 +346,7 @@ export var CommonOrderContent = function CommonOrderContent(_ref8) {
343
346
  };
344
347
  return {
345
348
  text: "\u7CFB\u7EDF\u8BA2\u5355\u53F7".concat(index + 1),
346
- id: item.systemOrderId || item.systemOrderNo
349
+ id: item.systemOrderId || item.systemOrderNo || (item === null || item === void 0 ? void 0 : item[idKey])
347
350
  };
348
351
  };
349
352
  var orderContent = function orderContent(item, index) {
@@ -412,10 +415,10 @@ export var BsGoodImage = function BsGoodImage(_ref9) {
412
415
  return /*#__PURE__*/React.createElement("div", {
413
416
  className: styles.goodImgBox,
414
417
  key: index
415
- }, /*#__PURE__*/React.createElement("img", {
418
+ }, /*#__PURE__*/React.createElement(ApaasImage, {
419
+ width: 40,
420
+ height: 40,
416
421
  style: {
417
- width: "40px",
418
- height: "40px",
419
422
  objectFit: "contain"
420
423
  },
421
424
  src: picUrl
@@ -454,7 +457,7 @@ export var BsGoodPic = function BsGoodPic(list) {
454
457
  onClick: function onClick(e) {
455
458
  return e.stopPropagation();
456
459
  }
457
- }, /*#__PURE__*/React.createElement(Image, {
460
+ }, /*#__PURE__*/React.createElement(ApaasImage, {
458
461
  width: 60,
459
462
  src: finalSrc
460
463
  }));
@@ -768,7 +771,9 @@ export var KmVideoRender = function KmVideoRender(_ref13) {
768
771
  };
769
772
  export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
770
773
  var value = _ref14.value,
771
- type = _ref14.type;
774
+ type = _ref14.type,
775
+ _ref14$showHeader = _ref14.showHeader,
776
+ showHeader = _ref14$showHeader === void 0 ? [] : _ref14$showHeader;
772
777
  var columnMap = {
773
778
  BS_SYSTEM_ORDER: BS_SYSTEM_ORDER_CONFIG.columns,
774
779
  KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
@@ -776,7 +781,10 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
776
781
  WDT_SYSTEM_ORDER: WDT_SYSTEM_ORDER_CONFIG.columns,
777
782
  BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG.columns,
778
783
  GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG.columns,
779
- JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns
784
+ JST_SYSTEM_ORDER: JST_SYSTEM_ORDER_CONFIG.columns,
785
+ JY_SYSTEM_ORDER: JY_SYSTEM_ORDER_CONFIG.columns,
786
+ JKY_SYSTEM_ORDER: JKY_SYSTEM_ORDER_CONFIG.columns,
787
+ WDT_RETURN_BILL_NO: WDT_RETURN_BILL_NO_CONFIG.columns
780
788
  };
781
789
  var rowKeyMap = {
782
790
  BS_SYSTEM_ORDER: "billNo",
@@ -785,7 +793,10 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
785
793
  WDT_SYSTEM_ORDER: "billNo",
786
794
  BS_E3_SYSTEM_ORDER: "orderSn",
787
795
  GY_SYSTEM_ORDER: "billNo",
788
- JST_SYSTEM_ORDER: "oId"
796
+ JST_SYSTEM_ORDER: "oId",
797
+ JY_SYSTEM_ORDER: "tradeNo",
798
+ JKY_SYSTEM_ORDER: "tradeNo",
799
+ WDT_RETURN_BILL_NO: "refundNo"
789
800
  };
790
801
  var rowSelection = {
791
802
  selectedRowKeys: (value === null || value === void 0 ? void 0 : value.selectIds) || ((value === null || value === void 0 ? void 0 : value.showOrderInfo) || []).reduce(function (prv, next) {
@@ -802,15 +813,20 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref14) {
802
813
  };
803
814
  }
804
815
  };
816
+ var columns = getSystemShowHead({
817
+ columns: columnMap[type] || [],
818
+ showHeader: showHeader
819
+ });
805
820
  return /*#__PURE__*/React.createElement(Table, {
806
821
  dataSource: (value === null || value === void 0 ? void 0 : value.showOrderInfo) || [],
807
- columns: columnMap[type] || [],
822
+ columns: columns || [],
808
823
  rowSelection: rowSelection,
809
824
  rowKey: rowKeyMap[type] || "billNo",
810
825
  size: "small",
811
826
  pagination: false,
812
827
  scroll: {
813
- x: "100%"
828
+ x: "100%",
829
+ y: 500
814
830
  },
815
831
  locale: {
816
832
  emptyText: "暂无数据"
@@ -19,8 +19,8 @@ declare class CommonDataTime implements ComponentInterface {
19
19
  constructor(options: PickOption);
20
20
  getValues: (value: string) => string;
21
21
  renderClient: (record: any) => React.JSX.Element | null;
22
- renderPc: (value: any, record: Record) => any;
23
- renderLog: (r: Record) => any;
22
+ renderPc: (value: any, record: Record) => string;
23
+ renderLog: (r: Record) => string | null;
24
24
  getComponentValue: (r: Record) => any;
25
25
  renderExport: (value: any, record: Record) => string;
26
26
  editRender: () => null;
@@ -40,8 +40,8 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
40
40
  }) : null;
41
41
  });
42
42
  _defineProperty(this, "renderPc", function (value, record) {
43
- var _record;
44
- return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : "--";
43
+ var time = record === null || record === void 0 ? void 0 : record["".concat(_this.id)];
44
+ return time ? moment(time).format("YYYY-MM-DD HH:mm:ss") : "--";
45
45
  // if (record?.[`${this.id}`] === undefined) {
46
46
  // return <span>--</span>;
47
47
  // }