@kmkf-fe-packages/services-components 0.8.18-alpha.11 → 0.8.18-alpha.14

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.
@@ -71,12 +71,12 @@ var FlowMarkSelect = /*#__PURE__*/_createClass(function FlowMarkSelect(options)
71
71
  });
72
72
  _defineProperty(this, "renderExport", function (value, record) {
73
73
  var MARK_MAP = {
74
- 1: '白色标记',
75
- 2: '红色标记',
76
- 3: '黄色标记',
77
- 4: '蓝色标记',
78
- 5: '绿色标记',
79
- 6: '紫色标记'
74
+ 1: '白色',
75
+ 2: '红色',
76
+ 3: '黄色',
77
+ 4: '蓝色',
78
+ 5: '绿色',
79
+ 6: '紫色'
80
80
  };
81
81
  var mark = _this.workOrderMark.find(function (item) {
82
82
  return item.value === (record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
@@ -133,7 +133,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
133
133
  }) : null;
134
134
  });
135
135
  _defineProperty(this, "editRender", function (p) {
136
- var _this$componentConfig, _this$componentConfig2;
136
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3;
137
137
  return /*#__PURE__*/React.createElement(GetFormItem, {
138
138
  title: _this.name,
139
139
  name: _this.id,
@@ -141,7 +141,7 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
141
141
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
142
142
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
143
143
  component: /*#__PURE__*/React.createElement(ApaasPosting, _extends({}, _this.componentConfig, {
144
- type: _this.type === "POSTING" ? "workOrder" : "bs"
144
+ type: _this.type === "POSTING" || ((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) === "workOrder" ? "workOrder" : "bs"
145
145
  }))
146
146
  });
147
147
  });
@@ -62,7 +62,7 @@ export interface ComponentInterface {
62
62
  /**
63
63
  * @description 显示字段名称
64
64
  */
65
- showField?: "EXPRESS_COMPANY" | "EXPRESS_WAYBILL_CODE" | "EXPRESS_SNAPSHOT" | "all" | "bs";
65
+ showField?: "EXPRESS_COMPANY" | "EXPRESS_WAYBILL_CODE" | "EXPRESS_SNAPSHOT" | "all" | "bs" | "workOrder";
66
66
  /**
67
67
  * @description 是否选择SKU
68
68
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.8.18-alpha.11",
3
+ "version": "0.8.18-alpha.14",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -26,8 +26,8 @@
26
26
  "father": "^4.1.7"
27
27
  },
28
28
  "dependencies": {
29
- "@kmkf-fe-packages/basic-components": "^0.8.18-alpha.11",
30
- "@kmkf-fe-packages/kmkf-utils": "^0.8.18-alpha.11"
29
+ "@kmkf-fe-packages/basic-components": "^0.8.18-alpha.13",
30
+ "@kmkf-fe-packages/kmkf-utils": "^0.8.18-alpha.13"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@ant-design/icons": "^4.7.0",
@@ -40,5 +40,5 @@
40
40
  "gitHooks": {
41
41
  "pre-commit": "lint-staged"
42
42
  },
43
- "gitHead": "7f357c30362e63f97fce44626d5858dc86a29646"
43
+ "gitHead": "04d89e11271036fbeee2ecd5c2ac4687782d7438"
44
44
  }