@kmkf-fe-packages/basic-components 2.0.12-beta.30 → 2.0.12-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 +46 -22
- package/dist/index.js +46 -22
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -12516,6 +12516,7 @@ var getTableData$2 = function getTableData(_ref, formData) {
|
|
|
12516
12516
|
var current = _ref.current,
|
|
12517
12517
|
pageSize = _ref.pageSize;
|
|
12518
12518
|
var data = {
|
|
12519
|
+
goodShortName: formData.goodShortName || null,
|
|
12519
12520
|
goodNo: formData.goodNo || null,
|
|
12520
12521
|
goodName: formData.goodName || null,
|
|
12521
12522
|
skuCode: formData.skuCode || null,
|
|
@@ -12673,6 +12674,17 @@ var GoodList$2 = function GoodList(props, ref) {
|
|
|
12673
12674
|
layout: "inline",
|
|
12674
12675
|
form: form
|
|
12675
12676
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
12677
|
+
name: "goodShortName",
|
|
12678
|
+
style: {
|
|
12679
|
+
marginBottom: '12px'
|
|
12680
|
+
}
|
|
12681
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
12682
|
+
placeholder: "\u5546\u54C1\u7B80\u79F0",
|
|
12683
|
+
allowClear: true,
|
|
12684
|
+
style: {
|
|
12685
|
+
width: 150
|
|
12686
|
+
}
|
|
12687
|
+
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
12676
12688
|
name: "goodNo",
|
|
12677
12689
|
style: {
|
|
12678
12690
|
marginBottom: '12px'
|
|
@@ -15212,7 +15224,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15212
15224
|
var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
|
|
15213
15225
|
// 监听聚水潭退货商品
|
|
15214
15226
|
var jstReturnGoods = Form === null || Form === void 0 ? void 0 : Form.useWatch('3979edfd6d', form);
|
|
15215
|
-
var isShowSelectTradeGoods = jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo;
|
|
15227
|
+
var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
|
|
15216
15228
|
var refModal = useRef();
|
|
15217
15229
|
console.debug('表格数据', value);
|
|
15218
15230
|
var handleDelete = function handleDelete(record, index) {
|
|
@@ -16293,6 +16305,8 @@ var getGyOrderListSingleton = function getGyOrderListSingleton(orderNo) {
|
|
|
16293
16305
|
billTag: item.tagName,
|
|
16294
16306
|
tradeTagName: item.tradeTagName,
|
|
16295
16307
|
deliveryState: item.deliveryState,
|
|
16308
|
+
vipCode: item.vipCode,
|
|
16309
|
+
shopCode: item.shopCode,
|
|
16296
16310
|
deliveryStateName: GY_DELIVERY_STATE_MAPPING[item.deliveryState]
|
|
16297
16311
|
});
|
|
16298
16312
|
});
|
|
@@ -16395,6 +16409,7 @@ var kmUtils = {
|
|
|
16395
16409
|
getOrderListSingleton: getOrderListSingleton
|
|
16396
16410
|
};
|
|
16397
16411
|
|
|
16412
|
+
var _excluded$g = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
16398
16413
|
var columnsMap = {
|
|
16399
16414
|
BS_SYSTEM_ORDER: BS_SYSTEM_ORDER_CONFIG.columns,
|
|
16400
16415
|
KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
|
|
@@ -16663,15 +16678,20 @@ var index$1 = (function (props) {
|
|
|
16663
16678
|
billType = _ref10.billType,
|
|
16664
16679
|
billTag = _ref10.billTag,
|
|
16665
16680
|
tradeTagName = _ref10.tradeTagName,
|
|
16666
|
-
deliveryState = _ref10.deliveryState
|
|
16667
|
-
|
|
16681
|
+
deliveryState = _ref10.deliveryState,
|
|
16682
|
+
vipCode = _ref10.vipCode,
|
|
16683
|
+
shopCode = _ref10.shopCode,
|
|
16684
|
+
rest = _objectWithoutProperties(_ref10, _excluded$g);
|
|
16685
|
+
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
16668
16686
|
billNo: billNo,
|
|
16669
16687
|
billType: billType,
|
|
16670
16688
|
billTag: billTag,
|
|
16671
16689
|
tradeTagName: tradeTagName,
|
|
16672
16690
|
deliveryState: deliveryState,
|
|
16673
|
-
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
16674
|
-
|
|
16691
|
+
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
16692
|
+
vipCode: vipCode,
|
|
16693
|
+
shopCode: shopCode
|
|
16694
|
+
});
|
|
16675
16695
|
})
|
|
16676
16696
|
}));
|
|
16677
16697
|
});
|
|
@@ -17366,7 +17386,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
17366
17386
|
})));
|
|
17367
17387
|
};
|
|
17368
17388
|
|
|
17369
|
-
var _excluded$
|
|
17389
|
+
var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17370
17390
|
var typeMap$1 = {
|
|
17371
17391
|
WDT_REISSUE_GOODS: {
|
|
17372
17392
|
key: 'wdtReissueGoods',
|
|
@@ -17394,7 +17414,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17394
17414
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17395
17415
|
disabled = props.disabled,
|
|
17396
17416
|
type = props.type,
|
|
17397
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17417
|
+
other = _objectWithoutProperties(props, _excluded$h);
|
|
17398
17418
|
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) {
|
|
17399
17419
|
var _order$srcTid;
|
|
17400
17420
|
return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
|
|
@@ -17638,7 +17658,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17638
17658
|
})));
|
|
17639
17659
|
};
|
|
17640
17660
|
|
|
17641
|
-
var _excluded$
|
|
17661
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17642
17662
|
var typeMap$2 = {
|
|
17643
17663
|
JST_REISSUE_GOODS: {
|
|
17644
17664
|
compType: '补发',
|
|
@@ -17685,7 +17705,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
17685
17705
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17686
17706
|
disabled = props.disabled,
|
|
17687
17707
|
type = props.type,
|
|
17688
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17708
|
+
other = _objectWithoutProperties(props, _excluded$i);
|
|
17689
17709
|
var getOrderFlag = useRef(false);
|
|
17690
17710
|
var _useState = useState(false),
|
|
17691
17711
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18413,12 +18433,12 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
18413
18433
|
};
|
|
18414
18434
|
var index$2 = /*#__PURE__*/forwardRef(Goods$1);
|
|
18415
18435
|
|
|
18416
|
-
var _excluded$
|
|
18436
|
+
var _excluded$j = ["onChange", "value", "failValue"];
|
|
18417
18437
|
function CommonStatus(props) {
|
|
18418
18438
|
var onChange = props.onChange,
|
|
18419
18439
|
value = props.value,
|
|
18420
18440
|
failValue = props.failValue,
|
|
18421
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18441
|
+
other = _objectWithoutProperties(props, _excluded$j);
|
|
18422
18442
|
var changeHandle = function changeHandle(val) {
|
|
18423
18443
|
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
18424
18444
|
status: val,
|
|
@@ -18555,7 +18575,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
18555
18575
|
})) : null) : null);
|
|
18556
18576
|
};
|
|
18557
18577
|
|
|
18558
|
-
var _excluded$
|
|
18578
|
+
var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18559
18579
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
18560
18580
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18561
18581
|
var _props$value = props.value,
|
|
@@ -18565,7 +18585,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18565
18585
|
failValue = props.failValue,
|
|
18566
18586
|
_props$type = props.type,
|
|
18567
18587
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18568
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18588
|
+
other = _objectWithoutProperties(props, _excluded$k);
|
|
18569
18589
|
var _useState = useState(0),
|
|
18570
18590
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18571
18591
|
changeIndex = _useState2[0],
|
|
@@ -18631,7 +18651,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18631
18651
|
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null));
|
|
18632
18652
|
};
|
|
18633
18653
|
|
|
18634
|
-
var _excluded$
|
|
18654
|
+
var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18635
18655
|
var MsgStatus = function MsgStatus(props) {
|
|
18636
18656
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18637
18657
|
var _props$value = props.value,
|
|
@@ -18641,7 +18661,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
18641
18661
|
failValue = props.failValue,
|
|
18642
18662
|
_props$type = props.type,
|
|
18643
18663
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18644
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18664
|
+
other = _objectWithoutProperties(props, _excluded$l);
|
|
18645
18665
|
var _useState = useState(0),
|
|
18646
18666
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18647
18667
|
changeIndex = _useState2[0],
|
|
@@ -18672,7 +18692,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
18672
18692
|
onClick: function onClick() {
|
|
18673
18693
|
return setChangeIndex(index);
|
|
18674
18694
|
}
|
|
18675
|
-
}, msgTypeCh[key], item.ruleName);
|
|
18695
|
+
}, msgTypeCh[key] || key, item.ruleName);
|
|
18676
18696
|
}))) : null, type === 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
18677
18697
|
showSearch: true,
|
|
18678
18698
|
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
|
|
@@ -18710,7 +18730,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
18710
18730
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
18711
18731
|
};
|
|
18712
18732
|
|
|
18713
|
-
var _excluded$
|
|
18733
|
+
var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18714
18734
|
var typeMap$3 = {
|
|
18715
18735
|
BS_E3_REISSUE_GOODS: {
|
|
18716
18736
|
key: 'bsE3ReissueGoods',
|
|
@@ -18728,7 +18748,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18728
18748
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18729
18749
|
disabled = props.disabled,
|
|
18730
18750
|
type = props.type,
|
|
18731
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18751
|
+
other = _objectWithoutProperties(props, _excluded$m);
|
|
18732
18752
|
var getOrderFlag = useRef(false);
|
|
18733
18753
|
var _useState = useState(false),
|
|
18734
18754
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18944,8 +18964,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18944
18964
|
})));
|
|
18945
18965
|
};
|
|
18946
18966
|
|
|
18947
|
-
var _excluded$
|
|
18948
|
-
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState"];
|
|
18967
|
+
var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
18968
|
+
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
18949
18969
|
var typeMap$4 = {
|
|
18950
18970
|
GY_REISSUE_GOODS: {
|
|
18951
18971
|
key: 'gyReissueGoods',
|
|
@@ -18973,7 +18993,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
18973
18993
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18974
18994
|
disabled = props.disabled,
|
|
18975
18995
|
type = props.type,
|
|
18976
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18996
|
+
other = _objectWithoutProperties(props, _excluded$n);
|
|
18977
18997
|
var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$gySystemOrder = value.gySystemOrder) === null || _value$gySystemOrder === void 0 ? void 0 : _value$gySystemOrder.orders) || []).some(function (order) {
|
|
18978
18998
|
var _order$platformCode;
|
|
18979
18999
|
return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
|
|
@@ -19007,6 +19027,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
19007
19027
|
billTag = _ref2.billTag,
|
|
19008
19028
|
tradeTagName = _ref2.tradeTagName,
|
|
19009
19029
|
deliveryState = _ref2.deliveryState,
|
|
19030
|
+
vipCode = _ref2.vipCode,
|
|
19031
|
+
shopCode = _ref2.shopCode,
|
|
19010
19032
|
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
19011
19033
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
19012
19034
|
billNo: billNo,
|
|
@@ -19014,7 +19036,9 @@ var GyReissue = function GyReissue(props) {
|
|
|
19014
19036
|
billTag: billTag,
|
|
19015
19037
|
tradeTagName: tradeTagName,
|
|
19016
19038
|
deliveryState: deliveryState,
|
|
19017
|
-
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
19039
|
+
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
19040
|
+
vipCode: vipCode,
|
|
19041
|
+
shopCode: shopCode
|
|
19018
19042
|
});
|
|
19019
19043
|
});
|
|
19020
19044
|
onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]), {}, {
|
package/dist/index.js
CHANGED
|
@@ -12528,6 +12528,7 @@ var getTableData$2 = function getTableData(_ref, formData) {
|
|
|
12528
12528
|
var current = _ref.current,
|
|
12529
12529
|
pageSize = _ref.pageSize;
|
|
12530
12530
|
var data = {
|
|
12531
|
+
goodShortName: formData.goodShortName || null,
|
|
12531
12532
|
goodNo: formData.goodNo || null,
|
|
12532
12533
|
goodName: formData.goodName || null,
|
|
12533
12534
|
skuCode: formData.skuCode || null,
|
|
@@ -12685,6 +12686,17 @@ var GoodList$2 = function GoodList(props, ref) {
|
|
|
12685
12686
|
layout: "inline",
|
|
12686
12687
|
form: form
|
|
12687
12688
|
}, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
12689
|
+
name: "goodShortName",
|
|
12690
|
+
style: {
|
|
12691
|
+
marginBottom: '12px'
|
|
12692
|
+
}
|
|
12693
|
+
}, /*#__PURE__*/React__default['default'].createElement(antd.Input, {
|
|
12694
|
+
placeholder: "\u5546\u54C1\u7B80\u79F0",
|
|
12695
|
+
allowClear: true,
|
|
12696
|
+
style: {
|
|
12697
|
+
width: 150
|
|
12698
|
+
}
|
|
12699
|
+
})), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
|
|
12688
12700
|
name: "goodNo",
|
|
12689
12701
|
style: {
|
|
12690
12702
|
marginBottom: '12px'
|
|
@@ -15224,7 +15236,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15224
15236
|
var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
|
|
15225
15237
|
// 监听聚水潭退货商品
|
|
15226
15238
|
var jstReturnGoods = antd.Form === null || antd.Form === void 0 ? void 0 : antd.Form.useWatch('3979edfd6d', form);
|
|
15227
|
-
var isShowSelectTradeGoods = jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo;
|
|
15239
|
+
var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
|
|
15228
15240
|
var refModal = React.useRef();
|
|
15229
15241
|
console.debug('表格数据', value);
|
|
15230
15242
|
var handleDelete = function handleDelete(record, index) {
|
|
@@ -16305,6 +16317,8 @@ var getGyOrderListSingleton = function getGyOrderListSingleton(orderNo) {
|
|
|
16305
16317
|
billTag: item.tagName,
|
|
16306
16318
|
tradeTagName: item.tradeTagName,
|
|
16307
16319
|
deliveryState: item.deliveryState,
|
|
16320
|
+
vipCode: item.vipCode,
|
|
16321
|
+
shopCode: item.shopCode,
|
|
16308
16322
|
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[item.deliveryState]
|
|
16309
16323
|
});
|
|
16310
16324
|
});
|
|
@@ -16407,6 +16421,7 @@ var kmUtils = {
|
|
|
16407
16421
|
getOrderListSingleton: getOrderListSingleton
|
|
16408
16422
|
};
|
|
16409
16423
|
|
|
16424
|
+
var _excluded$g = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
16410
16425
|
var columnsMap = {
|
|
16411
16426
|
BS_SYSTEM_ORDER: kmkfUtils.BS_SYSTEM_ORDER_CONFIG.columns,
|
|
16412
16427
|
KM_SYSTEM_ORDER: kmkfUtils.KM_SYSTEM_ORDER_CONFIG.columns,
|
|
@@ -16675,15 +16690,20 @@ var index$1 = (function (props) {
|
|
|
16675
16690
|
billType = _ref10.billType,
|
|
16676
16691
|
billTag = _ref10.billTag,
|
|
16677
16692
|
tradeTagName = _ref10.tradeTagName,
|
|
16678
|
-
deliveryState = _ref10.deliveryState
|
|
16679
|
-
|
|
16693
|
+
deliveryState = _ref10.deliveryState,
|
|
16694
|
+
vipCode = _ref10.vipCode,
|
|
16695
|
+
shopCode = _ref10.shopCode,
|
|
16696
|
+
rest = _objectWithoutProperties(_ref10, _excluded$g);
|
|
16697
|
+
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
16680
16698
|
billNo: billNo,
|
|
16681
16699
|
billType: billType,
|
|
16682
16700
|
billTag: billTag,
|
|
16683
16701
|
tradeTagName: tradeTagName,
|
|
16684
16702
|
deliveryState: deliveryState,
|
|
16685
|
-
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
16686
|
-
|
|
16703
|
+
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
16704
|
+
vipCode: vipCode,
|
|
16705
|
+
shopCode: shopCode
|
|
16706
|
+
});
|
|
16687
16707
|
})
|
|
16688
16708
|
}));
|
|
16689
16709
|
});
|
|
@@ -17378,7 +17398,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
17378
17398
|
})));
|
|
17379
17399
|
};
|
|
17380
17400
|
|
|
17381
|
-
var _excluded$
|
|
17401
|
+
var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17382
17402
|
var typeMap$1 = {
|
|
17383
17403
|
WDT_REISSUE_GOODS: {
|
|
17384
17404
|
key: 'wdtReissueGoods',
|
|
@@ -17406,7 +17426,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17406
17426
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17407
17427
|
disabled = props.disabled,
|
|
17408
17428
|
type = props.type,
|
|
17409
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17429
|
+
other = _objectWithoutProperties(props, _excluded$h);
|
|
17410
17430
|
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) {
|
|
17411
17431
|
var _order$srcTid;
|
|
17412
17432
|
return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
|
|
@@ -17650,7 +17670,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17650
17670
|
})));
|
|
17651
17671
|
};
|
|
17652
17672
|
|
|
17653
|
-
var _excluded$
|
|
17673
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17654
17674
|
var typeMap$2 = {
|
|
17655
17675
|
JST_REISSUE_GOODS: {
|
|
17656
17676
|
compType: '补发',
|
|
@@ -17697,7 +17717,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
17697
17717
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17698
17718
|
disabled = props.disabled,
|
|
17699
17719
|
type = props.type,
|
|
17700
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17720
|
+
other = _objectWithoutProperties(props, _excluded$i);
|
|
17701
17721
|
var getOrderFlag = React.useRef(false);
|
|
17702
17722
|
var _useState = React.useState(false),
|
|
17703
17723
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18425,12 +18445,12 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
18425
18445
|
};
|
|
18426
18446
|
var index$2 = /*#__PURE__*/React.forwardRef(Goods$1);
|
|
18427
18447
|
|
|
18428
|
-
var _excluded$
|
|
18448
|
+
var _excluded$j = ["onChange", "value", "failValue"];
|
|
18429
18449
|
function CommonStatus(props) {
|
|
18430
18450
|
var onChange = props.onChange,
|
|
18431
18451
|
value = props.value,
|
|
18432
18452
|
failValue = props.failValue,
|
|
18433
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18453
|
+
other = _objectWithoutProperties(props, _excluded$j);
|
|
18434
18454
|
var changeHandle = function changeHandle(val) {
|
|
18435
18455
|
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
18436
18456
|
status: val,
|
|
@@ -18567,7 +18587,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
18567
18587
|
})) : null) : null);
|
|
18568
18588
|
};
|
|
18569
18589
|
|
|
18570
|
-
var _excluded$
|
|
18590
|
+
var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18571
18591
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
18572
18592
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18573
18593
|
var _props$value = props.value,
|
|
@@ -18577,7 +18597,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18577
18597
|
failValue = props.failValue,
|
|
18578
18598
|
_props$type = props.type,
|
|
18579
18599
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18580
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18600
|
+
other = _objectWithoutProperties(props, _excluded$k);
|
|
18581
18601
|
var _useState = React.useState(0),
|
|
18582
18602
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18583
18603
|
changeIndex = _useState2[0],
|
|
@@ -18643,7 +18663,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18643
18663
|
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null));
|
|
18644
18664
|
};
|
|
18645
18665
|
|
|
18646
|
-
var _excluded$
|
|
18666
|
+
var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18647
18667
|
var MsgStatus = function MsgStatus(props) {
|
|
18648
18668
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18649
18669
|
var _props$value = props.value,
|
|
@@ -18653,7 +18673,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
18653
18673
|
failValue = props.failValue,
|
|
18654
18674
|
_props$type = props.type,
|
|
18655
18675
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18656
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18676
|
+
other = _objectWithoutProperties(props, _excluded$l);
|
|
18657
18677
|
var _useState = React.useState(0),
|
|
18658
18678
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18659
18679
|
changeIndex = _useState2[0],
|
|
@@ -18684,7 +18704,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
18684
18704
|
onClick: function onClick() {
|
|
18685
18705
|
return setChangeIndex(index);
|
|
18686
18706
|
}
|
|
18687
|
-
}, kmkfUtils.msgTypeCh[key], item.ruleName);
|
|
18707
|
+
}, kmkfUtils.msgTypeCh[key] || key, item.ruleName);
|
|
18688
18708
|
}))) : null, type === 1 ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, other), {}, {
|
|
18689
18709
|
showSearch: true,
|
|
18690
18710
|
value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
|
|
@@ -18722,7 +18742,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
18722
18742
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
18723
18743
|
};
|
|
18724
18744
|
|
|
18725
|
-
var _excluded$
|
|
18745
|
+
var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18726
18746
|
var typeMap$3 = {
|
|
18727
18747
|
BS_E3_REISSUE_GOODS: {
|
|
18728
18748
|
key: 'bsE3ReissueGoods',
|
|
@@ -18740,7 +18760,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18740
18760
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18741
18761
|
disabled = props.disabled,
|
|
18742
18762
|
type = props.type,
|
|
18743
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18763
|
+
other = _objectWithoutProperties(props, _excluded$m);
|
|
18744
18764
|
var getOrderFlag = React.useRef(false);
|
|
18745
18765
|
var _useState = React.useState(false),
|
|
18746
18766
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18956,8 +18976,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18956
18976
|
})));
|
|
18957
18977
|
};
|
|
18958
18978
|
|
|
18959
|
-
var _excluded$
|
|
18960
|
-
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState"];
|
|
18979
|
+
var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
18980
|
+
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
18961
18981
|
var typeMap$4 = {
|
|
18962
18982
|
GY_REISSUE_GOODS: {
|
|
18963
18983
|
key: 'gyReissueGoods',
|
|
@@ -18985,7 +19005,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
18985
19005
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18986
19006
|
disabled = props.disabled,
|
|
18987
19007
|
type = props.type,
|
|
18988
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
19008
|
+
other = _objectWithoutProperties(props, _excluded$n);
|
|
18989
19009
|
var showModeBtn = ((value === null || value === void 0 ? void 0 : (_value$gySystemOrder = value.gySystemOrder) === null || _value$gySystemOrder === void 0 ? void 0 : _value$gySystemOrder.orders) || []).some(function (order) {
|
|
18990
19010
|
var _order$platformCode;
|
|
18991
19011
|
return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
|
|
@@ -19019,6 +19039,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
19019
19039
|
billTag = _ref2.billTag,
|
|
19020
19040
|
tradeTagName = _ref2.tradeTagName,
|
|
19021
19041
|
deliveryState = _ref2.deliveryState,
|
|
19042
|
+
vipCode = _ref2.vipCode,
|
|
19043
|
+
shopCode = _ref2.shopCode,
|
|
19022
19044
|
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
19023
19045
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
19024
19046
|
billNo: billNo,
|
|
@@ -19026,7 +19048,9 @@ var GyReissue = function GyReissue(props) {
|
|
|
19026
19048
|
billTag: billTag,
|
|
19027
19049
|
tradeTagName: tradeTagName,
|
|
19028
19050
|
deliveryState: deliveryState,
|
|
19029
|
-
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
19051
|
+
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
19052
|
+
vipCode: vipCode,
|
|
19053
|
+
shopCode: shopCode
|
|
19030
19054
|
});
|
|
19031
19055
|
});
|
|
19032
19056
|
onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, value[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.12-beta.
|
|
3
|
+
"version": "2.0.12-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": "2.0.12-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.12-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": "
|
|
68
|
+
"gitHead": "cd142ecde5bc537dbecc8eb58465ab2450bbe33b"
|
|
69
69
|
}
|