@kmkf-fe-packages/kmkf-work-order-service-component 2.7.3-beta.0 → 2.7.3-beta.4

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.
@@ -1219,6 +1219,28 @@ var processJkyReissueGoods = function processJkyReissueGoods(templateColumns) {
1219
1219
  };
1220
1220
  };
1221
1221
  };
1222
+ var processWlnReissueGoods = function processWlnReissueGoods(templateColumns) {
1223
+ return function (getValue) {
1224
+ return function (nex, config) {
1225
+ var orderNo = '';
1226
+ var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
1227
+ return col.workOrderComponentType === 'TRADE_ID_INPUT';
1228
+ });
1229
+ if (tradeId) {
1230
+ orderNo = getValue("".concat(tradeId.uniqueKey, "_").concat(updateWorkTypeKeys[tradeId.workOrderComponentType]));
1231
+ }
1232
+ return _defineProperty({}, nex.uniqueKey, {
1233
+ wlnSystemOrder: {
1234
+ orderNo: orderNo
1235
+ },
1236
+ wlnReissueType: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_wlnReissueType")), !isNull(config === null || config === void 0 ? void 0 : config.initReason) ? [config.initReason] : ['1']),
1237
+ wlnReissueGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_wlnReissueGoods")), []),
1238
+ shopCode: getValue("".concat(nex.uniqueKey, "_shopCode")),
1239
+ wlnSystemOrderNo: getValue("".concat(nex.uniqueKey, "_wlnSystemOrderNo"))
1240
+ });
1241
+ };
1242
+ };
1243
+ };
1222
1244
  var processGyReissueGoods = function processGyReissueGoods(templateColumns) {
1223
1245
  return function (getValue) {
1224
1246
  return function (nex, config) {
@@ -1312,14 +1334,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
1312
1334
  };
1313
1335
  var processLabel = function processLabel(getValue) {
1314
1336
  return function (nex, config) {
1315
- var _ref85;
1316
- return _ref85 = {}, _defineProperty(_ref85, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref85, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref85;
1337
+ var _ref86;
1338
+ return _ref86 = {}, _defineProperty(_ref86, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref86, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref86;
1317
1339
  };
1318
1340
  };
1319
1341
  var processMemberLevel = function processMemberLevel(getValue) {
1320
1342
  return function (nex, config) {
1321
- var _ref86;
1322
- return _ref86 = {}, _defineProperty(_ref86, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref86, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref86;
1343
+ var _ref87;
1344
+ return _ref87 = {}, _defineProperty(_ref87, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref87, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref87;
1323
1345
  };
1324
1346
  };
1325
1347
  var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
@@ -1387,7 +1409,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
1387
1409
  SUBFORM: processSubForm,
1388
1410
  ERP_AFTER_SALES_ORDER_REVIEW_STATUS: processCallBackStatus,
1389
1411
  WLN_WAREHOUSING_STATUS: processSceneStatus,
1390
- WLN_REISSUE_GOODS: processJkyReissueGoods(templateColumns),
1412
+ WLN_REISSUE_GOODS: processWlnReissueGoods(templateColumns),
1391
1413
  EXPRESS_LOGISTICS_SELECT: processExpressLogisticsSelect,
1392
1414
  RETURN_LOGISTICS_SELECT: processReturnLogisticsSelect,
1393
1415
  REMARK_INPUT: processRemarkInput,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.7.3-beta.0",
3
+ "version": "2.7.3-beta.4",
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.7.3-beta.0",
36
- "@kmkf-fe-packages/kmkf-utils": "2.7.3-beta.0",
37
- "@kmkf-fe-packages/services-components": "2.7.3-beta.0",
35
+ "@kmkf-fe-packages/basic-components": "2.7.3-beta.4",
36
+ "@kmkf-fe-packages/kmkf-utils": "2.7.3-beta.4",
37
+ "@kmkf-fe-packages/services-components": "2.7.3-beta.4",
38
38
  "@reduxjs/toolkit": "^1.8.5",
39
39
  "ahooks": "^3.7.4",
40
40
  "copy-to-clipboard": "^3.3.3",
@@ -75,7 +75,7 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "8c80641421cc67b5f77f17fbe4db443014610338",
78
+ "gitHead": "006184824679eeb9a994787da6e31518e6d6f981",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }