kts-component-invoice-operate 3.2.228 → 3.2.230
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.
package/dist/index.esm.js
CHANGED
|
@@ -18490,6 +18490,9 @@ var RULES$1 = {
|
|
|
18490
18490
|
},
|
|
18491
18491
|
certificateNumber: function certificateNumber(label) {
|
|
18492
18492
|
return [{
|
|
18493
|
+
required: true,
|
|
18494
|
+
message: "".concat(label, "\u5FC5\u586B")
|
|
18495
|
+
}, {
|
|
18493
18496
|
max: 30,
|
|
18494
18497
|
message: "".concat(label, "\u5185\u5BB9\u8D85\u957F")
|
|
18495
18498
|
}, {
|
|
@@ -18913,10 +18916,13 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
|
|
|
18913
18916
|
label: "\u8BC1\u4EF6\u53F7\u7801",
|
|
18914
18917
|
colon: false
|
|
18915
18918
|
}, getFieldDecorator('certificateNumber', {
|
|
18916
|
-
rules:
|
|
18919
|
+
rules: [{
|
|
18917
18920
|
required: true,
|
|
18918
18921
|
message: '数据必填'
|
|
18919
|
-
}
|
|
18922
|
+
}, {
|
|
18923
|
+
max: 30,
|
|
18924
|
+
message: "\u5185\u5BB9\u8D85\u957F"
|
|
18925
|
+
}]
|
|
18920
18926
|
})( /*#__PURE__*/React.createElement(MyInput$2, {
|
|
18921
18927
|
readOnly: isReadOnly('certificateNumber'),
|
|
18922
18928
|
placeholder: "\u6570\u636E\u5FC5\u586B",
|
|
@@ -19230,6 +19236,9 @@ var NationalSelect = /*#__PURE__*/function (_React$Component3) {
|
|
|
19230
19236
|
value: function render() {
|
|
19231
19237
|
var props = this.props;
|
|
19232
19238
|
var option = [{
|
|
19239
|
+
value: "156",
|
|
19240
|
+
label: "中国"
|
|
19241
|
+
}, {
|
|
19233
19242
|
value: "004",
|
|
19234
19243
|
label: "阿富汗"
|
|
19235
19244
|
}, {
|
|
@@ -19358,9 +19367,6 @@ var NationalSelect = /*#__PURE__*/function (_React$Component3) {
|
|
|
19358
19367
|
}, {
|
|
19359
19368
|
value: "152",
|
|
19360
19369
|
label: "智利"
|
|
19361
|
-
}, {
|
|
19362
|
-
value: "156",
|
|
19363
|
-
label: "中国"
|
|
19364
19370
|
}, {
|
|
19365
19371
|
value: "158",
|
|
19366
19372
|
label: "中国台湾"
|
package/dist/index.js
CHANGED
|
@@ -18500,6 +18500,9 @@ var RULES$1 = {
|
|
|
18500
18500
|
},
|
|
18501
18501
|
certificateNumber: function certificateNumber(label) {
|
|
18502
18502
|
return [{
|
|
18503
|
+
required: true,
|
|
18504
|
+
message: "".concat(label, "\u5FC5\u586B")
|
|
18505
|
+
}, {
|
|
18503
18506
|
max: 30,
|
|
18504
18507
|
message: "".concat(label, "\u5185\u5BB9\u8D85\u957F")
|
|
18505
18508
|
}, {
|
|
@@ -18923,10 +18926,13 @@ var StakeFarmerholder = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create()
|
|
|
18923
18926
|
label: "\u8BC1\u4EF6\u53F7\u7801",
|
|
18924
18927
|
colon: false
|
|
18925
18928
|
}, getFieldDecorator('certificateNumber', {
|
|
18926
|
-
rules:
|
|
18929
|
+
rules: [{
|
|
18927
18930
|
required: true,
|
|
18928
18931
|
message: '数据必填'
|
|
18929
|
-
}
|
|
18932
|
+
}, {
|
|
18933
|
+
max: 30,
|
|
18934
|
+
message: "\u5185\u5BB9\u8D85\u957F"
|
|
18935
|
+
}]
|
|
18930
18936
|
})( /*#__PURE__*/React__default['default'].createElement(MyInput$2, {
|
|
18931
18937
|
readOnly: isReadOnly('certificateNumber'),
|
|
18932
18938
|
placeholder: "\u6570\u636E\u5FC5\u586B",
|
|
@@ -19240,6 +19246,9 @@ var NationalSelect = /*#__PURE__*/function (_React$Component3) {
|
|
|
19240
19246
|
value: function render() {
|
|
19241
19247
|
var props = this.props;
|
|
19242
19248
|
var option = [{
|
|
19249
|
+
value: "156",
|
|
19250
|
+
label: "中国"
|
|
19251
|
+
}, {
|
|
19243
19252
|
value: "004",
|
|
19244
19253
|
label: "阿富汗"
|
|
19245
19254
|
}, {
|
|
@@ -19368,9 +19377,6 @@ var NationalSelect = /*#__PURE__*/function (_React$Component3) {
|
|
|
19368
19377
|
}, {
|
|
19369
19378
|
value: "152",
|
|
19370
19379
|
label: "智利"
|
|
19371
|
-
}, {
|
|
19372
|
-
value: "156",
|
|
19373
|
-
label: "中国"
|
|
19374
19380
|
}, {
|
|
19375
19381
|
value: "158",
|
|
19376
19382
|
label: "中国台湾"
|
package/package.json
CHANGED
|
@@ -42,6 +42,7 @@ const RULES = {
|
|
|
42
42
|
{ pattern: /^([0-9a-zA-Z-\s])*$/g, message: `${label}仅能数字、字母、-、空格` }
|
|
43
43
|
],
|
|
44
44
|
certificateNumber: (label: string) => [
|
|
45
|
+
{ required: true, message: `${label}必填` },
|
|
45
46
|
{ max: 30, message: `${label}内容超长` },
|
|
46
47
|
{ pattern: /^([a-zA-Z0-9])*$/g, message: `${label}仅能数字、英文` }
|
|
47
48
|
],
|
|
@@ -396,7 +397,7 @@ export default decorator<IStakeholder, IStakeholder & FormComponentProps>(Form.c
|
|
|
396
397
|
<Col span={7} >
|
|
397
398
|
<Form.Item label='证件号码' colon={false} >
|
|
398
399
|
{getFieldDecorator('certificateNumber', {
|
|
399
|
-
rules:
|
|
400
|
+
rules: [{ required: true, message: '数据必填' }, { max: 30, message: `内容超长` }]
|
|
400
401
|
})(<MyInput readOnly={isReadOnly('certificateNumber')} placeholder="数据必填" autoComplete="off" />)}
|
|
401
402
|
</Form.Item>
|
|
402
403
|
</Col>
|
|
@@ -544,6 +545,7 @@ class NationalSelect extends React.Component<any> {
|
|
|
544
545
|
render() {
|
|
545
546
|
const props = this.props;
|
|
546
547
|
const option = [
|
|
548
|
+
{ value: "156", label: "中国" },
|
|
547
549
|
{ value: "004", label: "阿富汗" },
|
|
548
550
|
{ value: "008", label: "阿尔巴尼亚" },
|
|
549
551
|
{ value: "010", label: "南极洲" },
|
|
@@ -587,7 +589,7 @@ class NationalSelect extends React.Component<any> {
|
|
|
587
589
|
{ value: "144", label: "斯里兰卡" },
|
|
588
590
|
{ value: "148", label: "乍得" },
|
|
589
591
|
{ value: "152", label: "智利" },
|
|
590
|
-
|
|
592
|
+
|
|
591
593
|
{ value: "158", label: "中国台湾" },
|
|
592
594
|
{ value: "162", label: "圣诞岛" },
|
|
593
595
|
{ value: "166", label: "科科斯(基林)群岛" },
|