@kmkf-fe-packages/basic-components 2.7.3-beta.0 → 2.7.3-beta.10

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
@@ -15725,6 +15725,122 @@ var jkyColumns = [{
15725
15725
  }
15726
15726
  }];
15727
15727
 
15728
+ var getYesOrNo$3 = function getYesOrNo(val) {
15729
+ if (!isBoolean(val)) return null;
15730
+ return val ? '是' : '否';
15731
+ };
15732
+ var wlnColumns = [{
15733
+ dataIndex: 'goodName',
15734
+ title: '商品名称',
15735
+ width: 250,
15736
+ ellipsis: true,
15737
+ render: renderTextEllipsis
15738
+ }, {
15739
+ dataIndex: 'goodShortName',
15740
+ title: "\u5546\u54C1\u7B80\u79F0",
15741
+ ellipsis: true,
15742
+ width: 150,
15743
+ render: renderTextEllipsis
15744
+ }, {
15745
+ dataIndex: 'goodNo',
15746
+ title: '商品编码',
15747
+ width: 150,
15748
+ ellipsis: true,
15749
+ render: renderTextEllipsis
15750
+ }, {
15751
+ dataIndex: 'goodId',
15752
+ title: '商品ID',
15753
+ width: 200,
15754
+ ellipsis: true,
15755
+ render: renderTextEllipsis
15756
+ }, {
15757
+ dataIndex: 'goodPicUrl',
15758
+ title: '商品图片',
15759
+ width: 100,
15760
+ render: function render(picUrl) {
15761
+ return /*#__PURE__*/React.createElement("img", {
15762
+ style: {
15763
+ width: '30px',
15764
+ height: '30px',
15765
+ objectFit: 'contain'
15766
+ },
15767
+ src: picUrl
15768
+ });
15769
+ }
15770
+ }, {
15771
+ dataIndex: 'goodBarcode',
15772
+ title: '商品条码',
15773
+ width: 200,
15774
+ ellipsis: true,
15775
+ render: renderTextEllipsis
15776
+ }, {
15777
+ dataIndex: 'propertiesValue',
15778
+ title: '规格值',
15779
+ width: 200,
15780
+ ellipsis: true,
15781
+ render: renderTextEllipsis
15782
+ }, {
15783
+ dataIndex: 'specNo',
15784
+ title: "SKU\u7F16\u7801",
15785
+ ellipsis: true,
15786
+ width: 150,
15787
+ render: renderTextEllipsis
15788
+ }, {
15789
+ dataIndex: 'specId',
15790
+ title: "SKU ID",
15791
+ ellipsis: true,
15792
+ width: 150,
15793
+ render: renderTextEllipsis
15794
+ }, {
15795
+ dataIndex: 'specImgUrl',
15796
+ title: "SKU \u56FE\u7247",
15797
+ ellipsis: true,
15798
+ width: 150,
15799
+ render: function render(val) {
15800
+ return /*#__PURE__*/React.createElement(Image, {
15801
+ width: 30,
15802
+ src: val
15803
+ });
15804
+ }
15805
+ }, {
15806
+ dataIndex: 'specBarcode',
15807
+ title: '规格条码',
15808
+ width: 150,
15809
+ ellipsis: true,
15810
+ render: renderTextEllipsis
15811
+ }, {
15812
+ dataIndex: 'brandName',
15813
+ title: '品牌名称',
15814
+ width: 200,
15815
+ ellipsis: true,
15816
+ render: renderTextEllipsis
15817
+ }, {
15818
+ dataIndex: 'retailPrice',
15819
+ title: "\u96F6\u552E\u4EF7",
15820
+ ellipsis: true,
15821
+ width: 100,
15822
+ render: renderTextEllipsis
15823
+ }, {
15824
+ dataIndex: 'marketPrice',
15825
+ title: "\u5E02\u573A\u4EF7",
15826
+ ellipsis: true,
15827
+ width: 150,
15828
+ render: renderTextEllipsis
15829
+ }, {
15830
+ dataIndex: 'unitName',
15831
+ title: '基本单位',
15832
+ width: 150,
15833
+ render: renderTextEllipsis
15834
+ }, {
15835
+ dataIndex: 'skuType',
15836
+ title: "\u662F\u5426\u7EC4\u5408\u88C5",
15837
+ ellipsis: true,
15838
+ width: 150,
15839
+ render: function render(val) {
15840
+ return renderTextEllipsis(getYesOrNo$3(val === 'combine'));
15841
+ }
15842
+ }];
15843
+
15728
15844
  var getColumnsMap = function getColumnsMap() {
15729
15845
  return cloneDeep({
15730
15846
  gy: gyColumns,
@@ -15733,7 +15849,8 @@ var getColumnsMap = function getColumnsMap() {
15733
15849
  bse3: bse3Columns,
15734
15850
  km: kmColumns,
15735
15851
  jy: jyColumns,
15736
- jky: jkyColumns
15852
+ jky: jkyColumns,
15853
+ wln: wlnColumns
15737
15854
  });
15738
15855
  };
15739
15856
  var getColumnsBaseInfo = function getColumnsBaseInfo() {
@@ -17812,6 +17929,27 @@ var componentMap$1 = {
17812
17929
  onChange: props.handleChange
17813
17930
  }));
