@kmkf-fe-packages/services-components 1.5.0 → 1.6.0-beta.0

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 (100) hide show
  1. package/README.md +3 -1
  2. package/dist/esm/commonComponents/GlobalContext/index.d.ts +1 -1
  3. package/dist/esm/commonComponents/GlobalContext/index.js +1 -1
  4. package/dist/esm/components/ActualPayment/index.js +2 -1
  5. package/dist/esm/components/Address/index.js +2 -1
  6. package/dist/esm/components/AfterSalesOrderId/index.js +2 -1
  7. package/dist/esm/components/Alipay/index.js +6 -5
  8. package/dist/esm/components/AlipayAccount/index.js +2 -1
  9. package/dist/esm/components/AlipayName/index.js +2 -1
  10. package/dist/esm/components/BS/BsExchange/index.js +7 -6
  11. package/dist/esm/components/BS/BsGoods/index.js +5 -4
  12. package/dist/esm/components/BS/BsLogistics/index.js +8 -7
  13. package/dist/esm/components/BS/BsPosting/index.js +3 -2
  14. package/dist/esm/components/BS/BsReissue/index.js +5 -4
  15. package/dist/esm/components/BS/BsReturn/index.js +5 -4
  16. package/dist/esm/components/BS/BsSystemOrder/index.js +4 -2
  17. package/dist/esm/components/BS/DeliveryNo/index.js +4 -3
  18. package/dist/esm/components/BuyerNick/index.js +4 -3
  19. package/dist/esm/components/Calculation/index.js +2 -1
  20. package/dist/esm/components/Cascader/index.js +5 -4
  21. package/dist/esm/components/Checkbox/index.js +4 -3
  22. package/dist/esm/components/Common/index.js +2 -2
  23. package/dist/esm/components/CommonInput/index.js +2 -1
  24. package/dist/esm/components/CommonMultiStatus/index.js +4 -3
  25. package/dist/esm/components/CommonSystemOrder/index.js +4 -3
  26. package/dist/esm/components/CommonTradeId/index.js +2 -1
  27. package/dist/esm/components/DataTime/index.js +7 -6
  28. package/dist/esm/components/EItemEnCode/index.js +6 -5
  29. package/dist/esm/components/EItemId/index.js +5 -4
  30. package/dist/esm/components/EItemSelect/index.js +3 -2
  31. package/dist/esm/components/ErpTradeId/index.js +2 -1
  32. package/dist/esm/components/Express/index.js +3 -2
  33. package/dist/esm/components/ExpressCode/index.js +5 -4
  34. package/dist/esm/components/File/index.js +2 -1
  35. package/dist/esm/components/FlowMarkSelect/index.js +2 -1
  36. package/dist/esm/components/FlowStatusSelect/index.js +2 -1
  37. package/dist/esm/components/FlowTag/index.js +2 -1
  38. package/dist/esm/components/FlowWorkOrderId/index.js +2 -1
  39. package/dist/esm/components/FlowWorkOrderStatus/index.js +2 -1
  40. package/dist/esm/components/GetFormItem/index.d.ts +2 -1
  41. package/dist/esm/components/GetFormItem/index.js +4 -2
  42. package/dist/esm/components/Grade/index.js +2 -1
  43. package/dist/esm/components/Input/index.js +17 -16
  44. package/dist/esm/components/JST/JstItemSelect/index.js +7 -5
  45. package/dist/esm/components/JST/JstLogistics/index.js +9 -8
  46. package/dist/esm/components/JST/JstSendGood/index.js +9 -7
  47. package/dist/esm/components/JST/JstSupply/index.js +6 -4
  48. package/dist/esm/components/KmErpSendGood/index.js +9 -7
  49. package/dist/esm/components/Label/index.js +2 -1
  50. package/dist/esm/components/Logistics/index.js +9 -8
  51. package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -1
  52. package/dist/esm/components/LogisticsInterception/index.js +5 -4
  53. package/dist/esm/components/LogisticsMoreInterception/index.js +4 -3
  54. package/dist/esm/components/LogisticsMoreTrajectory/index.js +4 -3
  55. package/dist/esm/components/LogisticsTrajectory/index.js +4 -3
  56. package/dist/esm/components/MsgStatus/index.js +4 -3
  57. package/dist/esm/components/MultSelect/index.js +4 -3
  58. package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -1
  59. package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -1
  60. package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -1
  61. package/dist/esm/components/Ordinary/index.js +4 -3
  62. package/dist/esm/components/Payment/AlipayNick.js +2 -1
  63. package/dist/esm/components/Payment/AlipayNo.js +2 -1
  64. package/dist/esm/components/Payment/AlipayTime.js +2 -1
  65. package/dist/esm/components/Payment/BuyerNick.js +2 -1
  66. package/dist/esm/components/Payment/PaymentAmount.js +2 -1
  67. package/dist/esm/components/Payment/PaymentTid.js +2 -1
  68. package/dist/esm/components/Payment/index.js +8 -7
  69. package/dist/esm/components/PaymentVoucherCode/index.js +2 -1
  70. package/dist/esm/components/Picture/index.js +3 -2
  71. package/dist/esm/components/PostIng/index.js +3 -2
  72. package/dist/esm/components/Radio/index.js +6 -5
  73. package/dist/esm/components/Rate/index.js +2 -1
  74. package/dist/esm/components/ReceiverAddress/index.js +4 -3
  75. package/dist/esm/components/ReceiverMobile/index.js +2 -1
  76. package/dist/esm/components/ReceiverName/index.js +2 -1
  77. package/dist/esm/components/Remark/index.js +6 -5
  78. package/dist/esm/components/ReturnLogistics/index.js +9 -8
  79. package/dist/esm/components/Select/index.js +4 -3
  80. package/dist/esm/components/ShopName/index.js +2 -1
  81. package/dist/esm/components/StatusSelect/index.js +2 -1
  82. package/dist/esm/components/SubForm/index.d.ts +33 -0
  83. package/dist/esm/components/SubForm/index.js +174 -0
  84. package/dist/esm/components/SystemOrderNo/index.js +2 -1
  85. package/dist/esm/components/TextArea/index.js +2 -1
  86. package/dist/esm/components/ThirdItemSelect/index.js +8 -7
  87. package/dist/esm/components/TradeDateTime/index.js +2 -1
  88. package/dist/esm/components/TradeId/index.js +2 -1
  89. package/dist/esm/components/WDT/WdtExchange/index.js +7 -6
  90. package/dist/esm/components/WDT/WdtGoods/index.js +5 -4
  91. package/dist/esm/components/WDT/WdtRessuie/index.js +5 -4
  92. package/dist/esm/components/WDT/WdtReturn/index.js +5 -4
  93. package/dist/esm/components/WLN/WlnGoods/index.js +5 -4
  94. package/dist/esm/components/WorkOrderId/index.js +2 -1
  95. package/dist/esm/factory.d.ts +2 -2
  96. package/dist/esm/factory.js +5 -4
  97. package/dist/esm/index.d.ts +1 -0
  98. package/dist/esm/index.js +1 -0
  99. package/dist/esm/type.d.ts +12 -1
  100. package/package.json +6 -6
