@kmkf-fe-packages/services-components 1.0.6 → 1.0.7

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 (247) hide show
  1. package/dist/esm/components/ActualPayment/BsDeposit.d.ts +23 -0
  2. package/dist/esm/components/ActualPayment/BsDeposit.js +50 -0
  3. package/dist/esm/components/ActualPayment/BsNetReceipts.d.ts +23 -0
  4. package/dist/esm/components/ActualPayment/BsNetReceipts.js +50 -0
  5. package/dist/esm/components/ActualPayment/BsPackageWeight.d.ts +23 -0
  6. package/dist/esm/components/ActualPayment/BsPackageWeight.js +50 -0
  7. package/dist/esm/components/ActualPayment/index.d.ts +16 -2
  8. package/dist/esm/components/ActualPayment/index.js +28 -35
  9. package/dist/esm/components/Address/index.d.ts +14 -0
  10. package/dist/esm/components/Address/index.js +15 -2
  11. package/dist/esm/components/Alipay/index.d.ts +30 -5
  12. package/dist/esm/components/Alipay/index.js +31 -6
  13. package/dist/esm/components/BS/BsDeposit/index.d.ts +60 -0
  14. package/dist/esm/components/BS/BsDeposit/index.js +165 -0
  15. package/dist/esm/components/BS/BsExchange/index.d.ts +39 -0
  16. package/dist/esm/components/BS/BsExchange/index.js +52 -1
  17. package/dist/esm/components/BS/BsGoods/index.d.ts +30 -0
  18. package/dist/esm/components/BS/BsGoods/index.js +31 -1
  19. package/dist/esm/components/BS/BsLogistics/index.d.ts +33 -0
  20. package/dist/esm/components/BS/BsLogistics/index.js +62 -52
  21. package/dist/esm/components/BS/BsPosting/index.d.ts +15 -0
  22. package/dist/esm/components/BS/BsPosting/index.js +16 -1
  23. package/dist/esm/components/BS/BsReissue/index.d.ts +46 -7
  24. package/dist/esm/components/BS/BsReissue/index.js +70 -19
  25. package/dist/esm/components/BS/BsReturn/index.d.ts +39 -0
  26. package/dist/esm/components/BS/BsReturn/index.js +44 -1
  27. package/dist/esm/components/BS/BsSendGood/index.d.ts +36 -0
  28. package/dist/esm/components/BS/BsSendGood/index.js +68 -0
  29. package/dist/esm/components/BS/BsSystemOrder/index.d.ts +18 -29
  30. package/dist/esm/components/BS/BsSystemOrder/index.js +37 -138
  31. package/dist/esm/components/BusinessOrderNo/index.d.ts +26 -0
  32. package/dist/esm/components/BusinessOrderNo/index.js +53 -0
  33. package/dist/esm/components/BuyerMessageNotice/index.d.ts +37 -0
  34. package/dist/esm/components/BuyerMessageNotice/index.js +66 -0
  35. package/dist/esm/components/BuyerNick/index.d.ts +20 -0
  36. package/dist/esm/components/BuyerNick/index.js +21 -2
  37. package/dist/esm/components/Calculation/index.d.ts +18 -0
  38. package/dist/esm/components/Calculation/index.js +21 -3
  39. package/dist/esm/components/Cascader/index.d.ts +20 -5
  40. package/dist/esm/components/Cascader/index.js +35 -21
  41. package/dist/esm/components/Checkbox/index.d.ts +26 -4
  42. package/dist/esm/components/Checkbox/index.js +62 -19
  43. package/dist/esm/components/CommonDataTime/CompletedDateTime.d.ts +7 -0
  44. package/dist/esm/components/CommonDataTime/CompletedDateTime.js +29 -0
  45. package/dist/esm/components/CommonDataTime/CreatedDateTime.d.ts +7 -0
  46. package/dist/esm/components/CommonDataTime/CreatedDateTime.js +29 -0
  47. package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.d.ts +7 -0
  48. package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.js +29 -0
  49. package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.d.ts +7 -0
  50. package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.js +29 -0
  51. package/dist/esm/components/CommonDataTime/UpdateDateTime.d.ts +7 -0
  52. package/dist/esm/components/CommonDataTime/UpdateDateTime.js +29 -0
  53. package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
  54. package/dist/esm/components/CommonDataTime/index.js +1 -0
  55. package/dist/esm/components/CommonInput/index.d.ts +5 -0
  56. package/dist/esm/components/CommonInput/index.js +32 -18
  57. package/dist/esm/components/CommonMultiStatus/ExchangeStatus.d.ts +30 -0
  58. package/dist/esm/components/CommonMultiStatus/ExchangeStatus.js +69 -0
  59. package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.d.ts +30 -0
  60. package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.js +69 -0
  61. package/dist/esm/components/CommonMultiStatus/WareHousingStatus.d.ts +34 -0
  62. package/dist/esm/components/CommonMultiStatus/WareHousingStatus.js +83 -0
  63. package/dist/esm/components/CommonMultiStatus/index.d.ts +19 -20
  64. package/dist/esm/components/CommonMultiStatus/index.js +99 -109
  65. package/dist/esm/components/CommonSystemOrder/DeliveryNoList.d.ts +21 -0
  66. package/dist/esm/components/CommonSystemOrder/DeliveryNoList.js +48 -0
  67. package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.d.ts +22 -0
  68. package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.js +49 -0
  69. package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.d.ts +32 -0
  70. package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.js +60 -0
  71. package/dist/esm/components/CommonSystemOrder/TradeItemList.d.ts +23 -0
  72. package/dist/esm/components/CommonSystemOrder/TradeItemList.js +50 -0
  73. package/dist/esm/components/CommonSystemOrder/index.d.ts +11 -4
  74. package/dist/esm/components/CommonSystemOrder/index.js +36 -66
  75. package/dist/esm/components/CompletedUser/index.d.ts +6 -4
  76. package/dist/esm/components/CompletedUser/index.js +9 -7
  77. package/dist/esm/components/DataTime/index.d.ts +20 -4
  78. package/dist/esm/components/DataTime/index.js +32 -16
  79. package/dist/esm/components/EItemEnCode/index.d.ts +36 -0
  80. package/dist/esm/components/EItemEnCode/index.js +38 -2
  81. package/dist/esm/components/EItemId/index.d.ts +21 -0
  82. package/dist/esm/components/EItemId/index.js +22 -1
  83. package/dist/esm/components/EItemSelect/index.d.ts +22 -1
  84. package/dist/esm/components/EItemSelect/index.js +23 -2
  85. package/dist/esm/components/File/index.d.ts +15 -0
  86. package/dist/esm/components/File/index.js +16 -1
  87. package/dist/esm/components/FlowCreator/index.d.ts +2 -0
  88. package/dist/esm/components/FlowCreator/index.js +2 -0
  89. package/dist/esm/components/FlowMarkSelect/index.d.ts +2 -0
  90. package/dist/esm/components/FlowMarkSelect/index.js +2 -0
  91. package/dist/esm/components/FlowStatusSelect/index.d.ts +2 -0
  92. package/dist/esm/components/FlowStatusSelect/index.js +3 -2
  93. package/dist/esm/components/FlowTag/index.d.ts +2 -0
  94. package/dist/esm/components/FlowTag/index.js +2 -0
  95. package/dist/esm/components/FlowWorkOrderId/index.d.ts +2 -0
  96. package/dist/esm/components/FlowWorkOrderId/index.js +3 -1
  97. package/dist/esm/components/FlowWorkOrderStatus/index.d.ts +6 -4
  98. package/dist/esm/components/FlowWorkOrderStatus/index.js +31 -29
  99. package/dist/esm/components/Grade/index.d.ts +25 -3
  100. package/dist/esm/components/Grade/index.js +29 -7
  101. package/dist/esm/components/Handler/index.d.ts +6 -4
  102. package/dist/esm/components/Handler/index.js +9 -7
  103. package/dist/esm/components/HandlerDeadLine/index.d.ts +2 -0
  104. package/dist/esm/components/HandlerDeadLine/index.js +3 -1
  105. package/dist/esm/components/Input/index.d.ts +53 -0
  106. package/dist/esm/components/Input/index.js +55 -1
  107. package/dist/esm/components/JST/JstItemSelect/index.d.ts +26 -0
  108. package/dist/esm/components/JST/JstItemSelect/index.js +27 -1
  109. package/dist/esm/components/JST/JstLogistics/index.d.ts +5 -30
  110. package/dist/esm/components/JST/JstLogistics/index.js +49 -53
  111. package/dist/esm/components/JST/JstSendGood/index.d.ts +29 -46
  112. package/dist/esm/components/JST/JstSendGood/index.js +52 -230
  113. package/dist/esm/components/JST/JstSupply/index.d.ts +27 -0
  114. package/dist/esm/components/JST/JstSupply/index.js +34 -1
  115. package/dist/esm/components/JST/ReissueLogistics/index.d.ts +76 -0
  116. package/dist/esm/components/JST/ReissueLogistics/index.js +147 -0
  117. package/dist/esm/components/Label/index.d.ts +25 -0
  118. package/dist/esm/components/Label/index.js +26 -0
  119. package/dist/esm/components/Logistics/index.d.ts +36 -0
  120. package/dist/esm/components/Logistics/index.js +40 -1
  121. package/dist/esm/components/LogisticsInterception/index.d.ts +15 -0
  122. package/dist/esm/components/LogisticsInterception/index.js +16 -1
  123. package/dist/esm/components/LogisticsMoreInterception/index.d.ts +44 -13
  124. package/dist/esm/components/LogisticsMoreInterception/index.js +46 -15
  125. package/dist/esm/components/LogisticsMoreTrajectory/index.d.ts +56 -3
  126. package/dist/esm/components/LogisticsMoreTrajectory/index.js +62 -9
  127. package/dist/esm/components/LogisticsTrajectory/index.d.ts +48 -11
  128. package/dist/esm/components/LogisticsTrajectory/index.js +45 -8
  129. package/dist/esm/components/MsgStatus/index.d.ts +31 -4
  130. package/dist/esm/components/MsgStatus/index.js +72 -36
  131. package/dist/esm/components/MultSelect/index.d.ts +16 -0
  132. package/dist/esm/components/MultSelect/index.js +17 -1
  133. package/dist/esm/components/NewPaymentStatus/index.d.ts +41 -0
  134. package/dist/esm/components/NewPaymentStatus/index.js +105 -0
  135. package/dist/esm/components/NodeDeadLine/index.d.ts +2 -0
  136. package/dist/esm/components/NodeDeadLine/index.js +3 -1
  137. package/dist/esm/components/NodeInput/index.d.ts +6 -4
  138. package/dist/esm/components/NodeInput/index.js +9 -7
  139. package/dist/esm/components/NodeStayDuration/index.d.ts +2 -0
  140. package/dist/esm/components/NodeStayDuration/index.js +3 -1
  141. package/dist/esm/components/Ordinary/index.d.ts +27 -6
  142. package/dist/esm/components/Ordinary/index.js +39 -8
  143. package/dist/esm/components/OutFlowWorkOrderId/index.d.ts +34 -0
  144. package/dist/esm/components/OutFlowWorkOrderId/index.js +101 -0
  145. package/dist/esm/components/Payment/index.d.ts +25 -0
  146. package/dist/esm/components/Payment/index.js +26 -1
  147. package/dist/esm/components/PaymentVoucherCode/index.d.ts +20 -0
  148. package/dist/esm/components/PaymentVoucherCode/index.js +22 -2
  149. package/dist/esm/components/Picture/index.d.ts +18 -3
  150. package/dist/esm/components/Picture/index.js +31 -16
  151. package/dist/esm/components/PlatForm/index.d.ts +2 -0
  152. package/dist/esm/components/PlatForm/index.js +2 -0
  153. package/dist/esm/components/PostIng/index.d.ts +32 -0
  154. package/dist/esm/components/PostIng/index.js +39 -1
  155. package/dist/esm/components/PrevSubmitter/index.d.ts +2 -0
  156. package/dist/esm/components/PrevSubmitter/index.js +2 -0
  157. package/dist/esm/components/Radio/index.d.ts +26 -0
  158. package/dist/esm/components/Radio/index.js +27 -1
  159. package/dist/esm/components/Rate/index.d.ts +22 -3
  160. package/dist/esm/components/Rate/index.js +49 -30
  161. package/dist/esm/components/ReceiverAddress/index.d.ts +15 -0
  162. package/dist/esm/components/ReceiverAddress/index.js +16 -1
  163. package/dist/esm/components/ReceiverMobile/index.d.ts +23 -3
  164. package/dist/esm/components/ReceiverMobile/index.js +29 -9
  165. package/dist/esm/components/ReceiverName/index.d.ts +18 -3
  166. package/dist/esm/components/ReceiverName/index.js +23 -8
  167. package/dist/esm/components/Remark/index.d.ts +49 -0
  168. package/dist/esm/components/Remark/index.js +59 -1
  169. package/dist/esm/components/ReturnLogistics/index.d.ts +37 -6
  170. package/dist/esm/components/ReturnLogistics/index.js +50 -16
  171. package/dist/esm/components/Select/index.d.ts +4 -1
  172. package/dist/esm/components/Select/index.js +32 -30
  173. package/dist/esm/components/SendGood/index.d.ts +54 -0
  174. package/dist/esm/components/SendGood/index.js +215 -0
  175. package/dist/esm/components/ShopInput/index.d.ts +7 -5
  176. package/dist/esm/components/ShopInput/index.js +10 -8
  177. package/dist/esm/components/ShopName/index.d.ts +15 -0
  178. package/dist/esm/components/ShopName/index.js +16 -1
  179. package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.d.ts +30 -0
  180. package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.js +68 -0
  181. package/dist/esm/components/StatusSelect/CreateStatus.d.ts +7 -0
  182. package/dist/esm/components/StatusSelect/CreateStatus.js +41 -0
  183. package/dist/esm/components/StatusSelect/InvoiceStatus.d.ts +30 -0
  184. package/dist/esm/components/StatusSelect/InvoiceStatus.js +65 -0
  185. package/dist/esm/components/StatusSelect/InvoicingStatus.d.ts +30 -0
  186. package/dist/esm/components/StatusSelect/InvoicingStatus.js +65 -0
  187. package/dist/esm/components/StatusSelect/ReissueStatus.d.ts +30 -0
  188. package/dist/esm/components/StatusSelect/ReissueStatus.js +65 -0
  189. package/dist/esm/components/StatusSelect/index.d.ts +15 -1
  190. package/dist/esm/components/StatusSelect/index.js +30 -93
  191. package/dist/esm/components/Submitter/index.d.ts +6 -4
  192. package/dist/esm/components/Submitter/index.js +9 -7
  193. package/dist/esm/components/SystemOrder/index.d.ts +39 -0
  194. package/dist/esm/components/SystemOrder/index.js +162 -0
  195. package/dist/esm/components/SystemOrderNo/index.d.ts +18 -3
  196. package/dist/esm/components/SystemOrderNo/index.js +24 -9
  197. package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
  198. package/dist/esm/components/TemplateSelect/index.js +3 -1
  199. package/dist/esm/components/TextArea/index.d.ts +15 -0
  200. package/dist/esm/components/TextArea/index.js +16 -1
  201. package/dist/esm/components/ThirdItemSelect/index.d.ts +29 -3
  202. package/dist/esm/components/ThirdItemSelect/index.js +37 -11
  203. package/dist/esm/components/TradeDateTime/BsSendTime.d.ts +23 -0
  204. package/dist/esm/components/TradeDateTime/BsSendTime.js +46 -0
  205. package/dist/esm/components/TradeDateTime/BsSigningTime.d.ts +23 -0
  206. package/dist/esm/components/TradeDateTime/BsSigningTime.js +46 -0
  207. package/dist/esm/components/TradeDateTime/BsTradePaymentTime.d.ts +23 -0
  208. package/dist/esm/components/TradeDateTime/BsTradePaymentTime.js +46 -0
  209. package/dist/esm/components/TradeDateTime/TradeClosingDateTime.d.ts +23 -0
  210. package/dist/esm/components/TradeDateTime/TradeClosingDateTime.js +46 -0
  211. package/dist/esm/components/TradeDateTime/TradeCreateDateTime.d.ts +23 -0
  212. package/dist/esm/components/TradeDateTime/TradeCreateDateTime.js +46 -0
  213. package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.d.ts +23 -0
  214. package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.js +46 -0
  215. package/dist/esm/components/TradeDateTime/TradePaymentDateTime.d.ts +23 -0
  216. package/dist/esm/components/TradeDateTime/TradePaymentDateTime.js +46 -0
  217. package/dist/esm/components/TradeDateTime/index.d.ts +3 -4
  218. package/dist/esm/components/TradeDateTime/index.js +14 -39
  219. package/dist/esm/components/TradeId/index.d.ts +25 -5
  220. package/dist/esm/components/TradeId/index.js +29 -9
  221. package/dist/esm/components/WDT/WdtGoods/index.d.ts +30 -0
  222. package/dist/esm/components/WDT/WdtGoods/index.js +37 -1
  223. package/dist/esm/components/WDT/WdtLogistics/index.d.ts +93 -0
  224. package/dist/esm/components/WDT/WdtLogistics/index.js +227 -0
  225. package/dist/esm/components/WDT/WdtRessuie/index.d.ts +39 -0
  226. package/dist/esm/components/WDT/WdtRessuie/index.js +44 -1
  227. package/dist/esm/components/WDT/WdtSendGood/index.d.ts +41 -0
  228. package/dist/esm/components/WDT/WdtSendGood/index.js +73 -0
  229. package/dist/esm/components/WDT/WdtSystemOrder/index.d.ts +21 -0
  230. package/dist/esm/components/WDT/WdtSystemOrder/index.js +48 -0
  231. package/dist/esm/components/WLN/WlnGoods/index.d.ts +30 -0
  232. package/dist/esm/components/WLN/WlnGoods/index.js +31 -1
  233. package/dist/esm/components/WLN/WlnLogistics/index.d.ts +88 -0
  234. package/dist/esm/components/WLN/WlnLogistics/index.js +222 -0
  235. package/dist/esm/components/WLN/WlnSendGood/index.d.ts +36 -0
  236. package/dist/esm/components/WLN/WlnSendGood/index.js +68 -0
  237. package/dist/esm/components/WLN/WlnSystemOrder/index.d.ts +21 -0
  238. package/dist/esm/components/WLN/WlnSystemOrder/index.js +48 -0
  239. package/dist/esm/components/WorkOrderId/index.d.ts +2 -0
  240. package/dist/esm/components/WorkOrderId/index.js +3 -1
  241. package/dist/esm/constant.d.ts +2 -0
  242. package/dist/esm/constant.js +3 -1
  243. package/dist/esm/factory.d.ts +2 -2
  244. package/dist/esm/factory.js +46 -20
  245. package/dist/esm/index.d.ts +39 -6
  246. package/dist/esm/index.js +39 -6
  247. package/package.json +6 -5
@@ -1,8 +1,8 @@
1
- import { ComponentInterface, PickOption, Record, ColumnConfig } from '../../type';
2
- import React from 'react';
3
- import OrdinaryHeader from './OrdinaryHeader';
4
- import OrdinaryMoney from './OrdinaryMoney';
5
- import OrdinarySerial from './OrdinarySerial';
1
+ import { ComponentInterface, PickOption, Record, ColumnConfig } from "../../type";
2
+ import React from "react";
3
+ import OrdinaryHeader from "./OrdinaryHeader";
4
+ import OrdinaryMoney from "./OrdinaryMoney";
5
+ import OrdinarySerial from "./OrdinarySerial";
6
6
  declare class Ordinary implements ComponentInterface {
7
7
  name: string;
8
8
  id: string;
@@ -18,7 +18,28 @@ declare class Ordinary implements ComponentInterface {
18
18
  formField: string;
19
19
  canSort: boolean;
20
20
  children: ComponentInterface[];
21
- dataType: ComponentInterface['dataType'];
21
+ dataType: ComponentInterface["dataType"];
22
+ static group: string;
23
+ static configSchema: {
24
+ componentConfig: {
25
+ extendList: {
26
+ enabled: boolean;
27
+ name: string;
28
+ type: string;
29
+ uniqueKey: string;
30
+ }[];
31
+ required: boolean;
32
+ };
33
+ name: string;
34
+ uniqueKey: string;
35
+ schema: {
36
+ required: {
37
+ title: string;
38
+ type: string;
39
+ };
40
+ };
41
+ };
42
+ static type: string;
22
43
  constructor(options: PickOption);
23
44
  editRender: (p: any) => React.JSX.Element;
24
45
  renderPc: () => null;
@@ -7,8 +7,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
7
7
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
8
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
9
9
  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); }
10
- import React from 'react';
11
- import { Invoice } from '@kmkf-fe-packages/basic-components';
10
+ import React from "react";
11
+ import { Invoice } from "@kmkf-fe-packages/basic-components";
12
12
  import GetFormItem from "../GetFormItem";
13
13
  import OrdinaryHeader from "./OrdinaryHeader";
14
14
  import OrdinaryMoney from "./OrdinaryMoney";
@@ -70,7 +70,7 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
70
70
  this.id = options.id;
71
71
  this.formField = options.id;
72
72
  this.sortField = options.id;
73
- this.type = options.type;
73
+ this.type = "ORDINARY_INVOICE";
74
74
  this.showContains = false;
75
75
  this.componentConfig = options.componentConfig;
76
76
  this.ordinaryMoney = new OrdinaryMoney(options);
@@ -78,23 +78,54 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
78
78
  this.ordinarySerial = new OrdinarySerial(options);
79
79
  this.isCombinationComponent = true;
80
80
  this.canSort = false;
81
- this.dataType = 'object';
81
+ this.dataType = "object";
82
82
  this.children = [this.ordinaryHeader, this.ordinaryMoney, this.ordinarySerial];
83
83
  this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
84
84
  validator: function validator(_, value) {
85
85
  if (!(value !== null && value !== void 0 && value.ordinaryMoney)) {
86
- return Promise.reject(new Error('请输入开票金额'));
86
+ return Promise.reject(new Error("请输入开票金额"));
87
87
  } else if (!/^(\d+)(\.\d{0,2})?$/.test(value === null || value === void 0 ? void 0 : value.ordinaryMoney)) {
88
- return Promise.reject(new Error('开票金额最多支持俩位小数'));
88
+ return Promise.reject(new Error("开票金额最多支持俩位小数"));
89
89
  }
90
90
  if (!(value !== null && value !== void 0 && value.ordinaryTaitou)) {
91
- return Promise.reject(new Error('请输入发票抬头'));
91
+ return Promise.reject(new Error("请输入发票抬头"));
92
92
  }
93
93
  if (!(value !== null && value !== void 0 && value.ordinarySerial)) {
94
- return Promise.reject(new Error('请输入纳税人识别号'));
94
+ return Promise.reject(new Error("请输入纳税人识别号"));
95
95
  }
96
96
  return Promise.resolve();
97
97
  }
98
98
  }] : [];
99
99
  });
100
+ _defineProperty(Ordinary, "group", "SPECIAL_COMPONENT");
101
+ _defineProperty(Ordinary, "configSchema", {
102
+ componentConfig: {
103
+ extendList: [{
104
+ enabled: true,
105
+ name: "开票金额",
106
+ type: "input",
107
+ uniqueKey: "ordinaryMoney"
108
+ }, {
109
+ enabled: true,
110
+ name: "发票抬头",
111
+ type: "input",
112
+ uniqueKey: "ordinaryTaitou"
113
+ }, {
114
+ enabled: true,
115
+ name: "纳税人识别号",
116
+ type: "input",
117
+ uniqueKey: "ordinarySerial"
118
+ }],
119
+ required: true
120
+ },
121
+ name: "普通发票",
122
+ uniqueKey: "cecEo5zEyd",
123
+ schema: {
124
+ required: {
125
+ title: "必填",
126
+ type: "boolean"
127
+ }
128
+ }
129
+ });
130
+ _defineProperty(Ordinary, "type", "ORDINARY_INVOICE");
100
131
  export default Ordinary;
@@ -0,0 +1,34 @@
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
2
+ import React from "react";
3
+ declare class OutFlowWorkOrderId implements ComponentInterface {
4
+ name: string;
5
+ id: string;
6
+ sortField: string;
7
+ type: string;
8
+ rules: any[];
9
+ componentConfig: ComponentInterface["componentConfig"];
10
+ effects: ComponentInterface["effects"];
11
+ isCombinationComponent: boolean;
12
+ formField: string;
13
+ canSort: boolean;
14
+ children: ComponentInterface[];
15
+ dataType: ComponentInterface["dataType"];
16
+ static group: string;
17
+ static type: string;
18
+ constructor(options: PickOption);
19
+ renderPc: (value: any, record: any) => React.JSX.Element;
20
+ renderLog: (r: Record) => React.JSX.Element | null;
21
+ getComponentValue: (r: Record) => any;
22
+ renderExport: (value: any, record: any) => any;
23
+ renderClient: () => null;
24
+ editRender: (p: any) => React.JSX.Element;
25
+ filterConfig: (item: ColumnConfig) => {
26
+ searchDefaultConditions: "like";
27
+ type: string;
28
+ id: string;
29
+ name: string;
30
+ filterComponentType: "Input";
31
+ filterFn: (value: string) => (i: Record) => boolean;
32
+ };
33
+ }
34
+ export default OutFlowWorkOrderId;
@@ -0,0 +1,101 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
5
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
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
+ import React from "react";
10
+ import { ApaasInput } from "@kmkf-fe-packages/basic-components";
11
+ import { filterFn as _filterFn, isNull } from "@kmkf-fe-packages/kmkf-utils";
12
+ import GetFormItem from "../GetFormItem";
13
+ import { SYMBOL } from "../../constant";
14
+ import CopyText from "../../commonComponents/CopyText";
15
+ var OutFlowWorkOrderId = /*#__PURE__*/_createClass(function OutFlowWorkOrderId(options) {
16
+ var _this = this;
17
+ _classCallCheck(this, OutFlowWorkOrderId);
18
+ _defineProperty(this, "name", void 0);
19
+ _defineProperty(this, "id", void 0);
20
+ _defineProperty(this, "sortField", void 0);
21
+ _defineProperty(this, "type", void 0);
22
+ _defineProperty(this, "rules", void 0);
23
+ _defineProperty(this, "componentConfig", void 0);
24
+ _defineProperty(this, "effects", void 0);
25
+ _defineProperty(this, "isCombinationComponent", void 0);
26
+ _defineProperty(this, "formField", void 0);
27
+ _defineProperty(this, "canSort", void 0);
28
+ _defineProperty(this, "children", void 0);
29
+ _defineProperty(this, "dataType", void 0);
30
+ _defineProperty(this, "renderPc", function (value, record) {
31
+ if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
32
+ return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
33
+ }
34
+ return /*#__PURE__*/React.createElement("span", {
35
+ onClick: function onClick(e) {
36
+ return e.stopPropagation();
37
+ }
38
+ }, /*#__PURE__*/React.createElement(CopyText, {
39
+ text: record === null || record === void 0 ? void 0 : record["".concat(_this.id)]
40
+ }));
41
+ });
42
+ _defineProperty(this, "renderLog", function (r) {
43
+ if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
44
+ return _this.renderPc(undefined, r);
45
+ });
46
+ _defineProperty(this, "getComponentValue", function (r) {
47
+ return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
48
+ });
49
+ _defineProperty(this, "renderExport", function (value, record) {
50
+ var _record;
51
+ return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : "--";
52
+ });
53
+ _defineProperty(this, "renderClient", function () {
54
+ return null;
55
+ });
56
+ _defineProperty(this, "editRender", function (p) {
57
+ var _this$componentConfig, _this$componentConfig2;
58
+ return /*#__PURE__*/React.createElement(GetFormItem, {
59
+ title: _this.name,
60
+ name: _this.id,
61
+ rules: _this.rules,
62
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
63
+ display: p === null || p === void 0 ? void 0 : p.display,
64
+ 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,
65
+ component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
66
+ placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
67
+ }))
68
+ });
69
+ });
70
+ _defineProperty(this, "filterConfig", function (item) {
71
+ return {
72
+ searchDefaultConditions: SYMBOL.like,
73
+ type: item.type,
74
+ id: item.id,
75
+ // 过滤组件id
76
+ name: item.name,
77
+ // 过滤组件名称
78
+ filterComponentType: "Input",
79
+ filterFn: function filterFn(value) {
80
+ return function (i) {
81
+ return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, "")).includes(value);
82
+ };
83
+ }
84
+ };
85
+ });
86
+ this.name = options.name;
87
+ this.id = options.id;
88
+ this.sortField = options.id;
89
+ this.formField = options.id;
90
+ this.type = "OUTER_WORK_ORDER_ID_INPUT";
91
+ this.componentConfig = options.componentConfig;
92
+ this.effects = options.effects;
93
+ this.dataType = "string";
94
+ this.rules = [];
95
+ this.isCombinationComponent = false;
96
+ this.canSort = true;
97
+ this.children = [];
98
+ });
99
+ _defineProperty(OutFlowWorkOrderId, "group", "BASIC_FIELD");
100
+ _defineProperty(OutFlowWorkOrderId, "type", "OUTER_WORK_ORDER_ID_INPUT");
101
+ export default OutFlowWorkOrderId;
@@ -27,6 +27,31 @@ declare class Logistics implements ComponentInterface {
27
27
  children: ComponentInterface[];
28
28
  dataType: ComponentInterface["dataType"];
29
29
  effects: ComponentInterface["effects"];
30
+ static group: string;
31
+ static configSchema: {
32
+ componentConfig: {
33
+ zhiFubaoRequired: boolean;
34
+ required: boolean;
35
+ replaceWarn: boolean;
36
+ };
37
+ name: string;
38
+ uniqueKey: string;
39
+ schema: {
40
+ required: {
41
+ title: string;
42
+ type: string;
43
+ };
44
+ replaceWarn: {
45
+ title: string;
46
+ type: string;
47
+ };
48
+ zhiFubaoRequired: {
49
+ title: string;
50
+ type: string;
51
+ };
52
+ };
53
+ };
54
+ static type: string;
30
55
  constructor(options: PickOption);
31
56
  renderClient: (record: any, params: any) => React.JSX.Element;
32
57
  renderPc: () => null;
@@ -86,7 +86,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
86
86
  this.id = options.id;
87
87
  this.sortField = options.id;
88
88
  this.formField = options.id;
89
- this.type = options.type;
89
+ this.type = "ENTERPRISE_PAYMENT";
90
90
  this.componentConfig = options.componentConfig;
91
91
  this.paymentTid = new PaymentTid(options);
92
92
  this.paymentStatus = new PaymentStatus(options);
@@ -131,4 +131,29 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
131
131
  }];
