@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.
- package/README.md +1 -0
- package/dist/esm/components/ActualPayment/index.d.ts +2 -16
- package/dist/esm/components/ActualPayment/index.js +35 -28
- package/dist/esm/components/Address/index.d.ts +0 -14
- package/dist/esm/components/Address/index.js +2 -15
- package/dist/esm/components/Alipay/index.d.ts +5 -30
- package/dist/esm/components/Alipay/index.js +6 -31
- package/dist/esm/components/BS/BsExchange/index.d.ts +0 -39
- package/dist/esm/components/BS/BsExchange/index.js +1 -52
- package/dist/esm/components/BS/BsGoods/index.d.ts +0 -30
- package/dist/esm/components/BS/BsGoods/index.js +1 -31
- package/dist/esm/components/BS/BsLogistics/index.d.ts +0 -33
- package/dist/esm/components/BS/BsLogistics/index.js +52 -62
- package/dist/esm/components/BS/BsPosting/index.d.ts +0 -15
- package/dist/esm/components/BS/BsPosting/index.js +1 -16
- package/dist/esm/components/BS/BsReissue/index.d.ts +7 -46
- package/dist/esm/components/BS/BsReissue/index.js +19 -70
- package/dist/esm/components/BS/BsReturn/index.d.ts +0 -39
- package/dist/esm/components/BS/BsReturn/index.js +1 -44
- package/dist/esm/components/BS/BsSystemOrder/index.d.ts +29 -18
- package/dist/esm/components/BS/BsSystemOrder/index.js +138 -37
- package/dist/esm/components/BS/common/BsMemo.js +2 -1
- package/dist/esm/components/BS/common/BsType.js +2 -1
- package/dist/esm/components/BuyerNick/index.d.ts +0 -20
- package/dist/esm/components/BuyerNick/index.js +2 -21
- package/dist/esm/components/Calculation/index.d.ts +0 -18
- package/dist/esm/components/Calculation/index.js +3 -21
- package/dist/esm/components/Cascader/index.d.ts +5 -20
- package/dist/esm/components/Cascader/index.js +21 -35
- package/dist/esm/components/Checkbox/index.d.ts +4 -26
- package/dist/esm/components/Checkbox/index.js +19 -62
- package/dist/esm/components/Common/index.d.ts +1 -1
- package/dist/esm/components/Common/index.js +185 -4
- package/dist/esm/components/CommonDataTime/index.d.ts +0 -1
- package/dist/esm/components/CommonDataTime/index.js +0 -1
- package/dist/esm/components/CommonHeaderGood/index.js +182 -0
- package/dist/esm/components/CommonInput/index.d.ts +0 -5
- package/dist/esm/components/CommonInput/index.js +18 -32
- package/dist/esm/components/CommonMultiStatus/index.d.ts +20 -19
- package/dist/esm/components/CommonMultiStatus/index.js +118 -102
- package/dist/esm/components/CommonSystemOrder/index.d.ts +4 -11
- package/dist/esm/components/CommonSystemOrder/index.js +71 -39
- package/dist/esm/components/CompletedUser/index.d.ts +4 -6
- package/dist/esm/components/CompletedUser/index.js +7 -9
- package/dist/esm/components/DataTime/index.d.ts +4 -20
- package/dist/esm/components/DataTime/index.js +16 -32
- package/dist/esm/components/EItemEnCode/index.d.ts +0 -36
- package/dist/esm/components/EItemEnCode/index.js +2 -38
- package/dist/esm/components/EItemId/index.d.ts +0 -21
- package/dist/esm/components/EItemId/index.js +1 -22
- package/dist/esm/components/EItemSelect/index.d.ts +1 -22
- package/dist/esm/components/EItemSelect/index.js +2 -23
- package/dist/esm/components/File/index.d.ts +0 -15
- package/dist/esm/components/File/index.js +1 -16
- package/dist/esm/components/FlowCreator/index.d.ts +0 -2
- package/dist/esm/components/FlowCreator/index.js +0 -2
- package/dist/esm/components/FlowMarkSelect/index.d.ts +0 -2
- package/dist/esm/components/FlowMarkSelect/index.js +0 -2
- package/dist/esm/components/FlowStatusSelect/index.d.ts +0 -2
- package/dist/esm/components/FlowStatusSelect/index.js +2 -3
- package/dist/esm/components/FlowTag/index.d.ts +0 -2
- package/dist/esm/components/FlowTag/index.js +0 -2
- package/dist/esm/components/FlowWorkOrderId/index.d.ts +0 -2
- package/dist/esm/components/FlowWorkOrderId/index.js +1 -3
- package/dist/esm/components/FlowWorkOrderStatus/index.d.ts +4 -6
- package/dist/esm/components/FlowWorkOrderStatus/index.js +29 -31
- package/dist/esm/components/Grade/index.d.ts +3 -25
- package/dist/esm/components/Grade/index.js +7 -29
- package/dist/esm/components/Handler/index.d.ts +4 -6
- package/dist/esm/components/Handler/index.js +7 -9
- package/dist/esm/components/HandlerDeadLine/index.d.ts +0 -2
- package/dist/esm/components/HandlerDeadLine/index.js +1 -3
- package/dist/esm/components/Input/index.d.ts +0 -53
- package/dist/esm/components/Input/index.js +1 -55
- package/dist/esm/components/JST/JstItemSelect/index.d.ts +0 -26
- package/dist/esm/components/JST/JstItemSelect/index.js +1 -27
- package/dist/esm/components/JST/JstLogistics/index.d.ts +30 -5
- package/dist/esm/components/JST/JstLogistics/index.js +53 -49
- package/dist/esm/components/JST/JstSendGood/index.d.ts +46 -29
- package/dist/esm/components/JST/JstSendGood/index.js +230 -52
- package/dist/esm/components/JST/JstSupply/index.d.ts +0 -27
- package/dist/esm/components/JST/JstSupply/index.js +1 -34
- package/dist/esm/components/Label/index.d.ts +0 -25
- package/dist/esm/components/Label/index.js +0 -26
- package/dist/esm/components/Logistics/index.d.ts +0 -36
- package/dist/esm/components/Logistics/index.js +1 -40
- package/dist/esm/components/LogisticsInterception/index.d.ts +0 -15
- package/dist/esm/components/LogisticsInterception/index.js +1 -16
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +13 -44
- package/dist/esm/components/LogisticsMoreInterception/index.js +15 -46
- package/dist/esm/components/LogisticsMoreTrajectory/index.d.ts +3 -56
- package/dist/esm/components/LogisticsMoreTrajectory/index.js +9 -62
- package/dist/esm/components/LogisticsTrajectory/index.d.ts +11 -48
- package/dist/esm/components/LogisticsTrajectory/index.js +8 -45
- package/dist/esm/components/MsgStatus/index.d.ts +4 -31
- package/dist/esm/components/MsgStatus/index.js +36 -72
- package/dist/esm/components/MultSelect/index.d.ts +0 -16
- package/dist/esm/components/MultSelect/index.js +1 -17
- package/dist/esm/components/NodeDeadLine/index.d.ts +0 -2
- package/dist/esm/components/NodeDeadLine/index.js +1 -3
- package/dist/esm/components/NodeInput/index.d.ts +4 -6
- package/dist/esm/components/NodeInput/index.js +7 -9
- package/dist/esm/components/NodeStayDuration/index.d.ts +0 -2
- package/dist/esm/components/NodeStayDuration/index.js +1 -3
- package/dist/esm/components/Ordinary/index.d.ts +6 -27
- package/dist/esm/components/Ordinary/index.js +8 -39
- package/dist/esm/components/Payment/index.d.ts +0 -25
- package/dist/esm/components/Payment/index.js +1 -26
- package/dist/esm/components/PaymentVoucherCode/index.d.ts +0 -20
- package/dist/esm/components/PaymentVoucherCode/index.js +2 -22
- package/dist/esm/components/Picture/index.d.ts +3 -18
- package/dist/esm/components/Picture/index.js +16 -31
- package/dist/esm/components/PlatForm/index.d.ts +0 -2
- package/dist/esm/components/PlatForm/index.js +0 -2
- package/dist/esm/components/PostIng/index.d.ts +0 -32
- package/dist/esm/components/PostIng/index.js +1 -39
- package/dist/esm/components/PrevSubmitter/index.d.ts +0 -2
- package/dist/esm/components/PrevSubmitter/index.js +0 -2
- package/dist/esm/components/Radio/index.d.ts +0 -26
- package/dist/esm/components/Radio/index.js +1 -27
- package/dist/esm/components/Rate/index.d.ts +3 -22
- package/dist/esm/components/Rate/index.js +30 -49
- package/dist/esm/components/ReceiverAddress/index.d.ts +0 -15
- package/dist/esm/components/ReceiverAddress/index.js +1 -16
- package/dist/esm/components/ReceiverMobile/index.d.ts +3 -23
- package/dist/esm/components/ReceiverMobile/index.js +9 -29
- package/dist/esm/components/ReceiverName/index.d.ts +3 -18
- package/dist/esm/components/ReceiverName/index.js +8 -23
- package/dist/esm/components/Remark/index.d.ts +0 -49
- package/dist/esm/components/Remark/index.js +1 -59
- package/dist/esm/components/ReturnLogistics/index.d.ts +6 -37
- package/dist/esm/components/ReturnLogistics/index.js +16 -50
- package/dist/esm/components/Select/index.d.ts +1 -4
- package/dist/esm/components/Select/index.js +30 -32
- package/dist/esm/components/ShopInput/index.d.ts +5 -7
- package/dist/esm/components/ShopInput/index.js +8 -10
- package/dist/esm/components/ShopName/index.d.ts +0 -15
- package/dist/esm/components/ShopName/index.js +1 -16
- package/dist/esm/components/StatusSelect/index.d.ts +1 -15
- package/dist/esm/components/StatusSelect/index.js +96 -30
- package/dist/esm/components/Submitter/index.d.ts +4 -6
- package/dist/esm/components/Submitter/index.js +7 -9
- package/dist/esm/components/SystemOrderNo/index.d.ts +3 -18
- package/dist/esm/components/SystemOrderNo/index.js +9 -24
- package/dist/esm/components/TemplateSelect/index.d.ts +0 -2
- package/dist/esm/components/TemplateSelect/index.js +1 -3
- package/dist/esm/components/TextArea/index.d.ts +0 -15
- package/dist/esm/components/TextArea/index.js +1 -16
- package/dist/esm/components/ThirdItemSelect/index.d.ts +3 -29
- package/dist/esm/components/ThirdItemSelect/index.js +11 -37
- package/dist/esm/components/TradeDateTime/index.d.ts +4 -3
- package/dist/esm/components/TradeDateTime/index.js +39 -14
- package/dist/esm/components/TradeId/index.d.ts +5 -25
- package/dist/esm/components/TradeId/index.js +9 -29
- package/dist/esm/components/{OutFlowWorkOrderId → WDT/WdtExchange}/index.d.ts +13 -12
- package/dist/esm/components/WDT/WdtExchange/index.js +183 -0
- package/dist/esm/components/WDT/WdtGoods/index.d.ts +0 -30
- package/dist/esm/components/WDT/WdtGoods/index.js +1 -37
- package/dist/esm/components/WDT/WdtRessuie/index.d.ts +0 -39
- package/dist/esm/components/WDT/WdtRessuie/index.js +1 -44
- package/dist/esm/components/WDT/WdtReturn/index.d.ts +54 -0
- package/dist/esm/components/{SystemOrder → WDT/WdtReturn}/index.js +79 -91
- package/dist/esm/components/WLN/WlnGoods/index.d.ts +0 -30
- package/dist/esm/components/WLN/WlnGoods/index.js +1 -31
- package/dist/esm/components/WorkOrderId/index.d.ts +0 -2
- package/dist/esm/components/WorkOrderId/index.js +1 -3
- package/dist/esm/constant.d.ts +0 -2
- package/dist/esm/constant.js +1 -3
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +24 -46
- package/dist/esm/index.d.ts +8 -39
- package/dist/esm/index.js +8 -39
- package/dist/esm/type.d.ts +3 -2
- package/package.json +5 -6
- package/dist/esm/components/ActualPayment/BsDeposit.d.ts +0 -23
- package/dist/esm/components/ActualPayment/BsDeposit.js +0 -50
- package/dist/esm/components/ActualPayment/BsNetReceipts.d.ts +0 -23
- package/dist/esm/components/ActualPayment/BsNetReceipts.js +0 -50
- package/dist/esm/components/ActualPayment/BsPackageWeight.d.ts +0 -23
- package/dist/esm/components/ActualPayment/BsPackageWeight.js +0 -50
- package/dist/esm/components/BS/BsDeposit/index.d.ts +0 -60
- package/dist/esm/components/BS/BsDeposit/index.js +0 -165
- package/dist/esm/components/BS/BsSendGood/index.d.ts +0 -36
- package/dist/esm/components/BS/BsSendGood/index.js +0 -68
- package/dist/esm/components/BusinessOrderNo/index.d.ts +0 -26
- package/dist/esm/components/BusinessOrderNo/index.js +0 -53
- package/dist/esm/components/BuyerMessageNotice/index.d.ts +0 -37
- package/dist/esm/components/BuyerMessageNotice/index.js +0 -66
- package/dist/esm/components/CommonDataTime/CompletedDateTime.d.ts +0 -7
- package/dist/esm/components/CommonDataTime/CompletedDateTime.js +0 -29
- package/dist/esm/components/CommonDataTime/CreatedDateTime.d.ts +0 -7
- package/dist/esm/components/CommonDataTime/CreatedDateTime.js +0 -29
- package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.d.ts +0 -7
- package/dist/esm/components/CommonDataTime/FlowCreatedDateTime.js +0 -29
- package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.d.ts +0 -7
- package/dist/esm/components/CommonDataTime/FlowUpdateDateTime.js +0 -29
- package/dist/esm/components/CommonDataTime/UpdateDateTime.d.ts +0 -7
- package/dist/esm/components/CommonDataTime/UpdateDateTime.js +0 -29
- package/dist/esm/components/CommonMultiStatus/ExchangeStatus.d.ts +0 -30
- package/dist/esm/components/CommonMultiStatus/ExchangeStatus.js +0 -69
- package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.d.ts +0 -30
- package/dist/esm/components/CommonMultiStatus/ReturnGoodsStatus.js +0 -69
- package/dist/esm/components/CommonMultiStatus/WareHousingStatus.d.ts +0 -34
- package/dist/esm/components/CommonMultiStatus/WareHousingStatus.js +0 -83
- package/dist/esm/components/CommonSystemOrder/DeliveryNoList.d.ts +0 -21
- package/dist/esm/components/CommonSystemOrder/DeliveryNoList.js +0 -48
- package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.d.ts +0 -22
- package/dist/esm/components/CommonSystemOrder/ExchangeTradeId.js +0 -49
- package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.d.ts +0 -32
- package/dist/esm/components/CommonSystemOrder/ReturnGoodsTradeItemList.js +0 -60
- package/dist/esm/components/CommonSystemOrder/TradeItemList.d.ts +0 -23
- package/dist/esm/components/CommonSystemOrder/TradeItemList.js +0 -50
- package/dist/esm/components/JST/ReissueLogistics/index.d.ts +0 -76
- package/dist/esm/components/JST/ReissueLogistics/index.js +0 -147
- package/dist/esm/components/NewPaymentStatus/index.d.ts +0 -41
- package/dist/esm/components/NewPaymentStatus/index.js +0 -105
- package/dist/esm/components/OutFlowWorkOrderId/index.js +0 -101
- package/dist/esm/components/SendGood/index.d.ts +0 -54
- package/dist/esm/components/SendGood/index.js +0 -215
- package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.d.ts +0 -30
- package/dist/esm/components/StatusSelect/AdjustWorkOrderStatus.js +0 -68
- package/dist/esm/components/StatusSelect/CreateStatus.d.ts +0 -7
- package/dist/esm/components/StatusSelect/CreateStatus.js +0 -41
- package/dist/esm/components/StatusSelect/InvoiceStatus.d.ts +0 -30
- package/dist/esm/components/StatusSelect/InvoiceStatus.js +0 -65
- package/dist/esm/components/StatusSelect/InvoicingStatus.d.ts +0 -30
- package/dist/esm/components/StatusSelect/InvoicingStatus.js +0 -65
- package/dist/esm/components/StatusSelect/ReissueStatus.d.ts +0 -30
- package/dist/esm/components/StatusSelect/ReissueStatus.js +0 -65
- package/dist/esm/components/SystemOrder/index.d.ts +0 -39
- package/dist/esm/components/TradeDateTime/BsSendTime.d.ts +0 -23
- package/dist/esm/components/TradeDateTime/BsSendTime.js +0 -46
- package/dist/esm/components/TradeDateTime/BsSigningTime.d.ts +0 -23
- package/dist/esm/components/TradeDateTime/BsSigningTime.js +0 -46
- package/dist/esm/components/TradeDateTime/BsTradePaymentTime.d.ts +0 -23
- package/dist/esm/components/TradeDateTime/BsTradePaymentTime.js +0 -46
- package/dist/esm/components/TradeDateTime/TradeClosingDateTime.d.ts +0 -23
- package/dist/esm/components/TradeDateTime/TradeClosingDateTime.js +0 -46
- package/dist/esm/components/TradeDateTime/TradeCreateDateTime.d.ts +0 -23
- package/dist/esm/components/TradeDateTime/TradeCreateDateTime.js +0 -46
- package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.d.ts +0 -23
- package/dist/esm/components/TradeDateTime/TradeDeliveryDateTime.js +0 -46
- package/dist/esm/components/TradeDateTime/TradePaymentDateTime.d.ts +0 -23
- package/dist/esm/components/TradeDateTime/TradePaymentDateTime.js +0 -46
- package/dist/esm/components/WDT/WdtLogistics/index.d.ts +0 -93
- package/dist/esm/components/WDT/WdtLogistics/index.js +0 -227
- package/dist/esm/components/WDT/WdtSendGood/index.d.ts +0 -41
- package/dist/esm/components/WDT/WdtSendGood/index.js +0 -73
- package/dist/esm/components/WDT/WdtSystemOrder/index.d.ts +0 -21
- package/dist/esm/components/WDT/WdtSystemOrder/index.js +0 -48
- package/dist/esm/components/WLN/WlnLogistics/index.d.ts +0 -88
- package/dist/esm/components/WLN/WlnLogistics/index.js +0 -222
- package/dist/esm/components/WLN/WlnSendGood/index.d.ts +0 -36
- package/dist/esm/components/WLN/WlnSendGood/index.js +0 -68
- package/dist/esm/components/WLN/WlnSystemOrder/index.d.ts +0 -21
- package/dist/esm/components/WLN/WlnSystemOrder/index.js +0 -48
|
@@ -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 ActualPayment from "./index";
|
|
16
|
-
var BsNetReceipts = /*#__PURE__*/function (_ActualPayment) {
|
|
17
|
-
_inherits(BsNetReceipts, _ActualPayment);
|
|
18
|
-
var _super = _createSuper(BsNetReceipts);
|
|
19
|
-
function BsNetReceipts(options) {
|
|
20
|
-
var _this;
|
|
21
|
-
_classCallCheck(this, BsNetReceipts);
|
|
22
|
-
_this = _super.call(this, options);
|
|
23
|
-
_defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
|
|
24
|
-
_defineProperty(_assertThisInitialized(_this), "rules", void 0);
|
|
25
|
-
_this.suffixKey = 'bsPackageWeight';
|
|
26
|
-
_this.type = 'BS_PACKAGE_WEIGHT';
|
|
27
|
-
_this.rules = [{
|
|
28
|
-
pattern: /^(([0-9]*(\.[0-9]{1,})$)|([0-9]+$))/,
|
|
29
|
-
message: '请输入数字'
|
|
30
|
-
}];
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
return _createClass(BsNetReceipts);
|
|
34
|
-
}(ActualPayment);
|
|
35
|
-
_defineProperty(BsNetReceipts, "group", 'THIRD_COMPONENT');
|
|
36
|
-
_defineProperty(BsNetReceipts, "configSchema", {
|
|
37
|
-
componentConfig: {
|
|
38
|
-
required: false
|
|
39
|
-
},
|
|
40
|
-
name: 'bs包裹重量',
|
|
41
|
-
uniqueKey: '6ULSJGyyHN',
|
|
42
|
-
schema: {
|
|
43
|
-
required: {
|
|
44
|
-
title: '必填',
|
|
45
|
-
type: 'boolean'
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
_defineProperty(BsNetReceipts, "type", 'BS_PACKAGE_WEIGHT');
|
|
50
|
-
export default BsNetReceipts;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, Record } from "../../../type";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
4
|
-
import Province from "../BsPosting/components/Province";
|
|
5
|
-
import City from "../BsPosting/components/City";
|
|
6
|
-
import District from "../BsPosting/components/District";
|
|
7
|
-
import Detail from "../BsPosting/components/Detail";
|
|
8
|
-
import ReceiverName from "../BsPosting/components/ReceiverName";
|
|
9
|
-
import ReceiverMobile from "../BsPosting/components/ReceiverMobile";
|
|
10
|
-
declare class BsDeposit implements ComponentInterface {
|
|
11
|
-
name: string;
|
|
12
|
-
id: string;
|
|
13
|
-
sortField: string;
|
|
14
|
-
type: string;
|
|
15
|
-
rules: any[];
|
|
16
|
-
componentConfig: ComponentInterface["componentConfig"];
|
|
17
|
-
isCombinationComponent: boolean;
|
|
18
|
-
formField: string;
|
|
19
|
-
canSort: boolean;
|
|
20
|
-
children: ComponentInterface[];
|
|
21
|
-
dataType: ComponentInterface["dataType"];
|
|
22
|
-
province: Province;
|
|
23
|
-
city: City;
|
|
24
|
-
district: District;
|
|
25
|
-
detail: Detail;
|
|
26
|
-
receiverName: ReceiverName;
|
|
27
|
-
receiverMobile: ReceiverMobile;
|
|
28
|
-
addressDateInstance: InstanceType<typeof AddressData>;
|
|
29
|
-
static group: string;
|
|
30
|
-
static configSchema: {
|
|
31
|
-
componentConfig: {
|
|
32
|
-
required: boolean;
|
|
33
|
-
};
|
|
34
|
-
name: string;
|
|
35
|
-
uniqueKey: string;
|
|
36
|
-
schema: {
|
|
37
|
-
required: {
|
|
38
|
-
title: string;
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
static type: string;
|
|
44
|
-
constructor(options: PickOption);
|
|
45
|
-
renderPc: () => null;
|
|
46
|
-
renderLog: (r: Record) => React.JSX.Element;
|
|
47
|
-
getComponentValue: (r: Record) => {
|
|
48
|
-
province: any;
|
|
49
|
-
city: any;
|
|
50
|
-
district: any;
|
|
51
|
-
detail: any;
|
|
52
|
-
name: any;
|
|
53
|
-
mobile: any;
|
|
54
|
-
};
|
|
55
|
-
renderExport: () => null;
|
|
56
|
-
renderClient: (record: any) => React.JSX.Element | null;
|
|
57
|
-
editRender: (p: any) => React.JSX.Element;
|
|
58
|
-
filterConfig: () => never[];
|
|
59
|
-
}
|
|
60
|
-
export default BsDeposit;
|
|
@@ -1,165 +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 ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
|
-
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); }
|
|
5
|
-
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); } }
|
|
6
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
8
|
-
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; }
|
|
9
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
|
-
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); }
|
|
11
|
-
import React from "react";
|
|
12
|
-
import { ApaasPosting } from "@kmkf-fe-packages/basic-components";
|
|
13
|
-
import { BsAddressData, isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
14
|
-
import GetFormItem from "../../GetFormItem";
|
|
15
|
-
import Province from "../BsPosting/components/Province";
|
|
16
|
-
import City from "../BsPosting/components/City";
|
|
17
|
-
import District from "../BsPosting/components/District";
|
|
18
|
-
import Detail from "../BsPosting/components/Detail";
|
|
19
|
-
import ReceiverName from "../BsPosting/components/ReceiverName";
|
|
20
|
-
import ReceiverMobile from "../BsPosting/components/ReceiverMobile";
|
|
21
|
-
import ItemView from "../../../commonComponents/ItemView";
|
|
22
|
-
var BsDeposit = /*#__PURE__*/_createClass(function BsDeposit(options) {
|
|
23
|
-
var _this = this,
|
|
24
|
-
_options$componentCon;
|
|
25
|
-
_classCallCheck(this, BsDeposit);
|
|
26
|
-
_defineProperty(this, "name", void 0);
|
|
27
|
-
_defineProperty(this, "id", void 0);
|
|
28
|
-
_defineProperty(this, "sortField", void 0);
|
|
29
|
-
_defineProperty(this, "type", void 0);
|
|
30
|
-
_defineProperty(this, "rules", void 0);
|
|
31
|
-
_defineProperty(this, "componentConfig", void 0);
|
|
32
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
33
|
-
_defineProperty(this, "formField", void 0);
|
|
34
|
-
_defineProperty(this, "canSort", void 0);
|
|
35
|
-
_defineProperty(this, "children", void 0);
|
|
36
|
-
_defineProperty(this, "dataType", void 0);
|
|
37
|
-
_defineProperty(this, "province", void 0);
|
|
38
|
-
_defineProperty(this, "city", void 0);
|
|
39
|
-
_defineProperty(this, "district", void 0);
|
|
40
|
-
_defineProperty(this, "detail", void 0);
|
|
41
|
-
_defineProperty(this, "receiverName", void 0);
|
|
42
|
-
_defineProperty(this, "receiverMobile", void 0);
|
|
43
|
-
_defineProperty(this, "addressDateInstance", void 0);
|
|
44
|
-
_defineProperty(this, "renderPc", function () {
|
|
45
|
-
return null;
|
|
46
|
-
});
|
|
47
|
-
_defineProperty(this, "renderLog", function (r) {
|
|
48
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.province.renderLog(r), _this.city.renderLog(r), _this.district.renderLog(r), _this.detail.renderLog(r), "/", _this.receiverName.renderLog(r), _this.receiverMobile.renderLog(r));
|
|
49
|
-
});
|
|
50
|
-
_defineProperty(this, "getComponentValue", function (r) {
|
|
51
|
-
return {
|
|
52
|
-
province: _this.province.getComponentValue(r),
|
|
53
|
-
city: _this.city.getComponentValue(r),
|
|
54
|
-
district: _this.district.getComponentValue(r),
|
|
55
|
-
detail: _this.detail.getComponentValue(r),
|
|
56
|
-
name: _this.receiverName.getComponentValue(r),
|
|
57
|
-
mobile: _this.receiverMobile.getComponentValue(r)
|
|
58
|
-
};
|
|
59
|
-
});
|
|
60
|
-
_defineProperty(this, "renderExport", function () {
|
|
61
|
-
return null;
|
|
62
|
-
});
|
|
63
|
-
_defineProperty(this, "renderClient", function (record) {
|
|
64
|
-
var _ref;
|
|
65
|
-
var province = record["".concat(_this.id, "_bsPostingProvince")];
|
|
66
|
-
var city = record["".concat(_this.id, "_bsPostingCity")];
|
|
67
|
-
var district = record["".concat(_this.id, "_bsPostingDistrict")];
|
|
68
|
-
var detail = record["".concat(_this.id, "_bsPostingDetail")];
|
|
69
|
-
var name = record["".concat(_this.id, "_bsPostingReceiverName")];
|
|
70
|
-
var mobile = record["".concat(_this.id, "_bsPostingReceiverMobile")];
|
|
71
|
-
var addressText = (_ref = [province, city, district]) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
|
|
72
|
-
return _this.addressDateInstance.getNameByCode(suffix);
|
|
73
|
-
}).join("");
|
|
74
|
-
var hasValue = addressText || detail || name || mobile;
|
|
75
|
-
var value = hasValue ? /*#__PURE__*/React.createElement("div", null, [addressText, detail].join("/"), /*#__PURE__*/React.createElement("br", null), [name, mobile].join("/")) : null;
|
|
76
|
-
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
77
|
-
id: _this.id,
|
|
78
|
-
label: _this.name,
|
|
79
|
-
value: value
|
|
80
|
-
}) : null;
|
|
81
|
-
});
|
|
82
|
-
_defineProperty(this, "editRender", function (p) {
|
|
83
|
-
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3;
|
|
84
|
-
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
85
|
-
title: _this.name,
|
|
86
|
-
name: _this.id,
|
|
87
|
-
rules: _this.rules,
|
|
88
|
-
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
89
|
-
display: p === null || p === void 0 ? void 0 : p.display,
|
|
90
|
-
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
91
|
-
component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
|
|
92
|
-
type: _this.type === "POSTING" || ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) === "workOrder" ? "workOrder" : "bs"
|
|
93
|
-
}))
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
_defineProperty(this, "filterConfig", function () {
|
|
97
|
-
return [];
|
|
98
|
-
});
|
|
99
|
-
this.name = options.name;
|
|
100
|
-
this.id = options.id;
|
|
101
|
-
this.sortField = "".concat(options.id);
|
|
102
|
-
this.formField = "".concat(options.id);
|
|
103
|
-
this.type = "BS_POSTING";
|
|
104
|
-
this.componentConfig = options.componentConfig;
|
|
105
|
-
this.isCombinationComponent = true;
|
|
106
|
-
this.canSort = false;
|
|
107
|
-
this.dataType = "object";
|
|
108
|
-
this.addressDateInstance = BsAddressData.getInstance();
|
|
109
|
-
this.province = new Province(_objectSpread(_objectSpread({}, options), {}, {
|
|
110
|
-
id: "".concat(options.id, "_bsPostingProvince"),
|
|
111
|
-
name: "省",
|
|
112
|
-
addressDateInstance: this.addressDateInstance
|
|
113
|
-
}));
|
|
114
|
-
this.city = new City(_objectSpread(_objectSpread({}, options), {}, {
|
|
115
|
-
id: "".concat(options.id, "_bsPostingCity"),
|
|
116
|
-
name: "市",
|
|
117
|
-
addressDateInstance: this.addressDateInstance
|
|
118
|
-
}));
|
|
119
|
-
this.district = new District(_objectSpread(_objectSpread({}, options), {}, {
|
|
120
|
-
id: "".concat(options.id, "_bsPostingDistrict"),
|
|
121
|
-
name: "区/县",
|
|
122
|
-
addressDateInstance: this.addressDateInstance
|
|
123
|
-
}));
|
|
124
|
-
this.detail = new Detail(_objectSpread(_objectSpread({}, options), {}, {
|
|
125
|
-
id: "".concat(options.id, "_bsPostingDetail"),
|
|
126
|
-
name: "详细地址"
|
|
127
|
-
}));
|
|
128
|
-
this.receiverName = new ReceiverName(_objectSpread(_objectSpread({}, options), {}, {
|
|
129
|
-
id: "".concat(options.id, "_bsPostingReceiverName"),
|
|
130
|
-
name: "收件人姓名"
|
|
131
|
-
}));
|
|
132
|
-
this.receiverMobile = new ReceiverMobile(_objectSpread(_objectSpread({}, options), {}, {
|
|
133
|
-
id: "".concat(options.id, "_bsPostingReceiverMobile"),
|
|
134
|
-
name: "收件人电话"
|
|
135
|
-
}));
|
|
136
|
-
this.children = [this.province, this.city, this.district, this.detail, this.receiverName, this.receiverMobile];
|
|
137
|
-
this.rules = options !== null && options !== void 0 && (_options$componentCon = options.componentConfig) !== null && _options$componentCon !== void 0 && _options$componentCon.required ? [{
|
|
138
|
-
validator: function validator(_, value) {
|
|
139
|
-
var _value$postingAddress;
|
|
140
|
-
var addressLen = !(value !== null && value !== void 0 && (_value$postingAddress = value.postingAddress) !== null && _value$postingAddress !== void 0 && _value$postingAddress.length) || (value === null || value === void 0 ? void 0 : value.postingAddress.some(function (t) {
|
|
141
|
-
return !t;
|
|
142
|
-
}));
|
|
143
|
-
if (addressLen || !(value !== null && value !== void 0 && value.postingDetail) || !(value !== null && value !== void 0 && value.postingReceiverName) || !(value !== null && value !== void 0 && value.postingReceiverMobile)) {
|
|
144
|
-
return Promise.reject(new Error("请填写地址"));
|
|
145
|
-
}
|
|
146
|
-
return Promise.resolve();
|
|
147
|
-
}
|
|
148
|
-
}] : [];
|
|
149
|
-
});
|
|
150
|
-
_defineProperty(BsDeposit, "group", "THIRD_COMPONENT");
|
|
151
|
-
_defineProperty(BsDeposit, "configSchema", {
|
|
152
|
-
componentConfig: {
|
|
153
|
-
required: false
|
|
154
|
-
},
|
|
155
|
-
name: "bs地址信息",
|
|
156
|
-
uniqueKey: "6krsNUwn90",
|
|
157
|
-
schema: {
|
|
158
|
-
required: {
|
|
159
|
-
title: "必填",
|
|
160
|
-
type: "boolean"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
_defineProperty(BsDeposit, "type", "BS_POSTING");
|
|
165
|
-
export default BsDeposit;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import SendGood from "../../SendGood";
|
|
2
|
-
import { PickOption } from "../../../type";
|
|
3
|
-
declare class BsSendGood extends SendGood {
|
|
4
|
-
static group: string;
|
|
5
|
-
static configSchema: {
|
|
6
|
-
componentConfig: {
|
|
7
|
-
showField: string;
|
|
8
|
-
maxLength: number;
|
|
9
|
-
required: boolean;
|
|
10
|
-
};
|
|
11
|
-
name: string;
|
|
12
|
-
uniqueKey: string;
|
|
13
|
-
schema: {
|
|
14
|
-
required: {
|
|
15
|
-
title: string;
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
showField: {
|
|
19
|
-
type: string;
|
|
20
|
-
widget: string;
|
|
21
|
-
props: {
|
|
22
|
-
style: {
|
|
23
|
-
width: number;
|
|
24
|
-
};
|
|
25
|
-
options: {
|
|
26
|
-
label: string;
|
|
27
|
-
value: string;
|
|
28
|
-
}[];
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
static type: string;
|
|
34
|
-
constructor(options: PickOption);
|
|
35
|
-
}
|
|
36
|
-
export default BsSendGood;
|
|
@@ -1,68 +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 SendGood from "../../SendGood";
|
|
16
|
-
var BsSendGood = /*#__PURE__*/function (_SendGood) {
|
|
17
|
-
_inherits(BsSendGood, _SendGood);
|
|
18
|
-
var _super = _createSuper(BsSendGood);
|
|
19
|
-
function BsSendGood(options) {
|
|
20
|
-
var _this;
|
|
21
|
-
_classCallCheck(this, BsSendGood);
|
|
22
|
-
_this = _super.call(this, options);
|
|
23
|
-
_this.type = "BS_SEND_GOOD";
|
|
24
|
-
_this.suffixKey = "bsSendGood";
|
|
25
|
-
_this.suffixName = "bs";
|
|
26
|
-
_this.suffixSendId = "bsSendId";
|
|
27
|
-
_this.suffixSendName = "bsSendName";
|
|
28
|
-
return _this;
|
|
29
|
-
}
|
|
30
|
-
return _createClass(BsSendGood);
|
|
31
|
-
}(SendGood);
|
|
32
|
-
_defineProperty(BsSendGood, "group", "THIRD_COMPONENT");
|
|
33
|
-
_defineProperty(BsSendGood, "configSchema", {
|
|
34
|
-
componentConfig: {
|
|
35
|
-
showField: "all",
|
|
36
|
-
maxLength: 20,
|
|
37
|
-
required: false
|
|
38
|
-
},
|
|
39
|
-
name: "bs发货仓",
|
|
40
|
-
uniqueKey: "jh9fk8wBdH",
|
|
41
|
-
schema: {
|
|
42
|
-
required: {
|
|
43
|
-
title: "必填",
|
|
44
|
-
type: "boolean"
|
|
45
|
-
},
|
|
46
|
-
showField: {
|
|
47
|
-
type: "string",
|
|
48
|
-
widget: "select",
|
|
49
|
-
props: {
|
|
50
|
-
style: {
|
|
51
|
-
width: 200
|
|
52
|
-
},
|
|
53
|
-
options: [{
|
|
54
|
-
label: "全部",
|
|
55
|
-
value: "all"
|
|
56
|
-
}, {
|
|
57
|
-
label: "发货仓名称",
|
|
58
|
-
value: "sendName"
|
|
59
|
-
}, {
|
|
60
|
-
label: "发货仓编码",
|
|
61
|
-
value: "sendId"
|
|
62
|
-
}]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
_defineProperty(BsSendGood, "type", "BS_SEND_GOOD");
|
|
68
|
-
export default BsSendGood;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import CommonInput from "../CommonInput";
|
|
2
|
-
import { PickOption } from "../../type";
|
|
3
|
-
declare class BusinessOrderNo extends CommonInput {
|
|
4
|
-
static group: string;
|
|
5
|
-
static configSchema: {
|
|
6
|
-
componentConfig: {};
|
|
7
|
-
name: string;
|
|
8
|
-
uniqueKey: string;
|
|
9
|
-
schema: {
|
|
10
|
-
status: {
|
|
11
|
-
widget: string;
|
|
12
|
-
type: string;
|
|
13
|
-
default: {
|
|
14
|
-
created: number;
|
|
15
|
-
upgrade: number;
|
|
16
|
-
};
|
|
17
|
-
props: {
|
|
18
|
-
showOptionsKey: number[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
static type: string;
|
|
24
|
-
constructor(options: PickOption);
|
|
25
|
-
}
|
|
26
|
-
export default BusinessOrderNo;
|
|
@@ -1,53 +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 CommonInput from "../CommonInput";
|
|
16
|
-
import { SHOW_NOT_WRITE } from "../../constant";
|
|
17
|
-
var BusinessOrderNo = /*#__PURE__*/function (_CommonInput) {
|
|
18
|
-
_inherits(BusinessOrderNo, _CommonInput);
|
|
19
|
-
var _super = _createSuper(BusinessOrderNo);
|
|
20
|
-
function BusinessOrderNo(options) {
|
|
21
|
-
var _this;
|
|
22
|
-
_classCallCheck(this, BusinessOrderNo);
|
|
23
|
-
_this = _super.call(this, options);
|
|
24
|
-
_this.suffixKey = "businessOrderNo";
|
|
25
|
-
_this.suffixDisabled = true;
|
|
26
|
-
_this.suffixPlaceholder = "自动获取无需填写";
|
|
27
|
-
_this.type = "BUSINESS_ORDER_NO";
|
|
28
|
-
_this.canSort = false;
|
|
29
|
-
return _this;
|
|
30
|
-
}
|
|
31
|
-
return _createClass(BusinessOrderNo);
|
|
32
|
-
}(CommonInput);
|
|
33
|
-
_defineProperty(BusinessOrderNo, "group", "SPECIAL_COMPONENT");
|
|
34
|
-
_defineProperty(BusinessOrderNo, "configSchema", {
|
|
35
|
-
componentConfig: {},
|
|
36
|
-
name: "业务订单号",
|
|
37
|
-
uniqueKey: "4i9IZhYqx6",
|
|
38
|
-
schema: {
|
|
39
|
-
status: {
|
|
40
|
-
widget: "StatusConfig",
|
|
41
|
-
type: "object",
|
|
42
|
-
default: {
|
|
43
|
-
created: SHOW_NOT_WRITE,
|
|
44
|
-
upgrade: SHOW_NOT_WRITE
|
|
45
|
-
},
|
|
46
|
-
props: {
|
|
47
|
-
showOptionsKey: [2, 0]
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
_defineProperty(BusinessOrderNo, "type", "BUSINESS_ORDER_NO");
|
|
53
|
-
export default BusinessOrderNo;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import BasicSelect from "../Select";
|
|
2
|
-
import { PickOption } from "../../type";
|
|
3
|
-
declare class BuyerMessageNotice extends BasicSelect {
|
|
4
|
-
name: string;
|
|
5
|
-
id: string;
|
|
6
|
-
type: string;
|
|
7
|
-
suffixKey: string;
|
|
8
|
-
static group: string;
|
|
9
|
-
static configSchema: {
|
|
10
|
-
componentConfig: {
|
|
11
|
-
required: boolean;
|
|
12
|
-
options: {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
name: string;
|
|
18
|
-
uniqueKey: string;
|
|
19
|
-
schema: {
|
|
20
|
-
required: {
|
|
21
|
-
title: string;
|
|
22
|
-
type: string;
|
|
23
|
-
};
|
|
24
|
-
status: {
|
|
25
|
-
widget: string;
|
|
26
|
-
type: string;
|
|
27
|
-
default: {
|
|
28
|
-
created: number;
|
|
29
|
-
upgrade: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
static type: string;
|
|
35
|
-
constructor(options: PickOption);
|
|
36
|
-
}
|
|
37
|
-
export default BuyerMessageNotice;
|
|
@@ -1,66 +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 BasicSelect from "../Select";
|
|
16
|
-
import { SHOW_WRITE } from "../../constant";
|
|
17
|
-
var BuyerMessageNotice = /*#__PURE__*/function (_BasicSelect) {
|
|
18
|
-
_inherits(BuyerMessageNotice, _BasicSelect);
|
|
19
|
-
var _super = _createSuper(BuyerMessageNotice);
|
|
20
|
-
function BuyerMessageNotice(options) {
|
|
21
|
-
var _this;
|
|
22
|
-
_classCallCheck(this, BuyerMessageNotice);
|
|
23
|
-
_this = _super.call(this, options);
|
|
24
|
-
_defineProperty(_assertThisInitialized(_this), "name", void 0);
|
|
25
|
-
_defineProperty(_assertThisInitialized(_this), "id", void 0);
|
|
26
|
-
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
27
|
-
_defineProperty(_assertThisInitialized(_this), "suffixKey", void 0);
|
|
28
|
-
_this.name = options.name;
|
|
29
|
-
_this.id = options.id;
|
|
30
|
-
_this.suffixKey = "buyerMessageNotice";
|
|
31
|
-
_this.type = "BUYER_MESSAGE_NOTICE";
|
|
32
|
-
return _this;
|
|
33
|
-
}
|
|
34
|
-
return _createClass(BuyerMessageNotice);
|
|
35
|
-
}(BasicSelect);
|
|
36
|
-
_defineProperty(BuyerMessageNotice, "group", "SPECIAL_COMPONENT");
|
|
37
|
-
_defineProperty(BuyerMessageNotice, "configSchema", {
|
|
38
|
-
componentConfig: {
|
|
39
|
-
required: false,
|
|
40
|
-
options: [{
|
|
41
|
-
label: "未通知",
|
|
42
|
-
value: "未通知"
|
|
43
|
-
}, {
|
|
44
|
-
label: "已通知",
|
|
45
|
-
value: "已通知"
|
|
46
|
-
}]
|
|
47
|
-
},
|
|
48
|
-
name: "买家消息通知(勿填)",
|
|
49
|
-
uniqueKey: "Dfs86Ack86",
|
|
50
|
-
schema: {
|
|
51
|
-
required: {
|
|
52
|
-
title: "必填",
|
|
53
|
-
type: "boolean"
|
|
54
|
-
},
|
|
55
|
-
status: {
|
|
56
|
-
widget: "StatusConfig",
|
|
57
|
-
type: "object",
|
|
58
|
-
default: {
|
|
59
|
-
created: SHOW_WRITE,
|
|
60
|
-
upgrade: SHOW_WRITE
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
_defineProperty(BuyerMessageNotice, "type", "BUYER_MESSAGE_NOTICE");
|
|
66
|
-
export default BuyerMessageNotice;
|
|
@@ -1,29 +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 FatherDateTime from "./index";
|
|
16
|
-
var CompletedDateTime = /*#__PURE__*/function (_FatherDateTime) {
|
|
17
|
-
_inherits(CompletedDateTime, _FatherDateTime);
|
|
18
|
-
var _super = _createSuper(CompletedDateTime);
|
|
19
|
-
function CompletedDateTime(options) {
|
|
20
|
-
var _this;
|
|
21
|
-
_classCallCheck(this, CompletedDateTime);
|
|
22
|
-
_this = _super.call(this, options);
|
|
23
|
-
_this.type = 'COMPLETED_DATETIME';
|
|
24
|
-
return _this;
|
|
25
|
-
}
|
|
26
|
-
return _createClass(CompletedDateTime);
|
|
27
|
-
}(FatherDateTime);
|
|
28
|
-
_defineProperty(CompletedDateTime, "type", 'COMPLETED_DATETIME');
|
|
29
|
-
export default CompletedDateTime;
|