@kmkf-fe-packages/kmkf-work-order-service-component 2.7.7-beta.0 → 2.7.7-beta.10
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.
|
@@ -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), {}, {
|
|
@@ -122,6 +122,10 @@ export var SKIP_NODE_TYPES_CONFIG = {
|
|
|
122
122
|
name: '补发(聚客云)',
|
|
123
123
|
tips: '补发单id'
|
|
124
124
|
},
|
|
125
|
+
PLATFORM_INFO_TIMING_SYNC: {
|
|
126
|
+
name: '平台信息定时同步',
|
|
127
|
+
tips: '退货物流、订单状态'
|
|
128
|
+
},
|
|
125
129
|
// 旺店通 系统订单号
|
|
126
130
|
REISSUE_LOGISTICS_SYNC: true,
|
|
127
131
|
BS_E3_REISSUE_LOGISTICS_SYNC: true,
|
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
|
+
"version": "2.7.7-beta.10",
|
|
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.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.7.7-beta.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.7.7-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.7.7-beta.10",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.7.7-beta.9",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.7.7-beta.10",
|
|
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": "5e7df843f7c481d3b61e55cc660ad41e7e956608",
|
|
79
79
|
"gitHooks": {
|
|
80
80
|
"pre-commit": "lint-staged"
|
|
81
81
|
}
|