fix: แก้ ลบไม่ได้ของ item
This commit is contained in:
parent
bc7070d0e3
commit
e4c4f26dbb
1 changed files with 10 additions and 1 deletions
|
|
@ -2547,7 +2547,16 @@ watch(inputSearchProductAndService, async () => {
|
|||
props.row.status !== 'CREATED',
|
||||
}"
|
||||
style="white-space: nowrap"
|
||||
@click=""
|
||||
@click="()=>{
|
||||
if (props.row.type === 'product'){
|
||||
deleteTypeOfProduct(props.row.id)
|
||||
}
|
||||
if (props.row.type === 'service') {
|
||||
deleteServiceById(props.row.id)
|
||||
}
|
||||
}
|
||||
"
|
||||
|
||||
>
|
||||
<q-icon
|
||||
name="mdi-trash-can-outline"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue