Commit b44e28b5 by lianyang

letamc交易初始化

parent bae75c8b
import Utils from "~/utils"
/**
* Letamc Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"ledgrp.rec.opndat" :null,
"liaall.limmod.ownref" :null,
"ledgrp.iss.pts.nam" :null,
"liaall.limmod.ecifno" :null,
"ledgrp.rec.partcon" :null,
"ledgrp.iss.pts.adrblk" :null,
"ledgrp.ben.adrelc" :null,
"reqdat" :null,
"ledgrp.ben.pts.extkey" :null,
"ledgrp.cbs.cnf.amt" :null,
"ledgrp.apl.pts.nam" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"letp.usr.extkey" :null,
"ledgrp.ben.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"ledgrp.iss.adrelc" :null,
"ledgrp.apl.namelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.lcrtyp" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"ledgrp.iss.pts.extkey" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.rec.expplc" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.apl.pts.adrblk" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.apl.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.rec.apprultxt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Letamc Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"ledgrp.apl.pts.extkey" :Utils.defaultFunction,
"ledgrp.apl.adrelc" :Utils.defaultFunction,
"ledgrp.apl.namelc" :Utils.defaultFunction,
"ledgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.apl.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"ledgrp.ben.pts.extkey" :Utils.defaultFunction,
"ledgrp.ben.adrelc" :Utils.defaultFunction,
"ledgrp.ben.namelc" :Utils.defaultFunction,
"ledgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.cnfsta" :Utils.defaultFunction,
"ledgrp.rec.apprul" :Utils.defaultFunction,
"ledgrp.iss.pts.adrblk" :Utils.defaultFunction,
"letp.usr.extkey" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"ledgrp.iss.pts.extkey" :Utils.defaultFunction,
"ledgrp.iss.adrelc" :Utils.defaultFunction,
"ledgrp.iss.namelc" :Utils.defaultFunction,
"ledgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.avbby" :Utils.defaultFunction,
"ledgrp.cbs.opn1.cur" :Utils.defaultFunction,
"ledgrp.cbs.max2.amt" :Utils.defaultFunction,
"ledgrp.blk.addamtcov" :Utils.defaultFunction,
"ledgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ledgrp.ben.pts.adrblk" :Utils.defaultFunction,
"ledgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ledgrp.cbs.max2.cur" :Utils.defaultFunction,
"letp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"ledgrp.cbs.nom1.amt" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.advdat" :Utils.defaultFunction,
"ledgrp.rec.partcon" :Utils.defaultFunction,
"letp.letp0.cnftxt" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"ledgrp.rec.nomtop" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ledgrp.cbs.max.amt" :Utils.defaultFunction,
"ledgrp.cbs.cnf.cur" :Utils.defaultFunction,
"ledgrp.cbs.cnf.amt" :Utils.defaultFunction,
"ledgrp.rec.shppars18" :Utils.defaultFunction,
"ledgrp.rec.shppar" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.shptrss18" :Utils.defaultFunction,
"ledgrp.rec.shptrs" :Utils.defaultFunction,
"reqdat" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
"ledgrp.rec.shpdat" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.nonban" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.cbs.max.cur" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLetpButgetref(){
let rtnmsg = await this.executeRule("letp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIsspDet(){
let rtnmsg = await this.executeRule("issp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"letp.letp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"ledgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"letp.letp0.cnftxt":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.cbs.cnf.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.cnf.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.rec.partcon":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"reqdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.cnfdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"letp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"letp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.benp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.ben.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"ledgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"ledgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.issp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.preadvdt":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.issp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.iss.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ledgrp.iss.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"ledgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"letp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.oppbnk":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.rec.apprultxt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"ledgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Letamc{
constructor () {
this.data = {
setmod: new Pub().data.Setmod, //加入公共面板账务字段
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, //加入公共面板面函的字段
letbenl1blk: "", //加入公共面板面函的字段
letissl1blk: "",
letbenl3blk: "",
letbenl2blk: "",
letbenl4blk: "",
liaall: new Pub().data.Liaall, //加入公共面板表外字段
letp:{
letp0:{
recget:{
sdamod:{
dadsnd:"", // Reference .letp.letp0.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .letp.letp0.aammod.addamtflg
},
cnftxt:"", // Form of L/C .letp.letp0.cnftxt
},
recget:{
sdamod:{
seainf:"", // .letp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .letp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .letp.usrget.sdamod.seainf
},
},
aamp:{
aammod:{
addamtflg:"", // Add. Amount .letp.aamp.aammod.addamtflg
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .letp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.benp.ptsget.sdamod.dadsnd
},
},
},
issp:{
ptsget:{
sdamod:{
seainf:"", // .letp.issp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.issp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .letp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .letp.aplp.ptsget.sdamod.dadsnd
},
},
},
oppbnkl:"", // 对手行代码 .letp.oppbnkl
},
ledgrp:{
rec:{
ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
avbby:"", // Available by [AVBBY0] .ledgrp.rec.avbby
redclsflg:"", // Red/Green Clause .ledgrp.rec.redclsflg
opndat:"", // Issued on .ledgrp.rec.opndat
shpdat:"", // Shipment Date .ledgrp.rec.shpdat
expdat:"", // Expiring on .ledgrp.rec.expdat
expplc:"", // in (Place)/ counters of .ledgrp.rec.expplc
lcrtyp:"", // Form of L/C .ledgrp.rec.lcrtyp
revflg:"", // Revolving Flag .ledgrp.rec.revflg
cnfdet:"", // Confirmation Instruct. .ledgrp.rec.cnfdet
cnfsta:"", // Confirmation Status .ledgrp.rec.cnfsta
partcon:"", // Partial Confirmation .ledgrp.rec.partcon
cnfdat:"", // Confirmed on .ledgrp.rec.cnfdat
collflg:"", // Collateralized L/C .ledgrp.rec.collflg
nomtop:"", // Amount Tolerance +/- .ledgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .ledgrp.rec.nomton
nomspc:"", // Amount Specification .ledgrp.rec.nomspc
inctrf:"", // Incoming Transfer .ledgrp.rec.inctrf
resflg:"", // Reserved Contract .ledgrp.rec.resflg
preadvdt:"", // Date Pre-advised .ledgrp.rec.preadvdt
advdat:"", // Released on .ledgrp.rec.advdat
apprul:"", // Applicable Rules .ledgrp.rec.apprul
apprultxt:"", // Other Applicable Rules .ledgrp.rec.apprultxt
shppar:"", // Partial Shipment .ledgrp.rec.shppar
shptrs:"", // Transshipment .ledgrp.rec.shptrs
nonban:"", // Non-Bank Issuer .ledgrp.rec.nonban
teskeyunc:"", // Test Key Unconfirmity .ledgrp.rec.teskeyunc
dbtflg:"", // Authorization to Debit .ledgrp.rec.dbtflg
oppbnk:"", // 境内外对手行代码 .ledgrp.rec.oppbnk
shppars18:"", // Partial Shipment .ledgrp.rec.shppars18
shptrss18:"", // Transshipment .ledgrp.rec.shptrss18
},
cbs:{
nom1:{
cur:"", // Nominal Amount .ledgrp.cbs.nom1.cur
amt:"", // Nominal Amount .ledgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Open Amount .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
cnf:{
cur:"", // Confirmation .ledgrp.cbs.cnf.cur
amt:"", // Balance .ledgrp.cbs.cnf.amt
},
max:{
cur:"", // Maximum Amount .ledgrp.cbs.max.cur
amt:"", // Maximum Amount .ledgrp.cbs.max.amt
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.apl.namelc
adrelc:"", // 地址 .ledgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.apl.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.iss.namelc
adrelc:"", // 地址 .ledgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.iss.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.ben.namelc
adrelc:"", // 地址 .ledgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .ledgrp.ben.dbfadrblkcn
},
avbnam:"", // Available with .ledgrp.avbnam
preadvflg:"", // PreAdvice or Notification .ledgrp.preadvflg
},
reqdat:"", // Confir. Requested on .reqdat
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// glemod:{
// gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
// mtabut:{
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -131,6 +131,7 @@ import Getcrq from "./Getcrq"
import Betdcr from "./Betdcr"
import Betdrv from "./Betdrv"
import Letnot from "./Letnot"
import Letamc from "./Letamc"
import Ditdav from "./Ditdav"
import Infpty from "./Infpty"
......@@ -308,6 +309,7 @@ const BusRouter = [
{ path: 'betdcr', component: Betdcr, name: 'Betdcr', meta: { title: '出口信用证电提不符点/拒付' } },
{ path: 'betdrv', component: Betdrv, name: 'Betdrv', meta: { title: '出口信用证单据修改' } },
{ path: 'letnot', component: Letnot, name: 'Letnot', meta: { title: '出口信用证预通知' } },
{ path: 'letamc', component: Letamc, name: 'Letamc', meta: { title: '出口信用证通知加保兑' } },
{ path: 'infbpd', component: Infbpd, name: 'Infbpd', meta: { title: '出口押汇查询' } },
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="35" show-word-limit
placeholder="请输入Covered"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letamc/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<!-- =========================== 左边 ==========================-->
<c-col :span="11">
<!-- Reference -->
<c-col :span="24">
<el-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
</el-form-item>
</c-col>
<!-- L/C Amount -->
<c-col :span="12">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入Nominal Amount"
:code="codes.curtxt1" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input v-model="model.ledgrp.cbs.nom1.amt" placeholder="请输入Nominal Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.letp.letp0.aammod.addamtflg" disabled>Add. Amount</c-checkbox>
</c-col>
<!-- Open Amount -->
<c-col :span="12">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-select v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"
:code="codes.curtxt1" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入Balance" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.ledgrp.rec.revflg" disabled>Revolving L/C</c-checkbox>
</c-col>
<!-- Available with -->
<c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.avbnam">
<c-input v-model="model.ledgrp.avbnam" maxlength="40" placeholder="请输入Available with" disabled></c-input>
</el-form-item>
</c-col>
<!-- by -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="by" prop="ledgrp.rec.avbby">
<c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by [AVBBY0]"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-checkbox v-model="model.ledgrp.rec.redclsflg" disabled>Red/Green Clause</c-checkbox>
</c-col>
</c-col>
<!-- Date Issued -->
<c-col :span="12">
<el-form-item label="Date Issued" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width:100%" placeholder="请选择Issued on"
disabled>
</c-date-picker>
</el-form-item>
</c-col>
<!-- Shipment Date -->
<c-col :span="12">
<el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width:100%"
placeholder="请选择Shipment Date" disabled>
</c-date-picker>
</el-form-item>
</c-col>
<!-- Date/Place of Expiry -->
<c-col :span="13">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width:100%" placeholder="请选择Expiring on"
disabled>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="10px" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入in (Place)/ counters of"
disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C"
disabled>
</c-select>
</el-form-item>
</c-col>
<!-- Condition -->
<c-col :span="24">
<el-form-item label="Condition" prop="ledgrp.rec.cnfdet">
<c-select v-model="model.ledgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirmation Instruct."
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Confirmation Status " prop="ledgrp.rec.cnfsta">
<c-select v-model="model.ledgrp.rec.cnfsta" style="width:100%" placeholder="请选择Confirmation Status "
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Confirmation" prop="ledgrp.cbs.cnf.cur">
<c-select v-model="model.ledgrp.cbs.cnf.cur" maxlength="3" placeholder="请输入Confirmation"
:code="codes.curtxt1" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="10px" prop="ledgrp.cbs.cnf.amt">
<c-input v-model="model.ledgrp.cbs.cnf.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="10px" prop="ledgrp.rec.partcon">
<c-fullbox>
<c-input v-model="model.ledgrp.rec.partcon" placeholder="请输入Partial Confirmation"></c-input>
<!-- <span>%</span> -->
<template slot="footer">%</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Confir. Requested on" prop="reqdat">
<c-date-picker type="date" v-model="model.reqdat" style="width:100%" placeholder="请选择Confir. Requested on">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Confirmed on" prop="ledgrp.rec.cnfdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.cnfdat" style="width:100%" placeholder="请选择Confirmed on">
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- =========================== 右边 ==========================-->
<c-col :span="11" :offset="1">
<c-col :span="12">
<el-form-item label="name" prop="letp.letp0.recget.sdamod.dadsnd">
<c-input v-model="model.letp.letp0.recget.sdamod.dadsnd" placeholder="请输入Reference" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name" disabled></c-input>
</el-form-item>
</c-col>
<!-- Applicant Ref. -->
<c-col :span="24">
<el-form-item label="Applicant Ref." prop="ledgrp.apl.pts.ref">
<c-input v-model="model.ledgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref." disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.apl.pts.nam">
<c-input v-model="model.ledgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Issuer Ref." prop="ledgrp.iss.pts.ref">
<c-input v-model="model.ledgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuer Ref." disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.iss.pts.nam">
<c-input v-model="model.ledgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref." disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.ben.pts.nam">
<c-input v-model="model.ledgrp.ben.pts.nam" maxlength="40" placeholder="请输入Date/Place of Expiry" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="letp.letp0.cnftxt">
<c-input v-model="model.letp.letp0.cnftxt" maxlength="40" placeholder="请输入Form of L/C" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letamc/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.recget.sdamod.dadsnd">
<c-input v-model="model.letp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.recget.sdamod.seainf">
<c-input v-model="model.letp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLetpButgetref">
Get Ref
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.benp.ptsget.sdamod.dadsnd">
<c-input v-model="model.letp.benp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Responsible User" prop="letp.usr.extkey">
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入Responsible User"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.usrget.sdamod.seainf">
<c-input v-model="model.letp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.collflg">Collateralized L/C</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="ledgrp.ben.pts.extkey">
<c-input v-model="model.ledgrp.ben.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.benp.ptsget.sdamod.seainf">
<c-input v-model="model.letp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBenpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.ben.namelc">
<c-input type="textarea" v-model="model.ledgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Nominal Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.amt">
<c-input v-model="model.ledgrp.cbs.nom1.amt" placeholder="请输入Nominal Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="addamtflg">Add. Amount</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.ben.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.ben.dbfadrblkcn">
<c-input type="textarea" v-model="model.ledgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.preadvflg">PreAdvice or Notification</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" placeholder="请输入Amount Tolerance +/-"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Tolerance - Negative" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.ben.adrelc">
<c-input type="textarea" v-model="model.ledgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.inctrf">Incoming Transfer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc">
<c-select v-model="model.ledgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.resflg">Reserved Contract</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Maximum Amount" prop="ledgrp.cbs.max.cur">
<c-select v-model="model.ledgrp.cbs.max.cur" style="width:100%" placeholder="请选择Maximum Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maximum Amount" prop="ledgrp.cbs.max.amt">
<c-input v-model="model.ledgrp.cbs.max.amt" placeholder="请输入Maximum Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Issuer Ref." prop="ledgrp.iss.pts.ref">
<c-input v-model="model.ledgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuer Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.issp.ptsget.sdamod.dadsnd">
<c-input v-model="model.letp.issp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Issued on" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width:100%" placeholder="请选择Issued on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date Pre-advised" prop="ledgrp.rec.preadvdt">
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width:100%" placeholder="请选择Date Pre-advised"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="ledgrp.iss.pts.extkey">
<c-input v-model="model.ledgrp.iss.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.issp.ptsget.sdamod.seainf">
<c-input v-model="model.letp.issp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.iss.namelc">
<c-input type="textarea" v-model="model.ledgrp.iss.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width:100%" placeholder="请选择Shipment Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Released on" prop="ledgrp.rec.advdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.advdat" style="width:100%" placeholder="请选择Released on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.iss.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.iss.dbfadrblkcn">
<c-input type="textarea" v-model="model.ledgrp.iss.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Expiring on" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width:100%" placeholder="请选择Expiring on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.iss.adrelc">
<c-input type="textarea" v-model="model.ledgrp.iss.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="in (Place)/ counters of" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入in (Place)/ counters of"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Applicant Ref." prop="ledgrp.apl.pts.ref">
<c-input v-model="model.ledgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.aplp.ptsget.sdamod.dadsnd">
<c-input v-model="model.letp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="ledgrp.apl.pts.extkey">
<c-input v-model="model.ledgrp.apl.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.letp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.apl.namelc">
<c-input type="textarea" v-model="model.ledgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.letp.oppbnkl" data-path=".letp.oppbnkl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="境内外对手行代码" prop="ledgrp.rec.oppbnk">
<c-input v-model="model.ledgrp.rec.oppbnk" maxlength="12" placeholder="请输入境内外对手行代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.apl.pts.adrblk">
<c-input type="textarea" v-model="model.ledgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.apl.dbfadrblkcn">
<c-input type="textarea" v-model="model.ledgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Applicable Rules" prop="ledgrp.rec.apprul">
<c-select v-model="model.ledgrp.rec.apprul" style="width:100%" placeholder="请选择Applicable Rules">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.apl.adrelc">
<c-input type="textarea" v-model="model.ledgrp.apl.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Other Applicable Rules" prop="ledgrp.rec.apprultxt">
<c-input v-model="model.ledgrp.rec.apprultxt" maxlength="35" placeholder="请输入Other Applicable Rules"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Partial Shipment" prop="ledgrp.rec.shppar">
<c-select v-model="model.ledgrp.rec.shppar" style="width:100%" placeholder="请选择Partial Shipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Partial Shipment" prop="ledgrp.rec.shppars18">
<c-select v-model="model.ledgrp.rec.shppars18" style="width:100%" placeholder="请选择Partial Shipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Transshipment" prop="ledgrp.rec.shptrs">
<c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择Transshipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transshipment" prop="ledgrp.rec.shptrss18">
<c-select v-model="model.ledgrp.rec.shptrss18" style="width:100%" placeholder="请选择Transshipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letamc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
computed:{
addamtflg: {
get() {
return this.model.letp.aamp.aammod.addamtflg != ''
},
set(val) {
this.model.letp.aamp.aammod.addamtflg = val ? "X" : ""
}
},
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">查询</el-button>
<el-button size="small">用户确认</el-button>
<el-button size="small">检核</el-button>
<el-button size="small">日志</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000056 -->
<el-tab-pane label="Confirmation" name="conp">
<c-content>
<m-conp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000017 -->
<el-tab-pane label="Overview" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane v-if="model.letp.aamp.aammod.addamtflg" label="Additional Amount" name="aamp">
<c-content>
<m-aamp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Letamc from "~/model/Letamc"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Letamc/Check"
import Default from "~/model/Letamc/Default"
import Pattern from "~/model/Letamc/Pattern"
import Conp from "./Conp"
import Ovwp from "./Ovwp"
import Aamp from "./Aamp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Glepan from "./Glepan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Letamc",
components: {
"m-conp": Conp,
"m-ovwp": Ovwp,
"m-aamp": Aamp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "conp",
trnName: "letamc",
model: new Letamc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入letamc交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
......@@ -160,7 +160,7 @@
</c-col>
<!-- Own Charges Borne by -->
<c-col :span="18">
<c-col :span="24">
<el-form-item label="自行承担费用" prop="ledgrp.rec.chato">
<c-select
v-model="model.ledgrp.rec.chato"
......@@ -172,7 +172,7 @@
</el-form-item>
</c-col>
<c-col :span="18">
<c-col :span="24">
<el-form-item label="国家统计代码" prop="ledgrp.rec.stacty">
<c-select
v-model="model.ledgrp.rec.stacty"
......@@ -184,7 +184,7 @@
</el-form-item>
</c-col>
<c-col :span="18">
<c-col :span="24">
<el-form-item label="兑付最高期限" prop="ledgrp.rec.tenmaxday">
<c-input
v-model="model.ledgrp.rec.tenmaxday"
......
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