Commit 8d0042a4 by lianyang

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 690ddcea 6aa8ed3c
import Vue from "vue"
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
......
......@@ -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
......
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
......@@ -154,10 +154,10 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Delivery instructions" prop="bodgrp.blk.delins">
<el-form-item label="Warehouse/Insurance Instructions " prop="bodgrp.blk.delins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
placeholder="请输入Delivery instructions"></c-input>
placeholder="请输入Warehouse/Insurance Instructions "></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
......
......@@ -42,7 +42,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" disabled
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......@@ -75,7 +75,7 @@
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" disabled
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......@@ -107,7 +107,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......
......@@ -36,14 +36,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-input v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="13" :offset="1">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
......@@ -59,14 +59,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="13" :offset="1">
<c-col :span="12">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input>
......@@ -113,7 +113,8 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam" disabled>
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam"
disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -122,46 +123,48 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat">
<c-input v-model="model.bodgrp.rec.matdat" placeholder="" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
<c-col :span="2" :offset="1">
<span>Days</span>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Start of Maturity Period MATBEG" prop="bodgrp.rec.matperbeg">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
</c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam" disabled>
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam"
disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
......@@ -180,12 +183,12 @@
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24" style="margin-top:15px;border-top:2px solid #ddd;padding-top:15px" >
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency" disabled>
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"
disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -196,51 +199,45 @@
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab"> </span>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="currency discount paid back" prop="bptbck.dscbckcur">
<c-input v-model="model.bptbck.dscbckcur" maxlength="3" placeholder="请输入currency discount paid back">
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
<!-- <c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="" sortable width="100">
<el-table-column prop="ownref" label="owner" sortable width="100">
</el-table-column>
<el-table-column prop="opncur" label="" sortable width="100">
<el-table-column prop="opncur" label="opncur" sortable width="100">
</el-table-column>
<el-table-column prop="opnamt" label="" sortable width="100">
<el-table-column prop="opnamt" label="opnamt" sortable width="100">
</el-table-column>
<el-table-column prop="bckamt" label="" sortable width="100">
<el-table-column prop="bckamt" label="bckamt" sortable width="100">
</el-table-column>
<el-table-column prop="butcal" label="" sortable width="100">
<el-table-column prop="butcal" label="butcal" sortable width="100">
</el-table-column>
</el-table>
<!-- <el-pagination
</el-table> -->
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.bptbck_bptbckg.total">
</el-pagination> -->
</div>
</c-col>
<!-- </div>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Tenor Stream" prop="liaall.tenstm">
......@@ -261,6 +258,34 @@ export default {
mixins: [commonProcess],
data() {
return {
docgrd: {
columns: [{
title: "Reference",
width: "80px",
dataIndex: "ownref",
show: "input",
},
{
title: "Cur",
width: "80px",
dataIndex: "opncur",
show: "input",
},
{
title: "Open Amount",
width: "80px",
dataIndex: "opnamt",
show: "input",
},
{
title: "Amount Paid",
width: "320px",
dataIndex: "bckamt",
show: "input",
},
],
urls: "bptbck.bptbckg.docgrd",
},
}
},
......
......@@ -60,7 +60,7 @@
</template>
<script>
import Api from "~/service/Api"
// import Utils from "~/utils/index"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Botacc from "~/model/Botacc"
import commonFuncs from "~/mixin/commonFuncs";
......@@ -71,13 +71,16 @@ import Pattern from "~/model/Botacc/Pattern"
import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Engp from "./Engp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
import Doctre from "./Doctre"
// import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Coninfp from "~/views/Public/Coninfp"
export default {
......@@ -100,7 +103,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ptyp",
tabVal: "setp",
trnName: "botacc",
model: new Botacc().data,
checkRules: Check,
......
......@@ -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">
......
......@@ -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: [],
},
......
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