@kmkf-fe-packages/services-components 0.6.3-alpha.7 → 0.6.3-alpha.9
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/ItemView/index.d.ts +1 -1
- package/dist/esm/commonComponents/OperationLog/index.d.ts +8 -0
- package/dist/esm/commonComponents/OperationLog/index.js +126 -0
- package/dist/esm/components/ActualPayment/index.d.ts +2 -0
- package/dist/esm/components/ActualPayment/index.js +7 -0
- package/dist/esm/components/Address/index.d.ts +2 -0
- package/dist/esm/components/Address/index.js +7 -0
- package/dist/esm/components/Alipay/index.d.ts +5 -0
- package/dist/esm/components/Alipay/index.js +9 -0
- package/dist/esm/components/AlipayAccount/index.d.ts +3 -1
- package/dist/esm/components/AlipayAccount/index.js +9 -1
- package/dist/esm/components/AlipayName/index.d.ts +3 -1
- package/dist/esm/components/AlipayName/index.js +9 -1
- package/dist/esm/components/BuyerNick/index.d.ts +5 -0
- package/dist/esm/components/BuyerNick/index.js +10 -0
- package/dist/esm/components/Cascader/index.d.ts +4 -2
- package/dist/esm/components/Cascader/index.js +7 -0
- package/dist/esm/components/Checkbox/index.d.ts +5 -0
- package/dist/esm/components/Checkbox/index.js +24 -3
- package/dist/esm/components/CommonDataTime/index.d.ts +3 -1
- package/dist/esm/components/CommonDataTime/index.js +7 -0
- package/dist/esm/components/CompletedUser/index.d.ts +3 -1
- package/dist/esm/components/CompletedUser/index.js +6 -0
- package/dist/esm/components/DataTime/index.d.ts +3 -1
- package/dist/esm/components/DataTime/index.js +7 -0
- package/dist/esm/components/EItemEnCode/index.d.ts +2 -0
- package/dist/esm/components/EItemEnCode/index.js +7 -0
- package/dist/esm/components/EItemId/index.d.ts +2 -0
- package/dist/esm/components/EItemId/index.js +7 -0
- package/dist/esm/components/EItemSelect/index.d.ts +2 -0
- package/dist/esm/components/EItemSelect/index.js +7 -0
- package/dist/esm/components/ErpTradeId/index.d.ts +3 -1
- package/dist/esm/components/ErpTradeId/index.js +7 -0
- package/dist/esm/components/Express/index.d.ts +4 -2
- package/dist/esm/components/Express/index.js +9 -2
- package/dist/esm/components/ExpressCode/index.d.ts +4 -2
- package/dist/esm/components/ExpressCode/index.js +9 -1
- package/dist/esm/components/FlowStatusSelect/index.d.ts +2 -0
- package/dist/esm/components/FlowStatusSelect/index.js +9 -0
- package/dist/esm/components/Grade/index.d.ts +2 -0
- package/dist/esm/components/Grade/index.js +7 -0
- package/dist/esm/components/Handler/index.d.ts +3 -3
- package/dist/esm/components/Handler/index.js +8 -1
- package/dist/esm/components/Input/index.d.ts +2 -0
- package/dist/esm/components/Input/index.js +7 -0
- package/dist/esm/components/JstItemSelect/index.d.ts +2 -0
- package/dist/esm/components/JstItemSelect/index.js +8 -0
- package/dist/esm/components/JstLogistics/index.d.ts +3 -1
- package/dist/esm/components/JstLogistics/index.js +8 -0
- package/dist/esm/components/JstSendGood/index.d.ts +2 -0
- package/dist/esm/components/JstSendGood/index.js +8 -0
- package/dist/esm/components/JstSupply/index.d.ts +2 -0
- package/dist/esm/components/JstSupply/index.js +8 -0
- package/dist/esm/components/Logistics/index.d.ts +6 -1
- package/dist/esm/components/Logistics/index.js +9 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +2 -0
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +6 -0
- package/dist/esm/components/LogisticsInterception/index.d.ts +3 -1
- package/dist/esm/components/LogisticsInterception/index.js +6 -0
- package/dist/esm/components/MultSelect/index.d.ts +2 -0
- package/dist/esm/components/MultSelect/index.js +7 -0
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +3 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +10 -2
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +3 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +10 -2
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +3 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +10 -2
- package/dist/esm/components/Ordinary/index.d.ts +8 -2
- package/dist/esm/components/Ordinary/index.js +11 -1
- package/dist/esm/components/Payment/AlipayNick.d.ts +3 -1
- package/dist/esm/components/Payment/AlipayNick.js +9 -2
- package/dist/esm/components/Payment/AlipayNo.d.ts +3 -1
- package/dist/esm/components/Payment/AlipayNo.js +9 -2
- package/dist/esm/components/Payment/AlipayTime.d.ts +4 -2
- package/dist/esm/components/Payment/AlipayTime.js +9 -2
- package/dist/esm/components/Payment/BuyerNick.d.ts +3 -1
- package/dist/esm/components/Payment/BuyerNick.js +10 -3
- package/dist/esm/components/Payment/PaymentAmount.d.ts +3 -1
- package/dist/esm/components/Payment/PaymentAmount.js +9 -1
- package/dist/esm/components/Payment/PaymentStatus.d.ts +3 -1
- package/dist/esm/components/Payment/PaymentStatus.js +9 -1
- package/dist/esm/components/Payment/PaymentTid.d.ts +4 -2
- package/dist/esm/components/Payment/PaymentTid.js +9 -1
- package/dist/esm/components/Payment/index.d.ts +14 -4
- package/dist/esm/components/Payment/index.js +14 -0
- package/dist/esm/components/Picture/index.d.ts +2 -0
- package/dist/esm/components/Picture/index.js +7 -0
- package/dist/esm/components/PlatForm/index.d.ts +7 -2
- package/dist/esm/components/PlatForm/index.js +8 -1
- package/dist/esm/components/Radio/index.d.ts +5 -0
- package/dist/esm/components/Radio/index.js +10 -0
- package/dist/esm/components/Rate/index.d.ts +2 -0
- package/dist/esm/components/Rate/index.js +7 -0
- package/dist/esm/components/ReceiverAddress/index.d.ts +5 -0
- package/dist/esm/components/ReceiverAddress/index.js +10 -0
- package/dist/esm/components/ReceiverMobile/index.d.ts +2 -0
- package/dist/esm/components/ReceiverMobile/index.js +7 -0
- package/dist/esm/components/ReceiverName/index.d.ts +2 -0
- package/dist/esm/components/ReceiverName/index.js +7 -0
- package/dist/esm/components/Remark/index.d.ts +5 -0
- package/dist/esm/components/Remark/index.js +10 -0
- package/dist/esm/components/ReturnLogistics/index.d.ts +8 -3
- package/dist/esm/components/ReturnLogistics/index.js +9 -0
- package/dist/esm/components/Select/index.d.ts +2 -0
- package/dist/esm/components/Select/index.js +7 -0
- package/dist/esm/components/ShopInput/index.d.ts +3 -1
- package/dist/esm/components/ShopInput/index.js +8 -1
- package/dist/esm/components/ShopName/index.d.ts +2 -0
- package/dist/esm/components/ShopName/index.js +7 -0
- package/dist/esm/components/Submitter/index.d.ts +3 -1
- package/dist/esm/components/Submitter/index.js +6 -0
- package/dist/esm/components/SystemOrderNo/index.d.ts +4 -2
- package/dist/esm/components/SystemOrderNo/index.js +7 -0
- package/dist/esm/components/TemplateSelect/index.d.ts +2 -0
- package/dist/esm/components/TemplateSelect/index.js +8 -1
- package/dist/esm/components/TextArea/index.d.ts +2 -0
- package/dist/esm/components/TextArea/index.js +7 -0
- package/dist/esm/components/ThirdItemSelect/index.d.ts +2 -0
- package/dist/esm/components/ThirdItemSelect/index.js +7 -0
- package/dist/esm/components/TradeDateTime/index.d.ts +4 -1
- package/dist/esm/components/TradeDateTime/index.js +17 -7
- package/dist/esm/components/TradeId/index.d.ts +3 -1
- package/dist/esm/components/TradeId/index.js +7 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -0
- package/dist/esm/components/WorkOrderId/index.js +8 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/type.d.ts +9 -1
- package/package.json +3 -3
|
@@ -15,8 +15,10 @@ declare class Express implements ComponentInterface {
|
|
|
15
15
|
constructor(options: PickOption);
|
|
16
16
|
render: (value: string) => JSX.Element;
|
|
17
17
|
renderClient: (record: any) => JSX.Element | null;
|
|
18
|
-
renderPc: (value:
|
|
19
|
-
|
|
18
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
19
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
20
|
+
getComponentValue: (r: Record) => any;
|
|
21
|
+
renderExport: (value: string, record: Record) => string | number;
|
|
20
22
|
editRender: () => JSX.Element;
|
|
21
23
|
filterConfig: (item: ColumnConfig) => {
|
|
22
24
|
id: string;
|
|
@@ -35,10 +35,17 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
35
35
|
}) : null;
|
|
36
36
|
});
|
|
37
37
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
38
|
-
if (
|
|
38
|
+
if ((record === null || record === void 0 ? void 0 : record[_this.id]) === undefined) {
|
|
39
39
|
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
40
40
|
}
|
|
41
|
-
return /*#__PURE__*/React.createElement("span", null, _this.expressDateInstance.getExpressNameByCode(
|
|
41
|
+
return /*#__PURE__*/React.createElement("span", null, _this.expressDateInstance.getExpressNameByCode(record === null || record === void 0 ? void 0 : record[_this.id]) || (record === null || record === void 0 ? void 0 : record[_this.id]));
|
|
42
|
+
});
|
|
43
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
44
|
+
if (isNull(r === null || r === void 0 ? void 0 : r[_this.id])) return null;
|
|
45
|
+
return _this.renderPc(undefined, r);
|
|
46
|
+
});
|
|
47
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
48
|
+
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
42
49
|
});
|
|
43
50
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
44
51
|
return _this.expressDateInstance.getExpressNameByCode(value) || value;
|
|
@@ -13,14 +13,16 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
13
13
|
constructor(options: PickOption);
|
|
14
14
|
render: (value: string) => JSX.Element;
|
|
15
15
|
renderClient: (record: any) => JSX.Element | null;
|
|
16
|
-
renderPc: (value:
|
|
16
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
17
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
18
|
+
getComponentValue: (r: Record) => any;
|
|
17
19
|
renderExport: (value: string, record: Record) => string;
|
|
18
20
|
editRender: () => JSX.Element;
|
|
19
21
|
filterConfig: (item: ColumnConfig) => {
|
|
20
22
|
id: string;
|
|
21
23
|
name: string;
|
|
22
24
|
filterComponentType: "Input";
|
|
23
|
-
filterFn: (value: string) => (i: Record) =>
|
|
25
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
export default ExpressCode;
|
|
@@ -34,7 +34,15 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
34
34
|
}) : null;
|
|
35
35
|
});
|
|
36
36
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
37
|
-
|
|
37
|
+
var _record$_this$id;
|
|
38
|
+
return /*#__PURE__*/React.createElement("span", null, (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : '--');
|
|
39
|
+
});
|
|
40
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
41
|
+
if (isNull(r === null || r === void 0 ? void 0 : r[_this.id])) return null;
|
|
42
|
+
return _this.renderPc(undefined, r);
|
|
43
|
+
});
|
|
44
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
45
|
+
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
38
46
|
});
|
|
39
47
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
40
48
|
return value !== null && value !== void 0 ? value : '--';
|
|
@@ -13,6 +13,8 @@ declare class WorkOrderId implements ComponentInterface {
|
|
|
13
13
|
constructor(options: PickOption);
|
|
14
14
|
renderMenu: (record: Record) => JSX.Element;
|
|
15
15
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
|
+
getComponentValue: (r: Record) => any;
|
|
16
18
|
renderExport: (value: any, record: Record) => any;
|
|
17
19
|
render: () => null;
|
|
18
20
|
renderClient: () => null;
|
|
@@ -52,6 +52,15 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
|
|
|
52
52
|
}
|
|
53
53
|
}, status === null || status === void 0 ? void 0 : status.label)) : /*#__PURE__*/React.createElement("span", null, "--");
|
|
54
54
|
});
|
|
55
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
56
|
+
var status = get(_this.workOrderStatus, r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
|
|
57
|
+
if (!status) return null;
|
|
58
|
+
return _this.renderPc(undefined, r);
|
|
59
|
+
});
|
|
60
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
61
|
+
var status = get(_this.workOrderStatus, r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
|
|
62
|
+
return status;
|
|
63
|
+
});
|
|
55
64
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
56
65
|
var status = get(_this.workOrderStatus, record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
|
|
57
66
|
return status ? status === null || status === void 0 ? void 0 : status.label : '--';
|
|
@@ -12,6 +12,8 @@ declare class BasicGrade implements ComponentInterface {
|
|
|
12
12
|
render: (value: number) => JSX.Element;
|
|
13
13
|
renderClient: (record: any) => JSX.Element | null;
|
|
14
14
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
15
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
16
|
+
getComponentValue: (r: Record) => any;
|
|
15
17
|
renderExport: (value: any, record: Record) => any;
|
|
16
18
|
editRender: () => JSX.Element;
|
|
17
19
|
filterConfig: () => never[];
|
|
@@ -34,6 +34,13 @@ var BasicGrade = /*#__PURE__*/_createClass(function BasicGrade(options) {
|
|
|
34
34
|
var _record;
|
|
35
35
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_basicGrade")]) !== null && _record !== void 0 ? _record : '--');
|
|
36
36
|
});
|
|
37
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
38
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicGrade")])) return null;
|
|
39
|
+
return _this.renderPc(undefined, r);
|
|
40
|
+
});
|
|
41
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
42
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicGrade")];
|
|
43
|
+
});
|
|
37
44
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
38
45
|
var _record2;
|
|
39
46
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_basicGrade")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
@@ -9,9 +9,9 @@ declare class Handler implements ComponentInterface {
|
|
|
9
9
|
isCombinationComponent: boolean;
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
|
-
renderPc: (
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
renderPc: (v: unknown, record: Record) => JSX.Element;
|
|
13
|
+
renderLog: (record: Record) => null;
|
|
14
|
+
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: {
|
|
16
16
|
account: string;
|
|
17
17
|
}[], record: Record) => string;
|
|
@@ -17,12 +17,19 @@ var Handler = /*#__PURE__*/_createClass(function Handler(options) {
|
|
|
17
17
|
_defineProperty(this, "effects", void 0);
|
|
18
18
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
19
19
|
_defineProperty(this, "children", void 0);
|
|
20
|
-
_defineProperty(this, "renderPc", function (
|
|
20
|
+
_defineProperty(this, "renderPc", function (v, record) {
|
|
21
21
|
var _value$map$join, _value$map;
|
|
22
|
+
var value = record === null || record === void 0 ? void 0 : record[_this.id];
|
|
22
23
|
return /*#__PURE__*/React.createElement("span", null, (_value$map$join = value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
|
|
23
24
|
return item.account;
|
|
24
25
|
})) === null || _value$map === void 0 ? void 0 : _value$map.join('、')) !== null && _value$map$join !== void 0 ? _value$map$join : '--');
|
|
25
26
|
});
|
|
27
|
+
_defineProperty(this, "renderLog", function (record) {
|
|
28
|
+
return null;
|
|
29
|
+
});
|
|
30
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
31
|
+
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
32
|
+
});
|
|
26
33
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
27
34
|
var _value$map$join2, _value$map2;
|
|
28
35
|
return (_value$map$join2 = value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
|
|
@@ -10,6 +10,8 @@ declare class BasicInput implements ComponentInterface {
|
|
|
10
10
|
children: ComponentInterface[];
|
|
11
11
|
constructor(options: PickOption);
|
|
12
12
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
13
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
14
|
+
getComponentValue: (r: Record) => any;
|
|
13
15
|
renderExport: (value: any, record: Record) => any;
|
|
14
16
|
render: (value: string | number) => JSX.Element;
|
|
15
17
|
renderClient: (record: Record) => JSX.Element | null;
|
|
@@ -26,6 +26,13 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
26
26
|
var _record;
|
|
27
27
|
return /*#__PURE__*/React.createElement("span", null, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record !== void 0 ? _record : '--');
|
|
28
28
|
});
|
|
29
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
30
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")])) return null;
|
|
31
|
+
return _this.renderPc(undefined, r);
|
|
32
|
+
});
|
|
33
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
34
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_input")];
|
|
35
|
+
});
|
|
29
36
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
30
37
|
var _record2;
|
|
31
38
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
@@ -15,6 +15,8 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
15
15
|
render: (value: any) => JSX.Element;
|
|
16
16
|
renderClient: (record: Record) => JSX.Element | null;
|
|
17
17
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
19
|
+
getComponentValue: (r: Record) => any;
|
|
18
20
|
renderExport: (value: any, record: any) => any;
|
|
19
21
|
editRender: () => JSX.Element;
|
|
20
22
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -48,6 +48,14 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
48
48
|
type: "jstItemThird"
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
52
|
+
var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
53
|
+
if (isNull(list)) return null;
|
|
54
|
+
return _this.renderPc(undefined, r);
|
|
55
|
+
});
|
|
56
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
57
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
58
|
+
});
|
|
51
59
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
52
60
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
|
|
53
61
|
return (list || []).map(function (item) {
|
|
@@ -15,13 +15,15 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
15
15
|
render: (value: any) => JSX.Element;
|
|
16
16
|
renderClient: (record: any) => JSX.Element | null;
|
|
17
17
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
19
|
+
getComponentValue: (r: Record) => any;
|
|
18
20
|
renderExport: (value: any, record: any) => any;
|
|
19
21
|
editRender: () => JSX.Element;
|
|
20
22
|
filterConfig: (item: ColumnConfig) => ({
|
|
21
23
|
id: string;
|
|
22
24
|
name: string;
|
|
23
25
|
filterComponentType: "Input";
|
|
24
|
-
filterFn: (value: string) => (i: Record) =>
|
|
26
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
25
27
|
options?: undefined;
|
|
26
28
|
} | {
|
|
27
29
|
id: string;
|
|
@@ -48,6 +48,14 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
48
48
|
type: 1
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
52
|
+
var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
53
|
+
if (isNull(list)) return null;
|
|
54
|
+
return _this.renderPc(undefined, r);
|
|
55
|
+
});
|
|
56
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
57
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
58
|
+
});
|
|
51
59
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
52
60
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
|
|
53
61
|
return (list || []).map(function (item) {
|
|
@@ -13,6 +13,8 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
13
13
|
render: (value: any) => JSX.Element;
|
|
14
14
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
15
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
|
+
getComponentValue: (r: Record) => any;
|
|
16
18
|
renderExport: (value: any, record: any) => any;
|
|
17
19
|
editRender: () => JSX.Element;
|
|
18
20
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -46,6 +46,14 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
46
46
|
type: 3
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
50
|
+
var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
51
|
+
if (isNull(list)) return null;
|
|
52
|
+
return _this.renderPc(undefined, r);
|
|
53
|
+
});
|
|
54
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
55
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
56
|
+
});
|
|
49
57
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
50
58
|
var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
|
|
51
59
|
return (list || []).map(function (item) {
|
|
@@ -13,6 +13,8 @@ declare class JstSupply implements ComponentInterface {
|
|
|
13
13
|
render: (value: any) => JSX.Element;
|
|
14
14
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
15
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
|
+
getComponentValue: (r: Record) => any;
|
|
16
18
|
renderExport: (value: any, record: any) => any;
|
|
17
19
|
editRender: () => JSX.Element;
|
|
18
20
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -46,6 +46,14 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
46
46
|
type: 2
|
|
47
47
|
});
|
|
48
48
|
});
|
|
49
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
50
|
+
var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
51
|
+
if (isNull(list)) return null;
|
|
52
|
+
return _this.renderPc(undefined, r);
|
|
53
|
+
});
|
|
54
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
55
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
|
|
56
|
+
});
|
|
49
57
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
50
58
|
var list = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")]) || [];
|
|
51
59
|
return list.map(function (item) {
|
|
@@ -19,6 +19,11 @@ declare class Logistics implements ComponentInterface {
|
|
|
19
19
|
editRender: (value: any) => JSX.Element;
|
|
20
20
|
renderClient: (record: Record) => JSX.Element;
|
|
21
21
|
renderPc: () => null;
|
|
22
|
+
renderLog: (r: Record) => JSX.Element;
|
|
23
|
+
getComponentValue: (r: Record) => {
|
|
24
|
+
company: any;
|
|
25
|
+
order: any;
|
|
26
|
+
};
|
|
22
27
|
renderExport: () => null;
|
|
23
28
|
filterConfig: (item: ColumnConfig) => ({
|
|
24
29
|
id: string;
|
|
@@ -30,7 +35,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
30
35
|
id: string;
|
|
31
36
|
name: string;
|
|
32
37
|
filterComponentType: "Input";
|
|
33
|
-
filterFn: (value: string) => (i: Record) =>
|
|
38
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
34
39
|
})[];
|
|
35
40
|
}
|
|
36
41
|
export default Logistics;
|
|
@@ -50,6 +50,15 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
50
50
|
_defineProperty(this, "renderPc", function () {
|
|
51
51
|
return null;
|
|
52
52
|
});
|
|
53
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
54
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderLog(r), _this.expressCode.renderLog(r));
|
|
55
|
+
});
|
|
56
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
57
|
+
return {
|
|
58
|
+
company: _this.express.getComponentValue(r),
|
|
59
|
+
order: _this.expressCode.getComponentValue(r)
|
|
60
|
+
};
|
|
61
|
+
});
|
|
53
62
|
_defineProperty(this, "renderExport", function () {
|
|
54
63
|
return null;
|
|
55
64
|
});
|
|
@@ -18,6 +18,8 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
18
18
|
render: (value: any, record: any) => JSX.Element | null;
|
|
19
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
20
20
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => null;
|
|
22
|
+
getComponentValue: (r: Record) => {};
|
|
21
23
|
renderExport: (value: any, record: Record) => any;
|
|
22
24
|
editRender: () => JSX.Element;
|
|
23
25
|
filterConfig: (item: ColumnConfig) => never[];
|
|
@@ -57,6 +57,12 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
57
57
|
}
|
|
58
58
|
}, value);
|
|
59
59
|
});
|
|
60
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
61
|
+
return null;
|
|
62
|
+
});
|
|
63
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
64
|
+
return {};
|
|
65
|
+
});
|
|
60
66
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
61
67
|
return value !== null && value !== void 0 ? value : '--';
|
|
62
68
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, ColumnConfig } from "../../type";
|
|
2
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
|
|
3
3
|
import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
4
4
|
import InterceptAddress from "./InterceptAddress";
|
|
5
5
|
import Express from "../Express";
|
|
@@ -19,6 +19,8 @@ declare class Logistics implements ComponentInterface {
|
|
|
19
19
|
constructor(options: PickOption);
|
|
20
20
|
render: () => null;
|
|
21
21
|
renderClient: (record: any) => JSX.Element;
|
|
22
|
+
renderLog: (record: any) => JSX.Element;
|
|
23
|
+
getComponentValue: (r: Record) => {};
|
|
22
24
|
renderPc: () => null;
|
|
23
25
|
renderExport: () => null;
|
|
24
26
|
editRender: (value: any) => JSX.Element;
|
|
@@ -35,6 +35,12 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
35
35
|
_defineProperty(this, "renderClient", function (record) {
|
|
36
36
|
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptAddress.renderClient(record));
|
|
37
37
|
});
|
|
38
|
+
_defineProperty(this, "renderLog", function (record) {
|
|
39
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderLog(record), _this.expressCode.renderLog(record), _this.interceptAddress.renderLog(record));
|
|
40
|
+
});
|
|
41
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
42
|
+
return {};
|
|
43
|
+
});
|
|
38
44
|
_defineProperty(this, "renderPc", function () {
|
|
39
45
|
return null;
|
|
40
46
|
});
|
|
@@ -13,6 +13,8 @@ declare class BasicMultSelect implements ComponentInterface {
|
|
|
13
13
|
render: (value: Value) => JSX.Element;
|
|
14
14
|
renderClient: (record: any) => JSX.Element | null;
|
|
15
15
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
17
|
+
getComponentValue: (r: Record) => any;
|
|
16
18
|
renderExport: (value: any, record: Record) => any;
|
|
17
19
|
editRender: () => JSX.Element;
|
|
18
20
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -39,6 +39,13 @@ var BasicMultSelect = /*#__PURE__*/_createClass(function BasicMultSelect(options
|
|
|
39
39
|
}
|
|
40
40
|
return /*#__PURE__*/React.createElement("span", null, record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id, "_basicMultSelect")]) === null || _record === void 0 ? void 0 : _record.join(','));
|
|
41
41
|
});
|
|
42
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
43
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicMultSelect")])) return null;
|
|
44
|
+
return _this.renderPc(undefined, r);
|
|
45
|
+
});
|
|
46
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
47
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_basicMultSelect")];
|
|
48
|
+
});
|
|
42
49
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
43
50
|
var _record2;
|
|
44
51
|
if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_basicMultSelect")]) === undefined) {
|
|
@@ -14,7 +14,9 @@ declare class OrdinaryHeader implements ComponentInterface {
|
|
|
14
14
|
constructor(options: PickOption);
|
|
15
15
|
render: (value: string) => JSX.Element;
|
|
16
16
|
renderClient: (record: any) => JSX.Element | null;
|
|
17
|
-
renderPc: (value:
|
|
17
|
+
renderPc: (value: unknown, r: Record) => any;
|
|
18
|
+
renderLog: (r: Record) => any;
|
|
19
|
+
getComponentValue: (r: Record) => any;
|
|
18
20
|
renderExport: (value: any) => any;
|
|
19
21
|
editRender: () => JSX.Element;
|
|
20
22
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -34,8 +34,16 @@ var OrdinaryHeader = /*#__PURE__*/_createClass(function OrdinaryHeader(options)
|
|
|
34
34
|
value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
|
|
35
35
|
}) : null;
|
|
36
36
|
});
|
|
37
|
-
_defineProperty(this, "renderPc", function (value) {
|
|
38
|
-
|
|
37
|
+
_defineProperty(this, "renderPc", function (value, r) {
|
|
38
|
+
var _r;
|
|
39
|
+
return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
|
|
40
|
+
});
|
|
41
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
42
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
43
|
+
return _this.renderPc(undefined, r);
|
|
44
|
+
});
|
|
45
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
46
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
39
47
|
});
|
|
40
48
|
_defineProperty(this, "renderExport", function (value) {
|
|
41
49
|
return value !== null && value !== void 0 ? value : '--';
|
|
@@ -13,7 +13,9 @@ declare class OrdinaryMoney implements ComponentInterface {
|
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
15
|
render: (value: string) => JSX.Element;
|
|
16
|
-
renderPc: (value:
|
|
16
|
+
renderPc: (value: unknown, r: Record) => any;
|
|
17
|
+
renderLog: (r: Record) => any;
|
|
18
|
+
getComponentValue: (r: Record) => any;
|
|
17
19
|
renderExport: (value: any) => any;
|
|
18
20
|
renderClient: (record: any) => JSX.Element | null;
|
|
19
21
|
editRender: () => JSX.Element;
|
|
@@ -26,8 +26,16 @@ var OrdinaryMoney = /*#__PURE__*/_createClass(function OrdinaryMoney(options) {
|
|
|
26
26
|
_defineProperty(this, "render", function (value) {
|
|
27
27
|
return /*#__PURE__*/React.createElement("span", null, value);
|
|
28
28
|
});
|
|
29
|
-
_defineProperty(this, "renderPc", function (value) {
|
|
30
|
-
|
|
29
|
+
_defineProperty(this, "renderPc", function (value, r) {
|
|
30
|
+
var _r;
|
|
31
|
+
return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
|
|
32
|
+
});
|
|
33
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
34
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
35
|
+
return _this.renderPc(undefined, r);
|
|
36
|
+
});
|
|
37
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
38
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
31
39
|
});
|
|
32
40
|
_defineProperty(this, "renderExport", function (value) {
|
|
33
41
|
return value !== null && value !== void 0 ? value : '--';
|
|
@@ -19,7 +19,9 @@ declare class OrdinarySerial implements ComponentInterface {
|
|
|
19
19
|
constructor(options: PickOption);
|
|
20
20
|
render: (value: string) => JSX.Element;
|
|
21
21
|
renderClient: (record: any) => JSX.Element | null;
|
|
22
|
-
renderPc: (value:
|
|
22
|
+
renderPc: (value: unknown, r: Record) => any;
|
|
23
|
+
renderLog: (r: Record) => any;
|
|
24
|
+
getComponentValue: (r: Record) => any;
|
|
23
25
|
renderExport: (value: any) => any;
|
|
24
26
|
editRender: () => JSX.Element;
|
|
25
27
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -38,8 +38,16 @@ var OrdinarySerial = /*#__PURE__*/_createClass(function OrdinarySerial(options)
|
|
|
38
38
|
value: _this.render(record === null || record === void 0 ? void 0 : record[_this.id])
|
|
39
39
|
}) : null;
|
|
40
40
|
});
|
|
41
|
-
_defineProperty(this, "renderPc", function (value) {
|
|
42
|
-
|
|
41
|
+
_defineProperty(this, "renderPc", function (value, r) {
|
|
42
|
+
var _r;
|
|
43
|
+
return (_r = r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) !== null && _r !== void 0 ? _r : '--';
|
|
44
|
+
});
|
|
45
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
46
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
47
|
+
return _this.renderPc(undefined, r);
|
|
48
|
+
});
|
|
49
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
50
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
43
51
|
});
|
|
44
52
|
_defineProperty(this, "renderExport", function (value) {
|
|
45
53
|
return value !== null && value !== void 0 ? value : '--';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ComponentInterface, PickOption, DataType, ColumnConfig } from '../../type';
|
|
2
|
+
import { ComponentInterface, PickOption, DataType, Record, ColumnConfig } from '../../type';
|
|
3
3
|
import OrdinaryHeader from './OrdinaryHeader';
|
|
4
4
|
import OrdinaryMoney from './OrdinaryMoney';
|
|
5
5
|
import OrdinarySerial from './OrdinarySerial';
|
|
@@ -23,13 +23,19 @@ declare class Ordinary implements ComponentInterface {
|
|
|
23
23
|
render: () => null;
|
|
24
24
|
editRender: (value: any) => JSX.Element;
|
|
25
25
|
renderPc: () => null;
|
|
26
|
+
renderLog: (r: Record) => JSX.Element;
|
|
27
|
+
getComponentValue: (r: Record) => {
|
|
28
|
+
ordinaryMoney: any;
|
|
29
|
+
ordinarySerial: any;
|
|
30
|
+
ordinaryTaitou: any;
|
|
31
|
+
};
|
|
26
32
|
renderExport: () => null;
|
|
27
33
|
renderClient: (record: any) => JSX.Element;
|
|
28
34
|
filterConfig: (item: ColumnConfig) => {
|
|
29
35
|
id: string;
|
|
30
36
|
name: string;
|
|
31
37
|
filterComponentType: "Input";
|
|
32
|
-
filterFn: (value: string) => (i:
|
|
38
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
33
39
|
}[];
|
|
34
40
|
}
|
|
35
41
|
export default Ordinary;
|
|
@@ -48,11 +48,21 @@ var Ordinary = /*#__PURE__*/_createClass(function Ordinary(options) {
|
|
|
48
48
|
_defineProperty(this, "renderPc", function () {
|
|
49
49
|
return null;
|
|
50
50
|
});
|
|
51
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
52
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.ordinaryHeader.renderLog(r), _this.ordinaryMoney.renderLog(r), _this.ordinarySerial.renderLog(r));
|
|
53
|
+
});
|
|
54
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
55
|
+
return {
|
|
56
|
+
ordinaryMoney: _this.ordinaryMoney.getComponentValue(r),
|
|
57
|
+
ordinarySerial: _this.ordinarySerial.getComponentValue(r),
|
|
58
|
+
ordinaryTaitou: _this.ordinaryHeader.getComponentValue(r)
|
|
59
|
+
};
|
|
60
|
+
});
|
|
51
61
|
_defineProperty(this, "renderExport", function () {
|
|
52
62
|
return null;
|
|
53
63
|
});
|
|
54
64
|
_defineProperty(this, "renderClient", function (record) {
|
|
55
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.
|
|
65
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.ordinaryHeader.renderClient(record), _this.ordinaryMoney.renderClient(record), _this.ordinarySerial.renderClient(record));
|
|
56
66
|
});
|
|
57
67
|
_defineProperty(this, "filterConfig", function (item) {
|
|
58
68
|
return [_this.ordinaryMoney.filterConfig(_objectSpread({}, item)), _this.ordinaryHeader.filterConfig(_objectSpread({}, item)), _this.ordinarySerial.filterConfig(_objectSpread({}, item))];
|
|
@@ -14,7 +14,9 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
14
14
|
constructor(options: PickOption);
|
|
15
15
|
render: (value: any, record?: Record) => JSX.Element;
|
|
16
16
|
renderClient: (record: any) => JSX.Element | null;
|
|
17
|
-
renderPc: (value:
|
|
17
|
+
renderPc: (value: unknown, record: Record) => JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
19
|
+
getComponentValue: (r: Record) => any;
|
|
18
20
|
renderExport: (value: any, record: Record) => any;
|
|
19
21
|
editRender: () => JSX.Element;
|
|
20
22
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -34,7 +34,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
34
34
|
}) : null;
|
|
35
35
|
});
|
|
36
36
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
37
|
-
if (
|
|
37
|
+
if ((record === null || record === void 0 ? void 0 : record[_this.id]) === undefined) {
|
|
38
38
|
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
39
39
|
}
|
|
40
40
|
return /*#__PURE__*/React.createElement("span", {
|
|
@@ -43,7 +43,14 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
43
43
|
var _this$effects, _this$effects2;
|
|
44
44
|
typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
|
|
45
45
|
}
|
|
46
|
-
},
|
|
46
|
+
}, record === null || record === void 0 ? void 0 : record[_this.id]);
|
|
47
|
+
});
|
|
48
|
+
_defineProperty(this, "renderLog", function (r) {
|
|
49
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
50
|
+
return _this.renderPc(undefined, r);
|
|
51
|
+
});
|
|
52
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
53
|
+
return r === null || r === void 0 ? void 0 : r["".concat(_this.id)];
|
|
47
54
|
});
|
|
48
55
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
49
56
|
return value !== null && value !== void 0 ? value : '--';
|
|
@@ -14,7 +14,9 @@ declare class AlipayNo implements ComponentInterface {
|
|
|
14
14
|
constructor(options: PickOption);
|
|
15
15
|
render: (value: string) => JSX.Element;
|
|
16
16
|
renderClient: (record: any) => JSX.Element | null;
|
|
17
|
-
renderPc: (value:
|
|
17
|
+
renderPc: (value: unknown, record: any) => JSX.Element;
|
|
18
|
+
renderLog: (r: Record) => JSX.Element | null;
|
|
19
|
+
getComponentValue: (r: Record) => any;
|
|
18
20
|
renderExport: (value: any, record: Record) => any;
|
|
19
21
|
editRender: () => JSX.Element;
|
|
20
22
|
filterConfig: (item: ColumnConfig) => {
|