@kmkf-fe-packages/services-components 0.6.3-alpha.16 → 0.6.3-alpha.21

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 (118) hide show
  1. package/dist/esm/components/ActualPayment/index.d.ts +0 -1
  2. package/dist/esm/components/ActualPayment/index.js +0 -3
  3. package/dist/esm/components/Address/index.d.ts +0 -1
  4. package/dist/esm/components/Address/index.js +0 -3
  5. package/dist/esm/components/Alipay/index.d.ts +0 -1
  6. package/dist/esm/components/Alipay/index.js +0 -3
  7. package/dist/esm/components/AlipayAccount/index.d.ts +0 -1
  8. package/dist/esm/components/AlipayAccount/index.js +0 -3
  9. package/dist/esm/components/AlipayName/index.d.ts +0 -1
  10. package/dist/esm/components/AlipayName/index.js +0 -3
  11. package/dist/esm/components/BuyerNick/index.d.ts +0 -4
  12. package/dist/esm/components/BuyerNick/index.js +0 -3
  13. package/dist/esm/components/Cascader/index.d.ts +0 -1
  14. package/dist/esm/components/Cascader/index.js +0 -3
  15. package/dist/esm/components/Checkbox/index.d.ts +0 -1
  16. package/dist/esm/components/Checkbox/index.js +7 -14
  17. package/dist/esm/components/CommonDataTime/index.d.ts +0 -1
  18. package/dist/esm/components/CommonDataTime/index.js +0 -4
  19. package/dist/esm/components/CompletedUser/index.d.ts +0 -1
  20. package/dist/esm/components/CompletedUser/index.js +0 -3
  21. package/dist/esm/components/DataTime/index.d.ts +0 -1
  22. package/dist/esm/components/DataTime/index.js +0 -3
  23. package/dist/esm/components/EItemEnCode/index.d.ts +0 -1
  24. package/dist/esm/components/EItemEnCode/index.js +4 -7
  25. package/dist/esm/components/EItemId/index.d.ts +0 -1
  26. package/dist/esm/components/EItemId/index.js +4 -7
  27. package/dist/esm/components/EItemSelect/index.d.ts +0 -1
  28. package/dist/esm/components/EItemSelect/index.js +3 -6
  29. package/dist/esm/components/ErpTradeId/index.d.ts +0 -1
  30. package/dist/esm/components/ErpTradeId/index.js +1 -4
  31. package/dist/esm/components/Express/index.d.ts +0 -1
  32. package/dist/esm/components/Express/index.js +1 -4
  33. package/dist/esm/components/ExpressCode/index.d.ts +0 -1
  34. package/dist/esm/components/ExpressCode/index.js +0 -3
  35. package/dist/esm/components/FlowStatusSelect/index.d.ts +0 -1
  36. package/dist/esm/components/FlowStatusSelect/index.js +0 -3
  37. package/dist/esm/components/Grade/index.d.ts +0 -1
  38. package/dist/esm/components/Grade/index.js +1 -4
  39. package/dist/esm/components/Handler/index.d.ts +0 -1
  40. package/dist/esm/components/Handler/index.js +0 -3
  41. package/dist/esm/components/Input/index.d.ts +0 -1
  42. package/dist/esm/components/Input/index.js +1 -4
  43. package/dist/esm/components/JstItemSelect/index.d.ts +0 -1
  44. package/dist/esm/components/JstItemSelect/index.js +4 -8
  45. package/dist/esm/components/JstLogistics/index.d.ts +0 -1
  46. package/dist/esm/components/JstLogistics/index.js +9 -9
  47. package/dist/esm/components/JstSendGood/index.d.ts +0 -1
  48. package/dist/esm/components/JstSendGood/index.js +9 -9
  49. package/dist/esm/components/JstSupply/index.d.ts +0 -1
  50. package/dist/esm/components/JstSupply/index.js +9 -9
  51. package/dist/esm/components/Logistics/index.d.ts +0 -1
  52. package/dist/esm/components/Logistics/index.js +0 -3
  53. package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +10 -4
  54. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +38 -27
  55. package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +8 -3
  56. package/dist/esm/components/LogisticsInterception/InterceptStatus.js +23 -13
  57. package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +8 -3
  58. package/dist/esm/components/LogisticsInterception/InterceptType.js +23 -13
  59. package/dist/esm/components/LogisticsInterception/index.d.ts +28 -5
  60. package/dist/esm/components/LogisticsInterception/index.js +15 -8
  61. package/dist/esm/components/MultSelect/index.d.ts +0 -2
  62. package/dist/esm/components/MultSelect/index.js +2 -4
  63. package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -1
  64. package/dist/esm/components/Ordinary/OrdinaryHeader.js +1 -4
  65. package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +0 -1
  66. package/dist/esm/components/Ordinary/OrdinaryMoney.js +1 -4
  67. package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -1
  68. package/dist/esm/components/Ordinary/OrdinarySerial.js +1 -4
  69. package/dist/esm/components/Ordinary/index.d.ts +0 -1
  70. package/dist/esm/components/Ordinary/index.js +0 -3
  71. package/dist/esm/components/Payment/AlipayNick.d.ts +0 -1
  72. package/dist/esm/components/Payment/AlipayNick.js +0 -3
  73. package/dist/esm/components/Payment/AlipayNo.d.ts +0 -1
  74. package/dist/esm/components/Payment/AlipayNo.js +0 -3
  75. package/dist/esm/components/Payment/AlipayTime.d.ts +0 -1
  76. package/dist/esm/components/Payment/AlipayTime.js +1 -6
  77. package/dist/esm/components/Payment/BuyerNick.d.ts +0 -1
  78. package/dist/esm/components/Payment/BuyerNick.js +0 -3
  79. package/dist/esm/components/Payment/PaymentAmount.d.ts +0 -1
  80. package/dist/esm/components/Payment/PaymentAmount.js +0 -3
  81. package/dist/esm/components/Payment/PaymentStatus.d.ts +0 -1
  82. package/dist/esm/components/Payment/PaymentStatus.js +0 -3
  83. package/dist/esm/components/Payment/PaymentTid.d.ts +0 -1
  84. package/dist/esm/components/Payment/PaymentTid.js +0 -3
  85. package/dist/esm/components/Payment/index.d.ts +0 -1
  86. package/dist/esm/components/Payment/index.js +0 -3
  87. package/dist/esm/components/PlatForm/index.d.ts +0 -1
  88. package/dist/esm/components/PlatForm/index.js +0 -3
  89. package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
  90. package/dist/esm/components/ReceiverAddress/index.js +2 -2
  91. package/dist/esm/components/ReceiverMobile/index.d.ts +0 -1
  92. package/dist/esm/components/ReceiverMobile/index.js +1 -4
  93. package/dist/esm/components/ReceiverName/index.d.ts +0 -1
  94. package/dist/esm/components/ReceiverName/index.js +1 -4
  95. package/dist/esm/components/ReturnLogistics/index.d.ts +0 -1
  96. package/dist/esm/components/ReturnLogistics/index.js +0 -3
  97. package/dist/esm/components/Select/index.d.ts +0 -1
  98. package/dist/esm/components/Select/index.js +0 -3
  99. package/dist/esm/components/ShopInput/index.d.ts +0 -1
  100. package/dist/esm/components/ShopInput/index.js +0 -3
  101. package/dist/esm/components/ShopName/index.d.ts +0 -1
  102. package/dist/esm/components/ShopName/index.js +1 -4
  103. package/dist/esm/components/Submitter/index.d.ts +1 -2
  104. package/dist/esm/components/Submitter/index.js +1 -4
  105. package/dist/esm/components/SystemOrderNo/index.d.ts +0 -1
  106. package/dist/esm/components/SystemOrderNo/index.js +0 -3
  107. package/dist/esm/components/TemplateSelect/index.d.ts +1 -2
  108. package/dist/esm/components/TemplateSelect/index.js +1 -4
  109. package/dist/esm/components/TextArea/index.d.ts +0 -1
  110. package/dist/esm/components/TextArea/index.js +1 -4
  111. package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -1
  112. package/dist/esm/components/ThirdItemSelect/index.js +4 -8
  113. package/dist/esm/components/TradeId/index.d.ts +0 -1
  114. package/dist/esm/components/TradeId/index.js +1 -4
  115. package/dist/esm/components/WorkOrderId/index.d.ts +0 -1
  116. package/dist/esm/components/WorkOrderId/index.js +0 -3
  117. package/dist/esm/type.d.ts +3 -4
  118. package/package.json +4 -4
