@kmkf-fe-packages/kmkf-work-order-service-component 0.24.2-beta.7 → 0.24.2-beta.9
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.
|
@@ -31,7 +31,7 @@ import { calcWorkOrderList, orderBack, getReplaceWarnValues, COMPONENT_MAP_NAME,
|
|
|
31
31
|
INNER_REPLACE_COMPONENT, reversalFormValues, bsSystemOrderBackValues, wlnSystemOrderBackValues, getMappingConfigByTemplateDetail, wdtSystemOrderBackValues, setLogisticsInfo } from "../../../common/utils/tools";
|
|
32
32
|
import { replaceCheck, orderDetail } from "../../../model/servers/api";
|
|
33
33
|
import { factory } from '@kmkf-fe-packages/services-components';
|
|
34
|
-
import { AddressData, ExpressData, ExpressInterceptData, PlatData,
|
|
34
|
+
import { AddressData, ExpressData, ExpressInterceptData, PlatData, getExpression, formatDisplayConfig, BsAddressData, WdtAddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
35
35
|
import ShopName from "../ShopName";
|
|
36
36
|
import { PlatForm } from "../../../model/flowTemplateDetail/types";
|
|
37
37
|
import { groupByPreNode, getCurrentNodeModifiedShowHideRule } from "./common";
|
|
@@ -115,7 +115,6 @@ var FormRender = function FormRender(props, ref) {
|
|
|
115
115
|
ExpressData.getInstance();
|
|
116
116
|
ExpressInterceptData.getInstance();
|
|
117
117
|
PlatData.getInstance();
|
|
118
|
-
LogisticsAddressData.getInstance();
|
|
119
118
|
BsAddressData.getInstance();
|
|
120
119
|
WdtAddressData.getInstance();
|
|
121
120
|
var _Form$useForm = Form.useForm(),
|
|
@@ -29,7 +29,7 @@ import 'moment/locale/zh-cn';
|
|
|
29
29
|
import { calcWorkOrderList, submitDataTransOldFormat, orderBack, getReplaceWarnValues, COMPONENT_MAP_NAME } from "../common/utils/tools";
|
|
30
30
|
import { queryTemplateDetail, addWorkOrder, queryWorkOrderDetail, updateWorkOrder, replaceCheck } from "../model/servers/api";
|
|
31
31
|
import { factory, ShopList } from '@kmkf-fe-packages/services-components';
|
|
32
|
-
import { AddressData, ExpressData, ExpressInterceptData, PlatData,
|
|
32
|
+
import { AddressData, ExpressData, ExpressInterceptData, PlatData, formatDisplayConfig, getExpression, isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
33
33
|
import "./index.less";
|
|
34
34
|
import { CHILD_FIELD_TYPE, CHILD_FIELD_VALUE } from "../common/constant";
|
|
35
35
|
var ShopName = function ShopName(_ref) {
|
|
@@ -106,7 +106,7 @@ var FormRender = function FormRender(props, ref) {
|
|
|
106
106
|
ExpressData.getInstance();
|
|
107
107
|
ExpressInterceptData.getInstance();
|
|
108
108
|
PlatData.getInstance();
|
|
109
|
-
LogisticsAddressData.getInstance();
|
|
109
|
+
// LogisticsAddressData.getInstance();
|
|
110
110
|
useEffect(function () {
|
|
111
111
|
setShopId(currentShopId);
|
|
112
112
|
}, [currentShopId]);
|
|
@@ -436,15 +436,15 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
436
436
|
dispatch(setFormModalVisible(true));
|
|
437
437
|
};
|
|
438
438
|
var onDealWorkOrderSuccess = function onDealWorkOrderSuccess(type) {
|
|
439
|
+
if (['submit', 'forward', 'close', 'rejected'].includes(type)) {
|
|
440
|
+
dispatch(setFormModalVisible(false));
|
|
441
|
+
}
|
|
439
442
|
//除了 暂停和启动外,都需要更新列表数据
|
|
440
443
|
if (!['stop', 'open'].includes(type)) {
|
|
441
444
|
searchList();
|
|
442
445
|
} else {
|
|
443
446
|
queryPanelInfoHandle(record);
|
|
444
447
|
}
|
|
445
|
-
if (['submit', 'forward', 'close', 'rejected'].includes(type)) {
|
|
446
|
-
dispatch(setFormModalVisible(false));
|
|
447
|
-
}
|
|
448
448
|
};
|
|
449
449
|
var onUpDateItem = function onUpDateItem(item, key, value) {
|
|
450
450
|
var newList = data.list.map(function (t) {
|
|
@@ -505,7 +505,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
505
505
|
noMore: selfNoMore,
|
|
506
506
|
height: height,
|
|
507
507
|
onUpDateItem: onUpDateItem
|
|
508
|
-
})), /*#__PURE__*/React.createElement(Drawer, {
|
|
508
|
+
})), formRenderVisible && /*#__PURE__*/React.createElement(Drawer, {
|
|
509
509
|
closeIcon: /*#__PURE__*/React.createElement(LeftOutlined, null),
|
|
510
510
|
title: (record === null || record === void 0 ? void 0 : record.flowTemplateName) || title,
|
|
511
511
|
width: '100%',
|
|
@@ -2425,7 +2425,8 @@ export var setLogisticsInfo = function setLogisticsInfo(_ref9) {
|
|
|
2425
2425
|
interceptReceiverName: undefined,
|
|
2426
2426
|
interceptReceiverMobile: undefined,
|
|
2427
2427
|
interceptStatus: undefined,
|
|
2428
|
-
interceptOther: undefined
|
|
2428
|
+
interceptOther: undefined,
|
|
2429
|
+
interceptLogisticsSnapshot: undefined
|
|
2429
2430
|
};
|
|
2430
2431
|
});
|
|
2431
2432
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "0.24.2-beta.
|
|
3
|
+
"version": "0.24.2-beta.9",
|
|
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": "^0.24.2-beta.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.24.2-beta.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "^0.24.2-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "^0.24.2-beta.8",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.24.2-beta.8",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "^0.24.2-beta.9",
|
|
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": "
|
|
76
|
+
"gitHead": "67f95398202c78acf4fc12854e8261f8cb0e70f5",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|