Commit 3c67dcec authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改校验最大数值

parent 03676599
......@@ -210,7 +210,7 @@ export default {
'member.management.memberPrComingClassify.drawer.form.classify.monthDay': 'Settlement Date',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.addonAfter': 'monthDay',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.legal': 'Please enter a positive integer',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit': 'Please enter a value greater than 0 but less than or equal to 28',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit': 'Please enter a value greater than 0 but less than or equal to 31',
'member.management.memberPrComingClassify.drawer.form.classify.days.addonAfter': 'days',
'member.management.memberPrComingClassify.drawer.form.classify.days.legal': 'Please enter a positive integer',
'member.management.memberPrComingClassify.drawer.form.verify':'Document review',
......
......@@ -202,7 +202,7 @@ export default {
'member.management.memberPrComingClassify.drawer.form.classify.monthDay': '결산일',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.addonAfter': '일',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.legal': '양의 정수를 입력하십시오',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit': '0보다 크고 28보다 작은 값을 입력하십시오',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit': '0보다 크고 31보다 작은 값을 입력하십시오',
'member.management.memberPrComingClassify.drawer.form.classify.days.addonAfter': '일수',
'member.management.memberPrComingClassify.drawer.form.classify.days.legal': '양의 정수를 입력하십시오',
'member.management.memberPrComingClassify.drawer.form.verify': '영수증 심사',
......
......@@ -206,7 +206,7 @@ export default {
'member.management.memberPrComingClassify.drawer.form.classify.monthDay': '结算日',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.addonAfter': '号',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.legal': '请输入正整数',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit': '请输入大于0 小于等于 28的数值',
'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit': '请输入大于0 小于等于 31的数值',
'member.management.memberPrComingClassify.drawer.form.classify.days.addonAfter': '天',
'member.management.memberPrComingClassify.drawer.form.classify.days.legal': '请输入正整数',
'member.management.memberPrComingClassify.drawer.form.verify': '单据审核',
......
......@@ -227,7 +227,7 @@ export const schema: ISchema = {
{
validator(value) {
const intVal = +value;
return intVal > 28 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 28的数值' }) : '';
return intVal > 31 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 31的数值' }) : '';
}
},
],
......@@ -289,7 +289,7 @@ export const schema: ISchema = {
{
validator(value) {
const intVal = +value;
return intVal > 28 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 28的数值' }) : '';
return intVal > 31 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 31的数值' }) : '';
}
},
],
......
......@@ -227,7 +227,7 @@ export const schema: ISchema = {
{
validator(value) {
const intVal = +value;
return intVal > 28 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 28的数值' }) : '';
return intVal > 31 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 31的数值' }) : '';
}
},
],
......@@ -289,7 +289,7 @@ export const schema: ISchema = {
{
validator(value) {
const intVal = +value;
return intVal > 28 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 28的数值' }) : '';
return intVal > 31 || intVal < 0 ? intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.monthDay.limit' }, { default: '请输入大于0 小于等于 31的数值' }) : '';
}
},
],
......
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