@kmkf-fe-packages/kmkf-work-order-service-component 0.16.0-alpha.0 → 0.16.0-alpha.2
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/FlowTemplateDetail/components/ActionList/index.js +7 -3
- package/dist/esm/FlowTemplateDetail/components/Header/index.js +18 -6
- package/dist/esm/WorkOrder/components/WorkOrderList/components/LogicFlowList/index.js +2 -0
- package/dist/esm/common/utils/tools.js +27 -18
- package/dist/esm/model/paymentWorkOrder/selector.d.ts +18 -0
- package/dist/esm/model/singleShopWorkOrder/selector.d.ts +10 -0
- package/package.json +6 -5
|
@@ -59,6 +59,8 @@ var ActionList = function ActionList(props) {
|
|
|
59
59
|
key: index,
|
|
60
60
|
label: /*#__PURE__*/React.createElement(Button, {
|
|
61
61
|
type: "link",
|
|
62
|
+
"data-spm-click": buttonMap[item].label,
|
|
63
|
+
"data-spm-param": buttonMap[item].label,
|
|
62
64
|
onClick: function onClick() {
|
|
63
65
|
return handleAction(item);
|
|
64
66
|
}
|
|
@@ -78,14 +80,16 @@ var ActionList = function ActionList(props) {
|
|
|
78
80
|
return e.preventDefault();
|
|
79
81
|
}
|
|
80
82
|
}, /*#__PURE__*/React.createElement(Space, null, "\u66F4\u591A", /*#__PURE__*/React.createElement(DownOutlined, null)))), (_buttonList$slice = buttonList.slice(0, 3)) === null || _buttonList$slice === void 0 ? void 0 : _buttonList$slice.map(function (button, index) {
|
|
81
|
-
var _buttonMap$button;
|
|
83
|
+
var _buttonMap$button, _buttonMap$button2, _buttonMap$button3;
|
|
82
84
|
return /*#__PURE__*/React.createElement(Button, {
|
|
83
85
|
key: "button".concat(index),
|
|
84
86
|
type: buttonMap[button].type,
|
|
85
87
|
onClick: function onClick() {
|
|
86
88
|
return handleAction(button);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
+
},
|
|
90
|
+
"data-spm-click": (_buttonMap$button = buttonMap[button]) === null || _buttonMap$button === void 0 ? void 0 : _buttonMap$button.label,
|
|
91
|
+
"data-spm-param": (_buttonMap$button2 = buttonMap[button]) === null || _buttonMap$button2 === void 0 ? void 0 : _buttonMap$button2.label
|
|
92
|
+
}, (_buttonMap$button3 = buttonMap[button]) === null || _buttonMap$button3 === void 0 ? void 0 : _buttonMap$button3.label);
|
|
89
93
|
})));
|
|
90
94
|
};
|
|
91
95
|
export default ActionList;
|
|
@@ -46,13 +46,19 @@ var Header = function Header(props) {
|
|
|
46
46
|
size: "small"
|
|
47
47
|
})), /*#__PURE__*/React.createElement("div", null, showWithdraw && /*#__PURE__*/React.createElement(Button, {
|
|
48
48
|
type: "link",
|
|
49
|
-
onClick: handleWithdraw
|
|
49
|
+
onClick: handleWithdraw,
|
|
50
|
+
"data-spm-click": "\u64A4\u56DE",
|
|
51
|
+
"data-spm-param": "\u64A4\u56DE"
|
|
50
52
|
}, "\u64A4\u56DE"), showEdit && (editing ? /*#__PURE__*/React.createElement(Button, {
|
|
51
53
|
type: "link",
|
|
52
|
-
onClick: handleSave
|
|
54
|
+
onClick: handleSave,
|
|
55
|
+
"data-spm-click": "\u786E\u8BA4\u4FEE\u6539",
|
|
56
|
+
"data-spm-param": "\u786E\u8BA4\u4FEE\u6539"
|
|
53
57
|
}, "\u786E\u8BA4\u4FEE\u6539") : /*#__PURE__*/React.createElement(Button, {
|
|
54
58
|
type: "link",
|
|
55
|
-
onClick: handleEdit
|
|
59
|
+
onClick: handleEdit,
|
|
60
|
+
"data-spm-click": "\u4FEE\u6539",
|
|
61
|
+
"data-spm-param": "\u4FEE\u6539"
|
|
56
62
|
}, "\u4FEE\u6539")), showLook && (opening ? /*#__PURE__*/React.createElement(Button, {
|
|
57
63
|
type: "link",
|
|
58
64
|
onClick: function onClick() {
|
|
@@ -62,19 +68,25 @@ var Header = function Header(props) {
|
|
|
62
68
|
type: "link",
|
|
63
69
|
onClick: function onClick() {
|
|
64
70
|
return typeof handleLook === 'function' && handleLook();
|
|
65
|
-
}
|
|
71
|
+
},
|
|
72
|
+
"data-spm-click": "\u8BE6\u60C5",
|
|
73
|
+
"data-spm-param": "\u8BE6\u60C5"
|
|
66
74
|
}, "\u8BE6\u60C5")), showReminder && /*#__PURE__*/React.createElement(React.Fragment, null, !isReminder ? /*#__PURE__*/React.createElement(Button, {
|
|
67
75
|
type: "link",
|
|
68
76
|
onClick: function onClick() {
|
|
69
77
|
return typeof handleReminder === 'function' && handleReminder('reminder');
|
|
70
|
-
}
|
|
78
|
+
},
|
|
79
|
+
"data-spm-click": "\u50AC\u5355",
|
|
80
|
+
"data-spm-param": "\u50AC\u5355"
|
|
71
81
|
}, "\u50AC\u5355") : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
|
|
72
82
|
type: "success"
|
|
73
83
|
}, "\u5DF2\u50AC\u5355"), /*#__PURE__*/React.createElement(Button, {
|
|
74
84
|
type: "link",
|
|
75
85
|
onClick: function onClick() {
|
|
76
86
|
return typeof handleReminder === 'function' && handleReminder('cancelReminder');
|
|
77
|
-
}
|
|
87
|
+
},
|
|
88
|
+
"data-spm-click": "\u53D6\u6D88\u50AC\u5355",
|
|
89
|
+
"data-spm-param": "\u53D6\u6D88\u50AC\u5355"
|
|
78
90
|
}, "\u53D6\u6D88")))));
|
|
79
91
|
};
|
|
80
92
|
export default Header;
|
|
@@ -9,6 +9,8 @@ var LogicFlowList = function LogicFlowList(_ref) {
|
|
|
9
9
|
return /*#__PURE__*/React.createElement("div", {
|
|
10
10
|
className: "template-button",
|
|
11
11
|
key: item.id,
|
|
12
|
+
"data-spm-click": "\u6D41\u7A0B\u6A21\u7248",
|
|
13
|
+
"data-spm-param": item.name,
|
|
12
14
|
onClick: function onClick() {
|
|
13
15
|
return handleCreateWorkOrderByFlowId({
|
|
14
16
|
id: item.key,
|
|
@@ -23,6 +23,7 @@ import { orderDetail, jstOrderDetail, bsOrderDetail, wlnOrderDetail } from "../.
|
|
|
23
23
|
import moment from 'moment';
|
|
24
24
|
import { AddressData, ExpressData, orderBackFormValues, bsOrderBackFormValues, wlnOrderBackFormValues, findLabelBySelectValue, request, isNull, bsOrderTransform, wlnOrderTransform, unTransField } from '@kmkf-fe-packages/kmkf-utils';
|
|
25
25
|
import { cloneDeep, isEqual, set } from 'lodash';
|
|
26
|
+
import Monitor from 'kmkf-monitor';
|
|
26
27
|
import { PlatForm } from "../../model/flowTemplateDetail/types";
|
|
27
28
|
import cache from "../cache";
|
|
28
29
|
|
|
@@ -606,7 +607,7 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
|
|
|
606
607
|
content: get(nowData, "".concat(item.uniqueKey, ".reason"), ''),
|
|
607
608
|
name: item.name
|
|
608
609
|
});
|
|
609
|
-
} else if (['RETURN_GOODS_STATUS', 'EXCHANGE_STATUS', 'WAREHOUSING_STATUS'].includes(item.workOrderComponentType)) {
|
|
610
|
+
} else if (['RETURN_GOODS_STATUS', 'EXCHANGE_STATUS', 'WAREHOUSING_STATUS', 'MSG_STATUS'].includes(item.workOrderComponentType)) {
|
|
610
611
|
var STATUS_LIST_MAP = {
|
|
611
612
|
RETURN_GOODS_STATUS: {
|
|
612
613
|
list: 'returnGoodsStatusList',
|
|
@@ -619,6 +620,10 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
|
|
|
619
620
|
WAREHOUSING_STATUS: {
|
|
620
621
|
list: 'inStockStatusItemList',
|
|
621
622
|
status: 'inStockStatusList'
|
|
623
|
+
},
|
|
624
|
+
MSG_STATUS: {
|
|
625
|
+
list: 'msgStatusValues',
|
|
626
|
+
status: 'msgStatus4Search'
|
|
622
627
|
}
|
|
623
628
|
};
|
|
624
629
|
contentVoList.push({
|
|
@@ -1259,13 +1264,14 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
1259
1264
|
status: item.jsonMap["".concat(nex.uniqueKey, "_").concat(STATUS_MAP[nex.workOrderComponentType].status)],
|
|
1260
1265
|
reason: item.jsonMap["".concat(nex.uniqueKey, "_").concat(STATUS_MAP[nex.workOrderComponentType].reason)]
|
|
1261
1266
|
}));
|
|
1262
|
-
} else if (['RETURN_GOODS_STATUS', 'EXCHANGE_STATUS', 'WAREHOUSING_STATUS'].includes(nex.workOrderComponentType)) {
|
|
1267
|
+
} else if (['RETURN_GOODS_STATUS', 'EXCHANGE_STATUS', 'WAREHOUSING_STATUS', 'MSG_STATUS'].includes(nex.workOrderComponentType)) {
|
|
1263
1268
|
var STATUS_LIST_MAP = {
|
|
1264
1269
|
RETURN_GOODS_STATUS: 'returnGoodsStatusList',
|
|
1265
1270
|
EXCHANGE_STATUS: 'exchangeReason',
|
|
1266
|
-
WAREHOUSING_STATUS: 'inStockStatusItemList'
|
|
1271
|
+
WAREHOUSING_STATUS: 'inStockStatusItemList',
|
|
1272
|
+
MSG_STATUS: 'msgStatusValues'
|
|
1267
1273
|
};
|
|
1268
|
-
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_").concat(STATUS_LIST_MAP[nex.workOrderComponentType])], nex.workOrderComponentType
|
|
1274
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_").concat(STATUS_LIST_MAP[nex.workOrderComponentType])], ['WAREHOUSING_STATUS', 'MSG_STATUS'].includes(nex.workOrderComponentType) ? [] : [{
|
|
1269
1275
|
status: undefined,
|
|
1270
1276
|
reason: '',
|
|
1271
1277
|
systemOrderId: ''
|
|
@@ -1540,6 +1546,9 @@ export var orderBack = /*#__PURE__*/function () {
|
|
|
1540
1546
|
jstInfo = (jstOrder === null || jstOrder === void 0 ? void 0 : (_jstOrder$value = jstOrder.value) === null || _jstOrder$value === void 0 ? void 0 : (_jstOrder$value$data = _jstOrder$value.data) === null || _jstOrder$value$data === void 0 ? void 0 : _jstOrder$value$data.orders) || [];
|
|
1541
1547
|
bsOrders = (bsOrder === null || bsOrder === void 0 ? void 0 : (_bsOrder$value = bsOrder.value) === null || _bsOrder$value === void 0 ? void 0 : _bsOrder$value.data) || {};
|
|
1542
1548
|
wlnOrders = (wlnOrder === null || wlnOrder === void 0 ? void 0 : (_wlnOrder$value = wlnOrder.value) === null || _wlnOrder$value === void 0 ? void 0 : _wlnOrder$value.data) || {};
|
|
1549
|
+
Monitor.automaticReport({
|
|
1550
|
+
message: "orderBack:\u8BA2\u5355\u53F7:".concat(order_no, ",\u5E97\u94FAid:").concat(shopId, ", \u8BA2\u5355\u4FE1\u606F\uFF1A").concat(JSON.stringify(orderInfo), ",jst\u4FE1\u606F:").concat(JSON.stringify(jstInfo), ",bs\u4FE1\u606F:").concat(JSON.stringify(bsOrders), ",wln\u4FE1\u606F:").concat(JSON.stringify(wlnOrders))
|
|
1551
|
+
});
|
|
1543
1552
|
if (plat !== null && plat !== void 0 && plat.subOrderNo) {
|
|
1544
1553
|
bsOrders.orders = bsOrders.orders.filter(function (item) {
|
|
1545
1554
|
return item.billNo === plat.subOrderNo;
|
|
@@ -1593,7 +1602,7 @@ export var orderBack = /*#__PURE__*/function () {
|
|
|
1593
1602
|
hasSelectItem = HasErpItemSelectHandle(templateDetail);
|
|
1594
1603
|
erpPromiseList = [];
|
|
1595
1604
|
if (!(shopSourceStr === 'TAOBAO' && hasSelectItem)) {
|
|
1596
|
-
_context.next =
|
|
1605
|
+
_context.next = 50;
|
|
1597
1606
|
break;
|
|
1598
1607
|
}
|
|
1599
1608
|
list = detail['itemList'];
|
|
@@ -1611,10 +1620,10 @@ export var orderBack = /*#__PURE__*/function () {
|
|
|
1611
1620
|
resolve({});
|
|
1612
1621
|
});
|
|
1613
1622
|
});
|
|
1614
|
-
_context.prev =
|
|
1615
|
-
_context.next =
|
|
1623
|
+
_context.prev = 40;
|
|
1624
|
+
_context.next = 43;
|
|
1616
1625
|
return Promise.all(promises);
|
|
1617
|
-
case
|
|
1626
|
+
case 43:
|
|
1618
1627
|
erpPromiseList = _context.sent;
|
|
1619
1628
|
detail['itemList'] = (_detail$itemList = detail['itemList']) === null || _detail$itemList === void 0 ? void 0 : _detail$itemList.map(function (item, index) {
|
|
1620
1629
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
@@ -1624,13 +1633,13 @@ export var orderBack = /*#__PURE__*/function () {
|
|
|
1624
1633
|
})
|
|
1625
1634
|
});
|
|
1626
1635
|
});
|
|
1627
|
-
_context.next =
|
|
1636
|
+
_context.next = 50;
|
|
1628
1637
|
break;
|
|
1629
|
-
case
|
|
1630
|
-
_context.prev =
|
|
1631
|
-
_context.t0 = _context["catch"](
|
|
1638
|
+
case 47:
|
|
1639
|
+
_context.prev = 47;
|
|
1640
|
+
_context.t0 = _context["catch"](40);
|
|
1632
1641
|
console.error('调用erp获取宝贝编码错误', _context.t0);
|
|
1633
|
-
case
|
|
1642
|
+
case 50:
|
|
1634
1643
|
// console.log('detail', detail);
|
|
1635
1644
|
values = orderBackFormValues({
|
|
1636
1645
|
detail: detail,
|
|
@@ -1661,17 +1670,17 @@ export var orderBack = /*#__PURE__*/function () {
|
|
|
1661
1670
|
// console.log('orderback', values);
|
|
1662
1671
|
form.setFieldsValue(_objectSpread(_objectSpread({}, formValue), values));
|
|
1663
1672
|
callback === null || callback === void 0 ? void 0 : callback(detail, templateDetail);
|
|
1664
|
-
_context.next =
|
|
1673
|
+
_context.next = 59;
|
|
1665
1674
|
break;
|
|
1666
|
-
case
|
|
1667
|
-
_context.prev =
|
|
1675
|
+
case 56:
|
|
1676
|
+
_context.prev = 56;
|
|
1668
1677
|
_context.t1 = _context["catch"](7);
|
|
1669
1678
|
console.error(_context.t1);
|
|
1670
|
-
case
|
|
1679
|
+
case 59:
|
|
1671
1680
|
case "end":
|
|
1672
1681
|
return _context.stop();
|
|
1673
1682
|
}
|
|
1674
|
-
}, _callee, null, [[7,
|
|
1683
|
+
}, _callee, null, [[7, 56], [40, 47]]);
|
|
1675
1684
|
}));
|
|
1676
1685
|
return function orderBack(_x) {
|
|
1677
1686
|
return _ref2.apply(this, arguments);
|
|
@@ -5,6 +5,8 @@ export declare const selectPaymentWorkOrderExamineModalVisible: ((state: {
|
|
|
5
5
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
6
6
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
7
7
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
8
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
9
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
8
10
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
9
11
|
clearCache: () => void;
|
|
10
12
|
}> & {
|
|
@@ -17,6 +19,8 @@ export declare const selectCurrentPaymentRecord: ((state: {
|
|
|
17
19
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
18
20
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
19
21
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
22
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
23
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
20
24
|
}) => any) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => any, {
|
|
21
25
|
clearCache: () => void;
|
|
22
26
|
}> & {
|
|
@@ -29,6 +33,8 @@ export declare const selectPaymentWorkOrderUnExamineModalVisible: ((state: {
|
|
|
29
33
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
30
34
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
31
35
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
36
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
37
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
32
38
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
33
39
|
clearCache: () => void;
|
|
34
40
|
}> & {
|
|
@@ -41,6 +47,8 @@ export declare const selectDeletePaymentWorkOrderVisible: ((state: {
|
|
|
41
47
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
42
48
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
43
49
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
50
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
51
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
44
52
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
45
53
|
clearCache: () => void;
|
|
46
54
|
}> & {
|
|
@@ -53,6 +61,8 @@ export declare const selectFlagPayModalVisible: ((state: {
|
|
|
53
61
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
54
62
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
55
63
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
64
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
65
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
56
66
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
57
67
|
clearCache: () => void;
|
|
58
68
|
}> & {
|
|
@@ -65,6 +75,8 @@ export declare const selectLogModalVisible: ((state: {
|
|
|
65
75
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
66
76
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
67
77
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
78
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
79
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
68
80
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
69
81
|
clearCache: () => void;
|
|
70
82
|
}> & {
|
|
@@ -77,6 +89,8 @@ export declare const selectPaymentFormModalVisible: ((state: {
|
|
|
77
89
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
78
90
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
79
91
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
92
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
93
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
80
94
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
81
95
|
clearCache: () => void;
|
|
82
96
|
}> & {
|
|
@@ -89,6 +103,8 @@ export declare const selectRepeatVisible: ((state: {
|
|
|
89
103
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
90
104
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
91
105
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
106
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
107
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
92
108
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
93
109
|
clearCache: () => void;
|
|
94
110
|
}> & {
|
|
@@ -101,6 +117,8 @@ export declare const selectRepeatWorkOrderList: ((state: {
|
|
|
101
117
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
102
118
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
103
119
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
120
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
121
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
104
122
|
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => string[], {
|
|
105
123
|
clearCache: () => void;
|
|
106
124
|
}> & {
|
|
@@ -5,6 +5,8 @@ export declare const selectorSingleTemplateList: ((state: {
|
|
|
5
5
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
6
6
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
7
7
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
8
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
9
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
8
10
|
}) => import("./types").SelectI[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => import("./types").SelectI[], {
|
|
9
11
|
clearCache: () => void;
|
|
10
12
|
}> & {
|
|
@@ -17,6 +19,8 @@ export declare const selectDeleteCustomizeWorkOrderModalVisible: ((state: {
|
|
|
17
19
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
18
20
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
19
21
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
22
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
23
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
20
24
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => boolean, {
|
|
21
25
|
clearCache: () => void;
|
|
22
26
|
}> & {
|
|
@@ -29,6 +33,8 @@ export declare const selectorCurrentCustomizeRecord: ((state: {
|
|
|
29
33
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
30
34
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
31
35
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
36
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
37
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
32
38
|
}) => any) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => any, {
|
|
33
39
|
clearCache: () => void;
|
|
34
40
|
}> & {
|
|
@@ -41,6 +47,8 @@ export declare const selectorTemplateId: ((state: {
|
|
|
41
47
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
42
48
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
43
49
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
50
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
51
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
44
52
|
}) => string) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => string, {
|
|
45
53
|
clearCache: () => void;
|
|
46
54
|
}> & {
|
|
@@ -53,6 +61,8 @@ export declare const selectorFormModalVisible: ((state: {
|
|
|
53
61
|
customizeWorkOrder: import("../customizeWorkOrder/types").CustomizeWorkOrderState;
|
|
54
62
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
55
63
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
64
|
+
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
65
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
56
66
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => boolean, {
|
|
57
67
|
clearCache: () => void;
|
|
58
68
|
}> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "0.16.0-alpha.
|
|
3
|
+
"version": "0.16.0-alpha.2",
|
|
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": "^0.15.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.15.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "^0.15.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "^0.15.1-alpha.5",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.15.1-alpha.5",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "^0.15.1-alpha.5",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"antd": "^4.23.0",
|
|
68
|
+
"kmkf-monitor": "^0.7.0",
|
|
68
69
|
"lodash": "^4.17.21",
|
|
69
70
|
"react": "^17.0.2",
|
|
70
71
|
"react-dom": "^17.0.2"
|
|
@@ -72,7 +73,7 @@
|
|
|
72
73
|
"publishConfig": {
|
|
73
74
|
"access": "public"
|
|
74
75
|
},
|
|
75
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "f8f21825f19b8abd063d7ac29e21651933cac9a2",
|
|
76
77
|
"gitHooks": {
|
|
77
78
|
"pre-commit": "lint-staged"
|
|
78
79
|
}
|