@kmkf-fe-packages/services-components 0.6.3-alpha.18 → 0.6.3-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/ActualPayment/index.d.ts +1 -2
- package/dist/esm/components/ActualPayment/index.js +1 -4
- package/dist/esm/components/Address/index.d.ts +1 -2
- package/dist/esm/components/Address/index.js +1 -4
- package/dist/esm/components/Alipay/index.d.ts +0 -1
- package/dist/esm/components/Alipay/index.js +0 -3
- package/dist/esm/components/AlipayAccount/index.d.ts +1 -2
- package/dist/esm/components/AlipayAccount/index.js +1 -4
- package/dist/esm/components/AlipayName/index.d.ts +1 -2
- package/dist/esm/components/AlipayName/index.js +1 -4
- package/dist/esm/components/BuyerNick/index.d.ts +0 -4
- package/dist/esm/components/BuyerNick/index.js +0 -3
- package/dist/esm/components/Cascader/index.d.ts +1 -2
- package/dist/esm/components/Cascader/index.js +1 -4
- package/dist/esm/components/Checkbox/index.d.ts +0 -1
- package/dist/esm/components/Checkbox/index.js +7 -14
- package/dist/esm/components/CommonDataTime/index.d.ts +0 -1
- package/dist/esm/components/CommonDataTime/index.js +0 -4
- package/dist/esm/components/CompletedUser/index.d.ts +1 -2
- package/dist/esm/components/CompletedUser/index.js +1 -4
- package/dist/esm/components/DataTime/index.d.ts +0 -1
- package/dist/esm/components/DataTime/index.js +0 -3
- package/dist/esm/components/EItemEnCode/index.d.ts +0 -1
- package/dist/esm/components/EItemEnCode/index.js +4 -7
- package/dist/esm/components/EItemId/index.d.ts +0 -1
- package/dist/esm/components/EItemId/index.js +4 -7
- package/dist/esm/components/EItemSelect/index.d.ts +0 -1
- package/dist/esm/components/EItemSelect/index.js +3 -6
- package/dist/esm/components/ErpTradeId/index.d.ts +1 -2
- package/dist/esm/components/ErpTradeId/index.js +2 -5
- package/dist/esm/components/Express/index.d.ts +1 -2
- package/dist/esm/components/Express/index.js +2 -5
- package/dist/esm/components/ExpressCode/index.d.ts +1 -2
- package/dist/esm/components/ExpressCode/index.js +2 -4
- package/dist/esm/components/FlowStatusSelect/index.d.ts +0 -1
- package/dist/esm/components/FlowStatusSelect/index.js +0 -3
- package/dist/esm/components/Grade/index.d.ts +0 -1
- package/dist/esm/components/Grade/index.js +1 -4
- package/dist/esm/components/Handler/index.d.ts +1 -2
- package/dist/esm/components/Handler/index.js +5 -7
- package/dist/esm/components/Input/index.d.ts +0 -1
- package/dist/esm/components/Input/index.js +1 -4
- package/dist/esm/components/JstItemSelect/index.d.ts +0 -1
- package/dist/esm/components/JstItemSelect/index.js +4 -8
- package/dist/esm/components/JstLogistics/index.d.ts +0 -1
- package/dist/esm/components/JstLogistics/index.js +9 -9
- package/dist/esm/components/JstSendGood/index.d.ts +0 -1
- package/dist/esm/components/JstSendGood/index.js +9 -9
- package/dist/esm/components/JstSupply/index.d.ts +0 -1
- package/dist/esm/components/JstSupply/index.js +9 -9
- package/dist/esm/components/Logistics/index.d.ts +0 -1
- package/dist/esm/components/Logistics/index.js +0 -3
- package/dist/esm/components/LogisticsInterception/InterceptAddress.d.ts +11 -5
- package/dist/esm/components/LogisticsInterception/InterceptAddress.js +29 -22
- package/dist/esm/components/LogisticsInterception/InterceptStatus.d.ts +7 -2
- package/dist/esm/components/LogisticsInterception/InterceptStatus.js +21 -12
- package/dist/esm/components/LogisticsInterception/InterceptType.d.ts +8 -3
- package/dist/esm/components/LogisticsInterception/InterceptType.js +23 -13
- package/dist/esm/components/LogisticsInterception/index.d.ts +21 -3
- package/dist/esm/components/LogisticsInterception/index.js +9 -7
- package/dist/esm/components/MultSelect/index.d.ts +0 -2
- package/dist/esm/components/MultSelect/index.js +2 -4
- package/dist/esm/components/Ordinary/OrdinaryHeader.d.ts +0 -1
- package/dist/esm/components/Ordinary/OrdinaryHeader.js +1 -4
- package/dist/esm/components/Ordinary/OrdinaryMoney.d.ts +0 -1
- package/dist/esm/components/Ordinary/OrdinaryMoney.js +1 -4
- package/dist/esm/components/Ordinary/OrdinarySerial.d.ts +0 -1
- package/dist/esm/components/Ordinary/OrdinarySerial.js +1 -4
- package/dist/esm/components/Ordinary/index.d.ts +1 -2
- package/dist/esm/components/Ordinary/index.js +1 -4
- package/dist/esm/components/Payment/AlipayNick.d.ts +0 -1
- package/dist/esm/components/Payment/AlipayNick.js +2 -4
- package/dist/esm/components/Payment/AlipayNo.d.ts +0 -1
- package/dist/esm/components/Payment/AlipayNo.js +2 -4
- package/dist/esm/components/Payment/AlipayTime.d.ts +0 -1
- package/dist/esm/components/Payment/AlipayTime.js +1 -6
- package/dist/esm/components/Payment/BuyerNick.d.ts +0 -1
- package/dist/esm/components/Payment/BuyerNick.js +1 -3
- package/dist/esm/components/Payment/PaymentAmount.d.ts +0 -1
- package/dist/esm/components/Payment/PaymentAmount.js +0 -3
- package/dist/esm/components/Payment/PaymentStatus.d.ts +1 -2
- package/dist/esm/components/Payment/PaymentStatus.js +1 -4
- package/dist/esm/components/Payment/PaymentTid.d.ts +0 -1
- package/dist/esm/components/Payment/PaymentTid.js +0 -3
- package/dist/esm/components/Payment/index.d.ts +0 -1
- package/dist/esm/components/Payment/index.js +0 -3
- 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 +0 -1
- package/dist/esm/components/PlatForm/index.js +0 -3
- package/dist/esm/components/ReceiverAddress/index.d.ts +2 -2
- package/dist/esm/components/ReceiverAddress/index.js +3 -3
- package/dist/esm/components/ReceiverMobile/index.d.ts +0 -1
- package/dist/esm/components/ReceiverMobile/index.js +1 -4
- package/dist/esm/components/ReceiverName/index.d.ts +0 -1
- package/dist/esm/components/ReceiverName/index.js +1 -4
- package/dist/esm/components/ReturnLogistics/index.d.ts +0 -1
- package/dist/esm/components/ReturnLogistics/index.js +0 -3
- package/dist/esm/components/Select/index.d.ts +0 -1
- package/dist/esm/components/Select/index.js +0 -3
- package/dist/esm/components/ShopInput/index.d.ts +0 -1
- package/dist/esm/components/ShopInput/index.js +0 -3
- package/dist/esm/components/ShopName/index.d.ts +1 -2
- package/dist/esm/components/ShopName/index.js +2 -5
- package/dist/esm/components/Submitter/index.d.ts +1 -2
- package/dist/esm/components/Submitter/index.js +1 -4
- package/dist/esm/components/SystemOrderNo/index.d.ts +1 -2
- package/dist/esm/components/SystemOrderNo/index.js +1 -4
- package/dist/esm/components/TemplateSelect/index.d.ts +1 -2
- package/dist/esm/components/TemplateSelect/index.js +1 -4
- package/dist/esm/components/TextArea/index.d.ts +0 -1
- package/dist/esm/components/TextArea/index.js +1 -4
- package/dist/esm/components/ThirdItemSelect/index.d.ts +0 -1
- package/dist/esm/components/ThirdItemSelect/index.js +4 -8
- package/dist/esm/components/TradeId/index.d.ts +0 -1
- package/dist/esm/components/TradeId/index.js +1 -4
- package/dist/esm/components/WorkOrderId/index.d.ts +0 -1
- package/dist/esm/components/WorkOrderId/index.js +0 -3
- package/dist/esm/type.d.ts +0 -4
- package/package.json +4 -4
|
@@ -25,20 +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
|
-
});
|
|
40
|
-
_defineProperty(this, "render", function () {
|
|
41
|
-
return null;
|
|
39
|
+
})) === null || _values$map === void 0 ? void 0 : _values$map.join('、')) !== null && _values$map$join !== void 0 ? _values$map$join : '--';
|
|
42
40
|
});
|
|
43
41
|
_defineProperty(this, "renderClient", function () {
|
|
44
42
|
return null;
|
|
@@ -13,7 +13,6 @@ declare class BasicInput implements ComponentInterface {
|
|
|
13
13
|
renderLog: (r: Record) => JSX.Element | null;
|
|
14
14
|
getComponentValue: (r: Record) => any;
|
|
15
15
|
renderExport: (value: any, record: Record) => any;
|
|
16
|
-
render: (value: string | number) => JSX.Element;
|
|
17
16
|
renderClient: (record: Record) => JSX.Element | null;
|
|
18
17
|
editRender: () => JSX.Element;
|
|
19
18
|
filterConfig: (item: ColumnConfig) => {
|
|
@@ -37,14 +37,11 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
|
|
|
37
37
|
var _record2;
|
|
38
38
|
return (_record2 = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_input")]) !== null && _record2 !== void 0 ? _record2 : '--';
|
|
39
39
|
});
|
|
40
|
-
_defineProperty(this, "render", function (value) {
|
|
41
|
-
return /*#__PURE__*/React.createElement("span", null, value);
|
|
42
|
-
});
|
|
43
40
|
_defineProperty(this, "renderClient", function (record) {
|
|
44
41
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
45
42
|
id: _this.id,
|
|
46
43
|
label: _this.name,
|
|
47
|
-
value:
|
|
44
|
+
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
48
45
|
}) : null;
|
|
49
46
|
});
|
|
50
47
|
_defineProperty(this, "editRender", function () {
|
|
@@ -12,7 +12,6 @@ declare class JstItemSelect implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
render: (value: any) => JSX.Element;
|
|
16
15
|
renderClient: (record: Record) => JSX.Element | null;
|
|
17
16
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
17
|
renderLog: (r: Record) => JSX.Element | null;
|
|
@@ -26,18 +26,14 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
|
|
|
26
26
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
27
27
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
28
|
_defineProperty(this, "children", void 0);
|
|
29
|
-
_defineProperty(this, "render", function (value) {
|
|
30
|
-
//兼容多个商品
|
|
31
|
-
return /*#__PURE__*/React.createElement(GoodImage, {
|
|
32
|
-
list: value,
|
|
33
|
-
type: "jstItemThird"
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
37
30
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
38
31
|
id: _this.id,
|
|
39
32
|
label: _this.name,
|
|
40
|
-
value:
|
|
33
|
+
value: /*#__PURE__*/React.createElement(GoodImage, {
|
|
34
|
+
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
35
|
+
type: "jstItemThird"
|
|
36
|
+
})
|
|
41
37
|
}) : null;
|
|
42
38
|
});
|
|
43
39
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -12,7 +12,6 @@ declare class JstLogistics implements ComponentInterface {
|
|
|
12
12
|
isCombinationComponent: boolean;
|
|
13
13
|
children: ComponentInterface[];
|
|
14
14
|
constructor(options: PickOption);
|
|
15
|
-
render: (value: any) => JSX.Element;
|
|
16
15
|
renderClient: (record: any) => JSX.Element | null;
|
|
17
16
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
18
17
|
renderLog: (r: Record) => JSX.Element | null;
|
|
@@ -8,6 +8,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
8
8
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { ExpressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
11
|
+
import some from 'lodash/some';
|
|
11
12
|
import GetFormItem from "../GetFormItem";
|
|
12
13
|
import { JstGoodImage } from "../Common";
|
|
13
14
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
@@ -26,18 +27,17 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
|
|
|
26
27
|
_defineProperty(this, "expressDateInstance", void 0);
|
|
27
28
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
28
29
|
_defineProperty(this, "children", void 0);
|
|
29
|
-
_defineProperty(this, "render", function (value) {
|
|
30
|
-
//兼容多个商品
|
|
31
|
-
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
32
|
-
list: value,
|
|
33
|
-
type: 1
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
37
|
-
|
|
31
|
+
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
32
|
+
return !isNull(item);
|
|
33
|
+
}) : false;
|
|
34
|
+
return isShow ? /*#__PURE__*/React.createElement(ItemView, {
|
|
38
35
|
id: _this.id,
|
|
39
36
|
label: _this.name,
|
|
40
|
-
value:
|
|
37
|
+
value: /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
38
|
+
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
39
|
+
type: 1
|
|
40
|
+
})
|
|
41
41
|
}) : null;
|
|
42
42
|
});
|
|
43
43
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -10,7 +10,6 @@ declare class JstSendGood implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
render: (value: any) => JSX.Element;
|
|
14
13
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
14
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
15
|
renderLog: (r: Record) => JSX.Element | null;
|
|
@@ -7,6 +7,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
7
7
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
8
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
9
|
import React from 'react';
|
|
10
|
+
import some from 'lodash/some';
|
|
10
11
|
import GetFormItem from "../GetFormItem";
|
|
11
12
|
import { JstGoodImage } from "../Common";
|
|
12
13
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
@@ -24,18 +25,17 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
|
|
|
24
25
|
_defineProperty(this, "align", void 0);
|
|
25
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
27
|
_defineProperty(this, "children", void 0);
|
|
27
|
-
_defineProperty(this, "render", function (value) {
|
|
28
|
-
//兼容多个商品
|
|
29
|
-
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
30
|
-
list: value,
|
|
31
|
-
type: 3
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
28
|
_defineProperty(this, "renderClient", function (record) {
|
|
35
|
-
|
|
29
|
+
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
30
|
+
return !isNull(item);
|
|
31
|
+
}) : false;
|
|
32
|
+
return isShow ? /*#__PURE__*/React.createElement(ItemView, {
|
|
36
33
|
id: _this.id,
|
|
37
34
|
label: _this.name,
|
|
38
|
-
value:
|
|
35
|
+
value: /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
36
|
+
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
37
|
+
type: 3
|
|
38
|
+
})
|
|
39
39
|
}) : null;
|
|
40
40
|
});
|
|
41
41
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -10,7 +10,6 @@ declare class JstSupply implements ComponentInterface {
|
|
|
10
10
|
isCombinationComponent: boolean;
|
|
11
11
|
children: ComponentInterface[];
|
|
12
12
|
constructor(options: PickOption);
|
|
13
|
-
render: (value: any) => JSX.Element;
|
|
14
13
|
renderClient: (record: Record) => JSX.Element | null;
|
|
15
14
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
16
15
|
renderLog: (r: Record) => JSX.Element | null;
|
|
@@ -7,6 +7,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
7
7
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
8
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
9
|
import React from 'react';
|
|
10
|
+
import some from 'lodash/some';
|
|
10
11
|
import GetFormItem from "../GetFormItem";
|
|
11
12
|
import { JstGoodImage } from "../Common";
|
|
12
13
|
import { JstGoods } from '@kmkf-fe-packages/basic-components';
|
|
@@ -24,18 +25,17 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
|
|
|
24
25
|
_defineProperty(this, "align", void 0);
|
|
25
26
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
26
27
|
_defineProperty(this, "children", void 0);
|
|
27
|
-
_defineProperty(this, "render", function (value) {
|
|
28
|
-
//兼容多个商品
|
|
29
|
-
return /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
30
|
-
list: value,
|
|
31
|
-
type: 2
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
28
|
_defineProperty(this, "renderClient", function (record) {
|
|
35
|
-
|
|
29
|
+
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
30
|
+
return !isNull(item);
|
|
31
|
+
}) : false;
|
|
32
|
+
return isShow ? /*#__PURE__*/React.createElement(ItemView, {
|
|
36
33
|
id: _this.id,
|
|
37
34
|
label: _this.name,
|
|
38
|
-
value:
|
|
35
|
+
value: /*#__PURE__*/React.createElement(JstGoodImage, {
|
|
36
|
+
list: record === null || record === void 0 ? void 0 : record[_this.id],
|
|
37
|
+
type: 2
|
|
38
|
+
})
|
|
39
39
|
}) : null;
|
|
40
40
|
});
|
|
41
41
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
@@ -15,7 +15,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
15
15
|
isCombinationComponent: boolean;
|
|
16
16
|
children: ComponentInterface[];
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
-
render: () => null;
|
|
19
18
|
editRender: (value: any) => JSX.Element;
|
|
20
19
|
renderClient: (record: Record) => JSX.Element;
|
|
21
20
|
renderPc: () => null;
|
|
@@ -28,9 +28,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
28
28
|
_defineProperty(this, "expressCode", void 0);
|
|
29
29
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
30
30
|
_defineProperty(this, "children", void 0);
|
|
31
|
-
_defineProperty(this, "render", function () {
|
|
32
|
-
return null;
|
|
33
|
-
});
|
|
34
31
|
_defineProperty(this, "editRender", function (value) {
|
|
35
32
|
var _this$componentConfig, _this$componentConfig2;
|
|
36
33
|
return /*#__PURE__*/React.createElement(GetFormItem, {
|
|
@@ -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;
|
|
@@ -15,13 +15,19 @@ declare class PaymentTid implements ComponentInterface {
|
|
|
15
15
|
originId: string;
|
|
16
16
|
addressDateInstance: AddressData;
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
-
render: (value: any, record: any) => JSX.Element | null;
|
|
19
18
|
renderClient: (record: any) => JSX.Element | null;
|
|
20
19
|
renderPc: (value: any, record: Record) => JSX.Element;
|
|
21
20
|
renderLog: (r: Record) => JSX.Element | null;
|
|
22
|
-
getComponentValue: (r: Record) => {
|
|
23
|
-
|
|
21
|
+
getComponentValue: (r: Record) => {
|
|
22
|
+
province: any;
|
|
23
|
+
city: any;
|
|
24
|
+
district: any;
|
|
25
|
+
detail: any;
|
|
26
|
+
name: any;
|
|
27
|
+
mobile: any;
|
|
28
|
+
};
|
|
29
|
+
renderExport: (value: any, record: Record) => string | null;
|
|
24
30
|
editRender: () => JSX.Element;
|
|
25
|
-
filterConfig: (
|
|
31
|
+
filterConfig: () => never[];
|
|
26
32
|
}
|
|
27
33
|
export default PaymentTid;
|
|
@@ -26,29 +26,15 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
26
26
|
_defineProperty(this, "children", void 0);
|
|
27
27
|
_defineProperty(this, "originId", void 0);
|
|
28
28
|
_defineProperty(this, "addressDateInstance", void 0);
|
|
29
|
-
_defineProperty(this, "render", function (value, record) {
|
|
30
|
-
var _ref;
|
|
31
|
-
var province = record["".concat(_this.id, "_interceptProvince")];
|
|
32
|
-
var city = record["".concat(_this.id, "_interceptCity")];
|
|
33
|
-
var district = record["".concat(_this.id, "_interceptDistrict")];
|
|
34
|
-
var detail = record["".concat(_this.id, "_interceptDetail")];
|
|
35
|
-
var name = record["".concat(_this.originId, "_interceptReceiverName")];
|
|
36
|
-
var mobile = record["".concat(_this.originId, "_interceptReceiverMobile")];
|
|
37
|
-
var addressText = (_ref = [province, city, district]) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
|
|
38
|
-
return _this.addressDateInstance.getNameByCode(suffix);
|
|
39
|
-
}).join("");
|
|
40
|
-
var hasValue = addressText || detail || name || mobile;
|
|
41
|
-
return hasValue ? /*#__PURE__*/React.createElement("div", null, [addressText, detail].join("/"), /*#__PURE__*/React.createElement("br", null), [name, mobile].join("/")) : null;
|
|
42
|
-
});
|
|
43
29
|
_defineProperty(this, "renderClient", function (record) {
|
|
44
|
-
var
|
|
30
|
+
var _ref;
|
|
45
31
|
var province = record["".concat(_this.originId, "_interceptProvince")];
|
|
46
32
|
var city = record["".concat(_this.originId, "_interceptCity")];
|
|
47
33
|
var district = record["".concat(_this.originId, "_interceptDistrict")];
|
|
48
34
|
var detail = record["".concat(_this.originId, "_interceptDetail")];
|
|
49
35
|
var name = record["".concat(_this.originId, "_interceptReceiverName")];
|
|
50
36
|
var mobile = record["".concat(_this.originId, "_interceptReceiverMobile")];
|
|
51
|
-
var addressText = (
|
|
37
|
+
var addressText = (_ref = [province, city, district]) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
|
|
52
38
|
return _this.addressDateInstance.getNameByCode(suffix);
|
|
53
39
|
}).join("");
|
|
54
40
|
var hasValue = addressText || detail || name || mobile;
|
|
@@ -60,7 +46,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
60
46
|
}) : null;
|
|
61
47
|
});
|
|
62
48
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
63
|
-
var
|
|
49
|
+
var _ref2;
|
|
64
50
|
var province = record["".concat(_this.originId, "_interceptProvince")];
|
|
65
51
|
var city = record["".concat(_this.originId, "_interceptCity")];
|
|
66
52
|
var district = record["".concat(_this.originId, "_interceptDistrict")];
|
|
@@ -70,20 +56,41 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
70
56
|
if (province === undefined) {
|
|
71
57
|
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
72
58
|
}
|
|
73
|
-
var addressText = (
|
|
59
|
+
var addressText = (_ref2 = [province, city, district]) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (suffix) {
|
|
74
60
|
return _this.addressDateInstance.getNameByCode(suffix);
|
|
75
61
|
}).join("");
|
|
76
62
|
return /*#__PURE__*/React.createElement("span", null, "".concat(addressText).concat(detail), /*#__PURE__*/React.createElement("br", null), "".concat(name, " ").concat(mobile));
|
|
77
63
|
});
|
|
78
64
|
_defineProperty(this, "renderLog", function (r) {
|
|
79
|
-
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id
|
|
65
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptDetail")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptReceiverName")]) && isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_interceptReceiverMobile")])) return null;
|
|
80
66
|
return _this.renderPc(undefined, r);
|
|
81
67
|
});
|
|
82
68
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
83
|
-
return {
|
|
69
|
+
return {
|
|
70
|
+
province: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptProvince")],
|
|
71
|
+
city: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptCity")],
|
|
72
|
+
district: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptDistrict")],
|
|
73
|
+
detail: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptDetail")],
|
|
74
|
+
name: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptReceiverName")],
|
|
75
|
+
mobile: r === null || r === void 0 ? void 0 : r["".concat(_this.originId, "_interceptReceiverMobile")]
|
|
76
|
+
};
|
|
84
77
|
});
|
|
85
78
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
86
|
-
|
|
79
|
+
var _ref3;
|
|
80
|
+
var _this$getComponentVal = _this.getComponentValue(record),
|
|
81
|
+
province = _this$getComponentVal.province,
|
|
82
|
+
city = _this$getComponentVal.city,
|
|
83
|
+
district = _this$getComponentVal.district,
|
|
84
|
+
detail = _this$getComponentVal.detail,
|
|
85
|
+
name = _this$getComponentVal.name,
|
|
86
|
+
mobile = _this$getComponentVal.mobile;
|
|
87
|
+
if ([province, detail, name, mobile].every(function (item) {
|
|
88
|
+
return isNull(item);
|
|
89
|
+
})) return null;
|
|
90
|
+
var addressText = (_ref3 = [province, city, district]) === null || _ref3 === void 0 ? void 0 : _ref3.map(function (suffix) {
|
|
91
|
+
return _this.addressDateInstance.getNameByCode(suffix);
|
|
92
|
+
}).join("");
|
|
93
|
+
return "".concat(addressText).concat(detail, " ").concat(name).concat(mobile);
|
|
87
94
|
});
|
|
88
95
|
_defineProperty(this, "editRender", function () {
|
|
89
96
|
var _this$componentConfig, _this$componentConfig2;
|
|
@@ -95,7 +102,7 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
|
|
|
95
102
|
component: /*#__PURE__*/React.createElement(ApaasInput, _this.componentConfig)
|
|
96
103
|
});
|
|
97
104
|
});
|
|
98
|
-
_defineProperty(this, "filterConfig", function (
|
|
105
|
+
_defineProperty(this, "filterConfig", function () {
|
|
99
106
|
return [];
|
|
100
107
|
});
|
|
101
108
|
this.name = "新派送地";
|
|
@@ -15,13 +15,18 @@ declare class InterceptStatus implements ComponentInterface {
|
|
|
15
15
|
children: ComponentInterface[];
|
|
16
16
|
expressInterceptInstance: ExpressInterceptData;
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
-
render: (value: any, record: any) => JSX.Element;
|
|
19
18
|
getComponentValue: (r: Record) => any;
|
|
20
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
21
20
|
renderPc: (value: any, record: Record) => any;
|
|
22
21
|
renderLog: (r: Record) => any;
|
|
23
22
|
renderExport: (value: any, record: Record) => any;
|
|
24
23
|
editRender: () => null;
|
|
25
|
-
filterConfig: (item: ColumnConfig) =>
|
|
24
|
+
filterConfig: (item: ColumnConfig) => {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
filterComponentType: "MultipleSelect";
|
|
28
|
+
options: any[];
|
|
29
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
30
|
+
};
|
|
26
31
|
}
|
|
27
32
|
export default InterceptStatus;
|
|
@@ -7,7 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
7
7
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
8
|
import React from "react";
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
|
-
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
10
|
+
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
12
|
var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options) {
|
|
13
13
|
var _this = this;
|
|
@@ -24,36 +24,45 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
|
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
25
|
_defineProperty(this, "children", void 0);
|
|
26
26
|
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
27
|
-
_defineProperty(this, "render", function (value, record) {
|
|
28
|
-
return /*#__PURE__*/React.createElement("span", null, "TODO");
|
|
29
|
-
});
|
|
30
27
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
31
28
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
32
29
|
});
|
|
33
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
31
|
+
var _this$expressIntercep;
|
|
34
32
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
35
33
|
id: _this.id,
|
|
36
34
|
label: _this.name,
|
|
37
|
-
value: _this.expressInterceptInstance.getStatusNameMap()
|
|
35
|
+
value: (_this$expressIntercep = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]
|
|
38
36
|
}) : null;
|
|
39
37
|
});
|
|
40
38
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
41
|
-
var _this$
|
|
42
|
-
return (_this$
|
|
39
|
+
var _this$expressIntercep2, _this$expressIntercep3;
|
|
40
|
+
return (_this$expressIntercep2 = (_this$expressIntercep3 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep3 === void 0 ? void 0 : _this$expressIntercep3["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep2 !== void 0 ? _this$expressIntercep2 : "--";
|
|
43
41
|
});
|
|
44
42
|
_defineProperty(this, "renderLog", function (r) {
|
|
45
|
-
var _this$
|
|
46
|
-
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id
|
|
47
|
-
return (_this$
|
|
43
|
+
var _this$expressIntercep4;
|
|
44
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
45
|
+
return (_this$expressIntercep4 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep4 === void 0 ? void 0 : _this$expressIntercep4[r === null || r === void 0 ? void 0 : r["".concat(_this.id)]];
|
|
48
46
|
});
|
|
49
47
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
50
|
-
|
|
48
|
+
var _this$expressIntercep5, _this$expressIntercep6;
|
|
49
|
+
return (_this$expressIntercep5 = (_this$expressIntercep6 = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep6 === void 0 ? void 0 : _this$expressIntercep6["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep5 !== void 0 ? _this$expressIntercep5 : "--";
|
|
51
50
|
});
|
|
52
51
|
_defineProperty(this, "editRender", function () {
|
|
53
52
|
return null;
|
|
54
53
|
});
|
|
55
54
|
_defineProperty(this, "filterConfig", function (item) {
|
|
56
|
-
return
|
|
55
|
+
return {
|
|
56
|
+
id: item.id,
|
|
57
|
+
name: "".concat(item.name, "-\u62E6\u622A\u72B6\u6001"),
|
|
58
|
+
filterComponentType: 'MultipleSelect',
|
|
59
|
+
options: _this.expressInterceptInstance.getExpressData() || [],
|
|
60
|
+
filterFn: function filterFn(value) {
|
|
61
|
+
return function (i) {
|
|
62
|
+
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id));
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
};
|
|
57
66
|
});
|
|
58
67
|
this.name = "拦截状态";
|
|
59
68
|
this.id = "".concat(options.id, "_interceptStatus");
|
|
@@ -13,15 +13,20 @@ declare class InterceptType implements ComponentInterface {
|
|
|
13
13
|
width: number;
|
|
14
14
|
isCombinationComponent: boolean;
|
|
15
15
|
children: ComponentInterface[];
|
|
16
|
-
|
|
16
|
+
expressInterceptInstance: ExpressInterceptData;
|
|
17
17
|
constructor(options: PickOption);
|
|
18
|
-
render: (value: any, record: any) => JSX.Element;
|
|
19
18
|
getComponentValue: (r: Record) => any;
|
|
20
19
|
renderClient: (record: any) => JSX.Element | null;
|
|
21
20
|
renderPc: (value: any, record: Record) => any;
|
|
22
21
|
renderLog: (r: Record) => any;
|
|
23
22
|
renderExport: (value: any, record: Record) => any;
|
|
24
23
|
editRender: () => null;
|
|
25
|
-
filterConfig: (item: ColumnConfig) =>
|
|
24
|
+
filterConfig: (item: ColumnConfig) => {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
filterComponentType: "MultipleSelect";
|
|
28
|
+
options: any[];
|
|
29
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
30
|
+
};
|
|
26
31
|
}
|
|
27
32
|
export default InterceptType;
|
|
@@ -7,7 +7,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
7
7
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
8
|
import React from "react";
|
|
9
9
|
import ItemView from "../../commonComponents/ItemView";
|
|
10
|
-
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
10
|
+
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
12
12
|
var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
13
13
|
var _this = this;
|
|
@@ -23,36 +23,46 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
23
23
|
_defineProperty(this, "width", void 0);
|
|
24
24
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
25
25
|
_defineProperty(this, "children", void 0);
|
|
26
|
-
_defineProperty(this, "
|
|
27
|
-
_defineProperty(this, "render", function (value, record) {
|
|
28
|
-
return /*#__PURE__*/React.createElement("span", null, "TODO");
|
|
29
|
-
});
|
|
26
|
+
_defineProperty(this, "expressInterceptInstance", void 0);
|
|
30
27
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
31
28
|
return r === null || r === void 0 ? void 0 : r[_this.id];
|
|
32
29
|
});
|
|
33
30
|
_defineProperty(this, "renderClient", function (record) {
|
|
31
|
+
var _this$expressIntercep;
|
|
34
32
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
35
33
|
id: _this.id,
|
|
36
34
|
label: _this.name,
|
|
37
|
-
value: _this.
|
|
35
|
+
value: (_this$expressIntercep = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]
|
|
38
36
|
}) : null;
|
|
39
37
|
});
|
|
40
38
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
41
|
-
var _this$
|
|
42
|
-
return (_this$
|
|
39
|
+
var _this$expressIntercep2;
|
|
40
|
+
return (_this$expressIntercep2 = _this.expressInterceptInstance.getTypeNameMap()["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep2 !== void 0 ? _this$expressIntercep2 : "--";
|
|
43
41
|
});
|
|
44
42
|
_defineProperty(this, "renderLog", function (r) {
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
var _this$expressIntercep3;
|
|
44
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
|
|
45
|
+
return (_this$expressIntercep3 = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep3 === void 0 ? void 0 : _this$expressIntercep3[r === null || r === void 0 ? void 0 : r["".concat(_this.id)]];
|
|
47
46
|
});
|
|
48
47
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
49
|
-
|
|
48
|
+
var _this$expressIntercep4, _this$expressIntercep5;
|
|
49
|
+
return (_this$expressIntercep4 = (_this$expressIntercep5 = _this.expressInterceptInstance.getTypeNameMap()) === null || _this$expressIntercep5 === void 0 ? void 0 : _this$expressIntercep5["".concat(record === null || record === void 0 ? void 0 : record[_this.id])]) !== null && _this$expressIntercep4 !== void 0 ? _this$expressIntercep4 : "--";
|
|
50
50
|
});
|
|
51
51
|
_defineProperty(this, "editRender", function () {
|
|
52
52
|
return null;
|
|
53
53
|
});
|
|
54
54
|
_defineProperty(this, "filterConfig", function (item) {
|
|
55
|
-
return
|
|
55
|
+
return {
|
|
56
|
+
id: item.id,
|
|
57
|
+
name: "".concat(item.name, "-\u62E6\u622A\u7C7B\u578B"),
|
|
58
|
+
filterComponentType: 'MultipleSelect',
|
|
59
|
+
options: _this.expressInterceptInstance.getExpressData() || [],
|
|
60
|
+
filterFn: function filterFn(value) {
|
|
61
|
+
return function (i) {
|
|
62
|
+
return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id));
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
};
|
|
56
66
|
});
|
|
57
67
|
this.name = "拦截类型";
|
|
58
68
|
this.id = "".concat(options.id, "_interceptType");
|
|
@@ -65,6 +75,6 @@ var InterceptType = /*#__PURE__*/_createClass(function InterceptType(options) {
|
|
|
65
75
|
this.isCombinationComponent = false;
|
|
66
76
|
this.children = [];
|
|
67
77
|
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
68
|
-
this.
|
|
78
|
+
this.expressInterceptInstance = ExpressInterceptData.getInstance();
|
|
69
79
|
});
|
|
70
80
|
export default InterceptType;
|
|
@@ -23,7 +23,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
23
23
|
expressInterceptData: ExpressInterceptData;
|
|
24
24
|
effects: ComponentInterface["effects"];
|
|
25
25
|
constructor(options: PickOption);
|
|
26
|
-
render: () => null;
|
|
27
26
|
renderClient: (record: any) => JSX.Element;
|
|
28
27
|
renderLog: (record: any) => JSX.Element;
|
|
29
28
|
getComponentValue: (r: Record) => {
|
|
@@ -31,10 +30,29 @@ declare class Logistics implements ComponentInterface {
|
|
|
31
30
|
interceptCode: any;
|
|
32
31
|
interceptType: any;
|
|
33
32
|
interceptStatus: any;
|
|
33
|
+
interceptRedirectTo: {
|
|
34
|
+
province: any;
|
|
35
|
+
city: any;
|
|
36
|
+
district: any;
|
|
37
|
+
detail: any;
|
|
38
|
+
name: any;
|
|
39
|
+
mobile: any;
|
|
40
|
+
};
|
|
34
41
|
};
|
|
35
42
|
renderPc: () => null;
|
|
36
43
|
renderExport: () => null;
|
|
37
|
-
editRender: (
|
|
38
|
-
filterConfig: (item: ColumnConfig) =>
|
|
44
|
+
editRender: () => JSX.Element;
|
|
45
|
+
filterConfig: (item: ColumnConfig) => ({
|
|
46
|
+
id: string;
|
|
47
|
+
name: string;
|
|
48
|
+
filterComponentType: "MultipleSelect";
|
|
49
|
+
options: any[];
|
|
50
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
51
|
+
} | {
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
filterComponentType: "Input";
|
|
55
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
56
|
+
})[];
|
|
39
57
|
}
|
|
40
58
|
export default Logistics;
|