@kmkf-fe-packages/basic-components 2.0.79-beta.10 → 2.0.79-beta.12

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
@@ -17025,7 +17025,6 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17025
17025
  _ref$systemOrders = _ref.systemOrders,
17026
17026
  systemOrders = _ref$systemOrders === void 0 ? [] : _ref$systemOrders,
17027
17027
  _ref$selectedSystemOr = _ref.selectedSystemOrders,
17028
- selectedSystemOrders = _ref$selectedSystemOr === void 0 ? [] : _ref$selectedSystemOr,
17029
17028
  _ref$type = _ref.type,
17030
17029
  type = _ref$type === void 0 ? '' : _ref$type,
17031
17030
  width = _ref.width;
@@ -17045,13 +17044,15 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17045
17044
  } else {
17046
17045
  setTradeGoodsVisible(true);
17047
17046
  }
17048
- if (isGoods) {
17049
- var codeList = selectedSystemOrders === null || selectedSystemOrders === void 0 ? void 0 : selectedSystemOrders.map(function (item) {
17050
- return item === null || item === void 0 ? void 0 : item[systemOrderNoMap === null || systemOrderNoMap === void 0 ? void 0 : systemOrderNoMap[type]];
17051
- });
17052
- setSelectSystemNo(codeList || []);
17053
- }
17047
+ // 暂时先去掉带入系统自订单组件所选值作为默认筛选项
17048
+ // if (isGoods) {
17049
+ // const codeList: string[] = selectedSystemOrders?.map(
17050
+ // (item) => item?.[systemOrderNoMap?.[type]],
17051
+ // );
17052
+ // setSelectSystemNo(codeList || []);
17053
+ // }
17054
17054
  };
17055
+
17055
17056
  var closeModal = function closeModal() {
17056
17057
  return setTradeGoodsVisible(false);
17057
17058
  };
@@ -17082,7 +17083,10 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17082
17083
  visible: tradeGoodsVisible,
17083
17084
  footer: null,
17084
17085
  onCancel: closeModal,
17085
- width: width || 850
17086
+ width: width || 850,
17087
+ style: {
17088
+ maxWidth: '1000px'
17089
+ }
17086
17090
  }, isGoods && /*#__PURE__*/React.createElement(Row, {
17087
17091
  style: {
17088
17092
  marginBottom: '20px'
@@ -17433,14 +17437,14 @@ var GoodItem$1 = function GoodItem(props) {
17433
17437
  isGoods: isGoods,
17434
17438
  uniqueKey: uniqueKey,
17435
17439
  type: type,
17436
- columns: orderColumns,
17440
+ columns: newColumns,
17437
17441
  dataSource: tradeGoods.originDataSource,
17438
17442
  getDataSourceAsync: tradeGoods.getDataSourceAsync,
17439
17443
  selectedRowKeys: selectedGoods,
17440
17444
  onChangeSelectedKeys: tradeGoods.selectedGoodsChange,
17441
17445
  systemOrders: systemOrders,
17442
17446
  selectedSystemOrders: selectedSystemOrders,
17443
- width: width
17447
+ width: width || 850
17444
17448
  }), showErpGoodsBtn && /*#__PURE__*/React.createElement(Button, {
17445
17449
  type: "link",
17446
17450
  onClick: handleChangeGoods
package/dist/index.js CHANGED
@@ -17037,7 +17037,6 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17037
17037
  _ref$systemOrders = _ref.systemOrders,
17038
17038
  systemOrders = _ref$systemOrders === void 0 ? [] : _ref$systemOrders,
17039
17039
  _ref$selectedSystemOr = _ref.selectedSystemOrders,
17040
- selectedSystemOrders = _ref$selectedSystemOr === void 0 ? [] : _ref$selectedSystemOr,
17041
17040
  _ref$type = _ref.type,
17042
17041
  type = _ref$type === void 0 ? '' : _ref$type,
17043
17042
  width = _ref.width;
@@ -17057,13 +17056,15 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17057
17056
  } else {
17058
17057
  setTradeGoodsVisible(true);
17059
17058
  }
17060
- if (isGoods) {
17061
- var codeList = selectedSystemOrders === null || selectedSystemOrders === void 0 ? void 0 : selectedSystemOrders.map(function (item) {
17062
- return item === null || item === void 0 ? void 0 : item[systemOrderNoMap === null || systemOrderNoMap === void 0 ? void 0 : systemOrderNoMap[type]];
17063
- });
17064
- setSelectSystemNo(codeList || []);
17065
- }
17059
+ // 暂时先去掉带入系统自订单组件所选值作为默认筛选项
17060
+ // if (isGoods) {
17061
+ // const codeList: string[] = selectedSystemOrders?.map(
17062
+ // (item) => item?.[systemOrderNoMap?.[type]],
17063
+ // );
17064
+ // setSelectSystemNo(codeList || []);
17065
+ // }
17066
17066
  };
17067
+
17067
17068
  var closeModal = function closeModal() {
17068
17069
  return setTradeGoodsVisible(false);
17069
17070
  };
@@ -17094,7 +17095,10 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
17094
17095
  visible: tradeGoodsVisible,
17095
17096
  footer: null,
17096
17097
  onCancel: closeModal,
17097
- width: width || 850
17098
+ width: width || 850,
17099
+ style: {
17100
+ maxWidth: '1000px'
17101
+ }
17098
17102
  }, isGoods && /*#__PURE__*/React__default['default'].createElement(antd.Row, {
17099
17103
  style: {
17100
17104
  marginBottom: '20px'
@@ -17445,14 +17449,14 @@ var GoodItem$1 = function GoodItem(props) {
17445
17449
  isGoods: isGoods,
17446
17450
  uniqueKey: uniqueKey,
17447
17451
  type: type,
17448
- columns: orderColumns,
17452
+ columns: newColumns,
17449
17453
  dataSource: tradeGoods.originDataSource,
17450
17454
  getDataSourceAsync: tradeGoods.getDataSourceAsync,
17451
17455
  selectedRowKeys: selectedGoods,
17452
17456
  onChangeSelectedKeys: tradeGoods.selectedGoodsChange,
17453
17457
  systemOrders: systemOrders,
17454
17458
  selectedSystemOrders: selectedSystemOrders,
17455
- width: width
17459
+ width: width || 850
17456
17460
  }), showErpGoodsBtn && /*#__PURE__*/React__default['default'].createElement(antd.Button, {
17457
17461
  type: "link",
17458
17462
  onClick: handleChangeGoods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.79-beta.10",
3
+ "version": "2.0.79-beta.12",
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": "980a2ddae0f585d26e66c541a14b6b2bccd34e5e"
68
+ "gitHead": "1e41fa302803987040cc63b2eb1a50403161736d"
69
69
  }