@kmkf-fe-packages/kmkf-work-order-service-component 2.1.12 → 2.2.0
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.
|
@@ -173,6 +173,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
173
173
|
var buyerNick = platformInfo.buyerNick,
|
|
174
174
|
buyerId = platformInfo.buyerId,
|
|
175
175
|
platform = platformInfo.platform,
|
|
176
|
+
isTbZnkf = platformInfo.isTbZnkf,
|
|
176
177
|
shopId = platformInfo.shopId,
|
|
177
178
|
orderNo = platformInfo.orderNo,
|
|
178
179
|
userKey = platformInfo.userKey;
|
|
@@ -285,7 +286,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
285
286
|
var height = useMemo(function () {
|
|
286
287
|
var _listRef$current;
|
|
287
288
|
var wHeight = window.innerHeight;
|
|
288
|
-
return wHeight - 40 - (platform !== PlatForm.TB ? (listRef === null || listRef === void 0 ? void 0 : (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.clientHeight) || 78 : 0) - 54 - 83 - (open ? 191 : platform !== PlatForm.TB ? 111 : 51) - (platform === PlatForm.FXG ? 128 : 0) - (deleteHeight ? deleteHeight : 0);
|
|
289
|
+
return wHeight - 40 - (platform !== PlatForm.TB ? (listRef === null || listRef === void 0 ? void 0 : (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.clientHeight) || 78 : 0) - 54 - 83 - (open ? 191 : platform !== PlatForm.TB || isTbZnkf ? 111 : 51) - 8 - (platform === PlatForm.FXG ? 128 : 0) - (deleteHeight ? deleteHeight : 0);
|
|
289
290
|
}, [open, listRef === null || listRef === void 0 ? void 0 : (_listRef$current2 = listRef.current) === null || _listRef$current2 === void 0 ? void 0 : _listRef$current2.clientHeight]);
|
|
290
291
|
var searchHandle = function searchHandle() {
|
|
291
292
|
var templateList = form.getFieldValue('templateIdList');
|
|
@@ -45,6 +45,8 @@ message.config({
|
|
|
45
45
|
var WorkOrder = function WorkOrder(props) {
|
|
46
46
|
var _companyUserConfig, _companyUserConfig$pd, _companyUserConfig2, _companyUserConfig2$p, _companyUserConfig2$p2;
|
|
47
47
|
var platform = props.platform,
|
|
48
|
+
_props$isTbZnkf = props.isTbZnkf,
|
|
49
|
+
isTbZnkf = _props$isTbZnkf === void 0 ? false : _props$isTbZnkf,
|
|
48
50
|
shopId = props.shopId,
|
|
49
51
|
buyerNick = props.buyerNick,
|
|
50
52
|
buyerId = props.buyerId,
|
|
@@ -110,6 +112,7 @@ var WorkOrder = function WorkOrder(props) {
|
|
|
110
112
|
type: 'global/setState',
|
|
111
113
|
payload: {
|
|
112
114
|
platformInfo: {
|
|
115
|
+
isTbZnkf: isTbZnkf,
|
|
113
116
|
platform: platform,
|
|
114
117
|
shopId: shopId,
|
|
115
118
|
buyerNick: buyerNick,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
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.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.2.0",
|
|
36
36
|
"@kmkf-fe-packages/kmkf-utils": "2.1.12",
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.2.0",
|
|
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": "9f0036fd8a570e2d324d4409249343dc88266711",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|