feat: change tab on create data
This commit is contained in:
parent
e4c4f26dbb
commit
877f827123
1 changed files with 3 additions and 0 deletions
|
|
@ -934,6 +934,7 @@ async function submitService() {
|
||||||
|
|
||||||
await createService(formDataProductService.value);
|
await createService(formDataProductService.value);
|
||||||
totalService.value = totalService.value + 1;
|
totalService.value = totalService.value + 1;
|
||||||
|
productAndServiceTab.value = 'service';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dialogServiceEdit.value) {
|
if (dialogServiceEdit.value) {
|
||||||
|
|
@ -964,6 +965,8 @@ async function submitProduct() {
|
||||||
if (res) {
|
if (res) {
|
||||||
stat.value[3].count = stat.value[3].count + 1;
|
stat.value[3].count = stat.value[3].count + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
productAndServiceTab.value = 'product';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dialogProductEdit.value) {
|
if (dialogProductEdit.value) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue