Commit 15f2a666 authored by huangyuanyuan's avatar huangyuanyuan

修改判断

parent a5323a82
......@@ -1232,6 +1232,7 @@ export default {
tuiDataList:[],
currentMoney:0,
benMoney:0,
Ststus:0,
}
},components:{
"my-FlowChartModule": myFlowChartModule,
......@@ -1696,28 +1697,31 @@ export default {
AuditOrRefund(){ // 保存
// console.log("保存")
let that=this;
if(this.AuditOrRefundMsg.Status=='5'){
if(that.GetDetail.AccountNumber.indexOf("东航平台")!=-1){
if(this.allMoney==0){
this.Error("请将信息填写完整!")
return;
if(that.Ststus==1){
if(this.AuditOrRefundMsg.Status=='5'){
if(that.GetDetail.AccountNumber.indexOf("东航平台")!=-1){
if(this.allMoney==0){
this.Error("请将信息填写完整!")
return;
}else{
if(this.allMoney>parseFloat(that.benMoney) + 5 || this.allMoney<parseFloat(that.benMoney) - 5){
this.Error("请检查实付金额!")
return;
}
}
// console.log("benMoney",this.benMoney)
// console.log(parseFloat(that.benMoney) - 5)
// console.log(parseFloat(that.benMoney) + 5)
}else{
if(this.allMoney>parseFloat(that.benMoney) + 5 || this.allMoney<parseFloat(that.benMoney) - 5){
if(this.allMoney!=parseFloat(that.benMoney)){
this.Error("请检查实付金额!")
return;
}
}
// console.log("benMoney",this.benMoney)
// console.log(parseFloat(that.benMoney) - 5)
// console.log(parseFloat(that.benMoney) + 5)
}else{
if(this.allMoney!=parseFloat(that.benMoney)){
this.Error("请检查实付金额!")
return;
}
}
}
let imgArr = [];
this.uploadImgList.forEach(x=>{
imgArr.push(x.src);
......@@ -1834,6 +1838,13 @@ export default {
})
}
this.GetDetail = data;
console.log(" this.GetDetail", this.GetDetail)
let AuditSteps=this.GetDetail.AuditSteps;
AuditSteps.forEach(item=>{
if(item.NextStep==1 && item.SpecialNode==2 && item.Status==1){
this.Ststus=1;
}
})
this.OrderID = this.GetDetail.OrderID;
this.OrderSource = this.GetDetail.OrderSource;
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