@kmkf-fe-packages/services-components 1.22.1-beta.47 → 1.22.1-beta.49

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.
Files changed (34) hide show
  1. package/README.md +1 -1
  2. package/dist/esm/components/BS/BsSystemOrder/index.js +3 -2
  3. package/dist/esm/components/BS/common/BsMemo.d.ts +4 -4
  4. package/dist/esm/components/BS/common/BsMemo.js +19 -18
  5. package/dist/esm/components/BS/common/BsType.d.ts +4 -4
  6. package/dist/esm/components/BS/common/BsType.js +17 -16
  7. package/dist/esm/components/BS/common/SystemOrderNo.js +2 -1
  8. package/dist/esm/components/Common/constants/bs.d.ts +3 -0
  9. package/dist/esm/components/Common/constants/bs.js +90 -0
  10. package/dist/esm/components/Common/constants/bs_e3.d.ts +3 -0
  11. package/dist/esm/components/Common/constants/bs_e3.js +154 -0
  12. package/dist/esm/components/Common/constants/columnsBaseInfoMap.d.ts +5 -0
  13. package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +26 -0
  14. package/dist/esm/components/Common/constants/defaultColumns.d.ts +3 -0
  15. package/dist/esm/components/Common/constants/defaultColumns.js +76 -0
  16. package/dist/esm/components/Common/constants/gy.d.ts +3 -0
  17. package/dist/esm/components/Common/constants/gy.js +138 -0
  18. package/dist/esm/components/Common/constants/system.d.ts +3 -0
  19. package/dist/esm/components/Common/constants/system.js +58 -0
  20. package/dist/esm/components/Common/constants/wdt.d.ts +3 -0
  21. package/dist/esm/components/Common/constants/wdt.js +280 -0
  22. package/dist/esm/components/Common/index.js +11 -630
  23. package/dist/esm/components/CommonHeaderGood/index.js +196 -0
  24. package/dist/esm/components/GY/GyGoods/index.d.ts +33 -0
  25. package/dist/esm/components/GY/GyGoods/index.js +123 -0
  26. package/dist/esm/components/GY/GyReissue/index.d.ts +58 -0
  27. package/dist/esm/components/GY/GyReissue/index.js +188 -0
  28. package/dist/esm/components/JST/JstSendGood/index.js +18 -11
  29. package/dist/esm/components/KmErpSendGood/index.js +11 -11
  30. package/dist/esm/factory.d.ts +2 -2
  31. package/dist/esm/factory.js +7 -1
  32. package/dist/esm/index.d.ts +2 -0
  33. package/dist/esm/index.js +2 -0
  34. package/package.json +4 -4
