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

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 (256) hide show
  1. package/README.md +1 -0
  2. package/dist/esm/components/ActualPayment/index.d.ts +2 -16
  3. package/dist/esm/components/ActualPayment/index.js +35 -28
  4. package/dist/esm/components/Address/index.d.ts +0 -14
  5. package/dist/esm/components/Address/index.js +2 -15
  6. package/dist/esm/components/Alipay/index.d.ts +5 -30
  7. package/dist/esm/components/Alipay/index.js +6 -31
  8. package/dist/esm/components/BS/BsExchange/index.d.ts +0 -39
  9. package/dist/esm/components/BS/BsExchange/index.js +1 -52
  10. package/dist/esm/components/BS/BsGoods/index.d.ts +0 -30
  11. package/dist/esm/components/BS/BsGoods/index.js +1 -31
  12. package/dist/esm/components/BS/BsLogistics/index.d.ts +0 -33
  13. package/dist/esm/components/BS/BsLogistics/index.js +52 -62
  14. package/dist/esm/components/BS/BsPosting/index.d.ts +0 -15
  15. package/dist/esm/components/BS/BsPosting/index.js +1 -16
  16. package/dist/esm/components/BS/BsReissue/index.d.ts +7 -46
  17. package/dist/esm/components/BS/BsReissue/index.js +19 -70
  18. package/dist/esm/components/BS/BsReturn/index.d.ts +0 -39
  19. package/dist/esm/components/BS/BsReturn/index.js +1 -44
  20. package/dist/esm/components/BS/BsSystemOrder/index.d.ts +29 -18
  21. package/dist/esm/components/BS/BsSystemOrder/index.js +138 -37
  22. package/dist/esm/components/BS/common/BsMemo.js +2 -1
  23. package/dist/esm/components/BS/common/BsType.js +2 -1
  24. package/dist/esm/components/BuyerNick/index.d.ts +0 -20
  25. package/dist/esm/components/BuyerNick/index.js +2 -21
  26. package/dist/esm/components/Calculation/index.d.ts +0 -18
  27. package/dist/esm/components/Calculation/index.js +3 -21
  28. package/dist/esm/components/Cascader/index.d.ts +5 -20
  29. package/dist/esm/components/Cascader/index.js +21 -35
  30. package/dist/esm/components/Checkbox/index.d.ts +4 -26
  31. package/dist/esm/components/Checkbox/index.js +19 -62
  32. package/dist/esm/components/Common/index.d.ts +1 -1
  33. package/dist/esm/components/Common/index.js +185 -4
  34. package/dist/esm/components/CommonDataTime/index.d.ts +0 -1
  35. package/dist/esm/components/CommonDataTime/index.js +0 -1
  36. package/dist/esm/components/CommonHeaderGood/index.js +182 -0
  37. package/dist/esm/components/CommonInput/index.d.ts +0 -5
  38. package/dist/esm/components/CommonInput/index.js +18 -32
  39. package/dist/esm/components/CommonMultiStatus/index.d.ts +20 -19
  40. package/dist/esm/components/CommonMultiStatus/index.js +118 -102
  41. package/dist/esm/components/CommonSystemOrder/index.d.ts +4 -11
  42. package/dist/esm/components/CommonSystemOrder/index.js +71 -39
  43. package/dist/esm/components/CompletedUser/index.d.ts +4 -6
  44. package/dist/esm/components/CompletedUser/index.js +7 -9
  45. package/dist/esm/components/DataTime/index.d.ts +4 -20
  46. package/dist/esm/components/DataTime/index.js +16 -32
  47. package/dist/esm/components/EItemEnCode/index.d.ts +0 -36
  48. package/dist/esm/components/EItemEnCode/index.js +2 -38
  49. package/dist/esm/components/EItemId/index.d.ts +0 -21
  50. package/dist/esm/components/EItemId/index.js +1 -22
  51. package/dist/esm/components/EItemSelect/index.d.ts +1 -22
  52. package/dist/esm/components/EItemSelect/index.js +2 -23
  53. package/dist/esm/components/File/index.d.ts +0 -15
  54. package/dist/esm/components/File/index.js +1 -16
  55. package/dist/esm/components/FlowCreator/index.d.ts +0 -2
  56. package/dist/esm/components/FlowCreator/index.js +0 -2
  57. package/dist/esm/components/FlowMarkSelect/index.d.ts +0 -2
  58. package/dist/esm/components/FlowMarkSelect/index.js +0 -2
  59. package/dist/esm/components/FlowStatusSelect/index.d.ts +0 -2
  60. package/dist/esm/components/FlowStatusSelect/index.js +2 -3
  61. package/dist/esm/components/FlowTag/index.d.ts +0 -2
  62. package/dist/esm/components/FlowTag/index.js +0 -2
  63. package/dist/esm/components/FlowWorkOrderId/index.d.ts +0 -2
  64. package/dist/esm/components/FlowWorkOrderId/index.js +1 -3
  65. package/dist/esm/components/FlowWorkOrderStatus/index.d.ts +4 -6
  66. package/dist/esm/components/FlowWorkOrderStatus/index.js +29 -31
  67. package/dist/esm/components/Grade/index.d.ts +3 -25
  68. package/dist/esm/components/Grade/index.js +7 -29
  69. package/dist/esm/components/Handler/index.d.ts +4 -6
  70. package/dist/esm/components/Handler/index.js +7 -9
  71. package/dist/esm/components/HandlerDeadLine/index.d.ts +0 -2
  72. package/dist/esm/components/HandlerDeadLine/index.js +1 -3
  73. package/dist/esm/components/Input/index.d.ts +0 -53
  74. package/dist/esm/components/Input/index.js +1 -55
  75. package/dist/esm/components/JST/JstItemSelect/index.d.ts +0 -26
  76. package/dist/esm/components/JST/JstItemSelect/index.js +1 -27
  77. package/dist/esm/components/JST/JstLogistics/index.d.ts +30 -5
  78. package/dist/esm/components/JST/JstLogistics/index.js +53 -49
  79. package/dist/esm/components/JST/JstSendGood/index.d.ts +46 -29
  80. package/dist/esm/components/JST/JstSendGood/index.js +230 -52
  81. package/dist/esm/components/JST/JstSupply/index.d.ts +0 -27
  82. package/dist/esm/components/JST/JstSupply/index.js +1 -34
  83. package/dist/esm/components/Label/index.d.ts +0 -25
  84. package/dist/esm/components/Label/index.js +0 -26
  85. package/dist/esm/components/Logistics/index.d.ts +0 -36
  86. package/dist/esm/components/Logistics/index.js +1 -40
  87. package/dist/esm/components/LogisticsInterception/index.d.ts +0 -15
  88. package/dist/esm/components/LogisticsInterception/index.js +1 -16
  89. package/dist/esm/components/LogisticsMoreInterception/index.d.ts +13 -44
  90. package/dist/esm/components/LogisticsMoreInterception/index.js +15 -46
  91. package/dist/esm/components/LogisticsMoreTrajectory/index.d.ts +3 -56
  92. package/dist/esm/components/LogisticsMoreTrajectory/index.js +9 -62
  93. package/dist/esm/components/LogisticsTrajectory/index.d.ts +11 -48
  94. package/dist/esm/components/LogisticsTrajectory/index.js +8 -45
  95. package/dist/esm/components/MsgStatus/index.d.ts +4 -31
  96. package/dist/esm/components/MsgStatus/index.js +36 -72
  97. package/dist/esm/components/MultSelect/index.d.ts +0 -16
  98. package/dist/esm/components/MultSelect/index.js +1 -17
  99. package/dist/esm/components/NodeDeadLine/index.d.ts +0 -2
  100. package/dist/esm/components/NodeDeadLine/index.js +1 -3
  101. package/dist/esm/components/NodeInput/index.d.ts +4 -6
  102. package/dist/esm/components/NodeInput/index.js +7 -9
  103. package/dist/esm/components/NodeStayDuration/index.d.ts +0 -2
  104. package/dist/esm/components/NodeStayDuration/index.js +1 -3
  105. package/dist/esm/components/Ordinary/index.d.ts +6 -27
  106. package/dist/esm/components/Ordinary/index.js +8 -39
  107. package/dist/esm/components/Payment/index.d.ts +0 -25
  108. package/dist/esm/components/Payment/index.js +1 -26
  109. package/dist/esm/components/PaymentVoucherCode/index.d.ts +0 -20
  110. package/dist/esm/components/PaymentVoucherCode/index.js +2 -22
  111. package/dist/esm/components/Picture/index.d.ts +3 -18
  112. package/dist/esm/components/Picture/index.js +16 -31
  113. package/dist/esm/components/PlatForm/index.d.ts +0 -2
  114. package/dist/esm/components/PlatForm/index.js +0 -2
  115. package/dist/esm/components/PostIng/index.d.ts +0 -32
  116. package/dist/esm/components/PostIng/index.js +1 -39
  117. package/dist/esm/components/PrevSubmitter/index.d.ts +0 -2
  118. package/dist/esm/components/PrevSubmitter/index.js +0 -2
  119. package/dist/esm/components/Radio/index.d.ts +0 -26
  120. package/dist/esm/components/Radio/index.js +1 -27
  121. package/dist/esm/components/Rate/index.d.ts +3 -22
  122. package/dist/esm/components/Rate/index.js +30 -49
  123. package/dist/esm/components/ReceiverAddress/index.d.ts +0 -15
  124. package/dist/esm/components/ReceiverAddress/index.js +1 -16
  125. package/dist/esm/components/ReceiverMobile/index.d.ts +3 -23
  126. package/dist/esm/components/ReceiverMobile/index.js +9 -29
  127. package/dist/esm/components/ReceiverName/index.d.ts +3 -18
  128. package/dist/esm/components/ReceiverName/index.js +8 -23
  129. package/dist/esm/components/Remark/index.d.ts +0 -49
  130. package/dist/esm/components/Remark/index.js +1 -59
  131. package/dist/esm/components/ReturnLogistics/index.d.ts +6 -37
  132. package/dist/esm/components/ReturnLogistics/index.js +16 -50
  133. package/dist/esm/components/Select/index.d.ts +1 -4
  134. package/dist/esm/components/Select/index.js +30 -32
  135. package/dist/esm/components/ShopInput/index.d.ts +5 -7
  136. package/dist/esm/components/ShopInput/index.js +8 -10
  137. package/dist/esm/components/ShopName/index.d.ts +0 -15
  138. package/dist/esm/components/ShopName/index.js +1 -16
  139. package/dist/esm/components/StatusSelect/index.d.ts +1 -15
  140. package/dist/esm/components/StatusSelect/index.js +96 -30
  141. package/dist/esm/components/Submitter/index.d.ts +4 -6
  142. package/dist/esm/components/Submitter/index.js +7 -9
  143. package/dist/esm/components/SystemOrderNo/index.d.ts +3 -18
  144. package/dist/esm/components/SystemOrderNo/index.js +9 -24
  145. package/dist/esm/components/TemplateSelect/index.d.ts +0 -2
  146. package/dist/esm/components/TemplateSelect/index.js +1 -3
  147. package/dist/esm/components/TextArea/index.d.ts +0 -15
  148. package/dist/esm/components/TextArea/index.js +1 -16
  149. package/dist/esm/components/ThirdItemSelect/index.d.ts +3 -29
  150. package/dist/esm/components/ThirdItemSelect/index.js +11 -37
  151. package/dist/esm/components/TradeDateTime/index.d.ts +4 -3
  152. package/dist/esm/components/TradeDateTime/index.js +39 -14
  153. package/dist/esm/components/TradeId/index.d.ts +5 -25
  154. package/dist/esm/components/TradeId/index.js +9 -29
  155. package/dist/esm/components/{OutFlowWorkOrderId → WDT/WdtExchange}/index.d.ts +13 -12
  156. package/dist/esm/components/WDT/WdtExchange/index.js +183 -0
  157. package/dist/esm/components/WDT/WdtGoods/index.d.ts +0 -30
  158. package/dist/esm/components/WDT/WdtGoods/index.js +1 -37
  159. package/dist/esm/components/WDT/WdtRessuie/index.d.ts +0 -39
  160. package/dist/esm/components/WDT/WdtRessuie/index.js +1 -44
  161. package/dist/esm/components/WDT/WdtReturn/index.d.ts +54 -0
  162. package/dist/esm/components/{SystemOrder → WDT/WdtReturn}/index.js +79 -91
  163. package/dist/esm/components/WLN/WlnGoods/index.d.ts +0 -30
  164. package/dist/esm/components/WLN/WlnGoods/index.js +1 -31
  165. package/dist/esm/components/WorkOrderId/index.d.ts +0 -2
  166. package/dist/esm/components/WorkOrderId/index.js +1 -3
  167. package/dist/esm/constant.d.ts +0 -2
  168. package/dist/esm/constant.js +1 -3
  169. package/dist/esm/factory.d.ts +2 -2
  170. package/dist/esm/factory.js +24 -46
  171. package/dist/esm/index.d.ts +8 -39
  172. package/dist/esm/index.js +8 -39
  173. package/dist/esm/type.d.ts +3 -2
  174. package/package.json +5 -6
  175. package/dist/esm/components/ActualPayment/BsDeposit.d.ts +0 -23
  176. package/dist/esm/components/ActualPayment/BsDeposit.js +0 -50
  177. package/dist/esm/components/ActualPayment/BsNetReceipts.d.ts +0 -23
  178. package/dist/esm/components/ActualPayment/BsNetReceipts.js +0 -50
  179. package/dist/esm/components/ActualPayment/BsPackageWeight.d.ts +0 -23
  180. package/dist/esm/components/ActualPayment/BsPackageWeight.js +0 -50
  181. package/dist/esm/components/BS/BsDeposit/index.d.ts +0 -60
  182. package/dist/esm/components/BS/BsDeposit/index.js +0 -165
  183. package/dist/esm/components/BS/BsSendGood/index.d.ts +0 -36
  184. package/dist/esm/components/BS/BsSendGood/index.js +0 -68
  185. package/dist/esm/components/BusinessOrderNo/index.d.ts +0 -26
  186. package/dist/esm/components/BusinessOrderNo/index.js +0 -53
  187. package/dist/esm/components/BuyerMessageNotice/index.d.ts +0 -37
  188. package/dist/esm/components/BuyerMessageNotice/index.js +0 -66
  189. package/dist/esm/components/CommonDataTime/CompletedDateTime.d.ts +0 -7
  190. package/dist/esm/components/CommonDataTime/CompletedDateTime.js +0 -29
  191. package/dist/esm/components/CommonDataTime/CreatedDateTime.d.ts +0 -7
  192. package/dist/esm/components/CommonDataTime/CreatedDateTime.js +0 -29
  193. package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.d.ts +0 -7
  194. package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.js +0 -29
  195. package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.d.ts +0 -7
  196. package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.js +0 -29
  197. package/dist/esm/components/CommonDataTime/UpdateDateTime.d.ts +0 -7
  198. package/dist/esm/components/CommonDataTime/UpdateDateTime.js +0 -29
  199. package/dist/esm/components/CommonMultiStatus/ExchangeStatus.d.ts +0 -30
  200. package/dist/esm/components/CommonMultiStatus/ExchangeStatus.js +0 -69
  201. package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.d.ts +0 -30
  202. package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.js +0 -69
  203. package/dist/esm/components/CommonMultiStatus/WareHousingStatus.d.ts +0 -34
  204. package/dist/esm/components/CommonMultiStatus/WareHousingStatus.js +0 -83
  205. package/dist/esm/components/CommonSystemOrder/DeliveryNoList.d.ts +0 -21
  206. package/dist/esm/components/CommonSystemOrder/DeliveryNoList.js +0 -48
  207. package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.d.ts +0 -22
  208. package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.js +0 -49
  209. package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.d.ts +0 -32
  210. package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.js +0 -60
  211. package/dist/esm/components/CommonSystemOrder/TradeItemList.d.ts +0 -23
  212. package/dist/esm/components/CommonSystemOrder/TradeItemList.js +0 -50
  213. package/dist/esm/components/JST/ReissueLogistics/index.d.ts +0 -76
  214. package/dist/esm/components/JST/ReissueLogistics/index.js +0 -147
  215. package/dist/esm/components/NewPaymentStatus/index.d.ts +0 -41
  216. package/dist/esm/components/NewPaymentStatus/index.js +0 -105
  217. package/dist/esm/components/OutFlowWorkOrderId/index.js +0 -101
  218. package/dist/esm/components/SendGood/index.d.ts +0 -54
  219. package/dist/esm/components/SendGood/index.js +0 -215
  220. package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.d.ts +0 -30
  221. package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.js +0 -68
  222. package/dist/esm/components/StatusSelect/CreateStatus.d.ts +0 -7
  223. package/dist/esm/components/StatusSelect/CreateStatus.js +0 -41
  224. package/dist/esm/components/StatusSelect/InvoiceStatus.d.ts +0 -30
  225. package/dist/esm/components/StatusSelect/InvoiceStatus.js +0 -65
  226. package/dist/esm/components/StatusSelect/InvoicingStatus.d.ts +0 -30
  227. package/dist/esm/components/StatusSelect/InvoicingStatus.js +0 -65
  228. package/dist/esm/components/StatusSelect/ReissueStatus.d.ts +0 -30
  229. package/dist/esm/components/StatusSelect/ReissueStatus.js +0 -65
  230. package/dist/esm/components/SystemOrder/index.d.ts +0 -39
  231. package/dist/esm/components/TradeDateTime/BsSendTime.d.ts +0 -23
  232. package/dist/esm/components/TradeDateTime/BsSendTime.js +0 -46
  233. package/dist/esm/components/TradeDateTime/BsSigningTime.d.ts +0 -23
  234. package/dist/esm/components/TradeDateTime/BsSigningTime.js +0 -46
  235. package/dist/esm/components/TradeDateTime/BsTradePaymentTime.d.ts +0 -23
  236. package/dist/esm/components/TradeDateTime/BsTradePaymentTime.js +0 -46
  237. package/dist/esm/components/TradeDateTime/TradeClosingDateTime.d.ts +0 -23
  238. package/dist/esm/components/TradeDateTime/TradeClosingDateTime.js +0 -46
  239. package/dist/esm/components/TradeDateTime/TradeCreateDateTime.d.ts +0 -23
  240. package/dist/esm/components/TradeDateTime/TradeCreateDateTime.js +0 -46
  241. package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.d.ts +0 -23
  242. package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.js +0 -46
  243. package/dist/esm/components/TradeDateTime/TradePaymentDateTime.d.ts +0 -23
  244. package/dist/esm/components/TradeDateTime/TradePaymentDateTime.js +0 -46
  245. package/dist/esm/components/WDT/WdtLogistics/index.d.ts +0 -93
  246. package/dist/esm/components/WDT/WdtLogistics/index.js +0 -227
  247. package/dist/esm/components/WDT/WdtSendGood/index.d.ts +0 -41
  248. package/dist/esm/components/WDT/WdtSendGood/index.js +0 -73
  249. package/dist/esm/components/WDT/WdtSystemOrder/index.d.ts +0 -21
  250. package/dist/esm/components/WDT/WdtSystemOrder/index.js +0 -48
  251. package/dist/esm/components/WLN/WlnLogistics/index.d.ts +0 -88
  252. package/dist/esm/components/WLN/WlnLogistics/index.js +0 -222
  253. package/dist/esm/components/WLN/WlnSendGood/index.d.ts +0 -36
  254. package/dist/esm/components/WLN/WlnSendGood/index.js +0 -68
  255. package/dist/esm/components/WLN/WlnSystemOrder/index.d.ts +0 -21
  256. package/dist/esm/components/WLN/WlnSystemOrder/index.js +0 -48
