kts-component-invoice-operate 3.2.226 → 3.2.227

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
@@ -24931,12 +24931,13 @@ var LicensePlateNumber = function LicensePlateNumber(props) {
24931
24931
  }, getFieldDecorator("realEstateDataDto[".concat(props.index, "].cphList[").concat(key, "]"), {
24932
24932
  rules: readOnly ? [] : [{
24933
24933
  required: true,
24934
- message: '请输入车牌号'
24934
+ message: '请输入车牌号,最多20位'
24935
24935
  }]
24936
24936
  })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
24937
24937
  style: {
24938
24938
  width: '100%'
24939
24939
  },
24940
+ maxLength: 20,
24940
24941
  autoComplete: 'off',
24941
24942
  placeholder: "\u8BF7\u8F93\u5165\u8F66\u724C\u53F7"
24942
24943
  }))));
package/dist/index.js CHANGED
@@ -24941,12 +24941,13 @@ var LicensePlateNumber = function LicensePlateNumber(props) {
24941
24941
  }, getFieldDecorator("realEstateDataDto[".concat(props.index, "].cphList[").concat(key, "]"), {
24942
24942
  rules: readOnly ? [] : [{
24943
24943
  required: true,
24944
- message: '请输入车牌号'
24944
+ message: '请输入车牌号,最多20位'
24945
24945
  }]
24946
24946
  })(readOnly ? /*#__PURE__*/React__default['default'].createElement(MyDiv$3, null) : /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Input, {
24947
24947
  style: {
24948
24948
  width: '100%'
24949
24949
  },
24950
+ maxLength: 20,
24950
24951
  autoComplete: 'off',
24951
24952
  placeholder: "\u8BF7\u8F93\u5165\u8F66\u724C\u53F7"
24952
24953
  }))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "3.2.226",
3
+ "version": "3.2.227",
4
4
  "scripts": {
5
5
  "dev": "dumi dev --max-old-space-size=6096",
6
6
  "start": "dumi dev",
@@ -354,11 +354,11 @@ const LicensePlateNumber: React.FC<PriceInputProps> = (props) => {
354
354
 
355
355
  return <Col span={6} ><Form.Item label='车牌号' key={key}>
356
356
  {getFieldDecorator(`realEstateDataDto[${props.index}].cphList[${key}]`, {
357
- rules: readOnly ? [] : [{ required: true, message: '请输入车牌号' }]
357
+ rules: readOnly ? [] : [{ required: true, message: '请输入车牌号,最多20位' }]
358
358
  })(
359
359
  readOnly
360
360
  ? <MyDiv /> :
361
- <Input style={{ width: '100%' }} autoComplete='off' placeholder="请输入车牌号" />
361
+ <Input style={{ width: '100%' }} maxLength={20} autoComplete='off' placeholder="请输入车牌号" />
362
362
  )}
363
363
  </Form.Item>
364
364
  </Col>