17814
17931
  },
17932
+ TagsSelect: function TagsSelect(props) {
17933
+ return "\u8BF7\u9009\u62E9".concat(props === null || props === void 0 ? void 0 : props.name).length > 10 ? /*#__PURE__*/React.createElement(Tooltip, {
17934
+ title: "\u8BF7\u9009\u62E9".concat(props === null || props === void 0 ? void 0 : props.name)
17935
+ }, /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
17936
+ mode: "tags",
17937
+ placeholder: "\u8BF7\u9009\u62E9".concat(props === null || props === void 0 ? void 0 : props.name),
17938
+ optionFilterProp: "label",
17939
+ allowClear: true,
17940
+ maxTagCount: "responsive"
17941
+ }, props), {}, {
17942
+ onChange: props.handleChange
17943
+ }))) : /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
17944
+ mode: "tags",
17945
+ placeholder: "\u8BF7\u9009\u62E9".concat(props === null || props === void 0 ? void 0 : props.name),
17946
+ optionFilterProp: "label",
17947
+ allowClear: true,
17948
+ maxTagCount: "responsive"
17949
+ }, props), {}, {
17950
+ onChange: props.handleChange
17951
+ }));
17952
+ },
17815
17953
  Date: function Date(props) {
17816
17954
  return /*#__PURE__*/React.createElement(RangePicker, _objectSpread2(_objectSpread2({
17817
17955
  placeholder: ["".concat(props.name, "\u5F00\u59CB\u65F6\u95F4"), "".concat(props.name, "\u7ED3\u675F\u65F6\u95F4")],
@@ -18773,21 +18911,36 @@ var getTableData$5 = function getTableData(_ref, formData) {
18773
18911
  });
18774
18912
  };
18775
18913
  var searchFormData$4 = [{
18776
- label: '规格名称',
18777
- name: 'skuName',
18778
- dataIndex: 'specName'
18914
+ label: '规格值',
18915
+ name: 'propertiesValue'
18779
18916
  }, {
18780
- label: '规格编码',
18781
- name: 'skuCode',
18782
- dataIndex: 'specNo',
18917
+ label: 'SKU编码',
18918
+ name: 'specNo',
18783
18919
  type: 'optionalInput'
18784
18920
  }, {
18785
- label: '货品名称',
18921
+ label: '商品名称',
18786
18922
  name: 'goodName'
18787
18923
  }, {
18788
- label: '货品编码',
18924
+ label: '商品编码',
18789
18925
  name: 'goodNo',
18790
18926
  type: 'optionalInput'
18927
+ }, {
18928
+ label: '是否组合装',
18929
+ name: 'skuType',
18930
+ type: 'select',
18931
+ formItemProps: {
18932
+ mode: 'multiple',
18933
+ filterOption: function filterOption(input, option) {
18934
+ return option.label.includes(input);
18935
+ },
18936
+ options: [{
18937
+ label: '普通商品',
18938
+ value: 'normal'
18939
+ }, {
18940
+ label: '组合装商品',
18941
+ value: 'combine'
18942
+ }]
18943
+ }
18791
18944
  }];
18792
18945
  var GoodList$5 = function GoodList(props, ref) {
18793
18946
  var _useState = useState([]),
@@ -20795,7 +20948,7 @@ var getColumns$2 = function getColumns(_ref) {
20795
20948
  };
20796
20949
  };
20797
20950
 
20798
- var getYesOrNo$3 = function getYesOrNo(val) {
20951
+ var getYesOrNo$4 = function getYesOrNo(val) {
20799
20952
  if (isNull(val)) return null;
20800
20953
  return val ? '是' : '否';
20801
20954
  };
@@ -20981,9 +21134,9 @@ var getColumns$3 = function getColumns(_ref) {
20981
21134
  label: '否',
20982
21135
  value: false
20983
21136
  }]
20984
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$3(val));
21137
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
20985
21138
  },
20986
- width: 100
21139
+ width: 200
20987
21140
  }, {
20988
21141
  dataIndex: 'hasRefund',
20989
21142
  title: "\u662F\u5426\u9000\u6B3E",
@@ -21003,7 +21156,7 @@ var getColumns$3 = function getColumns(_ref) {
21003
21156
  label: '否',
21004
21157
  value: 0
21005
21158
  }]
21006
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$3(val));
21159
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21007
21160
  }
21008
21161
  }, {
21009
21162
  dataIndex: 'unit',
@@ -21124,11 +21277,11 @@ var getColumns$3 = function getColumns(_ref) {
21124
21277
  width: 150,
21125
21278
  render: renderTextEllipsis
21126
21279
  }, {
21127
- dataIndex: 'money',
21128
- title: "\u5B9E\u4ED8\u91D1\u989D",
21280
+ dataIndex: 'price',
21281
+ title: "\u5355\u4EF7",
21129
21282
  align: 'center',
21130
21283
  ellipsis: true,
21131
- width: 100,
21284
+ width: 250,
21132
21285
  render: renderTextEllipsis
21133
21286
  }, {
21134
21287
  dataIndex: 'number',
@@ -21150,40 +21303,29 @@ var getColumns$3 = function getColumns(_ref) {
21150
21303
  }) : /*#__PURE__*/React.createElement("span", null, val);
21151
21304
  }
21152
21305
  }, {
21153
- dataIndex: 'share',
21154
- title: "\u5E94\u6536\u6B3E",
21155
- align: 'center',
21156
- ellipsis: true,
21157
- width: 70,
21158
- render: renderTextEllipsis
21159
- }, {
21160
- dataIndex: 'discountedUnitPrice',
21161
- title: "\u6298\u540E\u5355\u4EF7",
21162
- align: 'center',
21163
- ellipsis: true,
21164
- width: 250,
21165
- render: renderTextEllipsis
21166
- }, {
21167
- dataIndex: 'originPrice',
21168
- title: "\u539F\u4EF7",
21169
- align: 'center',
21170
- ellipsis: true,
21171
- width: 250,
21172
- render: renderTextEllipsis
21173
- }, {
21174
- dataIndex: 'price',
21175
- title: "\u5355\u4EF7",
21176
- align: 'center',
21177
- ellipsis: true,
21178
- width: 250,
21179
- render: renderTextEllipsis
21180
- }, {
21181
- dataIndex: 'receivable',
21182
- title: "\u9500\u552E\u91D1\u989D",
21183
- align: 'center',
21184
- ellipsis: true,
21185
- width: 250,
21186
- render: renderTextEllipsis
21306
+ dataIndex: 'outPrice',
21307
+ title: "\u5B9E\u4ED8\u91D1\u989D",
21308
+ width: 150,
21309
+ render: function render(_, record, index) {
21310
+ var value;
21311
+ if ((typeof record.number === 'number' || record.number) && (typeof record.price === 'number' || record.price)) {
21312
+ value = +(record.number * record.price).toFixed(2);
21313
+ }
21314
+ if (record.canUpdateNumber && !disabled) {
21315
+ return /*#__PURE__*/React.createElement(InputNumber, {
21316
+ style: {
21317
+ width: 70
21318
+ },
21319
+ value: value,
21320
+ min: 1,
21321
+ precision: 0,
21322
+ onChange: function onChange(num) {
21323
+ return updateHandle(num, index, 'total');
21324
+ }
21325
+ });
21326
+ }
21327
+ return value || value === 0 ? value : '';
21328
+ }
21187
21329
  }, {
21188
21330
  dataIndex: 'type',
21189
21331
  title: "\u8D60\u54C1\u7C7B\u578B",
@@ -21209,30 +21351,9 @@ var getColumns$3 = function getColumns(_ref) {
21209
21351
  label: '否',
21210
21352
  value: false
21211
21353
  }]
