Commit 61d1c2c1 by lixinyi

litopn检核修改

parent e839f389
...@@ -328,7 +328,7 @@ export default { ...@@ -328,7 +328,7 @@ export default {
], ],
'lidgrp.cbs.max2.amt': [ 'lidgrp.cbs.max2.amt': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: true, message: '必输项' },
{ max: 18, message: '整数位不能超过15位' }, { max: 18, message: '整数位不能超过15位' },
{ {
pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/,
......
...@@ -323,10 +323,9 @@ ...@@ -323,10 +323,9 @@
label="远期汇票最大期限(天)" label="远期汇票最大期限(天)"
prop="lidgrp.rec.tenmaxday" prop="lidgrp.rec.tenmaxday"
:rules="[ :rules="[
{ required:flag8,pattern:/^((?!^-[1-9]\d*|0$).)*$/, message:'必输项'}, { required:flag8,pattern:/^((?!^-[1-9]\d*|0$).)*$/, message:'请输入大于0的整数'},
{ type: 'number', message: '请输入数字' }, { type: 'number', message: '请输入数字' },
{ type: 'number', max: 999, message: '不能超过999' }, { type: 'number', max: 999, message: '不能超过999' },
{ pattern: /(^-?[1-9][0-9]{0,2}$)|0/, message: '-999至999之间' },
]" ]"
> >
<c-input <c-input
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment