@kmkf-fe-packages/services-components 0.7.5-alpha.8 → 0.7.6
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 +1 -7
- package/dist/esm/components/ActualPayment/index.js +2 -46
- package/dist/esm/components/Address/index.d.ts +3 -21
- package/dist/esm/components/Address/index.js +3 -35
- package/dist/esm/components/Alipay/index.d.ts +0 -3
- package/dist/esm/components/Alipay/index.js +0 -4
- package/dist/esm/components/AlipayAccount/index.d.ts +0 -3
- package/dist/esm/components/AlipayAccount/index.js +0 -6
- package/dist/esm/components/AlipayName/index.d.ts +0 -3
- package/dist/esm/components/AlipayName/index.js +0 -6
- package/dist/esm/components/BuyerNick/index.d.ts +0 -3
- package/dist/esm/components/BuyerNick/index.js +0 -6
- package/dist/esm/components/Cascader/index.d.ts +1 -12
- package/dist/esm/components/Cascader/index.js +8 -35
- package/dist/esm/components/Checkbox/index.d.ts +1 -6
- package/dist/esm/components/Checkbox/index.js +5 -13
- package/dist/esm/components/CommonDataTime/index.d.ts +0 -4
- package/dist/esm/components/CommonDataTime/index.js +0 -13
- package/dist/esm/components/CompletedUser/index.d.ts +4 -9
- package/dist/esm/components/CompletedUser/index.js +1 -9
- package/dist/esm/components/DataTime/index.d.ts +8 -3
- package/dist/esm/components/DataTime/index.js +4 -24
- package/dist/esm/components/EItemEnCode/index.d.ts +0 -3
- package/dist/esm/components/EItemEnCode/index.js +1 -7
- package/dist/esm/components/EItemId/index.d.ts +0 -3
- package/dist/esm/components/EItemId/index.js +1 -7
- package/dist/esm/components/EItemSelect/index.d.ts +0 -2
- package/dist/esm/components/EItemSelect/index.js +0 -4
- package/dist/esm/components/ErpTradeId/index.d.ts +0 -4
- package/dist/esm/components/ErpTradeId/index.js +1 -10
- package/dist/esm/components/Express/index.d.ts +1 -6
- package/dist/esm/components/Express/index.js +1 -9
- package/dist/esm/components/ExpressCode/index.d.ts +0 -3
- package/dist/esm/components/ExpressCode/index.js +0 -6
- package/dist/esm/components/FlowStatusSelect/index.d.ts +4 -9
- package/dist/esm/components/FlowStatusSelect/index.js +6 -14
- package/dist/esm/components/Grade/index.d.ts +0 -2
- package/dist/esm/components/Grade/index.js +0 -4
- package/dist/esm/components/Handler/index.d.ts +4 -9
- package/dist/esm/components/Handler/index.js +1 -9
- package/dist/esm/components/Input/index.d.ts +0 -3
- package/dist/esm/components/Input/index.js +1 -7
- package/dist/esm/components/JstItemSelect/index.d.ts +0 -3
- package/dist/esm/components/JstItemSelect/index.js +15 -23
- package/dist/esm/components/JstLogistics/index.d.ts +2 -8
- package/dist/esm/components/JstLogistics/index.js +1 -10
- package/dist/esm/components/JstSendGood/index.d.ts +0 -3
- package/dist/esm/components/JstSendGood/index.js +0 -7
- package/dist/esm/components/JstSupply/index.d.ts +0 -3
- package/dist/esm/components/JstSupply/index.js +0 -7
- package/dist/esm/components/Logistics/index.d.ts +1 -7
- package/dist/esm/components/Logistics/index.js +0 -4
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -3
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +0 -4
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +5 -10
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +1 -9
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +5 -10
- package/dist/esm/components/LogisticsInterception/InterceptType.js +1 -9
- package/dist/esm/components/LogisticsInterception/index.d.ts +5 -14
- package/dist/esm/components/LogisticsInterception/index.js +0 -4
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +0 -2
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +0 -4
- package/dist/esm/components/MultSelect/index.d.ts +1 -6
- package/dist/esm/components/MultSelect/index.js +2 -10
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -3
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +3 -9
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -7
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +4 -48
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -3
- package/dist/esm/components/Ordinary/OrdinarySerial.js +0 -6
- package/dist/esm/components/Ordinary/index.d.ts +2 -12
- package/dist/esm/components/Ordinary/index.js +0 -4
- package/dist/esm/components/Payment/AlipayNick.d.ts +0 -3
- package/dist/esm/components/Payment/AlipayNick.js +0 -6
- package/dist/esm/components/Payment/AlipayNo.d.ts +0 -3
- package/dist/esm/components/Payment/AlipayNo.js +0 -6
- package/dist/esm/components/Payment/AlipayTime.d.ts +0 -4
- package/dist/esm/components/Payment/AlipayTime.js +0 -13
- package/dist/esm/components/Payment/BuyerNick.d.ts +0 -3
- package/dist/esm/components/Payment/BuyerNick.js +0 -6
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -7
- package/dist/esm/components/Payment/PaymentAmount.js +1 -45
- package/dist/esm/components/Payment/PaymentStatus.d.ts +4 -9
- package/dist/esm/components/Payment/PaymentStatus.js +1 -9
- package/dist/esm/components/Payment/PaymentTid.d.ts +0 -4
- package/dist/esm/components/Payment/PaymentTid.js +0 -9
- package/dist/esm/components/Payment/index.d.ts +4 -34
- package/dist/esm/components/Payment/index.js +0 -4
- package/dist/esm/components/Picture/index.d.ts +0 -2
- package/dist/esm/components/Picture/index.js +0 -4
- package/dist/esm/components/PlatForm/index.d.ts +1 -4
- package/dist/esm/components/PlatForm/index.js +0 -6
- package/dist/esm/components/Radio/index.d.ts +1 -6
- package/dist/esm/components/Radio/index.js +5 -13
- package/dist/esm/components/Rate/index.d.ts +0 -2
- package/dist/esm/components/Rate/index.js +0 -4
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -3
- package/dist/esm/components/ReceiverAddress/index.js +0 -4
- package/dist/esm/components/ReceiverMobile/index.d.ts +0 -3
- package/dist/esm/components/ReceiverMobile/index.js +1 -7
- package/dist/esm/components/ReceiverName/index.d.ts +0 -3
- package/dist/esm/components/ReceiverName/index.js +1 -7
- package/dist/esm/components/Remark/index.d.ts +0 -3
- package/dist/esm/components/Remark/index.js +1 -7
- package/dist/esm/components/ReturnLogistics/index.d.ts +1 -7
- package/dist/esm/components/ReturnLogistics/index.js +0 -4
- package/dist/esm/components/Select/index.d.ts +1 -6
- package/dist/esm/components/Select/index.js +2 -10
- package/dist/esm/components/ShopInput/index.d.ts +2 -8
- package/dist/esm/components/ShopInput/index.js +2 -19
- package/dist/esm/components/ShopName/index.d.ts +0 -3
- package/dist/esm/components/ShopName/index.js +1 -7
- package/dist/esm/components/Submitter/index.d.ts +4 -10
- package/dist/esm/components/Submitter/index.js +1 -17
- package/dist/esm/components/SystemOrderNo/index.d.ts +0 -4
- package/dist/esm/components/SystemOrderNo/index.js +1 -10
- package/dist/esm/components/TemplateSelect/index.d.ts +0 -3
- package/dist/esm/components/TemplateSelect/index.js +0 -6
- package/dist/esm/components/TextArea/index.d.ts +0 -3
- package/dist/esm/components/TextArea/index.js +1 -7
- package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -3
- package/dist/esm/components/ThirdItemSelect/index.js +1 -7
- package/dist/esm/components/TradeDateTime/index.d.ts +0 -4
- package/dist/esm/components/TradeDateTime/index.js +2 -16
- package/dist/esm/components/TradeId/index.d.ts +0 -4
- package/dist/esm/components/TradeId/index.js +1 -10
- package/dist/esm/components/WorkOrderId/index.d.ts +0 -3
- package/dist/esm/components/WorkOrderId/index.js +3 -15
- package/dist/esm/type.d.ts +2 -10
- package/package.json +4 -4
- package/dist/esm/constant.d.ts +0 -14
- package/dist/esm/constant.js +0 -14
|
@@ -13,20 +13,17 @@ import { JstGoodImage } from "../Common";
|
|
|
13
13
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
14
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
15
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
|
-
import { SYMBOL } from "../../constant";
|
|
17
16
|
var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
18
17
|
var _this = this,
|
|
19
18
|
_this$componentConfig;
|
|
20
19
|
_classCallCheck(this, JstSupply);
|
|
21
20
|
_defineProperty(this, "name", void 0);
|
|
22
21
|
_defineProperty(this, "id", void 0);
|
|
23
|
-
_defineProperty(this, "sortField", void 0);
|
|
24
22
|
_defineProperty(this, "type", void 0);
|
|
25
23
|
_defineProperty(this, "rules", void 0);
|
|
26
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
27
25
|
_defineProperty(this, "align", void 0);
|
|
28
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
-
_defineProperty(this, "canSort", void 0);
|
|
30
27
|
_defineProperty(this, "children", void 0);
|
|
31
28
|
_defineProperty(this, "renderClient", function (record) {
|
|
32
29
|
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
@@ -76,7 +73,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
76
73
|
});
|
|
77
74
|
_defineProperty(this, "filterConfig", function (item) {
|
|
78
75
|
return [{
|
|
79
|
-
searchDefaultConditions: SYMBOL.like,
|
|
80
76
|
type: item.type,
|
|
81
77
|
id: "".concat(item.id, "_supplyName"),
|
|
82
78
|
name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
|
|
@@ -92,7 +88,6 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
92
88
|
};
|
|
93
89
|
}
|
|
94
90
|
}, {
|
|
95
|
-
searchDefaultConditions: SYMBOL.like,
|
|
96
91
|
type: item.type,
|
|
97
92
|
id: "".concat(item.id, "_supplyId"),
|
|
98
93
|
name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
|
|
@@ -111,11 +106,9 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
111
106
|
});
|
|
112
107
|
this.name = options.name;
|
|
113
108
|
this.id = options.id;
|
|
114
|
-
this.sortField = "".concat(options.id, "_jstItemList");
|
|
115
109
|
this.type = options.type;
|
|
116
110
|
this.componentConfig = options.componentConfig;
|
|
117
111
|
this.isCombinationComponent = false;
|
|
118
|
-
this.canSort = true;
|
|
119
112
|
this.children = [];
|
|
120
113
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
121
114
|
required: true,
|
|
@@ -6,7 +6,6 @@ import ExpressCode from '../ExpressCode';
|
|
|
6
6
|
declare class Logistics implements ComponentInterface {
|
|
7
7
|
name: string;
|
|
8
8
|
id: string;
|
|
9
|
-
sortField: string;
|
|
10
9
|
type: string;
|
|
11
10
|
rules: any[];
|
|
12
11
|
componentConfig: ComponentInterface["componentConfig"];
|
|
@@ -14,7 +13,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
14
13
|
express: Express;
|
|
15
14
|
expressCode: ExpressCode;
|
|
16
15
|
isCombinationComponent: boolean;
|
|
17
|
-
canSort: boolean;
|
|
18
16
|
children: ComponentInterface[];
|
|
19
17
|
constructor(options: PickOption);
|
|
20
18
|
editRender: (value: any) => React.JSX.Element;
|
|
@@ -27,17 +25,13 @@ declare class Logistics implements ComponentInterface {
|
|
|
27
25
|
};
|
|
28
26
|
renderExport: () => null;
|
|
29
27
|
filterConfig: (item: ColumnConfig) => ({
|
|
30
|
-
searchDefaultConditions: "in";
|
|
31
28
|
type: string;
|
|
32
29
|
id: string;
|
|
33
30
|
name: string;
|
|
34
31
|
filterComponentType: "MultipleSelect";
|
|
35
|
-
|
|
36
|
-
options: any[];
|
|
37
|
-
};
|
|
32
|
+
options: any[];
|
|
38
33
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
39
34
|
} | {
|
|
40
|
-
searchDefaultConditions: "like";
|
|
41
35
|
type: string;
|
|
42
36
|
id: string;
|
|
43
37
|
name: string;
|
|
@@ -20,7 +20,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
20
20
|
_classCallCheck(this, Logistics);
|
|
21
21
|
_defineProperty(this, "name", void 0);
|
|
22
22
|
_defineProperty(this, "id", void 0);
|
|
23
|
-
_defineProperty(this, "sortField", void 0);
|
|
24
23
|
_defineProperty(this, "type", void 0);
|
|
25
24
|
_defineProperty(this, "rules", void 0);
|
|
26
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -28,7 +27,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
28
27
|
_defineProperty(this, "express", void 0);
|
|
29
28
|
_defineProperty(this, "expressCode", void 0);
|
|
30
29
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
31
|
-
_defineProperty(this, "canSort", void 0);
|
|
32
30
|
_defineProperty(this, "children", void 0);
|
|
33
31
|
_defineProperty(this, "editRender", function (value) {
|
|
34
32
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -70,7 +68,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
70
68
|
});
|
|
71
69
|
this.name = options.name;
|
|
72
70
|
this.id = options.id;
|
|
73
|
-
this.sortField = options.id;
|
|
74
71
|
this.type = options.type;
|
|
75
72
|
this.componentConfig = options.componentConfig;
|
|
76
73
|
this.expressDateInstance = ExpressData.getInstance();
|
|
@@ -83,7 +80,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
83
80
|
id: "".concat(this.id, "_expressLogisticsCode")
|
|
84
81
|
}));
|
|
85
82
|
this.isCombinationComponent = true;
|
|
86
|
-
this.canSort = false;
|
|
87
83
|
this.children = [this.express, this.expressCode];
|
|
88
84
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
89
85
|
validator: function validator(_, value) {
|
|
@@ -4,7 +4,6 @@ import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
|
4
4
|
declare class PaymentTid implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
|
-
sortField: string;
|
|
8
7
|
type: string;
|
|
9
8
|
rules: any[];
|
|
10
9
|
componentConfig: ComponentInterface["componentConfig"];
|
|
@@ -12,10 +11,9 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
12
11
|
align: ALignType;
|
|
13
12
|
width: number;
|
|
14
13
|
isCombinationComponent: boolean;
|
|
15
|
-
canSort: boolean;
|
|
16
14
|
children: ComponentInterface[];
|
|
17
15
|
originId: string;
|
|
18
|
-
addressDateInstance:
|
|
16
|
+
addressDateInstance: AddressData;
|
|
19
17
|
constructor(options: PickOption);
|
|
20
18
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
21
19
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
@@ -16,7 +16,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
16
16
|
_classCallCheck(this, PaymentTid);
|
|
17
17
|
_defineProperty(this, "name", void 0);
|
|
18
18
|
_defineProperty(this, "id", void 0);
|
|
19
|
-
_defineProperty(this, "sortField", void 0);
|
|
20
19
|
_defineProperty(this, "type", void 0);
|
|
21
20
|
_defineProperty(this, "rules", void 0);
|
|
22
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -24,7 +23,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
24
23
|
_defineProperty(this, "align", void 0);
|
|
25
24
|
_defineProperty(this, "width", void 0);
|
|
26
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
-
_defineProperty(this, "canSort", void 0);
|
|
28
26
|
_defineProperty(this, "children", void 0);
|
|
29
27
|
_defineProperty(this, "originId", void 0);
|
|
30
28
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
@@ -122,7 +120,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
122
120
|
});
|
|
123
121
|
this.name = "派送地址";
|
|
124
122
|
this.id = "".concat(options.id, "_interceptProvince");
|
|
125
|
-
this.sortField = "".concat(options.id, "_interceptDistrict");
|
|
126
123
|
this.type = options.type;
|
|
127
124
|
this.componentConfig = options.componentConfig;
|
|
128
125
|
this.rules = [];
|
|
@@ -130,7 +127,6 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
130
127
|
this.width = 350;
|
|
131
128
|
this.originId = options.id;
|
|
132
129
|
this.isCombinationComponent = false;
|
|
133
|
-
this.canSort = true;
|
|
134
130
|
this.children = [];
|
|
135
131
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
136
132
|
this.addressDateInstance = AddressData.getInstance();
|
|
@@ -5,7 +5,6 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
5
5
|
name: string;
|
|
6
6
|
parentId: string;
|
|
7
7
|
id: string;
|
|
8
|
-
sortField: string;
|
|
9
8
|
companyId: string;
|
|
10
9
|
type: string;
|
|
11
10
|
rules: any[];
|
|
@@ -14,9 +13,8 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
14
13
|
align: ALignType;
|
|
15
14
|
width: number;
|
|
16
15
|
isCombinationComponent: boolean;
|
|
17
|
-
canSort: boolean;
|
|
18
16
|
children: ComponentInterface[];
|
|
19
|
-
expressInterceptInstance:
|
|
17
|
+
expressInterceptInstance: ExpressInterceptData;
|
|
20
18
|
constructor(options: PickOption);
|
|
21
19
|
getComponentValue: (r: Record) => any;
|
|
22
20
|
renderStatus: (record: any, w?: number) => React.JSX.Element;
|
|
@@ -26,17 +24,14 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
26
24
|
renderExport: (value: any, record: Record) => any;
|
|
27
25
|
editRender: () => null;
|
|
28
26
|
filterConfig: (item: ColumnConfig) => {
|
|
29
|
-
searchDefaultConditions: "in";
|
|
30
27
|
type: string;
|
|
31
28
|
id: string;
|
|
32
29
|
name: string;
|
|
33
30
|
filterComponentType: "MultipleSelect";
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}[];
|
|
39
|
-
};
|
|
31
|
+
options: {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}[];
|
|
40
35
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
41
36
|
};
|
|
42
37
|
}
|
|
@@ -10,14 +10,12 @@ import ItemView from "../../commonComponents/ItemView";
|
|
|
10
10
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
12
|
import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
|
|
13
|
-
import { SYMBOL } from "../../constant";
|
|
14
13
|
var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options) {
|
|
15
14
|
var _this = this;
|
|
16
15
|
_classCallCheck(this, InterceptStatus);
|
|
17
16
|
_defineProperty(this, "name", void 0);
|
|
18
17
|
_defineProperty(this, "parentId", void 0);
|
|
19
18
|
_defineProperty(this, "id", void 0);
|
|
20
|
-
_defineProperty(this, "sortField", void 0);
|
|
21
19
|
_defineProperty(this, "companyId", void 0);
|
|
22
20
|
_defineProperty(this, "type", void 0);
|
|
23
21
|
_defineProperty(this, "rules", void 0);
|
|
@@ -26,7 +24,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
26
24
|
_defineProperty(this, "align", void 0);
|
|
27
25
|
_defineProperty(this, "width", void 0);
|
|
28
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
-
_defineProperty(this, "canSort", void 0);
|
|
30
27
|
_defineProperty(this, "children", void 0);
|
|
31
28
|
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
32
29
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
@@ -69,14 +66,11 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
69
66
|
});
|
|
70
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
71
68
|
return {
|
|
72
|
-
searchDefaultConditions: SYMBOL.in,
|
|
73
69
|
type: item.type,
|
|
74
70
|
id: "".concat(item.id, "_interceptLogisticsStatus"),
|
|
75
71
|
name: "".concat(item.name, "-\u7269\u6D41\u72B6\u6001"),
|
|
76
72
|
filterComponentType: "MultipleSelect",
|
|
77
|
-
|
|
78
|
-
options: _this.expressInterceptInstance.getStatusOptions() || []
|
|
79
|
-
},
|
|
73
|
+
options: _this.expressInterceptInstance.getStatusOptions() || [],
|
|
80
74
|
filterFn: function filterFn(value) {
|
|
81
75
|
return function (i) {
|
|
82
76
|
var _value$map, _value$map$flat;
|
|
@@ -90,7 +84,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
90
84
|
this.name = "物流状态";
|
|
91
85
|
this.parentId = options.id;
|
|
92
86
|
this.id = "".concat(options.id, "_interceptLogisticsStatus");
|
|
93
|
-
this.sortField = "".concat(options.id, "_interceptLogisticsStatus");
|
|
94
87
|
this.companyId = "".concat(options.id, "_interceptCompany");
|
|
95
88
|
this.type = options.type;
|
|
96
89
|
this.componentConfig = options.componentConfig;
|
|
@@ -98,7 +91,6 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
98
91
|
this.align = "left";
|
|
99
92
|
this.width = 220;
|
|
100
93
|
this.isCombinationComponent = false;
|
|
101
|
-
this.canSort = true;
|
|
102
94
|
this.children = [];
|
|
103
95
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
104
96
|
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
@@ -4,7 +4,6 @@ import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
|
4
4
|
declare class InterceptType implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
6
6
|
id: string;
|
|
7
|
-
sortField: string;
|
|
8
7
|
companyId: string;
|
|
9
8
|
type: string;
|
|
10
9
|
rules: any[];
|
|
@@ -13,9 +12,8 @@ declare class InterceptType implements ComponentInterface {
|
|
|
13
12
|
align: ALignType;
|
|
14
13
|
width: number;
|
|
15
14
|
isCombinationComponent: boolean;
|
|
16
|
-
canSort: boolean;
|
|
17
15
|
children: ComponentInterface[];
|
|
18
|
-
expressInterceptInstance:
|
|
16
|
+
expressInterceptInstance: ExpressInterceptData;
|
|
19
17
|
constructor(options: PickOption);
|
|
20
18
|
getComponentValue: (r: Record) => any;
|
|
21
19
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -24,17 +22,14 @@ declare class InterceptType implements ComponentInterface {
|
|
|
24
22
|
renderExport: (value: any, record: Record) => any;
|
|
25
23
|
editRender: () => null;
|
|
26
24
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
-
searchDefaultConditions: "in";
|
|
28
25
|
type: string;
|
|
29
26
|
id: string;
|
|
30
27
|
name: string;
|
|
31
28
|
filterComponentType: "MultipleSelect";
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
29
|
+
options: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}[];
|
|
38
33
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
39
34
|
};
|
|
40
35
|
}
|
|
@@ -9,13 +9,11 @@ import React from "react";
|
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
10
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
|
-
import { SYMBOL } from "../../constant";
|
|
13
12
|
var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
14
13
|
var _this = this;
|
|
15
14
|
_classCallCheck(this, InterceptType);
|
|
16
15
|
_defineProperty(this, "name", void 0);
|
|
17
16
|
_defineProperty(this, "id", void 0);
|
|
18
|
-
_defineProperty(this, "sortField", void 0);
|
|
19
17
|
_defineProperty(this, "companyId", void 0);
|
|
20
18
|
_defineProperty(this, "type", void 0);
|
|
21
19
|
_defineProperty(this, "rules", void 0);
|
|
@@ -24,7 +22,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
24
22
|
_defineProperty(this, "align", void 0);
|
|
25
23
|
_defineProperty(this, "width", void 0);
|
|
26
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
-
_defineProperty(this, "canSort", void 0);
|
|
28
25
|
_defineProperty(this, "children", void 0);
|
|
29
26
|
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
30
27
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
@@ -56,14 +53,11 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
56
53
|
});
|
|
57
54
|
_defineProperty(this, "filterConfig", function (item) {
|
|
58
55
|
return {
|
|
59
|
-
searchDefaultConditions: SYMBOL.in,
|
|
60
56
|
type: item.type,
|
|
61
57
|
id: "".concat(item.id, "_interceptType"),
|
|
62
58
|
name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
|
|
63
59
|
filterComponentType: "MultipleSelect",
|
|
64
|
-
|
|
65
|
-
options: _this.expressInterceptInstance.getTypeOptions() || []
|
|
66
|
-
},
|
|
60
|
+
options: _this.expressInterceptInstance.getTypeOptions() || [],
|
|
67
61
|
filterFn: function filterFn(value) {
|
|
68
62
|
return function (i) {
|
|
69
63
|
var _value$map, _value$map$flat;
|
|
@@ -76,7 +70,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
76
70
|
});
|
|
77
71
|
this.name = "拦截类型";
|
|
78
72
|
this.id = "".concat(options.id, "_interceptType");
|
|
79
|
-
this.sortField = "".concat(options.id, "_interceptType");
|
|
80
73
|
this.companyId = "".concat(options.id, "_interceptCompany");
|
|
81
74
|
this.type = options.type;
|
|
82
75
|
this.componentConfig = options.componentConfig;
|
|
@@ -84,7 +77,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
84
77
|
this.align = "left";
|
|
85
78
|
this.width = 200;
|
|
86
79
|
this.isCombinationComponent = false;
|
|
87
|
-
this.canSort = true;
|
|
88
80
|
this.children = [];
|
|
89
81
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
90
82
|
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
@@ -11,7 +11,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
11
11
|
name: string;
|
|
12
12
|
columnHeader: string | JSX.Element;
|
|
13
13
|
id: string;
|
|
14
|
-
sortField: string;
|
|
15
14
|
type: string;
|
|
16
15
|
rules: any[];
|
|
17
16
|
componentConfig: ComponentInterface["componentConfig"];
|
|
@@ -20,7 +19,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
20
19
|
interceptLogisticsStatus: InterceptStatus;
|
|
21
20
|
interceptSenderMobile: InterceptSenderMobile;
|
|
22
21
|
isCombinationComponent: boolean;
|
|
23
|
-
canSort: boolean;
|
|
24
22
|
children: ComponentInterface[];
|
|
25
23
|
express: Express;
|
|
26
24
|
expressCode: ExpressCode;
|
|
@@ -50,34 +48,27 @@ declare class Logistics implements ComponentInterface {
|
|
|
50
48
|
renderExport: () => null;
|
|
51
49
|
editRender: () => React.JSX.Element;
|
|
52
50
|
filterConfig: (item: ColumnConfig) => ({
|
|
53
|
-
searchDefaultConditions: "in";
|
|
54
51
|
type: string;
|
|
55
52
|
id: string;
|
|
56
53
|
name: string;
|
|
57
54
|
filterComponentType: "MultipleSelect";
|
|
58
|
-
|
|
59
|
-
options: any[];
|
|
60
|
-
};
|
|
55
|
+
options: any[];
|
|
61
56
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
62
57
|
} | {
|
|
63
|
-
searchDefaultConditions: "like";
|
|
64
58
|
type: string;
|
|
65
59
|
id: string;
|
|
66
60
|
name: string;
|
|
67
61
|
filterComponentType: "Input";
|
|
68
62
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
69
63
|
} | {
|
|
70
|
-
searchDefaultConditions: "in";
|
|
71
64
|
type: string;
|
|
72
65
|
id: string;
|
|
73
66
|
name: string;
|
|
74
67
|
filterComponentType: "MultipleSelect";
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}[];
|
|
80
|
-
};
|
|
68
|
+
options: {
|
|
69
|
+
label: string;
|
|
70
|
+
value: string;
|
|
71
|
+
}[];
|
|
81
72
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
82
73
|
})[];
|
|
83
74
|
}
|
|
@@ -25,7 +25,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
25
25
|
_defineProperty(this, "name", void 0);
|
|
26
26
|
_defineProperty(this, "columnHeader", void 0);
|
|
27
27
|
_defineProperty(this, "id", void 0);
|
|
28
|
-
_defineProperty(this, "sortField", void 0);
|
|
29
28
|
_defineProperty(this, "type", void 0);
|
|
30
29
|
_defineProperty(this, "rules", void 0);
|
|
31
30
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -34,7 +33,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
34
33
|
_defineProperty(this, "interceptLogisticsStatus", void 0);
|
|
35
34
|
_defineProperty(this, "interceptSenderMobile", void 0);
|
|
36
35
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
37
|
-
_defineProperty(this, "canSort", void 0);
|
|
38
36
|
_defineProperty(this, "children", void 0);
|
|
39
37
|
_defineProperty(this, "express", void 0);
|
|
40
38
|
_defineProperty(this, "expressCode", void 0);
|
|
@@ -91,7 +89,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
91
89
|
name: options.name
|
|
92
90
|
});
|
|
93
91
|
this.id = options.id;
|
|
94
|
-
this.sortField = options.id;
|
|
95
92
|
this.type = options.type;
|
|
96
93
|
this.componentConfig = options.componentConfig;
|
|
97
94
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
@@ -111,7 +108,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
111
108
|
name: "物流单号"
|
|
112
109
|
}));
|
|
113
110
|
this.isCombinationComponent = true;
|
|
114
|
-
this.canSort = false;
|
|
115
111
|
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus];
|
|
116
112
|
this.rules = [{
|
|
117
113
|
validator: function validator(_, value) {
|
|
@@ -11,7 +11,6 @@ declare class InterceptSenderMobile implements ComponentInterface {
|
|
|
11
11
|
align: ALignType;
|
|
12
12
|
width: number;
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
-
canSort: boolean;
|
|
15
14
|
children: ComponentInterface[];
|
|
16
15
|
constructor(options: PickOption);
|
|
17
16
|
getComponentValue: (r: Record) => any;
|
|
@@ -21,7 +20,6 @@ declare class InterceptSenderMobile implements ComponentInterface {
|
|
|
21
20
|
renderExport: (value: any, record: Record) => any;
|
|
22
21
|
editRender: () => null;
|
|
23
22
|
filterConfig: (item: ColumnConfig) => {
|
|
24
|
-
searchDefaultConditions: "like";
|
|
25
23
|
type: string;
|
|
26
24
|
id: string;
|
|
27
25
|
name: string;
|
|
@@ -8,7 +8,6 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
10
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
|
-
import { SYMBOL } from "../../constant";
|
|
12
11
|
var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMobile(options) {
|
|
13
12
|
var _this = this;
|
|
14
13
|
_classCallCheck(this, InterceptSenderMobile);
|
|
@@ -22,7 +21,6 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
|
|
|
22
21
|
_defineProperty(this, "align", void 0);
|
|
23
22
|
_defineProperty(this, "width", void 0);
|
|
24
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
-
_defineProperty(this, "canSort", void 0);
|
|
26
24
|
_defineProperty(this, "children", void 0);
|
|
27
25
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
28
26
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
@@ -50,7 +48,6 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
|
|
|
50
48
|
});
|
|
51
49
|
_defineProperty(this, "filterConfig", function (item) {
|
|
52
50
|
return {
|
|
53
|
-
searchDefaultConditions: SYMBOL.like,
|
|
54
51
|
type: item.type,
|
|
55
52
|
id: "".concat(item.id, "_interceptSenderMobile"),
|
|
56
53
|
name: "".concat(item.name, "-\u53D1\u4EF6\u4EBA\u624B\u673A\u53F7"),
|
|
@@ -71,7 +68,6 @@ var InterceptSenderMobile = /*#__PURE__*/_createClass(function InterceptSenderMo
|
|
|
71
68
|
this.align = "left";
|
|
72
69
|
this.width = 200;
|
|
73
70
|
this.isCombinationComponent = false;
|
|
74
|
-
this.canSort = true;
|
|
75
71
|
this.children = [];
|
|
76
72
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
77
73
|
});
|
|
@@ -3,12 +3,10 @@ import React from 'react';
|
|
|
3
3
|
declare class BasicMultSelect implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
-
sortField: string;
|
|
7
6
|
type: string;
|
|
8
7
|
rules: any[];
|
|
9
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
10
9
|
isCombinationComponent: boolean;
|
|
11
|
-
canSort: boolean;
|
|
12
10
|
children: ComponentInterface[];
|
|
13
11
|
constructor(options: PickOption);
|
|
14
12
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -18,14 +16,11 @@ declare class BasicMultSelect implements ComponentInterface {
|
|
|
18
16
|
renderExport: (value: any, record: Record) => any;
|
|
19
17
|
editRender: () => React.JSX.Element;
|
|
20
18
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
-
searchDefaultConditions: "in";
|
|
22
19
|
type: string;
|
|
23
20
|
id: string;
|
|
24
21
|
name: string;
|
|
25
22
|
filterComponentType: "MultipleSelect";
|
|
26
|
-
|
|
27
|
-
options: any[];
|
|
28
|
-
};
|
|
23
|
+
options: any[];
|
|
29
24
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
30
25
|
};
|
|
31
26
|
}
|
|
@@ -12,18 +12,15 @@ import { ApaasMultipleSelect } from '@kmkf-fe-packages/basic-components';
|
|
|
12
12
|
import GetFormItem from "../GetFormItem";
|
|
13
13
|
import ItemView from "../../commonComponents/ItemView";
|
|
14
14
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
|
-
import { SYMBOL } from "../../constant";
|
|
16
15
|
var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options) {
|
|
17
16
|
var _this = this;
|
|
18
17
|
_classCallCheck(this, BasicMultSelect);
|
|
19
18
|
_defineProperty(this, "name", void 0);
|
|
20
19
|
_defineProperty(this, "id", void 0);
|
|
21
|
-
_defineProperty(this, "sortField", void 0);
|
|
22
20
|
_defineProperty(this, "type", void 0);
|
|
23
21
|
_defineProperty(this, "rules", void 0);
|
|
24
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
23
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
-
_defineProperty(this, "canSort", void 0);
|
|
27
24
|
_defineProperty(this, "children", void 0);
|
|
28
25
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
26
|
var _record$_this$id;
|
|
@@ -69,16 +66,13 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
69
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
70
67
|
var _item$config;
|
|
71
68
|
return {
|
|
72
|
-
searchDefaultConditions: SYMBOL.in,
|
|
73
69
|
type: item.type,
|
|
74
|
-
id:
|
|
70
|
+
id: item.id,
|
|
75
71
|
// 过滤组件id
|
|
76
72
|
name: item.name,
|
|
77
73
|
// 过滤组件名称
|
|
78
74
|
filterComponentType: 'MultipleSelect',
|
|
79
|
-
|
|
80
|
-
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || []
|
|
81
|
-
},
|
|
75
|
+
options: (item === null || item === void 0 ? void 0 : (_item$config = item.config) === null || _item$config === void 0 ? void 0 : _item$config.options) || [],
|
|
82
76
|
filterFn: function filterFn(value) {
|
|
83
77
|
return function (i) {
|
|
84
78
|
return intersection(value, _filterFn.filterTableListItemColumnValue(i, item.id, 'basicMultSelect')).length > 0;
|
|
@@ -88,12 +82,10 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
88
82
|
});
|
|
89
83
|
this.name = options.name;
|
|
90
84
|
this.id = options.id;
|
|
91
|
-
this.sortField = "".concat(options.id, "_basicMultSelect");
|
|
92
85
|
this.type = options.type;
|
|
93
86
|
this.componentConfig = options.componentConfig;
|
|
94
87
|
this.rules = [];
|
|
95
88
|
this.isCombinationComponent = false;
|
|
96
|
-
this.canSort = true;
|
|
97
89
|
this.children = [];
|
|
98
90
|
});
|
|
99
91
|
export default BasicMultSelect;
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
declare class OrdinaryHeader implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
-
sortField: string;
|
|
7
6
|
type: string;
|
|
8
7
|
rules: any[];
|
|
9
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
@@ -11,7 +10,6 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
11
10
|
align: ALignType;
|
|
12
11
|
width: number;
|
|
13
12
|
isCombinationComponent: boolean;
|
|
14
|
-
canSort: boolean;
|
|
15
13
|
children: ComponentInterface[];
|
|
16
14
|
constructor(options: PickOption);
|
|
17
15
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -21,7 +19,6 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
21
19
|
renderExport: (value: any) => any;
|
|
22
20
|
editRender: () => React.JSX.Element;
|
|
23
21
|
filterConfig: (item: ColumnConfig) => {
|
|
24
|
-
searchDefaultConditions: "like";
|
|
25
22
|
type: string;
|
|
26
23
|
id: string;
|
|
27
24
|
name: string;
|
|
@@ -11,13 +11,11 @@ import GetFormItem from "../GetFormItem";
|
|
|
11
11
|
import Header from "../OrdinaryHeader";
|
|
12
12
|
import ItemView from "../../commonComponents/ItemView";
|
|
13
13
|
import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
|
-
import { SYMBOL } from "../../constant";
|
|
15
14
|
var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options) {
|
|
16
15
|
var _this = this;
|
|
17
16
|
_classCallCheck(this, OrdinaryHeader);
|
|
18
17
|
_defineProperty(this, "name", void 0);
|
|
19
18
|
_defineProperty(this, "id", void 0);
|
|
20
|
-
_defineProperty(this, "sortField", void 0);
|
|
21
19
|
_defineProperty(this, "type", void 0);
|
|
22
20
|
_defineProperty(this, "rules", void 0);
|
|
23
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -25,7 +23,6 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
25
23
|
_defineProperty(this, "align", void 0);
|
|
26
24
|
_defineProperty(this, "width", void 0);
|
|
27
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
-
_defineProperty(this, "canSort", void 0);
|
|
29
26
|
_defineProperty(this, "children", void 0);
|
|
30
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
31
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -66,21 +63,19 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
66
63
|
});
|
|
67
64
|
_defineProperty(this, "filterConfig", function (item) {
|
|
68
65
|
return {
|
|
69
|
-
searchDefaultConditions: SYMBOL.like,
|
|
70
66
|
type: item.type,
|
|
71
|
-
id: "".concat(item.id, "
|
|
72
|
-
name: "".concat(item.name, "-\
|
|
67
|
+
id: "".concat(item.id, "_ordinaryMoney"),
|
|
68
|
+
name: "".concat(item.name, "-\u5F00\u7968\u91D1\u989D"),
|
|
73
69
|
filterComponentType: 'Input',
|
|
74
70
|
filterFn: function filterFn(value) {
|
|
75
71
|
return function (i) {
|
|
76
|
-
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, '
|
|
72
|
+
return "".concat(_filterFn.filterTableListItemColumnValue(i, item.id, 'ordinaryMoney')).includes(value);
|
|
77
73
|
};
|
|
78
74
|
}
|
|
79
75
|
};
|
|
80
76
|
});
|
|
81
77
|
this.name = '发票抬头';
|
|
82
78
|
this.id = "".concat(options.id, "_ordinaryTaitou");
|
|
83
|
-
this.sortField = "".concat(options.id, "_ordinaryTaitou");
|
|
84
79
|
this.type = options.type;
|
|
85
80
|
this.componentConfig = options.componentConfig;
|
|
86
81
|
this.rules = [];
|
|
@@ -88,7 +83,6 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
88
83
|
this.effects = options.effects;
|
|
89
84
|
this.width = 200;
|
|
90
85
|
this.isCombinationComponent = false;
|
|
91
|
-
this.canSort = true;
|
|
92
86
|
this.children = [];
|
|
93
87
|
});
|
|
94
88
|
export default OrdinaryHeader;
|