@kmkf-fe-packages/kmkf-work-order-service-component 2.2.13-beta.3 → 2.2.13-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.
@@ -51,7 +51,6 @@ import RenderDetail from "./components/RenderDetail";
51
51
  import { orderDetail } from "../model/servers/api";
52
52
  import cache from "../common/cache";
53
53
  import "./index.less";
54
- import { isNull } from '@kmkf-fe-packages/kmkf-utils';
55
54
  import { PlatformAvatar } from '@kmkf-fe-packages/services-components';
56
55
  import { Provide, Context } from "./context";
57
56
  import { WORK_ORDER_STATUS_AI_BUILD } from "../common/constant";
@@ -1168,7 +1167,7 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
1168
1167
  }
1169
1168
  };
1170
1169
  useEffect(function () {
1171
- if (autoSubmit && !isNull(currentNodeDetail)) {
1170
+ if (autoSubmit && !isEmpty(currentNodeDetail)) {
1172
1171
  var _currentNodeDetail$wo26, _currentNodeDetail$wo27;
1173
1172
  // SKX首节点满足下列条件、此时批量提交会等订单数据反填再提交, 其余企业批量提交还是原先逻辑,不涉及订单数据反填
1174
1173
  if (currentNodeDetail !== null && currentNodeDetail !== void 0 && (_currentNodeDetail$wo26 = currentNodeDetail.workOrder) !== null && _currentNodeDetail$wo26 !== void 0 && _currentNodeDetail$wo26.notAutoFillWithFirstSubmit && autoSubmitFlag) {
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",
3
+ "version": "2.2.13-beta.4",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -74,7 +74,7 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "f6e15008ac1484435d84ed89424fc28a68d7e899",
77
+ "gitHead": "3468199051bc29c8a7b3896d788e6736f645729f",
78
78
  "gitHooks": {
79
79
  "pre-commit": "lint-staged"
80
80
  }