@kmkf-fe-packages/services-components 1.6.1 → 1.8.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/esm/commonComponents/GlobalContext/index.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/index.js +1 -1
- package/dist/esm/components/ActualPayment/index.js +1 -1
- package/dist/esm/components/Address/index.js +1 -1
- package/dist/esm/components/AfterSalesOrderId/index.js +1 -1
- package/dist/esm/components/Alipay/index.js +1 -1
- package/dist/esm/components/AlipayAccount/index.js +1 -1
- package/dist/esm/components/AlipayName/index.js +1 -1
- package/dist/esm/components/BS/BsExchange/index.js +1 -1
- package/dist/esm/components/BS/BsGoods/index.js +1 -1
- package/dist/esm/components/BS/BsLogistics/index.js +1 -1
- package/dist/esm/components/BS/BsPosting/index.js +1 -1
- package/dist/esm/components/BS/BsReissue/index.js +1 -1
- package/dist/esm/components/BS/BsReturn/index.js +1 -1
- package/dist/esm/components/BS/BsSystemOrder/index.js +1 -1
- package/dist/esm/components/BS/DeliveryNo/index.js +1 -1
- package/dist/esm/components/BuyerNick/index.js +1 -1
- package/dist/esm/components/Calculation/index.js +1 -1
- package/dist/esm/components/Cascader/index.js +1 -1
- package/dist/esm/components/Checkbox/index.js +1 -1
- package/dist/esm/components/Common/index.js +5 -3
- package/dist/esm/components/CommonInput/index.js +1 -1
- package/dist/esm/components/CommonMultiStatus/index.js +1 -1
- package/dist/esm/components/CommonSystemOrder/index.js +1 -1
- package/dist/esm/components/CommonTradeId/index.js +1 -1
- package/dist/esm/components/DataTime/index.js +1 -1
- package/dist/esm/components/EItemEnCode/index.js +1 -1
- package/dist/esm/components/EItemId/index.js +1 -1
- package/dist/esm/components/EItemSelect/index.js +1 -1
- package/dist/esm/components/ErpTradeId/index.js +1 -1
- package/dist/esm/components/Express/index.js +1 -1
- package/dist/esm/components/ExpressCode/index.js +1 -1
- package/dist/esm/components/File/index.js +1 -1
- package/dist/esm/components/FlowMarkSelect/index.js +1 -1
- package/dist/esm/components/FlowStatusSelect/index.js +1 -1
- package/dist/esm/components/FlowTag/index.js +1 -1
- package/dist/esm/components/FlowWorkOrderId/index.js +1 -1
- package/dist/esm/components/FlowWorkOrderStatus/index.js +1 -1
- package/dist/esm/components/Grade/index.js +1 -1
- package/dist/esm/components/Input/index.js +1 -1
- package/dist/esm/components/JST/JstItemSelect/index.js +1 -1
- package/dist/esm/components/JST/JstLogistics/index.js +1 -1
- package/dist/esm/components/JST/JstSendGood/index.js +1 -1
- package/dist/esm/components/JST/JstSupply/index.js +1 -1
- package/dist/esm/components/KmErpSendGood/index.js +1 -1
- package/dist/esm/components/Label/index.js +1 -1
- package/dist/esm/components/Logistics/index.js +1 -1
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +1 -1
- package/dist/esm/components/LogisticsInterception/index.js +1 -1
- package/dist/esm/components/LogisticsMoreInterception/index.js +1 -1
- package/dist/esm/components/LogisticsMoreTrajectory/index.js +1 -1
- package/dist/esm/components/LogisticsTrajectory/index.js +1 -1
- package/dist/esm/components/MsgStatus/index.js +4 -2
- package/dist/esm/components/MultSelect/index.js +1 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +1 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +1 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +1 -1
- package/dist/esm/components/Ordinary/index.js +1 -1
- package/dist/esm/components/Payment/AlipayNick.js +1 -1
- package/dist/esm/components/Payment/AlipayNo.js +1 -1
- package/dist/esm/components/Payment/AlipayTime.js +1 -1
- package/dist/esm/components/Payment/BuyerNick.js +1 -1
- package/dist/esm/components/Payment/PaymentAmount.js +1 -1
- package/dist/esm/components/Payment/PaymentTid.js +1 -1
- package/dist/esm/components/Payment/index.js +1 -1
- package/dist/esm/components/PaymentVoucherCode/Preview.d.ts +6 -0
- package/dist/esm/components/PaymentVoucherCode/Preview.js +86 -0
- package/dist/esm/components/PaymentVoucherCode/index.js +4 -5
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PostIng/index.js +1 -1
- package/dist/esm/components/Radio/index.js +1 -1
- package/dist/esm/components/Rate/index.js +1 -1
- package/dist/esm/components/ReceiverAddress/index.js +1 -1
- package/dist/esm/components/ReceiverMobile/index.js +1 -1
- package/dist/esm/components/ReceiverName/index.js +1 -1
- package/dist/esm/components/Remark/index.js +1 -1
- package/dist/esm/components/ReturnLogistics/index.js +1 -1
- package/dist/esm/components/Select/index.js +1 -1
- package/dist/esm/components/ShopName/index.js +1 -1
- package/dist/esm/components/StatusSelect/index.js +1 -1
- package/dist/esm/components/SubForm/index.d.ts +34 -0
- package/dist/esm/components/SubForm/index.js +184 -0
- package/dist/esm/components/SystemOrderNo/index.js +1 -1
- package/dist/esm/components/TextArea/index.js +1 -1
- package/dist/esm/components/ThirdItemSelect/index.js +1 -1
- package/dist/esm/components/TradeDateTime/index.js +1 -1
- package/dist/esm/components/TradeId/index.js +1 -1
- package/dist/esm/components/WDT/WdtExchange/index.js +1 -1
- package/dist/esm/components/WDT/WdtGoods/index.js +1 -1
- package/dist/esm/components/WDT/WdtRessuie/index.js +1 -1
- package/dist/esm/components/WDT/WdtReturn/index.js +1 -1
- package/dist/esm/components/WLN/WlnGoods/index.js +1 -1
- package/dist/esm/components/WorkOrderId/index.js +1 -1
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +5 -4
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/type.d.ts +26 -18
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare type RequestType = "queryAddressData" | "queryBsAddressData" | "queryExpressInterceptData" | "queryLogisticsAddressData" | "queryPlatData" | "queryWdtAddressData" | "queryAllLogisticsCompany" | "
|
|
2
|
+
declare type RequestType = "queryAddressData" | "queryBsAddressData" | "queryExpressInterceptData" | "queryLogisticsAddressData" | "queryPlatData" | "queryWdtAddressData" | "queryAllLogisticsCompany" | "queryWdtLogisticsCompany" | "queryWdtSendData" | "queryLabel";
|
|
3
3
|
declare const Global: ({ children, requestList, repeatRequestList }: React.PropsWithChildren<{
|
|
4
4
|
requestList?: RequestType[] | undefined;
|
|
5
5
|
repeatRequestList?: Record<string, () => Promise<any>> | undefined;
|
|
@@ -15,7 +15,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
15
15
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
16
16
|
import React, { useEffect, useState } from "react";
|
|
17
17
|
import { Skeleton, Result, Button } from "antd";
|
|
18
|
-
import { queryExpressInterceptData, queryLogisticsAddressData, queryPlatData,
|
|
18
|
+
import { queryExpressInterceptData, queryLogisticsAddressData, queryPlatData, queryWdtLogisticsCompany, queryWdtSendData, queryAllLogisticsCompany, queryLabel } from "../../service/api";
|
|
19
19
|
import { servers } from '@kmkf-fe-packages/kmkf-utils';
|
|
20
20
|
var Global = function Global(_ref) {
|
|
21
21
|
var children = _ref.children,
|
|
@@ -74,7 +74,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
74
74
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
75
75
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
76
76
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
77
|
-
tooltip: (_this$componentConfig3 =
|
|
77
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
78
78
|
component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
|
|
79
79
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
|
|
80
80
|
}))
|
|
@@ -93,7 +93,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
93
93
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
94
94
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
95
95
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
96
|
-
tooltip: (_this$componentConfig3 =
|
|
96
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
97
97
|
component: /*#__PURE__*/React.createElement(ApaasAddress, _this.componentConfig)
|
|
98
98
|
});
|
|
99
99
|
});
|
|
@@ -61,7 +61,7 @@ var AfterSalesOrderId = /*#__PURE__*/_createClass(function AfterSalesOrderId(opt
|
|
|
61
61
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
62
62
|
validateTrigger: ["onBlur", "onChange"],
|
|
63
63
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
64
|
-
tooltip: (_this$componentConfig3 =
|
|
64
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
65
65
|
component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
|
|
66
66
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
|
|
67
67
|
}))
|
|
@@ -57,7 +57,7 @@ var Alipay = /*#__PURE__*/_createClass(function Alipay(options) {
|
|
|
57
57
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
58
58
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
59
59
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
60
|
-
tooltip: (_this$componentConfig3 =
|
|
60
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
61
61
|
component: /*#__PURE__*/React.createElement(AliPay, _extends({}, _this.componentConfig, {
|
|
62
62
|
onBlur: p === null || p === void 0 ? void 0 : p.onBlur
|
|
63
63
|
}))
|
|
@@ -68,7 +68,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
68
68
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
69
69
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
70
70
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
71
|
-
tooltip: (_this$componentConfig3 =
|
|
71
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
72
72
|
component: /*#__PURE__*/React.createElement(AlipayAccount, _this.componentConfig)
|
|
73
73
|
});
|
|
74
74
|
});
|
|
@@ -67,7 +67,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
67
67
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
68
68
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
69
69
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
70
|
-
tooltip: (_this$componentConfig3 =
|
|
70
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
71
71
|
component: /*#__PURE__*/React.createElement(AlipayName, _this.componentConfig)
|
|
72
72
|
});
|
|
73
73
|
});
|
|
@@ -99,7 +99,7 @@ var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
|
|
|
99
99
|
required: false,
|
|
100
100
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
101
101
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
102
|
-
tooltip: (_this$componentConfig7 =
|
|
102
|
+
tooltip: (_this$componentConfig7 = _this.componentConfig) !== null && _this$componentConfig7 !== void 0 && _this$componentConfig7.showTooltip ? (_this$componentConfig8 = _this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.tooltip : '',
|
|
103
103
|
component: /*#__PURE__*/React.createElement(Exchange, _extends({}, _this.componentConfig, {
|
|
104
104
|
maxLength: ((_this$componentConfig9 = _this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : _this$componentConfig9.maxLength) || 20,
|
|
105
105
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
@@ -70,7 +70,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
70
70
|
required: false,
|
|
71
71
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
72
72
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
73
|
-
tooltip: (_this$componentConfig3 =
|
|
73
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
74
74
|
component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
|
|
75
75
|
maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
|
|
76
76
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
@@ -147,7 +147,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
147
147
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
148
148
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
149
149
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
150
|
-
tooltip: (_this$componentConfig3 =
|
|
150
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
151
151
|
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
|
152
152
|
type: 1,
|
|
153
153
|
platformType: _this.type === 'WDT_LOGISTICS' ? 'wdt' : 'default',
|
|
@@ -88,7 +88,7 @@ var BsPosting = /*#__PURE__*/_createClass(function BsPosting(options) {
|
|
|
88
88
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
89
89
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
90
90
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
91
|
-
tooltip: (_this$componentConfig3 =
|
|
91
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
92
92
|
component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
|
|
93
93
|
type: _this.type === "POSTING" || ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.showField) === "workOrder" ? "workOrder" : "bs"
|
|
94
94
|
}))
|
|
@@ -98,7 +98,7 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
|
|
|
98
98
|
required: false,
|
|
99
99
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
100
100
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
101
|
-
tooltip: (_this$componentConfig3 =
|
|
101
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
102
102
|
component: /*#__PURE__*/React.createElement(Reissue, _extends({}, _this.componentConfig, {
|
|
103
103
|
maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
|
|
104
104
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
@@ -71,7 +71,7 @@ var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
|
|
|
71
71
|
required: false,
|
|
72
72
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
73
73
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
74
|
-
tooltip: (_this$componentConfig3 =
|
|
74
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
75
75
|
component: /*#__PURE__*/React.createElement(BsReturnGoods, _extends({}, _this.componentConfig, {
|
|
76
76
|
maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
|
|
77
77
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
@@ -93,7 +93,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
|
93
93
|
required: false,
|
|
94
94
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
95
95
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
96
|
-
tooltip: (_this$componentConfig =
|
|
96
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
|
|
97
97
|
component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
|
|
98
98
|
onChange: p === null || p === void 0 ? void 0 : p.onChange,
|
|
99
99
|
type: _this.type
|
|
@@ -90,7 +90,7 @@ var DeliveryNo = /*#__PURE__*/_createClass(function DeliveryNo(options) {
|
|
|
90
90
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
91
91
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
92
92
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
93
|
-
tooltip: (_this$componentConfig3 =
|
|
93
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
94
94
|
component: /*#__PURE__*/React.createElement(CommonSystemOrder, _extends({}, _this.componentConfig, {
|
|
95
95
|
type: 1
|
|
96
96
|
}))
|
|
@@ -93,7 +93,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
|
|
|
93
93
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
94
94
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
95
95
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
96
|
-
tooltip: (_this$componentConfig3 =
|
|
96
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
97
97
|
component: /*#__PURE__*/React.createElement(BuyerNick, _extends({}, _this.componentConfig, {
|
|
98
98
|
shopId: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.shopId,
|
|
99
99
|
shopList: (_this$effects4 = _this.effects) === null || _this$effects4 === void 0 ? void 0 : _this$effects4.shopList,
|
|
@@ -62,7 +62,7 @@ var Calculation = /*#__PURE__*/_createClass(function Calculation(options) {
|
|
|
62
62
|
display: (_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && (_this$componentConfig5 = _this$componentConfig4.config) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.display ? 'unset' : 'none'
|
|
63
63
|
} // TODO: 样式隐藏
|
|
64
64
|
,
|
|
65
|
-
tooltip: (_this$componentConfig6 =
|
|
65
|
+
tooltip: (_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.showTooltip ? (_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.tooltip : '',
|
|
66
66
|
component: /*#__PURE__*/React.createElement(CalculationInput, _extends({}, _this.componentConfig, {
|
|
67
67
|
disabled: true
|
|
68
68
|
}))
|
|
@@ -82,7 +82,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(_options) {
|
|
|
82
82
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
83
83
|
required: (_this$componentConfig4 = (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.required) !== null && _this$componentConfig4 !== void 0 ? _this$componentConfig4 : false,
|
|
84
84
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
85
|
-
tooltip: (_this$componentConfig6 =
|
|
85
|
+
tooltip: (_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.showTooltip ? (_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.tooltip : '',
|
|
86
86
|
component: /*#__PURE__*/React.createElement(Cascader, _extends({}, _this.componentConfig, {
|
|
87
87
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
88
88
|
options: transMultSelectOptions(((_this$componentConfig8 = _this.componentConfig) === null || _this$componentConfig8 === void 0 ? void 0 : _this$componentConfig8.options) || []),
|
|
@@ -88,7 +88,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
88
88
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
89
89
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
90
90
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
91
|
-
tooltip: (_this$componentConfig3 =
|
|
91
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
92
92
|
component: /*#__PURE__*/React.createElement(ApaasCheckbox, _this.componentConfig)
|
|
93
93
|
});
|
|
94
94
|
});
|
|
@@ -16,10 +16,10 @@ import { Form, Button, Modal, Tooltip, Space, Image, Popover, Table, message, Ty
|
|
|
16
16
|
import React, { useState, useMemo } from "react";
|
|
17
17
|
import { ExpressData, WdtSendData } from "@kmkf-fe-packages/kmkf-utils";
|
|
18
18
|
import { getAlipayBillReceipt } from "../../service/api";
|
|
19
|
-
import { CopyToClipboard } from
|
|
19
|
+
import { CopyToClipboard } from "react-copy-to-clipboard";
|
|
20
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
20
21
|
import styles from "./index.module.less";
|
|
21
22
|
import defaultImg from "./img/default-img.png";
|
|
22
|
-
import CopyText from "../../commonComponents/CopyText";
|
|
23
23
|
var Paragraph = Typography.Paragraph;
|
|
24
24
|
export var getFormItem = function getFormItem(_ref) {
|
|
25
25
|
var name = _ref.name,
|
|
@@ -1058,7 +1058,9 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
1058
1058
|
wechat: '微信',
|
|
1059
1059
|
qq: 'QQ',
|
|
1060
1060
|
qywx: '企业微信',
|
|
1061
|
-
YZDKH: '
|
|
1061
|
+
YZDKH: '邮政拦截',
|
|
1062
|
+
YT: '圆通拦截',
|
|
1063
|
+
feishu: '飞书'
|
|
1062
1064
|
};
|
|
1063
1065
|
var detailContent = function detailContent(item) {
|
|
1064
1066
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -70,7 +70,7 @@ var CommonInput = /*#__PURE__*/_createClass(function CommonInput(options) {
|
|
|
70
70
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
71
71
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
72
72
|
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,
|
|
73
|
-
tooltip: (_this$componentConfig3 =
|
|
73
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
74
74
|
component: /*#__PURE__*/React.createElement(Input, _extends({}, _this.componentConfig, {
|
|
75
75
|
placeholder: INPUT_MAP[_this.type].placeholder || "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
76
76
|
disabled: INPUT_MAP[_this.type].disabled
|
|
@@ -162,7 +162,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
|
|
|
162
162
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
163
163
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
164
164
|
required: (_this$componentConfig4 = (_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.required) !== null && _this$componentConfig4 !== void 0 ? _this$componentConfig4 : false,
|
|
165
|
-
tooltip: (_this$componentConfig6 =
|
|
165
|
+
tooltip: (_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.showTooltip ? (_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.tooltip : '',
|
|
166
166
|
component: /*#__PURE__*/React.createElement(Status, _extends({}, _this.componentConfig, {
|
|
167
167
|
type: (_typeMap$_this$type18 = typeMap[_this.type]) === null || _typeMap$_this$type18 === void 0 ? void 0 : _typeMap$_this$type18.type,
|
|
168
168
|
failValue: typeMap[_this.type].failValue
|
|
@@ -119,7 +119,7 @@ var CommonSystemOrder = /*#__PURE__*/_createClass(function CommonSystemOrder(opt
|
|
|
119
119
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
120
120
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
121
121
|
required: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.required) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : false,
|
|
122
|
-
tooltip: (_this$componentConfig5 =
|
|
122
|
+
tooltip: (_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.showTooltip ? (_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.tooltip : '',
|
|
123
123
|
component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
|
|
124
124
|
type: (_typeMap$_this$type9 = typeMap[_this.type]) === null || _typeMap$_this$type9 === void 0 ? void 0 : _typeMap$_this$type9.type
|
|
125
125
|
}))
|
|
@@ -79,7 +79,7 @@ var CommonTradeId = /*#__PURE__*/_createClass(function CommonTradeId(options) {
|
|
|
79
79
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
80
80
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
81
81
|
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,
|
|
82
|
-
tooltip: (_this$componentConfig3 =
|
|
82
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
83
83
|
component: /*#__PURE__*/React.createElement(Input, _extends({}, _this.componentConfig, {
|
|
84
84
|
placeholder: "\u65E0\u987B\u586B\u5199",
|
|
85
85
|
disabled: true
|
|
@@ -87,7 +87,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
87
87
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
88
88
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
89
89
|
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,
|
|
90
|
-
tooltip: (_this$componentConfig3 =
|
|
90
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
91
91
|
component: /*#__PURE__*/React.createElement(DateTime, _this.componentConfig)
|
|
92
92
|
});
|
|
93
93
|
});
|
|
@@ -86,7 +86,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
|
|
|
86
86
|
required: false,
|
|
87
87
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
88
88
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
89
|
-
tooltip: (_this$componentConfig =
|
|
89
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
|
|
90
90
|
component: /*#__PURE__*/React.createElement(ItemEncode, _extends({
|
|
91
91
|
isSingleRow: _this.platform !== 'pc'
|
|
92
92
|
}, _this.componentConfig, {
|
|
@@ -75,7 +75,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
75
75
|
required: false,
|
|
76
76
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
77
77
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
78
|
-
tooltip: (_this$componentConfig =
|
|
78
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
|
|
79
79
|
component: /*#__PURE__*/React.createElement(ItemId, _extends({}, _this.componentConfig, {
|
|
80
80
|
maxLength: ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.maxLength) || 20,
|
|
81
81
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
@@ -70,7 +70,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
|
|
|
70
70
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
71
71
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
72
72
|
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,
|
|
73
|
-
tooltip: (_this$componentConfig3 =
|
|
73
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
74
74
|
component: /*#__PURE__*/React.createElement(ItemSelect, _extends({}, _this.componentConfig, {
|
|
75
75
|
maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
|
|
76
76
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
@@ -40,7 +40,7 @@ var ErpTradeId = /*#__PURE__*/function (_TradeId) {
|
|
|
40
40
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
41
41
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
42
42
|
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,
|
|
43
|
-
tooltip: (_this$componentConfig3 =
|
|
43
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
44
44
|
component: /*#__PURE__*/React.createElement(OrderNo, _extends({}, _this.componentConfig, {
|
|
45
45
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
46
46
|
onTradeIdBlur: onTradeIdBlur
|
|
@@ -62,7 +62,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
62
62
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
63
63
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
64
64
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
65
|
-
tooltip: (_this$componentConfig3 =
|
|
65
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
66
66
|
component: !((_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.isSingle) || ((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.showField) === "EXPRESS_COMPANY" ? /*#__PURE__*/React.createElement(ExpressCompany, {
|
|
67
67
|
options: _this.expressDateInstance.getExpressData()
|
|
68
68
|
}) : null
|
|
@@ -63,7 +63,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
63
63
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
64
64
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
65
65
|
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,
|
|
66
|
-
tooltip: (_this$componentConfig3 =
|
|
66
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
67
67
|
component: !((_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.isSingle) || ((_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.showField) === "EXPRESS_WAYBILL_CODE" ? /*#__PURE__*/React.createElement(Input, null) : null
|
|
68
68
|
});
|
|
69
69
|
});
|
|
@@ -81,7 +81,7 @@ var BasicFile = /*#__PURE__*/_createClass(function BasicFile(options) {
|
|
|
81
81
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
82
82
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
83
83
|
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,
|
|
84
|
-
tooltip: (_this$componentConfig3 =
|
|
84
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
85
85
|
component: /*#__PURE__*/React.createElement(ApaasUploadFile, _extends({}, _this.componentConfig, {
|
|
86
86
|
uniqueKey: _this.id,
|
|
87
87
|
platform: p === null || p === void 0 ? void 0 : p.platform,
|
|
@@ -94,7 +94,7 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
|
|
|
94
94
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
95
95
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
96
96
|
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,
|
|
97
|
-
tooltip: (_this$componentConfig3 =
|
|
97
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
98
98
|
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
|
|
99
99
|
placeholder: "\u8BF7\u9009\u62E9".concat(_this.name)
|
|
100
100
|
}))
|
|
@@ -69,7 +69,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
69
69
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
70
70
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
71
71
|
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,
|
|
72
|
-
tooltip: (_this$componentConfig3 =
|
|
72
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
73
73
|
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
|
|
74
74
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
75
75
|
showSearch: true
|
|
@@ -93,7 +93,7 @@ var FlowTag = /*#__PURE__*/_createClass(function FlowTag(options) {
|
|
|
93
93
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
94
94
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
95
95
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
96
|
-
tooltip: (_this$componentConfig3 =
|
|
96
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
97
97
|
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
|
|
98
98
|
placeholder: "\u8BF7\u9009\u62E9".concat(_this.name)
|
|
99
99
|
}))
|
|
@@ -62,7 +62,7 @@ var FlowWorkOrderId = /*#__PURE__*/_createClass(function FlowWorkOrderId(options
|
|
|
62
62
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
63
63
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
64
64
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
65
|
-
tooltip: (_this$componentConfig3 =
|
|
65
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
66
66
|
component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
|
|
67
67
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name)
|
|
68
68
|
}))
|
|
@@ -63,7 +63,7 @@ var FlowWorkOrderStatus = /*#__PURE__*/_createClass(function FlowWorkOrderStatus
|
|
|
63
63
|
rules: _this.rules,
|
|
64
64
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
65
65
|
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,
|
|
66
|
-
tooltip: (_this$componentConfig3 =
|
|
66
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
67
67
|
component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
|
|
68
68
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
69
69
|
showSearch: true
|
|
@@ -55,7 +55,7 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
|
|
|
55
55
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
56
56
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
57
57
|
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,
|
|
58
|
-
tooltip: (_this$componentConfig3 =
|
|
58
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
59
59
|
component: /*#__PURE__*/React.createElement(ApaasSlider, _this.componentConfig)
|
|
60
60
|
});
|
|
61
61
|
});
|
|
@@ -66,7 +66,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
66
66
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
67
67
|
validateTrigger: ["onBlur", "onChange"],
|
|
68
68
|
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,
|
|
69
|
-
tooltip: (_this$componentConfig3 =
|
|
69
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
70
70
|
component: /*#__PURE__*/React.createElement(ApaasInput, _extends({}, _this.componentConfig, {
|
|
71
71
|
placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
|
|
72
72
|
onChange: function onChange(e) {
|
|
@@ -76,7 +76,7 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
76
76
|
required: false,
|
|
77
77
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
78
78
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
79
|
-
tooltip: (_this$componentConfig =
|
|
79
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
|
|
80
80
|
component: /*#__PURE__*/React.createElement(JstItemList, _extends({}, _this.componentConfig, {
|
|
81
81
|
width: "90%"
|
|
82
82
|
}))
|
|
@@ -139,7 +139,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(_options) {
|
|
|
139
139
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
140
140
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
141
141
|
required: (_this$componentConfig3 = (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.required) !== null && _this$componentConfig3 !== void 0 ? _this$componentConfig3 : false,
|
|
142
|
-
tooltip: (_this$componentConfig5 =
|
|
142
|
+
tooltip: (_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.showTooltip ? (_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.tooltip : '',
|
|
143
143
|
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
|
144
144
|
type: 1,
|
|
145
145
|
options: _this.expressDateInstance.getExpressData(),
|
|
@@ -145,7 +145,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
145
145
|
required: false,
|
|
146
146
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
147
147
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
148
|
-
tooltip: (_this$componentConfig =
|
|
148
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
|
|
149
149
|
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
|
150
150
|
type: 3,
|
|
151
151
|
platformType: _this.type === 'WDT_SEND_GOOD' ? 'wdt' : 'default'
|
|
@@ -78,7 +78,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
78
78
|
required: false,
|
|
79
79
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
80
80
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
81
|
-
tooltip: (_this$componentConfig =
|
|
81
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
|
|
82
82
|
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
|
83
83
|
type: 2
|
|
84
84
|
}))
|
|
@@ -113,7 +113,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
113
113
|
required: false,
|
|
114
114
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
115
115
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
116
|
-
tooltip: (_this$componentConfig =
|
|
116
|
+
tooltip: (_this$componentConfig = _this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.showTooltip ? (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.tooltip : '',
|
|
117
117
|
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
|
118
118
|
type: 3,
|
|
119
119
|
platformType: _this.type === 'WDT_SEND_GOOD' ? 'wdt' : 'default'
|
|
@@ -76,7 +76,7 @@ var Label = /*#__PURE__*/_createClass(function Label(options) {
|
|
|
76
76
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
77
77
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
78
78
|
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,
|
|
79
|
-
tooltip: (_this$componentConfig3 =
|
|
79
|
+
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : '',
|
|
80
80
|
component: /*#__PURE__*/React.createElement(EditRenderItem, _extends({}, _this.componentConfig, {
|
|
81
81
|
placeholder: "\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210",
|
|
82
82
|
showSearch: true,
|