fix: ลบ โค้ค ไม่ได้ใช้
This commit is contained in:
parent
86099a9573
commit
3a291cd1ad
1 changed files with 0 additions and 141 deletions
|
|
@ -1416,147 +1416,6 @@ watch(currentStatus, async () => {
|
|||
"
|
||||
/>
|
||||
</div>
|
||||
<!--
|
||||
<div
|
||||
:class="`${$q.screen.gt.sm ? 'col-3' : $q.screen.gt.xs ? 'col-6' : 'col-12'}`"
|
||||
v-for="i in productAndServiceTab === 'all' ||
|
||||
productAndServiceTab === 'service'
|
||||
? service?.filter((i) => {
|
||||
if (currentStatus === 'All' || currentStatus === 'ACTIVE') {
|
||||
return i.status === 'ACTIVE' || i.status === 'CREATED';
|
||||
}
|
||||
})
|
||||
: []"
|
||||
:key="i.id"
|
||||
>
|
||||
<TotalProductCardComponent
|
||||
typeProduct="service"
|
||||
:code="i.code"
|
||||
:id="i.id"
|
||||
:title="i.name"
|
||||
:isDisabled="i.status === 'INACTIVE' ? true : false"
|
||||
:created-at="i.createdAt"
|
||||
@toggleStatus="
|
||||
() => {
|
||||
toggleStatusService(i.id, i.status);
|
||||
}
|
||||
"
|
||||
@menuViewDetail="
|
||||
() => {
|
||||
currentIdService = i.id;
|
||||
infoServiceEdit = false;
|
||||
assignFormDataProductService(i.id);
|
||||
dialogServiceEdit = true;
|
||||
}
|
||||
"
|
||||
@menuEdit="
|
||||
() => {
|
||||
currentIdService = i.id;
|
||||
infoServiceEdit = true;
|
||||
assignFormDataProductService(i.id);
|
||||
dialogServiceEdit = true;
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- INACTIVE -->
|
||||
|
||||
<!-- <div
|
||||
:class="`${$q.screen.gt.sm ? 'col-3' : $q.screen.gt.xs ? 'col-6' : 'col-12'}`"
|
||||
v-for="i in productAndServiceTab === 'all' ||
|
||||
productAndServiceTab === 'product'
|
||||
? product?.filter((i) => {
|
||||
if (currentStatus === 'All' || currentStatus === 'INACTIVE') {
|
||||
return i.status === 'INACTIVE';
|
||||
}
|
||||
})
|
||||
: []"
|
||||
:key="i.id"
|
||||
>
|
||||
<TotalProductCardComponent
|
||||
:data="{ ...i, type: 'product' }"
|
||||
:key="i.id"
|
||||
:code="i.code"
|
||||
:price="i.price"
|
||||
:process="i.process"
|
||||
:id="i.id"
|
||||
typeProduct="product"
|
||||
:title="i.name"
|
||||
:isDisabled="i.status === 'INACTIVE' ? true : false"
|
||||
@toggleStatus="
|
||||
() => {
|
||||
toggleStatusProduct(i.id, i.status);
|
||||
}
|
||||
"
|
||||
@menuViewDetail="
|
||||
() => {
|
||||
currentIdProduct = i.id;
|
||||
assignFormDataProduct(i);
|
||||
dialogProductEdit = true;
|
||||
}
|
||||
"
|
||||
@menuEdit="
|
||||
() => {
|
||||
currentIdProduct = i.id;
|
||||
infoProductEdit = true;
|
||||
assignFormDataProduct(i);
|
||||
dialogProductEdit = true;
|
||||
}
|
||||
"
|
||||
@viewDetail="
|
||||
() => {
|
||||
currentIdProduct = i.id;
|
||||
infoProductEdit = false;
|
||||
assignFormDataProduct(i);
|
||||
dialogProductEdit = true;
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div
|
||||
:class="`${$q.screen.gt.sm ? 'col-3' : $q.screen.gt.xs ? 'col-6' : 'col-12'}`"
|
||||
v-for="i in productAndServiceTab === 'all' ||
|
||||
productAndServiceTab === 'service'
|
||||
? service?.filter((i) => {
|
||||
if (currentStatus === 'All' || currentStatus === 'INACTIVE') {
|
||||
return i.status === 'INACTIVE';
|
||||
}
|
||||
})
|
||||
: []"
|
||||
:key="i.id"
|
||||
>
|
||||
<TotalProductCardComponent
|
||||
typeProduct="service"
|
||||
:code="i.code"
|
||||
:id="i.id"
|
||||
:title="i.name"
|
||||
:isDisabled="i.status === 'INACTIVE' ? true : false"
|
||||
:created-at="i.createdAt"
|
||||
@toggleStatus="
|
||||
() => {
|
||||
toggleStatusService(i.id, i.status);
|
||||
}
|
||||
"
|
||||
@menuViewDetail="
|
||||
() => {
|
||||
currentIdService = i.id;
|
||||
infoServiceEdit = false;
|
||||
assignFormDataProductService(i.id);
|
||||
dialogServiceEdit = true;
|
||||
}
|
||||
"
|
||||
@menuEdit="
|
||||
() => {
|
||||
currentIdService = i.id;
|
||||
infoServiceEdit = true;
|
||||
assignFormDataProductService(i.id);
|
||||
dialogServiceEdit = true;
|
||||
}
|
||||
"
|
||||
/>
|
||||
</div> -->
|
||||
</div>
|
||||
</AppBox>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue