@kmkf-fe-packages/services-components 2.2.13-beta.61 → 2.2.13-beta.64
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.
|
@@ -12,7 +12,7 @@ import React from "react";
|
|
|
12
12
|
import GetFormItem from "../../GetFormItem";
|
|
13
13
|
import ItemView from "../../../commonComponents/ItemView";
|
|
14
14
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
15
|
-
import { WdtReissue as Reissue } from "@kmkf-fe-packages/basic-components";
|
|
15
|
+
import { WdtReissue as Reissue, erpFormValidator } from "@kmkf-fe-packages/basic-components";
|
|
16
16
|
import { SYMBOL } from "../../../constant";
|
|
17
17
|
import { BsGoodsTable } from "../../Common/index";
|
|
18
18
|
import { BsType, BsMemo, BsHeaderGood, SystemOrderNo } from "../../BS/common/index";
|
|
@@ -24,7 +24,15 @@ var typeMap = {
|
|
|
24
24
|
typeName: "wdtReissueType",
|
|
25
25
|
remark: "wdtReissueType_memo",
|
|
26
26
|
systemOrderNo: "wdtSystemOrderNo",
|
|
27
|
-
errMsg: "请选择旺店通补发商品"
|
|
27
|
+
errMsg: "请选择旺店通补发商品",
|
|
28
|
+
validator: function validator(_rule, value, type) {
|
|
29
|
+
if (!_rule.required) return Promise.resolve();
|
|
30
|
+
var validatorFlag = erpFormValidator(_rule, value, type);
|
|
31
|
+
if (validatorFlag) {
|
|
32
|
+
return validatorFlag;
|
|
33
|
+
}
|
|
34
|
+
return Promise.resolve();
|
|
35
|
+
}
|
|
28
36
|
}
|
|
29
37
|
};
|
|
30
38
|
var WdtReissue = /*#__PURE__*/_createClass(function WdtReissue(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.2.13-beta.
|
|
3
|
+
"version": "2.2.13-beta.64",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "2.2.13-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.2.13-beta.64",
|
|
25
25
|
"@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.61",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "528494491446f569a23e4f2cdf889d610dcf0af3",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|