Commit 8df2e345 authored by youjie's avatar youjie

no message

parent d1578775
...@@ -1055,7 +1055,7 @@ ...@@ -1055,7 +1055,7 @@
this.$forceUpdate(); this.$forceUpdate();
} }
}, },
getAccName(i, o) { // 根据选择账户获取账户名 getAccName(i, o,t) { // 根据选择账户获取账户名
this.accountList.forEach(x => { this.accountList.forEach(x => {
if (x.ID == i) { if (x.ID == i) {
this.AccountNumber = x.allName; this.AccountNumber = x.allName;
...@@ -1083,7 +1083,7 @@ ...@@ -1083,7 +1083,7 @@
this.shouxufei = res.data.data this.shouxufei = res.data.data
}, err => {}) }, err => {})
} else { } else {
if (!this.$route.query.edit) { if (!this.$route.query.edit&&t!=1) {
this.msg.OriginalFee = 0 this.msg.OriginalFee = 0
this.msg.Fee = 0 this.msg.Fee = 0
} }
...@@ -1157,8 +1157,8 @@ ...@@ -1157,8 +1157,8 @@
this.msg.BankList[0].AccountId = ''; this.msg.BankList[0].AccountId = '';
this.AccountNumber = ''; this.AccountNumber = '';
} }
this.getAccName(this.msg.BankList[0].AccountId,1) this.getAccName(this.msg.BankList[0].AccountId,1,1)
this.Calculation(0,1) // this.Calculation(0,1)
this.countFee() this.countFee()
} }
} }
...@@ -1800,15 +1800,20 @@ ...@@ -1800,15 +1800,20 @@
x.Rate = '' x.Rate = ''
}) })
this.detailList.Rate = '' this.detailList.Rate = ''
let isShow = true
if(this.msg.RB_Branch_Id){ if(this.msg.RB_Branch_Id){
this.companyList.forEach(item=>{ this.companyList.forEach(item=>{
if(this.msg.RB_Branch_Id==item.Id&&item.StandardCurrencyId>0){ if(this.msg.RB_Branch_Id==item.Id&&item.StandardCurrencyId>0){
this.StandardCurrencyId = item.StandardCurrencyId this.StandardCurrencyId = item.StandardCurrencyId
this.StandardCurrencyName = item.StandardCurrencyName this.StandardCurrencyName = item.StandardCurrencyName
isShow = false
} }
}) })
} }
this.countFee() if(isShow){
this.StandardCurrencyId = -1
this.StandardCurrencyName = ''
}
this.departmentMsg.RB_Branch_Id = -1; this.departmentMsg.RB_Branch_Id = -1;
this.msg.RB_Depart_Id = ''; this.msg.RB_Depart_Id = '';
this.apipost('admin_get_DepartmentGetList', this.departmentMsg, res => { this.apipost('admin_get_DepartmentGetList', this.departmentMsg, res => {
......
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