Commit 6aa8ed3c by nanrui

Merge remote-tracking branch 'origin/development-202206' into development-202206

parents 35dd7c90 37f0dce3
......@@ -156,16 +156,14 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -197,8 +195,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -178,12 +178,10 @@ export default {
],
"bodgrp.drr.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -194,8 +192,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -218,12 +215,10 @@ export default {
],
"bodgrp.col.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -234,8 +229,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -264,20 +258,17 @@ export default {
],
"bodgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
],
"bodgrp.blk.cctinscol":[
{type: "string", required: true, message: "必输项"},
......
......@@ -102,6 +102,7 @@ export default class Botrad {
dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
},
blk: {
docpre:"", // bodgrp.blk.docpre
colinssnm: "", // Instructions for Second Mail .bodgrp.blk.colinssnm
vesselnam: "", // Vessel Name .bodgrp.blk.vesselnam
goddes: "", // Description of Goods .bodgrp.blk.goddes
......
......@@ -189,7 +189,7 @@ export default {
],
"brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -310,7 +310,7 @@ export default {
],
"brdgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"brdgrp.shp.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -130,7 +130,7 @@ export default {
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -177,7 +177,7 @@ export default {
],
"brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"brtp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
import Utils from "~/utils"
/**
* Infgcd Check规则
*/
let checkObj = {
"infcon.seaamtto" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infgcd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infgcd{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
trnstm:"",
},
seagtyp:"", // Undertaking Type .seagtyp
infbut:{
dspstm:[], // display stream .infbut.dspstm
},
pageId: "", // ctx的key
gidgrp:{
rec:{
inr:"",
ownref:"", // Reference .gidgrp.rec.ownref
resflg:"", // Reserved Contract .gidgrp.rec.resflg
rejflg:"", // Direct rejection .gidgrp.rec.rejflg
drpreflg:"", // Type of Request .gidgrp.rec.drpreflg
purposin:"", // Incoming Purpose .gidgrp.rec.purposin
purpos:"", // Outgoing Purpose .gidgrp.rec.purpos
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
gartypin:"", // Undertaking Type from Local Undertaking Seq. C .gidgrp.rec.gartypin
legfrm:"", // Form of Undertaking .gidgrp.rec.legfrm
demand:"", // Demand Indicator .gidgrp.rec.demand
giduil:"", // Language of Undertak. .gidgrp.rec.giduil
secuilflg:"", // Bilingual Guarantee .gidgrp.rec.secuilflg
gtxinr:"", // Choice of Text .gidgrp.rec.gtxinr
atxinr:"", // Choice of Text .gidgrp.rec.atxinr
exptyp:"", // Expiry Type .gidgrp.rec.exptyp
expdat:"", // Validity until .gidgrp.rec.expdat
liatypc:"", // Liability Type .gidgrp.rec.liatypc
liadat:"", // Our Liability until .gidgrp.rec.liadat
oldref:"", // Old Reference .gidgrp.rec.oldref
revflg:"", // Declaration of Indemnity .gidgrp.rec.revflg
autrnwflg:"", // Auto-Renewal .gidgrp.rec.autrnwflg
rmbflg:"", // Reimbursement Information .gidgrp.rec.rmbflg
orddat:"", // Order Date .gidgrp.rec.orddat
opndat:"", // Valid from .gidgrp.rec.opndat
expflg:"", // Unlimited Guarantee .gidgrp.rec.expflg
liaflg:"", // Unlimited Liability .gidgrp.rec.liaflg
nam:"", // Name .gidgrp.rec.nam
inudat:"", // Inure Date .gidgrp.rec.inudat
teskeyunc:"", // Test Key Unconfirmity .gidgrp.rec.teskeyunc
guaflg:"", // Mortgage Flag .gidgrp.rec.guaflg
cmtflg:"", // 跨境人民币保函 .gidgrp.rec.cmtflg
fingua:"", // 是否对外担保 .gidgrp.rec.fingua
cfaguatyp:"", // 对外担保类型 .gidgrp.rec.cfaguatyp
vrfdat:"", // 核销日期 .gidgrp.rec.vrfdat
fenlishi:"", // 是否分离式保函 .gidgrp.rec.fenlishi
stacty:"", // Risk Country .gidgrp.rec.stacty
orcref:"", // Contract Reference .gidgrp.rec.orcref
orcdat:"", // Date from Original Contract .gidgrp.rec.orcdat
tenclsdat:"", // Closing Date .gidgrp.rec.tenclsdat
orcrat:"", // Original Perc./ Rate .gidgrp.rec.orcrat
orccur:"", // Contract Amount .gidgrp.rec.orccur
orcamt:"", // Contract Amount .gidgrp.rec.orcamt
acc:"", // A/c for Adv. Paym. Guar. .gidgrp.rec.acc
jurlaws20:"", // Governing Law .gidgrp.rec.jurlaws20
jurlaw:"", // Law of Jurisdiction .gidgrp.rec.jurlaw
jurplc:"", // Place of Jurisdiction .gidgrp.rec.jurplc
tenref:"", // Tender Reference .gidgrp.rec.tenref
tendat:"", // Tender Date .gidgrp.rec.tendat
trmdat:"", // Latest Transmiss. Date .gidgrp.rec.trmdat
juscod:"", // 组织机构代码 .gidgrp.rec.juscod
cunqii:"", // 流动资金贷款利率档次 .gidgrp.rec.cunqii
bilvvv:"", // 上浮比率 .gidgrp.rec.bilvvv
bngcod:"", // 企业海关编码 .gidgrp.rec.bngcod
mannum:"", // 手册号码 .gidgrp.rec.mannum
},
cbs:{
max:{
cur:"", // Guarantee Amount .gidgrp.cbs.max.cur
amt:"", // Guarantee Amount .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
blk:{
gartyptxtin:"", // Specification of Type of Undertaking - Counter Undertaking .gidgrp.blk.gartyptxtin
apprul:"", // Applicable Rules .gidgrp.blk.apprul
apprultxt:"", // Applicable Rules .gidgrp.blk.apprultxt
exptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.exptxt
atxexptxt:"", // Expiry Condition/ Evt. .gidgrp.blk.atxexptxt
liatxtc:"", // Liability Condition .gidgrp.blk.liatxtc
atxliatxtc:"", // Liability Condition .gidgrp.blk.atxliatxtc
covgodsrv:"", // Object of Contract .gidgrp.blk.covgodsrv
orcplc:"", // Original Contract Place .gidgrp.blk.orcplc
addinf:"", // Additional Info .gidgrp.blk.addinf
atxcovgodsrv:"", // Underly. Transact. Det. .gidgrp.blk.atxcovgodsrv
gidtxt:"", // Guarantee Text .gidgrp.blk.gidtxt
gtxgidtxt:"", // Guarantee Text with Variables .gidgrp.blk.gtxgidtxt
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.apl.namelc
adrelc:"", // 地址 .gidgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.ben.namelc
adrelc:"", // 地址 .gidgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.ben.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.iss.namelc
adrelc:"", // 地址 .gidgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.iss.dbfadrblkcn
},
adv:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.adv.namelc
adrelc:"", // 地址 .gidgrp.adv.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.adv.dbfadrblkcn
},
ghd:{
segtyp:"", // 特殊保函类型 .gidgrp.ghd.segtyp
bustyp:"", // 业务类型 .gidgrp.ghd.bustyp
wahnum:"", // 仓库号 .gidgrp.ghd.wahnum
remark:"", // 备注 .gidgrp.ghd.remark
aplnam:"", // 申请人名称关税保函专用 .gidgrp.ghd.aplnam
},
gidcxm:{
warran:"", // 被保证人 .gidgrp.gidcxm.warran
cxmflg:"", // 是否显示查询码 .gidgrp.gidcxm.cxmflg
benefi:"", // 受益人名称 .gidgrp.gidcxm.benefi
},
ctr:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.ctr.namelc
adrelc:"", // 地址 .gidgrp.ctr.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.ctr.dbfadrblkcn
},
atb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.atb.namelc
adrelc:"", // 地址 .gidgrp.atb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.atb.dbfadrblkcn
},
con:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.con.namelc
adrelc:"", // 地址 .gidgrp.con.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.con.dbfadrblkcn
},
bdb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.bdb.namelc
adrelc:"", // 地址 .gidgrp.bdb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.bdb.dbfadrblkcn
},
},
}
}
}
\ No newline at end of file
......@@ -150,7 +150,7 @@ export default {
],
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -213,7 +213,7 @@ export default {
],
"ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -258,7 +258,7 @@ export default {
],
"ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -56,7 +56,7 @@ export default {
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -119,7 +119,7 @@ export default {
],
"ledgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -165,7 +165,7 @@ export default {
],
"ledgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -232,7 +232,7 @@ export default {
],
"ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -290,7 +290,7 @@ export default {
],
"ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -371,7 +371,7 @@ export default {
"ledgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -379,7 +379,7 @@ export default {
],
"ledgrp.apb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.apb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -437,7 +437,7 @@ export default {
],
"ledgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -445,7 +445,7 @@ export default {
],
"ledgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"ledgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -225,6 +225,7 @@ export default {
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
this.model.bfdgrp.blk.docdis = "";
},
},
......
......@@ -327,7 +327,7 @@
:list="this.model.bftp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
@change="executeDefault('bfdgrp.blk.prsdoc')"
@click="prsdoc"
>
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
......@@ -865,7 +865,18 @@ export default {
// break;
// }
// }
},//表格输入传入数据库
async prsdoc() {
let rtnmsg = await this.executeRule("bfdgrp.blk.prsdoc")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bfdgrp.blk.prsdoc = rtnmsg.data
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
created: function () {},
};
......
......@@ -55,15 +55,15 @@
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" :code="codes.doctypcod"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled :code="codes.docstabot" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......
......@@ -56,15 +56,15 @@
<c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"
disabled>
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition" :code="codes.doctypcod" disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" :code="codes.docstabot" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......
......@@ -518,6 +518,7 @@
rol: 'prb',
}"
:disabled="true"
@onSeainf="onSeainf" @onAplpDet="onPrbpDet"
>
</c-ptap1>
</c-col>
......@@ -538,11 +539,12 @@
:model="model"
:argadr="{
title: '',
grp: 'brdgrp',
rol: 'prb',
grp: 'brtp',
rol: 'oth',
}"
:disabled="true"
disabled1
@onSeainf="onSeainf" @onAplpDet="onOthpDet"
>
</c-ptap1>
<!-- <c-ptap
......@@ -753,7 +755,7 @@ export default {
data() {
return {};
},
methods: { ...Event, onSeainf() {}, onDitpButgetref() {}, onBenpDet() {} },
methods: { ...Event},
created: function () {},
computed: {
flag() {
......
......@@ -148,6 +148,7 @@
:disabled="true"
:isAdrblk="false"
disabled1
@onSeainf="onSeainf" @onAplpDet="onShppDet"
>
</c-ptap1>
<!-- brdgrp.shp.pts.extkey 对应grp: 'brdgrp', rol: 'prb',-->
......
......@@ -306,9 +306,9 @@
<c-col :span="24">
<c-ptap1 :model="model" :argadr="{
title: '',
grp: 'brtp',
rol: 'oth',
}" :disabled="true" :isAdrblk="false">
grp: 'brdgrp',
rol: 'prb',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onPrbpDet">
</c-ptap1>
</c-col>
......@@ -325,7 +325,7 @@
title: '',
grp: 'brtp',
rol: 'oth',
}" :disabled="true" :isAdrblk="false" disabled1>
}" :disabled="true" :isAdrblk="false" disabled1 @onSeainf="onSeainf" @onAplpDet="onOthpDet">
</c-ptap1>
</c-col>
......@@ -943,7 +943,7 @@ export default {
data() {
return {};
},
methods: { ...Event, onSeainf() { }, onDitpButgetref() { }, onAcctagButtxmsel() { }, },
methods: { ...Event },
created: function () { },
computed: {
flag() {
......
......@@ -142,6 +142,7 @@ import Gitsel from "./Gitsel"
import Infgid from "./Infgid"
import Gitset from "./Gitset"
import Gitcrq from "./Gitcrq"
import Infgcd from "./Infgcd"
import Getsel from "./Getsel"
import Getset from "./Getset"
import Getcrq from "./Getcrq"
......@@ -337,6 +338,7 @@ const BusRouter = [
{ path: 'infgid', component: Infgid, name: 'Infgid', meta: { title: '进口保函入口交易' } },
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
{ path: 'infgcd', component: Infgcd, name: 'Infgcd', meta: { title: '保函赔付查询' } },
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
......
......@@ -664,7 +664,12 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {
...Event,
onSeainf(data) {
this.$emit("onSeainf", data);
},
},
created: function () {},
};
</script>
......
......@@ -107,7 +107,7 @@
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<el-tab-pane v-if="bookings" label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
......@@ -121,18 +121,12 @@
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane v-if="attachments" label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- <el-tab-pane v-if="model.gitp.swiftflg=='N'&&model.gidgrp.ghd.segtyp=='02'" label="汇总征税" name="detpp">
<c-content>
<m-detpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
......@@ -203,11 +197,18 @@ export default {
codes: {
...CodeTable,
},
bookings: false,
attachments: false,
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
if(tab.name === "setpan"){
this.bookings = true,
this.attachments = true
}
/**
* do it yourself
**/
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000103 -->
<!-- <el-tab-pane label="PD000103" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane> -->
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infgcd from "~/model/Infgcd"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infgcd/Check"
import Default from "~/model/Infgcd/Default"
import Pattern from "~/model/Infgcd/Pattern"
import Infsea from "./Infsea"
export default {
name: "Infgcd",
components:{
"m-infsea" : Infsea,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "infgcd",
model: new Infgcd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入infgcd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -715,12 +715,14 @@ export default {
dialogTableVisible: false,
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
'4 4 "状态" 50',
'5 5 "币种" 80',
'6 6 "金额" 80',
'0 1 "Trn ID" 100',
'1 2 "Reference" 200',
'2 3 "Transaction Name" 100',
'3 4 "Entry" 200',
'4 5 "Status" 50',
'5 6 "Cur." 80',
'6 7 "Relevant Amount" 80',
'7 8 "Signed" 80',
],
data: [],
},
......@@ -728,26 +730,26 @@ export default {
columns: [
'1 1 "Reference" 150',
'2 2 "Resp. User" 150',
'3 10 "Opened" 150',
'4 13 "Validity" 150',
'5 14 "Liability" 150',
'6 21"电子渠道类型" 150',
'7 22"OTHERSNO" 150',
'8 3 "保函品种" 150',
'9 20 "Handling Type" 150',
'10 11 "分行名称" 150',
'11 4 "Party Number" 150',
'12 5 "Applicant" 150',
'15 6 "Cur" 150',
'13 7 "Party Number" 150',
'14 8 "Beneficiary" 150',
'15 6 "Cur" 150',
'16 18 "Guar. Amount" 150',
'17 12 "Cur" 150',
'18 9 "Guarantee Amount(RMB)" 150',
'3 10 "Opened" 150',
'10 11 "分行名称" 150',
'17 12 "Cur" 150',
'4 13 "Validity" 150',
'5 14 "Liability" 150',
'22 15 "Open Amount(RMB)" 150',
'19 16 "Cur" 150',
'20 19 "Open Amount" 150',
'21 17 "Cur" 150',
'22 15 "Open Amount(RMB)" 150',
'16 18 "Guar. Amount" 150',
'20 19 "Open Amount" 150',
'9 20 "Handling Type" 150',
'6 21"电子渠道类型" 150',
'7 22"OTHERSNO" 150',
],
data: [],
},
......
......@@ -176,6 +176,7 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
......
......@@ -348,13 +348,15 @@
</c-col>
<c-col :span="24">
<c-col :span="12" style="margin-left: 150px">
<c-col :span="12">
<el-form-item label="" prop="letp.aamp.aammod.addamtflg">
<c-checkbox :disabled="true" v-model="model.ledgrp.rec.collflg"
>Collateralized L/C</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12" style="margin-right: -150px">
<c-col :span="12">
<el-form-item label="" prop="letp.aamp.aammod.addamtflg">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg">Add. Amount</c-checkbox>
</el-form-item>
......@@ -362,11 +364,14 @@
</c-col>
<c-col :span="24">
<c-col :span="12" style="margin-left: 150px">
<c-col :span="12">
<el-form-item label="" prop="ledgrp.rec.inctrf">
<c-checkbox v-model="model.ledgrp.rec.inctrf" disabled>Incoming Transfer</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12" style="margin-right: -150px">
<c-col :span="12">
<el-form-item label="" prop="ledgrp.rec.resflg">
<c-checkbox v-model="resflg">Reserved Contract</c-checkbox>
</el-form-item>
......@@ -521,14 +526,14 @@ export default {
this.model.ledgrp.rec.nonban = val ? "X" : "";
},
},
teskeyunc:{
teskeyunc: {
get() {
return this.model.ledgrp.rec.teskeyunc != "";
},
set(val) {
this.model.ledgrp.rec.teskeyunc = val ? "X" : "";
},
}
},
},
methods: {
...Event,
......
......@@ -39,6 +39,7 @@
style="width: 100%"
placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
:code="codes.cnfins"
disabled
>
</c-select>
</el-form-item>
......
......@@ -19,6 +19,7 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
......
......@@ -19,6 +19,7 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
......
......@@ -77,7 +77,7 @@
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="Attachments" name="doctre" v-if="attachments">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -162,11 +162,15 @@ export default {
codes: {
...CodeTable
},
attachments: false
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
if(tab.name === 'setpan') {
this.attachments = true
}
/**
* do it yourself
**/
......
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