@@ -1,49 +0,0 @@
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 _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); } }
3
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
- import SystemOrder from "./index";
16
- var ExchangeTradeId = /*#__PURE__*/function (_SystemOrder) {
17
- _inherits(ExchangeTradeId, _SystemOrder);
18
- var _super = _createSuper(ExchangeTradeId);
19
- function ExchangeTradeId(options) {
20
- var _this;
21
- _classCallCheck(this, ExchangeTradeId);
22
- _this = _super.call(this, options);
23
- _this.suffixKey = "tradeItemList";
24
- _this.suffixCode = "tradeIdList";
25
- _this.suffixName = "换货单id";
26
- _this.suffixType = 4;
27
- _this.suffixValueKey = "billNo";
28
- _this.type = "EXCHANGE_TRADE_ID";
29
- return _this;
30
- }
31
- return _createClass(ExchangeTradeId);
32
- }(SystemOrder);
33
- _defineProperty(ExchangeTradeId, "group", "THIRD_SPECIAL_COMPONENT");
34
- _defineProperty(ExchangeTradeId, "configSchema", {
35
- componentConfig: {
36
- required: false
37
- },
38
- name: "换货单id",
39
- belongs: ["bs"],
40
- uniqueKey: "549c837b31",
41
- schema: {
42
- required: {
43
- title: "必填",
44
- type: "boolean"
45
- }
46
- }
47
- });
48
- _defineProperty(ExchangeTradeId, "type", "EXCHANGE_TRADE_ID");
49
- export default ExchangeTradeId;
@@ -1,32 +0,0 @@
1
- import SystemOrder from "./index";
2
- import { PickOption } from "../../type";
3
- declare class ReturnGoodsTradeItemList extends SystemOrder {
4
- static group: string;
5
- static configSchema: {
6
- componentConfig: {
7
- required: boolean;
8
- };
9
- belongs: string[];
10
- name: string;
11
- workOrderComponentGroup: string;
12
- workOrderComponentType: string;
13
- uniqueKey: string;
14
- schema: {
15
- required: {
16
- title: string;
17
- type: string;
18
- };
19
- status: {
20
- widget: string;
21
- type: string;
22
- default: {
23
- created: number;
24
- upgrade: number;
25
- };
26
- };
27
- };
28
- };
29
- static type: string;
30
- constructor(options: PickOption);
31
- }
32
- export default ReturnGoodsTradeItemList;
@@ -1,60 +0,0 @@
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 _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); } }
3
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
- import SystemOrder from "./index";
16
- import { SHOW_WRITE } from "../../constant";
17
- var ReturnGoodsTradeItemList = /*#__PURE__*/function (_SystemOrder) {
18
- _inherits(ReturnGoodsTradeItemList, _SystemOrder);
19
- var _super = _createSuper(ReturnGoodsTradeItemList);
20
- function ReturnGoodsTradeItemList(options) {
21
- var _this;
22
- _classCallCheck(this, ReturnGoodsTradeItemList);
23
- _this = _super.call(this, options);
24
- _this.suffixKey = "returnGoodsTradeItemList";
25
- _this.suffixCode = "returnGoodsTradeIdList";
26
- _this.suffixName = "退货单id";
27
- _this.suffixType = 2;
28
- _this.suffixValueKey = "returnGoodsTradeId";
29
- _this.type = "RETURN_GOODS_TRADE_ID";
30
- return _this;
31
- }
32
- return _createClass(ReturnGoodsTradeItemList);
33
- }(SystemOrder);
34
- _defineProperty(ReturnGoodsTradeItemList, "group", "THIRD_SPECIAL_COMPONENT");
35
- _defineProperty(ReturnGoodsTradeItemList, "configSchema", {
36
- componentConfig: {
37
- required: false
38
- },
39
- belongs: ["bs"],
40
- name: "退货单id(勿填)",
41
- workOrderComponentGroup: "THIRD_SPECIAL_COMPONENT",
42
- workOrderComponentType: "RETURN_GOODS_TRADE_ID",
43
- uniqueKey: "6UdrMM8WCx",
44
- schema: {
45
- required: {
46
- title: "必填",
47
- type: "boolean"
48
- },
49
- status: {
50
- widget: "StatusConfig",
51
- type: "object",
52
- default: {
53
- created: SHOW_WRITE,
54
- upgrade: SHOW_WRITE
55
- }
56
- }
57
- }
58
- });
59
- _defineProperty(ReturnGoodsTradeItemList, "type", "RETURN_GOODS_TRADE_ID");
60
- export default ReturnGoodsTradeItemList;
@@ -1,23 +0,0 @@
1
- import SystemOrder from "./index";
2
- import { PickOption } from "../../type";
3
- declare class TradeItemList extends SystemOrder {
4
- static group: string;
5
- static configSchema: {
6
- componentConfig: {
7
- required: boolean;
8
- };
9
- belongs: string[];
10
- name: string;
11
- isThird: boolean;
12
- uniqueKey: string;
13
- schema: {
14
- required: {
15
- title: string;
16
- type: string;
17
- };
18
- };
19
- };
20
- static type: string;
21
- constructor(options: PickOption);
22
- }
23
- export default TradeItemList;
@@ -1,50 +0,0 @@
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 _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); } }
3
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
- import SystemOrder from "./index";
16
- var TradeItemList = /*#__PURE__*/function (_SystemOrder) {
17
- _inherits(TradeItemList, _SystemOrder);
18
- var _super = _createSuper(TradeItemList);
19
- function TradeItemList(options) {
20
- var _this;
21
- _classCallCheck(this, TradeItemList);
22
- _this = _super.call(this, options);
23
- _this.suffixKey = "tradeItemList";
24
- _this.suffixCode = "tradeIdList";
25
- _this.suffixName = "补发单id";
26
- _this.suffixType = 3;
27
- _this.suffixValueKey = "billNo";
28
- _this.type = "REISSUE_TRADE_ID";
29
- return _this;
30
- }
31
- return _createClass(TradeItemList);
32
- }(SystemOrder);
33
- _defineProperty(TradeItemList, "group", "THIRD_SPECIAL_COMPONENT");
34
- _defineProperty(TradeItemList, "configSchema", {
35
- componentConfig: {
36
- required: false
37
- },
38
- belongs: ["bs", "wdt"],
39
- name: "补发单id",
40
- isThird: true,
41
- uniqueKey: "769940c2ba",
42
- schema: {
43
- required: {
44
- title: "必填",
45
- type: "boolean"
46
- }
47
- }
48
- });
49
- _defineProperty(TradeItemList, "type", "REISSUE_TRADE_ID");
50
- export default TradeItemList;
@@ -1,76 +0,0 @@
1
- import JstLogistics from "../JstLogistics";
2
- import { PickOption, ColumnConfig, Record } from "../../../type";
3
- import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
4
- declare class ReissueLogistics extends JstLogistics {
5
- sortChildField: {
6
- name: string;
7
- key: string;
8
- dataType: string;
9
- [key: string]: any;
10
- }[];
11
- type: string;
12
- expressDateInstance: InstanceType<typeof ExpressData>;
13
- suffixKey: string;
14
- static group: string;
15
- static configSchema: {
16
- componentConfig: {
17
- required: boolean;
18
- logistics: string;
19
- };
20
- belongs: string[];
21
- name: string;
22
- uniqueKey: string;
23
- schema: {
24
- required: {
25
- title: string;
26
- type: string;
27
- };
28
- status: {
29
- widget: string;
30
- type: string;
31
- default: {
32
- created: number;
33
- upgrade: number;
34
- };
35
- };
36
- logistics: {
37
- type: string;
38
- widget: string;
39
- props: {
40
- style: {
41
- width: number;
42
- };
43
- options: {
44
- label: string;
45
- value: string;
46
- }[];
47
- };
48
- };
49
- };
50
- };
51
- static type: string;
52
- constructor(options: PickOption);
53
- getSortChildFields: (type: string, options: PickOption) => any;
54
- filterConfig: (item: ColumnConfig) => ({
55
- searchDefaultConditions: "in";
56
- type: string;
57
- id: string;
58
- name: string;
59
- filterComponentType: "MultipleSelect";
60
- props: {
61
- options: any[];
62
- };
63
- filterFn: (value: string) => (i: Record) => any;
64
- formatFilterValue?: undefined;
65
- } | {
66
- searchDefaultConditions: "in";
67
- type: string;
68
- id: string;
69
- name: string;
70
- filterComponentType: "Input";
71
- filterFn: (value: string) => (i: Record) => boolean;
72
- formatFilterValue: (input: string) => string | string[];
73
- props?: undefined;
74
- })[];
75
- }
76
- export default ReissueLogistics;
@@ -1,147 +0,0 @@
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 _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); } }
3
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
4
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
6
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
7
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
8
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
9
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
- import JstLogistics from "../JstLogistics";
16
- import { SHOW_WRITE } from "../../../constant";
17
- import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
18
- import { filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
19
- import { SYMBOL, batchInput } from "../../../constant";
20
- var ReissueLogistics = /*#__PURE__*/function (_JstLogistics) {
21
- _inherits(ReissueLogistics, _JstLogistics);
22
- var _super = _createSuper(ReissueLogistics);
23
- function ReissueLogistics(_options) {
24
- var _this$componentConfig, _this$componentConfig2;
25
- var _this;
26
- _classCallCheck(this, ReissueLogistics);
27
- _this = _super.call(this, _options);
28
- _defineProperty(_assertThisInitialized(_this), "sortChildField", void 0);
29
- _defineProperty(_assertThisInitialized(_this), "type", void 0);
30
- _defineProperty(_assertThisInitialized(_this), "expressDateInstance", void 0);
31
- _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
32
- _defineProperty(_assertThisInitialized(_this), "getSortChildFields", function (type, options) {
33
- if (!type) {
34
- return [{
35
- name: "物流公司",
36
- key: "".concat(options.id, "_reissueLogisticsCompany"),
37
- options: _this.expressDateInstance.getExpressData(),
38
- dataType: "string"
39
- }, {
40
- name: "物流单号",
41
- key: "".concat(options.id, "_reissueLogisticsCode"),
42
- dataType: "string"
43
- }];
44
- }
45
- if (type === "logisticsCompany") {
46
- return [{
47
- name: "物流公司",
48
- key: "".concat(options.id, "_reissueLogisticsCompany"),
49
- options: _this.expressDateInstance.getExpressData(),
50
- dataType: "string"
51
- }];
52
- }
53
- if (type === "logisticsCode") {
54
- return [{
55
- name: "物流单号",
56
- key: "".concat(options.id, "_reissueLogisticsCode"),
57
- dataType: "string"
58
- }];
59
- }
60
- return [];
61
- });
62
- _defineProperty(_assertThisInitialized(_this), "filterConfig", function (item) {
63
- return [{
64
- searchDefaultConditions: SYMBOL.in,
65
- type: item.type,
66
- id: "".concat(item.id, "_reissueLogisticsCompany"),
67
- name: "".concat(_this.name, "\u7269\u6D41\u516C\u53F8"),
68
- filterComponentType: "MultipleSelect",
69
- props: {
70
- options: _this.expressDateInstance.getExpressData() || []
71
- },
72
- filterFn: function filterFn(value) {
73
- return function (i) {
74
- var _ref;
75
- return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, "logisticsCompany").split(",") || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
76
- var _String;
77
- var logisticsCompany = item ? (_String = String(item)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
78
- return logisticsCompany;
79
- });
80
- };
81
- }
82
- }, {
83
- searchDefaultConditions: SYMBOL.in,
84
- type: item.type,
85
- id: "".concat(item.id, "_reissueLogisticsCode"),
86
- name: "".concat(_this.name, "\u7269\u6D41\u5355\u53F7"),
87
- filterComponentType: "Input",
88
- filterFn: function filterFn(value) {
89
- return function (i) {
90
- return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "logisticsCode"), value);
91
- };
92
- },
93
- formatFilterValue: function formatFilterValue(input) {
94
- return batchInput(input);
95
- }
96
- }];
97
- });
98
- _this.suffixKey = "reissueLogisticsList";
99
- _this.type = "REISSUE_LOGISTICS";
100
- _this.expressDateInstance = ExpressData.getInstance((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.logistics);
101
- _this.sortChildField = _this.getSortChildFields(((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.showField) || "", _options);
102
- return _this;
103
- }
104
- return _createClass(ReissueLogistics);
105
- }(JstLogistics);
106
- _defineProperty(ReissueLogistics, "group", "THIRD_SPECIAL_COMPONENT");
107
- _defineProperty(ReissueLogistics, "configSchema", {
108
- componentConfig: {
109
- required: false,
110
- logistics: 'default'
111
- },
112
- belongs: ['bs', 'wdt'],
113
- name: '补发物流信息(单号勿填)',
114
- uniqueKey: 'd04d1d30a3',
115
- schema: {
116
- required: {
117
- title: '必填',
118
- type: 'boolean'
119
- },
120
- status: {
121
- widget: 'StatusConfig',
122
- type: 'object',
123
- default: {
124
- created: SHOW_WRITE,
125
- upgrade: SHOW_WRITE
126
- }
127
- },
128
- logistics: {
129
- type: 'string',
130
- widget: 'select',
131
- props: {
132
- style: {
133
- width: 120
134
- },
135
- options: [{
136
- label: '系统物流',
137
- value: 'default'
138
- }, {
139
- label: '旺店通物流',
140
- value: 'wdt'
141
- }]
142
- }
143
- }
144
- }
145
- });
146
- _defineProperty(ReissueLogistics, "type", "REISSUE_LOGISTICS");
147
- export default ReissueLogistics;
@@ -1,41 +0,0 @@
1
- import BasicSelect from "../Select";
2
- import { PickOption } from "../../type";
3
- declare class NewPaymentStatus extends BasicSelect {
4
- name: string;
5
- id: string;
6
- type: string;
7
- suffixKey: string;
8
- static group: string;
9
- static configSchema: {
10
- componentConfig: {
11
- options: {
12
- label: string;
13
- value: string;
14
- }[];
15
- status: {
16
- created: number;
17
- upgrade: number;
18
- };
19
- };
20
- name: string;
21
- workOrderComponentGroup: string;
22
- workOrderComponentType: string;
23
- uniqueKey: string;
24
- schema: {
25
- status: {
26
- widget: string;
27
- type: string;
28
- default: {
29
- created: number;
30
- upgrade: number;
31
- };
32
- props: {
33
- showOptionsKey: number[];
34
- };
35
- };
36
- };
37
- };
38
- static type: string;
39
- constructor(options: PickOption);
40
- }
41
- export default NewPaymentStatus;
@@ -1,105 +0,0 @@
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 _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
7
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
8
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
9
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
10
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
11
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
12
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
13
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
16
- import React from "react";
17
- import { ApaasSelect } from "@kmkf-fe-packages/basic-components";
18
- import GetFormItem from "../GetFormItem";
19
- import BasicSelect from "../Select";
20
- import { SHOW_NOT_WRITE } from "../../constant";
21
- var NewPaymentStatus = /*#__PURE__*/function (_BasicSelect) {
22
- _inherits(NewPaymentStatus, _BasicSelect);
23
- var _super = _createSuper(NewPaymentStatus);
24
- function NewPaymentStatus(options) {
25
- var _this;
26
- _classCallCheck(this, NewPaymentStatus);
27
- _this = _super.call(this, options);
28
- _defineProperty(_assertThisInitialized(_this), "name", void 0);
29
- _defineProperty(_assertThisInitialized(_this), "id", void 0);
30
- _defineProperty(_assertThisInitialized(_this), "type", void 0);
31
- _defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
32
- _this.name = options.name;
33
- _this.id = options.id;
34
- _this.suffixKey = "newPaymentStatus";
35
- _this.type = "NEW_PAYMENT_STATUS";
36
- _this.editRender = function (p) {
37
- var _this$componentConfig, _this$componentConfig2;
38
- return /*#__PURE__*/React.createElement(GetFormItem, {
39
- title: _this.name,
40
- name: _this.id,
41
- rules: _this.rules,
42
- hidden: p === null || p === void 0 ? void 0 : p.hidden,
43
- display: p === null || p === void 0 ? void 0 : p.display,
44
- 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,
45
- component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
46
- placeholder: "自动获取无需填写",
47
- showSearch: true,
48
- onChange: p === null || p === void 0 ? void 0 : p.onChange
49
- }))
50
- });
51
- };
52
- return _this;
53
- }
54
- return _createClass(NewPaymentStatus);
55
- }(BasicSelect);
56
- _defineProperty(NewPaymentStatus, "group", "SPECIAL_COMPONENT");
57
- _defineProperty(NewPaymentStatus, "configSchema", {
58
- componentConfig: {
59
- options: [{
60
- label: "未打款",
61
- value: "未打款"
62
- }, {
63
- label: "审核通过",
64
- value: "审核通过"
65
- }, {
66
- label: "标记已打款",
67
- value: "标记已打款"
68
- }, {
69
- label: "支付宝待付款",
70
- value: "支付宝待付款"
71
- }, {
72
- label: "支付宝打款成功",
73
- value: "支付宝打款成功"
74
- }, {
75
- label: "支付宝打款失败",
76
- value: "支付宝打款失败"
77
- }, {
78
- label: "支付宝打款关闭",
79
- value: "支付宝打款关闭"
80
- }],
81
- status: {
82
- created: 2,
83
- upgrade: 2
84
- }
85
- },
86
- name: "打款状态(勿填)",
87
- workOrderComponentGroup: "SPECIAL_COMPONENT",
88
- workOrderComponentType: "NEW_PAYMENT_STATUS",
89
- uniqueKey: "id8nUMdid7",
90
- schema: {
91
- status: {
92
- widget: "StatusConfig",
93
- type: "object",
94
- default: {
95
- created: SHOW_NOT_WRITE,
96
- upgrade: SHOW_NOT_WRITE
97
- },
98
- props: {
99
- showOptionsKey: [2, 0]
100
- }
101
- }
102
- }
103
- });
104
- _defineProperty(NewPaymentStatus, "type", "NEW_PAYMENT_STATUS");
105
- export default NewPaymentStatus;