Commit a2da0cdc authored by 黄媛媛's avatar 黄媛媛

11

parent 3f46783a
......@@ -1204,10 +1204,11 @@ export default {
AuditList.Sort = this.myAuditList.length + 1;
AuditList.RoleOrInitiator = this.directors;
AuditList.SpecialNode = this.GetNodeValue;
if(this.GetNodeValue!=2){
if(this.GetNodeValue==2){
this.directors=1
}
if(this.directors==''){
return this.$message.error(this.$t('tips.qxzbmzgjibie'))
}
}
this.levelList.forEach(x=>{
......@@ -1475,6 +1476,7 @@ export default {
addNode(){ // 添加节点
let AuditList = {};
let type = this.approvalType
console.log("this.approvalType",this.approvalType)
if(this.AuditDescription==''){
return this.$message.error(this.$t('tips.qtxjdmiaoshu'))
}
......@@ -1486,10 +1488,11 @@ export default {
AuditList.RoleOrInitiator = this.directors;
AuditList.AuditDescription='';
AuditList.SpecialNode = this.GetNodeValue;
if(this.GetNodeValue!=2){
if(this.GetNodeValue==2){
this.directors=1
}
if(this.directors==''){
return this.$message.error(this.$t('tips.qxzbmzgjibie'))
}
}
this.levelList.forEach(x=>{
......@@ -1645,6 +1648,7 @@ export default {
AuditList.SpecialNode = this.GetNodeValue;
this.myAuditList.push(AuditList);
}
console.log("this.myAuditList",this.myAuditList)
this.closeLayer()
},
clearValue(t){ // 选择会计出纳窗口获取对应下拉
......
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