@kmkf-fe-packages/basic-components 2.0.12-beta.27 → 2.0.12-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -12516,7 +12516,6 @@ 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,
12520
12519
  goodNo: formData.goodNo || null,
12521
12520
  goodName: formData.goodName || null,
12522
12521
  skuCode: formData.skuCode || null,
@@ -12674,17 +12673,6 @@ var GoodList$2 = function GoodList(props, ref) {
12674
12673
  layout: "inline",
12675
12674
  form: form
12676
12675
  }, /*#__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, {
12688
12676
  name: "goodNo",
12689
12677
  style: {
12690
12678
  marginBottom: '12px'
@@ -15224,7 +15212,7 @@ var GoodItem$1 = function GoodItem(props) {
15224
15212
  var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
15225
15213
  // 监听聚水潭退货商品
15226
15214
  var jstReturnGoods = Form === null || Form === void 0 ? void 0 : Form.useWatch('3979edfd6d', form);
15227
- var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
15215
+ var isShowSelectTradeGoods = jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo;
15228
15216
  var refModal = useRef();
15229
15217
  console.debug('表格数据', value);
15230
15218
  var handleDelete = function handleDelete(record, index) {
@@ -16305,8 +16293,6 @@ var getGyOrderListSingleton = function getGyOrderListSingleton(orderNo) {
16305
16293
  billTag: item.tagName,
16306
16294
  tradeTagName: item.tradeTagName,
16307
16295
  deliveryState: item.deliveryState,
16308
- vipCode: item.vipCode,
16309
- shopCode: item.shopCode,
16310
16296
  deliveryStateName: GY_DELIVERY_STATE_MAPPING[item.deliveryState]
16311
16297
  });
16312
16298
  });
@@ -16409,7 +16395,6 @@ var kmUtils = {
16409
16395
  getOrderListSingleton: getOrderListSingleton
16410
16396
  };
16411
16397
 
16412
- var _excluded$g = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
16413
16398
  var columnsMap = {
16414
16399
  BS_SYSTEM_ORDER: BS_SYSTEM_ORDER_CONFIG.columns,
16415
16400
  KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
@@ -16678,20 +16663,15 @@ var index$1 = (function (props) {
16678
16663
  billType = _ref10.billType,
16679
16664
  billTag = _ref10.billTag,
16680
16665
  tradeTagName = _ref10.tradeTagName,
16681
- deliveryState = _ref10.deliveryState,
16682
- vipCode = _ref10.vipCode,
16683
- shopCode = _ref10.shopCode,
16684
- rest = _objectWithoutProperties(_ref10, _excluded$g);
16685
- return _objectSpread2(_objectSpread2({}, rest), {}, {
16666
+ deliveryState = _ref10.deliveryState;
16667
+ return {
16686
16668
  billNo: billNo,
16687
16669
  billType: billType,
16688
16670
  billTag: billTag,
16689
16671
  tradeTagName: tradeTagName,
16690
16672
  deliveryState: deliveryState,
16691
- deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState],
16692
- vipCode: vipCode,
16693
- shopCode: shopCode
16694
- });
16673
+ deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState]
16674
+ };
16695
16675
  })
16696
16676
  }));
16697
16677
  });
@@ -17239,6 +17219,7 @@ var componentMap$3 = {
17239
17219
  },
17240
17220
  JST_EXCHANGE_GOODS: {
17241
17221
  type: 'jst',
17222
+ showChooseTradeGoodsBtn: true,
17242
17223
  valueKey: 'jstExchangeGoods',
17243
17224
  returnTypeKey: 'jstExchangeType',
17244
17225
  systemOrder: 'jstSystemOrder',
@@ -17373,19 +17354,19 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
17373
17354
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
17374
17355
  value: value === null || value === void 0 ? void 0 : value[componentMap$3[compType].valueKey],
17375
17356
  otherOperations: copyGoods(),
17376
- tradeGoods: {
17357
+ tradeGoods: componentMap$3[compType].showChooseTradeGoodsBtn ? {
17377
17358
  uniqueKey: uniqueKey,
17378
17359
  originDataSource: originDataSource,
17379
17360
  getDataSourceAsync: getDataSourceAsync,
17380
17361
  selectedGoodsChange: selectedGoodsChange
17381
- },
17362
+ } : void 0,
17382
17363
  onChange: function onChange(val) {
17383
17364
  return changeGoodHandle(val);
17384
17365
  }
17385
17366
  })));
17386
17367
  };
17387
17368
 
17388
- var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
17369
+ var _excluded$g = ["value", "onChange", "reasonList", "disabled", "type"];
17389
17370
  var typeMap$1 = {
17390
17371
  WDT_REISSUE_GOODS: {
17391
17372
  key: 'wdtReissueGoods',
@@ -17413,7 +17394,7 @@ var wdtReissue = function wdtReissue(props) {
17413
17394
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
17414
17395
  disabled = props.disabled,
17415
17396
  type = props.type,
17416
- other = _objectWithoutProperties(props, _excluded$h);
17397
+ other = _objectWithoutProperties(props, _excluded$g);
17417
17398
  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) {
17418
17399
  var _order$srcTid;
17419
17400
  return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
@@ -17657,7 +17638,7 @@ var wdtReissue = function wdtReissue(props) {
17657
17638
  })));
17658
17639
  };
17659
17640
 
17660
- var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
17641
+ var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
17661
17642
  var typeMap$2 = {
17662
17643
  JST_REISSUE_GOODS: {
17663
17644
  compType: '补发',
@@ -17704,7 +17685,7 @@ var PublicReissue = function PublicReissue(props) {
17704
17685
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
17705
17686
  disabled = props.disabled,
17706
17687
  type = props.type,
17707
- other = _objectWithoutProperties(props, _excluded$i);
17688
+ other = _objectWithoutProperties(props, _excluded$h);
17708
17689
  var getOrderFlag = useRef(false);
17709
17690
  var _useState = useState(false),
17710
17691
  _useState2 = _slicedToArray(_useState, 2),
@@ -18432,12 +18413,12 @@ var Goods$1 = function Goods(props, ref) {
18432
18413
  };
18433
18414
  var index$2 = /*#__PURE__*/forwardRef(Goods$1);
