Commit 95fc2f4b by WH

修复letrsv缺陷

parent 6bda1321
......@@ -449,8 +449,8 @@ export default {
this.model.ledgrp.cbs.max.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.ledgrp.cbs.max.cur
},
maxamt(){
this.model.ledgrp.cbs.max.amt = this.model.ledgrp.cbs.nom1.amt * (1+this.model.ledgrp.rec.nomtop/100)
maxamt() {
this.model.ledgrp.cbs.max.amt = parseFloat(this.model.ledgrp.cbs.nom1.amt * (1 + this.model.ledgrp.rec.nomtop / 100)).toFixed(2)
return this.model.ledgrp.cbs.max.amt
}
}
......
......@@ -157,7 +157,6 @@ export default {
ptsList.push(this.model.ledgrp.adv)
ptsList.push(this.model.ledgrp.a2b)
ptsList.push(this.model.ledgrp.iss)
ptsList.push(this.model.ledgrp.own)
let params = {
avbwth: this.model.ledgrp.rec.avbwth,
ptsList
......
......@@ -4,7 +4,7 @@
<c-col :span="10">
<el-form-item label="附加金额" prop="ledgrp.cbs.max2.cur">
<c-select
v-model="model.ledgrp.cbs.max2.cur"
v-model="max2cur"
style="width: 100%"
placeholder="请选择币种"
disabled
......@@ -32,7 +32,7 @@
<c-col :span="10">
<el-form-item label="附加金额余额" prop="ledgrp.cbs.opn2.cur">
<c-select
v-model="model.ledgrp.cbs.opn2.cur"
v-model="opn2cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt1"
......@@ -45,7 +45,7 @@
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="ledgrp.cbs.opn2.amt">
<c-input-currency
v-model="model.ledgrp.cbs.opn2.amt"
v-model="opn2amt"
style="width: 100%"
placeholder="请输入附加金额余额"
disabled
......@@ -57,7 +57,7 @@
<el-form-item label="39C场" prop="ledgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.ledgrp.blk.addamtcov"
v-model="getBlkAddamtcov"
maxlength="35"
show-word-limit
placeholder="请输入39C场"
......@@ -84,6 +84,28 @@ export default {
},
methods: { event },
created: function () {},
computed:{
max2cur(){
this.model.ledgrp.cbs.max2.cur = this.model.ledgrp.cbs.max.cur
return this.model.ledgrp.cbs.max2.cur
},
opn2cur(){
this.model.ledgrp.cbs.opn2.cur = this.model.ledgrp.cbs.max.cur
return this.model.ledgrp.cbs.opn2.cur
},
opn2amt(){
this.model.ledgrp.cbs.opn2.amt = parseFloat(this.model.ledgrp.cbs.max2.amt).toFixed(3)
return this.model.ledgrp.cbs.opn2.amt
},
getBlkAddamtcov(){
this.model.ledgrp.blk.addamtcov = this.model.ledgrp.cbs.opn2.cur + " " +this.model.ledgrp.cbs.opn2.amt
return this.model.ledgrp.blk.addamtcov
}
},
};
</script>
<style>
......
......@@ -11,8 +11,9 @@
style="width: 100%"
placeholder="请选择可用银行"
:code="codes.avbwth"
@change="avbwthEvent"
@change="avbwthFlg"
>
<!-- @change="avbwthEvent"-->
</c-select>
</el-form-item>
</c-col>
......
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