@kmkf-fe-packages/basic-components 2.9.1-beta.8 → 2.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -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
- // jstSystemOrderBillType:
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,
@@ -10778,7 +10775,10 @@ function CopyTextIcon(_ref) {
10778
10775
  }, /*#__PURE__*/React.createElement(Tooltip, {
10779
10776
  title: val,
10780
10777
  mouseEnterDelay: 0.1,
10781
- placement: "topLeft"
10778
+ placement: "topLeft",
10779
+ getPopupContainer: function getPopupContainer() {
10780
+ return document.body;
10781
+ }
10782
10782
  }, /*#__PURE__*/React.createElement("span", {
10783
10783
  className: "ellipsis-text-3",
10784
10784
  style: {
@@ -11659,7 +11659,7 @@ var GoodsModal = function GoodsModal(props) {
11659
11659
  key: item.value
11660
11660
  }, item.label);
11661
11661
  })), /*#__PURE__*/React.createElement(Search, {
11662
- placeholder: searchParams.type !== 'orderProduct' ? platform === 'taobao' ? '宝贝标题' : '商品ID' : '宝贝标题',
11662
+ placeholder: searchParams.type !== 'orderProduct' ? platform === 'taobao' ? '宝贝链接,标题' : '商品ID' : '宝贝标题',
11663
11663
  // enterButton="搜索"
11664
11664
  className: "search",
11665
11665
  value: platform === 'taobao' ? searchParams.title : searchParams.numIids,
@@ -16296,33 +16296,30 @@ var GoodList = function GoodList(props, ref) {
16296
16296
  selectedRowKeys: selectIds,
16297
16297
  fixed: true,
16298
16298
  onSelect: function onSelect(record, selected) {
16299
- var uniqueKey = "".concat(record.goodNo, "-").concat(record.specNo);
16300
16299
  if (selected) {
16301
- setSelectIds([].concat(_toConsumableArray(selectIds), [uniqueKey]));
16300
+ setSelectIds([].concat(_toConsumableArray(selectIds), [record.specNo]));
16302
16301
  setSelect([].concat(_toConsumableArray(selectList), [record]));
16303
16302
  } else {
16304
16303
  setSelectIds(selectIds.filter(function (t) {
16305
- return t !== uniqueKey;
16304
+ return t !== record.specNo;
16306
16305
  }));
16307
16306
  setSelect(selectList.filter(function (t) {
16308
- return "".concat(t.goodNo, "-").concat(t.specNo) !== uniqueKey;
16307
+ return t.specNo !== record.specNo;
16309
16308
  }));
16310
16309
  }
16311
16310
  },
16312
16311
  onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
16313
16312
  if (selected) {
16314
- var changeKeys = changeRows.map(function (t) {
16315
- return "".concat(t.goodNo, "-").concat(t.specNo);
16316
- });
16317
- setSelectIds([].concat(_toConsumableArray(selectIds), _toConsumableArray(changeKeys)));
16313
+ setSelectIds([].concat(_toConsumableArray(selectIds), _toConsumableArray(changeRows.map(function (t) {
16314
+ return t.specNo;
16315
+ }))));
16318
16316
  setSelect([].concat(_toConsumableArray(selectList), _toConsumableArray(changeRows)));
16319
16317
  } else {
16320
- var _changeKeys = changeRows.map(function (t) {
16321
- return "".concat(t.goodNo, "-").concat(t.specNo);
16322
- });
16323
- setSelectIds(difference(selectIds, _changeKeys));
16318
+ setSelectIds(difference(selectIds, changeRows.map(function (t) {
16319
+ return t.specNo;
16320
+ })));
16324
16321
  var list = differenceWith(selectList, changeRows, function (arrVal, othVal) {
16325
- return "".concat(arrVal.goodNo, "-").concat(arrVal.specNo) !== "".concat(othVal.goodNo, "-").concat(othVal.specNo);
16322
+ return arrVal.specNo !== othVal.specNo;
16326
16323
  });
16327
16324
  setSelect(list);
16328
16325
  }
@@ -16330,12 +16327,11 @@ var GoodList = function GoodList(props, ref) {
16330
16327
  };
16331
16328
  var showTable = function showTable() {
16332
16329
  var handleDelete = function handleDelete(record) {
16333
- var uniqueKey = "".concat(record.goodNo, "-").concat(record.specNo);
16334
16330
  setSelectIds(selectIds.filter(function (t) {
16335
- return t !== uniqueKey;
16331
+ return t !== record.specNo;
16336
16332
  }));
16337
16333
  setSelect(selectList.filter(function (t) {
16338
- return "".concat(t.goodNo, "-").concat(t.specNo) !== uniqueKey;
16334
+ return t.specNo !== record.specNo;
16339
16335
  }));
16340
16336
  };
16341
16337
  var showColumns = [{
@@ -16359,9 +16355,7 @@ var GoodList = function GoodList(props, ref) {
16359
16355
  }
16360
16356
  }, /*#__PURE__*/React.createElement(Table, {
16361
16357
  columns: showColumns,
16362
- rowKey: function rowKey(record) {
16363
- return "".concat(record.goodNo, "-").concat(record.specNo);
16364
- },
16358
+ rowKey: 'specNo',
16365
16359
  dataSource: selectList,
16366
16360
  scroll: {
16367
16361
  x: '100%',
@@ -16391,9 +16385,7 @@ var GoodList = function GoodList(props, ref) {
16391
16385
  }, /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({
16392
16386
  className: "GoodModalColumns",
16393
16387
  rowSelection: rowSelection,
16394
- rowKey: function rowKey(record) {
16395
- return "".concat(record.goodNo, "-").concat(record.specNo);
16396
- },
16388
+ rowKey: "specNo",
16397
16389
  columns: columns,
16398
16390
  scroll: {
16399
16391
  x: '100%',
@@ -20960,20 +20952,9 @@ var getColumns$2 = function getColumns(_ref) {
20960
20952
  };
20961
20953
 
20962
20954
  var getYesOrNo$4 = function getYesOrNo(val) {
20963
- switch (val) {
20964
- case true:
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
- }
20955
+ if (isNull(val)) return null;
20956
+ return val ? '是' : '否';
20975
20957
  };
20976
-
20977
20958
  function toNum$1(value) {
20978
20959
  if (typeof value === 'string') {
20979
20960
  return value ? +value : void 0;
@@ -21169,7 +21150,7 @@ var getColumns$3 = function getColumns(_ref) {
21169
21150
  label: '非赠品',
21170
21151
  value: 0
21171
21152
  }]
21172
- }) : /*#__PURE__*/React.createElement("span", null, isNull(val) ? null : val ? '赠品' : '非赠品');
21153
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21173
21154
  }
21174
21155
  }, {
21175
21156
  dataIndex: 'isPackage',
@@ -21401,7 +21382,7 @@ var getColumns$3 = function getColumns(_ref) {
21401
21382
  label: '非赠品',
21402
21383
  value: 0
21403
21384
  }]
21404
- }) : /*#__PURE__*/React.createElement("span", null, isNull(val) ? null : val ? '赠品' : '非赠品');
21385
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21405
21386
  }
21406
21387
  }, {
21407
21388
  dataIndex: 'isPackage',
@@ -21461,6 +21442,10 @@ var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
21461
21442
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
21462
21443
  return false;
21463
21444
  };
21445
+ var getYesOrNo$5 = function getYesOrNo(val) {
21446
+ if (isNull(val)) return null;
21447
+ return val ? '是' : '否';
21448
+ };
21464
21449
  function toNum$2(value) {
21465
21450
  if (typeof value === 'string') {
21466
21451
  return value ? +value : void 0;
@@ -21572,7 +21557,7 @@ var getColumns$4 = function getColumns(_ref) {
21572
21557
  title: "\u662F\u5426\u53D6\u6D88",
21573
21558
  width: 150,
21574
21559
  render: function render(val) {
21575
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21560
+ return /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21576
21561
  }
21577
21562
  }, {
21578
21563
  dataIndex: 'isGift',
@@ -21591,7 +21576,7 @@ var getColumns$4 = function getColumns(_ref) {
21591
21576
  label: '否',
21592
21577
  value: 0
21593
21578
  }]
21594
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21579
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21595
21580
  }
21596
21581
  }, {
21597
21582
  dataIndex: 'skuNote',
@@ -21717,7 +21702,7 @@ var getColumns$4 = function getColumns(_ref) {
21717
21702
  label: '否',
21718
21703
  value: 0
21719
21704
  }]
21720
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21705
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21721
21706
  }
21722
21707
  }].map(function (item) {
21723
21708
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -21846,7 +21831,7 @@ var getColumns$4 = function getColumns(_ref) {
21846
21831
  label: '否',
21847
21832
  value: 0
21848
21833
  }]
21849
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21834
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21850
21835
  }
21851
21836
  }].map(function (item) {
21852
21837
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -22223,8 +22208,7 @@ var getColumns$5 = function getColumns() {
22223
22208
  min: 0,
22224
22209
  precision: 2,
22225
22210
  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');
22211
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
22228
22212
  }
22229
22213
  }) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