21212
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$3(val));
21354
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21213
21355
  },
21214
21356
  width: 100
21215
- }, {
21216
- dataIndex: 'hasRefund',
21217
- title: "\u662F\u5426\u9000\u6B3E",
21218
- align: 'center',
21219
- ellipsis: true,
21220
- width: 100,
21221
- render: function render(val, record, index) {
21222
- return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
21223
- value: val,
21224
- onChange: function onChange(value) {
21225
- updateHandle(value, index, 'isGift');
21226
- },
21227
- options: [{
21228
- label: '是',
21229
- value: 1
21230
- }, {
21231
- label: '否',
21232
- value: 0
21233
- }]
21234
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$3(val));
21235
- }
21236
21357
  }, {
21237
21358
  dataIndex: 'unit',
21238
21359
  title: "\u5355\u4F4D",
@@ -21270,7 +21391,7 @@ var isNumberOrNumberString$1 = function isNumberOrNumberString(value) {
21270
21391
  if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
21271
21392
  return false;
21272
21393
  };
21273
- var getYesOrNo$4 = function getYesOrNo(val) {
21394
+ var getYesOrNo$5 = function getYesOrNo(val) {
21274
21395
  if (isNull(val)) return null;
21275
21396
  return val ? '是' : '否';
21276
21397
  };
@@ -21385,7 +21506,7 @@ var getColumns$4 = function getColumns(_ref) {
21385
21506
  title: "\u662F\u5426\u53D6\u6D88",
21386
21507
  width: 150,
21387
21508
  render: function render(val) {
21388
- return /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21509
+ return /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21389
21510
  }
21390
21511
  }, {
21391
21512
  dataIndex: 'isGift',
@@ -21404,7 +21525,7 @@ var getColumns$4 = function getColumns(_ref) {
21404
21525
  label: '否',
21405
21526
  value: 0
21406
21527
  }]
21407
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21528
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21408
21529
  }
21409
21530
  }, {
21410
21531
  dataIndex: 'skuNote',
@@ -21530,7 +21651,7 @@ var getColumns$4 = function getColumns(_ref) {
21530
21651
  label: '否',
21531
21652
  value: 0
21532
21653
  }]
21533
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21654
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21534
21655
  }
21535
21656
  }].map(function (item) {
21536
21657
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -21659,7 +21780,7 @@ var getColumns$4 = function getColumns(_ref) {
21659
21780
  label: '否',
21660
21781
  value: 0
21661
21782
  }]
21662
- }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$4(val));
21783
+ }) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$5(val));
21663
21784
  }
