!91 修复餐类锁定

Merge pull request !91 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

View File

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

View File

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

View File

@ -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>