refactor: 05 => remove console log and TableProductAndService td

This commit is contained in:
puriphatt 2025-02-03 10:32:18 +07:00
parent e2bd6a6334
commit 8a937dfa31
2 changed files with 3 additions and 4 deletions

View file

@ -234,7 +234,6 @@ watch(
const incoming = current.filter( const incoming = current.filter(
(lhs) => (lhs) =>
!before.find((rhs) => { !before.find((rhs) => {
console.log(lhs, rhs);
return JSON.stringify(lhs) === JSON.stringify(rhs); return JSON.stringify(lhs) === JSON.stringify(rhs);
}), }),
); );

View file

@ -227,7 +227,7 @@ function selectedIndex(item: any) {
<template <template
v-if="col.name === '#productName' || col.name === '#serviceName'" v-if="col.name === '#productName' || col.name === '#serviceName'"
> >
<div class="row full-height"> <div class="row full-height items-center">
<q-avatar size="md"> <q-avatar size="md">
<q-img <q-img
:src="getProductImageUrl(props.row)" :src="getProductImageUrl(props.row)"
@ -235,14 +235,14 @@ function selectedIndex(item: any) {
class="text-center" class="text-center"
/> />
</q-avatar> </q-avatar>
<p class="column q-ml-sm"> <span class="column q-ml-sm">
<span class="col-6"> <span class="col-6">
{{ props.row.name }} {{ props.row.name }}
</span> </span>
<span class="col-6 app-text-muted"> <span class="col-6 app-text-muted">
{{ props.row.code }} {{ props.row.code }}
</span> </span>
</p> </span>
</div> </div>
</template> </template>