@kmkf-fe-packages/basic-components 2.0.12-beta.2 → 2.0.12-beta.3
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 +33 -21
- package/dist/index.js +33 -21
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -15316,7 +15316,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15316
15316
|
}
|
|
15317
15317
|
return params;
|
|
15318
15318
|
}, [tableSelect, selectedRowKeys]);
|
|
15319
|
-
var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'];
|
|
15319
|
+
var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
|
|
15320
15320
|
return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && showChangeBtn && /*#__PURE__*/React.createElement("div", {
|
|
15321
15321
|
style: {
|
|
15322
15322
|
float: 'right'
|
|
@@ -16066,6 +16066,8 @@ var getGyOrderListSingleton = function getGyOrderListSingleton(orderNo) {
|
|
|
16066
16066
|
billTag: item.tagName,
|
|
16067
16067
|
tradeTagName: item.tradeTagName,
|
|
16068
16068
|
deliveryState: item.deliveryState,
|
|
16069
|
+
vipCode: item.vipCode,
|
|
16070
|
+
shopCode: item.shopCode,
|
|
16069
16071
|
deliveryStateName: GY_DELIVERY_STATE_MAPPING[item.deliveryState]
|
|
16070
16072
|
});
|
|
16071
16073
|
});
|
|
@@ -16168,6 +16170,7 @@ var kmUtils = {
|
|
|
16168
16170
|
getOrderListSingleton: getOrderListSingleton
|
|
16169
16171
|
};
|
|
16170
16172
|
|
|
16173
|
+
var _excluded$g = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
16171
16174
|
var columnsMap = {
|
|
16172
16175
|
BS_SYSTEM_ORDER: BS_SYSTEM_ORDER_CONFIG.columns,
|
|
16173
16176
|
KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
|
|
@@ -16436,15 +16439,20 @@ var index$1 = (function (props) {
|
|
|
16436
16439
|
billType = _ref10.billType,
|
|
16437
16440
|
billTag = _ref10.billTag,
|
|
16438
16441
|
tradeTagName = _ref10.tradeTagName,
|
|
16439
|
-
deliveryState = _ref10.deliveryState
|
|
16440
|
-
|
|
16442
|
+
deliveryState = _ref10.deliveryState,
|
|
16443
|
+
vipCode = _ref10.vipCode,
|
|
16444
|
+
shopCode = _ref10.shopCode,
|
|
16445
|
+
rest = _objectWithoutProperties(_ref10, _excluded$g);
|
|
16446
|
+
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
16441
16447
|
billNo: billNo,
|
|
16442
16448
|
billType: billType,
|
|
16443
16449
|
billTag: billTag,
|
|
16444
16450
|
tradeTagName: tradeTagName,
|
|
16445
16451
|
deliveryState: deliveryState,
|
|
16446
|
-
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
16447
|
-
|
|
16452
|
+
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
16453
|
+
vipCode: vipCode,
|
|
16454
|
+
shopCode: shopCode
|
|
16455
|
+
});
|
|
16448
16456
|
})
|
|
16449
16457
|
}));
|
|
16450
16458
|
});
|
|
@@ -17077,7 +17085,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
17077
17085
|
})));
|
|
17078
17086
|
};
|
|
17079
17087
|
|
|
17080
|
-
var _excluded$
|
|
17088
|
+
var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17081
17089
|
var typeMap$1 = {
|
|
17082
17090
|
WDT_REISSUE_GOODS: {
|
|
17083
17091
|
key: 'wdtReissueGoods',
|
|
@@ -17105,7 +17113,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17105
17113
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17106
17114
|
disabled = props.disabled,
|
|
17107
17115
|
type = props.type,
|
|
17108
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17116
|
+
other = _objectWithoutProperties(props, _excluded$h);
|
|
17109
17117
|
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) {
|
|
17110
17118
|
var _order$srcTid;
|
|
17111
17119
|
return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
|
|
@@ -17349,7 +17357,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17349
17357
|
})));
|
|
17350
17358
|
};
|
|
17351
17359
|
|
|
17352
|
-
var _excluded$
|
|
17360
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17353
17361
|
var typeMap$2 = {
|
|
17354
17362
|
JST_REISSUE_GOODS: {
|
|
17355
17363
|
key: 'jstReissueGoods',
|
|
@@ -17373,7 +17381,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
17373
17381
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17374
17382
|
disabled = props.disabled,
|
|
17375
17383
|
type = props.type,
|
|
17376
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17384
|
+
other = _objectWithoutProperties(props, _excluded$i);
|
|
17377
17385
|
var getOrderFlag = useRef(false);
|
|
17378
17386
|
var _useState = useState(false),
|
|
17379
17387
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18079,12 +18087,12 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
18079
18087
|
};
|
|
18080
18088
|
var index$2 = /*#__PURE__*/forwardRef(Goods$1);
|
|
18081
18089
|
|
|
18082
|
-
var _excluded$
|
|
18090
|
+
var _excluded$j = ["onChange", "value", "failValue"];
|
|
18083
18091
|
function CommonStatus(props) {
|
|
18084
18092
|
var onChange = props.onChange,
|
|
18085
18093
|
value = props.value,
|
|
18086
18094
|
failValue = props.failValue,
|
|
18087
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18095
|
+
other = _objectWithoutProperties(props, _excluded$j);
|
|
18088
18096
|
var changeHandle = function changeHandle(val) {
|
|
18089
18097
|
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
18090
18098
|
status: val,
|
|
@@ -18221,7 +18229,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
18221
18229
|
})) : null) : null);
|
|
18222
18230
|
};
|
|
18223
18231
|
|
|
18224
|
-
var _excluded$
|
|
18232
|
+
var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18225
18233
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
18226
18234
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18227
18235
|
var _props$value = props.value,
|
|
@@ -18231,7 +18239,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18231
18239
|
failValue = props.failValue,
|
|
18232
18240
|
_props$type = props.type,
|
|
18233
18241
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18234
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18242
|
+
other = _objectWithoutProperties(props, _excluded$k);
|
|
18235
18243
|
var _useState = useState(0),
|
|
18236
18244
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18237
18245
|
changeIndex = _useState2[0],
|
|
@@ -18297,7 +18305,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18297
18305
|
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null));
|
|
18298
18306
|
};
|
|
18299
18307
|
|
|
18300
|
-
var _excluded$
|
|
18308
|
+
var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18301
18309
|
var MsgStatus = function MsgStatus(props) {
|
|
18302
18310
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18303
18311
|
var _props$value = props.value,
|
|
@@ -18307,7 +18315,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
18307
18315
|
failValue = props.failValue,
|
|
18308
18316
|
_props$type = props.type,
|
|
18309
18317
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18310
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18318
|
+
other = _objectWithoutProperties(props, _excluded$l);
|
|
18311
18319
|
var _useState = useState(0),
|
|
18312
18320
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18313
18321
|
changeIndex = _useState2[0],
|
|
@@ -18376,7 +18384,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
18376
18384
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
18377
18385
|
};
|
|
18378
18386
|
|
|
18379
|
-
var _excluded$
|
|
18387
|
+
var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18380
18388
|
var typeMap$3 = {
|
|
18381
18389
|
BS_E3_REISSUE_GOODS: {
|
|
18382
18390
|
key: 'bsE3ReissueGoods',
|
|
@@ -18394,7 +18402,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18394
18402
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18395
18403
|
disabled = props.disabled,
|
|
18396
18404
|
type = props.type,
|
|
18397
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18405
|
+
other = _objectWithoutProperties(props, _excluded$m);
|
|
18398
18406
|
var getOrderFlag = useRef(false);
|
|
18399
18407
|
var _useState = useState(false),
|
|
18400
18408
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18610,8 +18618,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18610
18618
|
})));
|
|
18611
18619
|
};
|
|
18612
18620
|
|
|
18613
|
-
var _excluded$
|
|
18614
|
-
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState"];
|
|
18621
|
+
var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
18622
|
+
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
18615
18623
|
var typeMap$4 = {
|
|
18616
18624
|
GY_REISSUE_GOODS: {
|
|
18617
18625
|
key: 'gyReissueGoods',
|
|
@@ -18639,7 +18647,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
18639
18647
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18640
18648
|
disabled = props.disabled,
|
|
18641
18649
|
type = props.type,
|
|
18642
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18650
|
+
other = _objectWithoutProperties(props, _excluded$n);
|
|
18643
18651
|
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) {
|
|
18644
18652
|
var _order$platformCode;
|
|
18645
18653
|
return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
|
|
@@ -18673,6 +18681,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
18673
18681
|
billTag = _ref2.billTag,
|
|
18674
18682
|
tradeTagName = _ref2.tradeTagName,
|
|
18675
18683
|
deliveryState = _ref2.deliveryState,
|
|
18684
|
+
vipCode = _ref2.vipCode,
|
|
18685
|
+
shopCode = _ref2.shopCode,
|
|
18676
18686
|
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
18677
18687
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
18678
18688
|
billNo: billNo,
|
|
@@ -18680,7 +18690,9 @@ var GyReissue = function GyReissue(props) {
|
|
|
18680
18690
|
billTag: billTag,
|
|
18681
18691
|
tradeTagName: tradeTagName,
|
|
18682
18692
|
deliveryState: deliveryState,
|
|
18683
|
-
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
18693
|
+
deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
18694
|
+
vipCode: vipCode,
|
|
18695
|
+
shopCode: shopCode
|
|
18684
18696
|
});
|
|
18685
18697
|
});
|
|
18686
18698
|
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
|
@@ -15328,7 +15328,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15328
15328
|
}
|
|
15329
15329
|
return params;
|
|
15330
15330
|
}, [tableSelect, selectedRowKeys]);
|
|
15331
|
-
var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'];
|
|
15331
|
+
var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
|
|
15332
15332
|
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, !disabled && showChangeBtn && /*#__PURE__*/React__default['default'].createElement("div", {
|
|
15333
15333
|
style: {
|
|
15334
15334
|
float: 'right'
|
|
@@ -16078,6 +16078,8 @@ var getGyOrderListSingleton = function getGyOrderListSingleton(orderNo) {
|
|
|
16078
16078
|
billTag: item.tagName,
|
|
16079
16079
|
tradeTagName: item.tradeTagName,
|
|
16080
16080
|
deliveryState: item.deliveryState,
|
|
16081
|
+
vipCode: item.vipCode,
|
|
16082
|
+
shopCode: item.shopCode,
|
|
16081
16083
|
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[item.deliveryState]
|
|
16082
16084
|
});
|
|
16083
16085
|
});
|
|
@@ -16180,6 +16182,7 @@ var kmUtils = {
|
|
|
16180
16182
|
getOrderListSingleton: getOrderListSingleton
|
|
16181
16183
|
};
|
|
16182
16184
|
|
|
16185
|
+
var _excluded$g = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
16183
16186
|
var columnsMap = {
|
|
16184
16187
|
BS_SYSTEM_ORDER: kmkfUtils.BS_SYSTEM_ORDER_CONFIG.columns,
|
|
16185
16188
|
KM_SYSTEM_ORDER: kmkfUtils.KM_SYSTEM_ORDER_CONFIG.columns,
|
|
@@ -16448,15 +16451,20 @@ var index$1 = (function (props) {
|
|
|
16448
16451
|
billType = _ref10.billType,
|
|
16449
16452
|
billTag = _ref10.billTag,
|
|
16450
16453
|
tradeTagName = _ref10.tradeTagName,
|
|
16451
|
-
deliveryState = _ref10.deliveryState
|
|
16452
|
-
|
|
16454
|
+
deliveryState = _ref10.deliveryState,
|
|
16455
|
+
vipCode = _ref10.vipCode,
|
|
16456
|
+
shopCode = _ref10.shopCode,
|
|
16457
|
+
rest = _objectWithoutProperties(_ref10, _excluded$g);
|
|
16458
|
+
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
16453
16459
|
billNo: billNo,
|
|
16454
16460
|
billType: billType,
|
|
16455
16461
|
billTag: billTag,
|
|
16456
16462
|
tradeTagName: tradeTagName,
|
|
16457
16463
|
deliveryState: deliveryState,
|
|
16458
|
-
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
16459
|
-
|
|
16464
|
+
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
16465
|
+
vipCode: vipCode,
|
|
16466
|
+
shopCode: shopCode
|
|
16467
|
+
});
|
|
16460
16468
|
})
|
|
16461
16469
|
}));
|
|
16462
16470
|
});
|
|
@@ -17089,7 +17097,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
17089
17097
|
})));
|
|
17090
17098
|
};
|
|
17091
17099
|
|
|
17092
|
-
var _excluded$
|
|
17100
|
+
var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17093
17101
|
var typeMap$1 = {
|
|
17094
17102
|
WDT_REISSUE_GOODS: {
|
|
17095
17103
|
key: 'wdtReissueGoods',
|
|
@@ -17117,7 +17125,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17117
17125
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17118
17126
|
disabled = props.disabled,
|
|
17119
17127
|
type = props.type,
|
|
17120
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17128
|
+
other = _objectWithoutProperties(props, _excluded$h);
|
|
17121
17129
|
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) {
|
|
17122
17130
|
var _order$srcTid;
|
|
17123
17131
|
return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
|
|
@@ -17361,7 +17369,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17361
17369
|
})));
|
|
17362
17370
|
};
|
|
17363
17371
|
|
|
17364
|
-
var _excluded$
|
|
17372
|
+
var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
17365
17373
|
var typeMap$2 = {
|
|
17366
17374
|
JST_REISSUE_GOODS: {
|
|
17367
17375
|
key: 'jstReissueGoods',
|
|
@@ -17385,7 +17393,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
17385
17393
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
17386
17394
|
disabled = props.disabled,
|
|
17387
17395
|
type = props.type,
|
|
17388
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
17396
|
+
other = _objectWithoutProperties(props, _excluded$i);
|
|
17389
17397
|
var getOrderFlag = React.useRef(false);
|
|
17390
17398
|
var _useState = React.useState(false),
|
|
17391
17399
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18091,12 +18099,12 @@ var Goods$1 = function Goods(props, ref) {
|
|
|
18091
18099
|
};
|
|
18092
18100
|
var index$2 = /*#__PURE__*/React.forwardRef(Goods$1);
|
|
18093
18101
|
|
|
18094
|
-
var _excluded$
|
|
18102
|
+
var _excluded$j = ["onChange", "value", "failValue"];
|
|
18095
18103
|
function CommonStatus(props) {
|
|
18096
18104
|
var onChange = props.onChange,
|
|
18097
18105
|
value = props.value,
|
|
18098
18106
|
failValue = props.failValue,
|
|
18099
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18107
|
+
other = _objectWithoutProperties(props, _excluded$j);
|
|
18100
18108
|
var changeHandle = function changeHandle(val) {
|
|
18101
18109
|
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
18102
18110
|
status: val,
|
|
@@ -18233,7 +18241,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
|
|
|
18233
18241
|
})) : null) : null);
|
|
18234
18242
|
};
|
|
18235
18243
|
|
|
18236
|
-
var _excluded$
|
|
18244
|
+
var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18237
18245
|
var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
18238
18246
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18239
18247
|
var _props$value = props.value,
|
|
@@ -18243,7 +18251,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18243
18251
|
failValue = props.failValue,
|
|
18244
18252
|
_props$type = props.type,
|
|
18245
18253
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18246
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18254
|
+
other = _objectWithoutProperties(props, _excluded$k);
|
|
18247
18255
|
var _useState = React.useState(0),
|
|
18248
18256
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18249
18257
|
changeIndex = _useState2[0],
|
|
@@ -18309,7 +18317,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
|
|
|
18309
18317
|
}, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null));
|
|
18310
18318
|
};
|
|
18311
18319
|
|
|
18312
|
-
var _excluded$
|
|
18320
|
+
var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
|
|
18313
18321
|
var MsgStatus = function MsgStatus(props) {
|
|
18314
18322
|
var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
|
|
18315
18323
|
var _props$value = props.value,
|
|
@@ -18319,7 +18327,7 @@ var MsgStatus = function MsgStatus(props) {
|
|
|
18319
18327
|
failValue = props.failValue,
|
|
18320
18328
|
_props$type = props.type,
|
|
18321
18329
|
type = _props$type === void 0 ? 1 : _props$type,
|
|
18322
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18330
|
+
other = _objectWithoutProperties(props, _excluded$l);
|
|
18323
18331
|
var _useState = React.useState(0),
|
|
18324
18332
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18325
18333
|
changeIndex = _useState2[0],
|
|
@@ -18388,7 +18396,7 @@ var CalculationInput = function CalculationInput(props) {
|
|
|
18388
18396
|
}, config === null || config === void 0 ? void 0 : config.unit));
|
|
18389
18397
|
};
|
|
18390
18398
|
|
|
18391
|
-
var _excluded$
|
|
18399
|
+
var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"];
|
|
18392
18400
|
var typeMap$3 = {
|
|
18393
18401
|
BS_E3_REISSUE_GOODS: {
|
|
18394
18402
|
key: 'bsE3ReissueGoods',
|
|
@@ -18406,7 +18414,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18406
18414
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18407
18415
|
disabled = props.disabled,
|
|
18408
18416
|
type = props.type,
|
|
18409
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18417
|
+
other = _objectWithoutProperties(props, _excluded$m);
|
|
18410
18418
|
var getOrderFlag = React.useRef(false);
|
|
18411
18419
|
var _useState = React.useState(false),
|
|
18412
18420
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18622,8 +18630,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18622
18630
|
})));
|
|
18623
18631
|
};
|
|
18624
18632
|
|
|
18625
|
-
var _excluded$
|
|
18626
|
-
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState"];
|
|
18633
|
+
var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"],
|
|
18634
|
+
_excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
|
|
18627
18635
|
var typeMap$4 = {
|
|
18628
18636
|
GY_REISSUE_GOODS: {
|
|
18629
18637
|
key: 'gyReissueGoods',
|
|
@@ -18651,7 +18659,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
18651
18659
|
reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
|
|
18652
18660
|
disabled = props.disabled,
|
|
18653
18661
|
type = props.type,
|
|
18654
|
-
other = _objectWithoutProperties(props, _excluded$
|
|
18662
|
+
other = _objectWithoutProperties(props, _excluded$n);
|
|
18655
18663
|
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) {
|
|
18656
18664
|
var _order$platformCode;
|
|
18657
18665
|
return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
|
|
@@ -18685,6 +18693,8 @@ var GyReissue = function GyReissue(props) {
|
|
|
18685
18693
|
billTag = _ref2.billTag,
|
|
18686
18694
|
tradeTagName = _ref2.tradeTagName,
|
|
18687
18695
|
deliveryState = _ref2.deliveryState,
|
|
18696
|
+
vipCode = _ref2.vipCode,
|
|
18697
|
+
shopCode = _ref2.shopCode,
|
|
18688
18698
|
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
18689
18699
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
18690
18700
|
billNo: billNo,
|
|
@@ -18692,7 +18702,9 @@ var GyReissue = function GyReissue(props) {
|
|
|
18692
18702
|
billTag: billTag,
|
|
18693
18703
|
tradeTagName: tradeTagName,
|
|
18694
18704
|
deliveryState: deliveryState,
|
|
18695
|
-
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState]
|
|
18705
|
+
deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState],
|
|
18706
|
+
vipCode: vipCode,
|
|
18707
|
+
shopCode: shopCode
|
|
18696
18708
|
});
|
|
18697
18709
|
});
|
|
18698
18710
|
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.3",
|
|
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.3",
|
|
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": "de663a2d4df54a85b0bcfd2f1fe066781583c5e7"
|
|
69
69
|
}
|