解决销售订单审核按钮权限的bug
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user