菜品问题修改
This commit is contained in:
parent
0e96ed0db2
commit
820493ff7e
|
|
@ -1682,22 +1682,22 @@
|
|||
}
|
||||
})
|
||||
}
|
||||
console.log(param.materialList)
|
||||
// if (this.title === "新增") {
|
||||
// addMenuDishesApi(param).then(response => {
|
||||
// this.openDish = false;
|
||||
// this.$modal.msgSuccess("新增成功");
|
||||
// this.getList();
|
||||
// });
|
||||
// this.btnLoading=false;
|
||||
// } else {
|
||||
// editMenuDishesApi(param).then(response => {
|
||||
// this.openDish = false;
|
||||
// this.$modal.msgSuccess("修改成功");
|
||||
// this.getList();
|
||||
// });
|
||||
this.btnLoading=false;
|
||||
// }
|
||||
// console.log(param.materialList)
|
||||
if (this.title === "新增") {
|
||||
addMenuDishesApi(param).then(response => {
|
||||
this.openDish = false;
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.getList();
|
||||
});
|
||||
this.btnLoading=false;
|
||||
} else {
|
||||
editMenuDishesApi(param).then(response => {
|
||||
this.openDish = false;
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.getList();
|
||||
});
|
||||
this.btnLoading=false;
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue