@kmkf-fe-packages/basic-components 2.2.31-beta.44 → 2.2.31-beta.46

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
@@ -3,7 +3,7 @@ import { Cascader, DatePicker, Image, InputNumber, Input, Select, Upload, messag
3
3
  import { EyeOutlined, DeleteOutlined, CloseOutlined, PlusSquareOutlined, MinusCircleFilled, PlusCircleFilled, CopyOutlined, CloseCircleOutlined, CaretUpOutlined, UpOutlined, DownOutlined, PlusOutlined, VideoCameraTwoTone } from '@ant-design/icons';
4
4
  import request, { extend as extend$1 } from 'umi-request';
5
5
  import { CopyToClipboard } from 'react-copy-to-clipboard';
6
- import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, isNull, imgResize, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, hasAddNullComponent, SUBMIT_TIME_ID, UPGRADE_TIME_ID, FINAL_TIME_ID, CUSTOM_TIME_ID, useStatus, finalFormData, transformList, dataSourceTrans, DATA_SPLIT_COMPONENT_FIELDS_MAP, findLabelBySelectValue, BS_E3_BOOLEAN_STATUS_MAP, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterJyOrders, JY_ORDER_TYPE_MAP, JY_ORDER_STATUS_MAP, filterKmOrders, getSystemShowHead, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, updateOrderSubFormGoodsHandle, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, updateJyGoodsHandle, updateWdtAftersaleGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, skxReturnSystemOrderBackValues, formatTrade, updateSkxGoodsHandle, formatReturnTrade, updateSkxReturnGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
6
+ import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, JstAddressData, ExpressData, isNull, imgResize, uuid, servers, columnsGoodsList, LogisticsAddressData, SendDataCenter, hasAddNullComponent, SUBMIT_TIME_ID, UPGRADE_TIME_ID, FINAL_TIME_ID, CUSTOM_TIME_ID, useStatus, finalFormData, transformList, dataSourceTrans, DATA_SPLIT_COMPONENT_FIELDS_MAP, findLabelBySelectValue, BS_E3_BOOLEAN_STATUS_MAP, filterWdtOrders, WDT_ORDER_TYPE_MAP, tradeStatusMap, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterJyOrders, JY_ORDER_TYPE_MAP, JY_ORDER_STATUS_MAP, filterKmOrders, getSystemShowHead, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, JY_SYSTEM_ORDER_CONFIG, WDT_RETURN_BILL_NO_CONFIG, updateOrderSubFormGoodsHandle, updateWlnGoodsHandle, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, updateKmGoodsHandle, updateJyGoodsHandle, updateWdtAftersaleGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog, skxSystemOrderBackValues, skxReturnSystemOrderBackValues, formatTrade, updateSkxGoodsHandle, formatReturnTrade, updateSkxReturnGoodsHandle } from '@kmkf-fe-packages/kmkf-utils';
7
7
  import every from 'lodash/every';
8
8
  import maxBy from 'lodash/maxBy';
9
9
  import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, uniqBy, cloneDeep, difference, differenceWith, isBoolean, isEqual, takeRight, reject as reject$1, intersection, isEmpty } from 'lodash';
@@ -7912,6 +7912,7 @@ var IdentifyAddress = function IdentifyAddress(props) {
7912
7912
  wdt: WdtAddressData,
7913
7913
  gy: GyAddressData,
7914
7914
  km: AddressData,
7915
+ jst: JstAddressData,
7915
7916
  workOrder: AddressData
7916
7917
  }[type] || AddressData).getInstance();
7917
7918
  if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
@@ -18980,6 +18981,14 @@ var getColumns$2 = function getColumns(_ref) {
18980
18981
  title: "\u8D60\u54C1\u65B9\u5F0F",
18981
18982
  width: 100,
18982
18983
  render: renderGiftType
18984
+ }, {
18985
+ dataIndex: 'specUnitName',
18986
+ title: "\u57FA\u672C\u5355\u4F4D",
18987
+ width: 150
18988
+ }, {
18989
+ dataIndex: 'specAuxUnitName',
18990
+ title: "\u8F85\u52A9\u5355\u4F4D",
18991
+ width: 150
18983
18992
  }],
18984
18993
  //旺店通商品信息
18985
18994
  WDT_GOODS: [{
@@ -19105,6 +19114,14 @@ var getColumns$2 = function getColumns(_ref) {
19105
19114
  align: 'center',
19106
19115
  ellipsis: true,
19107
19116
  width: 100
19117
+ }, {
19118
+ dataIndex: 'specUnitName',
19119
+ title: "\u57FA\u672C\u5355\u4F4D",
19120
+ width: 150
19121
+ }, {
19122
+ dataIndex: 'specAuxUnitName',
19123
+ title: "\u8F85\u52A9\u5355\u4F4D",
19124
+ width: 150
19108
19125
  }],
19109
19126
  //旺店通退货商品信息
19110
19127
  WDT_RETURN_GOODS: [{
@@ -19269,6 +19286,14 @@ var getColumns$2 = function getColumns(_ref) {
19269
19286
  }
19270
19287
  }) : /*#__PURE__*/React.createElement("span", null, typeMap[val]);
19271
19288
  }
19289
+ }, {
19290
+ dataIndex: 'specUnitName',
19291
+ title: "\u57FA\u672C\u5355\u4F4D",
19292
+ width: 150
19293
+ }, {
19294
+ dataIndex: 'specAuxUnitName',
19295
+ title: "\u8F85\u52A9\u5355\u4F4D",
19296
+ width: 150
19272
19297
  }],
19273
19298
  //旺店通换出商品信息
19274
19299
  WDT_EXCHANGE_GOODS: [{
@@ -19433,6 +19458,14 @@ var getColumns$2 = function getColumns(_ref) {
19433
19458
  }
19434
19459
  }) : /*#__PURE__*/React.createElement("span", null, typeMap[val]);
19435
19460
  }
19461
+ }, {
19462
+ dataIndex: 'specUnitName',
19463
+ title: "\u57FA\u672C\u5355\u4F4D",
19464
+ width: 150
19465
+ }, {
19466
+ dataIndex: 'specAuxUnitName',
19467
+ title: "\u8F85\u52A9\u5355\u4F4D",
19468
+ width: 150
19436
19469
  }],
19437
19470
  // 旺店通售后商品信息
19438
19471
  WDT_AFTERSALE_GOODS: [{
@@ -19588,6 +19621,14 @@ var getColumns$2 = function getColumns(_ref) {
19588
19621
  align: 'center',
19589
19622
  ellipsis: true,
19590
19623
  render: renderTextEllipsis
19624
+ }, {
19625
+ dataIndex: 'specUnitName',
19626
+ title: "\u57FA\u672C\u5355\u4F4D",
19627
+ width: 150
19628
+ }, {
19629
+ dataIndex: 'specAuxUnitName',
19630
+ title: "\u8F85\u52A9\u5355\u4F4D",
19631
+ width: 150
19591
19632
  }]
19592
19633
  };
19593
19634
  };
@@ -26368,7 +26409,7 @@ var PublicReissue = function PublicReissue(props) {
26368
26409
  var _order$typeMap$type$g;
26369
26410
  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;
26370
26411
  });
26371
- var goodDetails = hasGoodDetails ? typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.updateGoodsHandle(orders, orderRest)) : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.updateGoodsHandle(orders, orderRest) : [];
26412
+ var goodDetails = hasGoodDetails ? !isAllOrders && typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.updateGoodsHandle(orders, orderRest)) : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.updateGoodsHandle(orders, orderRest) : [];
26372
26413
  var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
