Commit 77c9bb38 authored by 华国豪's avatar 华国豪 🙄

no message

parent 80c0efd1
...@@ -1848,20 +1848,39 @@ export default { ...@@ -1848,20 +1848,39 @@ export default {
this.GetDetail = data; this.GetDetail = data;
console.log(" this.GetDetail", this.GetDetail) console.log(" this.GetDetail", this.GetDetail)
let AuditSteps=this.GetDetail.AuditSteps; let AuditSteps=this.GetDetail.AuditSteps;
AuditSteps.forEach(item=>{ let ChuNaShenHe = false
if(item.NextStep==1 && item.SpecialNode==2 && item.Status==1){ for(let i = 0; i < AuditSteps.length; i++) {
if (this.GetDetail.DijieBathFinanceList.length) { if(AuditSteps[i].NextStep==1 && AuditSteps[i].SpecialNode==2 && AuditSteps[i].Status==1){
this.otherTable = false ChuNaShenHe = true
}
this.Ststus = 1; this.Ststus = 1;
item.AuditRecordList.forEach(audit=>{ item.AuditRecordList.forEach(audit=>{
if(audit.AuditStatus==2){ if(AuditSteps[i].AuditStatus==2){
this.Ststus=0; this.Ststus=0;
return
} }
}) })
} }
}) }
// AuditSteps.forEach(item=>{
// if(item.NextStep==1 && item.SpecialNode==2 && item.Status==1){
// ChuNaShenHe = true
// this.Ststus = 1;
// item.AuditRecordList.forEach(audit=>{
// if(audit.AuditStatus==2){
// this.Ststus=0;
// }
// })
// }
// })
if (ChuNaShenHe && this.GetDetail.DijieBathFinanceList.length >= 0 ) {
this.otherTable = false
} else if (!ChuNaShenHe && this.GetDetail.DijieBathFinanceList.length < 1 ) {
this.otherTable = false
} else if (!ChuNaShenHe && this.GetDetail.DijieBathFinanceList.length >0 ) {
this.otherTable = true
}
this.OrderID = this.GetDetail.OrderID; this.OrderID = this.GetDetail.OrderID;
this.OrderSource = this.GetDetail.OrderSource; this.OrderSource = this.GetDetail.OrderSource;
this.SourceID = this.GetDetail.SourceID; this.SourceID = this.GetDetail.SourceID;
......
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