Commit 4d9a1ce0 by jianglong

修改LITAME

parent f777b96d
...@@ -85,8 +85,8 @@ export default { ...@@ -85,8 +85,8 @@ export default {
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction, "lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction, "lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction, "lidgrp.rec.shppars18" :Utils.defaultFunction,
//"litamep.lcrdocamep.modflg" :Utils.defaultFunction, "litamep.lcrdocamep.modflg" :Utils.defaultFunction,
//"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction, "litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction, "lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction, "lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction, "lidgrp.a2b.namelc" :Utils.defaultFunction,
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction, "lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
//"lidgrp.blk.adlcnd" :Utils.defaultFunction, "lidgrp.blk.adlcnd" :Utils.defaultFunction,
"litamep.engamt" :Utils.defaultFunction, "litamep.engamt" :Utils.defaultFunction,
"trnmod.swiadd.nomspc" :Utils.defaultFunction, "trnmod.swiadd.nomspc" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction, "liaall.liaccv.concur" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction, "lidgrp.rec.prepers18" :Utils.defaultFunction,
//"lidgrp.blk.lcrdoc" :Utils.defaultFunction, "lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction, "lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction, "lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"oldlidgrp.rec.expdat" :Utils.defaultFunction, "oldlidgrp.rec.expdat" :Utils.defaultFunction,
......
...@@ -23,7 +23,7 @@ export default class Litame{ ...@@ -23,7 +23,7 @@ export default class Litame{
maxamt:"", // New Maximum Amount .litamep.maxamt maxamt:"", // New Maximum Amount .litamep.maxamt
cre707flg:"", // Create Amendment Message .litamep.cre707flg cre707flg:"", // Create Amendment Message .litamep.cre707flg
ramrol:"", // Request of Amendment send to .litamep.ramrol ramrol:"", // Request of Amendment send to .litamep.ramrol
amenbr:"", // 实际修改次数 .litamep.amenbr amenbr:0, // 实际修改次数 .litamep.amenbr
lcrdocamep:{ lcrdocamep:{
usrblk:"", // Block to enter additional info for Add/Delete .litamep.lcrdocamep.usrblk usrblk:"", // Block to enter additional info for Add/Delete .litamep.lcrdocamep.usrblk
modflg:"", // Modify Text to Replace .litamep.lcrdocamep.modflg modflg:"", // Modify Text to Replace .litamep.lcrdocamep.modflg
...@@ -56,8 +56,8 @@ export default class Litame{ ...@@ -56,8 +56,8 @@ export default class Litame{
ownref:"", // Reference .lidgrp.rec.ownref ownref:"", // Reference .lidgrp.rec.ownref
nam:"", // Name .lidgrp.rec.nam nam:"", // Name .lidgrp.rec.nam
lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp lcrtyp:"", // Form of L/C .lidgrp.rec.lcrtyp
nomtop:"", // Amount Tolerance +/- .lidgrp.rec.nomtop nomtop:0, // Amount Tolerance +/- .lidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .lidgrp.rec.nomton nomton:0, // Amount Tolerance - Negative .lidgrp.rec.nomton
nomspc:"", // Amount Specification .lidgrp.rec.nomspc nomspc:"", // Amount Specification .lidgrp.rec.nomspc
opndat:"", // L/C Issued on .lidgrp.rec.opndat opndat:"", // L/C Issued on .lidgrp.rec.opndat
preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt preadvdt:"", // Date Pre-advised .lidgrp.rec.preadvdt
...@@ -87,8 +87,8 @@ export default class Litame{ ...@@ -87,8 +87,8 @@ export default class Litame{
shpto:"", // Final Destination .lidgrp.rec.shpto shpto:"", // Final Destination .lidgrp.rec.shpto
chato:"", // Drafts at .lidgrp.rec.chato chato:"", // Drafts at .lidgrp.rec.chato
stacty:"", // Country Code Risk Country .lidgrp.rec.stacty stacty:"", // Country Code Risk Country .lidgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .lidgrp.rec.tenmaxday tenmaxday:0, // Maximum tenor in days .lidgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .lidgrp.rec.prepers18 prepers18:0, // Days of presentation period .lidgrp.rec.prepers18
prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18 prepertxts18:"", // Presentation period text .lidgrp.rec.prepertxts18
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg spcbenflg:"", // Special payment conditions for beneficiary exists .lidgrp.rec.spcbenflg
...@@ -199,12 +199,12 @@ export default class Litame{ ...@@ -199,12 +199,12 @@ export default class Litame{
}, },
}, },
rec:{ rec:{
nomtop:"", // Amount Tolerance - Positive .oldlidgrp.rec.nomtop nomtop:0, // Amount Tolerance - Positive .oldlidgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .oldlidgrp.rec.nomton nomton:0, // Amount Tolerance - Negative .oldlidgrp.rec.nomton
expdat:"", // 到期日 .oldlidgrp.rec.expdat expdat:"", // 到期日 .oldlidgrp.rec.expdat
shpdat:"", // 装运日 .oldlidgrp.rec.shpdat shpdat:"", // 装运日 .oldlidgrp.rec.shpdat
prepertxts18:"", // Presentation period text .oldlidgrp.rec.prepertxts18 prepertxts18:"", // Presentation period text .oldlidgrp.rec.prepertxts18
prepers18:"", // Presentation Period .oldlidgrp.rec.prepers18 prepers18:0, // Presentation Period .oldlidgrp.rec.prepers18
}, },
blk:{ blk:{
preper:"", // Presentation Period .oldlidgrp.blk.preper preper:"", // Presentation Period .oldlidgrp.blk.preper
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click=""
> >
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt"> <el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input <c-input
v-model.number="model.oldlidgrp.cbs.nom1.amt" v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
disabled disabled
></c-input> ></c-input>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount Tolerance +" prop="oldlidgrp.rec.nomtop"> <el-form-item label="Amount Tolerance +" prop="oldlidgrp.rec.nomtop">
<c-input <c-input
v-model="model.oldlidgrp.rec.nomtop" v-model.number="model.oldlidgrp.rec.nomtop"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
disabled disabled
></c-input> ></c-input>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount Tolerance -" prop="oldlidgrp.rec.nomton"> <el-form-item label="Amount Tolerance -" prop="oldlidgrp.rec.nomton">
<c-input <c-input
v-model="model.oldlidgrp.rec.nomton" v-model.number="model.oldlidgrp.rec.nomton"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
disabled disabled
></c-input> ></c-input>
...@@ -83,8 +83,7 @@ ...@@ -83,8 +83,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amended Amount" prop="trnmod.swiadd.ameamt"> <el-form-item label="Amended Amount" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额" <c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额."
@keyup.enter.native="amendfunc"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -107,13 +106,13 @@ ...@@ -107,13 +106,13 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="New positive tolerance" prop="trnmod.swiadd.newnomtop"> <el-form-item label="New positive tolerance" prop="trnmod.swiadd.newnomtop">
<c-input v-model="model.trnmod.swiadd.newnomtop" placeholder="请输入New positive tolerance"></c-input> <c-input v-model.number="model.trnmod.swiadd.newnomtop" placeholder="请输入New positive tolerance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="New negative tolerance" prop="trnmod.swiadd.newnomton"> <el-form-item label="New negative tolerance" prop="trnmod.swiadd.newnomton">
<c-input v-model="model.trnmod.swiadd.newnomton" placeholder="请输入New negative tolerance"></c-input> <c-input v-model.number="model.trnmod.swiadd.newnomton" placeholder="请输入New negative tolerance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -150,7 +149,7 @@ ...@@ -150,7 +149,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Presentation Period" prop="oldlidgrp.rec.prepers18"> <el-form-item label="Presentation Period" prop="oldlidgrp.rec.prepers18">
<c-input <c-input
v-model="model.oldlidgrp.rec.prepers18" v-model.number="model.oldlidgrp.rec.prepers18"
placeholder="请输入Presentation Period" placeholder="请输入Presentation Period"
disabled disabled
></c-input> ></c-input>
...@@ -210,14 +209,14 @@ ...@@ -210,14 +209,14 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amend.No" prop="trnmod.swiadd.amenbr"> <el-form-item label="Amend.No" prop="trnmod.swiadd.amenbr">
<c-input v-model="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input> <c-input v-model.number="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Actual Amendment No" prop="litamep.amenbr"> <el-form-item label="Actual Amendment No" prop="litamep.amenbr">
<c-input <c-input
v-model="model.litamep.amenbr" v-model.number="model.litamep.amenbr"
placeholder="请输入实际修改次数" placeholder="请输入实际修改次数"
disabled disabled
></c-input> ></c-input>
...@@ -302,7 +301,7 @@ ...@@ -302,7 +301,7 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="New Presentation Period" prop="trnmod.swiadd.prepers18"> <el-form-item label="New Presentation Period" prop="trnmod.swiadd.prepers18">
<c-input v-model="model.trnmod.swiadd.prepers18" placeholder="请输入New Presentation Period"></c-input> <c-input v-model.number="model.trnmod.swiadd.prepers18" placeholder="请输入New Presentation Period"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -310,23 +309,19 @@ ...@@ -310,23 +309,19 @@
<c-input v-model="model.trnmod.swiadd.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input> <c-input v-model="model.trnmod.swiadd.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.litp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
style="margin: 0px 0 10px 150px;"
v-model="model.litp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col> </c-col>
</c-col> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.max2.cur"> <el-form-item label="Currency" prop="lidgrp.cbs.max2.cur">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入Currency"></c-input> v-model="model.lidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Additional Amount" prop="trnmod.swiadd.addamt"> <el-form-item label="Additional Amount" prop="trnmod.swiadd.addamt">
<c-input <c-input
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') " :disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
...@@ -345,14 +340,10 @@ ...@@ -345,14 +340,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.trnmod.swiadd.reqcan">Cancellation Request</c-checkbox>
style="margin: 0px 0 10px 150px;"
v-model="model.trnmod.swiadd.reqcan">Cancellation Request</c-checkbox>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.litamep.cre707flg">Create Amendment Message</c-checkbox>
style="margin: 0px 0 10px 150px;"
v-model="model.litamep.cre707flg">Create Amendment Message</c-checkbox>
</c-col> </c-col>
</el-col> </el-col>
...@@ -374,14 +365,7 @@ export default { ...@@ -374,14 +365,7 @@ export default {
} }
}, },
methods:{...Event, methods:{...Event,
async amendfunc(){
let rtnmsg = await this.executeRule("trnmod.swiadd.ameamt")
if(rtnmsg.respCode==SUCCESS){
this.updateModel(rtnmsg.data);
}else{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}, },
created:function(){ created:function(){
......
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