@kmkf-fe-packages/services-components 0.6.3-alpha.21 → 0.6.3-alpha.23
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 +2 -1
- package/dist/esm/components/Address/index.d.ts +1 -1
- package/dist/esm/components/Address/index.js +1 -1
- package/dist/esm/components/AlipayAccount/index.d.ts +2 -1
- package/dist/esm/components/AlipayAccount/index.js +2 -1
- package/dist/esm/components/AlipayName/index.d.ts +2 -1
- package/dist/esm/components/AlipayName/index.js +2 -1
- package/dist/esm/components/BuyerNick/index.d.ts +1 -0
- package/dist/esm/components/BuyerNick/index.js +1 -0
- package/dist/esm/components/Cascader/index.d.ts +2 -1
- package/dist/esm/components/Cascader/index.js +2 -1
- package/dist/esm/components/Checkbox/index.d.ts +1 -0
- package/dist/esm/components/Checkbox/index.js +2 -1
- package/dist/esm/components/CommonDataTime/index.d.ts +1 -0
- package/dist/esm/components/CommonDataTime/index.js +1 -0
- package/dist/esm/components/CompletedUser/index.d.ts +2 -1
- package/dist/esm/components/CompletedUser/index.js +2 -1
- package/dist/esm/components/DataTime/index.d.ts +1 -0
- package/dist/esm/components/DataTime/index.js +1 -0
- package/dist/esm/components/EItemEnCode/index.d.ts +1 -0
- package/dist/esm/components/EItemEnCode/index.js +1 -0
- package/dist/esm/components/EItemId/index.d.ts +1 -0
- package/dist/esm/components/EItemId/index.js +1 -0
- package/dist/esm/components/ErpTradeId/index.d.ts +2 -1
- package/dist/esm/components/ErpTradeId/index.js +2 -1
- package/dist/esm/components/Express/index.d.ts +2 -1
- package/dist/esm/components/Express/index.js +2 -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 +1 -0
- package/dist/esm/components/FlowStatusSelect/index.js +1 -0
- package/dist/esm/components/Handler/index.d.ts +2 -1
- package/dist/esm/components/Handler/index.js +6 -4
- package/dist/esm/components/Input/index.d.ts +1 -0
- package/dist/esm/components/Input/index.js +1 -0
- package/dist/esm/components/JstItemSelect/index.d.ts +1 -0
- package/dist/esm/components/JstItemSelect/index.js +17 -16
- package/dist/esm/components/JstLogistics/index.d.ts +2 -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/LogisticsInterception/InterceptAddress.d.ts +2 -2
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +1 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +5 -1
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +2 -1
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +5 -1
- package/dist/esm/components/LogisticsInterception/InterceptType.js +2 -1
- package/dist/esm/components/LogisticsInterception/index.d.ts +3 -1
- package/dist/esm/components/LogisticsInterception/index.js +1 -1
- package/dist/esm/components/MultSelect/index.d.ts +1 -0
- package/dist/esm/components/MultSelect/index.js +1 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +1 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +1 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +1 -0
- package/dist/esm/components/Ordinary/OrdinarySerial.js +1 -0
- package/dist/esm/components/Ordinary/index.d.ts +1 -1
- package/dist/esm/components/Ordinary/index.js +1 -1
- package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNick.js +3 -1
- package/dist/esm/components/Payment/AlipayNo.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNo.js +3 -1
- package/dist/esm/components/Payment/AlipayTime.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayTime.js +1 -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 +1 -0
- package/dist/esm/components/Payment/PaymentStatus.d.ts +2 -1
- package/dist/esm/components/Payment/PaymentStatus.js +2 -1
- package/dist/esm/components/Payment/PaymentTid.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentTid.js +1 -0
- package/dist/esm/components/Picture/index.d.ts +1 -1
- package/dist/esm/components/Picture/index.js +1 -1
- package/dist/esm/components/PlatForm/index.d.ts +1 -0
- package/dist/esm/components/PlatForm/index.js +1 -0
- package/dist/esm/components/Radio/index.d.ts +1 -0
- package/dist/esm/components/Radio/index.js +1 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +1 -1
- package/dist/esm/components/ReceiverAddress/index.js +1 -1
- package/dist/esm/components/ReceiverMobile/index.d.ts +1 -0
- package/dist/esm/components/ReceiverMobile/index.js +1 -0
- package/dist/esm/components/ReceiverName/index.d.ts +1 -0
- package/dist/esm/components/ReceiverName/index.js +1 -0
- package/dist/esm/components/Remark/index.d.ts +1 -0
- package/dist/esm/components/Remark/index.js +1 -0
- package/dist/esm/components/Select/index.d.ts +1 -0
- package/dist/esm/components/Select/index.js +1 -0
- package/dist/esm/components/ShopInput/index.d.ts +1 -0
- package/dist/esm/components/ShopInput/index.js +1 -0
- package/dist/esm/components/ShopName/index.d.ts +2 -1
- package/dist/esm/components/ShopName/index.js +2 -1
- package/dist/esm/components/Submitter/index.d.ts +1 -0
- package/dist/esm/components/Submitter/index.js +1 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +2 -1
- package/dist/esm/components/SystemOrderNo/index.js +2 -1
- package/dist/esm/components/TemplateSelect/index.d.ts +1 -0
- package/dist/esm/components/TemplateSelect/index.js +1 -0
- package/dist/esm/components/TextArea/index.d.ts +1 -0
- package/dist/esm/components/TextArea/index.js +1 -0
- package/dist/esm/components/ThirdItemSelect/index.d.ts +1 -0
- package/dist/esm/components/ThirdItemSelect/index.js +1 -0
- package/dist/esm/components/TradeDateTime/index.d.ts +1 -0
- package/dist/esm/components/TradeDateTime/index.js +1 -0
- package/dist/esm/components/TradeId/index.d.ts +1 -0
- package/dist/esm/components/TradeId/index.js +1 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +1 -0
- package/dist/esm/components/WorkOrderId/index.js +1 -0
- package/dist/esm/type.d.ts +1 -0
- package/package.json +3 -3
|
@@ -14,8 +14,9 @@ declare class ActualPayment implements ComponentInterface {
|
|
|
14
14
|
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: unknown, record: Record) => any;
|
|
17
|
-
editRender: (
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
19
20
|
id: string;
|
|
20
21
|
name: string;
|
|
21
22
|
filterComponentType: "Input";
|
|
@@ -43,7 +43,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
43
43
|
var _record2;
|
|
44
44
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_actualPayment")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
45
45
|
});
|
|
46
|
-
_defineProperty(this, "editRender", function (
|
|
46
|
+
_defineProperty(this, "editRender", function () {
|
|
47
47
|
var _this$componentConfig, _this$componentConfig2;
|
|
48
48
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
49
49
|
title: _this.name,
|
|
@@ -57,6 +57,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
|
|
|
57
57
|
});
|
|
58
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
59
59
|
return {
|
|
60
|
+
type: item.type,
|
|
60
61
|
id: item.id,
|
|
61
62
|
// 过滤组件id
|
|
62
63
|
name: item.name,
|
|
@@ -24,7 +24,7 @@ declare class Address implements ComponentInterface {
|
|
|
24
24
|
renderLog: (r: Record) => JSX.Element | null;
|
|
25
25
|
getComponentValue: (r: Record) => any[];
|
|
26
26
|
renderExport: (value: any, record: any) => string;
|
|
27
|
-
editRender: (
|
|
27
|
+
editRender: () => JSX.Element;
|
|
28
28
|
filterConfig: () => never[];
|
|
29
29
|
}
|
|
30
30
|
export default Address;
|
|
@@ -72,7 +72,7 @@ var Address = /*#__PURE__*/_createClass(function Address(options) {
|
|
|
72
72
|
return _this.addressDateInstance.getNameByCode(suffix || '');
|
|
73
73
|
}).join('');
|
|
74
74
|
});
|
|
75
|
-
_defineProperty(this, "editRender", function (
|
|
75
|
+
_defineProperty(this, "editRender", function () {
|
|
76
76
|
var _this$componentConfig, _this$componentConfig2;
|
|
77
77
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
78
78
|
title: _this.name,
|
|
@@ -17,8 +17,9 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
17
17
|
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
|
-
editRender: (
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
24
25
|
filterComponentType: "Input";
|
|
@@ -53,7 +53,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
53
53
|
_defineProperty(this, "renderExport", function (value) {
|
|
54
54
|
return value !== null && value !== void 0 ? value : '--';
|
|
55
55
|
});
|
|
56
|
-
_defineProperty(this, "editRender", function (
|
|
56
|
+
_defineProperty(this, "editRender", function () {
|
|
57
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
58
58
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
59
59
|
title: _this.name,
|
|
@@ -65,6 +65,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
65
65
|
});
|
|
66
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
67
|
return {
|
|
68
|
+
type: item.type,
|
|
68
69
|
id: "".concat(item.id, "_alipayAccount"),
|
|
69
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u8D26\u53F7"),
|
|
70
71
|
filterComponentType: 'Input',
|
|
@@ -17,8 +17,9 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
17
17
|
renderLog: (r: Record) => JSX.Element | null;
|
|
18
18
|
getComponentValue: (r: Record) => any;
|
|
19
19
|
renderExport: (value?: string) => string;
|
|
20
|
-
editRender: (
|
|
20
|
+
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
24
25
|
filterComponentType: "Input";
|
|
@@ -53,7 +53,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
53
53
|
_defineProperty(this, "renderExport", function (value) {
|
|
54
54
|
return value !== null && value !== void 0 ? value : '--';
|
|
55
55
|
});
|
|
56
|
-
_defineProperty(this, "editRender", function (
|
|
56
|
+
_defineProperty(this, "editRender", function () {
|
|
57
57
|
var _this$componentConfig, _this$componentConfig2;
|
|
58
58
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
59
59
|
title: _this.name,
|
|
@@ -65,6 +65,7 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
65
65
|
});
|
|
66
66
|
_defineProperty(this, "filterConfig", function (item) {
|
|
67
67
|
return {
|
|
68
|
+
type: item.type,
|
|
68
69
|
id: "".concat(item.id, "_alipayName"),
|
|
69
70
|
name: "".concat(item.name, "-\u652F\u4ED8\u5B9D\u540D\u79F0"),
|
|
70
71
|
filterComponentType: 'Input',
|
|
@@ -20,6 +20,7 @@ declare class EBuyerNick implements ComponentInterface {
|
|
|
20
20
|
renderExport: (value: any, record: any) => any;
|
|
21
21
|
editRender: (value: any) => JSX.Element;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
+
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
25
26
|
filterComponentType: "Input";
|
|
@@ -20,8 +20,9 @@ declare class BasicCascader implements ComponentInterface {
|
|
|
20
20
|
renderLog: (r: Record) => JSX.Element | null;
|
|
21
21
|
getComponentValue: (r: Record) => any;
|
|
22
22
|
renderExport: (value: any, record: Record) => string;
|
|
23
|
-
editRender: (
|
|
23
|
+
editRender: () => JSX.Element;
|
|
24
24
|
filterConfig: (item: ColumnConfig) => {
|
|
25
|
+
type: string;
|
|
25
26
|
id: string;
|
|
26
27
|
name: string;
|
|
27
28
|
filterComponentType: "Cascader";
|
|
@@ -65,7 +65,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
65
65
|
return i.label;
|
|
66
66
|
})) === null || _findLabelBySelectVal6 === void 0 ? void 0 : _findLabelBySelectVal6.join(',');
|
|
67
67
|
});
|
|
68
|
-
_defineProperty(this, "editRender", function (
|
|
68
|
+
_defineProperty(this, "editRender", function () {
|
|
69
69
|
var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6;
|
|
70
70
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
71
71
|
title: _this.name,
|
|
@@ -87,6 +87,7 @@ var BasicCascader = /*#__PURE__*/_createClass(function BasicCascader(options) {
|
|
|
87
87
|
_defineProperty(this, "filterConfig", function (item) {
|
|
88
88
|
var _item$config;
|
|
89
89
|
return {
|
|
90
|
+
type: item.type,
|
|
90
91
|
id: item.id,
|
|
91
92
|
// 过滤组件id
|
|
92
93
|
name: item.name,
|
|
@@ -24,6 +24,7 @@ declare class BasicCheckbox implements ComponentInterface {
|
|
|
24
24
|
renderClient: (record: any) => JSX.Element | null;
|
|
25
25
|
editRender: () => JSX.Element;
|
|
26
26
|
filterConfig: (item: ColumnConfig) => {
|
|
27
|
+
type: string;
|
|
27
28
|
id: string;
|
|
28
29
|
name: string;
|
|
29
30
|
filterComponentType: "MultipleSelect";
|
|
@@ -48,7 +48,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
48
48
|
return i !== '其他';
|
|
49
49
|
})) || [];
|
|
50
50
|
if (!isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")])) {
|
|
51
|
-
return restOtherOptions.join('/').concat("\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")")
|
|
51
|
+
return (restOtherOptions === null || restOtherOptions === void 0 ? void 0 : restOtherOptions.length) > 0 ? restOtherOptions.join('/').concat("/\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")")) : "\u5176\u4ED6(".concat(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_checkboxOther")], ")");
|
|
52
52
|
}
|
|
53
53
|
return restOtherOptions.join('/');
|
|
54
54
|
});
|
|
@@ -85,6 +85,7 @@ var BasicCheckbox = /*#__PURE__*/_createClass(function BasicCheckbox(options) {
|
|
|
85
85
|
_defineProperty(this, "filterConfig", function (item) {
|
|
86
86
|
var _item$config, _item$config2, _item$config2$options, _item$config3;
|
|
87
87
|
return {
|
|
88
|
+
type: item.type,
|
|
88
89
|
id: item.id,
|
|
89
90
|
// 过滤组件id
|
|
90
91
|
name: item.name,
|
|
@@ -20,6 +20,7 @@ declare class CommonDataTime implements ComponentInterface {
|
|
|
20
20
|
renderExport: (value: any, record: Record) => string;
|
|
21
21
|
editRender: () => null;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
+
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
25
26
|
filterComponentType: "Date";
|
|
@@ -10,12 +10,13 @@ declare class CompletedUser implements ComponentInterface {
|
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
12
|
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
13
|
-
renderLog: (
|
|
13
|
+
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: any, record: Record) => any;
|
|
16
16
|
renderClient: () => null;
|
|
17
17
|
editRender: () => null;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
19
20
|
id: string;
|
|
20
21
|
name: string;
|
|
21
22
|
filterComponentType: "MultipleSelect";
|
|
@@ -21,7 +21,7 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
21
21
|
var _record;
|
|
22
22
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--');
|
|
23
23
|
});
|
|
24
|
-
_defineProperty(this, "renderLog", function (
|
|
24
|
+
_defineProperty(this, "renderLog", function () {
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
27
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
@@ -40,6 +40,7 @@ var CompletedUser = /*#__PURE__*/_createClass(function CompletedUser(options) {
|
|
|
40
40
|
_defineProperty(this, "filterConfig", function (item) {
|
|
41
41
|
var _this$effects;
|
|
42
42
|
return {
|
|
43
|
+
type: item.type,
|
|
43
44
|
id: item.id,
|
|
44
45
|
// 过滤组件id
|
|
45
46
|
name: item.name,
|
|
@@ -19,6 +19,7 @@ declare class BasicDataTime implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: Record) => any;
|
|
20
20
|
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
24
25
|
filterComponentType: "Date";
|
|
@@ -17,6 +17,7 @@ declare class EItemEncode implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: unknown, record: Record) => any;
|
|
18
18
|
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
22
23
|
filterComponentType: "Input";
|
|
@@ -17,6 +17,7 @@ declare class EItemId implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
18
|
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
22
23
|
filterComponentType: "Input";
|
|
@@ -14,8 +14,9 @@ declare class ErpTradeId implements ComponentInterface {
|
|
|
14
14
|
renderLog: (r: Record) => JSX.Element | null;
|
|
15
15
|
getComponentValue: (r: Record) => any;
|
|
16
16
|
renderExport: (value: any, record: Record) => any;
|
|
17
|
-
editRender: (
|
|
17
|
+
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
19
20
|
id: string;
|
|
20
21
|
name: string;
|
|
21
22
|
filterComponentType: "Input";
|
|
@@ -42,7 +42,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
42
42
|
var _record2;
|
|
43
43
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_tradeId")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
44
44
|
});
|
|
45
|
-
_defineProperty(this, "editRender", function (
|
|
45
|
+
_defineProperty(this, "editRender", function () {
|
|
46
46
|
var _this$componentConfig, _this$componentConfig2;
|
|
47
47
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
48
48
|
title: _this.name,
|
|
@@ -54,6 +54,7 @@ var ErpTradeId = /*#__PURE__*/_createClass(function ErpTradeId(options) {
|
|
|
54
54
|
});
|
|
55
55
|
_defineProperty(this, "filterConfig", function (item) {
|
|
56
56
|
return {
|
|
57
|
+
type: item.type,
|
|
57
58
|
id: item.id,
|
|
58
59
|
// 过滤组件id
|
|
59
60
|
name: item.name,
|
|
@@ -17,9 +17,10 @@ declare class Express implements ComponentInterface {
|
|
|
17
17
|
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
18
18
|
renderLog: (r: Record) => JSX.Element | null;
|
|
19
19
|
getComponentValue: (r: Record) => any;
|
|
20
|
-
renderExport: (value: string, record: Record) =>
|
|
20
|
+
renderExport: (value: string, record: Record) => any;
|
|
21
21
|
editRender: () => JSX.Element;
|
|
22
22
|
filterConfig: (item: ColumnConfig) => {
|
|
23
|
+
type: string;
|
|
23
24
|
id: string;
|
|
24
25
|
name: string;
|
|
25
26
|
filterComponentType: "MultipleSelect";
|
|
@@ -45,7 +45,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
45
45
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
46
46
|
});
|
|
47
47
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
48
|
-
return _this.expressDateInstance.getExpressNameByCode(
|
|
48
|
+
return _this.expressDateInstance.getExpressNameByCode(record === null || record === void 0 ? void 0 : record[_this.id]) || (record === null || record === void 0 ? void 0 : record[_this.id]);
|
|
49
49
|
});
|
|
50
50
|
_defineProperty(this, "editRender", function () {
|
|
51
51
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
@@ -62,6 +62,7 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
62
62
|
_defineProperty(this, "filterConfig", function (item) {
|
|
63
63
|
var subKey = item.subKey;
|
|
64
64
|
return {
|
|
65
|
+
type: item.type,
|
|
65
66
|
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
66
67
|
name: "".concat(item.name, "-\u7269\u6D41\u516C\u53F8"),
|
|
67
68
|
filterComponentType: 'MultipleSelect',
|
|
@@ -15,9 +15,10 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
15
15
|
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
16
16
|
renderLog: (r: Record) => JSX.Element | null;
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
|
-
renderExport: (value: string, record: Record) =>
|
|
18
|
+
renderExport: (value: string, record: Record) => any;
|
|
19
19
|
editRender: () => JSX.Element;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
filterComponentType: "Input";
|
|
@@ -42,7 +42,8 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
42
42
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
43
43
|
});
|
|
44
44
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
45
|
-
|
|
45
|
+
var _record$_this$id2;
|
|
46
|
+
return (_record$_this$id2 = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id2 !== void 0 ? _record$_this$id2 : '--';
|
|
46
47
|
});
|
|
47
48
|
_defineProperty(this, "editRender", function () {
|
|
48
49
|
var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
|
|
@@ -57,6 +58,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
57
58
|
_defineProperty(this, "filterConfig", function (item) {
|
|
58
59
|
var subKey = item.subKey;
|
|
59
60
|
return {
|
|
61
|
+
type: item.type,
|
|
60
62
|
id: subKey ? "".concat(item.id, "_").concat(subKey) : item.id,
|
|
61
63
|
name: "".concat(item.name, "-\u7269\u6D41\u5355\u53F7"),
|
|
62
64
|
filterComponentType: 'Input',
|
|
@@ -10,7 +10,7 @@ declare class Handler implements ComponentInterface {
|
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
12
|
renderPc: (v: unknown, record: Record) => JSX.Element;
|
|
13
|
-
renderLog: (
|
|
13
|
+
renderLog: () => null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: {
|
|
16
16
|
account: string;
|
|
@@ -18,6 +18,7 @@ declare class Handler implements ComponentInterface {
|
|
|
18
18
|
renderClient: () => null;
|
|
19
19
|
editRender: () => null;
|
|
20
20
|
filterConfig: (item: ColumnConfig) => {
|
|
21
|
+
type: string;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
filterComponentType: "MultipleSelect";
|
|
@@ -25,17 +25,18 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
25
25
|
return item.account;
|
|
26
26
|
})) === null || _value$map === void 0 ? void 0 : _value$map.join('、')) !== null && _value$map$join !== void 0 ? _value$map$join : '--');
|
|
27
27
|
});
|
|
28
|
-
_defineProperty(this, "renderLog", function (
|
|
28
|
+
_defineProperty(this, "renderLog", function () {
|
|
29
29
|
return null;
|
|
30
30
|
});
|
|
31
31
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
32
32
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
33
33
|
});
|
|
34
34
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
35
|
-
var
|
|
36
|
-
|
|
35
|
+
var _values$map$join, _values$map;
|
|
36
|
+
var values = record === null || record === void 0 ? void 0 : record[_this.id];
|
|
37
|
+
return (_values$map$join = values === null || values === void 0 ? void 0 : (_values$map = values.map(function (item) {
|
|
37
38
|
return item.account;
|
|
38
|
-
})) === null ||
|
|
39
|
+
})) === null || _values$map === void 0 ? void 0 : _values$map.join('、')) !== null && _values$map$join !== void 0 ? _values$map$join : '--';
|
|
39
40
|
});
|
|
40
41
|
_defineProperty(this, "renderClient", function () {
|
|
41
42
|
return null;
|
|
@@ -46,6 +47,7 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
46
47
|
_defineProperty(this, "filterConfig", function (item) {
|
|
47
48
|
var _this$effects;
|
|
48
49
|
return {
|
|
50
|
+
type: item.type,
|
|
49
51
|
id: item.id,
|
|
50
52
|
// 过滤组件id
|
|
51
53
|
name: item.name,
|
|
@@ -16,6 +16,7 @@ declare class BasicInput implements ComponentInterface {
|
|
|
16
16
|
renderClient: (record: Record) => JSX.Element | null;
|
|
17
17
|
editRender: () => JSX.Element;
|
|
18
18
|
filterConfig: (item: ColumnConfig) => {
|
|
19
|
+
type: string;
|
|
19
20
|
id: string;
|
|
20
21
|
name: string;
|
|
21
22
|
filterComponentType: "Input";
|
|
@@ -19,6 +19,7 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
20
|
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => {
|
|
22
|
+
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
24
25
|
filterComponentType: "Input";
|
|
@@ -70,28 +70,29 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
72
|
_defineProperty(this, "filterConfig", function (item) {
|
|
73
|
-
|
|
73
|
+
var _ref2;
|
|
74
|
+
return [(_ref2 = {
|
|
75
|
+
type: item.type,
|
|
74
76
|
id: "".concat(item.id, "_itemId"),
|
|
75
|
-
name: "jst\u4F9B\u5E94\u5546\u7F16\u7801"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}, {
|
|
77
|
+
name: "jst\u4F9B\u5E94\u5546\u7F16\u7801"
|
|
78
|
+
}, _defineProperty(_ref2, "type", item.type), _defineProperty(_ref2, "filterComponentType", 'Input'), _defineProperty(_ref2, "filterFn", function filterFn(value) {
|
|
79
|
+
return function (i) {
|
|
80
|
+
var _ref;
|
|
81
|
+
return (_ref = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref === void 0 ? void 0 : _ref.some(function (item) {
|
|
82
|
+
var _String;
|
|
83
|
+
var id = item !== null && item !== void 0 && item.itemId ? (_String = String(item === null || item === void 0 ? void 0 : item.itemId)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
|
|
84
|
+
return id;
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
}), _ref2), {
|
|
88
|
+
type: item.type,
|
|
88
89
|
id: "".concat(item.id, "_supplierName"),
|
|
89
90
|
name: "jst\u4F9B\u5E94\u5546\u540D\u79F0",
|
|
90
91
|
filterComponentType: 'Input',
|
|
91
92
|
filterFn: function filterFn(value) {
|
|
92
93
|
return function (i) {
|
|
93
|
-
var
|
|
94
|
-
return (
|
|
94
|
+
var _ref3;
|
|
95
|
+
return (_ref3 = _filterFn.filterTableListItemColumnValue(i, item.id, 'jstItemList') || []) === null || _ref3 === void 0 ? void 0 : _ref3.some(function (item) {
|
|
95
96
|
var _String2;
|
|
96
97
|
var name = item !== null && item !== void 0 && item.supplierName ? (_String2 = String(item === null || item === void 0 ? void 0 : item.supplierName)) === null || _String2 === void 0 ? void 0 : _String2.includes(value) : false;
|
|
97
98
|
return name;
|
|
@@ -19,12 +19,14 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
19
19
|
renderExport: (value: any, record: any) => any;
|
|
20
20
|
editRender: () => JSX.Element;
|
|
21
21
|
filterConfig: (item: ColumnConfig) => ({
|
|
22
|
+
type: string;
|
|
22
23
|
id: string;
|
|
23
24
|
name: string;
|
|
24
25
|
filterComponentType: "Input";
|
|
25
26
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
26
27
|
options?: undefined;
|
|
27
28
|
} | {
|
|
29
|
+
type: string;
|
|
28
30
|
id: string;
|
|
29
31
|
name: string;
|
|
30
32
|
filterComponentType: "MultipleSelect";
|
|
@@ -77,6 +77,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
77
77
|
});
|
|
78
78
|
_defineProperty(this, "filterConfig", function (item) {
|
|
79
79
|
return [{
|
|
80
|
+
type: item.type,
|
|
80
81
|
id: "".concat(item.id, "_logisticsCode"),
|
|
81
82
|
name: "jst\u7269\u6D41\u5355\u53F7",
|
|
82
83
|
filterComponentType: 'Input',
|
|
@@ -86,6 +87,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
89
|
}, {
|
|
90
|
+
type: item.type,
|
|
89
91
|
id: "".concat(item.id, "_logisticsCompany"),
|
|
90
92
|
name: "jst\u7269\u6D41\u516C\u53F8",
|
|
91
93
|
filterComponentType: 'MultipleSelect',
|
|
@@ -17,6 +17,7 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
18
|
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
22
23
|
filterComponentType: "Input";
|
|
@@ -73,6 +73,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
73
73
|
});
|
|
74
74
|
_defineProperty(this, "filterConfig", function (item) {
|
|
75
75
|
return [{
|
|
76
|
+
type: item.type,
|
|
76
77
|
id: "".concat(item.id, "_sendName"),
|
|
77
78
|
name: "jst\u53D1\u8D27\u4ED3\u540D\u79F0",
|
|
78
79
|
filterComponentType: 'Input',
|
|
@@ -87,6 +88,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
90
|
}, {
|
|
91
|
+
type: item.type,
|
|
90
92
|
id: "".concat(item.id, "_sendId"),
|
|
91
93
|
name: "jst\u53D1\u8D27\u4ED3\u7F16\u7801",
|
|
92
94
|
filterComponentType: 'Input',
|
|
@@ -17,6 +17,7 @@ declare class JstSupply implements ComponentInterface {
|
|
|
17
17
|
renderExport: (value: any, record: any) => any;
|
|
18
18
|
editRender: () => JSX.Element;
|
|
19
19
|
filterConfig: (item: ColumnConfig) => {
|
|
20
|
+
type: string;
|
|
20
21
|
id: string;
|
|
21
22
|
name: string;
|
|
22
23
|
filterComponentType: "Input";
|
|
@@ -73,6 +73,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
73
73
|
});
|
|
74
74
|
_defineProperty(this, "filterConfig", function (item) {
|
|
75
75
|
return [{
|
|
76
|
+
type: item.type,
|
|
76
77
|
id: "".concat(item.id, "_supplyName"),
|
|
77
78
|
name: "jst\u4F9B\u9500\u5546\u540D\u79F0",
|
|
78
79
|
filterComponentType: 'Input',
|
|
@@ -87,6 +88,7 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
90
|
}, {
|
|
91
|
+
type: item.type,
|
|
90
92
|
id: "".concat(item.id, "_supplyId"),
|
|
91
93
|
name: "jst\u4F9B\u9500\u5546\u7F16\u7801",
|
|
92
94
|
filterComponentType: 'Input',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption,
|
|
2
|
+
import { ComponentInterface, PickOption, ALignType, Record } from "../../type";
|
|
3
3
|
import { AddressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
4
4
|
declare class PaymentTid implements ComponentInterface {
|
|
5
5
|
name: string;
|
|
@@ -28,6 +28,6 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
28
28
|
};
|
|
29
29
|
renderExport: (value: any, record: Record) => string | null;
|
|
30
30
|
editRender: () => JSX.Element;
|
|
31
|
-
filterConfig: (
|
|
31
|
+
filterConfig: () => never[];
|
|
32
32
|
}
|
|
33
33
|
export default PaymentTid;
|