@kmkf-fe-packages/kmkf-work-order-service-component 2.2.3-rc.0 → 2.2.3-rc.2

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.
Files changed (46) hide show
  1. package/dist/esm/FlowTemplateDetailV2/components/FormRender/index.js +27 -9
  2. package/dist/esm/FlowTemplateDetailV2/components/FormRender/onBlur.d.ts +6 -0
  3. package/dist/esm/FlowTemplateDetailV2/components/FormRender/onBlur.js +60 -1
  4. package/dist/esm/FlowTemplateDetailV2/constant.js +1 -1
  5. package/dist/esm/GlobalContext/hook/dist/useGetHasErpData.js +52 -0
  6. package/dist/esm/GlobalContext/orderQuery/dist/useGetErpAddressData.js +180 -0
  7. package/dist/esm/GlobalContext/orderQuery/dist/useGetErpLogisticsCompany.js +186 -0
  8. package/dist/esm/common/utils/constant.d.ts +8 -0
  9. package/dist/esm/common/utils/constant.js +18 -1
  10. package/dist/esm/common/utils/dist/submitDataTransOldFormat.js +899 -0
  11. package/dist/esm/common/utils/dist/tools.js +1326 -0
  12. package/dist/esm/common/utils/dist/transformWorkOrderData.js +965 -0
  13. package/dist/esm/common/utils/submitDataTransOldFormat.js +76 -62
  14. package/dist/esm/common/utils/tools.js +63 -37
  15. package/dist/esm/common/utils/tools_constants.js +12 -2
  16. package/dist/esm/common/utils/transformWorkOrderData.js +31 -8
  17. package/dist/esm/model/customizeWorkOrder/dist/api.js +48 -0
  18. package/dist/esm/model/customizeWorkOrder/dist/index.js +370 -0
  19. package/dist/esm/model/customizeWorkOrder/dist/selector.js +63 -0
  20. package/dist/esm/model/customizeWorkOrder/dist/types.js +3 -0
  21. package/dist/esm/model/dist/global.js +44 -0
  22. package/dist/esm/model/dist/hooks.js +15 -0
  23. package/dist/esm/model/dist/login.js +245 -0
  24. package/dist/esm/model/dist/store.js +30 -0
  25. package/dist/esm/model/dist/userData.js +41 -0
  26. package/dist/esm/model/dist/workOrder.js +329 -0
  27. package/dist/esm/model/flowTemplateDetail/dist/api.js +192 -0
  28. package/dist/esm/model/flowTemplateDetail/dist/types.js +48 -0
  29. package/dist/esm/model/logicFlow/dist/api.js +14 -0
  30. package/dist/esm/model/logicFlow/dist/index.js +235 -0
  31. package/dist/esm/model/logicFlow/dist/selector.js +18 -0
  32. package/dist/esm/model/logicFlow/dist/types.js +3 -0
  33. package/dist/esm/model/paymentWorkOrder/dist/index.js +77 -0
  34. package/dist/esm/model/paymentWorkOrder/dist/selector.js +36 -0
  35. package/dist/esm/model/paymentWorkOrder/dist/types.js +3 -0
  36. package/dist/esm/model/servers/api.d.ts +1 -0
  37. package/dist/esm/model/servers/api.js +9 -0
  38. package/dist/esm/model/servers/dist/api.js +545 -0
  39. package/dist/esm/model/servers/dist/request.js +63 -0
  40. package/dist/esm/model/singleShopWorkOrder/dist/index.js +216 -0
  41. package/dist/esm/model/singleShopWorkOrder/dist/selector.js +24 -0
  42. package/dist/esm/model/singleShopWorkOrder/dist/types.js +3 -0
  43. package/dist/esm/model/types/dist/login.js +3 -0
  44. package/dist/esm/model/types/dist/singleWorkOrder.js +3 -0
  45. package/dist/esm/model/types/dist/workOrder.js +3 -0
  46. package/package.json +5 -5
@@ -43,7 +43,7 @@ import { jsonParseSecurity, findComponentUniqueKeyByType } from "../../../common
43
43
  import { NEED_CLEAR_FIELDS_WHEN_SHOP_ID_CHANGE } from "../../constant";
44
44
  import { Context } from "../../context";
45
45
  import { orderBackKmAddress } from "./constants";
