@kmkf-fe-packages/basic-components 2.9.1-beta.7 → 2.10.1
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 +109 -227
- package/package.json +3 -3
- package/dist/src/constants/constants.d.ts +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -8625,8 +8625,7 @@ var processSceneStatus = function processSceneStatus(getValue) {
|
|
|
8625
8625
|
MSG_STATUS: 'msgStatusValues',
|
|
8626
8626
|
WDT_WAREHOUSING_STATUS: 'wdtInStockStatusItemList',
|
|
8627
8627
|
JKY_WAREHOUSING_STATUS: 'jkyInStockStatusItemList',
|
|
8628
|
-
WLN_WAREHOUSING_STATUS: 'wlnInStockStatusItemList'
|
|
8629
|
-
KM_WAREHOUSING_STATUS: 'kmInStockStatusItemList'
|
|
8628
|
+
WLN_WAREHOUSING_STATUS: 'wlnInStockStatusItemList'
|
|
8630
8629
|
};
|
|
8631
8630
|
return _defineProperty({}, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(STATUS_LIST_MAP[nex.workOrderComponentType])), []));
|
|
8632
8631
|
};
|
|
@@ -9350,8 +9349,7 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
|
|
|
9350
9349
|
},
|
|
9351
9350
|
jstReturnType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_jstReturnType")), !isNull(config === null || config === void 0 ? void 0 : config.initReason) ? [config.initReason] : ['1']),
|
|
9352
9351
|
jstReturnGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_jstReturnGoods")), []),
|
|
9353
|
-
|
|
9354
|
-
// getValue(`${nex.uniqueKey}_jstSystemOrderBillType`) || '',
|
|
9352
|
+
jstSystemOrderBillType: getValue("".concat(nex.uniqueKey, "_jstSystemOrderBillType")) || '',
|
|
9355
9353
|
shopCode: getValue("".concat(nex.uniqueKey, "_shopCode")),
|
|
9356
9354
|
jstSystemOrderNo: getValue("".concat(nex.uniqueKey, "_jstSystemOrderNo"))
|
|
9357
9355
|
});
|
|
@@ -9475,7 +9473,6 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
9475
9473
|
WDT_WAREHOUSING_STATUS: processSceneStatus,
|
|
9476
9474
|
WLN_WAREHOUSING_STATUS: processSceneStatus,
|
|
9477
9475
|
JKY_WAREHOUSING_STATUS: processSceneStatus,
|
|
9478
|
-
KM_WAREHOUSING_STATUS: processSceneStatus,
|
|
9479
9476
|
BS_LOGISTICS: processErpLogistics,
|
|
9480
9477
|
WLN_LOGISTICS: processErpLogistics,
|
|
9481
9478
|
WDT_LOGISTICS: processErpLogistics,
|
|
@@ -11659,7 +11656,7 @@ var GoodsModal = function GoodsModal(props) {
|
|
|
11659
11656
|
key: item.value
|
|
11660
11657
|
}, item.label);
|
|
11661
11658
|
})), /*#__PURE__*/React.createElement(Search, {
|
|
11662
|
-
placeholder: searchParams.type !== 'orderProduct' ? platform === 'taobao' ? '
|
|
11659
|
+
placeholder: searchParams.type !== 'orderProduct' ? platform === 'taobao' ? '宝贝链接,标题' : '商品ID' : '宝贝标题',
|
|
11663
11660
|
// enterButton="搜索"
|
|
11664
11661
|
className: "search",
|
|
11665
11662
|
value: platform === 'taobao' ? searchParams.title : searchParams.numIids,
|
|
@@ -16296,33 +16293,30 @@ var GoodList = function GoodList(props, ref) {
|
|
|
16296
16293
|
selectedRowKeys: selectIds,
|
|
16297
16294
|
fixed: true,
|
|
16298
16295
|
onSelect: function onSelect(record, selected) {
|
|
16299
|
-
var uniqueKey = "".concat(record.goodNo, "-").concat(record.specNo);
|
|
16300
16296
|
if (selected) {
|
|
16301
|
-
setSelectIds([].concat(_toConsumableArray(selectIds), [
|
|
16297
|
+
setSelectIds([].concat(_toConsumableArray(selectIds), [record.specNo]));
|
|
16302
16298
|
setSelect([].concat(_toConsumableArray(selectList), [record]));
|
|
16303
16299
|
} else {
|
|
16304
16300
|
setSelectIds(selectIds.filter(function (t) {
|
|
16305
|
-
return t !==
|
|
16301
|
+
return t !== record.specNo;
|
|
16306
16302
|
}));
|
|
16307
16303
|
setSelect(selectList.filter(function (t) {
|
|
16308
|
-
return
|
|
16304
|
+
return t.specNo !== record.specNo;
|
|
16309
16305
|
}));
|
|
16310
16306
|
}
|
|
16311
16307
|
},
|
|
16312
16308
|
onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
|
|
16313
16309
|
if (selected) {
|
|
16314
|
-
|
|
16315
|
-
return
|
|
16316
|
-
});
|
|
16317
|
-
setSelectIds([].concat(_toConsumableArray(selectIds), _toConsumableArray(changeKeys)));
|
|
16310
|
+
setSelectIds([].concat(_toConsumableArray(selectIds), _toConsumableArray(changeRows.map(function (t) {
|
|
16311
|
+
return t.specNo;
|
|
16312
|
+
}))));
|
|
16318
16313
|
setSelect([].concat(_toConsumableArray(selectList), _toConsumableArray(changeRows)));
|
|
16319
16314
|
} else {
|
|
16320
|
-
|
|
16321
|
-
return
|
|
16322
|
-
});
|
|
16323
|
-
setSelectIds(difference(selectIds, _changeKeys));
|
|
16315
|
+
setSelectIds(difference(selectIds, changeRows.map(function (t) {
|
|
16316
|
+
return t.specNo;
|
|
16317
|
+
})));
|
|
16324
16318
|
var list = differenceWith(selectList, changeRows, function (arrVal, othVal) {
|
|
16325
|
-
return
|
|
16319
|
+
return arrVal.specNo !== othVal.specNo;
|
|
16326
16320
|
});
|
|
16327
16321
|
setSelect(list);
|
|
16328
16322
|
}
|
|
@@ -16330,12 +16324,11 @@ var GoodList = function GoodList(props, ref) {
|
|
|
16330
16324
|
};
|
|
16331
16325
|
var showTable = function showTable() {
|
|
16332
16326
|
var handleDelete = function handleDelete(record) {
|
|
16333
|
-
var uniqueKey = "".concat(record.goodNo, "-").concat(record.specNo);
|
|
16334
16327
|
setSelectIds(selectIds.filter(function (t) {
|
|
16335
|
-
return t !==
|
|
16328
|
+
return t !== record.specNo;
|
|
16336
16329
|
}));
|
|
16337
16330
|
setSelect(selectList.filter(function (t) {
|
|
16338
|
-
return
|
|
16331
|
+
return t.specNo !== record.specNo;
|
|
16339
16332
|
}));
|
|
16340
16333
|
};
|
|
16341
16334
|
var showColumns = [{
|
|
@@ -16359,9 +16352,7 @@ var GoodList = function GoodList(props, ref) {
|
|
|
16359
16352
|
}
|
|
16360
16353
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
16361
16354
|
columns: showColumns,
|
|
16362
|
-
rowKey:
|
|
16363
|
-
return "".concat(record.goodNo, "-").concat(record.specNo);
|
|
16364
|
-
},
|
|
16355
|
+
rowKey: 'specNo',
|
|
16365
16356
|
dataSource: selectList,
|
|
16366
16357
|
scroll: {
|
|
16367
16358
|
x: '100%',
|
|
@@ -16391,9 +16382,7 @@ var GoodList = function GoodList(props, ref) {
|
|
|
16391
16382
|
}, /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({
|
|
16392
16383
|
className: "GoodModalColumns",
|
|
16393
16384
|
rowSelection: rowSelection,
|
|
16394
|
-
rowKey:
|
|
16395
|
-
return "".concat(record.goodNo, "-").concat(record.specNo);
|
|
16396
|
-
},
|
|
16385
|
+
rowKey: "specNo",
|
|
16397
16386
|
columns: columns,
|
|
16398
16387
|
scroll: {
|
|
16399
16388
|
x: '100%',
|
|
@@ -20960,20 +20949,9 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
20960
20949
|
};
|
|
20961
20950
|
|
|
20962
20951
|
var getYesOrNo$4 = function getYesOrNo(val) {
|
|
20963
|
-
|
|
20964
|
-
|
|
20965
|
-
case '1':
|
|
20966
|
-
case 1:
|
|
20967
|
-
return '是';
|
|
20968
|
-
case false:
|
|
20969
|
-
case '0':
|
|
20970
|
-
case 0:
|
|
20971
|
-
return '否';
|
|
20972
|
-
default:
|
|
20973
|
-
return null;
|
|
20974
|
-
}
|
|
20952
|
+
if (isNull(val)) return null;
|
|
20953
|
+
return val ? '是' : '否';
|
|
20975
20954
|
};
|
|
20976
|
-
|
|
20977
20955
|
function toNum$1(value) {
|
|
20978
20956
|
if (typeof value === 'string') {
|
|
20979
20957
|
return value ? +value : void 0;
|
|
@@ -21169,7 +21147,7 @@ var getColumns$3 = function getColumns(_ref) {
|
|
|
21169
21147
|
label: '非赠品',
|
|
21170
21148
|
value: 0
|
|
21171
21149
|
}]
|
|
21172
|
-
}) : /*#__PURE__*/React.createElement("span", null,
|
|
21150
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
|
|
21173
21151
|
}
|
|
21174
21152
|
}, {
|
|
21175
21153
|
dataIndex: 'isPackage',
|
|
@@ -21401,7 +21379,7 @@ var getColumns$3 = function getColumns(_ref) {
|
|
|
21401
21379
|
label: '非赠品',
|
|
21402
21380
|
value: 0
|
|
21403
21381
|
}]
|
|
21404
|
-
}) : /*#__PURE__*/React.createElement("span", null,
|
|
21382
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
|
|
21405
21383
|
}
|
|
21406
21384
|
}, {
|
|
21407
21385
|
dataIndex: 'isPackage',
|
|
@@ -21461,6 +21439,10 @@ var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
|
|
|
21461
21439
|
if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
|
|
21462
21440
|
return false;
|
|
21463
21441
|
};
|
|
21442
|
+
var getYesOrNo$5 = function getYesOrNo(val) {
|
|
21443
|
+
if (isNull(val)) return null;
|
|
21444
|
+
return val ? '是' : '否';
|
|
21445
|
+
};
|
|
21464
21446
|
function toNum$2(value) {
|
|
21465
21447
|
if (typeof value === 'string') {
|
|
21466
21448
|
return value ? +value : void 0;
|
|
@@ -21572,7 +21554,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
21572
21554
|
title: "\u662F\u5426\u53D6\u6D88",
|
|
21573
21555
|
width: 150,
|
|
21574
21556
|
render: function render(val) {
|
|
21575
|
-
return /*#__PURE__*/React.createElement("span", null, getYesOrNo$
|
|
21557
|
+
return /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
|
|
21576
21558
|
}
|
|
21577
21559
|
}, {
|
|
21578
21560
|
dataIndex: 'isGift',
|
|
@@ -21591,7 +21573,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
21591
21573
|
label: '否',
|
|
21592
21574
|
value: 0
|
|
21593
21575
|
}]
|
|
21594
|
-
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$
|
|
21576
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
|
|
21595
21577
|
}
|
|
21596
21578
|
}, {
|
|
21597
21579
|
dataIndex: 'skuNote',
|
|
@@ -21717,7 +21699,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
21717
21699
|
label: '否',
|
|
21718
21700
|
value: 0
|
|
21719
21701
|
}]
|
|
21720
|
-
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$
|
|
21702
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
|
|
21721
21703
|
}
|
|
21722
21704
|
}].map(function (item) {
|
|
21723
21705
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -21846,7 +21828,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
21846
21828
|
label: '否',
|
|
21847
21829
|
value: 0
|
|
21848
21830
|
}]
|
|
21849
|
-
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$
|
|
21831
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
|
|
21850
21832
|
}
|
|
21851
21833
|
}].map(function (item) {
|
|
21852
21834
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -22223,8 +22205,7 @@ var getColumns$5 = function getColumns() {
|
|
|
22223
22205
|
min: 0,
|
|
22224
22206
|
precision: 2,
|
|
22225
22207
|
onChange: function onChange(num) {
|
|
22226
|
-
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
22227
|
-
if ((num || num === 0) && (record.qty || record.qty === 0)) updateHandle(num * (record.qty || 0), index, 'saleAmount');
|
|
22208
|
+
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
22228
22209
|
}
|
|
22229
22210
|
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
22230
22211
|
}
|
|
@@ -22254,39 +22235,16 @@ var getColumns$5 = function getColumns() {
|
|
|
22254
22235
|
min: 1,
|
|
22255
22236
|
precision: 0,
|
|
22256
22237
|
onChange: function onChange(num) {
|
|
22257
|
-
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
|
|
22258
|
-
if ((num || num === 0) && (record.salePrice || record.salePrice === 0)) updateHandle(num * (record.salePrice || 0), index, 'saleAmount');
|
|
22238
|
+
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
|
|
22259
22239
|
}
|
|
22260
22240
|
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
22261
22241
|
}
|
|
22262
22242
|
}, {
|
|
22263
22243
|
dataIndex: 'saleAmount',
|
|
22264
22244
|
title: '总金额',
|
|
22265
|
-
|
|
22266
|
-
var
|
|
22267
|
-
|
|
22268
|
-
var v = toNum$3(goods === null || goods === void 0 ? void 0 : goods.saleAmount);
|
|
22269
|
-
var res = typeof v === 'number' ? v < 0 : true;
|
|
22270
|
-
if (res) {
|
|
22271
|
-
goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
|
|
22272
|
-
}
|
|
22273
|
-
return res;
|
|
22274
|
-
})) {
|
|
22275
|
-
return Promise.reject("".concat(goodsName, "\u603B\u91D1\u989D\u4E3A\u5927\u4E8E\u7B49\u4E8E0\u7684\u6570"));
|
|
22276
|
-
}
|
|
22277
|
-
},
|
|
22278
|
-
render: function render(val, record, index) {
|
|
22279
|
-
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
22280
|
-
style: {
|
|
22281
|
-
width: 130
|
|
22282
|
-
},
|
|
22283
|
-
value: val,
|
|
22284
|
-
min: 0,
|
|
22285
|
-
precision: 2,
|
|
22286
|
-
onChange: function onChange(num) {
|
|
22287
|
-
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'saleAmount');
|
|
22288
|
-
}
|
|
22289
|
-
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(2) : '');
|
|
22245
|
+
render: function render(val, record) {
|
|
22246
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
22247
|
+
return Number(amount).toFixed(4).replace(/\.?0+$/, '');
|
|
22290
22248
|
}
|
|
22291
22249
|
}, {
|
|
22292
22250
|
dataIndex: 'batchId',
|
|
@@ -22367,19 +22325,6 @@ var getColumns$5 = function getColumns() {
|
|
|
22367
22325
|
dataIndex: 'salePrice',
|
|
22368
22326
|
title: '单价',
|
|
22369
22327
|
width: 120,
|
|
22370
|
-
validator: function validator(_rule, value) {
|
|
22371
|
-
var goodsName = '';
|
|
22372
|
-
if (((value === null || value === void 0 ? void 0 : value.jstExchangeGoods) || []).some(function (goods) {
|
|
22373
|
-
var v = toNum$3(goods === null || goods === void 0 ? void 0 : goods.salePrice);
|
|
22374
|
-
var res = typeof v === 'number' ? v < 0 : true;
|
|
22375
|
-
if (res) {
|
|
22376
|
-
goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
|
|
22377
|
-
}
|
|
22378
|
-
return res;
|
|
22379
|
-
})) {
|
|
22380
|
-
return Promise.reject("".concat(goodsName, "\u5355\u4EF7\u4E3A\u5927\u4E8E\u7B49\u4E8E0\u7684\u6570"));
|
|
22381
|
-
}
|
|
22382
|
-
},
|
|
22383
22328
|
render: function render(val, record, index) {
|
|
22384
22329
|
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
22385
22330
|
style: {
|
|
@@ -22389,8 +22334,7 @@ var getColumns$5 = function getColumns() {
|
|
|
22389
22334
|
min: 0,
|
|
22390
22335
|
precision: 2,
|
|
22391
22336
|
onChange: function onChange(num) {
|
|
22392
|
-
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
22393
|
-
if ((num || num === 0) && (record.qty || record.qty === 0)) updateHandle(num * (record.qty || 0), index, 'saleAmount');
|
|
22337
|
+
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
|
|
22394
22338
|
}
|
|
22395
22339
|
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
|
|
22396
22340
|
}
|
|
@@ -22398,19 +22342,6 @@ var getColumns$5 = function getColumns() {
|
|
|
22398
22342
|
dataIndex: 'qty',
|
|
22399
22343
|
title: '数量',
|
|
22400
22344
|
width: 100,
|
|
22401
|
-
validator: function validator(_rule, value) {
|
|
22402
|
-
var goodsName = '';
|
|
22403
|
-
if (((value === null || value === void 0 ? void 0 : value.jstExchangeGoods) || []).some(function (goods) {
|
|
22404
|
-
var qty = toNum$3(goods === null || goods === void 0 ? void 0 : goods.qty);
|
|
22405
|
-
var res = typeof qty === 'number' ? qty < 1 : true;
|
|
22406
|
-
if (res) {
|
|
22407
|
-
goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
|
|
22408
|
-
}
|
|
22409
|
-
return res;
|
|
22410
|
-
})) {
|
|
22411
|
-
return Promise.reject("".concat(goodsName, "\u6570\u91CF\u5FC5\u987B\u5927\u4E8E0"));
|
|
22412
|
-
}
|
|
22413
|
-
},
|
|
22414
22345
|
render: function render(val, record, index) {
|
|
22415
22346
|
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
22416
22347
|
style: {
|
|
@@ -22420,39 +22351,16 @@ var getColumns$5 = function getColumns() {
|
|
|
22420
22351
|
min: 1,
|
|
22421
22352
|
precision: 0,
|
|
22422
22353
|
onChange: function onChange(num) {
|
|
22423
|
-
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
|
|
22424
|
-
if ((num || num === 0) && (record.salePrice || record.salePrice === 0)) updateHandle(num * (record.salePrice || 0), index, 'saleAmount');
|
|
22354
|
+
return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
|
|
22425
22355
|
}
|
|
22426
22356
|
}) : /*#__PURE__*/React.createElement("span", null, val);
|
|
22427
22357
|
}
|
|
22428
22358
|
}, {
|
|
22429
22359
|
dataIndex: 'saleAmount',
|
|
22430
22360
|
title: '总金额',
|
|
22431
|
-
|
|
22432
|
-
var
|
|
22433
|
-
|
|
22434
|
-
var v = toNum$3(goods === null || goods === void 0 ? void 0 : goods.saleAmount);
|
|
22435
|
-
var res = typeof v === 'number' ? v < 0 : true;
|
|
22436
|
-
if (res) {
|
|
22437
|
-
goodsName = (goods === null || goods === void 0 ? void 0 : goods.name) ? "[".concat(goods === null || goods === void 0 ? void 0 : goods.name, "]") : '';
|
|
22438
|
-
}
|
|
22439
|
-
return res;
|
|
22440
|
-
})) {
|
|
22441
|
-
return Promise.reject("".concat(goodsName, "\u603B\u91D1\u989D\u4E3A\u5927\u4E8E\u7B49\u4E8E0\u7684\u6570"));
|
|
22442
|
-
}
|
|
22443
|
-
},
|
|
22444
|
-
render: function render(val, record, index) {
|
|
22445
|
-
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
22446
|
-
style: {
|
|
22447
|
-
width: 130
|
|
22448
|
-
},
|
|
22449
|
-
value: val,
|
|
22450
|
-
min: 0,
|
|
22451
|
-
precision: 2,
|
|
22452
|
-
onChange: function onChange(num) {
|
|
22453
|
-
updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'saleAmount');
|
|
22454
|
-
}
|
|
22455
|
-
}) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(2) : '');
|
|
22361
|
+
render: function render(val, record) {
|
|
22362
|
+
var amount = (record.qty || 0) * (+record.salePrice || 0);
|
|
22363
|
+
return amount ? Number(amount).toFixed(4).replace(/\.?0+$/, '') : '';
|
|
22456
22364
|
}
|
|
22457
22365
|
}, {
|
|
22458
22366
|
dataIndex: 'isGift',
|
|
@@ -25062,8 +24970,6 @@ var systemOrderNoMap = {
|
|
|
25062
24970
|
KM_RETURN_GOODS: 'sid',
|
|
25063
24971
|
KM_EXCHANGE_GOODS: 'sid',
|
|
25064
24972
|
JST_REISSUE_GOODS: 'oId',
|
|
25065
|
-
JST_RETURN_GOODS: 'oId',
|
|
25066
|
-
JST_EXCHANGE_GOODS: 'oId',
|
|
25067
24973
|
GY_REISSUE_GOODS: 'code',
|
|
25068
24974
|
BS_E3_REISSUE_GOODS: 'orderSn',
|
|
25069
24975
|
WDT_REISSUE_GOODS: 'tradeNo'
|
|
@@ -25375,11 +25281,10 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
25375
25281
|
var canDelete = ['JST_AFTERSALE_GOODS'].includes(type);
|
|
25376
25282
|
var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
|
|
25377
25283
|
// 监听聚水潭退货商品
|
|
25378
|
-
|
|
25379
|
-
|
|
25380
|
-
// type !== 'JST_EXCHANGE_GOODS' || jstReturnGoods?.jstSystemOrderNo;
|
|
25284
|
+
var jstReturnGoods = Form === null || Form === void 0 ? void 0 : Form.useWatch('3979edfd6d', form);
|
|
25285
|
+
var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
|
|
25381
25286
|
// 判断是否为是否展示系统单筛选项
|
|
25382
|
-
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', 'WLN_REISSUE_GOODS', 'GY_REISSUE_GOODS', 'KM_REISSUE_GOODS', 'KM_RETURN_GOODS', '
|
|
25287
|
+
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', 'WLN_REISSUE_GOODS', 'GY_REISSUE_GOODS', 'KM_REISSUE_GOODS', 'KM_RETURN_GOODS', 'BS_E3_REISSUE_GOODS', 'WDT_REISSUE_GOODS', 'JST_REISSUE_GOODS'].includes(type) || false;
|
|
25383
25288
|
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;
|
|
25384
25289
|
var refModal = useRef();
|
|
25385
25290
|
var handleDelete = function handleDelete(record, index) {
|
|
@@ -25672,7 +25577,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
25672
25577
|
}, showModeBtn && /*#__PURE__*/React.createElement(Checkbox, {
|
|
25673
25578
|
checked: isStrict,
|
|
25674
25579
|
onChange: handleCheckboxChange
|
|
25675
|
-
}, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), !isEmpty(tradeGoods) && /*#__PURE__*/React.createElement(SelectTradeGoods, {
|
|
25580
|
+
}, "\u5408\u5E76\u5355\uFF0C\u52FE\u9009\u540E\u53EA\u5C55\u793A\u5F53\u524D\u5E73\u53F0\u8BA2\u5355\u5546\u54C1"), !isEmpty(tradeGoods) && isShowSelectTradeGoods && /*#__PURE__*/React.createElement(SelectTradeGoods, {
|
|
25676
25581
|
isReloadSelectTable: isReloadSelectTable,
|
|
25677
25582
|
validSystemOrderFn: validSystemOrderFn,
|
|
25678
25583
|
validSystemOrder: validSystemOrder,
|
|
@@ -29221,11 +29126,10 @@ var componentMap$4 = {
|
|
|
29221
29126
|
systemOrderNo: 'jstSystemOrderNo',
|
|
29222
29127
|
oIdKey: 'oId',
|
|
29223
29128
|
goodDetailsKey: 'items',
|
|
29129
|
+
skuIdKey: 'skuId',
|
|
29224
29130
|
outerOiIdKey: '',
|
|
29225
29131
|
name: '聚水潭',
|
|
29226
29132
|
updateGoodsHandle: updateJstGoodsHandle,
|
|
29227
|
-
isShowSelectTradeGoods: true,
|
|
29228
|
-
mergeIdenticalGoods: jstMergeIdenticalGoods,
|
|
29229
29133
|
eventNameMap: {
|
|
29230
29134
|
// pubsub 事件
|
|
29231
29135
|
exchangeCopyGood: 'jstExchangeCopyGood',
|
|
@@ -29243,7 +29147,7 @@ var componentMap$4 = {
|
|
|
29243
29147
|
systemOrderNo: 'kmSystemOrderNo',
|
|
29244
29148
|
oIdKey: 'billNo',
|
|
29245
29149
|
goodDetailsKey: 'subOrders',
|
|
29246
|
-
|
|
29150
|
+
skuIdKey: 'skuId',
|
|
29247
29151
|
outerOiIdKey: '',
|
|
29248
29152
|
name: '快麦',
|
|
29249
29153
|
updateGoodsHandle: updateKmGoodsHandle,
|
|
@@ -29291,7 +29195,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
29291
29195
|
disabled = props.disabled,
|
|
29292
29196
|
compType = props.type,
|
|
29293
29197
|
form = props.form;
|
|
29294
|
-
var uniqueKey = (componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$compTyp = componentMap$4[compType]) === null || _componentMap$compTyp === void 0 ? void 0 : _componentMap$compTyp.
|
|
29198
|
+
var uniqueKey = (componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$compTyp = componentMap$4[compType]) === null || _componentMap$compTyp === void 0 ? void 0 : _componentMap$compTyp.skuIdKey) || 'uuid';
|
|
29295
29199
|
var valueRef = useRef({});
|
|
29296
29200
|
// PS: 目前选择订单商品,只有聚水潭换出商品,而且聚水潭不用考虑合并单,所以这个值一直是 false
|
|
29297
29201
|
var _useState = useState(false),
|
|
@@ -29302,10 +29206,6 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
29302
29206
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
29303
29207
|
originDataSource = _useState4[0],
|
|
29304
29208
|
setOriginDataSource = _useState4[1];
|
|
29305
|
-
var _useState5 = useState([]),
|
|
29306
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
29307
|
-
orders = _useState6[0],
|
|
29308
|
-
setOrders = _useState6[1];
|
|
29309
29209
|
useEffect(function () {
|
|
29310
29210
|
var subscription = componentMap$4[compType].eventNameMap.exchangeBackCopyGood && pubsub.subscribe(componentMap$4[compType].eventNameMap.exchangeBackCopyGood, function (_, data) {
|
|
29311
29211
|
if (disabled) return;
|
|
@@ -29365,13 +29265,11 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
29365
29265
|
newValue[componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$compTyp3 = componentMap$4[compType]) === null || _componentMap$compTyp3 === void 0 ? void 0 : _componentMap$compTyp3.valueKey] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), uniqueKey)) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
|
|
29366
29266
|
return skuList.includes(item[uniqueKey]);
|
|
29367
29267
|
});
|
|
29368
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(
|
|
29268
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
29369
29269
|
}, [value === null || value === void 0 ? void 0 : value[componentMap$4 === null || componentMap$4 === void 0 ? void 0 : (_componentMap$compTyp4 = componentMap$4[compType]) === null || _componentMap$compTyp4 === void 0 ? void 0 : _componentMap$compTyp4.valueKey], isStrict, originDataSource]);
|
|
29370
29270
|
var getGoodDetails = function getGoodDetails(_ref) {
|
|
29371
|
-
var _componentMap$compTyp5, _componentMap$compTyp6,
|
|
29372
|
-
var
|
|
29373
|
-
isAllOrders = _ref$isAllOrders === void 0 ? false : _ref$isAllOrders,
|
|
29374
|
-
returnGoodsValue = _ref.returnGoodsValue,
|
|
29271
|
+
var _componentMap$compTyp5, _componentMap$compTyp6, _order$componentMap$c, _componentMap$compTyp7;
|
|
29272
|
+
var returnGoodsValue = _ref.returnGoodsValue,
|
|
29375
29273
|
mode = _ref.mode,
|
|
29376
29274
|
sysOrderNo = _ref.sysOrderNo;
|
|
29377
29275
|
var systemOrder = returnGoodsValue === null || returnGoodsValue === void 0 ? void 0 : returnGoodsValue[(_componentMap$compTyp5 = componentMap$4[compType]) === null || _componentMap$compTyp5 === void 0 ? void 0 : _componentMap$compTyp5.systemOrder];
|
|
@@ -29379,17 +29277,9 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
29379
29277
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
29380
29278
|
return order[componentMap$4[compType].oIdKey] === systemOrderNo;
|
|
29381
29279
|
});
|
|
29382
|
-
var
|
|
29383
|
-
setOrders(orders);
|
|
29384
|
-
var hasGoodDetails = orders === null || orders === void 0 ? void 0 : orders.some(function (order) {
|
|
29385
|
-
var _order$componentMap$c;
|
|
29386
|
-
return 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;
|
|
29387
|
-
});
|
|
29388
|
-
var goodDetails = hasGoodDetails ? componentMap$4[compType].mergeIdenticalGoods ? componentMap$4[compType].mergeIdenticalGoods((_componentMap$compTyp7 = componentMap$4[compType]) === null || _componentMap$compTyp7 === void 0 ? void 0 : _componentMap$compTyp7.updateGoodsHandle(orders, {
|
|
29280
|
+
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], {
|
|
29389
29281
|
canEdit: true
|
|
29390
|
-
})
|
|
29391
|
-
canEdit: true
|
|
29392
|
-
}) : [];
|
|
29282
|
+
}) : []);
|
|
29393
29283
|
var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
|
|
29394
29284
|
return mode ? goodDetails.filter(function (goodItem) {
|
|
29395
29285
|
return !orderNo || goodItem[componentMap$4[compType].outerOiIdKey] === orderNo;
|
|
@@ -29398,11 +29288,9 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
29398
29288
|
var getDataSourceAsync = function getDataSourceAsync() {
|
|
29399
29289
|
return new Promise(function (resolve) {
|
|
29400
29290
|
pubsub.subscribeOnce(componentMap$4[compType].eventNameMap.returnGoodsSysorderBack, function (_, data) {
|
|
29401
|
-
var _componentMap$compTyp9;
|
|
29402
29291
|
resolve(data);
|
|
29403
29292
|
setOriginDataSource(getGoodDetails({
|
|
29404
29293
|
returnGoodsValue: data,
|
|
29405
|
-
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,
|
|
29406
29294
|
mode: isStrict
|
|
29407
29295
|
}));
|
|
29408
29296
|
});
|
|
@@ -29413,8 +29301,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
29413
29301
|
key: componentMap$4[compType].type
|
|
29414
29302
|
}, props), {}, {
|
|
29415
29303
|
validSystemOrderFn: function validSystemOrderFn() {
|
|
29416
|
-
|
|
29417
|
-
return (_componentMap$compTyp10 = (_componentMap$compTyp11 = componentMap$4[compType]).validSystemOrderFn) === null || _componentMap$compTyp10 === void 0 ? void 0 : _componentMap$compTyp10.call(_componentMap$compTyp11, form);
|
|
29304
|
+
return componentMap$4[compType].validSystemOrderFn(form);
|
|
29418
29305
|
},
|
|
29419
29306
|
isReloadSelectTable: componentMap$4[compType].isReloadSelectTable,
|
|
29420
29307
|
disabled: disabled,
|
|
@@ -29423,7 +29310,6 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
|
|
|
29423
29310
|
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
29424
29311
|
value: value === null || value === void 0 ? void 0 : value[componentMap$4[compType].valueKey],
|
|
29425
29312
|
otherOperations: copyGoods(),
|
|
29426
|
-
systemOrders: orders,
|
|
29427
29313
|
tradeGoods: componentMap$4[compType].showChooseTradeGoodsBtn ? {
|
|
29428
29314
|
uniqueKey: uniqueKey,
|
|
29429
29315
|
originDataSource: originDataSource,
|
|
@@ -29718,7 +29604,7 @@ var typeMap$2 = {
|
|
|
29718
29604
|
typeName: 'jstReturnType',
|
|
29719
29605
|
systemOrder: 'jstSystemOrder',
|
|
29720
29606
|
systemOrderNo: 'jstSystemOrderNo',
|
|
29721
|
-
|
|
29607
|
+
systemOrderBillType: 'jstSystemOrderBillType',
|
|
29722
29608
|
getOrderList: jstUtils.getJstOrderListSingleton,
|
|
29723
29609
|
updateGoodsHandle: updateJstGoodsHandle,
|
|
29724
29610
|
alwaysShowChooseErpGoodsBtn: true,
|
|
@@ -29728,8 +29614,6 @@ var typeMap$2 = {
|
|
|
29728
29614
|
goodDetailsKey: 'items',
|
|
29729
29615
|
mergeIdenticalGoods: jstMergeIdenticalGoods,
|
|
29730
29616
|
uniqueKey: 'uuid',
|
|
29731
|
-
hideSelectSysOrderId: true,
|
|
29732
|
-
isShowSelectTradeGoods: true,
|
|
29733
29617
|
eventNameMap: {
|
|
29734
29618
|
// pubsub 事件
|
|
29735
29619
|
exchangeCopyGood: 'jstExchangeCopyGood',
|
|
@@ -29833,7 +29717,7 @@ var typeMap$2 = {
|
|
|
29833
29717
|
}
|
|
29834
29718
|
};
|
|
29835
29719
|
var PublicReissue = function PublicReissue(props) {
|
|
29836
|
-
var _typeMap$type, _typeMap$type2, _typeMap$
|
|
29720
|
+
var _typeMap$type, _typeMap$type2, _typeMap$type20, _typeMap$type38, _typeMap$type44, _typeMap$type45, _typeMap$type46, _typeMap$type47, _value$typeMap$type$s8, _typeMap$type48, _typeMap$type49, _typeMap$type50, _typeMap$type51, _typeMap$type52, _typeMap$type53, _typeMap$type54, _typeMap$type55, _value$typeMap$type$s9, _typeMap$type56, _typeMap$type57, _typeMap$type58, _typeMap$type59;
|
|
29837
29721
|
var value = props.value,
|
|
29838
29722
|
onChange = props.onChange,
|
|
29839
29723
|
_props$reasonList = props.reasonList,
|
|
@@ -29933,25 +29817,23 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
29933
29817
|
var newValue = _objectSpread2({}, value);
|
|
29934
29818
|
newValue[(_typeMap$type15 = typeMap$2[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.typeName] = val;
|
|
29935
29819
|
if (typeName === '1') {
|
|
29936
|
-
var _typeMap$type16
|
|
29820
|
+
var _typeMap$type16;
|
|
29937
29821
|
newValue[(_typeMap$type16 = typeMap$2[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.key] = getGoodDetails({
|
|
29938
|
-
mode: isStrict
|
|
29939
|
-
// 如果没有选择系统单,拿平台单下所有商品
|
|
29940
|
-
isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type17 = typeMap$2[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.hideSelectSysOrderId
|
|
29822
|
+
mode: isStrict
|
|
29941
29823
|
});
|
|
29942
29824
|
} else if (typeName === '2') {
|
|
29943
|
-
var _typeMap$
|
|
29825
|
+
var _typeMap$type17;
|
|
29944
29826
|
// 切换到非原单,清空列表
|
|
29945
|
-
newValue[(_typeMap$
|
|
29827
|
+
newValue[(_typeMap$type17 = typeMap$2[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.key] = [];
|
|
29946
29828
|
}
|
|
29947
29829
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
29948
29830
|
};
|
|
29949
29831
|
var handleModeChange = function handleModeChange(mode) {
|
|
29950
|
-
var _value$typeMap$type$t, _typeMap$
|
|
29951
|
-
var isOriginalOrder = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t = value[(_typeMap$
|
|
29832
|
+
var _value$typeMap$type$t, _typeMap$type18, _typeMap$type19;
|
|
29833
|
+
var isOriginalOrder = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t = value[(_typeMap$type18 = typeMap$2[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.typeName]) === null || _value$typeMap$type$t === void 0 ? void 0 : _value$typeMap$type$t[0]) === '1';
|
|
29952
29834
|
setIsStrict(mode);
|
|
29953
29835
|
if (!isOriginalOrder) return;
|
|
29954
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$
|
|
29836
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type19 = typeMap$2[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.key, getGoodDetails({
|
|
29955
29837
|
mode: mode
|
|
29956
29838
|
}))));
|
|
29957
29839
|
};
|
|
@@ -29968,7 +29850,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
29968
29850
|
});
|
|
29969
29851
|
}
|
|
29970
29852
|
return map;
|
|
29971
|
-
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
29853
|
+
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type20 = typeMap$2[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.key]]);
|
|
29972
29854
|
// 用于跟踪已经处理过的 sysItemId,避免重复处理
|
|
29973
29855
|
var processedSysItemIdsRef = useRef(new Set());
|
|
29974
29856
|
useEffect(function () {
|
|
@@ -30040,13 +29922,13 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30040
29922
|
}
|
|
30041
29923
|
}, [sysItemIdMap]);
|
|
30042
29924
|
var getGoodDetails = function getGoodDetails(_ref5) {
|
|
30043
|
-
var _typeMap$
|
|
29925
|
+
var _typeMap$type21, _typeMap$type22, _value$typeMap$type$s6, _typeMap$type23, _typeMap$type24, _typeMap$type25, _typeMap$type26;
|
|
30044
29926
|
var mode = _ref5.mode,
|
|
30045
29927
|
sysOrderNo = _ref5.sysOrderNo,
|
|
30046
29928
|
_ref5$isAllOrders = _ref5.isAllOrders,
|
|
30047
29929
|
isAllOrders = _ref5$isAllOrders === void 0 ? false : _ref5$isAllOrders;
|
|
30048
|
-
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
30049
|
-
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
29930
|
+
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.systemOrder];
|
|
29931
|
+
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.systemOrderNo];
|
|
30050
29932
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
30051
29933
|
return order[typeMap$2[type].oIdKey] === systemOrderNo;
|
|
30052
29934
|
});
|
|
@@ -30073,12 +29955,12 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30073
29955
|
canEdit: true
|
|
30074
29956
|
};
|
|
30075
29957
|
}
|
|
30076
|
-
var orders = isAllOrders ? (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$
|
|
29958
|
+
var orders = isAllOrders ? (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.orders) || [] : order ? [order] : [];
|
|
30077
29959
|
var hasGoodDetails = orders === null || orders === void 0 ? void 0 : orders.some(function (order) {
|
|
30078
29960
|
var _order$typeMap$type$g;
|
|
30079
29961
|
return order === null || order === void 0 ? void 0 : (_order$typeMap$type$g = order[typeMap$2[type].goodDetailsKey]) === null || _order$typeMap$type$g === void 0 ? void 0 : _order$typeMap$type$g.length;
|
|
30080
29962
|
});
|
|
30081
|
-
var goodDetails = hasGoodDetails ? (!isAllOrders || ((_typeMap$
|
|
29963
|
+
var goodDetails = hasGoodDetails ? (!isAllOrders || ((_typeMap$type24 = typeMap$2[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.isSelectTradeGoodsMerge)) && typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type25 = typeMap$2[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.updateGoodsHandle(orders, orderRest, type)) : (_typeMap$type26 = typeMap$2[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.updateGoodsHandle(orders, orderRest, type) : [];
|
|
30082
29964
|
var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
|
|
30083
29965
|
var list = mode && !isAllOrders ? goodDetails.filter(function (goodItem) {
|
|
30084
29966
|
return !orderNo || goodItem[typeMap$2[type].outerOiIdKey] === orderNo;
|
|
@@ -30086,30 +29968,30 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30086
29968
|
return list;
|
|
30087
29969
|
};
|
|
30088
29970
|
var changeGoodHandle = function changeGoodHandle(val) {
|
|
30089
|
-
var _typeMap$
|
|
29971
|
+
var _typeMap$type27;
|
|
30090
29972
|
var newValue = _objectSpread2({}, value);
|
|
30091
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
29973
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type27 = typeMap$2[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)] = val || [];
|
|
30092
29974
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
30093
29975
|
};
|
|
30094
29976
|
var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
|
|
30095
|
-
var _typeMap$
|
|
29977
|
+
var _typeMap$type28, _typeMap$type29, _value$typeMap$type$t2, _typeMap$type34, _value$typeMap$type$t3, _typeMap$type36;
|
|
30096
29978
|
var newValue = _objectSpread2({}, value);
|
|
30097
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30098
|
-
if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30099
|
-
var _value$typeMap$type$s7, _typeMap$
|
|
30100
|
-
var orders = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$
|
|
29979
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type28 = typeMap$2[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.systemOrderNo)] = val;
|
|
29980
|
+
if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type29 = typeMap$2[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderBillType) {
|
|
29981
|
+
var _value$typeMap$type$s7, _typeMap$type30, _typeMap$type32, _typeMap$type33;
|
|
29982
|
+
var orders = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$type30 = typeMap$2[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrder]) === null || _value$typeMap$type$s7 === void 0 ? void 0 : _value$typeMap$type$s7.orders) || [];
|
|
30101
29983
|
var targetOrder = val && orders.find(function (oItem) {
|
|
30102
|
-
var _typeMap$
|
|
30103
|
-
return oItem[(_typeMap$
|
|
29984
|
+
var _typeMap$type31;
|
|
29985
|
+
return oItem[(_typeMap$type31 = typeMap$2[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.oIdKey] === val;
|
|
30104
29986
|
});
|
|
30105
|
-
newValue[(_typeMap$
|
|
30106
|
-
}
|
|
30107
|
-
if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$
|
|
30108
|
-
var _typeMap$
|
|
30109
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30110
|
-
} else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$
|
|
30111
|
-
var _typeMap$
|
|
30112
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
29987
|
+
newValue[(_typeMap$type32 = typeMap$2[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.systemOrderBillType] = targetOrder === null || targetOrder === void 0 ? void 0 : targetOrder[(_typeMap$type33 = typeMap$2[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.orderTypeKey];
|
|
29988
|
+
}
|
|
29989
|
+
if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type34 = typeMap$2[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0])) {
|
|
29990
|
+
var _typeMap$type35;
|
|
29991
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type35 = typeMap$2[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.key)] = [];
|
|
29992
|
+
} else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type36 = typeMap$2[type]) === null || _typeMap$type36 === void 0 ? void 0 : _typeMap$type36.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
|
|
29993
|
+
var _typeMap$type37;
|
|
29994
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type37 = typeMap$2[type]) === null || _typeMap$type37 === void 0 ? void 0 : _typeMap$type37.key)] = getGoodDetails({
|
|
30113
29995
|
mode: isStrict,
|
|
30114
29996
|
sysOrderNo: val
|
|
30115
29997
|
});
|
|
@@ -30117,28 +29999,28 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30117
29999
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue, 'systemOrder');
|
|
30118
30000
|
};
|
|
30119
30001
|
//显示选择商品按钮
|
|
30120
|
-
var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
30002
|
+
var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type38 = typeMap$2[type]) === null || _typeMap$type38 === void 0 ? void 0 : _typeMap$type38.systemOrderNo]);
|
|
30121
30003
|
var selectedGoodsChange = useCallback(function (skuList) {
|
|
30122
|
-
var _typeMap$
|
|
30004
|
+
var _typeMap$type39, _typeMap$type40, _typeMap$type41, _uniqBy, _typeMap$type42;
|
|
30123
30005
|
var newValue = _objectSpread2({}, value);
|
|
30124
30006
|
// 原订单商品
|
|
30125
30007
|
var originTradeGoodList = getGoodDetails({
|
|
30126
30008
|
mode: isStrict,
|
|
30127
|
-
isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30009
|
+
isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type39 = typeMap$2[type]) === null || _typeMap$type39 === void 0 ? void 0 : _typeMap$type39.isShowSelectTradeGoods
|
|
30128
30010
|
}) || [];
|
|
30129
30011
|
// 当前选中的所有商品【包含了原订单+商品库】
|
|
30130
|
-
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30131
|
-
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30132
|
-
var _typeMap$
|
|
30133
|
-
return skuList.includes(item[(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30012
|
+
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.key)]) || [];
|
|
30013
|
+
newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type41 = typeMap$2[type]) === null || _typeMap$type41 === void 0 ? void 0 : _typeMap$type41.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.uniqueKey) || 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
|
|
30014
|
+
var _typeMap$type43;
|
|
30015
|
+
return skuList.includes(item[(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type43 = typeMap$2[type]) === null || _typeMap$type43 === void 0 ? void 0 : _typeMap$type43.uniqueKey) || 'uuid']);
|
|
30134
30016
|
});
|
|
30135
30017
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
30136
|
-
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30018
|
+
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type44 = typeMap$2[type]) === null || _typeMap$type44 === void 0 ? void 0 : _typeMap$type44.key)], isStrict]);
|
|
30137
30019
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
30138
30020
|
gutter: 8,
|
|
30139
30021
|
wrap: true,
|
|
30140
|
-
id: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30141
|
-
},
|
|
30022
|
+
id: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type45 = typeMap$2[type]) === null || _typeMap$type45 === void 0 ? void 0 : _typeMap$type45.key) || "".concat(Date.now())
|
|
30023
|
+
}, /*#__PURE__*/React.createElement(Col, {
|
|
30142
30024
|
className: "gutter-row",
|
|
30143
30025
|
xs: {
|
|
30144
30026
|
span: 11
|
|
@@ -30153,12 +30035,12 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30153
30035
|
},
|
|
30154
30036
|
disabled: disabled,
|
|
30155
30037
|
allowClear: false,
|
|
30156
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30038
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type46 = typeMap$2[type]) === null || _typeMap$type46 === void 0 ? void 0 : _typeMap$type46.systemOrderNo)],
|
|
30157
30039
|
onChange: function onChange(val) {
|
|
30158
30040
|
return changeSystemOrderHandle(val);
|
|
30159
30041
|
},
|
|
30160
|
-
placeholder: "\u9009\u62E9".concat((typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30161
|
-
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s8 = value[(_typeMap$
|
|
30042
|
+
placeholder: "\u9009\u62E9".concat((typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type47 = typeMap$2[type]) === null || _typeMap$type47 === void 0 ? void 0 : _typeMap$type47.compType) || '', "\u7CFB\u7EDF\u5355")
|
|
30043
|
+
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s8 = value[(_typeMap$type48 = typeMap$2[type]) === null || _typeMap$type48 === void 0 ? void 0 : _typeMap$type48.systemOrder]) === null || _value$typeMap$type$s8 === void 0 ? void 0 : _value$typeMap$type$s8.showOrderInfo) || []).map(function (item) {
|
|
30162
30044
|
return /*#__PURE__*/React.createElement(Select.Option, {
|
|
30163
30045
|
key: item[typeMap$2[type].oIdKey],
|
|
30164
30046
|
value: item[typeMap$2[type].oIdKey],
|
|
@@ -30180,11 +30062,11 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30180
30062
|
disabled: isSettingConfig ? !isSettingConfig : disabled,
|
|
30181
30063
|
allowClear: false,
|
|
30182
30064
|
options: reasonList,
|
|
30183
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30065
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type49 = typeMap$2[type]) === null || _typeMap$type49 === void 0 ? void 0 : _typeMap$type49.typeName)],
|
|
30184
30066
|
onChange: function onChange(val) {
|
|
30185
30067
|
return changeTypeHandle(val);
|
|
30186
30068
|
}
|
|
30187
|
-
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30069
|
+
})), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type50 = typeMap$2[type]) === null || _typeMap$type50 === void 0 ? void 0 : _typeMap$type50.systemOrderBillType) && !isSettingConfig && /*#__PURE__*/React.createElement(Col, {
|
|
30188
30070
|
className: "gutter-row",
|
|
30189
30071
|
xs: {
|
|
30190
30072
|
span: 11
|
|
@@ -30193,7 +30075,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30193
30075
|
span: 6
|
|
30194
30076
|
}
|
|
30195
30077
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
30196
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30078
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type51 = typeMap$2[type]) === null || _typeMap$type51 === void 0 ? void 0 : _typeMap$type51.systemOrderBillType)],
|
|
30197
30079
|
disabled: disabled,
|
|
30198
30080
|
readOnly: true
|
|
30199
30081
|
}))), /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
|
|
@@ -30204,25 +30086,25 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
30204
30086
|
canUpdateNumber: showChangeBtn,
|
|
30205
30087
|
hasSelectedSystemOrder: showChangeBtn,
|
|
30206
30088
|
// showChangeBtn={showChangeBtn || typeMap?.[type]?.isShowSelectTradeGoods}
|
|
30207
|
-
alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30208
|
-
showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30089
|
+
alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type52 = typeMap$2[type]) === null || _typeMap$type52 === void 0 ? void 0 : _typeMap$type52.alwaysShowChooseErpGoodsBtn,
|
|
30090
|
+
showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type53 = typeMap$2[type]) === null || _typeMap$type53 === void 0 ? void 0 : _typeMap$type53.showErpGoodsBtn,
|
|
30209
30091
|
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
30210
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30092
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type54 = typeMap$2[type]) === null || _typeMap$type54 === void 0 ? void 0 : _typeMap$type54.key)],
|
|
30211
30093
|
onChange: function onChange(val) {
|
|
30212
30094
|
return changeGoodHandle(val);
|
|
30213
30095
|
},
|
|
30214
30096
|
onModeChange: handleModeChange,
|
|
30215
30097
|
showModeBtn: showModeBtn,
|
|
30216
30098
|
isStrict: isStrict,
|
|
30217
|
-
isShowSelectTradeGoods: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30218
|
-
systemOrders: value === null || value === void 0 ? void 0 : (_value$typeMap$type$s9 = value[(_typeMap$
|
|
30219
|
-
selectedSystemOrders: showChangeBtn ? [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30099
|
+
isShowSelectTradeGoods: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type55 = typeMap$2[type]) === null || _typeMap$type55 === void 0 ? void 0 : _typeMap$type55.isShowSelectTradeGoods,
|
|
30100
|
+
systemOrders: value === null || value === void 0 ? void 0 : (_value$typeMap$type$s9 = value[(_typeMap$type56 = typeMap$2[type]) === null || _typeMap$type56 === void 0 ? void 0 : _typeMap$type56.systemOrder]) === null || _value$typeMap$type$s9 === void 0 ? void 0 : _value$typeMap$type$s9.orders,
|
|
30101
|
+
selectedSystemOrders: showChangeBtn ? [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type57 = typeMap$2[type]) === null || _typeMap$type57 === void 0 ? void 0 : _typeMap$type57.systemOrderNo)]] : [],
|
|
30220
30102
|
tradeGoods: {
|
|
30221
30103
|
originDataSource: getGoodDetails({
|
|
30222
30104
|
mode: isStrict,
|
|
30223
|
-
isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30105
|
+
isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type58 = typeMap$2[type]) === null || _typeMap$type58 === void 0 ? void 0 : _typeMap$type58.isShowSelectTradeGoods
|
|
30224
30106
|
}),
|
|
30225
|
-
uniqueKey: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
30107
|
+
uniqueKey: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type59 = typeMap$2[type]) === null || _typeMap$type59 === void 0 ? void 0 : _typeMap$type59.uniqueKey) || 'uuid',
|
|
30226
30108
|
selectedGoodsChange: selectedGoodsChange
|
|
30227
30109
|
}
|
|
30228
30110
|
})));
|
|
@@ -30590,7 +30472,7 @@ var GoodsModal$5 = function GoodsModal(props) {
|
|
|
30590
30472
|
key: item.value
|
|
30591
30473
|
}, item.label);
|
|
30592
30474
|
})), /*#__PURE__*/React.createElement(Search$1, {
|
|
30593
|
-
placeholder: "\u5B9D\u8D1D\u6807\u9898",
|
|
30475
|
+
placeholder: "\u5B9D\u8D1D\u94FE\u63A5\uFF0C\u6807\u9898",
|
|
30594
30476
|
allowClear: true,
|
|
30595
30477
|
enterButton: "\u641C\u7D22",
|
|
30596
30478
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.1",
|
|
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.10.1",
|
|
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": "3978bcc26b42716ad9c655823745174dcd97395b"
|
|
70
70
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getYesOrNo: (val: boolean | string | number) => "是" | "否" | null;
|