Commit 6f3977a0 authored by liudong1993's avatar liudong1993

修复财务单据 地接批量审批单据的判断~

parent 87ec664b
...@@ -1277,7 +1277,6 @@ export default { ...@@ -1277,7 +1277,6 @@ export default {
} }
}, },
addList: function (type, index) { addList: function (type, index) {
console.log(this.payMsgList[index])
if (type) { if (type) {
if (this.payMsgList[index].AccountId==='') return if (this.payMsgList[index].AccountId==='') return
if (this.payMsgList[index].Type==='') return if (this.payMsgList[index].Type==='') return
...@@ -1846,15 +1845,15 @@ export default { ...@@ -1846,15 +1845,15 @@ export default {
}) })
} }
this.GetDetail = data; this.GetDetail = data;
console.log(" this.GetDetail", this.GetDetail)
let AuditSteps=this.GetDetail.AuditSteps; let AuditSteps=this.GetDetail.AuditSteps;
let ChuNaShenHe = false let ChuNaShenHe = false
for(let i = 0; i < AuditSteps.length; i++) { for(let i = 0; i < AuditSteps.length; i++) {
if(AuditSteps[i].NextStep==1 && AuditSteps[i].SpecialNode==2 && AuditSteps[i].Status==1){ if(AuditSteps[i].NextStep==1 && AuditSteps[i].SpecialNode==2 && AuditSteps[i].Status==1){
ChuNaShenHe = true ChuNaShenHe = true
this.Ststus = 1; this.Ststus = 1;
item.AuditRecordList.forEach(audit=>{ AuditSteps[i].AuditRecordList.forEach(audit=>{
if(AuditSteps[i].AuditStatus==2){ if(audit.AuditStatus==2){
this.Ststus=0; this.Ststus=0;
return return
} }
...@@ -1874,7 +1873,7 @@ export default { ...@@ -1874,7 +1873,7 @@ export default {
// } // }
// }) // })
if (this.GetDetail.DijieBathFinanceList.length >= 0 ) { if (this.GetDetail.DijieBathFinanceList.length > 0 ) {
if(ChuNaShenHe){ if(ChuNaShenHe){
this.otherTable = false this.otherTable = false
}else{ }else{
...@@ -1919,7 +1918,6 @@ export default { ...@@ -1919,7 +1918,6 @@ export default {
// this.$router.push({name:data.URL+'1',query:{'SourceID':this.SourceID,'Callback':this.Callback,id:this.ID}}); // this.$router.push({name:data.URL+'1',query:{'SourceID':this.SourceID,'Callback':this.Callback,id:this.ID}});
// } // }
} }
console.log(this.GetDetail,'getdetail');
} }
}, err => {}) }, err => {})
}, },
......
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