21664
21785
  }].map(function (item) {
21665
21786
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -24534,35 +24655,51 @@ var processWlnGoods$1 = function processWlnGoods(_ref4) {
24534
24655
  var list = _ref4.list,
24535
24656
  canUpdateNumber = _ref4.canUpdateNumber;
24536
24657
  return list.map(function (item) {
24537
- // const {
24538
- // goodName, // 商品名称
24539
- // goodNo, // 商品编码
24540
- // goodId, // 商品ID
24541
- // specBarcode, // 规格条码
24542
- // retailPrice, // 零售价
24543
- // isGift, // 是否赠品
24544
- // skuType,
24545
- // specImgUrl, // 规格图片
24546
- // categoryName, //货品分类
24547
- // } = item;
24658
+ var goodName = item.goodName,
24659
+ goodShortName = item.goodShortName,
24660
+ goodNo = item.goodNo,
24661
+ goodId = item.goodId,
24662
+ goodBarcode = item.goodBarcode,
24663
+ propertiesValue = item.propertiesValue,
24664
+ specNo = item.specNo,
24665
+ specId = item.specId,
24666
+ specImgUrl = item.specImgUrl,
24667
+ specBarcode = item.specBarcode,
24668
+ brandName = item.brandName,
24669
+ retailPrice = item.retailPrice,
24670
+ marketPrice = item.marketPrice,
24671
+ unitName = item.unitName,
24672
+ skuType = item.skuType;
24548
24673
  return _objectSpread2(_objectSpread2({}, item), {}, {
24549
- // cateName: categoryName,
24550
- // goodsName: goodName,
24551
- // goodsNo: goodNo,
24552
- // goodsId: goodId,
24553
- // barcode: specBarcode,
24554
- // skuImgUrl: specImgUrl,
24555
- // combinationName: goodName,
24556
- // combinationCode: goodNo,
24557
- // isGift: isGift ? 1 : 0,
24558
- // isFit: skuType === 'combine' ? 1 : 0,
24674
+ wlnItemName: goodName,
24675
+ goodsCode: goodNo,
24676
+ wlnSkuName: propertiesValue,
24677
+ skuCode: specNo,
24678
+ // skuName: '', // "线上sku名称",
24679
+ // olnSkuCode: '', // "线上sku编码",
24680
+ // sku: '', // "线上sku id",
24681
+ // name: '', // "线上商品名称",
24682
+ // pic: '', // "线上图片",
24683
+ // olnItemCOde: '', // "线上商品编码",
24684
+ // code: '', // "线上商品id",
24685
+ barCode: goodBarcode,
24686
+ // money: '', // "实付金额",
24687
+ number: 1,
24688
+ share: '',
24689
+ // discountedUnitPrice: '', // "折后单价",
24690
+ originPrice: marketPrice,
24691
+ price: retailPrice,
24692
+ receivable: +((marketPrice || 0) * (retailPrice || 0)).toFixed(2),
24693
+ // type: '', // "赠品类型",
24694
+ isPackage: skuType === 'combine',
24695
+ // hasRefund: '', // 是否退款,
24696
+ unit: unitName,
24697
+ // pkgGoodsName: '', // "原组合商品名称",
24698
+ // pkgGoodsCode: '', // "原组合商品编码",
24699
+ // pkgGoodsId: '', // "原组合商品id",
24559
24700
  uuid: uuid(),
24560
24701
  canDelete: true,
24561
- sellCount: 1,
24562
- // sellPrice: retailPrice,
24563
- // sellTotal: retailPrice ? (retailPrice * 1).toFixed(2) : '',
24564
24702
  canEdit: true
24565
- // canUpdateNumber,
24566
24703
  });
24567
24704
  });
24568
24705
  };
@@ -24766,6 +24903,7 @@ var GoodsModalMap = {
24766
24903
  JKY_GOODS: JkyGoodsModal$1,
24767
24904
  JKY_REISSUE_GOODS: JkyGoodsModal$1,
24768
24905
  WLN_REISSUE_GOODS: WlnGoodsModal$1,
24906
+ WLN_GOODS: WlnGoodsModal$1,
24769
24907
  OTHER_GOODS: GoodsModal$2
24770
24908
  };
24771
24909
  var systemOrderNoMap = {
@@ -25456,6 +25594,7 @@ var GoodItem$1 = function GoodItem(props) {
25456
25594
  templateDetail: templateDetail
25457
25595
  }));
25458
25596
  };
25597
+ GoodItem$1.displayName = 'GoodItem';
25459
25598
 
