|
|
@@ -759,7 +759,7 @@ export default {
|
|
|
this.saberUserInfo = JSON.parse(localStorage.getItem('saber-userInfo')).content
|
|
|
if (!this.form.id) {
|
|
|
this.form.curCode = this.getLocalCurrency()
|
|
|
- this.$set(this.form, 'exrate', this.getExchangeRate(this.getLocalCurrency(), this.form.dc?this.form.dc:'D', 2))
|
|
|
+ this.$set(this.form, 'exrate', this.getExchangeRate(this.getLocalCurrency(), this.form.dc ? this.form.dc : 'D', 2))
|
|
|
}
|
|
|
if (this.$route.query.mblno) {
|
|
|
// console.log(111111)
|
|
|
@@ -794,7 +794,7 @@ export default {
|
|
|
isExchangeToCny: 0,
|
|
|
billDate: getCurrentDate(),
|
|
|
}
|
|
|
- this.$set(this.form, 'exrate', this.getExchangeRate(this.getLocalCurrency(), this.form.dc?this.form.dc:'D', 2))
|
|
|
+ this.$set(this.form, 'exrate', this.getExchangeRate(this.getLocalCurrency(), this.form.dc ? this.form.dc : 'D', 2))
|
|
|
// getRateList({ current: 1, size: 30 }).then(res => {
|
|
|
// for (let item of res.data.data.records) {
|
|
|
// if (item.code == "USD") {
|
|
|
@@ -971,6 +971,7 @@ export default {
|
|
|
if (itemsWithId.length != 0) {
|
|
|
fininvoicesitemsRemove(arrIds.join(',')).then(res => {
|
|
|
this.$message.success('操作成功')
|
|
|
+ this.fininvoicesDetailfun(this.form.id)
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
@@ -1158,7 +1159,7 @@ export default {
|
|
|
}
|
|
|
else if (name == 'curCode') {
|
|
|
this.$set(this.form, 'curCode', value)
|
|
|
- this.$set(this.form, 'exrate', this.getExchangeRate(value, this.form.dc?this.form.dc:'D', 2))
|
|
|
+ this.$set(this.form, 'exrate', this.getExchangeRate(value, this.form.dc ? this.form.dc : 'D', 2))
|
|
|
}
|
|
|
else {
|
|
|
this.$set(this.form, name, value)
|