22230
22214
  }
@@ -22254,39 +22238,16 @@ var getColumns$5 = function getColumns() {
22254
22238
  min: 1,
22255
22239
  precision: 0,
22256
22240
  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');
22241
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
22259
22242
  }
22260
22243
  }) : /*#__PURE__*/React.createElement("span", null, val);
22261
22244
  }
22262
22245
  }, {
22263
22246
  dataIndex: 'saleAmount',
22264
22247
  title: '总金额',
22265
- validator: function validator(_rule, value) {
22266
- var goodsName = '';
22267
- if (((value === null || value === void 0 ? void 0 : value.jstReturnGoods) || []).some(function (goods) {
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) : '');
22248
+ render: function render(val, record) {
22249
+ var amount = (record.qty || 0) * (+record.salePrice || 0);
22250
+ return Number(amount).toFixed(4).replace(/\.?0+$/, '');
22290
22251
  }
22291
22252
  }, {
22292
22253
  dataIndex: 'batchId',
@@ -22367,19 +22328,6 @@ var getColumns$5 = function getColumns() {
22367
22328
  dataIndex: 'salePrice',
22368
22329
  title: '单价',
22369
22330
  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
22331
  render: function render(val, record, index) {
22384
22332
  return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
22385
22333
  style: {
@@ -22389,8 +22337,7 @@ var getColumns$5 = function getColumns() {
22389
22337
  min: 0,
22390
22338
  precision: 2,
22391
22339
  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');
22340
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'salePrice');
22394
22341
  }
22395
22342
  }) : /*#__PURE__*/React.createElement("span", null, val || val === 0 ? Number(val).toFixed(4).replace(/\.?0+$/, '') : '');
22396
22343
  }
@@ -22398,19 +22345,6 @@ var getColumns$5 = function getColumns() {
22398
22345
  dataIndex: 'qty',
22399
22346
  title: '数量',
22400
22347
  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
22348
  render: function render(val, record, index) {
22415
22349
  return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
22416
22350
  style: {
@@ -22420,39 +22354,16 @@ var getColumns$5 = function getColumns() {
22420
22354
  min: 1,
22421
22355
  precision: 0,
22422
22356
  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');
22357
+ return updateHandle === null || updateHandle === void 0 ? void 0 : updateHandle(num, index, 'qty');
22425
22358
  }
22426
22359
  }) : /*#__PURE__*/React.createElement("span", null, val);
22427
22360
  }
22428
22361
  }, {
22429
22362
  dataIndex: 'saleAmount',
22430
22363
  title: '总金额',
22431
- validator: function validator(_rule, value) {
22432
- var goodsName = '';
22433
- if (((value === null || value === void 0 ? void 0 : value.jstExchangeGoods) || []).some(function (goods) {
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) : '');
22364
+ render: function render(val, record) {
22365
+ var amount = (record.qty || 0) * (+record.salePrice || 0);
22366
+ return amount ? Number(amount).toFixed(4).replace(/\.?0+$/, '') : '';
22456
22367
  }
22457
22368
  }, {
22458
22369
  dataIndex: 'isGift',
@@ -25062,8 +24973,6 @@ var systemOrderNoMap = {
25062
24973
  KM_RETURN_GOODS: 'sid',
25063
24974
  KM_EXCHANGE_GOODS: 'sid',
25064
24975
  JST_REISSUE_GOODS: 'oId',
25065
- JST_RETURN_GOODS: 'oId',
25066
- JST_EXCHANGE_GOODS: 'oId',
25067
24976
  GY_REISSUE_GOODS: 'code',
25068
24977
  BS_E3_REISSUE_GOODS: 'orderSn',
25069
24978
  WDT_REISSUE_GOODS: 'tradeNo'
@@ -25375,11 +25284,10 @@ var GoodItem$1 = function GoodItem(props) {
25375
25284
  var canDelete = ['JST_AFTERSALE_GOODS'].includes(type);
25376
25285
  var uniqueKey = (tradeGoods === null || tradeGoods === void 0 ? void 0 : tradeGoods.uniqueKey) || 'uuid';
25377
25286
  // 监听聚水潭退货商品
25378
- // const jstReturnGoods = Form?.useWatch('3979edfd6d', form);
25379
- // const isShowSelectTradeGoods =
25380
- // type !== 'JST_EXCHANGE_GOODS' || jstReturnGoods?.jstSystemOrderNo;
25287
+ var jstReturnGoods = Form === null || Form === void 0 ? void 0 : Form.useWatch('3979edfd6d', form);
25288
+ var isShowSelectTradeGoods = type !== 'JST_EXCHANGE_GOODS' || (jstReturnGoods === null || jstReturnGoods === void 0 ? void 0 : jstReturnGoods.jstSystemOrderNo);
25381
25289
  // 判断是否为是否展示系统单筛选项
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', 'JST_RETURN_GOODS', 'JST_EXCHANGE_GOODS', 'BS_E3_REISSUE_GOODS', 'WDT_REISSUE_GOODS', 'JST_REISSUE_GOODS'].includes(type) || false;
25290
+ 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
25291
  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
25292
  var refModal = useRef();
25385
25293
  var handleDelete = function handleDelete(record, index) {
@@ -25672,7 +25580,7 @@ var GoodItem$1 = function GoodItem(props) {
25672
25580
  }, showModeBtn && /*#__PURE__*/React.createElement(Checkbox, {
25673
25581
  checked: isStrict,
25674
25582
  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, {
25583
+ }, "\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
25584
  isReloadSelectTable: isReloadSelectTable,
25677
25585
  validSystemOrderFn: validSystemOrderFn,
25678
25586
  validSystemOrder: validSystemOrder,
@@ -29221,11 +29129,10 @@ var componentMap$4 = {
29221
29129
  systemOrderNo: 'jstSystemOrderNo',
29222
29130
  oIdKey: 'oId',
29223
29131
  goodDetailsKey: 'items',
29132
+ skuIdKey: 'skuId',
29224
29133
  outerOiIdKey: '',
29225
29134
  name: '聚水潭',
29226
29135
  updateGoodsHandle: updateJstGoodsHandle,
29227
- isShowSelectTradeGoods: true,
29228
- mergeIdenticalGoods: jstMergeIdenticalGoods,
29229
29136
  eventNameMap: {
29230
29137
  // pubsub 事件
29231
29138
  exchangeCopyGood: 'jstExchangeCopyGood',
@@ -29243,7 +29150,7 @@ var componentMap$4 = {
29243
29150
  systemOrderNo: 'kmSystemOrderNo',
29244
29151
  oIdKey: 'billNo',
29245
29152
  goodDetailsKey: 'subOrders',
29246
- uniqueKey: 'skuId',
29153
+ skuIdKey: 'skuId',
29247
29154
  outerOiIdKey: '',
29248
29155
  name: '快麦',
29249
29156
  updateGoodsHandle: updateKmGoodsHandle,
@@ -29291,7 +29198,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
29291
29198
  disabled = props.disabled,
29292
29199
  compType = props.type,
29293
29200
  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.uniqueKey) || 'uuid';
29201
+ 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
29202
  var valueRef = useRef({});
29296
29203
  // PS: 目前选择订单商品,只有聚水潭换出商品,而且聚水潭不用考虑合并单,所以这个值一直是 false
29297
29204
  var _useState = useState(false),
@@ -29302,10 +29209,6 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
29302
29209
  _useState4 = _slicedToArray(_useState3, 2),
29303
29210
  originDataSource = _useState4[0],
29304
29211
  setOriginDataSource = _useState4[1];
29305
- var _useState5 = useState([]),
29306
- _useState6 = _slicedToArray(_useState5, 2),
29307
- orders = _useState6[0],
29308
- setOrders = _useState6[1];
29309
29212
  useEffect(function () {
29310
29213
  var subscription = componentMap$4[compType].eventNameMap.exchangeBackCopyGood && pubsub.subscribe(componentMap$4[compType].eventNameMap.exchangeBackCopyGood, function (_, data) {
29311
29214
  if (disabled) return;
@@ -29365,13 +29268,11 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
29365
29268
  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
29269
  return skuList.includes(item[uniqueKey]);
29367
29270
  });
29368
- onChange === null || onChange === void 0 ? void 0 : onChange(JSON.parse(JSON.stringify(newValue)));
29271
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
29369
29272
  }, [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
29273
  var getGoodDetails = function getGoodDetails(_ref) {
29371
- var _componentMap$compTyp5, _componentMap$compTyp6, _componentMap$compTyp7, _componentMap$compTyp8;
29372
- var _ref$isAllOrders = _ref.isAllOrders,
29373
- isAllOrders = _ref$isAllOrders === void 0 ? false : _ref$isAllOrders,
29374
- returnGoodsValue = _ref.returnGoodsValue,
29274
+ var _componentMap$compTyp5, _componentMap$compTyp6, _order$componentMap$c, _componentMap$compTyp7;
29275
+ var returnGoodsValue = _ref.returnGoodsValue,
29375
29276
  mode = _ref.mode,
29376
29277
  sysOrderNo = _ref.sysOrderNo;
29377
29278
  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 +29280,9 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
29379
29280
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
29380
29281
  return order[componentMap$4[compType].oIdKey] === systemOrderNo;
29381
29282
  });
29382
- var orders = isAllOrders ? (systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || [] : order ? [order] : [];
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, {
29283
+ 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
29284
  canEdit: true
29390
- })) : (_componentMap$compTyp8 = componentMap$4[compType]) === null || _componentMap$compTyp8 === void 0 ? void 0 : _componentMap$compTyp8.updateGoodsHandle(orders, {
29391
- canEdit: true
29392
- }) : [];
29285
+ }) : []);
29393
29286
  var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
29394
29287
  return mode ? goodDetails.filter(function (goodItem) {
29395
29288
  return !orderNo || goodItem[componentMap$4[compType].outerOiIdKey] === orderNo;
@@ -29398,11 +29291,9 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
29398
29291
  var getDataSourceAsync = function getDataSourceAsync() {
29399
29292
  return new Promise(function (resolve) {
29400
29293
  pubsub.subscribeOnce(componentMap$4[compType].eventNameMap.returnGoodsSysorderBack, function (_, data) {
29401
- var _componentMap$compTyp9;
29402
29294
  resolve(data);
29403
29295
  setOriginDataSource(getGoodDetails({
29404
29296
  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
29297
  mode: isStrict
29407
29298
  }));
29408
29299
  });
@@ -29413,8 +29304,7 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
29413
29304
  key: componentMap$4[compType].type
29414
29305
  }, props), {}, {
29415
29306
  validSystemOrderFn: function validSystemOrderFn() {
29416
- var _componentMap$compTyp10, _componentMap$compTyp11;
29417
- return (_componentMap$compTyp10 = (_componentMap$compTyp11 = componentMap$4[compType]).validSystemOrderFn) === null || _componentMap$compTyp10 === void 0 ? void 0 : _componentMap$compTyp10.call(_componentMap$compTyp11, form);
29307
+ return componentMap$4[compType].validSystemOrderFn(form);
29418
29308
  },
29419
29309
  isReloadSelectTable: componentMap$4[compType].isReloadSelectTable,
29420
29310
  disabled: disabled,
@@ -29423,7 +29313,6 @@ var CommonExchangeGoods = function CommonExchangeGoods(props) {
29423
29313
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
29424
29314
  value: value === null || value === void 0 ? void 0 : value[componentMap$4[compType].valueKey],
29425
29315
  otherOperations: copyGoods(),
29426
- systemOrders: orders,
29427
29316
  tradeGoods: componentMap$4[compType].showChooseTradeGoodsBtn ? {
29428
29317
  uniqueKey: uniqueKey,
29429
29318
  originDataSource: originDataSource,
@@ -29718,7 +29607,7 @@ var typeMap$2 = {
29718
29607
  typeName: 'jstReturnType',
29719
29608
  systemOrder: 'jstSystemOrder',
29720
29609
  systemOrderNo: 'jstSystemOrderNo',
29721
- // systemOrderBillType: 'jstSystemOrderBillType',
29610
+ systemOrderBillType: 'jstSystemOrderBillType',
29722
29611
  getOrderList: jstUtils.getJstOrderListSingleton,
29723
29612
  updateGoodsHandle: updateJstGoodsHandle,
29724
29613
  alwaysShowChooseErpGoodsBtn: true,
@@ -29728,8 +29617,6 @@ var typeMap$2 = {
29728
29617
  goodDetailsKey: 'items',
29729
29618
  mergeIdenticalGoods: jstMergeIdenticalGoods,
29730
29619
  uniqueKey: 'uuid',
29731
- hideSelectSysOrderId: true,
29732
- isShowSelectTradeGoods: true,
29733
29620
  eventNameMap: {
29734
29621
  // pubsub 事件
29735
29622
  exchangeCopyGood: 'jstExchangeCopyGood',
@@ -29833,7 +29720,7 @@ var typeMap$2 = {
29833
29720
  }
29834
29721
  };
29835
29722
  var PublicReissue = function PublicReissue(props) {
29836
- var _typeMap$type, _typeMap$type2, _typeMap$type21, _typeMap$type39, _typeMap$type45, _typeMap$type46, _typeMap$type47, _typeMap$type48, _typeMap$type49, _value$typeMap$type$s8, _typeMap$type50, _typeMap$type51, _typeMap$type52, _typeMap$type53, _typeMap$type54, _typeMap$type55, _typeMap$type56, _typeMap$type57, _value$typeMap$type$s9, _typeMap$type58, _typeMap$type59, _typeMap$type60, _typeMap$type61;
29723
+ 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
29724
  var value = props.value,
29838
29725
  onChange = props.onChange,
29839
29726
  _props$reasonList = props.reasonList,
@@ -29933,25 +29820,23 @@ var PublicReissue = function PublicReissue(props) {
29933
29820
  var newValue = _objectSpread2({}, value);
29934
29821
  newValue[(_typeMap$type15 = typeMap$2[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.typeName] = val;
29935
29822
  if (typeName === '1') {
29936
- var _typeMap$type16, _typeMap$type17;
29823
+ var _typeMap$type16;
29937
29824
  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
29825
+ mode: isStrict
29941
29826
  });
29942
29827
  } else if (typeName === '2') {
29943
- var _typeMap$type18;
29828
+ var _typeMap$type17;
29944
29829
  // 切换到非原单,清空列表
29945
- newValue[(_typeMap$type18 = typeMap$2[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.key] = [];
29830
+ newValue[(_typeMap$type17 = typeMap$2[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.key] = [];
29946
29831
  }
29947
29832
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
29948
29833
  };
29949
29834
  var handleModeChange = function handleModeChange(mode) {
29950
- var _value$typeMap$type$t, _typeMap$type19, _typeMap$type20;
29951
- var isOriginalOrder = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t = value[(_typeMap$type19 = typeMap$2[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.typeName]) === null || _value$typeMap$type$t === void 0 ? void 0 : _value$typeMap$type$t[0]) === '1';
29835
+ var _value$typeMap$type$t, _typeMap$type18, _typeMap$type19;
29836
+ 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
29837
  setIsStrict(mode);
29953
29838
  if (!isOriginalOrder) return;
29954
- onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type20 = typeMap$2[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.key, getGoodDetails({
29839
+ 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
29840
  mode: mode
29956
29841
  }))));
29957
29842
  };
@@ -29968,7 +29853,7 @@ var PublicReissue = function PublicReissue(props) {
29968
29853
  });
29969
29854
  }
29970
29855
  return map;
29971
- }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.key]]);
29856
+ }, [value === null || value === void 0 ? void 0 : value[(_typeMap$type20 = typeMap$2[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.key]]);
29972
29857
  // 用于跟踪已经处理过的 sysItemId,避免重复处理
29973
29858
  var processedSysItemIdsRef = useRef(new Set());
29974
29859
  useEffect(function () {
@@ -30040,13 +29925,13 @@ var PublicReissue = function PublicReissue(props) {
30040
29925
  }
30041
29926
  }, [sysItemIdMap]);
30042
29927
  var getGoodDetails = function getGoodDetails(_ref5) {
30043
- var _typeMap$type22, _typeMap$type23, _value$typeMap$type$s6, _typeMap$type24, _typeMap$type25, _typeMap$type26, _typeMap$type27;
29928
+ var _typeMap$type21, _typeMap$type22, _value$typeMap$type$s6, _typeMap$type23, _typeMap$type24, _typeMap$type25, _typeMap$type26;
30044
29929
  var mode = _ref5.mode,
30045
29930
  sysOrderNo = _ref5.sysOrderNo,
30046
29931
  _ref5$isAllOrders = _ref5.isAllOrders,
30047
29932
  isAllOrders = _ref5$isAllOrders === void 0 ? false : _ref5$isAllOrders;
30048
- var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.systemOrder];
30049
- var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type23 = typeMap$2[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.systemOrderNo];
29933
+ 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];
29934
+ 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
29935
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
30051
29936
  return order[typeMap$2[type].oIdKey] === systemOrderNo;
30052
29937
  });
@@ -30073,12 +29958,12 @@ var PublicReissue = function PublicReissue(props) {
30073
29958
  canEdit: true
30074
29959
  };
30075
29960
  }
30076
- var orders = isAllOrders ? (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type24 = typeMap$2[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.orders) || [] : order ? [order] : [];
29961
+ 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
29962
  var hasGoodDetails = orders === null || orders === void 0 ? void 0 : orders.some(function (order) {
30078
29963
  var _order$typeMap$type$g;
30079
29964
  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
29965
  });
30081
- var goodDetails = hasGoodDetails ? (!isAllOrders || ((_typeMap$type25 = typeMap$2[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.isSelectTradeGoodsMerge)) && typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type26 = typeMap$2[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.updateGoodsHandle(orders, orderRest, type)) : (_typeMap$type27 = typeMap$2[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.updateGoodsHandle(orders, orderRest, type) : [];
29966
+ 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
29967
  var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
30083
29968
  var list = mode && !isAllOrders ? goodDetails.filter(function (goodItem) {
30084
29969
  return !orderNo || goodItem[typeMap$2[type].outerOiIdKey] === orderNo;
@@ -30086,30 +29971,30 @@ var PublicReissue = function PublicReissue(props) {
30086
29971
  return list;
30087
29972
  };
30088
29973
  var changeGoodHandle = function changeGoodHandle(val) {
30089
- var _typeMap$type28;
29974
+ var _typeMap$type27;
30090
29975
  var newValue = _objectSpread2({}, value);
30091
- 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.key)] = val || [];
29976
+ 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
29977
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
30093
29978
  };
30094
29979
  var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
30095
- var _typeMap$type29, _typeMap$type30, _value$typeMap$type$t2, _typeMap$type35, _value$typeMap$type$t3, _typeMap$type37;
29980
+ var _typeMap$type28, _typeMap$type29, _value$typeMap$type$t2, _typeMap$type34, _value$typeMap$type$t3, _typeMap$type36;
30096
29981
  var newValue = _objectSpread2({}, value);
30097
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type29 = typeMap$2[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderNo)] = val;
30098
- if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type30 = typeMap$2[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrderBillType) {
30099
- var _value$typeMap$type$s7, _typeMap$type31, _typeMap$type33, _typeMap$type34;
30100
- var orders = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$type31 = typeMap$2[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.systemOrder]) === null || _value$typeMap$type$s7 === void 0 ? void 0 : _value$typeMap$type$s7.orders) || [];
29982
+ 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;
29983
+ 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) {
29984
+ var _value$typeMap$type$s7, _typeMap$type30, _typeMap$type32, _typeMap$type33;
29985
+ 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
29986
  var targetOrder = val && orders.find(function (oItem) {
30102
- var _typeMap$type32;
30103
- return oItem[(_typeMap$type32 = typeMap$2[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.oIdKey] === val;
29987
+ var _typeMap$type31;
29988
+ return oItem[(_typeMap$type31 = typeMap$2[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.oIdKey] === val;
30104
29989
  });
30105
- newValue[(_typeMap$type33 = typeMap$2[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.systemOrderBillType] = targetOrder === null || targetOrder === void 0 ? void 0 : targetOrder[(_typeMap$type34 = typeMap$2[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.orderTypeKey];
30106
- }
30107
- if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type35 = typeMap$2[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0])) {
30108
- var _typeMap$type36;
30109
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type36 = typeMap$2[type]) === null || _typeMap$type36 === void 0 ? void 0 : _typeMap$type36.key)] = [];
30110
- } else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type37 = typeMap$2[type]) === null || _typeMap$type37 === void 0 ? void 0 : _typeMap$type37.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
30111
- var _typeMap$type38;
30112
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type38 = typeMap$2[type]) === null || _typeMap$type38 === void 0 ? void 0 : _typeMap$type38.key)] = getGoodDetails({
29990
+ 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];
29991
+ }
29992
+ 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])) {
29993
+ var _typeMap$type35;
29994
+ 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)] = [];
29995
+ } 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])) {
29996
+ var _typeMap$type37;
29997
+ 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
29998
  mode: isStrict,
30114
29999
  sysOrderNo: val
30115
30000
  });
@@ -30117,28 +30002,28 @@ var PublicReissue = function PublicReissue(props) {
30117
30002
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue, 'systemOrder');
30118
30003
  };
