@kmkf-fe-packages/basic-components 2.13.2 → 2.13.4

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
@@ -7996,7 +7996,6 @@ var ParseLogistics = function ParseLogistics(props) {
7996
7996
  onChange === null || onChange === void 0 ? void 0 : onChange(data);
7997
7997
  }).catch(function (e) {
7998
7998
  handleAIIdentify(fullAddress);
7999
- console.log(e);
8000
7999
  }).finally(function () {
8001
8000
  setLoading(false);
8002
8001
  });
@@ -8024,7 +8023,6 @@ var ParseLogistics = function ParseLogistics(props) {
8024
8023
  }
8025
8024
  onChange === null || onChange === void 0 ? void 0 : onChange(data);
8026
8025
  }).catch(function (e) {
8027
- console.log(e);
8028
8026
  message.error('识别失败,请输入正确的信息');
8029
8027
  }).finally(function () {
8030
8028
  setAiLoading(false);
@@ -12455,7 +12453,7 @@ var Goods = function Goods(props) {
12455
12453
  return querySkus({
12456
12454
  shopId: shopId,
12457
12455
  numIids: numIid
12458
- }).catch(console.debug);
12456
+ }).catch(function () {});
12459
12457
  case 5:
12460
12458
  res = _context3.sent;
12461
12459
  data = (res === null || res === void 0 ? void 0 : res.success) && (res === null || res === void 0 ? void 0 : res.data);
@@ -12839,7 +12837,7 @@ var GoodItem = function GoodItem(props) {
12839
12837
  return querySkus({
12840
12838
  shopId: shopId,
12841
12839
  numIids: numIid
12842
- }).catch(console.debug);
12840
+ }).catch(function () {});
12843
12841
  case 5:
12844
12842
  res = _context3.sent;
12845
12843
  data = (res === null || res === void 0 ? void 0 : res.success) && (res === null || res === void 0 ? void 0 : res.data);
@@ -13719,13 +13717,12 @@ var LogisticsInterception = function LogisticsInterception(props) {
13719
13717
  latestData = data || [];
13720
13718
  LogisticsAddress.setaddressData(latestData);
13721
13719
  setLogisticsAddressData(latestData);
13722
- _context.next = 13;
13720
+ _context.next = 12;
13723
13721
  break;
13724
13722
  case 10:
13725
13723
  _context.prev = 10;
13726
13724
  _context.t0 = _context["catch"](0);
13727
- console.log(_context.t0);
13728
- case 13:
13725
+ case 12:
13729
13726
  case "end":
13730
13727
  return _context.stop();
13731
13728
  }
@@ -13832,7 +13829,6 @@ var LogisticsInterception = function LogisticsInterception(props) {
13832
13829
  });
13833
13830
  }
13834
13831
  }
13835
- console.log('newValue', newValue);
13836
13832
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue, type);
13837
13833
  };
13838
13834
  //智能识别回调
@@ -14449,21 +14445,14 @@ var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
14449
14445
  }); // 1、初始值没有 传入值有请求快照
14450
14446
  // 2、初始值有 传入值有 其中有不一样的请求快照
14451
14447
  // 3、初始值有 传入值有 都一样的返回初始值
14452
- console.log('list', initList, valueList, changeList);
14453
- // console.log('old', initValue, value, changeValue);
14454
- // console.log('一样', JSON.stringify(initList) !== JSON.stringify(valueList));
14455
- // console.log(
14456
- // '一样2',
14457
- // JSON.stringify(changeList) !== JSON.stringify(valueList),
14458
- // );
14459
14448
  if (!(!initList.length && !valueList.length)) {
14460
- _context.next = 8;
14449
+ _context.next = 7;
14461
14450
  break;
14462
14451
  }
14463
14452
  return _context.abrupt("return");
14464
- case 8:
14453
+ case 7:
14465
14454
  if (!(JSON.stringify(initList) === JSON.stringify(valueList))) {
14466
- _context.next = 14;
14455
+ _context.next = 13;
14467
14456
  break;
14468
14457
  }