@@ -9,7 +9,6 @@ declare class ActualPayment implements ComponentInterface {
9
9
  children: ComponentInterface[];
10
10
  componentConfig: ComponentInterface["componentConfig"];
11
11
  constructor(options: PickOption);
12
- render: (value: number) => JSX.Element;
13
12
  renderClient: (record: any) => JSX.Element | null;
14
13
  renderPc: (value: unknown, record: Record) => JSX.Element;
15
14
  renderLog: (r: Record) => JSX.Element | null;
@@ -21,9 +21,6 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
21
21
  _defineProperty(this, "isCombinationComponent", void 0);
22
22
  _defineProperty(this, "children", void 0);
23
23
  _defineProperty(this, "componentConfig", void 0);
24
- _defineProperty(this, "render", function (value) {
25
- return /*#__PURE__*/React.createElement("span", null, value);
26
- });
27
24
  _defineProperty(this, "renderClient", function (record) {
28
25
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
29
26
  id: _this.id,
@@ -18,7 +18,6 @@ declare class Address implements ComponentInterface {
18
18
  * @returns
19
19
  */
20
20
  getValue: (value: Value) => string | undefined;
21
- render: (value: Value) => JSX.Element;
22
21
  transTextToNumber: (value?: string) => string | number | undefined;
23
22
  renderClient: (record: any) => JSX.Element | null;
24
23
  renderPc: (value: any, record: Record) => JSX.Element;
@@ -29,9 +29,6 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
29
29
  return _this.addressDateInstance.getNameByCode(suffix);
30
30
  })) === null || _value$map === void 0 ? void 0 : _value$map.join('');
31
31
  });
