@kmkf-fe-packages/basic-components 1.17.8-beta.30 → 1.17.8-beta.32

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
@@ -11920,6 +11920,9 @@ var GoodList = function GoodList(props, ref) {
11920
11920
  mode: "multiple",
11921
11921
  showSearch: true,
11922
11922
  allowClear: true,
11923
+ filterOption: function filterOption(input, option) {
11924
+ return option.label.includes(input);
11925
+ },
11923
11926
  style: {
11924
11927
  width: 150
11925
11928
  },
@@ -13288,7 +13291,7 @@ var GoodItem$1 = function GoodItem(props) {
13288
13291
  float: 'right'
13289
13292
  }
13290
13293
  }, showModeBtn && /*#__PURE__*/React.createElement(Checkbox, {
13291
- value: isStrict,
13294
+ checked: isStrict,
13292
13295
  onChange: handleCheckboxChange
13293
13296
  }, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), /*#__PURE__*/React.createElement(Button, {
13294
13297
  type: "link",
@@ -14314,6 +14317,9 @@ var CommonGoods = function CommonGoods(props) {
14314
14317
  disabled = props.disabled,
14315
14318
  onChange = props.onChange,
14316
14319
  compType = props.type;
14320
+ var showModeBtn = ((value === null || value === void 0 ? void 0 : value.orders) || []).some(function (order) {
14321
+ return order.srcTid.includes(',');
14322
+ });
14317
14323
  var getOrderFlag = useRef(false);
14318
14324
  var _useState = useState(false),
14319
14325
  _useState2 = _slicedToArray(_useState, 2),
@@ -14483,7 +14489,7 @@ var CommonGoods = function CommonGoods(props) {
14483
14489
  return changeHandle(val);
14484
14490
  },
14485
14491
  onModeChange: handleModeChange,
14486
- showModeBtn: true,
14492
+ showModeBtn: showModeBtn,
14487
14493
  isStrict: value === null || value === void 0 ? void 0 : value.isStrict
14488
14494
  }));
14489
14495
  };
@@ -14765,7 +14771,7 @@ var typeMap$1 = {
14765
14771
  }
14766
14772
  };
14767
14773
  var wdtReissue = function wdtReissue(props) {
14768
- var _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14774
+ var _value$wdtSystemOrder, _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14769
14775
  var value = props.value,
14770
14776
  onChange = props.onChange,
14771
14777
  _props$reasonList = props.reasonList,
@@ -14773,6 +14779,9 @@ var wdtReissue = function wdtReissue(props) {
14773
14779
  disabled = props.disabled,
14774
14780
  type = props.type,
14775
14781
  other = _objectWithoutProperties(props, _excluded$g);
14782
+ var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$wdtSystemOrder = value.wdtSystemOrder) === null || _value$wdtSystemOrder === void 0 ? void 0 : _value$wdtSystemOrder.orders) || []).some(function (order) {
14783
+ return order.srcTid.includes(',');
14784
+ });
14776
14785
  var getOrderFlag = useRef(false);
14777
14786
  var _useState = useState(false),
14778
14787
  _useState2 = _slicedToArray(_useState, 2),
@@ -14962,7 +14971,7 @@ var wdtReissue = function wdtReissue(props) {
14962
14971
  return changeGoodHandle(val);
14963
14972
  },
14964
14973
  onModeChange: handleModeChange,
14965
- showModeBtn: true,
14974
+ showModeBtn: showModeBtn,
14966
14975
  isStrict: isStrict
14967
14976
  })));
14968
14977
  };
package/dist/index.js CHANGED
@@ -11932,6 +11932,9 @@ var GoodList = function GoodList(props, ref) {
11932
11932
  mode: "multiple",
11933
11933
  showSearch: true,
11934
11934
  allowClear: true,
11935
+ filterOption: function filterOption(input, option) {
11936
+ return option.label.includes(input);
11937
+ },
11935
11938
  style: {
11936
11939
  width: 150
11937
11940
  },
@@ -13300,7 +13303,7 @@ var GoodItem$1 = function GoodItem(props) {
13300
13303
  float: 'right'
13301
13304
  }
13302
13305
  }, showModeBtn && /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
13303
- value: isStrict,
13306
+ checked: isStrict,
13304
13307
  onChange: handleCheckboxChange
13305
13308
  }, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
13306
13309
  type: "link",
@@ -14326,6 +14329,9 @@ var CommonGoods = function CommonGoods(props) {
14326
14329
  disabled = props.disabled,
14327
14330
  onChange = props.onChange,
14328
14331
  compType = props.type;
14332
+ var showModeBtn = ((value === null || value === void 0 ? void 0 : value.orders) || []).some(function (order) {
14333
+ return order.srcTid.includes(',');
14334
+ });
14329
14335
  var getOrderFlag = React.useRef(false);
14330
14336
  var _useState = React.useState(false),
14331
14337
  _useState2 = _slicedToArray(_useState, 2),
@@ -14495,7 +14501,7 @@ var CommonGoods = function CommonGoods(props) {
14495
14501
  return changeHandle(val);
14496
14502
  },
14497
14503
  onModeChange: handleModeChange,
14498
- showModeBtn: true,
14504
+ showModeBtn: showModeBtn,
14499
14505
  isStrict: value === null || value === void 0 ? void 0 : value.isStrict
14500
14506
  }));
14501
14507
  };
@@ -14777,7 +14783,7 @@ var typeMap$1 = {
14777
14783
  }
14778
14784
  };
14779
14785
  var wdtReissue = function wdtReissue(props) {
14780
- var _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14786
+ var _value$wdtSystemOrder, _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14781
14787
  var value = props.value,
14782
14788
  onChange = props.onChange,
14783
14789
  _props$reasonList = props.reasonList,
@@ -14785,6 +14791,9 @@ var wdtReissue = function wdtReissue(props) {
14785
14791
  disabled = props.disabled,
14786
14792
  type = props.type,
14787
14793
  other = _objectWithoutProperties(props, _excluded$g);
14794
+ var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$wdtSystemOrder = value.wdtSystemOrder) === null || _value$wdtSystemOrder === void 0 ? void 0 : _value$wdtSystemOrder.orders) || []).some(function (order) {
14795
+ return order.srcTid.includes(',');
14796
+ });
14788
14797
  var getOrderFlag = React.useRef(false);
14789
14798
  var _useState = React.useState(false),
14790
14799
  _useState2 = _slicedToArray(_useState, 2),
@@ -14974,7 +14983,7 @@ var wdtReissue = function wdtReissue(props) {
14974
14983
  return changeGoodHandle(val);
14975
14984
  },
14976
14985
  onModeChange: handleModeChange,
14977
- showModeBtn: true,
14986
+ showModeBtn: showModeBtn,
14978
14987
  isStrict: isStrict
14979
14988
  })));
14980
14989
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "1.17.8-beta.30",
3
+ "version": "1.17.8-beta.32",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.30",
23
+ "@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.32",
24
24
  "ahooks": "^3.7.4",
25
25
  "bignumber.js": "^9.1.2",
26
26
  "kmkf-monitor": "^0.8.9",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "3c91bfc8e803eb127f6850be20d239c453cd9d33"
68
+ "gitHead": "ffe537760476491163705c7e994073f6e1082cf9"
69
69
  }