46
- import { onBlurExpressLogisticsCode, onBlurErpAfterSaleTradeId } from "./onBlur";
46
+ import { onBlurExpressLogisticsCode, onBlurErpAfterSaleTradeId, onBlurSkxOutboundNoticeNo } from "./onBlur";
47
47
  import { findAllDependencies } from "./component-dependency-finder";
48
48
  import { findValueDependencies } from "./value-mapping-finder";
49
49
  // 记录显隐触发隐藏的组件。显示后,重新出发一遍映射规则
@@ -881,7 +881,7 @@ var FormRender = function FormRender(props, ref) {
881
881
  setKmLoading: setKmLoading
882
882
  });
883
883
  case 3:
884
- _context5.next = 22;
884
+ _context5.next = 28;
885
885
  break;
886
886
  case 5:
887
887
  if (!(type === 'expressLogisticsCode')) {
@@ -897,9 +897,26 @@ var FormRender = function FormRender(props, ref) {
897
897
  componentOnBlur: componentOnBlur
898
898
  });
899
899
  case 8:
900
- _context5.next = 22;
900
+ _context5.next = 28;
901
901
  break;
902
902
  case 10:
903
+ if (!(type === 'skxOutboundNoticeNo')) {
904
+ _context5.next = 16;
905
+ break;
906
+ }
907
+ //[SKX]ON出库通知单号 返填
908
+ console.log('skxOutboundNoticeNo', value);
909
+ _context5.next = 14;
910
+ return onBlurSkxOutboundNoticeNo({
911
+ form: form,
912
+ value: value,
913
+ templateDetail: templateDetail,
914
+ componentOnBlur: componentOnBlur
915
+ });
916
+ case 14:
917
+ _context5.next = 28;
918
+ break;
919
+ case 16:
903
920
  // 收集所有需要执行的异步操作
904
921
  promises = [];
905
922
  if (type === 'tradeId') {
@@ -911,7 +928,7 @@ var FormRender = function FormRender(props, ref) {
911
928
  promises.push(handleChangeTradeId(value));
912
929
  }
913
930
  if (value) {
914
- _context5.next = 17;
931
+ _context5.next = 23;
915
932
  break;
916
933
  }
917
934
  setReplaceValue(function (prev) {
@@ -922,18 +939,18 @@ var FormRender = function FormRender(props, ref) {
922
939
  });
923
940
  replaceValueRef.current = _objectSpread(_objectSpread({}, replaceValue), {}, _defineProperty({}, type, 0));
924
941
  return _context5.abrupt("return");
925
- case 17:
942
+ case 23:
926
943
  promises.push(queryReplaceCount(_defineProperty({}, type, value), templateDetail));
927
944
  // TODO: ERP不走订单反弹逻辑
928
945
  if ((type === 'tradeId' || type === 'enterprisePaymentTid') && !isErpUse) {
929
946
  promises.push(changeHandle(value));
930
947
  }
931
948
  // 等待所有异步操作完成
932
- _context5.next = 21;
949
+ _context5.next = 27;
933
950
  return Promise.all(promises);
934
- case 21:
951
+ case 27:
935
952
  return _context5.abrupt("return", Promise.resolve());
936
- case 22:
953
+ case 28:
937
954
  case "end":
938
955
  return _context5.stop();
939
956
  }
@@ -988,7 +1005,7 @@ var FormRender = function FormRender(props, ref) {
988
1005
  }
989
1006
  //如果有bs组件 设置成初始值
990
1007
  var hasBs = get(templateDetail, 'componentDtoList', []).some(function (item) {
991
- return ['BS_LOGISTICS', 'BS_E3_LOGISTICS', 'BS_SEND_GOOD', 'BS_E3_SEND_GOOD', 'WDT_LOGISTICS', 'WDT_SEND_GOOD', 'WLN_LOGISTICS', 'WLN_SEND_GOOD', 'KM_LOGISTICS', 'KM_SEND_GOOD', 'GY_SEND_GOOD', 'GY_LOGISTICS'].includes(item.workOrderComponentType);
1008
+ return ['BS_LOGISTICS', 'BS_E3_LOGISTICS', 'BS_SEND_GOOD', 'BS_E3_SEND_GOOD', 'WDT_LOGISTICS', 'WDT_SEND_GOOD', 'WLN_LOGISTICS', 'WLN_SEND_GOOD', 'KM_LOGISTICS', 'KM_SEND_GOOD', 'GY_SEND_GOOD', 'GY_LOGISTICS', 'SKX_LOGISTICS'].includes(item.workOrderComponentType);
992
1009
  });
993
1010
  if (hasBs) {
994
1011
  var bsValue = get(templateDetail, 'componentDtoList', []).reduce(function (prv, next) {
@@ -999,6 +1016,7 @@ var FormRender = function FormRender(props, ref) {
999
1016
  case 'KM_LOGISTICS':
1000
1017
  case 'BS_E3_LOGISTICS':
1001
1018
  case 'GY_LOGISTICS':
1019
+ case 'SKX_LOGISTICS':
1002
1020
  prv[next.uniqueKey] = [{
1003
1021
  logisticsCompany: null,
1004
1022
  logisticsCode: null
@@ -12,3 +12,9 @@ export declare const onBlurExpressLogisticsCode: ({ form, value, templateDetail,
12
12
  setKmLoading: (loading: boolean) => void;
13
13
  componentOnBlur: (value: any, type: string) => Promise<void>;
14
14
  }) => Promise<void>;
15
+ export declare const onBlurSkxOutboundNoticeNo: ({ form, value, templateDetail, componentOnBlur, }: {
16
+ form: FormInstance;
17
+ value: string;
18
+ templateDetail: any;
19
+ componentOnBlur: (value: any, type: string) => Promise<void>;
20
+ }) => Promise<void>;
@@ -1,10 +1,16 @@
1
1
  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); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
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; }
3
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); } }
4
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); }); }; }
5
10
  import { orderBackKmVideoByLogisticsCode } from "../../../common/utils/orderBackKm";
6
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
11
+ import { isNull, skxSystemOrderBackValues } from '@kmkf-fe-packages/kmkf-utils';
7
12
  import { queryTidByOutSid } from "../../../model/servers/api";
13
+ import { skxUtils } from '@kmkf-fe-packages/basic-components';
8
14
  export var onBlurErpAfterSaleTradeId = /*#__PURE__*/function () {
9
15
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
10
16
  var _kmErpVideoComponent$;
@@ -134,4 +140,57 @@ export var onBlurExpressLogisticsCode = /*#__PURE__*/function () {
134
140
  return function onBlurExpressLogisticsCode(_x2) {
135
141
  return _ref4.apply(this, arguments);
136
142
  };
143
+ }();
144
+ export var onBlurSkxOutboundNoticeNo = /*#__PURE__*/function () {
145
+ var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref5) {
146
+ var form, value, templateDetail, componentOnBlur, data, tradeId, blurPromise, values;
147
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
148
+ while (1) switch (_context3.prev = _context3.next) {
149
+ case 0:
150
+ form = _ref5.form, value = _ref5.value, templateDetail = _ref5.templateDetail, componentOnBlur = _ref5.componentOnBlur;
151
+ console.log('onBlurSkxOutboundNoticeNo', {
152
+ form: form,
153
+ value: value,
154
+ templateDetail: templateDetail
155
+ });
156
+ if (value) {
157
+ _context3.next = 4;
158
+ break;
159
+ }
160
+ return _context3.abrupt("return");
161
+ case 4:
162
+ _context3.next = 6;
163
+ return skxUtils.getAllGoods({
164
+ onBillNo: value
165
+ });
166
+ case 6:
167
+ data = _context3.sent;
168
+ console.log('skxUtils.getAllGoods', data);
169
+ tradeId = data === null || data === void 0 ? void 0 : data.tid; // 创建一个异步操作的Promise
170
+ blurPromise = componentOnBlur(tradeId, 'tradeId'); // 等待异步操作完成后再执行setTimeout
171
+ _context3.next = 12;
172
+ return blurPromise;
173
+ case 12:
174
+ // 所有异步操作完成后执行
175
+ values = skxSystemOrderBackValues({
176
+ templateList: templateDetail,
177
+ value: {
178
+ allOrders: (data === null || data === void 0 ? void 0 : data.orderDetailInfoList) || []
179
+ },
180
+ form: form,
181
+ isReverseFilling: false
182
+ });
183
+ form.setFieldsValue(_objectSpread(_objectSpread({}, values || {}), {}, {
184
+ m3ap1EvEyd: tradeId,
185
+ '78CADF2951': value
186
+ }));
187
+ case 14:
188
+ case "end":
189
+ return _context3.stop();
190
+ }
191
+ }, _callee3);
192
+ }));
193
+ return function onBlurSkxOutboundNoticeNo(_x3) {
194
+ return _ref6.apply(this, arguments);
195
+ };
137
196
  }();
