ztxkui 4.2.9 → 4.2.11

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/Demo.js CHANGED
@@ -32,13 +32,18 @@ function Demo() {
32
32
  useEffect(function () {
33
33
  var timeoutId = setTimeout(function () {
34
34
  console.log('获取数据');
35
- setList(new Array(50).fill(1).map(function (item, index) { return ({
36
- id: index,
37
- name: '你好' + index,
38
- test1: 'test1' + index,
39
- test2: 'test2' + index,
40
- test3: 'test3' + index,
41
- }); }));
35
+ setList(new Array(50).fill(1).map(function (item, index) {
36
+ if (index === 3) {
37
+ return null;
38
+ }
39
+ return {
40
+ id: index,
41
+ name: '你好' + index,
42
+ test1: 'test1' + index,
43
+ test2: 'test2' + index,
44
+ test3: 'test3' + index,
45
+ };
46
+ }));
42
47
  setDefaultList([
43
48
  {
44
49
  id: '1409674614746271746',
@@ -123,105 +123,6 @@ var PrintContainerDemo = function () {
123
123
  React.createElement("div", { className: "info-item" },
124
124
  React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
125
125
  React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
126
- React.createElement("div", { className: "purchaseIn-print-box" },
127
- React.createElement("div", { className: "pt10" },
128
- React.createElement("table", null,
129
- React.createElement("tbody", null,
130
- React.createElement("tr", null,
131
- React.createElement("td", null, "\u63D0\u8D27\u5355\u4F4D"),
132
- React.createElement("td", { colSpan: 3 }),
133
- React.createElement("td", null, "\u5F00\u6237\u94F6\u884C\u53CA\u8D26\u53F7"),
134
- React.createElement("td", { colSpan: 3 }),
135
- React.createElement("td", { width: "100px" }, "\u7269\u6D41\u6307\u4EE4\u5355\u53F7"),
136
- React.createElement("td", { colSpan: 3 })),
137
- React.createElement("tr", null,
138
- React.createElement("td", null, "\u7A0E\u53F7"),
139
- React.createElement("td", { colSpan: 3 }),
140
- React.createElement("td", null, "\u5730\u5740\u53CA\u7535\u8BDD"),
141
- React.createElement("td", { colSpan: 3 }),
142
- React.createElement("td", { width: "100px" }, "\u9500\u552E\u5408\u540C\u53F7"),
143
- React.createElement("td", { colSpan: 3 })),
144
- React.createElement("tr", null,
145
- React.createElement("td", null, "\u63D0\u8D27\u4ED3\u5E93"),
146
- React.createElement("td", { colSpan: 2 }),
147
- React.createElement("td", null, "\u4ED3\u5E93\u5730\u5740"),
148
- React.createElement("td", { colSpan: 2 }),
149
- React.createElement("td", null, "\u4ED3\u5E93\u8054\u7CFB\u4EBA"),
150
- React.createElement("td", { colSpan: 2 }),
151
- React.createElement("td", null, "\u4ED3\u5E93\u7535\u8BDD"),
152
- React.createElement("td", { colSpan: 2 })),
153
- React.createElement("tr", null,
154
- React.createElement("td", { rowSpan: 2, colSpan: 4 }, "\u5546\u54C1\u540D\u79F0"),
155
- React.createElement("td", { width: "100px", rowSpan: 2 }, "\u6279\u6B21\u53F7"),
156
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5F00\u5355\u6570\u91CF"),
157
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5B9E\u53D1\u6570\u91CF"),
158
- React.createElement("td", { rowSpan: 2 }, "\u5355\u4EF7(\u542B\u7A0E)"),
159
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u8FD0\u8F93\u8D39"),
160
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u51FA\u5E93\u8D39")),
161
- React.createElement("tr", null,
162
- React.createElement("td", { width: "50px" }, "\u4EF6"),
163
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)"),
164
- React.createElement("td", { width: "50px" }, "\u4EF6"),
165
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)")),
166
- React.createElement("tr", null,
167
- React.createElement("td", { colSpan: 4, style: { height: '23px' } }),
168
- React.createElement("td", null),
169
- React.createElement("td", null),
170
- React.createElement("td", null),
171
- React.createElement("td", null),
172
- React.createElement("td", null),
173
- React.createElement("td", null),
174
- React.createElement("td", null),
175
- React.createElement("td", null)),
176
- React.createElement("tr", null,
177
- React.createElement("td", { colSpan: 4, align: "left", style: { padding: '0px 30px' } }, "\u5408\u8BA1"),
178
- React.createElement("td", null),
179
- React.createElement("td", null),
180
- React.createElement("td", null),
181
- React.createElement("td", null),
182
- React.createElement("td", null),
183
- React.createElement("td", null),
184
- React.createElement("td", null),
185
- React.createElement("td", null)),
186
- React.createElement("tr", null,
187
- React.createElement("td", null, "\u5907\u6CE8"),
188
- React.createElement("td", { colSpan: 5 }),
189
- React.createElement("td", null, "\u63D0\u5355\u6709\u6548\u671F"),
190
- React.createElement("td", { colSpan: 2 }),
191
- React.createElement("td", null, "\u51FA\u5E93\u65B9\u5F0F"),
192
- React.createElement("td", { colSpan: 2 })),
193
- React.createElement("tr", null,
194
- React.createElement("td", null, "\u63D0\u8D27\u4EBA"),
195
- React.createElement("td", { colSpan: 2 }),
196
- React.createElement("td", null, "\u63D0\u8D27\u8F66\u724C"),
197
- React.createElement("td", { colSpan: 2 }),
198
- React.createElement("td", null, "\u6253\u5370\u6B21\u6570"),
199
- React.createElement("td", { colSpan: 2 }),
200
- React.createElement("td", null, "\u5B58\u8D27\u5355\u4F4D"),
201
- React.createElement("td", { colSpan: 2 })),
202
- React.createElement("tr", null,
203
- React.createElement("td", null, "\u53D1\u8D27\u4EBA"),
204
- React.createElement("td", { colSpan: 2 }),
205
- React.createElement("td", null, "\u5236\u5355\u4EBA"),
206
- React.createElement("td", { colSpan: 2 }),
207
- React.createElement("td", null, "\u90E8\u95E8"),
208
- React.createElement("td", { colSpan: 2 }),
209
- React.createElement("td", null, "\u4E1A\u52A1\u4EE3\u8868"),
210
- React.createElement("td", { colSpan: 2 }))))),
211
- React.createElement("div", { className: "pt_bottom" },
212
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } },
213
- React.createElement("div", { className: "ant-col ant-col-17", style: { paddingLeft: 0 } },
214
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "1\u3001\u672C\u63D0\u5355\u5728\u4E0A\u8FF0\u6709\u6548\u671F\u5185\u6709\u6548\uFF0C\u8FC7\u671F\u4F5C\u5E9F\uFF1B"),
215
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "2\u3001\u672C\u63D0\u8D27\u5355\u4F4D\u7ECF\u8D22\u52A1\u6536\u6B3E\u76D6\u7AE0\u540E\u63D0\u8D27\uFF1B\u6B64\u63D0\u8D27\u5355\u9057\u5931\uFF0C\u63D0\u8D27\u5355\u4F4D\u8D23\u4EFB\u81EA\u8D1F\uFF1B\u51ED\u6B64\u63D0\u8D27\u5355\u4EA4\u4ED8\u8D27\u7269\u540E\uFF0C\u8D27\u7269\u6240\u6709\u98CE\u9669\u8F6C\u79FB\u5230\u63D0\u8D27\u5355\u4F4D\u3002"),
216
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } })),
217
- React.createElement("div", { className: "ant-col ant-col-7", style: { paddingRight: 0 } },
218
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
219
- React.createElement("span", null, "\u6253\u5370\u65F6\u95F4\uFF1A"),
220
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
221
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
222
- React.createElement("span", null, "\u6253\u5370\u4EBA\uFF1A"),
223
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } }))))))),
224
- React.createElement("div", { className: "html2canvas-container-page simple-print", style: { paddingTop: 0, paddingLeft: 0 } },
225
126
  React.createElement("div", { className: "print-header" },
226
127
  React.createElement("img", { src: imgSrc, alt: "" }),
227
128
  React.createElement("h3", { className: "print-title" },
@@ -237,105 +138,6 @@ var PrintContainerDemo = function () {
237
138
  React.createElement("div", { className: "info-item" },
238
139
  React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
239
140
  React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
240
- React.createElement("div", { className: "purchaseIn-print-box" },
241
- React.createElement("div", { className: "pt10" },
242
- React.createElement("table", null,
243
- React.createElement("tbody", null,
244
- React.createElement("tr", null,
245
- React.createElement("td", null, "\u63D0\u8D27\u5355\u4F4D"),
246
- React.createElement("td", { colSpan: 3 }),
247
- React.createElement("td", null, "\u5F00\u6237\u94F6\u884C\u53CA\u8D26\u53F7"),
248
- React.createElement("td", { colSpan: 3 }),
249
- React.createElement("td", { width: "100px" }, "\u7269\u6D41\u6307\u4EE4\u5355\u53F7"),
250
- React.createElement("td", { colSpan: 3 })),
251
- React.createElement("tr", null,
252
- React.createElement("td", null, "\u7A0E\u53F7"),
253
- React.createElement("td", { colSpan: 3 }),
254
- React.createElement("td", null, "\u5730\u5740\u53CA\u7535\u8BDD"),
255
- React.createElement("td", { colSpan: 3 }),
256
- React.createElement("td", { width: "100px" }, "\u9500\u552E\u5408\u540C\u53F7"),
257
- React.createElement("td", { colSpan: 3 })),
258
- React.createElement("tr", null,
259
- React.createElement("td", null, "\u63D0\u8D27\u4ED3\u5E93"),
260
- React.createElement("td", { colSpan: 2 }),
261
- React.createElement("td", null, "\u4ED3\u5E93\u5730\u5740"),
262
- React.createElement("td", { colSpan: 2 }),
263
- React.createElement("td", null, "\u4ED3\u5E93\u8054\u7CFB\u4EBA"),
264
- React.createElement("td", { colSpan: 2 }),
265
- React.createElement("td", null, "\u4ED3\u5E93\u7535\u8BDD"),
266
- React.createElement("td", { colSpan: 2 })),
267
- React.createElement("tr", null,
268
- React.createElement("td", { rowSpan: 2, colSpan: 4 }, "\u5546\u54C1\u540D\u79F0"),
269
- React.createElement("td", { width: "100px", rowSpan: 2 }, "\u6279\u6B21\u53F7"),
270
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5F00\u5355\u6570\u91CF"),
271
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5B9E\u53D1\u6570\u91CF"),
272
- React.createElement("td", { rowSpan: 2 }, "\u5355\u4EF7(\u542B\u7A0E)"),
273
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u8FD0\u8F93\u8D39"),
274
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u51FA\u5E93\u8D39")),
275
- React.createElement("tr", null,
276
- React.createElement("td", { width: "50px" }, "\u4EF6"),
277
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)"),
278
- React.createElement("td", { width: "50px" }, "\u4EF6"),
279
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)")),
280
- React.createElement("tr", null,
281
- React.createElement("td", { colSpan: 4, style: { height: '23px' } }),
282
- React.createElement("td", null),
283
- React.createElement("td", null),
284
- React.createElement("td", null),
285
- React.createElement("td", null),
286
- React.createElement("td", null),
287
- React.createElement("td", null),
288
- React.createElement("td", null),
289
- React.createElement("td", null)),
290
- React.createElement("tr", null,
291
- React.createElement("td", { colSpan: 4, align: "left", style: { padding: '0px 30px' } }, "\u5408\u8BA1"),
292
- React.createElement("td", null),
293
- React.createElement("td", null),
294
- React.createElement("td", null),
295
- React.createElement("td", null),
296
- React.createElement("td", null),
297
- React.createElement("td", null),
298
- React.createElement("td", null),
299
- React.createElement("td", null)),
300
- React.createElement("tr", null,
301
- React.createElement("td", null, "\u5907\u6CE8"),
302
- React.createElement("td", { colSpan: 5 }),
303
- React.createElement("td", null, "\u63D0\u5355\u6709\u6548\u671F"),
304
- React.createElement("td", { colSpan: 2 }),
305
- React.createElement("td", null, "\u51FA\u5E93\u65B9\u5F0F"),
306
- React.createElement("td", { colSpan: 2 })),
307
- React.createElement("tr", null,
308
- React.createElement("td", null, "\u63D0\u8D27\u4EBA"),
309
- React.createElement("td", { colSpan: 2 }),
310
- React.createElement("td", null, "\u63D0\u8D27\u8F66\u724C"),
311
- React.createElement("td", { colSpan: 2 }),
312
- React.createElement("td", null, "\u6253\u5370\u6B21\u6570"),
313
- React.createElement("td", { colSpan: 2 }),
314
- React.createElement("td", null, "\u5B58\u8D27\u5355\u4F4D"),
315
- React.createElement("td", { colSpan: 2 })),
316
- React.createElement("tr", null,
317
- React.createElement("td", null, "\u53D1\u8D27\u4EBA"),
318
- React.createElement("td", { colSpan: 2 }),
319
- React.createElement("td", null, "\u5236\u5355\u4EBA"),
320
- React.createElement("td", { colSpan: 2 }),
321
- React.createElement("td", null, "\u90E8\u95E8"),
322
- React.createElement("td", { colSpan: 2 }),
323
- React.createElement("td", null, "\u4E1A\u52A1\u4EE3\u8868"),
324
- React.createElement("td", { colSpan: 2 }))))),
325
- React.createElement("div", { className: "pt_bottom" },
326
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } },
327
- React.createElement("div", { className: "ant-col ant-col-17", style: { paddingLeft: 0 } },
328
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "1\u3001\u672C\u63D0\u5355\u5728\u4E0A\u8FF0\u6709\u6548\u671F\u5185\u6709\u6548\uFF0C\u8FC7\u671F\u4F5C\u5E9F\uFF1B"),
329
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "2\u3001\u672C\u63D0\u8D27\u5355\u4F4D\u7ECF\u8D22\u52A1\u6536\u6B3E\u76D6\u7AE0\u540E\u63D0\u8D27\uFF1B\u6B64\u63D0\u8D27\u5355\u9057\u5931\uFF0C\u63D0\u8D27\u5355\u4F4D\u8D23\u4EFB\u81EA\u8D1F\uFF1B\u51ED\u6B64\u63D0\u8D27\u5355\u4EA4\u4ED8\u8D27\u7269\u540E\uFF0C\u8D27\u7269\u6240\u6709\u98CE\u9669\u8F6C\u79FB\u5230\u63D0\u8D27\u5355\u4F4D\u3002"),
330
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } })),
331
- React.createElement("div", { className: "ant-col ant-col-7", style: { paddingRight: 0 } },
332
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
333
- React.createElement("span", null, "\u6253\u5370\u65F6\u95F4\uFF1A"),
334
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
335
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
336
- React.createElement("span", null, "\u6253\u5370\u4EBA\uFF1A"),
337
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } }))))))),
338
- React.createElement("div", { className: "html2canvas-container-page simple-print", style: { paddingTop: 0, paddingLeft: 0 } },
339
141
  React.createElement("div", { className: "print-header" },
340
142
  React.createElement("img", { src: imgSrc, alt: "" }),
341
143
  React.createElement("h3", { className: "print-title" },
@@ -351,105 +153,126 @@ var PrintContainerDemo = function () {
351
153
  React.createElement("div", { className: "info-item" },
352
154
  React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
353
155
  React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
354
- React.createElement("div", { className: "purchaseIn-print-box" },
355
- React.createElement("div", { className: "pt10" },
356
- React.createElement("table", null,
357
- React.createElement("tbody", null,
358
- React.createElement("tr", null,
359
- React.createElement("td", null, "\u63D0\u8D27\u5355\u4F4D"),
360
- React.createElement("td", { colSpan: 3 }),
361
- React.createElement("td", null, "\u5F00\u6237\u94F6\u884C\u53CA\u8D26\u53F7"),
362
- React.createElement("td", { colSpan: 3 }),
363
- React.createElement("td", { width: "100px" }, "\u7269\u6D41\u6307\u4EE4\u5355\u53F7"),
364
- React.createElement("td", { colSpan: 3 })),
365
- React.createElement("tr", null,
366
- React.createElement("td", null, "\u7A0E\u53F7"),
367
- React.createElement("td", { colSpan: 3 }),
368
- React.createElement("td", null, "\u5730\u5740\u53CA\u7535\u8BDD"),
369
- React.createElement("td", { colSpan: 3 }),
370
- React.createElement("td", { width: "100px" }, "\u9500\u552E\u5408\u540C\u53F7"),
371
- React.createElement("td", { colSpan: 3 })),
372
- React.createElement("tr", null,
373
- React.createElement("td", null, "\u63D0\u8D27\u4ED3\u5E93"),
374
- React.createElement("td", { colSpan: 2 }),
375
- React.createElement("td", null, "\u4ED3\u5E93\u5730\u5740"),
376
- React.createElement("td", { colSpan: 2 }),
377
- React.createElement("td", null, "\u4ED3\u5E93\u8054\u7CFB\u4EBA"),
378
- React.createElement("td", { colSpan: 2 }),
379
- React.createElement("td", null, "\u4ED3\u5E93\u7535\u8BDD"),
380
- React.createElement("td", { colSpan: 2 })),
381
- React.createElement("tr", null,
382
- React.createElement("td", { rowSpan: 2, colSpan: 4 }, "\u5546\u54C1\u540D\u79F0"),
383
- React.createElement("td", { width: "100px", rowSpan: 2 }, "\u6279\u6B21\u53F7"),
384
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5F00\u5355\u6570\u91CF"),
385
- React.createElement("td", { colSpan: 2, width: "150px" }, "\u5B9E\u53D1\u6570\u91CF"),
386
- React.createElement("td", { rowSpan: 2 }, "\u5355\u4EF7(\u542B\u7A0E)"),
387
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u8FD0\u8F93\u8D39"),
388
- React.createElement("td", { width: "56px", rowSpan: 2 }, "\u662F\u5426\u542B\u51FA\u5E93\u8D39")),
389
- React.createElement("tr", null,
390
- React.createElement("td", { width: "50px" }, "\u4EF6"),
391
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)"),
392
- React.createElement("td", { width: "50px" }, "\u4EF6"),
393
- React.createElement("td", { width: "100px" }, "\u91CD\u91CF(\u5428)")),
394
- React.createElement("tr", null,
395
- React.createElement("td", { colSpan: 4, style: { height: '23px' } }),
396
- React.createElement("td", null),
397
- React.createElement("td", null),
398
- React.createElement("td", null),
399
- React.createElement("td", null),
400
- React.createElement("td", null),
401
- React.createElement("td", null),
402
- React.createElement("td", null),
403
- React.createElement("td", null)),
404
- React.createElement("tr", null,
405
- React.createElement("td", { colSpan: 4, align: "left", style: { padding: '0px 30px' } }, "\u5408\u8BA1"),
406
- React.createElement("td", null),
407
- React.createElement("td", null),
408
- React.createElement("td", null),
409
- React.createElement("td", null),
410
- React.createElement("td", null),
411
- React.createElement("td", null),
412
- React.createElement("td", null),
413
- React.createElement("td", null)),
414
- React.createElement("tr", null,
415
- React.createElement("td", null, "\u5907\u6CE8"),
416
- React.createElement("td", { colSpan: 5 }),
417
- React.createElement("td", null, "\u63D0\u5355\u6709\u6548\u671F"),
418
- React.createElement("td", { colSpan: 2 }),
419
- React.createElement("td", null, "\u51FA\u5E93\u65B9\u5F0F"),
420
- React.createElement("td", { colSpan: 2 })),
421
- React.createElement("tr", null,
422
- React.createElement("td", null, "\u63D0\u8D27\u4EBA"),
423
- React.createElement("td", { colSpan: 2 }),
424
- React.createElement("td", null, "\u63D0\u8D27\u8F66\u724C"),
425
- React.createElement("td", { colSpan: 2 }),
426
- React.createElement("td", null, "\u6253\u5370\u6B21\u6570"),
427
- React.createElement("td", { colSpan: 2 }),
428
- React.createElement("td", null, "\u5B58\u8D27\u5355\u4F4D"),
429
- React.createElement("td", { colSpan: 2 })),
430
- React.createElement("tr", null,
431
- React.createElement("td", null, "\u53D1\u8D27\u4EBA"),
432
- React.createElement("td", { colSpan: 2 }),
433
- React.createElement("td", null, "\u5236\u5355\u4EBA"),
434
- React.createElement("td", { colSpan: 2 }),
435
- React.createElement("td", null, "\u90E8\u95E8"),
436
- React.createElement("td", { colSpan: 2 }),
437
- React.createElement("td", null, "\u4E1A\u52A1\u4EE3\u8868"),
438
- React.createElement("td", { colSpan: 2 }))))),
439
- React.createElement("div", { className: "pt_bottom" },
440
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } },
441
- React.createElement("div", { className: "ant-col ant-col-17", style: { paddingLeft: 0 } },
442
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "1\u3001\u672C\u63D0\u5355\u5728\u4E0A\u8FF0\u6709\u6548\u671F\u5185\u6709\u6548\uFF0C\u8FC7\u671F\u4F5C\u5E9F\uFF1B"),
443
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } }, "2\u3001\u672C\u63D0\u8D27\u5355\u4F4D\u7ECF\u8D22\u52A1\u6536\u6B3E\u76D6\u7AE0\u540E\u63D0\u8D27\uFF1B\u6B64\u63D0\u8D27\u5355\u9057\u5931\uFF0C\u63D0\u8D27\u5355\u4F4D\u8D23\u4EFB\u81EA\u8D1F\uFF1B\u51ED\u6B64\u63D0\u8D27\u5355\u4EA4\u4ED8\u8D27\u7269\u540E\uFF0C\u8D27\u7269\u6240\u6709\u98CE\u9669\u8F6C\u79FB\u5230\u63D0\u8D27\u5355\u4F4D\u3002"),
444
- React.createElement("div", { className: "ant-row", style: { rowGap: '0px' } })),
445
- React.createElement("div", { className: "ant-col ant-col-7", style: { paddingRight: 0 } },
446
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
447
- React.createElement("span", null, "\u6253\u5370\u65F6\u95F4\uFF1A"),
448
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
449
- React.createElement("div", { className: "ant-row", style: { justifyContent: 'flex-end', rowGap: '0px' } },
450
- React.createElement("span", null, "\u6253\u5370\u4EBA\uFF1A"),
451
- React.createElement("span", { style: { display: 'inline-block', width: '100px' } }))))))),
452
- React.createElement("div", { className: "html2canvas-container-page simple-print", style: { paddingTop: 0, paddingLeft: 0 } },
156
+ React.createElement("div", { className: "print-header" },
157
+ React.createElement("img", { src: imgSrc, alt: "" }),
158
+ React.createElement("h3", { className: "print-title" },
159
+ "\u63D0\u8D27\u5355",
160
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
161
+ React.createElement("div", { className: "right-info" },
162
+ React.createElement("div", { className: "info-item" },
163
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
164
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
165
+ React.createElement("div", { className: "info-item" },
166
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
167
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
168
+ React.createElement("div", { className: "info-item" },
169
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
170
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
171
+ React.createElement("div", { className: "print-header" },
172
+ React.createElement("img", { src: imgSrc, alt: "" }),
173
+ React.createElement("h3", { className: "print-title" },
174
+ "\u63D0\u8D27\u5355",
175
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
176
+ React.createElement("div", { className: "right-info" },
177
+ React.createElement("div", { className: "info-item" },
178
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
179
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
180
+ React.createElement("div", { className: "info-item" },
181
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
182
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
183
+ React.createElement("div", { className: "info-item" },
184
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
185
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
186
+ React.createElement("div", { className: "print-header" },
187
+ React.createElement("img", { src: imgSrc, alt: "" }),
188
+ React.createElement("h3", { className: "print-title" },
189
+ "\u63D0\u8D27\u5355",
190
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
191
+ React.createElement("div", { className: "right-info" },
192
+ React.createElement("div", { className: "info-item" },
193
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
194
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
195
+ React.createElement("div", { className: "info-item" },
196
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
197
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
198
+ React.createElement("div", { className: "info-item" },
199
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
200
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
201
+ React.createElement("div", { className: "print-header" },
202
+ React.createElement("img", { src: imgSrc, alt: "" }),
203
+ React.createElement("h3", { className: "print-title" },
204
+ "\u63D0\u8D27\u5355",
205
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
206
+ React.createElement("div", { className: "right-info" },
207
+ React.createElement("div", { className: "info-item" },
208
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
209
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
210
+ React.createElement("div", { className: "info-item" },
211
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
212
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
213
+ React.createElement("div", { className: "info-item" },
214
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
215
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
216
+ React.createElement("div", { className: "print-header" },
217
+ React.createElement("img", { src: imgSrc, alt: "" }),
218
+ React.createElement("h3", { className: "print-title" },
219
+ "\u63D0\u8D27\u5355",
220
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
221
+ React.createElement("div", { className: "right-info" },
222
+ React.createElement("div", { className: "info-item" },
223
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
224
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
225
+ React.createElement("div", { className: "info-item" },
226
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
227
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
228
+ React.createElement("div", { className: "info-item" },
229
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
230
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
231
+ React.createElement("div", { className: "print-header" },
232
+ React.createElement("img", { src: imgSrc, alt: "" }),
233
+ React.createElement("h3", { className: "print-title" },
234
+ "\u63D0\u8D27\u5355",
235
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
236
+ React.createElement("div", { className: "right-info" },
237
+ React.createElement("div", { className: "info-item" },
238
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
239
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
240
+ React.createElement("div", { className: "info-item" },
241
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
242
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
243
+ React.createElement("div", { className: "info-item" },
244
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
245
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
246
+ React.createElement("div", { className: "print-header" },
247
+ React.createElement("img", { src: imgSrc, alt: "" }),
248
+ React.createElement("h3", { className: "print-title" },
249
+ "\u63D0\u8D27\u5355",
250
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
251
+ React.createElement("div", { className: "right-info" },
252
+ React.createElement("div", { className: "info-item" },
253
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
254
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
255
+ React.createElement("div", { className: "info-item" },
256
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
257
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
258
+ React.createElement("div", { className: "info-item" },
259
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
260
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
261
+ React.createElement("div", { className: "print-header" },
262
+ React.createElement("img", { src: imgSrc, alt: "" }),
263
+ React.createElement("h3", { className: "print-title" },
264
+ "\u63D0\u8D27\u5355",
265
+ React.createElement("p", { className: "info" }, "\uFF08\u540C\u4E00\u63D0\u8D27\u5355\u53F7\u4EC5\u80FD\u63D0\u8D27\u4E00\u6B21\uFF09")),
266
+ React.createElement("div", { className: "right-info" },
267
+ React.createElement("div", { className: "info-item" },
268
+ React.createElement("span", null, "\u63D0\u8D27\u5355\u53F7\uFF1A"),
269
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
270
+ React.createElement("div", { className: "info-item" },
271
+ React.createElement("span", null, "\u5F00\u5355\u65F6\u95F4\uFF1A"),
272
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })),
273
+ React.createElement("div", { className: "info-item" },
274
+ React.createElement("span", null, "\u5BA1\u6838\u65F6\u95F4\uFF1A"),
275
+ React.createElement("span", { style: { display: 'inline-block', width: '100px' } })))),
453
276
  React.createElement("div", { className: "print-header" },
454
277
  React.createElement("img", { src: imgSrc, alt: "" }),
455
278
  React.createElement("h3", { className: "print-title" },
@@ -725,6 +725,10 @@ function EnhanceSelect(_a) {
725
725
  var resultData = originalData.slice() || [];
726
726
  if (Array.isArray(newData)) {
727
727
  newData.forEach(function (item) {
728
+ if (!item) {
729
+ console.error("\u9047\u5230\u4E86\u6570\u7EC4\u4E2D\u5B58\u5728\u7A7A\u503C\u5F97\u60C5\u51B5\uFF0C\u8BF7\u68C0\u67E5\u6570\u636E\u51C6\u786E\u6027!\u5B58\u5728\u95EE\u9898\u5F97\u6570\u636E \u53EF\u80FD\u5728defaultList\u4E2D " + url + "==" + dataKey + "==" + titleKey);
730
+ return;
731
+ }
728
732
  // 如果item是手动输入的 不做任何处理
729
733
  if (item.__is_hand_add) {
730
734
  resultData.push(item);
@@ -768,6 +772,10 @@ function EnhanceSelect(_a) {
768
772
  Array.isArray(selectList) &&
769
773
  concatData(concatData(concatData(selectList, _defaultList), multipleList), handleAddItems).map(function (item, index) {
770
774
  var _a;
775
+ if (!item) {
776
+ console.error("\u9047\u5230\u4E86\u6570\u7EC4\u4E2D\u5B58\u5728\u7A7A\u503C\u5F97\u60C5\u51B5\uFF0C\u8BF7\u68C0\u67E5\u6570\u636E\u51C6\u786E\u6027!\u5B58\u5728\u95EE\u9898\u5F97\u6570\u636E \u63A5\u53E3\u4E2D " + url + "==" + dataKey + "==" + titleKey);
777
+ return null;
778
+ }
771
779
  var key = item.__hand_add_key
772
780
  ? item.__hand_add_key
773
781
  : componentKey
@@ -846,6 +854,9 @@ function EnhanceSelect(_a) {
846
854
  currentData = value.map(function (valueItem) {
847
855
  return currentList.find(function (item) {
848
856
  var _a, _b;
857
+ if (!item) {
858
+ return false;
859
+ }
849
860
  if (item[key_1] == null) {
850
861
  return false;
851
862
  }
@@ -862,6 +873,9 @@ function EnhanceSelect(_a) {
862
873
  else {
863
874
  currentData = currentList.find(function (item) {
864
875
  var _a, _b;
876
+ if (!item) {
877
+ return false;
878
+ }
865
879
  if (item[key_1] == null) {
866
880
  return false;
867
881
  }
@@ -61,6 +61,30 @@ import { EditableContext } from './table-enhance-row';
61
61
  import { Form, Input, InputNumber, Select, message } from '../../index';
62
62
  import { ERROR_TD_CLASSNAME } from './index';
63
63
  import { getInnerIndex } from './hooks/useInnerPagination';
64
+ import { exactRound } from 'ztxkutils/dist/tools';
65
+ /**
66
+ * 数据转换 将粘贴过来的数据格式化处理
67
+ */
68
+ function transformData(data, config) {
69
+ var newData = data;
70
+ if (!config) {
71
+ return newData;
72
+ }
73
+ var editableConfig = config.editableConfig;
74
+ if (!editableConfig) {
75
+ return newData;
76
+ }
77
+ var type = editableConfig.type, precision = editableConfig.precision;
78
+ if (type === 'inputNumber') {
79
+ // 先转换成符合规则的数字
80
+ newData = isNaN(Number(newData))
81
+ ? newData
82
+ : typeof precision === 'number'
83
+ ? Number(exactRound(newData, precision))
84
+ : Number(newData);
85
+ }
86
+ return newData;
87
+ }
64
88
  var TableEnhanceCell = memo(function (_a) {
65
89
  var title = _a.title, index = _a.index, editable = _a.editable, editableConfig = _a.editableConfig, children = _a.children, dataIndex = _a.dataIndex, record = _a.record, handleSave = _a.handleSave, onTableChange = _a.onTableChange, columns = _a.columns, currentpage = _a.currentpage, restProps = __rest(_a, ["title", "index", "editable", "editableConfig", "children", "dataIndex", "record", "handleSave", "onTableChange", "columns", "currentpage"]);
66
90
  var form = useContext(EditableContext);
@@ -164,16 +188,23 @@ var TableEnhanceCell = memo(function (_a) {
164
188
  var result = {};
165
189
  resultItemList.forEach(function (resultItem, index) {
166
190
  var _a;
191
+ var config = null;
192
+ try {
193
+ config = newColumns_1[currentColumnIndex_1 + index];
194
+ }
195
+ catch (err) {
196
+ console.error("table paste error", err);
197
+ }
167
198
  if (resultItem === '' || resultItem == null) {
168
199
  return;
169
200
  }
170
201
  if (index === 0) {
171
- result[dataIndex] = resultItem;
202
+ result[dataIndex] = transformData(resultItem, config);
172
203
  }
173
204
  else {
174
205
  var key = (_a = newColumns_1[currentColumnIndex_1 + index]) === null || _a === void 0 ? void 0 : _a.dataIndex;
175
206
  if (key) {
176
- result[key] = resultItem;
207
+ result[key] = transformData(resultItem, config);
177
208
  }
178
209
  }
179
210
  });
@@ -1 +1 @@
1
- export declare const token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDAiLCJtZW1iZXJfdHlwZSI6MSwiaGFuZGxlX2hyX3Bob25lIjpudWxsLCJyZXN1bWVfZGF0ZSI6bnVsbCwidXNlcl9uYW1lIjoi6ZmI5Lqa6ZuEdGVzdCIsImVtcF9uYW1lIjoi6ZmI5Lqa6ZuEdGVzdCIsImVtcF9udW1iZXIiOiJZRzIyMDQwNjQiLCJpbXRfaWQiOiIiLCJyZWFsX25hbWUiOiLpmYjkuprpm4R0ZXN0IiwiY2xpZW50X3R5cGU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VzdCIsInJlc3VtZV9pZCI6IiJ9.fExys_SCfn1ktfeTGrq-TtumcYPRtJcOnlWavCRcHis';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.2.9",
3
+ "version": "4.2.11",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",
@@ -23,7 +23,8 @@
23
23
  "react-dnd-html5-backend": "^14.0.0",
24
24
  "react-infinite-scroll-component": "^6.1.0",
25
25
  "react-resizable": "^3.0.4",
26
- "react-to-print": "^2.14.7"
26
+ "react-to-print": "^2.14.7",
27
+ "ztxkutils": "^2.10.17"
27
28
  },
28
29
  "scripts": {
29
30
  "analyze": "source-map-explorer 'dist/static/js/*.js'",