@kmkf-fe-packages/services-components 0.7.5-alpha.3 → 0.7.5-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/components/ActualPayment/index.d.ts +1 -0
- package/dist/esm/components/ActualPayment/index.js +2 -0
- package/dist/esm/components/Address/index.d.ts +1 -0
- package/dist/esm/components/Address/index.js +2 -0
- package/dist/esm/components/Alipay/index.d.ts +1 -0
- package/dist/esm/components/Alipay/index.js +2 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.js +2 -0
- package/dist/esm/components/AlipayName/index.d.ts +1 -0
- package/dist/esm/components/AlipayName/index.js +2 -0
- package/dist/esm/components/BuyerNick/index.d.ts +1 -0
- package/dist/esm/components/BuyerNick/index.js +2 -0
- package/dist/esm/components/Cascader/index.d.ts +1 -0
- package/dist/esm/components/Cascader/index.js +2 -0
- package/dist/esm/components/Checkbox/index.d.ts +1 -0
- package/dist/esm/components/Checkbox/index.js +2 -0
- package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
- package/dist/esm/components/CommonDataTime/index.js +2 -0
- package/dist/esm/components/CompletedUser/index.d.ts +1 -0
- package/dist/esm/components/CompletedUser/index.js +2 -0
- package/dist/esm/components/DataTime/index.d.ts +1 -0
- package/dist/esm/components/DataTime/index.js +2 -0
- package/dist/esm/components/EItemEnCode/index.d.ts +1 -0
- package/dist/esm/components/EItemEnCode/index.js +2 -0
- package/dist/esm/components/EItemId/index.d.ts +1 -0
- package/dist/esm/components/EItemId/index.js +2 -0
- package/dist/esm/components/EItemSelect/index.d.ts +1 -0
- package/dist/esm/components/EItemSelect/index.js +2 -0
- package/dist/esm/components/ErpTradeId/index.d.ts +1 -0
- package/dist/esm/components/ErpTradeId/index.js +2 -0
- package/dist/esm/components/Express/index.d.ts +1 -0
- package/dist/esm/components/Express/index.js +2 -0
- package/dist/esm/components/ExpressCode/index.d.ts +1 -0
- package/dist/esm/components/ExpressCode/index.js +2 -0
- package/dist/esm/components/FlowStatusSelect/index.d.ts +1 -0
- package/dist/esm/components/FlowStatusSelect/index.js +2 -0
- package/dist/esm/components/Grade/index.d.ts +1 -0
- package/dist/esm/components/Grade/index.js +2 -0
- package/dist/esm/components/Handler/index.d.ts +1 -0
- package/dist/esm/components/Handler/index.js +2 -0
- package/dist/esm/components/Input/index.d.ts +1 -0
- package/dist/esm/components/Input/index.js +2 -0
- package/dist/esm/components/JstItemSelect/index.d.ts +1 -0
- package/dist/esm/components/JstItemSelect/index.js +2 -0
- package/dist/esm/components/JstLogistics/index.d.ts +1 -0
- package/dist/esm/components/JstLogistics/index.js +2 -0
- package/dist/esm/components/JstSendGood/index.d.ts +1 -0
- package/dist/esm/components/JstSendGood/index.js +2 -0
- package/dist/esm/components/JstSupply/index.d.ts +1 -0
- package/dist/esm/components/JstSupply/index.js +2 -0
- package/dist/esm/components/Logistics/index.d.ts +1 -0
- package/dist/esm/components/Logistics/index.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +1 -0
- package/dist/esm/components/LogisticsInterception/index.js +2 -0
- package/dist/esm/components/MultSelect/index.d.ts +1 -0
- package/dist/esm/components/MultSelect/index.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -0
- package/dist/esm/components/Ordinary/index.d.ts +1 -0
- package/dist/esm/components/Ordinary/index.js +2 -0
- package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNick.js +2 -0
- package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNo.js +2 -0
- package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayTime.js +2 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +1 -0
- package/dist/esm/components/Payment/BuyerNick.js +2 -0
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentAmount.js +2 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentStatus.js +2 -0
- package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentTid.js +2 -0
- package/dist/esm/components/Payment/index.d.ts +1 -0
- package/dist/esm/components/Payment/index.js +2 -0
- package/dist/esm/components/Picture/index.d.ts +1 -0
- package/dist/esm/components/Picture/index.js +2 -0
- package/dist/esm/components/PlatForm/index.d.ts +1 -0
- package/dist/esm/components/PlatForm/index.js +2 -0
- package/dist/esm/components/Radio/index.d.ts +1 -0
- package/dist/esm/components/Radio/index.js +2 -0
- package/dist/esm/components/Rate/index.d.ts +1 -0
- package/dist/esm/components/Rate/index.js +2 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -0
- package/dist/esm/components/ReceiverAddress/index.js +3 -1
- package/dist/esm/components/ReceiverMobile/index.d.ts +1 -0
- package/dist/esm/components/ReceiverMobile/index.js +2 -0
- package/dist/esm/components/ReceiverName/index.d.ts +1 -0
- package/dist/esm/components/ReceiverName/index.js +2 -0
- package/dist/esm/components/Remark/index.d.ts +1 -0
- package/dist/esm/components/Remark/index.js +2 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +1 -0
- package/dist/esm/components/ReturnLogistics/index.js +2 -0
- package/dist/esm/components/Select/index.d.ts +1 -0
- package/dist/esm/components/Select/index.js +2 -0
- package/dist/esm/components/ShopInput/index.d.ts +1 -0
- package/dist/esm/components/ShopInput/index.js +2 -0
- package/dist/esm/components/ShopName/index.d.ts +1 -0
- package/dist/esm/components/ShopName/index.js +2 -0
- package/dist/esm/components/Submitter/index.d.ts +1 -0
- package/dist/esm/components/Submitter/index.js +2 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +1 -0
- package/dist/esm/components/SystemOrderNo/index.js +2 -0
- package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
- package/dist/esm/components/TemplateSelect/index.js +2 -0
- package/dist/esm/components/TextArea/index.d.ts +1 -0
- package/dist/esm/components/TextArea/index.js +2 -0
- package/dist/esm/components/ThirdItemSelect/index.d.ts +1 -0
- package/dist/esm/components/ThirdItemSelect/index.js +2 -0
- package/dist/esm/components/TradeDateTime/index.d.ts +1 -0
- package/dist/esm/components/TradeDateTime/index.js +2 -0
- package/dist/esm/components/TradeId/index.d.ts +1 -0
- package/dist/esm/components/TradeId/index.js +2 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +1 -0
- package/dist/esm/components/WorkOrderId/index.js +4 -2
- package/dist/esm/type.d.ts +1 -0
- package/package.json +2 -2
|
@@ -17,6 +17,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
17
17
|
_classCallCheck(this, ReceiverMobile);
|
|
18
18
|
_defineProperty(this, "name", void 0);
|
|
19
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -86,6 +87,7 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
|
|
|
86
87
|
});
|
|
87
88
|
this.name = options.name;
|
|
88
89
|
this.id = options.id;
|
|
90
|
+
this.sortField = "".concat(options.id, "_receiveMobile");
|
|
89
91
|
this.type = options.type;
|
|
90
92
|
this.componentConfig = options.componentConfig;
|
|
91
93
|
this.rules = [];
|
|
@@ -17,6 +17,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
17
17
|
_classCallCheck(this, ReceiverName);
|
|
18
18
|
_defineProperty(this, "name", void 0);
|
|
19
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -83,6 +84,7 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
|
|
|
83
84
|
});
|
|
84
85
|
this.name = options.name;
|
|
85
86
|
this.id = options.id;
|
|
87
|
+
this.sortField = "".concat(options.id, "_receiveName");
|
|
86
88
|
this.type = options.type;
|
|
87
89
|
this.componentConfig = options.componentConfig;
|
|
88
90
|
this.rules = [];
|
|
@@ -24,6 +24,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
24
24
|
_classCallCheck(this, ERemark);
|
|
25
25
|
_defineProperty(this, "name", void 0);
|
|
26
26
|
_defineProperty(this, "id", void 0);
|
|
27
|
+
_defineProperty(this, "sortField", void 0);
|
|
27
28
|
_defineProperty(this, "type", void 0);
|
|
28
29
|
_defineProperty(this, "rules", void 0);
|
|
29
30
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -102,6 +103,7 @@ var ERemark = /*#__PURE__*/_createClass(function ERemark(options) {
|
|
|
102
103
|
});
|
|
103
104
|
this.name = options.name;
|
|
104
105
|
this.id = options.id;
|
|
106
|
+
this.sortField = "".concat(options.id, "_remark");
|
|
105
107
|
this.type = options.type;
|
|
106
108
|
this.componentConfig = options.componentConfig;
|
|
107
109
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
@@ -20,6 +20,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
20
20
|
_classCallCheck(this, ReturnLogistics);
|
|
21
21
|
_defineProperty(this, "name", void 0);
|
|
22
22
|
_defineProperty(this, "id", void 0);
|
|
23
|
+
_defineProperty(this, "sortField", void 0);
|
|
23
24
|
_defineProperty(this, "type", void 0);
|
|
24
25
|
_defineProperty(this, "rules", void 0);
|
|
25
26
|
_defineProperty(this, "canFilter", void 0);
|
|
@@ -74,6 +75,7 @@ var ReturnLogistics = /*#__PURE__*/_createClass(function ReturnLogistics(options
|
|
|
74
75
|
});
|
|
75
76
|
this.name = options.name;
|
|
76
77
|
this.id = options.id;
|
|
78
|
+
this.sortField = options.id;
|
|
77
79
|
this.type = options.type;
|
|
78
80
|
this.canFilter = false;
|
|
79
81
|
this.canGroup = false;
|
|
@@ -17,6 +17,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
17
17
|
_classCallCheck(this, BasicSelect);
|
|
18
18
|
_defineProperty(this, "name", void 0);
|
|
19
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -80,6 +81,7 @@ var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
|
|
|
80
81
|
});
|
|
81
82
|
this.name = options.name;
|
|
82
83
|
this.id = options.id;
|
|
84
|
+
this.sortField = "".concat(options.id, "_select");
|
|
83
85
|
this.type = options.type;
|
|
84
86
|
this.componentConfig = options.componentConfig;
|
|
85
87
|
this.rules = [];
|
|
@@ -3,6 +3,7 @@ import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type
|
|
|
3
3
|
declare class ShopInput implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
+
sortField: string;
|
|
6
7
|
type: string;
|
|
7
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
8
9
|
effects: ComponentInterface["effects"];
|
|
@@ -14,6 +14,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
14
14
|
_classCallCheck(this, ShopInput);
|
|
15
15
|
_defineProperty(this, "name", void 0);
|
|
16
16
|
_defineProperty(this, "id", void 0);
|
|
17
|
+
_defineProperty(this, "sortField", void 0);
|
|
17
18
|
_defineProperty(this, "type", void 0);
|
|
18
19
|
_defineProperty(this, "componentConfig", void 0);
|
|
19
20
|
_defineProperty(this, "effects", void 0);
|
|
@@ -83,6 +84,7 @@ var ShopInput = /*#__PURE__*/_createClass(function ShopInput(options) {
|
|
|
83
84
|
this.name = "店铺名称";
|
|
84
85
|
this.id = "shopName";
|
|
85
86
|
this.type = "SHOP_INPUT";
|
|
87
|
+
this.sortField = "shopName";
|
|
86
88
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
87
89
|
this.isCombinationComponent = false;
|
|
88
90
|
this.canSort = true;
|
|
@@ -17,6 +17,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
17
17
|
_classCallCheck(this, BasicInput);
|
|
18
18
|
_defineProperty(this, "name", void 0);
|
|
19
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -76,6 +77,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
76
77
|
this.name = options.name;
|
|
77
78
|
this.id = options.id;
|
|
78
79
|
this.type = options.type;
|
|
80
|
+
this.sortField = "".concat(options.id, "_shopName");
|
|
79
81
|
this.componentConfig = options.componentConfig;
|
|
80
82
|
this.rules = [];
|
|
81
83
|
this.isCombinationComponent = false;
|
|
@@ -3,6 +3,7 @@ import { ComponentInterface, ColumnConfig, Record, PickOption } from '../../type
|
|
|
3
3
|
declare class Submitter implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
|
+
sortField: string;
|
|
6
7
|
type: string;
|
|
7
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
8
9
|
effects: ComponentInterface["effects"];
|
|
@@ -13,6 +13,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
13
13
|
_classCallCheck(this, Submitter);
|
|
14
14
|
_defineProperty(this, "name", void 0);
|
|
15
15
|
_defineProperty(this, "id", void 0);
|
|
16
|
+
_defineProperty(this, "sortField", void 0);
|
|
16
17
|
_defineProperty(this, "type", void 0);
|
|
17
18
|
_defineProperty(this, "componentConfig", void 0);
|
|
18
19
|
_defineProperty(this, "effects", void 0);
|
|
@@ -70,6 +71,7 @@ var Submitter = /*#__PURE__*/_createClass(function Submitter(options) {
|
|
|
70
71
|
this.name = "提交人";
|
|
71
72
|
this.id = "submitter";
|
|
72
73
|
this.type = "OPERATOR_INPUT";
|
|
74
|
+
this.sortField = "submitter";
|
|
73
75
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
74
76
|
this.isCombinationComponent = false;
|
|
75
77
|
this.canSort = true;
|
|
@@ -17,6 +17,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
17
17
|
_classCallCheck(this, SystemOrderNo);
|
|
18
18
|
_defineProperty(this, "name", void 0);
|
|
19
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -79,6 +80,7 @@ var SystemOrderNo = /*#__PURE__*/_createClass(function SystemOrderNo(options) {
|
|
|
79
80
|
});
|
|
80
81
|
this.name = options.name;
|
|
81
82
|
this.id = options.id;
|
|
83
|
+
this.sortField = "".concat(options.id, "_systemOrderNo");
|
|
82
84
|
this.type = options.type;
|
|
83
85
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
84
86
|
this.componentConfig = options.componentConfig;
|
|
@@ -15,6 +15,7 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
15
15
|
_classCallCheck(this, TemplateSelect);
|
|
16
16
|
_defineProperty(this, "name", void 0);
|
|
17
17
|
_defineProperty(this, "id", void 0);
|
|
18
|
+
_defineProperty(this, "sortField", void 0);
|
|
18
19
|
_defineProperty(this, "type", void 0);
|
|
19
20
|
_defineProperty(this, "rules", void 0);
|
|
20
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -77,6 +78,7 @@ var TemplateSelect = /*#__PURE__*/_createClass(function TemplateSelect(options)
|
|
|
77
78
|
});
|
|
78
79
|
this.name = options.name;
|
|
79
80
|
this.id = options.id;
|
|
81
|
+
this.sortField = options.id;
|
|
80
82
|
this.type = options.type;
|
|
81
83
|
this.componentConfig = options.componentConfig;
|
|
82
84
|
this.rules = [];
|
|
@@ -17,6 +17,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
17
17
|
_classCallCheck(this, BasicInput);
|
|
18
18
|
_defineProperty(this, "name", void 0);
|
|
19
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -75,6 +76,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
75
76
|
});
|
|
76
77
|
this.name = options.name;
|
|
77
78
|
this.id = options.id;
|
|
79
|
+
this.sortField = "".concat(options.id, "_textarea");
|
|
78
80
|
this.type = options.type;
|
|
79
81
|
this.componentConfig = options.componentConfig;
|
|
80
82
|
this.rules = [];
|
|
@@ -19,6 +19,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
19
19
|
_classCallCheck(this, ThirdItemSelect);
|
|
20
20
|
_defineProperty(this, "name", void 0);
|
|
21
21
|
_defineProperty(this, "id", void 0);
|
|
22
|
+
_defineProperty(this, "sortField", void 0);
|
|
22
23
|
_defineProperty(this, "type", void 0);
|
|
23
24
|
_defineProperty(this, "rules", void 0);
|
|
24
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -100,6 +101,7 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
|
|
|
100
101
|
});
|
|
101
102
|
this.name = options.name || '供应商编码/名称';
|
|
102
103
|
this.id = options.id;
|
|
104
|
+
this.sortField = "".concat(options.id, "_itemList");
|
|
103
105
|
this.type = options.type;
|
|
104
106
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
105
107
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
@@ -18,6 +18,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
18
18
|
_classCallCheck(this, BasicDataTime);
|
|
19
19
|
_defineProperty(this, "name", void 0);
|
|
20
20
|
_defineProperty(this, "id", void 0);
|
|
21
|
+
_defineProperty(this, "sortField", void 0);
|
|
21
22
|
_defineProperty(this, "type", void 0);
|
|
22
23
|
_defineProperty(this, "rules", void 0);
|
|
23
24
|
_defineProperty(this, "canFilter", void 0);
|
|
@@ -118,6 +119,7 @@ var BasicDataTime = /*#__PURE__*/_createClass(function BasicDataTime(options) {
|
|
|
118
119
|
});
|
|
119
120
|
this.name = options.name;
|
|
120
121
|
this.id = options.id;
|
|
122
|
+
this.sortField = "".concat(options.id, "_").concat(this.getKeyByComponentType(options.type));
|
|
121
123
|
this.type = options.type;
|
|
122
124
|
this.canFilter = true;
|
|
123
125
|
this.canGroup = true;
|
|
@@ -17,6 +17,7 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
17
17
|
_classCallCheck(this, ETradeId);
|
|
18
18
|
_defineProperty(this, "name", void 0);
|
|
19
19
|
_defineProperty(this, "id", void 0);
|
|
20
|
+
_defineProperty(this, "sortField", void 0);
|
|
20
21
|
_defineProperty(this, "type", void 0);
|
|
21
22
|
_defineProperty(this, "rules", void 0);
|
|
22
23
|
_defineProperty(this, "canFilter", void 0);
|
|
@@ -92,6 +93,7 @@ var ETradeId = /*#__PURE__*/_createClass(function ETradeId(options) {
|
|
|
92
93
|
});
|
|
93
94
|
this.name = options.name;
|
|
94
95
|
this.id = options.id;
|
|
96
|
+
this.sortField = "".concat(options.id, "_tradeId");
|
|
95
97
|
this.type = options.type;
|
|
96
98
|
this.canFilter = true;
|
|
97
99
|
this.canGroup = true;
|
|
@@ -20,6 +20,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
20
20
|
_classCallCheck(this, WorkOrderId);
|
|
21
21
|
_defineProperty(this, "name", void 0);
|
|
22
22
|
_defineProperty(this, "id", void 0);
|
|
23
|
+
_defineProperty(this, "sortField", void 0);
|
|
23
24
|
_defineProperty(this, "type", void 0);
|
|
24
25
|
_defineProperty(this, "rules", void 0);
|
|
25
26
|
_defineProperty(this, "componentConfig", void 0);
|
|
@@ -32,11 +33,11 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
32
33
|
message.success('复制成功');
|
|
33
34
|
});
|
|
34
35
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
35
|
-
var _record$
|
|
36
|
+
var _record$repeatValueLi;
|
|
36
37
|
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
|
|
37
38
|
return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
|
|
38
39
|
}
|
|
39
|
-
return /*#__PURE__*/React.createElement("span", null, (record === null || record === void 0 ? void 0 : (_record$
|
|
40
|
+
return /*#__PURE__*/React.createElement("span", null, (record === null || record === void 0 ? void 0 : (_record$repeatValueLi = record.repeatValueList) === null || _record$repeatValueLi === void 0 ? void 0 : _record$repeatValueLi.length) > 0 && /*#__PURE__*/React.createElement("img", {
|
|
40
41
|
src: repeatPng,
|
|
41
42
|
style: {
|
|
42
43
|
width: '16px'
|
|
@@ -107,6 +108,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
107
108
|
});
|
|
108
109
|
this.name = options.name;
|
|
109
110
|
this.id = options.id;
|
|
111
|
+
this.sortField = options.id;
|
|
110
112
|
this.type = options.type;
|
|
111
113
|
this.componentConfig = options.componentConfig;
|
|
112
114
|
this.effects = options.effects;
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare type FilterConfigType = {
|
|
|
20
20
|
export declare type FilterComponentType = "MultipleSelect" | "Input" | "Date" | "Cascader" | "ShopList" | "Rate";
|
|
21
21
|
export interface ComponentInterface {
|
|
22
22
|
id: string;
|
|
23
|
+
sortField: string;
|
|
23
24
|
name: string;
|
|
24
25
|
columnHeader?: string | JSX.Element;
|
|
25
26
|
type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.7.5-alpha.
|
|
3
|
+
"version": "0.7.5-alpha.5",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"gitHooks": {
|
|
41
41
|
"pre-commit": "lint-staged"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "d06961e9c0e13b33a7d62eb11ce75c46e19e3b70"
|
|
44
44
|
}
|