@kmkf-fe-packages/kmkf-work-order-service-component 2.2.13-beta.100 → 2.2.13-beta.102
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.
|
@@ -360,9 +360,6 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
360
360
|
flowWorkOrderId: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.flowWorkOrderId) || '',
|
|
361
361
|
tid: orderNo
|
|
362
362
|
});
|
|
363
|
-
dispatch(setCurrentBuyerChecked(false));
|
|
364
|
-
} else {
|
|
365
|
-
dispatch(setCurrentBuyerChecked(true));
|
|
366
363
|
}
|
|
367
364
|
searchList();
|
|
368
365
|
}, [otherInfo, dispatch, buyerId, orderNo]);
|
|
@@ -20,7 +20,7 @@ import { Provider } from 'react-redux';
|
|
|
20
20
|
import { useAppSelector, useAppDispatch } from "../model/hooks";
|
|
21
21
|
import { fetchQueryCurrentCompanyUser } from "../model/workOrder";
|
|
22
22
|
import { fetchLogicFlowList } from "../model/logicFlow";
|
|
23
|
-
import { showPayment } from "../model/customizeWorkOrder";
|
|
23
|
+
import { setCurrentBuyerChecked, showPayment } from "../model/customizeWorkOrder";
|
|
24
24
|
import store from "../model/store";
|
|
25
25
|
import { fetchLogOut, fetchxzLogOut } from "../model/login";
|
|
26
26
|
import { Global } from '@kmkf-fe-packages/services-components';
|
|
@@ -113,7 +113,13 @@ var WorkOrder = function WorkOrder(props) {
|
|
|
113
113
|
// dispatch(setCurrentBuyerChecked(false));
|
|
114
114
|
// }
|
|
115
115
|
// }, [buyerId]);
|
|
116
|
-
|
|
116
|
+
useEffect(function () {
|
|
117
|
+
if ([6, 7].includes(otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.showFrom) && (otherInfo !== null && otherInfo !== void 0 && otherInfo.flowWorkOrderId || orderNo) || !buyerId) {
|
|
118
|
+
dispatch(setCurrentBuyerChecked(false));
|
|
119
|
+
} else {
|
|
120
|
+
dispatch(setCurrentBuyerChecked(true));
|
|
121
|
+
}
|
|
122
|
+
}, [otherInfo, dispatch, buyerId, orderNo]);
|
|
117
123
|
useEffect(function () {
|
|
118
124
|
//存储平台信息
|
|
119
125
|
dispatch({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.2.13-beta.
|
|
3
|
+
"version": "2.2.13-beta.102",
|
|
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.2.13-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.2.13-beta.102",
|
|
36
36
|
"@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.96",
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.2.13-beta.
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.2.13-beta.102",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "6597a3414aa267366d848fb1ad09400f4ecce88c",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|