@kmkf-fe-packages/basic-components 2.0.54-beta.49 → 2.0.54-beta.50

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
@@ -20890,7 +20890,7 @@ var typeMap$4 = {
20890
20890
  }
20891
20891
  };
20892
20892
  var GyReissue = function GyReissue(props) {
20893
- var _typeMap$type27, _typeMap$type28, _typeMap$type29, _systemOrder$orders, _typeMap$type30, _value$typeMap$type$s5, _typeMap$type31, _typeMap$type32, _typeMap$type33;
20893
+ var _typeMap$type29, _typeMap$type30, _typeMap$type31, _systemOrder$orders, _typeMap$type32, _value$typeMap$type$s7, _typeMap$type33, _typeMap$type34, _typeMap$type35;
20894
20894
  var value = props.value,
20895
20895
  onChange = props.onChange,
20896
20896
  _props$reasonList = props.reasonList,
@@ -20902,6 +20902,7 @@ var GyReissue = function GyReissue(props) {
20902
20902
  // const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
20903
20903
  // order?.platformCode?.includes(';'),
20904
20904
  // );
20905
+ var getVipCodeFlag = useRef(false);
20905
20906
  var getOrderFlag = useRef(false);
20906
20907
  var valueRef = useRef(null);
20907
20908
  var _useState = useState(false),
@@ -20909,23 +20910,27 @@ var GyReissue = function GyReissue(props) {
20909
20910
  isStrict = _useState2[0],
20910
20911
  setIsStrict = _useState2[1];
20911
20912
  useEffect(function () {
20912
- var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
20913
+ var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2, _typeMap$type4, _value$typeMap$type$s5, _typeMap$type5;
20913
20914
  valueRef.current = value;
20914
20915
  if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$4[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$4[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
20915
20916
  var _value$typeMap$type$s4, _typeMap$type3;
20916
20917
  getOrderFlag.current = true;
20917
20918
  getOrderList(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s4 = value[(_typeMap$type3 = typeMap$4[type]) === null || _typeMap$type3 === void 0 ? void 0 : _typeMap$type3.systemOrder]) === null || _value$typeMap$type$s4 === void 0 ? void 0 : _value$typeMap$type$s4.orderNo);
20919
+ } else if (!getVipCodeFlag.current && (value === null || value === void 0 ? void 0 : value[(_typeMap$type4 = typeMap$4[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.systemOrderNo]) && !(value === null || value === void 0 ? void 0 : value.vipCode) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.orderNo)) {
20920
+ var _value$typeMap$type$s6, _typeMap$type6;
20921
+ getVipCodeFlag.current = true;
20922
+ getVipCode(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.orderNo);
20918
20923
  }
20919
20924
  return;
20920
20925
  }, [value]);
20921
20926
  var getOrderList = /*#__PURE__*/function () {
20922
20927
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
20923
- var _typeMap$type4;
20928
+ var _typeMap$type7;
20924
20929
  return _regeneratorRuntime().wrap(function _callee$(_context) {
20925
20930
  while (1) switch (_context.prev = _context.next) {
20926
20931
  case 0:
20927
- (_typeMap$type4 = typeMap$4[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
20928
- var _typeMap$type5, _ref3, _typeMap$type6, _typeMap$type7, _ref4, _typeMap$type8;
20932
+ (_typeMap$type7 = typeMap$4[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.getOrderList(orderNo).then(function (data) {
20933
+ var _typeMap$type8, _ref3, _typeMap$type9, _orders$, _orders$2, _objectSpread2$1;
20929
20934
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
20930
20935
  var showOrderInfo = orders.map(function (_ref2) {
20931
20936
  var billNo = _ref2.billNo,
@@ -20947,17 +20952,15 @@ var GyReissue = function GyReissue(props) {
20947
20952
  shopCode: shopCode
20948
20953
  });
20949
20954
  });
20955
+ var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, (_objectSpread2$1 = {}, _defineProperty(_objectSpread2$1, (_typeMap$type8 = typeMap$4[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type9 = typeMap$4[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.systemOrder]) || {}), {}, {
20956
+ showOrderInfo: showOrderInfo,
20957
+ orders: orders
20958
+ })), _defineProperty(_objectSpread2$1, "shopCode", (valueRef.current || {}).shopCode || (orders === null || orders === void 0 ? void 0 : (_orders$ = orders[0]) === null || _orders$ === void 0 ? void 0 : _orders$.shopCode)), _defineProperty(_objectSpread2$1, "vipCode", (valueRef.current || {}).vipCode || (orders === null || orders === void 0 ? void 0 : (_orders$2 = orders[0]) === null || _orders$2 === void 0 ? void 0 : _orders$2.vipCode)), _objectSpread2$1));
20950
20959
  pushGyLog('getOrderList', {
20951
20960
  before: valueRef.current,
20952
- after: _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
20953
- showOrderInfo: showOrderInfo,
20954
- orders: orders
20955
- })))
20961
+ after: newValue
20956
20962
  });
20957
- onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type7 = typeMap$4[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref4 = valueRef.current || {}) === null || _ref4 === void 0 ? void 0 : _ref4[(_typeMap$type8 = typeMap$4[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrder]) || {}), {}, {
20958
- showOrderInfo: showOrderInfo,
20959
- orders: orders
20960
- }))));
20963
+ onChange(newValue);
20961
20964
  });
20962
20965
  case 1:
20963
20966
  case "end":
@@ -20969,42 +20972,71 @@ var GyReissue = function GyReissue(props) {
20969
20972
  return _ref.apply(this, arguments);
20970
20973
  };
20971
20974
  }();
20975
+ var getVipCode = /*#__PURE__*/function () {
20976
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(orderNo) {
20977
+ var _typeMap$type10;
20978
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
20979
+ while (1) switch (_context2.prev = _context2.next) {
20980
+ case 0:
20981
+ return _context2.abrupt("return", (_typeMap$type10 = typeMap$4[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.getOrderList(orderNo).then(function (data) {
20982
+ var _orders$3, _orders$4;
20983
+ var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
20984
+ var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
20985
+ shopCode: (valueRef.current || {}).shopCode || (orders === null || orders === void 0 ? void 0 : (_orders$3 = orders[0]) === null || _orders$3 === void 0 ? void 0 : _orders$3.shopCode),
20986
+ vipCode: (valueRef.current || {}).vipCode || (orders === null || orders === void 0 ? void 0 : (_orders$4 = orders[0]) === null || _orders$4 === void 0 ? void 0 : _orders$4.vipCode)
20987
+ });
20988
+ pushGyLog('getVipCode', {
20989
+ before: valueRef.current,
20990
+ after: newValue
20991
+ });
20992
+ onChange(newValue);
20993
+ }));
20994
+ case 1:
20995
+ case "end":
20996
+ return _context2.stop();
20997
+ }
20998
+ }, _callee2);
20999
+ }));
21000
+ return function getVipCode(_x2) {
21001
+ return _ref4.apply(this, arguments);
21002
+ };
21003
+ }();
20972
21004
  var changeTypeHandle = function changeTypeHandle(val) {
20973
- var _ref5, _ref5$typeMap$type$ty, _typeMap$type9, _typeMap$type10;
21005
+ var _ref5, _ref5$typeMap$type$ty, _typeMap$type11, _typeMap$type12;
20974
21006
  pushGyLog('beforeChangeType', valueRef.current || {});
20975
21007
  var typeName = val === null || val === void 0 ? void 0 : val[0];
20976
- if (typeName === ((_ref5 = valueRef.current || {}) === null || _ref5 === void 0 ? void 0 : (_ref5$typeMap$type$ty = _ref5[(_typeMap$type9 = typeMap$4[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.typeName]) === null || _ref5$typeMap$type$ty === void 0 ? void 0 : _ref5$typeMap$type$ty[0])) return;
21008
+ if (typeName === ((_ref5 = valueRef.current || {}) === null || _ref5 === void 0 ? void 0 : (_ref5$typeMap$type$ty = _ref5[(_typeMap$type11 = typeMap$4[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.typeName]) === null || _ref5$typeMap$type$ty === void 0 ? void 0 : _ref5$typeMap$type$ty[0])) return;
20977
21009
  // const systemOrderNo = value?.[typeMap[type]?.systemOrderNo];
20978
21010
  var newValue = _objectSpread2({}, valueRef.current || {});
20979
- newValue[(_typeMap$type10 = typeMap$4[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.typeName] = val;
21011
+ newValue[(_typeMap$type12 = typeMap$4[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.typeName] = val;
20980
21012
  if (typeName === '1') {
20981
- var _typeMap$type11;
20982
- newValue[(_typeMap$type11 = typeMap$4[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key] = getGoodDetails({
21013
+ var _typeMap$type13;
21014
+ newValue[(_typeMap$type13 = typeMap$4[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.key] = getGoodDetails({
20983
21015
  mode: isStrict
20984
21016
  });
20985
21017
  } else if (typeName === '2') {
20986
- var _typeMap$type12;
21018
+ var _typeMap$type14;
20987
21019
  // 切换到非原单,清空列表
20988
- newValue[(_typeMap$type12 = typeMap$4[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.key] = [];
21020
+ newValue[(_typeMap$type14 = typeMap$4[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key] = [];
20989
21021
  }
20990
21022
  pushGyLog('afterChangeType', newValue);
20991
21023
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
20992
21024
  };
20993
21025
  var handleModeChange = function handleModeChange(mode) {
20994
- var _ref6, _ref6$typeMap$type$ty, _typeMap$type13, _typeMap$type14;
20995
- var isOriginalOrder = ((_ref6 = valueRef.current || {}) === null || _ref6 === void 0 ? void 0 : (_ref6$typeMap$type$ty = _ref6[(_typeMap$type13 = typeMap$4[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.typeName]) === null || _ref6$typeMap$type$ty === void 0 ? void 0 : _ref6$typeMap$type$ty[0]) === '1';
21026
+ var _ref6, _ref6$typeMap$type$ty, _typeMap$type15, _typeMap$type16;
21027
+ var isOriginalOrder = ((_ref6 = valueRef.current || {}) === null || _ref6 === void 0 ? void 0 : (_ref6$typeMap$type$ty = _ref6[(_typeMap$type15 = typeMap$4[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.typeName]) === null || _ref6$typeMap$type$ty === void 0 ? void 0 : _ref6$typeMap$type$ty[0]) === '1';
20996
21028
  setIsStrict(mode);
20997
21029
  if (!isOriginalOrder) return;
20998
- onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type14 = typeMap$4[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key, getGoodDetails({
21030
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type16 = typeMap$4[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.key, getGoodDetails({
20999
21031
  mode: mode
21000
21032
  }))));
21001
21033
  };
21002
21034
  var getGoodDetails = function getGoodDetails(_ref7) {
21003
- var _ref8, _typeMap$type15, _ref9, _typeMap$type16, _order$details;
21035
+ var _ref8, _typeMap$type17, _ref9, _typeMap$type18, _order$details;
21004
21036
  var mode = _ref7.mode,
21005
21037
  sysOrderNo = _ref7.sysOrderNo;
21006
- var systemOrder = (_ref8 = valueRef.current || {}) === null || _ref8 === void 0 ? void 0 : _ref8[(_typeMap$type15 = typeMap$4[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.systemOrder];
21007
- var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : (_ref9 = valueRef.current || {}) === null || _ref9 === void 0 ? void 0 : _ref9[(_typeMap$type16 = typeMap$4[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.systemOrderNo];
21038
+ var systemOrder = (_ref8 = valueRef.current || {}) === null || _ref8 === void 0 ? void 0 : _ref8[(_typeMap$type17 = typeMap$4[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.systemOrder];
21039
+ var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : (_ref9 = valueRef.current || {}) === null || _ref9 === void 0 ? void 0 : _ref9[(_typeMap$type18 = typeMap$4[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.systemOrderNo];
21008
21040
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
21009
21041
  return order.code === systemOrderNo;
21010
21042
  });
@@ -21015,29 +21047,29 @@ var GyReissue = function GyReissue(props) {
21015
21047
  }) : goodDetails;
21016
21048
  };
21017
21049
  var changeGoodHandle = function changeGoodHandle(val) {
21018
- var _typeMap$type17;
21050
+ var _typeMap$type19;
21019
21051
  pushGyLog('beforeChangeGood', valueRef.current || {});
21020
21052
  var newValue = _objectSpread2({}, valueRef.current || {});
21021
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type17 = typeMap$4[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.key)] = (val || []).map(function (item) {
21022
- var _typeMap$type18, _typeMap$type19;
21023
- item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type18 = typeMap$4[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.formatDefaultField.money)] = 0;
21024
- item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type19 = typeMap$4[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.formatDefaultField.share)] = 0;
21053
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type19 = typeMap$4[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.key)] = (val || []).map(function (item) {
21054
+ var _typeMap$type20, _typeMap$type21;
21055
+ item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.formatDefaultField.money)] = 0;
21056
+ item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.formatDefaultField.share)] = 0;
21025
21057
  return item;
21026
21058
  });
21027
21059
  pushGyLog('afterChangeGood', newValue);
21028
21060
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21029
21061
  };
21030
21062
  var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
21031
- var _typeMap$type20, _ref10, _ref10$typeMap$type$t, _typeMap$type21, _ref11, _ref11$typeMap$type$t, _typeMap$type23;
21063
+ var _typeMap$type22, _ref10, _ref10$typeMap$type$t, _typeMap$type23, _ref11, _ref11$typeMap$type$t, _typeMap$type25;
21032
21064
  pushGyLog('beforeChangeSystemOrder', valueRef.current || {});
21033
21065
  var newValue = _objectSpread2({}, valueRef.current || {});
21034
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.systemOrderNo)] = val;
21035
- if (['2'].includes((_ref10 = valueRef.current || {}) === null || _ref10 === void 0 ? void 0 : (_ref10$typeMap$type$t = _ref10[(_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]) === null || _ref10$typeMap$type$t === void 0 ? void 0 : _ref10$typeMap$type$t[0])) {
21036
- var _typeMap$type22;
21037
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = [];
21038
- } else if (['1'].includes((_ref11 = valueRef.current || {}) === null || _ref11 === void 0 ? void 0 : (_ref11$typeMap$type$t = _ref11[(_typeMap$type23 = typeMap$4[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.typeName]) === null || _ref11$typeMap$type$t === void 0 ? void 0 : _ref11$typeMap$type$t[0])) {
21066
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.systemOrderNo)] = val;
21067
+ if (['2'].includes((_ref10 = valueRef.current || {}) === null || _ref10 === void 0 ? void 0 : (_ref10$typeMap$type$t = _ref10[(_typeMap$type23 = typeMap$4[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.typeName]) === null || _ref10$typeMap$type$t === void 0 ? void 0 : _ref10$typeMap$type$t[0])) {
21039
21068
  var _typeMap$type24;
21040
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type24 = typeMap$4[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = getGoodDetails({
21069
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type24 = typeMap$4[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = [];
21070
+ } else if (['1'].includes((_ref11 = valueRef.current || {}) === null || _ref11 === void 0 ? void 0 : (_ref11$typeMap$type$t = _ref11[(_typeMap$type25 = typeMap$4[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.typeName]) === null || _ref11$typeMap$type$t === void 0 ? void 0 : _ref11$typeMap$type$t[0])) {
21071
+ var _typeMap$type26;
21072
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type26 = typeMap$4[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)] = getGoodDetails({
21041
21073
  mode: isStrict,
21042
21074
  sysOrderNo: val
21043
21075
  });
@@ -21046,7 +21078,7 @@ var GyReissue = function GyReissue(props) {
21046
21078
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21047
21079
  };
21048
21080
  var selectedGoodsChange = useCallback(function (skuList) {
21049
- var _ref12, _typeMap$type25, _typeMap$type26, _uniqBy;
21081
+ var _ref12, _typeMap$type27, _typeMap$type28, _uniqBy;
21050
21082
  pushGyLog('beforeSelectedGoodsChange', valueRef.current || {});
21051
21083
  var newValue = _objectSpread2({}, valueRef.current || {});
21052
21084
  // 原订单商品
@@ -21054,17 +21086,17 @@ var GyReissue = function GyReissue(props) {
21054
21086
  mode: isStrict
21055
21087
  }) || [];
21056
21088
  // 当前选中的所有商品【包含了原订单+商品库】
21057
- var currentSelectGoodList = ((_ref12 = valueRef.current || {}) === null || _ref12 === void 0 ? void 0 : _ref12["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type25 = typeMap$4[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.key)]) || [];
21058
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type26 = typeMap$4[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
21089
+ var currentSelectGoodList = ((_ref12 = valueRef.current || {}) === null || _ref12 === void 0 ? void 0 : _ref12["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type27 = typeMap$4[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)]) || [];
21090
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type28 = typeMap$4[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
21059
21091
  return skuList.includes(item.uuid);
21060
21092
  });
21061
21093
  // console.log('商品发生变化', newValue[`${typeMap?.[type]?.key}`]);
21062
21094
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21063
21095
  pushGyLog('afterSelectedGoodsChange', newValue);
21064
- }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type27 = typeMap$4[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)], isStrict]);
21096
+ }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type29 = typeMap$4[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.key)], isStrict]);
21065
21097
  //系统单选择后展示选择商品按钮,系统单未选择的时候不展示
21066
- var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type28 = typeMap$4[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.systemOrder];
21067
- var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type29 = typeMap$4[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderNo]);
21098
+ var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type30 = typeMap$4[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrder];
21099
+ var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type31 = typeMap$4[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.systemOrderNo]);
21068
21100
  var showErpGoodsBtn = showChangeBtn || type === 'GY_REISSUE_GOODS' && systemOrder && systemOrder.orderNo && !((_systemOrder$orders = systemOrder.orders) === null || _systemOrder$orders === void 0 ? void 0 : _systemOrder$orders.length);
21069
21101
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Row, {
21070
21102
  gutter: 8,
@@ -21084,12 +21116,12 @@ var GyReissue = function GyReissue(props) {
21084
21116
  },
21085
21117
  disabled: disabled,
21086
21118
  allowClear: false,
21087
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type30 = typeMap$4[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrderNo)],
21119
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.systemOrderNo)],
21088
21120
  onChange: function onChange(val) {
21089
21121
  return changeSystemOrderHandle(val);
21090
21122
  },
21091
21123
  placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
21092
- }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type31 = typeMap$4[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
21124
+ }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$type33 = typeMap$4[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.systemOrder]) === null || _value$typeMap$type$s7 === void 0 ? void 0 : _value$typeMap$type$s7.showOrderInfo) || []).map(function (item) {
21093
21125
  return /*#__PURE__*/React.createElement(Select.Option, {
21094
21126
  key: item.billNo,
21095
21127
  value: item.billNo,
@@ -21111,7 +21143,7 @@ var GyReissue = function GyReissue(props) {
21111
21143
  disabled: isSettingConfig ? !isSettingConfig : disabled,
21112
21144
  allowClear: false,
21113
21145
  options: reasonList,
21114
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.typeName)],
21146
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type34 = typeMap$4[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.typeName)],
21115
21147
  onChange: function onChange(val) {
21116
21148
  return changeTypeHandle(val);
21117
21149
  }
@@ -21125,7 +21157,7 @@ var GyReissue = function GyReissue(props) {
21125
21157
  showErpGoodsBtn: showErpGoodsBtn,
21126
21158
  alwaysShowChooseErpGoodsBtn: showErpGoodsBtn,
21127
21159
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
21128
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type33 = typeMap$4[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.key)],
21160
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type35 = typeMap$4[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.key)],
21129
21161
  onChange: function onChange(val) {
21130
21162
  return changeGoodHandle(val);
21131
21163
  },
@@ -21233,7 +21265,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
21233
21265
  while (1) switch (_context.prev = _context.next) {
21234
21266
  case 0:
21235
21267
  (_typeMap$type4 = typeMap$5[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
21236
- var _valueRef$current, _typeMap$type5, _typeMap$type$systemO, _ref3, _valueRef$current2, _typeMap$type6;
21268
+ var _valueRef$current, _typeMap$type5, _typeMap$type$systemO, _ref3, _valueRef$current2, _typeMap$type6, _orders$, _objectSpread2$1;
21237
21269
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
21238
21270
  var showOrderInfo = orders.map(function (_ref2) {
21239
21271
  var billNo = _ref2.billNo,
@@ -21255,10 +21287,10 @@ var GyReturnGoods = function GyReturnGoods(props) {
21255
21287
  shopCode: shopCode
21256
21288
  });
21257
21289
  });
21258
- onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$5[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, (_typeMap$type$systemO = (_ref3 = (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$5[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) !== null && _typeMap$type$systemO !== void 0 ? _typeMap$type$systemO : {}), {}, {
21290
+ onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, (_objectSpread2$1 = {}, _defineProperty(_objectSpread2$1, (_typeMap$type5 = typeMap$5[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, (_typeMap$type$systemO = (_ref3 = (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$5[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) !== null && _typeMap$type$systemO !== void 0 ? _typeMap$type$systemO : {}), {}, {
21259
21291
  showOrderInfo: showOrderInfo,
21260
21292
  orders: orders
21261
- }))));
21293
+ })), _defineProperty(_objectSpread2$1, "shopCode", (valueRef.current || {}).shopCode || (orders === null || orders === void 0 ? void 0 : (_orders$ = orders[0]) === null || _orders$ === void 0 ? void 0 : _orders$.shopCode)), _objectSpread2$1)));
21262
21294
  });
21263
21295
  case 1:
21264
21296
  case "end":
package/dist/index.js CHANGED
@@ -20902,7 +20902,7 @@ var typeMap$4 = {
20902
20902
  }
20903
20903
  };
20904
20904
  var GyReissue = function GyReissue(props) {
20905
- var _typeMap$type27, _typeMap$type28, _typeMap$type29, _systemOrder$orders, _typeMap$type30, _value$typeMap$type$s5, _typeMap$type31, _typeMap$type32, _typeMap$type33;
20905
+ var _typeMap$type29, _typeMap$type30, _typeMap$type31, _systemOrder$orders, _typeMap$type32, _value$typeMap$type$s7, _typeMap$type33, _typeMap$type34, _typeMap$type35;
20906
20906
  var value = props.value,
20907
20907
  onChange = props.onChange,
20908
20908
  _props$reasonList = props.reasonList,
@@ -20914,6 +20914,7 @@ var GyReissue = function GyReissue(props) {
20914
20914
  // const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
20915
20915
  // order?.platformCode?.includes(';'),
20916
20916
  // );
20917
+ var getVipCodeFlag = React.useRef(false);
20917
20918
  var getOrderFlag = React.useRef(false);
20918
20919
  var valueRef = React.useRef(null);
20919
20920
  var _useState = React.useState(false),
@@ -20921,23 +20922,27 @@ var GyReissue = function GyReissue(props) {
20921
20922
  isStrict = _useState2[0],
20922
20923
  setIsStrict = _useState2[1];
20923
20924
  React.useEffect(function () {
20924
- var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
20925
+ var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2, _typeMap$type4, _value$typeMap$type$s5, _typeMap$type5;
20925
20926
  valueRef.current = value;
20926
20927
  if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$4[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$4[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
20927
20928
  var _value$typeMap$type$s4, _typeMap$type3;
20928
20929
  getOrderFlag.current = true;
20929
20930
  getOrderList(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s4 = value[(_typeMap$type3 = typeMap$4[type]) === null || _typeMap$type3 === void 0 ? void 0 : _typeMap$type3.systemOrder]) === null || _value$typeMap$type$s4 === void 0 ? void 0 : _value$typeMap$type$s4.orderNo);
20931
+ } else if (!getVipCodeFlag.current && (value === null || value === void 0 ? void 0 : value[(_typeMap$type4 = typeMap$4[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.systemOrderNo]) && !(value === null || value === void 0 ? void 0 : value.vipCode) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.orderNo)) {
20932
+ var _value$typeMap$type$s6, _typeMap$type6;
20933
+ getVipCodeFlag.current = true;
20934
+ getVipCode(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s6 = value[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) === null || _value$typeMap$type$s6 === void 0 ? void 0 : _value$typeMap$type$s6.orderNo);
20930
20935
  }
20931
20936
  return;
20932
20937
  }, [value]);
20933
20938
  var getOrderList = /*#__PURE__*/function () {
20934
20939
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
20935
- var _typeMap$type4;
20940
+ var _typeMap$type7;
20936
20941
  return _regeneratorRuntime().wrap(function _callee$(_context) {
20937
20942
  while (1) switch (_context.prev = _context.next) {
20938
20943
  case 0:
20939
- (_typeMap$type4 = typeMap$4[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
20940
- var _typeMap$type5, _ref3, _typeMap$type6, _typeMap$type7, _ref4, _typeMap$type8;
20944
+ (_typeMap$type7 = typeMap$4[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.getOrderList(orderNo).then(function (data) {
20945
+ var _typeMap$type8, _ref3, _typeMap$type9, _orders$, _orders$2, _objectSpread2$1;
20941
20946
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
20942
20947
  var showOrderInfo = orders.map(function (_ref2) {
20943
20948
  var billNo = _ref2.billNo,
@@ -20959,17 +20964,15 @@ var GyReissue = function GyReissue(props) {
20959
20964
  shopCode: shopCode
20960
20965
  });
20961
20966
  });
20967
+ var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, (_objectSpread2$1 = {}, _defineProperty(_objectSpread2$1, (_typeMap$type8 = typeMap$4[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type9 = typeMap$4[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.systemOrder]) || {}), {}, {
20968
+ showOrderInfo: showOrderInfo,
20969
+ orders: orders
20970
+ })), _defineProperty(_objectSpread2$1, "shopCode", (valueRef.current || {}).shopCode || (orders === null || orders === void 0 ? void 0 : (_orders$ = orders[0]) === null || _orders$ === void 0 ? void 0 : _orders$.shopCode)), _defineProperty(_objectSpread2$1, "vipCode", (valueRef.current || {}).vipCode || (orders === null || orders === void 0 ? void 0 : (_orders$2 = orders[0]) === null || _orders$2 === void 0 ? void 0 : _orders$2.vipCode)), _objectSpread2$1));
20962
20971
  kmkfUtils.pushGyLog('getOrderList', {
20963
20972
  before: valueRef.current,
20964
- after: _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
20965
- showOrderInfo: showOrderInfo,
20966
- orders: orders
20967
- })))
20973
+ after: newValue
20968
20974
  });
20969
- onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type7 = typeMap$4[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref4 = valueRef.current || {}) === null || _ref4 === void 0 ? void 0 : _ref4[(_typeMap$type8 = typeMap$4[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrder]) || {}), {}, {
20970
- showOrderInfo: showOrderInfo,
20971
- orders: orders
20972
- }))));
20975
+ onChange(newValue);
20973
20976
  });
20974
20977
  case 1:
20975
20978
  case "end":
@@ -20981,42 +20984,71 @@ var GyReissue = function GyReissue(props) {
20981
20984
  return _ref.apply(this, arguments);
20982
20985
  };
20983
20986
  }();
20987
+ var getVipCode = /*#__PURE__*/function () {
20988
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(orderNo) {
20989
+ var _typeMap$type10;
20990
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
20991
+ while (1) switch (_context2.prev = _context2.next) {
20992
+ case 0:
20993
+ return _context2.abrupt("return", (_typeMap$type10 = typeMap$4[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.getOrderList(orderNo).then(function (data) {
20994
+ var _orders$3, _orders$4;
20995
+ var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
20996
+ var newValue = _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
20997
+ shopCode: (valueRef.current || {}).shopCode || (orders === null || orders === void 0 ? void 0 : (_orders$3 = orders[0]) === null || _orders$3 === void 0 ? void 0 : _orders$3.shopCode),
20998
+ vipCode: (valueRef.current || {}).vipCode || (orders === null || orders === void 0 ? void 0 : (_orders$4 = orders[0]) === null || _orders$4 === void 0 ? void 0 : _orders$4.vipCode)
20999
+ });
21000
+ kmkfUtils.pushGyLog('getVipCode', {
21001
+ before: valueRef.current,
21002
+ after: newValue
21003
+ });
21004
+ onChange(newValue);
21005
+ }));
21006
+ case 1:
21007
+ case "end":
21008
+ return _context2.stop();
21009
+ }
21010
+ }, _callee2);
21011
+ }));
21012
+ return function getVipCode(_x2) {
21013
+ return _ref4.apply(this, arguments);
21014
+ };
21015
+ }();
20984
21016
  var changeTypeHandle = function changeTypeHandle(val) {
20985
- var _ref5, _ref5$typeMap$type$ty, _typeMap$type9, _typeMap$type10;
21017
+ var _ref5, _ref5$typeMap$type$ty, _typeMap$type11, _typeMap$type12;
20986
21018
  kmkfUtils.pushGyLog('beforeChangeType', valueRef.current || {});
20987
21019
  var typeName = val === null || val === void 0 ? void 0 : val[0];
20988
- if (typeName === ((_ref5 = valueRef.current || {}) === null || _ref5 === void 0 ? void 0 : (_ref5$typeMap$type$ty = _ref5[(_typeMap$type9 = typeMap$4[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.typeName]) === null || _ref5$typeMap$type$ty === void 0 ? void 0 : _ref5$typeMap$type$ty[0])) return;
21020
+ if (typeName === ((_ref5 = valueRef.current || {}) === null || _ref5 === void 0 ? void 0 : (_ref5$typeMap$type$ty = _ref5[(_typeMap$type11 = typeMap$4[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.typeName]) === null || _ref5$typeMap$type$ty === void 0 ? void 0 : _ref5$typeMap$type$ty[0])) return;
20989
21021
  // const systemOrderNo = value?.[typeMap[type]?.systemOrderNo];
20990
21022
  var newValue = _objectSpread2({}, valueRef.current || {});
20991
- newValue[(_typeMap$type10 = typeMap$4[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.typeName] = val;
21023
+ newValue[(_typeMap$type12 = typeMap$4[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.typeName] = val;
20992
21024
  if (typeName === '1') {
20993
- var _typeMap$type11;
20994
- newValue[(_typeMap$type11 = typeMap$4[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key] = getGoodDetails({
21025
+ var _typeMap$type13;
21026
+ newValue[(_typeMap$type13 = typeMap$4[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.key] = getGoodDetails({
20995
21027
  mode: isStrict
20996
21028
  });
20997
21029
  } else if (typeName === '2') {
20998
- var _typeMap$type12;
21030
+ var _typeMap$type14;
20999
21031
  // 切换到非原单,清空列表
21000
- newValue[(_typeMap$type12 = typeMap$4[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.key] = [];
21032
+ newValue[(_typeMap$type14 = typeMap$4[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key] = [];
21001
21033
  }
21002
21034
  kmkfUtils.pushGyLog('afterChangeType', newValue);
21003
21035
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21004
21036
  };
21005
21037
  var handleModeChange = function handleModeChange(mode) {
21006
- var _ref6, _ref6$typeMap$type$ty, _typeMap$type13, _typeMap$type14;
21007
- var isOriginalOrder = ((_ref6 = valueRef.current || {}) === null || _ref6 === void 0 ? void 0 : (_ref6$typeMap$type$ty = _ref6[(_typeMap$type13 = typeMap$4[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.typeName]) === null || _ref6$typeMap$type$ty === void 0 ? void 0 : _ref6$typeMap$type$ty[0]) === '1';
21038
+ var _ref6, _ref6$typeMap$type$ty, _typeMap$type15, _typeMap$type16;
21039
+ var isOriginalOrder = ((_ref6 = valueRef.current || {}) === null || _ref6 === void 0 ? void 0 : (_ref6$typeMap$type$ty = _ref6[(_typeMap$type15 = typeMap$4[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.typeName]) === null || _ref6$typeMap$type$ty === void 0 ? void 0 : _ref6$typeMap$type$ty[0]) === '1';
21008
21040
  setIsStrict(mode);
21009
21041
  if (!isOriginalOrder) return;
21010
- onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type14 = typeMap$4[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key, getGoodDetails({
21042
+ onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type16 = typeMap$4[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.key, getGoodDetails({
21011
21043
  mode: mode
21012
21044
  }))));
21013
21045
  };
21014
21046
  var getGoodDetails = function getGoodDetails(_ref7) {
21015
- var _ref8, _typeMap$type15, _ref9, _typeMap$type16, _order$details;
21047
+ var _ref8, _typeMap$type17, _ref9, _typeMap$type18, _order$details;
21016
21048
  var mode = _ref7.mode,
21017
21049
  sysOrderNo = _ref7.sysOrderNo;
21018
- var systemOrder = (_ref8 = valueRef.current || {}) === null || _ref8 === void 0 ? void 0 : _ref8[(_typeMap$type15 = typeMap$4[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.systemOrder];
21019
- var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : (_ref9 = valueRef.current || {}) === null || _ref9 === void 0 ? void 0 : _ref9[(_typeMap$type16 = typeMap$4[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.systemOrderNo];
21050
+ var systemOrder = (_ref8 = valueRef.current || {}) === null || _ref8 === void 0 ? void 0 : _ref8[(_typeMap$type17 = typeMap$4[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.systemOrder];
21051
+ var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : (_ref9 = valueRef.current || {}) === null || _ref9 === void 0 ? void 0 : _ref9[(_typeMap$type18 = typeMap$4[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.systemOrderNo];
21020
21052
  var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
21021
21053
  return order.code === systemOrderNo;
21022
21054
  });
@@ -21027,29 +21059,29 @@ var GyReissue = function GyReissue(props) {
21027
21059
  }) : goodDetails;
21028
21060
  };
21029
21061
  var changeGoodHandle = function changeGoodHandle(val) {
21030
- var _typeMap$type17;
21062
+ var _typeMap$type19;
21031
21063
  kmkfUtils.pushGyLog('beforeChangeGood', valueRef.current || {});
21032
21064
  var newValue = _objectSpread2({}, valueRef.current || {});
21033
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type17 = typeMap$4[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.key)] = (val || []).map(function (item) {
21034
- var _typeMap$type18, _typeMap$type19;
21035
- item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type18 = typeMap$4[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.formatDefaultField.money)] = 0;
21036
- item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type19 = typeMap$4[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.formatDefaultField.share)] = 0;
21065
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type19 = typeMap$4[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.key)] = (val || []).map(function (item) {
21066
+ var _typeMap$type20, _typeMap$type21;
21067
+ item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.formatDefaultField.money)] = 0;
21068
+ item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.formatDefaultField.share)] = 0;
21037
21069
  return item;
21038
21070
  });
21039
21071
  kmkfUtils.pushGyLog('afterChangeGood', newValue);
21040
21072
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21041
21073
  };
21042
21074
  var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
21043
- var _typeMap$type20, _ref10, _ref10$typeMap$type$t, _typeMap$type21, _ref11, _ref11$typeMap$type$t, _typeMap$type23;
21075
+ var _typeMap$type22, _ref10, _ref10$typeMap$type$t, _typeMap$type23, _ref11, _ref11$typeMap$type$t, _typeMap$type25;
21044
21076
  kmkfUtils.pushGyLog('beforeChangeSystemOrder', valueRef.current || {});
21045
21077
  var newValue = _objectSpread2({}, valueRef.current || {});
21046
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.systemOrderNo)] = val;
21047
- if (['2'].includes((_ref10 = valueRef.current || {}) === null || _ref10 === void 0 ? void 0 : (_ref10$typeMap$type$t = _ref10[(_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]) === null || _ref10$typeMap$type$t === void 0 ? void 0 : _ref10$typeMap$type$t[0])) {
21048
- var _typeMap$type22;
21049
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = [];
21050
- } else if (['1'].includes((_ref11 = valueRef.current || {}) === null || _ref11 === void 0 ? void 0 : (_ref11$typeMap$type$t = _ref11[(_typeMap$type23 = typeMap$4[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.typeName]) === null || _ref11$typeMap$type$t === void 0 ? void 0 : _ref11$typeMap$type$t[0])) {
21078
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.systemOrderNo)] = val;
21079
+ if (['2'].includes((_ref10 = valueRef.current || {}) === null || _ref10 === void 0 ? void 0 : (_ref10$typeMap$type$t = _ref10[(_typeMap$type23 = typeMap$4[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.typeName]) === null || _ref10$typeMap$type$t === void 0 ? void 0 : _ref10$typeMap$type$t[0])) {
21051
21080
  var _typeMap$type24;
21052
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type24 = typeMap$4[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = getGoodDetails({
21081
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type24 = typeMap$4[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = [];
21082
+ } else if (['1'].includes((_ref11 = valueRef.current || {}) === null || _ref11 === void 0 ? void 0 : (_ref11$typeMap$type$t = _ref11[(_typeMap$type25 = typeMap$4[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.typeName]) === null || _ref11$typeMap$type$t === void 0 ? void 0 : _ref11$typeMap$type$t[0])) {
21083
+ var _typeMap$type26;
21084
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type26 = typeMap$4[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)] = getGoodDetails({
21053
21085
  mode: isStrict,
21054
21086
  sysOrderNo: val
21055
21087
  });
@@ -21058,7 +21090,7 @@ var GyReissue = function GyReissue(props) {
21058
21090
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21059
21091
  };
21060
21092
  var selectedGoodsChange = React.useCallback(function (skuList) {
21061
- var _ref12, _typeMap$type25, _typeMap$type26, _uniqBy;
21093
+ var _ref12, _typeMap$type27, _typeMap$type28, _uniqBy;
21062
21094
  kmkfUtils.pushGyLog('beforeSelectedGoodsChange', valueRef.current || {});
21063
21095
  var newValue = _objectSpread2({}, valueRef.current || {});
21064
21096
  // 原订单商品
@@ -21066,17 +21098,17 @@ var GyReissue = function GyReissue(props) {
21066
21098
  mode: isStrict
21067
21099
  }) || [];
21068
21100
  // 当前选中的所有商品【包含了原订单+商品库】
21069
- var currentSelectGoodList = ((_ref12 = valueRef.current || {}) === null || _ref12 === void 0 ? void 0 : _ref12["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type25 = typeMap$4[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.key)]) || [];
21070
- newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type26 = typeMap$4[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)] = (_uniqBy = lodash.uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
21101
+ var currentSelectGoodList = ((_ref12 = valueRef.current || {}) === null || _ref12 === void 0 ? void 0 : _ref12["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type27 = typeMap$4[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)]) || [];
21102
+ newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type28 = typeMap$4[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.key)] = (_uniqBy = lodash.uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
21071
21103
  return skuList.includes(item.uuid);
21072
21104
  });
21073
21105
  // console.log('商品发生变化', newValue[`${typeMap?.[type]?.key}`]);
21074
21106
  onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
21075
21107
  kmkfUtils.pushGyLog('afterSelectedGoodsChange', newValue);
21076
- }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type27 = typeMap$4[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)], isStrict]);
21108
+ }, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type29 = typeMap$4[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.key)], isStrict]);
21077
21109
  //系统单选择后展示选择商品按钮,系统单未选择的时候不展示
21078
- var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type28 = typeMap$4[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.systemOrder];
21079
- var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type29 = typeMap$4[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderNo]);
21110
+ var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type30 = typeMap$4[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrder];
21111
+ var showChangeBtn = !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type31 = typeMap$4[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.systemOrderNo]);
21080
21112
  var showErpGoodsBtn = showChangeBtn || type === 'GY_REISSUE_GOODS' && systemOrder && systemOrder.orderNo && !((_systemOrder$orders = systemOrder.orders) === null || _systemOrder$orders === void 0 ? void 0 : _systemOrder$orders.length);
21081
21113
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Row, {
21082
21114
  gutter: 8,
@@ -21096,12 +21128,12 @@ var GyReissue = function GyReissue(props) {
21096
21128
  },
21097
21129
  disabled: disabled,
21098
21130
  allowClear: false,
21099
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type30 = typeMap$4[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrderNo)],
21131
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.systemOrderNo)],
21100
21132
  onChange: function onChange(val) {
21101
21133
  return changeSystemOrderHandle(val);
21102
21134
  },
21103
21135
  placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
21104
- }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type31 = typeMap$4[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
21136
+ }, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s7 = value[(_typeMap$type33 = typeMap$4[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.systemOrder]) === null || _value$typeMap$type$s7 === void 0 ? void 0 : _value$typeMap$type$s7.showOrderInfo) || []).map(function (item) {
21105
21137
  return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
21106
21138
  key: item.billNo,
21107
21139
  value: item.billNo,
@@ -21123,7 +21155,7 @@ var GyReissue = function GyReissue(props) {
21123
21155
  disabled: isSettingConfig ? !isSettingConfig : disabled,
21124
21156
  allowClear: false,
21125
21157
  options: reasonList,
21126
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.typeName)],
21158
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type34 = typeMap$4[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.typeName)],
21127
21159
  onChange: function onChange(val) {
21128
21160
  return changeTypeHandle(val);
21129
21161
  }
@@ -21137,7 +21169,7 @@ var GyReissue = function GyReissue(props) {
21137
21169
  showErpGoodsBtn: showErpGoodsBtn,
21138
21170
  alwaysShowChooseErpGoodsBtn: showErpGoodsBtn,
21139
21171
  shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
21140
- value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type33 = typeMap$4[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.key)],
21172
+ value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type35 = typeMap$4[type]) === null || _typeMap$type35 === void 0 ? void 0 : _typeMap$type35.key)],
21141
21173
  onChange: function onChange(val) {
21142
21174
  return changeGoodHandle(val);
21143
21175
  },
@@ -21245,7 +21277,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
21245
21277
  while (1) switch (_context.prev = _context.next) {
21246
21278
  case 0:
21247
21279
  (_typeMap$type4 = typeMap$5[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
21248
- var _valueRef$current, _typeMap$type5, _typeMap$type$systemO, _ref3, _valueRef$current2, _typeMap$type6;
21280
+ var _valueRef$current, _typeMap$type5, _typeMap$type$systemO, _ref3, _valueRef$current2, _typeMap$type6, _orders$, _objectSpread2$1;
21249
21281
  var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
21250
21282
  var showOrderInfo = orders.map(function (_ref2) {
21251
21283
  var billNo = _ref2.billNo,
@@ -21267,10 +21299,10 @@ var GyReturnGoods = function GyReturnGoods(props) {
21267
21299
  shopCode: shopCode
21268
21300
  });
21269
21301
  });
21270
- onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$5[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, (_typeMap$type$systemO = (_ref3 = (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$5[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) !== null && _typeMap$type$systemO !== void 0 ? _typeMap$type$systemO : {}), {}, {
21302
+ onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, (_objectSpread2$1 = {}, _defineProperty(_objectSpread2$1, (_typeMap$type5 = typeMap$5[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, (_typeMap$type$systemO = (_ref3 = (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$5[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) !== null && _typeMap$type$systemO !== void 0 ? _typeMap$type$systemO : {}), {}, {
21271
21303
  showOrderInfo: showOrderInfo,
21272
21304
  orders: orders
21273
- }))));
21305
+ })), _defineProperty(_objectSpread2$1, "shopCode", (valueRef.current || {}).shopCode || (orders === null || orders === void 0 ? void 0 : (_orders$ = orders[0]) === null || _orders$ === void 0 ? void 0 : _orders$.shopCode)), _objectSpread2$1)));
21274
21306
  });
21275
21307
  case 1:
21276
21308
  case "end":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.0.54-beta.49",
3
+ "version": "2.0.54-beta.50",
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.0.54-beta.49",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.50",
24
24
  "ahooks": "^3.7.4",
25
25
  "bignumber.js": "^9.1.2",
26
26
  "kmkf-monitor": "^0.8.9",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "e0681d2aa14ea187da2fd9e585ade87f4b85563e"
68
+ "gitHead": "e8f0090328b7c197bbbb0a974b6e153d44d66208"
69
69
  }