26373
26414
  var list = mode && !isAllOrders ? goodDetails.filter(function (goodItem) {
26374
26415
  return !orderNo || goodItem[typeMap$2[type].outerOiIdKey] === orderNo;
package/dist/index.js CHANGED
@@ -7927,6 +7927,7 @@ var IdentifyAddress = function IdentifyAddress(props) {
7927
7927
  wdt: kmkfUtils.WdtAddressData,
7928
7928
  gy: kmkfUtils.GyAddressData,
7929
7929
  km: kmkfUtils.AddressData,
7930
+ jst: kmkfUtils.JstAddressData,
7930
7931
  workOrder: kmkfUtils.AddressData
7931
7932
  }[type] || kmkfUtils.AddressData).getInstance();
7932
7933
  if ((val === null || val === void 0 ? void 0 : val.province) && addressData.getProCodeByName(val === null || val === void 0 ? void 0 : val.province)) {
@@ -18995,6 +18996,14 @@ var getColumns$2 = function getColumns(_ref) {
18995
18996
  title: "\u8D60\u54C1\u65B9\u5F0F",
18996
18997
  width: 100,
18997
18998
  render: renderGiftType
18999
+ }, {
19000
+ dataIndex: 'specUnitName',
19001
+ title: "\u57FA\u672C\u5355\u4F4D",
19002
+ width: 150
19003
+ }, {
19004
+ dataIndex: 'specAuxUnitName',
19005
+ title: "\u8F85\u52A9\u5355\u4F4D",
19006
+ width: 150
18998
19007
  }],
18999
19008
  //旺店通商品信息
19000
19009
  WDT_GOODS: [{
@@ -19120,6 +19129,14 @@ var getColumns$2 = function getColumns(_ref) {
19120
19129
  align: 'center',
19121
19130
  ellipsis: true,
19122
19131
  width: 100
19132
+ }, {
19133
+ dataIndex: 'specUnitName',
19134
+ title: "\u57FA\u672C\u5355\u4F4D",
19135
+ width: 150
19136
+ }, {
19137
+ dataIndex: 'specAuxUnitName',
19138
+ title: "\u8F85\u52A9\u5355\u4F4D",
19139
+ width: 150
19123
19140
  }],
19124
19141
  //旺店通退货商品信息
19125
19142
  WDT_RETURN_GOODS: [{
@@ -19284,6 +19301,14 @@ var getColumns$2 = function getColumns(_ref) {
19284
19301
  }
19285
19302
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, typeMap[val]);
19286
19303
  }
19304
+ }, {
19305
+ dataIndex: 'specUnitName',
19306
+ title: "\u57FA\u672C\u5355\u4F4D",
19307
+ width: 150
19308
+ }, {
19309
+ dataIndex: 'specAuxUnitName',
19310
+ title: "\u8F85\u52A9\u5355\u4F4D",
19311
+ width: 150
19287
19312
  }],
19288
19313
  //旺店通换出商品信息
19289
19314
  WDT_EXCHANGE_GOODS: [{
@@ -19448,6 +19473,14 @@ var getColumns$2 = function getColumns(_ref) {
19448
19473
  }
19449
19474
  }) : /*#__PURE__*/React__default['default'].createElement("span", null, typeMap[val]);
19450
19475
  }
19476
+ }, {
19477
+ dataIndex: 'specUnitName',
19478
+ title: "\u57FA\u672C\u5355\u4F4D",
19479
+ width: 150
19480
+ }, {
19481
+ dataIndex: 'specAuxUnitName',
19482
+ title: "\u8F85\u52A9\u5355\u4F4D",
19483
+ width: 150
19451
19484
  }],
19452
19485
  // 旺店通售后商品信息
19453
19486
  WDT_AFTERSALE_GOODS: [{
@@ -19603,6 +19636,14 @@ var getColumns$2 = function getColumns(_ref) {
19603
19636
  align: 'center',
19604
19637
  ellipsis: true,
19605
19638
  render: renderTextEllipsis
19639
+ }, {
19640
+ dataIndex: 'specUnitName',
19641
+ title: "\u57FA\u672C\u5355\u4F4D",
19642
+ width: 150
19643
+ }, {
19644
+ dataIndex: 'specAuxUnitName',
19645
+ title: "\u8F85\u52A9\u5355\u4F4D",
19646
+ width: 150
19606
19647
  }]
19607
19648
  };
19608
19649
  };
@@ -26383,7 +26424,7 @@ var PublicReissue = function PublicReissue(props) {
26383
26424
  var _order$typeMap$type$g;
26384
26425
  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;
26385
26426
  });
26386
- var goodDetails = hasGoodDetails ? typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.updateGoodsHandle(orders, orderRest)) : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.updateGoodsHandle(orders, orderRest) : [];
26427
+ var goodDetails = hasGoodDetails ? !isAllOrders && typeMap$2[type].mergeIdenticalGoods ? typeMap$2[type].mergeIdenticalGoods((_typeMap$type21 = typeMap$2[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.updateGoodsHandle(orders, orderRest)) : (_typeMap$type22 = typeMap$2[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.updateGoodsHandle(orders, orderRest) : [];
26387
26428
  var orderNo = systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orderNo;
26388
26429
  var list = mode && !isAllOrders ? goodDetails.filter(function (goodItem) {
26389
26430
  return !orderNo || goodItem[typeMap$2[type].outerOiIdKey] === orderNo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.2.31-beta.44",
3
+ "version": "2.2.31-beta.46",
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.31-beta.41",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.2.31-beta.45",
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": "8f996c8e136d7f3015e6d18ad866317341c385da"
69
+ "gitHead": "4dee11f9da4b5462e0f11e4b743ab947b62c765b"
70
70
  }