fix(04): view group, type

This commit is contained in:
puriphatt 2024-08-15 15:21:16 +07:00
parent 2f289cfaea
commit 9084e299f8

View file

@ -2215,6 +2215,7 @@ watch(
@click.stop=" @click.stop="
() => { () => {
if (productMode === 'type') { if (productMode === 'type') {
editByTree = 'type';
currentStatusProduct = currentStatusProduct =
props.row.status === 'INACTIVE'; props.row.status === 'INACTIVE';
clearFormGroup(); clearFormGroup();
@ -2224,6 +2225,7 @@ watch(
drawerInfo = true; drawerInfo = true;
} }
if (productMode === 'group') { if (productMode === 'group') {
editByTree = 'group';
currentStatusProduct = currentStatusProduct =
props.row.status === 'INACTIVE'; props.row.status === 'INACTIVE';
clearFormGroup(); clearFormGroup();