refactor: by customerCode
This commit is contained in:
parent
399006522e
commit
c4fa7beee9
2 changed files with 6 additions and 6 deletions
|
|
@ -12,9 +12,9 @@ const branchCode = defineModel<string | undefined>('branchCode', {
|
|||
required: true,
|
||||
});
|
||||
|
||||
// const customerCode = defineModel<string | undefined>('customerCode', {
|
||||
// required: true,
|
||||
// });
|
||||
const customerCode = defineModel<string | undefined>('customerCode', {
|
||||
required: true,
|
||||
});
|
||||
|
||||
const registerName = defineModel<string | undefined>('registerName', {
|
||||
required: true,
|
||||
|
|
@ -74,7 +74,7 @@ defineProps<{
|
|||
:disable="!readonly"
|
||||
:readonly="readonly"
|
||||
:label="$t('customer.form.customerCode')"
|
||||
:model-value="customerName"
|
||||
:model-value="customerCode"
|
||||
/>
|
||||
|
||||
<q-input
|
||||
|
|
@ -181,7 +181,7 @@ defineProps<{
|
|||
class="col-12 col-md-3"
|
||||
:label="$t('customer.form.customerCode')"
|
||||
for="input-customer-code"
|
||||
:model-value="customerName"
|
||||
:model-value="customerCode"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ defineProps<{
|
|||
v-model:id="item.id"
|
||||
v-model:legal-person-no="item.legalPersonNo"
|
||||
v-model:branch-code="item.code"
|
||||
v-model:customer-code="item.customerCode"
|
||||
v-model:customer-code="customer.code"
|
||||
v-model:register-company-name="item.registerCompanyName"
|
||||
v-model:register-name="item.registerName"
|
||||
v-model:register-name-en="item.registerNameEN"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue