@kmkf-fe-packages/kmkf-work-order-service-component 2.0.50 → 2.0.52

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.
@@ -46,7 +46,7 @@ export var FLOW_STATUS_V2 = {
46
46
  RETURNING: '回退中'
47
47
  };
48
48
  //不能回填的组件type
49
- 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', 'EXCHANGE_TRADE_ID', 'REISSUE_TRADE_ID', 'ERP_AFTER_SALE_TRADE_ID', 'LOGISTICS_INTERCEPTION', 'LOGISTICS_INTERCEPTION_MORE', 'ORDER_TYPE'];
49
+ 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', 'EXCHANGE_TRADE_ID', 'REISSUE_TRADE_ID', 'ERP_AFTER_SALE_TRADE_ID', 'LOGISTICS_INTERCEPTION', 'LOGISTICS_INTERCEPTION_MORE', 'ORDER_TYPE', 'REFUND_TYPE', 'RETURN_EXCHANGE_GOODS_REVIEW_STATUS'];
50
50
  export var verifyHandle = function verifyHandle(data, componentDtoList) {
51
51
  var _componentDtoList$fin, _componentDtoList$fin2, _data$paymentUniqueKe, _data$paymentUniqueKe2;
52
52
  var res = {
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
- declare const RemarkListModal: () => React.JSX.Element;
2
+ import { PlatFormInfo } from '../../../model/flowTemplateDetail/types';
3
+ declare const RemarkListModal: (props: {
4
+ plat: PlatFormInfo;
5
+ }) => React.JSX.Element;
3
6
  export default RemarkListModal;
@@ -1,4 +1,5 @@
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 _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
3
  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
4
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
4
5
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -31,7 +32,8 @@ var Record = function Record(props) {
31
32
  nodeName = props.nodeName,
32
33
  workOrderUpdateLog = props.workOrderUpdateLog,
33
34
  componentDtoList = props.componentDtoList,
34
- imgList = props.imgList;
35
+ imgList = props.imgList,
36
+ plat = props.plat;
35
37
  var contextLines = context === null || context === void 0 ? void 0 : context.split('\n');
36
38
  return /*#__PURE__*/React.createElement("div", {
37
39
  className: styles.remarkContext
@@ -64,10 +66,12 @@ var Record = function Record(props) {
64
66
  }))), workOrderUpdateLog ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OperationLog, {
65
67
  content: workOrderUpdateLog.content,
66
68
  operation: workOrderUpdateLog.operation,
67
- componentDtoList: componentDtoList
69
+ componentDtoList: componentDtoList,
70
+ plat: plat
68
71
  })) : null);
69
72
  };
70
- var RemarkListModal = function RemarkListModal() {
73
+ var RemarkListModal = function RemarkListModal(props) {
74
+ var plat = props.plat;
71
75
  var visible = useSelector(selectVisibleRemarkList);
72
76
  var list = useSelector(selectRemarkRecordList);
73
77
  var _useState = useState([]),
@@ -148,7 +152,9 @@ var RemarkListModal = function RemarkListModal() {
148
152
  overflow: 'auto'
149
153
  }
150
154
  }, /*#__PURE__*/React.createElement(Timeline, null, remarkList === null || remarkList === void 0 ? void 0 : remarkList.map(function (flowRecord) {
151
- return /*#__PURE__*/React.createElement(Timeline.Item, null, /*#__PURE__*/React.createElement(Record, flowRecord));
155
+ return /*#__PURE__*/React.createElement(Timeline.Item, null, /*#__PURE__*/React.createElement(Record, _extends({}, flowRecord, {
156
+ plat: plat
157
+ })));
152
158
  })));
153
159
  };
154
160
  export default RemarkListModal;
@@ -1319,7 +1319,9 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
1319
1319
  type: 'memo'
1320
1320
  });
1321
1321
  }
1322
- }), /*#__PURE__*/React.createElement(RemarkListModal, null), /*#__PURE__*/React.createElement(ForWardModal, {
1322
+ }), /*#__PURE__*/React.createElement(RemarkListModal, {
1323
+ plat: plat
1324
+ }), /*#__PURE__*/React.createElement(ForWardModal, {
1323
1325
  flowTemplateId: flowTemplateId,
1324
1326
  nodeId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$no23 = currentNodeDetail.nodeInfo) === null || _currentNodeDetail$no23 === void 0 ? void 0 : _currentNodeDetail$no23.id,
1325
1327
  handleForWard: handleForWard
@@ -7,7 +7,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React, { useMemo, useState } from 'react';
8
8
  import { Input } from 'antd';
9
9
  import "./index.less";
10
- var MAX_TEMPLATE_NUM = 50;
10
+ var MAX_TEMPLATE_NUM = 10;
11
11
  var LogicFlowList = function LogicFlowList(_ref) {
12
12
  var logicFlowList = _ref.logicFlowList,
13
13
  handleCreateWorkOrderByFlowId = _ref.handleCreateWorkOrderByFlowId;
@@ -88,7 +88,8 @@ export var DEFAULT_STRING_COMPONENT_TYPE_FIELD_MAPPING = {
88
88
  BUSINESS_ORDER_NO: 'businessOrderNo',
89
89
  PAYMENT_VOUCHER_CODE: 'paymentVoucherCode',
90
90
  BASIC_MULT_SELECT: 'basicMultSelect',
91
- ORDER_TYPE: 'erpOrderType'
91
+ ORDER_TYPE: 'erpOrderType',
92
+ REFUND_TYPE: 'orderRefundType'
92
93
  };
93
94
  export var DEFAULT_ARRAY_COMPONENT_TYPE_FIELD_MAPPING = {
94
95
  RATE: 'rate',
@@ -139,6 +140,10 @@ export var SUBMIT_COMPONENT_STATUS_MAP = {
139
140
  ERP_AFTER_SALE_STATUS: {
140
141
  status: 'erpAfterSaleStatusValue',
141
142
  reason: 'erpAfterSaleStatusReason'
143
+ },
144
+ RETURN_EXCHANGE_GOODS_REVIEW_STATUS: {
145
+ status: 'returnExchangeGoodsReviewStatusValue',
146
+ reason: 'returnExchangeGoodsReviewStatusReason'
142
147
  }
143
148
  };
144
149
  export var SUBMIT_COMPONENT_GOOD_STATUS_MAP = {
@@ -207,9 +207,16 @@ var handlePicture = function handlePicture(_ref16) {
207
207
  ) === null || _value$map === void 0 ? void 0 : _value$map.join(','));
208
208
  };
209
209
  };
210
- var handleRadio = function handleRadio(_ref17) {
210
+ var handlePicturePro = function handlePicturePro(_ref17) {
211
211
  var addContent = _ref17.addContent,
212
212
  getNowData = _ref17.getNowData;
213
+ return function (item) {
214
+ addContent('pictureProList', getNowData(item.uniqueKey, []));
215
+ };
216
+ };
217
+ var handleRadio = function handleRadio(_ref18) {
218
+ var addContent = _ref18.addContent,
219
+ getNowData = _ref18.getNowData;
213
220
  return function (item) {
214
221
  var _item$componentConfig4;
215
222
  var value = getNowData(item.uniqueKey, {});
@@ -219,9 +226,9 @@ var handleRadio = function handleRadio(_ref17) {
219
226
  }
220
227
  };
221
228
  };
222
- var handleCheckbox = function handleCheckbox(_ref18) {
223
- var addContent = _ref18.addContent,
224
- getNowData = _ref18.getNowData;
229
+ var handleCheckbox = function handleCheckbox(_ref19) {
230
+ var addContent = _ref19.addContent,
231
+ getNowData = _ref19.getNowData;
225
232
  return function (item) {
226
233
  var _item$componentConfig5;
227
234
  var value = getNowData(item.uniqueKey, {});
@@ -232,26 +239,26 @@ var handleCheckbox = function handleCheckbox(_ref18) {
232
239
  }
233
240
  };
234
241
  };
235
- var handleMultSelect = function handleMultSelect(_ref19) {
236
- var addContent = _ref19.addContent,
237
- getNowData = _ref19.getNowData;
242
+ var handleMultSelect = function handleMultSelect(_ref20) {
243
+ var addContent = _ref20.addContent,
244
+ getNowData = _ref20.getNowData;
238
245
  return function (item) {
239
246
  var _item$componentConfig6;
240
247
  addContent('multSelect', findLabelBySelectValue(getNowData(item.uniqueKey, []), item === null || item === void 0 ? void 0 : (_item$componentConfig6 = item.componentConfig) === null || _item$componentConfig6 === void 0 ? void 0 : _item$componentConfig6.options));
241
248
  };
242
249
  };
243
- var handleBasicAddress = function handleBasicAddress(_ref20) {
244
- var addContent = _ref20.addContent,
245
- getNowData = _ref20.getNowData;
250
+ var handleBasicAddress = function handleBasicAddress(_ref21) {
251
+ var addContent = _ref21.addContent,
252
+ getNowData = _ref21.getNowData;
246
253
  return function (item) {
247
254
  ['basicProvince', 'basicCity', 'basicDistrict'].map(function (key, index) {
248
255
  addContent(key, "".concat(getNowData("".concat(item.uniqueKey, "[").concat(index, "]"), '')));
249
256
  });
250
257
  };
251
258
  };
252
- var handlePosting = function handlePosting(_ref21) {
253
- var addContent = _ref21.addContent,
254
- getNowData = _ref21.getNowData;
259
+ var handlePosting = function handlePosting(_ref22) {
260
+ var addContent = _ref22.addContent,
261
+ getNowData = _ref22.getNowData;
255
262
  return function (item) {
256
263
  ['postingDetail', 'postingReceiverName', 'postingReceiverMobile'].map(function (key) {
257
264
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
@@ -261,10 +268,10 @@ var handlePosting = function handlePosting(_ref21) {
261
268
  });
262
269
  };
263
270
  };
264
- var handleEnterprisePayment = function handleEnterprisePayment(_ref22) {
265
- var addContent = _ref22.addContent,
266
- getNowData = _ref22.getNowData,
267
- upgradeParams = _ref22.upgradeParams;
271
+ var handleEnterprisePayment = function handleEnterprisePayment(_ref23) {
272
+ var addContent = _ref23.addContent,
273
+ getNowData = _ref23.getNowData,
274
+ upgradeParams = _ref23.upgradeParams;
268
275
  return function (item) {
269
276
  ['enterprisePaymentRefundFee', 'enterprisePaymentTid', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentStatus'].map(function (key) {
270
277
  addContent(key, key === 'enterprisePaymentStatus' ? getNowData("".concat(item.uniqueKey, ".").concat(key), '未打款') : getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
@@ -273,9 +280,9 @@ var handleEnterprisePayment = function handleEnterprisePayment(_ref22) {
273
280
  upgradeParams('buyerOpenUid', getNowData("".concat(item.uniqueKey, ".enterprisePaymentBuyerOpenUid"), ''));
274
281
  };
275
282
  };
276
- var handleJstSupply = function handleJstSupply(_ref23) {
277
- var addContent = _ref23.addContent,
278
- getNowData = _ref23.getNowData;
283
+ var handleJstSupply = function handleJstSupply(_ref24) {
284
+ var addContent = _ref24.addContent,
285
+ getNowData = _ref24.getNowData;
279
286
  return function (item) {
280
287
  var supplyList = getNowData(item.uniqueKey, []);
281
288
  addContent('jstItemList', supplyList);
@@ -287,9 +294,9 @@ var handleJstSupply = function handleJstSupply(_ref23) {
287
294
  }).join());
288
295
  };
289
296
  };
290
- var handleJstSendGood = function handleJstSendGood(_ref24) {
291
- var addContent = _ref24.addContent,
292
- getNowData = _ref24.getNowData;
297
+ var handleJstSendGood = function handleJstSendGood(_ref25) {
298
+ var addContent = _ref25.addContent,
299
+ getNowData = _ref25.getNowData;
293
300
  return function (item) {
294
301
  var sendList = getNowData(item.uniqueKey, []);
295
302
  addContent('jstItemList', sendList);
@@ -301,9 +308,9 @@ var handleJstSendGood = function handleJstSendGood(_ref24) {
301
308
  }).join());
302
309
  };
303
310
  };
304
- var handleJstItemSelectThird = function handleJstItemSelectThird(_ref25) {
305
- var addContent = _ref25.addContent,
306
- getNowData = _ref25.getNowData;
311
+ var handleJstItemSelectThird = function handleJstItemSelectThird(_ref26) {
312
+ var addContent = _ref26.addContent,
313
+ getNowData = _ref26.getNowData;
307
314
  return function (item) {
308
315
  var list = getNowData(item.uniqueKey, []);
309
316
  addContent('jstItemList', list);
@@ -315,9 +322,9 @@ var handleJstItemSelectThird = function handleJstItemSelectThird(_ref25) {
315
322
  }).join());
316
323
  };
317
324
  };
318
- var handleReissueLogistics = function handleReissueLogistics(_ref26) {
319
- var addContent = _ref26.addContent,
320
- getNowData = _ref26.getNowData;
325
+ var handleReissueLogistics = function handleReissueLogistics(_ref27) {
326
+ var addContent = _ref27.addContent,
327
+ getNowData = _ref27.getNowData;
321
328
  return function (item) {
322
329
  var list = getNowData(item.uniqueKey, []);
323
330
  addContent('reissueLogisticsList', list);
@@ -329,9 +336,9 @@ var handleReissueLogistics = function handleReissueLogistics(_ref26) {
329
336
  }).join());
330
337
  };
331
338
  };
332
- var handleErpLogistics = function handleErpLogistics(_ref27) {
333
- var addContent = _ref27.addContent,
334
- getNowData = _ref27.getNowData;
339
+ var handleErpLogistics = function handleErpLogistics(_ref28) {
340
+ var addContent = _ref28.addContent,
341
+ getNowData = _ref28.getNowData;
335
342
  return function (item) {
336
343
  var logisticsList = getNowData(item.uniqueKey, []);
337
344
  addContent(SUBMIT_COMPONENT_ERP_LOGISTICS_MAP[item.workOrderComponentType].list, logisticsList);
@@ -347,9 +354,9 @@ var handleErpLogistics = function handleErpLogistics(_ref27) {
347
354
  }));
348
355
  };
349
356
  };
350
- var handleErpSendGood = function handleErpSendGood(_ref28) {
351
- var addContent = _ref28.addContent,
352
- getNowData = _ref28.getNowData;
357
+ var handleErpSendGood = function handleErpSendGood(_ref29) {
358
+ var addContent = _ref29.addContent,
359
+ getNowData = _ref29.getNowData;
353
360
  return function (item) {
354
361
  var sendList = getNowData(item.uniqueKey, []);
355
362
  addContent(SUBMIT_COMPONENT_SEND_GOOD_MAP[item.workOrderComponentType].list, sendList);
@@ -365,9 +372,9 @@ var handleErpSendGood = function handleErpSendGood(_ref28) {
365
372
  }));
366
373
  };
367
374
  };
368
- var handleWdtSendGood = function handleWdtSendGood(_ref29) {
369
- var addContent = _ref29.addContent,
370
- getNowData = _ref29.getNowData;
375
+ var handleWdtSendGood = function handleWdtSendGood(_ref30) {
376
+ var addContent = _ref30.addContent,
377
+ getNowData = _ref30.getNowData;
371
378
  return function (item) {
372
379
  var sendList = getNowData(item.uniqueKey, []);
373
380
  addContent('wdtSendGood', sendList);
@@ -388,9 +395,9 @@ var handleWdtSendGood = function handleWdtSendGood(_ref29) {
388
395
  }));
389
396
  };
390
397
  };
391
- var handleGySendGood = function handleGySendGood(_ref30) {
392
- var addContent = _ref30.addContent,
393
- getNowData = _ref30.getNowData;
398
+ var handleGySendGood = function handleGySendGood(_ref31) {
399
+ var addContent = _ref31.addContent,
400
+ getNowData = _ref31.getNowData;
394
401
  return function (item) {
395
402
  var sendList = getNowData(item.uniqueKey, []);
396
403
  addContent('gySendGood', sendList);
@@ -406,18 +413,18 @@ var handleGySendGood = function handleGySendGood(_ref30) {
406
413
  }));
407
414
  };
408
415
  };
409
- var handleLogisticsTrajectory = function handleLogisticsTrajectory(_ref31) {
410
- var addContent = _ref31.addContent,
411
- getNowData = _ref31.getNowData;
416
+ var handleLogisticsTrajectory = function handleLogisticsTrajectory(_ref32) {
417
+ var addContent = _ref32.addContent,
418
+ getNowData = _ref32.getNowData;
412
419
  return function (item) {
413
420
  ['trajectoryCompany', 'trajectoryCode', 'trajectorySnapshot', 'trajectoryPhone'].map(function (key) {
414
421
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
415
422
  });
416
423
  };
417
424
  };
418
- var handleLogisticsTrajectoryMore = function handleLogisticsTrajectoryMore(_ref32) {
419
- var addContent = _ref32.addContent,
420
- getNowData = _ref32.getNowData;
425
+ var handleLogisticsTrajectoryMore = function handleLogisticsTrajectoryMore(_ref33) {
426
+ var addContent = _ref33.addContent,
427
+ getNowData = _ref33.getNowData;
421
428
  return function (item) {
422
429
  var trajectoryList = getNowData(item.uniqueKey, []);
423
430
  addContent('trajectoryList', trajectoryList);
@@ -432,18 +439,18 @@ var handleLogisticsTrajectoryMore = function handleLogisticsTrajectoryMore(_ref3
432
439
  }));
433
440
  };
434
441
  };
435
- var handleErpGoods = function handleErpGoods(_ref33) {
436
- var addContent = _ref33.addContent,
437
- getNowData = _ref33.getNowData;
442
+ var handleErpGoods = function handleErpGoods(_ref34) {
443
+ var addContent = _ref34.addContent,
444
+ getNowData = _ref34.getNowData;
438
445
  return function (item) {
439
446
  var goods = getNowData(item.uniqueKey, {});
440
447
  addContent(SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].type, goods === null || goods === void 0 ? void 0 : goods[SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].type]);
441
448
  addContent(SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode, (goods === null || goods === void 0 ? void 0 : goods[SUBMIT_COMPONENT_GOODS_MAP[item.workOrderComponentType].shopCode]) || '');
442
449
  };
443
450
  };
444
- var handleBsExchangeGoods = function handleBsExchangeGoods(_ref34) {
445
- var addContent = _ref34.addContent,
446
- getNowData = _ref34.getNowData;
451
+ var handleBsExchangeGoods = function handleBsExchangeGoods(_ref35) {
452
+ var addContent = _ref35.addContent,
453
+ getNowData = _ref35.getNowData;
447
454
  return function (item) {
448
455
  var _bsExchange$bsExchang;
449
456
  var bsExchange = getNowData(item.uniqueKey, {});
@@ -468,27 +475,27 @@ var handleBsExchangeGoods = function handleBsExchangeGoods(_ref34) {
468
475
  }
469
476
  };
470
477
  };
471
- var handleWdtExchangeGoods = function handleWdtExchangeGoods(_ref35) {
472
- var addContent = _ref35.addContent,
473
- getNowData = _ref35.getNowData;
478
+ var handleWdtExchangeGoods = function handleWdtExchangeGoods(_ref36) {
479
+ var addContent = _ref36.addContent,
480
+ getNowData = _ref36.getNowData;
474
481
  return function (item) {
475
482
  var wdtExchange = getNowData(item.uniqueKey, {});
476
483
  addContent('wdtExchangeGoods', wdtExchange === null || wdtExchange === void 0 ? void 0 : wdtExchange.wdtExchangeGoods);
477
484
  addContent('shopCode', (wdtExchange === null || wdtExchange === void 0 ? void 0 : wdtExchange.shopCode) || '');
478
485
  };
479
486
  };
480
- var handleJstExchangeGoods = function handleJstExchangeGoods(_ref36) {
481
- var addContent = _ref36.addContent,
482
- getNowData = _ref36.getNowData;
487
+ var handleJstExchangeGoods = function handleJstExchangeGoods(_ref37) {
488
+ var addContent = _ref37.addContent,
489
+ getNowData = _ref37.getNowData;
483
490
  return function (item) {
484
491
  var jstExchange = getNowData(item.uniqueKey, {});
485
492
  addContent('jstExchangeGoods', jstExchange === null || jstExchange === void 0 ? void 0 : jstExchange.jstExchangeGoods);
486
493
  addContent('shopCode', (jstExchange === null || jstExchange === void 0 ? void 0 : jstExchange.shopCode) || '');
487
494
  };
488
495
  };
489
- var handleBsOrWdtReissueGoods = function handleBsOrWdtReissueGoods(_ref37) {
490
- var addContent = _ref37.addContent,
491
- getNowData = _ref37.getNowData;
496
+ var handleBsOrWdtReissueGoods = function handleBsOrWdtReissueGoods(_ref38) {
497
+ var addContent = _ref38.addContent,
498
+ getNowData = _ref38.getNowData;
492
499
  return function (item) {
493
500
  var reissue = getNowData(item.uniqueKey, {});
494
501
  addContent(SUBMIT_COMPONENT_REISSUE_MAP[item.workOrderComponentType].type, reissue === null || reissue === void 0 ? void 0 : reissue[SUBMIT_COMPONENT_REISSUE_MAP[item.workOrderComponentType].type]);
@@ -542,9 +549,9 @@ var handleBsOrWdtReissueGoods = function handleBsOrWdtReissueGoods(_ref37) {
542
549
  }
543
550
  };
544
551
  };
545
- var handleBsOrWdtReturnGoods = function handleBsOrWdtReturnGoods(_ref38) {
546
- var addContent = _ref38.addContent,
547
- getNowData = _ref38.getNowData;
552
+ var handleBsOrWdtReturnGoods = function handleBsOrWdtReturnGoods(_ref39) {
553
+ var addContent = _ref39.addContent,
554
+ getNowData = _ref39.getNowData;
548
555
  return function (item) {
549
556
  var currentReturn = getNowData(item.uniqueKey, {});
550
557
  var compType = item.workOrderComponentType;
@@ -553,9 +560,9 @@ var handleBsOrWdtReturnGoods = function handleBsOrWdtReturnGoods(_ref38) {
553
560
  addContent(SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey, (currentReturn === null || currentReturn === void 0 ? void 0 : currentReturn[SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey]) || '');
554
561
  };
555
562
  };
556
- var handleGYReturnGoods = function handleGYReturnGoods(_ref39) {
557
- var addContent = _ref39.addContent,
558
- getNowData = _ref39.getNowData;
563
+ var handleGYReturnGoods = function handleGYReturnGoods(_ref40) {
564
+ var addContent = _ref40.addContent,
565
+ getNowData = _ref40.getNowData;
559
566
  return function (item) {
560
567
  var currentReturn = getNowData(item.uniqueKey, {});
561
568
  var compType = item.workOrderComponentType;
@@ -565,9 +572,9 @@ var handleGYReturnGoods = function handleGYReturnGoods(_ref39) {
565
572
  addContent(SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey, (currentReturn === null || currentReturn === void 0 ? void 0 : currentReturn[SUBMIT_COMPONENT_RETURN_GOODS_MAP[compType].shopCodeKey]) || '');
566
573
  };
567
574
  };
568
- var handleBsPosting = function handleBsPosting(_ref40) {
569
- var addContent = _ref40.addContent,
570
- getNowData = _ref40.getNowData;
575
+ var handleBsPosting = function handleBsPosting(_ref41) {
576
+ var addContent = _ref41.addContent,
577
+ getNowData = _ref41.getNowData;
571
578
  return function (item) {
572
579
  ['bsPostingProvince', 'bsPostingCity', 'bsPostingDistrict'].map(function (key, index) {
573
580
  addContent(key, getNowData("".concat(item.uniqueKey, ".postingAddress[").concat(index, "]"), ''));
@@ -577,9 +584,9 @@ var handleBsPosting = function handleBsPosting(_ref40) {
577
584
  addContent('bsPostingReceiverMobile', getNowData("".concat(item.uniqueKey, ".postingReceiverMobile"), ''));
578
585
  };
579
586
  };
580
- var handleSystemOrder = function handleSystemOrder(_ref41) {
581
- var addContent = _ref41.addContent,
582
- getNowData = _ref41.getNowData;
587
+ var handleSystemOrder = function handleSystemOrder(_ref42) {
588
+ var addContent = _ref42.addContent,
589
+ getNowData = _ref42.getNowData;
583
590
  return function (item) {
584
591
  var selectIds = getNowData("".concat(item.uniqueKey, ".selectIds"), '');
585
592
  var showOrderInfo = getNowData("".concat(item.uniqueKey, ".showOrderInfo"), []);
@@ -593,16 +600,16 @@ var handleSystemOrder = function handleSystemOrder(_ref41) {
593
600
  }));
594
601
  };
595
602
  };
596
- var handleBuyerMessageNotice = function handleBuyerMessageNotice(_ref42) {
597
- var addContent = _ref42.addContent,
598
- getNowData = _ref42.getNowData;
603
+ var handleBuyerMessageNotice = function handleBuyerMessageNotice(_ref43) {
604
+ var addContent = _ref43.addContent,
605
+ getNowData = _ref43.getNowData;
599
606
  return function (item) {
600
607
  addContent('buyerMessageNotice', getNowData(item.uniqueKey, '未通知'));
601
608
  };
602
609
  };
603
- var handleBsDeliveryNo = function handleBsDeliveryNo(_ref43) {
604
- var addContent = _ref43.addContent,
605
- getNowData = _ref43.getNowData;
610
+ var handleBsDeliveryNo = function handleBsDeliveryNo(_ref44) {
611
+ var addContent = _ref44.addContent,
612
+ getNowData = _ref44.getNowData;
606
613
  return function (item) {
607
614
  var deliveryNoList = getNowData(item.uniqueKey, []);
608
615
  addContent('deliveryNoList', deliveryNoList);
@@ -611,9 +618,9 @@ var handleBsDeliveryNo = function handleBsDeliveryNo(_ref43) {
611
618
  }));
612
619
  };
613
620
  };
614
- var handleReturnGoodsTradeId = function handleReturnGoodsTradeId(_ref44) {
615
- var addContent = _ref44.addContent,
616
- getNowData = _ref44.getNowData;
621
+ var handleReturnGoodsTradeId = function handleReturnGoodsTradeId(_ref45) {
622
+ var addContent = _ref45.addContent,
623
+ getNowData = _ref45.getNowData;
617
624
  return function (item) {
618
625
  var returnGoodsTradeItemList = getNowData(item.uniqueKey, []);
619
626
  addContent('returnGoodsTradeItemList', returnGoodsTradeItemList);
@@ -622,9 +629,9 @@ var handleReturnGoodsTradeId = function handleReturnGoodsTradeId(_ref44) {
622
629
  }));
623
630
  };
624
631
  };
625
- var handleErpTradeId = function handleErpTradeId(_ref45) {
626
- var addContent = _ref45.addContent,
627
- getNowData = _ref45.getNowData;
632
+ var handleErpTradeId = function handleErpTradeId(_ref46) {
633
+ var addContent = _ref46.addContent,
634
+ getNowData = _ref46.getNowData;
628
635
  return function (item) {
629
636
  var tradeItemList = getNowData(item.uniqueKey, []);
630
637
  addContent('tradeItemList', tradeItemList);
@@ -633,18 +640,18 @@ var handleErpTradeId = function handleErpTradeId(_ref45) {
633
640
  }));
634
641
  };
635
642
  };
636
- var handleWlnGoods = function handleWlnGoods(_ref46) {
637
- var addContent = _ref46.addContent,
638
- getNowData = _ref46.getNowData;
643
+ var handleWlnGoods = function handleWlnGoods(_ref47) {
644
+ var addContent = _ref47.addContent,
645
+ getNowData = _ref47.getNowData;
639
646
  return function (item) {
640
647
  var wlnGoods = getNowData(item.uniqueKey, {});
641
648
  addContent('wlnGoods', wlnGoods.wlnGoods);
642
649
  addContent('shopCode', (wlnGoods === null || wlnGoods === void 0 ? void 0 : wlnGoods.shopCode) || '');
643
650
  };
644
651
  };
645
- var handleBsE3ReissueGoods = function handleBsE3ReissueGoods(_ref47) {
646
- var addContent = _ref47.addContent,
647
- getNowData = _ref47.getNowData;
652
+ var handleBsE3ReissueGoods = function handleBsE3ReissueGoods(_ref48) {
653
+ var addContent = _ref48.addContent,
654
+ getNowData = _ref48.getNowData;
648
655
  return function (item) {
649
656
  ['bsE3SystemOrderNo', 'bsE3ReissueType', 'bsE3ReissueMemo', 'bsE3ReissueGoods'].map(function (key) {
650
657
  if (key === 'bsE3ReissueGoods') {
@@ -655,24 +662,24 @@ var handleBsE3ReissueGoods = function handleBsE3ReissueGoods(_ref47) {
655
662
  });
656
663
  };
657
664
  };
658
- var handleDefault = function handleDefault(_ref48) {
659
- var addContent = _ref48.addContent,
660
- getNowData = _ref48.getNowData;
665
+ var handleDefault = function handleDefault(_ref49) {
666
+ var addContent = _ref49.addContent,
667
+ getNowData = _ref49.getNowData;
661
668
  return function (item) {
662
669
  addContent(V.camelCase(item.workOrderComponentType), getNowData(item.uniqueKey, ''));
663
670
  };
664
671
  };
665
- var handleStatusField = function handleStatusField(_ref49) {
666
- var addContent = _ref49.addContent,
667
- getNowData = _ref49.getNowData;
672
+ var handleStatusField = function handleStatusField(_ref50) {
673
+ var addContent = _ref50.addContent,
674
+ getNowData = _ref50.getNowData;
668
675
  return function (item) {
669
676
  addContent(SUBMIT_COMPONENT_STATUS_MAP[item.workOrderComponentType].status, getNowData("".concat(item.uniqueKey, ".status"), ''));
670
677
  addContent(SUBMIT_COMPONENT_STATUS_MAP[item.workOrderComponentType].reason, getNowData("".concat(item.uniqueKey, ".reason"), ''));
671
678
  };
672
679
  };
673
- var handleGoodStatus = function handleGoodStatus(_ref50) {
674
- var addContent = _ref50.addContent,
675
- getNowData = _ref50.getNowData;
680
+ var handleGoodStatus = function handleGoodStatus(_ref51) {
681
+ var addContent = _ref51.addContent,
682
+ getNowData = _ref51.getNowData;
676
683
  return function (item) {
677
684
  addContent(SUBMIT_COMPONENT_GOOD_STATUS_MAP[item.workOrderComponentType].list, getNowData("".concat(item.uniqueKey), []));
678
685
  addContent(SUBMIT_COMPONENT_GOOD_STATUS_MAP[item.workOrderComponentType].status, getNowData("".concat(item.uniqueKey), []).map(function (item) {
@@ -680,13 +687,13 @@ var handleGoodStatus = function handleGoodStatus(_ref50) {
680
687
  }));
681
688
  };
682
689
  };
683
- var processComponent = function processComponent(_ref51) {
684
- var params = _ref51.params,
685
- nowData = _ref51.nowData,
686
- updateFlag = _ref51.updateFlag,
687
- detail = _ref51.detail,
688
- accountName = _ref51.accountName,
689
- getValueByField = _ref51.getValueByField;
690
+ var processComponent = function processComponent(_ref52) {
691
+ var params = _ref52.params,
692
+ nowData = _ref52.nowData,
693
+ updateFlag = _ref52.updateFlag,
694
+ detail = _ref52.detail,
695
+ accountName = _ref52.accountName,
696
+ getValueByField = _ref52.getValueByField;
690
697
  return function (item) {
691
698
  var contentVoList = [];
692
699
  var uniqueKeyPrefix = "".concat(item.uniqueKey, "_");
@@ -734,6 +741,7 @@ var processComponent = function processComponent(_ref51) {
734
741
  case 'PAYMENT_VOUCHER_CODE':
735
742
  case 'BASIC_MULT_SELECT':
736
743
  case 'ORDER_TYPE':
744
+ case 'REFUND_TYPE':
737
745
  wrapFn(handleOnlyAddContent);
738
746
  break;
739
747
  case 'RATE':
@@ -755,6 +763,7 @@ var processComponent = function processComponent(_ref51) {
755
763
  case 'ERP_AFTER_SALE_STATUS':
756
764
  case 'AGREE_RETURN_GOODS_STATUS':
757
765
  case 'REJECT_RETURN_GOODS_STATUS':
766
+ case 'RETURN_EXCHANGE_GOODS_REVIEW_STATUS':
758
767
  wrapFn(handleStatusField);
759
768
  break;
760
769
  case 'RETURN_GOODS_STATUS':
@@ -800,6 +809,9 @@ var processComponent = function processComponent(_ref51) {
800
809
  case 'PICTURE':
801
810
  wrapFn(handlePicture);
802
811
  break;
812
+ case 'PICTURE_PRO':
813
+ wrapFn(handlePicturePro);
814
+ break;
803
815
  case 'RADIO':
804
816
  wrapFn(handleRadio);
805
817
  break;
@@ -53,6 +53,7 @@ var workTypeKeys = {
53
53
  TEXTAREA: 'textarea',
54
54
  SELECT: 'select',
55
55
  ORDER_TYPE: 'erpOrderType',
56
+ REFUND_TYPE: 'orderRefundType',
56
57
  SYSTEM_ORDER_NO: 'systemOrderNo',
57
58
  NEW_PAYMENT_STATUS: 'newPaymentStatus',
58
59
  BUSINESS_ORDER_NO: 'businessOrderNo',
@@ -138,6 +138,17 @@ var processPicture = function processPicture(getValue) {
138
138
  }) : (config === null || config === void 0 ? void 0 : config.picture) || []);
139
139
  };
140
140
  };
141
+ var processPicturePro = function processPicturePro(getValue) {
142
+ return function (nex, config) {
143
+ var v = getValue("".concat(nex.uniqueKey, "_pictureProList"));
144
+ var picturePro = jsonParseSecurity(v, v || []) || [];
145
+ return _defineProperty({}, nex.uniqueKey, picturePro ? picturePro.map(function (item) {
146
+ return _objectSpread(_objectSpread({}, item), {}, {
147
+ url: item.url ? formatPictures(item.url)[0] : ''
148
+ });
149
+ }) : (config === null || config === void 0 ? void 0 : config.pictureProList) || []);
150
+ };
151
+ };
141
152
  var processBasicMultSelect = function processBasicMultSelect(getValue) {
142
153
  return function (nex, config) {
143
154
  var v = getValue("".concat(nex.uniqueKey, "_basicMultSelect"));
@@ -188,20 +199,20 @@ var processSubForm = function processSubForm(getValue) {
188
199
  };
189
200
  var processExpressLogisticsSelect = function processExpressLogisticsSelect(getValue) {
190
201
  return function (nex, config) {
191
- var _ref19;
192
- return _ref19 = {}, _defineProperty(_ref19, nex.uniqueKey, {
202
+ var _ref20;
203
+ return _ref20 = {}, _defineProperty(_ref20, nex.uniqueKey, {
193
204
  company: getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany")),
194
205
  order: getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))
195
- }), _defineProperty(_ref19, "".concat(nex.uniqueKey, "_expressLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany"))), _defineProperty(_ref19, "".concat(nex.uniqueKey, "_expressLogisticsCode"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))), _ref19;
206
+ }), _defineProperty(_ref20, "".concat(nex.uniqueKey, "_expressLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany"))), _defineProperty(_ref20, "".concat(nex.uniqueKey, "_expressLogisticsCode"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))), _ref20;
196
207
  };
197
208
  };
198
209
  var processReturnLogisticsSelect = function processReturnLogisticsSelect(getValue) {
199
210
  return function (nex, config) {
200
- var _ref20;
201
- return _ref20 = {}, _defineProperty(_ref20, nex.uniqueKey, {
211
+ var _ref21;
212
+ return _ref21 = {}, _defineProperty(_ref21, nex.uniqueKey, {
202
213
  company: getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany")),
203
214
  order: getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))
204
- }), _defineProperty(_ref20, "".concat(nex.uniqueKey, "_returnLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany"))), _defineProperty(_ref20, "".concat(nex.uniqueKey, "_returnLogisticsCode"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))), _ref20;
215
+ }), _defineProperty(_ref21, "".concat(nex.uniqueKey, "_returnLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany"))), _defineProperty(_ref21, "".concat(nex.uniqueKey, "_returnLogisticsCode"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))), _ref21;
205
216
  };
206
217
  };
207
218
  var processRemarkInput = function processRemarkInput(getValue) {
@@ -216,25 +227,25 @@ var processRemarkInput = function processRemarkInput(getValue) {
216
227
  };
217
228
  var processStatus = function processStatus(getValue) {
218
229
  return function (nex, config) {
219
- var _ref22;
230
+ var _ref23;
220
231
  var customerService = getValue("".concat(nex.uniqueKey, "_customerService"));
221
- return _ref22 = {}, _defineProperty(_ref22, nex.uniqueKey, {
232
+ return _ref23 = {}, _defineProperty(_ref23, nex.uniqueKey, {
222
233
  status: getValue("".concat(nex.uniqueKey, "_status")) || (config === null || config === void 0 ? void 0 : config.status),
223
234
  customerService: jsonParseSecurity(customerService, customerService)
224
- }), _defineProperty(_ref22, "".concat(nex.uniqueKey, "_processTime"), getValue('processTime')), _defineProperty(_ref22, "".concat(nex.uniqueKey, "_lastProcessingTime"), getValue('lastProcessingTime')), _ref22;
235
+ }), _defineProperty(_ref23, "".concat(nex.uniqueKey, "_processTime"), getValue('processTime')), _defineProperty(_ref23, "".concat(nex.uniqueKey, "_lastProcessingTime"), getValue('lastProcessingTime')), _ref23;
225
236
  };
226
237
  };
227
238
  var processOrdinaryInvoice = function processOrdinaryInvoice(getValue) {
228
239
  return function (nex, config) {
229
- var _ref23;
240
+ var _ref24;
230
241
  var ordinaryMoney = getValue("".concat(nex.uniqueKey, "_ordinaryMoney"));
231
242
  var ordinarySerial = getValue("".concat(nex.uniqueKey, "_ordinarySerial"));
232
243
  var ordinaryTaitou = getValue("".concat(nex.uniqueKey, "_ordinaryTaitou"));
233
- return _ref23 = {}, _defineProperty(_ref23, nex.uniqueKey, {
244
+ return _ref24 = {}, _defineProperty(_ref24, nex.uniqueKey, {
234
245
  ordinaryMoney: ordinaryMoney,
235
246
  ordinarySerial: ordinarySerial,
236
247
  ordinaryTaitou: ordinaryTaitou
237
- }), _defineProperty(_ref23, "".concat(nex.uniqueKey, "_ordinaryMoney"), ordinaryMoney ? Number(ordinaryMoney).toFixed(2) : null), _defineProperty(_ref23, "".concat(nex.uniqueKey, "_ordinarySerial"), ordinarySerial), _defineProperty(_ref23, "".concat(nex.uniqueKey, "_ordinaryTaitou"), ordinaryTaitou), _ref23;
248
+ }), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_ordinaryMoney"), ordinaryMoney ? Number(ordinaryMoney).toFixed(2) : null), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_ordinarySerial"), ordinarySerial), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_ordinaryTaitou"), ordinaryTaitou), _ref24;
238
249
  };
239
250
  };
240
251
  var processLogisticsInterception = function processLogisticsInterception(getValue) {
@@ -291,12 +302,12 @@ var processItemSelectThird = function processItemSelectThird(getValue) {
291
302
  };
292
303
  var processEnterPrisePayment = function processEnterPrisePayment(getValue) {
293
304
  return function (nex, config) {
294
- var _ref30;
305
+ var _ref31;
295
306
  var subFields = ['enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentRefundFee', 'enterprisePaymentStatus', 'enterprisePaymentTid'];
296
307
  var map = subFields.reduce(function (cur, nxt) {
297
308
  return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, nxt, getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
298
309
  }, {});
299
- return _ref30 = {}, _defineProperty(_ref30, nex.uniqueKey, map), _defineProperty(_ref30, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref30, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref30, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref30, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref30, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref30, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref30, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref30;
310
+ return _ref31 = {}, _defineProperty(_ref31, nex.uniqueKey, map), _defineProperty(_ref31, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref31, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref31, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref31, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref31, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref31, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref31, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref31;
300
311
  };
301
312
  };
302
313
  var processJstLogistics = function processJstLogistics(getValue) {
@@ -391,6 +402,10 @@ var processCallBackStatus = function processCallBackStatus(getValue) {
391
402
  ERP_AFTER_SALE_STATUS: {
392
403
  status: 'erpAfterSaleStatusValue',
393
404
  reason: 'erpAfterSaleStatusReason'
405
+ },
406
+ RETURN_EXCHANGE_GOODS_REVIEW_STATUS: {
407
+ status: 'returnExchangeGoodsReviewStatusValue',
408
+ reason: 'returnExchangeGoodsReviewStatusReason'
394
409
  }
395
410
  };
396
411
  return _defineProperty({}, nex.uniqueKey, {
@@ -754,6 +769,11 @@ var processOrderType = function processOrderType(getValue) {
754
769
  return _defineProperty({}, nex.uniqueKey, getValue("".concat(nex.uniqueKey, "_erpOrderType")) || (config === null || config === void 0 ? void 0 : config.select));
755
770
  };
756
771
  };
772
+ var processRefundType = function processRefundType(getValue) {
773
+ return function (nex, config) {
774
+ return _defineProperty({}, nex.uniqueKey, getValue("".concat(nex.uniqueKey, "_orderRefundType")) || (config === null || config === void 0 ? void 0 : config.select));
775
+ };
776
+ };
757
777
  var processErpTradeId = function processErpTradeId(getValue) {
758
778
  return function (nex, config) {
759
779
  var SYSTEM_ORDER_MAP = {
@@ -907,14 +927,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
907
927
  };
908
928
  var processLabel = function processLabel(getValue) {
909
929
  return function (nex, config) {
910
- var _ref62;
911
- return _ref62 = {}, _defineProperty(_ref62, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref62, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref62;
930
+ var _ref64;
931
+ return _ref64 = {}, _defineProperty(_ref64, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref64, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref64;
912
932
  };
913
933
  };
914
934
  var processMemberLevel = function processMemberLevel(getValue) {
915
935
  return function (nex, config) {
916
- var _ref63;
917
- return _ref63 = {}, _defineProperty(_ref63, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref63, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref63;
936
+ var _ref65;
937
+ return _ref65 = {}, _defineProperty(_ref65, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref65, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref65;
918
938
  };
919
939
  };
920
940
  var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
@@ -966,6 +986,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
966
986
  CHECKBOX: processCheckbox,
967
987
  DATETIME: processDatetime,
968
988
  PICTURE: processPicture,
989
+ PICTURE_PRO: processPicturePro,
969
990
  BASIC_MULT_SELECT: processBasicMultSelect,
970
991
  MULT_SELECT: processMultSelect,
971
992
  BASIC_ADDRESS: processBasicAddress,
@@ -1001,6 +1022,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
1001
1022
  ERP_AFTER_SALE_STATUS: processCallBackStatus,
1002
1023
  AGREE_RETURN_GOODS_STATUS: processCallBackStatus,
1003
1024
  REJECT_RETURN_GOODS_STATUS: processCallBackStatus,
1025
+ RETURN_EXCHANGE_GOODS_REVIEW_STATUS: processCallBackStatus,
1004
1026
  RETURN_GOODS_STATUS: processSceneStatus,
1005
1027
  EXCHANGE_STATUS: processSceneStatus,
1006
1028
  WAREHOUSING_STATUS: processSceneStatus,
@@ -1039,6 +1061,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
1039
1061
  GY_SYSTEM_ORDER: processErpSystemOrder,
1040
1062
  BUYER_MESSAGE_NOTICE: processBuyerMessageNotice,
1041
1063
  ORDER_TYPE: processOrderType,
1064
+ REFUND_TYPE: processRefundType,
1042
1065
  RETURN_GOODS_TRADE_ID: processErpTradeId,
1043
1066
  BS_DELIVERY_NO: processErpTradeId,
1044
1067
  REISSUE_TRADE_ID: processErpTradeId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.0.50",
3
+ "version": "2.0.52",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@ant-design/icons": "^4.7.0",
35
- "@kmkf-fe-packages/basic-components": "2.0.50",
36
- "@kmkf-fe-packages/kmkf-utils": "2.0.50",
37
- "@kmkf-fe-packages/services-components": "2.0.50",
35
+ "@kmkf-fe-packages/basic-components": "2.0.52",
36
+ "@kmkf-fe-packages/kmkf-utils": "2.0.52",
37
+ "@kmkf-fe-packages/services-components": "2.0.52",
38
38
  "@reduxjs/toolkit": "^1.8.5",
39
39
  "ahooks": "^3.7.4",
40
40
  "copy-to-clipboard": "^3.3.3",
@@ -73,7 +73,7 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "16c894e447edf1416f3bb0cac9f1496e388e92e6",
76
+ "gitHead": "0e509f7827b7d31be12c231bebf35fc269f56fb0",
77
77
  "gitHooks": {
78
78
  "pre-commit": "lint-staged"
79
79
  }