14469
14458
  initSnapshotList = initValue.reduce(function (prv, next) {
@@ -14482,13 +14471,13 @@ var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
14482
14471
  setNewValue(initValue);
14483
14472
  onChange(initValue);
14484
14473
  }
14485
- _context.next = 30;
14474
+ _context.next = 29;
14486
14475
  break;
14487
- case 14:
14476
+ case 13:
14488
14477
  if (!(
14489
14478
  //开启了物流快照才会获取快照信息
14490
14479
  hasSnapshot && JSON.stringify(initList) !== JSON.stringify(valueList) && JSON.stringify(changeList) !== JSON.stringify(valueList))) {
14491
- _context.next = 29;
14480
+ _context.next = 28;
14492
14481
  break;
14493
14482
  }
14494
14483
  hasSave.current = false;
@@ -14497,7 +14486,7 @@ var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
14497
14486
  });
14498
14487
  listValue = cloneDeep(value);
14499
14488
  if (!hasValue) {
14500
- _context.next = 24;
14489
+ _context.next = 23;
14501
14490
  break;
14502
14491
  }
14503
14492
  requestList = valueList.map(function (item) {
@@ -14516,9 +14505,9 @@ var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
14516
14505
  });
14517
14506
  }
14518
14507
  });
14519
- _context.next = 22;
14508
+ _context.next = 21;
14520
14509
  return Promise.allSettled(requestList);
14521
- case 22:
14510
+ case 21:
14522
14511
  requestValues = _context.sent;
14523
14512
  listValue = cloneDeep(value).map(function (item, index) {
14524
14513
  var _requestValues$index, _requestValues$index$, _requestValues$index$2;
@@ -14526,15 +14515,15 @@ var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
14526
14515
  trajectorySnapshot: (_requestValues$index = requestValues[index]) === null || _requestValues$index === void 0 ? void 0 : (_requestValues$index$ = _requestValues$index.value) === null || _requestValues$index$ === void 0 ? void 0 : (_requestValues$index$2 = _requestValues$index$.data) === null || _requestValues$index$2 === void 0 ? void 0 : _requestValues$index$2.logisticsStatusDesc
14527
14516
  });
14528
14517
  });
14529
- case 24:
14518
+ case 23:
14530
14519
  setChangeValue(listValue);
14531
14520
  setNewValue(listValue);
14532
14521
  onChange(listValue);
14533
- _context.next = 30;
14522
+ _context.next = 29;
14534
14523
  break;
14535
- case 29:
14524
+ case 28:
14536
14525
  setNewValue(value);
14537
- case 30:
14526
+ case 29:
14538
14527
  case "end":
14539
14528
  return _context.stop();
14540
14529
  }
@@ -14633,7 +14622,6 @@ var jstGoods = function jstGoods(props) {
14633
14622
  return item.sendId;
14634
14623
  })) {
14635
14624
  var orderNo = form === null || form === void 0 ? void 0 : form.getFieldValue('m3ap1EvEyd');
14636
- console.log('发货仓走兜底处理-oldValue--', orderNo, cloneDeep(value));
14637
14625
  var newValue = cloneDeep(value).map(function (item) {
14638
14626
  if (item.sendSnapshotName || !item.sendId) return item;
14639
14627
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -14643,7 +14631,6 @@ var jstGoods = function jstGoods(props) {
14643
14631
  Monitor.automaticReport({
14644
14632
  message: "\u53D1\u8D27\u4ED3\u8D70\u515C\u5E95\u5904\u7406-".concat(orderNo || '', "-oldValue-").concat(JSON.stringify(cloneDeep(value)), ",newValue-").concat(JSON.stringify(cloneDeep(newValue)))
14645
14633
  });
14646
- console.log('发货仓走兜底处理-newValue--', orderNo, cloneDeep(newValue));
14647
14634
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
14648
14635
  }
14649
14636
  }, [JSON.stringify(value || []), type]);
@@ -19282,7 +19269,6 @@ var SearchHeader = function SearchHeader(_ref) {
19282
19269
  timeOptions = _ref.timeOptions,
19283
19270
  ShopList = _ref.ShopList,
19284
19271
  onSubmit = _ref.onSubmit;
19285
- console.log('allFields', allFields);
19286
19272
  // const fixedFieldsOptions = useMemo(() => {
19287
19273
  // return allFields.filter(item => fixedFields?.includes(item.id));
19288
19274
  // }, [fixedFields, allFields]);
@@ -19538,9 +19524,7 @@ var WorkorderList = function WorkorderList(props, ref) {
19538
19524
  loading: false
19539
19525
  }));
19540
19526
  setWorkOrderList(newDataSource);
19541
- }).catch(function (error) {
19542
- console.log('**** 获取表格数据错误', error);
19543
- }));
19527
+ }).catch(function (error) {}));
19544
19528
  case 19:
19545
19529
  case "end":
19546
19530
  return _context.stop();
@@ -23827,7 +23811,6 @@ var getColumns$6 = function getColumns() {
23827
23811
  title: "\u5B9E\u9645\u8865\u53D1\u6570\u91CF",
23828
23812
  width: 100,
23829
23813
  validator: function validator(_rule, value, extraParams) {
23830
- console.log('实际补发数量-extraParams', extraParams);
23831
23814
  if (!(extraParams === null || extraParams === void 0 ? void 0 : extraParams.quantityVerify)) return undefined;
23832
23815
  var title = '';
23833
23816
  if (((value === null || value === void 0 ? void 0 : value.kmReissueGoods) || []).some(function (goods) {
@@ -26418,7 +26401,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
26418
26401
  while (1) switch (_context2.prev = _context2.next) {
26419
26402
  case 0:
26420
26403
  if (!validSystemOrderFn) {
26421
- _context2.next = 7;
26404
+ _context2.next = 6;
26422
26405
  break;
26423
26406
  }
26424
26407
  _context2.next = 3;
@@ -26426,39 +26409,38 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
26426
26409
  case 3:
26427
26410
  flag = _context2.sent;
26428
26411
  if (!(flag === false)) {
26429
- _context2.next = 7;
26412
+ _context2.next = 6;
26430
26413
  break;
26431
26414
  }
26432
- console.log('validSystemOrderFn校验不通过');
26433
26415
  return _context2.abrupt("return");
26434
- case 7:
26416
+ case 6:
26435
26417
  if (!validSystemOrder) {
26436
- _context2.next = 10;
26418
+ _context2.next = 9;
26437
26419
  break;
26438
26420
  }
26439
26421
  message.warning('请选择补发系统单');
26440
26422
  return _context2.abrupt("return");
26441
- case 10:
26423
+ case 9:
26442
26424
  if (!(getDataSourceAsync && (!(dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) || isReloadSelectTable))) {
26443
- _context2.next = 13;
26425
+ _context2.next = 12;
26444
26426
  break;
26445
26427
  }
26446
- _context2.next = 13;
26428
+ _context2.next = 12;
26447
26429
  return getDataSourceAsync();
26448
- case 13:
26430
+ case 12:
26449
26431
  if (!['KM_GOODS', 'KM_REISSUE_GOODS', 'KM_RETURN_GOODS'].includes(type)) {
26450
- _context2.next = 16;
26432
+ _context2.next = 15;
26451
26433
  break;
26452
26434
  }
26453
- _context2.next = 16;
26435
+ _context2.next = 15;
26454
26436
  return getKmSupplier(dataSource);
26455
- case 16:
26437
+ case 15:
26456
26438
  setTradeGoodsVisible(true);
26457
26439
  // 补发直接传入的是systemNo
26458
26440
  if (isShowSelect && isReissueType) {
26459
26441
  setSelectSystemNo(selectedSystemOrders || []);
26460
26442
  }
26461
- case 18:
26443
+ case 17:
26462
26444
  case "end":
26463
26445
  return _context2.stop();
26464
26446
  }
@@ -26668,7 +26650,6 @@ var GoodItem$1 = function GoodItem(props) {
26668
26650
  var isShowSelect = type && ['WDT_GOODS', 'BS_E3_GOODS', 'GY_GOODS', 'JST_GOODS', 'WLN_GOODS', 'KM_GOODS', 'JY_GOODS', 'JY_REISSUE_GOODS', 'JKY_GOODS', 'JKY_REISSUE_GOODS', 'DXD_GOODS', 'DXD_SUPPLIERS', 'TTX_GOODS', 'WLN_REISSUE_GOODS', 'GY_REISSUE_GOODS', 'KM_REISSUE_GOODS', 'KM_RETURN_GOODS', 'JST_RETURN_GOODS', 'JST_EXCHANGE_GOODS', 'BS_E3_REISSUE_GOODS', 'WDT_REISSUE_GOODS', 'JST_REISSUE_GOODS'].includes(type) || false;
26669
26651
  var isReissueType = type && ['GY_REISSUE_GOODS', 'KM_REISSUE_GOODS', 'BS_E3_REISSUE_GOODS', 'WDT_REISSUE_GOODS', 'JST_REISSUE_GOODS', 'JY_REISSUE_GOODS', 'JKY_REISSUE_GOODS', 'WLN_REISSUE_GOODS'].includes(type) || false;
26670
26652
  var refModal = useRef();
26671
- console.debug('表格数据', value);
26672
26653
  var handleDelete = function handleDelete(record, index) {
26673
26654
  onDelete === null || onDelete === void 0 ? void 0 : onDelete(value[index]);
26674
26655
  var newList = _toConsumableArray(value).filter(function (item, i) {
@@ -27443,7 +27424,6 @@ var BsReissue = function BsReissue(props) {
27443
27424
  var _typeMap$type2;
27444
27425
  pubsub.subscribe("".concat(typeMap === null || typeMap === void 0 ? void 0 : (_typeMap$type2 = typeMap[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.reissueSelectList), function (_, data) {
27445
27426
  var _typeMap$type3;
27446
- console.log('reissueSelectList', data);
27447
27427
  if (disabled) return;
27448
27428
  var newValue = _objectSpread2(_objectSpread2({}, data.goodValue), {}, {
27449
27429
  shopCode: data === null || data === void 0 ? void 0 : data.shopCode
@@ -28213,7 +28193,34 @@ var rowKeyMap = {
28213
28193
  TTX_SYSTEM_ORDER: 'code'
28214
28194
  };
28215
28195
  var RADIO_TABLE_KEYS = ['PLATFORM_AFTER_SALES_ORDER'];
28196
+ // 订单号/物流号使用精确匹配,并支持一次输入多个值。
28197
+ var EXACT_FILTER_FIELDS = {
28198
+ KM_SYSTEM_ORDER: ['billNo'],
28199
+ JY_SYSTEM_ORDER: ['tradeNo'],
28200
+ GY_SYSTEM_ORDER: ['billNo'],
28201
+ JST_SYSTEM_ORDER: ['oId'],
28202
+ BS_SYSTEM_ORDER: ['billNo'],
28203
+ BS_E3_SYSTEM_ORDER: ['orderSn'],
28204
+ WLN_SYSTEM_ORDER: ['billNo', 'expressCode'],
28205
+ WDT_SYSTEM_ORDER: ['billNo', 'logisticsNo'],
28206
+ JKY_SYSTEM_ORDER: ['tradeNo', 'logisticNo'],
28207
+ TTX_SYSTEM_ORDER: ['code', 'primaryWaybillCode', 'secondaryWaybillCode'],
28208
+ DXD_SYSTEM_ORDER: ['orderNo', 'logisticsNo']
28209
+ };
28210
+ var FILTER_VALUE_SEPARATOR = /[\s,,、]+/;
28211
+ var splitFilterValues = function splitFilterValues(value) {
28212
+ return String(value !== null && value !== void 0 ? value : '').split(FILTER_VALUE_SEPARATOR).map(function (item) {
28213
+ return item.trim();
28214
+ }).filter(Boolean);
28215
+ };
28216
+ var getFieldValues = function getFieldValues(value) {
28217
+ if (Array.isArray(value)) {
28218
+ return value.flatMap(getFieldValues);
28219
+ }
28220
+ return splitFilterValues(value);
28221
+ };
28216
28222
  var index$2 = (function (props) {
28223
+ var _EXACT_FILTER_FIELDS$2;
28217
28224
  var value = props.value,
28218
28225
  _onChange = props.onChange,
28219
28226
  disabled = props.disabled,
@@ -28229,7 +28236,7 @@ var index$2 = (function (props) {
28229
28236
  _useState2 = _slicedToArray(_useState, 2),
28230
28237
  filterField = _useState2[0],
28231
28238
  setFilterField = _useState2[1];
28232
- // 筛选关键词 - 输入框内容,用于模糊匹配选中字段列的值
28239
+ // 筛选关键词 - 输入框内容,用于匹配选中字段列的值
28233
28240
  var _useState3 = useState(''),
28234
28241
  _useState4 = _slicedToArray(_useState3, 2),
28235
28242
  filterKeyword = _useState4[0],
@@ -28364,16 +28371,27 @@ var index$2 = (function (props) {
28364
28371
  }
28365
28372
  return map;
28366
28373
  }, [type]);
28367
- // 过滤后的表格数据 - 根据选中字段和关键词模糊匹配(不区分大小写)
28374
+ // 过滤后的表格数据。订单号/物流号字段使用精确匹配,其他字段沿用模糊匹配。
28368
28375
  var filteredData = useMemo(function () {
28369
- if (!filterField || !filterKeyword) {
28376
+ var _EXACT_FILTER_FIELDS$;
28377
+ var filterValues = splitFilterValues(filterKeyword);
28378
+ if (!filterField || !filterValues.length) {
28370
28379
  return (value === null || value === void 0 ? void 0 : value.orders) || [];
28371
28380
  }
28372
- var keywordLower = filterKeyword.toLowerCase();
28381
+ var keywordSet = new Set(filterValues.map(function (item) {
28382
+ return item.toLowerCase();
28383
+ }));
28384
+ var isExactFilter = (_EXACT_FILTER_FIELDS$ = EXACT_FILTER_FIELDS[type]) === null || _EXACT_FILTER_FIELDS$ === void 0 ? void 0 : _EXACT_FILTER_FIELDS$.includes(filterField);
28373
28385
  var renderMap = fieldRenderMap[filterField];
28374
28386
  return ((value === null || value === void 0 ? void 0 : value.orders) || []).filter(function (item) {
28375
28387
  var fieldValue = item[filterField];
28376
28388
  if (fieldValue == null) return false;
28389
+ if (isExactFilter) {
28390
+ return getFieldValues(fieldValue).some(function (itemValue) {
28391
+ return keywordSet.has(itemValue.toLowerCase());
28392
+ });
28393
+ }
28394
+ var keywordLower = filterKeyword.toLowerCase();
28377
28395
  var fieldValueStr = String(fieldValue);
28378
28396
  var fieldValueLower = fieldValueStr.toLowerCase();
28379
28397
  // 直接匹配原始值
@@ -28402,7 +28420,8 @@ var index$2 = (function (props) {
28402
28420
  }
28403
28421
  return false;
28404
28422
  });
28405
- }, [value === null || value === void 0 ? void 0 : value.orders, filterField, filterKeyword, fieldRenderMap]);
28423
+ }, [value === null || value === void 0 ? void 0 : value.orders, filterField, filterKeyword, fieldRenderMap, type]);
28424
+ var supportsBatchFilter = (_EXACT_FILTER_FIELDS$2 = EXACT_FILTER_FIELDS[type]) === null || _EXACT_FILTER_FIELDS$2 === void 0 ? void 0 : _EXACT_FILTER_FIELDS$2.includes(filterField);
28406
28425
  var getOrderList = /*#__PURE__*/function () {
28407
28426
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
28408
28427
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -28836,7 +28855,7 @@ var index$2 = (function (props) {
28836
28855
  value: col.dataIndex
28837
28856
  }, col.title);
28838
28857
  })), /*#__PURE__*/React.createElement(Input, {
28839
- placeholder: "\u8F93\u5165\u5173\u952E\u8BCD\u6A21\u7CCA\u5339\u914D",
28858
+ placeholder: supportsBatchFilter ? '输入关键词,支持批量查询' : '输入关键词模糊匹配',
28840
28859
  style: {
28841
28860
  width: 200
28842
28861
  },
@@ -29423,7 +29442,6 @@ var OrderSubForm = function OrderSubForm(props) {
29423
29442
  manual = props.manual,
29424
29443
  correlationList = props.subConfig.correlationList,
29425
29444
  effects = props.effects;
29426
- console.log('effects', effects);
29427
29445
  var valueRef = useRef(value);
29428
29446
  useEffect(function () {
29429
29447
  valueRef.current = value;
@@ -29620,7 +29638,7 @@ var OrderSubForm = function OrderSubForm(props) {
29620
29638
  onChange(_objectSpread2(_objectSpread2({}, value), {}, {
29621
29639
  allOrders: allOrders
29622
29640
  }));
29623
- }).catch(console.debug) : Promise.resolve();
29641
+ }).catch(function () {}) : Promise.resolve();
29624
29642
  };
29625
29643
  var getAllTradeGoodsDetails = function getAllTradeGoodsDetails() {
29626
29644
  var goodDetails = (value === null || value === void 0 ? void 0 : value.allOrders) || [];
@@ -30957,29 +30975,23 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
30957
30975
  var getDataSourceAsync = function getDataSourceAsync() {
30958
30976
  return new Promise(function (resolve) {
30959
30977
  pubsub.subscribeOnce(componentMap$4[compType].eventNameMap.returnGoodsSysorderBack, function (_, data) {
30960
- var _componentMap$compTyp9, _componentMap$compTyp10;
30978
+ var _componentMap$compTyp9;
30961
30979
  resolve(data);
30962
- console.log('getDataSourceAsync---111data--', data, getGoodDetails({
30963
- returnGoodsValue: data,
30964
- mode: isStrict,
30965
- isAllOrders: componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$compTyp9 = componentMap$4[compType]) === null || _componentMap$compTyp9 === void 0 ? void 0 : _componentMap$compTyp9.isShowSelectTradeGoods
30966
- }));
30967
30980
  setOriginDataSource(getGoodDetails({
30968
30981
  returnGoodsValue: data,
30969
- isAllOrders: componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$compTyp10 = componentMap$4[compType]) === null || _componentMap$compTyp10 === void 0 ? void 0 : _componentMap$compTyp10.isShowSelectTradeGoods,
30982
+ isAllOrders: componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$compTyp9 = componentMap$4[compType]) === null || _componentMap$compTyp9 === void 0 ? void 0 : _componentMap$compTyp9.isShowSelectTradeGoods,
30970
30983
  mode: isStrict
30971
30984
  }));
30972
30985
  });
30973
30986
  pubsub.publish(componentMap$4[compType].eventNameMap.returnGoodsSysorder, compType);
30974
30987
  });
30975
30988
  };
30976
- console.log('aaa--', originDataSource);
30977
30989
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
30978
30990
  key: componentMap$4[compType].type
30979
30991
  }, props), {}, {
30980
30992
  validSystemOrderFn: function validSystemOrderFn() {
30981
- var _componentMap$compTyp11, _componentMap$compTyp12;
30982
- return (_componentMap$compTyp11 = (_componentMap$compTyp12 = componentMap$4[compType]).validSystemOrderFn) === null || _componentMap$compTyp11 === void 0 ? void 0 : _componentMap$compTyp11.call(_componentMap$compTyp12, form);
30993
+ var _componentMap$compTyp10, _componentMap$compTyp11;
30994
+ return (_componentMap$compTyp10 = (_componentMap$compTyp11 = componentMap$4[compType]).validSystemOrderFn) === null || _componentMap$compTyp10 === void 0 ? void 0 : _componentMap$compTyp10.call(_componentMap$compTyp11, form);
30983
30995
  },
30984
30996
  isReloadSelectTable: componentMap$4[compType].isReloadSelectTable,
30985
30997
  disabled: disabled,
@@ -33830,20 +33842,13 @@ var IdInputSelect = function IdInputSelect(props) {
33830
33842
  tradeId = form.getFieldValue('m3ap1EvEyd');
33831
33843
  skxReturnExpressCode = (_form$getFieldValue = form.getFieldValue('4487c6516b')) === null || _form$getFieldValue === void 0 ? void 0 : (_form$getFieldValue$ = _form$getFieldValue[0]) === null || _form$getFieldValue$ === void 0 ? void 0 : _form$getFieldValue$.logisticsCode;
33832
33844
  blurFrom = form.getFieldValue('skx_return_billNo_blur_from');
33833
- console.log('asyncQueryData---', {
33834
- skxReturnExpressCode: skxReturnExpressCode,
33835
- blurFrom: blurFrom,
33836
- tradeId: tradeId,
33837
- tradeIdRef: tradeIdRef.current,
33838
- form: form
33839
- });
33840
33845
  if (!(type === 'SKX_OUTBOUND_NOTICE_NO' && !tradeId || type === 'SKX_RETURN_BILL_NO' && !tradeId && !skxReturnExpressCode)) {
33841
- _context3.next = 7;
33846
+ _context3.next = 6;
33842
33847
  break;
33843
33848
  }
33844
33849
  setDataSource([]);
33845
33850
  return _context3.abrupt("return");
33846
- case 7:
33851
+ case 6:
33847
33852
  setSpinning(true);
33848
33853
  // 判断是从哪个组件失焦,若是从[SKX]退换物流信息(TH)失焦,则根据物流单号查询,若是从订单号组件失焦,则根据订单号查询
33849
33854
  typeMap$6[type].asyncGetData(type === 'SKX_RETURN_BILL_NO' && blurFrom === '4487c6516b' ? {
@@ -33857,7 +33862,7 @@ var IdInputSelect = function IdInputSelect(props) {
33857
33862
  }).finally(function () {
33858
33863
  setSpinning(false);
33859
33864
  });
33860
- case 9:
33865
+ case 8:
33861
33866
  case "end":
33862
33867
  return _context3.stop();
33863
33868
  }
@@ -33949,11 +33954,6 @@ var IdInputSelect = function IdInputSelect(props) {
33949
33954
  }))));
33950
33955
  };
33951
33956
  var handleChange = function handleChange(val, isInput) {
33952
- console.log('handleChange---', {
33953
- val: val,
33954
- value: value,
33955
- isInput: isInput
33956
- });
33957
33957
  var isReturnBillNoChange = type === 'SKX_RETURN_BILL_NO' && form.getFieldValue('skx_return_billNo_blur_from') === '4487c6516b';
33958
33958
  onChange === null || onChange === void 0 ? void 0 : onChange(val, value !== val && (!!isInput || isReturnBillNoChange));
33959
33959
  // 如果类型是[SKX]退换货单号,则根据blurFrom判断是从[SKX]退换物流信息(TH)失焦,则调用onBlur
@@ -19,5 +19,6 @@ interface BsSystemOrderProps {
19
19
  selectMode?: string;
20
20
  }
21
21
  export declare const rowKeyMap: Record<string, string>;
22
+ export declare const splitFilterValues: (value: unknown) => string[];
22
23
  declare const _default: (props: BsSystemOrderProps) => React.JSX.Element;
23
24
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.13.2",
3
+ "version": "2.13.4",
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.13.2",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.13.4",
24
24
  "ahooks": "^3.7.4",
25
25
  "ali-react-table": "2.6.1",
26
26
  "bignumber.js": "^9.1.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "1e96450253c2abd7c89fa985e67ed373cfa13271"
69
+ "gitHead": "f6b005ca97eede7f2b77ec8e54b9e64e70ddc612"
70
70
  }