@kmkf-fe-packages/services-components 2.0.0-rc.1 → 2.0.0-rc.2
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/components/ActualPayment/index.js +5 -3
- 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.js +45 -9
- 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/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.js +53 -13
- package/dist/esm/components/CommonHeaderGood/index.js +125 -2
- package/dist/esm/components/JST/JstSendGood/index.js +41 -31
- package/dist/esm/components/KmErpSendGood/index.js +7 -7
- package/dist/esm/components/Picture/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 +6 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/service/api.d.ts +2 -1
- package/dist/esm/service/api.js +25 -5
- package/dist/esm/type.d.ts +5 -0
- 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 = [];
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -11,7 +11,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import GetFormItem from "../../GetFormItem";
|
|
13
13
|
import ItemView from "../../../commonComponents/ItemView";
|
|
14
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { isNull, BS_E3_BOOLEAN_STATUS_MAP, BS_E3_ORDER_STATUS_MAP } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
15
|
import { BsSystemOrder as SystemOrder } from '@kmkf-fe-packages/basic-components';
|
|
16
16
|
import { BsSystemOrderTable } from "../../Common";
|
|
17
17
|
import { BsHeaderChild } from "../common/index";
|
|
@@ -33,8 +33,23 @@ var typeMap = {
|
|
|
33
33
|
title: "标签",
|
|
34
34
|
dataIndex: "billTag",
|
|
35
35
|
width: 150
|
|
36
|
-
}
|
|
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
|
+
]
|
|
37
51
|
},
|
|
52
|
+
|
|
38
53
|
WLN_SYSTEM_ORDER: {
|
|
39
54
|
key: 'wlnSystemShowOrder',
|
|
40
55
|
name: '万里牛',
|
|
@@ -84,37 +99,58 @@ var typeMap = {
|
|
|
84
99
|
title: "订单状态",
|
|
85
100
|
dataIndex: "orderStatus",
|
|
86
101
|
width: 100,
|
|
87
|
-
ellipsis: true
|
|
102
|
+
ellipsis: true,
|
|
103
|
+
render: function render(val) {
|
|
104
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_ORDER_STATUS_MAP[val] || val);
|
|
105
|
+
}
|
|
88
106
|
}, {
|
|
89
107
|
title: "是否被拆分",
|
|
90
108
|
dataIndex: "isSplit",
|
|
91
109
|
width: 100,
|
|
92
|
-
ellipsis: true
|
|
110
|
+
ellipsis: true,
|
|
111
|
+
render: function render(val) {
|
|
112
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
113
|
+
}
|
|
93
114
|
}, {
|
|
94
115
|
title: "是否拆分子单",
|
|
95
116
|
dataIndex: "isSplitNew",
|
|
96
117
|
width: 100,
|
|
97
|
-
ellipsis: true
|
|
118
|
+
ellipsis: true,
|
|
119
|
+
render: function render(val) {
|
|
120
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
121
|
+
}
|
|
98
122
|
}, {
|
|
99
123
|
title: "是否被合并",
|
|
100
124
|
dataIndex: "isCombine",
|
|
101
125
|
width: 100,
|
|
102
|
-
ellipsis: true
|
|
126
|
+
ellipsis: true,
|
|
127
|
+
render: function render(val) {
|
|
128
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
129
|
+
}
|
|
103
130
|
}, {
|
|
104
131
|
title: "是否合并新单",
|
|
105
132
|
dataIndex: "isCombineNew",
|
|
106
133
|
width: 100,
|
|
107
|
-
ellipsis: true
|
|
134
|
+
ellipsis: true,
|
|
135
|
+
render: function render(val) {
|
|
136
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
137
|
+
}
|
|
108
138
|
}, {
|
|
109
139
|
title: "是否复制单",
|
|
110
140
|
dataIndex: "isCopy",
|
|
111
141
|
width: 100,
|
|
112
|
-
ellipsis: true
|
|
142
|
+
ellipsis: true,
|
|
143
|
+
render: function render(val) {
|
|
144
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
145
|
+
}
|
|
113
146
|
}, {
|
|
114
147
|
title: "是否换货单",
|
|
115
148
|
dataIndex: "isExchangeOrder",
|
|
116
149
|
width: 100,
|
|
117
|
-
ellipsis: true
|
|
150
|
+
ellipsis: true,
|
|
151
|
+
render: function render(val) {
|
|
152
|
+
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
153
|
+
}
|
|
118
154
|
}, {
|
|
119
155
|
title: "订单备注",
|
|
120
156
|
dataIndex: "orderMsg",
|
|
@@ -19,7 +19,8 @@ var componentType = {
|
|
|
19
19
|
BS_REISSUE_GOODS: 'bsReissueType',
|
|
20
20
|
BS_RETURN_GOODS: 'bsReturnType',
|
|
21
21
|
WDT_REISSUE_GOODS: 'wdtReissueType',
|
|
22
|
-
WDT_RETURN_GOODS: 'wdtReturnType'
|
|
22
|
+
WDT_RETURN_GOODS: 'wdtReturnType',
|
|
23
|
+
BS_E3_REISSUE_GOODS: 'bsE3ReissueType'
|
|
23
24
|
};
|
|
24
25
|
var BsMemo = /*#__PURE__*/_createClass(function BsMemo(options) {
|
|
25
26
|
var _this = this;
|
|
@@ -20,7 +20,8 @@ var componentType = {
|
|
|
20
20
|
BS_REISSUE_GOODS: 'bsReissueType',
|
|
21
21
|
BS_RETURN_GOODS: 'bsReturnType',
|
|
22
22
|
WDT_REISSUE_GOODS: 'wdtReissueType',
|
|
23
|
-
WDT_RETURN_GOODS: 'wdtReturnType'
|
|
23
|
+
WDT_RETURN_GOODS: 'wdtReturnType',
|
|
24
|
+
BS_E3_REISSUE_GOODS: 'bsE3ReissueType'
|
|
24
25
|
};
|
|
25
26
|
var BsType = /*#__PURE__*/_createClass(function BsType(options) {
|
|
26
27
|
var _this = this;
|
|
@@ -15,7 +15,8 @@ import React from "react";
|
|
|
15
15
|
import ItemView from "../../../commonComponents/ItemView";
|
|
16
16
|
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
17
|
var componentType = {
|
|
18
|
-
WDT_REISSUE_GOODS: "wdtSystemOrderNo"
|
|
18
|
+
WDT_REISSUE_GOODS: "wdtSystemOrderNo",
|
|
19
|
+
BS_E3_REISSUE_GOODS: "bsE3SystemOrderNo"
|
|
19
20
|
};
|
|
20
21
|
var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
21
22
|
var _this = this;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../../type";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { BsType, BsMemo, BsHeaderGood, SystemOrderNo } from "../../BS/common/index";
|
|
4
|
+
import CommonHeaderGoods from "../../CommonHeaderGood";
|
|
5
|
+
declare class BsE3Reissue implements ComponentInterface {
|
|
6
|
+
name: string;
|
|
7
|
+
id: string;
|
|
8
|
+
sortField: string;
|
|
9
|
+
type: string;
|
|
10
|
+
rules: any[];
|
|
11
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
12
|
+
effects: ComponentInterface["effects"];
|
|
13
|
+
isCombinationComponent: boolean;
|
|
14
|
+
formField: string;
|
|
15
|
+
canSort: boolean;
|
|
16
|
+
children: ComponentInterface[];
|
|
17
|
+
dataType: ComponentInterface["dataType"];
|
|
18
|
+
bsType: BsType;
|
|
19
|
+
bsMemo: BsMemo;
|
|
20
|
+
systemOrderNo: SystemOrderNo;
|
|
21
|
+
reissueGoods: BsHeaderGood | CommonHeaderGoods;
|
|
22
|
+
constructor(options: PickOption);
|
|
23
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
24
|
+
renderPc: () => null;
|
|
25
|
+
renderLog: (r: Record) => React.JSX.Element;
|
|
26
|
+
getComponentValue: (r: Record) => {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
renderExport: () => null;
|
|
30
|
+
editRender: (p: any) => React.JSX.Element;
|
|
31
|
+
filterConfig: (item: ColumnConfig) => ({
|
|
32
|
+
searchDefaultConditions: "in";
|
|
33
|
+
type: string;
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
filterComponentType: "Cascader";
|
|
37
|
+
props: {
|
|
38
|
+
options: any[] | undefined;
|
|
39
|
+
fieldNames: {
|
|
40
|
+
label: string;
|
|
41
|
+
value: string;
|
|
42
|
+
children: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
formatFilterValue: (val: Array<string>) => string[] | undefined;
|
|
46
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
47
|
+
} | {
|
|
48
|
+
searchDefaultConditions: "like";
|
|
49
|
+
type: string;
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
filterComponentType: "Input";
|
|
53
|
+
props?: undefined;
|
|
54
|
+
formatFilterValue?: undefined;
|
|
55
|
+
filterFn?: undefined;
|
|
56
|
+
})[];
|
|
57
|
+
}
|
|
58
|
+
export default BsE3Reissue;
|
|
@@ -0,0 +1,191 @@
|
|
|
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 GetFormItem from "../../GetFormItem";
|
|
13
|
+
import ItemView from "../../../commonComponents/ItemView";
|
|
14
|
+
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
15
|
+
import { BsE3Reissue as Reissue } from "@kmkf-fe-packages/basic-components";
|
|
16
|
+
import { SYMBOL } from "../../../constant";
|
|
17
|
+
import { BsGoodsTable } from "../../Common/index";
|
|
18
|
+
import { BsType, BsMemo, BsHeaderGood, SystemOrderNo } from "../../BS/common/index";
|
|
19
|
+
import CommonHeaderGoods from "../../CommonHeaderGood";
|
|
20
|
+
var typeMap = {
|
|
21
|
+
BS_E3_REISSUE_GOODS: {
|
|
22
|
+
key: "bsE3ReissueGoods",
|
|
23
|
+
typeName: "bsE3ReissueType",
|
|
24
|
+
remark: "bsE3ReissueType_memo",
|
|
25
|
+
systemOrderNo: "bsE3SystemOrderNo",
|
|
26
|
+
errMsg: "请选择百胜补发商品"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
var BsE3Reissue = /*#__PURE__*/_createClass(function BsE3Reissue(options) {
|
|
30
|
+
var _this = this,
|
|
31
|
+
_typeMap$options$type,
|
|
32
|
+
_typeMap$options$type2,
|
|
33
|
+
_typeMap$options$type3,
|
|
34
|
+
_typeMap$options$type4,
|
|
35
|
+
_typeMap$options$type5,
|
|
36
|
+
_this$componentConfig6;
|
|
37
|
+
_classCallCheck(this, BsE3Reissue);
|
|
38
|
+
_defineProperty(this, "name", void 0);
|
|
39
|
+
_defineProperty(this, "id", void 0);
|
|
40
|
+
_defineProperty(this, "sortField", void 0);
|
|
41
|
+
_defineProperty(this, "type", void 0);
|
|
42
|
+
_defineProperty(this, "rules", void 0);
|
|
43
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
44
|
+
_defineProperty(this, "effects", void 0);
|
|
45
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
46
|
+
_defineProperty(this, "formField", void 0);
|
|
47
|
+
_defineProperty(this, "canSort", void 0);
|
|
48
|
+
_defineProperty(this, "children", void 0);
|
|
49
|
+
_defineProperty(this, "dataType", void 0);
|
|
50
|
+
_defineProperty(this, "bsType", void 0);
|
|
51
|
+
_defineProperty(this, "bsMemo", void 0);
|
|
52
|
+
_defineProperty(this, "systemOrderNo", void 0);
|
|
53
|
+
_defineProperty(this, "reissueGoods", void 0);
|
|
54
|
+
_defineProperty(this, "renderClient", function (record) {
|
|
55
|
+
var _record, _typeMap$_this$type, _record2, _typeMap$_this$type2, _this$componentConfig;
|
|
56
|
+
return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.bsType.renderClient(record), _this.bsMemo.renderClient(record), _this.systemOrderNo.renderClient(record), record !== null && record !== void 0 && (_record = record["".concat(_this.id)]) !== null && _record !== void 0 && _record[(_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key].length ? /*#__PURE__*/React.createElement(ItemView, {
|
|
57
|
+
id: _this.id,
|
|
58
|
+
label: _this.name,
|
|
59
|
+
value: /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
60
|
+
list: (record === null || record === void 0 ? void 0 : (_record2 = record["".concat(_this.id)]) === null || _record2 === void 0 ? void 0 : _record2["".concat((_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.key)]) || [],
|
|
61
|
+
showHeader: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.showHeader) || [],
|
|
62
|
+
type: _this.type
|
|
63
|
+
})
|
|
64
|
+
}) : null) : null;
|
|
65
|
+
});
|
|
66
|
+
_defineProperty(this, "renderPc", function () {
|
|
67
|
+
return null;
|
|
68
|
+
});
|
|
69
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
70
|
+
var _r, _typeMap$_this$type3, _typeMap$_this$type4, _r2, _typeMap$_this$type5, _typeMap$_this$type6, _this$componentConfig2;
|
|
71
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, r !== null && r !== void 0 && (_r = r["".concat(_this.id, "_").concat((_typeMap$_this$type3 = typeMap[_this.type]) === null || _typeMap$_this$type3 === void 0 ? void 0 : _typeMap$_this$type3.typeName)]) !== null && _r !== void 0 && _r.length ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, "\u5907\u6CE8\u7C7B\u578B:", _this.bsType.renderLog(r)), /*#__PURE__*/React.createElement("div", null, "\u5907\u6CE8\u4FE1\u606F:", _this.bsMemo.renderLog(r))) : null, r !== null && r !== void 0 && r["".concat(_this.id, "_").concat((_typeMap$_this$type4 = typeMap[_this.type]) === null || _typeMap$_this$type4 === void 0 ? void 0 : _typeMap$_this$type4.systemOrderNo)] ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, "\u7CFB\u7EDF\u8BA2\u5355\u53F7:", _this.systemOrderNo.renderLog(r))) : null, r !== null && r !== void 0 && (_r2 = r["".concat(_this.id, "_").concat((_typeMap$_this$type5 = typeMap[_this.type]) === null || _typeMap$_this$type5 === void 0 ? void 0 : _typeMap$_this$type5.key)]) !== null && _r2 !== void 0 && _r2.length ? /*#__PURE__*/React.createElement("div", null, "\u8865\u53D1\u5546\u54C1\uFF1A", /*#__PURE__*/React.createElement(BsGoodsTable, {
|
|
72
|
+
list: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat((_typeMap$_this$type6 = typeMap[_this.type]) === null || _typeMap$_this$type6 === void 0 ? void 0 : _typeMap$_this$type6.key)]) || [],
|
|
73
|
+
showHeader: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.showHeader) || [],
|
|
74
|
+
type: _this.type
|
|
75
|
+
})) : null, r !== null && r !== void 0 && r["".concat(_this.id, "_shopCode")] ? /*#__PURE__*/React.createElement("div", null, "\u5E97\u94FAid:", r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_shopCode")]) : null);
|
|
76
|
+
});
|
|
77
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
78
|
+
var _typeMap$_this$type7, _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type10, _typeMap$_this$type11, _typeMap$_this$type12;
|
|
79
|
+
var obj = {};
|
|
80
|
+
obj["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$_this$type7 = typeMap[_this.type]) === null || _typeMap$_this$type7 === void 0 ? void 0 : _typeMap$_this$type7.typeName)] = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.typeName)];
|
|
81
|
+
obj["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$_this$type9 = typeMap[_this.type]) === null || _typeMap$_this$type9 === void 0 ? void 0 : _typeMap$_this$type9.key)] = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat((_typeMap$_this$type10 = typeMap[_this.type]) === null || _typeMap$_this$type10 === void 0 ? void 0 : _typeMap$_this$type10.key)];
|
|
82
|
+
obj["".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$_this$type11 = typeMap[_this.type]) === null || _typeMap$_this$type11 === void 0 ? void 0 : _typeMap$_this$type11.systemOrderNo)] = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_").concat((_typeMap$_this$type12 = typeMap[_this.type]) === null || _typeMap$_this$type12 === void 0 ? void 0 : _typeMap$_this$type12.systemOrderNo)];
|
|
83
|
+
return obj;
|
|
84
|
+
});
|
|
85
|
+
_defineProperty(this, "renderExport", function () {
|
|
86
|
+
return null;
|
|
87
|
+
});
|
|
88
|
+
_defineProperty(this, "editRender", function (p) {
|
|
89
|
+
var _this$componentConfig3, _this$componentConfig4, _this$componentConfig5, _this$effects, _this$effects2, _this$effects3;
|
|
90
|
+
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
91
|
+
title: _this.name,
|
|
92
|
+
name: _this.id,
|
|
93
|
+
rules: _this.rules,
|
|
94
|
+
required: false,
|
|
95
|
+
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
96
|
+
display: p === null || p === void 0 ? void 0 : p.display,
|
|
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
|
+
component: /*#__PURE__*/React.createElement(Reissue, _extends({}, _this.componentConfig, {
|
|
99
|
+
maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
|
|
100
|
+
shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
|
|
101
|
+
shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
|
|
102
|
+
companyKey: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.companyKey,
|
|
103
|
+
width: "90%",
|
|
104
|
+
type: _this.type
|
|
105
|
+
}))
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
109
|
+
var _item$templateConfig;
|
|
110
|
+
return [{
|
|
111
|
+
searchDefaultConditions: SYMBOL.in,
|
|
112
|
+
type: item.type,
|
|
113
|
+
id: "".concat(item.id, "_").concat(typeMap[_this.type].typeName),
|
|
114
|
+
name: "".concat(item.name, "-\u8865\u53D1\u7C7B\u578B"),
|
|
115
|
+
filterComponentType: "Cascader",
|
|
116
|
+
props: {
|
|
117
|
+
options: item === null || item === void 0 ? void 0 : (_item$templateConfig = item.templateConfig) === null || _item$templateConfig === void 0 ? void 0 : _item$templateConfig.reasonList,
|
|
118
|
+
fieldNames: {
|
|
119
|
+
label: "label",
|
|
120
|
+
value: "value",
|
|
121
|
+
children: "children"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
formatFilterValue: function formatFilterValue(val) {
|
|
125
|
+
if ((val === null || val === void 0 ? void 0 : val.length) > 0) {
|
|
126
|
+
return [val[val.length - 1]];
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
filterFn: function filterFn(value) {
|
|
130
|
+
return function (i) {
|
|
131
|
+
var _typeMap$_this$type13;
|
|
132
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat((_typeMap$_this$type13 = typeMap[_this.type]) === null || _typeMap$_this$type13 === void 0 ? void 0 : _typeMap$_this$type13.typeName)), value);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}, {
|
|
136
|
+
searchDefaultConditions: SYMBOL.like,
|
|
137
|
+
type: item.type,
|
|
138
|
+
id: "".concat(item.id, "_").concat(typeMap[_this.type].systemOrderNo),
|
|
139
|
+
name: "".concat(item.name, "-\u8865\u53D1\u7CFB\u7EDF\u8BA2\u5355\u53F7"),
|
|
140
|
+
filterComponentType: "Input"
|
|
141
|
+
}, {
|
|
142
|
+
searchDefaultConditions: SYMBOL.like,
|
|
143
|
+
type: item.type,
|
|
144
|
+
id: "".concat(item.id, "_").concat(typeMap[_this.type].key),
|
|
145
|
+
name: "".concat(_this.name),
|
|
146
|
+
filterComponentType: "Input"
|
|
147
|
+
}];
|
|
148
|
+
});
|
|
149
|
+
this.name = options.name;
|
|
150
|
+
this.id = options.id;
|
|
151
|
+
this.sortField = "".concat(options.id);
|
|
152
|
+
this.formField = "".concat(options.id);
|
|
153
|
+
this.type = options.type;
|
|
154
|
+
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
155
|
+
this.isCombinationComponent = true;
|
|
156
|
+
this.canSort = false;
|
|
157
|
+
this.bsType = new BsType(_objectSpread(_objectSpread({}, options), {}, {
|
|
158
|
+
id: "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.typeName),
|
|
159
|
+
name: "百胜补发类型"
|
|
160
|
+
}));
|
|
161
|
+
this.systemOrderNo = new SystemOrderNo(_objectSpread(_objectSpread({}, options), {}, {
|
|
162
|
+
id: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.systemOrderNo),
|
|
163
|
+
name: "百胜补发系统订单号"
|
|
164
|
+
}));
|
|
165
|
+
this.bsMemo = new BsMemo(_objectSpread(_objectSpread({}, options), {}, {
|
|
166
|
+
id: "".concat(options.id, "_").concat((_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.remark),
|
|
167
|
+
name: "百胜补发备注"
|
|
168
|
+
}));
|
|
169
|
+
this.reissueGoods = this.type === "BS_REISSUE_GOODS" ? new BsHeaderGood(_objectSpread(_objectSpread({}, options), {}, {
|
|
170
|
+
id: "".concat(options.id, "_").concat((_typeMap$options$type4 = typeMap[options.type]) === null || _typeMap$options$type4 === void 0 ? void 0 : _typeMap$options$type4.key),
|
|
171
|
+
name: "商品信息"
|
|
172
|
+
})) : new CommonHeaderGoods(_objectSpread(_objectSpread({}, options), {}, {
|
|
173
|
+
id: "".concat(options.id, "_").concat((_typeMap$options$type5 = typeMap[options.type]) === null || _typeMap$options$type5 === void 0 ? void 0 : _typeMap$options$type5.key),
|
|
174
|
+
name: "商品信息"
|
|
175
|
+
}));
|
|
176
|
+
this.children = [this.bsType, this.systemOrderNo, this.bsMemo, this.reissueGoods];
|
|
177
|
+
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
178
|
+
this.rules = this !== null && this !== void 0 && (_this$componentConfig6 = this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.required ? [{
|
|
179
|
+
required: true,
|
|
180
|
+
validator: function validator(_, value) {
|
|
181
|
+
var _value, _typeMap$options$type6;
|
|
182
|
+
if (!value || !(value !== null && value !== void 0 && (_value = value["".concat((_typeMap$options$type6 = typeMap[options.type]) === null || _typeMap$options$type6 === void 0 ? void 0 : _typeMap$options$type6.key)]) !== null && _value !== void 0 && _value.length)) {
|
|
183
|
+
var _typeMap$options$type7;
|
|
184
|
+
return Promise.reject(new Error("".concat((_typeMap$options$type7 = typeMap[options.type]) === null || _typeMap$options$type7 === void 0 ? void 0 : _typeMap$options$type7.errMsg)));
|
|
185
|
+
}
|
|
186
|
+
return Promise.resolve();
|
|
187
|
+
}
|
|
188
|
+
}] : [];
|
|
189
|
+
this.dataType = "object";
|
|
190
|
+
});
|
|
191
|
+
export default BsE3Reissue;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ALignType, Record } from '../../../type';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare class ReissueGift implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
sortField: string;
|
|
7
|
+
type: string;
|
|
8
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
9
|
+
align: ALignType;
|
|
10
|
+
width: number;
|
|
11
|
+
isCombinationComponent: boolean;
|
|
12
|
+
formField: string;
|
|
13
|
+
canSort: boolean;
|
|
14
|
+
children: ComponentInterface[];
|
|
15
|
+
dataType: ComponentInterface['dataType'];
|
|
16
|
+
constructor(options: PickOption);
|
|
17
|
+
getParentId: () => string;
|
|
18
|
+
renderClient: (record: any) => React.JSX.Element | null;
|
|
19
|
+
renderPc: (value: unknown, record: Record) => "--" | "是" | "否";
|
|
20
|
+
renderLog: (r: Record) => "--" | "是" | "否" | null;
|
|
21
|
+
getComponentValue: (r: Record) => "--" | "是" | "否";
|
|
22
|
+
renderExport: (value: string, record: Record) => "--" | "是" | "否";
|
|
23
|
+
editRender: () => null;
|
|
24
|
+
filterConfig: () => never[];
|
|
25
|
+
}
|
|
26
|
+
export default ReissueGift;
|