@kmkf-fe-packages/kmkf-work-order-service-component 2.2.27 → 2.2.29
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.
- package/dist/esm/FlowTemplateDetailV2/components/FormRender/index.js +11 -18
- package/dist/esm/FlowTemplateDetailV2/components/FormRender/onBlur.d.ts +2 -2
- package/dist/esm/FlowTemplateDetailV2/components/FormRender/onBlur.js +34 -17
- package/dist/esm/WorkOrder/components/WorkOrderList/index.d.ts +2 -2
- package/dist/esm/WorkOrder/components/WorkOrderList/index.js +74 -17
- package/dist/esm/WorkOrder/index.js +2 -9
- package/dist/esm/common/utils/transformWorkOrderData.js +5 -0
- package/dist/esm/model/servers/api.d.ts +1 -0
- package/dist/esm/model/servers/api.js +17 -1
- package/package.json +5 -5
|
@@ -23,9 +23,9 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
23
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
24
|
import React, { useState, useRef, useEffect, useMemo, forwardRef, useImperativeHandle, useContext } from 'react';
|
|
25
25
|
import { ConfigProvider, Form, Space, Tag } from 'antd';
|
|
26
|
-
import { useWhyDidYouUpdate } from 'ahooks';
|
|
26
|
+
import { useWhyDidYouUpdate, useDebounceFn } from 'ahooks';
|
|
27
27
|
import zhCN from 'antd/es/locale/zh_CN';
|
|
28
|
-
import { get, some, set, every, cloneDeep, isEmpty, intersection, throttle, groupBy, find, isArray,
|
|
28
|
+
import { get, some, set, every, cloneDeep, isEmpty, intersection, throttle, groupBy, find, isArray, isMatch, isEqual } from 'lodash';
|
|
29
29
|
import 'moment/locale/zh-cn';
|
|
30
30
|
import { calcWorkOrderList, orderBack, getReplaceWarnValues, COMPONENT_MAP_NAME, EXCLUDE_REPLACE_TOP_COMPONENT,
|
|
31
31
|
// 重复检验不需要展示在顶部的
|
|
@@ -377,8 +377,7 @@ var FormRender = function FormRender(props, ref) {
|
|
|
377
377
|
enterprisePaymentTid: orderNo,
|
|
378
378
|
enterprisePaymentAlipayNo: enterprisePaymentAlipayNo
|
|
379
379
|
}, templateDetail);
|
|
380
|
-
|
|
381
|
-
handleWatchFormValueChange(undefined, formData);
|
|
380
|
+
handleWatchFormValueChange();
|
|
382
381
|
};
|
|
383
382
|
useEffect(function () {
|
|
384
383
|
if (labelComponent && !isNull(record)) {
|
|
@@ -988,11 +987,7 @@ var FormRender = function FormRender(props, ref) {
|
|
|
988
987
|
componentOnBlur: componentOnBlur
|
|
989
988
|
});
|
|
990
989
|
case 8:
|
|
991
|
-
if (!['
|
|
992
|
-
//test 测马奔腾
|
|
993
|
-
'6O47IBXFR26FJF4HUQ7WGO4H',
|
|
994
|
-
//prod 陈健企业工单
|
|
995
|
-
'TR3E2FYXFZCFANVG6O6AALSM' //prod 斯凯奇
|
|
990
|
+
if (!['TR3E2FYXFZCFANVG6O6AALSM' //prod 斯凯奇
|
|
996
991
|
].includes(companyKey)) {
|
|
997
992
|
_context6.next = 11;
|
|
998
993
|
break;
|
|
@@ -1398,8 +1393,7 @@ var FormRender = function FormRender(props, ref) {
|
|
|
1398
1393
|
if (currentTemplateAllComponentsDisplay.current[instance === null || instance === void 0 ? void 0 : instance.id] !== show) {
|
|
1399
1394
|
// 发现组件从显示变成隐藏后,立即将其变成隐藏状态,执行计算组件逻辑的时候会使用到这个标示
|
|
1400
1395
|
currentTemplateAllComponentsDisplay.current[instance === null || instance === void 0 ? void 0 : instance.id] = show;
|
|
1401
|
-
|
|
1402
|
-
handleWatchFormValueChange(undefined, formData);
|
|
1396
|
+
handleWatchFormValueChange();
|
|
1403
1397
|
}
|
|
1404
1398
|
currentComponentDisplayStatus.current[instance === null || instance === void 0 ? void 0 : instance.id] = show;
|
|
1405
1399
|
checkFillMapping(show, uniqueKey, workOrderComponentType);
|
|
@@ -1472,9 +1466,9 @@ var FormRender = function FormRender(props, ref) {
|
|
|
1472
1466
|
return item.workOrderComponentType === 'NUMERICAL_CALCULATION';
|
|
1473
1467
|
});
|
|
1474
1468
|
}, [templateDetail]);
|
|
1475
|
-
var handleWatchFormValueChange = function handleWatchFormValueChange(
|
|
1476
|
-
var allValues = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1469
|
+
var handleWatchFormValueChange = function handleWatchFormValueChange() {
|
|
1477
1470
|
var componentShowMap = currentTemplateAllComponentsDisplay.current;
|
|
1471
|
+
var allValues = form.getFieldsValue(true);
|
|
1478
1472
|
var formValue = {};
|
|
1479
1473
|
// FIXME: 计算组件存在,此处还可能出现性能问题
|
|
1480
1474
|
if (calculationTypeComponentList.length > 0) {
|
|
@@ -1493,11 +1487,10 @@ var FormRender = function FormRender(props, ref) {
|
|
|
1493
1487
|
changeValuesCacheOrderInfo(_objectSpread(_objectSpread({}, form.getFieldsValue()), formValue), templateDetail === null || templateDetail === void 0 ? void 0 : templateDetail.componentDtoList);
|
|
1494
1488
|
});
|
|
1495
1489
|
};
|
|
1496
|
-
var
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
[handleWatchFormValueChange]);
|
|
1490
|
+
var _useDebounceFn = useDebounceFn(handleWatchFormValueChange, {
|
|
1491
|
+
wait: 150
|
|
1492
|
+
}),
|
|
1493
|
+
debouncedHandleWatchFormValueChange = _useDebounceFn.run;
|
|
1501
1494
|
var changeValuesCacheOrderInfo = throttle(function (value, tempLateList) {
|
|
1502
1495
|
//如果店铺id不存在 不缓存
|
|
1503
1496
|
if (!(value !== null && value !== void 0 && value.shopId)) return;
|
|
@@ -5,7 +5,7 @@ export declare const onBlurErpAfterSaleTradeId: ({ form, value, templateDetail,
|
|
|
5
5
|
templateDetail: any;
|
|
6
6
|
setKmLoading: (loading: boolean) => void;
|
|
7
7
|
}) => Promise<void>;
|
|
8
|
-
export declare const onBlurExpressLogisticsCode: ({ form, value, templateDetail, setKmLoading, componentOnBlur, onlyGetTid, needTradeIdOrderBack }: {
|
|
8
|
+
export declare const onBlurExpressLogisticsCode: ({ form, value, templateDetail, setKmLoading, componentOnBlur, onlyGetTid, needTradeIdOrderBack, }: {
|
|
9
9
|
form: FormInstance;
|
|
10
10
|
value: string;
|
|
11
11
|
templateDetail: any;
|
|
@@ -14,7 +14,7 @@ export declare const onBlurExpressLogisticsCode: ({ form, value, templateDetail,
|
|
|
14
14
|
onlyGetTid?: boolean | undefined;
|
|
15
15
|
needTradeIdOrderBack?: boolean | undefined;
|
|
16
16
|
}) => Promise<any>;
|
|
17
|
-
export declare const onBlurSkxOutboundNoticeNo: ({ form, value, templateDetail, componentOnBlur, onlyGetTid, needTradeIdOrderBack }: {
|
|
17
|
+
export declare const onBlurSkxOutboundNoticeNo: ({ form, value, templateDetail, componentOnBlur, onlyGetTid, needTradeIdOrderBack, }: {
|
|
18
18
|
form: FormInstance;
|
|
19
19
|
value: string;
|
|
20
20
|
templateDetail: any;
|
|
@@ -9,7 +9,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
9
9
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
10
10
|
import { orderBackKmVideoByLogisticsCode } from "../../../common/utils/orderBackKm";
|
|
11
11
|
import { isNull, skxSystemOrderBackValues, skxReturnSystemOrderBackValues } from '@kmkf-fe-packages/kmkf-utils';
|
|
12
|
-
import { queryTidByOutSid } from "../../../model/servers/api";
|
|
12
|
+
import { queryTidByOutSid, queryTidByWdtOutSid } from "../../../model/servers/api";
|
|
13
13
|
import { servers } from '@kmkf-fe-packages/kmkf-utils';
|
|
14
14
|
export var onBlurErpAfterSaleTradeId = /*#__PURE__*/function () {
|
|
15
15
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
@@ -47,7 +47,7 @@ export var onBlurErpAfterSaleTradeId = /*#__PURE__*/function () {
|
|
|
47
47
|
export var onBlurExpressLogisticsCode = /*#__PURE__*/function () {
|
|
48
48
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
|
|
49
49
|
var _kmErpVideoComponent$2;
|
|
50
|
-
var form, value, templateDetail, setKmLoading, componentOnBlur, _ref3$onlyGetTid, onlyGetTid, _ref3$needTradeIdOrde, needTradeIdOrderBack, hasTradeIdComponent, kmErpVideoComponent, _res$data, hasKm, userInfo, _userInfo$companyUser, _companyUserConfig$pl, _companyUserConfig, _companyUserConfig$pl2, _companyUserConfig$pl3, companyUserConfig, oldValue, res, tradeId, blurPromise;
|
|
50
|
+
var form, value, templateDetail, setKmLoading, componentOnBlur, _ref3$onlyGetTid, onlyGetTid, _ref3$needTradeIdOrde, needTradeIdOrderBack, hasTradeIdComponent, kmErpVideoComponent, _res$data, hasKm, hasWdt, userInfo, _userInfo$companyUser, _companyUserConfig$pl, _companyUserConfig, _companyUserConfig$pl2, _companyUserConfig$pl3, _companyUserConfig$pl4, _companyUserConfig2, _companyUserConfig2$p, _companyUserConfig2$p2, companyUserConfig, oldValue, res, tradeId, blurPromise;
|
|
51
51
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
52
52
|
while (1) switch (_context2.prev = _context2.next) {
|
|
53
53
|
case 0:
|
|
@@ -72,10 +72,11 @@ export var onBlurExpressLogisticsCode = /*#__PURE__*/function () {
|
|
|
72
72
|
});
|
|
73
73
|
case 6:
|
|
74
74
|
if (!hasTradeIdComponent) {
|
|
75
|
-
_context2.next =
|
|
75
|
+
_context2.next = 35;
|
|
76
76
|
break;
|
|
77
77
|
}
|
|
78
78
|
hasKm = false;
|
|
79
|
+
hasWdt = false;
|
|
79
80
|
try {
|
|
80
81
|
userInfo = JSON.parse(localStorage.getItem('reduxData_userInfo') || '{}');
|
|
81
82
|
if (isNull(userInfo)) {
|
|
@@ -86,6 +87,7 @@ export var onBlurExpressLogisticsCode = /*#__PURE__*/function () {
|
|
|
86
87
|
companyUserConfig = JSON.parse(companyUserConfig);
|
|
87
88
|
}
|
|
88
89
|
hasKm = (_companyUserConfig$pl = (_companyUserConfig = companyUserConfig) === null || _companyUserConfig === void 0 ? void 0 : (_companyUserConfig$pl2 = _companyUserConfig.plugins) === null || _companyUserConfig$pl2 === void 0 ? void 0 : (_companyUserConfig$pl3 = _companyUserConfig$pl2.km) === null || _companyUserConfig$pl3 === void 0 ? void 0 : _companyUserConfig$pl3.show) !== null && _companyUserConfig$pl !== void 0 ? _companyUserConfig$pl : false;
|
|
90
|
+
hasWdt = (_companyUserConfig$pl4 = (_companyUserConfig2 = companyUserConfig) === null || _companyUserConfig2 === void 0 ? void 0 : (_companyUserConfig2$p = _companyUserConfig2.plugins) === null || _companyUserConfig2$p === void 0 ? void 0 : (_companyUserConfig2$p2 = _companyUserConfig2$p.wdt) === null || _companyUserConfig2$p2 === void 0 ? void 0 : _companyUserConfig2$p2.show) !== null && _companyUserConfig$pl4 !== void 0 ? _companyUserConfig$pl4 : false;
|
|
89
91
|
}
|
|
90
92
|
} catch (error) {
|
|
91
93
|
console.error(error);
|
|
@@ -98,50 +100,65 @@ export var onBlurExpressLogisticsCode = /*#__PURE__*/function () {
|
|
|
98
100
|
// hasKm,
|
|
99
101
|
// form,
|
|
100
102
|
// });
|
|
101
|
-
if (hasKm) {
|
|
102
|
-
_context2.next =
|
|
103
|
+
if (!(!hasKm && !hasWdt)) {
|
|
104
|
+
_context2.next = 12;
|
|
103
105
|
break;
|
|
104
106
|
}
|
|
105
107
|
return _context2.abrupt("return");
|
|
106
|
-
case
|
|
108
|
+
case 12:
|
|
107
109
|
oldValue = form.getFieldValue('0eVTfMGEyd');
|
|
108
|
-
|
|
110
|
+
if (!hasWdt) {
|
|
111
|
+
_context2.next = 19;
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
_context2.next = 16;
|
|
115
|
+
return queryTidByWdtOutSid({
|
|
116
|
+
outSid: value
|
|
117
|
+
});
|
|
118
|
+
case 16:
|
|
119
|
+
_context2.t0 = _context2.sent;
|
|
120
|
+
_context2.next = 22;
|
|
121
|
+
break;
|
|
122
|
+
case 19:
|
|
123
|
+
_context2.next = 21;
|
|
109
124
|
return queryTidByOutSid({
|
|
110
125
|
outSid: value
|
|
111
126
|
});
|
|
112
|
-
case
|
|
113
|
-
|
|
127
|
+
case 21:
|
|
128
|
+
_context2.t0 = _context2.sent;
|
|
129
|
+
case 22:
|
|
130
|
+
res = _context2.t0;
|
|
114
131
|
tradeId = res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.tid;
|
|
115
132
|
if (!onlyGetTid) {
|
|
116
|
-
_context2.next =
|
|
133
|
+
_context2.next = 26;
|
|
117
134
|
break;
|
|
118
135
|
}
|
|
119
136
|
return _context2.abrupt("return", tradeId);
|
|
120
|
-
case
|
|
137
|
+
case 26:
|
|
121
138
|
if (tradeId) {
|
|
122
|
-
_context2.next =
|
|
139
|
+
_context2.next = 28;
|
|
123
140
|
break;
|
|
124
141
|
}
|
|
125
142
|
return _context2.abrupt("return");
|
|
126
|
-
case
|
|
143
|
+
case 28:
|
|
127
144
|
form.setFieldsValue({
|
|
128
145
|
m3ap1EvEyd: tradeId
|
|
129
146
|
});
|
|
130
147
|
if (!needTradeIdOrderBack) {
|
|
131
|
-
_context2.next =
|
|
148
|
+
_context2.next = 33;
|
|
132
149
|
break;
|
|
133
150
|
}
|
|
134
151
|
// 创建一个异步操作的Promise
|
|
135
152
|
blurPromise = componentOnBlur(tradeId, 'tradeId'); // 等待异步操作完成后再执行setTimeout
|
|
136
|
-
_context2.next =
|
|
153
|
+
_context2.next = 33;
|
|
137
154
|
return blurPromise;
|
|
138
|
-
case
|
|
155
|
+
case 33:
|
|
139
156
|
// 所有异步操作完成后执行
|
|
140
157
|
form.setFieldsValue({
|
|
141
158
|
'0eVTfMGEyd': oldValue
|
|
142
159
|
});
|
|
143
160
|
return _context2.abrupt("return", res.data);
|
|
144
|
-
case
|
|
161
|
+
case 35:
|
|
145
162
|
case "end":
|
|
146
163
|
return _context2.stop();
|
|
147
164
|
}
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './index.less';
|
|
3
3
|
declare type OrderListProps = {
|
|
4
4
|
tabActive: string;
|
|
5
|
-
|
|
5
|
+
otherInfo?: any;
|
|
6
6
|
onOpenWangWang?: (nick: string, id: string) => void;
|
|
7
7
|
};
|
|
8
|
-
declare const CustomizeWorkOrderList: ({ tabActive, onOpenWangWang,
|
|
8
|
+
declare const CustomizeWorkOrderList: ({ tabActive, onOpenWangWang, otherInfo }: OrderListProps) => React.JSX.Element;
|
|
9
9
|
export default CustomizeWorkOrderList;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
2
5
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
3
6
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
7
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -133,8 +136,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
133
136
|
var _nodesData$data, _nodesData$data$workO;
|
|
134
137
|
var tabActive = _ref4.tabActive,
|
|
135
138
|
onOpenWangWang = _ref4.onOpenWangWang,
|
|
136
|
-
|
|
137
|
-
deleteHeight = _ref4$deleteHeight === void 0 ? 0 : _ref4$deleteHeight;
|
|
139
|
+
otherInfo = _ref4.otherInfo;
|
|
138
140
|
var dispatch = useAppDispatch();
|
|
139
141
|
var _useState = useState(false),
|
|
140
142
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -234,7 +236,8 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
234
236
|
}, form.getFieldsValue());
|
|
235
237
|
}, {
|
|
236
238
|
target: allRef,
|
|
237
|
-
|
|
239
|
+
manual: true,
|
|
240
|
+
// reloadDeps: [currentBuyerChecked, shopList],
|
|
238
241
|
isNoMore: function isNoMore(d) {
|
|
239
242
|
var _d$list;
|
|
240
243
|
return (d === null || d === void 0 ? void 0 : d.total) <= (d === null || d === void 0 ? void 0 : (_d$list = d.list) === null || _d$list === void 0 ? void 0 : _d$list.length);
|
|
@@ -254,7 +257,8 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
254
257
|
}, form.getFieldsValue());
|
|
255
258
|
}, {
|
|
256
259
|
target: selfRef,
|
|
257
|
-
|
|
260
|
+
manual: true,
|
|
261
|
+
// reloadDeps: [currentBuyerChecked, shopList],
|
|
258
262
|
isNoMore: function isNoMore(d) {
|
|
259
263
|
var _d$list2;
|
|
260
264
|
return (d === null || d === void 0 ? void 0 : d.total) <= (d === null || d === void 0 ? void 0 : (_d$list2 = d.list) === null || _d$list2 === void 0 ? void 0 : _d$list2.length);
|
|
@@ -269,9 +273,6 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
269
273
|
reload();
|
|
270
274
|
selfReload();
|
|
271
275
|
};
|
|
272
|
-
useEffect(function () {
|
|
273
|
-
dispatch(fetchCompanyUserList);
|
|
274
|
-
}, []);
|
|
275
276
|
var queryPanelInfoHandle = function queryPanelInfoHandle(item) {
|
|
276
277
|
if (!item) return;
|
|
277
278
|
queryAllWorkOrderList('/qy/flow/queryFlowWorkOrders', {
|
|
@@ -311,7 +312,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
311
312
|
var listHeight = useMemo(function () {
|
|
312
313
|
var _platFormHeightMap;
|
|
313
314
|
var wHeight = window.innerHeight;
|
|
314
|
-
var platFormHeightMap = (_platFormHeightMap = {}, _defineProperty(_platFormHeightMap, PlatForm.FXG, wHeight - 216 - height - searchHeight), _defineProperty(_platFormHeightMap, PlatForm.TB, wHeight - 205 - searchHeight), _defineProperty(_platFormHeightMap, "default", wHeight - 123 - height - searchHeight - deleteHeight), _platFormHeightMap);
|
|
315
|
+
var platFormHeightMap = (_platFormHeightMap = {}, _defineProperty(_platFormHeightMap, PlatForm.FXG, wHeight - 216 - height - searchHeight), _defineProperty(_platFormHeightMap, PlatForm.TB, wHeight - 205 - searchHeight), _defineProperty(_platFormHeightMap, "default", wHeight - 123 - height - searchHeight - ((otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.deleteHeight) || 0)), _platFormHeightMap);
|
|
315
316
|
if (platFormHeightMap[platform]) {
|
|
316
317
|
return platFormHeightMap[platform];
|
|
317
318
|
} else {
|
|
@@ -319,6 +320,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
319
320
|
}
|
|
320
321
|
}, [open, height, searchHeight, platform, isTbZnkf]);
|
|
321
322
|
useEffect(function () {
|
|
323
|
+
dispatch(fetchCompanyUserList);
|
|
322
324
|
var handleResize = function handleResize() {
|
|
323
325
|
if (templateRef.current) {
|
|
324
326
|
setHeight(templateRef.current.scrollHeight); // 或者使用 clientHeight[citation:8]
|
|
@@ -352,6 +354,42 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
352
354
|
}
|
|
353
355
|
};
|
|
354
356
|
}, []);
|
|
357
|
+
var initHandle = /*#__PURE__*/function () {
|
|
358
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(otherInfo, buyerId, orderNo) {
|
|
359
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
360
|
+
while (1) switch (_context.prev = _context.next) {
|
|
361
|
+
case 0:
|
|
362
|
+
if (!([6, 7].includes(otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.showFrom) && (otherInfo !== null && otherInfo !== void 0 && otherInfo.flowWorkOrderId || orderNo) || !buyerId)) {
|
|
363
|
+
_context.next = 6;
|
|
364
|
+
break;
|
|
365
|
+
}
|
|
366
|
+
form.setFieldsValue({
|
|
367
|
+
flowWorkOrderId: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.flowWorkOrderId) || '',
|
|
368
|
+
tid: orderNo
|
|
369
|
+
});
|
|
370
|
+
_context.next = 4;
|
|
371
|
+
return dispatch(setCurrentBuyerChecked(false));
|
|
372
|
+
case 4:
|
|
373
|
+
_context.next = 8;
|
|
374
|
+
break;
|
|
375
|
+
case 6:
|
|
376
|
+
_context.next = 8;
|
|
377
|
+
return dispatch(setCurrentBuyerChecked(true));
|
|
378
|
+
case 8:
|
|
379
|
+
searchList();
|
|
380
|
+
case 9:
|
|
381
|
+
case "end":
|
|
382
|
+
return _context.stop();
|
|
383
|
+
}
|
|
384
|
+
}, _callee);
|
|
385
|
+
}));
|
|
386
|
+
return function initHandle(_x2, _x3, _x4) {
|
|
387
|
+
return _ref5.apply(this, arguments);
|
|
388
|
+
};
|
|
389
|
+
}();
|
|
390
|
+
useEffect(function () {
|
|
391
|
+
initHandle(otherInfo, buyerId, orderNo);
|
|
392
|
+
}, [otherInfo, buyerId, orderNo]);
|
|
355
393
|
var searchHandle = function searchHandle() {
|
|
356
394
|
var templateList = form.getFieldValue('templateIdList');
|
|
357
395
|
if (templateList && templateList.length) {
|
|
@@ -384,12 +422,31 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
384
422
|
}, /*#__PURE__*/React.createElement(Col, null, platform !== PlatForm.WEB && /*#__PURE__*/React.createElement(Checkbox, {
|
|
385
423
|
className: "custom_box_search_buyer",
|
|
386
424
|
checked: currentBuyerChecked,
|
|
387
|
-
onChange: function
|
|
388
|
-
|
|
389
|
-
return
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
425
|
+
onChange: /*#__PURE__*/function () {
|
|
426
|
+
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(e) {
|
|
427
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
428
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
429
|
+
case 0:
|
|
430
|
+
if (buyerId) {
|
|
431
|
+
_context2.next = 2;
|
|
432
|
+
break;
|
|
433
|
+
}
|
|
434
|
+
return _context2.abrupt("return", message.warning('请先选择买家,再查询工单!'));
|
|
435
|
+
case 2:
|
|
436
|
+
_context2.next = 4;
|
|
437
|
+
return dispatch(setCurrentBuyerChecked(e.target.checked));
|
|
438
|
+
case 4:
|
|
439
|
+
searchHandle();
|
|
440
|
+
case 5:
|
|
441
|
+
case "end":
|
|
442
|
+
return _context2.stop();
|
|
443
|
+
}
|
|
444
|
+
}, _callee2);
|
|
445
|
+
}));
|
|
446
|
+
return function (_x5) {
|
|
447
|
+
return _ref6.apply(this, arguments);
|
|
448
|
+
};
|
|
449
|
+
}()
|
|
393
450
|
}, "\u5F53\u524D\u4E70\u5BB6")), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement("span", {
|
|
394
451
|
className: "action_collapse",
|
|
395
452
|
onClick: function onClick() {
|
|
@@ -504,9 +561,9 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
504
561
|
dispatch(setFormModalVisible(false));
|
|
505
562
|
queryPanelInfoHandle(record);
|
|
506
563
|
};
|
|
507
|
-
var handleCreateWorkOrderByFlowId = function handleCreateWorkOrderByFlowId(
|
|
508
|
-
var logicFlowId =
|
|
509
|
-
name =
|
|
564
|
+
var handleCreateWorkOrderByFlowId = function handleCreateWorkOrderByFlowId(_ref7) {
|
|
565
|
+
var logicFlowId = _ref7.id,
|
|
566
|
+
name = _ref7.name;
|
|
510
567
|
setTitle(name);
|
|
511
568
|
dispatch(setLogicFlowId(logicFlowId));
|
|
512
569
|
dispatch(setFlowWorkOrderId(''));
|
|
@@ -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 {
|
|
23
|
+
import { 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';
|
|
@@ -106,13 +106,6 @@ var WorkOrder = function WorkOrder(props) {
|
|
|
106
106
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
107
107
|
visible = _useState6[0],
|
|
108
108
|
setVisible = _useState6[1];
|
|
109
|
-
useEffect(function () {
|
|
110
|
-
if (buyerId) {
|
|
111
|
-
dispatch(setCurrentBuyerChecked(true));
|
|
112
|
-
} else {
|
|
113
|
-
dispatch(setCurrentBuyerChecked(false));
|
|
114
|
-
}
|
|
115
|
-
}, [buyerId]);
|
|
116
109
|
useEffect(function () {
|
|
117
110
|
//存储平台信息
|
|
118
111
|
dispatch({
|
|
@@ -291,7 +284,7 @@ var WorkOrder = function WorkOrder(props) {
|
|
|
291
284
|
src: avatarImg
|
|
292
285
|
})) : null), /*#__PURE__*/React.createElement(OrderList, {
|
|
293
286
|
tabActive: tabActive,
|
|
294
|
-
|
|
287
|
+
otherInfo: otherInfo,
|
|
295
288
|
onOpenWangWang: onOpenWangWang
|
|
296
289
|
}), /*#__PURE__*/React.createElement(PaymentWorkOrderList, {
|
|
297
290
|
tabActive: tabActive,
|
|
@@ -949,6 +949,11 @@ var processWlnGoods = function processWlnGoods(templateColumns) {
|
|
|
949
949
|
var processWdtReissueGoods = function processWdtReissueGoods(templateColumns) {
|
|
950
950
|
return function (getValue) {
|
|
951
951
|
return function (nex, config) {
|
|
952
|
+
if (['wdtReissueType', 'wdtReissueGoods', 'wdtSystemOrderNo'].every(function (key) {
|
|
953
|
+
return !getValue("".concat(nex.uniqueKey, "_").concat(key));
|
|
954
|
+
})) {
|
|
955
|
+
return;
|
|
956
|
+
}
|
|
952
957
|
var orderNo = '';
|
|
953
958
|
var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
954
959
|
return col.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
@@ -107,6 +107,7 @@ export declare const queryMemberLevel: (data: {
|
|
|
107
107
|
}) => Promise<serverProps<Array<string>>>;
|
|
108
108
|
export declare const queryShopByTid: (data: any) => Promise<any>;
|
|
109
109
|
export declare const queryTidByOutSid: (data: any) => Promise<any>;
|
|
110
|
+
export declare const queryTidByWdtOutSid: (data: any) => Promise<any>;
|
|
110
111
|
export declare const skqOrderDetail: (data: any) => Promise<any>;
|
|
111
112
|
export declare const nodeWorkOrderPending: (data: any) => Promise<any>;
|
|
112
113
|
export declare const jyOrderDetail: (data: any) => Promise<any>;
|
|
@@ -384,9 +384,17 @@ export var getAlipayBillReceipt = function getAlipayBillReceipt(data) {
|
|
|
384
384
|
});
|
|
385
385
|
};
|
|
386
386
|
// jst订单详情
|
|
387
|
+
// export const jstOrderDetail: (data: any) => Promise<any> = (data: any) => {
|
|
388
|
+
// return request({
|
|
389
|
+
// url: '/qy/gdfw/order/jstOrderDetail',
|
|
390
|
+
// method: 'post',
|
|
391
|
+
// data,
|
|
392
|
+
// infoLevel: 'warning',
|
|
393
|
+
// });
|
|
394
|
+
// };
|
|
387
395
|
export var jstOrderDetail = function jstOrderDetail(data) {
|
|
388
396
|
return request({
|
|
389
|
-
url: '/qy/gdfw/
|
|
397
|
+
url: '/qy/gdfw/jst/erp/jstShopCode',
|
|
390
398
|
method: 'post',
|
|
391
399
|
data: data,
|
|
392
400
|
infoLevel: 'warning'
|
|
@@ -618,6 +626,14 @@ export var queryTidByOutSid = function queryTidByOutSid(data) {
|
|
|
618
626
|
data: data
|
|
619
627
|
});
|
|
620
628
|
};
|
|
629
|
+
//通过快递单号获取订单号--旺店通
|
|
630
|
+
export var queryTidByWdtOutSid = function queryTidByWdtOutSid(data) {
|
|
631
|
+
return request({
|
|
632
|
+
url: '/qy/gdfw/wdt/erp/queryTidByOutSid',
|
|
633
|
+
method: 'post',
|
|
634
|
+
data: data
|
|
635
|
+
});
|
|
636
|
+
};
|
|
621
637
|
|
|
622
638
|
// 获取skq订单商品详情
|
|
623
639
|
export var skqOrderDetail = function skqOrderDetail(data) {
|
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.
|
|
3
|
+
"version": "2.2.29",
|
|
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.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.2.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.2.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.2.29",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.2.29",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.2.29",
|
|
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": "c667abff26b268f6b4d3e8b6c9d8a5eee5db3c06",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|