@kmkf-fe-packages/services-components 1.17.8-beta.10 → 1.17.8-beta.11

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.
@@ -66,14 +66,12 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
66
66
  var sendName = {
67
67
  name: "发货仓名称",
68
68
  key: "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.sendName),
69
- dataType: "array",
70
- format: "input"
69
+ dataType: "string"
71
70
  };
72
71
  var sendId = {
73
72
  name: "发货仓编码",
74
73
  key: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.sendId),
75
- dataType: "array",
76
- format: "input"
74
+ dataType: "string"
77
75
  };
78
76
  if (fieldType === 'WDT_SEND_GOOD') {
79
77
  sendName.options = WdtSendData.getInstance().getWdtSendData() || [];
@@ -212,7 +210,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
212
210
  this.componentConfig = _options.componentConfig;
213
211
  this.sortChildField = this.getSortChildFields(((_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) || '', _options, _options.type);
214
212
  this.type = _options.type;
215
- this.dataType = "array";
213
+ this.dataType = "arrayObject";
216
214
  this.rules = (_this$componentConfig4 = this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required ? [{
217
215
  required: true,
218
216
  validator: function validator(_, value) {
@@ -239,6 +237,5 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
239
237
  this.isCombinationComponent = false;
240
238
  this.canSort = false;
241
239
  this.children = [];
242
- this.format = 'object';
243
240
  });
244
241
  export default JstSendGood;
@@ -47,7 +47,7 @@ export interface ComponentInterface {
47
47
  rules?: any[];
48
48
  width?: number;
49
49
  align?: ALignType;
50
- dataType: "string" | "number" | "boolean" | "array" | "range" | "object";
50
+ dataType: "string" | "number" | "boolean" | "array" | "range" | "object" | "arrayObject";
51
51
  format?: "dateTime" | "date" | "time" | "cascader" | "shopInput" | "staffGroup" | "object";
52
52
  options?: Array<any>;
53
53
  templateId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.17.8-beta.10",
3
+ "version": "1.17.8-beta.11",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "3ff026325ed771f6757a133231383a57c4b72213",
44
+ "gitHead": "27525795f1e43232c17f1ce17d0649d58fd61dd4",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }