@kmkf-fe-packages/basic-components 2.12.0 → 2.12.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 +38 -77
- package/package.json +3 -3
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(
|
|
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(
|
|
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 =
|
|
13720
|
+
_context.next = 12;
|
|
13723
13721
|
break;
|
|
13724
13722
|
case 10:
|
|
13725
13723
|
_context.prev = 10;
|
|
13726
13724
|
_context.t0 = _context["catch"](0);
|
|
13727
|
-
|
|
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 =
|
|
14449
|
+
_context.next = 7;
|
|
14461
14450
|
break;
|
|
14462
14451
|
}
|
|
14463
14452
|
return _context.abrupt("return");
|
|
14464
|
-
case
|
|
14453
|
+
case 7:
|
|
14465
14454
|
if (!(JSON.stringify(initList) === JSON.stringify(valueList))) {
|
|
14466
|
-
_context.next =
|
|
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 =
|
|
14474
|
+
_context.next = 29;
|
|
14486
14475
|
break;
|
|
14487
|
-
case
|
|
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 =
|
|
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 =
|
|
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 =
|
|
14508
|
+
_context.next = 21;
|
|
14520
14509
|
return Promise.allSettled(requestList);
|
|
14521
|
-
case
|
|
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
|
|
14518
|
+
case 23:
|
|
14530
14519
|
setChangeValue(listValue);
|
|
14531
14520
|
setNewValue(listValue);
|
|
14532
14521
|
onChange(listValue);
|
|
14533
|
-
_context.next =
|
|
14522
|
+
_context.next = 29;
|
|
14534
14523
|
break;
|
|
14535
|
-
case
|
|
14524
|
+
case 28:
|
|
14536
14525
|
setNewValue(value);
|
|
14537
|
-
case
|
|
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 =
|
|
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 =
|
|
26412
|
+
_context2.next = 6;
|
|
26430
26413
|
break;
|
|
26431
26414
|
}
|
|
26432
|
-
console.log('validSystemOrderFn校验不通过');
|
|
26433
26415
|
return _context2.abrupt("return");
|
|
26434
|
-
case
|
|
26416
|
+
case 6:
|
|
26435
26417
|
if (!validSystemOrder) {
|
|
26436
|
-
_context2.next =
|
|
26418
|
+
_context2.next = 9;
|
|
26437
26419
|
break;
|
|
26438
26420
|
}
|
|
26439
26421
|
message.warning('请选择补发系统单');
|
|
26440
26422
|
return _context2.abrupt("return");
|
|
26441
|
-
case
|
|
26423
|
+
case 9:
|
|
26442
26424
|
if (!(getDataSourceAsync && (!(dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) || isReloadSelectTable))) {
|
|
26443
|
-
_context2.next =
|
|
26425
|
+
_context2.next = 12;
|
|
26444
26426
|
break;
|
|
26445
26427
|
}
|
|
26446
|
-
_context2.next =
|
|
26428
|
+
_context2.next = 12;
|
|
26447
26429
|
return getDataSourceAsync();
|
|
26448
|
-
case
|
|
26430
|
+
case 12:
|
|
26449
26431
|
if (!['KM_GOODS', 'KM_REISSUE_GOODS', 'KM_RETURN_GOODS'].includes(type)) {
|
|
26450
|
-
_context2.next =
|
|
26432
|
+
_context2.next = 15;
|
|
26451
26433
|
break;
|
|
26452
26434
|
}
|
|
26453
|
-
_context2.next =
|
|
26435
|
+
_context2.next = 15;
|
|
26454
26436
|
return getKmSupplier(dataSource);
|
|
26455
|
-
case
|
|
26437
|
+
case 15:
|
|
26456
26438
|
setTradeGoodsVisible(true);
|
|
26457
26439
|
// 补发直接传入的是systemNo
|
|
26458
26440
|
if (isShowSelect && isReissueType) {
|
|
26459
26441
|
setSelectSystemNo(selectedSystemOrders || []);
|
|
26460
26442
|
}
|
|
26461
|
-
case
|
|
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
|
|
@@ -29423,7 +29403,6 @@ var OrderSubForm = function OrderSubForm(props) {
|
|
|
29423
29403
|
manual = props.manual,
|
|
29424
29404
|
correlationList = props.subConfig.correlationList,
|
|
29425
29405
|
effects = props.effects;
|
|
29426
|
-
console.log('effects', effects);
|
|
29427
29406
|
var valueRef = useRef(value);
|
|
29428
29407
|
useEffect(function () {
|
|
29429
29408
|
valueRef.current = value;
|
|
@@ -29620,7 +29599,7 @@ var OrderSubForm = function OrderSubForm(props) {
|
|
|
29620
29599
|
onChange(_objectSpread2(_objectSpread2({}, value), {}, {
|
|
29621
29600
|
allOrders: allOrders
|
|
29622
29601
|
}));
|
|
29623
|
-
}).catch(
|
|
29602
|
+
}).catch(function () {}) : Promise.resolve();
|
|
29624
29603
|
};
|
|
29625
29604
|
var getAllTradeGoodsDetails = function getAllTradeGoodsDetails() {
|
|
29626
29605
|
var goodDetails = (value === null || value === void 0 ? void 0 : value.allOrders) || [];
|
|
@@ -30957,29 +30936,23 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
30957
30936
|
var getDataSourceAsync = function getDataSourceAsync() {
|
|
30958
30937
|
return new Promise(function (resolve) {
|
|
30959
30938
|
pubsub.subscribeOnce(componentMap$4[compType].eventNameMap.returnGoodsSysorderBack, function (_, data) {
|
|
30960
|
-
var _componentMap$compTyp9
|
|
30939
|
+
var _componentMap$compTyp9;
|
|
30961
30940
|
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
30941
|
setOriginDataSource(getGoodDetails({
|
|
30968
30942
|
returnGoodsValue: data,
|
|
30969
|
-
isAllOrders: componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$
|
|
30943
|
+
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
30944
|
mode: isStrict
|
|
30971
30945
|
}));
|
|
30972
30946
|
});
|
|
30973
30947
|
pubsub.publish(componentMap$4[compType].eventNameMap.returnGoodsSysorder, compType);
|
|
30974
30948
|
});
|
|
30975
30949
|
};
|
|
30976
|
-
console.log('aaa--', originDataSource);
|
|
30977
30950
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
|
|
30978
30951
|
key: componentMap$4[compType].type
|
|
30979
30952
|
}, props), {}, {
|
|
30980
30953
|
validSystemOrderFn: function validSystemOrderFn() {
|
|
30981
|
-
var _componentMap$
|
|
30982
|
-
return (_componentMap$
|
|
30954
|
+
var _componentMap$compTyp10, _componentMap$compTyp11;
|
|
30955
|
+
return (_componentMap$compTyp10 = (_componentMap$compTyp11 = componentMap$4[compType]).validSystemOrderFn) === null || _componentMap$compTyp10 === void 0 ? void 0 : _componentMap$compTyp10.call(_componentMap$compTyp11, form);
|
|
30983
30956
|
},
|
|
30984
30957
|
isReloadSelectTable: componentMap$4[compType].isReloadSelectTable,
|
|
30985
30958
|
disabled: disabled,
|
|
@@ -33830,20 +33803,13 @@ var IdInputSelect = function IdInputSelect(props) {
|
|
|
33830
33803
|
tradeId = form.getFieldValue('m3ap1EvEyd');
|
|
33831
33804
|
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
33805
|
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
33806
|
if (!(type === 'SKX_OUTBOUND_NOTICE_NO' && !tradeId || type === 'SKX_RETURN_BILL_NO' && !tradeId && !skxReturnExpressCode)) {
|
|
33841
|
-
_context3.next =
|
|
33807
|
+
_context3.next = 6;
|
|
33842
33808
|
break;
|
|
33843
33809
|
}
|
|
33844
33810
|
setDataSource([]);
|
|
33845
33811
|
return _context3.abrupt("return");
|
|
33846
|
-
case
|
|
33812
|
+
case 6:
|
|
33847
33813
|
setSpinning(true);
|
|
33848
33814
|
// 判断是从哪个组件失焦,若是从[SKX]退换物流信息(TH)失焦,则根据物流单号查询,若是从订单号组件失焦,则根据订单号查询
|
|
33849
33815
|
typeMap$6[type].asyncGetData(type === 'SKX_RETURN_BILL_NO' && blurFrom === '4487c6516b' ? {
|
|
@@ -33857,7 +33823,7 @@ var IdInputSelect = function IdInputSelect(props) {
|
|
|
33857
33823
|
}).finally(function () {
|
|
33858
33824
|
setSpinning(false);
|
|
33859
33825
|
});
|
|
33860
|
-
case
|
|
33826
|
+
case 8:
|
|
33861
33827
|
case "end":
|
|
33862
33828
|
return _context3.stop();
|
|
33863
33829
|
}
|
|
@@ -33949,11 +33915,6 @@ var IdInputSelect = function IdInputSelect(props) {
|
|
|
33949
33915
|
}))));
|
|
33950
33916
|
};
|
|
33951
33917
|
var handleChange = function handleChange(val, isInput) {
|
|
33952
|
-
console.log('handleChange---', {
|
|
33953
|
-
val: val,
|
|
33954
|
-
value: value,
|
|
33955
|
-
isInput: isInput
|
|
33956
|
-
});
|
|
33957
33918
|
var isReturnBillNoChange = type === 'SKX_RETURN_BILL_NO' && form.getFieldValue('skx_return_billNo_blur_from') === '4487c6516b';
|
|
33958
33919
|
onChange === null || onChange === void 0 ? void 0 : onChange(val, value !== val && (!!isInput || isReturnBillNoChange));
|
|
33959
33920
|
// 如果类型是[SKX]退换货单号,则根据blurFrom判断是从[SKX]退换物流信息(TH)失焦,则调用onBlur
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.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.12.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.12.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": "
|
|
69
|
+
"gitHead": "db5913f12b6fa078e3a74f9e61fe484d5d9d2567"
|
|
70
70
|
}
|