fix: running number of branch
fix: error
This commit is contained in:
parent
3b4e6b8fbf
commit
fe3c396a06
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ defineProps<{
|
|||
:label="$t('customer.form.branchCode')"
|
||||
:disable="!readonly"
|
||||
:readonly="readonly"
|
||||
:model-value="branchCode"
|
||||
:model-value="`${branchCode?.slice(0, -2) || '-'}${index.toString().padStart(2, '0')}`"
|
||||
/>
|
||||
|
||||
<q-input
|
||||
|
|
@ -168,7 +168,7 @@ defineProps<{
|
|||
class="col-12 col-md-3"
|
||||
:label="$t('customer.form.branchCode')"
|
||||
for="input-branch-code"
|
||||
:model-value="`${branchCode}`"
|
||||
:model-value="`${branchCode?.slice(0, -2) || '-'}${index.toString().padStart(2, '0')}`"
|
||||
/>
|
||||
|
||||
<q-input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue