@fle-ui/plus-table 1.2.21-beta.0 → 1.2.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/README.md +18 -18
- package/es/FormSearch/index.less +59 -59
- package/es/index.d.ts +2 -0
- package/es/index.js +34 -68
- package/es/index.less +107 -107
- package/es/json/columnKeys.d.ts +15 -0
- package/es/json/columnKeys.js +198 -0
- package/lib/FormSearch/index.less +59 -59
- package/lib/index.d.ts +2 -0
- package/lib/index.js +34 -64
- package/lib/index.less +107 -107
- package/lib/json/columnKeys.d.ts +15 -0
- package/lib/json/columnKeys.js +204 -0
- package/package.json +2 -2
package/lib/index.less
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
@primar-color: #2c68ff;
|
|
2
|
-
|
|
3
|
-
.choose-site-goods-modal {
|
|
4
|
-
.ww-search {
|
|
5
|
-
background-color: #fafafa;
|
|
6
|
-
padding: 20px;
|
|
7
|
-
.ww-search-flex {
|
|
8
|
-
width: 100%;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
.ww-search-range-input {
|
|
13
|
-
flex: 1;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.main-search {
|
|
20
|
-
display: flex;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
margin-bottom: 16px;
|
|
23
|
-
position: relative;
|
|
24
|
-
.choose-more-btn {
|
|
25
|
-
position: absolute;
|
|
26
|
-
right: 0px;
|
|
27
|
-
top: 0px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.search-2 {
|
|
31
|
-
.sort-item {
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
.sort-item-label {
|
|
35
|
-
font-size: 12px;
|
|
36
|
-
}
|
|
37
|
-
.sort-item-icon {
|
|
38
|
-
font-size: 10px;
|
|
39
|
-
margin-left: 4px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
.ant-radio-button-wrapper {
|
|
43
|
-
padding: 0 10px !important;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
.table-goods-wrap {
|
|
47
|
-
display: flex;
|
|
48
|
-
|
|
49
|
-
.table-goods-img-wrap {
|
|
50
|
-
width: 60px;
|
|
51
|
-
height: 60px;
|
|
52
|
-
background: #ffffff;
|
|
53
|
-
border-radius: 1px;
|
|
54
|
-
border: 1px solid #cccccc;
|
|
55
|
-
box-sizing: border-box;
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
.pro-image {
|
|
60
|
-
width: 100%;
|
|
61
|
-
height: 100%;
|
|
62
|
-
object-fit: cover;
|
|
63
|
-
.ant-image {
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.table-goods-content {
|
|
71
|
-
margin-left: 10px;
|
|
72
|
-
flex: 1;
|
|
73
|
-
|
|
74
|
-
.table-goods-content-title {
|
|
75
|
-
height: 34px;
|
|
76
|
-
font-size: 12px;
|
|
77
|
-
font-weight: 500;
|
|
78
|
-
color: #666666;
|
|
79
|
-
line-height: 17px;
|
|
80
|
-
text-overflow: -o-ellipsis-lastline;
|
|
81
|
-
overflow: hidden;
|
|
82
|
-
text-overflow: ellipsis;
|
|
83
|
-
display: -webkit-box;
|
|
84
|
-
-webkit-line-clamp: 2;
|
|
85
|
-
line-clamp: 2;
|
|
86
|
-
-webkit-box-orient: vertical;
|
|
87
|
-
text-align: left;
|
|
88
|
-
// color: @primary-color;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.table-goods-content-sub-title {
|
|
92
|
-
text-align: left;
|
|
93
|
-
height: 17px;
|
|
94
|
-
font-size: 12px;
|
|
95
|
-
font-weight: 400;
|
|
96
|
-
color: #666666;
|
|
97
|
-
overflow: hidden;
|
|
98
|
-
text-overflow: ellipsis;
|
|
99
|
-
white-space: nowrap;
|
|
100
|
-
margin-top: 9px;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.ml-3 {
|
|
105
|
-
margin-left: 3px;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
1
|
+
@primar-color: #2c68ff;
|
|
2
|
+
|
|
3
|
+
.choose-site-goods-modal {
|
|
4
|
+
.ww-search {
|
|
5
|
+
background-color: #fafafa;
|
|
6
|
+
padding: 20px;
|
|
7
|
+
.ww-search-flex {
|
|
8
|
+
width: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
.ww-search-range-input {
|
|
13
|
+
flex: 1;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.main-search {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
margin-bottom: 16px;
|
|
23
|
+
position: relative;
|
|
24
|
+
.choose-more-btn {
|
|
25
|
+
position: absolute;
|
|
26
|
+
right: 0px;
|
|
27
|
+
top: 0px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.search-2 {
|
|
31
|
+
.sort-item {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
.sort-item-label {
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
}
|
|
37
|
+
.sort-item-icon {
|
|
38
|
+
font-size: 10px;
|
|
39
|
+
margin-left: 4px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.ant-radio-button-wrapper {
|
|
43
|
+
padding: 0 10px !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.table-goods-wrap {
|
|
47
|
+
display: flex;
|
|
48
|
+
|
|
49
|
+
.table-goods-img-wrap {
|
|
50
|
+
width: 60px;
|
|
51
|
+
height: 60px;
|
|
52
|
+
background: #ffffff;
|
|
53
|
+
border-radius: 1px;
|
|
54
|
+
border: 1px solid #cccccc;
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
.pro-image {
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 100%;
|
|
62
|
+
object-fit: cover;
|
|
63
|
+
.ant-image {
|
|
64
|
+
width: 100%;
|
|
65
|
+
height: 100%;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.table-goods-content {
|
|
71
|
+
margin-left: 10px;
|
|
72
|
+
flex: 1;
|
|
73
|
+
|
|
74
|
+
.table-goods-content-title {
|
|
75
|
+
height: 34px;
|
|
76
|
+
font-size: 12px;
|
|
77
|
+
font-weight: 500;
|
|
78
|
+
color: #666666;
|
|
79
|
+
line-height: 17px;
|
|
80
|
+
text-overflow: -o-ellipsis-lastline;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
text-overflow: ellipsis;
|
|
83
|
+
display: -webkit-box;
|
|
84
|
+
-webkit-line-clamp: 2;
|
|
85
|
+
line-clamp: 2;
|
|
86
|
+
-webkit-box-orient: vertical;
|
|
87
|
+
text-align: left;
|
|
88
|
+
// color: @primary-color;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.table-goods-content-sub-title {
|
|
92
|
+
text-align: left;
|
|
93
|
+
height: 17px;
|
|
94
|
+
font-size: 12px;
|
|
95
|
+
font-weight: 400;
|
|
96
|
+
color: #666666;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
text-overflow: ellipsis;
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
margin-top: 9px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
.ml-3 {
|
|
105
|
+
margin-left: 3px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
success: boolean;
|
|
3
|
+
code: string;
|
|
4
|
+
message: null;
|
|
5
|
+
data: {
|
|
6
|
+
id: number;
|
|
7
|
+
title: string;
|
|
8
|
+
field: string;
|
|
9
|
+
sort: number;
|
|
10
|
+
hideInTable: number;
|
|
11
|
+
fixed: number;
|
|
12
|
+
disabled: number;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = exports.default = {
|
|
8
|
+
success: true,
|
|
9
|
+
code: '2000',
|
|
10
|
+
message: null,
|
|
11
|
+
data: [{
|
|
12
|
+
id: 12966348,
|
|
13
|
+
title: '商品编码',
|
|
14
|
+
field: 'goodsNumber',
|
|
15
|
+
sort: 0,
|
|
16
|
+
hideInTable: 0,
|
|
17
|
+
fixed: 1,
|
|
18
|
+
disabled: 1
|
|
19
|
+
}, {
|
|
20
|
+
id: 12966347,
|
|
21
|
+
title: '商品名称',
|
|
22
|
+
field: 'mainImage,name',
|
|
23
|
+
sort: 1,
|
|
24
|
+
hideInTable: 0,
|
|
25
|
+
fixed: 1,
|
|
26
|
+
disabled: 1
|
|
27
|
+
}, {
|
|
28
|
+
id: 12966344,
|
|
29
|
+
title: '销售类型',
|
|
30
|
+
field: 'isOnce,isPurchase',
|
|
31
|
+
sort: 2,
|
|
32
|
+
hideInTable: 0,
|
|
33
|
+
fixed: 0,
|
|
34
|
+
disabled: 1
|
|
35
|
+
}, {
|
|
36
|
+
id: 12966343,
|
|
37
|
+
title: '商品分类',
|
|
38
|
+
field: 'flagCategoryInfo',
|
|
39
|
+
sort: 3,
|
|
40
|
+
hideInTable: 0,
|
|
41
|
+
fixed: 0,
|
|
42
|
+
disabled: 1
|
|
43
|
+
}, {
|
|
44
|
+
id: 12966346,
|
|
45
|
+
title: '创建者',
|
|
46
|
+
field: 'userNickname',
|
|
47
|
+
sort: 4,
|
|
48
|
+
hideInTable: 0,
|
|
49
|
+
fixed: 0,
|
|
50
|
+
disabled: 0
|
|
51
|
+
}, {
|
|
52
|
+
id: 12966345,
|
|
53
|
+
title: '现货库存',
|
|
54
|
+
field: 'stock',
|
|
55
|
+
sort: 5,
|
|
56
|
+
hideInTable: 0,
|
|
57
|
+
fixed: 0,
|
|
58
|
+
disabled: 0
|
|
59
|
+
}, {
|
|
60
|
+
id: 12966330,
|
|
61
|
+
title: '挑选',
|
|
62
|
+
field: 'selfCheckStatus',
|
|
63
|
+
sort: 6,
|
|
64
|
+
hideInTable: 0,
|
|
65
|
+
fixed: 0,
|
|
66
|
+
disabled: 0
|
|
67
|
+
}, {
|
|
68
|
+
id: 12966329,
|
|
69
|
+
title: '商品品牌',
|
|
70
|
+
field: 'brandName',
|
|
71
|
+
sort: 7,
|
|
72
|
+
hideInTable: 0,
|
|
73
|
+
fixed: 0,
|
|
74
|
+
disabled: 0
|
|
75
|
+
}, {
|
|
76
|
+
id: 12966332,
|
|
77
|
+
title: '发票类型',
|
|
78
|
+
field: 'invoiceType',
|
|
79
|
+
sort: 8,
|
|
80
|
+
hideInTable: 0,
|
|
81
|
+
fixed: 0,
|
|
82
|
+
disabled: 0
|
|
83
|
+
}, {
|
|
84
|
+
id: 12966331,
|
|
85
|
+
title: '商品描述',
|
|
86
|
+
field: 'description',
|
|
87
|
+
sort: 9,
|
|
88
|
+
hideInTable: 1,
|
|
89
|
+
fixed: 1,
|
|
90
|
+
disabled: 0
|
|
91
|
+
}, {
|
|
92
|
+
id: 12966326,
|
|
93
|
+
title: '商品单位',
|
|
94
|
+
field: 'unit',
|
|
95
|
+
sort: 10,
|
|
96
|
+
hideInTable: 0,
|
|
97
|
+
fixed: 0,
|
|
98
|
+
disabled: 0
|
|
99
|
+
}, {
|
|
100
|
+
id: 12966325,
|
|
101
|
+
title: '商品标签',
|
|
102
|
+
field: 'flagTagsList',
|
|
103
|
+
sort: 11,
|
|
104
|
+
hideInTable: 0,
|
|
105
|
+
fixed: 0,
|
|
106
|
+
disabled: 0
|
|
107
|
+
}, {
|
|
108
|
+
id: 12966328,
|
|
109
|
+
title: '适用行业',
|
|
110
|
+
field: 'flagIndustryList',
|
|
111
|
+
sort: 12,
|
|
112
|
+
hideInTable: 1,
|
|
113
|
+
fixed: 0,
|
|
114
|
+
disabled: 0
|
|
115
|
+
}, {
|
|
116
|
+
id: 12966327,
|
|
117
|
+
title: '适用场景',
|
|
118
|
+
field: 'flagSceneList',
|
|
119
|
+
sort: 13,
|
|
120
|
+
hideInTable: 1,
|
|
121
|
+
fixed: 0,
|
|
122
|
+
disabled: 0
|
|
123
|
+
}, {
|
|
124
|
+
id: 12966338,
|
|
125
|
+
title: '箱规',
|
|
126
|
+
field: 'boxNumber',
|
|
127
|
+
sort: 14,
|
|
128
|
+
hideInTable: 1,
|
|
129
|
+
fixed: 0,
|
|
130
|
+
disabled: 0
|
|
131
|
+
}, {
|
|
132
|
+
id: 12966337,
|
|
133
|
+
title: '计量单位',
|
|
134
|
+
field: 'measureUnit',
|
|
135
|
+
sort: 15,
|
|
136
|
+
hideInTable: 1,
|
|
137
|
+
fixed: 0,
|
|
138
|
+
disabled: 0
|
|
139
|
+
}, {
|
|
140
|
+
id: 12966340,
|
|
141
|
+
title: '(集采销售)是否含税',
|
|
142
|
+
field: 'purchase.isContainsTax',
|
|
143
|
+
sort: 16,
|
|
144
|
+
hideInTable: 1,
|
|
145
|
+
fixed: 0,
|
|
146
|
+
disabled: 0
|
|
147
|
+
}, {
|
|
148
|
+
id: 12966339,
|
|
149
|
+
title: '集采批发价格',
|
|
150
|
+
field: 'purchase.purchasePriceTaxMin,purchase.purchasePriceTaxMax',
|
|
151
|
+
sort: 17,
|
|
152
|
+
hideInTable: 0,
|
|
153
|
+
fixed: 0,
|
|
154
|
+
disabled: 0
|
|
155
|
+
}, {
|
|
156
|
+
id: 12966334,
|
|
157
|
+
title: '(一件代发销售)是否含税',
|
|
158
|
+
field: 'once.isContainsTax',
|
|
159
|
+
sort: 18,
|
|
160
|
+
hideInTable: 1,
|
|
161
|
+
fixed: 0,
|
|
162
|
+
disabled: 0
|
|
163
|
+
}, {
|
|
164
|
+
id: 12966333,
|
|
165
|
+
title: '一件代发价格',
|
|
166
|
+
field: 'once.purchasePriceTaxMin,once.purchasePriceTaxMax',
|
|
167
|
+
sort: 19,
|
|
168
|
+
hideInTable: 0,
|
|
169
|
+
fixed: 0,
|
|
170
|
+
disabled: 0
|
|
171
|
+
}, {
|
|
172
|
+
id: 12966336,
|
|
173
|
+
title: '是否支持7天无理由退货',
|
|
174
|
+
field: 'isAfterSales',
|
|
175
|
+
sort: 20,
|
|
176
|
+
hideInTable: 1,
|
|
177
|
+
fixed: 0,
|
|
178
|
+
disabled: 0
|
|
179
|
+
}, {
|
|
180
|
+
id: 12966335,
|
|
181
|
+
title: '上架时间',
|
|
182
|
+
field: 'selfPutawayTime',
|
|
183
|
+
sort: 21,
|
|
184
|
+
hideInTable: 1,
|
|
185
|
+
fixed: 0,
|
|
186
|
+
disabled: 0
|
|
187
|
+
}, {
|
|
188
|
+
id: 12966342,
|
|
189
|
+
title: '创建时间',
|
|
190
|
+
field: 'createTime',
|
|
191
|
+
sort: 22,
|
|
192
|
+
hideInTable: 1,
|
|
193
|
+
fixed: 0,
|
|
194
|
+
disabled: 0
|
|
195
|
+
}, {
|
|
196
|
+
id: 12966341,
|
|
197
|
+
title: '操作',
|
|
198
|
+
field: 'option',
|
|
199
|
+
sort: 23,
|
|
200
|
+
hideInTable: 0,
|
|
201
|
+
fixed: 2,
|
|
202
|
+
disabled: 1
|
|
203
|
+
}]
|
|
204
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fle-ui/plus-table",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.22",
|
|
4
4
|
"description": "@fle-ui/plus-table",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fle-ui",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@ant-design/pro-components": "^2.7.0",
|
|
47
47
|
"dayjs": "^1.11.10"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "e5c3642fbf11e8311345a851eacdfbf1f7528c19"
|
|
50
50
|
}
|