18434
18415
 
18435
- var _excluded$j = ["onChange", "value", "failValue"];
18416
+ var _excluded$i = ["onChange", "value", "failValue"];
18436
18417
  function CommonStatus(props) {
18437
18418
  var onChange = props.onChange,
18438
18419
  value = props.value,
18439
18420
  failValue = props.failValue,
18440
- other = _objectWithoutProperties(props, _excluded$j);
18421
+ other = _objectWithoutProperties(props, _excluded$i);
18441
18422
  var changeHandle = function changeHandle(val) {
18442
18423
  onChange === null || onChange === void 0 ? void 0 : onChange({
18443
18424
  status: val,
@@ -18574,7 +18555,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
18574
18555
  })) : null) : null);
18575
18556
  };
18576
18557
 
18577
- var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
18558
+ var _excluded$j = ["value", "onChange", "disabled", "failValue", "type"];
18578
18559
  var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18579
18560
  var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
18580
18561
  var _props$value = props.value,
@@ -18584,7 +18565,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18584
18565
  failValue = props.failValue,
18585
18566
  _props$type = props.type,
18586
18567
  type = _props$type === void 0 ? 1 : _props$type,
18587
- other = _objectWithoutProperties(props, _excluded$k);
18568
+ other = _objectWithoutProperties(props, _excluded$j);
18588
18569
  var _useState = useState(0),
18589
18570
  _useState2 = _slicedToArray(_useState, 2),
18590
18571
  changeIndex = _useState2[0],
@@ -18650,7 +18631,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18650
18631
  }, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null));
18651
18632
  };
18652
18633
 
18653
- var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
18634
+ var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
18654
18635
  var MsgStatus = function MsgStatus(props) {
18655
18636
  var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
18656
18637
  var _props$value = props.value,
@@ -18660,7 +18641,7 @@ var MsgStatus = function MsgStatus(props) {
18660
18641
  failValue = props.failValue,
18661
18642
  _props$type = props.type,
18662
18643
  type = _props$type === void 0 ? 1 : _props$type,
18663
- other = _objectWithoutProperties(props, _excluded$l);
18644
+ other = _objectWithoutProperties(props, _excluded$k);
18664
18645
  var _useState = useState(0),
18665
18646
  _useState2 = _slicedToArray(_useState, 2),
18666
18647
  changeIndex = _useState2[0],
@@ -18691,7 +18672,7 @@ var MsgStatus = function MsgStatus(props) {
18691
18672
  onClick: function onClick() {
18692
18673
  return setChangeIndex(index);
18693
18674
  }
18694
- }, msgTypeCh[key] || key, item.ruleName);
18675
+ }, msgTypeCh[key], item.ruleName);
18695
18676
  }))) : null, type === 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
18696
18677
  showSearch: true,
18697
18678
  value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
@@ -18729,7 +18710,7 @@ var CalculationInput = function CalculationInput(props) {
18729
18710
  }, config === null || config === void 0 ? void 0 : config.unit));
18730
18711
  };
18731
18712
 
18732
- var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"];
18713
+ var _excluded$l = ["value", "onChange", "reasonList", "disabled", "type"];
18733
18714
  var typeMap$3 = {
18734
18715
  BS_E3_REISSUE_GOODS: {
18735
18716
  key: 'bsE3ReissueGoods',
@@ -18747,7 +18728,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
18747
18728
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
18748
18729
  disabled = props.disabled,
18749
18730
  type = props.type,
18750
- other = _objectWithoutProperties(props, _excluded$m);
18731
+ other = _objectWithoutProperties(props, _excluded$l);
18751
18732
  var getOrderFlag = useRef(false);
18752
18733
  var _useState = useState(false),
18753
18734
  _useState2 = _slicedToArray(_useState, 2),
@@ -18963,8 +18944,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
18963
18944
  })));
18964
18945
  };
18965
18946
 
18966
- var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"],
18967
- _excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
18947
+ var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"],
18948
+ _excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState"];
18968
18949
  var typeMap$4 = {
18969
18950
  GY_REISSUE_GOODS: {
18970
18951
  key: 'gyReissueGoods',
@@ -18992,7 +18973,7 @@ var GyReissue = function GyReissue(props) {
18992
18973
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
18993
18974
  disabled = props.disabled,
18994
18975
  type = props.type,
18995
- other = _objectWithoutProperties(props, _excluded$n);
18976
+ other = _objectWithoutProperties(props, _excluded$m);
18996
18977
  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) {
18997
18978
  var _order$platformCode;
18998
18979
  return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
@@ -19026,8 +19007,6 @@ var GyReissue = function GyReissue(props) {
19026
19007
  billTag = _ref2.billTag,
19027
19008
  tradeTagName = _ref2.tradeTagName,
19028
19009
  deliveryState = _ref2.deliveryState,
19029
- vipCode = _ref2.vipCode,
19030
- shopCode = _ref2.shopCode,
19031
19010
  rest = _objectWithoutProperties(_ref2, _excluded2);
19032
19011
  return _objectSpread2(_objectSpread2({}, rest), {}, {
19033
19012
  billNo: billNo,
@@ -19035,9 +19014,7 @@ var GyReissue = function GyReissue(props) {
19035
19014
  billTag: billTag,
19036
19015
  tradeTagName: tradeTagName,
19037
19016
  deliveryState: deliveryState,
19038
- deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState],
19039
- vipCode: vipCode,
19040
- shopCode: shopCode
19017
+ deliveryStateName: GY_DELIVERY_STATE_MAPPING[deliveryState]
19041
19018
  });
19042
19019
  });
19043
19020
  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,7 +12528,6 @@ 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,
12532
12531
  goodNo: formData.goodNo || null,
12533
12532
  goodName: formData.goodName || null,
12534
12533
  skuCode: formData.skuCode || null,
@@ -12686,17 +12685,6 @@ var GoodList$2 = function GoodList(props, ref) {
12686
12685
  layout: "inline",
12687
12686
  form: form
12688
12687
  }, /*#__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, {
12700
12688
  name: "goodNo",
12701
12689
  style: {
12702
12690
  marginBottom: '12px'
@@ -15236,7 +15224,7 @@ var GoodItem$1 = function GoodItem(props) {
15236
15224
  var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
15237
15225
  // 监听聚水潭退货商品
15238
15226
  var jstReturnGoods = antd.Form === null || antd.Form === void 0 ? void 0 : antd.Form.useWatch('3979edfd6d', form);
15239
- var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
15227
+ var isShowSelectTradeGoods = jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo;
15240
15228
  var refModal = React.useRef();
15241
15229
  console.debug('表格数据', value);
15242
15230
  var handleDelete = function handleDelete(record, index) {
@@ -16317,8 +16305,6 @@ var getGyOrderListSingleton = function getGyOrderListSingleton(orderNo) {
16317
16305
  billTag: item.tagName,
16318
16306
  tradeTagName: item.tradeTagName,
16319
16307
  deliveryState: item.deliveryState,
16320
- vipCode: item.vipCode,
16321
- shopCode: item.shopCode,
16322
16308
  deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[item.deliveryState]
16323
16309
  });
16324
16310
  });
@@ -16421,7 +16407,6 @@ var kmUtils = {
16421
16407
  getOrderListSingleton: getOrderListSingleton
16422
16408
  };
16423
16409
 
16424
- var _excluded$g = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
16425
16410
  var columnsMap = {
16426
16411
  BS_SYSTEM_ORDER: kmkfUtils.BS_SYSTEM_ORDER_CONFIG.columns,
16427
16412
  KM_SYSTEM_ORDER: kmkfUtils.KM_SYSTEM_ORDER_CONFIG.columns,
@@ -16690,20 +16675,15 @@ var index$1 = (function (props) {
16690
16675
  billType = _ref10.billType,
16691
16676
  billTag = _ref10.billTag,
16692
16677
  tradeTagName = _ref10.tradeTagName,
16693
- deliveryState = _ref10.deliveryState,
16694
- vipCode = _ref10.vipCode,
16695
- shopCode = _ref10.shopCode,
16696
- rest = _objectWithoutProperties(_ref10, _excluded$g);
16697
- return _objectSpread2(_objectSpread2({}, rest), {}, {
16678
+ deliveryState = _ref10.deliveryState;
16679
+ return {
16698
16680
  billNo: billNo,
16699
16681
  billType: billType,
16700
16682
  billTag: billTag,
16701
16683
  tradeTagName: tradeTagName,
16702
16684
  deliveryState: deliveryState,
16703
- deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState],
16704
- vipCode: vipCode,
16705
- shopCode: shopCode
16706
- });
16685
+ deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState]
16686
+ };
16707
16687
  })
16708
16688
  }));
16709
16689
  });
@@ -17251,6 +17231,7 @@ var componentMap$3 = {
17251
17231
  },
17252
17232
  JST_EXCHANGE_GOODS: {
17253
17233
  type: 'jst',
17234
+ showChooseTradeGoodsBtn: true,
17254
17235
  valueKey: 'jstExchangeGoods',
17255
17236
  returnTypeKey: 'jstExchangeType',
17256
17237
  systemOrder: 'jstSystemOrder',
@@ -17385,19 +17366,19 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
17385
17366
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
17386
17367
  value: value === null || value === void 0 ? void 0 : value[componentMap$3[compType].valueKey],
17387
17368
  otherOperations: copyGoods(),
17388
- tradeGoods: {
17369
+ tradeGoods: componentMap$3[compType].showChooseTradeGoodsBtn ? {
17389
17370
  uniqueKey: uniqueKey,
17390
17371
  originDataSource: originDataSource,
17391
17372
  getDataSourceAsync: getDataSourceAsync,
17392
17373
  selectedGoodsChange: selectedGoodsChange
17393
- },
17374
+ } : void 0,
17394
17375
  onChange: function onChange(val) {
17395
17376
  return changeGoodHandle(val);
17396
17377
  }
17397
17378
  })));
17398
17379
  };
17399
17380
 
17400
- var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
17381
+ var _excluded$g = ["value", "onChange", "reasonList", "disabled", "type"];
17401
17382
  var typeMap$1 = {
17402
17383
  WDT_REISSUE_GOODS: {
17403
17384
  key: 'wdtReissueGoods',
@@ -17425,7 +17406,7 @@ var wdtReissue = function wdtReissue(props) {
17425
17406
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
17426
17407
  disabled = props.disabled,
17427
17408
  type = props.type,
17428
- other = _objectWithoutProperties(props, _excluded$h);
17409
+ other = _objectWithoutProperties(props, _excluded$g);
17429
17410
  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) {
17430
17411
  var _order$srcTid;
17431
17412
  return order === null || order === void 0 ? void 0 : (_order$srcTid = order.srcTid) === null || _order$srcTid === void 0 ? void 0 : _order$srcTid.includes(',');
@@ -17669,7 +17650,7 @@ var wdtReissue = function wdtReissue(props) {
17669
17650
  })));
17670
17651
  };
17671
17652
 
17672
- var _excluded$i = ["value", "onChange", "reasonList", "disabled", "type"];
17653
+ var _excluded$h = ["value", "onChange", "reasonList", "disabled", "type"];
17673
17654
  var typeMap$2 = {
17674
17655
  JST_REISSUE_GOODS: {
17675
17656
  compType: '补发',
@@ -17716,7 +17697,7 @@ var PublicReissue = function PublicReissue(props) {
17716
17697
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
17717
17698
  disabled = props.disabled,
17718
17699
  type = props.type,
17719
- other = _objectWithoutProperties(props, _excluded$i);
17700
+ other = _objectWithoutProperties(props, _excluded$h);
17720
17701
  var getOrderFlag = React.useRef(false);
17721
17702
  var _useState = React.useState(false),
17722
17703
  _useState2 = _slicedToArray(_useState, 2),
@@ -18444,12 +18425,12 @@ var Goods$1 = function Goods(props, ref) {
18444
18425
  };
18445
18426
  var index$2 = /*#__PURE__*/React.forwardRef(Goods$1);
18446
18427
 
18447
- var _excluded$j = ["onChange", "value", "failValue"];
18428
+ var _excluded$i = ["onChange", "value", "failValue"];
18448
18429
  function CommonStatus(props) {
18449
18430
  var onChange = props.onChange,
18450
18431
  value = props.value,
18451
18432
  failValue = props.failValue,
18452
- other = _objectWithoutProperties(props, _excluded$j);
18433
+ other = _objectWithoutProperties(props, _excluded$i);
18453
18434
  var changeHandle = function changeHandle(val) {
18454
18435
  onChange === null || onChange === void 0 ? void 0 : onChange({
18455
18436
  status: val,
@@ -18586,7 +18567,7 @@ var CommonSystemOrder = function CommonSystemOrder(props) {
18586
18567
  })) : null) : null);
18587
18568
  };
18588
18569
 
18589
- var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
18570
+ var _excluded$j = ["value", "onChange", "disabled", "failValue", "type"];
18590
18571
  var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18591
18572
  var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
18592
18573
  var _props$value = props.value,
@@ -18596,7 +18577,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18596
18577
  failValue = props.failValue,
18597
18578
  _props$type = props.type,
18598
18579
  type = _props$type === void 0 ? 1 : _props$type,
18599
- other = _objectWithoutProperties(props, _excluded$k);
18580
+ other = _objectWithoutProperties(props, _excluded$j);
18600
18581
  var _useState = React.useState(0),
18601
18582
  _useState2 = _slicedToArray(_useState, 2),
18602
18583
  changeIndex = _useState2[0],
@@ -18662,7 +18643,7 @@ var CommonSystemOrder$1 = function CommonSystemOrder(props) {
18662
18643
  }, "\u5931\u8D25\u539F\u56E0\uFF1A", (_value$changeIndex3 = value[changeIndex]) === null || _value$changeIndex3 === void 0 ? void 0 : _value$changeIndex3.reason) : null));
