@kmkf-fe-packages/services-components 1.17.8-beta.15 → 1.17.8-beta.16

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.
@@ -85,11 +85,11 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
85
85
  name: "物流公司",
86
86
  key: "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.company),
87
87
  options: _this.expressDateInstance.getExpressData(),
88
- dataType: "string"
88
+ dataType: "arrayObject"
89
89
  }, {
90
90
  name: "物流单号",
91
91
  key: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.code),
92
- dataType: "string"
92
+ dataType: "arrayObject"
93
93
  }];
94
94
  }
95
95
  if (type === "logisticsCompany") {
@@ -98,7 +98,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
98
98
  name: "物流公司",
99
99
  key: "".concat(options.id, "_").concat((_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.company),
100
100
  options: _this.expressDateInstance.getExpressData(),
101
- dataType: "string"
101
+ dataType: "arrayObject"
102
102
  }];
103
103
  }
104
104
  if (type === "logisticsCode") {
@@ -106,7 +106,7 @@ var BsLogistics = /*#__PURE__*/_createClass(function BsLogistics(_options) {
106
106
  return [{
107
107
  name: "物流单号",
108
108
  key: "".concat(options.id, "_").concat((_typeMap$options$type4 = typeMap[options.type]) === null || _typeMap$options$type4 === void 0 ? void 0 : _typeMap$options$type4.code),
109
- dataType: "string"
109
+ dataType: "arrayObject"
110
110
  }];
111
111
  }
112
112
  return [];
@@ -53,7 +53,7 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
53
53
  return {
54
54
  name: mapping[item],
55
55
  key: "".concat(_this.id, "_").concat(item),
56
- dataType: "string"
56
+ dataType: "arrayObject"
57
57
  };
58
58
  });
59
59
  });
@@ -90,16 +90,14 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
90
90
  list.push({
91
91
  name: "jst供应商名称",
92
92
  key: "".concat(_this.id, "_supplierName"),
93
- dataType: "array",
94
- format: "input"
93
+ dataType: "arrayObject"
95
94
  });
96
95
  }
97
96
  if ((_this$componentConfig4 = _this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.enableItemId) {
98
97
  list.push({
99
98
  name: "jst供应商编码",
100
99
  key: "".concat(_this.id, "_itemId"),
101
- dataType: "array",
102
- format: "input"
100
+ dataType: "arrayObject"
103
101
  });
104
102
  }
105
103
  return list;
@@ -66,12 +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: "string"
69
+ dataType: "arrayObject"
70
70
  };
71
71
  var sendId = {
72
72
  name: "发货仓编码",
73
73
  key: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.sendId),
74
- dataType: "string"
74
+ dataType: "arrayObject"
75
75
  };
76
76
  if (fieldType === 'WDT_SEND_GOOD') {
77
77
  sendName.options = WdtSendData.getInstance().getWdtSendData() || [];
@@ -37,29 +37,25 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(_options) {
37
37
  return [{
38
38
  name: "jst供销商名称",
39
39
  key: "".concat(options.id, "_supplyName"),
40
- dataType: "array",
41
- format: "input"
40
+ dataType: "arrayObject"
42
41
  }, {
43
42
  name: "jst供销商编码",
44
43
  key: "".concat(options.id, "_supplyId"),
45
- dataType: "array",
46
- format: "input"
44
+ dataType: "arrayObject"
47
45
  }];
48
46
  }
49
47
  if (type === "supplyName") {
50
48
  return [{
51
49
  name: "jst供销商名称",
52
50
  key: "".concat(options.id, "_supplyName"),
53
- dataType: "array",
54
- format: "input"
51
+ dataType: "arrayObject"
55
52
  }];
56
53
  }
57
54
  if (type === "supplyId") {
58
55
  return [{
59
56
  name: "jst供销商编码",
60
57
  key: "".concat(options.id, "_supplyId"),
61
- dataType: "array",
62
- format: "input"
58
+ dataType: "arrayObject"
63
59
  }];
64
60
  }
65
61
  return [];
@@ -40,25 +40,25 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
40
40
  return [{
41
41
  name: "发货仓名称",
42
42
  key: "".concat(options.id, "_").concat(_this.suffixSendName),
43
- dataType: "string"
43
+ dataType: "arrayObject"
44
44
  }, {
45
45
  name: "发货仓编码",
46
46
  key: "".concat(options.id, "_").concat(_this.suffixSendId),
47
- dataType: "string"
47
+ dataType: "arrayObject"
48
48
  }];
49
49
  }
50
50
  if (type === 'sendName') {
51
51
  return [{
52
52
  name: "发货仓名称",
53
53
  key: "".concat(options.id, "_").concat(_this.suffixSendName),
54
- dataType: "string"
54
+ dataType: "arrayObject"
55
55
  }];
56
56
  }
57
57
  if (type === 'sendId') {
58
58
  return [{
59
59
  name: "发货仓编码",
60
60
  key: "".concat(options.id, "_").concat(_this.suffixSendId),
61
- dataType: "string"
61
+ dataType: "arrayObject"
62
62
  }];
63
63
  }
64
64
  return [];
@@ -185,7 +185,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
185
185
  this.isCombinationComponent = false;
186
186
  this.canSort = false;
187
187
  this.children = [];
188
- this.dataType = 'object';
188
+ this.dataType = 'arrayObject';
189
189
  this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
190
190
  required: true,
191
191
  validator: function validator(_, value) {
@@ -37,14 +37,14 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
37
37
  list.push({
38
38
  name: '供应商编码',
39
39
  key: "".concat(_this.id, "_itemId"),
40
- dataType: "string"
40
+ dataType: "arrayObject"
41
41
  });
42
42
  }
43
43
  if ((_this$componentConfig2 = _this.componentConfig) !== null && _this$componentConfig2 !== void 0 && _this$componentConfig2.enableSupplierName) {
44
44
  list.push({
45
45
  name: '供应商名称',
46
46
  key: "".concat(_this.id, "_supplierName"),
47
- dataType: "string"
47
+ dataType: "arrayObject"
48
48
  });
49
49
  }
50
50
  return list;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.17.8-beta.15",
3
+ "version": "1.17.8-beta.16",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "1.17.8-beta.14",
25
- "@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.14",
24
+ "@kmkf-fe-packages/basic-components": "1.17.8-beta.16",
25
+ "@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.16",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "cb1852441ec0a5c5b58f6b84f32030f3a55d4957",
44
+ "gitHead": "239c4b85239aa82541000c2e1506cca509ceda11",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }