工作组会议维护 详情跳转判断

This commit is contained in:
fengachen
2021-09-15 11:09:00 +08:00
parent 50db160383
commit 0ff1bd6344
3 changed files with 23 additions and 12 deletions
+9 -5
View File
@@ -300,11 +300,15 @@ export default {
* 去合同详情 传入合同id
* */
toContractDetail() {
this.$router.push({
path: '/contractManagement/RevenueContractDetail', query: {
revenueId: this.basicInfo.contractId
}
})
if(this.basicInfo.contractId){
this.$router.push({
path: '/contractManagement/RevenueContractDetail', query: {
revenueId: this.basicInfo.contractId
}
})
}else {
this.$message.warn('该项目未与合同关联')
}
},
/*
* 每一个项目的来款方式不同