Commit a2ee76ff by panziyi

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

parents 24c8f1da b8f2ebd7
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
nam: model.bedgrp.rec.nam, nam: model.bedgrp.rec.nam,
docprbrol: model.bedgrp.rec.docprbrol, docprbrol: model.bedgrp.rec.docprbrol,
advdocflg: model.bedgrp.rec.advdocflg, advdocflg: model.bedgrp.rec.advdocflg,
inr:model.bedgrp.rec.inr
}, },
cbsMap: { cbsMap: {
MAX: model.bedgrp.cbs.max, MAX: model.bedgrp.cbs.max,
......
...@@ -102,7 +102,8 @@ export default class Betsnd { ...@@ -102,7 +102,8 @@ export default class Betsnd {
docrol: '', docrol: '',
matdat: '', matdat: '',
nam: '', nam: '',
docprbrol: '' docprbrol: '',
inr: ''
}, },
prb: { prb: {
pts: new Pts().data, pts: new Pts().data,
......
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人" prop="bedgrp.rec.payrol"> <el-form-item label="付款人" prop="bedgrp.rec.payrol">
<c-select v-model="model.bedgrp.rec.payrol" style="width: 100%" placeholder="请选择付款人" <c-select v-model="model.bedgrp.rec.payrol" style="width: 100%" placeholder="请选择付款人"
:code="codes.rolall" :code="codes.payrol"
@change="eventFunction( @change="eventFunction(
'bedgrp.rec.payrol' 'bedgrp.rec.payrol'
)"> )">
......
...@@ -260,8 +260,8 @@ let checkObj = { ...@@ -260,8 +260,8 @@ let checkObj = {
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"ledgrp.rec.tenmaxday":[ "ledgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{type: "string",max: 9999,message:"长度不能超过4"} {type: "number",max: 9999,message:"长度不能超过4"}
], ],
"ledgrp.rec.porloa":[ "ledgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -15,7 +15,7 @@ export default class Letdrw { ...@@ -15,7 +15,7 @@ export default class Letdrw {
}, },
max2: { max2: {
cur: '', cur: '',
amt: '' amt: '0.0'
} }
} }
}, },
...@@ -124,7 +124,7 @@ export default class Letdrw { ...@@ -124,7 +124,7 @@ export default class Letdrw {
}, },
max2: { max2: {
cur: '', cur: '',
amt: '' amt: '0.00'
} }
}, },
iss: { iss: {
...@@ -206,11 +206,11 @@ export default class Letdrw { ...@@ -206,11 +206,11 @@ export default class Letdrw {
}, },
max: { max: {
cur: '', cur: '',
amt: '' amt: '0.0'
}, },
max2: { max2: {
amt: '', amt: '',
cur: '' cur: '0.00'
} }
}, },
srm: { srm: {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="附加金额" prop="ledgrp.cbs.max2.cur"> <el-form-item label="附加金额" prop="ledgrp.cbs.max2.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.max2.cur" v-model="max2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择附加金额"
disabled disabled
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="开立附加金额" prop="ledgrp.cbs.opn2.cur"> <el-form-item label="开立附加金额" prop="ledgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.ledgrp.cbs.opn2.cur" v-model="opn2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
disabled disabled
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt"> <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input <c-input
v-model="model.ledgrp.cbs.opn2.amt" v-model="opn2amt"
placeholder="请输入" placeholder="请输入"
disabled disabled
></c-input> ></c-input>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<el-form-item label="覆盖" prop="ledgrp.blk.addamtcov"> <el-form-item label="覆盖" prop="ledgrp.blk.addamtcov">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.ledgrp.blk.addamtcov" v-model="getBlkAddamtcov"
maxlength="140" maxlength="140"
show-word-limit show-word-limit
placeholder="请输入" placeholder="请输入"
...@@ -70,6 +70,28 @@ export default { ...@@ -70,6 +70,28 @@ export default {
}, },
methods: { }, methods: { },
created: function () {}, 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> </script>
<style></style> <style></style>
...@@ -501,12 +501,12 @@ export default { ...@@ -501,12 +501,12 @@ export default {
return this.model.bedgrp.rec.doctypcod return this.model.bedgrp.rec.doctypcod
}, },
maxcur(){ maxcur(){
this.model.ledgrp.cbs.max.cur = this.model.ledgrp.cbs.opn1.cur this.model.bedgrp.cbs.max.cur = this.model.ledgrp.cbs.opn1.cur
return this.model.ledgrp.cbs.max.cur return this.model.bedgrp.cbs.max.cur
}, },
maxamt(){ maxamt(){
this.model.ledgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt this.model.bedgrp.cbs.max.amt = this.model.ledgrp.cbs.opn1.amt
return this.model.ledgrp.cbs.max.amt return this.model.bedgrp.cbs.max.amt
}, },
docprbrol(){ docprbrol(){
this.model.bedgrp.rec.docprbrol = 'BEB' this.model.bedgrp.rec.docprbrol = 'BEB'
......
...@@ -446,10 +446,12 @@ export default { ...@@ -446,10 +446,12 @@ export default {
created: function () {}, created: function () {},
computed:{ computed:{
maxcur(){ maxcur(){
return this.model.ledgrp.cbs.nom1.cur this.model.ledgrp.cbs.max.cur = this.model.ledgrp.cbs.nom1.cur
return this.model.ledgrp.cbs.max.cur
}, },
maxamt(){ maxamt(){
return this.model.ledgrp.cbs.nom1.amt * (1+this.model.ledgrp.rec.nomtop/100) this.model.ledgrp.cbs.max.amt = this.model.ledgrp.cbs.nom1.amt * (1+this.model.ledgrp.rec.nomtop/100)
return this.model.ledgrp.cbs.max.amt
} }
} }
} }
......
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