diff --git a/src/components/CustomerSearch.vue b/src/components/CustomerSearch.vue index 3a8b2fb..cdb9c97 100644 --- a/src/components/CustomerSearch.vue +++ b/src/components/CustomerSearch.vue @@ -11,8 +11,7 @@ v-slot="{ item }" key-field="acc_no" > - - + {{ item.acc_no }} - {{ item.name }} diff --git a/src/components/MedSearch.vue b/src/components/MedSearch.vue new file mode 100644 index 0000000..300d89b --- /dev/null +++ b/src/components/MedSearch.vue @@ -0,0 +1,81 @@ + + + + diff --git a/src/components/ProductSearch.vue b/src/components/ProductSearch.vue index ad8363c..7797da1 100644 --- a/src/components/ProductSearch.vue +++ b/src/components/ProductSearch.vue @@ -11,8 +11,8 @@ v-slot="{ item }" key-field="code" > - - + + {{ item.code }} - {{ item.name }} diff --git a/src/components/VetSearch.vue b/src/components/VetSearch.vue new file mode 100644 index 0000000..0f22c9a --- /dev/null +++ b/src/components/VetSearch.vue @@ -0,0 +1,73 @@ + + + + diff --git a/src/views/contracts/ContractEdit.vue b/src/views/contracts/ContractEdit.vue index 3d7321d..89d4c24 100644 --- a/src/views/contracts/ContractEdit.vue +++ b/src/views/contracts/ContractEdit.vue @@ -4,10 +4,9 @@ - - {{ contract.customer.acc_no }} - {{ contract.customer.name }} + - + - - + + @@ -140,6 +139,7 @@ export default { } } }, + emits: ['closetab','contractupdate'], methods: { close() { this.$emit('closetab','list') diff --git a/src/views/customers/CustomerList.vue b/src/views/customers/CustomerList.vue index 4957b37..b571175 100644 --- a/src/views/customers/CustomerList.vue +++ b/src/views/customers/CustomerList.vue @@ -122,7 +122,7 @@ export default {