@kmkf-fe-packages/basic-components 2.7.0 → 2.7.2-rc.0

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
@@ -9132,6 +9132,10 @@ var processErpTradeId = function processErpTradeId(getValue) {
9132
9132
  EXCHANGE_TRADE_ID: {
9133
9133
  key: 'tradeItemList',
9134
9134
  defaultValue: []
9135
+ },
9136
+ SWAP_OUT_TRADE_ID: {
9137
+ key: 'tradeItemList',
9138
+ defaultValue: []
9135
9139
  }
9136
9140
  };
9137
9141
  return _defineProperty({}, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_").concat(SYSTEM_ORDER_MAP[nex.workOrderComponentType].key)), SYSTEM_ORDER_MAP[nex.workOrderComponentType].defaultValue));
@@ -9499,6 +9503,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
9499
9503
  RETURN_GOODS_TRADE_ID: processErpTradeId,
9500
9504
  BS_DELIVERY_NO: processErpTradeId,
9501
9505
  REISSUE_TRADE_ID: processErpTradeId,
9506
+ SWAP_OUT_TRADE_ID: processErpTradeId,
9502
9507
  ERP_AFTER_SALE_TRADE_ID: processErpTradeId,
9503
9508
  EXCHANGE_TRADE_ID: processErpTradeId,
9504
9509
  WLN_GOODS: processWlnGoods(templateColumns),
@@ -13144,10 +13149,11 @@ var LogisticsInterception = function LogisticsInterception(props) {
13144
13149
  onJumpPage = props.onJumpPage,
13145
13150
  _props$showReason = props.showReason,
13146
13151
  showReason = _props$showReason === void 0 ? false : _props$showReason;
13147
- var _useState = useState(''),
13148
- _useState2 = _slicedToArray(_useState, 2),
13149
- initCompany = _useState2[0],
13150
- setInitCompany = _useState2[1];
13152
+ var _useState = useState(function () {
13153
+ return (value === null || value === void 0 ? void 0 : value.interceptCompany) || undefined;
13154
+ }),
13155
+ _useState2 = _slicedToArray(_useState, 1),
13156
+ initCompany = _useState2[0];
13151
13157
  var _useState3 = useState([]),
13152
13158
  _useState4 = _slicedToArray(_useState3, 2),
13153
13159
  typeOptions = _useState4[0],
@@ -13160,13 +13166,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
13160
13166
  _useState8 = _slicedToArray(_useState7, 2),
13161
13167
  isInterface = _useState8[0],
13162
13168
  setIsInterface = _useState8[1];
13163
- var firstIn = useRef(true);
13164
13169
  useEffect(function () {
13165
- //存入第一次的物流地址,防止非对接物流切换成对接物流后无法编辑
13166
- if (firstIn.current && (value === null || value === void 0 ? void 0 : value.interceptCompany)) {
13167
- setInitCompany(value === null || value === void 0 ? void 0 : value.interceptCompany);
13168
- firstIn.current = false;
13169
- }
13170
13170
  if (!(value === null || value === void 0 ? void 0 : value.interceptCompany)) {
13171
13171
  setTypeOptions([]);
13172
13172
  setStatusOptions([]);
@@ -24058,7 +24058,7 @@ var processKmGoods$1 = function processKmGoods(_ref8) {
24058
24058
  sysTitle: item.goodName,
24059
24059
  title: null,
24060
24060
  shortTitle: item.goodShortName,
24061
- sysOuterId: item.goodNo,
24061
+ sysOuterId: item.specNo,
24062
24062
  outerId: item.goodNo,
24063
24063
  skuSysId: item.specId,
24064
24064
  sysSkuId: item.specId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.7.0",
3
+ "version": "2.7.2-rc.0",
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.6.0",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.7.2-rc.0",
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": "d54565625fe23336f505c9312cea19b57e653149"
69
+ "gitHead": "4f2299ac2ee476193a52c6920905684288ee1c71"
70
70
  }