@@ -0,0 +1,138 @@
1
+ import React from "react";
2
+ var getColumns = function getColumns() {
3
+ var data = {
4
+ //管易商品信息
5
+ GY_GOODS: [{
6
+ dataIndex: "goodName",
7
+ title: "\u5546\u54C1\u540D\u79F0",
8
+ width: 150
9
+ }, {
10
+ dataIndex: "goodShortName",
11
+ title: "\u5546\u54C1\u7B80\u79F0",
12
+ width: 150
13
+ }, {
14
+ dataIndex: "goodNo",
15
+ title: "\u5546\u54C1\u7F16\u7801",
16
+ width: 200
17
+ }, {
18
+ dataIndex: "specName",
19
+ title: "SKU\u540D\u79F0",
20
+ align: "center",
21
+ ellipsis: true,
22
+ width: 250
23
+ }, {
24
+ dataIndex: "specCode",
25
+ title: "SKU\u7F16\u7801",
26
+ align: "center",
27
+ ellipsis: true,
28
+ width: 150
29
+ }, {
30
+ dataIndex: "qty",
31
+ title: "\u6570\u91CF",
32
+ width: 100
33
+ }, {
34
+ dataIndex: "price",
35
+ title: "\u5B9E\u9645\u5355\u4EF7",
36
+ width: 150
37
+ }, {
38
+ dataIndex: "amount",
39
+ title: "\u5B9E\u9645\u91D1\u989D",
40
+ width: 150,
41
+ render: function render(_, record) {
42
+ return /*#__PURE__*/React.createElement("span", null, typeof record.qty === "number" && typeof record.price === "number" ? record.qty * record.price : "");
43
+ }
44
+ }, {
45
+ dataIndex: "originPrice",
46
+ title: "\u6807\u51C6\u5355\u4EF7",
47
+ width: 150
48
+ }, {
49
+ dataIndex: "originAmount",
50
+ title: "\u6807\u51C6\u91D1\u989D",
51
+ width: 150
52
+ }, {
53
+ dataIndex: "discountFee",
54
+ title: "\u8BA9\u5229\u91D1\u989D",
55
+ width: 150
56
+ }, {
57
+ dataIndex: "amountAfter",
58
+ title: "\u8BA9\u5229\u540E\u91D1\u989D",
59
+ width: 150
60
+ }, {
61
+ dataIndex: "cancel",
62
+ title: "\u662F\u5426\u53D6\u6D88",
63
+ width: 150,
64
+ render: function render(val) {
65
+ return /*#__PURE__*/React.createElement("span", null, +val ? "是" : "否");
66
+ }
67
+ }, {
68
+ dataIndex: "isGift",
69
+ title: "\u662F\u5426\u8D60\u54C1",
70
+ width: 150,
71
+ render: function render(val) {
72
+ return /*#__PURE__*/React.createElement("span", null, +val ? "是" : "否");
73
+ }
74
+ }, {
75
+ dataIndex: "skuNote",
76
+ title: "\u5546\u54C1\u5907\u6CE8",
77
+ width: 150
78
+ }],
79
+ //管易补发商品信息
80
+ GY_REISSUE_GOODS: [{
81
+ dataIndex: "goodName",
82
+ title: "\u5546\u54C1\u540D\u79F0",
83
+ width: 150
84
+ }, {
85
+ dataIndex: "goodShortName",
86
+ title: "\u5546\u54C1\u7B80\u79F0",
87
+ width: 150
88
+ }, {
89
+ dataIndex: "goodNo",
90
+ title: "\u5546\u54C1\u7F16\u7801",
91
+ width: 200
92
+ }, {
93
+ dataIndex: "specName",
94
+ title: "SKU\u540D\u79F0",
95
+ align: "center",
96
+ ellipsis: true,
97
+ width: 250
98
+ }, {
99
+ dataIndex: "specCode",
100
+ title: "SKU\u7F16\u7801",
101
+ align: "center",
102
+ ellipsis: true,
103
+ width: 150
104
+ }, {
105
+ dataIndex: "qty",
106
+ title: "\u6570\u91CF",
107
+ width: 100
108
+ }, {
109
+ dataIndex: "price",
110
+ title: "\u5B9E\u9645\u5355\u4EF7",
111
+ width: 150
112
+ }, {
113
+ dataIndex: "amount",
114
+ title: "\u5B9E\u9645\u91D1\u989D",
115
+ width: 150,
116
+ render: function render(_, record) {
117
+ return /*#__PURE__*/React.createElement("span", null, typeof record.qty === "number" && typeof record.price === "number" ? record.qty * record.price : "");
118
+ }
119
+ }, {
120
+ dataIndex: "originPrice",
121
+ title: "\u6807\u51C6\u5355\u4EF7",
122
+ width: 150
123
+ }, {
124
+ dataIndex: "originAmount",
125
+ title: "\u6807\u51C6\u91D1\u989D",
126
+ width: 150
127
+ }, {
128
+ dataIndex: "isGift",
129
+ title: "\u662F\u5426\u8D60\u54C1",
130
+ width: 150,
131
+ render: function render(val) {
132
+ return /*#__PURE__*/React.createElement("span", null, +val ? "是" : "否");
133
+ }
134
+ }]
135
+ };
136
+ return data;
137
+ };
138
+ export default getColumns;
@@ -0,0 +1,3 @@
1
+ import { GetColumnsBaseInfoMapFnType } from "./columnsBaseInfoMap";
2
+ declare const getColumns: GetColumnsBaseInfoMapFnType;
3
+ export default getColumns;
@@ -0,0 +1,58 @@
1
+ import React from "react";
2
+ import { Image } from "antd";
3
+ var getColumns = function getColumns() {
4
+ var data = {
5
+ //商品
6
+ ITEM_ENCODE: [{
7
+ dataIndex: "title",
8
+ title: "商品名称",
9
+ align: "center",
10
+ ellipsis: true,
11
+ width: 200
12
+ }, {
13
+ dataIndex: "outerId",
14
+ title: "商品编码",
15
+ align: "center",
16
+ ellipsis: true,
17
+ width: 140
18
+ }, {
19
+ dataIndex: "picUrl",
20
+ title: "图片",
21
+ align: "center",
22
+ ellipsis: true,
23
+ width: 100,
24
+ render: function render(val) {
25
+ return /*#__PURE__*/React.createElement(Image, {
26
+ width: 60,
27
+ src: val
28
+ });
29
+ }
30
+ }, {
31
+ dataIndex: "numIid",
32
+ title: "商品id",
33
+ align: "center",
34
+ ellipsis: true,
35
+ width: 200
36
+ }, {
37
+ dataIndex: "skuId",
38
+ title: "SKU ID",
39
+ align: "center",
40
+ ellipsis: true,
41
+ width: 200
42
+ }, {
43
+ dataIndex: "outerSkuId",
44
+ title: "SKU 编码",
45
+ align: "center",
46
+ ellipsis: true,
47
+ width: 100
48
+ }, {
49
+ dataIndex: "propertiesName",
50
+ title: "SKU 信息",
51
+ align: "center",
52
+ ellipsis: true,
53
+ width: 200
54
+ }]
55
+ };
56
+ return data;
57
+ };
58
+ export default getColumns;
@@ -0,0 +1,3 @@
1
+ import { GetColumnsBaseInfoMapFnType } from "./columnsBaseInfoMap";
2
+ declare const getColumns: GetColumnsBaseInfoMapFnType;
3
+ export default getColumns;
@@ -0,0 +1,280 @@
1
+ import React from "react";
2
+ import { Image } from "antd";
3
+ var getColumns = function getColumns(_ref) {
4
+ var _ref$text = _ref.text,
5
+ text = _ref$text === void 0 ? "" : _ref$text;
6
+ var data = {
7
+ //旺店通商品信息
8
+ WDT_GOODS: [{
9
+ dataIndex: "goodId",
10
+ title: "\u5546\u54C1ID",
11
+ align: "center",
12
+ ellipsis: true,
13
+ width: 70
14
+ }, {
15
+ dataIndex: "goodNo",
16
+ title: "\u5546\u54C1\u7F16\u7801",
17
+ align: "center",
18
+ ellipsis: true,
19
+ width: 180
20
+ }, {
21
+ dataIndex: "goodName",
22
+ title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
23
+ align: "center",
24
+ ellipsis: true,
25
+ width: 250
26
+ }, {
27
+ dataIndex: "specId",
28
+ title: "".concat(text, "SKUID"),
29
+ align: "center",
30
+ ellipsis: true,
31
+ width: 100
32
+ }, {
33
+ dataIndex: "specNo",
34
+ title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
35
+ align: "center",
36
+ ellipsis: true,
37
+ width: 180
38
+ }, {
39
+ dataIndex: "specName",
40
+ title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
41
+ align: "center",
42
+ ellipsis: true,
43
+ width: 250
44
+ }, {
45
+ dataIndex: "imgUrl",
46
+ title: "\u56FE\u7247",
47
+ align: "center",
48
+ ellipsis: true,
49
+ width: 100,
50
+ render: function render(val) {
51
+ return /*#__PURE__*/React.createElement(Image, {
52
+ width: 60,
53
+ src: val
54
+ });
55
+ }
56
+ }, {
57
+ dataIndex: "orderPrice",
58
+ title: "\u5B9E\u4ED8\u603B\u91D1\u989D",
59
+ align: "center",
60
+ ellipsis: true,
61
+ width: 100
62
+ }, {
63
+ dataIndex: "num",
64
+ title: "".concat(text, "\u6570\u91CF"),
65
+ align: "center",
66
+ ellipsis: true,
67
+ width: 100
68
+ },
69
+ // {
70
+ // dataIndex: 'actualNum',
71
+ // title: `${text}实发数量`,
72
+ // align: 'center',
73
+ // ellipsis: true,
74
+ // width: 100,
75
+ // },
76
+ {
77
+ dataIndex: "sharePrice",
78
+ title: "\u5206\u644A\u4EF7",
79
+ align: "center",
80
+ ellipsis: true,
81
+ width: 70
82
+ }, {
83
+ dataIndex: "giftType",
84
+ title: "\u8D60\u54C1\u65B9\u5F0F",
85
+ align: "center",
86
+ ellipsis: true,
87
+ width: 100,
88
+ render: function render(val) {
89
+ var giftTypeMap = {
90
+ 0: "非赠品",
91
+ 1: "自动赠送",
92
+ 2: "手工赠送",
93
+ 3: "回购自动送赠品",
94
+ 4: "前N有礼送赠品",
95
+ 6: "天猫优仓赠品",
96
+ 7: "淘宝CRM会员送赠"
97
+ };
98
+ return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
99
+ }
100
+ }],
101
+ //旺店通退货商品信息
102
+ WDT_RETURN_GOODS: [{
103
+ dataIndex: "goodId",
104
+ title: "\u5546\u54C1ID",
105
+ align: "center",
106
+ ellipsis: true,
107
+ width: 70
108
+ }, {
109
+ dataIndex: "goodNo",
110
+ title: "\u5546\u54C1\u7F16\u7801",
111
+ align: "center",
112
+ ellipsis: true,
113
+ width: 180
114
+ }, {
115
+ dataIndex: "goodName",
116
+ title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
117
+ align: "center",
118
+ ellipsis: true,
119
+ width: 250
120
+ }, {
121
+ dataIndex: "specId",
122
+ title: "".concat(text, "SKUID"),
123
+ align: "center",
124
+ ellipsis: true,
125
+ width: 100
126
+ }, {
127
+ dataIndex: "specNo",
128
+ title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
129
+ align: "center",
130
+ ellipsis: true,
131
+ width: 180
132
+ }, {
133
+ dataIndex: "specName",
134
+ title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
135
+ align: "center",
136
+ ellipsis: true,
137
+ width: 250
138
+ }, {
139
+ dataIndex: "num",
140
+ title: "".concat(text, "\u9000\u8D27\u6570\u91CF"),
141
+ align: "center",
142
+ ellipsis: true,
143
+ width: 100
144
+ }, {
145
+ dataIndex: "sharePrice",
146
+ title: "\u5206\u644A\u4EF7",
147
+ align: "center",
148
+ ellipsis: true,
149
+ width: 80
150
+ }, {
151
+ dataIndex: "returnPrice",
152
+ title: "".concat(text, "\u9000\u8D27\u91D1\u989D"),
153
+ align: "center",
154
+ ellipsis: true,
155
+ width: 100
156
+ }, {
157
+ dataIndex: "giftType",
158
+ title: "\u8D60\u54C1\u65B9\u5F0F",
159
+ align: "center",
160
+ ellipsis: true,
161
+ width: 100,
162
+ render: function render(val) {
163
+ var giftTypeMap = {
164
+ 0: "非赠品",
165
+ 1: "自动赠送",
166
+ 2: "手工赠送",
167
+ 3: "回购自动送赠品",
168
+ 4: "前N有礼送赠品",
169
+ 6: "天猫优仓赠品",
170
+ 7: "淘宝CRM会员送赠"
171
+ };
172
+ return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
173
+ }
174
+ }, {
175
+ dataIndex: "type",
176
+ title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
177
+ align: "center",
178
+ ellipsis: true,
179
+ width: 100,
180
+ render: function render(val) {
181
+ var typeMap = {
182
+ "1": "单品",
183
+ "2": "组合装"
184
+ };
185
+ return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
186
+ }
187
+ }],
188
+ //旺店通换出商品信息
189
+ WDT_EXCHANGE_GOODS: [{
190
+ dataIndex: "goodId",
191
+ title: "\u5546\u54C1ID",
192
+ align: "center",
193
+ ellipsis: true,
194
+ width: 70
195
+ }, {
196
+ dataIndex: "goodNo",
197
+ title: "\u5546\u54C1\u7F16\u7801",
198
+ align: "center",
199
+ ellipsis: true,
200
+ width: 180
201
+ }, {
202
+ dataIndex: "goodName",
203
+ title: "".concat(text, "\u5546\u54C1\u540D\u79F0"),
204
+ align: "center",
205
+ ellipsis: true,
206
+ width: 250
207
+ }, {
208
+ dataIndex: "specId",
209
+ title: "".concat(text, "SKUID"),
210
+ align: "center",
211
+ ellipsis: true,
212
+ width: 100
213
+ }, {
214
+ dataIndex: "specNo",
215
+ title: "".concat(text, "\u5546\u54C1SKU\u7F16\u7801"),
216
+ align: "center",
217
+ ellipsis: true,
218
+ width: 180
219
+ }, {
220
+ dataIndex: "specName",
221
+ title: "".concat(text, "\u5546\u54C1SKU\u540D\u79F0"),
222
+ align: "center",
223
+ ellipsis: true,
224
+ width: 250
225
+ }, {
226
+ dataIndex: "num",
227
+ title: "".concat(text, "\u6362\u51FA\u6570\u91CF"),
228
+ align: "center",
229
+ ellipsis: true,
230
+ width: 100
231
+ }, {
232
+ dataIndex: "price",
233
+ title: "".concat(text, "\u5546\u54C1\u5355\u4EF7"),
234
+ align: "center",
235
+ ellipsis: true,
236
+ width: 100
237
+ }, {
238
+ dataIndex: "exchangePrice",
239
+ title: "".concat(text, "\u6362\u51FA\u91D1\u989D"),
240
+ align: "center",
241
+ ellipsis: true,
242
+ width: 100
243
+ }, {
244
+ dataIndex: "giftType",
245
+ title: "\u8D60\u54C1\u65B9\u5F0F",
246
+ align: "center",
247
+ ellipsis: true,
248
+ width: 100,
249
+ render: function render(val) {
250
+ var giftTypeMap = {
251
+ 0: "非赠品",
252
+ 1: "自动赠送",
253
+ 2: "手工赠送",
254
+ 3: "回购自动送赠品",
255
+ 4: "前N有礼送赠品",
256
+ 6: "天猫优仓赠品",
257
+ 7: "淘宝CRM会员送赠"
258
+ };
259
+ return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
260
+ }
261
+ }, {
262
+ dataIndex: "type",
263
+ title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
264
+ align: "center",
265
+ ellipsis: true,
266
+ width: 100,
267
+ render: function render(val) {
268
+ var typeMap = {
269
+ "1": "单品",
270
+ "2": "组合装"
271
+ };
272
+ return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
273
+ }
274
+ }]
275
+ };
276
+ //旺店通补发商品信息
277
+ data["WDT_REISSUE_GOODS"] = data["WDT_GOODS"];
278
+ return data;
279
+ };
280
+ export default getColumns;