@kmkf-fe-packages/kmkf-work-order-service-component 2.7.7-beta.3 → 2.7.7-beta.5

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.
@@ -1503,10 +1503,6 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
1503
1503
  readonly: readonly,
1504
1504
  handleOpenRemarkList: handleOpenRemarkList,
1505
1505
  handleOpenAddRemark: handleOpenAddRemark
1506
- })), /*#__PURE__*/React.createElement(RemarkShow, _extends({}, remarkList[0], {
1507
- readonly: readonly,
1508
- handleOpenRemarkList: handleOpenRemarkList,
1509
- handleOpenAddRemark: handleOpenAddRemark
1510
1506
  }))),
1511
1507
  bottom: showActionFooter || showOrderRemark ? /*#__PURE__*/React.createElement(React.Fragment, null, showActionFooter && /*#__PURE__*/React.createElement("div", {
1512
1508
  className: "footer"
@@ -117,6 +117,10 @@ var SystemOrderCard = function SystemOrderCard(_ref) {
117
117
  var _JSON$parse3, _JSON$parse3$plugins, _JSON$parse3$plugins$;
118
118
  return ((_JSON$parse3 = JSON.parse(state.workOrder.userInfo.companyUserConfig || '{}')) === null || _JSON$parse3 === void 0 ? void 0 : (_JSON$parse3$plugins = _JSON$parse3.plugins) === null || _JSON$parse3$plugins === void 0 ? void 0 : (_JSON$parse3$plugins$ = _JSON$parse3$plugins.juYi) === null || _JSON$parse3$plugins$ === void 0 ? void 0 : _JSON$parse3$plugins$.show) || false;
119
119
  });
120
+ var hasBindWln = useAppSelector(function (state) {
121
+ var _JSON$parse4, _JSON$parse4$plugins, _JSON$parse4$plugins$;
122
+ return ((_JSON$parse4 = JSON.parse(state.workOrder.userInfo.companyUserConfig || '{}')) === null || _JSON$parse4 === void 0 ? void 0 : (_JSON$parse4$plugins = _JSON$parse4.plugins) === null || _JSON$parse4$plugins === void 0 ? void 0 : (_JSON$parse4$plugins$ = _JSON$parse4$plugins.wln) === null || _JSON$parse4$plugins$ === void 0 ? void 0 : _JSON$parse4$plugins$.show) || false;
123
+ });
120
124
  var hasSuperAdminRole = useAppSelector(function (state) {
121
125
  return state.workOrder.userInfo.hasSuperAdminRole;
122
126
  });
@@ -427,7 +431,7 @@ var SystemOrderCard = function SystemOrderCard(_ref) {
427
431
  shopId: shopId,
428
432
  userKey: userKey,
429
433
  companyKey: companyKey,
430
- bindERP: bindERP || hasBindWdt || hasBindJst || hasBindJuYi,
434
+ bindERP: bindERP || hasBindWdt || hasBindJst || hasBindJuYi || hasBindWln,
431
435
  hasSuperAdminRole: hasSuperAdminRole
432
436
  },
433
437
  otherInfo: {},
@@ -192,6 +192,10 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
192
192
  var _JSON$parse3, _JSON$parse3$plugins, _JSON$parse3$plugins$;
193
193
  return ((_JSON$parse3 = JSON.parse(state.workOrder.userInfo.companyUserConfig || '{}')) === null || _JSON$parse3 === void 0 ? void 0 : (_JSON$parse3$plugins = _JSON$parse3.plugins) === null || _JSON$parse3$plugins === void 0 ? void 0 : (_JSON$parse3$plugins$ = _JSON$parse3$plugins.juYi) === null || _JSON$parse3$plugins$ === void 0 ? void 0 : _JSON$parse3$plugins$.show) || false;
194
194
  });
195
+ var hasBindWln = useAppSelector(function (state) {
196
+ var _JSON$parse4, _JSON$parse4$plugins, _JSON$parse4$plugins$;
197
+ return ((_JSON$parse4 = JSON.parse(state.workOrder.userInfo.companyUserConfig || '{}')) === null || _JSON$parse4 === void 0 ? void 0 : (_JSON$parse4$plugins = _JSON$parse4.plugins) === null || _JSON$parse4$plugins === void 0 ? void 0 : (_JSON$parse4$plugins$ = _JSON$parse4$plugins.wln) === null || _JSON$parse4$plugins$ === void 0 ? void 0 : _JSON$parse4$plugins$.show) || false;
198
+ });
195
199
  var hasSuperAdminRole = useAppSelector(function (state) {
196
200
  return state.workOrder.userInfo.hasSuperAdminRole;
197
201
  });
@@ -696,7 +700,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
696
700
  shopId: shopId,
697
701
  userKey: userKey,
698
702
  companyKey: companyKey,
699
- bindERP: bindERP || hasBindWdt || hasBindJst || hasBindJuYi,
703
+ bindERP: bindERP || hasBindWdt || hasBindJst || hasBindJuYi || hasBindWln,
700
704
  hasSuperAdminRole: hasSuperAdminRole
701
705
  },
702
706
  otherInfo: _objectSpread(_objectSpread({}, otherInfo), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.7.7-beta.3",
3
+ "version": "2.7.7-beta.5",
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.7.7-beta.3",
36
- "@kmkf-fe-packages/kmkf-utils": "2.7.7-beta.3",
37
- "@kmkf-fe-packages/services-components": "2.7.7-beta.3",
35
+ "@kmkf-fe-packages/basic-components": "2.7.7-beta.5",
36
+ "@kmkf-fe-packages/kmkf-utils": "2.7.7-beta.5",
37
+ "@kmkf-fe-packages/services-components": "2.7.7-beta.5",
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": "1bcc57eaa970d01d8d2195f3087ec20f3ab93060",
78
+ "gitHead": "b68d296af7547c620b22856aa2025aac3858b684",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }