refactor:header registered branch
This commit is contained in:
parent
c76dd473bb
commit
2fbf4edf36
3 changed files with 25 additions and 3 deletions
|
|
@ -24,6 +24,7 @@ defineProps<{
|
|||
dense?: boolean;
|
||||
outlined?: boolean;
|
||||
readonly?: boolean;
|
||||
readOnlybranchOption?: boolean;
|
||||
separator?: boolean;
|
||||
isType?: boolean;
|
||||
disableCode?: boolean;
|
||||
|
|
@ -77,10 +78,11 @@ watch(
|
|||
v-model="registeredBranchId"
|
||||
id="input-source-nationality"
|
||||
for="input-source-nationality"
|
||||
:disable="!readonly"
|
||||
:dense="dense"
|
||||
:readonly="readonly"
|
||||
:readonly="readonly || readOnlybranchOption"
|
||||
:options="branchOptions"
|
||||
:hide-dropdown-icon="readonly"
|
||||
:hide-dropdown-icon="readonly || readOnlybranchOption"
|
||||
:label="$t('productService.service.registeredBranch')"
|
||||
:rules="[
|
||||
(val) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue