@kmkf-fe-packages/basic-components 1.22.1-beta.63 → 1.22.1-beta.64
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/index.esm.js +5 -122
- package/dist/index.js +4 -121
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, messag
|
|
|
3
3
|
import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } from '@ant-design/icons';
|
|
4
4
|
import request, { extend as extend$1 } from 'umi-request';
|
|
5
5
|
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
6
|
-
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterKmOrders, KM_SYSTEM_ORDER_CONFIG,
|
|
6
|
+
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterKmOrders, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, msgTypeCh } from '@kmkf-fe-packages/kmkf-utils';
|
|
7
7
|
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, cloneDeep, difference, differenceWith, takeRight, reject, isEmpty, intersection, uniqBy } from 'lodash';
|
|
8
8
|
import { useUpdateEffect, useDebounceEffect, useAntdTable } from 'ahooks';
|
|
9
9
|
import zhCN from 'antd/lib/locale/zh_CN';
|
|
@@ -15476,128 +15476,11 @@ var kmUtils = {
|
|
|
15476
15476
|
};
|
|
15477
15477
|
|
|
15478
15478
|
var columnsMap = {
|
|
15479
|
-
BS_SYSTEM_ORDER:
|
|
15480
|
-
title: '单据类型',
|
|
15481
|
-
dataIndex: 'billType',
|
|
15482
|
-
width: 150
|
|
15483
|
-
}, {
|
|
15484
|
-
title: '系统订单号',
|
|
15485
|
-
dataIndex: 'billNo',
|
|
15486
|
-
width: 150
|
|
15487
|
-
}, {
|
|
15488
|
-
title: '标签',
|
|
15489
|
-
dataIndex: 'billTag',
|
|
15490
|
-
width: 150
|
|
15491
|
-
}, {
|
|
15492
|
-
title: '主播名称',
|
|
15493
|
-
dataIndex: 'authorName',
|
|
15494
|
-
width: 150
|
|
15495
|
-
}, {
|
|
15496
|
-
title: '主播ID',
|
|
15497
|
-
dataIndex: 'authorId',
|
|
15498
|
-
width: 150
|
|
15499
|
-
}
|
|
15500
|
-
// {
|
|
15501
|
-
// title: '直播活动',
|
|
15502
|
-
// dataIndex: 'liveActivites',
|
|
15503
|
-
// width: 150,
|
|
15504
|
-
// },
|
|
15505
|
-
],
|
|
15506
|
-
|
|
15479
|
+
BS_SYSTEM_ORDER: BS_SYSTEM_ORDER_CONFIG.columns,
|
|
15507
15480
|
KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
|
|
15508
|
-
WLN_SYSTEM_ORDER:
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
width: 150
|
|
15512
|
-
}, {
|
|
15513
|
-
title: '系统订单号',
|
|
15514
|
-
dataIndex: 'billNo',
|
|
15515
|
-
width: 150
|
|
15516
|
-
}, {
|
|
15517
|
-
title: '标记',
|
|
15518
|
-
dataIndex: 'billTag',
|
|
15519
|
-
width: 150
|
|
15520
|
-
}],
|
|
15521
|
-
WDT_SYSTEM_ORDER: [{
|
|
15522
|
-
title: '订单类型',
|
|
15523
|
-
dataIndex: 'billType',
|
|
15524
|
-
width: 150
|
|
15525
|
-
}, {
|
|
15526
|
-
title: '系统订单号',
|
|
15527
|
-
dataIndex: 'billNo',
|
|
15528
|
-
width: 150
|
|
15529
|
-
}, {
|
|
15530
|
-
title: '订单标签',
|
|
15531
|
-
dataIndex: 'billTag',
|
|
15532
|
-
width: 150
|
|
15533
|
-
}],
|
|
15534
|
-
BS_E3_SYSTEM_ORDER: [{
|
|
15535
|
-
title: '系统订单号',
|
|
15536
|
-
dataIndex: 'orderSn',
|
|
15537
|
-
width: 150,
|
|
15538
|
-
ellipsis: true
|
|
15539
|
-
}, {
|
|
15540
|
-
title: '订单状态',
|
|
15541
|
-
dataIndex: 'orderStatus',
|
|
15542
|
-
width: 100,
|
|
15543
|
-
ellipsis: true,
|
|
15544
|
-
render: function render(val) {
|
|
15545
|
-
return /*#__PURE__*/React.createElement("span", null, BS_E3_ORDER_STATUS_MAP[val] || val);
|
|
15546
|
-
}
|
|
15547
|
-
}, {
|
|
15548
|
-
title: '是否被拆分',
|
|
15549
|
-
dataIndex: 'isSplit',
|
|
15550
|
-
width: 100,
|
|
15551
|
-
ellipsis: true,
|
|
15552
|
-
render: function render(val) {
|
|
15553
|
-
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15554
|
-
}
|
|
15555
|
-
}, {
|
|
15556
|
-
title: '是否拆分子单',
|
|
15557
|
-
dataIndex: 'isSplitNew',
|
|
15558
|
-
width: 100,
|
|
15559
|
-
ellipsis: true,
|
|
15560
|
-
render: function render(val) {
|
|
15561
|
-
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15562
|
-
}
|
|
15563
|
-
}, {
|
|
15564
|
-
title: '是否被合并',
|
|
15565
|
-
dataIndex: 'isCombine',
|
|
15566
|
-
width: 100,
|
|
15567
|
-
ellipsis: true,
|
|
15568
|
-
render: function render(val) {
|
|
15569
|
-
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15570
|
-
}
|
|
15571
|
-
}, {
|
|
15572
|
-
title: '是否合并新单',
|
|
15573
|
-
dataIndex: 'isCombineNew',
|
|
15574
|
-
width: 100,
|
|
15575
|
-
ellipsis: true,
|
|
15576
|
-
render: function render(val) {
|
|
15577
|
-
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15578
|
-
}
|
|
15579
|
-
}, {
|
|
15580
|
-
title: '是否复制单',
|
|
15581
|
-
dataIndex: 'isCopy',
|
|
15582
|
-
width: 100,
|
|
15583
|
-
ellipsis: true,
|
|
15584
|
-
render: function render(val) {
|
|
15585
|
-
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15586
|
-
}
|
|
15587
|
-
}, {
|
|
15588
|
-
title: '是否换货单',
|
|
15589
|
-
dataIndex: 'isExchangeOrder',
|
|
15590
|
-
width: 100,
|
|
15591
|
-
ellipsis: true,
|
|
15592
|
-
render: function render(val) {
|
|
15593
|
-
return /*#__PURE__*/React.createElement("span", null, BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15594
|
-
}
|
|
15595
|
-
}, {
|
|
15596
|
-
title: '订单备注',
|
|
15597
|
-
dataIndex: 'orderMsg',
|
|
15598
|
-
width: 150,
|
|
15599
|
-
ellipsis: true
|
|
15600
|
-
}],
|
|
15481
|
+
WLN_SYSTEM_ORDER: WLN_SYSTEM_ORDER_CONFIG.columns,
|
|
15482
|
+
WDT_SYSTEM_ORDER: WDT_SYSTEM_ORDER_CONFIG.columns,
|
|
15483
|
+
BS_E3_SYSTEM_ORDER: BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
15601
15484
|
GY_SYSTEM_ORDER: GY_SYSTEM_ORDER_CONFIG.columns
|
|
15602
15485
|
};
|
|
15603
15486
|
var rowKeyMap = {
|
package/dist/index.js
CHANGED
|
@@ -15488,128 +15488,11 @@ var kmUtils = {
|
|
|
15488
15488
|
};
|
|
15489
15489
|
|
|
15490
15490
|
var columnsMap = {
|
|
15491
|
-
BS_SYSTEM_ORDER:
|
|
15492
|
-
title: '单据类型',
|
|
15493
|
-
dataIndex: 'billType',
|
|
15494
|
-
width: 150
|
|
15495
|
-
}, {
|
|
15496
|
-
title: '系统订单号',
|
|
15497
|
-
dataIndex: 'billNo',
|
|
15498
|
-
width: 150
|
|
15499
|
-
}, {
|
|
15500
|
-
title: '标签',
|
|
15501
|
-
dataIndex: 'billTag',
|
|
15502
|
-
width: 150
|
|
15503
|
-
}, {
|
|
15504
|
-
title: '主播名称',
|
|
15505
|
-
dataIndex: 'authorName',
|
|
15506
|
-
width: 150
|
|
15507
|
-
}, {
|
|
15508
|
-
title: '主播ID',
|
|
15509
|
-
dataIndex: 'authorId',
|
|
15510
|
-
width: 150
|
|
15511
|
-
}
|
|
15512
|
-
// {
|
|
15513
|
-
// title: '直播活动',
|
|
15514
|
-
// dataIndex: 'liveActivites',
|
|
15515
|
-
// width: 150,
|
|
15516
|
-
// },
|
|
15517
|
-
],
|
|
15518
|
-
|
|
15491
|
+
BS_SYSTEM_ORDER: kmkfUtils.BS_SYSTEM_ORDER_CONFIG.columns,
|
|
15519
15492
|
KM_SYSTEM_ORDER: kmkfUtils.KM_SYSTEM_ORDER_CONFIG.columns,
|
|
15520
|
-
WLN_SYSTEM_ORDER:
|
|
15521
|
-
|
|
15522
|
-
|
|
15523
|
-
width: 150
|
|
15524
|
-
}, {
|
|
15525
|
-
title: '系统订单号',
|
|
15526
|
-
dataIndex: 'billNo',
|
|
15527
|
-
width: 150
|
|
15528
|
-
}, {
|
|
15529
|
-
title: '标记',
|
|
15530
|
-
dataIndex: 'billTag',
|
|
15531
|
-
width: 150
|
|
15532
|
-
}],
|
|
15533
|
-
WDT_SYSTEM_ORDER: [{
|
|
15534
|
-
title: '订单类型',
|
|
15535
|
-
dataIndex: 'billType',
|
|
15536
|
-
width: 150
|
|
15537
|
-
}, {
|
|
15538
|
-
title: '系统订单号',
|
|
15539
|
-
dataIndex: 'billNo',
|
|
15540
|
-
width: 150
|
|
15541
|
-
}, {
|
|
15542
|
-
title: '订单标签',
|
|
15543
|
-
dataIndex: 'billTag',
|
|
15544
|
-
width: 150
|
|
15545
|
-
}],
|
|
15546
|
-
BS_E3_SYSTEM_ORDER: [{
|
|
15547
|
-
title: '系统订单号',
|
|
15548
|
-
dataIndex: 'orderSn',
|
|
15549
|
-
width: 150,
|
|
15550
|
-
ellipsis: true
|
|
15551
|
-
}, {
|
|
15552
|
-
title: '订单状态',
|
|
15553
|
-
dataIndex: 'orderStatus',
|
|
15554
|
-
width: 100,
|
|
15555
|
-
ellipsis: true,
|
|
15556
|
-
render: function render(val) {
|
|
15557
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, kmkfUtils.BS_E3_ORDER_STATUS_MAP[val] || val);
|
|
15558
|
-
}
|
|
15559
|
-
}, {
|
|
15560
|
-
title: '是否被拆分',
|
|
15561
|
-
dataIndex: 'isSplit',
|
|
15562
|
-
width: 100,
|
|
15563
|
-
ellipsis: true,
|
|
15564
|
-
render: function render(val) {
|
|
15565
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15566
|
-
}
|
|
15567
|
-
}, {
|
|
15568
|
-
title: '是否拆分子单',
|
|
15569
|
-
dataIndex: 'isSplitNew',
|
|
15570
|
-
width: 100,
|
|
15571
|
-
ellipsis: true,
|
|
15572
|
-
render: function render(val) {
|
|
15573
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15574
|
-
}
|
|
15575
|
-
}, {
|
|
15576
|
-
title: '是否被合并',
|
|
15577
|
-
dataIndex: 'isCombine',
|
|
15578
|
-
width: 100,
|
|
15579
|
-
ellipsis: true,
|
|
15580
|
-
render: function render(val) {
|
|
15581
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15582
|
-
}
|
|
15583
|
-
}, {
|
|
15584
|
-
title: '是否合并新单',
|
|
15585
|
-
dataIndex: 'isCombineNew',
|
|
15586
|
-
width: 100,
|
|
15587
|
-
ellipsis: true,
|
|
15588
|
-
render: function render(val) {
|
|
15589
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15590
|
-
}
|
|
15591
|
-
}, {
|
|
15592
|
-
title: '是否复制单',
|
|
15593
|
-
dataIndex: 'isCopy',
|
|
15594
|
-
width: 100,
|
|
15595
|
-
ellipsis: true,
|
|
15596
|
-
render: function render(val) {
|
|
15597
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15598
|
-
}
|
|
15599
|
-
}, {
|
|
15600
|
-
title: '是否换货单',
|
|
15601
|
-
dataIndex: 'isExchangeOrder',
|
|
15602
|
-
width: 100,
|
|
15603
|
-
ellipsis: true,
|
|
15604
|
-
render: function render(val) {
|
|
15605
|
-
return /*#__PURE__*/React__default['default'].createElement("span", null, kmkfUtils.BS_E3_BOOLEAN_STATUS_MAP[val] || val);
|
|
15606
|
-
}
|
|
15607
|
-
}, {
|
|
15608
|
-
title: '订单备注',
|
|
15609
|
-
dataIndex: 'orderMsg',
|
|
15610
|
-
width: 150,
|
|
15611
|
-
ellipsis: true
|
|
15612
|
-
}],
|
|
15493
|
+
WLN_SYSTEM_ORDER: kmkfUtils.WLN_SYSTEM_ORDER_CONFIG.columns,
|
|
15494
|
+
WDT_SYSTEM_ORDER: kmkfUtils.WDT_SYSTEM_ORDER_CONFIG.columns,
|
|
15495
|
+
BS_E3_SYSTEM_ORDER: kmkfUtils.BS_E3_SYSTEM_ORDER_CONFIG.columns,
|
|
15613
15496
|
GY_SYSTEM_ORDER: kmkfUtils.GY_SYSTEM_ORDER_CONFIG.columns
|
|
15614
15497
|
};
|
|
15615
15498
|
var rowKeyMap = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.22.1-beta.
|
|
3
|
+
"version": "1.22.1-beta.64",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "1.22.1-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "1.22.1-beta.64",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.9",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "20bdc2ce7a3e649c528f994109d8241230b10e83"
|
|
69
69
|
}
|