32
- _defineProperty(this, "render", function (value) {
33
- return /*#__PURE__*/React.createElement("span", null, _this.getValue(value));
34
- });
35
32
  _defineProperty(this, "transTextToNumber", function (value) {
36
33
  return value ? +value : value;
37
34
  });
@@ -13,7 +13,6 @@ declare class Alipay implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  children: ComponentInterface[];
15
15
  constructor(options: PickOption);
16
- render: () => null;
17
16
  renderClient: (record: Record) => JSX.Element;
18
17
  renderPc: () => null;
19
18
  renderLog: (r: Record) => JSX.Element;
@@ -26,9 +26,6 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
26
26
  _defineProperty(this, "alipayName", void 0);
27
27
  _defineProperty(this, "isCombinationComponent", void 0);
28
28
  _defineProperty(this, "children", void 0);
29
- _defineProperty(this, "render", function () {
30
- return null;
31
- });
32
29
  _defineProperty(this, "renderClient", function (record) {
33
30
  return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayName.renderClient(record), _this.alipayAccount.renderClient(record));
34
31
  });
@@ -12,7 +12,6 @@ declare class EAlipayAccount implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- render: (value: string) => JSX.Element;
16
15
  renderClient: (record: Record) => JSX.Element | null;
17
16
  renderPc: (value: unknown, record: Record) => JSX.Element;
18
17
  renderLog: (r: Record) => JSX.Element | null;
@@ -26,9 +26,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
26
26
  _defineProperty(this, "width", void 0);
27
27
  _defineProperty(this, "isCombinationComponent", void 0);
28
28
  _defineProperty(this, "children", void 0);
