@kmkf-fe-packages/services-components 0.7.15-alpha.7 → 0.7.15-alpha.71
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/QueryLogisticsTrack/index.js +23 -21
- package/dist/esm/commonComponents/ShopList/index.d.ts +1 -1
- package/dist/esm/commonComponents/ShopList/index.js +4 -2
- package/dist/esm/components/ActualPayment/index.d.ts +5 -4
- package/dist/esm/components/ActualPayment/index.js +25 -21
- package/dist/esm/components/AlipayAccount/index.js +2 -1
- package/dist/esm/components/BS/BsExchange/index.d.ts +12 -6
- package/dist/esm/components/BS/BsExchange/index.js +233 -111
- package/dist/esm/components/BS/BsGoods/index.d.ts +11 -9
- package/dist/esm/components/BS/BsGoods/index.js +93 -60
- package/dist/esm/components/BS/BsReissue/index.d.ts +17 -6
- package/dist/esm/components/BS/BsReissue/index.js +110 -54
- package/dist/esm/components/BS/common/{BsChildNumber.d.ts → BsHeaderCode.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildNumber.js → BsHeaderCode.js} +28 -11
- package/dist/esm/components/BS/common/BsHeaderGood.d.ts +27 -0
- package/dist/esm/components/BS/common/BsHeaderGood.js +156 -0
- package/dist/esm/components/BS/common/{BsChildMoney.d.ts → BsHeaderMoney.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildMoney.js → BsHeaderMoney.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildName.d.ts → BsHeaderName.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildName.js → BsHeaderName.js} +29 -11
- package/dist/esm/components/BS/common/{BsChildCode.d.ts → BsHeaderNumber.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildCode.js → BsHeaderNumber.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildPic.d.ts → BsHeaderPic.d.ts} +7 -6
- package/dist/esm/components/BS/common/{BsChildPic.js → BsHeaderPic.js} +36 -10
- package/dist/esm/components/BS/common/{BsChildShare.d.ts → BsHeaderShare.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildShare.js → BsHeaderShare.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildSku.d.ts → BsHeaderSku.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildSku.js → BsHeaderSku.js} +28 -11
- package/dist/esm/components/BS/common/{BsChildType.d.ts → BsHeaderType.d.ts} +5 -4
- package/dist/esm/components/BS/common/{BsChildType.js → BsHeaderType.js} +28 -11
- package/dist/esm/components/BS/common/BsMemo.d.ts +8 -7
- package/dist/esm/components/BS/common/BsMemo.js +55 -21
- package/dist/esm/components/BS/common/BsType.d.ts +8 -6
- package/dist/esm/components/BS/common/BsType.js +53 -17
- package/dist/esm/components/BS/common/index.d.ts +9 -8
- package/dist/esm/components/BS/common/index.js +9 -8
- package/dist/esm/components/BuyerNick/index.js +5 -1
- package/dist/esm/components/Cascader/index.d.ts +1 -0
- package/dist/esm/components/Cascader/index.js +3 -1
- package/dist/esm/components/Common/index.d.ts +6 -1
- package/dist/esm/components/Common/index.js +115 -20
- package/dist/esm/components/EItemEnCode/index.js +6 -2
- package/dist/esm/components/EItemId/index.d.ts +3 -3
- package/dist/esm/components/EItemId/index.js +14 -10
- package/dist/esm/components/EItemSelect/index.js +6 -2
- package/dist/esm/components/ErpTradeId/index.d.ts +2 -1
- package/dist/esm/components/ErpTradeId/index.js +27 -4
- package/dist/esm/components/ExpressCode/index.d.ts +1 -1
- package/dist/esm/components/ExpressCode/index.js +2 -2
- package/dist/esm/components/File/index.d.ts +1 -1
- package/dist/esm/components/File/index.js +26 -5
- package/dist/esm/components/FlowStatusSelect/index.d.ts +0 -1
- package/dist/esm/components/FlowStatusSelect/index.js +30 -24
- package/dist/esm/components/FlowWorkOrderId/index.d.ts +33 -0
- package/dist/esm/components/FlowWorkOrderId/index.js +112 -0
- package/dist/esm/components/JST/JstItemSelect/index.js +6 -2
- package/dist/esm/components/JST/JstLogistics/index.d.ts +19 -13
- package/dist/esm/components/JST/JstLogistics/index.js +71 -33
- package/dist/esm/components/JST/JstSendGood/index.d.ts +6 -0
- package/dist/esm/components/JST/JstSendGood/index.js +33 -13
- package/dist/esm/components/JST/JstSupply/index.js +6 -2
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +5 -1
- package/dist/esm/components/LogisticsTrajectory/index.d.ts +8 -9
- package/dist/esm/components/LogisticsTrajectory/index.js +12 -10
- package/dist/esm/components/LogisticsTrajectory/trajectoryCode.js +11 -6
- package/dist/esm/components/LogisticsTrajectory/trajectoryCompany.d.ts +6 -6
- package/dist/esm/components/LogisticsTrajectory/trajectoryCompany.js +8 -8
- package/dist/esm/components/LogisticsTrajectory/trajectorySnapshot.d.ts +0 -1
- package/dist/esm/components/LogisticsTrajectory/trajectorySnapshot.js +4 -10
- package/dist/esm/components/Payment/AlipayNick.js +2 -1
- package/dist/esm/components/Payment/AlipayNo.js +2 -1
- package/dist/esm/components/Payment/BuyerNick.js +6 -3
- package/dist/esm/components/Payment/index.d.ts +1 -0
- package/dist/esm/components/Payment/index.js +9 -6
- package/dist/esm/components/Picture/index.js +3 -0
- package/dist/esm/components/PostIng/index.d.ts +1 -24
- package/dist/esm/components/PostIng/index.js +53 -52
- package/dist/esm/components/Rate/index.js +5 -1
- package/dist/esm/components/ReceiverAddress/index.js +2 -1
- package/dist/esm/components/ReceiverMobile/index.js +2 -1
- package/dist/esm/components/ReceiverName/index.js +2 -1
- package/dist/esm/components/ThirdItemSelect/index.js +6 -2
- package/dist/esm/components/TradeDateTime/index.d.ts +6 -14
- package/dist/esm/components/TradeDateTime/index.js +30 -25
- package/dist/esm/components/TradeId/index.d.ts +1 -0
- package/dist/esm/components/TradeId/index.js +27 -4
- package/dist/esm/components/WorkOrderId/index.js +5 -3
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +6 -3
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/type.d.ts +10 -2
- package/package.json +4 -4
- package/dist/esm/components/BS/BsLogistics/index.d.ts +0 -50
- package/dist/esm/components/BS/BsLogistics/index.js +0 -115
- package/dist/esm/components/BS/common/BsExchangeImage.d.ts +0 -31
- package/dist/esm/components/BS/common/BsExchangeImage.js +0 -126
- package/dist/esm/components/BS/common/BsGoodImage.d.ts +0 -31
- package/dist/esm/components/BS/common/BsGoodImage.js +0 -88
|
@@ -17,22 +17,29 @@ import { SYMBOL } from "../../../constant";
|
|
|
17
17
|
var typeMap = {
|
|
18
18
|
JST_SEND_GOOD: {
|
|
19
19
|
key: "jstItemList",
|
|
20
|
-
name: "jst"
|
|
20
|
+
name: "jst",
|
|
21
|
+
sendId: "sendId",
|
|
22
|
+
sendName: "sendName"
|
|
21
23
|
},
|
|
22
24
|
BS_SEND_GOOD: {
|
|
23
25
|
key: "bsSendGood",
|
|
24
|
-
name: "bs"
|
|
26
|
+
name: "bs",
|
|
27
|
+
sendId: "bsSendId",
|
|
28
|
+
sendName: "bsSendName"
|
|
25
29
|
}
|
|
26
30
|
};
|
|
27
31
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
28
32
|
var _this = this,
|
|
29
33
|
_typeMap$options$type,
|
|
30
34
|
_typeMap$options$type2,
|
|
35
|
+
_typeMap$options$type3,
|
|
36
|
+
_typeMap$options$type4,
|
|
31
37
|
_this$componentConfig;
|
|
32
38
|
_classCallCheck(this, JstSendGood);
|
|
33
39
|
_defineProperty(this, "name", void 0);
|
|
34
40
|
_defineProperty(this, "id", void 0);
|
|
35
41
|
_defineProperty(this, "sortField", void 0);
|
|
42
|
+
_defineProperty(this, "sortChildField", void 0);
|
|
36
43
|
_defineProperty(this, "type", void 0);
|
|
37
44
|
_defineProperty(this, "rules", void 0);
|
|
38
45
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -59,10 +66,14 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
59
66
|
var _typeMap$_this$type;
|
|
60
67
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key)];
|
|
61
68
|
//兼容多个商品
|
|
62
|
-
return /*#__PURE__*/React.createElement(
|
|
69
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
70
|
+
onClick: function onClick(e) {
|
|
71
|
+
return e.stopPropagation();
|
|
72
|
+
}
|
|
73
|
+
}, /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
63
74
|
list: list,
|
|
64
75
|
type: 3
|
|
65
|
-
});
|
|
76
|
+
}));
|
|
66
77
|
});
|
|
67
78
|
_defineProperty(this, "renderLog", function (r) {
|
|
68
79
|
var _typeMap$_this$type2;
|
|
@@ -94,17 +105,17 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
94
105
|
});
|
|
95
106
|
});
|
|
96
107
|
_defineProperty(this, "filterConfig", function (item) {
|
|
97
|
-
var _typeMap$_this$type5, _typeMap$_this$
|
|
108
|
+
var _typeMap$_this$type5, _typeMap$_this$type6, _typeMap$_this$type8, _typeMap$_this$type9;
|
|
98
109
|
return [{
|
|
99
110
|
searchDefaultConditions: SYMBOL.like,
|
|
100
111
|
type: item.type,
|
|
101
|
-
id: "".concat(item.id, "
|
|
102
|
-
name: "".concat((_typeMap$_this$
|
|
112
|
+
id: "".concat(item.id, "_").concat((_typeMap$_this$type5 = typeMap[_this.type]) === null || _typeMap$_this$type5 === void 0 ? void 0 : _typeMap$_this$type5.sendName),
|
|
113
|
+
name: "".concat((_typeMap$_this$type6 = typeMap[_this.type]) === null || _typeMap$_this$type6 === void 0 ? void 0 : _typeMap$_this$type6.name, "\u53D1\u8D27\u4ED3\u540D\u79F0"),
|
|
103
114
|
filterComponentType: "Input",
|
|
104
115
|
filterFn: function filterFn(value) {
|
|
105
116
|
return function (i) {
|
|
106
|
-
var _ref, _typeMap$_this$
|
|
107
|
-
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, (_typeMap$_this$
|
|
117
|
+
var _ref, _typeMap$_this$type7;
|
|
118
|
+
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, (_typeMap$_this$type7 = typeMap[_this.type]) === null || _typeMap$_this$type7 === void 0 ? void 0 : _typeMap$_this$type7.key) || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
108
119
|
var _String;
|
|
109
120
|
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;
|
|
110
121
|
return name;
|
|
@@ -114,13 +125,13 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
114
125
|
}, {
|
|
115
126
|
searchDefaultConditions: SYMBOL.like,
|
|
116
127
|
type: item.type,
|
|
117
|
-
id: "".concat(item.id, "
|
|
118
|
-
name: "".concat((_typeMap$_this$
|
|
128
|
+
id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendId),
|
|
129
|
+
name: "".concat((_typeMap$_this$type9 = typeMap[_this.type]) === null || _typeMap$_this$type9 === void 0 ? void 0 : _typeMap$_this$type9.name, "\u53D1\u8D27\u4ED3\u7F16\u7801"),
|
|
119
130
|
filterComponentType: "Input",
|
|
120
131
|
filterFn: function filterFn(value) {
|
|
121
132
|
return function (i) {
|
|
122
|
-
var _ref2, _typeMap$_this$
|
|
123
|
-
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, (_typeMap$_this$
|
|
133
|
+
var _ref2, _typeMap$_this$type10;
|
|
134
|
+
return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, (_typeMap$_this$type10 = typeMap[_this.type]) === null || _typeMap$_this$type10 === void 0 ? void 0 : _typeMap$_this$type10.key) || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
|
|
124
135
|
var _String2;
|
|
125
136
|
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;
|
|
126
137
|
return id;
|
|
@@ -133,6 +144,15 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
133
144
|
this.id = options.id;
|
|
134
145
|
this.sortField = "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.key);
|
|
135
146
|
this.formField = "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.key);
|
|
147
|
+
this.sortChildField = [{
|
|
148
|
+
name: "发货仓名称",
|
|
149
|
+
key: "".concat(options.id, "_").concat((_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.sendName),
|
|
150
|
+
dataType: "string"
|
|
151
|
+
}, {
|
|
152
|
+
name: "发货仓编码",
|
|
153
|
+
key: "".concat(options.id, "_").concat((_typeMap$options$type4 = typeMap[options.type]) === null || _typeMap$options$type4 === void 0 ? void 0 : _typeMap$options$type4.sendId),
|
|
154
|
+
dataType: "string"
|
|
155
|
+
}];
|
|
136
156
|
this.type = options.type;
|
|
137
157
|
this.componentConfig = options.componentConfig;
|
|
138
158
|
this.dataType = "object";
|
|
@@ -46,10 +46,14 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
46
46
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
47
47
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
|
|
48
48
|
//兼容多个商品
|
|
49
|
-
return /*#__PURE__*/React.createElement(
|
|
49
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
50
|
+
onClick: function onClick(e) {
|
|
51
|
+
return e.stopPropagation();
|
|
52
|
+
}
|
|
53
|
+
}, /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
50
54
|
list: list,
|
|
51
55
|
type: 2
|
|
52
|
-
});
|
|
56
|
+
}));
|
|
53
57
|
});
|
|
54
58
|
_defineProperty(this, "renderLog", function (r) {
|
|
55
59
|
var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
@@ -41,7 +41,11 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
41
41
|
var interceptCode = "".concat(_this.parentId, "_interceptCode");
|
|
42
42
|
var interceptSenderMobile = "".concat(_this.parentId, "_interceptSenderMobile");
|
|
43
43
|
var value = (_this$expressIntercep = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep["".concat(record === null || record === void 0 ? void 0 : record[_this.id])];
|
|
44
|
-
return /*#__PURE__*/React.createElement("div",
|
|
44
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
45
|
+
onClick: function onClick(e) {
|
|
46
|
+
return e.stopPropagation();
|
|
47
|
+
}
|
|
48
|
+
}, value !== null && value !== void 0 ? value : "--", value ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
|
|
45
49
|
modelWidth: w,
|
|
46
50
|
interceptCompany: record[_this.companyId],
|
|
47
51
|
interceptCode: record[interceptCode],
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from
|
|
2
|
-
import React from
|
|
3
|
-
import { ExpressData } from
|
|
4
|
-
import TrajectoryCompany from
|
|
5
|
-
import TrajectoryCode from
|
|
6
|
-
import TrajectorySnapshot from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
|
+
import TrajectoryCompany from './trajectoryCompany';
|
|
5
|
+
import TrajectoryCode from './trajectoryCode';
|
|
6
|
+
import TrajectorySnapshot from './trajectorySnapshot';
|
|
7
7
|
declare class LogisticsTrajectory implements ComponentInterface {
|
|
8
8
|
name: string;
|
|
9
9
|
id: string;
|
|
10
10
|
sortField: string;
|
|
11
11
|
type: string;
|
|
12
12
|
rules: any[];
|
|
13
|
-
componentConfig: ComponentInterface[
|
|
13
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
14
14
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
15
15
|
express: TrajectoryCompany;
|
|
16
16
|
expressCode: TrajectoryCode;
|
|
@@ -19,7 +19,7 @@ declare class LogisticsTrajectory implements ComponentInterface {
|
|
|
19
19
|
formField: string;
|
|
20
20
|
canSort: boolean;
|
|
21
21
|
children: ComponentInterface[];
|
|
22
|
-
dataType: ComponentInterface[
|
|
22
|
+
dataType: ComponentInterface['dataType'];
|
|
23
23
|
constructor(options: PickOption);
|
|
24
24
|
editRender: (p: any) => React.JSX.Element;
|
|
25
25
|
renderClient: (record: Record) => React.JSX.Element;
|
|
@@ -47,7 +47,6 @@ declare class LogisticsTrajectory implements ComponentInterface {
|
|
|
47
47
|
id: string;
|
|
48
48
|
name: string;
|
|
49
49
|
filterComponentType: "Input";
|
|
50
|
-
filterFn: (value: string) => (i: Record) => boolean;
|
|
51
50
|
})[];
|
|
52
51
|
}
|
|
53
52
|
export default LogisticsTrajectory;
|
|
@@ -8,9 +8,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
8
8
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
9
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
10
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11
|
-
import React from
|
|
12
|
-
import { ExpressData } from
|
|
13
|
-
import { LogisticsTrajectory as Trajectory } from
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
13
|
+
import { LogisticsTrajectory as Trajectory } from '@kmkf-fe-packages/basic-components';
|
|
14
14
|
import TrajectoryCompany from "./trajectoryCompany";
|
|
15
15
|
import TrajectoryCode from "./trajectoryCode";
|
|
16
16
|
import TrajectorySnapshot from "./trajectorySnapshot";
|
|
@@ -67,7 +67,9 @@ var LogisticsTrajectory = /*#__PURE__*/_createClass(function LogisticsTrajectory
|
|
|
67
67
|
return null;
|
|
68
68
|
});
|
|
69
69
|
_defineProperty(this, "filterConfig", function (item) {
|
|
70
|
-
return [_this.express.filterConfig(
|
|
70
|
+
return [_this.express.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
|
|
71
|
+
subKey: 'trajectoryCompany'
|
|
72
|
+
})), _this.expressCode.filterConfig(item), _this.expressSnapshot.filterConfig(item)];
|
|
71
73
|
});
|
|
72
74
|
this.name = options.name;
|
|
73
75
|
this.id = options.id;
|
|
@@ -77,28 +79,28 @@ var LogisticsTrajectory = /*#__PURE__*/_createClass(function LogisticsTrajectory
|
|
|
77
79
|
this.componentConfig = options.componentConfig;
|
|
78
80
|
this.expressDateInstance = ExpressData.getInstance();
|
|
79
81
|
this.express = new TrajectoryCompany(_objectSpread(_objectSpread({}, options), {}, {
|
|
80
|
-
name: "
|
|
82
|
+
name: "".concat(this.name, "-\u516C\u53F8"),
|
|
81
83
|
id: "".concat(this.id, "_trajectoryCompany")
|
|
82
84
|
}));
|
|
83
85
|
this.expressCode = new TrajectoryCode(_objectSpread(_objectSpread({}, options), {}, {
|
|
84
|
-
name: "
|
|
86
|
+
name: "".concat(this.name, "-\u5355\u53F7"),
|
|
85
87
|
id: "".concat(this.id)
|
|
86
88
|
}));
|
|
87
89
|
this.expressSnapshot = new TrajectorySnapshot(_objectSpread(_objectSpread({}, options), {}, {
|
|
88
|
-
name: "
|
|
90
|
+
name: "".concat(this.name, "-\u5FEB\u7167"),
|
|
89
91
|
id: "".concat(this.id, "_trajectorySnapshot")
|
|
90
92
|
}));
|
|
91
93
|
this.isCombinationComponent = true;
|
|
92
94
|
this.canSort = false;
|
|
93
|
-
this.dataType =
|
|
95
|
+
this.dataType = 'object';
|
|
94
96
|
this.children = [this.express, this.expressCode, this.expressSnapshot];
|
|
95
97
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
96
98
|
validator: function validator(_, value) {
|
|
97
99
|
if (!value.trajectoryCompany) {
|
|
98
|
-
return Promise.reject(new Error(
|
|
100
|
+
return Promise.reject(new Error('请选择物流公司'));
|
|
99
101
|
}
|
|
100
102
|
if (!value.trajectoryCode) {
|
|
101
|
-
return Promise.reject(new Error(
|
|
103
|
+
return Promise.reject(new Error('请输入物流单号'));
|
|
102
104
|
}
|
|
103
105
|
return Promise.resolve();
|
|
104
106
|
}
|
|
@@ -31,12 +31,18 @@ var TrajectoryCode = /*#__PURE__*/_createClass(function TrajectoryCode(options)
|
|
|
31
31
|
_defineProperty(this, "renderCode", function (record) {
|
|
32
32
|
var w = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
|
|
33
33
|
var company = record === null || record === void 0 ? void 0 : record["".concat(_this.parentId, "_trajectoryCompany")];
|
|
34
|
+
var mobile = record === null || record === void 0 ? void 0 : record["".concat(_this.parentId, "_trajectoryPhone")];
|
|
34
35
|
var code = record === null || record === void 0 ? void 0 : record[_this.id];
|
|
35
|
-
return /*#__PURE__*/React.createElement("div",
|
|
36
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
onClick: function onClick(e) {
|
|
38
|
+
return e.stopPropagation();
|
|
39
|
+
}
|
|
40
|
+
}, code ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
|
|
41
|
+
title: code,
|
|
36
42
|
modelWidth: w,
|
|
37
43
|
interceptCompany: company,
|
|
38
44
|
interceptCode: code,
|
|
39
|
-
interceptSenderMobile:
|
|
45
|
+
interceptSenderMobile: mobile
|
|
40
46
|
}) : "--");
|
|
41
47
|
});
|
|
42
48
|
_defineProperty(this, "renderClient", function (record) {
|
|
@@ -64,16 +70,15 @@ var TrajectoryCode = /*#__PURE__*/_createClass(function TrajectoryCode(options)
|
|
|
64
70
|
return null;
|
|
65
71
|
});
|
|
66
72
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
|
-
var subKey = item.subKey;
|
|
68
73
|
return {
|
|
69
74
|
searchDefaultConditions: SYMBOL.like,
|
|
70
75
|
type: item.type,
|
|
71
|
-
id:
|
|
76
|
+
id: "".concat(item.id, "_trajectoryCode"),
|
|
72
77
|
name: "".concat(item.name, "-\u7269\u6D41\u5355\u53F7"),
|
|
73
78
|
filterComponentType: "Input",
|
|
74
79
|
filterFn: function filterFn(value) {
|
|
75
80
|
return function (i) {
|
|
76
|
-
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, ""
|
|
81
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "trajectoryCode"), value);
|
|
77
82
|
};
|
|
78
83
|
}
|
|
79
84
|
};
|
|
@@ -96,7 +101,7 @@ var TrajectoryCode = /*#__PURE__*/_createClass(function TrajectoryCode(options)
|
|
|
96
101
|
this.align = "left";
|
|
97
102
|
this.width = 200;
|
|
98
103
|
this.isCombinationComponent = false;
|
|
99
|
-
this.canSort =
|
|
104
|
+
this.canSort = false;
|
|
100
105
|
this.dataType = "string";
|
|
101
106
|
this.children = [];
|
|
102
107
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from
|
|
2
|
-
import React from
|
|
3
|
-
import { ExpressData } from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
4
|
declare class TrajectoryCompany implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
7
|
sortField: string;
|
|
8
8
|
type: string;
|
|
9
9
|
rules: any[];
|
|
10
|
-
componentConfig: ComponentInterface[
|
|
10
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
11
11
|
align: ALignType;
|
|
12
12
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
13
13
|
width: number;
|
|
@@ -15,8 +15,8 @@ declare class TrajectoryCompany implements ComponentInterface {
|
|
|
15
15
|
formField: string;
|
|
16
16
|
canSort: boolean;
|
|
17
17
|
children: ComponentInterface[];
|
|
18
|
-
dataType: ComponentInterface[
|
|
19
|
-
options: ComponentInterface[
|
|
18
|
+
dataType: ComponentInterface['dataType'];
|
|
19
|
+
options: ComponentInterface['options'];
|
|
20
20
|
constructor(options: PickOption);
|
|
21
21
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
22
22
|
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
@@ -5,10 +5,10 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
5
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
6
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
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
|
|
9
|
-
import { ExpressData } from
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
10
|
import ItemView from "../../commonComponents/ItemView";
|
|
11
|
-
import { isNull, filterFn as _filterFn } from
|
|
11
|
+
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
12
|
import { SYMBOL } from "../../constant";
|
|
13
13
|
var TrajectoryCompany = /*#__PURE__*/_createClass(function TrajectoryCompany(options) {
|
|
14
14
|
var _this = this;
|
|
@@ -61,13 +61,13 @@ var TrajectoryCompany = /*#__PURE__*/_createClass(function TrajectoryCompany(opt
|
|
|
61
61
|
type: item.type,
|
|
62
62
|
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
63
63
|
name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
|
|
64
|
-
filterComponentType:
|
|
64
|
+
filterComponentType: 'MultipleSelect',
|
|
65
65
|
props: {
|
|
66
66
|
options: _this.expressDateInstance.getExpressData() || []
|
|
67
67
|
},
|
|
68
68
|
filterFn: function filterFn(value) {
|
|
69
69
|
return function (i) {
|
|
70
|
-
return
|
|
70
|
+
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)), value);
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
};
|
|
@@ -79,13 +79,13 @@ var TrajectoryCompany = /*#__PURE__*/_createClass(function TrajectoryCompany(opt
|
|
|
79
79
|
this.type = options.type;
|
|
80
80
|
this.componentConfig = options.componentConfig;
|
|
81
81
|
this.rules = [];
|
|
82
|
-
this.align =
|
|
82
|
+
this.align = 'left';
|
|
83
83
|
this.expressDateInstance = ExpressData.getInstance();
|
|
84
84
|
this.width = 200;
|
|
85
85
|
this.isCombinationComponent = false;
|
|
86
|
-
this.canSort =
|
|
86
|
+
this.canSort = false;
|
|
87
87
|
this.children = [];
|
|
88
|
-
this.dataType =
|
|
88
|
+
this.dataType = 'string';
|
|
89
89
|
this.options = this.expressDateInstance.getExpressData() || [];
|
|
90
90
|
});
|
|
91
91
|
export default TrajectoryCompany;
|
|
@@ -7,7 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
7
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
8
|
import React from "react";
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
|
-
import { isNull
|
|
10
|
+
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { SYMBOL } from "../../constant";
|
|
12
12
|
var TrajectorySnapshot = /*#__PURE__*/_createClass(function TrajectorySnapshot(options) {
|
|
13
13
|
var _this = this;
|
|
@@ -50,18 +50,12 @@ var TrajectorySnapshot = /*#__PURE__*/_createClass(function TrajectorySnapshot(o
|
|
|
50
50
|
return null;
|
|
51
51
|
});
|
|
52
52
|
_defineProperty(this, "filterConfig", function (item) {
|
|
53
|
-
var subKey = item.subKey;
|
|
54
53
|
return {
|
|
55
54
|
searchDefaultConditions: SYMBOL.like,
|
|
56
55
|
type: item.type,
|
|
57
|
-
id:
|
|
56
|
+
id: item.id,
|
|
58
57
|
name: "".concat(item.name, "-\u7269\u6D41\u5FEB\u7167"),
|
|
59
|
-
filterComponentType: "Input"
|
|
60
|
-
filterFn: function filterFn(value) {
|
|
61
|
-
return function (i) {
|
|
62
|
-
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)), value);
|
|
63
|
-
};
|
|
64
|
-
}
|
|
58
|
+
filterComponentType: "Input"
|
|
65
59
|
};
|
|
66
60
|
});
|
|
67
61
|
this.name = options.name;
|
|
@@ -73,7 +67,7 @@ var TrajectorySnapshot = /*#__PURE__*/_createClass(function TrajectorySnapshot(o
|
|
|
73
67
|
this.align = "left";
|
|
74
68
|
this.width = 200;
|
|
75
69
|
this.isCombinationComponent = false;
|
|
76
|
-
this.canSort =
|
|
70
|
+
this.canSort = false;
|
|
77
71
|
this.dataType = "string";
|
|
78
72
|
this.children = [];
|
|
79
73
|
});
|
|
@@ -41,9 +41,10 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
41
41
|
}
|
|
42
42
|
return /*#__PURE__*/React.createElement("span", {
|
|
43
43
|
className: "pointer",
|
|
44
|
-
onClick: function onClick() {
|
|
44
|
+
onClick: function onClick(e) {
|
|
45
45
|
var _this$effects, _this$effects2;
|
|
46
46
|
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
47
|
+
e.stopPropagation();
|
|
47
48
|
}
|
|
48
49
|
}, record === null || record === void 0 ? void 0 : record[_this.id]);
|
|
49
50
|
});
|
|
@@ -41,9 +41,10 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
41
41
|
}
|
|
42
42
|
return /*#__PURE__*/React.createElement("span", {
|
|
43
43
|
className: "pointer",
|
|
44
|
-
onClick: function onClick() {
|
|
44
|
+
onClick: function onClick(e) {
|
|
45
45
|
var _this$effects, _this$effects2;
|
|
46
46
|
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
47
|
+
e.stopPropagation();
|
|
47
48
|
}
|
|
48
49
|
}, record === null || record === void 0 ? void 0 : record[_this.id]);
|
|
49
50
|
});
|
|
@@ -52,11 +52,10 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
52
52
|
}, record === null || record === void 0 ? void 0 : record[_this.id]));
|
|
53
53
|
});
|
|
54
54
|
_defineProperty(this, "renderClient", function (record, params) {
|
|
55
|
-
var _record$_this$id;
|
|
56
55
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
57
56
|
id: _this.id,
|
|
58
57
|
label: _this.name,
|
|
59
|
-
value: (params === null || params === void 0 ? void 0 : params.platform) === 'tb' ? _this.renderTaoBaoWangWang(record, params) : record === null || record === void 0 ? void 0 :
|
|
58
|
+
value: (params === null || params === void 0 ? void 0 : params.platform) === 'tb' ? _this.renderTaoBaoWangWang(record, params) : record === null || record === void 0 ? void 0 : record[_this.id]
|
|
60
59
|
}) : null;
|
|
61
60
|
});
|
|
62
61
|
_defineProperty(this, "editRender", function (p) {
|
|
@@ -86,7 +85,11 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
86
85
|
}
|
|
87
86
|
return prv;
|
|
88
87
|
}, '');
|
|
89
|
-
return /*#__PURE__*/React.createElement("span",
|
|
88
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
89
|
+
onClick: function onClick(e) {
|
|
90
|
+
return e.stopPropagation();
|
|
91
|
+
}
|
|
92
|
+
}, (record === null || record === void 0 ? void 0 : record[_this.id]) && /*#__PURE__*/React.createElement(PlatBuyer, {
|
|
90
93
|
shopId: record === null || record === void 0 ? void 0 : record.shopId,
|
|
91
94
|
buyerNick: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
92
95
|
buyerOpenUid: buyerOpenUid,
|
|
@@ -26,6 +26,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
26
26
|
canSort: boolean;
|
|
27
27
|
children: ComponentInterface[];
|
|
28
28
|
dataType: ComponentInterface['dataType'];
|
|
29
|
+
effects: ComponentInterface["effects"];
|
|
29
30
|
constructor(options: PickOption);
|
|
30
31
|
renderClient: (record: any, params: any) => React.JSX.Element;
|
|
31
32
|
renderPc: () => null;
|
|
@@ -39,6 +39,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
39
39
|
_defineProperty(this, "canSort", void 0);
|
|
40
40
|
_defineProperty(this, "children", void 0);
|
|
41
41
|
_defineProperty(this, "dataType", void 0);
|
|
42
|
+
_defineProperty(this, "effects", void 0);
|
|
42
43
|
_defineProperty(this, "renderClient", function (record, params) {
|
|
43
44
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.alipayNick.renderClient(record), _this.paymentAmount.renderClient(record), _this.alipayNo.renderClient(record), _this.buyerNick.renderClient(record, params), _this.paymentTid.renderClient(record), _this.paymentStatus.renderClient(record), _this.payTime.renderClient(record));
|
|
44
45
|
});
|
|
@@ -63,7 +64,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
63
64
|
return null;
|
|
64
65
|
});
|
|
65
66
|
_defineProperty(this, "editRender", function (p) {
|
|
66
|
-
var _this$componentConfig, _this$componentConfig2;
|
|
67
|
+
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3;
|
|
67
68
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
68
69
|
title: _this.name,
|
|
69
70
|
name: _this.id,
|
|
@@ -71,6 +72,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
71
72
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
72
73
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
73
74
|
component: /*#__PURE__*/React.createElement(ApaasPayment, _extends({}, _this.componentConfig, {
|
|
75
|
+
disabled: (_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.disabled,
|
|
74
76
|
onBlur: p === null || p === void 0 ? void 0 : p.onBlur
|
|
75
77
|
}))
|
|
76
78
|
});
|
|
@@ -93,24 +95,25 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
93
95
|
this.payTime = new AlipayTime(options);
|
|
94
96
|
this.isCombinationComponent = true;
|
|
95
97
|
this.canSort = false;
|
|
98
|
+
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
96
99
|
this.children = [this.alipayNick, this.alipayNo, this.buyerNick, this.paymentAmount, this.paymentStatus, this.paymentTid, this.payTime];
|
|
97
100
|
this.rules = [{
|
|
98
101
|
validator: function validator(_, value) {
|
|
99
|
-
var _this$
|
|
100
|
-
if ((_this$
|
|
102
|
+
var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6, _this$componentConfig7;
|
|
103
|
+
if ((_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required && !(value !== null && value !== void 0 && value.enterprisePaymentRefundFee)) {
|
|
101
104
|
return Promise.reject(new Error('请输入打款金额'));
|
|
102
105
|
} else if (value !== null && value !== void 0 && value.enterprisePaymentRefundFee && !/^(([1-9]{1}\d*)|(0{1}))(\.\d{1,2})?$/.test(value === null || value === void 0 ? void 0 : value.enterprisePaymentRefundFee)) {
|
|
103
106
|
return Promise.reject(new Error('打款金额最多2位小数'));
|
|
104
107
|
}
|
|
105
|
-
if ((_this$
|
|
108
|
+
if ((_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required && !(value !== null && value !== void 0 && value.enterprisePaymentTid)) {
|
|
106
109
|
return Promise.reject(new Error('请输入订单编号'));
|
|
107
110
|
} else if (value.enterprisePaymentTid && !/^[0-9a-zA-Z_-]{1,}$/.test(value.enterprisePaymentTid)) {
|
|
108
111
|
return Promise.reject(new Error('请输入正确的订单编号'));
|
|
109
112
|
}
|
|
110
|
-
if ((_this$
|
|
113
|
+
if ((_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.zhiFubaoRequired && !(value !== null && value !== void 0 && value.enterprisePaymentAlipayNick)) {
|
|
111
114
|
return Promise.reject(new Error('请输入支付宝名称'));
|
|
112
115
|
}
|
|
113
|
-
if ((_this$
|
|
116
|
+
if ((_this$componentConfig7 = _this.componentConfig) !== null && _this$componentConfig7 !== void 0 && _this$componentConfig7.zhiFubaoRequired && !(value !== null && value !== void 0 && value.enterprisePaymentAlipayNo)) {
|
|
114
117
|
return Promise.reject(new Error('请输入支付宝账号'));
|
|
115
118
|
} else if (value.enterprisePaymentAlipayNo && !/^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*\@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/.test(value.enterprisePaymentAlipayNo)) {
|
|
116
119
|
return Promise.reject(new Error('请输入正确的支付宝账号格式'));
|
|
@@ -63,6 +63,9 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
|
|
|
63
63
|
style: {
|
|
64
64
|
marginRight: '5px',
|
|
65
65
|
display: 'inline-block'
|
|
66
|
+
},
|
|
67
|
+
onClick: function onClick(e) {
|
|
68
|
+
return e.stopPropagation();
|
|
66
69
|
}
|
|
67
70
|
}, /*#__PURE__*/React.createElement(Image, {
|
|
68
71
|
width: 32,
|
|
@@ -28,29 +28,6 @@ declare class BasicPosting implements ComponentInterface {
|
|
|
28
28
|
renderExport: (value: any, record: Record) => string | null;
|
|
29
29
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
30
30
|
editRender: (p: any) => React.JSX.Element;
|
|
31
|
-
filterConfig: (item: ColumnConfig) =>
|
|
32
|
-
searchDefaultConditions: "eq";
|
|
33
|
-
type: string;
|
|
34
|
-
id: string;
|
|
35
|
-
name: string;
|
|
36
|
-
filterComponentType: "Cascader";
|
|
37
|
-
props: {
|
|
38
|
-
options: any;
|
|
39
|
-
fieldNames: {
|
|
40
|
-
label: string;
|
|
41
|
-
value: string;
|
|
42
|
-
children: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
formatFilterValue: (val: Array<number>) => number | undefined;
|
|
46
|
-
} | {
|
|
47
|
-
searchDefaultConditions: "like";
|
|
48
|
-
type: string;
|
|
49
|
-
id: string;
|
|
50
|
-
name: string;
|
|
51
|
-
filterComponentType: "Input";
|
|
52
|
-
props?: undefined;
|
|
53
|
-
formatFilterValue?: undefined;
|
|
54
|
-
})[];
|
|
31
|
+
filterConfig: (item: ColumnConfig) => never[];
|
|
55
32
|
}
|
|
56
33
|
export default BasicPosting;
|