@kmkf-fe-packages/kmkf-work-order-service-component 2.7.2-rc.0 → 2.7.3-beta.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.
@@ -40,7 +40,7 @@ export var FLOW_STATUS_V2 = {
40
40
  RETURNING: '回退中'
41
41
  };
42
42
  //不能回填的组件type
43
- export var CANNOT_BACK_FILL = ['LOGISTICS_TRAJECTORY', 'LOGISTICS_TRAJECTORY_MORE', 'BUYER_MESSAGE_NOTICE', 'MSG_STATUS', 'NEW_PAYMENT_STATUS', 'REISSUE_STATUS', 'REISSUE_LOGISTICS', 'RETURN_GOODS_STATUS', 'RETURN_GOODS_TRADE_ID', 'ADJUST_WORK_ORDER_STATUS', 'INVOICE_STATUS', 'INVOICING_STATUS', 'EXCHANGE_STATUS', 'WAREHOUSING_STATUS', 'BS_E3_WAREHOUSING_STATUS', 'WDT_WAREHOUSING_STATUS', 'JKY_WAREHOUSING_STATUS', 'EXCHANGE_TRADE_ID', 'REISSUE_TRADE_ID', 'SWAP_OUT_TRADE_ID', 'ERP_AFTER_SALE_TRADE_ID', 'LOGISTICS_INTERCEPTION', 'LOGISTICS_INTERCEPTION_MORE', 'ORDER_TYPE', 'REFUND_TYPE', 'RETURN_EXCHANGE_GOODS_REVIEW_STATUS', 'EXECUTE_ACTION_TYPE'];
43
+ export var CANNOT_BACK_FILL = ['LOGISTICS_TRAJECTORY', 'LOGISTICS_TRAJECTORY_MORE', 'BUYER_MESSAGE_NOTICE', 'MSG_STATUS', 'NEW_PAYMENT_STATUS', 'REISSUE_STATUS', 'REISSUE_LOGISTICS', 'RETURN_GOODS_STATUS', 'RETURN_GOODS_TRADE_ID', 'ADJUST_WORK_ORDER_STATUS', 'ERP_REMARK', 'INVOICE_STATUS', 'INVOICING_STATUS', 'EXCHANGE_STATUS', 'WAREHOUSING_STATUS', 'BS_E3_WAREHOUSING_STATUS', 'WDT_WAREHOUSING_STATUS', 'WLN_WAREHOUSING_STATUS', 'JKY_WAREHOUSING_STATUS', 'EXCHANGE_TRADE_ID', 'REISSUE_TRADE_ID', 'SWAP_OUT_TRADE_ID', 'ERP_AFTER_SALE_TRADE_ID', 'LOGISTICS_INTERCEPTION', 'LOGISTICS_INTERCEPTION_MORE', 'ORDER_TYPE', 'REFUND_TYPE', 'RETURN_EXCHANGE_GOODS_REVIEW_STATUS', 'EXECUTE_ACTION_TYPE'];
44
44
  export var verifyHandle = function verifyHandle(data, componentDtoList) {
45
45
  var _componentDtoList$fin, _componentDtoList$fin2, _data$paymentUniqueKe, _data$paymentUniqueKe2;
46
46
  var res = {
@@ -3,6 +3,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
3
3
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
4
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
5
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
6
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
6
7
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
7
8
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
8
9
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
@@ -29,10 +30,10 @@ import { get, some, set, every, cloneDeep, isEmpty, intersection, throttle, grou
29
30
  import 'moment/locale/zh-cn';
30
31
  import { calcWorkOrderList, orderBack, getReplaceWarnValues, COMPONENT_MAP_NAME, EXCLUDE_REPLACE_TOP_COMPONENT,
31
32
  // 重复检验不需要展示在顶部的
32
- INNER_REPLACE_COMPONENT, reversalFormValues, wdtReturnBillNoBackValues, bsSystemOrderBackValues, kmSystemOrderBackValues, bsE3SystemOrderBackValues, wlnSystemOrderBackValues, gySystemOrderBackValues, jstSystemOrderBackValues, jySystemOrderBackValues, jkySystemOrderBackValues, getMappingConfigByTemplateDetail, wdtSystemOrderBackValues, setLogisticsInfo, getMappingTargetValue, FIXED_FIELD_CAN_MODIFY_SHOP } from "../../../common/utils/tools";
33
+ INNER_REPLACE_COMPONENT, reversalFormValues, wdtReturnBillNoBackValues, afterSaleOrderBackValues, bsSystemOrderBackValues, kmSystemOrderBackValues, bsE3SystemOrderBackValues, wlnSystemOrderBackValues, gySystemOrderBackValues, jstSystemOrderBackValues, jySystemOrderBackValues, jkySystemOrderBackValues, getMappingConfigByTemplateDetail, wdtSystemOrderBackValues, setLogisticsInfo, getMappingTargetValue, FIXED_FIELD_CAN_MODIFY_SHOP } from "../../../common/utils/tools";
33
34
  import { replaceCheck, orderDetail, queryLabelByTradeId, queryMemberLevel } from "../../../model/servers/api";
34
35
  import { factory } from '@kmkf-fe-packages/services-components';
35
- import { getExpression, formatDisplayConfig, isNull, LabelData, setSessionStorage } from '@kmkf-fe-packages/kmkf-utils';
36
+ import { getExpression, formatDisplayConfig, isNull, LabelData, setSessionStorage, afterSaleOrderBack } from '@kmkf-fe-packages/kmkf-utils';
36
37
  import ShopName from "../ShopName";
37
38
  import { PlatForm } from "../../../model/flowTemplateDetail/types";
38
39
  import { groupByPreNode, getCurrentNodeModifiedShowHideRule } from "./common";
@@ -411,7 +412,7 @@ var FormRender = function FormRender(props, ref) {
411
412
  }, [labelComponent, record]);
412
413
  var queryDetail = /*#__PURE__*/function () {
413
414
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref2) {
414
- var workOrderId, shopId, shopList, record, orderNo, buyerId, buyerNick, jsonMap, newRecord, jsonMapOrderId, getCacheInfo, newFormValues, transData, initialValues, tradeIdUniqueKey, _record$jsonMap2, _record$jsonMap3, _userInfo$companyUser3, _companyUserConfig$pl, _companyUserConfig$pl2, _companyUserConfig$pl3, _record$jsonMap4, _record$jsonMap5, currentNodeTradeIdUniqueKey, _currentNodeTid, currentNodeExpressLogisticsCodeKey, currentNodeLogisticsCode, isSkx, _userInfo, companyUserConfig, hasWdt, preTradeId, tradeId, initFormValues, _getCacheInfo, _getCacheInfo2, _getCacheInfo3, _getCacheInfo4, _orderNo, _shopId, orderNoField, _transData, _initialValues, antFormEl;
415
+ var workOrderId, shopId, shopList, record, orderNo, buyerId, buyerNick, jsonMap, newRecord, jsonMapOrderId, getCacheInfo, newFormValues, transData, initialValues, tradeIdUniqueKey, _record$jsonMap2, _record$jsonMap3, _record$jsonMap4, currentNodeTradeIdUniqueKey, _currentNodeTid, logisticsOrderBackSources, lastLogisticsOrderBackSource, preTradeId, tradeId, isSkx, _iterator, _step, source, initFormValues, _getCacheInfo, _getCacheInfo2, _getCacheInfo3, _getCacheInfo4, _orderNo, _shopId, orderNoField, _transData, _initialValues, antFormEl;
415
416
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
416
417
  while (1) switch (_context2.prev = _context2.next) {
417
418
  case 0:
@@ -441,7 +442,7 @@ var FormRender = function FormRender(props, ref) {
441
442
  return prv;
442
443
  }, {});
443
444
  if (!workOrderId) {
444
- _context2.next = 52;
445
+ _context2.next = 78;
445
446
  break;
446
447
  }
447
448
  // 先初始化端上内容
@@ -474,26 +475,45 @@ var FormRender = function FormRender(props, ref) {
474
475
  // TODO: 非开始节点录入,都会有workOrderId,这里判断是否有前置组件含有订单号;如果存在订单号,进行订单反填。
475
476
  tradeIdUniqueKey = findComponentUniqueKeyByType(templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.preNodeComponentDtoList, 'TRADE_ID_INPUT');
476
477
  if (!notAutoFillFlag) {
477
- _context2.next = 49;
478
+ _context2.next = 74;
478
479
  break;
479
480
  }
480
481
  currentNodeTradeIdUniqueKey = findComponentUniqueKeyByType(templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.componentDtoList, 'TRADE_ID_INPUT');
481
482
  _currentNodeTid = record === null || record === void 0 ? void 0 : (_record$jsonMap2 = record.jsonMap) === null || _record$jsonMap2 === void 0 ? void 0 : _record$jsonMap2["".concat(currentNodeTradeIdUniqueKey, "_tradeId")];
482
- currentNodeExpressLogisticsCodeKey = findComponentUniqueKeyByType(templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.componentDtoList, 'EXPRESS_LOGISTICS_SELECT');
483
- currentNodeLogisticsCode = record === null || record === void 0 ? void 0 : (_record$jsonMap3 = record.jsonMap) === null || _record$jsonMap3 === void 0 ? void 0 : _record$jsonMap3["".concat(currentNodeExpressLogisticsCodeKey, "_expressLogisticsCode")];
484
- isSkx = ['TR3E2FYXFZCFANVG6O6AALSM'].includes(companyKey); // SKX 特殊处理逻辑
485
- _userInfo = JSON.parse(localStorage.getItem('reduxData_userInfo') || '{}');
486
- companyUserConfig = (_userInfo$companyUser3 = _userInfo === null || _userInfo === void 0 ? void 0 : _userInfo.companyUserConfig) !== null && _userInfo$companyUser3 !== void 0 ? _userInfo$companyUser3 : {};
487
- hasWdt = (_companyUserConfig$pl = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl2 = companyUserConfig.plugins) === null || _companyUserConfig$pl2 === void 0 ? void 0 : (_companyUserConfig$pl3 = _companyUserConfig$pl2.wdt) === null || _companyUserConfig$pl3 === void 0 ? void 0 : _companyUserConfig$pl3.show) !== null && _companyUserConfig$pl !== void 0 ? _companyUserConfig$pl : false;
488
- preTradeId = tradeIdUniqueKey && shopId && record !== null && record !== void 0 && (_record$jsonMap4 = record.jsonMap) !== null && _record$jsonMap4 !== void 0 && _record$jsonMap4["".concat(tradeIdUniqueKey, "_tradeId")] && firstOrderBackfill ? record === null || record === void 0 ? void 0 : (_record$jsonMap5 = record.jsonMap) === null || _record$jsonMap5 === void 0 ? void 0 : _record$jsonMap5["".concat(tradeIdUniqueKey, "_tradeId")] : undefined;
483
+ logisticsOrderBackSources = ((templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.componentDtoList) || []).reduce(function (cur, component) {
484
+ if (component.workOrderComponentType === 'EXPRESS_LOGISTICS_SELECT') {
485
+ var _initialValues$compon;
486
+ var logisticsCode = (_initialValues$compon = initialValues[component.uniqueKey]) === null || _initialValues$compon === void 0 ? void 0 : _initialValues$compon.order;
487
+ if (logisticsCode) {
488
+ cur.push({
489
+ logisticsCode: logisticsCode,
490
+ uniqueKey: component.uniqueKey
491
+ });
492
+ }
493
+ }
494
+ if (component.workOrderComponentType === 'LOGISTICS_INTERCEPTION') {
495
+ var _initialValues$compon2;
496
+ var _logisticsCode = (_initialValues$compon2 = initialValues[component.uniqueKey]) === null || _initialValues$compon2 === void 0 ? void 0 : _initialValues$compon2.interceptCode;
497
+ if (_logisticsCode) {
498
+ cur.push({
499
+ logisticsCode: _logisticsCode,
500
+ uniqueKey: component.uniqueKey
501
+ });
502
+ }
503
+ }
504
+ return cur;
505
+ }, []);
506
+ lastLogisticsOrderBackSource = logisticsOrderBackSources[logisticsOrderBackSources.length - 1];
507
+ preTradeId = tradeIdUniqueKey && shopId && record !== null && record !== void 0 && (_record$jsonMap3 = record.jsonMap) !== null && _record$jsonMap3 !== void 0 && _record$jsonMap3["".concat(tradeIdUniqueKey, "_tradeId")] && firstOrderBackfill ? record === null || record === void 0 ? void 0 : (_record$jsonMap4 = record.jsonMap) === null || _record$jsonMap4 === void 0 ? void 0 : _record$jsonMap4["".concat(tradeIdUniqueKey, "_tradeId")] : undefined;
489
508
  tradeId = _currentNodeTid || preTradeId;
509
+ isSkx = ['TR3E2FYXFZCFANVG6O6AALSM'].includes(companyKey); // SKX 特殊处理逻辑
490
510
  if (!tradeId) {
491
- _context2.next = 38;
511
+ _context2.next = 35;
492
512
  break;
493
513
  }
494
514
  queryLabels(tradeId, shopId);
495
515
  queryMemberLevels(tradeId, shopId);
496
- _context2.next = 36;
516
+ _context2.next = 33;
497
517
  return orderBack({
498
518
  companyKey: companyKey,
499
519
  order_no: tradeId,
@@ -505,17 +525,19 @@ var FormRender = function FormRender(props, ref) {
505
525
  fromQNCreateWorkOrderByOrderNo: fromQNCreateWorkOrderByOrderNo,
506
526
  plat: plat,
507
527
  callKey: 1,
508
- setLoading: setLoading
528
+ setLoading: setLoading,
529
+ wdtMatchLogisticsNo: lastLogisticsOrderBackSource === null || lastLogisticsOrderBackSource === void 0 ? void 0 : lastLogisticsOrderBackSource.logisticsCode,
530
+ skipOrderBackUniqueKeys: lastLogisticsOrderBackSource !== null && lastLogisticsOrderBackSource !== void 0 && lastLogisticsOrderBackSource.uniqueKey ? [lastLogisticsOrderBackSource.uniqueKey] : []
509
531
  });
510
- case 36:
511
- _context2.next = 46;
532
+ case 33:
533
+ _context2.next = 71;
512
534
  break;
513
- case 38:
535
+ case 35:
514
536
  if (!isSkx) {
515
- _context2.next = 43;
537
+ _context2.next = 41;
516
538
  break;
517
539
  }
518
- _context2.next = 41;
540
+ _context2.next = 38;
519
541
  return skxOrderBack({
520
542
  form: form,
521
543
  companyKey: companyKey,
@@ -523,28 +545,91 @@ var FormRender = function FormRender(props, ref) {
523
545
  componentOnBlur: componentOnBlur,
524
546
  jsonMap: record === null || record === void 0 ? void 0 : record.jsonMap
525
547
  });
548
+ case 38:
549
+ // 售后单反填
550
+ afterSaleOrderBack(form, templateDetail);
551
+ _context2.next = 71;
552
+ break;
526
553
  case 41:
527
- _context2.next = 46;
554
+ if (!logisticsOrderBackSources.length) {
555
+ _context2.next = 62;
556
+ break;
557
+ }
558
+ _iterator = _createForOfIteratorHelper(logisticsOrderBackSources);
559
+ _context2.prev = 43;
560
+ _iterator.s();
561
+ case 45:
562
+ if ((_step = _iterator.n()).done) {
563
+ _context2.next = 52;
564
+ break;
565
+ }
566
+ source = _step.value;
567
+ afterSaleOrderBack(form, templateDetail);
568
+ _context2.next = 50;
569
+ return onBlurExpressLogisticsCode({
570
+ form: form,
571
+ value: source.logisticsCode,
572
+ templateDetail: templateDetail,
573
+ setKmLoading: setKmLoading,
574
+ componentOnBlur: componentOnBlur,
575
+ sourceUniqueKey: source.uniqueKey
576
+ });
577
+ case 50:
578
+ _context2.next = 45;
579
+ break;
580
+ case 52:
581
+ _context2.next = 57;
582
+ break;
583
+ case 54:
584
+ _context2.prev = 54;
585
+ _context2.t0 = _context2["catch"](43);
586
+ _iterator.e(_context2.t0);
587
+ case 57:
588
+ _context2.prev = 57;
589
+ _iterator.f();
590
+ return _context2.finish(57);
591
+ case 60:
592
+ _context2.next = 71;
593
+ break;
594
+ case 62:
595
+ // 售后单反填
596
+ afterSaleOrderBack(form, templateDetail);
597
+ if (!isSkx) {
598
+ _context2.next = 68;
599
+ break;
600
+ }
601
+ _context2.next = 66;
602
+ return skxOrderBack({
603
+ form: form,
604
+ companyKey: companyKey,
605
+ templateDetail: templateDetail,
606
+ componentOnBlur: componentOnBlur,
607
+ jsonMap: record === null || record === void 0 ? void 0 : record.jsonMap
608
+ });
609
+ case 66:
610
+ _context2.next = 71;
528
611
  break;
529
- case 43:
612
+ case 68:
530
613
  if (!(hasWdt && currentNodeLogisticsCode)) {
531
- _context2.next = 46;
614
+ _context2.next = 71;
532
615
  break;
533
616
  }
534
- _context2.next = 46;
617
+ _context2.next = 71;
535
618
  return componentOnBlur(currentNodeLogisticsCode, 'expressLogisticsCode');
536
- case 46:
619
+ case 71:
537
620
  // 仅在依赖值有值且映射值为空时触发一次映射
538
621
  batchFillByMappingWhenTargetEmpty(initialValues);
539
- _context2.next = 50;
622
+ _context2.next = 76;
540
623
  break;
541
- case 49:
624
+ case 74:
542
625
  // 如果没有订单反填,则单独更新remark
543
626
  fetchRemark(shopId, currentNodeTid);
544
- case 50:
545
- _context2.next = 75;
627
+ // 售后单反填
628
+ afterSaleOrderBack(form, templateDetail);
629
+ case 76:
630
+ _context2.next = 102;
546
631
  break;
547
- case 52:
632
+ case 78:
548
633
  fillByShopId(shopId);
549
634
  initFormValues = null;
550
635
  if (plat !== null && plat !== void 0 && plat.subOrderNo) {
@@ -563,7 +648,7 @@ var FormRender = function FormRender(props, ref) {
563
648
 
564
649
  // console.log(orderNo, initFormValues);
565
650
  if (!initFormValues) {
566
- _context2.next = 63;
651
+ _context2.next = 89;
567
652
  break;
568
653
  }
569
654
  form.setFieldsValue(_objectSpread(_objectSpread({}, initFormValues), {}, {
@@ -580,9 +665,9 @@ var FormRender = function FormRender(props, ref) {
580
665
  _orderNo = orderNoField !== null && orderNoField !== void 0 && orderNoField.uniqueKey ? initFormValues[orderNoField === null || orderNoField === void 0 ? void 0 : orderNoField.uniqueKey] || _orderNo : _orderNo;
581
666
  }
582
667
  fetchRemark(_shopId, _orderNo);
583
- _context2.next = 75;
668
+ _context2.next = 102;
584
669
  break;
585
- case 63:
670
+ case 89:
586
671
  _transData = calcWorkOrderList([{
587
672
  jsonMap: jsonMap
588
673
  }], [].concat(_toConsumableArray((templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.preNodeComponentDtoList) || []), _toConsumableArray((templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.componentDtoList) || [])), 'init');
@@ -594,12 +679,12 @@ var FormRender = function FormRender(props, ref) {
594
679
  batchFillByMapping(_initialValues);
595
680
  //如果有订单号 订单返填 通过订单号入口进行工单录入,需要将订单数据反填到工单
596
681
  if (!(orderNo && shopId)) {
597
- _context2.next = 74;
682
+ _context2.next = 100;
598
683
  break;
599
684
  }
600
685
  queryLabels(orderNo, shopId);
601
686
  queryMemberLevels(orderNo, shopId);
602
- _context2.next = 72;
687
+ _context2.next = 98;
603
688
  return orderBack({
604
689
  companyKey: companyKey,
605
690
  order_no: orderNo,
@@ -614,13 +699,15 @@ var FormRender = function FormRender(props, ref) {
614
699
  callKey: 2,
615
700
  setLoading: setLoading
616
701
  });
617
- case 72:
618
- _context2.next = 75;
702
+ case 98:
703
+ _context2.next = 102;
619
704
  break;
620
- case 74:
705
+ case 100:
621
706
  // 如果没有订单反填,则单独更新remark
622
707
  fetchRemark(shopId, currentNodeTid);
623
- case 75:
708
+ // 售后单反填
709
+ afterSaleOrderBack(form, templateDetail);
710
+ case 102:
624
711
  antFormEl = document.getElementsByClassName('ant-form');
625
712
  (antFormEl === null || antFormEl === void 0 ? void 0 : antFormEl.length) > 0 && set(antFormEl, '0.scrollTop', 0);
626
713
  resetMappingHideComponents();
@@ -629,11 +716,11 @@ var FormRender = function FormRender(props, ref) {
629
716
  type: 'setaAutoSubmitFlag',
630
717
  payload: true
631
718
  });
632
- case 79:
719
+ case 106:
633
720
  case "end":
634
721
  return _context2.stop();
635
722
  }
636
- }, _callee2);
723
+ }, _callee2, null, [[43, 54, 57, 60]]);
637
724
  }));
638
725
  return function queryDetail(_x4) {
639
726
  return _ref3.apply(this, arguments);
@@ -881,7 +968,7 @@ var FormRender = function FormRender(props, ref) {
881
968
 
882
969
  //订单返填
883
970
  var changeHandle = /*#__PURE__*/function () {
884
- var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(order_no) {
971
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(order_no, options) {
885
972
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
886
973
  while (1) switch (_context5.prev = _context5.next) {
887
974
  case 0:
@@ -914,7 +1001,9 @@ var FormRender = function FormRender(props, ref) {
914
1001
  }, 0);
915
1002
  },
916
1003
  callKey: 3,
917
- setLoading: setLoading
1004
+ setLoading: setLoading,
1005
+ wdtMatchLogisticsNo: options === null || options === void 0 ? void 0 : options.wdtMatchLogisticsNo,
1006
+ skipOrderBackUniqueKeys: options === null || options === void 0 ? void 0 : options.skipOrderBackUniqueKeys
918
1007
  });
919
1008
  case 5:
920
1009
  case "end":
@@ -922,7 +1011,7 @@ var FormRender = function FormRender(props, ref) {
922
1011
  }
923
1012
  }, _callee5);
924
1013
  }));