29
- _defineProperty(this, "render", function (value) {
30
- return /*#__PURE__*/React.createElement("span", null, value);
31
- });
32
29
  _defineProperty(this, "renderClient", function (record) {
33
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
34
31
  id: _this.id,
@@ -12,7 +12,6 @@ declare class EAlipayAccount implements ComponentInterface {
12
12
  align: ALignType;
13
13
  width: number;
14
14
  constructor(options: PickOption);
15
- render: (value: string, record: any) => JSX.Element;
16
15
  renderClient: (record: any) => JSX.Element | null;
17
16
  renderPc: (value: unknown, record: Record) => JSX.Element;
18
17
  renderLog: (r: Record) => JSX.Element | null;
@@ -26,9 +26,6 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
26
26
  _defineProperty(this, "children", void 0);
27
27
  _defineProperty(this, "align", void 0);
28
28
  _defineProperty(this, "width", void 0);
29
- _defineProperty(this, "render", function (value, record) {
30
- return /*#__PURE__*/React.createElement("span", null, value);
31
- });
32
29
  _defineProperty(this, "renderClient", function (record) {
33
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
34
31
  id: _this.id,
@@ -1,8 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
3
- declare type Value = {
4
- buyerNick?: string;
5
- };
6
3
  declare class EBuyerNick implements ComponentInterface {
7
4
  name: string;
8
5
  id: string;
@@ -13,7 +10,6 @@ declare class EBuyerNick implements ComponentInterface {
13
10
  isCombinationComponent: boolean;
14
11
  children: ComponentInterface[];
15
12
  constructor(options: PickOption);
16
- render: (value: Value) => JSX.Element;
17
13
  renderClient: (record: any) => JSX.Element | null;
18
14
  renderPc: (value: unknown, record: Record) => JSX.Element;
19
15
  renderLog: (r: Record) => JSX.Element | null;
@@ -25,9 +25,6 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
25
25
  _defineProperty(this, "effects", void 0);
26
26
  _defineProperty(this, "isCombinationComponent", void 0);
27
27
  _defineProperty(this, "children", void 0);
28
- _defineProperty(this, "render", function (value) {
29
- return /*#__PURE__*/React.createElement("span", null, value === null || value === void 0 ? void 0 : value.buyerNick);
30
- });
31
28
  _defineProperty(this, "renderClient", function (record) {
32
29
  var _record$_this$id;
33
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
@@ -15,7 +15,6 @@ declare class BasicCascader implements ComponentInterface {
15
15
  * @returns
16
16
  */
17
17
  getValue: (value: any) => string;
18
- render: (value: any) => JSX.Element;
19
18
  renderClient: (record: any) => JSX.Element | null;
20
19
  renderPc: (value: any, record: Record) => JSX.Element;
21
20
  renderLog: (r: Record) => JSX.Element | null;
@@ -29,9 +29,6 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
29
29
  return i.label;
30
30
  })) === null || _findLabelBySelectVal2 === void 0 ? void 0 : _findLabelBySelectVal2.join(',');
31
31
  });
32
- _defineProperty(this, "render", function (value) {
33
- return /*#__PURE__*/React.createElement("span", null, _this.getValue(value));
34
- });
35
32
  _defineProperty(this, "renderClient", function (record) {
36
33
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
37
34
  id: _this.id,
@@ -14,7 +14,6 @@ declare class BasicCheckbox implements ComponentInterface {
14
14
  children: ComponentInterface[];
15
15
  constructor(options: PickOption);
16
16
  getValue: (value: Value) => string | null | undefined;
17
- render: (value: Value) => JSX.Element;
18
17
  renderPc: (value: any, record: Record) => JSX.Element;
19
18
  renderLog: (r: Record) => any;
20
19
  getComponentValue: (r: Record) => {
@@ -34,9 +34,6 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
34
34
  }
35
35
  return value === null || value === void 0 ? void 0 : (_value$value3 = value.value) === null || _value$value3 === void 0 ? void 0 : _value$value3.join('/');
36
36
  });
37
- _defineProperty(this, "render", function (value) {
38
- return /*#__PURE__*/React.createElement("span", null, _this.getValue(value));
39
- });
40
37
  _defineProperty(this, "renderPc", function (value, record) {
41
38
  var _record;
42
39
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkbox")]) === undefined && (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkboxOther")]) === undefined) {
@@ -45,19 +42,15 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
45
42
  return /*#__PURE__*/React.createElement("span", null, record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id, "_checkbox")]) === null || _record === void 0 ? void 0 : _record.join('/'), (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkbox")]) && /*#__PURE__*/React.createElement("br", null), (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_checkboxOther")]) || '');
46
43
  });
47
44
  _defineProperty(this, "renderLog", function (r) {
48
- var _r, _r3;
45
+ var _r;
49
46
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkbox")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")])) return null;
50
- if (r !== null && r !== void 0 && (_r = r["".concat(_this.id, "_checkbox")]) !== null && _r !== void 0 && _r.includes('其他') && !isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")])) {
51
- var _r2;
52
- var restOtherOptions = (r === null || r === void 0 ? void 0 : (_r2 = r["".concat(_this.id, "_checkbox")]) === null || _r2 === void 0 ? void 0 : _r2.filter(function (i) {
53
- return i !== '其他';
54
- })) || [];
55
- if ((restOtherOptions === null || restOtherOptions === void 0 ? void 0 : restOtherOptions.length) === 0) {
56
- return /*#__PURE__*/React.createElement(React.Fragment, null, "\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")"));
57
- }
58
- return /*#__PURE__*/React.createElement(React.Fragment, null, restOtherOptions.join('/').concat("\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")")));
47
+ var restOtherOptions = (r === null || r === void 0 ? void 0 : (_r = r["".concat(_this.id, "_checkbox")]) === null || _r === void 0 ? void 0 : _r.filter(function (i) {
48
+ return i !== '其他';
49
+ })) || [];
50
+ if (!isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")])) {
51
+ return restOtherOptions.join('/').concat("\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")"));
59
52
  }
60
- return r === null || r === void 0 ? void 0 : (_r3 = r["".concat(_this.id, "_checkbox")]) === null || _r3 === void 0 ? void 0 : _r3.join('/');
53
+ return restOtherOptions.join('/');
61
54
  });
