@kmkf-fe-packages/kmkf-work-order-service-component 2.10.9-beta.13 → 2.10.9-beta.14
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) {
|
|
@@ -1854,7 +1854,8 @@ export var setLogisticsInfo = function setLogisticsInfo(_ref20) {
|
|
|
1854
1854
|
});
|
|
1855
1855
|
prv[next.uniqueKey] = [_objectSpread(_objectSpread({}, logisticsValues === null || logisticsValues === void 0 ? void 0 : logisticsValues[0]), {}, {
|
|
1856
1856
|
interceptCompany: ExpressData.getInstance().getExpressCodeByName(value, false),
|
|
1857
|
-
interceptType: returnValue === null || returnValue === void 0 ? void 0 : returnValue.value
|
|
1857
|
+
interceptType: returnValue === null || returnValue === void 0 ? void 0 : returnValue.value,
|
|
1858
|
+
interceptLogisticsCustomerCode: undefined
|
|
1858
1859
|
})];
|
|
1859
1860
|
} else if (companyType === 'EXPRESS_LOGISTICS_SELECT') {
|
|
1860
1861
|
var _interceptCompany = expressInterceptData.find(function (item) {
|
|
@@ -1867,7 +1868,8 @@ export var setLogisticsInfo = function setLogisticsInfo(_ref20) {
|
|
|
1867
1868
|
prv[next.uniqueKey] = [_objectSpread(_objectSpread({}, logisticsValues === null || logisticsValues === void 0 ? void 0 : logisticsValues[0]), {}, {
|
|
1868
1869
|
interceptCompany: value.company,
|
|
1869
1870
|
interceptCode: value.order,
|
|
1870
|
-
interceptType: _returnValue === null || _returnValue === void 0 ? void 0 : _returnValue.value
|
|
1871
|
+
interceptType: _returnValue === null || _returnValue === void 0 ? void 0 : _returnValue.value,
|
|
1872
|
+
interceptLogisticsCustomerCode: undefined
|
|
1871
1873
|
})];
|
|
1872
1874
|
} else if (companyType === 'BS_LOGISTICS') {
|
|
1873
1875
|
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.9-beta.
|
|
3
|
+
"version": "2.10.9-beta.14",
|
|
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.9-beta.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.10.9-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.10.9-beta.14",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.14",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.10.9-beta.14",
|
|
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": "
|
|
78
|
+
"gitHead": "5d3cdbfbc69828ca860a175154f18f17c1165cf1",
|
|
79
79
|
"gitHooks": {
|
|
80
80
|
"pre-commit": "lint-staged"
|
|
81
81
|
}
|