Commit 6f3977a0 authored by liudong1993's avatar liudong1993

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

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