Commit 8df2e345 authored by youjie's avatar youjie

no message

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