Commit 4d9a1ce0 by jianglong

修改LITAME

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