25460
25599
  var BsGoods = function BsGoods(props) {
25461
25600
  var _withInfo$current3, _withInfo$current4;
@@ -26307,6 +26446,10 @@ var getOrderListSingleton = function getOrderListSingleton(orderNo) {
26307
26446
  }
26308
26447
  }).then(function (data) {
26309
26448
  if (data === null || data === void 0 ? void 0 : data.success) {
26449
+ var _data$data;
26450
+ if ((_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.tradeNo) {
26451
+ data.data.tradeNo = orderNo;
26452
+ }
26310
26453
  resolve(data.data);
26311
26454
  // 延迟10秒清除,保证订单的时效性
26312
26455
  setTimeout(function () {
@@ -29513,9 +29656,9 @@ var typeMap$2 = {
29513
29656
  updateGoodsHandle: updateWlnGoodsHandle,
29514
29657
  alwaysShowChooseErpGoodsBtn: true,
29515
29658
  orderTypeKey: 'orderType',
29516
- oIdKey: 'tradeNo',
29517
- outerOiIdKey: 'sourceSubtradeNo',
29518
- goodDetailsKey: 'goodsDetail',
29659
+ oIdKey: 'billNo',
29660
+ outerOiIdKey: 'tpTid',
29661
+ goodDetailsKey: 'items',
29519
29662
  isShowSelectTradeGoods: true,
29520
29663
  showModeBtn: true
29521
29664
  }
@@ -29577,7 +29720,7 @@ var PublicReissue = function PublicReissue(props) {
29577
29720
  case 0:
29578
29721
  (_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.getOrderList(orderNo).then(function (data) {
29579
29722
  var _valueRef$current3, _typeMap$type6, _typeMap$type7, _typeMap$type11, _ref3, _typeMap$type12;
29580
- var orders = data || [];
29723
+ var orders = (type === 'WLN_REISSUE_GOODS' ? data === null || data === void 0 ? void 0 : data.orders : data) || [];
29581
29724
  var showOrderInfo = orders === null || orders === void 0 ? void 0 : orders.map(function (orderItem) {
29582
29725
  return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
29583
29726
  });
@@ -29626,6 +29769,7 @@ var PublicReissue = function PublicReissue(props) {
29626
29769
  // 切换到非原单,清空列表
29627
29770
  newValue[(_typeMap$type15 = typeMap$2[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.key] = [];
29628
29771
  }
29772
+ console.log('**** changeTypeHandle', newValue);
29629
29773
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
29630
29774
  };
29631
29775
  var handleModeChange = function handleModeChange(mode) {
@@ -73,5 +73,8 @@ export declare const SelectTradeGoods: {
73
73
  ({ columns, dataSource, getDataSourceAsync, selectedRowKeys, onChangeSelectedKeys, uniqueKey, isShowSelect, systemOrders, selectedSystemOrders, validSystemOrder, type, width, isReissueType, isReloadSelectTable, validSystemOrderFn, }: SelectTradeGoodsProps): React.JSX.Element;
74
74
  displayName: string;
75
75
  };
76
- declare const GoodItem: (props: MakeRequired<Partial<BsGoodsProps>, 'useGoodsSourceFormat'>) => React.JSX.Element;
76
+ declare const GoodItem: {
77
+ (props: MakeRequired<Partial<BsGoodsProps>, 'useGoodsSourceFormat'>): React.JSX.Element;
78
+ displayName: string;
79
+ };
77
80
  export default GoodItem;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ declare const _default: ({
3
+ dataIndex: string;
4
+ title: string;
5
+ width: number;
6
+ render: (picUrl: string) => React.JSX.Element;
7
+ ellipsis?: undefined;
8
+ } | {
9
+ dataIndex: string;
10
+ title: string;
11
+ ellipsis: boolean;
12
+ width: number;
13
+ render: (val: string) => React.JSX.Element;
14
+ })[];
15
+ export default _default;
@@ -23,11 +23,19 @@ declare const SYSTEM_ORDER_COLUMNS_MAP: {
23
23
  render: (val: string[]) => string;
24
24
  renderExport: (val: string[]) => string;
25
25
  })[];
26
- WLN_SYSTEM_ORDER: {
26
+ WLN_SYSTEM_ORDER: ({
27
27
  title: string;
28
28
  dataIndex: string;
29
29
  width: number;
30
- }[];
30
+ render?: undefined;
31
+ renderExport?: undefined;
32
+ } | {
33
+ title: string;
34
+ dataIndex: string;
35
+ width: number;
36
+ render: (val: any, record: any) => any;
37
+ renderExport: (val: any, record: any) => any;
38
+ })[];
31
39
  WDT_SYSTEM_ORDER: {
32
40
  title: string;
33
41
  dataIndex: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.7.3-beta.0",
3
+ "version": "2.7.3-beta.10",
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.7.3-beta.0",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.7.3-beta.10",
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": "8c80641421cc67b5f77f17fbe4db443014610338"
69
+ "gitHead": "a3b928789d7e0dcdba730abd31155cdfbeeb1709"
70
70
  }