@bit-sun/business-component 2.0.26 → 2.0.28
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/components/Business/columnSettingTable/columnSetting.d.ts +54 -0
- package/dist/components/Business/columnSettingTable/index.d.ts +15 -0
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +16 -0
- package/dist/components/Business/columnSettingTable/utils.d.ts +8 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +6583 -6737
- package/dist/index.js +6582 -6735
- package/lib/assets/arrow_top.png +0 -0
- package/lib/assets/drag.svg +17 -0
- package/lib/assets/exportFail.svg +38 -0
- package/lib/assets/exportProcessing.svg +29 -0
- package/lib/assets/exportSuccess.svg +35 -0
- package/lib/assets/exportlogo.png +0 -0
- package/lib/assets/label_icon_bottom.svg +26 -0
- package/lib/assets/upExport.svg +23 -0
- package/package.json +61 -52
- package/src/assets/close.svg +26 -0
- package/src/assets/icon-shezhi.svg +18 -0
- package/src/components/Business/columnSettingTable/columnSetting.tsx +595 -0
- package/src/components/Business/columnSettingTable/index.less +247 -0
- package/src/components/Business/columnSettingTable/index.md +358 -0
- package/src/components/Business/columnSettingTable/index.tsx +217 -0
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +225 -0
- package/src/components/Business/columnSettingTable/utils.tsx +69 -0
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +1 -0
- package/src/components/Functional/SearchSelect/index.tsx +66 -57
- package/src/index.ts +3 -1
- package/typings.d.ts +2 -1
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
// 列自定义
|
|
2
|
+
.sort_table_wrapper {
|
|
3
|
+
.sort_table {
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
.sort_table_column_wrapper {
|
|
7
|
+
width: 560px;
|
|
8
|
+
margin-right: 10px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.sort_table_content_wrapper {
|
|
12
|
+
width: 210px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.sort_table_column_count,
|
|
16
|
+
.sort_table_content_count {
|
|
17
|
+
height: 20px;
|
|
18
|
+
font-family: PingFangSC-Regular;
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
color: #000000;
|
|
22
|
+
letter-spacing: 0;
|
|
23
|
+
|
|
24
|
+
span {
|
|
25
|
+
color: #848484;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.sort_table_column {
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
width: 560px;
|
|
32
|
+
height: 430px;
|
|
33
|
+
overflow: auto;
|
|
34
|
+
padding: 10px;
|
|
35
|
+
background: #ffffff;
|
|
36
|
+
border: 1px solid #d9d9d9;
|
|
37
|
+
border-radius: 5px;
|
|
38
|
+
|
|
39
|
+
&_all {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
|
|
44
|
+
&_empty {
|
|
45
|
+
width: 538px;
|
|
46
|
+
line-height: 360px;
|
|
47
|
+
text-align: center;
|
|
48
|
+
font-family: PingFangSC-Regular;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
color: #848484;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&_special {
|
|
56
|
+
margin-top: 40px;
|
|
57
|
+
width: 100px;
|
|
58
|
+
height: 20px;
|
|
59
|
+
font-family: PingFangSC-Regular;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
font-size: 14px;
|
|
62
|
+
color: #848484;
|
|
63
|
+
letter-spacing: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ant-checkbox-wrapper {
|
|
67
|
+
width: 144px;
|
|
68
|
+
margin-top: 16px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ant-checkbox-wrapper+.ant-checkbox-wrapper {
|
|
72
|
+
margin-left: 0px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sort_table_content {
|
|
77
|
+
margin-top: 10px;
|
|
78
|
+
padding-top: 10px;
|
|
79
|
+
padding-bottom: 10px;
|
|
80
|
+
border: 1px solid #d9d9d9;
|
|
81
|
+
border-radius: 5px;
|
|
82
|
+
|
|
83
|
+
.ant-table-wrapper {
|
|
84
|
+
padding: 0px !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.sort_table_title {
|
|
88
|
+
height: 32px;
|
|
89
|
+
line-height: 32px;
|
|
90
|
+
padding-left: 10px;
|
|
91
|
+
color: gray;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
div.ant-modal-header {
|
|
97
|
+
width: 820px;
|
|
98
|
+
height: 64px;
|
|
99
|
+
background: #ffffff;
|
|
100
|
+
padding: 20px;
|
|
101
|
+
border: 0px;
|
|
102
|
+
|
|
103
|
+
div.ant-modal-title {
|
|
104
|
+
height: 24px;
|
|
105
|
+
font-family: PingFangSC-Medium;
|
|
106
|
+
font-weight: 500;
|
|
107
|
+
font-size: 18px;
|
|
108
|
+
color: #000000;
|
|
109
|
+
letter-spacing: 0;
|
|
110
|
+
line-height: 24px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.ant-modal-body {
|
|
115
|
+
padding: 0 20px !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ant-modal-close-x {
|
|
119
|
+
height: 24px;
|
|
120
|
+
font-family: PingFangSC-Medium;
|
|
121
|
+
font-weight: 500;
|
|
122
|
+
font-size: 18px;
|
|
123
|
+
color: #000000;
|
|
124
|
+
letter-spacing: 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ant-input-affix-wrapper {
|
|
128
|
+
padding: 0px;
|
|
129
|
+
padding-right: 10px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
input {
|
|
133
|
+
height: 32px;
|
|
134
|
+
padding: 6px 4px;
|
|
135
|
+
border-radius: 5px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ant-input-prefix {
|
|
139
|
+
width: 24px;
|
|
140
|
+
height: 24px;
|
|
141
|
+
margin: 4px;
|
|
142
|
+
// border: 1px dashed #d9d9d9;
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ant-modal-footer {
|
|
148
|
+
height: 70px;
|
|
149
|
+
border: 0;
|
|
150
|
+
padding: 20px;
|
|
151
|
+
|
|
152
|
+
.ant-btn {
|
|
153
|
+
width: 80px;
|
|
154
|
+
height: 34px;
|
|
155
|
+
border-radius: 5px;
|
|
156
|
+
|
|
157
|
+
span {
|
|
158
|
+
font-family: PingFangSC-Medium;
|
|
159
|
+
font-weight: 600;
|
|
160
|
+
font-size: 14px;
|
|
161
|
+
letter-spacing: 0;
|
|
162
|
+
text-align: center;
|
|
163
|
+
line-height: 20px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:first-child {
|
|
167
|
+
margin-right: 524px;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.ant-table-wrapper::-webkit-scrollbar {
|
|
173
|
+
display: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ant-table-wrapper {
|
|
177
|
+
margin-top: 10px;
|
|
178
|
+
height: 364px;
|
|
179
|
+
overflow: scroll;
|
|
180
|
+
padding-bottom: 50px;
|
|
181
|
+
|
|
182
|
+
tr {
|
|
183
|
+
height: 36px;
|
|
184
|
+
|
|
185
|
+
td {
|
|
186
|
+
width: 24px !important;
|
|
187
|
+
height: 36px !important;
|
|
188
|
+
font-family: PingFangSC-Regular;
|
|
189
|
+
font-weight: 400;
|
|
190
|
+
font-size: 14px;
|
|
191
|
+
color: #000000;
|
|
192
|
+
letter-spacing: 0;
|
|
193
|
+
|
|
194
|
+
&:first-child {
|
|
195
|
+
padding-left: 10px !important;
|
|
196
|
+
padding-right: 0px !important;
|
|
197
|
+
width: 115px !important;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
img {
|
|
201
|
+
// border: 1px dashed #d9d9d9;
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&:not(:first-child) {
|
|
206
|
+
padding-left: 0px !important;
|
|
207
|
+
padding-right: 0px !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&:last-child {
|
|
211
|
+
padding-left: 0px !important;
|
|
212
|
+
padding-right: 3px !important;
|
|
213
|
+
width: 34px !important;
|
|
214
|
+
|
|
215
|
+
img {
|
|
216
|
+
// border: 1px dashed #d9d9d9;
|
|
217
|
+
position: relative;
|
|
218
|
+
top: 1px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.global_tab_nav_style {
|
|
227
|
+
top: 2px !important;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.row-dragging {
|
|
231
|
+
background: #fafafa;
|
|
232
|
+
border: 1px solid #ccc;
|
|
233
|
+
z-index: 10000;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.row-dragging td {
|
|
237
|
+
padding: 7px 16px;
|
|
238
|
+
display: none;
|
|
239
|
+
|
|
240
|
+
}
|
|
241
|
+
.row-dragging td:first-child {
|
|
242
|
+
display: inline-block;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.row-dragging .drag-visible {
|
|
246
|
+
visibility: visible;
|
|
247
|
+
}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav:
|
|
3
|
+
title: '组件1'
|
|
4
|
+
order: 1
|
|
5
|
+
group:
|
|
6
|
+
title: 业务组件
|
|
7
|
+
order: 1
|
|
8
|
+
title: 列设置表格
|
|
9
|
+
order: 2
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 详情页表格列设置
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## antd列设置表格
|
|
16
|
+
|
|
17
|
+
```tsx
|
|
18
|
+
import React, { useState } from 'react';
|
|
19
|
+
import { ColumnSettingTable } from '../../../index.ts';
|
|
20
|
+
|
|
21
|
+
export default () => {
|
|
22
|
+
const columns = [
|
|
23
|
+
{
|
|
24
|
+
dataIndex: 'lineNo',
|
|
25
|
+
title: '行号',
|
|
26
|
+
width: 80,
|
|
27
|
+
fixed: 'left',
|
|
28
|
+
ellipsis: {
|
|
29
|
+
showTitle: false,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
dataIndex: 'skuName',
|
|
34
|
+
title: '商品名称',
|
|
35
|
+
fixed: 'left',
|
|
36
|
+
ellipsis: {
|
|
37
|
+
showTitle: false,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
dataIndex: 'spuCode',
|
|
42
|
+
title: '商品代码',
|
|
43
|
+
fixed: 'left',
|
|
44
|
+
ellipsis: {
|
|
45
|
+
showTitle: true,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
dataIndex: 'skuCode',
|
|
50
|
+
title: 'SKU',
|
|
51
|
+
fixed: 'left',
|
|
52
|
+
ellipsis: {
|
|
53
|
+
showTitle: true,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
dataIndex: 'skuSpec',
|
|
58
|
+
title: '商品规格',
|
|
59
|
+
ellipsis: {
|
|
60
|
+
showTitle: false,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
dataIndex: 'barCode',
|
|
65
|
+
title: '条码',
|
|
66
|
+
ellipsis: {
|
|
67
|
+
showTitle: false,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
dataIndex: 'executeAmount',
|
|
72
|
+
title: '可执行数量',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
dataIndex: 'planAmount',
|
|
76
|
+
title: '数量',
|
|
77
|
+
ellipsis: {
|
|
78
|
+
showTitle: false,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
dataIndex: 'baseUnitCode',
|
|
83
|
+
title: '单位',
|
|
84
|
+
ellipsis: {
|
|
85
|
+
showTitle: false,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
dataIndex: 'completeAmount',
|
|
90
|
+
title: '累计入库数量',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
dataIndex: 'reverseNumber',
|
|
94
|
+
title: '累计退货数量',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
dataIndex: 'taxRate',
|
|
98
|
+
title: '税率',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
dataIndex: 'taxAmount',
|
|
102
|
+
title: '税额',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
dataIndex: 'standardPrice',
|
|
106
|
+
title: '标准单价',
|
|
107
|
+
},
|
|
108
|
+
]
|
|
109
|
+
const config = {
|
|
110
|
+
scroll: {
|
|
111
|
+
x: '100%',
|
|
112
|
+
},
|
|
113
|
+
rowKey: 'id',
|
|
114
|
+
dataSource: [{}, {}],
|
|
115
|
+
pagination: {
|
|
116
|
+
showTotal: (total: any) => `共 ${total} 条`,
|
|
117
|
+
showQuickJumper: true,
|
|
118
|
+
hideOnSinglePage: true,
|
|
119
|
+
current: 1,
|
|
120
|
+
pageSize: 10,
|
|
121
|
+
total: 10,
|
|
122
|
+
size: 'small'
|
|
123
|
+
},
|
|
124
|
+
rowSelection: {
|
|
125
|
+
},
|
|
126
|
+
summary: () => {
|
|
127
|
+
return {
|
|
128
|
+
diy: true,
|
|
129
|
+
cont: [
|
|
130
|
+
{
|
|
131
|
+
key: 'spuCode',
|
|
132
|
+
value: 100,
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
key: 'skuSpec',
|
|
136
|
+
value: 200,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
key: 'executeAmount',
|
|
140
|
+
value: 300,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
key: 'completeAmount',
|
|
144
|
+
value: 300,
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
key: 'taxAmount',
|
|
148
|
+
value: 300,
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
key: 'standardPrice',
|
|
152
|
+
value: 300,
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
dynamicColumns: [
|
|
158
|
+
{
|
|
159
|
+
key: 'expectTime',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
key: 'planAmount',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
key: 'price',
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
columns,
|
|
169
|
+
tableCode: 'uniquecode-1',
|
|
170
|
+
}
|
|
171
|
+
return (
|
|
172
|
+
<ColumnSettingTable
|
|
173
|
+
{
|
|
174
|
+
...config
|
|
175
|
+
}
|
|
176
|
+
/>
|
|
177
|
+
|
|
178
|
+
);
|
|
179
|
+
};
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## sula列设置表格
|
|
183
|
+
|
|
184
|
+
```tsx
|
|
185
|
+
import React, { useState } from 'react';
|
|
186
|
+
import { SulaColumnSettingTable } from '../../../index.ts';
|
|
187
|
+
|
|
188
|
+
export default () => {
|
|
189
|
+
const settingTableRef = React.useRef(null);
|
|
190
|
+
const columns = [
|
|
191
|
+
{
|
|
192
|
+
dataIndex: 'lineNo',
|
|
193
|
+
title: '行号',
|
|
194
|
+
width: 80,
|
|
195
|
+
fixed: 'left',
|
|
196
|
+
ellipsis: {
|
|
197
|
+
showTitle: false,
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
dataIndex: 'skuName',
|
|
202
|
+
title: '商品名称',
|
|
203
|
+
fixed: 'left',
|
|
204
|
+
ellipsis: {
|
|
205
|
+
showTitle: false,
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
dataIndex: 'spuCode',
|
|
210
|
+
title: '商品代码',
|
|
211
|
+
fixed: 'left',
|
|
212
|
+
ellipsis: {
|
|
213
|
+
showTitle: true,
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
dataIndex: 'skuCode',
|
|
218
|
+
title: 'SKU',
|
|
219
|
+
fixed: 'left',
|
|
220
|
+
ellipsis: {
|
|
221
|
+
showTitle: true,
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
dataIndex: 'skuSpec',
|
|
226
|
+
title: '商品规格',
|
|
227
|
+
ellipsis: {
|
|
228
|
+
showTitle: false,
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
dataIndex: 'barCode',
|
|
233
|
+
title: '条码',
|
|
234
|
+
ellipsis: {
|
|
235
|
+
showTitle: false,
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
dataIndex: 'executeAmount',
|
|
240
|
+
title: '可执行数量',
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
dataIndex: 'planAmount',
|
|
244
|
+
title: '数量',
|
|
245
|
+
ellipsis: {
|
|
246
|
+
showTitle: false,
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
dataIndex: 'baseUnitCode',
|
|
251
|
+
title: '单位',
|
|
252
|
+
ellipsis: {
|
|
253
|
+
showTitle: false,
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
dataIndex: 'completeAmount',
|
|
258
|
+
title: '累计入库数量',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
dataIndex: 'reverseNumber',
|
|
262
|
+
title: '累计退货数量',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
dataIndex: 'taxRate',
|
|
266
|
+
title: '税率',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
dataIndex: 'taxAmount',
|
|
270
|
+
title: '税额',
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
dataIndex: 'standardPrice',
|
|
274
|
+
title: '标准单价',
|
|
275
|
+
},
|
|
276
|
+
]
|
|
277
|
+
const config = {
|
|
278
|
+
modeType: 'view',
|
|
279
|
+
scroll: {
|
|
280
|
+
x: '100%',
|
|
281
|
+
},
|
|
282
|
+
rowKey: 'id',
|
|
283
|
+
initialDataSource: [{}, {}],
|
|
284
|
+
// remoteDataSource: {
|
|
285
|
+
// url: 'xxxxxx',
|
|
286
|
+
// converter: ({ data }: any) => {
|
|
287
|
+
// return {
|
|
288
|
+
// list: [{},{}],
|
|
289
|
+
// total: 2
|
|
290
|
+
// };
|
|
291
|
+
// },
|
|
292
|
+
// },
|
|
293
|
+
pagination: {
|
|
294
|
+
showTotal: (total: any) => `共 ${total} 条`,
|
|
295
|
+
showQuickJumper: true,
|
|
296
|
+
hideOnSinglePage: true,
|
|
297
|
+
current: 1,
|
|
298
|
+
pageSize: 10,
|
|
299
|
+
total: 10,
|
|
300
|
+
size: 'small'
|
|
301
|
+
},
|
|
302
|
+
rowSelection: {
|
|
303
|
+
},
|
|
304
|
+
summary: () => {
|
|
305
|
+
return {
|
|
306
|
+
diy: true,
|
|
307
|
+
cont: [
|
|
308
|
+
{
|
|
309
|
+
key: 'spuCode',
|
|
310
|
+
value: 100,
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
key: 'skuSpec',
|
|
314
|
+
value: 200,
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
key: 'executeAmount',
|
|
318
|
+
value: 300,
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
key: 'completeAmount',
|
|
322
|
+
value: 300,
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
key: 'taxAmount',
|
|
326
|
+
value: 300,
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
key: 'standardPrice',
|
|
330
|
+
value: 300,
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
dynamicColumns: [
|
|
336
|
+
{
|
|
337
|
+
key: 'expectTime',
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
key: 'planAmount',
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
key: 'price',
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
columns,
|
|
347
|
+
tableCode: 'uniquecode-1',
|
|
348
|
+
}
|
|
349
|
+
return (
|
|
350
|
+
<SulaColumnSettingTable
|
|
351
|
+
{
|
|
352
|
+
...config
|
|
353
|
+
}
|
|
354
|
+
ref={settingTableRef}
|
|
355
|
+
/>
|
|
356
|
+
);
|
|
357
|
+
};
|
|
358
|
+
```
|