validation changes

This commit is contained in:
hastichavda
2019-11-15 19:04:22 +05:30
parent cf1d39d111
commit a08171f47f
10 changed files with 25 additions and 28 deletions

View File

@ -306,12 +306,12 @@ export default {
quantity: {
required,
minValue: minValue(1),
maxLength: maxLength(10)
maxLength: maxLength(20)
},
price: {
required,
minValue: minValue(1),
maxLength: maxLength(10)
maxLength: maxLength(20)
},
discount_val: {
between: between(0, this.maxDiscount)