@kmkf-fe-packages/basic-components 2.0.54-beta.31 → 2.0.54-beta.34
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 +25 -17
- package/dist/index.js +25 -17
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -12293,7 +12293,7 @@ var gyColumns = [{
|
|
|
12293
12293
|
}, {
|
|
12294
12294
|
dataIndex: 'specNo',
|
|
12295
12295
|
title: 'SKU编码',
|
|
12296
|
-
width:
|
|
12296
|
+
width: 150,
|
|
12297
12297
|
ellipsis: true
|
|
12298
12298
|
}, {
|
|
12299
12299
|
dataIndex: 'goodName',
|
|
@@ -12304,11 +12304,11 @@ var gyColumns = [{
|
|
|
12304
12304
|
dataIndex: 'goodShortName',
|
|
12305
12305
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12306
12306
|
ellipsis: true,
|
|
12307
|
-
width:
|
|
12307
|
+
width: 150
|
|
12308
12308
|
}, {
|
|
12309
12309
|
dataIndex: 'goodNo',
|
|
12310
12310
|
title: '商品编码',
|
|
12311
|
-
width:
|
|
12311
|
+
width: 150,
|
|
12312
12312
|
ellipsis: true
|
|
12313
12313
|
}, {
|
|
12314
12314
|
dataIndex: 'goodPicUrl',
|
|
@@ -18595,7 +18595,9 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
18595
18595
|
var getGoodDetails = function getGoodDetails(_ref2) {
|
|
18596
18596
|
var mode = _ref2.mode;
|
|
18597
18597
|
var updateHandle = componentMap$1[compType].eventNameMap['updateGoodsHandle'];
|
|
18598
|
-
var goodDetails = updateHandle(value.orders || []
|
|
18598
|
+
var goodDetails = updateHandle(value.orders || [], {
|
|
18599
|
+
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
18600
|
+
});
|
|
18599
18601
|
var orderNo = value.orderNo;
|
|
18600
18602
|
return mode ? goodDetails.filter(function (goodItem) {
|
|
18601
18603
|
var _componentMap$compTyp;
|
|
@@ -18649,7 +18651,8 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18649
18651
|
_props$reasonList = props.reasonList,
|
|
18650
18652
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18651
18653
|
disabled = props.disabled,
|
|
18652
|
-
compType = props.type
|
|
18654
|
+
compType = props.type,
|
|
18655
|
+
isSettingConfig = props.isSettingConfig;
|
|
18653
18656
|
var valueRef = useRef({});
|
|
18654
18657
|
useEffect(function () {
|
|
18655
18658
|
var subscription = pubsub.subscribe(componentMap$2[compType].eventNameMap.exchangeCopyGood, function () {
|
|
@@ -18741,7 +18744,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18741
18744
|
var newValue = _objectSpread2({}, value);
|
|
18742
18745
|
newValue[componentMap$2[compType].returnTypeKey] = val;
|
|
18743
18746
|
newValue[componentMap$2[compType].valueKey] = [];
|
|
18744
|
-
if (['2'].includes(val[0])) {
|
|
18747
|
+
if (isSettingConfig || ['2'].includes(val[0])) {
|
|
18745
18748
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
18746
18749
|
valueRef.current = newValue;
|
|
18747
18750
|
}
|
|
@@ -18763,7 +18766,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18763
18766
|
style: {
|
|
18764
18767
|
marginBottom: '8px'
|
|
18765
18768
|
},
|
|
18766
|
-
disabled: disabled,
|
|
18769
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
18767
18770
|
allowClear: false,
|
|
18768
18771
|
options: reasonList,
|
|
18769
18772
|
value: value === null || value === void 0 ? void 0 : value[componentMap$2[compType].returnTypeKey],
|
|
@@ -18945,7 +18948,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
18945
18948
|
})));
|
|
18946
18949
|
};
|
|
18947
18950
|
|
|
18948
|
-
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18951
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
18949
18952
|
var typeMap$1 = {
|
|
18950
18953
|
WDT_REISSUE_GOODS: {
|
|
18951
18954
|
key: 'wdtReissueGoods',
|
|
@@ -18973,6 +18976,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
18973
18976
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18974
18977
|
disabled = props.disabled,
|
|
18975
18978
|
type = props.type,
|
|
18979
|
+
isSettingConfig = props.isSettingConfig,
|
|
18976
18980
|
other = _objectWithoutProperties(props, _excluded$i);
|
|
18977
18981
|
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
18982
|
var _order$srcTid;
|
|
@@ -19184,7 +19188,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19184
19188
|
style: {
|
|
19185
19189
|
marginBottom: '8px'
|
|
19186
19190
|
},
|
|
19187
|
-
disabled: disabled,
|
|
19191
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19188
19192
|
allowClear: false,
|
|
19189
19193
|
options: reasonList,
|
|
19190
19194
|
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 +19219,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19215
19219
|
})));
|
|
19216
19220
|
};
|
|
19217
19221
|
|
|
19218
|
-
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
19222
|
+
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
19219
19223
|
var typeMap$2 = {
|
|
19220
19224
|
JST_REISSUE_GOODS: {
|
|
19221
19225
|
compType: '补发',
|
|
@@ -19263,6 +19267,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19263
19267
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
19264
19268
|
disabled = props.disabled,
|
|
19265
19269
|
type = props.type,
|
|
19270
|
+
isSettingConfig = props.isSettingConfig,
|
|
19266
19271
|
other = _objectWithoutProperties(props, _excluded$j);
|
|
19267
19272
|
var getOrderFlag = useRef(false);
|
|
19268
19273
|
var _useState = useState(false),
|
|
@@ -19471,7 +19476,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19471
19476
|
style: {
|
|
19472
19477
|
marginBottom: '8px'
|
|
19473
19478
|
},
|
|
19474
|
-
disabled: disabled,
|
|
19479
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19475
19480
|
allowClear: false,
|
|
19476
19481
|
options: reasonList,
|
|
19477
19482
|
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 +20327,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
20322
20327
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
20323
20328
|
};
|
|
20324
20329
|
|
|
20325
|
-
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
20330
|
+
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
20326
20331
|
var typeMap$3 = {
|
|
20327
20332
|
BS_E3_REISSUE_GOODS: {
|
|
20328
20333
|
key: 'bsE3ReissueGoods',
|
|
@@ -20340,6 +20345,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20340
20345
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20341
20346
|
disabled = props.disabled,
|
|
20342
20347
|
type = props.type,
|
|
20348
|
+
isSettingConfig = props.isSettingConfig,
|
|
20343
20349
|
other = _objectWithoutProperties(props, _excluded$o);
|
|
20344
20350
|
var getOrderFlag = useRef(false);
|
|
20345
20351
|
var valueRef = useRef(null);
|
|
@@ -20527,7 +20533,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20527
20533
|
style: {
|
|
20528
20534
|
marginBottom: '8px'
|
|
20529
20535
|
},
|
|
20530
|
-
disabled: disabled,
|
|
20536
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20531
20537
|
allowClear: false,
|
|
20532
20538
|
options: reasonList,
|
|
20533
20539
|
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 +20564,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20558
20564
|
})));
|
|
20559
20565
|
};
|
|
20560
20566
|
|
|
20561
|
-
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20567
|
+
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20562
20568
|
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20563
20569
|
var typeMap$4 = {
|
|
20564
20570
|
GY_REISSUE_GOODS: {
|
|
@@ -20587,6 +20593,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20587
20593
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20588
20594
|
disabled = props.disabled,
|
|
20589
20595
|
type = props.type,
|
|
20596
|
+
isSettingConfig = props.isSettingConfig,
|
|
20590
20597
|
other = _objectWithoutProperties(props, _excluded$p);
|
|
20591
20598
|
// const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
|
|
20592
20599
|
// order?.platformCode?.includes(';'),
|
|
@@ -20795,7 +20802,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20795
20802
|
style: {
|
|
20796
20803
|
marginBottom: '8px'
|
|
20797
20804
|
},
|
|
20798
|
-
disabled: disabled,
|
|
20805
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20799
20806
|
allowClear: false,
|
|
20800
20807
|
options: reasonList,
|
|
20801
20808
|
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 +20834,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20827
20834
|
})));
|
|
20828
20835
|
};
|
|
20829
20836
|
|
|
20830
|
-
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20837
|
+
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20831
20838
|
_excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20832
20839
|
var typeMap$5 = {
|
|
20833
20840
|
GY_RETURN_GOODS: {
|
|
@@ -20856,6 +20863,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
20856
20863
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20857
20864
|
disabled = props.disabled,
|
|
20858
20865
|
type = props.type,
|
|
20866
|
+
isSettingConfig = props.isSettingConfig,
|
|
20859
20867
|
other = _objectWithoutProperties(props, _excluded$q);
|
|
20860
20868
|
var valueRef = useRef({});
|
|
20861
20869
|
var getOrderFlag = useRef(false);
|
|
@@ -21085,7 +21093,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21085
21093
|
style: {
|
|
21086
21094
|
marginBottom: '8px'
|
|
21087
21095
|
},
|
|
21088
|
-
disabled: disabled,
|
|
21096
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
21089
21097
|
allowClear: false,
|
|
21090
21098
|
options: reasonList,
|
|
21091
21099
|
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
|
@@ -12305,7 +12305,7 @@ var gyColumns = [{
|
|
|
12305
12305
|
}, {
|
|
12306
12306
|
dataIndex: 'specNo',
|
|
12307
12307
|
title: 'SKU编码',
|
|
12308
|
-
width:
|
|
12308
|
+
width: 150,
|
|
12309
12309
|
ellipsis: true
|
|
12310
12310
|
}, {
|
|
12311
12311
|
dataIndex: 'goodName',
|
|
@@ -12316,11 +12316,11 @@ var gyColumns = [{
|
|
|
12316
12316
|
dataIndex: 'goodShortName',
|
|
12317
12317
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
12318
12318
|
ellipsis: true,
|
|
12319
|
-
width:
|
|
12319
|
+
width: 150
|
|
12320
12320
|
}, {
|
|
12321
12321
|
dataIndex: 'goodNo',
|
|
12322
12322
|
title: '商品编码',
|
|
12323
|
-
width:
|
|
12323
|
+
width: 150,
|
|
12324
12324
|
ellipsis: true
|
|
12325
12325
|
}, {
|
|
12326
12326
|
dataIndex: 'goodPicUrl',
|
|
@@ -18607,7 +18607,9 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
18607
18607
|
var getGoodDetails = function getGoodDetails(_ref2) {
|
|
18608
18608
|
var mode = _ref2.mode;
|
|
18609
18609
|
var updateHandle = componentMap$1[compType].eventNameMap['updateGoodsHandle'];
|
|
18610
|
-
var goodDetails = updateHandle(value.orders || []
|
|
18610
|
+
var goodDetails = updateHandle(value.orders || [], {
|
|
18611
|
+
orderBackGoodsLevel: props.orderBackGoodsLevel
|
|
18612
|
+
});
|
|
18611
18613
|
var orderNo = value.orderNo;
|
|
18612
18614
|
return mode ? goodDetails.filter(function (goodItem) {
|
|
18613
18615
|
var _componentMap$compTyp;
|
|
@@ -18661,7 +18663,8 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18661
18663
|
_props$reasonList = props.reasonList,
|
|
18662
18664
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18663
18665
|
disabled = props.disabled,
|
|
18664
|
-
compType = props.type
|
|
18666
|
+
compType = props.type,
|
|
18667
|
+
isSettingConfig = props.isSettingConfig;
|
|
18665
18668
|
var valueRef = React.useRef({});
|
|
18666
18669
|
React.useEffect(function () {
|
|
18667
18670
|
var subscription = pubsub__default['default'].subscribe(componentMap$2[compType].eventNameMap.exchangeCopyGood, function () {
|
|
@@ -18753,7 +18756,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18753
18756
|
var newValue = _objectSpread2({}, value);
|
|
18754
18757
|
newValue[componentMap$2[compType].returnTypeKey] = val;
|
|
18755
18758
|
newValue[componentMap$2[compType].valueKey] = [];
|
|
18756
|
-
if (['2'].includes(val[0])) {
|
|
18759
|
+
if (isSettingConfig || ['2'].includes(val[0])) {
|
|
18757
18760
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
18758
18761
|
valueRef.current = newValue;
|
|
18759
18762
|
}
|
|
@@ -18775,7 +18778,7 @@ var CommonReturnGoods = function CommonReturnGoods(props) {
|
|
|
18775
18778
|
style: {
|
|
18776
18779
|
marginBottom: '8px'
|
|
18777
18780
|
},
|
|
18778
|
-
disabled: disabled,
|
|
18781
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
18779
18782
|
allowClear: false,
|
|
18780
18783
|
options: reasonList,
|
|
18781
18784
|
value: value === null || value === void 0 ? void 0 : value[componentMap$2[compType].returnTypeKey],
|
|
@@ -18957,7 +18960,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
18957
18960
|
})));
|
|
18958
18961
|
};
|
|
18959
18962
|
|
|
18960
|
-
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18963
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
18961
18964
|
var typeMap$1 = {
|
|
18962
18965
|
WDT_REISSUE_GOODS: {
|
|
18963
18966
|
key: 'wdtReissueGoods',
|
|
@@ -18985,6 +18988,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
18985
18988
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18986
18989
|
disabled = props.disabled,
|
|
18987
18990
|
type = props.type,
|
|
18991
|
+
isSettingConfig = props.isSettingConfig,
|
|
18988
18992
|
other = _objectWithoutProperties(props, _excluded$i);
|
|
18989
18993
|
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
18994
|
var _order$srcTid;
|
|
@@ -19196,7 +19200,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19196
19200
|
style: {
|
|
19197
19201
|
marginBottom: '8px'
|
|
19198
19202
|
},
|
|
19199
|
-
disabled: disabled,
|
|
19203
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19200
19204
|
allowClear: false,
|
|
19201
19205
|
options: reasonList,
|
|
19202
19206
|
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 +19231,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
19227
19231
|
})));
|
|
19228
19232
|
};
|
|
19229
19233
|
|
|
19230
|
-
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
19234
|
+
var _excluded$j = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
19231
19235
|
var typeMap$2 = {
|
|
19232
19236
|
JST_REISSUE_GOODS: {
|
|
19233
19237
|
compType: '补发',
|
|
@@ -19275,6 +19279,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19275
19279
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
19276
19280
|
disabled = props.disabled,
|
|
19277
19281
|
type = props.type,
|
|
19282
|
+
isSettingConfig = props.isSettingConfig,
|
|
19278
19283
|
other = _objectWithoutProperties(props, _excluded$j);
|
|
19279
19284
|
var getOrderFlag = React.useRef(false);
|
|
19280
19285
|
var _useState = React.useState(false),
|
|
@@ -19483,7 +19488,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
19483
19488
|
style: {
|
|
19484
19489
|
marginBottom: '8px'
|
|
19485
19490
|
},
|
|
19486
|
-
disabled: disabled,
|
|
19491
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
19487
19492
|
allowClear: false,
|
|
19488
19493
|
options: reasonList,
|
|
19489
19494
|
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 +20339,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
20334
20339
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
20335
20340
|
};
|
|
20336
20341
|
|
|
20337
|
-
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
20342
|
+
var _excluded$o = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"];
|
|
20338
20343
|
var typeMap$3 = {
|
|
20339
20344
|
BS_E3_REISSUE_GOODS: {
|
|
20340
20345
|
key: 'bsE3ReissueGoods',
|
|
@@ -20352,6 +20357,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20352
20357
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20353
20358
|
disabled = props.disabled,
|
|
20354
20359
|
type = props.type,
|
|
20360
|
+
isSettingConfig = props.isSettingConfig,
|
|
20355
20361
|
other = _objectWithoutProperties(props, _excluded$o);
|
|
20356
20362
|
var getOrderFlag = React.useRef(false);
|
|
20357
20363
|
var valueRef = React.useRef(null);
|
|
@@ -20539,7 +20545,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20539
20545
|
style: {
|
|
20540
20546
|
marginBottom: '8px'
|
|
20541
20547
|
},
|
|
20542
|
-
disabled: disabled,
|
|
20548
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20543
20549
|
allowClear: false,
|
|
20544
20550
|
options: reasonList,
|
|
20545
20551
|
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 +20576,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
20570
20576
|
})));
|
|
20571
20577
|
};
|
|
20572
20578
|
|
|
20573
|
-
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20579
|
+
var _excluded$p = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20574
20580
|
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20575
20581
|
var typeMap$4 = {
|
|
20576
20582
|
GY_REISSUE_GOODS: {
|
|
@@ -20599,6 +20605,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20599
20605
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20600
20606
|
disabled = props.disabled,
|
|
20601
20607
|
type = props.type,
|
|
20608
|
+
isSettingConfig = props.isSettingConfig,
|
|
20602
20609
|
other = _objectWithoutProperties(props, _excluded$p);
|
|
20603
20610
|
// const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
|
|
20604
20611
|
// order?.platformCode?.includes(';'),
|
|
@@ -20807,7 +20814,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20807
20814
|
style: {
|
|
20808
20815
|
marginBottom: '8px'
|
|
20809
20816
|
},
|
|
20810
|
-
disabled: disabled,
|
|
20817
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
20811
20818
|
allowClear: false,
|
|
20812
20819
|
options: reasonList,
|
|
20813
20820
|
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 +20846,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
20839
20846
|
})));
|
|
20840
20847
|
};
|
|
20841
20848
|
|
|
20842
|
-
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
20849
|
+
var _excluded$q = ["value", "onChange", "reasonList", "disabled", "type", "isSettingConfig"],
|
|
20843
20850
|
_excluded2$1 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
20844
20851
|
var typeMap$5 = {
|
|
20845
20852
|
GY_RETURN_GOODS: {
|
|
@@ -20868,6 +20875,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
20868
20875
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
20869
20876
|
disabled = props.disabled,
|
|
20870
20877
|
type = props.type,
|
|
20878
|
+
isSettingConfig = props.isSettingConfig,
|
|
20871
20879
|
other = _objectWithoutProperties(props, _excluded$q);
|
|
20872
20880
|
var valueRef = React.useRef({});
|
|
20873
20881
|
var getOrderFlag = React.useRef(false);
|
|
@@ -21097,7 +21105,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
21097
21105
|
style: {
|
|
21098
21106
|
marginBottom: '8px'
|
|
21099
21107
|
},
|
|
21100
|
-
disabled: disabled,
|
|
21108
|
+
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
21101
21109
|
allowClear: false,
|
|
21102
21110
|
options: reasonList,
|
|
21103
21111
|
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.34",
|
|
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.34",
|
|
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": "3579a73f83f5c551f4f7a7a6d314b2681e483974"
|
|
69
69
|
}
|