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) {
|
if (node.type === 'group' && node._count.type > 0) {
|
||||||
pathGroupName = node.name;
|
pathGroupName = node.name;
|
||||||
currentId = node.id;
|
currentId = node.id;
|
||||||
productMode = 'type';
|
|
||||||
await fetchListType();
|
await fetchListType();
|
||||||
expandedTree.push(node.id);
|
expandedTree.push(node.id);
|
||||||
flowStore.rotate();
|
flowStore.rotate();
|
||||||
|
|
@ -1421,6 +1421,8 @@ watch(inputSearchProductAndService, async () => {
|
||||||
:class="{
|
:class="{
|
||||||
'cursor-pointer':
|
'cursor-pointer':
|
||||||
node.type === 'group' && node._count.type > 0,
|
node.type === 'group' && node._count.type > 0,
|
||||||
|
'selector-tree':
|
||||||
|
node.type === 'group' && node._count.type > 0,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div class="col row full-width">
|
<div class="col row full-width">
|
||||||
|
|
@ -3125,17 +3127,15 @@ watch(inputSearchProductAndService, async () => {
|
||||||
v-model:drawerOpen="drawerInfo"
|
v-model:drawerOpen="drawerInfo"
|
||||||
:title="
|
:title="
|
||||||
$t(
|
$t(
|
||||||
editByTree !== undefined
|
editByTree === 'group'
|
||||||
? editByTree === 'group'
|
? 'productGroup'
|
||||||
? 'productGroup'
|
: editByTree === 'type'
|
||||||
: editByTree === 'type'
|
? 'productType'
|
||||||
? 'productType'
|
: productMode === 'group'
|
||||||
: undefined
|
? 'productGroup'
|
||||||
: productMode === 'group'
|
: productMode === 'type'
|
||||||
? 'productGroup'
|
? 'productType'
|
||||||
: productMode === 'type'
|
: 'defaultKey',
|
||||||
? 'productType'
|
|
||||||
: undefined,
|
|
||||||
{
|
{
|
||||||
name: formDataGroup.code,
|
name: formDataGroup.code,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue