修复餐类锁定

Merge pull request  from 德仔/develop
This commit is contained in:
德仔 2021-03-04 17:44:37 +08:00 committed by Gitee
commit f70b85a2ed
3 changed files with 23 additions and 1 deletions
stdiet-ui/src/views/custom/recipesBuild/RecipesView/RecipesCom
AddDishesDrawer
ReuseDialog

@ -163,6 +163,8 @@ export default {
type: null,
reviewStatus: "yes",
};
this.dishesList = [];
this.lockType = false;
},
handleCurrentChange(data) {
this.$emit("onChange", data);

@ -102,8 +102,8 @@ export default {
});
},
handleOnClosed(done) {
this.$refs.dishesRef.clean();
done();
this.handleOnCancelClick();
},
handleCurrentChange(data) {
if (!data) {

@ -0,0 +1,20 @@
<template>
<el-dialog>
</el-dialog>
</template>
<script>
export default {
name: 'ReuseDialog',
data() {
return {
visible: false,
data: undefined
}
},
methods: {
showDialog() {
this.visible = true;
}
}
}
</script>