Commit d5e244fa by liyixun

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 7f492dda e842db67
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
"brdgrp.rec.tenmaxday":[ "brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 5,message:"长度不能超过5"}
], ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -102,8 +102,8 @@ export default { ...@@ -102,8 +102,8 @@ export default {
], ],
"brdgrp.blk.prsdoc":[ "brdgrp.blk.prsdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 150,message:"长度不能超过150"}
], ],
"setmod.doccur":[ "setmod.doccur":[
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"setmod.docamt":[ "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -317,12 +317,18 @@ export default { ...@@ -317,12 +317,18 @@ export default {
}, },
async onChangeDocamt(){ async onChangeDocamt(){
this.flag3 = false; this.flag3 = false;
let isNull = this.model.mtabut.clsflg; //获取调用前的勾选状态
let rtnmsg = await this.executeRule("setmod.docamt") let rtnmsg = await this.executeRule("setmod.docamt")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
this.flag3 = true; this.flag3 = true;
//初始化勾选
if(isNull != ""){ //如果调用前为勾选,调后也勾选
this.model.mtabut.clsflg="X";
}
} }
else else
{ {
......
...@@ -74,6 +74,27 @@ let checkObj = { ...@@ -74,6 +74,27 @@ let checkObj = {
"cpdgrp.snd.namelc" :null, "cpdgrp.snd.namelc" :null,
"cnybop.cnyinc.cpayeraccttyp" :null, "cnybop.cnyinc.cpayeraccttyp" :null,
"cnybop.vouflg" :null, "cnybop.vouflg" :null,
"bopmod.dbbgrp.bas.exrate" :null,
"bopmod.dbbgrp.bas.fcyamt" :null,
"bopmod.dbbgrp.bas.methods" :null,
"bopmod.dbbgrp.bas.idcode" :null,
"bopmod.dbbgrp.bas.buscode" :null,
"bopmod.dbbgrp.bas.lcyacc" :null,
"bopmod.dbbgrp.bas.custype" :null,
"bopmod.dbbgrp.bas.fcyacc" :null,
"bopmod.dbbgrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.othamt" :null,
"bopmod.dbbgrp.bas.actiontype" :null,
"bopmod.dbbgrp.bas.lcyamt" :null,
"bopmod.dbbgrp.bas.othacc" :null,
"bopmod.dbbgrp.bas.actiondesc" :null,
"bopmod.dbbgrp.bas.rptno" :null,
"bopmod.dbbgrp.bas.custnm" :null,
"bopmod.dbbgrp.bas.oppuser" :null,
"bopmod.dbbgrp.bas.custcod" :null,
"bopmod.dbbgrp.bas.txccy" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -72,5 +72,11 @@ export default { ...@@ -72,5 +72,11 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction, "cnybop.outflg" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.rptno" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custcod" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -529,7 +529,77 @@ export default { ...@@ -529,7 +529,77 @@ export default {
], ],
"bopmod.szflg":[
{type: "string", required: true, message: "必输项"},
],
"bopmod.dbbgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbbgrp.bas.actiondesc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbbgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbbgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
} }
\ No newline at end of file
...@@ -160,6 +160,50 @@ export default class Cptadv{ ...@@ -160,6 +160,50 @@ export default class Cptadv{
outchargeccy:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy outchargeccy:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp:"", // 款项来源 .bopmod.acttyp acttyp:"", // 款项来源 .bopmod.acttyp
dbbp:{
baspp:{
cusnam:"", // .bopmod.dbbp.baspp.cusnam
cornam:"", // .bopmod.dbbp.baspp.cornam
corpnam:"", // .bopmod.dbbp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbbp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbbp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbbp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbbp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbbp.baspp.tmprefnew
},
},
dbbgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbbgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbbgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbbgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbbgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbbgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbbgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbbgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbbgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbbgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbbgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbbgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbbgrp.bas.buscode
custype:"", // 类型 .bopmod.dbbgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbbgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbbgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbbgrp.bas.lcyamt
custnm:"", // 付款人名称 .bopmod.dbbgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbbgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbbgrp.bas.custcod
actuccy:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .bopmod.dbbgrp.bas.lcbgno
issdate:"", // 开证日期 .bopmod.dbbgrp.bas.issdate
tenor:"", // 期限 .bopmod.dbbgrp.bas.tenor
txccy:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txccy
txamt:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeamt
},
},
}, },
cnybop:{ cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
...@@ -199,6 +243,8 @@ export default class Cptadv{ ...@@ -199,6 +243,8 @@ export default class Cptadv{
saddwordtra:"", saddwordtra:"",
sbankname:"", // 银行机构名称 .cnybop.sbankname sbankname:"", // 银行机构名称 .cnybop.sbankname
incscale:"", // INCSCALE .cnybop.incscale incscale:"", // INCSCALE .cnybop.incscale
outscale:"",
saddwordout:"",
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -93,6 +93,46 @@ let checkObj = { ...@@ -93,6 +93,46 @@ let checkObj = {
"cpdgrp.snd.namelc" :null, "cpdgrp.snd.namelc" :null,
"cpdgrp.rec.cur71f" :null, "cpdgrp.rec.cur71f" :null,
"cnybop.vouflg" :null, "cnybop.vouflg" :null,
"cnybop.cnyout.sbalancemode" :null,
"bopmod.dbbgrp.bas.exrate" :null,
"bopmod.dbbgrp.bas.fcyamt" :null,
"bopmod.dbbgrp.bas.methods" :null,
"bopmod.dbbgrp.bas.idcode" :null,
"bopmod.dbbgrp.bas.buscode" :null,
"bopmod.dbbgrp.bas.lcyacc" :null,
"cnybop.cnyout.iaccountperiod" :null,
"cnybop.cnyout.sbanktrano" :null,
"bopmod.dbbgrp.bas.custype" :null,
"cnybop.saddwordout" :null,
"bopmod.dbbgrp.bas.fcyacc" :null,
"bopmod.dbbgrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.othamt" :null,
"cnybop.cnyout.sswiftbic" :null,
"cnybop.cnyout.sbankorgcode" :null,
"cnybop.cnyout.cpayeraccttyp" :null,
"cnybop.spayeename" :null,
"cnybop.cnyout.fpayeeamt" :null,
"bopmod.dbbgrp.bas.actiontype" :null,
"bopmod.dbbgrp.bas.lcyamt" :null,
"cnybop.outscale" :null,
"bopmod.dbbgrp.bas.othacc" :null,
"bopmod.dbbgrp.bas.actiondesc" :null,
"cnybop.sbankname" :null,
"bopmod.dbbgrp.bas.rptno" :null,
"cnybop.cnyout.dpayeedate" :null,
"bopmod.dbbgrp.bas.custnm" :null,
"cnybop.cnyout.frecordamt" :null,
"bopmod.dbbgrp.bas.oppuser" :null,
"cnybop.spayername" :null,
"bopmod.dbbgrp.bas.custcod" :null,
"cnybop.cnyout.spayeecny" :null,
"cnybop.cnyout.spayercountrycode" :null,
"bopmod.dbbgrp.bas.txccy" :null,
"cnybop.cnyout.sorilevyno" :null,
"cnybop.cnyout.cpayeeattr" :null,
"cnybop.cnyout.ftotalamt" :null,
"cnybop.cnyout.spayeeorgcode" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -90,5 +90,13 @@ export default { ...@@ -90,5 +90,13 @@ export default {
"trdgrp.rec.ownref" :Utils.defaultFunction, "trdgrp.rec.ownref" :Utils.defaultFunction,
// "cptp.payeecountcode" :Utils.defaultFunction, // "cptp.payeecountcode" :Utils.defaultFunction,
"cpdgrp.rec.ischktyp" :Utils.defaultFunction, "cpdgrp.rec.ischktyp" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.rptno" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custcod" :Utils.defaultFunction,
"cnybop.cnyout.spayercountrycode" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -548,7 +548,191 @@ export default { ...@@ -548,7 +548,191 @@ export default {
"bopmod.dbbgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbbgrp.bas.actiondesc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbbgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbbgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"cnybop.cnyout.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnyout.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyout.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnybop.cnyout.spayeeacct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.cnyout.spayeeorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.spayeename":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyout.spayercountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.spayername":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyout.sswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyout.smidtransbank":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyout.spayeracct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.outscale":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"cnybop.cnyout.dpayeedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnyout.fprepayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.iaccountperiod":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnyout.ftotalamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.sorilevyno":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"cnybop.cnyout.fpayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.fonshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.fcustomsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.foffshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.frecordamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyout.fnogoodsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.saddwordout":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
......
...@@ -5,8 +5,6 @@ export default { ...@@ -5,8 +5,6 @@ export default {
"cpdgrp.rec.orcacc": [{ required: true, message: '必输项', trigger: 'change' }], "cpdgrp.rec.orcacc": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.cpdflg": [{ required: true, message: '必输项', trigger: 'change' }], "cpdgrp.rec.cpdflg": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.orc.pts.namcn": [{ required: true, message: '必输项', trigger: 'change' }], "cpdgrp.orc.pts.namcn": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.liqtyp": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.liqtyp": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.rec.swftyp": [{ required: true, message: '必输项', trigger: 'change' }], "cpdgrp.rec.swftyp": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.cbs.max.cur": [{ required: true, message: '必输项', trigger: 'change' }], "cpdgrp.cbs.max.cur": [{ required: true, message: '必输项', trigger: 'change' }],
"cpdgrp.cbs.max.amt": [{ required: true, message: '必输项', trigger: 'change' }], "cpdgrp.cbs.max.amt": [{ required: true, message: '必输项', trigger: 'change' }],
......
...@@ -3,6 +3,58 @@ import Pts from "../Common/Pts" ...@@ -3,6 +3,58 @@ import Pts from "../Common/Pts"
export default class Cptopn{ export default class Cptopn{
constructor () { constructor () {
this.data = { this.data = {
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
dbbp:{
baspp:{
cusnam:"", // .bopmod.dbbp.baspp.cusnam
cornam:"", // .bopmod.dbbp.baspp.cornam
corpnam:"", // .bopmod.dbbp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbbp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbbp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbbp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbbp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbbp.baspp.tmprefnew
},
},
dbbgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbbgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbbgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbbgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbbgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbbgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbbgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbbgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbbgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbbgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbbgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbbgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbbgrp.bas.buscode
custype:"", // 类型 .bopmod.dbbgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbbgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbbgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbbgrp.bas.lcyamt
custnm:"", // 付款人名称 .bopmod.dbbgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbbgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbbgrp.bas.custcod
actuccy:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .bopmod.dbbgrp.bas.actuamt
lcbgno:"", // 信用证/保函编号 .bopmod.dbbgrp.bas.lcbgno
issdate:"", // 开证日期 .bopmod.dbbgrp.bas.issdate
tenor:"", // 期限 .bopmod.dbbgrp.bas.tenor
txccy:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txccy
txamt:"", // 付款币种及金额 .bopmod.dbbgrp.bas.txamt
outchargeccy:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .bopmod.dbbgrp.bas.outchargeamt
},
},
},
cpdgrp:{ cpdgrp:{
rec:{ rec:{
ownref:"", // Our Reference .cpdgrp.rec.ownref ownref:"", // Our Reference .cpdgrp.rec.ownref
...@@ -265,20 +317,38 @@ export default class Cptopn{ ...@@ -265,20 +317,38 @@ export default class Cptopn{
}, },
}, },
}, },
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
dclflg:"", // 申报数据 .bopmod.dclflg
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
},
cnybop:{ cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg cnyout:{
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg spk:"", // 业务主键 .cnybop.cnyout.spk
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg sbankorgcode:"", // 银行机构代码 .cnybop.cnyout.sbankorgcode
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg spayeeorgcode:"", // 付款人机构代码 .cnybop.cnyout.spayeeorgcode
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg spayercountrycode:"", // 收款人常驻国家(地区)代码 .cnybop.cnyout.spayercountrycode
sswiftbic:"", // 收款行SWIFT BIC .cnybop.cnyout.sswiftbic
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnybop.cnyout.cpayeraccttyp
spayeracct:"", // 清算(结算)帐户帐号 .cnybop.cnyout.spayeracct
smidtransbank:"", // 中�'转汇行 .cnybop.cnyout.smidtransbank
dpayeedate:"", // 付款日期 .cnybop.cnyout.dpayeedate
sorilevyno:"", // 原申报号码 .cnybop.cnyout.sorilevyno
sbanktrano:"", // 银行业务编号 .cnybop.cnyout.sbanktrano
sbalancemode:"", // 结算方式 .cnybop.cnyout.sbalancemode
iaccountperiod:"", // 结�'�期 .cnybop.cnyout.iaccountperiod
fpayeeamt:"", // 货物贸易付款金额 .cnybop.cnyout.fpayeeamt
fcustomsamt:"", // 已报关付款金额 .cnybop.cnyout.fcustomsamt
frecordamt:"", // 已备案付款金额 .cnybop.cnyout.frecordamt
fprepayeeamt:"", // 预付款金额 .cnybop.cnyout.fprepayeeamt
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnybop.cnyout.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnybop.cnyout.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnybop.cnyout.fnogoodsamt
cpayeeattr:"", // 付款人属性 .cnybop.cnyout.cpayeeattr
spayeecny:"", // 付款币种 .cnybop.cnyout.spayeecny
spayeeacct:"", // 付款人账号 .cnybop.cnyout.spayeeacct
ftotalamt:"", // 原币金额 .cnybop.cnyout.ftotalamt
},
spayeename:"", // 付款人名称 .cnybop.spayeename
spayername:"", // 收款人名称 .cnybop.spayername
saddwordout:"", // 交易附言 .cnybop.saddwordout
sbankname:"", // 银行机构名称 .cnybop.sbankname
outscale:"", // OUTSCALE .cnybop.outscale
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -19,19 +19,19 @@ export default { ...@@ -19,19 +19,19 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"trnmod.swiadd.amenbr":[ "trnmod.swiadd.amenbr":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {type: "number", max: 999,message:"长度不能超过3"}
], ],
"ditamep.amenbr":[ "ditamep.amenbr":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"} {type: "number", max: 99,message:"长度不能超过2"}
], ],
"didgrp.cbs.nom1.cur":[ "didgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"olddidgrp.cbs.nom1.amt":[ "olddidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"olddidgrp.cbs.max.amt":[ "olddidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -60,13 +60,13 @@ export default { ...@@ -60,13 +60,13 @@ export default {
], ],
"ditamep.engamt":[ "ditamep.engamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"trnmod.swiadd.newamt":[ "trnmod.swiadd.newamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ditamep.maxamt":[ "ditamep.maxamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
"didgrp.cbs.nom1.amt":[ "didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -201,7 +201,7 @@ export default { ...@@ -201,7 +201,7 @@ export default {
"didgrp.cbs.max.amt":[ "didgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -293,8 +293,8 @@ export default { ...@@ -293,8 +293,8 @@ export default {
"didgrp.rec.tenmaxday":[ "didgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {type: "number",max: 999,message:"长度不能超过3"}
], ],
...@@ -338,7 +338,7 @@ export default { ...@@ -338,7 +338,7 @@ export default {
], ],
"didgrp.rec.conamt":[ "didgrp.rec.conamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"}, {max: 16,message:"整数位不能超过13位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
......
...@@ -290,18 +290,6 @@ export default { ...@@ -290,18 +290,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){ async onButpErr(){
let rtnmsg = await this.executeRule("butp.err") let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -314,18 +302,6 @@ export default { ...@@ -314,18 +302,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOutctySelbut1(){ async onOutctySelbut1(){
let rtnmsg = await this.executeRule("outcty.selbut1") let rtnmsg = await this.executeRule("outcty.selbut1")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
......
...@@ -7,7 +7,7 @@ export default { ...@@ -7,7 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.brdgrp.rec.shgref = rtnmsg.data.brdgrp_rec_shgref;
} }
else else
{ {
...@@ -19,6 +19,7 @@ export default { ...@@ -19,6 +19,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.brdgrp.rec.ownref = rtnmsg.data.brdgrp_rec_ownref;
} }
else else
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -18,57 +17,64 @@ ...@@ -18,57 +17,64 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <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"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000033 --> <!--PD000033 -->
<el-tab-pane label="承兑" name="accp"> <el-tab-pane label="承兑" name="accp">
<m-accp :model="model" :codes="codes"/> <m-accp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bftacc from "~/model/Bftacc" import Bftacc from "~/model/Bftacc";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftacc/Check" import Check from "~/model/Bftacc/Check";
import Default from "~/model/Bftacc/Default" import Default from "~/model/Bftacc/Default";
import Pattern from "~/model/Bftacc/Pattern" import Pattern from "~/model/Bftacc/Pattern";
import Accp from "./Accp" import Accp from "./Accp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
...@@ -77,22 +83,22 @@ import Doctre from "~/views/Public/Doctre"; ...@@ -77,22 +83,22 @@ import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bftacc", name: "Bftacc",
components:{ components: {
"m-accp" : Accp, "m-accp": Accp,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "accp", tabVal: "accp",
trnName: "bftacc", trnName: "bftacc",
...@@ -102,34 +108,32 @@ export default { ...@@ -102,34 +108,32 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable ...CodeTable,
}, },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入bftacc交易"); console.log("进入bftacc交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data) if (this.isInDisplay) {
//TODO 处理数据逻辑 this.restoreDisplay();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
<br> <br>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.gleflg" >系统内付款且过账</c-checkbox> <c-checkbox v-model="model.gleflg" true-label="X">系统内付款且过账</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="overview" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000062 --> <!--PD000062 -->
<el-tab-pane label="不符点/说明" name="docpre"> <el-tab-pane label="不符点/说明" name="docpre">
<m-docpre :model="model" :codes="codes"/> <m-docpre :model="model" :codes="codes"/>
...@@ -135,6 +139,7 @@ import Dnfp from "./Dnfp" ...@@ -135,6 +139,7 @@ import Dnfp from "./Dnfp"
import Detp from "./Detp" import Detp from "./Detp"
import Docpre from "./Docpre" import Docpre from "./Docpre"
import Shpdet from "./Shpdet" import Shpdet from "./Shpdet"
import Ovwp from "./Ovwp"
import Cmnsetl1 from "./Cmnsetl1" import Cmnsetl1 from "./Cmnsetl1"
import Syswrndisplay from "./Syswrndisplay" import Syswrndisplay from "./Syswrndisplay"
...@@ -173,6 +178,7 @@ export default { ...@@ -173,6 +178,7 @@ export default {
"m-cmnsetl1" : Cmnsetl1, "m-cmnsetl1" : Cmnsetl1,
"m-syswrndisplay" : Syswrndisplay, "m-syswrndisplay" : Syswrndisplay,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-ovwp" : Ovwp,
}, },
provide() { provide() {
return { return {
...@@ -216,6 +222,7 @@ export default { ...@@ -216,6 +222,7 @@ export default {
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
this.model.gleflg="X";
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
......
...@@ -136,12 +136,14 @@ ...@@ -136,12 +136,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tenor Stream" prop="liaall.tenstm.rows"> <el-form-item label="Tenor Stream" >
<c-istream-table <c-istream-table
:list="model.liaall.tenstm.rows" ref="table"
:list="model.liaall.tenstm.rows || []"
:columns="columns" :columns="columns"
:showSelection=true :showSelection=true
v-on:multipleSelect="multipleSelect" v-on:multipleSelect="multipleSelect"
prop="liaall.tenstm"
> >
</c-istream-table> </c-istream-table>
</el-form-item> </el-form-item>
...@@ -212,6 +214,7 @@ ...@@ -212,6 +214,7 @@
placeholder="请选择跨境人民币清算模式" placeholder="请选择跨境人民币清算模式"
:code="this.cmtflg" :code="this.cmtflg"
@change="commonExecuteRule('trnmod.cmtflg')" @change="commonExecuteRule('trnmod.cmtflg')"
:disabled="model.brdgrp.rec.frepayflg == ''?false:true"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<!--PD000005 --> <!--PD000005 -->
<el-tab-pane label="Seting Doc" name="utlp"> <el-tab-pane label="Seting Doc" name="utlp">
<c-content> <c-content>
<m-utlp :model="model" :codes="codes"/> <m-utlp ref="utlp" :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000131 --> <!--PD000131 -->
<el-tab-pane :label=this.det202cvName name="det202cv" v-if="model.mtabut.clsflg !=''"> <el-tab-pane :label=this.det202cvName name="det202cv" v-if="model.mtabut.clsflg =='x'">
<c-content> <c-content>
<m-det202cv :model="model" :codes="codes" /> <m-det202cv :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -264,6 +264,7 @@ export default { ...@@ -264,6 +264,7 @@ export default {
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
this.$refs.utlp.$refs.table.$refs.table.toggleAllSelection(); //表格,默认勾选
} else { } else {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
......
...@@ -362,10 +362,10 @@ const BusRouter = [ ...@@ -362,10 +362,10 @@ const BusRouter = [
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } }, { path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } }, { path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
{ path: 'infgcd', component: Infgcd, name: 'Infgcd', meta: { title: '保函赔付查询' } }, { path: 'infgcd', component: Infgcd, name: 'Infgcd', meta: { title: '保函赔付查询' } },
{ path: 'getcan', component: Getcan, name: 'Getcan', meta: { title: 'Getcan' } }, { path: 'getcan', component: Getcan, name: 'Getcan', meta: { title: '出口保函注销' } },
{ path: 'gitcan', component: Gitcan, name: 'Gitcan', meta: { title: 'Gitcan' } }, { path: 'gitcan', component: Gitcan, name: 'Gitcan', meta: { title: '进口保函注销' } },
{ path: 'gitcrj', component: Gitcrj, name: 'Gitcrj', meta: { title: 'Gitcrj' } }, { path: 'gitcrj', component: Gitcrj, name: 'Gitcrj', meta: { title: '进口保函拒付' } },
{ path: 'gctcan', component: Gctcan, name: 'Gctcan', meta: { title: 'Gctcan' } }, { path: 'gctcan', component: Gctcan, name: 'Gctcan', meta: { title: '保函赔付注销' } },
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } }, { path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="cpdgrp.rec.nam"> <el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input <c-input
v-model="model.cpdgrp.rec.nam" v-model="model.cpdgrp.rec.nam"
maxlength="40" maxlength="40"
......
...@@ -76,6 +76,26 @@ ...@@ -76,6 +76,26 @@
<!--PD000000 --> <!--PD000000 -->
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--
<el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" >
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" >
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
-->
<el-tab-pane label="境外汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="境内汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='2'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -112,6 +132,7 @@ import Check from "~/model/Cptadv/Check"; ...@@ -112,6 +132,7 @@ import Check from "~/model/Cptadv/Check";
// import Docpan from "./Docpan"; // import Docpan from "./Docpan";
import Sbxx from "./Sbxx"; import Sbxx from "./Sbxx";
import Incp from "./Incp"; import Incp from "./Incp";
import Basp from "./Basp"
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
...@@ -133,6 +154,7 @@ export default { ...@@ -133,6 +154,7 @@ export default {
"m-ptap": Ptap, "m-ptap": Ptap,
"m-docpan2": Docpan2, "m-docpan2": Docpan2,
"m-incp": Incp, "m-incp": Incp,
"m-basp": Basp,
}, },
provide() { provide() {
return { return {
......
...@@ -2584,10 +2584,10 @@ export default { ...@@ -2584,10 +2584,10 @@ export default {
}, },
watch:{ watch:{
//通过账号、收款人账号控制原始金额、发报行扣费金额、汇率 //通过账号、收款人账号控制原始金额、发报行扣费金额、汇率
"model.cpdgrp.orc.pts.extkey":{ "model.cpdgrp.pye.pts.extkey":{
immediate:true, immediate:true,
handler(val ,oldVal){ handler(val ,oldVal){
if(this.model.cpdgrp.orc.pts.extkey != '' && this.model.cpdgrp.pye.pts.extkey != ''){ if(this.model.cpdgrp.pye.pts.extkey != '' && this.model.cpdgrp.rec.swftyp != ''){
this.flag3=true; this.flag3=true;
} }
else{ else{
...@@ -2596,10 +2596,10 @@ export default { ...@@ -2596,10 +2596,10 @@ export default {
} }
} }
}, },
"model.cpdgrp.pye.pts.extkey":{ "model.cpdgrp.rec.swftyp":{
immediate:true, immediate:true,
handler(val ,oldVal){ handler(val ,oldVal){
if(this.model.cpdgrp.orc.pts.extkey != '' && this.model.cpdgrp.pye.pts.extkey != ''){ if(this.model.cpdgrp.pye.pts.extkey != '' && this.model.cpdgrp.rec.swftyp != ''){
this.flag3=true; this.flag3=true;
} }
else{ else{
......
...@@ -424,24 +424,6 @@ ...@@ -424,24 +424,6 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -80,20 +80,23 @@ ...@@ -80,20 +80,23 @@
<m-sbxx :model="model" :codes="codes" /> <m-sbxx :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane <!--
label="境内汇款申请书-基础信息" <el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" >
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe> <m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" >
label="境外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb> <m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane> </el-tab-pane>
-->
<el-tab-pane label="境外汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="境内汇款申请书-基础信息" name="basp" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='2'">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane <el-tab-pane
label="2111跨境支出信息" label="2111跨境支出信息"
...@@ -160,6 +163,8 @@ import Payment from "./Payment103.vue"; ...@@ -160,6 +163,8 @@ import Payment from "./Payment103.vue";
// import Payment103 from "./Det103.vue" // import Payment103 from "./Det103.vue"
// import Payment202 from "./Det202.vue" // import Payment202 from "./Det202.vue"
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Basp from "./Basp"
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
...@@ -185,6 +190,7 @@ export default { ...@@ -185,6 +190,7 @@ export default {
"m-outp": Outp, "m-outp": Outp,
"m-AdditionalInfo": AdditionalInfo, "m-AdditionalInfo": AdditionalInfo,
"m-Payment": Payment, "m-Payment": Payment,
"m-basp": Basp,
// "m-Payment103": Payment103, // "m-Payment103": Payment103,
// "m-Payment202": Payment202 // "m-Payment202": Payment202
}, },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="货物/服务名称" prop="godnam"> <el-form-item label="货物/服务名称" prop="godnam">
<c-input <c-input
v-model="model.godnam" v-model="model.godnam"
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
placeholder="货物服务名称" placeholder="货物服务名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="特殊规定" prop="litameadv"> <el-form-item label="特殊规定" prop="litameadv">
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<c-col :span="6" :offset="1"> <c-col :span="6" :offset="1">
<el-form-item label="修改次数" prop="trnmod.swiadd.amenbr"> <el-form-item label="修改次数" prop="trnmod.swiadd.amenbr">
<c-input <c-input
v-model="model.trnmod.swiadd.amenbr" v-model.number="model.trnmod.swiadd.amenbr"
placeholder="请输入修改次数" placeholder="请输入修改次数"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<c-col :span="5"> <c-col :span="5">
<el-form-item label="实际修改次数" label-width="130px" prop="ditamep.amenbr"> <el-form-item label="实际修改次数" label-width="130px" prop="ditamep.amenbr">
<c-input <c-input
v-model="model.ditamep.amenbr" v-model.number="model.ditamep.amenbr"
placeholder="请输入实际修改次数" placeholder="请输入实际修改次数"
disabled disabled
></c-input> ></c-input>
......
...@@ -63,17 +63,21 @@ ...@@ -63,17 +63,21 @@
<c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input> <c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
<el-form-item label="合同金额" prop="didgrp.rec.conamt"> <c-col :span="24">
<c-col :span="10"> <c-col :span="10">
<el-form-item label="合同金额" prop="didgrp.rec.concur">
<c-select v-model="model.didgrp.rec.concur" style="width:95%" placeholder="请选择"> <c-select v-model="model.didgrp.rec.concur" style="width:95%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option> <el-option label="CNY 人民币" value="CNY"></el-option>
</c-select> </c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" label-width="10px" prop="didgrp.rec.conamt">
<c-input v-model="model.didgrp.rec.conamt" placeholder="请输入"></c-input> <c-input v-model="model.didgrp.rec.conamt" placeholder="请输入"></c-input>
</c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-col>
<!-- ========================= Right ========================= --> <!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="didgrp.rec.nam"> <el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input align="middle" v-model="model.didgrp.rec.nam" maxlength="40" disabled <c-input text-align="middle" v-model="model.didgrp.rec.nam" maxlength="40" disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input> placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
v-model="model.gctp0.gidget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
v-model="model.gctp.gidget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Overview" name="ovwp"> <el-tab-pane label="Overview" name="ovwp">
<c-content> <c-content :height="200">
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
......
...@@ -207,6 +207,7 @@ ...@@ -207,6 +207,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Reason of Cancelation" placeholder="请选择Reason of Cancelation"
:code="codes.purcan" :code="codes.purcan"
@change="change"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -325,8 +326,8 @@ ...@@ -325,8 +326,8 @@
line-height: 32px; line-height: 32px;
padding-bottom: 2px; padding-bottom: 2px;
" "
v-model="model.mtabut.clsflg" v-model="model.mtabut.clsflgp"
:disabled="model.gidgrp.rec.purcan != 'RR'" disabled
>Close Flag</c-checkbox >Close Flag</c-checkbox
> >
</c-col> </c-col>
...@@ -483,7 +484,16 @@ export default { ...@@ -483,7 +484,16 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: { ...Event,
change(){
if(this.model.gidgrp.rec.purcan=="RR"){
this.model.mtabut.clsflgp = "";
}else{
this.model.mtabut.clsflgp="X";
}
}
},
created: function () { created: function () {
trntyp: []; trntyp: [];
}, },
......
...@@ -515,6 +515,7 @@ ...@@ -515,6 +515,7 @@
v-model="model.gcdgrp.rec.docprbrol" v-model="model.gcdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择Presented by" placeholder="请选择Presented by"
@change="selectOrCheckboxRule('gcdgrp.rec.docprbrol')"
> >
<el-option <el-option
v-for="item in codes.docprbrol" v-for="item in codes.docprbrol"
...@@ -587,7 +588,7 @@ ...@@ -587,7 +588,7 @@
v-model="model.gcdgrp.rec.payrol" v-model="model.gcdgrp.rec.payrol"
placeholder="请选择" placeholder="请选择"
style="width: 100%" style="width: 100%"
@change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.payrol"
......
<template> <template>
<c-page title="出口保函索赔">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -68,6 +69,7 @@ ...@@ -68,6 +69,7 @@
v-on:select-ety="selectEty"> v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
......
...@@ -164,17 +164,19 @@ ...@@ -164,17 +164,19 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat=='X'" > <c-col :span="24" v-if="model.gidgrp.rec.liadat == 'X'">
<el-form-item <el-form-item label="Unlimited Liability"> </el-form-item>
label="Unlimited Liability"
>
</el-form-item>
</c-col> </c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat!=''" > <c-col :span="24" v-if="model.gidgrp.rec.liadat != ''">
<el-form-item label="Liability until" prop="gidgrp.rec.liadat"> <el-form-item label="Liability until" prop="gidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width:100%" placeholder="请选择Liability until"></c-date-picker> <c-date-picker
type="date"
v-model="model.gidgrp.rec.liadat"
disabled
style="width: 100%"
placeholder="请选择Liability until"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -207,6 +209,7 @@ ...@@ -207,6 +209,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Reason of Cancelation" placeholder="请选择Reason of Cancelation"
:code="codes.purcan" :code="codes.purcan"
@change="change"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -310,19 +313,19 @@ ...@@ -310,19 +313,19 @@
<c-select <c-select
v-model="model.autflg" v-model="model.autflg"
style="width: 100%" style="width: 100%"
:disabled="model.gidgrp.rec.purcan != 'RR'"
placeholder="请选择Authentication" placeholder="请选择Authentication"
:code="codes.autflg" :code="codes.autflg"
:disabled="this.type"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" --> <!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" mtabut.clsflg-->
<c-col :span="24" :offset="6"> <c-col :span="24" :offset="6">
<c-checkbox <c-checkbox
:disabled="model.gidgrp.rec.purcan != 'RR'" disabled
v-model="model.mtabut.clsflg" v-model="model.mtabut.clsflgp"
style=" style="
margin-left: 15px; margin-left: 15px;
height: 32px; height: 32px;
...@@ -486,7 +489,18 @@ export default { ...@@ -486,7 +489,18 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {
...Event,
change() {
if (this.model.gidgrp.rec.purcan == "RR") {
this.model.mtabut.clsflgp = ""
this.type=false
} else {
this.model.mtabut.clsflgp = "X"
this.type=true
}
},
},
created: function () { created: function () {
trntyp: []; trntyp: [];
}, },
......
<template> <template>
<c-page title="进口保函注销">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -12,115 +13,133 @@ ...@@ -12,115 +13,133 @@
<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> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :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"
>
<!--PD000026 --> <!--PD000026 -->
<el-tab-pane label="Cancelation" name="canp"> <el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes"/> <m-canp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane
<el-tab-pane label="Mt769" name="Mt769p" v-if="model.gidgrp.rec.purcan=='RR'"> label="Mt769"
<m-mt769p :model="model" :codes="codes"/> name="Mt769p"
v-if="model.gidgrp.rec.purcan == 'RR'"
>
<m-mt769p :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan"> <el-tab-pane label="Cash Cover" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/> <m-ccvpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Compeltion" name="coninfp"> <el-tab-pane label="Compeltion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD001139 --> <!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan"> <el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/> <m-shisuan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" <c-grid-ety-prompt-dialog
v-on:select-ety="selectEty"> ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Gitcan from "~/model/Gitcan" import Gitcan from "~/model/Gitcan";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitcan/Check" import Check from "~/model/Gitcan/Check";
import Default from "~/model/Gitcan/Default" import Default from "~/model/Gitcan/Default";
import Pattern from "~/model/Gitcan/Pattern" import Pattern from "~/model/Gitcan/Pattern";
import Canp from "./Canp" import Canp from "./Canp";
// import Engp from "./Engp" // import Engp from "./Engp"
// import Ccvpan from "./Ccvpan" // import Ccvpan from "./Ccvpan"
// import Setpan from "./Setpan" // import Setpan from "./Setpan"
// import Coninfp from "./Coninfp" // import Coninfp from "./Coninfp"
// import Docpan from "./Docpan" // import Docpan from "./Docpan"
// import Doctre from "./Doctre" // import Doctre from "./Doctre"
import Limitbody from "~/views/Public/Limitbody" import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan";
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Ccvpan from "~/views/Public/Ccvpan" import Ccvpan from "~/views/Public/Ccvpan";
import Shisuan from "./Shisuan" import Shisuan from "./Shisuan";
import Mt769p from "./Mt769p" import Mt769p from "./Mt769p";
//import Limitbody from "./Limitbody" //import Limitbody from "./Limitbody"
export default { export default {
name: "Gitcan", name: "Gitcan",
components:{ components: {
"m-canp" : Canp, "m-canp": Canp,
"m-engp" : Engp, "m-engp": Engp,
"m-ccvpan" : Ccvpan, "m-ccvpan": Ccvpan,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-shisuan" : Shisuan, "m-shisuan": Shisuan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-mt769p": Mt769p, "m-mt769p": Mt769p,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "canp", tabVal: "canp",
trnName: "gitcan", trnName: "gitcan",
...@@ -129,33 +148,28 @@ export default { ...@@ -129,33 +148,28 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable }, codes: { ...CodeTable },
} };
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入gitcan交易"); console.log("进入gitcan交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
else },
{ };
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<c-page title="进口保函拒付">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -64,6 +65,7 @@ ...@@ -64,6 +65,7 @@
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
......
...@@ -624,6 +624,7 @@ ...@@ -624,6 +624,7 @@
v-model="model.gcdgrp.rec.docprbrol" v-model="model.gcdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择Presented by" placeholder="请选择Presented by"
@change="selectOrCheckboxRule('gcdgrp.rec.docprbrol')"
> >
<el-option <el-option
v-for="item in codes.docprbrol" v-for="item in codes.docprbrol"
...@@ -696,6 +697,7 @@ ...@@ -696,6 +697,7 @@
v-model="model.gcdgrp.rec.payrol" v-model="model.gcdgrp.rec.payrol"
placeholder="请选择" placeholder="请选择"
style="width: 100%" style="width: 100%"
@change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.payrol"
......
<template> <template>
<c-page title="进口保函索赔登记">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -65,6 +66,7 @@ ...@@ -65,6 +66,7 @@
v-on:select-ety="selectEty"> v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
......
...@@ -402,23 +402,24 @@ ...@@ -402,23 +402,24 @@
> >
</c-col> </c-col>
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg" checked <c-checkbox v-model="model.mtabut.clsflg" checked
:disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepaylg==''" :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''"
>Close Contract >Close Contract
</c-checkbox> </c-checkbox>
</c-col> </c-col>
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.gcdgrp.rec.frepaylg" <c-checkbox v-model="model.gcdgrp.rec.frepayflg"
>Free of payment</c-checkbox >Free of payment</c-checkbox
> >
</c-col> </c-col>
<!-- :disabled="model.gcdgrp.rec.frepayflg=='X'" -->
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox <c-checkbox
v-model="model.paypsb" v-model="model.paypsb"
:disabled="model.gcdgrp.rec.frepaylg=='X'" :disabled="model.gcdgrp.rec.frepayflg=='X'"
>Unpaid by Appliacnt</c-checkbox >Unpaid by Appliacnt</c-checkbox
> >
</c-col> </c-col>
...@@ -593,7 +594,7 @@ ...@@ -593,7 +594,7 @@
v-model="model.gcdgrp.rec.payrol" v-model="model.gcdgrp.rec.payrol"
placeholder="请选择Payer" placeholder="请选择Payer"
style="width: 100%" style="width: 100%"
@change="payrolChange" @change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.payrol"
...@@ -731,20 +732,31 @@ export default { ...@@ -731,20 +732,31 @@ export default {
{ label: "Other", value: "2" }, { label: "Other", value: "2" },
{ label: "CIPS系统", value: "3" }, { label: "CIPS系统", value: "3" },
], ],
payrol2: [
{ label: "Applicant", value: "1" },
{ label: "other paying party", value: "2" },
],
}; };
}, },
// watch:{
// "model.gcdgrp.rec.frepayflg" : {
// immediate: true,
// handler(val,oldval) {
// if(this.model.gcdgrp.rec.frepayflg !="X"){
// this.model.clsflg=="X";
// }else if(this.model.gcdgrp.rec.frepayflg =""){
// this.model.clsflg=="";
// }
// },
// }
// },
methods: { methods: {
...Event, ...Event,
payrolChange(v) { // change(){
if (v !== "2") { // if(this.model.gcdgrp.rec.frepayflg =="X"){
this.model.gcdgrp.oth.pts.extkey = ""; // this.model.mtabut.clsflgp=="X";
this.model.gcdgrp.oth.pts.adrblk = ""; // }else if(this.model.gcdgrp.rec.frepayflg ==""){
} // this.model.mtabut.clsflgp=="";
}, // }
// }
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -397,12 +397,12 @@ ...@@ -397,12 +397,12 @@
> >
</c-col> </c-col>
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg" checked <c-checkbox v-model="model.mtabut.clsflgp"
>Close Contract >Close Contract
</c-checkbox> </c-checkbox>
</c-col> </c-col>
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.gcdgrp.rec.frepaylg" <c-checkbox v-model="model.gcdgrp.rec.frepayflg"
>Free of payment</c-checkbox >Free of payment</c-checkbox
> >
</c-col> </c-col>
...@@ -441,6 +441,11 @@ ...@@ -441,6 +441,11 @@
>Creat MT 732</c-checkbox >Creat MT 732</c-checkbox
> >
</c-col> </c-col>
<c-col :span="24" :offset="19" v-if="false">
<c-checkbox v-model="model.Gitsetp1" disabled style="margin-left: 15px"
>Send MT 742</c-checkbox
>
</c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1" style="margin-top: 15px"> <c-col :span="11" :offset="1" style="margin-top: 15px">
...@@ -536,7 +541,7 @@ ...@@ -536,7 +541,7 @@
v-model="model.gcdgrp.rec.payrol" v-model="model.gcdgrp.rec.payrol"
placeholder="请选择Payer" placeholder="请选择Payer"
style="width: 100%" style="width: 100%"
@change="commonExecuteRule('gcdgrp.rec.payrol')" @change="selectOrCheckboxRule('gcdgrp.rec.payrol')"
> >
<el-option <el-option
v-for="item in codes.payrol" v-for="item in codes.payrol"
......
<template> <template>
<c-page title="进口保函赔付">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
...@@ -165,6 +166,7 @@ ...@@ -165,6 +166,7 @@
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
......
...@@ -12,44 +12,46 @@ ...@@ -12,44 +12,46 @@
<!--PD000006 --> <!--PD000006 -->
<!-- <el-tab-pane label="信用证查询" name="infsea"> --> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="买方信用证交易查询" name="infsea">
<c-content> <c-content>
<m-infsea v-show="!showPanel" @updateShowPanel="updateShowPanel($event)" :model="model" :codes="codes" ref="infsea"/> <m-infsea :model="model" :codes="codes"/>
</c-content> </c-content>
<!-- </el-tab-pane> --> </el-tab-pane>
<c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick"> </c-tabs>
<!--PD000001 -->
<!-- <c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick">
PD000001
<el-tab-pane label="基本信息" name="ovwp"> <el-tab-pane label="基本信息" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000452 --> PD000452
<el-tab-pane label="其他当事人" name="detp1"> <el-tab-pane label="其他当事人" name="detp1">
<c-content> <c-content>
<m-detp1 :model="model" :codes="codes"/> <m-detp1 :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000077 --> PD000077
<el-tab-pane label="详细信息" name="detp"> <el-tab-pane label="详细信息" name="detp">
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000342 --> PD000342
<el-tab-pane label="单据要求" name="tk"> <el-tab-pane label="单据要求" name="tk">
<m-tk :model="model" :codes="codes"/> <m-tk :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> PD000000
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000013 --> PD000013
<!-- <el-tab-pane label="PD000013" name="trnpan"> -- <el-tab-pane label="PD000013" name="trnpan">
<m-trnpan :model="model" :codes="codes"/> <m-trnpan :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
...@@ -64,9 +66,9 @@ ...@@ -64,9 +66,9 @@
</el-tab-pane> --> </el-tab-pane> -->
<!-- FEP /FCP Info --> <!-- FEP /FCP Info -->
<el-tab-pane label="FEP /FCP Info" name="fepinfp"> <!-- <el-tab-pane label="FEP /FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/> <m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000162 --> <!--PD000162 -->
<!-- <el-tab-pane label="PD000162" name="sepinfp"> <!-- <el-tab-pane label="PD000162" name="sepinfp">
...@@ -101,27 +103,24 @@ ...@@ -101,27 +103,24 @@
<!--PD000185 --> <!--PD000185 -->
<!-- <el-tab-pane label="PD000185" name="ordpan"> <!-- <el-tab-pane label="PD000185" name="ordpan">
<m-ordpan :model="model" :codes="codes"/> <m-ordpan :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane>
<!--PD000488 --> PD000488
<el-tab-pane label="声明" name="stament"> <el-tab-pane label="声明" name="stament">
<m-stament :model="model" :codes="codes"/> <m-stament :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> -->
</c-tabs>
</el-form> </el-form>
</div> </div>
<c-button <!-- <c-button
v-show="showPanel" v-show="showPanel"
style="margin-left: 75%;bottom: 10%;position:sticky" style="margin-left: 75%;bottom: 10%;position:sticky"
size="small" size="small"
@click="goBack()"> @click="goBack()">
<!-- @click="getDitSelInfo(scope.$index, scope.row)" --> @click="getDitSelInfo(scope.$index, scope.row)"
返回 返回
</c-button> </c-button> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -157,23 +156,23 @@ export default { ...@@ -157,23 +156,23 @@ export default {
name: "Infdid", name: "Infdid",
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
"m-ovwp" : Ovwp, // "m-ovwp" : Ovwp,
"m-detp" : Detp, // "m-detp" : Detp,
"m-tk" : Tk, // "m-tk" : Tk,
"m-coninfp" : Coninfp, // "m-coninfp" : Coninfp,
"m-trnpan" : Trnpan, // "m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp, // "m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp, // "m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp, // "m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp, // "m-sepinfp" : Sepinfp,
"m-gleinfp" : Gleinfp, // "m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp, // "m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp, // "m-peninfp" : Peninfp,
"m-liainfp" : Liainfp, // "m-liainfp" : Liainfp,
"m-prtpan" : Prtpan, // "m-prtpan" : Prtpan,
"m-ordpan" : Ordpan, // "m-ordpan" : Ordpan,
"m-detp1" : Detp1, // "m-detp1" : Detp1,
"m-stament" : Stament, // "m-stament" : Stament,
}, },
provide() { provide() {
return { return {
...@@ -183,56 +182,56 @@ export default { ...@@ -183,56 +182,56 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "infsea",
trnName: "infdid", trnName: "infdid",
model: new Infdid().data, model: new Infdid().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
showPanel:false, // showPanel:false,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
} }
}, },
methods:{ methods:{
// tabClick(){ tabClick(){
// },
tabClick(tab) {
const name = tab.name
let rulePath;
if (name === "fepinfp") {
rulePath = "infcon.fepinfp";
}
if (name === "coninfp") {
rulePath = "coninf.coninfp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
})
}
},
initPanel(val){
if(val){
this.tabVal = "ovwp"
//
}else{
this.tabVal = ""
}
},
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
},
goBack(){
this.showPanel = false;
}, },
// tabClick(tab) {
// const name = tab.name
// let rulePath;
// if (name === "fepinfp") {
// rulePath = "infcon.fepinfp";
// }
// if (name === "coninfp") {
// rulePath = "coninf.coninfp";
// }
// if (!!rulePath) {
// this.executeRule(rulePath).then(res => {
// if (res.respCode == SUCCESS) {
// this.updateModel(res.data);
// }
// })
// }
// },
// initPanel(val){
// if(val){
// this.tabVal = "ovwp"
// //
// }else{
// this.tabVal = ""
// }
// },
// async updateShowPanel(value) {
// this.showPanel = value;
// this.initPanel(value);
// },
// goBack(){
// this.showPanel = false;
// },
}, },
created:async function(){ created:async function(){
...@@ -240,8 +239,10 @@ export default { ...@@ -240,8 +239,10 @@ export default {
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
Utils.copyValueFromVO(this.model, rtnmsg.data); //更新数据
this.$refs.infsea.handleSearch(); this.updateModel(rtnmsg.data)
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// this.$refs.infsea.handleSearch();
} }
else else
{ {
......
...@@ -329,9 +329,9 @@ ...@@ -329,9 +329,9 @@
ref="childs" ref="childs"
:ownref="ownref" :ownref="ownref"
trnCode="gitsel" trnCode="gitsel"
ownrefPath="gidgrp" ownrefPath="gcdgrp"
:model="gitselModel" :model="gitselModel"
tabIndex="1" tabIndex="3"
@onChoose="onChoose" @onChoose="onChoose"
>11</m-busbtn >11</m-busbtn
> >
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch"> <c-list-search
@form-reset="handleReset('paramsForm')"
@form-search="handleSearch"
>
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form
...@@ -441,6 +444,13 @@ ...@@ -441,6 +444,13 @@
class="medium_bcs" class="medium_bcs"
size="medium" size="medium"
type="primary" type="primary"
@click="toGitpop"
>进口保函预开立</c-button
>
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitopn" @click="toGitopn"
>进口保函开立</c-button >进口保函开立</c-button
> >
...@@ -803,22 +813,22 @@ export default { ...@@ -803,22 +813,22 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async getButtons(ownref){ async getButtons(ownref) {
this.ownref = ownref this.ownref = ownref;
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true;
this.dialogFlag = ownref.startsWith("LG"); this.dialogFlag = ownref.startsWith("LG");
console.log("dialogFlag:" + this.dialogFlag); console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" +ownref); console.log("ownref:" + ownref);
}, },
async onChoose(code){ async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
} , },
async getDitSelInfo(code){ async getDitSelInfo(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
}, },
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
...@@ -836,6 +846,9 @@ export default { ...@@ -836,6 +846,9 @@ export default {
closeTrn(refId) { closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
toGitpop() {
this.$router.history.push("/business/gitpop");
},
toGitopn() { toGitopn() {
this.$router.history.push("/business/gitopn"); this.$router.history.push("/business/gitopn");
}, },
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="特殊规定条件" prop="ameadvrmk"> <el-form-item label="特殊规定条件" prop="ameadvrmk">
<c-input type="textarea" v-model="model.ameadvrmk" maxlength="34" show-word-limit placeholder="请输入特殊规定条件" ></c-input> <c-input type="textarea" v-model="model.ameadvrmk" maxlength="34" show-word-limit placeholder="请输入特殊规定条件" :disabled="model.litameadv === '无特殊规定'? true:false"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
......
<template>
<ReviewWrapper>
<Bftacc></Bftacc>
</ReviewWrapper>
</template>
<script>
import Bftacc from "~/views/Business/Bftacc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBftacc",
components: { ReviewWrapper, Bftacc },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
...@@ -51,6 +51,7 @@ import ReviewBotcan from "./Business/ReviewBotcan.vue"; ...@@ -51,6 +51,7 @@ import ReviewBotcan from "./Business/ReviewBotcan.vue";
import ReviewDitdav from "./Business/ReviewDitdav.vue"; import ReviewDitdav from "./Business/ReviewDitdav.vue";
import ReviewDitdla from "./Business/ReviewDitdla.vue"; import ReviewDitdla from "./Business/ReviewDitdla.vue";
import ReviewBdtcan from "./Business/ReviewBdtcan.vue"; import ReviewBdtcan from "./Business/ReviewBdtcan.vue";
import ReviewBftacc from "./Business/ReviewBftacc.vue";
const ReviewRouter = [ const ReviewRouter = [
...@@ -121,6 +122,7 @@ const ReviewRouter = [ ...@@ -121,6 +122,7 @@ const ReviewRouter = [
{ path: "ditdav", component: ReviewDitdav, name: "ReviewDitdav", meta: { title: "复核-Ditdav" } }, { path: "ditdav", component: ReviewDitdav, name: "ReviewDitdav", meta: { title: "复核-Ditdav" } },
{ path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } }, { path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } },
{ path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } }, { path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } },
{ path: "bftacc", component: ReviewBftacc, name: "ReviewBftacc", meta: { title: "复核-Bftacc" } },
]; ];
......
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