@kmkf-fe-packages/services-components 1.17.8-beta.10 → 1.17.8-beta.12
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: "
|
|
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: "
|
|
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 = "
|
|
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;
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "1.17.8-beta.12",
|
|
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.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.17.8-beta.12",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.12",
|
|
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": "
|
|
44
|
+
"gitHead": "bd2088bfe377110c4a0a5b10b883d362aeed6856",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|