@kmkf-fe-packages/basic-components 2.0.79-beta.11 → 2.0.79-beta.14

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 CHANGED
@@ -17083,7 +17083,10 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17083
17083
  visible: tradeGoodsVisible,
17084
17084
  footer: null,
17085
17085
  onCancel: closeModal,
17086
- width: width || 850
17086
+ width: width || 850,
17087
+ style: {
17088
+ maxWidth: '1000px'
17089
+ }
17087
17090
  }, isGoods && /*#__PURE__*/React.createElement(Row, {
17088
17091
  style: {
17089
17092
  marginBottom: '20px'
@@ -17372,6 +17375,11 @@ var GoodItem$1 = function GoodItem(props) {
17372
17375
  }
17373
17376
  return columnList;
17374
17377
  }, [showHeader, value, disabled, hoveredRowIndex]);
17378
+ var orderModalColumns = useMemo(function () {
17379
+ return newColumns.filter(function (col) {
17380
+ return col.title !== '操作';
17381
+ });
17382
+ }, [newColumns]);
17375
17383
  var orderColumns = useMemo(function () {
17376
17384
  var columns = COLUMNS_MAP('', {
17377
17385
  operate: false,
@@ -17434,7 +17442,7 @@ var GoodItem$1 = function GoodItem(props) {
17434
17442
  isGoods: isGoods,
17435
17443
  uniqueKey: uniqueKey,
17436
17444
  type: type,
17437
- columns: newColumns,
17445
+ columns: orderModalColumns,
17438
17446
  dataSource: tradeGoods.originDataSource,
17439
17447
  getDataSourceAsync: tradeGoods.getDataSourceAsync,
17440
17448
  selectedRowKeys: selectedGoods,
package/dist/index.js CHANGED
@@ -17095,7 +17095,10 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17095
17095
  visible: tradeGoodsVisible,
17096
17096
  footer: null,
17097
17097
  onCancel: closeModal,
17098
- width: width || 850
17098
+ width: width || 850,
17099
+ style: {
17100
+ maxWidth: '1000px'
17101
+ }
17099
17102
  }, isGoods && /*#__PURE__*/React__default['default'].createElement(antd.Row, {
17100
17103
  style: {
17101
17104
  marginBottom: '20px'
@@ -17384,6 +17387,11 @@ var GoodItem$1 = function GoodItem(props) {
17384
17387
  }
17385
17388
  return columnList;
17386
17389
  }, [showHeader, value, disabled, hoveredRowIndex]);
17390
+ var orderModalColumns = React.useMemo(function () {
17391
+ return newColumns.filter(function (col) {
17392
+ return col.title !== '操作';
17393
+ });
17394
+ }, [newColumns]);
17387
17395
  var orderColumns = React.useMemo(function () {
17388
17396
  var columns = COLUMNS_MAP('', {
17389
17397
  operate: false,
@@ -17446,7 +17454,7 @@ var GoodItem$1 = function GoodItem(props) {
17446
17454
  isGoods: isGoods,
17447
17455
  uniqueKey: uniqueKey,
17448
17456
  type: type,
17449
- columns: newColumns,
17457
+ columns: orderModalColumns,
17450
17458
  dataSource: tradeGoods.originDataSource,
17451
17459
  getDataSourceAsync: tradeGoods.getDataSourceAsync,
17452
17460
  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.11",
3
+ "version": "2.0.79-beta.14",
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": "929386eab01d7eb61c306e22135dc642d515cfe9"
68
+ "gitHead": "fa5fb237df21dd45c595f264471626f6ab21dae2"
69
69
  }