925
- return function changeHandle(_x9) {
1014
+ return function changeHandle(_x9, _x10) {
926
1015
  return _ref6.apply(this, arguments);
927
1016
  };
928
1017
  }();
@@ -1012,6 +1101,13 @@ var FormRender = function FormRender(props, ref) {
1012
1101
  form: form
1013
1102
  });
1014
1103
  }
1104
+ if (workOrderComponentType === 'PLATFORM_AFTER_SALES_ORDER') {
1105
+ afterSaleOrderBackValues({
1106
+ templateList: templateDetail,
1107
+ value: value,
1108
+ form: form
1109
+ });
1110
+ }
1015
1111
  if (activeLogisticsComponents && ['INPUT', 'EXPRESS_LOGISTICS_SELECT', 'BS_LOGISTICS'].includes(workOrderComponentType)) {
1016
1112
  setLogisticsInfo({
1017
1113
  logisticsMappingConfig: activeLogisticsComponents,
@@ -1025,7 +1121,7 @@ var FormRender = function FormRender(props, ref) {
1025
1121
 
1026
1122
  //组件失焦事件
1027
1123
  var componentOnBlur = /*#__PURE__*/function () {
1028
- var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(value, type, uniqueKey) {
1124
+ var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(value, type, uniqueKey, options) {
1029
1125
  var promises;
1030
1126
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
1031
1127
  while (1) switch (_context6.prev = _context6.next) {
@@ -1051,36 +1147,43 @@ var FormRender = function FormRender(props, ref) {
1051
1147
  setKmLoading: setKmLoading
1052
1148
  });
1053
1149
  case 4:
1054
- _context6.next = 49;
1150
+ _context6.next = 58;
1055
1151
  break;
1056
1152
  case 6:
1057
1153
  if (!(type === 'expressLogisticsCode')) {
1058
- _context6.next = 16;
1154
+ _context6.next = 18;
1059
1155
  break;
1060
1156
  }
1061
- _context6.next = 9;
1157
+ if ("".concat(value || '').trim()) {
1158
+ _context6.next = 9;
1159
+ break;
1160
+ }
1161
+ return _context6.abrupt("return");
1162
+ case 9:
1163
+ _context6.next = 11;
1062
1164
  return onBlurExpressLogisticsCode({
1063
1165
  form: form,
1064
1166
  value: value,
1065
1167
  templateDetail: templateDetail,
1066
1168
  setKmLoading: setKmLoading,
1067
- componentOnBlur: componentOnBlur
1169
+ componentOnBlur: componentOnBlur,
1170
+ sourceUniqueKey: uniqueKey
1068
1171
  });
1069
- case 9:
1172
+ case 11:
1070
1173
  if (!['TR3E2FYXFZCFANVG6O6AALSM' //prod 斯凯奇
1071
1174
  ].includes(companyKey)) {
1072
- _context6.next = 12;
1175
+ _context6.next = 14;
1073
1176
  break;
1074
1177
  }
1075
- _context6.next = 12;
1178
+ _context6.next = 14;
1076
1179
  return onBlurSkxLogisticsCode({
1077
1180
  form: form,
1078
1181
  value: value,
1079
1182
  templateDetail: templateDetail,
1080
1183
  componentOnBlur: componentOnBlur
1081
1184
  });
1082
- case 12:
1083
- _context6.next = 14;
1185
+ case 14:
1186
+ _context6.next = 16;
1084
1187
  return onBlurReturnLogisticsCode({
1085
1188
  form: form,
1086
1189
  value: value,
@@ -1088,15 +1191,38 @@ var FormRender = function FormRender(props, ref) {
1088
1191
  componentOnBlur: componentOnBlur,
1089
1192
  orderBackRule: 'outSid'
1090
1193
  });
1091
- case 14:
1092
- _context6.next = 49;
1093
- break;
1094
1194
  case 16:
1095
- if (!(type === 'returnLogisticsCode')) {
1195
+ _context6.next = 58;
1196
+ break;
1197
+ case 18:
1198
+ if (!(type === 'interceptCode')) {
1199
+ _context6.next = 25;
1200
+ break;
1201
+ }
1202
+ if ("".concat(value || '').trim()) {
1096
1203
  _context6.next = 21;
1097
1204
  break;
1098
1205
  }
1099
- _context6.next = 19;
1206
+ return _context6.abrupt("return");
1207
+ case 21:
1208
+ _context6.next = 23;
1209
+ return onBlurExpressLogisticsCode({
1210
+ form: form,
1211
+ value: value,
1212
+ templateDetail: templateDetail,
1213
+ setKmLoading: setKmLoading,
1214
+ componentOnBlur: componentOnBlur,
1215
+ sourceUniqueKey: uniqueKey
1216
+ });
1217
+ case 23:
1218
+ _context6.next = 58;
1219
+ break;
1220
+ case 25:
1221
+ if (!(type === 'returnLogisticsCode')) {
1222
+ _context6.next = 30;
1223
+ break;
1224
+ }
1225
+ _context6.next = 28;
1100
1226
  return onBlurReturnLogisticsCode({
1101
1227
  form: form,
1102
1228
  value: value,
@@ -1104,57 +1230,57 @@ var FormRender = function FormRender(props, ref) {
1104
1230
  componentOnBlur: componentOnBlur,
1105
1231
  orderBackRule: 'logisticsCode'
1106
1232
  });
1107
- case 19:
1108
- _context6.next = 49;
1233
+ case 28:
1234
+ _context6.next = 58;
1109
1235
  break;
1110
- case 21:
1236
+ case 30:
1111
1237
  if (!(type === 'skxOutboundNoticeNo')) {
1112
- _context6.next = 27;
1238
+ _context6.next = 36;
1113
1239
  break;
1114
1240
  }
1115
1241
  //[SKX]ON出库通知单号 返填
1116
1242
  console.log('skxOutboundNoticeNo', value);
1117
- _context6.next = 25;
1243
+ _context6.next = 34;
1118
1244
  return onBlurSkxOutboundNoticeNo({
1119
1245
  form: form,
1120
1246
  value: value,
1121
1247
  templateDetail: templateDetail,
1122
1248
  componentOnBlur: componentOnBlur
1123
1249
  });
1124
- case 25:
1125
- _context6.next = 49;
1250
+ case 34:
1251
+ _context6.next = 58;
1126
1252
  break;
1127
- case 27:
1253
+ case 36:
1128
1254
  if (!(type === 'skxReturnBillNo')) {
1129
- _context6.next = 32;
1255
+ _context6.next = 41;
1130
1256
  break;
1131
1257
  }
1132
- _context6.next = 30;
1258
+ _context6.next = 39;
1133
1259
  return onBlurSkxReturnBillNo({
1134
1260
  form: form,
1135
1261
  value: value,
1136
1262
  templateDetail: templateDetail,
1137
1263
  componentOnBlur: componentOnBlur
1138
1264
  });
1139
- case 30:
1140
- _context6.next = 49;
1265
+ case 39:
1266
+ _context6.next = 58;
1141
1267
  break;
1142
- case 32:
1268
+ case 41:
1143
1269
  if (!(type === 'skxReturnTHLogisticsCode')) {
1144
- _context6.next = 37;
1270
+ _context6.next = 46;
1145
1271
  break;
1146
1272
  }
1147
- _context6.next = 35;
1273
+ _context6.next = 44;
1148
1274
  return onBlurSkxReturnTHLogisticsCode({
1149
1275
  form: form,
1150
1276
  value: value,
1151
1277
  templateDetail: templateDetail,
1152
1278
  componentOnBlur: componentOnBlur
1153
1279
  });
1154
- case 35:
1155
- _context6.next = 49;
1280
+ case 44:
1281
+ _context6.next = 58;
1156
1282
  break;
1157
- case 37:
1283
+ case 46:
1158
1284
  // 收集所有需要执行的异步操作
1159
1285
  promises = [];
1160
1286
  if (type === 'tradeId') {
@@ -1166,7 +1292,7 @@ var FormRender = function FormRender(props, ref) {
1166
1292
  promises.push(handleChangeTradeId(value));
1167
1293
  }
1168
1294
  if (value) {
1169
- _context6.next = 44;
1295
+ _context6.next = 53;
1170
1296
  break;
1171
1297
  }
1172
1298
  setReplaceValue(function (prev) {
@@ -1177,24 +1303,24 @@ var FormRender = function FormRender(props, ref) {
1177
1303
  });
1178
1304
  replaceValueRef.current = _objectSpread(_objectSpread({}, replaceValue), {}, _defineProperty({}, type, 0));
1179
1305
  return _context6.abrupt("return");
1180
- case 44:
1306
+ case 53:
1181
1307
  promises.push(queryReplaceCount(_defineProperty({}, type, value), templateDetail));
1182
1308
  // TODO: ERP不走订单反弹逻辑
1183
1309
  if ((type === 'tradeId' || type === 'enterprisePaymentTid') && !isErpUse) {
1184
- promises.push(changeHandle(value));
1310
+ promises.push(changeHandle(value, options));
1185
1311
  }
1186
1312
  // 等待所有异步操作完成
1187
- _context6.next = 48;
1313
+ _context6.next = 57;
1188
1314
  return Promise.all(promises);
1189
- case 48:
1315
+ case 57:
1190
1316
  return _context6.abrupt("return", Promise.resolve());
1191
- case 49:
1317
+ case 58:
1192
1318
  case "end":
1193
1319
  return _context6.stop();
1194
1320
  }
1195
1321
  }, _callee6);
1196
1322
  }));
1197
- return function componentOnBlur(_x10, _x11, _x12) {
1323
+ return function componentOnBlur(_x11, _x12, _x13, _x14) {
1198
1324
  return _ref7.apply(this, arguments);
1199
1325
  };
1200
1326
  }();
@@ -1327,6 +1453,9 @@ var FormRender = function FormRender(props, ref) {
1327
1453
  setLoading: setLoading
1328
1454
  });
1329
1455
  }
1456
+ } else {
1457
+ // 售后单反填
1458
+ afterSaleOrderBack(form, templateDetail);
1330
1459
  }
1331
1460
  };
1332
1461
 
@@ -5,12 +5,16 @@ export declare const onBlurErpAfterSaleTradeId: ({ form, value, templateDetail,
5
5
  templateDetail: any;
6
6
  setKmLoading: (loading: boolean) => void;
7
7
  }) => Promise<void>;
8
- export declare const onBlurExpressLogisticsCode: ({ form, value, templateDetail, setKmLoading, componentOnBlur, onlyGetTid, needTradeIdOrderBack, }: {
8
+ export declare const onBlurExpressLogisticsCode: ({ form, value, templateDetail, setKmLoading, componentOnBlur, sourceUniqueKey, onlyGetTid, needTradeIdOrderBack, }: {
9
9
  form: FormInstance;
10
10
  value: string;
11
11
  templateDetail: any;
12
12
  setKmLoading: (loading: boolean) => void;
13
- componentOnBlur: (value: any, type: string) => Promise<void>;
13
+ componentOnBlur: (value: any, type: string, uniqueKey?: string, options?: {
14
+ wdtMatchLogisticsNo?: string;
15
+ skipOrderBackUniqueKeys?: string[];
16
+ }) => Promise<void>;
17
+ sourceUniqueKey?: string | undefined;
14
18
  onlyGetTid?: boolean | undefined;
15
19
  needTradeIdOrderBack?: boolean | undefined;
16
20
  }) => Promise<any>;