18663
18644
  };
18664
18645
 
18665
- var _excluded$l = ["value", "onChange", "disabled", "failValue", "type"];
18646
+ var _excluded$k = ["value", "onChange", "disabled", "failValue", "type"];
18666
18647
  var MsgStatus = function MsgStatus(props) {
18667
18648
  var _value$changeIndex, _value$changeIndex2, _value$changeIndex3;
18668
18649
  var _props$value = props.value,
@@ -18672,7 +18653,7 @@ var MsgStatus = function MsgStatus(props) {
18672
18653
  failValue = props.failValue,
18673
18654
  _props$type = props.type,
18674
18655
  type = _props$type === void 0 ? 1 : _props$type,
18675
- other = _objectWithoutProperties(props, _excluded$l);
18656
+ other = _objectWithoutProperties(props, _excluded$k);
18676
18657
  var _useState = React.useState(0),
18677
18658
  _useState2 = _slicedToArray(_useState, 2),
18678
18659
  changeIndex = _useState2[0],
@@ -18703,7 +18684,7 @@ var MsgStatus = function MsgStatus(props) {
18703
18684
  onClick: function onClick() {
18704
18685
  return setChangeIndex(index);
18705
18686
  }
18706
- }, kmkfUtils.msgTypeCh[key] || key, item.ruleName);
18687
+ }, kmkfUtils.msgTypeCh[key], item.ruleName);
18707
18688
  }))) : 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), {}, {
18708
18689
  showSearch: true,
18709
18690
  value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
@@ -18741,7 +18722,7 @@ var CalculationInput = function CalculationInput(props) {
18741
18722
  }, config === null || config === void 0 ? void 0 : config.unit));
18742
18723
  };
18743
18724
 
18744
- var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"];
18725
+ var _excluded$l = ["value", "onChange", "reasonList", "disabled", "type"];
18745
18726
  var typeMap$3 = {
18746
18727
  BS_E3_REISSUE_GOODS: {
18747
18728
  key: 'bsE3ReissueGoods',
@@ -18759,7 +18740,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
18759
18740
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
18760
18741
  disabled = props.disabled,
18761
18742
  type = props.type,
18762
- other = _objectWithoutProperties(props, _excluded$m);
18743
+ other = _objectWithoutProperties(props, _excluded$l);
18763
18744
  var getOrderFlag = React.useRef(false);
18764
18745
  var _useState = React.useState(false),
18765
18746
  _useState2 = _slicedToArray(_useState, 2),
@@ -18975,8 +18956,8 @@ var bsE3Reissue = function bsE3Reissue(props) {
18975
18956
  })));
18976
18957
  };
18977
18958
 
18978
- var _excluded$n = ["value", "onChange", "reasonList", "disabled", "type"],
18979
- _excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState", "vipCode", "shopCode"];
18959
+ var _excluded$m = ["value", "onChange", "reasonList", "disabled", "type"],
18960
+ _excluded2 = ["billNo", "billType", "billTag", "tradeTagName", "deliveryState"];
18980
18961
  var typeMap$4 = {
18981
18962
  GY_REISSUE_GOODS: {
18982
18963
  key: 'gyReissueGoods',
@@ -19004,7 +18985,7 @@ var GyReissue = function GyReissue(props) {
19004
18985
  reasonList = _props$reasonList === void 0 ? [] : _props$reasonList,
19005
18986
  disabled = props.disabled,
19006
18987
  type = props.type,
19007
- other = _objectWithoutProperties(props, _excluded$n);
18988
+ other = _objectWithoutProperties(props, _excluded$m);
19008
18989
  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) {
19009
18990
  var _order$platformCode;
19010
18991
  return order === null || order === void 0 ? void 0 : (_order$platformCode = order.platformCode) === null || _order$platformCode === void 0 ? void 0 : _order$platformCode.includes(';');
@@ -19038,8 +19019,6 @@ var GyReissue = function GyReissue(props) {
19038
19019
  billTag = _ref2.billTag,
19039
19020
  tradeTagName = _ref2.tradeTagName,
19040
19021
  deliveryState = _ref2.deliveryState,
19041
- vipCode = _ref2.vipCode,
19042
- shopCode = _ref2.shopCode,
19043
19022
  rest = _objectWithoutProperties(_ref2, _excluded2);
19044
19023
  return _objectSpread2(_objectSpread2({}, rest), {}, {
19045
19024
  billNo: billNo,
@@ -19047,9 +19026,7 @@ var GyReissue = function GyReissue(props) {
19047
19026
  billTag: billTag,
19048
19027
  tradeTagName: tradeTagName,
19049
19028
  deliveryState: deliveryState,
19050
- deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState],
19051
- vipCode: vipCode,
19052
- shopCode: shopCode
19029
+ deliveryStateName: kmkfUtils.GY_DELIVERY_STATE_MAPPING[deliveryState]
19053
19030
  });
19054
19031
  });
19055
19032
  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.27",
3
+ "version": "2.0.12-beta.30",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "20219f2b81a8def1bdbf67444d75d8dab0fa7567"
68
+ "gitHead": "1ca49ca7c532c3106d326c9dd6923483c2666118"
69
69
  }