Commit b89c2122 authored by hubaoshan's avatar hubaoshan

qty bug

parent 272edc75
......@@ -102,7 +102,7 @@ export default {
{ required: true, message: '请输入XX的值', trigger: 'blur' },
{ pattern: /^.*$/, message: '输入值不符合格式要求,请重新输入', trigger: 'blur' }
],
qty: [{ pattern: /[1-9]\d*/, trigger: 'blur' }],
qty: [{ pattern: /[1-9]\d*/,message: '输入值不符合格式要求,请重新输入', trigger: 'blur' }],
value2: [{ pattern: /^[^,]+,[^,]+,\d{4}\/\d{2}\/\d{2}|\d{4}-\d{2}-\d{2},[1-9]\d*,[^,]+/, message: '输入值不符合格式要求,请重新输入', trigger: 'blur' }]
}
......
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