@kmkf-fe-packages/basic-components 2.2.44-beta.16 → 2.2.44-beta.20
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 +6 -2
- package/dist/index.js +6 -2
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -23444,7 +23444,9 @@ var processKmGoods$1 = function processKmGoods(_ref7) {
|
|
|
23444
23444
|
sysOuterId: item.goodNo,
|
|
23445
23445
|
outerId: item.goodNo,
|
|
23446
23446
|
skuSysId: item.specId,
|
|
23447
|
+
sysSkuId: item.specId,
|
|
23447
23448
|
itemSysId: item.goodId,
|
|
23449
|
+
sysItemId: item.goodId,
|
|
23448
23450
|
sysPicPath: item.goodPicUrl,
|
|
23449
23451
|
payment: null,
|
|
23450
23452
|
price: item.retailPrice,
|
|
@@ -26875,7 +26877,8 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
26875
26877
|
hasChange = false;
|
|
26876
26878
|
currentValue = valueRef.current;
|
|
26877
26879
|
kmGoods = currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$kmGoods = currentValue.kmGoods) === null || _currentValue$kmGoods === void 0 ? void 0 : _currentValue$kmGoods.map(function (item) {
|
|
26878
|
-
var
|
|
26880
|
+
var key = (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
26881
|
+
var supplierInfo = supplierMap.get(key);
|
|
26879
26882
|
var newSupplierCode = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierCode;
|
|
26880
26883
|
var newSupplierName = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierName;
|
|
26881
26884
|
// 如果供应商信息有变化,标记需要更新
|
|
@@ -28029,7 +28032,8 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28029
28032
|
hasChange = false;
|
|
28030
28033
|
currentValue = valueRef.current;
|
|
28031
28034
|
kmReissueGoods = currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$kmReiss = currentValue.kmReissueGoods) === null || _currentValue$kmReiss === void 0 ? void 0 : _currentValue$kmReiss.map(function (item) {
|
|
28032
|
-
var
|
|
28035
|
+
var key = (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
28036
|
+
var supplierInfo = supplierMap.get(key);
|
|
28033
28037
|
var newSupplierCode = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierCode;
|
|
28034
28038
|
var newSupplierName = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierName;
|
|
28035
28039
|
// 如果供应商信息有变化,标记需要更新
|
package/dist/index.js
CHANGED
|
@@ -23459,7 +23459,9 @@ var processKmGoods$1 = function processKmGoods(_ref7) {
|
|
|
23459
23459
|
sysOuterId: item.goodNo,
|
|
23460
23460
|
outerId: item.goodNo,
|
|
23461
23461
|
skuSysId: item.specId,
|
|
23462
|
+
sysSkuId: item.specId,
|
|
23462
23463
|
itemSysId: item.goodId,
|
|
23464
|
+
sysItemId: item.goodId,
|
|
23463
23465
|
sysPicPath: item.goodPicUrl,
|
|
23464
23466
|
payment: null,
|
|
23465
23467
|
price: item.retailPrice,
|
|
@@ -26890,7 +26892,8 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
26890
26892
|
hasChange = false;
|
|
26891
26893
|
currentValue = valueRef.current;
|
|
26892
26894
|
kmGoods = currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$kmGoods = currentValue.kmGoods) === null || _currentValue$kmGoods === void 0 ? void 0 : _currentValue$kmGoods.map(function (item) {
|
|
26893
|
-
var
|
|
26895
|
+
var key = (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
26896
|
+
var supplierInfo = supplierMap.get(key);
|
|
26894
26897
|
var newSupplierCode = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierCode;
|
|
26895
26898
|
var newSupplierName = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierName;
|
|
26896
26899
|
// 如果供应商信息有变化,标记需要更新
|
|
@@ -28044,7 +28047,8 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28044
28047
|
hasChange = false;
|
|
28045
28048
|
currentValue = valueRef.current;
|
|
28046
28049
|
kmReissueGoods = currentValue === null || currentValue === void 0 ? void 0 : (_currentValue$kmReiss = currentValue.kmReissueGoods) === null || _currentValue$kmReiss === void 0 ? void 0 : _currentValue$kmReiss.map(function (item) {
|
|
28047
|
-
var
|
|
28050
|
+
var key = (item === null || item === void 0 ? void 0 : item.sysSkuId) == '-1' ? item === null || item === void 0 ? void 0 : item.sysItemId : "".concat(item === null || item === void 0 ? void 0 : item.sysItemId, "-").concat(item === null || item === void 0 ? void 0 : item.sysSkuId);
|
|
28051
|
+
var supplierInfo = supplierMap.get(key);
|
|
28048
28052
|
var newSupplierCode = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierCode;
|
|
28049
28053
|
var newSupplierName = supplierInfo === null || supplierInfo === void 0 ? void 0 : supplierInfo.supplierName;
|
|
28050
28054
|
// 如果供应商信息有变化,标记需要更新
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.2.44-beta.
|
|
3
|
+
"version": "2.2.44-beta.20",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "db592656b90eaefe5929976489da074bfb296be0"
|
|
70
70
|
}
|