@kmkf-fe-packages/kmkf-work-order-service-component 2.10.24 → 2.10.25

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.
@@ -170,7 +170,7 @@ var handleLogisticsInterception = function handleLogisticsInterception(_ref15) {
170
170
  var addContent = _ref15.addContent,
171
171
  getNowData = _ref15.getNowData;
172
172
  return function (item) {
173
- ['interceptCompany', 'interceptCode', 'interceptSenderMobile', 'interceptType', 'interceptDetail', 'interceptReceiverName', 'interceptReceiverMobile', 'interceptLogisticsStatus', 'interceptLogisticsStatusOther', 'interceptLogisticsSnapshot', 'qySelfInterceptLogisticsStatus', 'interceptLogisticsApiStatus', 'interceptLogisticsApiStatusReason', 'interceptLogisticsUserKCode', 'interceptLogisticsUserSecretKey'].map(function (key) {
173
+ ['interceptCompany', 'interceptCode', 'interceptSenderMobile', 'interceptType', 'interceptDetail', 'interceptReceiverName', 'interceptReceiverMobile', 'interceptLogisticsStatus', 'interceptLogisticsStatusOther', 'interceptLogisticsSnapshot', 'qySelfInterceptLogisticsStatus', 'interceptLogisticsApiStatus', 'interceptLogisticsApiStatusReason', 'interceptLogisticsUserKCode', 'interceptLogisticsUserSecretKey', 'interceptLogisticsCustomerCode'].map(function (key) {
174
174
  addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
175
175
  });
176
176
  addContent('interceptProvince', getNowData("".concat(item.uniqueKey, ".interceptAddress[0]"), ''));
@@ -202,6 +202,9 @@ var handleLogisticsInterceptionMore = function handleLogisticsInterceptionMore(_
202
202
  addContent('logisticsInterceptApiStatusList', logisticsInterceptionList.map(function (t) {
203
203
  return (t === null || t === void 0 ? void 0 : t.interceptLogisticsApiStatus) || '' + '';
204
204
  }));
205
+ addContent('logisticsInterceptCustomerCodeList', logisticsInterceptionList.map(function (t) {
206
+ return (t === null || t === void 0 ? void 0 : t.interceptLogisticsCustomerCode) || '';
207
+ }));
205
208
  };
206
209
  };
207
210
  var handlePicture = function handlePicture(_ref17) {
@@ -1908,7 +1908,8 @@ export var setLogisticsInfo = function setLogisticsInfo(_ref21) {
1908
1908
  });
1909
1909
  prv[next.uniqueKey] = [_objectSpread(_objectSpread({}, logisticsValues === null || logisticsValues === void 0 ? void 0 : logisticsValues[0]), {}, {
1910
1910
  interceptCompany: ExpressData.getInstance().getExpressCodeByName(value, false),
1911
- interceptType: returnValue === null || returnValue === void 0 ? void 0 : returnValue.value
1911
+ interceptType: returnValue === null || returnValue === void 0 ? void 0 : returnValue.value,
1912
+ interceptLogisticsCustomerCode: undefined
1912
1913
  })];
1913
1914
  } else if (companyType === 'EXPRESS_LOGISTICS_SELECT') {
1914
1915
  var _interceptCompany = expressInterceptData.find(function (item) {
@@ -1921,7 +1922,8 @@ export var setLogisticsInfo = function setLogisticsInfo(_ref21) {
1921
1922
  prv[next.uniqueKey] = [_objectSpread(_objectSpread({}, logisticsValues === null || logisticsValues === void 0 ? void 0 : logisticsValues[0]), {}, {
1922
1923
  interceptCompany: value.company,
1923
1924
  interceptCode: value.order,
1924
- interceptType: _returnValue === null || _returnValue === void 0 ? void 0 : _returnValue.value
1925
+ interceptType: _returnValue === null || _returnValue === void 0 ? void 0 : _returnValue.value,
1926
+ interceptLogisticsCustomerCode: undefined
1925
1927
  })];
1926
1928
  } else if (companyType === 'BS_LOGISTICS') {
1927
1929
  prv[next.uniqueKey] = value.map(function (item) {
@@ -291,7 +291,7 @@ var processLogisticsInterception = function processLogisticsInterception(getValu
291
291
  address = every(address, function (item) {
292
292
  return !item;
293
293
  }) ? [] : address;
294
- var subFields = ['interceptCompany', 'interceptCode', 'interceptType', 'interceptSenderMobile', 'interceptDetail', 'interceptReceiverName', 'interceptReceiverMobile', 'interceptLogisticsStatus', 'interceptLogisticsStatusOther', 'interceptLogisticsSnapshot', 'qySelfInterceptLogisticsStatus', 'interceptLogisticsApiStatusReason', 'interceptLogisticsUserKCode', 'interceptLogisticsUserSecretKey'];
294
+ var subFields = ['interceptCompany', 'interceptCode', 'interceptType', 'interceptSenderMobile', 'interceptDetail', 'interceptReceiverName', 'interceptReceiverMobile', 'interceptLogisticsStatus', 'interceptLogisticsStatusOther', 'interceptLogisticsSnapshot', 'qySelfInterceptLogisticsStatus', 'interceptLogisticsApiStatusReason', 'interceptLogisticsUserKCode', 'interceptLogisticsUserSecretKey', 'interceptLogisticsCustomerCode'];
295
295
  var map = subFields.reduce(function (cur, nxt) {
296
296
  return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, nxt, getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
297
297
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.10.24",
3
+ "version": "2.10.25",
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.10.24",
36
- "@kmkf-fe-packages/kmkf-utils": "2.10.24",
37
- "@kmkf-fe-packages/services-components": "2.10.24",
35
+ "@kmkf-fe-packages/basic-components": "2.10.25",
36
+ "@kmkf-fe-packages/kmkf-utils": "2.10.25",
37
+ "@kmkf-fe-packages/services-components": "2.10.25",
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": "44324b6b5ad4fdab5f2b2c8f9636860f687e1b4f",
78
+ "gitHead": "aa3cb81f3a8cd8e70b2c6d602e12fdff2b5887f4",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }