@kmkf-fe-packages/services-components 0.7.3-alpha.0 → 0.7.3-alpha.10
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 +2 -1
- package/dist/esm/components/ActualPayment/index.js +4 -2
- package/dist/esm/components/Address/index.d.ts +10 -1
- package/dist/esm/components/Address/index.js +16 -2
- 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 +2 -1
- package/dist/esm/components/AlipayAccount/index.js +3 -1
- package/dist/esm/components/AlipayName/index.d.ts +2 -1
- package/dist/esm/components/AlipayName/index.js +3 -1
- package/dist/esm/components/BuyerNick/index.d.ts +2 -1
- package/dist/esm/components/BuyerNick/index.js +3 -1
- package/dist/esm/components/Cascader/index.d.ts +10 -1
- package/dist/esm/components/Cascader/index.js +16 -2
- package/dist/esm/components/Checkbox/index.d.ts +4 -1
- package/dist/esm/components/Checkbox/index.js +9 -5
- package/dist/esm/components/CommonDataTime/index.d.ts +2 -0
- package/dist/esm/components/CommonDataTime/index.js +9 -0
- package/dist/esm/components/CompletedUser/index.d.ts +7 -4
- package/dist/esm/components/CompletedUser/index.js +5 -1
- package/dist/esm/components/DataTime/index.d.ts +5 -1
- package/dist/esm/components/DataTime/index.js +13 -2
- package/dist/esm/components/EItemEnCode/index.d.ts +2 -1
- package/dist/esm/components/EItemEnCode/index.js +4 -2
- package/dist/esm/components/EItemId/index.d.ts +2 -1
- package/dist/esm/components/EItemId/index.js +4 -2
- 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 +2 -0
- package/dist/esm/components/ErpTradeId/index.js +6 -1
- package/dist/esm/components/Express/index.d.ts +4 -1
- package/dist/esm/components/Express/index.js +5 -1
- package/dist/esm/components/ExpressCode/index.d.ts +2 -1
- package/dist/esm/components/ExpressCode/index.js +3 -1
- package/dist/esm/components/FlowStatusSelect/index.d.ts +7 -4
- package/dist/esm/components/FlowStatusSelect/index.js +10 -6
- 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 +7 -4
- package/dist/esm/components/Handler/index.js +5 -1
- package/dist/esm/components/Input/index.d.ts +2 -1
- package/dist/esm/components/Input/index.js +4 -2
- package/dist/esm/components/JstItemSelect/index.d.ts +2 -1
- package/dist/esm/components/JstItemSelect/index.js +4 -2
- package/dist/esm/components/JstLogistics/index.d.ts +6 -3
- package/dist/esm/components/JstLogistics/index.js +6 -2
- package/dist/esm/components/JstSendGood/index.d.ts +2 -1
- package/dist/esm/components/JstSendGood/index.js +4 -2
- package/dist/esm/components/JstSupply/index.d.ts +2 -1
- package/dist/esm/components/JstSupply/index.js +4 -2
- package/dist/esm/components/Logistics/index.d.ts +4 -1
- 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 +7 -4
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +5 -1
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +7 -4
- package/dist/esm/components/LogisticsInterception/InterceptType.js +5 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +10 -5
- package/dist/esm/components/LogisticsInterception/index.js +2 -0
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.d.ts +2 -1
- package/dist/esm/components/LogisticsInterception/interceptSenderMobile.js +3 -1
- package/dist/esm/components/MultSelect/index.d.ts +4 -1
- package/dist/esm/components/MultSelect/index.js +6 -2
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +6 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +6 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +3 -1
- package/dist/esm/components/Ordinary/index.d.ts +2 -1
- package/dist/esm/components/Ordinary/index.js +2 -0
- package/dist/esm/components/Payment/AlipayNick.d.ts +2 -1
- package/dist/esm/components/Payment/AlipayNick.js +3 -1
- package/dist/esm/components/Payment/AlipayNo.d.ts +2 -1
- package/dist/esm/components/Payment/AlipayNo.js +3 -1
- package/dist/esm/components/Payment/AlipayTime.d.ts +2 -0
- package/dist/esm/components/Payment/AlipayTime.js +9 -0
- package/dist/esm/components/Payment/BuyerNick.d.ts +2 -1
- package/dist/esm/components/Payment/BuyerNick.js +3 -1
- package/dist/esm/components/Payment/PaymentAmount.d.ts +2 -1
- package/dist/esm/components/Payment/PaymentAmount.js +3 -1
- package/dist/esm/components/Payment/PaymentStatus.d.ts +7 -4
- package/dist/esm/components/Payment/PaymentStatus.js +5 -1
- package/dist/esm/components/Payment/PaymentTid.d.ts +2 -0
- package/dist/esm/components/Payment/PaymentTid.js +5 -0
- package/dist/esm/components/Payment/index.d.ts +8 -5
- 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 +4 -1
- package/dist/esm/components/Radio/index.js +9 -5
- 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 +2 -0
- package/dist/esm/components/ReceiverMobile/index.d.ts +2 -1
- package/dist/esm/components/ReceiverMobile/index.js +4 -2
- package/dist/esm/components/ReceiverName/index.d.ts +2 -1
- package/dist/esm/components/ReceiverName/index.js +4 -2
- package/dist/esm/components/Remark/index.d.ts +2 -1
- package/dist/esm/components/Remark/index.js +4 -2
- package/dist/esm/components/ReturnLogistics/index.d.ts +4 -1
- package/dist/esm/components/ReturnLogistics/index.js +2 -0
- package/dist/esm/components/Select/index.d.ts +4 -1
- package/dist/esm/components/Select/index.js +6 -2
- package/dist/esm/components/ShopInput/index.d.ts +6 -2
- package/dist/esm/components/ShopInput/index.js +15 -2
- package/dist/esm/components/ShopName/index.d.ts +2 -1
- package/dist/esm/components/ShopName/index.js +4 -2
- package/dist/esm/components/Submitter/index.d.ts +7 -4
- package/dist/esm/components/Submitter/index.js +5 -1
- package/dist/esm/components/SystemOrderNo/index.d.ts +2 -0
- package/dist/esm/components/SystemOrderNo/index.js +6 -1
- 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 +2 -1
- package/dist/esm/components/TextArea/index.js +4 -2
- package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -1
- package/dist/esm/components/ThirdItemSelect/index.js +4 -2
- package/dist/esm/components/TradeDateTime/index.d.ts +2 -0
- package/dist/esm/components/TradeDateTime/index.js +12 -2
- package/dist/esm/components/TradeId/index.d.ts +2 -0
- package/dist/esm/components/TradeId/index.js +6 -1
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -1
- package/dist/esm/components/WorkOrderId/index.js +10 -2
- package/dist/esm/type.d.ts +5 -2
- package/package.json +2 -2
|
@@ -24,6 +24,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
24
24
|
_defineProperty(this, "componentConfig", void 0);
|
|
25
25
|
_defineProperty(this, "effects", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
30
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -75,9 +76,9 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
75
76
|
});
|
|
76
77
|
_defineProperty(this, "filterConfig", function (item) {
|
|
77
78
|
return {
|
|
78
|
-
searchDefaultConditions: SYMBOL.
|
|
79
|
+
searchDefaultConditions: SYMBOL.like,
|
|
79
80
|
type: item.type,
|
|
80
|
-
id: item.id,
|
|
81
|
+
id: "".concat(item.id, "_itemList"),
|
|
81
82
|
// 过滤组件id
|
|
82
83
|
name: item.name,
|
|
83
84
|
// 过滤组件名称
|
|
@@ -98,6 +99,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
|
|
|
98
99
|
this.type = options.type;
|
|
99
100
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
100
101
|
this.isCombinationComponent = false;
|
|
102
|
+
this.canSort = true;
|
|
101
103
|
this.children = [];
|
|
102
104
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
103
105
|
this.rules = this !== null && this !== void 0 && (_this$componentConfig2 = this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.required ? [{
|
|
@@ -8,6 +8,7 @@ declare class EItemSelect implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
11
12
|
children: ComponentInterface[];
|
|
12
13
|
constructor(options: PickOption);
|
|
13
14
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -22,6 +22,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
|
|
|
22
22
|
_defineProperty(this, "componentConfig", void 0);
|
|
23
23
|
_defineProperty(this, "effects", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "renderClient", function (record) {
|
|
27
28
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -78,6 +79,7 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
|
|
|
78
79
|
this.componentConfig = options === null || options === void 0 ? void 0 : options.componentConfig;
|
|
79
80
|
this.rules = [];
|
|
80
81
|
this.isCombinationComponent = false;
|
|
82
|
+
this.canSort = true;
|
|
81
83
|
this.children = [];
|
|
82
84
|
});
|
|
83
85
|
export default EItemSelect;
|
|
@@ -7,6 +7,7 @@ declare class ErpTradeId implements ComponentInterface {
|
|
|
7
7
|
rules: any[];
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
constructor(options: PickOption);
|
|
12
13
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -22,6 +23,7 @@ declare class ErpTradeId implements ComponentInterface {
|
|
|
22
23
|
name: string;
|
|
23
24
|
filterComponentType: "Input";
|
|
24
25
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
26
|
+
formatFilterValue: (input: string) => string[];
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
export default ErpTradeId;
|
|
@@ -20,6 +20,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
20
20
|
_defineProperty(this, "rules", void 0);
|
|
21
21
|
_defineProperty(this, "componentConfig", void 0);
|
|
22
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
23
|
+
_defineProperty(this, "canSort", void 0);
|
|
23
24
|
_defineProperty(this, "children", void 0);
|
|
24
25
|
_defineProperty(this, "renderClient", function (record) {
|
|
25
26
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -57,7 +58,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
57
58
|
return {
|
|
58
59
|
searchDefaultConditions: SYMBOL.in,
|
|
59
60
|
type: item.type,
|
|
60
|
-
id: item.id,
|
|
61
|
+
id: "".concat(item.id, "_tradeId"),
|
|
61
62
|
// 过滤组件id
|
|
62
63
|
name: item.name,
|
|
63
64
|
// 过滤组件名称
|
|
@@ -66,6 +67,9 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
66
67
|
return function (i) {
|
|
67
68
|
return _filterFn.filterSplitComma(_filterFn.filterTableListItemColumnValue(i, item.id, 'tradeId'), value);
|
|
68
69
|
};
|
|
70
|
+
},
|
|
71
|
+
formatFilterValue: function formatFilterValue(input) {
|
|
72
|
+
return input.split(/[,|,]/);
|
|
69
73
|
}
|
|
70
74
|
};
|
|
71
75
|
});
|
|
@@ -75,6 +79,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
75
79
|
this.componentConfig = options.componentConfig;
|
|
76
80
|
this.rules = [];
|
|
77
81
|
this.isCombinationComponent = false;
|
|
82
|
+
this.canSort = true;
|
|
78
83
|
this.children = [];
|
|
79
84
|
});
|
|
80
85
|
export default ErpTradeId;
|
|
@@ -11,6 +11,7 @@ declare class Express implements ComponentInterface {
|
|
|
11
11
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
12
12
|
width: number;
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
+
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
16
|
constructor(options: PickOption);
|
|
16
17
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -25,7 +26,9 @@ declare class Express implements ComponentInterface {
|
|
|
25
26
|
id: string;
|
|
26
27
|
name: string;
|
|
27
28
|
filterComponentType: "MultipleSelect";
|
|
28
|
-
|
|
29
|
+
props: {
|
|
30
|
+
options: any[];
|
|
31
|
+
};
|
|
29
32
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
30
33
|
};
|
|
31
34
|
}
|
|
@@ -24,6 +24,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
24
24
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
25
25
|
_defineProperty(this, "width", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
29
30
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -68,7 +69,9 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
68
69
|
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
69
70
|
name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
|
|
70
71
|
filterComponentType: 'MultipleSelect',
|
|
71
|
-
|
|
72
|
+
props: {
|
|
73
|
+
options: _this.expressDateInstance.getExpressData() || []
|
|
74
|
+
},
|
|
72
75
|
filterFn: function filterFn(value) {
|
|
73
76
|
return function (i) {
|
|
74
77
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, "".concat(subKey)));
|
|
@@ -85,6 +88,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
85
88
|
this.expressDateInstance = ExpressData.getInstance();
|
|
86
89
|
this.width = 200;
|
|
87
90
|
this.isCombinationComponent = false;
|
|
91
|
+
this.canSort = true;
|
|
88
92
|
this.children = [];
|
|
89
93
|
});
|
|
90
94
|
export default Express;
|
|
@@ -9,6 +9,7 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
9
9
|
align: ALignType;
|
|
10
10
|
width: number;
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
constructor(options: PickOption);
|
|
14
15
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -18,7 +19,7 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
18
19
|
renderExport: (value: string, record: Record) => any;
|
|
19
20
|
editRender: () => React.JSX.Element;
|
|
20
21
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
-
searchDefaultConditions: "
|
|
22
|
+
searchDefaultConditions: "like";
|
|
22
23
|
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
@@ -23,6 +23,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
23
23
|
_defineProperty(this, "align", void 0);
|
|
24
24
|
_defineProperty(this, "width", void 0);
|
|
25
25
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
|
+
_defineProperty(this, "canSort", void 0);
|
|
26
27
|
_defineProperty(this, "children", void 0);
|
|
27
28
|
_defineProperty(this, "renderClient", function (record) {
|
|
28
29
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -59,7 +60,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
59
60
|
_defineProperty(this, "filterConfig", function (item) {
|
|
60
61
|
var subKey = item.subKey;
|
|
61
62
|
return {
|
|
62
|
-
searchDefaultConditions: SYMBOL.
|
|
63
|
+
searchDefaultConditions: SYMBOL.like,
|
|
63
64
|
type: item.type,
|
|
64
65
|
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
65
66
|
name: "".concat(item.name, "-\u7269\u6D41\u5355\u53F7"),
|
|
@@ -86,6 +87,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
86
87
|
this.align = "left";
|
|
87
88
|
this.width = 200;
|
|
88
89
|
this.isCombinationComponent = false;
|
|
90
|
+
this.canSort = true;
|
|
89
91
|
this.children = [];
|
|
90
92
|
});
|
|
91
93
|
export default ExpressCode;
|
|
@@ -9,6 +9,7 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
9
9
|
effects: ComponentInterface["effects"];
|
|
10
10
|
workOrderStatus: any;
|
|
11
11
|
isCombinationComponent: boolean;
|
|
12
|
+
canSort: boolean;
|
|
12
13
|
children: ComponentInterface[];
|
|
13
14
|
constructor(options: PickOption);
|
|
14
15
|
renderMenu: (record: Record) => React.JSX.Element;
|
|
@@ -24,10 +25,12 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
26
27
|
filterComponentType: "MultipleSelect";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
props: {
|
|
29
|
+
options: {
|
|
30
|
+
label: any;
|
|
31
|
+
value: string;
|
|
32
|
+
}[];
|
|
33
|
+
};
|
|
31
34
|
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
32
35
|
};
|
|
33
36
|
}
|
|
@@ -24,6 +24,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
24
24
|
_defineProperty(this, "effects", void 0);
|
|
25
25
|
_defineProperty(this, "workOrderStatus", void 0);
|
|
26
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
27
|
+
_defineProperty(this, "canSort", void 0);
|
|
27
28
|
_defineProperty(this, "children", void 0);
|
|
28
29
|
_defineProperty(this, "renderMenu", function (record) {
|
|
29
30
|
var menu = /*#__PURE__*/React.createElement(Menu, {
|
|
@@ -92,12 +93,14 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
92
93
|
name: item.name,
|
|
93
94
|
// 过滤组件名称
|
|
94
95
|
filterComponentType: 'MultipleSelect',
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
props: {
|
|
97
|
+
options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
|
|
98
|
+
return {
|
|
99
|
+
label: _this.workOrderStatus[item].label,
|
|
100
|
+
value: item
|
|
101
|
+
};
|
|
102
|
+
})
|
|
103
|
+
},
|
|
101
104
|
filterFn: function filterFn(value) {
|
|
102
105
|
return function (i) {
|
|
103
106
|
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
|
|
@@ -112,6 +115,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
112
115
|
this.effects = options.effects;
|
|
113
116
|
this.rules = [];
|
|
114
117
|
this.isCombinationComponent = false;
|
|
118
|
+
this.canSort = true;
|
|
115
119
|
this.children = [];
|
|
116
120
|
this.workOrderStatus = {
|
|
117
121
|
"WAITING": {
|
|
@@ -7,6 +7,7 @@ declare class BasicGrade implements ComponentInterface {
|
|
|
7
7
|
rules: any[];
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
constructor(options: PickOption);
|
|
12
13
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -19,6 +19,7 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
|
|
|
19
19
|
_defineProperty(this, "rules", void 0);
|
|
20
20
|
_defineProperty(this, "componentConfig", void 0);
|
|
21
21
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
22
|
+
_defineProperty(this, "canSort", void 0);
|
|
22
23
|
_defineProperty(this, "children", void 0);
|
|
23
24
|
_defineProperty(this, "renderClient", function (record) {
|
|
24
25
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -61,6 +62,7 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
|
|
|
61
62
|
this.componentConfig = options.componentConfig;
|
|
62
63
|
this.rules = [];
|
|
63
64
|
this.isCombinationComponent = false;
|
|
65
|
+
this.canSort = true;
|
|
64
66
|
this.children = [];
|
|
65
67
|
});
|
|
66
68
|
export default BasicGrade;
|
|
@@ -7,6 +7,7 @@ declare class Handler implements ComponentInterface {
|
|
|
7
7
|
componentConfig: ComponentInterface["componentConfig"];
|
|
8
8
|
effects: ComponentInterface["effects"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
constructor(options: PickOption);
|
|
12
13
|
renderPc: (v: unknown, record: Record) => React.JSX.Element;
|
|
@@ -23,10 +24,12 @@ declare class Handler implements ComponentInterface {
|
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
25
26
|
filterComponentType: "MultipleSelect";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
props: {
|
|
28
|
+
options: {
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
30
33
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
31
34
|
};
|
|
32
35
|
}
|
|
@@ -18,6 +18,7 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
18
18
|
_defineProperty(this, "componentConfig", void 0);
|
|
19
19
|
_defineProperty(this, "effects", void 0);
|
|
20
20
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
21
|
+
_defineProperty(this, "canSort", void 0);
|
|
21
22
|
_defineProperty(this, "children", void 0);
|
|
22
23
|
_defineProperty(this, "renderPc", function (v, record) {
|
|
23
24
|
var _value$map$join, _value$map;
|
|
@@ -55,7 +56,9 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
55
56
|
name: item.name,
|
|
56
57
|
// 过滤组件名称
|
|
57
58
|
filterComponentType: 'MultipleSelect',
|
|
58
|
-
|
|
59
|
+
props: {
|
|
60
|
+
options: ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.userList) || []
|
|
61
|
+
},
|
|
59
62
|
filterFn: function filterFn(value) {
|
|
60
63
|
return function (i) {
|
|
61
64
|
var _ref;
|
|
@@ -71,6 +74,7 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
71
74
|
this.type = "HANDLER_INPUT";
|
|
72
75
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
73
76
|
this.isCombinationComponent = false;
|
|
77
|
+
this.canSort = true;
|
|
74
78
|
this.children = [];
|
|
75
79
|
});
|
|
76
80
|
export default Handler;
|
|
@@ -7,6 +7,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
7
7
|
rules: any[];
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
|
+
canSort: boolean;
|
|
10
11
|
children: ComponentInterface[];
|
|
11
12
|
constructor(options: PickOption);
|
|
12
13
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
@@ -16,7 +17,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
17
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
17
18
|
editRender: () => React.JSX.Element;
|
|
18
19
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
-
searchDefaultConditions: "
|
|
20
|
+
searchDefaultConditions: "like";
|
|
20
21
|
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
@@ -22,6 +22,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
22
22
|
_defineProperty(this, "rules", void 0);
|
|
23
23
|
_defineProperty(this, "componentConfig", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
|
+
_defineProperty(this, "canSort", void 0);
|
|
25
26
|
_defineProperty(this, "children", void 0);
|
|
26
27
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
27
28
|
var _record;
|
|
@@ -59,9 +60,9 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
59
60
|
});
|
|
60
61
|
_defineProperty(this, "filterConfig", function (item) {
|
|
61
62
|
return {
|
|
62
|
-
searchDefaultConditions: SYMBOL.
|
|
63
|
+
searchDefaultConditions: SYMBOL.like,
|
|
63
64
|
type: item.type,
|
|
64
|
-
id: item.id,
|
|
65
|
+
id: "".concat(item.id, "_input"),
|
|
65
66
|
// 过滤组件id
|
|
66
67
|
name: item.name,
|
|
67
68
|
// 过滤组件名称
|
|
@@ -82,6 +83,7 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
82
83
|
message: '字段必须是数字'
|
|
83
84
|
}] : [];
|
|
84
85
|
this.isCombinationComponent = false;
|
|
86
|
+
this.canSort = true;
|
|
85
87
|
this.children = [];
|
|
86
88
|
});
|
|
87
89
|
export default BasicInput;
|
|
@@ -10,6 +10,7 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
10
10
|
align: ALignType;
|
|
11
11
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
|
+
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
constructor(options: PickOption);
|
|
15
16
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -19,7 +20,7 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
19
20
|
renderExport: (value: any, record: any) => any;
|
|
20
21
|
editRender: () => React.JSX.Element;
|
|
21
22
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
-
searchDefaultConditions: "
|
|
23
|
+
searchDefaultConditions: "like";
|
|
23
24
|
type: string;
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
@@ -26,6 +26,7 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
26
26
|
_defineProperty(this, "align", void 0);
|
|
27
27
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
28
28
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
29
|
+
_defineProperty(this, "canSort", void 0);
|
|
29
30
|
_defineProperty(this, "children", void 0);
|
|
30
31
|
_defineProperty(this, "renderClient", function (record) {
|
|
31
32
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
@@ -72,7 +73,7 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
72
73
|
});
|
|
73
74
|
_defineProperty(this, "filterConfig", function (item) {
|
|
74
75
|
return [{
|
|
75
|
-
searchDefaultConditions: SYMBOL.
|
|
76
|
+
searchDefaultConditions: SYMBOL.like,
|
|
76
77
|
type: item.type,
|
|
77
78
|
id: "".concat(item.id, "_itemId"),
|
|
78
79
|
name: "jst\u4F9B\u5E94\u5546\u7F16\u7801",
|
|
@@ -88,7 +89,7 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
91
|
}, {
|
|
91
|
-
searchDefaultConditions: SYMBOL.
|
|
92
|
+
searchDefaultConditions: SYMBOL.like,
|
|
92
93
|
type: item.type,
|
|
93
94
|
id: "".concat(item.id, "_supplierName"),
|
|
94
95
|
name: "jst\u4F9B\u5E94\u5546\u540D\u79F0",
|
|
@@ -110,6 +111,7 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
110
111
|
this.type = options.type;
|
|
111
112
|
this.componentConfig = options.componentConfig;
|
|
112
113
|
this.isCombinationComponent = false;
|
|
114
|
+
this.canSort = true;
|
|
113
115
|
this.children = [];
|
|
114
116
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
115
117
|
required: true,
|
|
@@ -10,6 +10,7 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
10
10
|
align: ALignType;
|
|
11
11
|
expressDateInstance: InstanceType<typeof ExpressData>;
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
|
+
canSort: boolean;
|
|
13
14
|
children: ComponentInterface[];
|
|
14
15
|
constructor(options: PickOption);
|
|
15
16
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -19,20 +20,22 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
19
20
|
renderExport: (value: any, record: any) => any;
|
|
20
21
|
editRender: () => React.JSX.Element;
|
|
21
22
|
filterConfig: (item: ColumnConfig) => ({
|
|
22
|
-
searchDefaultConditions: "
|
|
23
|
+
searchDefaultConditions: "like";
|
|
23
24
|
type: string;
|
|
24
25
|
id: string;
|
|
25
26
|
name: string;
|
|
26
27
|
filterComponentType: "Input";
|
|
27
28
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
28
|
-
|
|
29
|
+
props?: undefined;
|
|
29
30
|
} | {
|
|
30
31
|
searchDefaultConditions: "in";
|
|
31
32
|
type: string;
|
|
32
33
|
id: string;
|
|
33
34
|
name: string;
|
|
34
35
|
filterComponentType: "MultipleSelect";
|
|
35
|
-
|
|
36
|
+
props: {
|
|
37
|
+
options: any[];
|
|
38
|
+
};
|
|
36
39
|
filterFn: (value: string) => (i: Record) => any;
|
|
37
40
|
})[];
|
|
38
41
|
}
|
|
@@ -27,6 +27,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
27
27
|
_defineProperty(this, "align", void 0);
|
|
28
28
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
29
29
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
30
|
+
_defineProperty(this, "canSort", void 0);
|
|
30
31
|
_defineProperty(this, "children", void 0);
|
|
31
32
|
_defineProperty(this, "renderClient", function (record) {
|
|
32
33
|
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) {
|
|
@@ -78,7 +79,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
78
79
|
});
|
|
79
80
|
_defineProperty(this, "filterConfig", function (item) {
|
|
80
81
|
return [{
|
|
81
|
-
searchDefaultConditions: SYMBOL.
|
|
82
|
+
searchDefaultConditions: SYMBOL.like,
|
|
82
83
|
type: item.type,
|
|
83
84
|
id: "".concat(item.id, "_logisticsCode"),
|
|
84
85
|
name: "jst\u7269\u6D41\u5355\u53F7",
|
|
@@ -94,7 +95,9 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
94
95
|
id: "".concat(item.id, "_logisticsCompany"),
|
|
95
96
|
name: "jst\u7269\u6D41\u516C\u53F8",
|
|
96
97
|
filterComponentType: 'MultipleSelect',
|
|
97
|
-
|
|
98
|
+
props: {
|
|
99
|
+
options: _this.expressDateInstance.getExpressData() || []
|
|
100
|
+
},
|
|
98
101
|
filterFn: function filterFn(value) {
|
|
99
102
|
return function (i) {
|
|
100
103
|
var _ref;
|
|
@@ -112,6 +115,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
112
115
|
this.type = options.type;
|
|
113
116
|
this.componentConfig = options.componentConfig;
|
|
114
117
|
this.isCombinationComponent = false;
|
|
118
|
+
this.canSort = true;
|
|
115
119
|
this.children = [];
|
|
116
120
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
117
121
|
required: true,
|
|
@@ -8,6 +8,7 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
align: ALignType;
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
11
12
|
children: ComponentInterface[];
|
|
12
13
|
constructor(options: PickOption);
|
|
13
14
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -17,7 +18,7 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
17
18
|
renderExport: (value: any, record: any) => any;
|
|
18
19
|
editRender: () => React.JSX.Element;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "
|
|
21
|
+
searchDefaultConditions: "like";
|
|
21
22
|
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
@@ -25,6 +25,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "align", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "canSort", void 0);
|
|
28
29
|
_defineProperty(this, "children", void 0);
|
|
29
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
30
31
|
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) {
|
|
@@ -74,7 +75,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
74
75
|
});
|
|
75
76
|
_defineProperty(this, "filterConfig", function (item) {
|
|
76
77
|
return [{
|
|
77
|
-
searchDefaultConditions: SYMBOL.
|
|
78
|
+
searchDefaultConditions: SYMBOL.like,
|
|
78
79
|
type: item.type,
|
|
79
80
|
id: "".concat(item.id, "_sendName"),
|
|
80
81
|
name: "jst\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
@@ -90,7 +91,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
93
|
}, {
|
|
93
|
-
searchDefaultConditions: SYMBOL.
|
|
94
|
+
searchDefaultConditions: SYMBOL.like,
|
|
94
95
|
type: item.type,
|
|
95
96
|
id: "".concat(item.id, "_sendId"),
|
|
96
97
|
name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
|
|
@@ -135,6 +136,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
135
136
|
}] : [];
|
|
136
137
|
this.align = 'left';
|
|
137
138
|
this.isCombinationComponent = false;
|
|
139
|
+
this.canSort = true;
|
|
138
140
|
this.children = [];
|
|
139
141
|
});
|
|
140
142
|
export default JstSendGood;
|
|
@@ -8,6 +8,7 @@ declare class JstSupply implements ComponentInterface {
|
|
|
8
8
|
componentConfig: ComponentInterface["componentConfig"];
|
|
9
9
|
align: ALignType;
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
|
+
canSort: boolean;
|
|
11
12
|
children: ComponentInterface[];
|
|
12
13
|
constructor(options: PickOption);
|
|
13
14
|
renderClient: (record: Record) => React.JSX.Element | null;
|
|
@@ -17,7 +18,7 @@ declare class JstSupply implements ComponentInterface {
|
|
|
17
18
|
renderExport: (value: any, record: any) => any;
|
|
18
19
|
editRender: () => React.JSX.Element;
|
|
19
20
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
-
searchDefaultConditions: "
|
|
21
|
+
searchDefaultConditions: "like";
|
|
21
22
|
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
@@ -25,6 +25,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
25
25
|
_defineProperty(this, "componentConfig", void 0);
|
|
26
26
|
_defineProperty(this, "align", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
|
+
_defineProperty(this, "canSort", void 0);
|
|
28
29
|
_defineProperty(this, "children", void 0);
|
|
29
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
30
31
|
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) {
|
|
@@ -74,7 +75,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
74
75
|
});
|
|
75
76
|
_defineProperty(this, "filterConfig", function (item) {
|
|
76
77
|
return [{
|
|
77
|
-
searchDefaultConditions: SYMBOL.
|
|
78
|
+
searchDefaultConditions: SYMBOL.like,
|
|
78
79
|
type: item.type,
|
|
79
80
|
id: "".concat(item.id, "_supplyName"),
|
|
80
81
|
name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
|
|
@@ -90,7 +91,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
93
|
}, {
|
|
93
|
-
searchDefaultConditions: SYMBOL.
|
|
94
|
+
searchDefaultConditions: SYMBOL.like,
|
|
94
95
|
type: item.type,
|
|
95
96
|
id: "".concat(item.id, "_supplyId"),
|
|
96
97
|
name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
|
|
@@ -112,6 +113,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
112
113
|
this.type = options.type;
|
|
113
114
|
this.componentConfig = options.componentConfig;
|
|
114
115
|
this.isCombinationComponent = false;
|
|
116
|
+
this.canSort = true;
|
|
115
117
|
this.children = [];
|
|
116
118
|
this.rules = (_this$componentConfig = this.componentConfig) !== null && _this$componentConfig !== void 0 && _this$componentConfig.required ? [{
|
|
117
119
|
required: true,
|
|
@@ -13,6 +13,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
13
13
|
express: Express;
|
|
14
14
|
expressCode: ExpressCode;
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
|
+
canSort: boolean;
|
|
16
17
|
children: ComponentInterface[];
|
|
17
18
|
constructor(options: PickOption);
|
|
18
19
|
editRender: (value: any) => React.JSX.Element;
|
|
@@ -30,7 +31,9 @@ declare class Logistics implements ComponentInterface {
|
|
|
30
31
|
id: string;
|
|
31
32
|
name: string;
|
|
32
33
|
filterComponentType: "MultipleSelect";
|
|
33
|
-
|
|
34
|
+
props: {
|
|
35
|
+
options: any[];
|
|
36
|
+
};
|
|
34
37
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
35
38
|
} | {
|
|
36
39
|
searchDefaultConditions: "in";
|
|
@@ -27,6 +27,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
27
27
|
_defineProperty(this, "express", void 0);
|
|
28
28
|
_defineProperty(this, "expressCode", void 0);
|
|
29
29
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
30
|
+
_defineProperty(this, "canSort", void 0);
|
|
30
31
|
_defineProperty(this, "children", void 0);
|
|
31
32
|
_defineProperty(this, "editRender", function (value) {
|
|
32
33
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -80,6 +81,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
80
81
|
id: "".concat(this.id, "_expressLogisticsCode")
|
|
81
82
|
}));
|
|
82
83
|
this.isCombinationComponent = true;
|
|
84
|
+
this.canSort = false;
|
|
83
85
|
this.children = [this.express, this.expressCode];
|
|
84
86
|
this.rules = (_this$componentConfig3 = this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.required ? [{
|
|
85
87
|
validator: function validator(_, value) {
|
|
@@ -11,6 +11,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
11
11
|
align: ALignType;
|
|
12
12
|
width: number;
|
|
13
13
|
isCombinationComponent: boolean;
|
|
14
|
+
canSort: boolean;
|
|
14
15
|
children: ComponentInterface[];
|
|
15
16
|
originId: string;
|
|
16
17
|
addressDateInstance: InstanceType<typeof AddressData>;
|