@kmkf-fe-packages/kmkf-work-order-service-component 0.8.15 → 0.8.16-alpha.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.
|
@@ -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);
|
|
124
|
+
return finalComponentList.includes(item.uniqueKey) || item.workOrderComponentType === 'BUYER_MESSAGE_NOTICE';
|
|
125
125
|
});
|
|
126
126
|
set(newTemplateDetail, 'componentDtoList', finalDtoList);
|
|
127
127
|
params.workOrder = {
|
|
@@ -374,7 +374,11 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
|
|
|
374
374
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
375
375
|
placeholder: "\u521B\u5EFA\u4EBA",
|
|
376
376
|
options: useList,
|
|
377
|
-
allowClear: true
|
|
377
|
+
allowClear: true,
|
|
378
|
+
showSearch: true,
|
|
379
|
+
filterOption: function filterOption(input, option) {
|
|
380
|
+
return option.label.includes(input);
|
|
381
|
+
}
|
|
378
382
|
}))), /*#__PURE__*/React.createElement(Col, {
|
|
379
383
|
span: 16
|
|
380
384
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
@@ -711,11 +711,18 @@ export var submitDataTransOldFormat = function submitDataTransOldFormat(nowData,
|
|
|
711
711
|
content: get(nowData, "".concat(item.uniqueKey, ".postingReceiverMobile"), ''),
|
|
712
712
|
name: item.name
|
|
713
713
|
});
|
|
714
|
-
} else {
|
|
714
|
+
} else if (item.workOrderComponentType === 'BUYER_MESSAGE_NOTICE') {
|
|
715
715
|
var _nowData$item$uniqueK;
|
|
716
716
|
contentVoList.push({
|
|
717
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 : '',
|
|
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
|
+
} else {
|
|
722
|
+
var _nowData$item$uniqueK2;
|
|
723
|
+
contentVoList.push({
|
|
724
|
+
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 : '',
|
|
719
726
|
name: item.name
|
|
720
727
|
});
|
|
721
728
|
}
|
|
@@ -1082,6 +1089,8 @@ var transDataSource = function transDataSource(templateColumns) {
|
|
|
1082
1089
|
bsExchangeGiftGoods: jsonParseSecurity(item.jsonMap["".concat(nex.uniqueKey, "_bsExchangeGiftGoods")], []),
|
|
1083
1090
|
shopCode: item.jsonMap["".concat(nex.uniqueKey, "_shopCode")]
|
|
1084
1091
|
}));
|
|
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)));
|
|
1085
1094
|
}
|
|
1086
1095
|
return cur;
|
|
1087
1096
|
}, {});
|
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.
|
|
3
|
+
"version": "0.8.16-alpha.1",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
35
|
"@kmkf-fe-packages/basic-components": "^0.8.9",
|
|
36
36
|
"@kmkf-fe-packages/kmkf-utils": "^0.8.9",
|
|
37
|
-
"@kmkf-fe-packages/services-components": "^0.8.
|
|
37
|
+
"@kmkf-fe-packages/services-components": "^0.8.16-alpha.1",
|
|
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": "
|
|
78
|
+
"gitHead": "d9ecce8ad0928598c0c7de9cdbdfeeafeec8c121"
|
|
79
79
|
}
|