@kmkf-fe-packages/services-components 2.0.0-rc.0 → 2.0.0-rc.10
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/dist/esm/commonComponents/GlobalContext/index.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/index.js +3 -2
- package/dist/esm/commonComponents/ShopList/index.d.ts +2 -1
- package/dist/esm/commonComponents/ShopList/index.js +5 -5
- package/dist/esm/components/ActualPayment/index.js +5 -3
- package/dist/esm/components/BS/BsGoods/index.js +6 -2
- package/dist/esm/components/BS/BsLogistics/index.d.ts +1 -0
- package/dist/esm/components/BS/BsLogistics/index.js +23 -10
- package/dist/esm/components/BS/BsSystemOrder/index.d.ts +5 -5
- package/dist/esm/components/BS/BsSystemOrder/index.js +172 -32
- package/dist/esm/components/BS/common/BsHeaderChild.d.ts +7 -4
- package/dist/esm/components/BS/common/BsHeaderChild.js +27 -10
- package/dist/esm/components/BS/common/BsHeaderGood.d.ts +1 -0
- package/dist/esm/components/BS/common/BsHeaderGood.js +178 -101
- package/dist/esm/components/BS/common/BsMemo.js +2 -1
- package/dist/esm/components/BS/common/BsType.js +2 -1
- package/dist/esm/components/BS/common/SystemOrderNo.js +2 -1
- package/dist/esm/components/BS/common/expressCode.js +3 -0
- package/dist/esm/components/BS/common/expressCompany.js +3 -0
- package/dist/esm/components/BsE3/BsGoods/index.d.ts +33 -0
- package/dist/esm/components/BsE3/BsGoods/index.js +123 -0
- package/dist/esm/components/BsE3/BsReissueE3/index.d.ts +58 -0
- package/dist/esm/components/BsE3/BsReissueE3/index.js +191 -0
- package/dist/esm/components/BsE3/ReissueGift/index.d.ts +26 -0
- package/dist/esm/components/BsE3/ReissueGift/index.js +83 -0
- package/dist/esm/components/Cascader/index.d.ts +1 -1
- package/dist/esm/components/Cascader/index.js +34 -18
- package/dist/esm/components/Common/index.d.ts +6 -5
- package/dist/esm/components/Common/index.js +688 -307
- package/dist/esm/components/CommonHeaderGood/index copy.d.ts +27 -0
- package/dist/esm/components/CommonHeaderGood/index copy.js +659 -0
- package/dist/esm/components/CommonHeaderGood/index.d.ts +1 -0
- package/dist/esm/components/CommonHeaderGood/index.js +409 -92
- package/dist/esm/components/CommonMultiStatus/index.d.ts +5 -4
- package/dist/esm/components/CommonMultiStatus/index.js +98 -65
- package/dist/esm/components/EItemEnCode/index.js +8 -7
- package/dist/esm/components/Input/index.js +1 -1
- package/dist/esm/components/JST/JstLogistics/index.js +3 -3
- package/dist/esm/components/JST/JstSendGood/index.js +48 -31
- package/dist/esm/components/KmErpSendGood/index.js +7 -7
- package/dist/esm/components/MemberLevel/index.d.ts +35 -0
- package/dist/esm/components/MemberLevel/index.js +119 -0
- package/dist/esm/components/Picture/index.d.ts +6 -5
- package/dist/esm/components/Picture/index.js +33 -23
- package/dist/esm/components/Radio/index.js +3 -2
- package/dist/esm/components/Select/index.d.ts +1 -0
- package/dist/esm/components/Select/index.js +22 -7
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +16 -4
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/service/api.d.ts +2 -1
- package/dist/esm/service/api.js +25 -5
- package/dist/esm/type.d.ts +13 -2
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare type RequestType = "queryAddressData" | "queryBsAddressData" | "queryExpressInterceptData" | "queryLogisticsAddressData" | "queryPlatData" | "queryWdtAddressData" | "queryAllLogisticsCompany" | "queryLabel" | "queryWdtLogisticsCompany" | "
|
|
2
|
+
declare type RequestType = "queryAddressData" | "queryBsAddressData" | "queryExpressInterceptData" | "queryLogisticsAddressData" | "queryPlatData" | "queryWdtAddressData" | "queryAllLogisticsCompany" | "queryLabel" | "queryWdtLogisticsCompany" | "queryBsE3LogisticsCompany" | "querySendData";
|
|
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, Button, Alert, Space } from "antd";
|
|
18
|
-
import { queryExpressInterceptData, queryLogisticsAddressData, queryPlatData, queryLabel, queryAllLogisticsCompany, queryWdtLogisticsCompany,
|
|
18
|
+
import { queryExpressInterceptData, queryLogisticsAddressData, queryPlatData, queryLabel, queryAllLogisticsCompany, queryWdtLogisticsCompany, queryBsE3LogisticsCompany, querySendData } 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,
|
|
@@ -43,7 +43,8 @@ var Global = function Global(_ref) {
|
|
|
43
43
|
queryLabel: queryLabel,
|
|
44
44
|
queryWdtAddressData: servers.queryWdtAddressData,
|
|
45
45
|
queryWdtLogisticsCompany: queryWdtLogisticsCompany,
|
|
46
|
-
|
|
46
|
+
queryBsE3LogisticsCompany: queryBsE3LogisticsCompany,
|
|
47
|
+
querySendData: querySendData
|
|
47
48
|
};
|
|
48
49
|
mergeMapping = _objectSpread(_objectSpread({}, mapping), repeatRequestList);
|
|
49
50
|
promises = [];
|
|
@@ -2,10 +2,10 @@ var _excluded = ["disabledList", "shopList", "valueMapping", "onChange", "setSho
|
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
4
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
|
-
import React from
|
|
6
|
-
import { Select } from
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { Select } from "antd";
|
|
7
7
|
import PlatformAvatar from "../PlatformAvatar";
|
|
8
|
-
import { PlatData } from
|
|
8
|
+
import { PlatData } from "@kmkf-fe-packages/kmkf-utils";
|
|
9
9
|
var ShopList = function ShopList(_ref) {
|
|
10
10
|
var _shopList$filter;
|
|
11
11
|
var _ref$disabledList = _ref.disabledList,
|
|
@@ -24,7 +24,7 @@ var ShopList = function ShopList(_ref) {
|
|
|
24
24
|
return /*#__PURE__*/React.createElement(Select, _extends({
|
|
25
25
|
onChange: handleChange
|
|
26
26
|
}, prop), shopList === null || shopList === void 0 ? void 0 : (_shopList$filter = shopList.filter(function (item) {
|
|
27
|
-
return (item === null || item === void 0 ? void 0 : item.auditStatus) === 1;
|
|
27
|
+
return (item === null || item === void 0 ? void 0 : item.auditStatus) === 1 && (item === null || item === void 0 ? void 0 : item.useStatus) === 1;
|
|
28
28
|
})) === null || _shopList$filter === void 0 ? void 0 : _shopList$filter.map(function (item) {
|
|
29
29
|
var _platDatInstance$getP;
|
|
30
30
|
var plat = (_platDatInstance$getP = platDatInstance.getPlatData()) === null || _platDatInstance$getP === void 0 ? void 0 : _platDatInstance$getP.find(function (plat) {
|
|
@@ -34,7 +34,7 @@ var ShopList = function ShopList(_ref) {
|
|
|
34
34
|
disabled: item.disabled || disabledList.includes(item === null || item === void 0 ? void 0 : item[valueMapping]),
|
|
35
35
|
value: item === null || item === void 0 ? void 0 : item[valueMapping],
|
|
36
36
|
key: item === null || item === void 0 ? void 0 : item[valueMapping],
|
|
37
|
-
label: "".concat((plat === null || plat === void 0 ? void 0 : plat.platformName) ||
|
|
37
|
+
label: "".concat((plat === null || plat === void 0 ? void 0 : plat.platformName) || "").concat(item.shopName)
|
|
38
38
|
}, /*#__PURE__*/React.createElement(PlatformAvatar, {
|
|
39
39
|
styles: {
|
|
40
40
|
marginRight: 5
|
|
@@ -19,7 +19,8 @@ var typeMap = {
|
|
|
19
19
|
ACTUAL_PAYMENT: 'actualPayment',
|
|
20
20
|
BS_NET_RECEIPTS: 'bsNetReceipts',
|
|
21
21
|
BS_DEPOSIT: 'bsDeposit',
|
|
22
|
-
BS_PACKAGE_WEIGHT: 'bsPackageWeight'
|
|
22
|
+
BS_PACKAGE_WEIGHT: 'bsPackageWeight',
|
|
23
|
+
ACTUAL_RECEIPT_PAYMENT: 'actualReceiptPayment'
|
|
23
24
|
};
|
|
24
25
|
var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
25
26
|
var _this = this;
|
|
@@ -162,7 +163,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
162
163
|
this.canSort = true;
|
|
163
164
|
this.children = [];
|
|
164
165
|
this.componentConfig = options.componentConfig;
|
|
165
|
-
this.rules = options.type
|
|
166
|
+
this.rules = ['ACTUAL_PAYMENT', 'ACTUAL_RECEIPT_PAYMENT'].includes(options.type) ? [{
|
|
166
167
|
pattern: /^\d+(\.\d{1,2})?$/,
|
|
167
168
|
message: '字段为正数或最多两位小数'
|
|
168
169
|
}] : [{
|
|
@@ -173,7 +174,8 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
173
174
|
ACTUAL_PAYMENT: 'actualPayment',
|
|
174
175
|
BS_NET_RECEIPTS: 'bsNetReceipts',
|
|
175
176
|
BS_DEPOSIT: 'bsDeposit',
|
|
176
|
-
BS_PACKAGE_WEIGHT: 'bsPackageWeight'
|
|
177
|
+
BS_PACKAGE_WEIGHT: 'bsPackageWeight',
|
|
178
|
+
ACTUAL_RECEIPT_PAYMENT: 'actualReceiptPayment'
|
|
177
179
|
};
|
|
178
180
|
});
|
|
179
181
|
export default ActualPayment;
|
|
@@ -39,6 +39,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
39
39
|
id: _this.id,
|
|
40
40
|
label: _this.name,
|
|
41
41
|
value: /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
42
|
+
type: _this.type,
|
|
42
43
|
list: (record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id)]) === null || _record === void 0 ? void 0 : _record.bsGoods) || [],
|
|
43
44
|
showHeader: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.showHeader) || []
|
|
44
45
|
})
|
|
@@ -51,6 +52,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
51
52
|
var _this$componentConfig2;
|
|
52
53
|
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_bsGoods")])) return null;
|
|
53
54
|
return /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
55
|
+
type: _this.type,
|
|
54
56
|
list: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_bsGoods")]) || [],
|
|
55
57
|
showHeader: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.showHeader) || []
|
|
56
58
|
});
|
|
@@ -70,8 +72,10 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
|
|
|
70
72
|
required: false,
|
|
71
73
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
72
74
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
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
|
-
component: /*#__PURE__*/React.createElement(Goods, _extends({
|
|
75
|
+
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 : "",
|
|
76
|
+
component: /*#__PURE__*/React.createElement(Goods, _extends({
|
|
77
|
+
type: _this.type
|
|
78
|
+
}, _this.componentConfig, {
|
|
75
79
|
maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
|
|
76
80
|
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
77
81
|
shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
|
|
@@ -14,6 +14,7 @@ declare class BsLogistics implements ComponentInterface {
|
|
|
14
14
|
[key: string]: any;
|
|
15
15
|
}[];
|
|
16
16
|
type: string;
|
|
17
|
+
platformType: string;
|
|
17
18
|
rules: any[];
|
|
18
19
|
componentConfig: ComponentInterface["componentConfig"];
|
|
19
20
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
@@ -23,19 +23,29 @@ var typeMap = {
|
|
|
23
23
|
key: "bsLogisticsList",
|
|
24
24
|
name: "bs",
|
|
25
25
|
company: "bsLogisticsCompany",
|
|
26
|
-
code: "bsLogisticsCode"
|
|
26
|
+
code: "bsLogisticsCode",
|
|
27
|
+
platformType: "default"
|
|
28
|
+
},
|
|
29
|
+
BS_E3_LOGISTICS: {
|
|
30
|
+
key: "bsE3LogisticsList",
|
|
31
|
+
name: "bsE3",
|
|
32
|
+
company: "bsE3LogisticsCompany",
|
|
33
|
+
code: "bsE3LogisticsCode",
|
|
34
|
+
platformType: "bsE3"
|
|
27
35
|
},
|
|
28
36
|
WLN_LOGISTICS: {
|
|
29
37
|
key: "wlnLogisticsList",
|
|
30
38
|
name: "万里牛",
|
|
31
39
|
company: "wlnLogisticsCompany",
|
|
32
|
-
code: "wlnLogisticsCode"
|
|
40
|
+
code: "wlnLogisticsCode",
|
|
41
|
+
platformType: "default"
|
|
33
42
|
},
|
|
34
43
|
WDT_LOGISTICS: {
|
|
35
44
|
key: "wdtLogisticsList",
|
|
36
45
|
name: "旺店通",
|
|
37
46
|
company: "wdtLogisticsCompany",
|
|
38
|
-
code: "wdtLogisticsCode"
|
|
47
|
+
code: "wdtLogisticsCode",
|
|
48
|
+
platformType: "wdt"
|
|
39
49
|
}
|
|
40
50
|
};
|
|
41
51
|
var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
@@ -46,6 +56,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
46
56
|
_typeMap$_options$typ4,
|
|
47
57
|
_typeMap$_options$typ5,
|
|
48
58
|
_typeMap$_options$typ6,
|
|
59
|
+
_typeMap$_options$typ7,
|
|
49
60
|
_this$componentConfig5,
|
|
50
61
|
_this$componentConfig7;
|
|
51
62
|
_classCallCheck(this, BsLogistics);
|
|
@@ -54,6 +65,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
54
65
|
_defineProperty(this, "sortField", void 0);
|
|
55
66
|
_defineProperty(this, "sortChildField", void 0);
|
|
56
67
|
_defineProperty(this, "type", void 0);
|
|
68
|
+
_defineProperty(this, "platformType", void 0);
|
|
57
69
|
_defineProperty(this, "rules", void 0);
|
|
58
70
|
_defineProperty(this, "componentConfig", void 0);
|
|
59
71
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
@@ -74,7 +86,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
74
86
|
value: /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
75
87
|
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
76
88
|
type: 1,
|
|
77
|
-
platformType: _this.
|
|
89
|
+
platformType: _this.platformType
|
|
78
90
|
})
|
|
79
91
|
}) : null;
|
|
80
92
|
});
|
|
@@ -104,7 +116,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
104
116
|
}, /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
105
117
|
list: list,
|
|
106
118
|
type: 1,
|
|
107
|
-
platformType: _this.
|
|
119
|
+
platformType: _this.platformType
|
|
108
120
|
}));
|
|
109
121
|
});
|
|
110
122
|
_defineProperty(this, "renderLog", function (r) {
|
|
@@ -132,7 +144,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
132
144
|
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 : '',
|
|
133
145
|
component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
|
|
134
146
|
type: 1,
|
|
135
|
-
platformType: _this.
|
|
147
|
+
platformType: _this.platformType,
|
|
136
148
|
options: _this.expressDateInstance.getExpressData(),
|
|
137
149
|
onChange: p === null || p === void 0 ? void 0 : p.onChange
|
|
138
150
|
}))
|
|
@@ -151,20 +163,21 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
151
163
|
this.sortField = "".concat(_options.id, "_").concat((_typeMap$_options$typ = typeMap[_options.type]) === null || _typeMap$_options$typ === void 0 ? void 0 : _typeMap$_options$typ.key);
|
|
152
164
|
this.formField = "".concat(_options.id, "_").concat((_typeMap$_options$typ2 = typeMap[_options.type]) === null || _typeMap$_options$typ2 === void 0 ? void 0 : _typeMap$_options$typ2.key);
|
|
153
165
|
this.type = _options.type;
|
|
166
|
+
this.platformType = (_typeMap$_options$typ3 = typeMap[_options.type]) === null || _typeMap$_options$typ3 === void 0 ? void 0 : _typeMap$_options$typ3.platformType;
|
|
154
167
|
this.componentConfig = _options.componentConfig;
|
|
155
168
|
this.isCombinationComponent = true;
|
|
156
169
|
this.canSort = false;
|
|
157
170
|
this.expressCompany = new ExpressCompany(_objectSpread(_objectSpread({}, _options), {}, {
|
|
158
171
|
name: "物流公司",
|
|
159
172
|
parentName: this.name,
|
|
160
|
-
id: "".concat(_options.id, "_").concat((_typeMap$_options$
|
|
173
|
+
id: "".concat(_options.id, "_").concat((_typeMap$_options$typ4 = typeMap[_options.type]) === null || _typeMap$_options$typ4 === void 0 ? void 0 : _typeMap$_options$typ4.key, "_").concat((_typeMap$_options$typ5 = typeMap[_options.type]) === null || _typeMap$_options$typ5 === void 0 ? void 0 : _typeMap$_options$typ5.company),
|
|
161
174
|
width: 200,
|
|
162
|
-
platformType: this.
|
|
175
|
+
platformType: this.platformType
|
|
163
176
|
}));
|
|
164
177
|
this.expressCode = new ExpressCode(_objectSpread(_objectSpread({}, _options), {}, {
|
|
165
178
|
name: "物流单号",
|
|
166
179
|
parentName: this.name,
|
|
167
|
-
id: "".concat(_options.id, "_").concat((_typeMap$_options$
|
|
180
|
+
id: "".concat(_options.id, "_").concat((_typeMap$_options$typ6 = typeMap[_options.type]) === null || _typeMap$_options$typ6 === void 0 ? void 0 : _typeMap$_options$typ6.key, "_").concat((_typeMap$_options$typ7 = typeMap[_options.type]) === null || _typeMap$_options$typ7 === void 0 ? void 0 : _typeMap$_options$typ7.code),
|
|
168
181
|
width: 200
|
|
169
182
|
}));
|
|
170
183
|
this.children = [this.expressCompany, this.expressCode];
|
|
@@ -189,7 +202,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
|
|
|
189
202
|
return Promise.resolve();
|
|
190
203
|
}
|
|
191
204
|
}] : [];
|
|
192
|
-
this.expressDateInstance = ExpressData.getInstance(this.
|
|
205
|
+
this.expressDateInstance = ExpressData.getInstance(this.platformType);
|
|
193
206
|
this.sortChildField = this.getSortChildFields(((_this$componentConfig7 = this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.showField) || "", _options);
|
|
194
207
|
});
|
|
195
208
|
export default BsLogistics;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../../type";
|
|
2
|
+
import React from "react";
|
|
3
3
|
declare class BsSystemOrder implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
8
|
rules: any[];
|
|
9
|
-
componentConfig: ComponentInterface[
|
|
10
|
-
effects: ComponentInterface[
|
|
9
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
10
|
+
effects: ComponentInterface["effects"];
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
formField: string;
|
|
13
13
|
canSort: boolean;
|
|
14
|
-
dataType: ComponentInterface[
|
|
14
|
+
dataType: ComponentInterface["dataType"];
|
|
15
15
|
children: ComponentInterface[];
|
|
16
16
|
constructor(options: PickOption);
|
|
17
17
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -8,39 +8,183 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
8
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
9
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
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
|
|
11
|
+
import React from "react";
|
|
12
12
|
import GetFormItem from "../../GetFormItem";
|
|
13
13
|
import ItemView from "../../../commonComponents/ItemView";
|
|
14
|
-
import { isNull } from
|
|
15
|
-
import { BsSystemOrder as SystemOrder } from
|
|
14
|
+
import { isNull, BS_E3_BOOLEAN_STATUS_MAP, BS_E3_ORDER_STATUS_MAP, KM_SYSTEM_ORDER_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
|
|
15
|
+
import { BsSystemOrder as SystemOrder } from "@kmkf-fe-packages/basic-components";
|
|
16
16
|
import { BsSystemOrderTable } from "../../Common";
|
|
17
17
|
import { BsHeaderChild } from "../common/index";
|
|
18
18
|
import { SYMBOL, batchInput } from "../../../constant";
|
|
19
19
|
var typeMap = {
|
|
20
20
|
BS_SYSTEM_ORDER: {
|
|
21
|
-
key:
|
|
22
|
-
name:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
key: "bsSystemShowOrder",
|
|
22
|
+
name: "百胜",
|
|
23
|
+
selectId: "bsSystemSelectIds",
|
|
24
|
+
columns: [{
|
|
25
|
+
title: "单据类型",
|
|
26
|
+
dataIndex: "billType",
|
|
27
|
+
width: 150
|
|
28
|
+
}, {
|
|
29
|
+
title: "系统订单号",
|
|
30
|
+
dataIndex: "billNo",
|
|
31
|
+
width: 150
|
|
32
|
+
}, {
|
|
33
|
+
title: "标签",
|
|
34
|
+
dataIndex: "billTag",
|
|
35
|
+
width: 150
|
|
36
|
+
}, {
|
|
37
|
+
title: "主播名称",
|
|
38
|
+
dataIndex: "authorName",
|
|
39
|
+
width: 150
|
|
40
|
+
}, {
|
|
41
|
+
title: "主播ID",
|
|
42
|
+
dataIndex: "authorId",
|
|
43
|
+
width: 150
|
|
44
|
+
}
|
|
45
|
+
// {
|
|
46
|
+
// title: '直播活动',
|
|
47
|
+
// dataIndex: 'liveActivites',
|
|
48
|
+
// width: 150,
|
|
49
|
+
// },
|
|
50
|
+
]
|
|
26
51
|
},
|
|
52
|
+
|
|
53
|
+
KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG,
|
|
27
54
|
WLN_SYSTEM_ORDER: {
|
|
28
|
-
key:
|
|
29
|
-
name:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
55
|
+
key: "wlnSystemShowOrder",
|
|
56
|
+
name: "万里牛",
|
|
57
|
+
selectId: "wlnSystemSelectIds",
|
|
58
|
+
columns: [{
|
|
59
|
+
title: "订单类型",
|
|
60
|
+
dataIndex: "billType",
|
|
61
|
+
width: 150
|
|
62
|
+
}, {
|
|
63
|
+
title: "系统订单号",
|
|
64
|
+
dataIndex: "billNo",
|
|
65
|
+
width: 150
|
|
66
|
+
}, {
|
|
67
|
+
title: "标记",
|
|
68
|
+
dataIndex: "billTag",
|
|
69
|
+
width: 150
|
|
70
|
+
}]
|
|
33
71
|
},
|
|
34
72
|
WDT_SYSTEM_ORDER: {
|
|
35
73
|
key: "wdtSystemShowOrder",
|
|
36
74
|
name: "旺店通",
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
75
|
+
selectId: "wdtSystemSelectIds",
|
|
76
|
+
columns: [{
|
|
77
|
+
title: "订单类型",
|
|
78
|
+
dataIndex: "billType",
|
|
79
|
+
width: 150
|
|
80
|
+
}, {
|
|
81
|
+
title: "系统订单号",
|
|
82
|
+
dataIndex: "billNo",
|
|
83
|
+
width: 150
|
|
84
|
+
}, {
|
|
85
|
+
title: "订单标签",
|
|
86
|
+
dataIndex: "billTag",
|
|
87
|
+
width: 150
|
|
88
|
+
}]
|
|
89
|
+
},
|
|
90
|
+
BS_E3_SYSTEM_ORDER: {
|
|
91
|
+
key: "bsE3SystemShowOrder",
|
|
92
|
+
name: "百胜",
|
|
93
|
+
selectId: "bsE3SystemSelectIds",
|
|
94
|
+
columns: [{
|
|
95
|
+
title: "系统订单号",
|
|
96
|
+
dataIndex: "orderSn",
|
|
97
|
+
width: 150,
|
|
98
|
+
ellipsis: true
|
|
99
|
+
}, {
|
|
100
|
+
title: "订单状态",
|
|
101
|
+
dataIndex: "orderStatus",
|
|
102
|
+
width: 100,
|
|
103
|
+
ellipsis: true,
|
|
104
|
+
render: function render(val) {
|
|
105
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_ORDER_STATUS_MAP[val] || val);
|
|
106
|
+
},
|
|
107
|
+
renderExport: function renderExport(val) {
|
|
108
|
+
return BS_E3_ORDER_STATUS_MAP[val] || val;
|
|
109
|
+
}
|
|
110
|
+
}, {
|
|
111
|
+
title: "是否被拆分",
|
|
112
|
+
dataIndex: "isSplit",
|
|
113
|
+
width: 100,
|
|
114
|
+
ellipsis: true,
|
|
115
|
+
render: function render(val) {
|
|
116
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
117
|
+
},
|
|
118
|
+
renderExport: function renderExport(val) {
|
|
119
|
+
return BS_E3_BOOLEAN_STATUS_MAP[val] || val;
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
122
|
+
title: "是否拆分子单",
|
|
123
|
+
dataIndex: "isSplitNew",
|
|
124
|
+
width: 100,
|
|
125
|
+
ellipsis: true,
|
|
126
|
+
render: function render(val) {
|
|
127
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
128
|
+
},
|
|
129
|
+
renderExport: function renderExport(val) {
|
|
130
|
+
return BS_E3_BOOLEAN_STATUS_MAP[val] || val;
|
|
131
|
+
}
|
|
132
|
+
}, {
|
|
133
|
+
title: "是否被合并",
|
|
134
|
+
dataIndex: "isCombine",
|
|
135
|
+
width: 100,
|
|
136
|
+
ellipsis: true,
|
|
137
|
+
render: function render(val) {
|
|
138
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
139
|
+
},
|
|
140
|
+
renderExport: function renderExport(val) {
|
|
141
|
+
return BS_E3_BOOLEAN_STATUS_MAP[val] || val;
|
|
142
|
+
}
|
|
143
|
+
}, {
|
|
144
|
+
title: "是否合并新单",
|
|
145
|
+
dataIndex: "isCombineNew",
|
|
146
|
+
width: 100,
|
|
147
|
+
ellipsis: true,
|
|
148
|
+
render: function render(val) {
|
|
149
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
150
|
+
},
|
|
151
|
+
renderExport: function renderExport(val) {
|
|
152
|
+
return BS_E3_BOOLEAN_STATUS_MAP[val] || val;
|
|
153
|
+
}
|
|
154
|
+
}, {
|
|
155
|
+
title: "是否复制单",
|
|
156
|
+
dataIndex: "isCopy",
|
|
157
|
+
width: 100,
|
|
158
|
+
ellipsis: true,
|
|
159
|
+
render: function render(val) {
|
|
160
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
161
|
+
},
|
|
162
|
+
renderExport: function renderExport(val) {
|
|
163
|
+
return BS_E3_BOOLEAN_STATUS_MAP[val] || val;
|
|
164
|
+
}
|
|
165
|
+
}, {
|
|
166
|
+
title: "是否换货单",
|
|
167
|
+
dataIndex: "isExchangeOrder",
|
|
168
|
+
width: 100,
|
|
169
|
+
ellipsis: true,
|
|
170
|
+
render: function render(val) {
|
|
171
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
172
|
+
},
|
|
173
|
+
renderExport: function renderExport(val) {
|
|
174
|
+
return BS_E3_BOOLEAN_STATUS_MAP[val] || val;
|
|
175
|
+
}
|
|
176
|
+
}, {
|
|
177
|
+
title: "订单备注",
|
|
178
|
+
dataIndex: "orderMsg",
|
|
179
|
+
width: 150,
|
|
180
|
+
ellipsis: true
|
|
181
|
+
}]
|
|
40
182
|
}
|
|
41
183
|
};
|
|
42
184
|
var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
43
185
|
var _this = this,
|
|
186
|
+
_typeMap$options$type,
|
|
187
|
+
_typeMap$options$type2,
|
|
44
188
|
_this$componentConfig3;
|
|
45
189
|
_classCallCheck(this, BsSystemOrder);
|
|
46
190
|
_defineProperty(this, "name", void 0);
|
|
@@ -93,7 +237,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
|
93
237
|
required: false,
|
|
94
238
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
95
239
|
display: p === null || p === void 0 ? void 0 : p.display,
|
|
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 :
|
|
240
|
+
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
241
|
component: /*#__PURE__*/React.createElement(SystemOrder, _extends({}, _this.componentConfig, {
|
|
98
242
|
onChange: p === null || p === void 0 ? void 0 : p.onChange,
|
|
99
243
|
type: _this.type
|
|
@@ -108,7 +252,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
|
108
252
|
// 过滤组件id
|
|
109
253
|
name: item.name,
|
|
110
254
|
// 过滤组件名称
|
|
111
|
-
filterComponentType:
|
|
255
|
+
filterComponentType: "Input",
|
|
112
256
|
formatFilterValue: function formatFilterValue(input) {
|
|
113
257
|
return batchInput(input);
|
|
114
258
|
}
|
|
@@ -122,19 +266,15 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
|
122
266
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
123
267
|
this.isCombinationComponent = true;
|
|
124
268
|
this.canSort = false;
|
|
125
|
-
this.children = [
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}))
|
|
134
|
-
name: typeMap[options.type].tagName,
|
|
135
|
-
id: "".concat(options.id, "_").concat(typeMap[options.type].key, "_billTag"),
|
|
136
|
-
width: 150
|
|
137
|
-
}))];
|
|
269
|
+
this.children = ((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : (_typeMap$options$type2 = _typeMap$options$type.columns) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.map(function (column) {
|
|
270
|
+
return new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
|
|
271
|
+
transformValue: column.render,
|
|
272
|
+
renderExport: column.renderExport,
|
|
273
|
+
name: column.title,
|
|
274
|
+
id: "".concat(options.id, "_").concat(typeMap[options.type].key, "_").concat(column.dataIndex),
|
|
275
|
+
width: column.width || 150
|
|
276
|
+
}));
|
|
277
|
+
})) || [];
|
|
138
278
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
139
279
|
this.rules = this !== null && this !== void 0 && (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
140
280
|
required: true,
|
|
@@ -146,6 +286,6 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
|
|
|
146
286
|
return Promise.resolve();
|
|
147
287
|
}
|
|
148
288
|
}] : [];
|
|
149
|
-
this.dataType =
|
|
289
|
+
this.dataType = "object";
|
|
150
290
|
});
|
|
151
291
|
export default BsSystemOrder;
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ALignType, Record } from
|
|
2
|
-
import React from
|
|
1
|
+
import { ComponentInterface, PickOption, ALignType, Record } from "../../../type";
|
|
2
|
+
import React from "react";
|
|
3
3
|
declare class BsHeaderChild implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
7
7
|
type: string;
|
|
8
|
-
componentConfig: ComponentInterface[
|
|
8
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
align: ALignType;
|
|
10
10
|
width: number;
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
12
|
formField: string;
|
|
13
13
|
canSort: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
|
-
dataType: ComponentInterface[
|
|
15
|
+
dataType: ComponentInterface["dataType"];
|
|
16
|
+
transformValue: (val: any) => any;
|
|
17
|
+
export: (val: any) => any;
|
|
16
18
|
constructor(options: PickOption);
|
|
17
19
|
getParentId: () => string;
|
|
18
20
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
21
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
20
22
|
renderLog: (r: Record) => React.JSX.Element | null;
|
|
21
23
|
getComponentValue: (r: Record) => any;
|
|
24
|
+
getComponentExport: (r: Record) => any;
|
|
22
25
|
renderExport: (value: string, record: Record) => any;
|
|
23
26
|
editRender: () => null;
|
|
24
27
|
filterConfig: () => never[];
|
|
@@ -11,9 +11,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
11
11
|
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; }
|
|
12
12
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
13
13
|
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); }
|
|
14
|
-
import React from
|
|
14
|
+
import React from "react";
|
|
15
15
|
import ItemView from "../../../commonComponents/ItemView";
|
|
16
|
-
import { isNull } from
|
|
16
|
+
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
17
|
var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
|
|
18
18
|
var _this = this;
|
|
19
19
|
_classCallCheck(this, BsHeaderChild);
|
|
@@ -29,8 +29,14 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
|
|
|
29
29
|
_defineProperty(this, "canSort", void 0);
|
|
30
30
|
_defineProperty(this, "children", void 0);
|
|
31
31
|
_defineProperty(this, "dataType", void 0);
|
|
32
|
+
_defineProperty(this, "transformValue", function (val) {
|
|
33
|
+
return val;
|
|
34
|
+
});
|
|
35
|
+
_defineProperty(this, "export", function (val) {
|
|
36
|
+
return val;
|
|
37
|
+
});
|
|
32
38
|
_defineProperty(this, "getParentId", function () {
|
|
33
|
-
var _this$id$split = _this.id.split(
|
|
39
|
+
var _this$id$split = _this.id.split("_"),
|
|
34
40
|
_this$id$split2 = _slicedToArray(_this$id$split, 3),
|
|
35
41
|
key = _this$id$split2[0],
|
|
36
42
|
name = _this$id$split2[1],
|
|
@@ -46,7 +52,7 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
|
|
|
46
52
|
});
|
|
47
53
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
48
54
|
var _this$getComponentVal;
|
|
49
|
-
return /*#__PURE__*/React.createElement("span", null, (_this$getComponentVal = _this.getComponentValue(record)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal :
|
|
55
|
+
return /*#__PURE__*/React.createElement("span", null, (_this$getComponentVal = _this.getComponentValue(record)) !== null && _this$getComponentVal !== void 0 ? _this$getComponentVal : "--");
|
|
50
56
|
});
|
|
51
57
|
_defineProperty(this, "renderLog", function (r) {
|
|
52
58
|
var id = _this.getParentId();
|
|
@@ -54,12 +60,15 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
|
|
|
54
60
|
return _this.renderPc(undefined, r);
|
|
55
61
|
});
|
|
56
62
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
57
|
-
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
63
|
+
return _this.transformValue(r === null || r === void 0 ? void 0 : r[_this.id]);
|
|
64
|
+
});
|
|
65
|
+
_defineProperty(this, "getComponentExport", function (r) {
|
|
66
|
+
return _this.export(r === null || r === void 0 ? void 0 : r[_this.id]);
|
|
58
67
|
});
|
|
59
68
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
60
|
-
var _this$
|
|
61
|
-
var val = (_this$
|
|
62
|
-
return typeof val ===
|
|
69
|
+
var _this$getComponentExp;
|
|
70
|
+
var val = (_this$getComponentExp = _this.getComponentExport(record)) !== null && _this$getComponentExp !== void 0 ? _this$getComponentExp : "--";
|
|
71
|
+
return typeof val === "number" ? val + "" : val;
|
|
63
72
|
});
|
|
64
73
|
_defineProperty(this, "editRender", function () {
|
|
65
74
|
return null;
|
|
@@ -73,11 +82,19 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
|
|
|
73
82
|
this.formField = options.id;
|
|
74
83
|
this.type = options.type;
|
|
75
84
|
this.componentConfig = options.componentConfig;
|
|
76
|
-
this.align =
|
|
85
|
+
this.align = "left";
|
|
77
86
|
this.width = (options === null || options === void 0 ? void 0 : options.width) || 100;
|
|
78
87
|
this.isCombinationComponent = false;
|
|
79
88
|
this.canSort = false;
|
|
80
|
-
this.dataType =
|
|
89
|
+
this.dataType = "string";
|
|
81
90
|
this.children = [];
|
|
91
|
+
if (options.transformValue) {
|
|
92
|
+
this.transformValue = options.transformValue;
|
|
93
|
+
}
|
|
94
|
+
if (options.renderExport) {
|
|
95
|
+
this.export = options.renderExport;
|
|
96
|
+
}
|
|
97
|
+
// this.export = (options as any).renderExport;
|
|
82
98
|
});
|
|
99
|
+
|
|
83
100
|
export default BsHeaderChild;
|
|
@@ -15,6 +15,7 @@ declare class BsHeaderGods implements ComponentInterface {
|
|
|
15
15
|
dataType: ComponentInterface["dataType"];
|
|
16
16
|
itemKey: any;
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
+
getChildren(options: PickOption): any[];
|
|
18
19
|
getParentId: () => string;
|
|
19
20
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
21
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|