@kmkf-fe-packages/kmkf-work-order-service-component 0.24.1-alpha.8 → 0.24.1

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.
@@ -1,4 +1,4 @@
1
- var _excluded = ["displayConfig", "disabled"];
1
+ var _excluded = ["displayConfig", "disabled", "platform"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
4
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -727,10 +727,10 @@ var FormRender = function FormRender(props, ref) {
727
727
  componentConfig = _item$componentConfig2 === void 0 ? {} : _item$componentConfig2,
728
728
  workOrderComponentType = item.workOrderComponentType,
729
729
  uniqueKey = item.uniqueKey,
730
- name = item.name,
731
- platform = item.platform;
730
+ name = item.name;
732
731
  var displayConfig = effects.displayConfig,
733
732
  disabled = effects.disabled,
733
+ platform = effects.platform,
734
734
  others = _objectWithoutProperties(effects, _excluded);
735
735
  var newComponentConfig = _objectSpread(_objectSpread({}, componentConfig), {}, {
736
736
  disabled: disabled
@@ -917,7 +917,7 @@ var FormRender = function FormRender(props, ref) {
917
917
  return [].concat(_toConsumableArray(hiddenPreNode), [ShopName], _toConsumableArray(otherItems));
918
918
  }
919
919
  return [].concat(_toConsumableArray(hiddenPreNode), _toConsumableArray(otherItems));
920
- }, [templateDetail, shopList, shopId, record, mappdingHideComponents, currentShopId, look, handleChangeTradeId, innerReplaceValue]);
920
+ }, [platform, templateDetail, shopList, shopId, record, mappdingHideComponents, currentShopId, look, handleChangeTradeId, innerReplaceValue]);
921
921
  // TODO: 计算类型组件列表
922
922
  var calculationTypeComponentList = useMemo(function () {
923
923
  var _templateDetail$compo;
@@ -674,14 +674,18 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
674
674
  });
675
675
  contentVoList.push({
676
676
  uniqueKey: "".concat(item.uniqueKey, "_").concat(logisticsMap[item.workOrderComponentType].company),
677
- content: bsLogisticsList.map(function (item) {
677
+ content: bsLogisticsList.filter(function (t) {
678
+ return t.logisticsCompany;
679
+ }).map(function (item) {
678
680
  return item.logisticsCompany + '';
679
681
  }),
680
682
  name: item.name
681
683
  });
682
684
  contentVoList.push({
683
685
  uniqueKey: "".concat(item.uniqueKey, "_").concat(logisticsMap[item.workOrderComponentType].code),
684
- content: bsLogisticsList.map(function (item) {
686
+ content: bsLogisticsList.filter(function (t) {
687
+ return t.logisticsCode;
688
+ }).map(function (item) {
685
689
  return item.logisticsCode + '';
686
690
  }),
687
691
  name: item.name
@@ -707,14 +711,18 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
707
711
  });
708
712
  contentVoList.push({
709
713
  uniqueKey: "".concat(item.uniqueKey, "_").concat(sendGoodMap[item.workOrderComponentType].id),
710
- content: bsSendList.map(function (item) {
714
+ content: bsSendList.filter(function (t) {
715
+ return t.sendId;
716
+ }).map(function (item) {
711
717
  return item.sendId + '';
712
718
  }),
713
719
  name: item.name
714
720
  });
715
721
  contentVoList.push({
716
722
  uniqueKey: "".concat(item.uniqueKey, "_").concat(sendGoodMap[item.workOrderComponentType].name),
717
- content: bsSendList.map(function (item) {
723
+ content: bsSendList.filter(function (t) {
724
+ return t.sendName;
725
+ }).map(function (item) {
718
726
  return item.sendName + '';
719
727
  }),
720
728
  name: item.name
@@ -6,7 +6,6 @@ export declare const selectFlowList: ((state: {
6
6
  paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
7
7
  singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
8
8
  logicFlow: import("./types").LogicFlowState;
9
- flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
10
9
  }) => import("./types").LogicFlow[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").LogicFlowState) => import("./types").LogicFlow[], {
11
10
  clearCache: () => void;
12
11
  }> & {
@@ -20,7 +19,6 @@ export declare const selectGroupFlowList: ((state: {
20
19
  paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
21
20
  singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
22
21
  logicFlow: import("./types").LogicFlowState;
23
- flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
24
22
  }) => import("./types").Option[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").LogicFlowState) => import("./types").Option[], {
25
23
  clearCache: () => void;
26
24
  }> & {
@@ -34,7 +32,6 @@ export declare const selectFlowTemplateGroupWorkOrderTemplateList: ((state: {
34
32
  paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
35
33
  singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
36
34
  logicFlow: import("./types").LogicFlowState;
37
- flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
38
35
  }) => import("./types").Option[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").LogicFlowState) => import("./types").Option[], {
39
36
  clearCache: () => void;
40
37
  }> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "0.24.1-alpha.8",
3
+ "version": "0.24.1",
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.24.1-alpha.8",
36
- "@kmkf-fe-packages/kmkf-utils": "^0.24.1-alpha.4",
37
- "@kmkf-fe-packages/services-components": "^0.24.1-alpha.8",
35
+ "@kmkf-fe-packages/basic-components": "^0.24.1",
36
+ "@kmkf-fe-packages/kmkf-utils": "^0.24.1",
37
+ "@kmkf-fe-packages/services-components": "^0.24.1",
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": "c95816485d356e428467a0a0b5b1402171662270",
76
+ "gitHead": "1574e8b0d511d79bf4a92f7d614a226b67fc8640",
77
77
  "gitHooks": {
78
78
  "pre-commit": "lint-staged"
79
79
  }