refactor: handle negative value
This commit is contained in:
parent
0b5ff5dff2
commit
3fd14db1ea
2 changed files with 2 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ watch(
|
||||||
:label="$t('productService.product.processingTime')"
|
:label="$t('productService.product.processingTime')"
|
||||||
v-model="process"
|
v-model="process"
|
||||||
type="number"
|
type="number"
|
||||||
|
min="0"
|
||||||
>
|
>
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<q-icon
|
<q-icon
|
||||||
|
|
|
||||||
|
|
@ -318,6 +318,7 @@ watch(
|
||||||
dense
|
dense
|
||||||
type="number"
|
type="number"
|
||||||
v-model="product.installmentNo"
|
v-model="product.installmentNo"
|
||||||
|
min="0"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue