Commit 9820f86d authored by Mac's avatar Mac

1

parent 7ad5f236
...@@ -244,6 +244,22 @@ ...@@ -244,6 +244,22 @@
}) })
}, },
goUrl(path, id) { goUrl(path, id) {
if(this.valuemonth ==null || this.valueyear==null){
this.$q.notify({
type: 'negative',
position: "top",
message: `请选择日期`
})
return
}
if(path == 'teacherclassfee' && this.datetype==1){
this.$q.notify({
type: 'negative',
position: "top",
message: `老师只能按月份查看`
})
return
}
this.OpenNewUrl('/financial/' + path, { this.OpenNewUrl('/financial/' + path, {
id: id, id: id,
datetype:this.datetype, datetype:this.datetype,
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
TeacherList: [], TeacherList: [],
datetypelist: [ datetypelist: [
{ Id: '2', Name: '月份' }, { Id: '2', Name: '月份' },
{ Id: '1', Name: '年份' }, // { Id: '1', Name: '年份' },
] ]
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment