@kmkf-fe-packages/kmkf-work-order-service-component 1.0.7 → 1.0.8
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/README.md
CHANGED
|
@@ -690,7 +690,7 @@ var FormRender = function FormRender(props, ref) {
|
|
|
690
690
|
setShopId(val);
|
|
691
691
|
// 清空表单字段
|
|
692
692
|
var needClearFormFields = get(templateDetail, 'componentDtoList', []).reduce(function (cur, nxt) {
|
|
693
|
-
if (['ITEM_SELECT_THIRD', 'STATUS', 'ITEM_SELECT', 'ITEM_ID', 'ITEM_ENCODE', 'JST_LOGISTICS', 'JST_ITEM_SELECT_THIRD', 'JST_SUPPLY', 'JST_SEND_GOOD', 'BS_GOODS', 'BS_EXCHANGE_GOODS', 'BS_REISSUE_GOODS', 'BS_RETURN_GOODS', 'BS_LOGISTICS', 'BS_SEND_GOOD', 'BS_SYSTEM_ORDER', 'WLN_SYSTEM_ORDER', 'WLN_GOODS', 'WLN_LOGISTICS', 'WLN_SEND_GOOD', 'WDT_LOGISTICS', 'WDT_SEND_GOOD', 'WDT_SYSTEM_ORDER', 'WDT_REISSUE_GOODS'].includes(nxt === null || nxt === void 0 ? void 0 : nxt.workOrderComponentType)) {
|
|
693
|
+
if (['ITEM_SELECT_THIRD', 'STATUS', 'ITEM_SELECT', 'ITEM_ID', 'ITEM_ENCODE', 'JST_LOGISTICS', 'JST_ITEM_SELECT_THIRD', 'JST_SUPPLY', 'JST_SEND_GOOD', 'BS_GOODS', 'BS_EXCHANGE_GOODS', 'BS_REISSUE_GOODS', 'BS_RETURN_GOODS', 'BS_LOGISTICS', 'BS_SEND_GOOD', 'BS_SYSTEM_ORDER', 'WLN_SYSTEM_ORDER', 'WLN_GOODS', 'WLN_LOGISTICS', 'WLN_SEND_GOOD', 'WDT_LOGISTICS', 'WDT_SEND_GOOD', 'WDT_SYSTEM_ORDER', 'WDT_REISSUE_GOODS', 'WDT_RETURN_GOODS', 'WDT_EXCHANGE_GOODS'].includes(nxt === null || nxt === void 0 ? void 0 : nxt.workOrderComponentType)) {
|
|
694
694
|
cur.push(nxt === null || nxt === void 0 ? void 0 : nxt.uniqueKey);
|
|
695
695
|
}
|
|
696
696
|
return cur;
|
|
@@ -833,7 +833,6 @@ var FormRender = function FormRender(props, ref) {
|
|
|
833
833
|
};
|
|
834
834
|
var newRenderColumnItem = function newRenderColumnItem(effects) {
|
|
835
835
|
return function (item) {
|
|
836
|
-
var _componentConfig$stat, _componentConfig$stat2;
|
|
837
836
|
var _item$componentConfig2 = item.componentConfig,
|
|
838
837
|
componentConfig = _item$componentConfig2 === void 0 ? {} : _item$componentConfig2,
|
|
839
838
|
workOrderComponentType = item.workOrderComponentType,
|
|
@@ -847,7 +846,19 @@ var FormRender = function FormRender(props, ref) {
|
|
|
847
846
|
var newComponentConfig = _objectSpread(_objectSpread({}, componentConfig), {}, {
|
|
848
847
|
disabled: disabled
|
|
849
848
|
});
|
|
850
|
-
var
|
|
849
|
+
var _ref5 = (componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.status) || {},
|
|
850
|
+
upgrade = _ref5.upgrade,
|
|
851
|
+
created = _ref5.created;
|
|
852
|
+
if (['REISSUE_TRADE_ID', 'EXCHANGE_TRADE_ID'].includes(workOrderComponentType)) {
|
|
853
|
+
// 补发单id和换货单id默认值是可见不可编辑(2)
|
|
854
|
+
if (typeof upgrade !== 'number') {
|
|
855
|
+
upgrade = 2;
|
|
856
|
+
}
|
|
857
|
+
if (typeof created !== 'number') {
|
|
858
|
+
created = 2;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
var _getDisplayAndDisable = getDisplayAndDisabledConfig(workOrderId ? upgrade : created),
|
|
851
862
|
componentCanEdit = _getDisplayAndDisable.disabled,
|
|
852
863
|
componentCanShow = _getDisplayAndDisable.display;
|
|
853
864
|
// TODO: 非前置节点组件渲染消费是否可以编辑配置
|
|
@@ -900,8 +911,8 @@ var FormRender = function FormRender(props, ref) {
|
|
|
900
911
|
shouldUpdate: function shouldUpdate() {
|
|
901
912
|
return true; // TODO: 修复重复依赖的问题 https://tb.raycloud.com/task/64e4491e0b8b5c001e1099b9
|
|
902
913
|
}
|
|
903
|
-
}, function (
|
|
904
|
-
var getFieldValue =
|
|
914
|
+
}, function (_ref6) {
|
|
915
|
+
var getFieldValue = _ref6.getFieldValue;
|
|
905
916
|
var show = currentIdDependenceOtherFields === null || currentIdDependenceOtherFields === void 0 ? void 0 : currentIdDependenceOtherFields.reduce(function (cur, nxt) {
|
|
906
917
|
// 如果有一项满足展示条件则展示
|
|
907
918
|
if (cur) {
|
|
@@ -926,6 +926,18 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
|
|
|
926
926
|
name: item.name
|
|
927
927
|
});
|
|
928
928
|
}
|
|
929
|
+
} else if (item.workOrderComponentType === 'WDT_EXCHANGE_GOODS') {
|
|
930
|
+
var wdtExchange = get(nowData, "".concat(item.uniqueKey), {});
|
|
931
|
+
contentVoList.push({
|
|
932
|
+
uniqueKey: "".concat(item.uniqueKey, "_wdtExchangeGoods"),
|
|
933
|
+
content: wdtExchange === null || wdtExchange === void 0 ? void 0 : wdtExchange.wdtExchangeGoods,
|
|
934
|
+
name: item.name
|
|
935
|
+
});
|
|
936
|
+
contentVoList.push({
|
|
937
|
+
uniqueKey: "".concat(item.uniqueKey, "_shopCode"),
|
|
938
|
+
content: (wdtExchange === null || wdtExchange === void 0 ? void 0 : wdtExchange.shopCode) || '',
|
|
939
|
+
name: item.name
|
|
940
|
+
});
|
|
929
941
|
} else if (['BS_REISSUE_GOODS', 'WDT_REISSUE_GOODS'].includes(item.workOrderComponentType)) {
|
|
930
942
|
var reissueMap = {
|
|
931
943
|
BS_REISSUE_GOODS: {
|
|
@@ -963,21 +975,34 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
|
|
|
963
975
|
name: item.name
|
|
964
976
|
});
|
|
965
977
|
}
|
|
966
|
-
} else if (item.workOrderComponentType
|
|
967
|
-
var
|
|
978
|
+
} else if (['BS_RETURN_GOODS', 'WDT_RETURN_GOODS'].includes(item.workOrderComponentType)) {
|
|
979
|
+
var currentReturn = get(nowData, "".concat(item.uniqueKey), {});
|
|
980
|
+
var compType = item.workOrderComponentType;
|
|
981
|
+
var returnGoodsMap = {
|
|
982
|
+
BS_RETURN_GOODS: {
|
|
983
|
+
returnTypeKey: 'bsReturnType',
|
|
984
|
+
returnGoodsKey: 'bsReturnGoods',
|
|
985
|
+
shopCodeKey: 'shopCode'
|
|
986
|
+
},
|
|
987
|
+
WDT_RETURN_GOODS: {
|
|
988
|
+
returnTypeKey: 'wdtReturnType',
|
|
989
|
+
returnGoodsKey: 'wdtReturnGoods',
|
|
990
|
+
shopCodeKey: 'shopCode'
|
|
991
|
+
}
|
|
992
|
+
};
|
|
968
993
|
contentVoList.push({
|
|
969
|
-
uniqueKey: "".concat(item.uniqueKey, "
|
|
970
|
-
content:
|
|
994
|
+
uniqueKey: "".concat(item.uniqueKey, "_").concat(returnGoodsMap[compType].returnTypeKey),
|
|
995
|
+
content: currentReturn === null || currentReturn === void 0 ? void 0 : currentReturn[returnGoodsMap[compType].returnTypeKey],
|
|
971
996
|
name: item.name
|
|
972
997
|
});
|
|
973
998
|
contentVoList.push({
|
|
974
|
-
uniqueKey: "".concat(item.uniqueKey, "
|
|
975
|
-
content:
|
|
999
|
+
uniqueKey: "".concat(item.uniqueKey, "_").concat(returnGoodsMap[compType].returnGoodsKey),
|
|
1000
|
+
content: currentReturn === null || currentReturn === void 0 ? void 0 : currentReturn[returnGoodsMap[compType].returnGoodsKey],
|
|
976
1001
|
name: item.name
|
|
977
1002
|
});
|
|
978
1003
|
contentVoList.push({
|
|
979
|
-
uniqueKey: "".concat(item.uniqueKey, "
|
|
980
|
-
content: (
|
|
1004
|
+
uniqueKey: "".concat(item.uniqueKey, "_").concat(returnGoodsMap[compType].shopCodeKey),
|
|
1005
|
+
content: (currentReturn === null || currentReturn === void 0 ? void 0 : currentReturn[returnGoodsMap[compType].shopCodeKey]) || '',
|
|
981
1006
|
name: item.name
|
|
982
1007
|
});
|
|
983
1008
|
} else if (item.workOrderComponentType === 'BS_POSTING') {
|
|
@@ -1375,10 +1400,9 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
1375
1400
|
flag: item.jsonMap["".concat(nex.uniqueKey, "_bsFlag")]
|
|
1376
1401
|
}));
|
|
1377
1402
|
} else if (nex.workOrderComponentType === 'REISSUE_LOGISTICS') {
|
|
1378
|
-
var _itemList6 = jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_reissueLogisticsList")], [
|
|
1379
|
-
logisticsCompany: null,
|
|
1380
|
-
|
|
1381
|
-
}]);
|
|
1403
|
+
var _itemList6 = jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_reissueLogisticsList")], [
|
|
1404
|
+
// { logisticsCompany: null, logisticsCode: null },
|
|
1405
|
+
]);
|
|
1382
1406
|
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), _itemList6));
|
|
1383
1407
|
} else if (['REISSUE_STATUS', 'ADJUST_WORK_ORDER_STATUS', 'CREATE_STATUS', 'INVOICE_STATUS', 'INVOICING_STATUS'].includes(nex.workOrderComponentType)) {
|
|
1384
1408
|
var STATUS_MAP = {
|
|
@@ -1414,11 +1438,7 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
1414
1438
|
WAREHOUSING_STATUS: 'inStockStatusItemList',
|
|
1415
1439
|
MSG_STATUS: 'msgStatusValues'
|
|
1416
1440
|
};
|
|
1417
|
-
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_").concat(STATUS_LIST_MAP[nex.workOrderComponentType])], [
|
|
1418
|
-
status: undefined,
|
|
1419
|
-
reason: '',
|
|
1420
|
-
systemOrderId: ''
|
|
1421
|
-
}])));
|
|
1441
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_").concat(STATUS_LIST_MAP[nex.workOrderComponentType])], [])));
|
|
1422
1442
|
} else if (['BS_LOGISTICS', 'WLN_LOGISTICS', 'WDT_LOGISTICS'].includes(nex.workOrderComponentType)) {
|
|
1423
1443
|
var LogisticsMap = {
|
|
1424
1444
|
BS_LOGISTICS: {
|
|
@@ -1534,12 +1554,27 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
1534
1554
|
bsExchangeGiftGoods: jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_bsExchangeGiftGoods")], []),
|
|
1535
1555
|
shopCode: item.jsonMap["".concat(nex.uniqueKey, "_shopCode")]
|
|
1536
1556
|
}));
|
|
1537
|
-
} else if (nex.workOrderComponentType === '
|
|
1557
|
+
} else if (nex.workOrderComponentType === 'WDT_EXCHANGE_GOODS') {
|
|
1538
1558
|
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), {
|
|
1539
|
-
|
|
1540
|
-
bsReturnGoods: jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_bsReturnGoods")], []),
|
|
1559
|
+
wdtExchangeGoods: jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_wdtExchangeGoods")], []),
|
|
1541
1560
|
shopCode: item.jsonMap["".concat(nex.uniqueKey, "_shopCode")]
|
|
1542
1561
|
}));
|
|
1562
|
+
} else if (['BS_RETURN_GOODS', 'WDT_RETURN_GOODS'].includes(nex.workOrderComponentType)) {
|
|
1563
|
+
var _$concat2;
|
|
1564
|
+
var compType = nex.workOrderComponentType;
|
|
1565
|
+
var returnGoodsMap = {
|
|
1566
|
+
BS_RETURN_GOODS: {
|
|
1567
|
+
returnTypeKey: 'bsReturnType',
|
|
1568
|
+
returnGoodsKey: 'bsReturnGoods',
|
|
1569
|
+
shopCodeKey: 'shopCode'
|
|
1570
|
+
},
|
|
1571
|
+
WDT_RETURN_GOODS: {
|
|
1572
|
+
returnTypeKey: 'wdtReturnType',
|
|
1573
|
+
returnGoodsKey: 'wdtReturnGoods',
|
|
1574
|
+
shopCodeKey: 'shopCode'
|
|
1575
|
+
}
|
|
1576
|
+
};
|
|
1577
|
+
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), (_$concat2 = {}, _defineProperty(_$concat2, returnGoodsMap[compType].returnTypeKey, jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnTypeKey)], [])), _defineProperty(_$concat2, returnGoodsMap[compType].returnGoodsKey, jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].returnGoodsKey)], [])), _defineProperty(_$concat2, returnGoodsMap[compType].shopCodeKey, item.jsonMap["".concat(nex.uniqueKey, "_").concat(returnGoodsMap[compType].shopCodeKey)]), _$concat2)));
|
|
1543
1578
|
} else if (['BS_SYSTEM_ORDER', 'WLN_SYSTEM_ORDER', 'WDT_SYSTEM_ORDER'].includes(nex.workOrderComponentType)) {
|
|
1544
1579
|
var systemOrderMap = {
|
|
1545
1580
|
BS_SYSTEM_ORDER: {
|
|
@@ -1577,24 +1612,17 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
1577
1612
|
},
|
|
1578
1613
|
RETURN_GOODS_TRADE_ID: {
|
|
1579
1614
|
key: 'returnGoodsTradeItemList',
|
|
1580
|
-
defaultValue: [
|
|
1581
|
-
|
|
1582
|
-
systemOrderId: ''
|
|
1583
|
-
}]
|
|
1615
|
+
defaultValue: []
|
|
1616
|
+
// defaultValue: [{ returnGoodsTradeId: '', systemOrderId: '' }],
|
|
1584
1617
|
},
|
|
1618
|
+
|
|
1585
1619
|
REISSUE_TRADE_ID: {
|
|
1586
1620
|
key: 'tradeItemList',
|
|
1587
|
-
defaultValue: [
|
|
1588
|
-
billNo: '',
|
|
1589
|
-
tradeId: ''
|
|
1590
|
-
}]
|
|
1621
|
+
defaultValue: []
|
|
1591
1622
|
},
|
|
1592
1623
|
EXCHANGE_TRADE_ID: {
|
|
1593
1624
|
key: 'tradeItemList',
|
|
1594
|
-
defaultValue: [
|
|
1595
|
-
billNo: '',
|
|
1596
|
-
tradeId: ''
|
|
1597
|
-
}]
|
|
1625
|
+
defaultValue: []
|
|
1598
1626
|
}
|
|
1599
1627
|
};
|
|
1600
1628
|
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_").concat(SYSTEM_ORDER_MAP[nex.workOrderComponentType].key)], SYSTEM_ORDER_MAP[nex.workOrderComponentType].defaultValue)));
|
|
@@ -1611,8 +1639,8 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
1611
1639
|
wdtSystemOrderNo: item.jsonMap["".concat(nex.uniqueKey, "_wdtSystemOrderNo")]
|
|
1612
1640
|
}));
|
|
1613
1641
|
} else if (nex.workOrderComponentType === 'LABEL') {
|
|
1614
|
-
var
|
|
1615
|
-
return _objectSpread(_objectSpread({}, cur), {}, (
|
|
1642
|
+
var _objectSpread55;
|
|
1643
|
+
return _objectSpread(_objectSpread({}, cur), {}, (_objectSpread55 = {}, _defineProperty(_objectSpread55, "".concat(nex.uniqueKey), jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_label")], [])), _defineProperty(_objectSpread55, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_label")], [])), _objectSpread55));
|
|
1616
1644
|
}
|
|
1617
1645
|
}, {});
|
|
1618
1646
|
};
|
|
@@ -1634,7 +1662,7 @@ export var calcWorkOrderList = function calcWorkOrderList(source, templateColumn
|
|
|
1634
1662
|
//订单返填
|
|
1635
1663
|
export var orderBack = /*#__PURE__*/function () {
|
|
1636
1664
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
1637
|
-
var order_no, form, shopId, shopList, templateDetail, _ref$type, type, callback, fromQNCreateWorkOrderByOrderNo, _ref$plat, plat, JOIN_SHOP, hasBs, hasWdt, hasWln, _ref3, shopSourceStr, _ref3$thirdUserNick, thirdUserNick, _data$value, _jstOrder$value, _jstOrder$value$data, _bsOrder$value, _wlnOrder$value, _wdtOrder$value, _bsOrders$orders, _wlnOrders$orders, _wdtOrders$trades, promise, hasJst, _yield$Promise$allSet, _yield$Promise$allSet2, data, jstOrder, bsOrder, wlnOrder, wdtOrder, orderInfo, jstInfo, bsOrders, wlnOrders, wdtOrders, bsInfo, wlnInfo, wdtInfo, formValue, detail, hasSelectItem, erpPromiseList, list, promises, _detail$itemList, values, _templateDetail$compo, paymentUniqueKey, cacheOrderInfo,
|
|
1665
|
+
var order_no, form, shopId, shopList, templateDetail, _ref$type, type, callback, fromQNCreateWorkOrderByOrderNo, _ref$plat, plat, JOIN_SHOP, hasBs, hasWdt, hasWln, _ref3, shopSourceStr, _ref3$thirdUserNick, thirdUserNick, _data$value, _jstOrder$value, _jstOrder$value$data, _bsOrder$value, _wlnOrder$value, _wdtOrder$value, _bsOrders$orders, _wlnOrders$orders, _wdtOrders$trades, promise, hasJst, _yield$Promise$allSet, _yield$Promise$allSet2, data, jstOrder, bsOrder, wlnOrder, wdtOrder, orderInfo, jstInfo, bsOrders, wlnOrders, wdtOrders, bsInfo, wlnInfo, wdtInfo, formValue, detail, hasSelectItem, erpPromiseList, list, promises, _detail$itemList, values, _templateDetail$compo, paymentUniqueKey, cacheOrderInfo, _objectSpread57, _cacheOrderInfo;
|
|
1638
1666
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1639
1667
|
while (1) switch (_context.prev = _context.next) {
|
|
1640
1668
|
case 0:
|
|
@@ -1873,7 +1901,7 @@ export var orderBack = /*#__PURE__*/function () {
|
|
|
1873
1901
|
sessionStorage.setItem('cacheOmsOrderInfo', JSON.stringify(_objectSpread(_objectSpread({}, cacheOrderInfo), {}, _defineProperty({}, "".concat(templateDetail.flowTemplateConfig.flowTemplateId, "-").concat(plat.buyerId), _defineProperty({}, plat === null || plat === void 0 ? void 0 : plat.subOrderNo, _objectSpread(_objectSpread({}, formValue), values))))));
|
|
1874
1902
|
} else {
|
|
1875
1903
|
_cacheOrderInfo = JSON.parse(sessionStorage.getItem('cacheOrderInfo') || '{}');
|
|
1876
|
-
sessionStorage.setItem('cacheOrderInfo', JSON.stringify(_objectSpread(_objectSpread({}, _cacheOrderInfo), {}, (
|
|
1904
|
+
sessionStorage.setItem('cacheOrderInfo', JSON.stringify(_objectSpread(_objectSpread({}, _cacheOrderInfo), {}, (_objectSpread57 = {}, _defineProperty(_objectSpread57, order_no, values), _defineProperty(_objectSpread57, "".concat(templateDetail.flowTemplateConfig.flowTemplateId, "-").concat(plat.buyerId), _defineProperty({}, order_no, _objectSpread(_objectSpread({}, formValue), values))), _objectSpread57))));
|
|
1877
1905
|
}
|
|
1878
1906
|
}
|
|
1879
1907
|
// console.log('orderback', values);
|
|
@@ -2194,6 +2222,8 @@ export var reversalFormValues = function reversalFormValues() {
|
|
|
2194
2222
|
case 'BS_EXCHANGE_GOODS':
|
|
2195
2223
|
case 'BS_RETURN_GOODS':
|
|
2196
2224
|
case 'WDT_REISSUE_GOODS':
|
|
2225
|
+
case 'WDT_RETURN_GOODS':
|
|
2226
|
+
case 'WDT_EXCHANGE_GOODS':
|
|
2197
2227
|
prv["".concat(next.uniqueKey, "_shopCode")] = values[next.uniqueKey]['shopCode'];
|
|
2198
2228
|
break;
|
|
2199
2229
|
case 'BS_DELIVERY_NO':
|
|
@@ -89,22 +89,21 @@ export var fetchLogicFlowList = /*#__PURE__*/function () {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
return prv;
|
|
92
|
-
}, []);
|
|
93
|
-
console.log(list);
|
|
92
|
+
}, []); // console.log(list);
|
|
94
93
|
dispatch(setLogicFlowList(list || []));
|
|
95
94
|
dispatch(setGroupLogicFlowList(groupLogicFlowList || []));
|
|
96
95
|
dispatch(setFlowTemplateGroupWorkOrderTemplateList(flowTemplateGroupWOrkOrderTemplateList) || []);
|
|
97
|
-
_context.next =
|
|
96
|
+
_context.next = 17;
|
|
98
97
|
break;
|
|
99
|
-
case
|
|
100
|
-
_context.prev =
|
|
98
|
+
case 14:
|
|
99
|
+
_context.prev = 14;
|
|
101
100
|
_context.t0 = _context["catch"](0);
|
|
102
101
|
console.error(_context.t0);
|
|
103
|
-
case
|
|
102
|
+
case 17:
|
|
104
103
|
case "end":
|
|
105
104
|
return _context.stop();
|
|
106
105
|
}
|
|
107
|
-
}, _callee, null, [[0,
|
|
106
|
+
}, _callee, null, [[0, 14]]);
|
|
108
107
|
}));
|
|
109
108
|
return function fetchLogicFlowList(_x) {
|
|
110
109
|
return _ref.apply(this, arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
],
|
|
9
9
|
"scripts": {
|
|
10
10
|
"async": "yarn build && yalc push",
|
|
11
|
-
"build": "father build",
|
|
11
|
+
"build": "yarn run lint && father build",
|
|
12
12
|
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
13
|
"docs:build": "dumi build",
|
|
14
14
|
"docs:deploy": "gh-pages -d docs-dist",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "^1.0.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "^1.0.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "^1.0.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "^1.0.8",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "^1.0.8",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "^1.0.8",
|
|
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": "6eb0e570e7964688e90706bae1228c8234b47656",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|