Commit 744cb2fc by liaoxing

bctame 修改

parent 5d589afd
...@@ -267,7 +267,7 @@ let checkObj = { ...@@ -267,7 +267,7 @@ let checkObj = {
"bcdgrp.blk.colins":[ "bcdgrp.blk.colins":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} // {max: 65,message:"长度不能超过65"}
], ],
......
...@@ -82,7 +82,7 @@ export default class Bctame{ ...@@ -82,7 +82,7 @@ export default class Bctame{
extkey:"", // Responsible User .bctp.usr.extkey extkey:"", // Responsible User .bctp.usr.extkey
}, },
docgrdm:{ docgrdm:{
docgrd:[], docgrdVos:[],
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
}, },
drep:{ drep:{
...@@ -131,7 +131,7 @@ export default class Bctame{ ...@@ -131,7 +131,7 @@ export default class Bctame{
}, },
}, },
rec:{ rec:{
matpercnt:"", // Tenor Data .oldbcdgrp.rec.matpercnt matpercnt:"0", // Tenor Data .oldbcdgrp.rec.matpercnt
matpertyp:"", // Days/Months or Years for Maturity Period .oldbcdgrp.rec.matpertyp matpertyp:"", // Days/Months or Years for Maturity Period .oldbcdgrp.rec.matpertyp
matperbeg:"", // Start of Maturity Period MATBEG .oldbcdgrp.rec.matperbeg matperbeg:"", // Start of Maturity Period MATBEG .oldbcdgrp.rec.matperbeg
matdat:"", // Maturity Date .oldbcdgrp.rec.matdat matdat:"", // Maturity Date .oldbcdgrp.rec.matdat
...@@ -153,11 +153,12 @@ export default class Bctame{ ...@@ -153,11 +153,12 @@ export default class Bctame{
newamt: '', newamt: '',
newexpdat: '', newexpdat: '',
trnfeetxt: '', trnfeetxt: '',
ameamt: '', ameamt: '0',
newcur: '', newcur: '',
prepertxts18: '', prepertxts18: '',
nomspc: '', nomspc: '',
reqcan: '' reqcan: '',
newmatpercnt: '0',
}, },
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
...@@ -75,10 +75,10 @@ ...@@ -75,10 +75,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改的金额" prop="trnmod.swiadd.amecur"> <el-form-item label="修改的金额" prop="swiadd.amecur">
<c-select <c-select
disabled disabled
v-model="model.trnmod.swiadd.amecur" v-model="swiaddNew.amecur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
> >
...@@ -98,10 +98,10 @@ ...@@ -98,10 +98,10 @@
label="" label=""
style="text-align: left; margin-left: 5px" style="text-align: left; margin-left: 5px"
label-width="0" label-width="0"
prop="trnmod.swiadd.ameamt" prop="swiadd.ameamt"
> >
<c-input-currency <c-input-currency
v-model="model.trnmod.swiadd.ameamt" v-model="model.swiadd.ameamt"
placeholder="修改的金额" placeholder="修改的金额"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
...@@ -110,10 +110,10 @@ ...@@ -110,10 +110,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="修改后的金额" prop="trnmod.swiadd.newcur"> <el-form-item label="修改后的金额" prop="swiadd.newcur">
<c-select <c-select
disabled disabled
v-model="model.trnmod.swiadd.newcur" v-model="swiaddNew.newcur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
> >
...@@ -133,10 +133,10 @@ ...@@ -133,10 +133,10 @@
label="" label=""
style="text-align: left; margin-left: 5px" style="text-align: left; margin-left: 5px"
label-width="0" label-width="0"
prop="trnmod.swiadd.newamt" prop="swiadd.newamt"
> >
<c-input-currency <c-input-currency
v-model="model.trnmod.swiadd.newamt" v-model="swiaddNew.newamt"
placeholder="修改后的金额" placeholder="修改后的金额"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
...@@ -228,12 +228,12 @@ ...@@ -228,12 +228,12 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="修改后的付款期限" label="修改后的付款期限"
prop="trnmod.swiadd.newmatpercnt" prop="swiadd.newmatpercnt"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
style="width: 100%" style="width: 100%"
v-model="model.trnmod.swiadd.newmatpercnt" v-model="model.swiadd.newmatpercnt"
placeholder="修改后的付款期限" placeholder="修改后的付款期限"
:disabled="model.newdoctypcod === 'P'" :disabled="model.newdoctypcod === 'P'"
></c-input> ></c-input>
...@@ -245,10 +245,10 @@ ...@@ -245,10 +245,10 @@
style="margin-left: 5px" style="margin-left: 5px"
label="" label=""
label-width="0" label-width="0"
prop="trnmod.swiadd.newmatpertyp" prop="swiadd.newmatpertyp"
> >
<c-select <c-select
v-model="model.trnmod.swiadd.newmatpertyp" v-model="model.swiadd.newmatpertyp"
style="width: 100%" style="width: 100%"
placeholder="到期期限天/月或年" placeholder="到期期限天/月或年"
:disabled="model.newdoctypcod === 'P'" :disabled="model.newdoctypcod === 'P'"
...@@ -269,10 +269,10 @@ ...@@ -269,10 +269,10 @@
style="margin-left: 5px" style="margin-left: 5px"
label="" label=""
label-width="0" label-width="0"
prop="trnmod.swiadd.newmatperbeg" prop="swiadd.newmatperbeg"
> >
<c-select <c-select
v-model="model.trnmod.swiadd.newmatperbeg" v-model="model.swiadd.newmatperbeg"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled="model.newdoctypcod === 'P'" :disabled="model.newdoctypcod === 'P'"
...@@ -302,10 +302,10 @@ ...@@ -302,10 +302,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="修改后单据到期日" prop="trnmod.swiadd.newmatdat"> <el-form-item label="修改后单据到期日" prop="swiadd.newmatdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.trnmod.swiadd.newmatdat" v-model="model.swiadd.newmatdat"
style="width: 100%" style="width: 100%"
placeholder="修改后单据到期日" placeholder="修改后单据到期日"
:disabled="model.newdoctypcod === 'P'" :disabled="model.newdoctypcod === 'P'"
...@@ -314,11 +314,11 @@ ...@@ -314,11 +314,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="更多的修改" prop="trnmod.swiadd.ametxt"> <el-form-item label="更多的修改" prop="swiadd.ametxt">
<c-input <c-input
:rows="4" :rows="4"
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.ametxt" v-model="model.swiadd.ametxt"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="更多的修改" placeholder="更多的修改"
...@@ -367,6 +367,14 @@ export default { ...@@ -367,6 +367,14 @@ export default {
...Event, ...Event,
}, },
created: function () {}, created: function () {},
computed: {
swiaddNew(){
this.model.swiadd.newcur =this.model.oldbcdgrp.cbs.max.cur
this.model.swiadd.amecur =this.model.oldbcdgrp.cbs.max.cur
this.model.swiadd.newamt =parseInt(this.model.oldbcdgrp.cbs.max.amt) + parseInt(this.model.swiadd.ameamt)
return this.model.swiadd
}
}
}; };
</script> </script>
<style> <style>
......
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