package/README.md CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  - 针对于自定义组件的后缀,在提交的时候是以组件类型的驼峰式来命名的
4
4
 
5
- ---
5
+ ---
6
+
7
+
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- declare type RequestType = "queryAddressData" | "queryBsAddressData" | "queryExpressInterceptData" | "queryLogisticsAddressData" | "queryPlatData" | "queryWdtAddressData" | "queryAllLogisticsCompany" | "queryLabel" | "queryWdtLogisticsCompany" | "queryWdtSendData";
2
+ declare type RequestType = "queryAddressData" | "queryBsAddressData" | "queryExpressInterceptData" | "queryLogisticsAddressData" | "queryPlatData" | "queryWdtAddressData" | "queryAllLogisticsCompany" | "queryWdtLogisticsCompany" | "queryWdtSendData" | "queryLabel";
3
3
  declare const Global: ({ children, requestList, repeatRequestList }: React.PropsWithChildren<{
4
4
  requestList?: RequestType[] | undefined;
5
5
  repeatRequestList?: Record<string, () => Promise<any>> | undefined;
@@ -15,7 +15,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
15
15
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
16
  import React, { useEffect, useState } from "react";
17
17
  import { Skeleton, Result, Button } from "antd";
18
- import { queryExpressInterceptData, queryLogisticsAddressData, queryPlatData, queryLabel, queryAllLogisticsCompany, queryWdtLogisticsCompany, queryWdtSendData } from "../../service/api";
18
+ import { queryExpressInterceptData, queryLogisticsAddressData, queryPlatData, queryWdtLogisticsCompany, queryWdtSendData, queryAllLogisticsCompany, queryLabel } from "../../service/api";
19
19
  import { servers } from '@kmkf-fe-packages/kmkf-utils';
20
20
  var Global = function Global(_ref) {
21
21
  var children = _ref.children,
@@ -66,7 +66,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
66
66
  return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type])]) !== null && _record2 !== void 0 ? _record2 : '--';