62
55
  _defineProperty(this, "getComponentValue", function (r) {
63
56
  return {
@@ -13,7 +13,6 @@ declare class CommonDataTime implements ComponentInterface {
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
15
  getValue: (value: string) => string;
16
- render: (value: string) => JSX.Element | null;
17
16
  renderClient: (record: any) => JSX.Element | null;
18
17
  renderPc: (value: any, record: Record) => JSX.Element;
19
18
  renderLog: (r: Record) => JSX.Element | null;
@@ -26,10 +26,6 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
26
26
  _defineProperty(this, "getValue", function (value) {
27
27
  return moment(value).format('YYYY-MM-DD HH:mm:ss');
28
28
  });
29
- _defineProperty(this, "render", function (value) {
30
- if (!value) return null;
31
- return /*#__PURE__*/React.createElement("span", null, _this.getValue(value));
32
- });
33
29
  _defineProperty(this, "renderClient", function (record) {
34
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
35
31
  id: _this.id,
@@ -13,7 +13,6 @@ declare class CompletedUser implements ComponentInterface {
13
13
  renderLog: (record: Record) => null;
14
14
  getComponentValue: (r: Record) => any;
15
15
  renderExport: (value: any, record: Record) => any;
16
- render: () => null;
17
16
  renderClient: () => null;
18
17
  editRender: () => null;
19
18
  filterConfig: (item: ColumnConfig) => {
@@ -31,9 +31,6 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
31
31
  var _record2;
32
32
  return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record2 !== void 0 ? _record2 : '--';
33
33
  });
34
- _defineProperty(this, "render", function () {
35
- return null;
36
- });
37
34
  _defineProperty(this, "renderClient", function () {
38
35
  return null;
39
36
  });
@@ -12,7 +12,6 @@ declare class BasicDataTime implements ComponentInterface {
12
12
  children: ComponentInterface[];
13
13
  constructor(options: PickOption);
14
14
  getValue: (value: Value) => string | undefined;
15
- render: (value: Value) => JSX.Element;
16
15
  renderClient: (record: any) => JSX.Element | null;
17
16
  renderPc: (value: any, record: Record) => JSX.Element;
18
17
  renderLog: (r: Record) => JSX.Element | null;
@@ -42,9 +42,6 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
42
42
  _defineProperty(this, "getValue", function (value) {
43
43
  return Array.isArray(value) ? value.join('~') : value;
44
44
  });
45
- _defineProperty(this, "render", function (value) {
46
- return /*#__PURE__*/React.createElement("span", null, _this.getValue(value));
47
- });
48
45
  _defineProperty(this, "renderClient", function (record) {
49
46
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
50
47
  id: _this.id,
@@ -10,7 +10,6 @@ declare class EItemEncode implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- render: (value: any) => JSX.Element;
14
13
  renderClient: (record: any) => JSX.Element | null;
15
14
  renderPc: (value: unknown, record: Record) => JSX.Element;
16
15
  renderLog: (r: Record) => JSX.Element | null;
@@ -24,17 +24,14 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
24
24
  _defineProperty(this, "effects", void 0);
25
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
26
  _defineProperty(this, "children", void 0);
27
- _defineProperty(this, "render", function (value) {
28
- return /*#__PURE__*/React.createElement(GoodImage, {
29
- list: value,
30
- type: "itemCode"
31
- });
32
- });
33
27
  _defineProperty(this, "renderClient", function (record) {
34
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
35
29
  id: _this.id,
36
30
  label: _this.name,
37
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
31
+ value: /*#__PURE__*/React.createElement(GoodImage, {
32
+ list: record === null || record === void 0 ? void 0 : record[_this.id],
33
+ type: "itemCode"
34
+ })
38
35
  }) : null;
39
36
  });
40
37
  _defineProperty(this, "renderPc", function (value, record) {
@@ -10,7 +10,6 @@ declare class EItemId implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- render: (value: any) => JSX.Element;
14
13
  renderClient: (record: any) => JSX.Element | null;
15
14
  renderPc: (value: unknown, record: Record) => JSX.Element;
16
15
  renderLog: (r: Record) => JSX.Element | null;
@@ -24,17 +24,14 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
24
24
  _defineProperty(this, "effects", void 0);
25
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
26
  _defineProperty(this, "children", void 0);
27
- _defineProperty(this, "render", function (value) {
28
- return /*#__PURE__*/React.createElement(GoodImage, {
29
- list: value,
30
- type: "itemId"
31
- });
32
- });
33
27
  _defineProperty(this, "renderClient", function (record) {
34
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
35
29
  id: _this.id,
36
30
  label: _this.name,
37
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
31
+ value: /*#__PURE__*/React.createElement(GoodImage, {
32
+ list: record === null || record === void 0 ? void 0 : record[_this.id],
33
+ type: "itemId"
34
+ })
38
35
  }) : null;
39
36
  });
40
37
  _defineProperty(this, "renderPc", function (value, record) {
@@ -10,7 +10,6 @@ declare class EItemSelect implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- render: (value: any) => JSX.Element;
14
13
  renderClient: (record: any) => JSX.Element | null;
15
14
  renderPc: (value: unknown, record: Record) => JSX.Element;
16
15
  renderLog: (r: Record) => JSX.Element | null;
@@ -23,16 +23,13 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
23
23
  _defineProperty(this, "effects", void 0);
24
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
25
  _defineProperty(this, "children", void 0);
26
- _defineProperty(this, "render", function (value) {
27
- return /*#__PURE__*/React.createElement(GoodImage, {
28
- list: value
29
- });
30
- });
31
26
  _defineProperty(this, "renderClient", function (record) {
32
27
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
33
28
  id: _this.id,
34
29
  label: _this.name,
35
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
30
+ value: /*#__PURE__*/React.createElement(GoodImage, {
31
+ list: record === null || record === void 0 ? void 0 : record[_this.id]
32
+ })
36
33
  }) : null;
37
34
  });
38
35
  _defineProperty(this, "renderPc", function (value, record) {
@@ -9,7 +9,6 @@ declare class ErpTradeId implements ComponentInterface {
9
9
  isCombinationComponent: boolean;
10
10
  children: ComponentInterface[];
11
11
  constructor(options: PickOption);
12
- render: (value: string) => JSX.Element;
13
12
  renderClient: (record: any) => JSX.Element | null;
14
13
  renderPc: (value: any, record: Record) => JSX.Element;
15
14
  renderLog: (r: Record) => JSX.Element | null;
@@ -20,14 +20,11 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
20
20
  _defineProperty(this, "componentConfig", void 0);
21
21
  _defineProperty(this, "isCombinationComponent", void 0);
22
22
  _defineProperty(this, "children", void 0);
23
- _defineProperty(this, "render", function (value) {
24
- return /*#__PURE__*/React.createElement("span", null, value);
25
- });
26
23
  _defineProperty(this, "renderClient", function (record) {
27
24
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
28
25
  id: _this.id,
29
26
  label: _this.name,
30
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
27
+ value: record === null || record === void 0 ? void 0 : record[_this.id]
31
28
  }) : null;
32
29
  });
33
30
  _defineProperty(this, "renderPc", function (value, record) {
@@ -13,7 +13,6 @@ declare class Express implements ComponentInterface {
13
13
  isCombinationComponent: boolean;
14
14
  children: ComponentInterface[];
15
15
  constructor(options: PickOption);
16
- render: (value: string) => JSX.Element;
17
16
  renderClient: (record: any) => JSX.Element | null;
18
17
  renderPc: (value: unknown, record: Record) => JSX.Element;
19
18
  renderLog: (r: Record) => JSX.Element | null;
@@ -24,14 +24,11 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
24
24
  _defineProperty(this, "width", void 0);
25
25
  _defineProperty(this, "isCombinationComponent", void 0);
26
26
  _defineProperty(this, "children", void 0);
27
- _defineProperty(this, "render", function (value) {
28
- return /*#__PURE__*/React.createElement("span", null, _this.expressDateInstance.getExpressNameByCode(value) || value);
29
- });
30
27
  _defineProperty(this, "renderClient", function (record) {
31
28
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
32
29
  id: _this.id,
33
30
  label: _this.name,
34
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
31
+ value: _this.expressDateInstance.getExpressNameByCode(record === null || record === void 0 ? void 0 : record[_this.id]) || (record === null || record === void 0 ? void 0 : record[_this.id])
35
32
  }) : null;
36
33
  });
37
34
  _defineProperty(this, "renderPc", function (value, record) {
@@ -11,7 +11,6 @@ declare class ExpressCode implements ComponentInterface {
11
11
  isCombinationComponent: boolean;
12
12
  children: ComponentInterface[];
13
13
  constructor(options: PickOption);
14
- render: (value: string) => JSX.Element;
15
14
  renderClient: (record: any) => JSX.Element | null;
16
15
  renderPc: (value: unknown, record: Record) => JSX.Element;
17
16
  renderLog: (r: Record) => JSX.Element | null;
@@ -23,9 +23,6 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
23
23
  _defineProperty(this, "width", void 0);
24
24
  _defineProperty(this, "isCombinationComponent", void 0);
25
25
  _defineProperty(this, "children", void 0);
26
- _defineProperty(this, "render", function (value) {
27
- return /*#__PURE__*/React.createElement("span", null, value);
28
- });
29
26
  _defineProperty(this, "renderClient", function (record) {
30
27
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
31
28
  id: _this.id,
@@ -16,7 +16,6 @@ declare class WorkOrderId implements ComponentInterface {
16
16
  renderLog: (r: Record) => JSX.Element | null;
17
17
  getComponentValue: (r: Record) => any;
18
18
  renderExport: (value: any, record: Record) => any;
19
- render: () => null;
20
19
  renderClient: () => null;
21
20
  editRender: () => JSX.Element;
22
21
  filterConfig: (item: ColumnConfig) => {
@@ -65,9 +65,6 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
65
65
  var status = get(_this.workOrderStatus, record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
66
66
  return status ? status === null || status === void 0 ? void 0 : status.label : '--';
67
67
  });
68
- _defineProperty(this, "render", function () {
69
- return null;
70
- });
71
68
  _defineProperty(this, "renderClient", function () {
72
69
  return null;
73
70
  });
@@ -9,7 +9,6 @@ declare class BasicGrade implements ComponentInterface {
9
9
  isCombinationComponent: boolean;
10
10
  children: ComponentInterface[];
11
11
  constructor(options: PickOption);
12
- render: (value: number) => JSX.Element;
13
12
  renderClient: (record: any) => JSX.Element | null;
14
13
  renderPc: (value: any, record: Record) => JSX.Element;
15
14
  renderLog: (r: Record) => JSX.Element | null;
@@ -20,14 +20,11 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
20
20
  _defineProperty(this, "componentConfig", void 0);
21
21
  _defineProperty(this, "isCombinationComponent", void 0);
22
22
  _defineProperty(this, "children", void 0);
23
- _defineProperty(this, "render", function (value) {
24
- return /*#__PURE__*/React.createElement("span", null, value);
25
- });
26
23
  _defineProperty(this, "renderClient", function (record) {
27
24
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
28
25
  id: _this.id,
29
26
  label: _this.name,
30
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
27
+ value: record === null || record === void 0 ? void 0 : record[_this.id]
31
28
  }) : null;
32
29
  });
33
30
  _defineProperty(this, "renderPc", function (value, record) {
@@ -15,7 +15,6 @@ declare class Handler implements ComponentInterface {
15
15
  renderExport: (value: {
16
16
  account: string;
17
17
  }[], record: Record) => string;
18
- render: () => null;
19
18
  renderClient: () => null;
20
19
  editRender: () => null;
21
20
  filterConfig: (item: ColumnConfig) => {
@@ -37,9 +37,6 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
37
37
  return item.account;
38
38
  })) === null || _value$map2 === void 0 ? void 0 : _value$map2.join('、')) !== null && _value$map$join2 !== void 0 ? _value$map$join2 : '--';
39
39
  });
40
- _defineProperty(this, "render", function () {
41
- return null;
42
- });
43
40
  _defineProperty(this, "renderClient", function () {
44
41
  return null;
45
42
  });
@@ -13,7 +13,6 @@ declare class BasicInput implements ComponentInterface {
13
13
  renderLog: (r: Record) => JSX.Element | null;
14
14
  getComponentValue: (r: Record) => any;
15
15
  renderExport: (value: any, record: Record) => any;
16
- render: (value: string | number) => JSX.Element;
17
16
  renderClient: (record: Record) => JSX.Element | null;
18
17
  editRender: () => JSX.Element;
19
18
  filterConfig: (item: ColumnConfig) => {
@@ -37,14 +37,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
37
37
  var _record2;
38
38
  return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record2 !== void 0 ? _record2 : '--';
39
39
  });
40
- _defineProperty(this, "render", function (value) {
41
- return /*#__PURE__*/React.createElement("span", null, value);
42
- });
43
40
  _defineProperty(this, "renderClient", function (record) {
44
41
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
45
42
  id: _this.id,
46
43
  label: _this.name,
47
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
44
+ value: record === null || record === void 0 ? void 0 : record[_this.id]
48
45
  }) : null;
49
46
  });
50
47
  _defineProperty(this, "editRender", function () {
@@ -12,7 +12,6 @@ declare class JstItemSelect implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- render: (value: any) => JSX.Element;
16
15
  renderClient: (record: Record) => JSX.Element | null;
17
16
  renderPc: (value: any, record: Record) => JSX.Element;
18
17
  renderLog: (r: Record) => JSX.Element | null;
@@ -26,18 +26,14 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
26
26
  _defineProperty(this, "expressDateInstance", void 0);
27
27
  _defineProperty(this, "isCombinationComponent", void 0);
28
28
  _defineProperty(this, "children", void 0);
29
- _defineProperty(this, "render", function (value) {
30
- //兼容多个商品
31
- return /*#__PURE__*/React.createElement(GoodImage, {
32
- list: value,
33
- type: "jstItemThird"
34
- });
35
- });
36
29
  _defineProperty(this, "renderClient", function (record) {
37
30
  return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
38
31
  id: _this.id,
39
32
  label: _this.name,
40
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
33
+ value: /*#__PURE__*/React.createElement(GoodImage, {
34
+ list: record === null || record === void 0 ? void 0 : record[_this.id],
35
+ type: "jstItemThird"
36
+ })
41
37
  }) : null;
42
38
  });
43
39
  _defineProperty(this, "renderPc", function (value, record) {
@@ -12,7 +12,6 @@ declare class JstLogistics implements ComponentInterface {
12
12
  isCombinationComponent: boolean;
13
13
  children: ComponentInterface[];
14
14
  constructor(options: PickOption);
15
- render: (value: any) => JSX.Element;
16
15
  renderClient: (record: any) => JSX.Element | null;
17
16
  renderPc: (value: any, record: Record) => JSX.Element;
18
17
  renderLog: (r: Record) => JSX.Element | null;
@@ -8,6 +8,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
8
8
  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); }
9
9
  import React from 'react';
10
10
  import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
11
+ import some from 'lodash/some';
11
12
  import GetFormItem from "../GetFormItem";
12
13
  import { JstGoodImage } from "../Common";
13
14
  import { JstGoods } from '@kmkf-fe-packages/basic-components';
@@ -26,18 +27,17 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
26
27
  _defineProperty(this, "expressDateInstance", void 0);
27
28
  _defineProperty(this, "isCombinationComponent", void 0);
28
29
  _defineProperty(this, "children", void 0);
29
- _defineProperty(this, "render", function (value) {
30
- //兼容多个商品
31
- return /*#__PURE__*/React.createElement(JstGoodImage, {
32
- list: value,
33
- type: 1
34
- });
35
- });
36
30
  _defineProperty(this, "renderClient", function (record) {
37
- return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
31
+ 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) {
32
+ return !isNull(item);
33
+ }) : false;
34
+ return isShow ? /*#__PURE__*/React.createElement(ItemView, {
38
35
  id: _this.id,
39
36
  label: _this.name,
40
- value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
37
+ value: /*#__PURE__*/React.createElement(JstGoodImage, {
38
+ list: record === null || record === void 0 ? void 0 : record[_this.id],
39
+ type: 1
40
+ })
41
41
  }) : null;
42
42
  });
43
43
  _defineProperty(this, "renderPc", function (value, record) {
@@ -10,7 +10,6 @@ declare class JstSendGood implements ComponentInterface {
10
10
  isCombinationComponent: boolean;
11
11
  children: ComponentInterface[];
12
12
  constructor(options: PickOption);
13
- render: (value: any) => JSX.Element;
14
13
  renderClient: (record: Record) => JSX.Element | null;
15
14
  renderPc: (value: any, record: Record) => JSX.Element;
16
15
  renderLog: (r: Record) => JSX.Element | null;