fix: แก้ กดดู สินค้าและบริการไม่ได้
This commit is contained in:
parent
c54e26c59a
commit
389876efb3
1 changed files with 12 additions and 12 deletions
|
|
@ -1410,7 +1410,7 @@ watch(inputSearchProductAndService, async () => {
|
|||
if (node.type === 'group' && node._count.type > 0) {
|
||||
pathGroupName = node.name;
|
||||
currentId = node.id;
|
||||
productMode = 'type';
|
||||
|
||||
await fetchListType();
|
||||
expandedTree.push(node.id);
|
||||
flowStore.rotate();
|
||||
|
|
@ -1421,6 +1421,8 @@ watch(inputSearchProductAndService, async () => {
|
|||
:class="{
|
||||
'cursor-pointer':
|
||||
node.type === 'group' && node._count.type > 0,
|
||||
'selector-tree':
|
||||
node.type === 'group' && node._count.type > 0,
|
||||
}"
|
||||
>
|
||||
<div class="col row full-width">
|
||||
|
|
@ -3125,17 +3127,15 @@ watch(inputSearchProductAndService, async () => {
|
|||
v-model:drawerOpen="drawerInfo"
|
||||
:title="
|
||||
$t(
|
||||
editByTree !== undefined
|
||||
? editByTree === 'group'
|
||||
? 'productGroup'
|
||||
: editByTree === 'type'
|
||||
? 'productType'
|
||||
: undefined
|
||||
: productMode === 'group'
|
||||
? 'productGroup'
|
||||
: productMode === 'type'
|
||||
? 'productType'
|
||||
: undefined,
|
||||
editByTree === 'group'
|
||||
? 'productGroup'
|
||||
: editByTree === 'type'
|
||||
? 'productType'
|
||||
: productMode === 'group'
|
||||
? 'productGroup'
|
||||
: productMode === 'type'
|
||||
? 'productType'
|
||||
: 'defaultKey',
|
||||
{
|
||||
name: formDataGroup.code,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue