easy3wui 1.5.64-beta.6 → 1.5.64-beta.8

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.
@@ -72,3 +72,6 @@
72
72
  color: #999;
73
73
  opacity: 1;
74
74
  }
75
+ .Easy3wEditBigTable .custom-edit-cell {
76
+ background-color: #f6ffed;
77
+ }
package/assets/index.css CHANGED
@@ -1556,3 +1556,6 @@ input.ant-input-number-input {
1556
1556
  color: #999;
1557
1557
  opacity: 1;
1558
1558
  }
1559
+ .Easy3wEditBigTable .custom-edit-cell {
1560
+ background-color: #f6ffed;
1561
+ }
@@ -36,16 +36,10 @@ var _reactDataGrid2 = _interopRequireDefault(_reactDataGrid);
36
36
 
37
37
  require('react-data-grid/lib/styles.css');
38
38
 
39
- var _reactDataGridAddons = require('react-data-grid-addons');
40
-
41
39
  var _xlsx = require('xlsx');
42
40
 
43
41
  var _xlsx2 = _interopRequireDefault(_xlsx);
44
42
 
45
- var _numeral = require('numeral');
46
-
47
- var _numeral2 = _interopRequireDefault(_numeral);
48
-
49
43
  var _classnames = require('classnames');
50
44
 
51
45
  var _classnames2 = _interopRequireDefault(_classnames);
@@ -56,8 +50,6 @@ var _Easy3wEditBigTableForm2 = _interopRequireDefault(_Easy3wEditBigTableForm);
56
50
 
57
51
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
58
52
 