30119
30004
  //显示选择商品按钮
30120
- var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type39 = typeMap$2[type]) === null || _typeMap$type39 === void 0 ? void 0 : _typeMap$type39.systemOrderNo]);
30005
+ 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
30006
  var selectedGoodsChange = useCallback(function (skuList) {
30122
- var _typeMap$type40, _typeMap$type41, _typeMap$type42, _uniqBy, _typeMap$type43;
30007
+ var _typeMap$type39, _typeMap$type40, _typeMap$type41, _uniqBy, _typeMap$type42;
30123
30008
  var newValue = _objectSpread2({}, value);
30124
30009
  // 原订单商品
30125
30010
  var originTradeGoodList = getGoodDetails({
30126
30011
  mode: isStrict,
30127
- isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type40 = typeMap$2[type]) === null || _typeMap$type40 === void 0 ? void 0 : _typeMap$type40.isShowSelectTradeGoods
30012
+ 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
30013
  }) || [];
30129
30014
  // 当前选中的所有商品【包含了原订单+商品库】
30130
- var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".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)]) || [];
30131
- newValue["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), (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')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
30132
- var _typeMap$type44;
30133
- return skuList.includes(item[(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type44 = typeMap$2[type]) === null || _typeMap$type44 === void 0 ? void 0 : _typeMap$type44.uniqueKey) || 'uuid']);
30015
+ 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)]) || [];
30016
+ 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) {
30017
+ var _typeMap$type43;
30018
+ 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
30019
  });
