fix: button still show on create
This commit is contained in:
parent
87f522b39f
commit
74f7630b2d
1 changed files with 4 additions and 1 deletions
|
|
@ -2035,7 +2035,10 @@ const emptyCreateDialog = ref(false);
|
|||
type="button"
|
||||
class="q-ml-sm"
|
||||
@click="customerFormStore.addCurrentCustomerBranch()"
|
||||
v-if="customerFormState.branchIndex === -1"
|
||||
v-if="
|
||||
customerFormState.branchIndex === -1 &&
|
||||
!!customerFormState.editCustomerId
|
||||
"
|
||||
:disabled="!customerFormState.readonly"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue