解决销售订单审核按钮权限的bug
This commit is contained in:
parent
ce1af49663
commit
8107c0a428
@ -241,21 +241,6 @@
|
||||
computed: {
|
||||
},
|
||||
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() {
|
||||
getCurrentSystemConfig().then((res) => {
|
||||
if(res.code === 200 && res.data){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user