30135
30020
  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$type45 = typeMap$2[type]) === null || _typeMap$type45 === void 0 ? void 0 : _typeMap$type45.key)], value, isStrict]);
30021
+ }, [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
30022
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
30138
30023
  gutter: 8,
30139
30024
  wrap: true,
30140
- id: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type46 = typeMap$2[type]) === null || _typeMap$type46 === void 0 ? void 0 : _typeMap$type46.key) || "".concat(Date.now())
30141
- }, !(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type47 = typeMap$2[type]) === null || _typeMap$type47 === void 0 ? void 0 : _typeMap$type47.hideSelectSysOrderId) && /*#__PURE__*/React.createElement(Col, {
30025
+ 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())
30026
+ }, /*#__PURE__*/React.createElement(Col, {
30142
30027
  className: "gutter-row",
30143
30028
  xs: {
30144
30029
  span: 11
@@ -30153,12 +30038,12 @@ var PublicReissue = function PublicReissue(props) {
30153
30038
  },
30154
30039
  disabled: disabled,
30155
30040
  allowClear: false,
30156
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type48 = typeMap$2[type]) === null || _typeMap$type48 === void 0 ? void 0 : _typeMap$type48.systemOrderNo)],
30041
+ 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
30042
  onChange: function onChange(val) {
30158
30043
  return changeSystemOrderHandle(val);
30159
30044
  },
30160
- placeholder: "\u9009\u62E9".concat((typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type49 = typeMap$2[type]) === null || _typeMap$type49 === void 0 ? void 0 : _typeMap$type49.compType) || '', "\u7CFB\u7EDF\u5355")
30161
- }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s8 = value[(_typeMap$type50 = typeMap$2[type]) === null || _typeMap$type50 === void 0 ? void 0 : _typeMap$type50.systemOrder]) === null || _value$typeMap$type$s8 === void 0 ? void 0 : _value$typeMap$type$s8.showOrderInfo) || []).map(function (item) {
30045
+ 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")
30046
+ }, ((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
30047
  return /*#__PURE__*/React.createElement(Select.Option, {
30163
30048
  key: item[typeMap$2[type].oIdKey],
30164
30049
  value: item[typeMap$2[type].oIdKey],
@@ -30180,11 +30065,11 @@ var PublicReissue = function PublicReissue(props) {
30180
30065
  disabled: isSettingConfig ? !isSettingConfig : disabled,
30181
30066
  allowClear: false,
30182
30067
  options: reasonList,
30183
- 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.typeName)],
30068
+ 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
30069
  onChange: function onChange(val) {
30185
30070
  return changeTypeHandle(val);
30186
30071
  }
30187
- })), (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type52 = typeMap$2[type]) === null || _typeMap$type52 === void 0 ? void 0 : _typeMap$type52.systemOrderBillType) && !isSettingConfig && /*#__PURE__*/React.createElement(Col, {
30072
+ })), (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
30073
  className: "gutter-row",
30189
30074
  xs: {
30190
30075
  span: 11
@@ -30193,7 +30078,7 @@ var PublicReissue = function PublicReissue(props) {
30193
30078
  span: 6
30194
30079
  }
30195
30080
  }, /*#__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$type53 = typeMap$2[type]) === null || _typeMap$type53 === void 0 ? void 0 : _typeMap$type53.systemOrderBillType)],
30081
+ 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
30082
  disabled: disabled,
30198
30083
  readOnly: true
30199
30084
  }))), /*#__PURE__*/React.createElement(GoodItem$1, _objectSpread2(_objectSpread2({
@@ -30204,25 +30089,25 @@ var PublicReissue = function PublicReissue(props) {
30204
30089
  canUpdateNumber: showChangeBtn,
30205
30090
  hasSelectedSystemOrder: showChangeBtn,
30206
30091
  // showChangeBtn={showChangeBtn || typeMap?.[type]?.isShowSelectTradeGoods}
30207
- alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type54 = typeMap$2[type]) === null || _typeMap$type54 === void 0 ? void 0 : _typeMap$type54.alwaysShowChooseErpGoodsBtn,
30208
- showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type55 = typeMap$2[type]) === null || _typeMap$type55 === void 0 ? void 0 : _typeMap$type55.showErpGoodsBtn,
30092
+ 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,
30093
+ 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
30094
  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$type56 = typeMap$2[type]) === null || _typeMap$type56 === void 0 ? void 0 : _typeMap$type56.key)],
30095
+ 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
30096
  onChange: function onChange(val) {
30212
30097
  return changeGoodHandle(val);
30213
30098
  },
30214
30099
  onModeChange: handleModeChange,
30215
30100
  showModeBtn: showModeBtn,
30216
30101
  isStrict: isStrict,
30217
- isShowSelectTradeGoods: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type57 = typeMap$2[type]) === null || _typeMap$type57 === void 0 ? void 0 : _typeMap$type57.isShowSelectTradeGoods,
30218
- systemOrders: value === null || value === void 0 ? void 0 : (_value$typeMap$type$s9 = value[(_typeMap$type58 = typeMap$2[type]) === null || _typeMap$type58 === void 0 ? void 0 : _typeMap$type58.systemOrder]) === null || _value$typeMap$type$s9 === void 0 ? void 0 : _value$typeMap$type$s9.orders,
30219
- selectedSystemOrders: showChangeBtn ? [value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type59 = typeMap$2[type]) === null || _typeMap$type59 === void 0 ? void 0 : _typeMap$type59.systemOrderNo)]] : [],
30102
+ 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,
30103
+ 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,
30104
+ 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
30105
  tradeGoods: {
30221
30106
  originDataSource: getGoodDetails({
30222
30107
  mode: isStrict,
30223
- isAllOrders: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type60 = typeMap$2[type]) === null || _typeMap$type60 === void 0 ? void 0 : _typeMap$type60.isShowSelectTradeGoods
30108
+ 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
30109
  }),