59
- var Selectors = _reactDataGridAddons.Data.Selectors; /* eslint-disable no-alert */
60
-
61
53
  var Easy3wEditBigTable = function (_Component) {
62
54
  (0, _inherits3['default'])(Easy3wEditBigTable, _Component);
63
55
 
@@ -70,18 +62,48 @@ var Easy3wEditBigTable = function (_Component) {
70
62
  _this[pureComponentName] = that;
71
63
  };
72
64
 
65
+ _this.touchCreateColumns = function (columns) {
66
+ var _this$props = _this.props,
67
+ _this$props$autoAddNu = _this$props.autoAddNumber,
68
+ autoAddNumber = _this$props$autoAddNu === undefined ? true : _this$props$autoAddNu,
69
+ selectedFlag = _this$props.selectedFlag;
70
+
71
+ if (autoAddNumber) {
72
+ columns.unshift({
73
+ name: '序号',
74
+ key: 'index',
75
+ renderCell: function renderCell(_ref) {
76
+ var rowIdx = _ref.rowIdx;
77
+ return rowIdx + 1;
78
+ }
79
+ });
80
+ }
81
+ if (selectedFlag) {
82
+ columns.unshift(_reactDataGrid.SelectColumn);
83
+ }
84
+ return columns;
85
+ };
86
+
73
87
  _this.touchDP = function () {
74
- var rows = _this.props.rows;
88
+ var dataList = _this.props.dataList;
75
89
 
76
- var arrOriginalRows = [].concat(rows); // 原始数据
90
+ var arrOriginalRows = [].concat(dataList); // 原始数据
77
91
  var _this$state = _this.state,
78
92
  objFilters = _this$state.objFilters,
79
93
  sortColumns = _this$state.sortColumns;
80
94
 
81
95
  var arrRows = [].concat(arrOriginalRows);
96
+ var numFlag = false;
82
97
  if (objFilters.enabled) {
83
98
  // 启用筛选条件
84
99
  arrRows = _this.touchFilter(objFilters, arrOriginalRows);
100
+ numFlag = true;
101
+ }
102
+ if (!numFlag) {
103
+ arrRows.map(function (item, index) {
104
+ item.autoAddNumber_idx_edit = index;
105
+ return item;
106
+ });
85
107
  }
86
108
  if (sortColumns.length > 0) {
87
109
  // 有排序字段
@@ -94,7 +116,8 @@ var Easy3wEditBigTable = function (_Component) {
94
116
  var objFiltersNew = (0, _extends5['default'])({}, objFilters);
95
117
  delete objFiltersNew.enabled;
96
118
  var arrFilterKeys = Object.keys(objFiltersNew);
97
- return arrRows.filter(function (r) {
119
+ return arrRows.filter(function (r, index) {
120
+ r.autoAddNumber_idx_edit = index;
98
121
  var filterFlag = true;
99
122
  arrFilterKeys.map(function (key) {
100
123
  filterFlag = filterFlag && (objFilters[key] || objFilters[key] === 0 ? r[key] && r[key].includes(objFilters[key]) : true);
@@ -115,7 +138,7 @@ var Easy3wEditBigTable = function (_Component) {
115
138
  }
116
139
  return true;
117
140
  });
118
- return arrRows.sort(function (a, b) {
141
+ var arr = arrRows.sort(function (a, b) {
119
142
  // const comparator = getComparator(objSortColumns.columnKey);
120
143
  var compResult = 0; // 比较结果
121
144
  switch (dataType) {
@@ -163,28 +186,40 @@ var Easy3wEditBigTable = function (_Component) {
163
186
  return compResult;
164
187
  }
165
188
  });
189
+ return arr;
166
190
  };
167
191
 
168
- _this.touchcountTotal = function () {
169
- var rowsView = [].concat(_this.arrRows);
170
- var objTotal = {}; // 总计对象
192
+ _this.touchCountTotal = function (rowsView, columns) {
171
193
  rowsView.map(function (row, index) {
172
- _this.props.columns.map(function (item, idx) {
194
+ columns.map(function (item, idx) {
173
195
  var key = item.key,
174
- totalFlag = item.totalFlag;
196
+ totalFlag = item.totalFlag,
197
+ children = item.children;
175
198
 
176
- if (totalFlag && typeof totalFlag === 'boolean') {
199
+ if (children) {
200
+ _this.touchCountTotal(rowsView, children);
201
+ } else if (totalFlag && typeof totalFlag === 'boolean') {
177
202
  if (index === 0) {
178
- objTotal[key] = 0;
203
+ _this.objTotal[key] = 0;
179
204
  }
180
205
  var intData = Number(row[key]) || 0;
181
- objTotal[key] += intData;
206
+ _this.objTotal[key] += intData;
182
207
  }
183
208
  return idx;
184
209
  });
185
210
  return index;
186
211
  });
187
- return objTotal;
212
+ return _this.objTotal;
213
+ };
214
+
215
+ _this.touchSetState = function (objState, callback) {
216
+ // objState 要设置的state对象
217
+ // callback 回调函数 非必须
218
+ if (callback && typeof callback === 'function') {
219
+ _this.setState(objState, callback);
220
+ } else {
221
+ _this.setState(objState);
222
+ }
188
223
  };
189
224
 
190
225
  _this.touchFilters = function () {
@@ -194,6 +229,12 @@ var Easy3wEditBigTable = function (_Component) {
194
229
  objFilters: (0, _extends5['default'])({}, objFilters, {
195
230
  enabled: !objFilters.enabled
196
231
  })
232
+ }, function () {
233
+ var touchFiltersChangeState = _this.props.touchFiltersChangeState;
234
+
235
+ if (touchFiltersChangeState && typeof touchFiltersChangeState === 'function') {
236
+ touchFiltersChangeState((0, _extends5['default'])({}, _this.state.objFilters));
237
+ }
197
238
  });
198
239
  };
199
240
 
@@ -204,6 +245,12 @@ var Easy3wEditBigTable = function (_Component) {
204
245
 
205
246
  _this.setState({
206
247
  objFilters: (0, _extends5['default'])({}, objFilters, (_extends2 = {}, _extends2[fieldId] = value, _extends2))
248
+ }, function () {
249
+ var touchFiltersChangeState = _this.props.touchFiltersChangeState;
250
+
251
+ if (touchFiltersChangeState && typeof touchFiltersChangeState === 'function') {
252
+ touchFiltersChangeState((0, _extends5['default'])({}, _this.state.objFilters));
253
+ }
207
254
  });
208
255
  };
209
256
 
@@ -214,6 +261,12 @@ var Easy3wEditBigTable = function (_Component) {
214
261
  objFilters: {
215
262
  enabled: objFilters.enabled
216
263
  }
264
+ }, function () {
265
+ var touchFiltersChangeState = _this.props.touchFiltersChangeState;
266
+
267
+ if (touchFiltersChangeState && typeof touchFiltersChangeState === 'function') {
268
+ touchFiltersChangeState((0, _extends5['default'])({}, _this.state.objFilters));
269
+ }
217
270
  });
218
271
  };
219
272
 
@@ -307,18 +360,18 @@ var Easy3wEditBigTable = function (_Component) {
307
360
  };
308
361
 
309
362
  _this.touchAddRow = function () {
310
- var _ref;
363
+ var _ref2;
311
364
 
312
365
  var rowKey = _this.props.rowKey;
313
- var rows = _this.props.rows;
366
+ var dataList = _this.props.dataList;
314
367
 
315
- _this.saveEditBigTableModelZJ('touchAddRow', [].concat(rows, [(_ref = {}, _ref[rowKey] = 'add_' + (rows.length - 1) + '_' + new Date().getTime(), _ref)]));
368
+ _this.saveEditBigTableModelZJ('touchAddRow', [].concat(dataList, [(_ref2 = {}, _ref2[rowKey] = 'add_' + (dataList.length - 1) + '_' + new Date().getTime(), _ref2)]));
316
369
  };
317
370
 
318
371
  _this.touchCopyRow = function () {
319
- var _this$props = _this.props,
320
- rows = _this$props.rows,
321
- rowKey = _this$props.rowKey;
372
+ var _this$props2 = _this.props,
373
+ dataList = _this$props2.dataList,
374
+ rowKey = _this$props2.rowKey;
322
375
  var arrValuesInfo = _this.state.arrValuesInfo;
323
376
 
324
377
  if (arrValuesInfo.length) {
@@ -330,7 +383,7 @@ var Easy3wEditBigTable = function (_Component) {
330
383
  arrNew.push(newRow);
331
384
  return item;
332
385
  });
333
- _this.saveEditBigTableModelZJ('touchCopyRow', [].concat(rows, arrNew));
386
+ _this.saveEditBigTableModelZJ('touchCopyRow', [].concat(dataList, arrNew));
334
387
  } else {
335
388
  _modal2['default'].error({
336
389
  title: '错误',
@@ -340,18 +393,18 @@ var Easy3wEditBigTable = function (_Component) {
340
393
  };
341
394
 
342
395
  _this.deleteRow = function () {
343
- var rows = _this.props.rows;
396
+ var dataList = _this.props.dataList;
344
397
  var _this$state2 = _this.state,
345
398
  arrValues = _this$state2.arrValues,
346
399
  arrValuesInfo = _this$state2.arrValuesInfo;
347
- var _this$props2 = _this.props,
348
- objToolbarProps = _this$props2.objToolbarProps,
349
- rowKey = _this$props2.rowKey;
400
+ var _this$props3 = _this.props,
401
+ objToolbarProps = _this$props3.objToolbarProps,
402
+ rowKey = _this$props3.rowKey;
350
403
  var deleteRowInterface = objToolbarProps.deleteRowInterface;
351
404
 
352
405
  if (arrValues.length) {
353
406
  var arrRows = []; // 删除数据后的新数组
354
- rows.map(function (row) {
407
+ dataList.map(function (row) {
355
408
  var flag = true;
356
409
  arrValues.map(function (key) {
357
410
  if (key === row[rowKey]) {
@@ -380,12 +433,12 @@ var Easy3wEditBigTable = function (_Component) {
380
433
  }
381
434
  };
382
435
 
383
- _this.getHearder = function () {
384
- var _this$props3 = _this.props,
385
- columns = _this$props3.columns,
386
- arrColumnsKey = _this$props3.arrColumnsKey,
387
- objSheet = _this$props3.objSheet,
388
- arrColInfo = _this$props3.arrColInfo;
436
+ _this.touchGetHearder = function () {
437
+ var _this$props4 = _this.props,
438
+ columns = _this$props4.columns,
439
+ arrColumnsKey = _this$props4.arrColumnsKey,
440
+ objSheet = _this$props4.objSheet,
441
+ arrColInfo = _this$props4.arrColInfo;
389
442
 
390
443
 
391
444
  var arrColumnsKeyNew = ['id'];
@@ -426,17 +479,17 @@ var Easy3wEditBigTable = function (_Component) {
426
479
  var file = e.target.files[0];
427
480
  var reader = new FileReader();
428
481
  reader.onload = function (event) {
429
- var _this$getHearder = _this.getHearder(),
430
- arrColumnsKey = _this$getHearder.arrColumnsKey;
482
+ var _this$touchGetHearder = _this.touchGetHearder(),
483
+ arrColumnsKey = _this$touchGetHearder.arrColumnsKey;
431
484
 
432
485
  var data = event.target.result;
433
486
  var workbook = _xlsx2['default'].read(data, { type: 'binary' });
434
487
  var firstSheetName = workbook.SheetNames[0];
435
488
  var worksheet = workbook.Sheets[firstSheetName];
436
- var rows = _xlsx2['default'].utils.sheet_to_json(worksheet, { header: arrColumnsKey });
437
- rows.shift(); // 去掉表头
438
- // const rowsView = this.getRows(rows); // 表格显示数据
439
- _this.saveEditBigTableModelZJ('touchImport', rows);
489
+ var dataList = _xlsx2['default'].utils.sheet_to_json(worksheet, { header: arrColumnsKey });
490
+ dataList.shift(); // 去掉表头
491
+ // const rowsView = this.getRows(dataList); // 表格显示数据
492
+ _this.saveEditBigTableModelZJ('touchImport', dataList);
440
493
  };
441
494
  reader.readAsBinaryString(file);
442
495
  };
@@ -444,9 +497,9 @@ var Easy3wEditBigTable = function (_Component) {
444
497
  };
445
498
 
446
499
  _this.touchExport = function () {
447
- var _this$getHearder2 = _this.getHearder(),
448
- objSheet = _this$getHearder2.objSheet,
449
- arrColInfo = _this$getHearder2.arrColInfo;
500
+ var _this$touchGetHearder2 = _this.touchGetHearder(),
501
+ objSheet = _this$touchGetHearder2.objSheet,
502
+ arrColInfo = _this$touchGetHearder2.arrColInfo;
450
503
 
451
504
  var rowsView = [].concat(_this.arrRows);
452
505
  // 计算 rowsView 中所有对象字段最多的长度
@@ -487,61 +540,46 @@ var Easy3wEditBigTable = function (_Component) {
487
540
  };
488
541
 
489
542
  _this.confirmCallbackBatchEditBigTable = function (objFormData, objColumn) {
490
- var _this$props4 = _this.props,
491
- rows = _this$props4.rows,
492
- touchAutoCompute = _this$props4.touchAutoCompute,
493
- rowKey = _this$props4.rowKey;
543
+ var _this$props5 = _this.props,
544
+ dataList = _this$props5.dataList,
545
+ touchAutoCompute = _this$props5.touchAutoCompute,
546
+ rowKey = _this$props5.rowKey;
494
547
 
495
548
  var rowsView = [].concat(_this.arrRows);
496
- rowsView.map(function (row, index) {
497
- var rowId = row[rowKey];
549
+ rowsView.map(function (row) {
550
+ // const rowId = row[rowKey];
551
+ var autoAddNumberIdxEdit = row.autoAddNumber_idx_edit;
498
552
  // const { [rowKey]: } = row;
553
+
499
554
  var updated = (0, _extends5['default'])({}, objFormData);
500
555
  if (touchAutoCompute && typeof touchAutoCompute === 'function') {
501
556
  // 数据变更-自动计算行数据
502
- // action 改变的动作类型,'CELL_UPDATE' 单元格更新,'CELL_BATCH_CHANGE' 单元格批量更新 CELL_UPDATE, COLUMN_FILL, COPY_PASTE, CELL_DRAG
503
- // cellKey 改变的单元格的key
504
- // fromRow 改变的单元格的原来行序号
505
- // fromRowData 改变的单元格的原来行数据
506
- // fromRowId 改变的单元格的原来行id(行唯一标识)
507
- // rowIds 所有被选中的行id
508
- // toRow 改变的单元格的新行序号
509
- // toRowId 改变的单元格的新行id
510
- // updated 改变的单元格的新值
511
557
  updated = touchAutoCompute({
512
558
  cellKey: objColumn.key,
513
- fromRow: index,
514
- toRow: index,
515
- fromRowId: row[rowKey],
516
- toRowId: row[rowKey],
517
- rowIds: [row[rowKey]],
518
559
  updated: updated,
519
- action: 'CELL_BATCH_CHANGE',
520
- fromRowData: row,
521
560
  toRowData: row
522
561
  });
523
562
  }
524
- rows[rowId] = (0, _extends5['default'])({}, rows[rowId], updated);
525
- rowsView[index] = (0, _extends5['default'])({}, rowsView[index], updated);
563
+ dataList[autoAddNumberIdxEdit] = (0, _extends5['default'])({}, dataList[autoAddNumberIdxEdit], updated);
526
564
  return row;
527
565
  });
528
- _this.saveEditBigTableModelZJ('confirmCallbackBatchEditBigTable', rows);
566
+ _this.saveEditBigTableModelZJ('confirmCallbackBatchEditBigTable', dataList);
529
567
  };
530
568
 
531
- _this.saveEditBigTableModelZJ = function (operationType, rows) {
569
+ _this.saveEditBigTableModelZJ = function (operationType, dataList) {
532
570
  var saveEditBigTableModel = _this.props.saveEditBigTableModel;
533
571
 
534
572
  if (saveEditBigTableModel && typeof saveEditBigTableModel === 'function') {
535
573
  // 数据变更-回调函数
536
- saveEditBigTableModel(operationType, rows);
574
+ saveEditBigTableModel(operationType, dataList);
537
575
  }
538
576
  };
539
577
 
540
578
  _this.saveEditBigTableZJ = function () {
541
579
  var objToolbarProps = _this.props.objToolbarProps;
542
580
 
543
- var _ref2 = objToolbarProps || {},
544
- saveEditBigTable = _ref2.saveEditBigTable;
581
+ var _ref3 = objToolbarProps || {},
582
+ saveEditBigTable = _ref3.saveEditBigTable;
545
583
 
546
584
  if (saveEditBigTable && typeof saveEditBigTable === 'function') {
547
585
  // 数据变更-回调函数
@@ -557,21 +595,40 @@ var Easy3wEditBigTable = function (_Component) {
557
595
  });
558
596
  };
559
597
 
560
- _this.touchRowsChange = function (updatedRows, _ref3) {
561
- var indexes = _ref3.indexes,
562
- column = _ref3.column;
563
- }
564
- // const { cellKey, toRowData, updated } = objUpdated;
565
- // const { cellKey }
566
- // const touchAutoCompute
567
-
568
- // #endregion 表单编辑
569
-
570
- // #region 行选择
571
- ;
598
+ _this.touchRowsChange = function (updatedRows, obj) {
599
+ var indexes = obj.indexes,
600
+ column = obj.column;
601
+ var _this$props6 = _this.props,
602
+ touchAutoCompute = _this$props6.touchAutoCompute,
603
+ dataList = _this$props6.dataList;
604
+ var key = column.key;
605
+
606
+ if (indexes && indexes.length) {
607
+ indexes.map(function (index) {
608
+ var updated = updatedRows[index];
609
+ var _updated = updated,
610
+ autoAddNumberIdxEdit = _updated.autoAddNumber_idx_edit;
611
+
612
+ if (touchAutoCompute && typeof touchAutoCompute === 'function') {
613
+ var _updated2;
614
+
615
+ updated = touchAutoCompute({
616
+ cellKey: key,
617
+ updated: (_updated2 = {}, _updated2[column.key] = updated[column.key], _updated2),
618
+ toRowData: _this.arrRows[index]
619
+ });
620
+ }
621
+ dataList[autoAddNumberIdxEdit] = (0, _extends5['default'])({}, dataList[autoAddNumberIdxEdit], updated);
622
+ return index;
623
+ });
624
+ _this.saveEditBigTableModelZJ('touchRowsChange', dataList);
625
+ }
626
+ };
572
627
 
573
628
  _this.touchSelectedRowsChange = function (selectedRows) {
574
- var rowKey = _this.props.rowKey;
629
+ var _this$props7 = _this.props,
630
+ rowKey = _this$props7.rowKey,
631
+ touchSelectedRowsChangeCB = _this$props7.touchSelectedRowsChangeCB;
575
632
 
576
633
  var arrValuesInfo = Array.from(selectedRows);
577
634
  var arrValues = [];
@@ -579,6 +636,9 @@ var Easy3wEditBigTable = function (_Component) {
579
636
  arrValues.push(item[rowKey]);
580
637
  return item;
581
638
  });
639
+ if (touchSelectedRowsChangeCB && typeof touchSelectedRowsChangeCB === 'function') {
640
+ touchSelectedRowsChangeCB(arrValues, arrValuesInfo, selectedRows);
641
+ }
582
642
  _this.setState({
583
643
  // 表格选择
584
644
  selectedRows: selectedRows, // 选中的行
@@ -640,6 +700,9 @@ var Easy3wEditBigTable = function (_Component) {
640
700
  };
641
701
  // 绑定组件
642
702
 
703
+ // #region 表头列处理
704
+
705
+ // #endregion 表头列处理
643
706
 
644
707
  // #region 数据处理
645
708
  // 数据处理
@@ -652,6 +715,11 @@ var Easy3wEditBigTable = function (_Component) {
652
715
 
653
716
  // #endregion 数据处理
654
717
 
718
+ // #region state变更
719
+ // 设置组件state
720
+
721
+ // #endregion state变更
722
+
655
723
  // #region 筛选
656
724
  // 切换筛选
657
725
 
@@ -699,7 +767,11 @@ var Easy3wEditBigTable = function (_Component) {
699
767
 
700
768
  // #endregion 保存
701
769
 
702
- // #region 表单编辑
770
+ // #region 表单数据编辑
771
+
772
+ // #endregion 表单数据编辑
773
+
774
+ // #region 行选择
703
775
 
704
776
 
705
777
  // #endregion 行选择
@@ -726,13 +798,15 @@ var Easy3wEditBigTable = function (_Component) {
726
798
  this.arrRows = this.touchDP();
727
799
  var objPrps = {};
728
800
  // #region 总计行
729
- if (topTotalFlag) {
730
- var arrTotalRows = [this.touchcountTotal()];
731
- objPrps.topSummaryRows = arrTotalRows;
732
- }
733
- if (bottomTotalFlag) {
734
- var _arrTotalRows = [this.touchcountTotal()];
735
- objPrps.bottomSummaryRows = _arrTotalRows;
801
+ if (topTotalFlag || bottomTotalFlag) {
802
+ this.objTotal = {}; // 总计对象
803
+ var arrTotalRows = [this.touchCountTotal(this.arrRows, columns)];
804
+ if (topTotalFlag) {
805
+ objPrps.topSummaryRows = arrTotalRows;
806
+ }
807
+ if (bottomTotalFlag) {
808
+ objPrps.bottomSummaryRows = arrTotalRows;
809
+ }
736
810
  }
737
811
  // #endregion 总计行
738
812
  return _react2['default'].createElement(
@@ -740,7 +814,7 @@ var Easy3wEditBigTable = function (_Component) {
740
814
  { className: (0, _classnames2['default'])(['Easy3wEditBigTable']) },
741
815
  objToolbarProps ? this.getToolbar() : '',
742
816
  _react2['default'].createElement(_reactDataGrid2['default'], (0, _extends5['default'])({}, objPrps, {
743
- columns: columns // 表头
817
+ columns: this.touchCreateColumns(columns) // 表头
744
818
  , defaultColumnOptions: {
745
819
  resizable: true // 可调整列宽
746
820
  },
@@ -756,8 +830,8 @@ var Easy3wEditBigTable = function (_Component) {
756
830
  selectedRows: selectedRows,
757
831
  onSelectedRowsChange: this.touchSelectedRowsChange
758
832
  // 表格编辑时触发
759
- // onRowsChange={rows => this.saveEditBigTableModelZJ('onSelectedRowsChange', rows)}
760
833
  , onRowsChange: this.touchRowsChange
834
+ // 其它属性
761
835
  }, objOtherProps)),
762
836
  visible ? _react2['default'].createElement(_Easy3wEditBigTableForm2['default'] // 批量录入Modal
763
837
  , { visible: visible // 是否显示
@@ -774,10 +848,12 @@ var Easy3wEditBigTable = function (_Component) {
774
848
  };
775
849
 
776
850
  return Easy3wEditBigTable;
777
- }(_react.Component);
851
+ }(_react.Component); /* eslint-disable no-param-reassign */
852
+ /* eslint-disable no-alert */
853
+
778
854
 
779
855
  Easy3wEditBigTable.defaultProps = {
780
- rowKey: 'id' // 表格主键 原始数据索引
856
+ rowKey: 'autoAddNumber_idx_edit' // 表格主键 原始数据索引
781
857
  };
782
858
  exports['default'] = Easy3wEditBigTable;
783
859
  module.exports = exports['default'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.64-beta.6",
3
+ "version": "1.5.64-beta.8",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",