@kmkf-fe-packages/basic-components 2.2.38 → 2.2.39-beta.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/README.md CHANGED
@@ -19,4 +19,4 @@ yarn start
19
19
  - config 公共方法
20
20
  - assets 静态资源
21
21
 
22
- 111111
22
+ 1111111
package/dist/index.esm.js CHANGED
@@ -8101,6 +8101,8 @@ var updateWorkTypeKeys = {
8101
8101
  BS_DEPOSIT: 'bsDeposit',
8102
8102
  NEW_PAYMENT_STATUS: 'newPaymentStatus',
8103
8103
  BUSINESS_ORDER_NO: 'businessOrderNo',
8104
+ REPAIR_ORDER_SN: 'repairOrderSn',
8105
+ REPAIR_ORDER_ID: 'repairOrderId',
8104
8106
  PAYMENT_VOUCHER_CODE: 'paymentVoucherCode',
8105
8107
  ACTUAL_RECEIPT_PAYMENT: 'actualReceiptPayment',
8106
8108
  WDT_SHOP: 'shopCode'
@@ -8580,6 +8582,10 @@ var processCallBackStatus = function processCallBackStatus(getValue) {
8580
8582
  RETURN_EXCHANGE_GOODS_REVIEW_STATUS: {
8581
8583
  status: 'returnExchangeGoodsReviewStatusValue',
8582
8584
  reason: 'returnExchangeGoodsReviewStatusReason'
8585
+ },
8586
+ REPAIR_ORDER_STATUS: {
8587
+ status: 'repairOrderStatusValue',
8588
+ reason: 'repairOrderStatusReason'
8583
8589
  }
8584
8590
  };
8585
8591
  return _defineProperty({}, nex.uniqueKey, {
@@ -9344,6 +9350,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
9344
9350
  AGREE_RETURN_GOODS_STATUS: processCallBackStatus,
9345
9351
  REJECT_RETURN_GOODS_STATUS: processCallBackStatus,
9346
9352
  RETURN_EXCHANGE_GOODS_REVIEW_STATUS: processCallBackStatus,
9353
+ REPAIR_ORDER_STATUS: processCallBackStatus,
9347
9354
  RETURN_GOODS_STATUS: processSceneStatus,
9348
9355
  EXCHANGE_STATUS: processSceneStatus,
9349
9356
  WAREHOUSING_STATUS: processSceneStatus,
@@ -9423,6 +9430,8 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
9423
9430
  BS_DEPOSIT: processSingleField,
9424
9431
  NEW_PAYMENT_STATUS: processSingleField,
9425
9432
  BUSINESS_ORDER_NO: processSingleField,
9433
+ REPAIR_ORDER_SN: processSingleField,
9434
+ REPAIR_ORDER_ID: processSingleField,
9426
9435
  PAYMENT_VOUCHER_CODE: processSingleField,
9427
9436
  BS_E3_REISSUE_GOODS: processBsE3ReissueGoods(templateColumns),
9428
9437
  ACTUAL_RECEIPT_PAYMENT: processSingleField,
@@ -9998,8 +10007,8 @@ var SubForm = function SubForm(props) {
9998
10007
  tableHeader = props.tableHeader,
9999
10008
  disabled = props.disabled,
10000
10009
  platform = props.platform,
10001
- manual = props.manual,
10002
- maxCount = props.maxCount;
10010
+ maxCount = props.maxCount,
10011
+ manual = props.manual;
10003
10012
  var ref = useRef(null);
10004
10013
  var isRequest = useRef(false);
10005
10014
  var _useState = useState(false),
@@ -13442,7 +13451,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
13442
13451
  if (disabled) {
13443
13452
  return;
13444
13453
  }
13445
- if (['SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
13454
+ if (['KYE', 'SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
13446
13455
  return;
13447
13456
  } else if (!(newCompany && trajectoryCode)) {
13448
13457
  return;
@@ -13578,7 +13587,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
13578
13587
  value: value === null || value === void 0 ? void 0 : value.trajectorySnapshot
13579
13588
  });
13580
13589
  };
13581
- return /*#__PURE__*/React.createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React.createElement(LogisticsSnapshot, null) : null);
13590
+ return /*#__PURE__*/React.createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO', 'KYE'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React.createElement(LogisticsSnapshot, null) : null);
13582
13591
  };
13583
13592
 
13584
13593
  var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
@@ -14806,6 +14815,16 @@ var wdtColumns = [{
14806
14815
  render: function render(price) {
14807
14816
  return price || price === 0 ? Number(price).toFixed(2) : '';
14808
14817
  }
14818
+ }, {
14819
+ dataIndex: 'unitName',
14820
+ title: '基本单位',
14821
+ width: 150,
14822
+ render: renderTextEllipsis
14823
+ }, {
14824
+ dataIndex: 'auxUnitName',
14825
+ title: '辅助单位',
14826
+ width: 150,
14827
+ render: renderTextEllipsis
14809
14828
  }];
14810
14829
 
14811
14830
  var bse3Columns = [{
@@ -15950,6 +15969,7 @@ var getTableData$2 = function getTableData(_ref, formData) {
15950
15969
  var current = _ref.current,
15951
15970
  pageSize = _ref.pageSize;
15952
15971
  var data = {
15972
+ goodShortName: formData.goodShortName || null,
15953
15973
  goodNo: formData.goodNo || null,
15954
15974
  goodName: formData.goodName || null,
15955
15975
  skuCode: formData.skuCode || null,
@@ -18927,7 +18947,8 @@ var getColumns$2 = function getColumns(_ref) {
18927
18947
  title: "\u5E73\u53F0\u89C4\u683CID",
18928
18948
  width: 180,
18929
18949
  align: 'center',
18930
- ellipsis: true
18950
+ ellipsis: true,
18951
+ render: renderTextEllipsis
18931
18952
  }, {
18932
18953
  dataIndex: 'brandName',
18933
18954
  title: "\u54C1\u724C\u540D\u79F0",
@@ -18971,6 +18992,20 @@ var getColumns$2 = function getColumns(_ref) {
18971
18992
  title: "\u8D60\u54C1\u65B9\u5F0F",
18972
18993
  width: 100,
18973
18994
  render: renderGiftType
18995
+ }, {
18996
+ dataIndex: 'unitName',
18997
+ title: "\u57FA\u672C\u5355\u4F4D",
18998
+ ellipsis: true,
18999
+ width: 150,
19000
+ align: 'center',
19001
+ render: renderTextEllipsis
19002
+ }, {
19003
+ dataIndex: 'auxUnitName',
19004
+ title: "\u8F85\u52A9\u5355\u4F4D",
19005
+ ellipsis: true,
19006
+ width: 150,
19007
+ align: 'center',
19008
+ render: renderTextEllipsis
18974
19009
  }],
18975
19010
  //旺店通商品信息
18976
19011
  WDT_GOODS: [{
@@ -19047,7 +19082,8 @@ var getColumns$2 = function getColumns(_ref) {
19047
19082
  title: "\u5E73\u53F0\u89C4\u683CID",
19048
19083
  width: 180,
19049
19084
  align: 'center',
19050
- ellipsis: true
19085
+ ellipsis: true,
19086
+ render: renderTextEllipsis
19051
19087
  }, {
19052
19088
  dataIndex: 'brandName',
19053
19089
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19095,6 +19131,20 @@ var getColumns$2 = function getColumns(_ref) {
19095
19131
  align: 'center',
19096
19132
  ellipsis: true,
19097
19133
  width: 100
19134
+ }, {
19135
+ dataIndex: 'unitName',
19136
+ title: "\u57FA\u672C\u5355\u4F4D",
19137
+ ellipsis: true,
19138
+ width: 150,
19139
+ align: 'center',
19140
+ render: renderTextEllipsis
19141
+ }, {
19142
+ dataIndex: 'auxUnitName',
19143
+ title: "\u8F85\u52A9\u5355\u4F4D",
19144
+ ellipsis: true,
19145
+ width: 150,
19146
+ align: 'center',
19147
+ render: renderTextEllipsis
19098
19148
  }],
19099
19149
  //旺店通退货商品信息
19100
19150
  WDT_RETURN_GOODS: [{
@@ -19171,7 +19221,8 @@ var getColumns$2 = function getColumns(_ref) {
19171
19221
  title: "\u5E73\u53F0\u89C4\u683CID",
19172
19222
  width: 180,
19173
19223
  align: 'center',
19174
- ellipsis: true
19224
+ ellipsis: true,
19225
+ render: renderTextEllipsis
19175
19226
  }, {
19176
19227
  dataIndex: 'brandName',
19177
19228
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19258,6 +19309,20 @@ var getColumns$2 = function getColumns(_ref) {
19258
19309
  }
19259
19310
  }) : /*#__PURE__*/React.createElement("span", null, typeMap[val]);
19260
19311
  }
19312
+ }, {
19313
+ dataIndex: 'unitName',
19314
+ title: "\u57FA\u672C\u5355\u4F4D",
19315
+ ellipsis: true,
19316
+ width: 150,
19317
+ align: 'center',
19318
+ render: renderTextEllipsis
19319
+ }, {
19320
+ dataIndex: 'auxUnitName',
19321
+ title: "\u8F85\u52A9\u5355\u4F4D",
19322
+ ellipsis: true,
19323
+ width: 150,
19324
+ align: 'center',
19325
+ render: renderTextEllipsis
19261
19326
  }],
19262
19327
  //旺店通换出商品信息
19263
19328
  WDT_EXCHANGE_GOODS: [{
@@ -19334,7 +19399,8 @@ var getColumns$2 = function getColumns(_ref) {
19334
19399
  title: "\u5E73\u53F0\u89C4\u683CID",
19335
19400
  width: 180,
19336
19401
  align: 'center',
19337
- ellipsis: true
19402
+ ellipsis: true,
19403
+ render: renderTextEllipsis
19338
19404
  }, {
19339
19405
  dataIndex: 'brandName',
19340
19406
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19421,6 +19487,20 @@ var getColumns$2 = function getColumns(_ref) {
19421
19487
  }
19422
19488
  }) : /*#__PURE__*/React.createElement("span", null, typeMap[val]);
19423
19489
  }
19490
+ }, {
19491
+ dataIndex: 'unitName',
19492
+ title: "\u57FA\u672C\u5355\u4F4D",
19493
+ ellipsis: true,
19494
+ width: 150,
19495
+ align: 'center',
19496
+ render: renderTextEllipsis
19497
+ }, {
19498
+ dataIndex: 'auxUnitName',
19499
+ title: "\u8F85\u52A9\u5355\u4F4D",
19500
+ ellipsis: true,
19501
+ width: 150,
19502
+ align: 'center',
19503
+ render: renderTextEllipsis
19424
19504
  }],
19425
19505
  // 旺店通售后商品信息
19426
19506
  WDT_AFTERSALE_GOODS: [{
@@ -19576,6 +19656,20 @@ var getColumns$2 = function getColumns(_ref) {
19576
19656
  align: 'center',
19577
19657
  ellipsis: true,
19578
19658
  render: renderTextEllipsis
19659
+ }, {
19660
+ dataIndex: 'unitName',
19661
+ title: "\u57FA\u672C\u5355\u4F4D",
19662
+ ellipsis: true,
19663
+ width: 150,
19664
+ align: 'center',
19665
+ render: renderTextEllipsis
19666
+ }, {
19667
+ dataIndex: 'auxUnitName',
19668
+ title: "\u8F85\u52A9\u5355\u4F4D",
19669
+ ellipsis: true,
19670
+ width: 150,
19671
+ align: 'center',
19672
+ render: renderTextEllipsis
19579
19673
  }]
19580
19674
  };
19581
19675
  };
@@ -20258,7 +20352,7 @@ var getColumns$5 = function getColumns() {
20258
20352
  ellipsis: true,
20259
20353
  align: 'center',
20260
20354
  render: function render(val, record, index) {
20261
- return (record.qty || 0) * (+record.salePrice || 0);
20355
+ return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20262
20356
  }
20263
20357
  }, {
20264
20358
  dataIndex: 'batchId',
@@ -20546,7 +20640,7 @@ var getColumns$5 = function getColumns() {
20546
20640
  dataIndex: 'saleAmount',
20547
20641
  title: '总金额',
20548
20642
  render: function render(val, record) {
20549
- return (record.qty || 0) * (+record.salePrice || 0);
20643
+ return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20550
20644
  }
20551
20645
  }, {
20552
20646
  dataIndex: 'batchId',
@@ -20661,7 +20755,7 @@ var getColumns$5 = function getColumns() {
20661
20755
  dataIndex: 'saleAmount',
20662
20756
  title: '总金额',
20663
20757
  render: function render(val, record) {
20664
- return (record.qty || 0) * (+record.salePrice || 0);
20758
+ return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20665
20759
  }
20666
20760
  }, {
20667
20761
  dataIndex: 'isGift',
@@ -21529,6 +21623,12 @@ var getColumns$7 = function getColumns(_ref) {
21529
21623
  width: 150,
21530
21624
  render: function render(val, record, index) {
21531
21625
  return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
21626
+ dropdownStyle: {
21627
+ zIndex: 2000
21628
+ },
21629
+ getPopupContainer: function getPopupContainer() {
21630
+ return document.body;
21631
+ },
21532
21632
  value: val,
21533
21633
  onChange: function onChange(value) {
21534
21634
  updateHandle(value, index, 'bfit');
@@ -21558,6 +21658,12 @@ var getColumns$7 = function getColumns(_ref) {
21558
21658
  width: 150,
21559
21659
  render: function render(val, record, index) {
21560
21660
  return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
21661
+ dropdownStyle: {
21662
+ zIndex: 2000
21663
+ },
21664
+ getPopupContainer: function getPopupContainer() {
21665
+ return document.body;
21666
+ },
21561
21667
  value: val,
21562
21668
  onChange: function onChange(value) {
21563
21669
  updateHandle(value, index, 'gift');
@@ -22316,7 +22422,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
22316
22422
  }
22317
22423
  }, isShowSelect && /*#__PURE__*/React.createElement(Row, {
22318
22424
  style: {
22319
- marginBottom: '20px'
22425
+ marginBottom: '12px'
22320
22426
  }
22321
22427
  }, /*#__PURE__*/React.createElement(Col, {
22322
22428
  span: 12
@@ -27231,7 +27337,7 @@ var MsgStatus = function MsgStatus(props) {
27231
27337
  onClick: function onClick() {
27232
27338
  return setChangeIndex(index);
27233
27339
  }
27234
- }, msgTypeCh[key], item.ruleName);
27340
+ }, msgTypeCh[key] || key, item.ruleName);
27235
27341
  }))) : null, type === 1 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({}, other), {}, {
27236
27342
  showSearch: true,
27237
27343
  value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
@@ -27809,7 +27915,7 @@ var GyReissue = function GyReissue(props) {
27809
27915
  span: 12
27810
27916
  },
27811
27917
  sm: {
27812
- span: 6
27918
+ span: 4
27813
27919
  }
27814
27920
  }, /*#__PURE__*/React.createElement(Cascader, {
27815
27921
  style: {
@@ -28112,7 +28218,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
28112
28218
  span: 12
28113
28219
  },
28114
28220
  sm: {
28115
- span: 6
28221
+ span: 4
28116
28222
  }
28117
28223
  }, /*#__PURE__*/React.createElement(Cascader, {
28118
28224
  style: {
package/dist/index.js CHANGED
@@ -8116,6 +8116,8 @@ var updateWorkTypeKeys = {
8116
8116
  BS_DEPOSIT: 'bsDeposit',
8117
8117
  NEW_PAYMENT_STATUS: 'newPaymentStatus',
8118
8118
  BUSINESS_ORDER_NO: 'businessOrderNo',
8119
+ REPAIR_ORDER_SN: 'repairOrderSn',
8120
+ REPAIR_ORDER_ID: 'repairOrderId',
8119
8121
  PAYMENT_VOUCHER_CODE: 'paymentVoucherCode',
8120
8122
  ACTUAL_RECEIPT_PAYMENT: 'actualReceiptPayment',
8121
8123
  WDT_SHOP: 'shopCode'
@@ -8595,6 +8597,10 @@ var processCallBackStatus = function processCallBackStatus(getValue) {
8595
8597
  RETURN_EXCHANGE_GOODS_REVIEW_STATUS: {
8596
8598
  status: 'returnExchangeGoodsReviewStatusValue',
8597
8599
  reason: 'returnExchangeGoodsReviewStatusReason'
8600
+ },
8601
+ REPAIR_ORDER_STATUS: {
8602
+ status: 'repairOrderStatusValue',
8603
+ reason: 'repairOrderStatusReason'
8598
8604
  }
8599
8605
  };
8600
8606
  return _defineProperty({}, nex.uniqueKey, {
@@ -9359,6 +9365,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
9359
9365
  AGREE_RETURN_GOODS_STATUS: processCallBackStatus,
9360
9366
  REJECT_RETURN_GOODS_STATUS: processCallBackStatus,
9361
9367
  RETURN_EXCHANGE_GOODS_REVIEW_STATUS: processCallBackStatus,
9368
+ REPAIR_ORDER_STATUS: processCallBackStatus,
9362
9369
  RETURN_GOODS_STATUS: processSceneStatus,
9363
9370
  EXCHANGE_STATUS: processSceneStatus,
9364
9371
  WAREHOUSING_STATUS: processSceneStatus,
@@ -9438,6 +9445,8 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
9438
9445
  BS_DEPOSIT: processSingleField,
9439
9446
  NEW_PAYMENT_STATUS: processSingleField,
9440
9447
  BUSINESS_ORDER_NO: processSingleField,
9448
+ REPAIR_ORDER_SN: processSingleField,
9449
+ REPAIR_ORDER_ID: processSingleField,
9441
9450
  PAYMENT_VOUCHER_CODE: processSingleField,
9442
9451
  BS_E3_REISSUE_GOODS: processBsE3ReissueGoods(templateColumns),
9443
9452
  ACTUAL_RECEIPT_PAYMENT: processSingleField,
@@ -10013,8 +10022,8 @@ var SubForm = function SubForm(props) {
10013
10022
  tableHeader = props.tableHeader,
10014
10023
  disabled = props.disabled,
10015
10024
  platform = props.platform,
10016
- manual = props.manual,
10017
- maxCount = props.maxCount;
10025
+ maxCount = props.maxCount,
10026
+ manual = props.manual;
10018
10027
  var ref = React.useRef(null);
10019
10028
  var isRequest = React.useRef(false);
10020
10029
  var _useState = React.useState(false),
@@ -13457,7 +13466,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
13457
13466
  if (disabled) {
13458
13467
  return;
13459
13468
  }
13460
- if (['SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
13469
+ if (['KYE', 'SF', 'ZTO'].includes(newCompany) && !(newCompany && trajectoryCode && trajectoryPhone)) {
13461
13470
  return;
13462
13471
  } else if (!(newCompany && trajectoryCode)) {
13463
13472
  return;
@@ -13593,7 +13602,7 @@ var LogisticsTrajectory = function LogisticsTrajectory(props) {
13593
13602
  value: value === null || value === void 0 ? void 0 : value.trajectorySnapshot
13594
13603
  });
13595
13604
  };
13596
- return /*#__PURE__*/React__default['default'].createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React__default['default'].createElement(LogisticsSnapshot, null) : null);
13605
+ return /*#__PURE__*/React__default['default'].createElement("div", null, LogisticsCompany(), LogisticsCode(), ['SF', 'ZTO', 'KYE'].includes(value === null || value === void 0 ? void 0 : value.trajectoryCompany) ? LogisticsPhone(value === null || value === void 0 ? void 0 : value.trajectoryCompany) : null, trajectoryApiStatus && isSingle && LogisticsApiStatus(), showField && showField.includes('snapshot') ? /*#__PURE__*/React__default['default'].createElement(LogisticsSnapshot, null) : null);
13597
13606
  };
13598
13607
 
13599
13608
  var LogisticsMoreTrajectory = function LogisticsMoreTrajectory(props) {
@@ -14821,6 +14830,16 @@ var wdtColumns = [{
14821
14830
  render: function render(price) {
14822
14831
  return price || price === 0 ? Number(price).toFixed(2) : '';
14823
14832
  }
14833
+ }, {
14834
+ dataIndex: 'unitName',
14835
+ title: '基本单位',
14836
+ width: 150,
14837
+ render: renderTextEllipsis
14838
+ }, {
14839
+ dataIndex: 'auxUnitName',
14840
+ title: '辅助单位',
14841
+ width: 150,
14842
+ render: renderTextEllipsis
14824
14843
  }];
14825
14844
 
14826
14845
  var bse3Columns = [{
@@ -15965,6 +15984,7 @@ var getTableData$2 = function getTableData(_ref, formData) {
15965
15984
  var current = _ref.current,
15966
15985
  pageSize = _ref.pageSize;
15967
15986
  var data = {
15987
+ goodShortName: formData.goodShortName || null,
15968
15988
  goodNo: formData.goodNo || null,
15969
15989
  goodName: formData.goodName || null,
15970
15990
  skuCode: formData.skuCode || null,
@@ -18942,7 +18962,8 @@ var getColumns$2 = function getColumns(_ref) {
18942
18962
  title: "\u5E73\u53F0\u89C4\u683CID",
18943
18963
  width: 180,
18944
18964
  align: 'center',
18945
- ellipsis: true
18965
+ ellipsis: true,
18966
+ render: renderTextEllipsis
18946
18967
  }, {
18947
18968
  dataIndex: 'brandName',
18948
18969
  title: "\u54C1\u724C\u540D\u79F0",
@@ -18986,6 +19007,20 @@ var getColumns$2 = function getColumns(_ref) {
18986
19007
  title: "\u8D60\u54C1\u65B9\u5F0F",
18987
19008
  width: 100,
18988
19009
  render: renderGiftType
19010
+ }, {
19011
+ dataIndex: 'unitName',
19012
+ title: "\u57FA\u672C\u5355\u4F4D",
19013
+ ellipsis: true,
19014
+ width: 150,
19015
+ align: 'center',
19016
+ render: renderTextEllipsis
19017
+ }, {
19018
+ dataIndex: 'auxUnitName',
19019
+ title: "\u8F85\u52A9\u5355\u4F4D",
19020
+ ellipsis: true,
19021
+ width: 150,
19022
+ align: 'center',
19023
+ render: renderTextEllipsis
18989
19024
  }],
18990
19025
  //旺店通商品信息
18991
19026
  WDT_GOODS: [{
@@ -19062,7 +19097,8 @@ var getColumns$2 = function getColumns(_ref) {
19062
19097
  title: "\u5E73\u53F0\u89C4\u683CID",
19063
19098
  width: 180,
19064
19099
  align: 'center',
19065
- ellipsis: true
19100
+ ellipsis: true,
19101
+ render: renderTextEllipsis
19066
19102
  }, {
19067
19103
  dataIndex: 'brandName',
19068
19104
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19110,6 +19146,20 @@ var getColumns$2 = function getColumns(_ref) {
19110
19146
  align: 'center',
19111
19147
  ellipsis: true,
19112
19148
  width: 100
19149
+ }, {
19150
+ dataIndex: 'unitName',
19151
+ title: "\u57FA\u672C\u5355\u4F4D",
19152
+ ellipsis: true,
19153
+ width: 150,
19154
+ align: 'center',
19155
+ render: renderTextEllipsis
19156
+ }, {
19157
+ dataIndex: 'auxUnitName',
19158
+ title: "\u8F85\u52A9\u5355\u4F4D",
19159
+ ellipsis: true,
19160
+ width: 150,
19161
+ align: 'center',
19162
+ render: renderTextEllipsis
19113
19163
  }],
19114
19164
  //旺店通退货商品信息
19115
19165
  WDT_RETURN_GOODS: [{
@@ -19186,7 +19236,8 @@ var getColumns$2 = function getColumns(_ref) {
19186
19236
  title: "\u5E73\u53F0\u89C4\u683CID",
19187
19237
  width: 180,
19188
19238
  align: 'center',
19189
- ellipsis: true
19239
+ ellipsis: true,
19240
+ render: renderTextEllipsis
19190
19241
  }, {
19191
19242
  dataIndex: 'brandName',
19192
19243
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19273,6 +19324,20 @@ var getColumns$2 = function getColumns(_ref) {
19273
19324
  }
19274
19325
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, typeMap[val]);
19275
19326
  }
19327
+ }, {
19328
+ dataIndex: 'unitName',
19329
+ title: "\u57FA\u672C\u5355\u4F4D",
19330
+ ellipsis: true,
19331
+ width: 150,
19332
+ align: 'center',
19333
+ render: renderTextEllipsis
19334
+ }, {
19335
+ dataIndex: 'auxUnitName',
19336
+ title: "\u8F85\u52A9\u5355\u4F4D",
19337
+ ellipsis: true,
19338
+ width: 150,
19339
+ align: 'center',
19340
+ render: renderTextEllipsis
19276
19341
  }],
19277
19342
  //旺店通换出商品信息
19278
19343
  WDT_EXCHANGE_GOODS: [{
@@ -19349,7 +19414,8 @@ var getColumns$2 = function getColumns(_ref) {
19349
19414
  title: "\u5E73\u53F0\u89C4\u683CID",
19350
19415
  width: 180,
19351
19416
  align: 'center',
19352
- ellipsis: true
19417
+ ellipsis: true,
19418
+ render: renderTextEllipsis
19353
19419
  }, {
19354
19420
  dataIndex: 'brandName',
19355
19421
  title: "\u54C1\u724C\u540D\u79F0",
@@ -19436,6 +19502,20 @@ var getColumns$2 = function getColumns(_ref) {
19436
19502
  }
19437
19503
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, typeMap[val]);
19438
19504
  }
19505
+ }, {
19506
+ dataIndex: 'unitName',
19507
+ title: "\u57FA\u672C\u5355\u4F4D",
19508
+ ellipsis: true,
19509
+ width: 150,
19510
+ align: 'center',
19511
+ render: renderTextEllipsis
19512
+ }, {
19513
+ dataIndex: 'auxUnitName',
19514
+ title: "\u8F85\u52A9\u5355\u4F4D",
19515
+ ellipsis: true,
19516
+ width: 150,
19517
+ align: 'center',
19518
+ render: renderTextEllipsis
19439
19519
  }],
19440
19520
  // 旺店通售后商品信息
19441
19521
  WDT_AFTERSALE_GOODS: [{
@@ -19591,6 +19671,20 @@ var getColumns$2 = function getColumns(_ref) {
19591
19671
  align: 'center',
19592
19672
  ellipsis: true,
19593
19673
  render: renderTextEllipsis
19674
+ }, {
19675
+ dataIndex: 'unitName',
19676
+ title: "\u57FA\u672C\u5355\u4F4D",
19677
+ ellipsis: true,
19678
+ width: 150,
19679
+ align: 'center',
19680
+ render: renderTextEllipsis
19681
+ }, {
19682
+ dataIndex: 'auxUnitName',
19683
+ title: "\u8F85\u52A9\u5355\u4F4D",
19684
+ ellipsis: true,
19685
+ width: 150,
19686
+ align: 'center',
19687
+ render: renderTextEllipsis
19594
19688
  }]
19595
19689
  };
19596
19690
  };
@@ -20273,7 +20367,7 @@ var getColumns$5 = function getColumns() {
20273
20367
  ellipsis: true,
20274
20368
  align: 'center',
20275
20369
  render: function render(val, record, index) {
20276
- return (record.qty || 0) * (+record.salePrice || 0);
20370
+ return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20277
20371
  }
20278
20372
  }, {
20279
20373
  dataIndex: 'batchId',
@@ -20561,7 +20655,7 @@ var getColumns$5 = function getColumns() {
20561
20655
  dataIndex: 'saleAmount',
20562
20656
  title: '总金额',
20563
20657
  render: function render(val, record) {
20564
- return (record.qty || 0) * (+record.salePrice || 0);
20658
+ return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20565
20659
  }
20566
20660
  }, {
20567
20661
  dataIndex: 'batchId',
@@ -20676,7 +20770,7 @@ var getColumns$5 = function getColumns() {
20676
20770
  dataIndex: 'saleAmount',
20677
20771
  title: '总金额',
20678
20772
  render: function render(val, record) {
20679
- return (record.qty || 0) * (+record.salePrice || 0);
20773
+ return ((record.qty || 0) * (+record.salePrice || 0)).toFixed(2);
20680
20774
  }
20681
20775
  }, {
20682
20776
  dataIndex: 'isGift',
@@ -21544,6 +21638,12 @@ var getColumns$7 = function getColumns(_ref) {
21544
21638
  width: 150,
21545
21639
  render: function render(val, record, index) {
21546
21640
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
21641
+ dropdownStyle: {
21642
+ zIndex: 2000
21643
+ },
21644
+ getPopupContainer: function getPopupContainer() {
21645
+ return document.body;
21646
+ },
21547
21647
  value: val,
21548
21648
  onChange: function onChange(value) {
21549
21649
  updateHandle(value, index, 'bfit');
@@ -21573,6 +21673,12 @@ var getColumns$7 = function getColumns(_ref) {
21573
21673
  width: 150,
21574
21674
  render: function render(val, record, index) {
21575
21675
  return record.canEdit && !disabled ? /*#__PURE__*/React__default['default'].createElement(antd.Select, {
21676
+ dropdownStyle: {
21677
+ zIndex: 2000
21678
+ },
21679
+ getPopupContainer: function getPopupContainer() {
21680
+ return document.body;
21681
+ },
21576
21682
  value: val,
21577
21683
  onChange: function onChange(value) {
21578
21684
  updateHandle(value, index, 'gift');
@@ -22331,7 +22437,7 @@ var SelectTradeGoods = function SelectTradeGoods(_ref) {
22331
22437
  }
22332
22438
  }, isShowSelect && /*#__PURE__*/React__default['default'].createElement(antd.Row, {
22333
22439
  style: {
22334
- marginBottom: '20px'
22440
+ marginBottom: '12px'
22335
22441
  }
22336
22442
  }, /*#__PURE__*/React__default['default'].createElement(antd.Col, {
22337
22443
  span: 12
@@ -27246,7 +27352,7 @@ var MsgStatus = function MsgStatus(props) {
27246
27352
  onClick: function onClick() {
27247
27353
  return setChangeIndex(index);
27248
27354
  }
27249
- }, kmkfUtils.msgTypeCh[key], item.ruleName);
27355
+ }, kmkfUtils.msgTypeCh[key] || key, item.ruleName);
27250
27356
  }))) : null, type === 1 ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, other), {}, {
27251
27357
  showSearch: true,
27252
27358
  value: (_value$changeIndex = value[changeIndex]) === null || _value$changeIndex === void 0 ? void 0 : _value$changeIndex.status,
@@ -27824,7 +27930,7 @@ var GyReissue = function GyReissue(props) {
27824
27930
  span: 12
27825
27931
  },
27826
27932
  sm: {
27827
- span: 6
27933
+ span: 4
27828
27934
  }
27829
27935
  }, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
27830
27936
  style: {
@@ -28127,7 +28233,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
28127
28233
  span: 12
28128
28234
  },
28129
28235
  sm: {
28130
- span: 6
28236
+ span: 4
28131
28237
  }
28132
28238
  }, /*#__PURE__*/React__default['default'].createElement(antd.Cascader, {
28133
28239
  style: {
@@ -26,8 +26,8 @@ type SubFormProps = {
26
26
  tableHeader: subConfigType[];
27
27
  disabled: boolean;
28
28
  platform: string;
29
- manual?: boolean;
30
29
  maxCount?: number;
30
+ manual?: boolean;
31
31
  };
32
32
  declare const SubForm: (props: SubFormProps) => React.JSX.Element;
33
33
  export default SubForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.2.38",
3
+ "version": "2.2.39-beta.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.2.36",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.2.39-beta.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": "741f07c6a183ec58d39233a2eded57eb1f782fa1"
69
+ "gitHead": "f82a22c49823b028d86f334945b5914dac4dc190"
70
70
  }