@kmkf-fe-packages/basic-components 2.0.79-beta.12 → 2.0.79-beta.16
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/index.esm.js +16 -1
- package/dist/index.js +16 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -17375,6 +17375,21 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
17375
17375
|
}
|
|
17376
17376
|
return columnList;
|
|
17377
17377
|
}, [showHeader, value, disabled, hoveredRowIndex]);
|
|
17378
|
+
var orderModalColumns = useMemo(function () {
|
|
17379
|
+
var list = newColumns.filter(function (col) {
|
|
17380
|
+
return !['操作', '序号'].includes(col.title);
|
|
17381
|
+
});
|
|
17382
|
+
return [{
|
|
17383
|
+
dataIndex: '',
|
|
17384
|
+
title: '序号',
|
|
17385
|
+
align: 'center',
|
|
17386
|
+
ellipsis: true,
|
|
17387
|
+
width: 80,
|
|
17388
|
+
render: function render(val, record, index) {
|
|
17389
|
+
return /*#__PURE__*/React.createElement("span", null, index + 1);
|
|
17390
|
+
}
|
|
17391
|
+
}].concat(_toConsumableArray(list));
|
|
17392
|
+
}, [newColumns]);
|
|
17378
17393
|
var orderColumns = useMemo(function () {
|
|
17379
17394
|
var columns = COLUMNS_MAP('', {
|
|
17380
17395
|
operate: false,
|
|
@@ -17437,7 +17452,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
17437
17452
|
isGoods: isGoods,
|
|
17438
17453
|
uniqueKey: uniqueKey,
|
|
17439
17454
|
type: type,
|
|
17440
|
-
columns:
|
|
17455
|
+
columns: orderModalColumns,
|
|
17441
17456
|
dataSource: tradeGoods.originDataSource,
|
|
17442
17457
|
getDataSourceAsync: tradeGoods.getDataSourceAsync,
|
|
17443
17458
|
selectedRowKeys: selectedGoods,
|
package/dist/index.js
CHANGED
|
@@ -17387,6 +17387,21 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
17387
17387
|
}
|
|
17388
17388
|
return columnList;
|
|
17389
17389
|
}, [showHeader, value, disabled, hoveredRowIndex]);
|
|
17390
|
+
var orderModalColumns = React.useMemo(function () {
|
|
17391
|
+
var list = newColumns.filter(function (col) {
|
|
17392
|
+
return !['操作', '序号'].includes(col.title);
|
|
17393
|
+
});
|
|
17394
|
+
return [{
|
|
17395
|
+
dataIndex: '',
|
|
17396
|
+
title: '序号',
|
|
17397
|
+
align: 'center',
|
|
17398
|
+
ellipsis: true,
|
|
17399
|
+
width: 80,
|
|
17400
|
+
render: function render(val, record, index) {
|
|
17401
|
+
return /*#__PURE__*/React__default['default'].createElement("span", null, index + 1);
|
|
17402
|
+
}
|
|
17403
|
+
}].concat(_toConsumableArray(list));
|
|
17404
|
+
}, [newColumns]);
|
|
17390
17405
|
var orderColumns = React.useMemo(function () {
|
|
17391
17406
|
var columns = COLUMNS_MAP('', {
|
|
17392
17407
|
operate: false,
|
|
@@ -17449,7 +17464,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
17449
17464
|
isGoods: isGoods,
|
|
17450
17465
|
uniqueKey: uniqueKey,
|
|
17451
17466
|
type: type,
|
|
17452
|
-
columns:
|
|
17467
|
+
columns: orderModalColumns,
|
|
17453
17468
|
dataSource: tradeGoods.originDataSource,
|
|
17454
17469
|
getDataSourceAsync: tradeGoods.getDataSourceAsync,
|
|
17455
17470
|
selectedRowKeys: selectedGoods,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.79-beta.
|
|
3
|
+
"version": "2.0.79-beta.16",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "950d5860d2aa9195d5140de8edc8435e2422c013"
|
|
69
69
|
}
|