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

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
@@ -14314,6 +14314,9 @@ var CommonGoods = function CommonGoods(props) {
14314
14314
  disabled = props.disabled,
14315
14315
  onChange = props.onChange,
14316
14316
  compType = props.type;
14317
+ var showModeBtn = ((value === null || value === void 0 ? void 0 : value.orders) || []).some(function (order) {
14318
+ return order.srcTid.includes(',');
14319
+ });
14317
14320
  var getOrderFlag = useRef(false);
14318
14321
  var _useState = useState(false),
14319
14322
  _useState2 = _slicedToArray(_useState, 2),
@@ -14483,7 +14486,7 @@ var CommonGoods = function CommonGoods(props) {
14483
14486
  return changeHandle(val);
14484
14487
  },
14485
14488
  onModeChange: handleModeChange,
14486
- showModeBtn: true,
14489
+ showModeBtn: showModeBtn,
14487
14490
  isStrict: value === null || value === void 0 ? void 0 : value.isStrict
14488
14491
  }));
14489
14492
  };
@@ -14765,7 +14768,7 @@ var typeMap$1 = {
14765
14768
  }
14766
14769
  };
14767
14770
  var wdtReissue = function wdtReissue(props) {
14768
- var _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14771
+ var _value$wdtSystemOrder, _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14769
14772
  var value = props.value,
14770
14773
  onChange = props.onChange,
14771
14774
  _props$reasonList = props.reasonList,
@@ -14773,6 +14776,9 @@ var wdtReissue = function wdtReissue(props) {
14773
14776
  disabled = props.disabled,
14774
14777
  type = props.type,
14775
14778
  other = _objectWithoutProperties(props, _excluded$g);
14779
+ 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) {
14780
+ return order.srcTid.includes(',');
14781
+ });
14776
14782
  var getOrderFlag = useRef(false);
14777
14783
  var _useState = useState(false),
14778
14784
  _useState2 = _slicedToArray(_useState, 2),
@@ -14962,7 +14968,7 @@ var wdtReissue = function wdtReissue(props) {
14962
14968
  return changeGoodHandle(val);
14963
14969
  },
14964
14970
  onModeChange: handleModeChange,
14965
- showModeBtn: true,
14971
+ showModeBtn: showModeBtn,
14966
14972
  isStrict: isStrict
14967
14973
  })));
14968
14974
  };
package/dist/index.js CHANGED
@@ -14326,6 +14326,9 @@ var CommonGoods = function CommonGoods(props) {
14326
14326
  disabled = props.disabled,
14327
14327
  onChange = props.onChange,
14328
14328
  compType = props.type;
14329
+ var showModeBtn = ((value === null || value === void 0 ? void 0 : value.orders) || []).some(function (order) {
14330
+ return order.srcTid.includes(',');
14331
+ });
14329
14332
  var getOrderFlag = React.useRef(false);
14330
14333
  var _useState = React.useState(false),
14331
14334
  _useState2 = _slicedToArray(_useState, 2),
@@ -14495,7 +14498,7 @@ var CommonGoods = function CommonGoods(props) {
14495
14498
  return changeHandle(val);
14496
14499
  },
14497
14500
  onModeChange: handleModeChange,
14498
- showModeBtn: true,
14501
+ showModeBtn: showModeBtn,
14499
14502
  isStrict: value === null || value === void 0 ? void 0 : value.isStrict
14500
14503
  }));
14501
14504
  };
@@ -14777,7 +14780,7 @@ var typeMap$1 = {
14777
14780
  }
14778
14781
  };
14779
14782
  var wdtReissue = function wdtReissue(props) {
14780
- var _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14783
+ var _value$wdtSystemOrder, _typeMap$type7, _typeMap$type25, _typeMap$type26, _value$typeMap$type$s5, _typeMap$type27, _typeMap$type28, _typeMap$type29;
14781
14784
  var value = props.value,
14782
14785
  onChange = props.onChange,
14783
14786
  _props$reasonList = props.reasonList,
@@ -14785,6 +14788,9 @@ var wdtReissue = function wdtReissue(props) {
14785
14788
  disabled = props.disabled,
14786
14789
  type = props.type,
14787
14790
  other = _objectWithoutProperties(props, _excluded$g);
14791
+ 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) {
14792
+ return order.srcTid.includes(',');
14793
+ });
14788
14794
  var getOrderFlag = React.useRef(false);
14789
14795
  var _useState = React.useState(false),
14790
14796
  _useState2 = _slicedToArray(_useState, 2),
@@ -14974,7 +14980,7 @@ var wdtReissue = function wdtReissue(props) {
14974
14980
  return changeGoodHandle(val);
14975
14981
  },
14976
14982
  onModeChange: handleModeChange,
14977
- showModeBtn: true,
14983
+ showModeBtn: showModeBtn,
14978
14984
  isStrict: isStrict
14979
14985
  })));
14980
14986
  };
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.31",
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": "3c91bfc8e803eb127f6850be20d239c453cd9d33"
68
+ "gitHead": "c431c2ff8007325a7802ab501fbed20164f1083f"
69
69
  }