Commit 8eea63d2 authored by huangyuanyuan's avatar huangyuanyuan

解决部分单据不能审核

parent 3c555ae2
...@@ -1696,8 +1696,9 @@ export default { ...@@ -1696,8 +1696,9 @@ export default {
}, err => {}) }, err => {})
}, },
AuditOrRefund(){ // 保存 AuditOrRefund(){ // 保存
// console.log("保存") let that=this;
let that=this; that.benMoney=Math.round(that.benMoney * 100) / 100;
if(that.Ststus==1){ if(that.Ststus==1){
if(this.AuditOrRefundMsg.Status=='5'){ if(this.AuditOrRefundMsg.Status=='5'){
if(that.GetDetail.AccountNumber.indexOf("东航平台")!=-1){ if(that.GetDetail.AccountNumber.indexOf("东航平台")!=-1){
...@@ -1706,13 +1707,13 @@ export default { ...@@ -1706,13 +1707,13 @@ export default {
return; return;
}else{ }else{
if(this.allMoney>parseFloat(that.benMoney) + 5 || this.allMoney<parseFloat(that.benMoney) - 5){ if(this.allMoney>parseFloat(that.benMoney) + 5 || this.allMoney<parseFloat(that.benMoney) - 5){
this.Error("请检查实付金额!") this.Error("请检查实付金额是否在范围内!")
return; return;
} }
} }
}else{ }else{
if(this.allMoney!=parseFloat(that.benMoney)){ if(this.allMoney!=parseFloat(that.benMoney)){
this.Error("请检查实付金额!") this.Error("请检查金额是否一致!")
return; return;
} }
} }
......
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