feat: validate product code
This commit is contained in:
parent
99a8822cb8
commit
0900a05a94
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ defineProps<{
|
|||
class="col-3"
|
||||
:label="$t('productCode')"
|
||||
v-model="code"
|
||||
:rules="[(val: string) => (!!val && val === 'AC') || val === 'DO']"
|
||||
/>
|
||||
|
||||
<q-input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue