@kmkf-fe-packages/basic-components 2.0.54-beta.31 → 2.0.54-beta.33
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 +19 -13
- package/dist/index.js +19 -13
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -18649,7 +18649,8 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18649
18649
|
_props$reasonList = props.reasonList,
|
|
18650
18650
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18651
18651
|
disabled = props.disabled,
|
|
18652
|
-
compType = props.type
|
|
18652
|
+
compType = props.type,
|
|
18653
|
+
isSettingConfig = props.isSettingConfig;
|
|
18653
18654
|
var valueRef = useRef({});
|
|
18654
18655
|
useEffect(function () {
|
|
18655
18656
|
var subscription = pubsub.subscribe(componentMap$2[compType].eventNameMap.exchangeCopyGood, function () {
|
|
@@ -18741,7 +18742,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18741
18742
|
var newValue = _objectSpread2({}, value);
|
|
18742
18743
|
newValue[componentMap$2[compType].returnTypeKey] = val;
|
|
18743
18744
|
newValue[componentMap$2[compType].valueKey] = [];
|
|
18744
|
-
if (['2'].includes(val[0])) {
|
|
18745
|
+
if (isSettingConfig || ['2'].includes(val[0])) {
|
|
18745
18746
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
18746
18747
|
valueRef.current = newValue;
|
|
18747
18748
|
}
|
|
@@ -18763,7 +18764,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18763
18764
|
style: {
|
|
18764
18765
|
marginBottom: '8px'
|
|
18765
18766
|
},
|
|
18766
|
-
disabled: disabled,
|
|
18767
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
18767
18768
|
allowClear: false,
|
|
18768
18769
|
options: reasonList,
|
|
18769
18770
|
value: value === null || value === void 0 ? void 0 : value[componentMap$2[compType].returnTypeKey],
|
|
@@ -18945,7 +18946,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
18945
18946
|
})));
|
|
18946
18947
|
};
|
|
18947
18948
|
|
|
18948
|
-
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18949
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
18949
18950
|
var typeMap$1 = {
|
|
18950
18951
|
WDT_REISSUE_GOODS: {
|
|
18951
18952
|
key: 'wdtReissueGoods',
|
|
@@ -18973,6 +18974,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
18973
18974
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18974
18975
|
disabled = props.disabled,
|
|
18975
18976
|
type = props.type,
|
|
18977
|
+
isSettingConfig = props.isSettingConfig,
|
|
18976
18978
|
other = _objectWithoutProperties(props, _excluded$i);
|
|
18977
18979
|
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) {
|
|
18978
18980
|
var _order$srcTid;
|
|
@@ -19184,7 +19186,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19184
19186
|
style: {
|
|
19185
19187
|
marginBottom: '8px'
|
|
19186
19188
|
},
|
|
19187
|
-
disabled: disabled,
|
|
19189
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19188
19190
|
allowClear: false,
|
|
19189
19191
|
options: reasonList,
|
|
19190
19192
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type28 = typeMap$1[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.typeName)],
|
|
@@ -19215,7 +19217,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19215
19217
|
})));
|
|
19216
19218
|
};
|
|
19217
19219
|
|
|
19218
|
-
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
19220
|
+
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
19219
19221
|
var typeMap$2 = {
|
|
19220
19222
|
JST_REISSUE_GOODS: {
|
|
19221
19223
|
compType: '补发',
|
|
@@ -19263,6 +19265,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19263
19265
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
19264
19266
|
disabled = props.disabled,
|
|
19265
19267
|
type = props.type,
|
|
19268
|
+
isSettingConfig = props.isSettingConfig,
|
|
19266
19269
|
other = _objectWithoutProperties(props, _excluded$j);
|
|
19267
19270
|
var getOrderFlag = useRef(false);
|
|
19268
19271
|
var _useState = useState(false),
|
|
@@ -19471,7 +19474,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19471
19474
|
style: {
|
|
19472
19475
|
marginBottom: '8px'
|
|
19473
19476
|
},
|
|
19474
|
-
disabled: disabled,
|
|
19477
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19475
19478
|
allowClear: false,
|
|
19476
19479
|
options: reasonList,
|
|
19477
19480
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type39 = typeMap$2[type]) === null || _typeMap$type39 === void 0 ? void 0 : _typeMap$type39.typeName)],
|
|
@@ -20322,7 +20325,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
20322
20325
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
20323
20326
|
};
|
|
20324
20327
|
|
|
20325
|
-
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
20328
|
+
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
20326
20329
|
var typeMap$3 = {
|
|
20327
20330
|
BS_E3_REISSUE_GOODS: {
|
|
20328
20331
|
key: 'bsE3ReissueGoods',
|
|
@@ -20340,6 +20343,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20340
20343
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20341
20344
|
disabled = props.disabled,
|
|
20342
20345
|
type = props.type,
|
|
20346
|
+
isSettingConfig = props.isSettingConfig,
|
|
20343
20347
|
other = _objectWithoutProperties(props, _excluded$o);
|
|
20344
20348
|
var getOrderFlag = useRef(false);
|
|
20345
20349
|
var valueRef = useRef(null);
|
|
@@ -20527,7 +20531,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20527
20531
|
style: {
|
|
20528
20532
|
marginBottom: '8px'
|
|
20529
20533
|
},
|
|
20530
|
-
disabled: disabled,
|
|
20534
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20531
20535
|
allowClear: false,
|
|
20532
20536
|
options: reasonList,
|
|
20533
20537
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$3 === null || typeMap$3 === void 0 ? void 0 : (_typeMap$type27 = typeMap$3[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.typeName)],
|
|
@@ -20558,7 +20562,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20558
20562
|
})));
|
|
20559
20563
|
};
|
|
20560
20564
|
|
|
20561
|
-
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20565
|
+
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20562
20566
|
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20563
20567
|
var typeMap$4 = {
|
|
20564
20568
|
GY_REISSUE_GOODS: {
|
|
@@ -20587,6 +20591,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20587
20591
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20588
20592
|
disabled = props.disabled,
|
|
20589
20593
|
type = props.type,
|
|
20594
|
+
isSettingConfig = props.isSettingConfig,
|
|
20590
20595
|
other = _objectWithoutProperties(props, _excluded$p);
|
|
20591
20596
|
// const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
|
|
20592
20597
|
// order?.platformCode?.includes(';'),
|
|
@@ -20795,7 +20800,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20795
20800
|
style: {
|
|
20796
20801
|
marginBottom: '8px'
|
|
20797
20802
|
},
|
|
20798
|
-
disabled: disabled,
|
|
20803
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20799
20804
|
allowClear: false,
|
|
20800
20805
|
options: reasonList,
|
|
20801
20806
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.typeName)],
|
|
@@ -20827,7 +20832,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20827
20832
|
})));
|
|
20828
20833
|
};
|
|
20829
20834
|
|
|
20830
|
-
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20835
|
+
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20831
20836
|
_excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20832
20837
|
var typeMap$5 = {
|
|
20833
20838
|
GY_RETURN_GOODS: {
|
|
@@ -20856,6 +20861,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
20856
20861
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20857
20862
|
disabled = props.disabled,
|
|
20858
20863
|
type = props.type,
|
|
20864
|
+
isSettingConfig = props.isSettingConfig,
|
|
20859
20865
|
other = _objectWithoutProperties(props, _excluded$q);
|
|
20860
20866
|
var valueRef = useRef({});
|
|
20861
20867
|
var getOrderFlag = useRef(false);
|
|
@@ -21085,7 +21091,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21085
21091
|
style: {
|
|
21086
21092
|
marginBottom: '8px'
|
|
21087
21093
|
},
|
|
21088
|
-
disabled: disabled,
|
|
21094
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
21089
21095
|
allowClear: false,
|
|
21090
21096
|
options: reasonList,
|
|
21091
21097
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$5 === null || typeMap$5 === void 0 ? void 0 : (_typeMap$type30 = typeMap$5[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.typeName)],
|
package/dist/index.js
CHANGED
|
@@ -18661,7 +18661,8 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18661
18661
|
_props$reasonList = props.reasonList,
|
|
18662
18662
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18663
18663
|
disabled = props.disabled,
|
|
18664
|
-
compType = props.type
|
|
18664
|
+
compType = props.type,
|
|
18665
|
+
isSettingConfig = props.isSettingConfig;
|
|
18665
18666
|
var valueRef = React.useRef({});
|
|
18666
18667
|
React.useEffect(function () {
|
|
18667
18668
|
var subscription = pubsub__default['default'].subscribe(componentMap$2[compType].eventNameMap.exchangeCopyGood, function () {
|
|
@@ -18753,7 +18754,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18753
18754
|
var newValue = _objectSpread2({}, value);
|
|
18754
18755
|
newValue[componentMap$2[compType].returnTypeKey] = val;
|
|
18755
18756
|
newValue[componentMap$2[compType].valueKey] = [];
|
|
18756
|
-
if (['2'].includes(val[0])) {
|
|
18757
|
+
if (isSettingConfig || ['2'].includes(val[0])) {
|
|
18757
18758
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
18758
18759
|
valueRef.current = newValue;
|
|
18759
18760
|
}
|
|
@@ -18775,7 +18776,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18775
18776
|
style: {
|
|
18776
18777
|
marginBottom: '8px'
|
|
18777
18778
|
},
|
|
18778
|
-
disabled: disabled,
|
|
18779
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
18779
18780
|
allowClear: false,
|
|
18780
18781
|
options: reasonList,
|
|
18781
18782
|
value: value === null || value === void 0 ? void 0 : value[componentMap$2[compType].returnTypeKey],
|
|
@@ -18957,7 +18958,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
18957
18958
|
})));
|
|
18958
18959
|
};
|
|
18959
18960
|
|
|
18960
|
-
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18961
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
18961
18962
|
var typeMap$1 = {
|
|
18962
18963
|
WDT_REISSUE_GOODS: {
|
|
18963
18964
|
key: 'wdtReissueGoods',
|
|
@@ -18985,6 +18986,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
18985
18986
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18986
18987
|
disabled = props.disabled,
|
|
18987
18988
|
type = props.type,
|
|
18989
|
+
isSettingConfig = props.isSettingConfig,
|
|
18988
18990
|
other = _objectWithoutProperties(props, _excluded$i);
|
|
18989
18991
|
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) {
|
|
18990
18992
|
var _order$srcTid;
|
|
@@ -19196,7 +19198,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19196
19198
|
style: {
|
|
19197
19199
|
marginBottom: '8px'
|
|
19198
19200
|
},
|
|
19199
|
-
disabled: disabled,
|
|
19201
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19200
19202
|
allowClear: false,
|
|
19201
19203
|
options: reasonList,
|
|
19202
19204
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$1 === null || typeMap$1 === void 0 ? void 0 : (_typeMap$type28 = typeMap$1[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.typeName)],
|
|
@@ -19227,7 +19229,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19227
19229
|
})));
|
|
19228
19230
|
};
|
|
19229
19231
|
|
|
19230
|
-
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
19232
|
+
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
19231
19233
|
var typeMap$2 = {
|
|
19232
19234
|
JST_REISSUE_GOODS: {
|
|
19233
19235
|
compType: '补发',
|
|
@@ -19275,6 +19277,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19275
19277
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
19276
19278
|
disabled = props.disabled,
|
|
19277
19279
|
type = props.type,
|
|
19280
|
+
isSettingConfig = props.isSettingConfig,
|
|
19278
19281
|
other = _objectWithoutProperties(props, _excluded$j);
|
|
19279
19282
|
var getOrderFlag = React.useRef(false);
|
|
19280
19283
|
var _useState = React.useState(false),
|
|
@@ -19483,7 +19486,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19483
19486
|
style: {
|
|
19484
19487
|
marginBottom: '8px'
|
|
19485
19488
|
},
|
|
19486
|
-
disabled: disabled,
|
|
19489
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19487
19490
|
allowClear: false,
|
|
19488
19491
|
options: reasonList,
|
|
19489
19492
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type39 = typeMap$2[type]) === null || _typeMap$type39 === void 0 ? void 0 : _typeMap$type39.typeName)],
|
|
@@ -20334,7 +20337,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
20334
20337
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
20335
20338
|
};
|
|
20336
20339
|
|
|
20337
|
-
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
20340
|
+
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
20338
20341
|
var typeMap$3 = {
|
|
20339
20342
|
BS_E3_REISSUE_GOODS: {
|
|
20340
20343
|
key: 'bsE3ReissueGoods',
|
|
@@ -20352,6 +20355,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20352
20355
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20353
20356
|
disabled = props.disabled,
|
|
20354
20357
|
type = props.type,
|
|
20358
|
+
isSettingConfig = props.isSettingConfig,
|
|
20355
20359
|
other = _objectWithoutProperties(props, _excluded$o);
|
|
20356
20360
|
var getOrderFlag = React.useRef(false);
|
|
20357
20361
|
var valueRef = React.useRef(null);
|
|
@@ -20539,7 +20543,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20539
20543
|
style: {
|
|
20540
20544
|
marginBottom: '8px'
|
|
20541
20545
|
},
|
|
20542
|
-
disabled: disabled,
|
|
20546
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20543
20547
|
allowClear: false,
|
|
20544
20548
|
options: reasonList,
|
|
20545
20549
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$3 === null || typeMap$3 === void 0 ? void 0 : (_typeMap$type27 = typeMap$3[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.typeName)],
|
|
@@ -20570,7 +20574,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20570
20574
|
})));
|
|
20571
20575
|
};
|
|
20572
20576
|
|
|
20573
|
-
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20577
|
+
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20574
20578
|
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20575
20579
|
var typeMap$4 = {
|
|
20576
20580
|
GY_REISSUE_GOODS: {
|
|
@@ -20599,6 +20603,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20599
20603
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20600
20604
|
disabled = props.disabled,
|
|
20601
20605
|
type = props.type,
|
|
20606
|
+
isSettingConfig = props.isSettingConfig,
|
|
20602
20607
|
other = _objectWithoutProperties(props, _excluded$p);
|
|
20603
20608
|
// const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
|
|
20604
20609
|
// order?.platformCode?.includes(';'),
|
|
@@ -20807,7 +20812,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20807
20812
|
style: {
|
|
20808
20813
|
marginBottom: '8px'
|
|
20809
20814
|
},
|
|
20810
|
-
disabled: disabled,
|
|
20815
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20811
20816
|
allowClear: false,
|
|
20812
20817
|
options: reasonList,
|
|
20813
20818
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.typeName)],
|
|
@@ -20839,7 +20844,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20839
20844
|
})));
|
|
20840
20845
|
};
|
|
20841
20846
|
|
|
20842
|
-
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20847
|
+
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20843
20848
|
_excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20844
20849
|
var typeMap$5 = {
|
|
20845
20850
|
GY_RETURN_GOODS: {
|
|
@@ -20868,6 +20873,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
20868
20873
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20869
20874
|
disabled = props.disabled,
|
|
20870
20875
|
type = props.type,
|
|
20876
|
+
isSettingConfig = props.isSettingConfig,
|
|
20871
20877
|
other = _objectWithoutProperties(props, _excluded$q);
|
|
20872
20878
|
var valueRef = React.useRef({});
|
|
20873
20879
|
var getOrderFlag = React.useRef(false);
|
|
@@ -21097,7 +21103,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21097
21103
|
style: {
|
|
21098
21104
|
marginBottom: '8px'
|
|
21099
21105
|
},
|
|
21100
|
-
disabled: disabled,
|
|
21106
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
21101
21107
|
allowClear: false,
|
|
21102
21108
|
options: reasonList,
|
|
21103
21109
|
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$5 === null || typeMap$5 === void 0 ? void 0 : (_typeMap$type30 = typeMap$5[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.typeName)],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.54-beta.
|
|
3
|
+
"version": "2.0.54-beta.33",
|
|
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": "2.0.54-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.33",
|
|
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": "
|
|
68
|
+
"gitHead": "d2f3125e5ad75c2eb1505d185847882aff62dc17"
|
|
69
69
|
}
|