@@ -1,2 +1,2 @@
1
1
  // 切换当前店铺时,以下组件字段需要清空
2
- export var NEED_CLEAR_FIELDS_WHEN_SHOP_ID_CHANGE = ['BS_E3_LOGISTICS', 'BS_E3_SEND_GOOD', 'ITEM_SELECT_THIRD', 'STATUS', 'ITEM_SELECT', 'ITEM_ID', 'ITEM_ENCODE', 'JST_LOGISTICS', 'JST_ITEM_SELECT_THIRD', 'JST_SUPPLY', 'JST_SEND_GOOD', 'BS_GOODS', 'BS_EXCHANGE_GOODS', 'BS_REISSUE_GOODS', 'BS_RETURN_GOODS', 'BS_LOGISTICS', 'BS_SEND_GOOD', 'BS_SYSTEM_ORDER', 'WLN_SYSTEM_ORDER', 'WLN_GOODS', 'WLN_LOGISTICS', 'WLN_SEND_GOOD', 'WDT_LOGISTICS', 'WDT_SEND_GOOD', 'WDT_SYSTEM_ORDER', 'WDT_REISSUE_GOODS', 'WDT_RETURN_GOODS', 'WDT_SHOP', 'WDT_EXCHANGE_GOODS', 'KM_SYSTEM_ORDER', 'KM_SEND_GOOD', 'KM_LOGISTICS', 'KM_GOODS', 'KM_REISSUE_GOODS', 'BS_E3_SYSTEM_ORDER', 'JST_SYSTEM_ORDER', 'JST_GOODS', 'JST_REISSUE_GOODS', 'JST_RETURN_GOODS', 'JST_EXCHANGE_GOODS', 'BS_E3_REISSUE_GOODS', 'GY_SYSTEM_ORDER', 'GY_SEND_GOOD', 'GY_GOODS', 'GY_REISSUE_GOODS', 'GY_RETURN_GOODS', 'GY_LOGISTICS'];
2
+ export var NEED_CLEAR_FIELDS_WHEN_SHOP_ID_CHANGE = ['BS_E3_LOGISTICS', 'BS_E3_SEND_GOOD', 'ITEM_SELECT_THIRD', 'STATUS', 'ITEM_SELECT', 'ITEM_ID', 'ITEM_ENCODE', 'JST_LOGISTICS', 'JST_ITEM_SELECT_THIRD', 'JST_SUPPLY', 'JST_SEND_GOOD', 'BS_GOODS', 'BS_EXCHANGE_GOODS', 'BS_REISSUE_GOODS', 'BS_RETURN_GOODS', 'BS_LOGISTICS', 'BS_SEND_GOOD', 'BS_SYSTEM_ORDER', 'WLN_SYSTEM_ORDER', 'WLN_GOODS', 'WLN_LOGISTICS', 'WLN_SEND_GOOD', 'WDT_LOGISTICS', 'WDT_SEND_GOOD', 'WDT_SYSTEM_ORDER', 'WDT_REISSUE_GOODS', 'WDT_RETURN_GOODS', 'WDT_SHOP', 'WDT_EXCHANGE_GOODS', 'KM_SYSTEM_ORDER', 'KM_SEND_GOOD', 'KM_LOGISTICS', 'KM_GOODS', 'KM_REISSUE_GOODS', 'BS_E3_SYSTEM_ORDER', 'JST_SYSTEM_ORDER', 'JST_GOODS', 'JST_REISSUE_GOODS', 'JST_RETURN_GOODS', 'JST_EXCHANGE_GOODS', 'BS_E3_REISSUE_GOODS', 'GY_SYSTEM_ORDER', 'GY_SEND_GOOD', 'GY_GOODS', 'GY_REISSUE_GOODS', 'GY_RETURN_GOODS', 'GY_LOGISTICS', 'SKX_OUTBOUND_NOTICE_NO', 'SKX_SHOP_NAME', 'SKX_WAREHOUSE', 'SKX_LOGISTICS', 'SKX_GOODS', 'SKX_ORDER_TYPE', 'SKX_ORDER_STATUS', 'SKX_CREATE_TIME'];
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ var react_1 = require("react");
5
+ var react_redux_1 = require("react-redux");
6
+ var toolkit_1 = require("@reduxjs/toolkit");
7
+ var getTemplate = function getTemplate(companyUserConfig) {
8
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
9
+ return JSON.stringify({
10
+ hasWln: (_c = (_b = (_a = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.plugins) === null || _a === void 0 ? void 0 : _a.wln) === null || _b === void 0 ? void 0 : _b.show) !== null && _c !== void 0 ? _c : false,
11
+ hasWdt: (_f = (_e = (_d = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.plugins) === null || _d === void 0 ? void 0 : _d.wdt) === null || _e === void 0 ? void 0 : _e.show) !== null && _f !== void 0 ? _f : false,
12
+ hasBs: (_j = (_h = (_g = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.plugins) === null || _g === void 0 ? void 0 : _g.bs) === null || _h === void 0 ? void 0 : _h.show) !== null && _j !== void 0 ? _j : false,
13
+ hasE3: (_m = (_l = (_k = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.plugins) === null || _k === void 0 ? void 0 : _k.bse3) === null || _l === void 0 ? void 0 : _l.show) !== null && _m !== void 0 ? _m : false,
14
+ hasJst: (_q = (_p = (_o = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.plugins) === null || _o === void 0 ? void 0 : _o.jst) === null || _p === void 0 ? void 0 : _p.show) !== null && _q !== void 0 ? _q : false,
15
+ hasGy: (_t = (_s = (_r = companyUserConfig === null || companyUserConfig === void 0 ? void 0 : companyUserConfig.plugins) === null || _r === void 0 ? void 0 : _r.gy) === null || _s === void 0 ? void 0 : _s.show) !== null && _t !== void 0 ? _t : false
16
+ });
17
+ };
18
+ function useGetHasErpData() {
19
+ var companyUserConfig = react_redux_1.useSelector(toolkit_1.createSelector([function (state) {
20
+ var _a, _b, _c, _d;
21
+ console.log("state--useSelector", state);
22
+ /**
23
+ * pc main
24
+ * 端 workOrder
25
+ * **/
26
+ return (_d = (_b = (_a = state === null || state === void 0 ? void 0 : state.main) === null || _a === void 0 ? void 0 : _a.userInfo) !== null && _b !== void 0 ? _b : (_c = state === null || state === void 0 ? void 0 : state.workOrder) === null || _c === void 0 ? void 0 : _c.userInfo) !== null && _d !== void 0 ? _d : {};
27
+ }], function (state) {
28
+ var _a;
29
+ var companyUserConfig = (_a = state === null || state === void 0 ? void 0 : state.companyUserConfig) !== null && _a !== void 0 ? _a : {};
30
+ if (typeof companyUserConfig === "string") {
31
+ try {
32
+ companyUserConfig = JSON.parse(companyUserConfig);
33
+ } catch (e) {
34
+ console.error("companyUserConfig转换异常", companyUserConfig);
35
+ companyUserConfig = {};
36
+ }
37
+ }
38
+ return companyUserConfig;
39
+ }));
40
+ var _a = react_1.useState(getTemplate({})),
41
+ hasErpDataJson = _a[0],
42
+ setHasErpDataJson = _a[1];
43
+ react_1.useEffect(function () {
44
+ setHasErpDataJson(getTemplate(companyUserConfig));
45
+ console.log("companyUserConfig---", companyUserConfig);
46
+ }, [companyUserConfig]);
47
+ var hasErpData = react_1.useMemo(function () {
48
+ return JSON.parse(hasErpDataJson);
49
+ }, [hasErpDataJson]);
50
+ return hasErpData;
51
+ }
52
+ exports["default"] = useGetHasErpData;
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+
3
+ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
4
+ function adopt(value) {
5
+ return value instanceof P ? value : new P(function (resolve) {
6
+ resolve(value);
7
+ });
8
+ }
9
+ return new (P || (P = Promise))(function (resolve, reject) {
10
+ function fulfilled(value) {
11
+ try {
12
+ step(generator.next(value));
13
+ } catch (e) {
14
+ reject(e);
15
+ }
16
+ }
17
+ function rejected(value) {
18
+ try {
19
+ step(generator["throw"](value));
20
+ } catch (e) {
21
+ reject(e);
22
+ }
23
+ }
24
+ function step(result) {
25
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
26
+ }
27
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
28
+ });
29
+ };
30
+ var __generator = this && this.__generator || function (thisArg, body) {
31
+ var _ = {
32
+ label: 0,
33
+ sent: function sent() {
34
+ if (t[0] & 1) throw t[1];
35
+ return t[1];
36
+ },
37
+ trys: [],
38
+ ops: []
39
+ },
40
+ f,
41
+ y,
42
+ t,
43
+ g;
44
+ return g = {
45
+ next: verb(0),
46
+ "throw": verb(1),
47
+ "return": verb(2)
48
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
49
+ return this;
50
+ }), g;
51
+ function verb(n) {
52
+ return function (v) {
53
+ return step([n, v]);
54
+ };
55
+ }
56
+ function step(op) {
57
+ if (f) throw new TypeError("Generator is already executing.");
58
+ while (_) try {
59
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
60
+ if (y = 0, t) op = [op[0] & 2, t.value];
61
+ switch (op[0]) {
62
+ case 0:
63
+ case 1:
64
+ t = op;
65
+ break;
66
+ case 4:
67
+ _.label++;
68
+ return {
69
+ value: op[1],
70
+ done: false
71
+ };
72
+ case 5:
73
+ _.label++;
74
+ y = op[1];
75
+ op = [0];
76
+ continue;
77
+ case 7:
78
+ op = _.ops.pop();
79
+ _.trys.pop();
80
+ continue;
81
+ default:
82
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
83
+ _ = 0;
84
+ continue;
85
+ }
86
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
87
+ _.label = op[1];
88
+ break;
89
+ }
90
+ if (op[0] === 6 && _.label < t[1]) {
91
+ _.label = t[1];
92
+ t = op;
93
+ break;
94
+ }
95
+ if (t && _.label < t[2]) {
96
+ _.label = t[2];
97
+ _.ops.push(op);
98
+ break;
99
+ }
100
+ if (t[2]) _.ops.pop();
101
+ _.trys.pop();
102
+ continue;
103
+ }
104
+ op = body.call(thisArg, _);
105
+ } catch (e) {
106
+ op = [6, e];
107
+ y = 0;
108
+ } finally {
109
+ f = t = 0;
110
+ }
111
+ if (op[0] & 5) throw op[1];
112
+ return {
113
+ value: op[0] ? op[1] : void 0,
114
+ done: true
115
+ };
116
+ }
117
+ };
118
+ exports.__esModule = true;
119
+ var react_1 = require("react");
120
+ var useGetHasErpData_1 = require("../hook/useGetHasErpData");
121
+ var ahooks_1 = require("ahooks");
122
+ var kmkf_utils_1 = require("@kmkf-fe-packages/kmkf-utils");
123
+ function useGetErpAddressData(notJudgedErp) {
124
+ var _this = this;
125
+ var _a = react_1.useState("loading"),
126
+ globalState = _a[0],
127
+ setGlobalState = _a[1];
128
+ var hasErpData = useGetHasErpData_1["default"]();
129
+ ahooks_1.useUpdateEffect(function () {
130
+ asyncQueryData(hasErpData, notJudgedErp);
131
+ }, [hasErpData, notJudgedErp]);
132
+ var asyncQueryData = function asyncQueryData(hasErpData, notJudgedErp) {
133
+ return __awaiter(_this, void 0, void 0, function () {
134
+ var hasBs, hasWdt, hasGy, promises, e_1;
135
+ return __generator(this, function (_a) {
136
+ switch (_a.label) {
137
+ case 0:
138
+ hasBs = hasErpData.hasBs, hasWdt = hasErpData.hasWdt, hasGy = hasErpData.hasGy;
139
+ promises = [];
140
+ if (hasBs || notJudgedErp) promises.push(kmkf_utils_1.servers.queryBsAddressData);
141
+ if (hasWdt || notJudgedErp) promises.push(kmkf_utils_1.servers.queryWdtAddressData);
142
+ if (hasGy || notJudgedErp) promises.push(kmkf_utils_1.servers.queryGyAddressData);
143
+ _a.label = 1;
144
+ case 1:
145
+ _a.trys.push([1, 3,, 4]);
146
+ return [4 /*yield*/, Promise.all(promises.map(function (promise) {
147
+ return promise();
148
+ }))];
149
+ case 2:
150
+ _a.sent();
151
+ setGlobalState("success");
152
+ return [3 /*break*/, 4];
153
+ case 3:
154
+ e_1 = _a.sent();
155
+ setGlobalState("failed");
156
+ return [3 /*break*/, 4];
157
+ case 4:
158
+ return [2 /*return*/];
159
+ }
160
+ });
161
+ });
162
+ };
163
+
164
+ var onReload = function onReload() {
165
+ return __awaiter(_this, void 0, void 0, function () {
166
+ return __generator(this, function (_a) {
167
+ switch (_a.label) {
168
+ case 0:
169
+ return [4 /*yield*/, asyncQueryData(hasErpData, notJudgedErp)];
170
+ case 1:
171
+ _a.sent();
172
+ return [2 /*return*/];
173
+ }
174
+ });
175
+ });
176
+ };
177
+
178
+ return [globalState, onReload];
179
+ }
180
+ exports["default"] = useGetErpAddressData;
@@ -0,0 +1,186 @@
1
+ "use strict";
2
+
3
+ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
4
+ function adopt(value) {
5
+ return value instanceof P ? value : new P(function (resolve) {
6
+ resolve(value);
7
+ });
8
+ }
9
+ return new (P || (P = Promise))(function (resolve, reject) {
10
+ function fulfilled(value) {
11
+ try {
12
+ step(generator.next(value));
13
+ } catch (e) {
14
+ reject(e);
15
+ }
16
+ }
17
+ function rejected(value) {
18
+ try {
19
+ step(generator["throw"](value));
20
+ } catch (e) {
21
+ reject(e);
22
+ }
23
+ }
24
+ function step(result) {
25
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
26
+ }
27
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
28
+ });
29
+ };
30
+ var __generator = this && this.__generator || function (thisArg, body) {
31
+ var _ = {
32
+ label: 0,
33
+ sent: function sent() {
34
+ if (t[0] & 1) throw t[1];
35
+ return t[1];
36
+ },
37
+ trys: [],
38
+ ops: []
39
+ },
40
+ f,
41
+ y,
42
+ t,
43
+ g;
44
+ return g = {
45
+ next: verb(0),
46
+ "throw": verb(1),
47
+ "return": verb(2)
48
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
49
+ return this;
50
+ }), g;
51
+ function verb(n) {
52
+ return function (v) {
53
+ return step([n, v]);
54
+ };
55
+ }
56
+ function step(op) {
57
+ if (f) throw new TypeError("Generator is already executing.");
58
+ while (_) try {
59
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
60
+ if (y = 0, t) op = [op[0] & 2, t.value];
61
+ switch (op[0]) {
62
+ case 0:
63
+ case 1:
64
+ t = op;
65
+ break;
66
+ case 4:
67
+ _.label++;
68
+ return {
69
+ value: op[1],
70
+ done: false
71
+ };
72
+ case 5:
73
+ _.label++;
74
+ y = op[1];
75
+ op = [0];
76
+ continue;
77
+ case 7:
78
+ op = _.ops.pop();
79
+ _.trys.pop();
80
+ continue;
81
+ default:
82
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
83
+ _ = 0;
84
+ continue;
85
+ }
86
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
87
+ _.label = op[1];
88
+ break;
89
+ }
90
+ if (op[0] === 6 && _.label < t[1]) {
91
+ _.label = t[1];
92
+ t = op;
93
+ break;
94
+ }
95
+ if (t && _.label < t[2]) {
96
+ _.label = t[2];
97
+ _.ops.push(op);
98
+ break;
99
+ }
100
+ if (t[2]) _.ops.pop();
101
+ _.trys.pop();
102
+ continue;
103
+ }
104
+ op = body.call(thisArg, _);
105
+ } catch (e) {
106
+ op = [6, e];
107
+ y = 0;
108
+ } finally {
109
+ f = t = 0;
110
+ }
111
+ if (op[0] & 5) throw op[1];
112
+ return {
113
+ value: op[0] ? op[1] : void 0,
114
+ done: true
115
+ };
116
+ }
117
+ };
118
+ exports.__esModule = true;
119
+ var react_1 = require("react");
120
+ var useGetHasErpData_1 = require("../hook/useGetHasErpData");
121
+ var ahooks_1 = require("ahooks");
122
+ var api_1 = require("../../../service/api");
123
+ function useGetErpLogisticsCompany(notJudgedErp) {
124
+ var _this = this;
125
+ var _a = react_1.useState("loading"),
126
+ globalState = _a[0],
127
+ setGlobalState = _a[1];
128
+ var hasErpData = useGetHasErpData_1["default"]();
129
+ ahooks_1.useUpdateEffect(function () {
130
+ asyncQueryData(hasErpData, notJudgedErp);
131
+ }, [hasErpData, notJudgedErp]);
132
+ var asyncQueryData = function asyncQueryData(hasErpData, notJudgedErp) {
133
+ return __awaiter(_this, void 0, void 0, function () {
134
+ var hasWdt, hasE3, hasJst, hasWln, promises, e_1;
135
+ return __generator(this, function (_a) {
136
+ switch (_a.label) {
137
+ case 0:
138
+ hasWdt = hasErpData.hasWdt, hasE3 = hasErpData.hasE3, hasJst = hasErpData.hasJst, hasWln = hasErpData.hasWln;
139
+ promises = [api_1.queryKMLogisticsCompany];
140
+ if (hasWdt || notJudgedErp) promises.push(api_1.queryWdtLogisticsCompany);
141
+ if (hasE3 || notJudgedErp) promises.push(api_1.queryBsE3LogisticsCompany);
142
+ if (hasJst || notJudgedErp) promises.push(api_1.queryJSTLogisticsCompany);
143
+ if (hasWln || notJudgedErp) promises.push(api_1.queryWLNLogisticsCompany);
144
+ if (!hasWdt && !hasE3 && !hasJst && !hasWln && !notJudgedErp) {
145
+ setGlobalState("success");
146
+ return [2 /*return*/];
147
+ }
148
+
149
+ _a.label = 1;
150
+ case 1:
151
+ _a.trys.push([1, 3,, 4]);
152
+ return [4 /*yield*/, Promise.all(promises.map(function (promise) {
153
+ return promise();
154
+ }))];
155
+ case 2:
156
+ _a.sent();
157
+ setGlobalState("success");
158
+ return [3 /*break*/, 4];
159
+ case 3:
160
+ e_1 = _a.sent();
161
+ setGlobalState("failed");
162
+ return [3 /*break*/, 4];
163
+ case 4:
164
+ return [2 /*return*/];
165
+ }
166
+ });
167
+ });
168
+ };
169
+
170
+ var onReload = function onReload() {
171
+ return __awaiter(_this, void 0, void 0, function () {
172
+ return __generator(this, function (_a) {
173
+ switch (_a.label) {
174
+ case 0:
175
+ return [4 /*yield*/, asyncQueryData(hasErpData, notJudgedErp)];
176
+ case 1:
177
+ _a.sent();
178
+ return [2 /*return*/];
179
+ }
180
+ });
181
+ });
182
+ };
183
+
184
+ return [globalState, onReload];
185
+ }
186
+ exports["default"] = useGetErpLogisticsCompany;
@@ -1,4 +1,12 @@
1
1
  export declare const updateWorkTypeKeys: any;
2
+ export declare const processSingleFieldTypeMapping: {
3
+ SKX_OUTBOUND_NOTICE_NO: string;
4
+ SKX_SHOP_NAME: string;
5
+ SKX_WAREHOUSE: string;
6
+ SKX_ORDER_TYPE: string;
7
+ SKX_ORDER_STATUS: string;
8
+ SKX_CREATE_TIME: string;
9
+ };
2
10
  export declare const systemOrderMap: any;
3
11
  export declare const DEFAULT_STRING_COMPONENT_TYPE_FIELD_MAPPING: any;
4
12
  export declare const DEFAULT_ARRAY_COMPONENT_TYPE_FIELD_MAPPING: any;