67
67
  });
68
68
  _defineProperty(this, "editRender", function (p) {
69
- var _this$componentConfig, _this$componentConfig2;
69
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
70
70
  return /*#__PURE__*/React.createElement(GetFormItem, {
71
71
  title: _this.name,
72
72
  name: _this.id,
@@ -74,6 +74,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
74
74
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
75
75
  display: p === null || p === void 0 ? void 0 : p.display,
76
76
  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,
77
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
77
78
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
78
79
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
79
80
  }))
@@ -85,7 +85,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
85
85
  }).join("");
86
86
  });
87
87
  _defineProperty(this, "editRender", function (p) {
88
- var _this$componentConfig, _this$componentConfig2;
88
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
89
89
  return /*#__PURE__*/React.createElement(GetFormItem, {
90
90
  title: _this.name,
91
91
  name: _this.id,
@@ -93,6 +93,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
93
93
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
94
94
  display: p === null || p === void 0 ? void 0 : p.display,
95
95
  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,
96
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
96
97
  component: /*#__PURE__*/React.createElement(ApaasAddress, _this.componentConfig)
97
98
  });
98
99
  });
@@ -52,7 +52,7 @@ var AfterSalesOrderId = /*#__PURE__*/_createClass(function AfterSalesOrderId(opt
52
52
  }) : null;
53
53
  });
54
54
  _defineProperty(this, "editRender", function (p) {
55
- var _this$componentConfig, _this$componentConfig2;
55
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
56
56
  return /*#__PURE__*/React.createElement(GetFormItem, {
57
57
  title: _this.name,
58
58
  name: _this.id,
@@ -61,6 +61,7 @@ var AfterSalesOrderId = /*#__PURE__*/_createClass(function AfterSalesOrderId(opt
61
61
  display: p === null || p === void 0 ? void 0 : p.display,
62
62
  validateTrigger: ["onBlur", "onChange"],
63
63
  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,
64
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
64
65
  component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
65
66
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
66
67
  }))
@@ -15,7 +15,7 @@ import EAlipayName from "../AlipayName";
15
15
  import GetFormItem from "../GetFormItem";
16
16
  var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
17
17
  var _this = this,
18
- _this$componentConfig3;
18
+ _this$componentConfig5;
19
19
  _classCallCheck(this, Alipay);
20
20
  _defineProperty(this, "name", void 0);
21
21
  _defineProperty(this, "id", void 0);
@@ -49,7 +49,7 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
49
49
  return null;
50
50
  });
51
51
  _defineProperty(this, "editRender", function (p) {
52
- var _this$componentConfig, _this$componentConfig2;
52
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
53
53
  return /*#__PURE__*/React.createElement(GetFormItem, {
54
54
  title: _this.name,
55
55
  name: _this.id,
@@ -57,6 +57,7 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
57
57
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
58
58
  display: p === null || p === void 0 ? void 0 : p.display,
59
59
  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,
60
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
60
61
  component: /*#__PURE__*/React.createElement(AliPay, _extends({}, _this.componentConfig, {
61
62
  onBlur: p === null || p === void 0 ? void 0 : p.onBlur
62
63
  }))
@@ -77,10 +78,10 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
77
78
  this.alipayName = new EAlipayName(_objectSpread({}, options));
78
79
  this.dataType = 'object';
79
80
  this.children = [this.alipayName, this.alipayAccount];
80
- this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
81
+ this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
81
82
  validator: function validator(_, value) {
82
- var _this$componentConfig4;
83
- if (!((_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.isSingle) && !(value !== null && value !== void 0 && value.name)) {
83
+ var _this$componentConfig6;
84
+ if (!((_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.isSingle) && !(value !== null && value !== void 0 && value.name)) {
84
85
  return Promise.reject(new Error('请输入支付宝名称'));
85
86
  }
86
87
  if (!(value !== null && value !== void 0 && value.user)) {
@@ -60,7 +60,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
60
60
  return value !== null && value !== void 0 ? value : '--';
61
61
  });
62
62
  _defineProperty(this, "editRender", function (p) {
63
- var _this$componentConfig, _this$componentConfig2;
63
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
64
64
  return /*#__PURE__*/React.createElement(GetFormItem, {
65
65
  title: _this.name,
66
66
  name: _this.id,
@@ -68,6 +68,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
68
68
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
69
69
  display: p === null || p === void 0 ? void 0 : p.display,
70
70
  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,
71
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
71
72
  component: /*#__PURE__*/React.createElement(AlipayAccount, _this.componentConfig)
72
73
  });
73
74
  });
@@ -59,7 +59,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
59
59
  return value !== null && value !== void 0 ? value : '--';
60
60
  });
61
61
  _defineProperty(this, "editRender", function (p) {
62
- var _this$componentConfig, _this$componentConfig2;
62
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
63
63
  return /*#__PURE__*/React.createElement(GetFormItem, {
64
64
  title: _this.name,
65
65
  name: _this.id,
@@ -67,6 +67,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
67
67
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
68
68
  display: p === null || p === void 0 ? void 0 : p.display,
69
69
  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,
70
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
70
71
  component: /*#__PURE__*/React.createElement(AlipayName, _this.componentConfig)
71
72
  });
72
73
  });
@@ -18,7 +18,7 @@ import { SYMBOL } from "../../../constant";
18
18
  import { BsType, BsMemo, BsHeaderGood } from "../common/index";
19
19
  var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
20
20
  var _this = this,
21
- _this$componentConfig8;
21
+ _this$componentConfig10;
22
22
  _classCallCheck(this, BsExchange);
23
23
  _defineProperty(this, "name", void 0);
24
24
  _defineProperty(this, "id", void 0);
@@ -91,7 +91,7 @@ var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
91
91
  return null;
92
92
  });
93
93
  _defineProperty(this, "editRender", function (p) {
94
- var _this$componentConfig7, _this$effects, _this$effects2, _this$effects3;
94
+ var _this$componentConfig7, _this$componentConfig8, _this$componentConfig9, _this$effects, _this$effects2, _this$effects3;
95
95
  return /*#__PURE__*/React.createElement(GetFormItem, {
96
96
  title: _this.name,
97
97
  name: _this.id,
@@ -99,8 +99,9 @@ var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
99
99
  required: false,
100
100
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
101
101
  display: p === null || p === void 0 ? void 0 : p.display,
102
+ tooltip: (_this$componentConfig7 = (_this$componentConfig8 = _this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.tooltip) !== null && _this$componentConfig7 !== void 0 ? _this$componentConfig7 : '',
102
103
  component: /*#__PURE__*/React.createElement(Exchange, _extends({}, _this.componentConfig, {
103
- maxLength: ((_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.maxLength) || 20,
104
+ maxLength: ((_this$componentConfig9 = _this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : _this$componentConfig9.maxLength) || 20,
104
105
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
105
106
  shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
106
107
  companyKey: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.companyKey,
@@ -180,10 +181,10 @@ var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
180
181
  this.children = [this.bsType, this.bsMemo, this.returnGoods, this.swapOutGoods, this.giftGoods];
181
182
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
182
183
  this.rules = [{
183
- required: (_this$componentConfig8 = this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.required,
184
+ required: (_this$componentConfig10 = this.componentConfig) === null || _this$componentConfig10 === void 0 ? void 0 : _this$componentConfig10.required,
184
185
  validator: function validator(_, value) {
185
- var _this$componentConfig9, _value$bsExchangeRetu;
186
- if ((_this$componentConfig9 = _this.componentConfig) !== null && _this$componentConfig9 !== void 0 && _this$componentConfig9.required && !(value !== null && value !== void 0 && (_value$bsExchangeRetu = value.bsExchangeReturnGoods) !== null && _value$bsExchangeRetu !== void 0 && _value$bsExchangeRetu.length)) {
186
+ var _this$componentConfig11, _value$bsExchangeRetu;
187
+ if ((_this$componentConfig11 = _this.componentConfig) !== null && _this$componentConfig11 !== void 0 && _this$componentConfig11.required && !(value !== null && value !== void 0 && (_value$bsExchangeRetu = value.bsExchangeReturnGoods) !== null && _value$bsExchangeRetu !== void 0 && _value$bsExchangeRetu.length)) {
187
188
  return Promise.reject(new Error("请选择bs换货商品"));
188
189
  }
189
190
  return Promise.resolve();
@@ -18,7 +18,7 @@ import { BsGoods as Goods } from "@kmkf-fe-packages/basic-components";
18
18
  import { SYMBOL } from "../../../constant";
19
19
  var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
20
20
  var _this = this,
21
- _this$componentConfig4;
21
+ _this$componentConfig6;
22
22
  _classCallCheck(this, BsGoods);
23
23
  _defineProperty(this, "name", void 0);
24
24
  _defineProperty(this, "id", void 0);
@@ -62,7 +62,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
62
62
  return null;
63
63
  });
64
64
  _defineProperty(this, "editRender", function (p) {
65
- var _this$componentConfig3, _this$effects, _this$effects2, _this$effects3;
65
+ var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$effects, _this$effects2, _this$effects3;
66
66
  return /*#__PURE__*/React.createElement(GetFormItem, {
67
67
  title: _this.name,
68
68
  name: _this.id,
@@ -70,8 +70,9 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
70
70
  required: false,
71
71
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
72
72
  display: p === null || p === void 0 ? void 0 : p.display,
73
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
73
74
  component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
74
- maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
75
+ maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
75
76
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
76
77
  shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
77
78
  companyKey: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.companyKey,
@@ -104,7 +105,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
104
105
  }));
105
106
  this.children = [this.bsGoods];
106
107
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
107
- this.rules = this !== null && this !== void 0 && (_this$componentConfig4 = this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required ? [{
108
+ this.rules = this !== null && this !== void 0 && (_this$componentConfig6 = this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.required ? [{
108
109
  required: true,
109
110
  validator: function validator(_, value) {
110
111
  var _value$bsGoods;
@@ -46,8 +46,8 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
46
46
  _typeMap$_options$typ4,
47
47
  _typeMap$_options$typ5,
48
48
  _typeMap$_options$typ6,
49
- _this$componentConfig3,
50
- _this$componentConfig5;
49
+ _this$componentConfig5,
50
+ _this$componentConfig7;
51
51
  _classCallCheck(this, BsLogistics);
52
52
  _defineProperty(this, "name", void 0);
53
53
  _defineProperty(this, "id", void 0);
@@ -139,7 +139,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
139
139
  return null;
140
140
  });
141
141
  _defineProperty(this, "editRender", function (p) {
142
- var _this$componentConfig, _this$componentConfig2;
142
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
143
143
  return /*#__PURE__*/React.createElement(GetFormItem, {
144
144
  title: _this.name,
145
145
  name: _this.id,
@@ -147,6 +147,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
147
147
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
148
148
  display: p === null || p === void 0 ? void 0 : p.display,
149
149
  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,
150
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
150
151
  component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
151
152
  type: 1,
152
153
  platformType: _this.type === 'WDT_LOGISTICS' ? 'wdt' : 'default',
@@ -186,11 +187,11 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
186
187
  }));
187
188
  this.children = [this.expressCompany, this.expressCode];
188
189
  this.dataType = "object";
189
- this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
190
+ this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
190
191
  required: true,
191
192
  validator: function validator(_, value) {
192
- var _this$componentConfig4;
193
- var showField = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.showField;
193
+ var _this$componentConfig6;
194
+ var showField = (_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.showField;
194
195
  var hasNo = (value || []).some(function (item) {
195
196
  if (showField === "logisticsCompany") {
196
197
  return item.logisticsCompany;
@@ -207,6 +208,6 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
207
208
  }
208
209
  }] : [];
209
210
  this.expressDateInstance = ExpressData.getInstance(this.type === 'WDT_LOGISTICS' ? 'wdt' : 'default');
210
- this.sortChildField = this.getSortChildFields(((_this$componentConfig5 = this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.showField) || "", _options);
211
+ this.sortChildField = this.getSortChildFields(((_this$componentConfig7 = this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.showField) || "", _options);
211
212
  });
212
213
  export default BsLogistics;
@@ -80,7 +80,7 @@ var BsPosting = /*#__PURE__*/_createClass(function BsPosting(options) {
80
80
  }) : null;
81
81
  });
82
82
  _defineProperty(this, "editRender", function (p) {
83
- var _this$componentConfig, _this$componentConfig2, _this$componentConfig3;
83
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$componentConfig5;
84
84
  return /*#__PURE__*/React.createElement(GetFormItem, {
85
85
  title: _this.name,
86
86
  name: _this.id,
@@ -88,8 +88,9 @@ var BsPosting = /*#__PURE__*/_createClass(function BsPosting(options) {
88
88
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
89
89
  display: p === null || p === void 0 ? void 0 : p.display,
90
90
  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,
91
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
91
92
  component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
92
- type: _this.type === "POSTING" || ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) === "workOrder" ? "workOrder" : "bs"
93
+ type: _this.type === "POSTING" || ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.showField) === "workOrder" ? "workOrder" : "bs"
93
94
  }))
94
95
  });
95
96
  });
@@ -39,7 +39,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
39
39
  _typeMap$options$type2,
40
40
  _typeMap$options$type3,
41
41
  _typeMap$options$type4,
42
- _this$componentConfig4;
42
+ _this$componentConfig6;
43
43
  _classCallCheck(this, BsReissue);
44
44
  _defineProperty(this, "name", void 0);
45
45
  _defineProperty(this, "id", void 0);
@@ -90,7 +90,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
90
90
  return null;
91
91
  });
92
92
  _defineProperty(this, "editRender", function (p) {
93
- var _this$componentConfig3, _this$effects, _this$effects2, _this$effects3;
93
+ var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$effects, _this$effects2, _this$effects3;
94
94
  return /*#__PURE__*/React.createElement(GetFormItem, {
95
95
  title: _this.name,
96
96
  name: _this.id,
@@ -98,8 +98,9 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
98
98
  required: false,
99
99
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
100
100
  display: p === null || p === void 0 ? void 0 : p.display,
101
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
101
102
  component: /*#__PURE__*/React.createElement(Reissue, _extends({}, _this.componentConfig, {
102
- maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
103
+ maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
103
104
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
104
105
  shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
105
106
  companyKey: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.companyKey,
@@ -168,7 +169,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
168
169
  }));
169
170
  this.children = [this.bsType, this.bsMemo, this.reissueGoods];
170
171
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
171
- this.rules = this !== null && this !== void 0 && (_this$componentConfig4 = this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required ? [{
172
+ this.rules = this !== null && this !== void 0 && (_this$componentConfig6 = this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.required ? [{
172
173
  required: true,
173
174
  validator: function validator(_, value) {
174
175
  var _value, _typeMap$options$type5;
@@ -18,7 +18,7 @@ import { BsGoodsTable } from "../../Common";
18
18
  import { BsType, BsMemo, BsHeaderGood } from "../common/index";
19
19
  var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
20
20
  var _this = this,
21
- _this$componentConfig4;
21
+ _this$componentConfig6;
22
22
  _classCallCheck(this, BsReturn);
23
23
  _defineProperty(this, "name", void 0);
24
24
  _defineProperty(this, "id", void 0);
@@ -63,7 +63,7 @@ var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
63
63
  return null;
64
64
  });
65
65
  _defineProperty(this, "editRender", function (p) {
66
- var _this$componentConfig3, _this$effects, _this$effects2, _this$effects3;
66
+ var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$effects, _this$effects2, _this$effects3;
67
67
  return /*#__PURE__*/React.createElement(GetFormItem, {
68
68
  title: _this.name,
69
69
  name: _this.id,
@@ -71,8 +71,9 @@ var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
71
71
  required: false,
72
72
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
73
73
  display: p === null || p === void 0 ? void 0 : p.display,
74
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
74
75
  component: /*#__PURE__*/React.createElement(BsReturnGoods, _extends({}, _this.componentConfig, {
75
- maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
76
+ maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
76
77
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
77
78
  shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
78
79
  companyKey: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.companyKey,
@@ -136,7 +137,7 @@ var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
136
137
  }));
137
138
  this.children = [this.bsType, this.bsMemo, this.reissueGoods];
138
139
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
139
- this.rules = this !== null && this !== void 0 && (_this$componentConfig4 = this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required ? [{
140
+ this.rules = this !== null && this !== void 0 && (_this$componentConfig6 = this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.required ? [{
140
141
  required: true,
141
142
  validator: function validator(_, value) {
142
143
  var _value$bsReturnGoods;
@@ -41,7 +41,7 @@ var typeMap = {
41
41
  };
42
42
  var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
43
43
  var _this = this,
44
- _this$componentConfig;
44
+ _this$componentConfig3;
45
45
  _classCallCheck(this, BsSystemOrder);
46
46
  _defineProperty(this, "name", void 0);
47
47
  _defineProperty(this, "id", void 0);
@@ -85,6 +85,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
85
85
  return null;
86
86
  });
87
87
  _defineProperty(this, "editRender", function (p) {
88
+ var _this$componentConfig, _this$componentConfig2;
88
89
  return /*#__PURE__*/React.createElement(GetFormItem, {
89
90
  title: _this.name,
90
91
  name: _this.id,
@@ -92,6 +93,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
92
93
  required: false,
93
94
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
94
95
  display: p === null || p === void 0 ? void 0 : p.display,
96
+ tooltip: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : '',
95
97
  component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
96
98
  onChange: p === null || p === void 0 ? void 0 : p.onChange,
97
99
  type: _this.type
@@ -134,7 +136,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
134
136
  width: 150
135
137
  }))];
136
138
  this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
137
- this.rules = this !== null && this !== void 0 && (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
139
+ this.rules = this !== null && this !== void 0 && (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
138
140
  required: true,
139
141
  validator: function validator(_, value) {
140
142
  var _value$selectIds;
@@ -24,7 +24,7 @@ var DeliveryNo = /*#__PURE__*/_createClass(function DeliveryNo(options) {
24
24
  var _this = this,
25
25
  _typeMap$options$type,
26
26
  _typeMap$options$type2,
27
- _this$componentConfig3;
27
+ _this$componentConfig5;
28
28
  _classCallCheck(this, DeliveryNo);
29
29
  _defineProperty(this, "name", void 0);
30
30
  _defineProperty(this, "id", void 0);
@@ -82,7 +82,7 @@ var DeliveryNo = /*#__PURE__*/_createClass(function DeliveryNo(options) {
82
82
  }).join(',');
83
83
  });
84
84
  _defineProperty(this, "editRender", function (p) {
85
- var _this$componentConfig, _this$componentConfig2;
85
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
86
86
  return /*#__PURE__*/React.createElement(GetFormItem, {
87
87
  title: _this.name,
88
88
  name: _this.id,
@@ -90,6 +90,7 @@ var DeliveryNo = /*#__PURE__*/_createClass(function DeliveryNo(options) {
90
90
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
91
91
  display: p === null || p === void 0 ? void 0 : p.display,
92
92
  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,
93
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
93
94
  component: /*#__PURE__*/React.createElement(CommonSystemOrder, _extends({}, _this.componentConfig, {
94
95
  type: 1
95
96
  }))
@@ -124,7 +125,7 @@ var DeliveryNo = /*#__PURE__*/_createClass(function DeliveryNo(options) {
124
125
  this.canSort = false;
125
126
  this.children = [];
126
127
  this.dataType = 'object';
127
- this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
128
+ this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
128
129
  required: true,
129
130
  validator: function validator(_, value) {
130
131
  var hasNo = (value || []).some(function (item) {
@@ -16,7 +16,7 @@ import { SYMBOL } from "../../constant";
16
16
  import wangImg from "../../commonComponents/Wangwang/img/wang.gif";
17
17
  var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
18
18
  var _this = this,
19
- _this$componentConfig3;
19
+ _this$componentConfig5;
20
20
  _classCallCheck(this, EBuyerNick);
21
21
  _defineProperty(this, "name", void 0);
22
22
  _defineProperty(this, "id", void 0);
@@ -85,7 +85,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
85
85
  return record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_buyerNick")];
86
86
  });
87
87
  _defineProperty(this, "editRender", function (p) {
88
- var _this$componentConfig, _this$componentConfig2, _this$effects3, _this$effects4;
88
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _this$effects3, _this$effects4;
89
89
  return /*#__PURE__*/React.createElement(GetFormItem, {
90
90
  title: _this.name,
91
91
  name: _this.id,
@@ -93,6 +93,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
93
93
  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,
94
94
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
95
95
  display: p === null || p === void 0 ? void 0 : p.display,
96
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
96
97
  component: /*#__PURE__*/React.createElement(BuyerNick, _extends({}, _this.componentConfig, {
97
98
  shopId: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.shopId,
98
99
  shopList: (_this$effects4 = _this.effects) === null || _this$effects4 === void 0 ? void 0 : _this$effects4.shopList,
@@ -125,7 +126,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
125
126
  this.canSort = true;
126
127
  this.children = [];
127
128
  this.dataType = "string";
128
- this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
129
+ this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
129
130
  validator: function validator(_, value) {
130
131
  if (!(value !== null && value !== void 0 && value.buyerNick)) {
131
132
  return Promise.reject(new Error("请输入买家昵称"));
@@ -50,7 +50,7 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
50
50
  }) : null;
51
51
  });
52
52
  _defineProperty(this, "editRender", function (p) {
53
- var _this$componentConfig4, _this$componentConfig5;
53
+ var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6, _this$componentConfig7;
54
54
  return /*#__PURE__*/React.createElement(GetFormItem, {
55
55
  title: _this.name,
56
56
  name: _this.id,
@@ -62,6 +62,7 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
62
62
  display: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && (_this$componentConfig5 = _this$componentConfig4.config) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.display ? 'unset' : 'none'
63
63
  } // TODO: 样式隐藏
64
64
  ,
65
+ tooltip: (_this$componentConfig6 = (_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.tooltip) !== null && _this$componentConfig6 !== void 0 ? _this$componentConfig6 : '',
65
66
  component: /*#__PURE__*/React.createElement(CalculationInput, _extends({}, _this.componentConfig, {
66
67
  disabled: true
67
68
  }))
@@ -16,7 +16,7 @@ import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
16
16
  import { SYMBOL } from "../../constant";
17
17
  var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
18
18
  var _this = this,
19
- _this$componentConfig7;
19
+ _this$componentConfig9;
20
20
  _classCallCheck(this, BasicCascader);
21
21
  _defineProperty(this, "name", void 0);
22
22
  _defineProperty(this, "id", void 0);
@@ -74,7 +74,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
74
74
  })) === null || _findLabelBySelectVal6 === void 0 ? void 0 : _findLabelBySelectVal6.join(',');
75
75
  });
76
76
  _defineProperty(this, "editRender", function (p) {
77
- var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6;
77
+ var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6, _this$componentConfig7, _this$componentConfig8;
78
78
  return /*#__PURE__*/React.createElement(GetFormItem, {
79
79
  title: _this.name,
80
80
  name: _this.id,
@@ -82,9 +82,10 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
82
82
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
83
83
  required: (_this$componentConfig4 = (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.required) !== null && _this$componentConfig4 !== void 0 ? _this$componentConfig4 : false,
84
84
  display: p === null || p === void 0 ? void 0 : p.display,
85
+ tooltip: (_this$componentConfig6 = (_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.tooltip) !== null && _this$componentConfig6 !== void 0 ? _this$componentConfig6 : '',
85
86
  component: /*#__PURE__*/React.createElement(Cascader, _extends({}, _this.componentConfig, {
86
87
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
87
- options: transMultSelectOptions(((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.options) || []),
88
+ options: transMultSelectOptions(((_this$componentConfig8 = _this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.options) || []),
88
89
  fieldNames: {
89
90
  label: 'label',
90
91
  value: 'actived',
@@ -149,7 +150,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
149
150
  this.canSort = true;
150
151
  this.dataType = 'array';
151
152
  this.format = 'cascader';
152
- this.options = ((_this$componentConfig7 = this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.options) || [];
153
+ this.options = ((_this$componentConfig9 = this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : _this$componentConfig9.options) || [];
153
154
  }
154
155
 
155
156
  /**
@@ -15,7 +15,7 @@ import { SYMBOL } from "../../constant";
15
15
  var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
16
16
  var _this = this,
17
17
  _options$componentCon,
18
- _this$componentConfig3;
18
+ _this$componentConfig5;
19
19
  _classCallCheck(this, BasicCheckbox);
20
20
  _defineProperty(this, "name", void 0);
21
21
  _defineProperty(this, "id", void 0);
@@ -80,7 +80,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
80
80
  }) : null;
81
81
  });
82
82
  _defineProperty(this, "editRender", function (p) {
83
- var _this$componentConfig, _this$componentConfig2;
83
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
84
84
  return /*#__PURE__*/React.createElement(GetFormItem, {
85
85
  title: _this.name,
86
86
  name: _this.id,
@@ -88,6 +88,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
88
88
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
89
89
  display: p === null || p === void 0 ? void 0 : p.display,
90
90
  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,
91
+ tooltip: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : '',
91
92
  component: /*#__PURE__*/React.createElement(ApaasCheckbox, _this.componentConfig)
92
93
  });
93
94
  });
@@ -136,6 +137,6 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
136
137
  }
137
138
  }] : [];
138
139
  this.dataType = 'array';
139
- this.options = ((_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.options) || [];
140
+ this.options = ((_this$componentConfig5 = this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.options) || [];
140
141
  });
141
142
  export default BasicCheckbox;
@@ -16,10 +16,10 @@ import { Form, Button, Modal, Tooltip, Space, Image, Popover, Table, message, Ty
16
16
  import React, { useState, useMemo } from "react";
17
17
  import { ExpressData, WdtSendData } from "@kmkf-fe-packages/kmkf-utils";
18
18
  import { getAlipayBillReceipt } from "../../service/api";
19
- import { CopyToClipboard } from 'react-copy-to-clipboard';
19
+ import { CopyToClipboard } from "react-copy-to-clipboard";
20
+ import CopyText from "../../commonComponents/CopyText";
20
21
  import styles from "./index.module.less";
21
22
  import defaultImg from "./img/default-img.png";
22
- import CopyText from "../../commonComponents/CopyText";
23
23
  var Paragraph = Typography.Paragraph;
24
24
  export var getFormItem = function getFormItem(_ref) {
25
25
  var name = _ref.name,