30225
- uniqueKey: (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type61 = typeMap$2[type]) === null || _typeMap$type61 === void 0 ? void 0 : _typeMap$type61.uniqueKey) || 'uuid',
30110
+ 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
30111
  selectedGoodsChange: selectedGoodsChange
30227
30112
  }
30228
30113
  })));
@@ -30590,7 +30475,7 @@ var GoodsModal$5 = function GoodsModal(props) {
30590
30475
  key: item.value
30591
30476
  }, item.label);
30592
30477
  })), /*#__PURE__*/React.createElement(Search$1, {
30593
- placeholder: "\u5B9D\u8D1D\u6807\u9898",
30478
+ placeholder: "\u5B9D\u8D1D\u94FE\u63A5\uFF0C\u6807\u9898",
30594
30479
  allowClear: true,
30595
30480
  enterButton: "\u641C\u7D22",
30596
30481
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.9.1-beta.8",
3
+ "version": "2.10.2",
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.9.1-beta.8",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.10.2",
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": "7041ba674a521fabda7e7ac8b8d1fdf0f985b14f"
69
+ "gitHead": "387ea03be973184576757f0edf49a85e9eae8ea4"
70
70
  }
@@ -1 +0,0 @@
1
- export declare const getYesOrNo: (val: boolean | string | number) => "是" | "否" | null;