Commit d59ae18a by Wuyuqiu

lttopn添加页面libp

parent 7644c663
......@@ -7,6 +7,7 @@ let checkObj = {
"liaall.misamt" :null,
"ltdgrp.rec.cnfins" :null,
"ltdgrp.rec.nomspc" :null,
"cnybop.cnylib.doccurdate" :null,
"ltdgrp.a2t.adrelc" :null,
"ltdgrp.blk.lcrdoc" :null,
"ltdgrp.avt.namelc" :null,
......@@ -16,20 +17,24 @@ let checkObj = {
"lttp.usr.extkey" :null,
"ltdgrp.rec.nomtop" :null,
"ltdgrp.rec.nomton" :null,
"cnybop.cnylib.sbankorgcode" :null,
"ltdgrp.rec.opndat" :null,
"ltdgrp.cbs.nom1.amt" :null,
"ltdgrp.be2.pts.extkey" :null,
"setmod.dspflg" :null,
"ltdgrp.be2.namelc" :null,
"cnybop.cnylib.stermtype" :null,
"ltdgrp.rmt.adrelc" :null,
"ltdgrp.cbs.max.amt" :null,
"ltdgrp.rmt.pts.extkey" :null,
"ltdgrp.blk.dftat" :null,
"cnybop.cnylib.currencycode" :null,
"ltdgrp.rec.expdat" :null,
"cnybop.cnyflg" :null,
"ltdgrp.cbs.nom1.cur" :null,
"ltdgrp.blk.adlcnd" :null,
"ltdgrp.be1.pts.nam" :null,
"cnybop.cnylib.dcreditenddate" :null,
"ltdgrp.blk.spcben" :null,
"ltdgrp.rec.shpdat" :null,
"ltdgrp.avt.pts.adrblk" :null,
......@@ -38,37 +43,49 @@ let checkObj = {
"ltdgrp.adt.pts.extkey" :null,
"ltdgrp.blk.mixdet" :null,
"ltdgrp.drw.adrelc" :null,
"cnybop.cnylib.famt" :null,
"ltdgrp.drw.pts.extkey" :null,
"cnybop.saddwordlib" :null,
"cnybop.cnylib.stransattr" :null,
"ltdgrp.blk.insbnk" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.con.namelc" :null,
"ltdgrp.adt.adrelc" :null,
"cnybop.sforeignorgname" :null,
"ltdgrp.avt.adrelc" :null,
"ltdgrp.rec.expplc" :null,
"ltdgrp.be2.pts.adrblk" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.spcrcb" :null,
"ltdgrp.blk.feetxt" :null,
"ltdgrp.rec.avbby" :null,
"ltdgrp.blk.preper" :null,
"ltdgrp.rmt.namelc" :null,
"cnybop.cnylib.stranstype" :null,
"ltdgrp.blk.addamtcov" :null,
"ltdgrp.cbs.max2.amt" :null,
"ltdgrp.rec.ownref" :null,
"ltdgrp.be2.adrelc" :null,
"cnybop.cnylib.sbanktrano" :null,
"ltdgrp.adt.pts.adrblk" :null,
"ltdgrp.rec.prepers18" :null,
"ltdgrp.blk.lcrgod" :null,
"cnybop.cnylib.sforbankswiftbic" :null,
"cnybop.cnylib.denddate" :null,
"ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null,
"cnybop.sorgname" :null,
"ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null,
"mtabut.coninf.conexedat" :null,
"cnybop.libflg" :null,
"ltdgrp.adt.namelc" :null,
"cnybop.cnylib.sorgcode" :null,
"ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null,
"cnybop.fexchangeamt" :null,
"ltdgrp.rec.tenmaxday" :null,
"ltdgrp.rec.apprul" :null,
"setmod.docamt" :null,
......@@ -77,6 +94,7 @@ let checkObj = {
"ltdgrp.drw.pts.adrblk" :null,
"ltdgrp.a2t.namelc" :null,
"ltdgrp.con.pts.adrblk" :null,
"cnybop.cnylib.sforeigncountrycode" :null,
"cnybop.vouflg" :null,
}
......
/**
* Betset Default规则
* Lttopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.rptno" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ltdgrp.avt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.avt.adrelc" :Utils.defaultFunction,
"ltdgrp.avt.namelc" :Utils.defaultFunction,
"ltdgrp.avt.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"ltdgrp.rmt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.cbs.opn1.amt" :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,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.frepayflg" :Utils.defaultFunction,
"ltdgrp.rec.avbby" :Utils.defaultFunction,
"ltdgrp.be2.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.blk.spcrcb" :Utils.defaultFunction,
"ltdgrp.be2.pts.extkey" :Utils.defaultFunction,
"ltdgrp.be2.adrelc" :Utils.defaultFunction,
"ltdgrp.be2.namelc" :Utils.defaultFunction,
"ltdgrp.be2.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.blk.preper" :Utils.defaultFunction,
"ltdgrp.blk.preperflg" :Utils.defaultFunction,
"ltdgrp.rec.avbwth" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"ltdgrp.rec.prepers18" :Utils.defaultFunction,
"ltdgrp.rec.prepertxts18" :Utils.defaultFunction,
"ltdgrp.blk.avbwthtxt" :Utils.defaultFunction,
"ltdgrp.rec.rmbflg" :Utils.defaultFunction,
"ltdgrp.rec.spcbenflg" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.blk.shpper" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custype" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"lttp.letp0.cnftxt" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ledgrp.rec.shpdat" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.a2t.pts.extkey" :Utils.defaultFunction,
"ltdgrp.a2t.adrelc" :Utils.defaultFunction,
"ltdgrp.a2t.namelc" :Utils.defaultFunction,
"ltdgrp.a2t.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.be1.pts.extkey" :Utils.defaultFunction,
"ltdgrp.rmt.adrelc" :Utils.defaultFunction,
"ltdgrp.rmt.namelc" :Utils.defaultFunction,
"ltdgrp.rmt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rmt.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.rec.spcrcbflg" :Utils.defaultFunction,
"lttp.usr.extkey" :Utils.defaultFunction,
"ltdgrp.rec.nomtop" :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,
"ltdgrp.blk.insbnk" :Utils.defaultFunction,
"ltdgrp.blk.lcrgod" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"ltdgrp.adt.pts.extkey" :Utils.defaultFunction,
"ltdgrp.adt.adrelc" :Utils.defaultFunction,
"ltdgrp.adt.namelc" :Utils.defaultFunction,
"ltdgrp.adt.dbfadrblkcn" :Utils.defaultFunction,
"ltdgrp.rec.shppar" :Utils.defaultFunction,
"ltdgrp.rec.shppars18" :Utils.defaultFunction,
"ltdgrp.cbs.max2.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.max2.cur" :Utils.defaultFunction,
"ltdgrp.blk.addamtcov" :Utils.defaultFunction,
"lttp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"ltdgrp.rec.opndat" :Utils.defaultFunction,
"ltdgrp.blk.adlcnd" :Utils.defaultFunction,
"ltdgrp.drw.pts.extkey" :Utils.defaultFunction,
"ltdgrp.drw.adrelc" :Utils.defaultFunction,
"ltdgrp.drw.namelc" :Utils.defaultFunction,
"ltdgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custcod" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"ltdgrp.adt.pts.adrblk" :Utils.defaultFunction,
"lttp.leltb2b.litb2bstm" :Utils.defaultFunction,
"ltdgrp.cbs.max.cur" :Utils.defaultFunction,
"ltdgrp.con.pts.adrblk" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bedgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"bedgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ltdgrp.blk.spcben" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.drw.pts.adrblk" :Utils.defaultFunction,
"cnybop.cnylib.sforeigncountrycode" :Utils.defaultFunction,
"ltdgrp.cbs.max.amt" :Utils.defaultFunction,
"ltdgrp.avt.pts.adrblk" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.rec.apprul" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.rec.shptrs" :Utils.defaultFunction,
"ltdgrp.rec.shptrss18" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,311 +2,283 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLttpButgetref(){
async onLttpButgetref() {
let rtnmsg = await this.executeRule("lttp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
})
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBe1pDet(){
async onBe1pDet() {
let rtnmsg = await this.executeRule("be1p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdtpDet(){
async onAdtpDet() {
let rtnmsg = await this.executeRule("adtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBe2pDet(){
async onBe2pDet() {
let rtnmsg = await this.executeRule("be2p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onA2tpDet(){
async onA2tpDet() {
let rtnmsg = await this.executeRule("a2tp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRmtpDet(){
async onRmtpDet() {
let rtnmsg = await this.executeRule("rmtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onConpDet(){
async onConpDet() {
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAvtpDet(){
async onAvtpDet() {
let rtnmsg = await this.executeRule("avtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel(){
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel(){
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet(){
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButshw(){
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButadd(){
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButnew(){
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButattto(){
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButdel(){
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButatt(){
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcbenButtxmsel(){
async onSpcbenButtxmsel() {
let rtnmsg = await this.executeRule("spcben.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcrcbButtxmsel(){
async onSpcrcbButtxmsel() {
let rtnmsg = await this.executeRule("spcrcb.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt(){
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig(){
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel(){
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel(){
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel(){
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onChariaButtxmsel(){
async onChariaButtxmsel() {
let rtnmsg = await this.executeRule("charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrwpDet(){
async onDrwpDet() {
let rtnmsg = await this.executeRule("drwp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLibctySelbut1(){
let rtnmsg = await this.executeRule("libcty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
})
}
else
......@@ -314,7 +286,8 @@ async onDrwpDet(){
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() { },
......
......@@ -657,4 +657,73 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cnybop.cnylib.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnylib.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.cnylib.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnybop.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnylib.sforbankswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.sorgname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnylib.sorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.sforeignorgname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnylib.sforeigncountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnylib.doccurdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnylib.denddate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnylib.dcreditenddate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnylib.famt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnylib.dexchangedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.fexchangeamt":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnylib.dexchangeenddate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.saddwordlib":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
}
\ No newline at end of file
......@@ -206,6 +206,9 @@ export default class Lttopn {
},
},
be1:{
pta:{
inr:"",
},
pts:new Pts().data,
},
adt:{
......@@ -274,6 +277,29 @@ export default class Lttopn {
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
cnylib:{
spk:"", // 业务主键 .cnybop.cnylib.spk
sbankorgcode:"", // 银行机构代码 .cnybop.cnylib.sbankorgcode
stransattr:"", // 业务属性 .cnybop.cnylib.stransattr
stranstype:"", // 业务类型 .cnybop.cnylib.stranstype
sforbankswiftbic:"", // 境外对手行代码 .cnybop.cnylib.sforbankswiftbic
sorgcode:"", // 境内企业机构代码 .cnybop.cnylib.sorgcode
sforeigncountrycode:"", // 境外企业国别地区代码 .cnybop.cnylib.sforeigncountrycode
doccurdate:"", // 业务发生日期 .cnybop.cnylib.doccurdate
denddate:"", // 业务到期日 .cnybop.cnylib.denddate
dcreditenddate:"", // 信用证到期日 .cnybop.cnylib.dcreditenddate
famt:"", // 金额 .cnybop.cnylib.famt
dexchangedate:"", // 承兑日期 .cnybop.cnylib.dexchangedate
dexchangeenddate:"", // 承兑到期日 .cnybop.cnylib.dexchangeenddate
sbanktrano:"", // 银行业务编号 .cnybop.cnylib.sbanktrano
stermtype:"", // 期限条件 .cnybop.cnylib.stermtype
currencycode:"", // 币种 .cnybop.cnylib.currencycode
},
sorgname:"", // 境内企业名称 .cnybop.sorgname
sforeignorgname:"", // 境外企业名称 .cnybop.sforeignorgname
saddwordlib:"", // 交易附言 .cnybop.saddwordlib
sbankname:"", // 银行机构名称 .cnybop.sbankname
fexchangeamt:"", // 承兑金额 .cnybop.fexchangeamt
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
......
<template>
<div class="eibs-tab">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<c-col :span="12">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请输入是否报送跨境人民币2101表 " :code="codes.cnyflg" disabled>
</c-select>
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请输入是否报送跨境人民币2101表 "
:code="codes.cnyflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请输入是否报送跨境人民币2107表" :code="codes.cnyflg" disabled>
</c-select>
<c-select
v-model="model.cnybop.traflg"
style="width: 100%"
placeholder="请输入是否报送跨境人民币2107表"
:code="codes.cnyflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请输入是否报送跨境人民币2111表" :code="codes.cnyflg" disabled>
</c-select>
<c-select
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请输入是否报送跨境人民币2111表"
:code="codes.cnyflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请输入是否报送跨境人民币2106表" :code="codes.cnyflg" disabled>
</c-select>
<c-select
v-model="model.cnybop.libflg"
style="width: 100%"
placeholder="请输入是否报送跨境人民币2106表"
:code="codes.cnyflg"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请输入是否报送跨境人民币2122表" :code="codes.cnyflg" disabled>
</c-select>
<c-select
v-model="model.cnybop.vouflg"
style="width: 100%"
placeholder="请输入是否报送跨境人民币2122表"
:code="codes.cnyflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
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(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!--===============左 =================== -->
<el-col :span="11">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylib.spk">
<c-input
disabled
v-model="model.cnybop.cnylib.spk"
maxlength="20"
placeholder="请输入业务主键"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构代码" prop="cnybop.cnylib.sbankorgcode">
<c-input
disabled
v-model="model.cnybop.cnylib.sbankorgcode"
maxlength="12"
placeholder="请输入银行机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务属性" prop="cnybop.cnylib.stransattr">
<c-select
v-model="model.cnybop.cnylib.stransattr"
style="width: 100%"
placeholder="请选择业务属性"
:code="codes.stransattr"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外对手行代码"
prop="cnybop.cnylib.sforbankswiftbic"
>
<c-input
v-model="model.cnybop.cnylib.sforbankswiftbic"
maxlength="11"
placeholder="请输入境外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业机构代码" prop="cnybop.cnylib.sorgcode">
<c-input
v-model="model.cnybop.cnylib.sorgcode"
maxlength="18"
placeholder="请输入境内企业机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外企业国别地区代码"
prop="cnybop.cnylib.sforeigncountrycode"
>
<c-fullbox>
<c-input
v-model="model.cnybop.cnylib.sforeigncountrycode"
maxlength="3"
placeholder="请输入境外企业国别地区代码"
@keyup.enter.native="eventFunction('cnybop.cnylib.sforeigncountrycode')"
></c-input>
<template slot="footer">
<!-- @click="showGridPromptDialog('cnybop.libcty.selbut1',null,null,{TXT:'cnybop.cnylib.sforeigncountrycode'},{TXT:false},'doxpDialog')" -->
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('cnybop.libcty.selbut1', null, null,{TXT:
'cnybop.cnylib.sforeigncountrycode'}, {TXT: false},'doxpDialog')"
>
?
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务到期日" prop="cnybop.cnylib.denddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.denddate"
style="width: 100%"
placeholder="请选择业务到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cnybop.cnylib.currencycode">
<c-select
v-model="model.cnybop.cnylib.currencycode"
style="width: 100%"
placeholder="请选择币种"
:code="codes.currencycode"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限条件" prop="cnybop.cnylib.stermtype">
<c-select
v-model="model.cnybop.cnylib.stermtype"
style="width: 100%"
placeholder="请选择期限条件"
:code="codes.stermtype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑日期" prop="cnybop.cnylib.dexchangedate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dexchangedate"
style="width: 100%"
placeholder="请选择承兑日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑到期日" prop="cnybop.cnylib.dexchangeenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dexchangeenddate"
style="width: 100%"
placeholder="请选择承兑到期日"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
<!-- ===============右 ===========================-->
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnylib.sbanktrano">
<c-input
disabled
v-model="model.cnybop.cnylib.sbanktrano"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input
disabled
v-model="model.cnybop.sbankname"
maxlength="80"
placeholder="请输入银行机构名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务类型" prop="cnybop.cnylib.stranstype">
<c-select
v-model="model.cnybop.cnylib.stranstype"
style="width: 100%"
placeholder="请选择业务类型"
:code="codes.stranstype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业名称" prop="cnybop.sorgname">
<c-input
v-model="model.cnybop.sorgname"
maxlength="80"
placeholder="请输入境内企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境外企业名称" prop="cnybop.sforeignorgname">
<c-input
v-model="model.cnybop.sforeignorgname"
maxlength="80"
placeholder="请输入境外企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务发生日期" prop="cnybop.cnylib.doccurdate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.doccurdate"
style="width: 100%"
placeholder="请选择业务发生日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证到期日" prop="cnybop.cnylib.dcreditenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dcreditenddate"
style="width: 100%"
placeholder="请选择信用证到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金额" prop="cnybop.cnylib.famt">
<c-input
v-model="model.cnybop.cnylib.famt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑金额" prop="cnybop.fexchangeamt">
<c-input
v-model="model.cnybop.fexchangeamt"
maxlength="20"
placeholder="请输入承兑金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易附言" prop="cnybop.saddwordlib">
<c-input
v-model="model.cnybop.saddwordlib"
maxlength="80"
placeholder="请输入交易附言"
></c-input>
</el-form-item>
</c-col>
</el-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>
......@@ -85,7 +85,7 @@
size="small"
type="primary"
:disabled="
!model.ltdgrp.rec.ownref
!model.ltdgrp.rec.ownref&&model.ltdgrp.be1.pta.inr
? false
: true
"
......
......@@ -88,6 +88,10 @@
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes" />
</el-tab-pane>
<!--cnybop PD000110 2106银行跟单结算及表外融资 -->
<el-tab-pane label="2106银行跟单结算及表外融资" name="libp" v-if="model.cnybop.libflg=='1'">
<m-libp :model="model" :codes="codes"/>
</el-tab-pane>
<!--lttp PD000371 Special Payment Beneficiary -->
<el-tab-pane
label="Special Paymt Cond. Beneficiary"
......@@ -158,6 +162,7 @@ import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Doxp from '~/views/Public/Doxp';
import Aamp from "./Aamp"
import Libp from "./Libp"
export default {
name: "Lttopn",
......@@ -165,6 +170,7 @@ export default {
"m-ovwp": Ovwp,
"m-lttinf": Lttinf,
"m-ptyp": Ptyp,
"m-libp" : Libp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
......
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