@kmkf-fe-packages/services-components 0.6.3-alpha.3 → 0.6.3
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/components/ActualPayment/index.d.ts +11 -8
- package/dist/esm/components/ActualPayment/index.js +22 -19
- package/dist/esm/components/Address/index.d.ts +14 -6
- package/dist/esm/components/Address/index.js +22 -9
- package/dist/esm/components/Alipay/index.d.ts +18 -9
- package/dist/esm/components/Alipay/index.js +17 -6
- package/dist/esm/components/AlipayAccount/index.d.ts +13 -9
- package/dist/esm/components/AlipayAccount/index.js +24 -19
- package/dist/esm/components/AlipayName/index.d.ts +12 -8
- package/dist/esm/components/AlipayName/index.js +23 -18
- package/dist/esm/components/BuyerNick/index.d.ts +11 -8
- package/dist/esm/components/BuyerNick/index.js +25 -30
- package/dist/esm/components/Cascader/index.d.ts +23 -9
- package/dist/esm/components/Cascader/index.js +27 -29
- package/dist/esm/components/Checkbox/index.d.ts +10 -9
- package/dist/esm/components/Checkbox/index.js +21 -25
- package/dist/esm/components/CommonDataTime/index.d.ts +10 -8
- package/dist/esm/components/CommonDataTime/index.js +20 -19
- package/dist/esm/components/DataTime/index.d.ts +10 -9
- package/dist/esm/components/DataTime/index.js +23 -22
- package/dist/esm/components/EItemEnCode/index.d.ts +10 -8
- package/dist/esm/components/EItemEnCode/index.js +20 -22
- package/dist/esm/components/EItemId/index.d.ts +10 -8
- package/dist/esm/components/EItemId/index.js +20 -22
- package/dist/esm/components/EItemSelect/index.d.ts +11 -4
- package/dist/esm/components/EItemSelect/index.js +18 -6
- package/dist/esm/components/ErpTradeId/index.d.ts +11 -8
- package/dist/esm/components/ErpTradeId/index.js +21 -18
- package/dist/esm/components/Express/index.d.ts +13 -9
- package/dist/esm/components/Express/index.js +29 -18
- package/dist/esm/components/ExpressCode/index.d.ts +12 -8
- package/dist/esm/components/ExpressCode/index.js +22 -17
- package/dist/esm/components/FlowStatusSelect/index.d.ts +33 -13
- package/dist/esm/components/FlowStatusSelect/index.js +22 -27
- package/dist/esm/components/Grade/index.d.ts +11 -4
- package/dist/esm/components/Grade/index.js +19 -6
- package/dist/esm/components/Input/index.d.ts +11 -8
- package/dist/esm/components/Input/index.js +24 -20
- package/dist/esm/components/JstItemSelect/index.d.ts +11 -9
- package/dist/esm/components/JstItemSelect/index.js +20 -35
- package/dist/esm/components/JstLogistics/index.d.ts +11 -16
- package/dist/esm/components/JstLogistics/index.js +20 -31
- package/dist/esm/components/JstSendGood/index.d.ts +11 -9
- package/dist/esm/components/JstSendGood/index.js +20 -35
- package/dist/esm/components/JstSupply/index.d.ts +11 -9
- package/dist/esm/components/JstSupply/index.js +20 -35
- package/dist/esm/components/Logistics/index.d.ts +25 -15
- package/dist/esm/components/Logistics/index.js +17 -10
- package/dist/esm/components/MultSelect/index.d.ts +10 -9
- package/dist/esm/components/MultSelect/index.js +20 -21
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +21 -8
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +26 -14
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +21 -8
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +26 -14
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +16 -8
- package/dist/esm/components/Ordinary/OrdinarySerial.js +16 -14
- package/dist/esm/components/Ordinary/index.d.ts +22 -9
- package/dist/esm/components/Ordinary/index.js +7 -8
- package/dist/esm/components/Payment/AlipayNick.d.ts +22 -9
- package/dist/esm/components/Payment/AlipayNick.js +28 -16
- package/dist/esm/components/Payment/AlipayNo.d.ts +20 -8
- package/dist/esm/components/Payment/AlipayNo.js +27 -16
- package/dist/esm/components/Payment/AlipayTime.d.ts +22 -8
- package/dist/esm/components/Payment/AlipayTime.js +27 -15
- package/dist/esm/components/Payment/BuyerNick.d.ts +21 -8
- package/dist/esm/components/Payment/BuyerNick.js +26 -14
- package/dist/esm/components/Payment/PaymentAmount.d.ts +21 -8
- package/dist/esm/components/Payment/PaymentAmount.js +26 -14
- package/dist/esm/components/Payment/PaymentStatus.d.ts +27 -13
- package/dist/esm/components/Payment/PaymentStatus.js +36 -37
- package/dist/esm/components/Payment/PaymentTid.d.ts +21 -8
- package/dist/esm/components/Payment/PaymentTid.js +26 -14
- package/dist/esm/components/Payment/index.d.ts +96 -23
- package/dist/esm/components/Payment/index.js +17 -8
- package/dist/esm/components/Picture/index.d.ts +10 -8
- package/dist/esm/components/Picture/index.js +18 -6
- package/dist/esm/components/Radio/index.d.ts +10 -9
- package/dist/esm/components/Radio/index.js +23 -30
- package/dist/esm/components/Rate/index.d.ts +11 -4
- package/dist/esm/components/Rate/index.js +22 -11
- package/dist/esm/components/ReceiverAddress/index.d.ts +12 -4
- package/dist/esm/components/ReceiverAddress/index.js +26 -9
- package/dist/esm/components/ReceiverMobile/index.d.ts +12 -9
- package/dist/esm/components/ReceiverMobile/index.js +23 -20
- package/dist/esm/components/ReceiverName/index.d.ts +11 -8
- package/dist/esm/components/ReceiverName/index.js +23 -20
- package/dist/esm/components/Remark/index.d.ts +11 -8
- package/dist/esm/components/Remark/index.js +21 -18
- package/dist/esm/components/ReturnLogistics/index.d.ts +20 -15
- package/dist/esm/components/ReturnLogistics/index.js +7 -10
- package/dist/esm/components/Select/index.d.ts +10 -9
- package/dist/esm/components/Select/index.js +20 -20
- package/dist/esm/components/ShopName/index.d.ts +11 -8
- package/dist/esm/components/ShopName/index.js +20 -18
- package/dist/esm/components/SystemOrderNo/index.d.ts +11 -8
- package/dist/esm/components/SystemOrderNo/index.js +21 -18
- package/dist/esm/components/TemplateSelect/index.d.ts +11 -9
- package/dist/esm/components/TemplateSelect/index.js +20 -20
- package/dist/esm/components/TextArea/index.d.ts +10 -8
- package/dist/esm/components/TextArea/index.js +20 -18
- package/dist/esm/components/ThirdItemSelect/index.d.ts +10 -8
- package/dist/esm/components/ThirdItemSelect/index.js +20 -24
- package/dist/esm/components/TradeDateTime/index.d.ts +5 -9
- package/dist/esm/components/TradeDateTime/index.js +10 -34
- package/dist/esm/components/TradeId/index.d.ts +5 -8
- package/dist/esm/components/TradeId/index.js +10 -18
- package/dist/esm/components/WorkOrderId/index.d.ts +11 -8
- package/dist/esm/components/WorkOrderId/index.js +22 -20
- package/dist/esm/index.d.ts +0 -9
- package/dist/esm/index.js +1 -10
- package/dist/esm/type.d.ts +36 -38
- package/package.json +4 -4
- package/dist/esm/commonComponents/PlatformAvatar/index.d.ts +0 -7
- package/dist/esm/commonComponents/PlatformAvatar/index.js +0 -28
- package/dist/esm/commonComponents/ShopList/index.d.ts +0 -13
- package/dist/esm/commonComponents/ShopList/index.js +0 -34
- package/dist/esm/components/CompletedUser/index.d.ts +0 -28
- package/dist/esm/components/CompletedUser/index.js +0 -60
- package/dist/esm/components/Handler/index.d.ts +0 -32
- package/dist/esm/components/Handler/index.js +0 -64
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +0 -25
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +0 -89
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +0 -24
- package/dist/esm/components/LogisticsInterception/InterceptType.js +0 -62
- package/dist/esm/components/LogisticsInterception/index.d.ts +0 -27
- package/dist/esm/components/LogisticsInterception/index.js +0 -90
- package/dist/esm/components/PlatForm/index.d.ts +0 -29
- package/dist/esm/components/PlatForm/index.js +0 -62
- package/dist/esm/components/ShopInput/index.d.ts +0 -26
- package/dist/esm/components/ShopInput/index.js +0 -71
- package/dist/esm/components/Submitter/index.d.ts +0 -28
- package/dist/esm/components/Submitter/index.js +0 -60
- package/dist/esm/factory.d.ts +0 -3
- package/dist/esm/factory.js +0 -105
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record } from '../../type';
|
|
3
3
|
declare class ReceiverMobile implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
14
|
effects: ComponentInterface["effects"];
|
|
10
|
-
isCombinationComponent: boolean;
|
|
11
|
-
children: ComponentInterface[];
|
|
12
15
|
constructor(options: PickOption);
|
|
13
|
-
render: (value: string, record
|
|
16
|
+
render: (value: string, record: Record) => JSX.Element;
|
|
14
17
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
19
|
renderExport: (value: any, record: Record) => any;
|
|
17
20
|
editRender: (value: any) => JSX.Element;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
componentType: (value: any) => JSX.Element;
|
|
25
|
+
renderExport: (value: any, record: Record) => any;
|
|
23
26
|
};
|
|
24
27
|
}
|
|
25
28
|
export default ReceiverMobile;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
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; }
|
|
2
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); }
|
|
3
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); } }
|
|
4
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; }
|
|
@@ -10,7 +12,7 @@ import React from 'react';
|
|
|
10
12
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
11
13
|
import GetFormItem from "../GetFormItem";
|
|
12
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull
|
|
15
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
16
|
var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options) {
|
|
15
17
|
var _this = this;
|
|
16
18
|
_classCallCheck(this, ReceiverMobile);
|
|
@@ -18,10 +20,13 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
18
20
|
_defineProperty(this, "id", void 0);
|
|
19
21
|
_defineProperty(this, "type", void 0);
|
|
20
22
|
_defineProperty(this, "rules", void 0);
|
|
23
|
+
_defineProperty(this, "canFilter", void 0);
|
|
24
|
+
_defineProperty(this, "canGroup", void 0);
|
|
25
|
+
_defineProperty(this, "canHidden", void 0);
|
|
26
|
+
_defineProperty(this, "dataType", void 0);
|
|
27
|
+
_defineProperty(this, "showContains", void 0);
|
|
21
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
29
|
_defineProperty(this, "effects", void 0);
|
|
23
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
-
_defineProperty(this, "children", void 0);
|
|
25
30
|
_defineProperty(this, "render", function (value, record) {
|
|
26
31
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
27
32
|
});
|
|
@@ -39,8 +44,8 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
39
44
|
return /*#__PURE__*/React.createElement("span", {
|
|
40
45
|
className: "pointer",
|
|
41
46
|
onClick: function onClick() {
|
|
42
|
-
var _this$effects
|
|
43
|
-
|
|
47
|
+
var _this$effects;
|
|
48
|
+
return _this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail(record);
|
|
44
49
|
}
|
|
45
50
|
}, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_receiveMobile")]);
|
|
46
51
|
});
|
|
@@ -62,27 +67,25 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
62
67
|
}))
|
|
63
68
|
});
|
|
64
69
|
});
|
|
65
|
-
_defineProperty(this, "
|
|
66
|
-
return {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
return function (i) {
|
|
74
|
-
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'receiveMobile')).includes(value);
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
};
|
|
70
|
+
_defineProperty(this, "getColumns", function () {
|
|
71
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
72
|
+
dataIndex: _this.id,
|
|
73
|
+
title: _this.name,
|
|
74
|
+
componentType: _this.editRender,
|
|
75
|
+
renderExport: _this.renderExport
|
|
76
|
+
});
|
|
77
|
+
;
|
|
78
78
|
});
|
|
79
79
|
this.name = options.name;
|
|
80
80
|
this.id = options.id;
|
|
81
81
|
this.type = options.type;
|
|
82
|
+
this.canFilter = true;
|
|
83
|
+
this.canGroup = false;
|
|
84
|
+
this.canHidden = true;
|
|
85
|
+
this.dataType = 'string';
|
|
86
|
+
this.showContains = true;
|
|
82
87
|
this.componentConfig = options.componentConfig;
|
|
83
88
|
this.rules = [];
|
|
84
89
|
this.effects = options.effects;
|
|
85
|
-
this.isCombinationComponent = false;
|
|
86
|
-
this.children = [];
|
|
87
90
|
});
|
|
88
91
|
export default ReceiverMobile;
|
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record } from '../../type';
|
|
3
3
|
declare class ReceiverName implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
14
|
effects: ComponentInterface["effects"];
|
|
10
|
-
isCombinationComponent: boolean;
|
|
11
|
-
children: ComponentInterface[];
|
|
12
15
|
constructor(options: PickOption);
|
|
13
16
|
render: (value: string, record: any) => JSX.Element;
|
|
14
17
|
renderClient: (record: any) => JSX.Element | null;
|
|
15
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
19
|
renderExport: (value: any, record: Record) => any;
|
|
17
20
|
editRender: () => JSX.Element;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
getColumns: () => this & {
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
title: string;
|
|
24
|
+
componentType: () => JSX.Element;
|
|
25
|
+
renderExport: (value: any, record: Record) => any;
|
|
23
26
|
};
|
|
24
27
|
}
|
|
25
28
|
export default ReceiverName;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
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; }
|
|
2
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); }
|
|
3
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); } }
|
|
4
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; }
|
|
@@ -10,7 +12,7 @@ import React from 'react';
|
|
|
10
12
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
11
13
|
import GetFormItem from "../GetFormItem";
|
|
12
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull
|
|
15
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
16
|
var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
15
17
|
var _this = this;
|
|
16
18
|
_classCallCheck(this, ReceiverName);
|
|
@@ -18,10 +20,13 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
18
20
|
_defineProperty(this, "id", void 0);
|
|
19
21
|
_defineProperty(this, "type", void 0);
|
|
20
22
|
_defineProperty(this, "rules", void 0);
|
|
23
|
+
_defineProperty(this, "canFilter", void 0);
|
|
24
|
+
_defineProperty(this, "canGroup", void 0);
|
|
25
|
+
_defineProperty(this, "canHidden", void 0);
|
|
26
|
+
_defineProperty(this, "dataType", void 0);
|
|
27
|
+
_defineProperty(this, "showContains", void 0);
|
|
21
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
29
|
_defineProperty(this, "effects", void 0);
|
|
23
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
24
|
-
_defineProperty(this, "children", void 0);
|
|
25
30
|
_defineProperty(this, "render", function (value, record) {
|
|
26
31
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
27
32
|
});
|
|
@@ -39,8 +44,8 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
39
44
|
return /*#__PURE__*/React.createElement("span", {
|
|
40
45
|
className: "pointer",
|
|
41
46
|
onClick: function onClick() {
|
|
42
|
-
var _this$effects
|
|
43
|
-
|
|
47
|
+
var _this$effects;
|
|
48
|
+
return _this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail(record);
|
|
44
49
|
}
|
|
45
50
|
}, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_receiveName")]);
|
|
46
51
|
});
|
|
@@ -59,27 +64,25 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
59
64
|
}))
|
|
60
65
|
});
|
|
61
66
|
});
|
|
62
|
-
_defineProperty(this, "
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return function (i) {
|
|
71
|
-
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'receiveName')).includes(value);
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
};
|
|
67
|
+
_defineProperty(this, "getColumns", function () {
|
|
68
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
69
|
+
dataIndex: _this.id,
|
|
70
|
+
title: _this.name,
|
|
71
|
+
componentType: _this.editRender,
|
|
72
|
+
renderExport: _this.renderExport
|
|
73
|
+
});
|
|
74
|
+
;
|
|
75
75
|
});
|
|
76
76
|
this.name = options.name;
|
|
77
77
|
this.id = options.id;
|
|
78
78
|
this.type = options.type;
|
|
79
|
+
this.canFilter = true;
|
|
80
|
+
this.canGroup = false;
|
|
81
|
+
this.canHidden = true;
|
|
82
|
+
this.dataType = 'string';
|
|
83
|
+
this.showContains = true;
|
|
79
84
|
this.componentConfig = options.componentConfig;
|
|
80
85
|
this.rules = [];
|
|
81
86
|
this.effects = options.effects;
|
|
82
|
-
this.isCombinationComponent = false;
|
|
83
|
-
this.children = [];
|
|
84
87
|
});
|
|
85
88
|
export default ReceiverName;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record } from '../../type';
|
|
3
3
|
declare type Value = {
|
|
4
4
|
flag?: number | string;
|
|
5
5
|
remark?: string;
|
|
@@ -9,22 +9,25 @@ declare class ERemark implements ComponentInterface {
|
|
|
9
9
|
id: string;
|
|
10
10
|
type: string;
|
|
11
11
|
rules: any[];
|
|
12
|
+
canFilter: boolean;
|
|
13
|
+
canGroup: boolean;
|
|
14
|
+
canHidden: boolean;
|
|
15
|
+
dataType: DataType;
|
|
16
|
+
showContains: boolean;
|
|
12
17
|
componentConfig: ComponentInterface["componentConfig"];
|
|
13
18
|
imgList: any[];
|
|
14
19
|
flagColors: string[];
|
|
15
|
-
isCombinationComponent: boolean;
|
|
16
|
-
children: ComponentInterface[];
|
|
17
20
|
constructor(options: PickOption);
|
|
18
21
|
render: (value: Value) => JSX.Element;
|
|
19
22
|
renderClient: (record: Record) => JSX.Element | null;
|
|
20
23
|
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
21
24
|
renderExport: (value: unknown, record: Record) => any;
|
|
22
25
|
editRender: () => JSX.Element;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
getColumns: () => this & {
|
|
27
|
+
dataIndex: string;
|
|
28
|
+
title: string;
|
|
29
|
+
componentType: () => JSX.Element;
|
|
30
|
+
renderExport: (value: unknown, record: Record) => any;
|
|
28
31
|
};
|
|
29
32
|
}
|
|
30
33
|
export default ERemark;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
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; }
|
|
2
4
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
5
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
6
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -16,7 +18,7 @@ import trade4 from "./flag/trade-icon-flag-4.png";
|
|
|
16
18
|
import trade5 from "./flag/trade-icon-flag-5.png";
|
|
17
19
|
import get from 'lodash/get';
|
|
18
20
|
import ItemView from "../../commonComponents/ItemView";
|
|
19
|
-
import { isNull
|
|
21
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
20
22
|
var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
21
23
|
var _this = this,
|
|
22
24
|
_this$componentConfig3;
|
|
@@ -25,11 +27,14 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
25
27
|
_defineProperty(this, "id", void 0);
|
|
26
28
|
_defineProperty(this, "type", void 0);
|
|
27
29
|
_defineProperty(this, "rules", void 0);
|
|
30
|
+
_defineProperty(this, "canFilter", void 0);
|
|
31
|
+
_defineProperty(this, "canGroup", void 0);
|
|
32
|
+
_defineProperty(this, "canHidden", void 0);
|
|
33
|
+
_defineProperty(this, "dataType", void 0);
|
|
34
|
+
_defineProperty(this, "showContains", void 0);
|
|
28
35
|
_defineProperty(this, "componentConfig", void 0);
|
|
29
36
|
_defineProperty(this, "imgList", void 0);
|
|
30
37
|
_defineProperty(this, "flagColors", void 0);
|
|
31
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
32
|
-
_defineProperty(this, "children", void 0);
|
|
33
38
|
_defineProperty(this, "render", function (value) {
|
|
34
39
|
var index = get(value, 'flag');
|
|
35
40
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -72,23 +77,23 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
72
77
|
component: /*#__PURE__*/React.createElement(Remark, _this.componentConfig)
|
|
73
78
|
});
|
|
74
79
|
});
|
|
75
|
-
_defineProperty(this, "
|
|
76
|
-
return {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
return function (i) {
|
|
84
|
-
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'remark')).includes(value);
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
};
|
|
80
|
+
_defineProperty(this, "getColumns", function () {
|
|
81
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
82
|
+
dataIndex: _this.id,
|
|
83
|
+
title: _this.name,
|
|
84
|
+
componentType: _this.editRender,
|
|
85
|
+
renderExport: _this.renderExport
|
|
86
|
+
});
|
|
87
|
+
;
|
|
88
88
|
});
|
|
89
89
|
this.name = options.name;
|
|
90
90
|
this.id = options.id;
|
|
91
91
|
this.type = options.type;
|
|
92
|
+
this.canFilter = false;
|
|
93
|
+
this.canGroup = false;
|
|
94
|
+
this.canHidden = true;
|
|
95
|
+
this.dataType = 'string';
|
|
96
|
+
this.showContains = false;
|
|
92
97
|
this.componentConfig = options.componentConfig;
|
|
93
98
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
94
99
|
validator: function validator(_, value) {
|
|
@@ -104,7 +109,5 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
104
109
|
}] : [];
|
|
105
110
|
this.imgList = [trade0, trade1, trade2, trade3, trade4, trade5];
|
|
106
111
|
this.flagColors = ['gray', 'red', 'yellow', 'green', 'blue', 'purple'];
|
|
107
|
-
this.isCombinationComponent = false;
|
|
108
|
-
this.children = [];
|
|
109
112
|
});
|
|
110
113
|
export default ERemark;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, DataType
|
|
2
|
+
import { ComponentInterface, PickOption, DataType } from '../../type';
|
|
3
3
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
import Express from '../Express';
|
|
5
5
|
import ExpressCode from '../ExpressCode';
|
|
@@ -17,25 +17,30 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
17
17
|
expressDateInstance: ExpressData;
|
|
18
18
|
express: Express;
|
|
19
19
|
expressCode: ExpressCode;
|
|
20
|
-
isCombinationComponent: boolean;
|
|
21
|
-
children: ComponentInterface[];
|
|
22
20
|
constructor(options: PickOption);
|
|
23
21
|
render: () => null;
|
|
24
22
|
renderClient: (record: any) => JSX.Element;
|
|
25
23
|
renderPc: () => null;
|
|
26
24
|
renderExport: () => null;
|
|
27
25
|
editRender: (value: any) => JSX.Element;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
26
|
+
getColumns: () => {
|
|
27
|
+
title: string;
|
|
28
|
+
children: ((Express & {
|
|
29
|
+
dataIndex: string;
|
|
30
|
+
title: string;
|
|
31
|
+
widget: JSX.Element;
|
|
32
|
+
groupFieldPath: string;
|
|
33
|
+
renderExport: (value: string, record: import("../../type").Record) => string | number;
|
|
34
|
+
render: (value: string, record: import("../../type").Record) => JSX.Element;
|
|
35
|
+
}) | (ExpressCode & {
|
|
36
|
+
dataIndex: string;
|
|
37
|
+
title: string;
|
|
38
|
+
groupFieldPath: string;
|
|
39
|
+
renderExport: (value: string, record: import("../../type").Record) => string;
|
|
40
|
+
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
41
|
+
}))[];
|
|
42
|
+
canHidden: boolean;
|
|
43
|
+
dataIndex: string;
|
|
44
|
+
};
|
|
40
45
|
}
|
|
41
46
|
export default ReturnLogistics;
|
|
@@ -31,8 +31,6 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
31
31
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
32
32
|
_defineProperty(this, "express", void 0);
|
|
33
33
|
_defineProperty(this, "expressCode", void 0);
|
|
34
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
35
|
-
_defineProperty(this, "children", void 0);
|
|
36
34
|
_defineProperty(this, "render", function () {
|
|
37
35
|
return null;
|
|
38
36
|
});
|
|
@@ -58,12 +56,13 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
58
56
|
}))
|
|
59
57
|
});
|
|
60
58
|
});
|
|
61
|
-
_defineProperty(this, "
|
|
62
|
-
return
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
_defineProperty(this, "getColumns", function () {
|
|
60
|
+
return {
|
|
61
|
+
title: _this.name,
|
|
62
|
+
children: [_this.express.getColumns(), _this.expressCode.getColumns()],
|
|
63
|
+
canHidden: _this.canHidden,
|
|
64
|
+
dataIndex: _this.id
|
|
65
|
+
};
|
|
67
66
|
});
|
|
68
67
|
this.name = options.name;
|
|
69
68
|
this.id = options.id;
|
|
@@ -83,8 +82,6 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
83
82
|
name: '退货物流单号',
|
|
84
83
|
id: "".concat(options.id, "_returnLogisticsCode")
|
|
85
84
|
}));
|
|
86
|
-
this.isCombinationComponent = true;
|
|
87
|
-
this.children = [this.express, this.expressCode];
|
|
88
85
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
89
86
|
validator: function validator(_, value) {
|
|
90
87
|
var _this$componentConfig4;
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record } from '../../type';
|
|
3
3
|
declare class BasicSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
|
-
isCombinationComponent: boolean;
|
|
10
|
-
children: ComponentInterface[];
|
|
11
14
|
constructor(options: PickOption);
|
|
12
15
|
render: (value: string) => JSX.Element;
|
|
13
16
|
editRender: () => JSX.Element;
|
|
14
17
|
renderClient: (record: any) => JSX.Element | null;
|
|
15
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
19
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
options: any[];
|
|
22
|
-
filterFn: (value: string) => (i: Record) => boolean;
|
|
20
|
+
getColumns: () => this & {
|
|
21
|
+
dataIndex: string;
|
|
22
|
+
title: string;
|
|
23
|
+
renderExport: (value: any, record: Record) => any;
|
|
23
24
|
};
|
|
24
25
|
}
|
|
25
26
|
export default BasicSelect;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
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; }
|
|
2
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); }
|
|
3
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); } }
|
|
4
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; }
|
|
@@ -10,7 +12,7 @@ import React from 'react';
|
|
|
10
12
|
import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
|
|
11
13
|
import GetFormItem from "../GetFormItem";
|
|
12
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull
|
|
15
|
+
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
16
|
var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
15
17
|
var _this = this;
|
|
16
18
|
_classCallCheck(this, BasicSelect);
|
|
@@ -18,9 +20,12 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
18
20
|
_defineProperty(this, "id", void 0);
|
|
19
21
|
_defineProperty(this, "type", void 0);
|
|
20
22
|
_defineProperty(this, "rules", void 0);
|
|
23
|
+
_defineProperty(this, "canFilter", void 0);
|
|
24
|
+
_defineProperty(this, "canGroup", void 0);
|
|
25
|
+
_defineProperty(this, "canHidden", void 0);
|
|
26
|
+
_defineProperty(this, "dataType", void 0);
|
|
27
|
+
_defineProperty(this, "showContains", void 0);
|
|
21
28
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
|
-
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
|
-
_defineProperty(this, "children", void 0);
|
|
24
29
|
_defineProperty(this, "render", function (value) {
|
|
25
30
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
26
31
|
});
|
|
@@ -52,28 +57,23 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
52
57
|
var _record2;
|
|
53
58
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_select")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
54
59
|
});
|
|
55
|
-
_defineProperty(this, "
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
filterComponentType: 'MultipleSelect',
|
|
63
|
-
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
|
|
64
|
-
filterFn: function filterFn(value) {
|
|
65
|
-
return function (i) {
|
|
66
|
-
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, 'select'));
|
|
67
|
-
};
|
|
68
|
-
} // 第一个为选中值,第二个参数为表格行记录值
|
|
69
|
-
};
|
|
60
|
+
_defineProperty(this, "getColumns", function () {
|
|
61
|
+
return _objectSpread(_objectSpread({}, _this), {}, {
|
|
62
|
+
dataIndex: _this.id,
|
|
63
|
+
title: _this.name,
|
|
64
|
+
renderExport: _this.renderExport
|
|
65
|
+
});
|
|
66
|
+
;
|
|
70
67
|
});
|
|
71
68
|
this.name = options.name;
|
|
72
69
|
this.id = options.id;
|
|
73
70
|
this.type = options.type;
|
|
71
|
+
this.canFilter = true;
|
|
72
|
+
this.canGroup = true;
|
|
73
|
+
this.canHidden = true;
|
|
74
|
+
this.showContains = false;
|
|
75
|
+
this.dataType = 'string';
|
|
74
76
|
this.componentConfig = options.componentConfig;
|
|
75
77
|
this.rules = [];
|
|
76
|
-
this.isCombinationComponent = false;
|
|
77
|
-
this.children = [];
|
|
78
78
|
});
|
|
79
79
|
export default BasicSelect;
|
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record } from '../../type';
|
|
3
3
|
declare class BasicInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
type: string;
|
|
7
7
|
rules: any[];
|
|
8
|
+
canFilter: boolean;
|
|
9
|
+
canGroup: boolean;
|
|
10
|
+
canHidden: boolean;
|
|
11
|
+
dataType: DataType;
|
|
12
|
+
showContains: boolean;
|
|
8
13
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
|
-
isCombinationComponent: boolean;
|
|
10
|
-
children: ComponentInterface[];
|
|
11
14
|
constructor(options: PickOption);
|
|
12
15
|
render: (value: string) => JSX.Element;
|
|
13
16
|
renderClient: (record: any) => JSX.Element | null;
|
|
14
17
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
15
18
|
renderExport: (value: any, record: Record) => any;
|
|
16
19
|
editRender: (value: any) => JSX.Element;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
getColumns: () => this & {
|
|
21
|
+
dataIndex: string;
|
|
22
|
+
title: string;
|
|
23
|
+
componentType: (value: any) => JSX.Element;
|
|
24
|
+
renderExport: (value: any, record: Record) => any;
|
|
22
25
|
};
|
|
23
26
|
}
|
|
24
27
|
export default BasicInput;
|