解决销售订单审核按钮权限的bug

This commit is contained in:
季圣华
2022-06-02 00:19:33 +08:00
parent ce1af49663
commit 8107c0a428

View File

@@ -241,21 +241,6 @@
computed: { computed: {
}, },
methods: { methods: {
myHandleEdit(record) {
if(record.status === '0') {
this.$refs.modalForm.action = "edit";
this.handleEdit(record);
} else {
this.$message.warning("抱歉只有未审核的单据才能编辑")
}
},
myHandleDelete(record) {
if(record.status === '0') {
this.handleDelete(record.id)
} else {
this.$message.warning("抱歉只有未审核的单据才能删除")
}
},
getSystemConfig() { getSystemConfig() {
getCurrentSystemConfig().then((res) => { getCurrentSystemConfig().then((res) => {
if(res.code === 200 && res.data){ if(res.code === 200 && res.data){