@kmkf-fe-packages/services-components 0.5.2-alpha.3 → 0.5.2-alpha.5
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/PlatformAvatar/index.d.ts +7 -0
- package/dist/esm/commonComponents/PlatformAvatar/index.js +28 -0
- package/dist/esm/components/ActualPayment/index.d.ts +7 -1
- package/dist/esm/components/ActualPayment/index.js +15 -1
- package/dist/esm/components/Alipay/index.d.ts +7 -1
- package/dist/esm/components/Alipay/index.js +3 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +7 -1
- package/dist/esm/components/AlipayAccount/index.js +13 -1
- package/dist/esm/components/AlipayName/index.d.ts +7 -1
- package/dist/esm/components/AlipayName/index.js +13 -1
- package/dist/esm/components/BuyerNick/index.d.ts +7 -1
- package/dist/esm/components/BuyerNick/index.js +15 -1
- package/dist/esm/components/Cascader/index.d.ts +8 -1
- package/dist/esm/components/Cascader/index.js +18 -1
- package/dist/esm/components/Checkbox/index.d.ts +8 -1
- package/dist/esm/components/Checkbox/index.js +21 -1
- package/dist/esm/components/CommonDataTime/index.d.ts +7 -1
- package/dist/esm/components/CommonDataTime/index.js +16 -1
- package/dist/esm/components/CompletedUser/index.d.ts +28 -0
- package/dist/esm/components/CompletedUser/index.js +60 -0
- package/dist/esm/components/DataTime/index.d.ts +8 -1
- package/dist/esm/components/DataTime/index.js +18 -1
- package/dist/esm/components/EItemEnCode/index.d.ts +7 -1
- package/dist/esm/components/EItemEnCode/index.js +19 -1
- package/dist/esm/components/EItemId/index.d.ts +7 -1
- package/dist/esm/components/EItemId/index.js +19 -1
- package/dist/esm/components/Express/index.d.ts +7 -1
- package/dist/esm/components/Express/index.js +14 -1
- package/dist/esm/components/ExpressCode/index.d.ts +7 -1
- package/dist/esm/components/ExpressCode/index.js +14 -1
- package/dist/esm/components/FlowStatusSelect/index.d.ts +11 -1
- package/dist/esm/components/FlowStatusSelect/index.js +22 -0
- package/dist/esm/components/Handler/index.d.ts +32 -0
- package/dist/esm/components/Handler/index.js +64 -0
- package/dist/esm/components/Input/index.d.ts +7 -1
- package/dist/esm/components/Input/index.js +15 -1
- package/dist/esm/components/JstItemSelect/index.d.ts +7 -1
- package/dist/esm/components/JstItemSelect/index.js +32 -1
- package/dist/esm/components/JstLogistics/index.d.ts +17 -1
- package/dist/esm/components/JstLogistics/index.js +34 -1
- package/dist/esm/components/JstSendGood/index.d.ts +7 -1
- package/dist/esm/components/JstSendGood/index.js +32 -1
- package/dist/esm/components/JstSupply/index.d.ts +7 -1
- package/dist/esm/components/JstSupply/index.js +32 -1
- package/dist/esm/components/Logistics/index.d.ts +12 -1
- package/dist/esm/components/Logistics/index.js +7 -0
- package/dist/esm/components/MultSelect/index.d.ts +8 -1
- package/dist/esm/components/MultSelect/index.js +18 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +7 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +13 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +7 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +13 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +7 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +13 -1
- package/dist/esm/components/Ordinary/index.d.ts +7 -1
- package/dist/esm/components/Ordinary/index.js +5 -0
- package/dist/esm/components/Payment/AlipayNick.d.ts +7 -1
- package/dist/esm/components/Payment/AlipayNick.js +13 -1
- package/dist/esm/components/Payment/AlipayNo.d.ts +7 -1
- package/dist/esm/components/Payment/AlipayNo.js +13 -1
- package/dist/esm/components/Payment/AlipayTime.d.ts +7 -1
- package/dist/esm/components/Payment/AlipayTime.js +14 -1
- package/dist/esm/components/Payment/BuyerNick.d.ts +7 -1
- package/dist/esm/components/Payment/BuyerNick.js +13 -1
- package/dist/esm/components/Payment/PaymentAmount.d.ts +7 -1
- package/dist/esm/components/Payment/PaymentAmount.js +13 -1
- package/dist/esm/components/Payment/PaymentStatus.d.ts +15 -1
- package/dist/esm/components/Payment/PaymentStatus.js +37 -1
- package/dist/esm/components/Payment/PaymentTid.d.ts +7 -1
- package/dist/esm/components/Payment/PaymentTid.js +13 -1
- package/dist/esm/components/Payment/index.d.ts +16 -1
- package/dist/esm/components/Payment/index.js +5 -0
- package/dist/esm/components/PlatForm/index.d.ts +9 -2
- package/dist/esm/components/PlatForm/index.js +19 -3
- package/dist/esm/components/Radio/index.d.ts +8 -1
- package/dist/esm/components/Radio/index.js +20 -1
- package/dist/esm/components/ReceiverMobile/index.d.ts +7 -1
- package/dist/esm/components/ReceiverMobile/index.js +15 -1
- package/dist/esm/components/ReceiverName/index.d.ts +7 -1
- package/dist/esm/components/ReceiverName/index.js +15 -1
- package/dist/esm/components/Remark/index.d.ts +7 -1
- package/dist/esm/components/Remark/index.js +15 -1
- package/dist/esm/components/ReturnLogistics/index.d.ts +12 -1
- package/dist/esm/components/ReturnLogistics/index.js +7 -0
- package/dist/esm/components/Select/index.d.ts +8 -1
- package/dist/esm/components/Select/index.js +17 -1
- package/dist/esm/components/ShopInput/index.d.ts +26 -0
- package/dist/esm/components/ShopInput/index.js +71 -0
- package/dist/esm/components/ShopName/index.d.ts +7 -1
- package/dist/esm/components/ShopName/index.js +15 -1
- package/dist/esm/components/Submitter/index.d.ts +28 -0
- package/dist/esm/components/Submitter/index.js +60 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +7 -1
- package/dist/esm/components/SystemOrderNo/index.js +15 -1
- package/dist/esm/components/TemplateSelect/index.d.ts +8 -1
- package/dist/esm/components/TemplateSelect/index.js +17 -0
- package/dist/esm/components/TextArea/index.d.ts +7 -1
- package/dist/esm/components/TextArea/index.js +15 -1
- package/dist/esm/components/ThirdItemSelect/index.d.ts +7 -1
- package/dist/esm/components/ThirdItemSelect/index.js +21 -1
- package/dist/esm/components/TradeDateTime/index.d.ts +8 -1
- package/dist/esm/components/TradeDateTime/index.js +31 -1
- package/dist/esm/components/TradeId/index.d.ts +7 -1
- package/dist/esm/components/TradeId/index.js +15 -1
- package/dist/esm/components/WorkOrderId/index.d.ts +7 -1
- package/dist/esm/components/WorkOrderId/index.js +15 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +5 -1
- package/dist/esm/type.d.ts +21 -0
- package/package.json +3 -3
|
@@ -11,7 +11,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import ItemId from "./ItemId";
|
|
12
12
|
import { GoodImage } from "../Common";
|
|
13
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
15
|
var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
16
16
|
var _this = this,
|
|
17
17
|
_this$componentConfig2;
|
|
@@ -68,6 +68,24 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
68
68
|
}))
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
72
|
+
return {
|
|
73
|
+
id: item.id,
|
|
74
|
+
// 过滤组件id
|
|
75
|
+
name: item.name,
|
|
76
|
+
// 过滤组件名称
|
|
77
|
+
filterComponentType: 'Input',
|
|
78
|
+
filterFn: function filterFn(value) {
|
|
79
|
+
return function (i) {
|
|
80
|
+
var _ref2;
|
|
81
|
+
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'itemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
82
|
+
var _String;
|
|
83
|
+
return item !== null && item !== void 0 && item.numIid ? (_String = String(item === null || item === void 0 ? void 0 : item.numIid)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
});
|
|
71
89
|
this.name = options.name;
|
|
72
90
|
this.id = options.id;
|
|
73
91
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class Express implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -18,5 +18,11 @@ declare class Express implements ComponentInterface {
|
|
|
18
18
|
renderPc: (value: string, record: Record) => JSX.Element;
|
|
19
19
|
renderExport: (value: string, record: Record) => string | number;
|
|
20
20
|
editRender: () => JSX.Element;
|
|
21
|
+
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
filterComponentType: "MultipleSelect";
|
|
25
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
26
|
+
};
|
|
21
27
|
}
|
|
22
28
|
export default Express;
|
|
@@ -10,7 +10,7 @@ import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
|
10
10
|
import GetFormItem from "../GetFormItem";
|
|
11
11
|
import ExpressCompany from "../ExpressCompany";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
14
|
var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
15
15
|
var _this = this;
|
|
16
16
|
_classCallCheck(this, Express);
|
|
@@ -55,6 +55,19 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
55
55
|
}) : null
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
59
|
+
var subKey = item.subKey;
|
|
60
|
+
return {
|
|
61
|
+
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
62
|
+
name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
|
|
63
|
+
filterComponentType: 'MultipleSelect',
|
|
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, "".concat(subKey)));
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
});
|
|
58
71
|
this.name = options.name;
|
|
59
72
|
this.id = options.id;
|
|
60
73
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
declare class ExpressCode implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -16,5 +16,11 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
16
16
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
17
17
|
renderExport: (value: string, record: Record) => string;
|
|
18
18
|
editRender: () => JSX.Element;
|
|
19
|
+
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
filterComponentType: "Input";
|
|
23
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
24
|
+
};
|
|
19
25
|
}
|
|
20
26
|
export default ExpressCode;
|
|
@@ -9,7 +9,7 @@ import React from 'react';
|
|
|
9
9
|
import { Input } from 'antd';
|
|
10
10
|
import GetFormItem from "../GetFormItem";
|
|
11
11
|
import ItemView from "../../commonComponents/ItemView";
|
|
12
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
13
|
var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
14
14
|
var _this = this,
|
|
15
15
|
_this$componentConfig5;
|
|
@@ -49,6 +49,19 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
49
49
|
component: !((_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.isSingle) || ((_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.showField) === 'EXPRESS_WAYBILL_CODE' ? /*#__PURE__*/React.createElement(Input, null) : null
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
53
|
+
var subKey = item.subKey;
|
|
54
|
+
return {
|
|
55
|
+
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
56
|
+
name: "".concat(item.name, "-\u7269\u6D41\u5355\u53F7"),
|
|
57
|
+
filterComponentType: 'Input',
|
|
58
|
+
filterFn: function filterFn(value) {
|
|
59
|
+
return function (i) {
|
|
60
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)), value);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
});
|
|
52
65
|
this.name = options.name;
|
|
53
66
|
this.id = options.id;
|
|
54
67
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
3
3
|
declare class WorkOrderId implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -17,5 +17,15 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
17
17
|
render: () => null;
|
|
18
18
|
renderClient: () => null;
|
|
19
19
|
editRender: () => JSX.Element;
|
|
20
|
+
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
filterComponentType: "MultipleSelect";
|
|
24
|
+
options: {
|
|
25
|
+
label: any;
|
|
26
|
+
value: string;
|
|
27
|
+
}[];
|
|
28
|
+
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
29
|
+
};
|
|
20
30
|
}
|
|
21
31
|
export default WorkOrderId;
|
|
@@ -9,6 +9,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { Dropdown, Menu } from 'antd';
|
|
11
11
|
import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
|
|
12
|
+
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
13
|
import GetFormItem from "../GetFormItem";
|
|
13
14
|
import get from 'lodash/get';
|
|
14
15
|
var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
@@ -74,6 +75,27 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
74
75
|
}))
|
|
75
76
|
});
|
|
76
77
|
});
|
|
78
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
79
|
+
var _Object$keys;
|
|
80
|
+
return {
|
|
81
|
+
id: item.id,
|
|
82
|
+
// 过滤组件id
|
|
83
|
+
name: item.name,
|
|
84
|
+
// 过滤组件名称
|
|
85
|
+
filterComponentType: 'MultipleSelect',
|
|
86
|
+
options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
|
|
87
|
+
return {
|
|
88
|
+
label: _this.workOrderStatus[item].label,
|
|
89
|
+
value: item
|
|
90
|
+
};
|
|
91
|
+
}),
|
|
92
|
+
filterFn: function filterFn(value) {
|
|
93
|
+
return function (i) {
|
|
94
|
+
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
});
|
|
77
99
|
this.name = options.name;
|
|
78
100
|
this.id = options.id;
|
|
79
101
|
this.type = options.type;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type';
|
|
3
|
+
declare class Handler implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
8
|
+
effects: ComponentInterface["effects"];
|
|
9
|
+
isCombinationComponent: boolean;
|
|
10
|
+
children: ComponentInterface[];
|
|
11
|
+
constructor(options: PickOption);
|
|
12
|
+
renderPc: (value: {
|
|
13
|
+
account: string;
|
|
14
|
+
}[], record: Record) => JSX.Element;
|
|
15
|
+
renderExport: (value: {
|
|
16
|
+
account: string;
|
|
17
|
+
}[], record: Record) => string;
|
|
18
|
+
render: () => null;
|
|
19
|
+
renderClient: () => null;
|
|
20
|
+
editRender: () => null;
|
|
21
|
+
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
filterComponentType: "MultipleSelect";
|
|
25
|
+
options: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}[];
|
|
29
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export default Handler;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
3
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
4
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
5
|
+
function _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; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
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); }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
|
+
var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
11
|
+
var _this = this;
|
|
12
|
+
_classCallCheck(this, Handler);
|
|
13
|
+
_defineProperty(this, "name", void 0);
|
|
14
|
+
_defineProperty(this, "id", void 0);
|
|
15
|
+
_defineProperty(this, "type", void 0);
|
|
16
|
+
_defineProperty(this, "componentConfig", void 0);
|
|
17
|
+
_defineProperty(this, "effects", void 0);
|
|
18
|
+
_defineProperty(this, "isCombinationComponent", void 0);
|
|
19
|
+
_defineProperty(this, "children", void 0);
|
|
20
|
+
_defineProperty(this, "renderPc", function (value, record) {
|
|
21
|
+
var _value$map$join, _value$map;
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", null, (_value$map$join = value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
|
|
23
|
+
return item.account;
|
|
24
|
+
})) === null || _value$map === void 0 ? void 0 : _value$map.join('、')) !== null && _value$map$join !== void 0 ? _value$map$join : '--');
|
|
25
|
+
});
|
|
26
|
+
_defineProperty(this, "renderExport", function (value, record) {
|
|
27
|
+
var _value$map$join2, _value$map2;
|
|
28
|
+
return (_value$map$join2 = value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
|
|
29
|
+
return item.account;
|
|
30
|
+
})) === null || _value$map2 === void 0 ? void 0 : _value$map2.join('、')) !== null && _value$map$join2 !== void 0 ? _value$map$join2 : '--';
|
|
31
|
+
});
|
|
32
|
+
_defineProperty(this, "render", function () {
|
|
33
|
+
return null;
|
|
34
|
+
});
|
|
35
|
+
_defineProperty(this, "renderClient", function () {
|
|
36
|
+
return null;
|
|
37
|
+
});
|
|
38
|
+
_defineProperty(this, "editRender", function () {
|
|
39
|
+
return null;
|
|
40
|
+
});
|
|
41
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
42
|
+
var _this$effects;
|
|
43
|
+
return {
|
|
44
|
+
id: item.id,
|
|
45
|
+
// 过滤组件id
|
|
46
|
+
name: item.name,
|
|
47
|
+
// 过滤组件名称
|
|
48
|
+
filterComponentType: 'MultipleSelect',
|
|
49
|
+
options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || [],
|
|
50
|
+
filterFn: function filterFn(value) {
|
|
51
|
+
return function (i) {
|
|
52
|
+
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
this.name = "处理人";
|
|
58
|
+
this.id = "handlerList";
|
|
59
|
+
this.type = "HANDLER_INPUT";
|
|
60
|
+
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
61
|
+
this.isCombinationComponent = false;
|
|
62
|
+
this.children = [];
|
|
63
|
+
});
|
|
64
|
+
export default Handler;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
3
3
|
declare class BasicInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -14,5 +14,11 @@ declare class BasicInput implements ComponentInterface {
|
|
|
14
14
|
render: (value: string | number) => JSX.Element;
|
|
15
15
|
renderClient: (record: Record) => JSX.Element | null;
|
|
16
16
|
editRender: () => JSX.Element;
|
|
17
|
+
filterConfig: (item: ColumnConfig) => {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
filterComponentType: "Input";
|
|
21
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
22
|
+
};
|
|
17
23
|
}
|
|
18
24
|
export default BasicInput;
|
|
@@ -10,7 +10,7 @@ import React from 'react';
|
|
|
10
10
|
import { ApaasInput } from '@kmkf-fe-packages/basic-components';
|
|
11
11
|
import GetFormItem from "../GetFormItem";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
14
|
var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
15
15
|
var _this = this,
|
|
16
16
|
_options$componentCon;
|
|
@@ -52,6 +52,20 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
52
52
|
}))
|
|
53
53
|
});
|
|
54
54
|
});
|
|
55
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
56
|
+
return {
|
|
57
|
+
id: item.id,
|
|
58
|
+
// 过滤组件id
|
|
59
|
+
name: item.name,
|
|
60
|
+
// 过滤组件名称
|
|
61
|
+
filterComponentType: 'Input',
|
|
62
|
+
filterFn: function filterFn(value) {
|
|
63
|
+
return function (i) {
|
|
64
|
+
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'input')).includes(value);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
});
|
|
55
69
|
this.name = options.name;
|
|
56
70
|
this.id = options.id;
|
|
57
71
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class JstItemSelect implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -17,5 +17,11 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
17
17
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
18
|
renderExport: (value: any, record: any) => any;
|
|
19
19
|
editRender: () => JSX.Element;
|
|
20
|
+
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
filterComponentType: "Input";
|
|
24
|
+
filterFn: (value: string) => (i: Record) => any;
|
|
25
|
+
}[];
|
|
20
26
|
}
|
|
21
27
|
export default JstItemSelect;
|
|
@@ -12,7 +12,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
12
12
|
import { GoodImage } from "../Common";
|
|
13
13
|
import { JstItemList } from '@kmkf-fe-packages/basic-components';
|
|
14
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
16
|
var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
17
17
|
var _this = this,
|
|
18
18
|
_this$componentConfig;
|
|
@@ -65,6 +65,37 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
65
65
|
}))
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
69
|
+
return [{
|
|
70
|
+
id: "".concat(item.id, "_itemId"),
|
|
71
|
+
name: "jst\u4F9B\u5E94\u5546\u7F16\u7801",
|
|
72
|
+
filterComponentType: 'Input',
|
|
73
|
+
filterFn: function filterFn(value) {
|
|
74
|
+
return function (i) {
|
|
75
|
+
var _ref;
|
|
76
|
+
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
77
|
+
var _String;
|
|
78
|
+
var id = item !== null && item !== void 0 && item.itemId ? (_String = String(item === null || item === void 0 ? void 0 : item.itemId)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
79
|
+
return id;
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}, {
|
|
84
|
+
id: "".concat(item.id, "_supplierName"),
|
|
85
|
+
name: "jst\u4F9B\u5E94\u5546\u540D\u79F0",
|
|
86
|
+
filterComponentType: 'Input',
|
|
87
|
+
filterFn: function filterFn(value) {
|
|
88
|
+
return function (i) {
|
|
89
|
+
var _ref2;
|
|
90
|
+
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
91
|
+
var _String2;
|
|
92
|
+
var name = item !== null && item !== void 0 && item.supplierName ? (_String2 = String(item === null || item === void 0 ? void 0 : item.supplierName)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
|
|
93
|
+
return name;
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
}];
|
|
98
|
+
});
|
|
68
99
|
this.name = options.name;
|
|
69
100
|
this.id = options.id;
|
|
70
101
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class JstLogistics implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -17,5 +17,21 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
17
17
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
18
|
renderExport: (value: any, record: any) => any;
|
|
19
19
|
editRender: () => JSX.Element;
|
|
20
|
+
filterConfig: (item: ColumnConfig) => ({
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
filterComponentType: "Input";
|
|
24
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
25
|
+
options?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
filterComponentType: "MultipleSelect";
|
|
30
|
+
options: {
|
|
31
|
+
label: string | number;
|
|
32
|
+
value: string | number;
|
|
33
|
+
}[] | undefined;
|
|
34
|
+
filterFn: (value: string) => (i: Record) => any;
|
|
35
|
+
})[];
|
|
20
36
|
}
|
|
21
37
|
export default JstLogistics;
|
|
@@ -12,7 +12,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
12
12
|
import { JstGoodImage } from "../Common";
|
|
13
13
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
14
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
16
|
var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
17
17
|
var _this = this,
|
|
18
18
|
_this$componentConfig3;
|
|
@@ -67,6 +67,39 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
67
67
|
}))
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
71
|
+
var _this$expressDateInst;
|
|
72
|
+
return [{
|
|
73
|
+
id: "".concat(item.id, "_logisticsCode"),
|
|
74
|
+
name: "jst\u7269\u6D41\u5355\u53F7",
|
|
75
|
+
filterComponentType: 'Input',
|
|
76
|
+
filterFn: function filterFn(value) {
|
|
77
|
+
return function (i) {
|
|
78
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'logisticsCode'), value);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
id: "".concat(item.id, "_logisticsCompany"),
|
|
83
|
+
name: "jst\u7269\u6D41\u516C\u53F8",
|
|
84
|
+
filterComponentType: 'MultipleSelect',
|
|
85
|
+
options: (_this$expressDateInst = _this.expressDateInstance.getExpressData()) === null || _this$expressDateInst === void 0 ? void 0 : _this$expressDateInst.map(function (item) {
|
|
86
|
+
return {
|
|
87
|
+
label: item.label,
|
|
88
|
+
value: item.value
|
|
89
|
+
};
|
|
90
|
+
}),
|
|
91
|
+
filterFn: function filterFn(value) {
|
|
92
|
+
return function (i) {
|
|
93
|
+
var _ref;
|
|
94
|
+
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'logisticsCompany').split(',') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
95
|
+
var _String;
|
|
96
|
+
var logisticsCompany = item ? (_String = String(item)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
97
|
+
return logisticsCompany;
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
}];
|
|
102
|
+
});
|
|
70
103
|
this.name = options.name;
|
|
71
104
|
this.id = options.id;
|
|
72
105
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
declare class JstSendGood implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -15,5 +15,11 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
15
15
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
16
|
renderExport: (value: any, record: any) => any;
|
|
17
17
|
editRender: () => JSX.Element;
|
|
18
|
+
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
filterComponentType: "Input";
|
|
22
|
+
filterFn: (value: string) => (i: Record) => any;
|
|
23
|
+
}[];
|
|
18
24
|
}
|
|
19
25
|
export default JstSendGood;
|
|
@@ -11,7 +11,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import { JstGoodImage } from "../Common";
|
|
12
12
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
13
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
15
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
16
16
|
var _this = this,
|
|
17
17
|
_this$componentConfig;
|
|
@@ -63,6 +63,37 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
63
63
|
}))
|
|
64
64
|
});
|
|
65
65
|
});
|
|
66
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
67
|
+
return [{
|
|
68
|
+
id: "".concat(item.id, "_sendName"),
|
|
69
|
+
name: "jst\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
70
|
+
filterComponentType: 'Input',
|
|
71
|
+
filterFn: function filterFn(value) {
|
|
72
|
+
return function (i) {
|
|
73
|
+
var _ref;
|
|
74
|
+
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
75
|
+
var _String;
|
|
76
|
+
var name = item !== null && item !== void 0 && item.sendName ? (_String = String(item === null || item === void 0 ? void 0 : item.sendName)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
77
|
+
return name;
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
id: "".concat(item.id, "_sendId"),
|
|
83
|
+
name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
|
|
84
|
+
filterComponentType: 'Input',
|
|
85
|
+
filterFn: function filterFn(value) {
|
|
86
|
+
return function (i) {
|
|
87
|
+
var _ref2;
|
|
88
|
+
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
89
|
+
var _String2;
|
|
90
|
+
var id = item !== null && item !== void 0 && item.sendId ? (_String2 = String(item === null || item === void 0 ? void 0 : item.sendId)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
|
|
91
|
+
return id;
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
}];
|
|
96
|
+
});
|
|
66
97
|
this.name = options.name;
|
|
67
98
|
this.id = options.id;
|
|
68
99
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ALignType, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
3
3
|
declare class JstSupply implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
@@ -15,5 +15,11 @@ declare class JstSupply implements ComponentInterface {
|
|
|
15
15
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
16
|
renderExport: (value: any, record: any) => any;
|
|
17
17
|
editRender: () => JSX.Element;
|
|
18
|
+
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
filterComponentType: "Input";
|
|
22
|
+
filterFn: (value: string) => (i: Record) => any;
|
|
23
|
+
}[];
|
|
18
24
|
}
|
|
19
25
|
export default JstSupply;
|
|
@@ -11,7 +11,7 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import { JstGoodImage } from "../Common";
|
|
12
12
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
13
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
|
-
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
15
|
var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
16
16
|
var _this = this,
|
|
17
17
|
_this$componentConfig;
|
|
@@ -63,6 +63,37 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
63
63
|
}))
|
|
64
64
|
});
|
|
65
65
|
});
|
|
66
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
67
|
+
return [{
|
|
68
|
+
id: "".concat(item.id, "_supplyName"),
|
|
69
|
+
name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
|
|
70
|
+
filterComponentType: 'Input',
|
|
71
|
+
filterFn: function filterFn(value) {
|
|
72
|
+
return function (i) {
|
|
73
|
+
var _ref;
|
|
74
|
+
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
75
|
+
var _String;
|
|
76
|
+
var name = item !== null && item !== void 0 && item.supplyName ? (_String = String(item === null || item === void 0 ? void 0 : item.supplyName)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
77
|
+
return name;
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
id: "".concat(item.id, "_supplyId"),
|
|
83
|
+
name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
|
|
84
|
+
filterComponentType: 'Input',
|
|
85
|
+
filterFn: function filterFn(value) {
|
|
86
|
+
return function (i) {
|
|
87
|
+
var _ref2;
|
|
88
|
+
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
89
|
+
var _String2;
|
|
90
|
+
var id = item !== null && item !== void 0 && item.supplyId ? (_String2 = String(item === null || item === void 0 ? void 0 : item.supplyId)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
|
|
91
|
+
return id;
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
}];
|
|
96
|
+
});
|
|
66
97
|
this.name = options.name;
|
|
67
98
|
this.id = options.id;
|
|
68
99
|
this.type = options.type;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, Record } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
3
3
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
import Express from '../Express';
|
|
5
5
|
import ExpressCode from '../ExpressCode';
|
|
@@ -20,5 +20,16 @@ declare class Logistics implements ComponentInterface {
|
|
|
20
20
|
renderClient: (record: Record) => JSX.Element;
|
|
21
21
|
renderPc: () => null;
|
|
22
22
|
renderExport: () => null;
|
|
23
|
+
filterConfig: (item: ColumnConfig) => ({
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
filterComponentType: "MultipleSelect";
|
|
27
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
|
+
} | {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
filterComponentType: "Input";
|
|
32
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
33
|
+
})[];
|
|
23
34
|
}
|
|
24
35
|
export default Logistics;
|
|
@@ -53,6 +53,13 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
53
53
|
_defineProperty(this, "renderExport", function () {
|
|
54
54
|
return null;
|
|
55
55
|
});
|
|
56
|
+
_defineProperty(this, "filterConfig", function (item) {
|
|
57
|
+
return [_this.express.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
|
|
58
|
+
subKey: 'expressLogisticsCompany'
|
|
59
|
+
})), _this.expressCode.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
|
|
60
|
+
subKey: 'expressLogisticsCode'
|
|
61
|
+
}))];
|
|
62
|
+
});
|
|
56
63
|
this.name = options.name;
|
|
57
64
|
this.id = options.id;
|
|
58
65
|
this.type = options.type;
|