@kmkf-fe-packages/basic-components 2.5.1-rc.0 → 2.6.0
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 +41 -13
- package/dist/index.js +41 -13
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -21141,7 +21141,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21141
21141
|
ellipsis: true,
|
|
21142
21142
|
align: 'center',
|
|
21143
21143
|
render: function render(price) {
|
|
21144
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21144
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21145
21145
|
}
|
|
21146
21146
|
}, {
|
|
21147
21147
|
dataIndex: 'salePrice',
|
|
@@ -21160,7 +21160,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21160
21160
|
onChange: function onChange(num) {
|
|
21161
21161
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21162
21162
|
}
|
|
21163
|
-
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21163
|
+
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21164
21164
|
}
|
|
21165
21165
|
}, {
|
|
21166
21166
|
dataIndex: 'qty',
|
|
@@ -21188,7 +21188,8 @@ var getColumns$5 = function getColumns() {
|
|
|
21188
21188
|
ellipsis: true,
|
|
21189
21189
|
align: 'center',
|
|
21190
21190
|
render: function render(val, record, index) {
|
|
21191
|
-
|
|
21191
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
21192
|
+
return Number(amount).toFixed(4).replace(/\.?0+$/, '');
|
|
21192
21193
|
}
|
|
21193
21194
|
}, {
|
|
21194
21195
|
dataIndex: 'batchId',
|
|
@@ -21273,7 +21274,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21273
21274
|
ellipsis: true,
|
|
21274
21275
|
align: 'center',
|
|
21275
21276
|
render: function render(price) {
|
|
21276
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21277
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21277
21278
|
}
|
|
21278
21279
|
}, {
|
|
21279
21280
|
dataIndex: 'salePrice',
|
|
@@ -21307,7 +21308,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21307
21308
|
onChange: function onChange(num) {
|
|
21308
21309
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21309
21310
|
}
|
|
21310
|
-
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21311
|
+
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21311
21312
|
}
|
|
21312
21313
|
}, {
|
|
21313
21314
|
dataIndex: 'qty',
|
|
@@ -21410,7 +21411,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21410
21411
|
dataIndex: 'saleBasePrice',
|
|
21411
21412
|
title: '原价',
|
|
21412
21413
|
render: function render(price) {
|
|
21413
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21414
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21414
21415
|
}
|
|
21415
21416
|
}, {
|
|
21416
21417
|
dataIndex: 'salePrice',
|
|
@@ -21440,7 +21441,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21440
21441
|
onChange: function onChange(num) {
|
|
21441
21442
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21442
21443
|
}
|
|
21443
|
-
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21444
|
+
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21444
21445
|
}
|
|
21445
21446
|
}, {
|
|
21446
21447
|
dataIndex: 'qty',
|
|
@@ -21476,7 +21477,8 @@ var getColumns$5 = function getColumns() {
|
|
|
21476
21477
|
dataIndex: 'saleAmount',
|
|
21477
21478
|
title: '总金额',
|
|
21478
21479
|
render: function render(val, record) {
|
|
21479
|
-
|
|
21480
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
21481
|
+
return Number(amount).toFixed(4).replace(/\.?0+$/, '');
|
|
21480
21482
|
}
|
|
21481
21483
|
}, {
|
|
21482
21484
|
dataIndex: 'batchId',
|
|
@@ -21551,7 +21553,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21551
21553
|
dataIndex: 'saleBasePrice',
|
|
21552
21554
|
title: '原价',
|
|
21553
21555
|
render: function render(price) {
|
|
21554
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21556
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21555
21557
|
}
|
|
21556
21558
|
}, {
|
|
21557
21559
|
dataIndex: 'salePrice',
|
|
@@ -21568,7 +21570,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21568
21570
|
onChange: function onChange(num) {
|
|
21569
21571
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21570
21572
|
}
|
|
21571
|
-
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21573
|
+
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21572
21574
|
}
|
|
21573
21575
|
}, {
|
|
21574
21576
|
dataIndex: 'qty',
|
|
@@ -21591,7 +21593,8 @@ var getColumns$5 = function getColumns() {
|
|
|
21591
21593
|
dataIndex: 'saleAmount',
|
|
21592
21594
|
title: '总金额',
|
|
21593
21595
|
render: function render(val, record) {
|
|
21594
|
-
|
|
21596
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
21597
|
+
return amount ? Number(amount).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21595
21598
|
}
|
|
21596
21599
|
}, {
|
|
21597
21600
|
dataIndex: 'isGift',
|
|
@@ -21838,6 +21841,11 @@ var getColumns$6 = function getColumns() {
|
|
|
21838
21841
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
21839
21842
|
width: 150,
|
|
21840
21843
|
render: renderTextEllipsis
|
|
21844
|
+
}, {
|
|
21845
|
+
dataIndex: 'sysItemOuterId',
|
|
21846
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
21847
|
+
width: 250,
|
|
21848
|
+
render: renderTextEllipsis
|
|
21841
21849
|
}, {
|
|
21842
21850
|
dataIndex: 'sysOuterId',
|
|
21843
21851
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -21966,6 +21974,11 @@ var getColumns$6 = function getColumns() {
|
|
|
21966
21974
|
title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
|
|
21967
21975
|
width: 150,
|
|
21968
21976
|
render: renderTextEllipsis
|
|
21977
|
+
}, {
|
|
21978
|
+
dataIndex: 'sysItemOuterId',
|
|
21979
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
21980
|
+
width: 250,
|
|
21981
|
+
render: renderTextEllipsis
|
|
21969
21982
|
}, {
|
|
21970
21983
|
dataIndex: 'sysOuterId',
|
|
21971
21984
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -22134,6 +22147,11 @@ var getColumns$6 = function getColumns() {
|
|
|
22134
22147
|
title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
|
|
22135
22148
|
width: 150,
|
|
22136
22149
|
render: renderTextEllipsis
|
|
22150
|
+
}, {
|
|
22151
|
+
dataIndex: 'sysItemOuterId',
|
|
22152
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
22153
|
+
width: 250,
|
|
22154
|
+
render: renderTextEllipsis
|
|
22137
22155
|
}, {
|
|
22138
22156
|
dataIndex: 'sysOuterId',
|
|
22139
22157
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -22315,6 +22333,11 @@ var getColumns$6 = function getColumns() {
|
|
|
22315
22333
|
title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
|
|
22316
22334
|
width: 150,
|
|
22317
22335
|
render: renderTextEllipsis
|
|
22336
|
+
}, {
|
|
22337
|
+
dataIndex: 'sysItemOuterId',
|
|
22338
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
22339
|
+
width: 250,
|
|
22340
|
+
render: renderTextEllipsis
|
|
22318
22341
|
}, {
|
|
22319
22342
|
dataIndex: 'sysOuterId',
|
|
22320
22343
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -24038,6 +24061,7 @@ var processKmGoods$1 = function processKmGoods(_ref8) {
|
|
|
24038
24061
|
itemSysId: item.goodId,
|
|
24039
24062
|
sysItemId: item.goodId,
|
|
24040
24063
|
sysPicPath: item.goodPicUrl,
|
|
24064
|
+
sysItemOuterId: item.goodNo,
|
|
24041
24065
|
payment: null,
|
|
24042
24066
|
price: item.retailPrice,
|
|
24043
24067
|
type: (kmSkuTypeMap === null || kmSkuTypeMap === void 0 ? void 0 : kmSkuTypeMap[item === null || item === void 0 ? void 0 : item.skuType]) || '',
|
|
@@ -28283,7 +28307,9 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
28283
28307
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
28284
28308
|
return order[componentMap$4[compType].oIdKey] === systemOrderNo;
|
|
28285
28309
|
});
|
|
28286
|
-
var goodDetails = jstMergeIdenticalGoods((order === null || order === void 0 ? void 0 : (_order$componentMap$c = order[componentMap$4[compType].goodDetailsKey]) === null || _order$componentMap$c === void 0 ? void 0 : _order$componentMap$c.length) ? (_componentMap$compTyp7 = componentMap$4[compType]) === null || _componentMap$compTyp7 === void 0 ? void 0 : _componentMap$compTyp7.updateGoodsHandle([order],
|
|
28310
|
+
var goodDetails = jstMergeIdenticalGoods((order === null || order === void 0 ? void 0 : (_order$componentMap$c = order[componentMap$4[compType].goodDetailsKey]) === null || _order$componentMap$c === void 0 ? void 0 : _order$componentMap$c.length) ? (_componentMap$compTyp7 = componentMap$4[compType]) === null || _componentMap$compTyp7 === void 0 ? void 0 : _componentMap$compTyp7.updateGoodsHandle([order], {
|
|
28311
|
+
canEdit: true
|
|
28312
|
+
}) : []);
|
|
28287
28313
|
var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
|
|
28288
28314
|
return mode ? goodDetails.filter(function (goodItem) {
|
|
28289
28315
|
return !orderNo || goodItem[componentMap$4[compType].outerOiIdKey] === orderNo;
|
|
@@ -28917,7 +28943,9 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28917
28943
|
});
|
|
28918
28944
|
var orderRest = undefined;
|
|
28919
28945
|
if (['JST_REISSUE_GOODS', 'JST_RETURN_GOODS'].includes(type)) {
|
|
28920
|
-
orderRest =
|
|
28946
|
+
orderRest = {
|
|
28947
|
+
canEdit: true
|
|
28948
|
+
};
|
|
28921
28949
|
} else if (['KM_REISSUE_GOODS', 'KM_RETURN_GOODS'].includes(type)) {
|
|
28922
28950
|
orderRest = {
|
|
28923
28951
|
orderBackGoodsLevel: props.orderBackGoodsLevel,
|
package/dist/index.js
CHANGED
|
@@ -21156,7 +21156,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21156
21156
|
ellipsis: true,
|
|
21157
21157
|
align: 'center',
|
|
21158
21158
|
render: function render(price) {
|
|
21159
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21159
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21160
21160
|
}
|
|
21161
21161
|
}, {
|
|
21162
21162
|
dataIndex: 'salePrice',
|
|
@@ -21175,7 +21175,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21175
21175
|
onChange: function onChange(num) {
|
|
21176
21176
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21177
21177
|
}
|
|
21178
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21178
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21179
21179
|
}
|
|
21180
21180
|
}, {
|
|
21181
21181
|
dataIndex: 'qty',
|
|
@@ -21203,7 +21203,8 @@ var getColumns$5 = function getColumns() {
|
|
|
21203
21203
|
ellipsis: true,
|
|
21204
21204
|
align: 'center',
|
|
21205
21205
|
render: function render(val, record, index) {
|
|
21206
|
-
|
|
21206
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
21207
|
+
return Number(amount).toFixed(4).replace(/\.?0+$/, '');
|
|
21207
21208
|
}
|
|
21208
21209
|
}, {
|
|
21209
21210
|
dataIndex: 'batchId',
|
|
@@ -21288,7 +21289,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21288
21289
|
ellipsis: true,
|
|
21289
21290
|
align: 'center',
|
|
21290
21291
|
render: function render(price) {
|
|
21291
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21292
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21292
21293
|
}
|
|
21293
21294
|
}, {
|
|
21294
21295
|
dataIndex: 'salePrice',
|
|
@@ -21322,7 +21323,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21322
21323
|
onChange: function onChange(num) {
|
|
21323
21324
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21324
21325
|
}
|
|
21325
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21326
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21326
21327
|
}
|
|
21327
21328
|
}, {
|
|
21328
21329
|
dataIndex: 'qty',
|
|
@@ -21425,7 +21426,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21425
21426
|
dataIndex: 'saleBasePrice',
|
|
21426
21427
|
title: '原价',
|
|
21427
21428
|
render: function render(price) {
|
|
21428
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21429
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21429
21430
|
}
|
|
21430
21431
|
}, {
|
|
21431
21432
|
dataIndex: 'salePrice',
|
|
@@ -21455,7 +21456,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21455
21456
|
onChange: function onChange(num) {
|
|
21456
21457
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21457
21458
|
}
|
|
21458
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21459
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21459
21460
|
}
|
|
21460
21461
|
}, {
|
|
21461
21462
|
dataIndex: 'qty',
|
|
@@ -21491,7 +21492,8 @@ var getColumns$5 = function getColumns() {
|
|
|
21491
21492
|
dataIndex: 'saleAmount',
|
|
21492
21493
|
title: '总金额',
|
|
21493
21494
|
render: function render(val, record) {
|
|
21494
|
-
|
|
21495
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
21496
|
+
return Number(amount).toFixed(4).replace(/\.?0+$/, '');
|
|
21495
21497
|
}
|
|
21496
21498
|
}, {
|
|
21497
21499
|
dataIndex: 'batchId',
|
|
@@ -21566,7 +21568,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21566
21568
|
dataIndex: 'saleBasePrice',
|
|
21567
21569
|
title: '原价',
|
|
21568
21570
|
render: function render(price) {
|
|
21569
|
-
return price || price === 0 ? Number(price).toFixed(
|
|
21571
|
+
return price || price === 0 ? Number(price).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21570
21572
|
}
|
|
21571
21573
|
}, {
|
|
21572
21574
|
dataIndex: 'salePrice',
|
|
@@ -21583,7 +21585,7 @@ var getColumns$5 = function getColumns() {
|
|
|
21583
21585
|
onChange: function onChange(num) {
|
|
21584
21586
|
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
21585
21587
|
}
|
|
21586
|
-
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(
|
|
21588
|
+
}) : /*#__PURE__*/React__default['default'].createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
21587
21589
|
}
|
|
21588
21590
|
}, {
|
|
21589
21591
|
dataIndex: 'qty',
|
|
@@ -21606,7 +21608,8 @@ var getColumns$5 = function getColumns() {
|
|
|
21606
21608
|
dataIndex: 'saleAmount',
|
|
21607
21609
|
title: '总金额',
|
|
21608
21610
|
render: function render(val, record) {
|
|
21609
|
-
|
|
21611
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
21612
|
+
return amount ? Number(amount).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
21610
21613
|
}
|
|
21611
21614
|
}, {
|
|
21612
21615
|
dataIndex: 'isGift',
|
|
@@ -21853,6 +21856,11 @@ var getColumns$6 = function getColumns() {
|
|
|
21853
21856
|
title: "\u5546\u54C1\u7B80\u79F0",
|
|
21854
21857
|
width: 150,
|
|
21855
21858
|
render: renderTextEllipsis
|
|
21859
|
+
}, {
|
|
21860
|
+
dataIndex: 'sysItemOuterId',
|
|
21861
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
21862
|
+
width: 250,
|
|
21863
|
+
render: renderTextEllipsis
|
|
21856
21864
|
}, {
|
|
21857
21865
|
dataIndex: 'sysOuterId',
|
|
21858
21866
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -21981,6 +21989,11 @@ var getColumns$6 = function getColumns() {
|
|
|
21981
21989
|
title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
|
|
21982
21990
|
width: 150,
|
|
21983
21991
|
render: renderTextEllipsis
|
|
21992
|
+
}, {
|
|
21993
|
+
dataIndex: 'sysItemOuterId',
|
|
21994
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
21995
|
+
width: 250,
|
|
21996
|
+
render: renderTextEllipsis
|
|
21984
21997
|
}, {
|
|
21985
21998
|
dataIndex: 'sysOuterId',
|
|
21986
21999
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -22149,6 +22162,11 @@ var getColumns$6 = function getColumns() {
|
|
|
22149
22162
|
title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
|
|
22150
22163
|
width: 150,
|
|
22151
22164
|
render: renderTextEllipsis
|
|
22165
|
+
}, {
|
|
22166
|
+
dataIndex: 'sysItemOuterId',
|
|
22167
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
22168
|
+
width: 250,
|
|
22169
|
+
render: renderTextEllipsis
|
|
22152
22170
|
}, {
|
|
22153
22171
|
dataIndex: 'sysOuterId',
|
|
22154
22172
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -22330,6 +22348,11 @@ var getColumns$6 = function getColumns() {
|
|
|
22330
22348
|
title: "\u5E73\u53F0\u5546\u54C1\u540D\u79F0",
|
|
22331
22349
|
width: 150,
|
|
22332
22350
|
render: renderTextEllipsis
|
|
22351
|
+
}, {
|
|
22352
|
+
dataIndex: 'sysItemOuterId',
|
|
22353
|
+
title: "\u7CFB\u7EDF\u4E3B\u5546\u5BB6\u7F16\u7801",
|
|
22354
|
+
width: 250,
|
|
22355
|
+
render: renderTextEllipsis
|
|
22333
22356
|
}, {
|
|
22334
22357
|
dataIndex: 'sysOuterId',
|
|
22335
22358
|
title: "\u7CFB\u7EDF\u5546\u5BB6\u7F16\u7801",
|
|
@@ -24053,6 +24076,7 @@ var processKmGoods$1 = function processKmGoods(_ref8) {
|
|
|
24053
24076
|
itemSysId: item.goodId,
|
|
24054
24077
|
sysItemId: item.goodId,
|
|
24055
24078
|
sysPicPath: item.goodPicUrl,
|
|
24079
|
+
sysItemOuterId: item.goodNo,
|
|
24056
24080
|
payment: null,
|
|
24057
24081
|
price: item.retailPrice,
|
|
24058
24082
|
type: (kmkfUtils.kmSkuTypeMap === null || kmkfUtils.kmSkuTypeMap === void 0 ? void 0 : kmkfUtils.kmSkuTypeMap[item === null || item === void 0 ? void 0 : item.skuType]) || '',
|
|
@@ -28298,7 +28322,9 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
28298
28322
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
28299
28323
|
return order[componentMap$4[compType].oIdKey] === systemOrderNo;
|
|
28300
28324
|
});
|
|
28301
|
-
var goodDetails = kmkfUtils.jstMergeIdenticalGoods((order === null || order === void 0 ? void 0 : (_order$componentMap$c = order[componentMap$4[compType].goodDetailsKey]) === null || _order$componentMap$c === void 0 ? void 0 : _order$componentMap$c.length) ? (_componentMap$compTyp7 = componentMap$4[compType]) === null || _componentMap$compTyp7 === void 0 ? void 0 : _componentMap$compTyp7.updateGoodsHandle([order],
|
|
28325
|
+
var goodDetails = kmkfUtils.jstMergeIdenticalGoods((order === null || order === void 0 ? void 0 : (_order$componentMap$c = order[componentMap$4[compType].goodDetailsKey]) === null || _order$componentMap$c === void 0 ? void 0 : _order$componentMap$c.length) ? (_componentMap$compTyp7 = componentMap$4[compType]) === null || _componentMap$compTyp7 === void 0 ? void 0 : _componentMap$compTyp7.updateGoodsHandle([order], {
|
|
28326
|
+
canEdit: true
|
|
28327
|
+
}) : []);
|
|
28302
28328
|
var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
|
|
28303
28329
|
return mode ? goodDetails.filter(function (goodItem) {
|
|
28304
28330
|
return !orderNo || goodItem[componentMap$4[compType].outerOiIdKey] === orderNo;
|
|
@@ -28932,7 +28958,9 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
28932
28958
|
});
|
|
28933
28959
|
var orderRest = undefined;
|
|
28934
28960
|
if (['JST_REISSUE_GOODS', 'JST_RETURN_GOODS'].includes(type)) {
|
|
28935
|
-
orderRest =
|
|
28961
|
+
orderRest = {
|
|
28962
|
+
canEdit: true
|
|
28963
|
+
};
|
|
28936
28964
|
} else if (['KM_REISSUE_GOODS', 'KM_RETURN_GOODS'].includes(type)) {
|
|
28937
28965
|
orderRest = {
|
|
28938
28966
|
orderBackGoodsLevel: props.orderBackGoodsLevel,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
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.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.6.0",
|
|
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": "271b117e3e4afe8fadcc540ebecb963017e789bf"
|
|
70
70
|
}
|