@kmkf-fe-packages/kmkf-work-order-service-component 0.8.15-alpha.5 → 0.8.15

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.
@@ -121,7 +121,7 @@ export var submitParams = function submitParams(_ref) {
121
121
  });
122
122
  // 获取非空字段对应的组件
123
123
  var finalDtoList = currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo6 = currentNodeDetail.workOrderTemplateInfo) === null || _currentNodeDetail$wo6 === void 0 ? void 0 : (_currentNodeDetail$wo7 = _currentNodeDetail$wo6.componentDtoList) === null || _currentNodeDetail$wo7 === void 0 ? void 0 : _currentNodeDetail$wo7.filter(function (item) {
124
- return finalComponentList.includes(item.uniqueKey) || item.workOrderComponentType === 'BUYER_MESSAGE_NOTICE';
124
+ return finalComponentList.includes(item.uniqueKey);
125
125
  });
126
126
  set(newTemplateDetail, 'componentDtoList', finalDtoList);
127
127
  params.workOrder = {
@@ -374,11 +374,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
374
374
  }, /*#__PURE__*/React.createElement(Select, {
375
375
  placeholder: "\u521B\u5EFA\u4EBA",
376
376
  options: useList,
377
- allowClear: true,
378
- showSearch: true,
379
- filterOption: function filterOption(input, option) {
380
- return option.label.includes(input);
381
- }
377
+ allowClear: true
382
378
  }))), /*#__PURE__*/React.createElement(Col, {
383
379
  span: 16
384
380
  }, /*#__PURE__*/React.createElement(Form.Item, {
@@ -711,18 +711,11 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
711
711
  content: get(nowData, "".concat(item.uniqueKey, ".postingReceiverMobile"), ''),
712
712
  name: item.name
713
713
  });
714
- } else if (item.workOrderComponentType === 'BUYER_MESSAGE_NOTICE') {
715
- var _nowData$item$uniqueK;
716
- contentVoList.push({
717
- uniqueKey: "".concat(item.uniqueKey, "_").concat(V.camelCase(item.workOrderComponentType)),
718
- content: (_nowData$item$uniqueK = nowData === null || nowData === void 0 ? void 0 : nowData[item.uniqueKey]) !== null && _nowData$item$uniqueK !== void 0 ? _nowData$item$uniqueK : '未通知',
719
- name: item.name
720
- });
721
714
  } else {
722
- var _nowData$item$uniqueK2;
715
+ var _nowData$item$uniqueK;
723
716
  contentVoList.push({
724
717
  uniqueKey: "".concat(item.uniqueKey, "_").concat(V.camelCase(item.workOrderComponentType)),
725
- content: (_nowData$item$uniqueK2 = nowData === null || nowData === void 0 ? void 0 : nowData[item.uniqueKey]) !== null && _nowData$item$uniqueK2 !== void 0 ? _nowData$item$uniqueK2 : '',
718
+ content: (_nowData$item$uniqueK = nowData === null || nowData === void 0 ? void 0 : nowData[item.uniqueKey]) !== null && _nowData$item$uniqueK !== void 0 ? _nowData$item$uniqueK : '',
726
719
  name: item.name
727
720
  });
728
721
  }
@@ -1089,8 +1082,6 @@ var transDataSource = function transDataSource(templateColumns) {
1089
1082
  bsExchangeGiftGoods: jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_bsExchangeGiftGoods")], []),
1090
1083
  shopCode: item.jsonMap["".concat(nex.uniqueKey, "_shopCode")]
1091
1084
  }));
1092
- } else if (nex.workOrderComponentType === 'BUYER_MESSAGE_NOTICE') {
1093
- return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, "".concat(nex.uniqueKey), item.jsonMap["".concat(nex.uniqueKey, "_buyerMessageNotice")] || (config === null || config === void 0 ? void 0 : config.select)));
1094
1085
  }
1095
1086
  return cur;
1096
1087
  }, {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "0.8.15-alpha.5",
3
+ "version": "0.8.15",
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.8.15-alpha.1",
36
- "@kmkf-fe-packages/kmkf-utils": "^0.8.15-alpha.1",
37
- "@kmkf-fe-packages/services-components": "^0.8.15-alpha.3",
35
+ "@kmkf-fe-packages/basic-components": "^0.8.9",
36
+ "@kmkf-fe-packages/kmkf-utils": "^0.8.9",
37
+ "@kmkf-fe-packages/services-components": "^0.8.15",
38
38
  "@reduxjs/toolkit": "^1.8.5",
39
39
  "ahooks": "^3.7.4",
40
40
  "copy-to-clipboard": "^3.3.3",
@@ -75,5 +75,5 @@
75
75
  "gitHooks": {
76
76
  "pre-commit": "lint-staged"
77
77
  },
78
- "gitHead": "9c5c543f2654d10ddb30d99a54ba2f5a81c0efe8"
78
+ "gitHead": "ae567bf609056af8b9270ac03f39f2e52a9d6b5d"
79
79
  }