132
132
  this.dataType = "object";
133
133
  });
134
+ _defineProperty(Logistics, "group", "SPECIAL_COMPONENT");
135
+ _defineProperty(Logistics, "configSchema", {
136
+ componentConfig: {
137
+ zhiFubaoRequired: false,
138
+ required: true,
139
+ replaceWarn: false
140
+ },
141
+ name: "打款组件",
142
+ uniqueKey: "GvBsA7xEyd",
143
+ schema: {
144
+ required: {
145
+ title: "必填",
146
+ type: "boolean"
147
+ },
148
+ replaceWarn: {
149
+ title: "重复提醒",
150
+ type: "boolean"
151
+ },
152
+ zhiFubaoRequired: {
153
+ title: "支付宝信息",
154
+ type: "boolean"
155
+ }
156
+ }
157
+ });
158
+ _defineProperty(Logistics, "type", "ENTERPRISE_PAYMENT");
134
159
  export default Logistics;
@@ -15,6 +15,26 @@ declare class PaymentVoucherCode implements ComponentInterface {
15
15
  templateId?: string;
16
16
  workOrderUniqueKey?: string;
17
17
  effects: ComponentInterface["effects"];
18
+ static group: string;
19
+ static configSchema: {
20
+ componentConfig: {};
21
+ name: string;
22
+ uniqueKey: string;
23
+ schema: {
24
+ status: {
25
+ widget: string;
26
+ type: string;
27
+ default: {
28
+ created: number;
29
+ upgrade: number;
30
+ };
31
+ props: {
32
+ showOptionsKey: number[];
33
+ };
34
+ };
35
+ };
36
+ };
37
+ static type: string;
18
38
  constructor(options: PickOption);
19
39
  renderPc: (value: any, record: Record) => React.JSX.Element | "--";
20
40
  renderLog: (r: Record) => React.JSX.Element | "--" | null;
@@ -11,7 +11,7 @@ import { ApaasInput } from "@kmkf-fe-packages/basic-components";
11
11
  import GetFormItem from "../GetFormItem";
12
12
  import ItemView from "../../commonComponents/ItemView";
13
13
  import { isNull } from "@kmkf-fe-packages/kmkf-utils";
14
- import { SYMBOL } from "../../constant";
14
+ import { SYMBOL, SHOW_NOT_WRITE } from "../../constant";
15
15
  import { AlipayBill } from "../Common/index";
16
16
  var PaymentVoucherCode = /*#__PURE__*/_createClass(function PaymentVoucherCode(options) {
17
17
  var _this = this;
@@ -94,7 +94,7 @@ var PaymentVoucherCode = /*#__PURE__*/_createClass(function PaymentVoucherCode(o
94
94
  this.id = options.id;
95
95
  this.sortField = "".concat(options.id, "_paymentVoucherCode");
96
96
  this.formField = "".concat(options.id, "_paymentVoucherCode");
97
- this.type = options.type;
97
+ this.type = "PAYMENT_VOUCHER_CODE";
98
98
  this.templateId = options.templateId;
99
99
  this.componentConfig = options.componentConfig;
100
100
  this.workOrderUniqueKey = options === null || options === void 0 ? void 0 : options.workOrderUniqueKey;
@@ -105,4 +105,24 @@ var PaymentVoucherCode = /*#__PURE__*/_createClass(function PaymentVoucherCode(o
105
105
  this.dataType = "string";
106
106
  this.effects = options.effects;
107
107
  });
108
+ _defineProperty(PaymentVoucherCode, "group", "SPECIAL_COMPONENT");
109
+ _defineProperty(PaymentVoucherCode, "configSchema", {
110
+ componentConfig: {},
111
+ name: "支付凭证编码",
112
+ uniqueKey: "ug8YGz9QiT",
113
+ schema: {
114
+ status: {
115
+ widget: "StatusConfig",
116
+ type: "object",
117
+ default: {
118
+ created: SHOW_NOT_WRITE,
119
+ upgrade: SHOW_NOT_WRITE
120
+ },
121
+ props: {
122
+ showOptionsKey: [2, 0]
123
+ }
124
+ }
125
+ }
126
+ });
127
+ _defineProperty(PaymentVoucherCode, "type", "PAYMENT_VOUCHER_CODE");
108
128
  export default PaymentVoucherCode;
@@ -1,5 +1,5 @@
1
- import { ComponentInterface, PickOption, Record } from '../../type';
2
- import React from 'react';
1
+ import { ComponentInterface, PickOption, Record } from "../../type";
2
+ import React from "react";
3
3
  declare type Value = string[] | undefined;
4
4
  declare class BasicPicture implements ComponentInterface {
5
5
  name: string;
@@ -12,7 +12,22 @@ declare class BasicPicture implements ComponentInterface {
12
12
  formField: string;
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
- dataType: ComponentInterface['dataType'];
15
+ dataType: ComponentInterface["dataType"];
16
+ static group: string;
17
+ static configSchema: {
18
+ componentConfig: {
19
+ maxLength: number;
20
+ required: boolean;
21
+ };
22
+ name: string;
23
+ schema: {
24
+ required: {
25
+ title: string;
26
+ type: string;
27
+ };
28
+ };
29
+ };
30
+ static type: string;
16
31
  constructor(options: PickOption);
17
32
  formatPictures: (pictures: string) => string[];
18
33
  render: (value: Value) => React.JSX.Element | null;
@@ -6,13 +6,13 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
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
- import React from 'react';
10
- import { Image } from 'antd';
11
- import { ApaasUploadAsync, ApaasUpload } from '@kmkf-fe-packages/basic-components';
12
- import { imgResize } from '@kmkf-fe-packages/kmkf-utils';
9
+ import React from "react";
10
+ import { Image } from "antd";
11
+ import { ApaasUploadAsync, ApaasUpload } from "@kmkf-fe-packages/basic-components";
12
+ import { imgResize } from "@kmkf-fe-packages/kmkf-utils";
13
13
  import GetFormItem from "../GetFormItem";
14
14
  import ItemView from "../../commonComponents/ItemView";
15
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
15
+ import { isNull } from "@kmkf-fe-packages/kmkf-utils";
16
16
  var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
17
17
  var _this = this;
18
18
  _classCallCheck(this, BasicPicture);
@@ -28,9 +28,9 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
28
28
  _defineProperty(this, "children", void 0);
29
29
  _defineProperty(this, "dataType", void 0);
30
30
  _defineProperty(this, "formatPictures", function (pictures) {
31
- pictures = pictures.replace(/[\[\]]/g, '');
32
- pictures = pictures.replace(/\s/g, '');
33
- return pictures ? pictures.split(',') : [];
31
+ pictures = pictures.replace(/[\[\]]/g, "");
32
+ pictures = pictures.replace(/\s/g, "");
33
+ return pictures ? pictures.split(",") : [];
34
34
  });
35
35
  _defineProperty(this, "render", function (value) {
36
36
  if (!(value !== null && value !== void 0 && value.length)) {
@@ -39,14 +39,14 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
39
39
  return /*#__PURE__*/React.createElement("div", null, value === null || value === void 0 ? void 0 : value.map(function (pic) {
40
40
  return /*#__PURE__*/React.createElement("div", {
41
41
  style: {
42
- marginRight: '5px',
43
- display: 'inline-block'
42
+ marginRight: "5px",
43
+ display: "inline-block"
44
44
  }
45
45
  }, /*#__PURE__*/React.createElement(Image, {
46
46
  width: 32,
47
- src: imgResize(pic || ''),
47
+ src: imgResize(pic || ""),
48
48
  preview: {
49
- src: imgResize(pic || '', 0, 0)
49
+ src: imgResize(pic || "", 0, 0)
50
50
  }
51
51
  }));
52
52
  }));
@@ -61,8 +61,8 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
61
61
  return finalPictures === null || finalPictures === void 0 ? void 0 : finalPictures.map(function (pic) {
62
62
  return /*#__PURE__*/React.createElement("div", {
63
63
  style: {
64
- marginRight: '5px',
65
- display: 'inline-block'
64
+ marginRight: "5px",
65
+ display: "inline-block"
66
66
  },
67
67
  onClick: function onClick(e) {
68
68
  return e.stopPropagation();
@@ -115,12 +115,27 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
115
115
  this.id = options.id;
116
116
  this.sortField = "".concat(options.id, "_picture");
117
117
  this.formField = "".concat(options.id, "_picture");
118
- this.type = options.type;
118
+ this.type = "PICTURE";
119
119
  this.componentConfig = options.componentConfig;
120
120
  this.rules = [];
121
121
  this.isCombinationComponent = false;
122
122
  this.canSort = true;
123
123
  this.children = [];
124
- this.dataType = 'string';
124
+ this.dataType = "string";
125
125
  });
126
+ _defineProperty(BasicPicture, "group", "BASIC_COMPONENT");
127
+ _defineProperty(BasicPicture, "configSchema", {
128
+ componentConfig: {
129
+ maxLength: 10,
130
+ required: false
131
+ },
132
+ name: "图片",
133
+ schema: {
134
+ required: {
135
+ title: "必填",
136
+ type: "boolean"
137
+ }
138
+ }
139
+ });
140
+ _defineProperty(BasicPicture, "type", "PICTURE");
126
141
  export default BasicPicture;
@@ -14,6 +14,8 @@ declare class PlatForm implements ComponentInterface {
14
14
  platInstance: InstanceType<typeof PlatData>;
15
15
  dataType: ComponentInterface['dataType'];
16
16
  options: ComponentInterface['options'];
17
+ static group: string;
18
+ static type: string;
17
19
  constructor(options: PickOption);
18
20
  renderPc: (value: any, record: Record) => React.JSX.Element;
19
21
  renderExport: (value: any, record: Record) => string;
@@ -76,4 +76,6 @@ var PlatForm = /*#__PURE__*/_createClass(function PlatForm(options) {
76
76
  this.dataType = 'string';
77
77
  this.options = this.platInstance.getPlatSelectList();
78
78
  });
79
+ _defineProperty(PlatForm, "group", 'BASIC_FIELD');
80
+ _defineProperty(PlatForm, "type", "PLATFORM_INPUT");
79
81
  export default PlatForm;
@@ -27,6 +27,38 @@ declare class BasicPosting implements ComponentInterface {
27
27
  receiverName: ReceiverName;
28
28
  receiverMobile: ReceiverMobile;
29
29
  isSplitColumns: boolean;
30
+ static group: string;
31
+ static configSchema: {
32
+ componentConfig: {
33
+ required: boolean;
34
+ showField: string;
35
+ };
36
+ name: string;
37
+ schema: {
38
+ required: {
39
+ title: string;
40
+ type: string;
41
+ };
42
+ showField: {
43
+ type: string;
44
+ widget: string;
45
+ props: {
46
+ style: {
47
+ width: number;
48
+ };
49
+ options: {
50
+ label: string;
51
+ value: string;
52
+ }[];
53
+ };
54
+ };
55
+ splitColumns: {
56
+ title: string;
57
+ type: string;
58
+ };
59
+ };
60
+ };
61
+ static type: string;
30
62
  constructor(options: PickOption);
31
63
  renderPc: (value: any, record: Record) => React.JSX.Element | null;
32
64
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -182,7 +182,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
182
182
  this.sortField = "".concat(options.id);
183
183
  this.formField = "".concat(options.id);
184
184
  this.isSplitColumns = !!((_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.splitColumns);
185
- this.type = options.type;
185
+ this.type = "POSTING";
186
186
  this.componentConfig = options.componentConfig;
187
187
  this.isCombinationComponent = this.isSplitColumns;
188
188
  this.canSort = false;
@@ -234,4 +234,42 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
234
234
  }
235
235
  }] : [];
236
236
  });
237
+ _defineProperty(BasicPosting, "group", "BASIC_COMPONENT");
238
+ _defineProperty(BasicPosting, "configSchema", {
239
+ componentConfig: {
240
+ required: false,
241
+ showField: "workOrder"
242
+ },
243
+ name: "收寄信息",
244
+ schema: {
245
+ required: {
246
+ title: "必填",
247
+ type: "boolean"
248
+ },
249
+ showField: {
250
+ type: "string",
251
+ widget: "select",
252
+ props: {
253
+ style: {
254
+ width: 100
255
+ },
256
+ options: [{
257
+ label: "系统地址",
258
+ value: "workOrder"
259
+ }, {
260
+ label: "百胜地址",
261
+ value: "bs"
262
+ }, {
263
+ label: "旺店通地址",
264
+ value: "wdt"
265
+ }]
266
+ }
267
+ },
268
+ splitColumns: {
269
+ title: "按省市区拆分展示数据",
270
+ type: "boolean"
271
+ }
272
+ }
273
+ });
274
+ _defineProperty(BasicPosting, "type", "POSTING");
237
275
  export default BasicPosting;
@@ -13,6 +13,8 @@ declare class PrevSubmitter implements ComponentInterface {
13
13
  children: ComponentInterface[];
14
14
  dataType: ComponentInterface["dataType"];
15
15
  options: ComponentInterface["options"];
16
+ static group: string;
17
+ static type: string;
16
18
  constructor(options: PickOption);
17
19
  renderPc: (value: unknown, record: Record) => React.JSX.Element;
18
20
  renderLog: () => null;
@@ -84,4 +84,6 @@ var PrevSubmitter = /*#__PURE__*/_createClass(function PrevSubmitter(options) {
84
84
  this.dataType = "string";
85
85
  this.options = ((_this$effects3 = this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.userList) || [];
86
86
  });
87
+ _defineProperty(PrevSubmitter, "group", "BASIC_FIELD");
88
+ _defineProperty(PrevSubmitter, "type", "PREV_SUBMITTER_INPUT");
87
89
  export default PrevSubmitter;