Commit f40cc86b by 孟冬雪

mdx

parent 7d38ccfa
import Utils from "~/utils"
/**
* Lttame Check规则
*/
let checkObj = {
"lttp.a2tp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.a2t.adrelc" :null,
"ltdgrp.avt.namelc" :null,
"ltdgrp.rec.stacty" :null,
"ltdgrp.a2t.pts.extkey" :null,
"lttp.usr.extkey" :null,
"ltdgrp.rec.opndat" :null,
"ltdgrp.be2.pts.extkey" :null,
"ltdgrp.be2.namelc" :null,
"ltdgrp.rmt.adrelc" :null,
"trnmod.swiadd.amenbr" :null,
"ltdgrp.rmt.pts.extkey" :null,
"ltdgrp.blk.dftat" :null,
"lttp.letp0.recget.sdamod.dadsnd" :null,
"lttp.drwp.ptsget.sdamod.dadsnd" :null,
"lttp.rmtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.nam" :null,
"trnmod.swiadd.newshpdat" :null,
"trnmod.swiadd.newexpdat" :null,
"ltdgrp.avt.pts.adrblk" :null,
"ltdgrp.a2t.pts.adrblk" :null,
"ltdgrp.adt.pts.extkey" :null,
"ltdgrp.blk.mixdet" :null,
"ltdgrp.drw.adrelc" :null,
"ltdgrp.drw.pts.extkey" :null,
"lttp.ledget.sdamod.dadsnd" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.con.namelc" :null,
"ltdgrp.adt.adrelc" :null,
"ltdgrp.avt.adrelc" :null,
"ltdgrp.rec.expplc" :null,
"lttp.conp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be2.pts.adrblk" :null,
"trnmod.swiadd.newamt" :null,
"lttp.be1p.ptsget.sdamod.dadsnd" :null,
"lttamep.recget.sdamod.dadsnd" :null,
"ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.feetxt" :null,
"ltdgrp.rec.avbby" :null,
"trnmod.swiadd.addamt" :null,
"ltdgrp.blk.preper" :null,
"ltdgrp.rmt.namelc" :null,
"ltdgrp.blk.addamtcov" :null,
"ltdgrp.cbs.max2.amt" :null,
"ltdgrp.be2.adrelc" :null,
"ltdgrp.adt.pts.adrblk" :null,
"trnmod.swiadd.newnomtop" :null,
"ltdgrp.rec.prepers18" :null,
"trnmod.swiadd.newnomton" :null,
"lttp.be2p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null,
"ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null,
"lttp.recget.sdamod.dadsnd" :null,
"ltdgrp.adt.namelc" :null,
"ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null,
"ltdgrp.rec.tenmaxday" :null,
"ltdgrp.rec.apprul" :null,
"trnmod.swiadd.prepers18" :null,
"lttp.adtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.blk.defdet" :null,
"ltdgrp.drw.namelc" :null,
"ltdgrp.drw.pts.adrblk" :null,
"trnmod.swiadd.purpos" :null,
"ltdgrp.a2t.namelc" :null,
"ltdgrp.con.pts.adrblk" :null,
"lttp.avtp.ptsget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Lttame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"trnmod.swiadd.nomspc" :Utils.defaultFunction,
"ltdgrp.a2t.pts.extkey" :Utils.defaultFunction,
"ltdgrp.a2t.adrelc" :Utils.defaultFunction,
"ltdgrp.a2t.namelc" :Utils.defaultFunction,
"ltdgrp.a2t.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.avt.pts.adrblk" :Utils.defaultFunction,
"lttp.usr.extkey" :Utils.defaultFunction,
"ltdgrp.rmt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.rmt.adrelc" :Utils.defaultFunction,
"ltdgrp.rmt.namelc" :Utils.defaultFunction,
"ltdgrp.rmt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.avbwth" :Utils.defaultFunction,
"ltdgrp.blk.avbwthtxt" :Utils.defaultFunction,
"ltdgrp.avt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.avt.adrelc" :Utils.defaultFunction,
"ltdgrp.avt.namelc" :Utils.defaultFunction,
"ltdgrp.avt.dbfadrblkcn" :Utils.defaultFunction,
"lttamep.ramrol" :Utils.defaultFunction,
"oldltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"ltdgrp.blk.shpper" :Utils.defaultFunction,
"trnmod.swiadd.newshpdat" :Utils.defaultFunction,
"ltdgrp.rec.nomtop" :Utils.defaultFunction,
"ltdgrp.adt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.adt.adrelc" :Utils.defaultFunction,
"ltdgrp.adt.namelc" :Utils.defaultFunction,
"ltdgrp.adt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.con.pts.extkey" :Utils.defaultFunction,
"ltdgrp.con.adrelc" :Utils.defaultFunction,
"ltdgrp.con.namelc" :Utils.defaultFunction,
"ltdgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.a2t.pts.adrblk" :Utils.defaultFunction,
"oldltdgrp.rec.expdat" :Utils.defaultFunction,
"trnmod.swiadd.newexpdat" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.avbby" :Utils.defaultFunction,
"ltdgrp.drw.pts.extkey" :Utils.defaultFunction,
"ltdgrp.drw.adrelc" :Utils.defaultFunction,
"ltdgrp.drw.namelc" :Utils.defaultFunction,
"ltdgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.rmbflg" :Utils.defaultFunction,
"ltdgrp.be2.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.be2.pts.extkey" :Utils.defaultFunction,
"ltdgrp.be2.adrelc" :Utils.defaultFunction,
"ltdgrp.be2.namelc" :Utils.defaultFunction,
"ltdgrp.be2.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.adt.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.preper" :Utils.defaultFunction,
"ltdgrp.blk.preperflg" :Utils.defaultFunction,
"ltdgrp.cbs.max2.cur" :Utils.defaultFunction,
"ltdgrp.rec.opndat" :Utils.defaultFunction,
"trnmod.swiadd.addamt" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.rec.prepers18" :Utils.defaultFunction,
"trnmod.swiadd.prepers18" :Utils.defaultFunction,
"oldltdgrp.rec.prepers18" :Utils.defaultFunction,
"ltdgrp.be1.pts.extkey" :Utils.defaultFunction,
"trnmod.swiadd.newnomtop" :Utils.defaultFunction,
"trnmod.swiadd.newamt" :Utils.defaultFunction,
"trnmod.swiadd.newcur" :Utils.defaultFunction,
"lttp.leltb2b.litb2bstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.apprul" :Utils.defaultFunction,
"ltdgrp.cbs.max.cur" :Utils.defaultFunction,
"trnmod.swiadd.purpos" :Utils.defaultFunction,
"ltdgrp.rmt.pts.adrblk" :Utils.defaultFunction,
"oldltdgrp.cbs.max.amt" :Utils.defaultFunction,
"lttamep.maxamt" :Utils.defaultFunction,
"trnmod.swiadd.newnomton" :Utils.defaultFunction,
"trnmod.swiadd.addamtcov" :Utils.defaultFunction,
"ltdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ltdgrp.blk.addamtcov" :Utils.defaultFunction,
"lttp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"ltdgrp.rec.cnfins" :Utils.defaultFunction,
"ltdgrp.con.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.rec.spcbenflg" :Utils.defaultFunction,
"trnmod.swiadd.amedat" :Utils.defaultFunction,
"ltdgrp.blk.adlcndame" :Utils.defaultFunction,
"ltdgrp.blk.lcrdocame" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.shppar" :Utils.defaultFunction,
"ltdgrp.rec.shppars18" :Utils.defaultFunction,
"ltdgrp.blk.lcrgodame" :Utils.defaultFunction,
"lttp.letp0.cnftxt" :Utils.defaultFunction,
"ltdgrp.rec.shptrs" :Utils.defaultFunction,
"ltdgrp.rec.shptrss18" :Utils.defaultFunction,
"trnmod.swiadd.trnchato" :Utils.defaultFunction,
"ltdgrp.drw.pts.adrblk" :Utils.defaultFunction,
"oldltdgrp.rec.prepertxts18" :Utils.defaultFunction,
"trnmod.swiadd.prepertxts18" :Utils.defaultFunction,
"ltdgrp.rec.spcrcbflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLttpButgetref() {
let rtnmsg = await this.executeRule("lttp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {
},
async onBe1pDet() {
let rtnmsg = await this.executeRule("be1p.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdtpDet() {
let rtnmsg = await this.executeRule("adtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBe2pDet() {
let rtnmsg = await this.executeRule("be2p.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onA2tpDet() {
let rtnmsg = await this.executeRule("a2tp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRmtpDet() {
let rtnmsg = await this.executeRule("rmtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onConpDet() {
let rtnmsg = await this.executeRule("conp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAvtpDet() {
let rtnmsg = await this.executeRule("avtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onChariaButtxmsel() {
let rtnmsg = await this.executeRule("charia.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrwpDet() {
let rtnmsg = await this.executeRule("drwp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Lttcan Check规则
*/
let checkObj = {
"lttp0.recget.sdamod.dadsnd" :null,
"sndmsg" :null,
"lttcanp.trnrec.strinf" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Lttcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.be2.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCanletButtxmsel(){
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lttp0.ledget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ltdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lttp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lttp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ltdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ltdgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ltdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ltdgrp.be1.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ltdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ltdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ltdgrp.be1.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ltdgrp.avt.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ltdgrp.be2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ltdgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ltdgrp.be2.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ltdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ltdgrp.adt.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ltdgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ltdgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"ltdgrp.adt.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lttcanp.trnrec.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Lttcan{
constructor () {
this.data = {
lttp0:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp0.recget.sdamod.dadsnd
seainf:"", // .lttp0.recget.sdamod.seainf
},
},
ledget:{
sdamod:{
seainf:"", // .lttp0.ledget.sdamod.seainf
},
},
aammod:{
addamtflg:"", // Add. Amount .lttp0.aammod.addamtflg
},
},
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
},
},
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
nam:"", // Name .ltdgrp.rec.nam
avbby:"", // Available by .ltdgrp.rec.avbby
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc
},
cbs:{
nom1:{
cur:"", // Transfer L/C Amount .ltdgrp.cbs.nom1.cur
amt:"", // Balance .ltdgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur
amt:"", // Balance .ltdgrp.cbs.opn1.amt
},
},
avt:{
pts:new Pts().data,
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
adt:{
pts:new Pts().data,
},
},
lttcanp:{
trnrec:{
strinf:"", // Narrative .lttcanp.trnrec.strinf
},
},
sndmsg:"", // Send Message .sndmsg
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Lttopn Check规则
*/
let checkObj = {
"lttp.a2tp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.rec.cnfins" :null,
"ltdgrp.rec.nomspc" :null,
"ltdgrp.a2t.adrelc" :null,
"ltdgrp.blk.lcrdoc" :null,
"ltdgrp.avt.namelc" :null,
"ltdgrp.rec.stacty" :null,
"ltdgrp.a2t.pts.extkey" :null,
"lttp.usr.extkey" :null,
"ltdgrp.rec.nomtop" :null,
"ltdgrp.rec.nomton" :null,
"ltdgrp.rec.opndat" :null,
"ltdgrp.cbs.nom1.amt" :null,
"ltdgrp.be2.pts.extkey" :null,
"ltdgrp.be2.namelc" :null,
"ltdgrp.rmt.adrelc" :null,
"ltdgrp.cbs.max.amt" :null,
"ltdgrp.rmt.pts.extkey" :null,
"ltdgrp.blk.dftat" :null,
"lttp.letp0.recget.sdamod.dadsnd" :null,
"ltdgrp.rec.expdat" :null,
"ltdgrp.cbs.nom1.cur" :null,
"lttp.drwp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.blk.adlcnd" :null,
"lttp.rmtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.nam" :null,
"ltdgrp.rec.shpdat" :null,
"ltdgrp.avt.pts.adrblk" :null,
"ltdgrp.blk.shpper" :null,
"ltdgrp.a2t.pts.adrblk" :null,
"ltdgrp.adt.pts.extkey" :null,
"ltdgrp.rec.rmbcha" :null,
"ltdgrp.blk.mixdet" :null,
"ltdgrp.drw.adrelc" :null,
"ltdgrp.drw.pts.extkey" :null,
"lttp.ledget.sdamod.dadsnd" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.blk.insbnk" :null,
"ltdgrp.con.namelc" :null,
"ltdgrp.adt.adrelc" :null,
"ltdgrp.avt.adrelc" :null,
"ltdgrp.rec.expplc" :null,
"lttp.conp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be2.pts.adrblk" :null,
"lttp.be1p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.rec.apprulrmb" :null,
"ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.feetxt" :null,
"ltdgrp.rec.avbby" :null,
"ltdgrp.blk.preper" :null,
"ltdgrp.rmt.namelc" :null,
"ltdgrp.rec.ownref" :null,
"ltdgrp.be2.adrelc" :null,
"ltdgrp.adt.pts.adrblk" :null,
"ltdgrp.rec.prepers18" :null,
"ltdgrp.blk.lcrgod" :null,
"lttp.be2p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null,
"ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null,
"lttp.recget.sdamod.dadsnd" :null,
"ltdgrp.adt.namelc" :null,
"ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null,
"ltdgrp.rec.tenmaxday" :null,
"ltdgrp.rec.apprul" :null,
"lttp.adtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.blk.defdet" :null,
"ltdgrp.drw.namelc" :null,
"ltdgrp.drw.pts.adrblk" :null,
"ltdgrp.a2t.namelc" :null,
"ltdgrp.con.pts.adrblk" :null,
"lttp.avtp.ptsget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Lttopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ltdgrp.a2t.pts.extkey" :Utils.defaultFunction,
"ltdgrp.a2t.adrelc" :Utils.defaultFunction,
"ltdgrp.a2t.namelc" :Utils.defaultFunction,
"ltdgrp.a2t.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.avt.pts.adrblk" :Utils.defaultFunction,
"lttp.usr.extkey" :Utils.defaultFunction,
"ltdgrp.rmt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.rmt.adrelc" :Utils.defaultFunction,
"ltdgrp.rmt.namelc" :Utils.defaultFunction,
"ltdgrp.rmt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.avbwth" :Utils.defaultFunction,
"ltdgrp.blk.avbwthtxt" :Utils.defaultFunction,
"ltdgrp.avt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.avt.adrelc" :Utils.defaultFunction,
"ltdgrp.avt.namelc" :Utils.defaultFunction,
"ltdgrp.avt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.opndat" :Utils.defaultFunction,
"ltdgrp.rec.nomtop" :Utils.defaultFunction,
"ltdgrp.adt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.adt.adrelc" :Utils.defaultFunction,
"ltdgrp.adt.namelc" :Utils.defaultFunction,
"ltdgrp.adt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ltdgrp.con.pts.extkey" :Utils.defaultFunction,
"ltdgrp.con.adrelc" :Utils.defaultFunction,
"ltdgrp.con.namelc" :Utils.defaultFunction,
"ltdgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.a2t.pts.adrblk" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"ltdgrp.blk.adlcnd" :Utils.defaultFunction,
"ltdgrp.rec.avbby" :Utils.defaultFunction,
"ltdgrp.drw.pts.extkey" :Utils.defaultFunction,
"ltdgrp.drw.adrelc" :Utils.defaultFunction,
"ltdgrp.drw.namelc" :Utils.defaultFunction,
"ltdgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.blk.shpper" :Utils.defaultFunction,
"ltdgrp.rec.rmbcha" :Utils.defaultFunction,
"ltdgrp.rec.rmbflg" :Utils.defaultFunction,
"ltdgrp.blk.lcrgod" :Utils.defaultFunction,
"ltdgrp.rmt.pts.dftact" :Utils.defaultFunction,
"ltdgrp.be2.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.insbnk" :Utils.defaultFunction,
"ltdgrp.be2.pts.extkey" :Utils.defaultFunction,
"ltdgrp.be2.adrelc" :Utils.defaultFunction,
"ltdgrp.be2.namelc" :Utils.defaultFunction,
"ltdgrp.be2.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.adt.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.preper" :Utils.defaultFunction,
"ltdgrp.blk.preperflg" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.rec.prepers18" :Utils.defaultFunction,
"ltdgrp.be1.pts.extkey" :Utils.defaultFunction,
"lttp.leltb2b.litb2bstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.apprul" :Utils.defaultFunction,
"ltdgrp.cbs.max.cur" :Utils.defaultFunction,
"ltdgrp.rmt.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.rec.prepertxts18" :Utils.defaultFunction,
"lttp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"ltdgrp.con.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.rec.spcbenflg" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.shppar" :Utils.defaultFunction,
"ltdgrp.rec.shppars18" :Utils.defaultFunction,
"lttp.letp0.cnftxt" :Utils.defaultFunction,
"ltdgrp.rec.shptrs" :Utils.defaultFunction,
"ltdgrp.rec.shptrss18" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.shpdat" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.drw.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.rec.spcrcbflg" :Utils.defaultFunction,
"ltdgrp.cbs.max.amt" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLttpButgetref(){
let rtnmsg = await this.executeRule("lttp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBe1pDet(){
let rtnmsg = await this.executeRule("be1p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdtpDet(){
let rtnmsg = await this.executeRule("adtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBe2pDet(){
let rtnmsg = await this.executeRule("be2p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAvtpDet(){
let rtnmsg = await this.executeRule("avtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChariaButtxmsel(){
let rtnmsg = await this.executeRule("charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrwpDet(){
let rtnmsg = await this.executeRule("drwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA2tpDet(){
let rtnmsg = await this.executeRule("a2tp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmtpDet(){
let rtnmsg = await this.executeRule("rmtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Lttopn{
constructor () {
this.data = {
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:"", // Date Issued .ledgrp.rec.opndat
shpdat:"", // Shipment Date .ledgrp.rec.shpdat
expdat:"", // Date/Place of Expiry .ledgrp.rec.expdat
expplc:"", // Date/Place of Expiry .ledgrp.rec.expplc
lcrtyp:"", // Form of L/C .ledgrp.rec.lcrtyp
revflg:"", // Revolving Flag .ledgrp.rec.revflg
},
cbs:{
nom1:{
cur:"", // L/C Amount .ledgrp.cbs.nom1.cur
amt:"", // Balance .ledgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Open Amount .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
avbnam:"", // Available with .ledgrp.avbnam
},
lttp:{
ledget:{
sdamod:{
seainf:"", // Reference of L/C .lttp.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.ledget.sdamod.dadsnd
},
},
ptsaddp:{
ptsaddg:[],
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp.recget.sdamod.dadsnd
seainf:"", // .lttp.recget.sdamod.seainf
},
},
usr:{
extkey:"", // Responsible User .lttp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .lttp.usrget.sdamod.seainf
},
},
aamp:{
aammod:{
addamtflg:"", // Add. Amount .lttp.aamp.aammod.addamtflg
},
},
be1p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp.be1p.ptsget.sdamod.dadsnd
seainf:"", // .lttp.be1p.ptsget.sdamod.seainf
},
},
},
adtp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.adtp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.adtp.ptsget.sdamod.dadsnd
},
},
},
be2p:{
ptsget:{
sdamod:{
seainf:"", // .lttp.be2p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.be2p.ptsget.sdamod.dadsnd
},
},
},
avtp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.avtp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.avtp.ptsget.sdamod.dadsnd
},
},
},
drwp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.drwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.drwp.ptsget.sdamod.dadsnd
},
},
},
labdefdet:"", // DEFDAT LAbel .lttp.labdefdet
a2tp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.a2tp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.a2tp.ptsget.sdamod.dadsnd
},
},
},
rmtp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.rmtp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.rmtp.ptsget.sdamod.dadsnd
},
},
},
conp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.conp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.conp.ptsget.sdamod.dadsnd
},
},
},
rmbnar:"", // MT747 :77A: .lttp.rmbnar
letp0:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp.letp0.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .lttp.letp0.aammod.addamtflg
},
cnftxt:"", // Confirmation text .lttp.letp0.cnftxt
},
leltb2b:{
litb2bstm:"", // Streamgrid of other L/Cs backed by B2B LE .lttp.leltb2b.litb2bstm
},
totamt:"", // Total Amount .lttp.totamt
},
ltdgrp:{
rec:{
ownref:"", // Reference .ltdgrp.rec.ownref
nam:"", // Name .ltdgrp.rec.nam
lcrtyp:"", // Form of Transfer .ltdgrp.rec.lcrtyp
nomtop:"", // Amount Tolerance +/- .ltdgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .ltdgrp.rec.nomton
nomspc:"", // Amount Specification .ltdgrp.rec.nomspc
opndat:"", // Issued on .ltdgrp.rec.opndat
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
expdat:"", // Date of Expiry .ltdgrp.rec.expdat
expplc:"", // Place of Expiry .ltdgrp.rec.expplc
shppar:"", // Partial Shipment .ltdgrp.rec.shppar
shptrs:"", // Transhipment .ltdgrp.rec.shptrs
apprul:"", // Applicable Rules .ltdgrp.rec.apprul
apprultxt:"", // Other Applicable Rules .ltdgrp.rec.apprultxt
cnfins:"", // Confirmation Instruct. .ltdgrp.rec.cnfins
rmbflg:"", // Reimbursement Information .ltdgrp.rec.rmbflg
shppars18:"", // Partial Shipment .ltdgrp.rec.shppars18
shptrss18:"", // Transhipment .ltdgrp.rec.shptrss18
avbwth:"", // Available with .ltdgrp.rec.avbwth
avbby:"", // Available by .ltdgrp.rec.avbby
shpfro:"", // Dispatch from .ltdgrp.rec.shpfro
porloa:"", // Air-/Port of Departure .ltdgrp.rec.porloa
pordis:"", // Air-/Port of Destination .ltdgrp.rec.pordis
shpto:"", // Final Destination .ltdgrp.rec.shpto
chato:"", // Own Charges Borne by .ltdgrp.rec.chato
stacty:"", // Country Code Risk Country .ltdgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .ltdgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .ltdgrp.rec.prepers18
prepertxts18:"", // Presentation period text .ltdgrp.rec.prepertxts18
rmbact:"", // Reimbursing Bank Account Identification .ltdgrp.rec.rmbact
rmbcha:"", // Charges Definition .ltdgrp.rec.rmbcha
apprulrmb:"", // Applicable Rules RMB .ltdgrp.rec.apprulrmb
autdat:"", // Date of Authorisation to Reimburse .ltdgrp.rec.autdat
redclsflg:"", // Red/Green Clause? .ltdgrp.rec.redclsflg
spcbenflg:"", // Special payment conditions for beneficiary exists .ltdgrp.rec.spcbenflg
spcrcbflg:"", // Special Payment Conditions for specified Bank only .ltdgrp.rec.spcrcbflg
},
cbs:{
nom1:{
cur:"", // Nominal Amount .ltdgrp.cbs.nom1.cur
amt:"", // Nominal Amount .ltdgrp.cbs.nom1.amt
},
max:{
cur:"", // This L/C .ltdgrp.cbs.max.cur
amt:"", // Maximum Amount .ltdgrp.cbs.max.amt
},
opn1:{
amt:"", // Balance .ltdgrp.cbs.opn1.amt
},
},
be1:{
pts:new Pts().data,
},
adt:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.adt.namelc
adrelc:"", // 地址 .ltdgrp.adt.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.adt.dbfadrblkcn
},
be2:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.be2.namelc
adrelc:"", // 地址 .ltdgrp.be2.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.be2.dbfadrblkcn
},
avt:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.avt.namelc
adrelc:"", // 地址 .ltdgrp.avt.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.avt.dbfadrblkcn
},
blk:{
avbwthtxt:"", // Available in .ltdgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .ltdgrp.blk.defdet
dftat:"", // Drafts at .ltdgrp.blk.dftat
shpper:"", // Shipment Period .ltdgrp.blk.shpper
mixdet:"", // Mixed Payment Details .ltdgrp.blk.mixdet
preper:"", // Presentation Period .ltdgrp.blk.preper
preperflg:"", // Presentation Period modified .ltdgrp.blk.preperflg
feetxt:"", // Additional Details to Code for Charges CHATO .ltdgrp.blk.feetxt
lcrgod:"", // Description of Goods .ltdgrp.blk.lcrgod
rmbcha:"", // Other Charges .ltdgrp.blk.rmbcha
adlcnd:"", // Additional Conditions .ltdgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .ltdgrp.blk.insbnk
lcrdoc:"", // Documents Required .ltdgrp.blk.lcrdoc
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.drw.namelc
adrelc:"", // 地址 .ltdgrp.drw.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.drw.dbfadrblkcn
},
a2t:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.a2t.namelc
adrelc:"", // 地址 .ltdgrp.a2t.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.a2t.dbfadrblkcn
},
rmt:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.rmt.namelc
adrelc:"", // 地址 .ltdgrp.rmt.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.rmt.dbfadrblkcn
},
con:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.con.namelc
adrelc:"", // 地址 .ltdgrp.con.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.con.dbfadrblkcn
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -39,6 +39,9 @@ import Litdck from "./Litdck" ...@@ -39,6 +39,9 @@ import Litdck from "./Litdck"
import Inflid from "./Inflid" import Inflid from "./Inflid"
import Inftrd from "./Inftrd" import Inftrd from "./Inftrd"
import Trtame from "./Trtame" import Trtame from "./Trtame"
import Lttopn from "./Lttopn"
import Lttame from "./Lttame"
import Lttcan from "./Lttcan"
// import Infdet from "./Infdet" // import Infdet from "./Infdet"
/** /**
...@@ -88,5 +91,8 @@ const BusRouter = [ ...@@ -88,5 +91,8 @@ const BusRouter = [
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } }, { path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } },
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } }, { path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } }, // { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
{ path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让证开立' } },
  { path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让证修改' } },
  { path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让证注销' } },
] ]
export default BusRouter export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="10">
<el-form-item label="Additional Amount" prop="ltdgrp.cbs.max2.cur">
<c-select
v-model="model.ltdgrp.cbs.max2.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="15px" prop="ltdgrp.cbs.max2.amt">
<c-input
v-model="model.ltdgrp.cbs.max2.amt"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Open Add. Amount" prop="ltdgrp.cbs.opn2.cur">
<c-select
v-model="model.ltdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="15px" prop="ltdgrp.cbs.opn2.amt">
<c-input
v-model="model.ltdgrp.cbs.opn2.amt"
placeholder="请输入Open Add. Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ltdgrp.blk.addamtcov">
<c-input type="textarea"
v-model="model.ltdgrp.blk.addamtcov"
:rows="5"
maxlength="35"
show-word-limit placeholder="请输入Covered"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Additional Amount" prop="ltdgrp.cbs.max2.cur">
<c-select v-model="model.ltdgrp.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="ltdgrp.cbs.max2.amt">
<c-input v-model="model.ltdgrp.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="ltdgrp.cbs.opn2.cur">
<c-select v-model="model.ltdgrp.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="ltdgrp.cbs.opn2.amt">
<c-input v-model="model.ltdgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></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/Lttame/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="Additional Conditions Amendment" prop="ltdgrp.blk.adlcndame">
<c-input type="textarea" v-model="model.ltdgrp.blk.adlcndame" maxlength="50" show-word-limit placeholder="请输入Additional Conditions Amendment" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.redclsflg">Red/Green Clause?</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg">Special payment conditions for beneficiary exists</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</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/Lttame/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="Available with" prop="ltdgrp.rec.avbwth">
<c-select v-model="model.ltdgrp.rec.avbwth" style="width:100%" placeholder="请选择Available with">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Mixed Payment Details" prop="ltdgrp.blk.mixdet">
<c-input type="textarea" v-model="model.ltdgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available in" prop="ltdgrp.blk.avbwthtxt">
<c-input type="textarea" v-model="model.ltdgrp.blk.avbwthtxt" maxlength="35" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Period" prop="ltdgrp.blk.preper">
<c-input type="textarea" v-model="model.ltdgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Days of presentation period" prop="ltdgrp.rec.prepers18">
<c-input v-model="model.ltdgrp.rec.prepers18" placeholder="请输入Days of presentation period"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available by" prop="ltdgrp.rec.avbby">
<c-select v-model="model.ltdgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation period text" prop="ltdgrp.rec.prepertxts18">
<c-input v-model="model.ltdgrp.rec.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ltdgrp.blk.preperflg">Presentation Period modified</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.lttp.labdefdet" data-path=".lttp.labdefdet" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Deferred Payment Details" prop="ltdgrp.blk.defdet">
<c-input type="textarea" v-model="model.ltdgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChariaButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Details to Code for Charges CHATO" prop="ltdgrp.blk.feetxt">
<c-input type="textarea" v-model="model.ltdgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges CHATO" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drafts at" prop="ltdgrp.blk.dftat">
<c-input type="textarea" v-model="model.ltdgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="lttp.drwp.ptsget.sdamod.dadsnd">
<c-input v-model="model.lttp.drwp.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="ltdgrp.drw.pts.extkey">
<c-input v-model="model.ltdgrp.drw.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="lttp.drwp.ptsget.sdamod.seainf">
<c-input v-model="model.lttp.drwp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrwpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ltdgrp.drw.namelc">
<c-input type="textarea" v-model="model.ltdgrp.drw.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ltdgrp.drw.pts.adrblk">
<c-input type="textarea" v-model="model.ltdgrp.drw.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="ltdgrp.drw.dbfadrblkcn">
<c-input type="textarea" v-model="model.ltdgrp.drw.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Own Charges Borne by" prop="ltdgrp.rec.chato">
<c-select v-model="model.ltdgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ltdgrp.drw.adrelc">
<c-input type="textarea" v-model="model.ltdgrp.drw.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Country Code Risk Country" prop="ltdgrp.rec.stacty">
<c-select v-model="model.ltdgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Dispatch from" prop="ltdgrp.rec.shpfro">
<c-input v-model="model.ltdgrp.rec.shpfro" maxlength="65" placeholder="请输入Dispatch from"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maximum tenor in days" prop="ltdgrp.rec.tenmaxday">
<c-input v-model="model.ltdgrp.rec.tenmaxday" placeholder="请输入Maximum tenor in days"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Air-/Port of Departure" prop="ltdgrp.rec.porloa">
<c-input v-model="model.ltdgrp.rec.porloa" maxlength="65" placeholder="请输入Air-/Port of Departure"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Air-/Port of Destination" prop="ltdgrp.rec.pordis">
<c-input v-model="model.ltdgrp.rec.pordis" maxlength="65" placeholder="请输入Air-/Port of Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Final Destination" prop="ltdgrp.rec.shpto">
<c-input v-model="model.ltdgrp.rec.shpto" maxlength="65" placeholder="请输入Final Destination"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment Period" prop="ltdgrp.blk.shpper">
<c-input type="textarea" v-model="model.ltdgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></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/Lttame/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="Description of Goods Amendment" prop="ltdgrp.blk.lcrgodame">
<c-input type="textarea" v-model="model.ltdgrp.blk.lcrgodame" maxlength="50" show-word-limit placeholder="请输入Description of Goods Amendment" ></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/Lttame/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="Documents Required Amendment" prop="ltdgrp.blk.lcrdocame">
<c-input type="textarea" v-model="model.ltdgrp.blk.lcrdocame" maxlength="50" show-word-limit placeholder="请输入Documents Required Amendment" ></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/Lttame/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="lttp.letp0.recget.sdamod.dadsnd">
<c-input v-model="model.lttp.letp0.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="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">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-input v-model="model.ledgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入L/C Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ledgrp.cbs.nom1.amt">
<c-input v-model="model.ledgrp.cbs.nom1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lttp.letp0.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Applicant" prop="ledgrp.apl.pts.ref">
<c-input v-model="model.ledgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-input v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ledgrp.cbs.opn1.amt">
<c-input v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</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">
<el-form-item label="Name of Party" prop="ledgrp.apl.pts.nam">
<c-input v-model="model.ledgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available with" prop="ledgrp.avbnam">
<c-input v-model="model.ledgrp.avbnam" maxlength="40" placeholder="请输入Available with"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref">
<c-input v-model="model.ledgrp.iss.pts.ref" maxlength="16" placeholder="请输入Iss. Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby">
<c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by [AVBBY0]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ledgrp.iss.pts.nam">
<c-input v-model="model.ledgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<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="请选择Date Issued"></c-date-picker>
</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="Beneficiary" prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<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="请选择Date/Place of Expiry"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入Date/Place of Expiry"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ledgrp.ben.pts.nam">
<c-input v-model="model.ledgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</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="Confirmation text" prop="lttp.letp0.cnftxt">
<c-input v-model="model.lttp.letp0.cnftxt" maxlength="40" placeholder="请输入Confirmation text"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Streamgrid of other L/Cs backed by B2B LE" prop="lttp.leltb2b.litb2bstm">
<c-input v-model="model.lttp.leltb2b.litb2bstm" placeholder="请输入Streamgrid of other L/Cs backed by B2B LE"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="This L/C" prop="ltdgrp.cbs.opn1.amt">
<c-input v-model="model.ltdgrp.cbs.opn1.amt" placeholder="请输入This L/C"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount" prop="lttp.totamt">
<c-input v-model="model.lttp.totamt" placeholder="请输入Total Amount"></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/Lttame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<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">智能提示</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="tabClick">
<!--PD000001 -->
<el-tab-pane label="amep" name="amep">
<c-content>
<m-amep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="ovwp" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="aamp" name="aamp">
<m-aamp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="detp" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000328 -->
<el-tab-pane label="dogpame" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000324 -->
<el-tab-pane label="dorpame" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000332 -->
<el-tab-pane label="adcpame" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000169 -->
<el-tab-pane label="lttinf" name="lttinf">
<m-lttinf :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 Lttame from "~/model/Lttame";
import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Check from "~/model/Lttame/Check";
import Default from "~/model/Lttame/Default";
import Pattern from "~/model/Lttame/Pattern";
import Ovwp from "./Ovwp";
import Amep from "./Amep";
import Aamp from "./Aamp";
import Ptyp from "./Ptyp";
import Detp from "./Detp";
import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
import Lttinf from "./Lttinf";
export default {
name: "Lttame",
components: {
"m-amep": Amep,
"m-ovwp": Ovwp,
"m-aamp": Aamp,
"m-ptyp": Ptyp,
"m-detp": Detp,
"m-dogpame": Dogpame,
"m-dorpame": Dorpame,
"m-adcpame": Adcpame,
"m-lttinf": Lttinf,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "amep",
trnName: "lttame",
model: new Lttame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入lttame交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<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="tabClick">
<!--PD000002 -->
<el-tab-pane label="canp" name="canp">
<m-canp :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 Lttcan from "~/model/Lttcan"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Lttcan/Check"
import Default from "~/model/Lttcan/Default"
import Pattern from "~/model/Lttcan/Pattern"
import Canp from "./Canp"
export default {
name: "Lttcan",
components:{
"m-canp" : Canp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
trnName: "lttcan",
model: new Lttcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入lttcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="附加条件" prop="ltdgrp.blk.adlcnd">
<c-input type="textarea"
:autosize="{ minRows: 6, maxRows: 8}"
style="height:100%;width:100%;margin-right:20px;"
v-model="model.ltdgrp.blk.adlcnd"
maxlength="65"
show-word-limit placeholder="请输入Additional Conditions"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="lttopn_dogp_button">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
</c-col>
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg"
>受益人特殊付款条款</c-checkbox>
</c-col>
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">收款银行特殊付款条款</c-checkbox>
</c-col>
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox
v-model="model.ltdgrp.rec.redclsflg">Red/Green Clause?</c-checkbox>
</c-col>
<c-col :span="20">
<el-form-item label="付款、承兑、议付银行指示" prop="ltdgrp.blk.insbnk">
<c-input type="textarea"
:autosize="{ minRows: 6, maxRows: 8}"
style="height:100%;width:100%;margin-right:20px;"
v-model="model.ltdgrp.blk.insbnk"
maxlength="65"
show-word-limit placeholder="请输入Instructions to Pay.,"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="lttopn_dogp_button">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</c-button>
</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/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
.lttopn_adcp_check {
margin: 0px 0 10px 150px;
}
</style>
<template>
<div class="eibs-tab">
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
<!-- <c-col :span="24">
<c-col :span="20">
<el-form-item label="Description of Goods" prop="ltdgrp.blk.lcrgod">
<c-input type="textarea"
:autosize="{ minRows: 20, maxRows: 38}"
v-model="model.ltdgrp.blk.lcrgod"
maxlength="65"
style="height:100%;width:100%;margin-right:20px;"
show-word-limit placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="lttopn_dogp_button">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
</c-button>
</c-col>
</c-col>-->
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttopn/Event";
import BlkTextarea from "~/views/Public/BlkTextarea";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
components: { "c-blkTextarea": BlkTextarea },
data() {
return {
blk: {
blkMsg: {
title: "货物说明",
dataUrl: "ltdgrp.blk.lcrgod", //字段所在model路劲
rows: 20,
},
rulePath: "lttp.lcrgod.buttxmsel",
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.lttopn_dogp_button {
margin: 20px 0 0 -10px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="单据要求" prop="ltdgrp.blk.lcrdoc">
<c-input type="textarea"
:autosize="{ minRows: 20, maxRows: 38}"
style="height:100%;width:100%;margin-right:20px;"
v-model="model.ltdgrp.blk.lcrdoc"
maxlength="65"
show-word-limit placeholder="请输入Documents Required"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/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="24">
<c-col :span="11" >
<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"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<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>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="8">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label=""
label-width="15px"
prop="ledgrp.cbs.nom1.amt"
>
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.lttp.letp0.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col>
<c-col :span="8">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-select
v-model="model.ledgrp.cbs.opn1.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label=""
label-width="15px"
prop="ledgrp.cbs.opn1.amt"
>
<c-input
v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
</c-col>
<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"></c-input>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby">
<c-select v-model="model.ledgrp.rec.avbby" style="width:100%" placeholder="请选择Available by [AVBBY0]">
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col>
<c-col :span="24">
<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="请选择Date Issued"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<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="请选择Date/Place of Expiry"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="请输入Date/Place of Expiry"></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">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Applicant" prop="ledgrp.apl.pts.ref">
<c-input v-model="model.ledgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.apl.pts.nam">
<c-input v-model="model.ledgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref">
<c-input v-model="model.ledgrp.iss.pts.ref" maxlength="16" placeholder="请输入Iss. Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.iss.pts.nam">
<c-input v-model="model.ledgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="ledgrp.ben.pts.nam">
<c-input v-model="model.ledgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Confirmation text" prop="lttp.letp0.cnftxt">
<c-input v-model="model.lttp.letp0.cnftxt" maxlength="40" placeholder="请输入Confirmation text"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================底部======================= -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Streamgrid of other L/Cs backed by B2B LE" prop="lttp.leltb2b.litb2bstm">
<c-input v-model="model.lttp.leltb2b.litb2bstm" placeholder="请输入Streamgrid of other L/Cs backed by B2B LE"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="lttp.letp0.recget.sdamod.dadsnd">
<c-input v-model="model.lttp.letp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</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">
<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="Balance" prop="ltdgrp.cbs.opn1.amt">
<c-input v-model="model.ltdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount" prop="lttp.totamt">
<c-input v-model="model.lttp.totamt" placeholder="请输入Total Amount"></c-input>
</el-form-item>
</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/Lttopn/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="24">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-ptap
:model="model"
:argadr="{
title: '偿付银行',
grp: 'ltdgrp',
rol: 'rmt',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmtpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item
label="Account Identification"
prop="ltdgrp.rmt.pts.dftact"
>
<c-select
v-model="model.ltdgrp.rmt.pts.dftact"
style="width: 100%"
placeholder="请选择Account Identification"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item
label="Reimbursing Bank Account Identification"
label-width="280px"
prop="ltdgrp.rec.rmbact"
>
<c-input
v-model="model.ltdgrp.rec.rmbact"
maxlength="35"
placeholder="请输入Reimbursing Bank Account Identification"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="ltdgrp.rmt.pts.ref">
<c-input v-model="model.ltdgrp.rmt.pts.ref" maxlength="16" placeholder="请输入Reimbursement Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="ltdgrp.rmt.pts.extkey">
<c-input
v-model="model.ltdgrp.rmt.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
<c-col :span="18">
<el-form-item label="External Key of Address" prop="ltdgrp.rmt.pts.extkey">
<c-input
v-model="model.ltdgrp.rmt.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('ltdgrp.rmt.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<el-form-item label="" label-width="5px">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf('ltdgrp.rmt.pts.extkey')"
></c-button
>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="5px">
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Charges Definition" prop="ltdgrp.rec.rmbcha">
<c-select
v-model="model.ltdgrp.rec.rmbcha"
style="width: 100%"
placeholder="请选择Charges Definition"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Other Charges" prop="ltdgrp.blk.rmbcha">
<c-input
type="textarea"
v-model="model.ltdgrp.blk.rmbcha"
maxlength="35"
show-word-limit
placeholder="请输入Other Charges"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="MT747 :77A:" prop="lttp.rmbnar">
<c-input
type="textarea"
v-model="model.lttp.rmbnar"
maxlength="35"
show-word-limit
placeholder="请输入MT747 :77A:"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item
label="Applicable Rules RMB"
prop="ltdgrp.rec.apprulrmb"
>
<c-select
v-model="model.ltdgrp.rec.apprulrmb"
style="width: 100%"
placeholder="请选择Applicable Rules RMB"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item
label="Date of Authorisation to Reimburse"
label-width="250px"
prop="ltdgrp.rec.autdat"
>
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.autdat"
style="width: 100%"
placeholder="请选择Date of Authorisation to Reimburse"
></c-date-picker>
</el-form-item>
</c-col>
</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/Lttopn/Event";
import Ptap from "~/views/Public/Ptap";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
components: { "c-ptap": Ptap },
data() {
return {
ptsaddg: {
columns: [
{
title: "角色",
width: "120px",
dataIndex: "rol",
show: "select",
},
{
title: "机构实体",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "名称",
width: "300px",
dataIndex: "nam",
},
{
title: "参考地址",
width: "300px",
dataIndex: "ref",
},
],
urls: "lttp.ptsaddp.ptsaddg",
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<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="tabClick">
<!--PD000001 -->
<el-tab-pane label="基本信息" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="信用证详情" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="其他当事人" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="货物说明" name="dogp">
<m-dogp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000065 -->
<el-tab-pane label="Rbip" name="rbip">
<m-rbip :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000073 -->
<el-tab-pane label="附加条款" name="adcp">
<m-adcp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000169 -->
<el-tab-pane label="Lttinf" name="lttinf">
<m-lttinf :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="单据要求" name="dorp">
<m-dorp :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 Lttopn from "~/model/Lttopn";
import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Lttopn/Check";
import Default from "~/model/Lttopn/Default";
import Pattern from "~/model/Lttopn/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Rbip from "./Rbip";
import Adcp from "./Adcp";
import Lttinf from "./Lttinf";
import Dorp from "./Dorp";
export default {
components: {
"m-ovwp": Ovwp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-rbip": Rbip,
"m-adcp": Adcp,
"m-lttinf": Lttinf,
"m-dorp": Dorp,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "lttopn",
model: new Lttopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入lttopn交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
...@@ -82,6 +82,10 @@ export default { ...@@ -82,6 +82,10 @@ export default {
{ inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" }, { inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" },
{ inifrm: "6", ininam: "静态参数管理", pntmiu: "", icon: require("~/assets/icons/sideMenu/静态参数.svg") }, { inifrm: "6", ininam: "静态参数管理", pntmiu: "", icon: require("~/assets/icons/sideMenu/静态参数.svg") },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "6" }, { inifrm: "infusr", ininam: "用户信息", pntmiu: "6" },
{ inifrm: "7", ininam: "转让证", pntmiu: "", icon: require("~/assets/icons/sideMenu/出口信用证.svg") },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "7" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "7" },
{ inifrm: "lttcan", ininam: "转让证注销", pntmiu: "7" },
], ],
menusOrigin: [], menusOrigin: [],
menus: [], menus: [],
......
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