@kmkf-fe-packages/services-components 0.3.1-alpha.9 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/commonComponents/PlatBuyer/index.js +2 -2
- package/dist/esm/components/Alipay/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +1 -0
- package/dist/esm/components/AlipayAccount/index.js +2 -1
- package/dist/esm/components/AlipayName/index.d.ts +1 -0
- package/dist/esm/components/AlipayName/index.js +2 -1
- package/dist/esm/components/Express/index.d.ts +1 -0
- package/dist/esm/components/Express/index.js +2 -1
- package/dist/esm/components/ExpressCode/index.d.ts +1 -0
- package/dist/esm/components/ExpressCode/index.js +2 -1
- package/dist/esm/components/JstItemSelect/index.d.ts +2 -2
- package/dist/esm/components/JstItemSelect/index.js +2 -2
- package/dist/esm/components/JstLogistics/index.d.ts +2 -2
- package/dist/esm/components/JstLogistics/index.js +2 -2
- package/dist/esm/components/JstSendGood/index.d.ts +2 -2
- package/dist/esm/components/JstSendGood/index.js +2 -2
- package/dist/esm/components/JstSupply/index.d.ts +2 -2
- package/dist/esm/components/JstSupply/index.js +2 -2
- package/dist/esm/components/Logistics/index.d.ts +2 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +2 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +2 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +2 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +2 -1
- package/dist/esm/components/Ordinary/index.d.ts +3 -1
- package/dist/esm/components/Payment/AlipayNick.d.ts +1 -0
- package/dist/esm/components/Payment/AlipayNick.js +2 -1
- package/dist/esm/components/Payment/AlipayNo.d.ts +2 -1
- package/dist/esm/components/Payment/AlipayNo.js +2 -1
- package/dist/esm/components/Payment/AlipayTime.d.ts +2 -1
- package/dist/esm/components/Payment/AlipayTime.js +2 -1
- package/dist/esm/components/Payment/BuyerNick.d.ts +2 -1
- package/dist/esm/components/Payment/BuyerNick.js +2 -1
- package/dist/esm/components/Payment/PaymentAmount.d.ts +2 -1
- package/dist/esm/components/Payment/PaymentAmount.js +2 -1
- 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 +2 -1
- package/dist/esm/components/Payment/PaymentTid.js +2 -1
- package/dist/esm/components/Payment/index.d.ts +39 -2
- package/dist/esm/components/ReturnLogistics/index.d.ts +2 -0
- package/dist/esm/components/WorkOrderId/index.js +2 -2
- package/dist/esm/type.d.ts +1 -0
- package/package.json +4 -4
|
@@ -30,7 +30,7 @@ var PlatBuyer = function PlatBuyer(_ref) {
|
|
|
30
30
|
return (platInfo === null || platInfo === void 0 ? void 0 : (_platInfo$shopId = platInfo[shopId]) === null || _platInfo$shopId === void 0 ? void 0 : _platInfo$shopId.platformTypeStr) === 'TAOBAO' ? /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Wangwang, {
|
|
31
31
|
nick: buyerNick,
|
|
32
32
|
buyerOpenUid: buyerOpenUid
|
|
33
|
-
})) : /*#__PURE__*/React.createElement(CopyToClipboard, {
|
|
33
|
+
})) : /*#__PURE__*/React.createElement(React.Fragment, null, buyerNick, /*#__PURE__*/React.createElement(CopyToClipboard, {
|
|
34
34
|
text: buyerNick,
|
|
35
35
|
onCopy: function onCopy() {
|
|
36
36
|
message.success('复制成功');
|
|
@@ -40,6 +40,6 @@ var PlatBuyer = function PlatBuyer(_ref) {
|
|
|
40
40
|
paddingLeft: '4px',
|
|
41
41
|
cursor: 'pointer'
|
|
42
42
|
}
|
|
43
|
-
}, /*#__PURE__*/React.createElement(CopyOutlined, null)));
|
|
43
|
+
}, /*#__PURE__*/React.createElement(CopyOutlined, null))));
|
|
44
44
|
};
|
|
45
45
|
export default PlatBuyer;
|
|
@@ -28,6 +28,7 @@ declare class Alipay implements ComponentInterface {
|
|
|
28
28
|
title: string;
|
|
29
29
|
componentType: (value: any) => JSX.Element;
|
|
30
30
|
renderExport: (value?: string | undefined) => string;
|
|
31
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
31
32
|
})[];
|
|
32
33
|
canHidden: boolean;
|
|
33
34
|
dataIndex: string;
|
|
@@ -25,6 +25,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
25
25
|
title: string;
|
|
26
26
|
componentType: (value: any) => JSX.Element;
|
|
27
27
|
renderExport: (value?: string) => string;
|
|
28
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
export default EAlipayAccount;
|
|
@@ -68,7 +68,8 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
68
68
|
dataIndex: _this.id,
|
|
69
69
|
title: _this.name,
|
|
70
70
|
componentType: _this.editRender,
|
|
71
|
-
renderExport: _this.renderExport
|
|
71
|
+
renderExport: _this.renderExport,
|
|
72
|
+
render: _this.renderPc
|
|
72
73
|
});
|
|
73
74
|
});
|
|
74
75
|
this.name = '支付宝账号';
|
|
@@ -25,6 +25,7 @@ declare class EAlipayAccount implements ComponentInterface {
|
|
|
25
25
|
title: string;
|
|
26
26
|
componentType: (value: any) => JSX.Element;
|
|
27
27
|
renderExport: (value?: string) => string;
|
|
28
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
export default EAlipayAccount;
|
|
@@ -68,7 +68,8 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
|
|
|
68
68
|
dataIndex: _this.id,
|
|
69
69
|
title: _this.name,
|
|
70
70
|
componentType: _this.editRender,
|
|
71
|
-
renderExport: _this.renderExport
|
|
71
|
+
renderExport: _this.renderExport,
|
|
72
|
+
render: _this.renderPc
|
|
72
73
|
});
|
|
73
74
|
});
|
|
74
75
|
this.name = '支付宝名称';
|
|
@@ -27,6 +27,7 @@ declare class Express implements ComponentInterface {
|
|
|
27
27
|
widget: JSX.Element;
|
|
28
28
|
groupFieldPath: string;
|
|
29
29
|
renderExport: (value: string, record: Record) => string | number;
|
|
30
|
+
render: (value: string, record: Record) => JSX.Element;
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export default Express;
|
|
@@ -72,7 +72,8 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
72
72
|
options: _this.expressDateInstance.getExpressData()
|
|
73
73
|
}),
|
|
74
74
|
groupFieldPath: 'company',
|
|
75
|
-
renderExport: _this.renderExport
|
|
75
|
+
renderExport: _this.renderExport,
|
|
76
|
+
render: _this.renderPc
|
|
76
77
|
});
|
|
77
78
|
;
|
|
78
79
|
});
|
|
@@ -59,7 +59,8 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
59
59
|
dataIndex: _this.id,
|
|
60
60
|
title: _this.name,
|
|
61
61
|
groupFieldPath: 'order',
|
|
62
|
-
renderExport: _this.renderExport
|
|
62
|
+
renderExport: _this.renderExport,
|
|
63
|
+
render: _this.renderPc
|
|
63
64
|
});
|
|
64
65
|
;
|
|
65
66
|
});
|
|
@@ -18,12 +18,12 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
18
18
|
render: (value: any) => JSX.Element;
|
|
19
19
|
renderClient: (record: Record) => JSX.Element | null;
|
|
20
20
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
21
|
-
renderExport: (value: any, record:
|
|
21
|
+
renderExport: (value: any, record: any) => any;
|
|
22
22
|
editRender: () => JSX.Element;
|
|
23
23
|
getColumns: () => this & {
|
|
24
24
|
dataIndex: string;
|
|
25
25
|
title: string;
|
|
26
|
-
renderExport: (value: any, record:
|
|
26
|
+
renderExport: (value: any, record: any) => any;
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
export default JstItemSelect;
|
|
@@ -56,8 +56,8 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
56
56
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
57
57
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
|
|
58
58
|
return (list || []).map(function (item) {
|
|
59
|
-
return
|
|
60
|
-
});
|
|
59
|
+
return [item === null || item === void 0 ? void 0 : item.itemId, item === null || item === void 0 ? void 0 : item.supplierName].join('/');
|
|
60
|
+
}).join(',');
|
|
61
61
|
});
|
|
62
62
|
_defineProperty(this, "editRender", function () {
|
|
63
63
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
@@ -18,12 +18,12 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
18
18
|
render: (value: any) => JSX.Element;
|
|
19
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
20
20
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
21
|
-
renderExport: (value: any, record:
|
|
21
|
+
renderExport: (value: any, record: any) => any;
|
|
22
22
|
editRender: () => JSX.Element;
|
|
23
23
|
getColumns: () => this & {
|
|
24
24
|
dataIndex: string;
|
|
25
25
|
title: string;
|
|
26
|
-
renderExport: (value: any, record:
|
|
26
|
+
renderExport: (value: any, record: any) => any;
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
export default JstLogistics;
|
|
@@ -56,8 +56,8 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
56
56
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
57
57
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
|
|
58
58
|
return (list || []).map(function (item) {
|
|
59
|
-
return
|
|
60
|
-
});
|
|
59
|
+
return [_this.expressDateInstance.getExpressNameByCode(item === null || item === void 0 ? void 0 : item.logisticsCompany), item === null || item === void 0 ? void 0 : item.logisticsCode].join('/');
|
|
60
|
+
}).join(',');
|
|
61
61
|
});
|
|
62
62
|
_defineProperty(this, "editRender", function () {
|
|
63
63
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -16,12 +16,12 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
16
16
|
render: (value: any) => JSX.Element;
|
|
17
17
|
renderClient: (record: Record) => JSX.Element | null;
|
|
18
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
19
|
-
renderExport: (value: any, record:
|
|
19
|
+
renderExport: (value: any, record: any) => any;
|
|
20
20
|
editRender: () => JSX.Element;
|
|
21
21
|
getColumns: () => this & {
|
|
22
22
|
dataIndex: string;
|
|
23
23
|
title: string;
|
|
24
|
-
renderExport: (value: any, record:
|
|
24
|
+
renderExport: (value: any, record: any) => any;
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
export default JstSendGood;
|
|
@@ -54,8 +54,8 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
54
54
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
55
55
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
|
|
56
56
|
return (list || []).map(function (item) {
|
|
57
|
-
return
|
|
58
|
-
});
|
|
57
|
+
return [item === null || item === void 0 ? void 0 : item.sendId, item === null || item === void 0 ? void 0 : item.sendName].join('/');
|
|
58
|
+
}).join(',');
|
|
59
59
|
});
|
|
60
60
|
_defineProperty(this, "editRender", function () {
|
|
61
61
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
@@ -16,12 +16,12 @@ declare class JstSupply implements ComponentInterface {
|
|
|
16
16
|
render: (value: any) => JSX.Element;
|
|
17
17
|
renderClient: (record: Record) => JSX.Element | null;
|
|
18
18
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
19
|
-
renderExport: (value: any, record:
|
|
19
|
+
renderExport: (value: any, record: any) => any;
|
|
20
20
|
editRender: () => JSX.Element;
|
|
21
21
|
getColumns: () => this & {
|
|
22
22
|
dataIndex: string;
|
|
23
23
|
title: string;
|
|
24
|
-
renderExport: (value: any, record:
|
|
24
|
+
renderExport: (value: any, record: any) => any;
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
export default JstSupply;
|
|
@@ -54,8 +54,8 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
54
54
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
55
55
|
var list = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")]) || [];
|
|
56
56
|
return list.map(function (item) {
|
|
57
|
-
return
|
|
58
|
-
});
|
|
57
|
+
return [item === null || item === void 0 ? void 0 : item.supplyId, item === null || item === void 0 ? void 0 : item.supplyName].join('/');
|
|
58
|
+
}).join(',');
|
|
59
59
|
});
|
|
60
60
|
_defineProperty(this, "editRender", function () {
|
|
61
61
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
@@ -31,11 +31,13 @@ declare class Logistics implements ComponentInterface {
|
|
|
31
31
|
widget: JSX.Element;
|
|
32
32
|
groupFieldPath: string;
|
|
33
33
|
renderExport: (value: string, record: Record) => string | number;
|
|
34
|
+
render: (value: string, record: Record) => JSX.Element;
|
|
34
35
|
}) | (ExpressCode & {
|
|
35
36
|
dataIndex: string;
|
|
36
37
|
title: string;
|
|
37
38
|
groupFieldPath: string;
|
|
38
39
|
renderExport: (value: string, record: Record) => string;
|
|
40
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
39
41
|
}))[];
|
|
40
42
|
canHidden: boolean;
|
|
41
43
|
dataIndex: string;
|
|
@@ -29,7 +29,8 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
29
29
|
canFilter: boolean;
|
|
30
30
|
canGroup: boolean;
|
|
31
31
|
type: string;
|
|
32
|
-
render: (value:
|
|
32
|
+
render: (value: any) => any;
|
|
33
|
+
renderPc: (value: any) => any;
|
|
33
34
|
componentType: () => JSX.Element;
|
|
34
35
|
showContains: boolean;
|
|
35
36
|
renderExport: (value: any) => any;
|
|
@@ -69,7 +69,8 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
69
69
|
canFilter: _this.canFilter,
|
|
70
70
|
canGroup: _this.canGroup,
|
|
71
71
|
type: _this.type,
|
|
72
|
-
render: _this.
|
|
72
|
+
render: _this.renderPc,
|
|
73
|
+
renderPc: _this.renderPc,
|
|
73
74
|
componentType: _this.editRender,
|
|
74
75
|
showContains: _this.showContains,
|
|
75
76
|
renderExport: _this.renderExport,
|
|
@@ -29,7 +29,8 @@ declare class OrdinaryMoney implements ComponentInterface {
|
|
|
29
29
|
canFilter: boolean;
|
|
30
30
|
canGroup: boolean;
|
|
31
31
|
type: string;
|
|
32
|
-
render: (value:
|
|
32
|
+
render: (value: any) => any;
|
|
33
|
+
renderPc: (value: any) => any;
|
|
33
34
|
componentType: () => JSX.Element;
|
|
34
35
|
showContains: boolean;
|
|
35
36
|
renderExport: (value: any) => any;
|
|
@@ -62,7 +62,8 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
62
62
|
canFilter: _this.canFilter,
|
|
63
63
|
canGroup: _this.canGroup,
|
|
64
64
|
type: _this.type,
|
|
65
|
-
render: _this.
|
|
65
|
+
render: _this.renderPc,
|
|
66
|
+
renderPc: _this.renderPc,
|
|
66
67
|
componentType: _this.editRender,
|
|
67
68
|
showContains: _this.showContains,
|
|
68
69
|
renderExport: _this.renderExport,
|
|
@@ -29,7 +29,8 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
29
29
|
canFilter: boolean;
|
|
30
30
|
canGroup: boolean;
|
|
31
31
|
type: string;
|
|
32
|
-
render: (value:
|
|
32
|
+
render: (value: any) => any;
|
|
33
|
+
renderPc: (value: any) => any;
|
|
33
34
|
componentType: () => JSX.Element;
|
|
34
35
|
showContains: boolean;
|
|
35
36
|
renderExport: (value: any) => any;
|
|
@@ -62,7 +62,8 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
62
62
|
canFilter: _this.canFilter,
|
|
63
63
|
canGroup: _this.canGroup,
|
|
64
64
|
type: _this.type,
|
|
65
|
-
render: _this.
|
|
65
|
+
render: _this.renderPc,
|
|
66
|
+
renderPc: _this.renderPc,
|
|
66
67
|
componentType: _this.editRender,
|
|
67
68
|
showContains: _this.showContains,
|
|
68
69
|
renderExport: _this.renderExport,
|
|
@@ -34,10 +34,12 @@ declare class Ordinary implements ComponentInterface {
|
|
|
34
34
|
canFilter: boolean;
|
|
35
35
|
canGroup: boolean;
|
|
36
36
|
type: string;
|
|
37
|
-
render: (value:
|
|
37
|
+
render: (value: any) => any;
|
|
38
|
+
renderPc: (value: any) => any;
|
|
38
39
|
componentType: () => JSX.Element;
|
|
39
40
|
showContains: boolean;
|
|
40
41
|
renderExport: (value: any) => any;
|
|
42
|
+
width: number;
|
|
41
43
|
}[];
|
|
42
44
|
canHidden: boolean;
|
|
43
45
|
dataIndex: string;
|
|
@@ -31,6 +31,7 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
31
31
|
type: string;
|
|
32
32
|
width: number;
|
|
33
33
|
render: (value: any, record: Record) => JSX.Element;
|
|
34
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
34
35
|
componentType: () => JSX.Element;
|
|
35
36
|
showContains: boolean;
|
|
36
37
|
renderExport: (value: any, record: Record) => any;
|
|
@@ -72,7 +72,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
72
72
|
canGroup: _this.canGroup,
|
|
73
73
|
type: _this.type,
|
|
74
74
|
width: _this.width,
|
|
75
|
-
render: _this.
|
|
75
|
+
render: _this.renderPc,
|
|
76
|
+
renderPc: _this.renderPc,
|
|
76
77
|
componentType: _this.editRender,
|
|
77
78
|
showContains: _this.showContains,
|
|
78
79
|
renderExport: _this.renderExport
|
|
@@ -30,7 +30,8 @@ declare class AlipayNo implements ComponentInterface {
|
|
|
30
30
|
canFilter: boolean;
|
|
31
31
|
canGroup: boolean;
|
|
32
32
|
type: string;
|
|
33
|
-
render: (value:
|
|
33
|
+
render: (value: any, record: any) => JSX.Element;
|
|
34
|
+
renderPc: (value: any, record: any) => JSX.Element;
|
|
34
35
|
componentType: () => JSX.Element;
|
|
35
36
|
showContains: boolean;
|
|
36
37
|
};
|
|
@@ -72,7 +72,8 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
|
|
|
72
72
|
canFilter: _this.canFilter,
|
|
73
73
|
canGroup: _this.canGroup,
|
|
74
74
|
type: _this.type,
|
|
75
|
-
render: _this.
|
|
75
|
+
render: _this.renderPc,
|
|
76
|
+
renderPc: _this.renderPc,
|
|
76
77
|
componentType: _this.editRender,
|
|
77
78
|
showContains: _this.showContains
|
|
78
79
|
};
|
|
@@ -29,7 +29,8 @@ declare class AlipayTime implements ComponentInterface {
|
|
|
29
29
|
canFilter: boolean;
|
|
30
30
|
canGroup: boolean;
|
|
31
31
|
type: string;
|
|
32
|
-
render: (value:
|
|
32
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
33
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
33
34
|
componentType: () => JSX.Element;
|
|
34
35
|
showContains: boolean;
|
|
35
36
|
renderExport: (value: string) => string | null;
|
|
@@ -70,7 +70,8 @@ var AlipayTime = /*#__PURE__*/_createClass(function AlipayTime(options) {
|
|
|
70
70
|
canFilter: _this.canFilter,
|
|
71
71
|
canGroup: _this.canGroup,
|
|
72
72
|
type: _this.type,
|
|
73
|
-
render: _this.
|
|
73
|
+
render: _this.renderPc,
|
|
74
|
+
renderPc: _this.renderPc,
|
|
74
75
|
componentType: _this.editRender,
|
|
75
76
|
showContains: _this.showContains,
|
|
76
77
|
renderExport: _this.renderExport,
|
|
@@ -30,7 +30,8 @@ declare class BuyerNick implements ComponentInterface {
|
|
|
30
30
|
canFilter: boolean;
|
|
31
31
|
canGroup: boolean;
|
|
32
32
|
type: string;
|
|
33
|
-
render: (value:
|
|
33
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
34
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
34
35
|
componentType: () => JSX.Element;
|
|
35
36
|
showContains: boolean;
|
|
36
37
|
renderExport: (value: string) => string;
|
|
@@ -89,7 +89,8 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
|
|
|
89
89
|
canFilter: _this.canFilter,
|
|
90
90
|
canGroup: _this.canGroup,
|
|
91
91
|
type: _this.type,
|
|
92
|
-
render: _this.
|
|
92
|
+
render: _this.renderPc,
|
|
93
|
+
renderPc: _this.renderPc,
|
|
93
94
|
componentType: _this.editRender,
|
|
94
95
|
showContains: _this.showContains,
|
|
95
96
|
renderExport: _this.renderExport
|
|
@@ -29,7 +29,8 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
29
29
|
canFilter: boolean;
|
|
30
30
|
canGroup: boolean;
|
|
31
31
|
type: string;
|
|
32
|
-
render: (value:
|
|
32
|
+
render: (value: any, record: Record) => JSX.Element;
|
|
33
|
+
renderPc: (value: any, record: Record) => JSX.Element;
|
|
33
34
|
componentType: () => JSX.Element;
|
|
34
35
|
showContains: boolean;
|
|
35
36
|
renderExport: (value: string) => string;
|
|
@@ -62,7 +62,8 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
62
62
|
canFilter: _this.canFilter,
|
|
63
63
|
canGroup: _this.canGroup,
|
|
64
64
|
type: _this.type,
|
|
65
|
-
render: _this.
|
|
65
|
+
render: _this.renderPc,
|
|
66
|
+
renderPc: _this.renderPc,
|
|
66
67
|
componentType: _this.editRender,
|
|
67
68
|
showContains: _this.showContains,
|
|
68
69
|
renderExport: _this.renderExport
|
|
@@ -32,7 +32,8 @@ declare class PaymentStatus implements ComponentInterface {
|
|
|
32
32
|
canGroup: boolean;
|
|
33
33
|
width: number;
|
|
34
34
|
type: string;
|
|
35
|
-
render: (value:
|
|
35
|
+
render: (value: any, record: any) => any;
|
|
36
|
+
renderPc: (value: any, record: any) => any;
|
|
36
37
|
componentType: (value: any) => null;
|
|
37
38
|
showContains: boolean;
|
|
38
39
|
renderExport: (value: any) => any;
|
|
@@ -54,7 +54,8 @@ var PaymentStatus = /*#__PURE__*/_createClass(function PaymentStatus(options) {
|
|
|
54
54
|
canGroup: _this.canGroup,
|
|
55
55
|
width: _this.width,
|
|
56
56
|
type: _this.type,
|
|
57
|
-
render: _this.
|
|
57
|
+
render: _this.renderPc,
|
|
58
|
+
renderPc: _this.renderPc,
|
|
58
59
|
componentType: _this.editRender,
|
|
59
60
|
showContains: _this.showContains,
|
|
60
61
|
renderExport: _this.renderExport,
|
|
@@ -29,7 +29,8 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
29
29
|
canGroup: boolean;
|
|
30
30
|
width: number;
|
|
31
31
|
type: string;
|
|
32
|
-
render: (value:
|
|
32
|
+
render: (value: any, record: any) => JSX.Element;
|
|
33
|
+
renderPc: (value: any, record: any) => JSX.Element;
|
|
33
34
|
componentType: () => JSX.Element;
|
|
34
35
|
showContains: boolean;
|
|
35
36
|
renderExport: (value: string) => string;
|
|
@@ -62,7 +62,8 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
62
62
|
canGroup: _this.canGroup,
|
|
63
63
|
width: _this.width,
|
|
64
64
|
type: _this.type,
|
|
65
|
-
render: _this.
|
|
65
|
+
render: _this.renderPc,
|
|
66
|
+
renderPc: _this.renderPc,
|
|
66
67
|
componentType: _this.editRender,
|
|
67
68
|
showContains: _this.showContains,
|
|
68
69
|
renderExport: _this.renderExport
|
|
@@ -41,8 +41,10 @@ declare class Logistics implements ComponentInterface {
|
|
|
41
41
|
canHidden: boolean;
|
|
42
42
|
canFilter: boolean;
|
|
43
43
|
canGroup: boolean;
|
|
44
|
+
width: number;
|
|
44
45
|
type: string;
|
|
45
|
-
render: (value:
|
|
46
|
+
render: (value: any, record: any) => any;
|
|
47
|
+
renderPc: (value: any, record: any) => any;
|
|
46
48
|
componentType: (value: any) => null;
|
|
47
49
|
showContains: boolean;
|
|
48
50
|
renderExport: (value: any) => any;
|
|
@@ -59,12 +61,29 @@ declare class Logistics implements ComponentInterface {
|
|
|
59
61
|
title: string;
|
|
60
62
|
align: import("../../type").ALignType;
|
|
61
63
|
dataIndex: string;
|
|
64
|
+
width: number;
|
|
62
65
|
dataType: DataType;
|
|
63
66
|
canHidden: boolean;
|
|
64
67
|
canFilter: boolean;
|
|
65
68
|
canGroup: boolean;
|
|
66
69
|
type: string;
|
|
67
70
|
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
71
|
+
renderPc: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
72
|
+
componentType: () => JSX.Element;
|
|
73
|
+
showContains: boolean;
|
|
74
|
+
renderExport: (value: string) => string;
|
|
75
|
+
} | {
|
|
76
|
+
title: string;
|
|
77
|
+
align: import("../../type").ALignType;
|
|
78
|
+
dataIndex: string;
|
|
79
|
+
dataType: DataType;
|
|
80
|
+
canHidden: boolean;
|
|
81
|
+
canFilter: boolean;
|
|
82
|
+
canGroup: boolean;
|
|
83
|
+
type: string;
|
|
84
|
+
width: number;
|
|
85
|
+
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
86
|
+
renderPc: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
68
87
|
componentType: () => JSX.Element;
|
|
69
88
|
showContains: boolean;
|
|
70
89
|
renderExport: (value: any, record: import("../../type").Record) => any;
|
|
@@ -72,14 +91,32 @@ declare class Logistics implements ComponentInterface {
|
|
|
72
91
|
title: string;
|
|
73
92
|
align: import("../../type").ALignType;
|
|
74
93
|
dataIndex: string;
|
|
94
|
+
width: number;
|
|
75
95
|
dataType: DataType;
|
|
76
96
|
canHidden: boolean;
|
|
77
97
|
canFilter: boolean;
|
|
78
98
|
canGroup: boolean;
|
|
79
99
|
type: string;
|
|
80
|
-
render: (value:
|
|
100
|
+
render: (value: any, record: any) => JSX.Element;
|
|
101
|
+
renderPc: (value: any, record: any) => JSX.Element;
|
|
102
|
+
componentType: () => JSX.Element;
|
|
103
|
+
showContains: boolean;
|
|
104
|
+
} | {
|
|
105
|
+
title: string;
|
|
106
|
+
align: import("../../type").ALignType;
|
|
107
|
+
dataIndex: string;
|
|
108
|
+
width: number;
|
|
109
|
+
dataType: DataType;
|
|
110
|
+
canHidden: boolean;
|
|
111
|
+
canFilter: boolean;
|
|
112
|
+
canGroup: boolean;
|
|
113
|
+
type: string;
|
|
114
|
+
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
115
|
+
renderPc: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
81
116
|
componentType: () => JSX.Element;
|
|
82
117
|
showContains: boolean;
|
|
118
|
+
renderExport: (value: string) => string | null;
|
|
119
|
+
widget: null;
|
|
83
120
|
})[];
|
|
84
121
|
canHidden: boolean;
|
|
85
122
|
dataIndex: string;
|
|
@@ -31,11 +31,13 @@ declare class ReturnLogistics implements ComponentInterface {
|
|
|
31
31
|
widget: JSX.Element;
|
|
32
32
|
groupFieldPath: string;
|
|
33
33
|
renderExport: (value: string, record: import("../../type").Record) => string | number;
|
|
34
|
+
render: (value: string, record: import("../../type").Record) => JSX.Element;
|
|
34
35
|
}) | (ExpressCode & {
|
|
35
36
|
dataIndex: string;
|
|
36
37
|
title: string;
|
|
37
38
|
groupFieldPath: string;
|
|
38
39
|
renderExport: (value: string, record: import("../../type").Record) => string;
|
|
40
|
+
render: (value: any, record: import("../../type").Record) => JSX.Element;
|
|
39
41
|
}))[];
|
|
40
42
|
canHidden: boolean;
|
|
41
43
|
dataIndex: string;
|
|
@@ -41,7 +41,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
41
41
|
var _this$effects;
|
|
42
42
|
return _this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleOpenRepeatList(record === null || record === void 0 ? void 0 : record.repeatConfig);
|
|
43
43
|
}
|
|
44
|
-
}), (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--', (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) && /*#__PURE__*/React.createElement(CopyToClipboard, {
|
|
44
|
+
}), (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--', (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) && /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement(CopyToClipboard, {
|
|
45
45
|
text: record === null || record === void 0 ? void 0 : record["".concat(_this.id)],
|
|
46
46
|
onCopy: function onCopy() {
|
|
47
47
|
message.success('复制成功');
|
|
@@ -51,7 +51,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
51
51
|
paddingLeft: '4px',
|
|
52
52
|
cursor: 'pointer'
|
|
53
53
|
}
|
|
54
|
-
}, /*#__PURE__*/React.createElement(CopyOutlined, null))));
|
|
54
|
+
}, /*#__PURE__*/React.createElement(CopyOutlined, null)))));
|
|
55
55
|
});
|
|
56
56
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
57
57
|
var _record2;
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ declare interface ResultColumnsInterface {
|
|
|
17
17
|
editable?: boolean;
|
|
18
18
|
width?: number;
|
|
19
19
|
render?: (v: any, r: any) => JSX.Element | null;
|
|
20
|
+
renderPc?: (v: any, r: any) => JSX.Element | null;
|
|
20
21
|
componentType?: (v: any) => JSX.Element | null;
|
|
21
22
|
[prop: string]: any;
|
|
22
23
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"father": "^4.1.7"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "^0.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "^0.5.0",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.5.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@ant-design/icons": "^4.7.0",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"gitHooks": {
|
|
36
36
|
"pre-commit": "lint-staged"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "85deb302aadf2d5aa85ca370100ad52dffb9f902"
|
|
39
39
|
}
|