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