Commit 8586fc4e by panziyi

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

parents a6952a2a d40401fb
......@@ -3144,6 +3144,12 @@ const CodeTable = {
{ label: "Deal Message", value: "E_M" },
{ label: "Issuance", value: "ISS" },
],
exdtyp: [
{ label: "对方是境外联属机构,即双方有共同母公司,但相互持有表决权<10%或相互不持有表决权", value: "3" },
{ label: "对方是境外直接投资企业,即10%及以上的境外分支机构、子机构、联营机构或合营机构", value: "2" },
{ label: "对方是境外直接投资者,即持有本机构/被代理居民机构/委托人表决权≥10%", value: "1" },
{ label: "对方与本机构/被代理居民机构/委托人无关联关系、关系未知,或两机构均处于中国境内", value: "4" },
],
exe: [
{ label: "Executable", value: "Y" },
{ label: "Not Executable", value: "N" },
......
......@@ -18,7 +18,7 @@ export default {
"ledgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" },
{ 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位" }
],
"betp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
......
......@@ -21,7 +21,7 @@ export default {
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{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位" }
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -130,7 +130,7 @@ export default {
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
......
......@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -45,7 +45,7 @@ export default {
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -58,7 +58,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -21,7 +21,7 @@ export default {
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{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位" }
],
"brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -4,9 +4,12 @@ import Utils from "~/utils"
* Brtudp Check规则
*/
let checkObj = {
"cfabrt.recgrp.bas.billsn" :null,
"liaall.misamt" :null,
"brdgrp.rmb.pts.adrblk" :null,
"cfabrt.recgrp.bas.creditornamen" :null,
"brdgrp.acb.namelc" :null,
"cfabrt.recgrp.bas.actiontype" :null,
"brdgrp.prb.adrelc" :null,
"brtp.furide" :null,
"brdgrp.beb.pts.adrblk" :null,
......@@ -17,42 +20,68 @@ let checkObj = {
"brdgrp.tag72add" :null,
"setmod.dspflg" :null,
"brdgrp.rec.docflg" :null,
"cfabrt.recgrp.bas.maturity" :null,
"liaall.liaccv.totcovamt" :null,
"brdgrp.rec.disdat" :null,
"cfabrt.ownextkey" :null,
"cfabrt.cfaflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"brdgrp.acb.pts.adrblk" :null,
"cfabrt.recgrp.bas.appcode" :null,
"cfabrt.recgrp.bas.creditortype" :null,
"brtp.oth.adrelc" :null,
"cfabrt.recgrp.bas.credittype" :null,
"brdgrp.apl.pts.nam" :null,
"brdgrp.rmb.namelc" :null,
"cfabrt.recgrp.bas.appname" :null,
"cfabrt.recgrp.bas.actiondesc" :null,
"cfabrt.recgrp.bas.exdebtcode" :null,
"cfabrt.recgrp.bas.opercode" :null,
"cfabrt.recgrp.bas.debtorcode" :null,
"cfabrt.recgrp.bas.contractcurr" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"cfabrt.cfabrttxt" :null,
"liaall.limmod.ecifno" :null,
"cfabrt.recgrp.bas.contractamount" :null,
"cfabrt.recgrp.bas.creditorcode" :null,
"brdgrp.blk.docdis" :null,
"brdgrp.acb.adrelc" :null,
"brdgrp.prb.namelc" :null,
"brdgrp.rmb.pts.extkey" :null,
"brdgrp.rec.rcvdat" :null,
"cfabrt.recgrp.bas.creditorname" :null,
"brtp.oth.pts.adrblk" :null,
"brdgrp.acb.pts.extkey" :null,
"brdgrp.beb.pts.extkey" :null,
"brdgrp.beb.namelc" :null,
"brdgrp.prb.pts.nam" :null,
"brdgrp.ben.pts.nam" :null,
"cfabrt.recgrp.bas.spapfeboindex" :null,
"aamset.utlamt2" :null,
"brdgrp.prb.pts.extkey" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"brtp.oth.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"cfabrt.recgrp.bas.valuedate" :null,
"setmod.docamt" :null,
"cfabrt.recgrp.bas.relation" :null,
"liaall.liaccv.cshpct" :null,
"brdgrp.blk.setinsbr" :null,
"brdgrp.rmb.adrelc" :null,
"brdgrp.blk.comcon" :null,
"cfabrt.recgrp.bas.crehqcode" :null,
"liaall.liaccv.relcshpct" :null,
"cfabrt.recgrp.bas.debtype" :null,
"cfabrt.recp.dclp.actiontype" :null,
"cfabrt.recp.dclp.buscode" :null,
"cfabrt.recp.dclp.changtype" :null,
"cfabrt.recp.dclp.chdate" :null,
"cfabrt.recp.dclp.chcurrency" :null,
"cfabrt.recp.dclp.chamount" :null,
"cfabrt.recp.dclp.actiondesc" :null,
"cfabrt.recp.dclp.acp" :null,
}
for (const key in checkObj) {
......
......@@ -28,6 +28,7 @@ export default {
"brdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"cfabrt.recgrp.bas.creditortype" :Utils.defaultFunction,
"brtp.oth.pts.extkey" :Utils.defaultFunction,
"brtp.oth.adrelc" :Utils.defaultFunction,
"brtp.oth.namelc" :Utils.defaultFunction,
......@@ -47,6 +48,7 @@ export default {
"brdgrp.cbs.max.amt" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"brdgrp.cbs.max.cur" :Utils.defaultFunction,
"cfabrt.recgrp.bas.actiontype" :Utils.defaultFunction,
"cfabrt.basflg" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
......@@ -78,6 +80,7 @@ export default {
"brdgrp.rec.ownref" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"brdgrp.rec.docflg" :Utils.defaultFunction,
"cfabrt.recp.pubp.acp" :Utils.defaultFunction,
"brdgrp.blk.docdisflg" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
......@@ -89,5 +92,15 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cfabrt.recgrp.bas.opercode" :Utils.defaultFunction,
"cfabrt.recgrp.bas.crehqcode" :Utils.defaultFunction,
"cfabrt.recp.dclp.actiontype" :Utils.defaultFunction,
"cfabrt.recp.dclp.buscode" :Utils.defaultFunction,
"cfabrt.recp.dclp.changtype" :Utils.defaultFunction,
"cfabrt.recp.dclp.chdate" :Utils.defaultFunction,
"cfabrt.recp.dclp.chcurrency" :Utils.defaultFunction,
"cfabrt.recp.dclp.chamount" :Utils.defaultFunction,
"cfabrt.recp.dclp.actiondesc" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -290,5 +290,77 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
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 onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -217,7 +217,7 @@ export default {
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -234,7 +234,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -330,7 +330,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -343,19 +343,19 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -364,7 +364,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"liaall.liaccv.newamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -373,7 +373,7 @@ export default {
{max: 5,message:"长度不能超过5"}
],
"liaall.liaccv.newresamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -383,7 +383,7 @@ export default {
],
"liaall.liaccv.pctresamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -391,7 +391,7 @@ export default {
"liaall.liaccv.totcovamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -522,7 +522,7 @@ export default {
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -535,7 +535,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -552,5 +552,113 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"cfabrt.recgrp.bas.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"cfabrt.recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 248,message:"长度不能超过248"}
],
"cfabrt.recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cfabrt.recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfabrt.recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfabrt.recgrp.bas.contractamount":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfabrt.recgrp.bas.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cfabrt.recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfabrt.recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cfabrt.recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfabrt.recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfabrt.recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cfabrt.recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cfabrt.recgrp.bas.remark":[
{type: "string", required: false, message: "必输项"},
{max: 248,message:"长度不能超过248"}
],
"cfabrt.recp.dclp.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"cfabrt.recp.dclp.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 248,message:"长度不能超过248"}
],
"cfabrt.recp.dclp.changeno":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"cfabrt.recp.dclp.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfabrt.recp.dclp.chdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfabrt.recp.dclp.chamount":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfabrt.recp.dclp.fairvalue":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfabrt.recp.dclp.remark":[
{type: "string", required: false, message: "必输项"},
{max: 248,message:"长度不能超过248"}
],
}
\ No newline at end of file
......@@ -21,8 +21,11 @@ export default class Brtudp {
liaall: new Pub().data.Liaall,//表外
mtabut: new Pub().data.Mtabut,//附言
oldbrdgrp:{
rec:{
predat:"",//oldbrdgrp.rec.predat
},
},
brdgrp: {
rec: {
......@@ -45,6 +48,7 @@ export default class Brtudp {
approvcod: "", // Documents on Approval Basis .brdgrp.rec.approvcod
totcur:"", // Total Amount Claimed .brdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .brdgrp.rec.totamt
mattxtflg:"", //brdgrp.rec.mattxtflg maturityDate是否高亮可显字段
},
cbs: {
max: {
......@@ -307,11 +311,64 @@ export default class Brtudp {
// },
// },
cfabrt: {
cfaflg: "", // 数据采集标志 .cfabrt.cfaflg
basflg: "", // 签约信息 .cfabrt.basflg
ownextkey: "", // 地区机构号 .cfabrt.ownextkey
dclflg: "", // 变动信息 .cfabrt.dclflg
cfabrttxt: "", // 不报送原因 .cfabrt.cfabrttxt
cfaflg:"", // 数据采集标志 .cfabrt.cfaflg
basflg:"", // 签约信息 .cfabrt.basflg
ownextkey:"", // 地区机构号 .cfabrt.ownextkey
dclflg:"", // 变动信息 .cfabrt.dclflg
cfabrttxt:"", // 不报送原因 .cfabrt.cfabrttxt
cfatyp:"", // 数据提取操作类型 .cfabrt.cfatyp
recgrp:{
bas:{
appname:"", // 开证申请人名称 .cfabrt.recgrp.bas.appname
creditorcode:"", // 债权人代码 .cfabrt.recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .cfabrt.recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .cfabrt.recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .cfabrt.recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .cfabrt.recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .cfabrt.recgrp.bas.opercode
exdebtcode:"", // 外债编号 .cfabrt.recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .cfabrt.recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .cfabrt.recgrp.bas.debtorcode
debtype:"", // 债务类型 .cfabrt.recgrp.bas.debtype
valuedate:"", // 起息日 .cfabrt.recgrp.bas.valuedate
contractcurr:"", // 签约金额 .cfabrt.recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .cfabrt.recgrp.bas.actiondesc
maturity:"", // 到期日 .cfabrt.recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .cfabrt.recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .cfabrt.recgrp.bas.contractamount
appcode:"", // 开证申请人代码 .cfabrt.recgrp.bas.appcode
remark:"", // 备注 .cfabrt.recgrp.bas.remark
credittype:"", // 相关业务类型 .cfabrt.recgrp.bas.credittype
billsn:"", // 是否附有银行承兑汇票 .cfabrt.recgrp.bas.billsn
relation:"", // 对方与本机构的关系 .cfabrt.recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .cfabrt.recp.pubp.creditcodwarn
acp:"", // 确认 .cfabrt.recp.pubp.acp
},
dclp:{ //外债远期信用证(含即期单证相符)-变动信息-页面的外债编号字段
//--在后端是一个list,后端在VO中加一个list类型的字段即可,在Earp.java中具体展现
//但在前端中要具体展现
exdebtcode:"", //.cfabrt.recp.dclp.exdebtcode外债编号
changeno:"", //.cfabrt.recp.dclp.changeno变动编号
changtype:"", //.cfabrt.recp.dclp.changtype 变动类型
actiontype:"", //.cfabrt.recp.dclp.actiontype操作类型
actiondesc:"", //.cfabrt.recp.dclp.actiondesc 删除原因
buscode:"", //.cfabrt.recp.dclp.buscode银行业务参号
chdate:"", //.cfabrt.recp.dclp.chdate 变动日期
chcurrency:"", //.cfabrt.recp.dclp.chcurrency 变动币种
chamount:"", //.cfabrt.recp.dclp.chamount 变动金额
fairvalue:"", //.cfabrt.recp.dclp.fairvalue 公允价值
remark:"", //.cfabrt.recp.dclp.remark 备注
acp:"", //.cfabrt.recp.dclp.acp 确认
sta:"", //.cfabrt.recp.dclp.sta 接口状态
infflg:"", //.cfabrt.recp.dclp.infflg 历史数据标志
invflg:"", //.cfabrt.recp.dclp.invflg 页面是否可见
rowflg:"", //.cfabrt.recp.dclp.rowflg ROW FLG
},
},
},
pageId: "" // ctx的key
}
......
......@@ -2,7 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow () {
async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -12,7 +12,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch () {
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
......@@ -34,11 +34,26 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset () {
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.mylx = "";
this.model.infcon.nam = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.searol = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.seasta = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "0.00";
this.model.infcon.seaamtto = "0.00";
this.model.sealcrtyp = "";
this.model.elcflg = "";
},
async onInfbutDsp () {
async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -48,7 +63,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow () {
async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -58,7 +73,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr () {
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -68,7 +83,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt () {
async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -78,7 +93,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi () {
async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -88,7 +103,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRecpanButgetref () {
async onRecpanButgetref() {
let rtnmsg = await this.executeRule("recpan.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -98,7 +113,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBenpDet () {
async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -108,7 +123,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet () {
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -118,7 +133,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdftatButtxmsel () {
async onLcrdftatButtxmsel() {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -128,7 +143,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel () {
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -138,7 +153,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel () {
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -148,7 +163,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel () {
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -158,7 +173,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel () {
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -168,7 +183,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel () {
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -178,7 +193,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw () {
async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -188,7 +203,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword () {
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......
......@@ -21,6 +21,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'betp.intdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -50,6 +60,16 @@
size="small"
type="primary"
:disabled="!docdisflg"
@click="
showGridPromptDialog(
'betp.docdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -84,6 +104,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="
showGridPromptDialog(
'betp.resrej.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.docins' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -113,6 +143,16 @@
size="small"
type="primary"
disabled
@click="
showGridPromptDialog(
'betp.disdoc.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.disdoc' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......
......@@ -201,14 +201,15 @@
style="width: 100%"
placeholder="Please select Document Status"
disabled
:code="codes.docsta"
>
<el-option
v-for="item in codes.docsta1"
<!-- <el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option> -->
</c-select>
</el-form-item>
</c-col>
......@@ -306,7 +307,10 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="clsflgp" style="margin-left: 150px"
<c-checkbox
v-model="clsflgp"
style="margin-left: 150px"
@change="clsflgpChange"
>Receive returned ducuments</c-checkbox
>
</c-col>
......@@ -347,6 +351,9 @@
style="width: 100%"
placeholder="Please select Payer"
disabled
@change="eventFunction(
'bedgrp.rec.payrol'
)"
>
<el-option
v-for="item in codes.payrol"
......@@ -370,6 +377,7 @@
:noRef="true"
:disabled="true"
:isAdrblk="true"
:disabledExtkey="!(model.bedgrp.rec.payrol == 'OTH')"
>
</c-ptap>
</c-col>
......@@ -381,6 +389,9 @@
style="width: 100%"
placeholder="Please input Presented by"
disabled
@change="eventFunction(
'bedgrp.rec.docprbrol'
)"
>
<el-option
v-for="item in codes.docprbrol"
......@@ -701,7 +712,7 @@ import Ptsmsg from "~/views/Public/Ptsmsg";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptsmsg": Ptsmsg ,"c-ptap":Ptap},
components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
......@@ -748,7 +759,16 @@ export default {
},
},
},
methods: { ...Event },
methods: {
...Event,
clsflgpChange(v) {
if (v == "X") {
this.model.bedgrp.rec.docsta = "R";
}else{
this.model.bedgrp.rec.docsta = "E";
}
},
},
created: function () {},
};
</script>
......
......@@ -17,82 +17,94 @@
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<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">
<!--PD000009 -->
<el-tab-pane label="Details" name="betdcrs">
<c-content>
<m-betdcrs :model="model" :codes="codes"/>
<m-betdcrs :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000026 -->
<el-tab-pane label="Discrepancies/Refusal Details" name="betdcrd">
<m-betdcrd :model="model" :codes="codes"/>
<m-betdcrd :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Betdcr from "~/model/Betdcr"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Betdcr from "~/model/Betdcr";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betdcr/Check"
import Default from "~/model/Betdcr/Default"
import Pattern from "~/model/Betdcr/Pattern"
import Betdcrs from "./Betdcrs"
import Betdcrd from "./Betdcrd"
import Check from "~/model/Betdcr/Check";
import Default from "~/model/Betdcr/Default";
import Pattern from "~/model/Betdcr/Pattern";
import Betdcrs from "./Betdcrs";
import Betdcrd from "./Betdcrd";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Betdcr",
components:{
"m-betdcrs" : Betdcrs,
"m-betdcrd" : Betdcrd,
"m-engp" : Engp,
"m-setpan":Setpan,
"m-limitbody" : Limitbody,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
components: {
"m-betdcrs": Betdcrs,
"m-betdcrd": Betdcrd,
"m-engp": Engp,
"m-setpan": Setpan,
"m-limitbody": Limitbody,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "betdcrs",
trnName: "betdcr",
......@@ -104,32 +116,30 @@ export default {
codes: {
...CodeTable,
},
}
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}
},
created:async function(){
},
created: async function () {
console.log("进入betdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -214,7 +214,7 @@
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="24" style="margin-top: 30px">
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
......
......@@ -82,7 +82,7 @@
<c-col :span="24">
<el-form-item label=" " prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
placeholder="请选择Start of Maturity Period MATBEG" disabled :code="codes.matperbeg">
</c-select>
</el-form-item>
</c-col>
......@@ -133,7 +133,7 @@
</c-input>
<template slot="footer">
<c-button size="small" type="primary"
@click="showGridPromptDialog('botp.proins.buttxmsel',null,null,{TXT:'bodgrp.blk.resrej'},{TXT:false},'doxpDialog')">
@click="showGridPromptDialog('botp.resrej.buttxmsel',null,null,{TXT:'bodgrp.blk.resrej'},{TXT:false},'doxpDialog')">
...
</c-button>
</template>
......
......@@ -174,6 +174,7 @@
:argadr="{
title: '',
trans: 'brdgrp',
trans1:'brtp',
}"
:rol="[
{
......
......@@ -11,7 +11,7 @@
<c-select
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择附加金额"
placeholder="请选择单据金额"
disabled
>
<el-option
......@@ -32,7 +32,7 @@
>
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入附加金额"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
......@@ -41,9 +41,9 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.max2.cur">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select
v-model="model.brdgrp.cbs.max2.cur"
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
disabled
......
......@@ -5,17 +5,14 @@
<c-col :span="12">
<c-col :span="24">
<el-form-item
:label="$t('brtp.S0000172')"
label="Reference"
prop="lidgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000172')
"
placeholder=""
disabled
></c-input>
<template slot="footer">
......@@ -35,14 +32,6 @@
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
......@@ -52,15 +41,13 @@
<c-col :span="12">
<c-col :span="24">
<c-form-item
:label="$t('brtp.S0000183')"
label="Name"
prop="lidgrp.rec.nam"
>
<c-input
v-model="model.lidgrp.rec.nam"
maxlength="40"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000183')
"
placeholder=""
disabled
></c-input>
</c-form-item>
......@@ -72,18 +59,15 @@
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="13">
<c-col :span="9">
<el-form-item
:label="$t('brtp.S0000173')"
label="L/C Amount"
prop="lidgrp.cbs.nom1.cur"
>
<c-select
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000173')
"
placeholder=""
:code="codes.cur"
disabled
>
......@@ -91,7 +75,7 @@
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="10">
<c-form-item
label=""
label-width="5px"
......@@ -99,28 +83,31 @@
>
<c-input
v-model="model.lidgrp.cbs.nom1.amt"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000173')
"
placeholder=""
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="5" >
<c-form-item
label=""
label-width="20px"
>
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg">Add.Amount</c-checkbox>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-col :span="9">
<el-form-item
:label="$t('brtp.S0000174')"
label="Open Amount"
prop="lidgrp.cbs.opn1.cur"
>
<c-select
v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000174')
"
placeholder=""
:code="codes.cur"
disabled
>
......@@ -128,7 +115,7 @@
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="10">
<c-form-item
label=""
label-width="5px"
......@@ -136,147 +123,135 @@
>
<c-input
v-model="model.lidgrp.cbs.opn1.amt"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000173')
"
placeholder=""
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="5">
<c-form-item
label=""
label-width="20px"
>
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">Revolving L/C</c-checkbox>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-form-item
:label="$t('brtp.S0000176')"
label="Available With"
prop="lidgrp.avbnam"
>
<c-input
v-model="model.lidgrp.avbnam"
maxlength="40"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000176')
"
placeholder=""
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-col :span="19">
<el-form-item label="by" prop="lidgrp.rec.avbby">
<c-select
v-model="model.lidgrp.rec.avbby"
style="width: 100%"
:placeholder="
$t('other.please_enter') + 'Available by'
"
placeholder=""
disabled
:code="codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-col :span="8">
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg">{{
$t("brtp.CF000171")
}}</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">{{
$t("brtp.CF000170")
}}</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">{{
$t("brtp.CF000169")
}}</c-checkbox>
</c-col>
</el-form-item>
<c-col :span="5">
<c-form-item
label=""
label-width="20px"
>
<c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
:label="$t('brtp.S0000182')"
label="Date Issued"
prop="lidgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.opndat"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000182')
"
placeholder=""
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
:label="$t('brtp.S0000185')"
label="Shipment Date"
prop="lidgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.shpdat"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000185')
"
placeholder=""
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
:label="$t('brtp.S0000179')"
label="Date/Place of Expiry"
prop="lidgrp.rec.expdat"
>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000179')
"
placeholder=""
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-form-item
:label="$t('brtp.S0000179')"
label=""
prop="lidgrp.rec.expplc"
label-width="5px"
>
<c-input
v-model="model.lidgrp.rec.expplc"
maxlength="29"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000179')
"
placeholder=""
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="$t('brtp.S0000178')"
label="Form of L/C"
prop="lidgrp.rec.lcrtyp"
>
<c-select
v-model="model.lidgrp.rec.lcrtyp"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000178')
"
:code="codes.lcrtyp"
placeholder=""
:code="codes.lcrtyp1"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-appBenPre
:model="model"
......@@ -286,15 +261,15 @@
}"
:rol="[
{
title: '申请人',
title: 'Applicant',
trans: 'apl',
},
{
title: '开证行',
title: 'Beneficiary',
trans: 'ben',
},
{
title: '交单行',
title: 'Presented by',
trans: 'prb',
},
]"
......@@ -309,17 +284,14 @@
<c-col :span="12">
<c-col :span="24">
<el-form-item
:label="$t('brtame.S0000079')"
label="Document Set Ref."
prop="brdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
v-model="model.brdgrp.rec.ownref"
maxlength="16"
:placeholder="
$t('other.please_enter') +
$t('brtame.S0000079')
"
placeholder=""
disabled
></c-input>
<template slot="footer">
......@@ -339,48 +311,19 @@
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item
:label="$t('brtame.SG000213')"
label="SG Reference"
prop="brdgrp.rec.shgref"
>
<c-input
v-model="model.brdgrp.rec.shgref"
maxlength="16"
:placeholder="
$t('other.please_enter') + $t('brtame.SG000213')
"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-form-item
:label="$t('brtame.S0000078')"
prop="brdgrp.rec.nam"
>
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
:placeholder="
$t('other.please_enter') + $t('brtame.S0000078')
"
placeholder=""
disabled
></c-input>
</c-form-item>
......@@ -389,18 +332,16 @@
<c-col :span="24">
<c-col :span="13">
<c-form-item
:label="$t('brtame.SF000060')"
label="Amount of Shipment"
prop="brdgrp.cbs.max.cur"
>
<c-input
<c-select
v-model="model.brdgrp.cbs.max.cur"
maxlength="3"
:placeholder="
$t('other.please_enter') +
$t('brtame.SF000060')
"
style="width: 100%"
placeholder=""
:code="codes.cur"
disabled
></c-input>
></c-select>
</c-form-item>
</c-col>
<c-col :span="11">
......@@ -411,14 +352,29 @@
>
<c-input
v-model="model.brdgrp.cbs.max.amt"
:placeholder="
$t('other.please_enter') + 'Balance'
"
placeholder=""
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-form-item
label="Name"
prop="brdgrp.rec.nam"
>
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder=""
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
......
......@@ -62,8 +62,8 @@
<c-col :span="24">
<el-form-item label="Mode of Transport" prop="brdgrp.rec.tramod">
<c-select v-model="model.brdgrp.rec.tramod" disabled style="width:100%" placeholder="请选择Mode of Transport">
</c-select>
<c-input v-model="model.brdgrp.rec.tramod" disabled maxlength="40" placeholder="请选择Mode of Transport">
</c-input>
</el-form-item>
</c-col>
......@@ -95,7 +95,7 @@
<c-col :span="24">
<el-form-item label="Port of loading" prop="brdgrp.blk.porlod">
<c-input v-model="model.brdgrp.blk.porlod" maxlength="40" placeholder="请输入Port of loading"></c-input>
<c-input v-model="model.brdgrp.blk.porlod" disabled maxlength="40" placeholder="请输入Port of loading"></c-input>
</el-form-item>
</c-col>
......@@ -130,7 +130,7 @@
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg" disabled
style="margin-left:140px;padding: 0 10px;"
>Release Goods to Applicant </c-checkbox>
>To Applicant </c-checkbox>
</c-col>
<c-col :span="24">
......@@ -142,7 +142,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="brdgrp.shp.pts.extkey">
<el-form-item label="Shipping company" prop="brdgrp.shp.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.shp.pts.extkey" disabled maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
......@@ -154,11 +154,12 @@
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
disabled
style="margin: 0 0"
size="small"
type="primary"
>
获取
Details
</c-button>
</template>
</c-fullbox>
......@@ -168,7 +169,7 @@
<c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk">
<el-form-item label="" prop="brdgrp.shp.pts.adrblk">
<c-input
:rows="4"
type="textarea" disabled v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
......
......@@ -30,33 +30,41 @@
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
@tab-click="tabClick"
>
<!--brtame PD000057 Release Goods -->
<el-tab-pane label="Release Goods" name="rog">
<c-content>
<m-rog :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Shipping Details" name="shpdet">
<c-content>
<m-shpdet :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp">
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="面函" name="docpan">
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre">
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
......@@ -120,12 +128,12 @@ export default {
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
// myTabClick(tab) {
// this.tabClick(tab);
/**
* do it yourself
**/
},
// },
},
created: async function () {
console.log("进入brtame交易");
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp0.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp0.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Import L/C Ref." prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入Import L/C Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp0.lidget.sdamod.seainf">
<c-input v-model="model.brtp0.lidget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder=""
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="SG Reference" prop="brdgrp.rec.shgref">
<c-input v-model="model.brdgrp.rec.shgref" maxlength="16" placeholder="请输入SG Reference"></c-input>
<c-input
disabled
v-model="model.brdgrp.rec.shgref"
maxlength="16"
placeholder="请输入SG Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp0.recget.sdamod.dadsnd">
<c-input v-model="model.brtp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入Bill Set Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp0.recget.sdamod.seainf">
<c-input v-model="model.brtp0.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount">
<c-fullbox>
<c-input
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据参考号"
disabled
></c-input>
<template slot="footer">
<c-button
style="
margin: 0 10px 0 10px;
padding: 0 12px;
"
size="small"
type="primary"
>
<span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="10">
<el-form-item label="Open Amt.L/C" prop="lidgrp.cbs.opn1.cur">
<c-select
v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder=""
:code="codes.cur"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Applicant" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input>
</el-form-item>
<c-col :span="14">
<c-form-item label="" label-width="5px" prop="lidgrp.cbs.opn1.amt">
<c-input
v-model="model.lidgrp.cbs.opn1.amt"
placeholder=""
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
<c-col :span="24">
<el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date of Expiry"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-col :span="24">
<el-form-item label="Name" prop="brdgrp.rec.nam">
<c-input
disabled
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择Received on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Advice of Payment" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.brtp0.matp.mattxtlab" data-path=".brtp0.matp.mattxtlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Maturity Date"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择Document Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presenting Bank" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择Document Set Status">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
<!-- ----------------------------------------------------------------- -->
<c-col :span="24">
<c-litTemp
:model="model"
:argadr="{
title: '',
trans: 'brdgrp',
trans1:'brtp0',
}"
:rol="[
{
title: 'Applicant',
trans: 'apl',
},
{
title: 'Beneficiary',
trans: 'ben',
},
{
title: 'Presenting Bank',
trans: 'prb',
},
]"
:isAdvdat="true"
:isMattxtlab="false"
:isTenmaxday="false"
>
</c-litTemp>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtcsg/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtcsg/Event";
import LitTemp from "~/views/Public/LitTemp";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
components: {
"c-litTemp": LitTemp,
},
methods:{...Event},
created:function(){
}
}
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<div class="bus-button">
<c-button type="primary" v-on:click="handleSave">{{ $t("buttons.save") }}</c-button>
<c-button type="primary" v-on:click="handleCheck">{{ $t("buttons.check") }}</c-button>
</div>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 -->
<el-tab-pane label="PD000016" name="canp">
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="PD000027" name="engp">
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="setpan">
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="glepan">
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="coninfp">
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="PD000529" name="docpan">
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="PD000546" name="doctre">
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="limitbody">
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
......@@ -102,12 +116,12 @@ export default {
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
// myTabClick(tab){
// this.tabClick(tab)
/**
* do it yourself
**/
},
// },
async handleSave() {
let result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
......
......@@ -5,7 +5,7 @@
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-fullbox>
<c-input
:disabled="model.advrefflg==''"
:disabled="model.advrefflg=='' && model.advdisflg==''"
type="textarea"
v-model="model.brdgrp.blk.docdis"
maxlength="3500"
......@@ -14,7 +14,7 @@
placeholder="请输入Discrepancies"
></c-input>
<template slot="footer">
<c-button :disabled="model.advrefflg==''" size="small" type="primary" icon="el-icon-search"
<c-button :disabled="model.advrefflg=='' && model.advdisflg==''" size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
>
...
......
......@@ -41,9 +41,9 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.max2.cur">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select
v-model="model.brdgrp.cbs.max2.cur"
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
disabled
......
......@@ -161,6 +161,7 @@
:argadr="{
title: '',
trans: 'brdgrp',
trans1:'brtp',
}"
:rol="[
{
......@@ -305,7 +306,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="advrefflg">
<el-form-item label="" >
<c-col :span="12">
<c-checkbox :disabled="model.brdgrp.blk.disdocflg =='X'" v-model="model.advrefflg"
@change="advrefflgChange" >Send Advice of Refusal MT734</c-checkbox
......@@ -320,7 +321,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="brdgrp.rec.advdocflg">
<el-form-item label="" >
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.advdocflg"
@change="advdocflgChange">Return of Documents</c-checkbox
......@@ -419,6 +420,14 @@ export default {
this.model.brdgrp.rec.advdocflg = val ? "X" : "";
},
},
advdisflg: {
get() {
return this.model.advdisflg === "X";
},
set(val) {
this.model.advdisflg = val ? "X" : "";
},
},
},
methods: { ...Event,
async advrefflgChange() {
......
......@@ -30,7 +30,7 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Advice of Discrepancy" name="mt750p">
<el-tab-pane v-if="model.advdisflg=='X'" label="Advice of Discrepancy" name="mt750p">
<c-content>
<m-mt750p :model="model" :codes="codes"/>
</c-content>
......
......@@ -226,7 +226,14 @@
<c-col :span="24">
<c-col :span="21">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
......
......@@ -99,7 +99,7 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
        ref="doxpDialog"
        :isPty="false"
......
......@@ -4,7 +4,8 @@
<c-col :span="12">
<el-form-item label="数据采集标志" prop="cfabrt.cfaflg">
<c-select v-model="model.cfabrt.cfaflg" style="width:100%" placeholder="请选择数据采集标志"
:code="codes.cfaflg">
:code="codes.cfaflg"
@change="eventFunction('cfabrt.cfaflg')">
</c-select>
</el-form-item>
</c-col>
......@@ -20,7 +21,7 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfabrt.ownextkey">
<c-select v-model="model.cfabrt.ownextkey" style="width:100%" placeholder="请选择地区机构号"
:code="codes.ownextkey">
:code="codes.ownextkey1" :disabled="model.cfabrt.cfatyp!='A'">
</c-select>
</el-form-item>
</c-col>
......@@ -29,7 +30,8 @@
<el-form-item label="不报送原因" prop="cfabrt.cfabrttxt">
<!-- <c-select v-model="model.cfabrt.cfabrttxt" style="width:100%" placeholder="请选择不报送原因">
</c-select> -->
<c-input v-model="model.cfabrt.cfabrttxt" style="width:100%" placeholder="不报送原因" disabled>
<c-input v-model="model.cfabrt.cfabrttxt" style="width:100%" placeholder="不报送原因"
:disabled="model.cfabrt.cfaflg!=4">
</c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- ==================================上部的左边-外债编号================================ -->
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="外债编号" prop="cfabrt.recgrp.bas.exdebtcode">
<c-input
v-model="model.cfabrt.recgrp.bas.exdebtcode"
maxlength="28"
placeholder="请输入外债编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="cfabrt.recgrp.bas.actiontype">
<c-select
v-model="model.cfabrt.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
disabled
:code="codes.actiontype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="债务人代码" prop="cfabrt.recgrp.bas.debtorcode">
<c-input
v-model="model.cfabrt.recgrp.bas.debtorcode"
maxlength="12"
placeholder="请输入债务人代码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="债务类型" prop="cfabrt.recgrp.bas.debtype">
<c-select
v-model="model.cfabrt.recgrp.bas.debtype"
style="width: 100%"
placeholder="请选择债务类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ==================================上部的右边-删除原因================================ -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="删除原因" prop="cfabrt.recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.cfabrt.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入删除原因"
:rows="5"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav"> &Save </c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onChk"> &Check </c-button>
</c-col> -->
<c-col :span="17" :offset="7">
<c-checkbox v-model="model.cfabrt.recp.pubp.acp" disabled>确认</c-checkbox>
</c-col>
</c-col>
</c-col>
<!-- ==================================起息日-以行为单位================================ -->
<c-col :span="12">
<el-form-item label="起息日" prop="cfabrt.recgrp.bas.valuedate">
<c-date-picker
type="date"
v-model="model.cfabrt.recgrp.bas.valuedate"
style="width: 100%"
placeholder="请选择起息日"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="到期日" prop="cfabrt.recgrp.bas.maturity">
<c-date-picker
type="date"
v-model="model.cfabrt.recgrp.bas.maturity"
style="width: 100%"
placeholder="请选择到期日"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<!-- 签约金额左边 -->
<c-col :span="12">
<c-col :span="12">
<el-form-item label="签约金额" prop="cfabrt.recgrp.bas.contractcurr">
<c-select
v-model="model.cfabrt.recgrp.bas.contractcurr"
style="width: 100%"
placeholder="请选择币种"
:code="codes.curtxt"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="cfabrt.recgrp.bas.contractamount">
<c-input
v-model="model.cfabrt.recgrp.bas.contractamount"
placeholder="请输入签约金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- 签约金额右边--是否不纳入跨境融资风险加权余额计算-->
<c-col :span="11" :offset="1">
<el-form-item
label="是否不纳入跨境融资风险加权余额计算"
prop="cfabrt.recgrp.bas.spapfeboindex"
>
<c-select
v-model="model.cfabrt.recgrp.bas.spapfeboindex"
style="width: 100%"
placeholder="请选择是否不纳入跨境融资风险加权余额计算"
:code="codes.spapfeboindex"
>
</c-select>
</el-form-item>
</c-col>
<!-- ============================开证申请人代码---以行为单位============================== -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="开证申请人代码" prop="cfabrt.recgrp.bas.appcode">
<c-input
v-model="model.cfabrt.recgrp.bas.appcode"
maxlength="18"
placeholder="请输入开证申请人代码"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr">
&Error
</c-button>
</c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="开证申请人名称" prop="cfabrt.recgrp.bas.appname">
<c-input
v-model="model.cfabrt.recgrp.bas.appname"
maxlength="128"
placeholder="请输入开证申请人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="债权人代码" prop="cfabrt.recgrp.bas.creditorcode">
<c-input
v-model="model.cfabrt.recgrp.bas.creditorcode"
maxlength="18"
placeholder="请输入债权人代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span
v-text="model.cfabrt.recp.pubp.creditcodwarn"
data-path=".cfabrt.recp.pubp.creditcodwarn"
>
</span>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="债权人类型代码"
prop="cfabrt.recgrp.bas.creditortype"
>
<c-select
v-model="model.cfabrt.recgrp.bas.creditortype"
style="width: 100%"
placeholder="请选择债权人类型代码"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="债权人中文名称"
prop="cfabrt.recgrp.bas.creditorname"
>
<c-input
v-model="model.cfabrt.recgrp.bas.creditorname"
maxlength="128"
placeholder="请输入债权人中文名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="债权人英文名称"
prop="cfabrt.recgrp.bas.creditornamen"
>
<c-input
v-model="model.cfabrt.recgrp.bas.creditornamen"
maxlength="128"
placeholder="请输入债权人英文名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="债权人总部所在国家(地区)代码"
prop="cfabrt.recgrp.bas.crehqcode"
>
<c-fullbox>
<c-input
v-model="model.cfabrt.recgrp.bas.crehqcode"
maxlength="3"
placeholder="请输入债权人总部所在国家(地区)代码"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCouselCrehqselbut"
>
?
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item
label="债权人经营地所在国家(地区)代码"
prop="cfabrt.recgrp.bas.opercode"
>
<c-fullbox>
<c-input
v-model="model.cfabrt.recgrp.bas.opercode"
maxlength="3"
placeholder="请输入债权人经营地所在国家(地区)代码"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCouselOperselbut"
>
?
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="相关业务类型" prop="cfabrt.recgrp.bas.credittype">
<c-select
v-model="model.cfabrt.recgrp.bas.credittype"
style="width: 100%"
placeholder="请选择相关业务类型"
:code="codes.credittype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item
label="是否附有银行承兑汇票"
prop="cfabrt.recgrp.bas.billsn"
>
<c-select
v-model="model.cfabrt.recgrp.bas.billsn"
style="width: 100%"
placeholder="请选择是否附有银行承兑汇票"
:code="codes.billsn"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="对方与本机构的关系"
prop="cfabrt.recgrp.bas.relation"
>
<c-select
v-model="model.cfabrt.recgrp.bas.relation"
style="width: 100%"
placeholder="请选择对方与本机构的关系"
:code="codes.exdtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="备注" prop="cfabrt.recgrp.bas.remark">
<c-input
type="textarea"
v-model="model.cfabrt.recgrp.bas.remark"
maxlength="248"
show-word-limit
placeholder="请输入备注"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCan"> E&xit </c-button>
</c-col> -->
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Brtudp/Event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {}
},
methods: { ...Event },
created: function () {},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<!-- ==================================左边-外债编号================================ -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="外债编号" prop="cfabrt.recp.dclp.exdebtcode">
<c-input
v-model="model.cfabrt.recp.dclp.exdebtcode"
maxlength="28"
placeholder="请输入外债编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动编号" prop="cfabrt.recp.dclp.changeno">
<c-input
v-model="model.cfabrt.recp.dclp.changeno"
maxlength="4"
placeholder="请输入变动编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="cfabrt.recp.dclp.actiontype">
<c-select
v-model="model.cfabrt.recp.dclp.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
disabled
:code="codes.actiontype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务参号" prop="cfabrt.recp.dclp.buscode">
<c-input
v-model="model.cfabrt.recp.dclp.buscode"
maxlength="32"
placeholder="请输入银行业务参号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动类型" prop="cfabrt.recp.dclp.changtype">
<c-select
v-model="model.cfabrt.recp.dclp.changtype"
style="width: 100%"
placeholder="请选择变动类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="cfabrt.recp.dclp.chdate">
<c-date-picker
type="date"
v-model="model.cfabrt.recp.dclp.chdate"
style="width: 100%"
placeholder="请选择变动日期"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动币种" prop="cfabrt.recp.dclp.chcurrency">
<c-select
v-model="model.cfabrt.recp.dclp.chcurrency"
style="width: 100%"
placeholder="请选择变动币种"
:code="codes.curtxt"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动金额" prop="cfabrt.recp.dclp.chamount">
<c-input
v-model="model.cfabrt.recp.dclp.chamount"
placeholder="请输入变动金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="公允价值" prop="cfabrt.recp.dclp.fairvalue">
<c-input
v-model="model.cfabrt.recp.dclp.fairvalue"
placeholder="请输入公允价值"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备注" prop="cfabrt.recp.dclp.remark">
<c-input
type="textarea"
v-model="model.cfabrt.recp.dclp.remark"
maxlength="248"
show-word-limit
placeholder="请输入备注"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ==================================右边-删除原因================================ -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="删除原因" prop="cfabrt.recp.dclp.actiondesc">
<c-input
type="textarea"
v-model="model.cfabrt.recp.dclp.actiondesc"
maxlength="248"
show-word-limit
placeholder="请输入删除原因"
:rows="5"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav"> &Save </c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onChk"> &Check </c-button>
</c-col> -->
<c-col :span="17" :offset="7">
<c-checkbox v-model="model.cfabrt.recp.dclp.acp" disabled>确认</c-checkbox>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Brtudp/Event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {}
},
methods: { ...Event },
created: function () {},
}
</script>
<style></style>
......@@ -13,10 +13,10 @@
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
<!-- <c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
@click="onDitpButgetref">
获取
</c-button>
</c-button> -->
</template>
</c-fullbox>
</c-form-item>
......@@ -26,6 +26,7 @@
<c-col :span="24">
<el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width: 100%" placeholder="请输入Expiry"
value-format="yyyy-MM-dd"
disabled></c-date-picker>
</el-form-item>
</c-col>
......@@ -39,10 +40,10 @@
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
<!-- <c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
@click="onDitpButgetref">
获取
</c-button>
</c-button> -->
</template>
</c-fullbox>
</c-form-item>
......@@ -59,7 +60,9 @@
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="" disabled></c-input>
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder=""
class="m-input-currency"
disabled></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -68,13 +71,16 @@
<c-col :span="24">
<c-col :span="13">
<c-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount" disabled>
</c-input>
<c-select v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"
:code="codes.curtxt" disabled>
</c-select>
</c-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="brdgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="" disabled></c-input>
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder=""
class="m-input-currency"
disabled></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -82,13 +88,16 @@
<c-col :span="12">
<el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width: 100%"
placeholder="请选择Received on" disabled></c-date-picker>
placeholder="请选择Received on"
value-format="yyyy-MM-dd"
disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- 通知到单日期 -->
<c-col :span="12">
<el-form-item label="Advised on" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width: 100%" placeholder="请输入Advised on"
value-format="yyyy-MM-dd"
disabled></c-date-picker>
</el-form-item>
</c-col>
......@@ -97,21 +106,25 @@
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width: 100%"
placeholder="请输入Maturity Date" disabled></c-date-picker>
placeholder="请输入Maturity Date"
value-format="yyyy-MM-dd"
:disabled="model.brdgrp.rec.mattxtflg==''"></c-date-picker>
</el-form-item>
</c-col>
<!-- Start Date -->
<c-col :span="12">
<el-form-item label="Start Date" prop="brdgrp.rec.stadat">
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width: 100%"
placeholder="请输入 Start Date" disabled></c-date-picker>
placeholder="请输入 Start Date"
value-format="yyyy-MM-dd"
disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- 单据类型 -->
<c-col :span="16">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width: 100%" placeholder="请输入Document Type"
:code="codes.docflg" disabled>
:code="codes.docflg" :disabled="model.brdgrp.rec.docflg!=''">
</c-select>
</el-form-item>
</c-col>
......@@ -133,7 +146,7 @@
<c-col :span="24">
<el-form-item label="Document Condition" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width: 100%" placeholder="请选择Document Condition"
:code="codes.brdtyp" disabled>
:code="codes.brdtyp" :disabled="model.brdgrp.rec.docflg!=''">
</c-select>
</el-form-item>
</c-col>
......@@ -142,14 +155,16 @@
<c-col :span="12">
<el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width: 100%"
placeholder="请输入Received on"></c-date-picker>
placeholder="请输入Received on"
value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item>
</c-col>
<!-- Presentation Date -->
<c-col :span="12">
<el-form-item label="Presentation Date" prop="brdgrp.rec.predat">
<c-date-picker type="date" v-model="model.brdgrp.rec.predat" style="width: 100%"
placeholder="请选择Presentation Date"></c-date-picker>
placeholder="请选择Presentation Date"
value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item>
</c-col>
<!-- Accept Amount -->
......@@ -175,7 +190,7 @@
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="aamset.utlamt">
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额"></c-input>
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额" :disabled="model.oldbrdgrp.rec.predat==''"></c-input>
</el-form-item>
</c-col>
<!-- Add.Amount.Part 附加金额 -->
......@@ -188,7 +203,7 @@
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="aamset.utlamt2">
<c-input v-model="model.aamset.utlamt2" placeholder="请输入附加金额"></c-input>
<c-input v-model="model.aamset.utlamt2" placeholder="请输入附加金额" :disabled="model.oldbrdgrp.rec.predat==''"></c-input>
</el-form-item>
</c-col>
......@@ -203,7 +218,8 @@
<el-form-item label="" prop="brdgrp.tag72add">
<c-fullbox>
<c-input type="textarea" v-model="model.brdgrp.tag72add" maxlength="1750" show-word-limit
placeholder="请输入TAG72" :disabled="model.sftmt==''? true : false"></c-input>
placeholder="请输入TAG72" :disabled="model.sftmt==''? true : false"
:rows="4"></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAcctagButtxmsel"
:disabled="model.sftmt==''? true : false">
......@@ -227,7 +243,9 @@
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="" disabled></c-input>
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder=""
class="m-input-currency"
disabled></c-input>
</c-form-item>
</c-col>
......@@ -308,7 +326,7 @@
title: '',
grp: 'brdgrp',
rol: 'prb',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onPrbpDet">
}" :disabled="model.brdgrp.prb.pts.extkey!=''" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onPrbpDet">
</c-ptap1>
</c-col>
......@@ -943,7 +961,7 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: { ...Event ,onSeainf(){}},
created: function () { },
computed: {
flag() {
......
......@@ -49,57 +49,93 @@
<!--PD000213 -->
<el-tab-pane label="Advice Details" name="othadvtypp" v-if="model.brdgrp.rec.advtyp=='oth'">
<c-content>
<m-othadvtypp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cach Cover" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="外债远期信用证数据采集" name="cfap">
<c-content>
<m-cfap :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD001139 新增隐藏面板-->
<!-- <el-tab-pane label="PD001139" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-签约信息" name="conp" v-if="model.cfabrt.cfaflg==1">
<c-content>
<m-conp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- bd工具编不了,需手动写页面dclpp -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp" v-if="model.cfabrt.cfaflg==1">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -135,6 +171,8 @@ import Othadvtypp from "./Othadvtypp";
import Cfap from "./Cfap";
import Shisuan from "./Shisuan";
// import Limitbody from "./Limitbody";
import Conp from "./Conp"
import Dclpp from "./Dclpp"
//公共面板导入
import Engp from "~/views/Public/Engp";
......@@ -154,6 +192,7 @@ export default {
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-othadvtypp" : Othadvtypp,
"m-conp": Conp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
......@@ -164,6 +203,7 @@ export default {
"m-cfap": Cfap,
"m-shisuan" : Shisuan,
"m-limitbody": Limitbody,
"m-dclpp" : Dclpp,
},
provide() {
return {
......
......@@ -37,11 +37,9 @@
</c-content>
</el-tab-pane>
<!--
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
-->
<el-tab-pane label="附言" name="coninfp">
......
......@@ -11,6 +11,7 @@
v-model="model.cpdgrp.ori.pts.ref"
maxlength="16"
placeholder=""
:disabled=this.flag1
></c-input>
</el-form-item>
</c-col>
......@@ -26,6 +27,7 @@
@keyup.enter.native="
showGridPromptDialog('cpdgrp.ori.pts.extkey')
"
:disabled=this.flag1
></c-input>
</el-form-item>
<template slot="footer">
......@@ -78,6 +80,7 @@
v-model="model.cpdgrp.orc.pts.ref"
maxlength="16"
placeholder=""
:disabled=this.flag1
></c-input>
</el-form-item>
</c-col>
......@@ -88,6 +91,7 @@
v-model="model.cpdgrp.rec.orcact"
maxlength="35"
placeholder="汇款人账号"
:disabled=this.flag1
></c-input>
</el-form-item>
</c-col>
......@@ -101,6 +105,7 @@
@keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
:disabled=this.flag1
>
</c-input>
</el-form-item>
......@@ -1123,7 +1128,7 @@
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder=""></c-input>
<c-input placeholder="" ></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
......@@ -1166,6 +1171,7 @@
style="width: 90%"
maxlength="16"
placeholder=""
:disabled=this.flag1
></c-input>
</el-form-item>
</c-col>
......@@ -1177,6 +1183,7 @@
style="width: 90%"
maxlength="35"
placeholder=""
:disabled=this.flag1
></c-input>
</el-form-item>
</c-col>
......@@ -1403,6 +1410,7 @@
style="width: 90%"
maxlength="16"
placeholder=""
:disabled=this.flag1
></c-input>
</el-form-item>
</c-col>
......@@ -1414,6 +1422,7 @@
style="width: 90%"
maxlength="35"
placeholder=""
:disabled=this.flag1
></c-input>
</el-form-item>
</c-col>
......@@ -2408,6 +2417,7 @@ export default {
data() {
return {
infptaVisible: false,
flag1:true,
};
},
watch:{
......@@ -2418,6 +2428,16 @@ export default {
this.model.cptp.fwtgyh = 'CHASUS33XXX';
console.log(this.model.cptp.fwtgyh)
}
},
"model.cpdgrp.rec.swftyp":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.rec.swftyp == ''){
this.flag1=true;
}else{
this.flag1=false;
}
}
}
},
methods: {
......
......@@ -110,12 +110,13 @@
label="汇款金额"
previewLabel="汇款金额币种"
prop="cpdgrp.cbs.nom1.cur"
>
<c-select
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder=""
@change="onNom1CurChange"
@change="commonExecuteRule('cpdgrp.cbs.nom1.cur')"
>
<el-option
v-for="item in codes.currencycode"
......@@ -475,6 +476,13 @@ export default {
...Event,
onCptpGetref() {},
onCptpGetmod() {},
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
watch:{
"model.cpdgrp.rec.ischktyp":{
......
......@@ -32,9 +32,9 @@
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="Additional Info" name="AdditionalInfo">
<el-tab-pane label="Additional Info" name="AdditionalInfo" v-if="this.model.cpdgrp.rec.swftyp != ''">
<m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane> -->
</el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
<!--PD000000 -->
......
......@@ -3,63 +3,34 @@
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px"
size="small">
<c-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Own Reference"
prop="infcon.seaownref"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入Own Reference"
></c-input>
<el-form-item label="Own Reference" prop="infcon.seaownref">
<c-input v-model="model.infcon.seaownref" maxlength="16"
placeholder="请输入Own Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Name" prop="infcon.nam">
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Opening between"
prop="infcon.opndatfrom"
style="width: 100%"
>
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择Opening between"
value-format="yyyy-MM-dd"
></c-date-picker>
<c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%"
placeholder="请选择Opening between" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择Open Date to"
value-format="yyyy-MM-dd"
></c-date-picker>
<c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%"
placeholder="请选择Open Date to" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
......@@ -71,61 +42,36 @@
<c-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Select Single Party"
prop="infcon.pty.extkey"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
></c-input>
<el-form-item label="Select Single Party" prop="infcon.pty.extkey">
<c-input v-model="model.infcon.pty.extkey" maxlength="24"
placeholder="请输入Select Single Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Party Name"
prop="infcon.pty.nam"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入Party Name"
></c-input>
<el-form-item label="Party Name" prop="infcon.pty.nam">
<c-input v-model="model.infcon.pty.nam" maxlength="40"
placeholder="请输入Party Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Party Name/BIC"
prop="infcon.seapty"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
></c-input>
<el-form-item label="Party Name/BIC" prop="infcon.seapty">
<c-input v-model="model.infcon.seapty" maxlength="24"
placeholder="请输入Party Name/BIC"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Role"
prop="infcon.searol"
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
:code="codes.payrol"
>
<el-form-item label="Role" prop="infcon.searol">
<c-select v-model="model.infcon.searol" style="width: 100%"
placeholder="请选择Role" :code="codes.payrol">
</c-select>
</el-form-item>
</c-col>
<!--
<!--
<c-col :span="8">
<el-form-item
label="Opening between"
......@@ -141,27 +87,15 @@
</c-col> -->
<c-col :span="8">
<el-form-item
label="Party Reference"
prop="infcon.searef"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
<el-form-item label="Party Reference" prop="infcon.searef">
<c-input v-model="model.infcon.searef" maxlength="16"
placeholder="请输入Party Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Amount to"
prop="infcon.seaamtto"
>
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入Amount to"
></c-input>
<el-form-item label="Amount to" prop="infcon.seaamtto">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to"></c-input>
</el-form-item>
</c-col>
......@@ -182,44 +116,24 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="User ID"
prop="infcon.usr.extkey"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></c-input>
<el-form-item label="User ID" prop="infcon.usr.extkey">
<c-input v-model="model.infcon.usr.extkey" maxlength="8"
placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Status"
prop="infcon.seasta"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
:code="codes.seasta"
>
<el-form-item label="Status" prop="infcon.seasta">
<c-select v-model="model.infcon.seasta" style="width: 100%"
placeholder="请选择Status" :code="codes.seasta">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Currency"
prop="infcon.seacur"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择Currency"
:code="codes.curtxt1"
>
<el-form-item label="Currency" prop="infcon.seacur">
<c-select v-model="model.infcon.seacur" style="width: 100%"
placeholder="请选择Currency" :code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
......@@ -227,56 +141,32 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Amount between"
prop="infcon.seaamtfr"
>
<c-input
v-model="model.infcon.seaamtfr"
placeholder="请输入Amount between"
></c-input>
<el-form-item label="Amount between" prop="infcon.seaamtfr">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="是否通过电证系统"
prop="elcflg"
>
<c-select
v-model="model.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
:code="codes.elcflg"
>
<el-form-item label="是否通过电证系统" prop="elcflg">
<c-select v-model="model.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统"
:code="codes.elcflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label=""
>
<c-checkbox
v-model="model.infcon.forflg"
>转卖单据</c-checkbox
>
<el-form-item label="">
<c-checkbox v-model="model.infcon.forflg">转卖单据</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Document Type"
prop="seadoctypcod"
>
<c-select
v-model="model.seadoctypcod"
style="width: 100%"
placeholder="请选择Document Type"
:code="codes.brdtyp"
>
<el-form-item label="Document Type" prop="seadoctypcod">
<c-select v-model="model.seadoctypcod" style="width: 100%"
placeholder="请选择Document Type" :code="codes.brdtyp">
</c-select>
</el-form-item>
</c-col>
......@@ -300,79 +190,44 @@
-->
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="150px"
>
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot="header">
<c-col :span="11" style="text-align: left"
><span>操作</span></c-col
>
<c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button
></c-col>
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
<el-popover placement="top-start" title="历史信息" width="800" trigger="click"
:ref="'popover_' + scope.row.IDX">
<div style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="
">
<span class="el-icon-close" @click="
closeTrn('popover_' + scope.row.IDX)
"
/>
" />
</div>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column
prop="op"
label="操作"
width="0"
>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
<c-button style="margin-left: 0" size="small"
@click="display(scope.row['INR'])">
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
<c-button style="margin-left: 0" size="small" type="primary"
@click="getButtons(scope.row['Reference'])">
处理
</c-button>
<!--
......@@ -447,8 +302,8 @@
</c-col>
</c-row>
-->
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel" @onChoose="onChoose"></m-busbtn
>
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel"
@onChoose="onChoose"></m-busbtn>
</div>
</template>
......@@ -469,7 +324,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
detselModel:new DetselModel().data,
detselModel: new DetselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
......@@ -501,8 +356,8 @@ export default {
'4 12 "Opened" 150 ',
'5 13 "Closed" 150 ',
'14 14 "Cur" 50 ',
'16 15 "Cur" 50 ',
'15 16 "Doc.Amount" 150 ',
'15 15 "Doc.Amount" 150 ',
'16 16 "Cur" 50 ',
'17 17 "Open Amount" 150 ',
],
data: [],
......@@ -520,17 +375,17 @@ export default {
*/
methods: {
...Event,
async getButtons(ownref){
async getButtons(ownref) {
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
console.log("ownref:" + ownref);
},
async onChoose(code){
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
},
async getDitSelInfo(code) {
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
......@@ -552,6 +407,6 @@ export default {
this.$refs[refId].doClose();
},
},
created: function () {},
created: function () { },
};
</script>
......@@ -318,10 +318,19 @@ export default {
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getTrnInfo(code) {
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bodgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
console.log(this.trnData.data);
}
},
async getDitSelInfo(idx, row) {
//TD中选中行触发
......
......@@ -506,8 +506,8 @@ export default {
label: "Closed",
},
'20 18 "1.Cur" 80',
'22 19 "2.Cur" 80',
'21 20 "Paym.Amount" 150',
'21 19 "Paym.Amount" 150',
'22 20 "2.Cur" 80',
'23 21 "Amount rcvd." 150',
'6 22 "Pyectycod" 120',
'7 23 "Orcctycod" 120',
......
......@@ -696,8 +696,8 @@ export default {
'5 11 "Expired" 150 ',
'6 12 "Closed" 150 ',
'13 13 "Cur" 150 ',
'15 14 "Cur" 150 ',
'14 15 "L/C Amount" 150 ',
'15 15 "Cur" 150 ',
'14 14 "L/C Amount" 150 ',
'16 16 "Open Amount" 150 ',
],
data: [],
......
......@@ -36,8 +36,8 @@
</c-col>
<c-col :span="12">
<div style="float: right;">
<span class="add_del_button add_button" @click="addTableValue" v-if="ifShowAdd">+</span>
<span class="add_del_button" @click="deleteTable" v-if="ifShowDelete">-</span>
<c-button @click="addTableValue" v-if="ifShowAdd">+</c-button><br>
<c-button @click="deleteTable" v-if="ifShowDelete">-</c-button>
</div>
</c-col>
</c-row>
......
......@@ -4,16 +4,37 @@
Liability
</c-col> -->
<c-col :span="24" style="">
<c-table :list="model.liaall.liaallg" style="width:80%,text-align:center,margin-bottom:18px" :border="true">
<el-table-column prop="bussec" label="BS" width="40px"> </el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px"> </el-table-column>
<el-table-column prop="matdat" label="Maturity" width="100px"> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px"> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px"> </el-table-column>
<c-table
:list="model.liaall.liaallg"
style="width:80%,text-align:center,margin-bottom:18px"
:border="true"
>
<el-table-column prop="bussec" label="BS" width="40px">
</el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px">
</el-table-column>
<el-table-column prop="matdat" label="Maturity">
<template slot-scope="scope">
<c-date-picker
type="date"
v-model="scope.row.matdat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width: 100%"
@change="executeDefault('liaall.liaallg.matdat')"
>
</c-date-picker>
</template>
</el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px">
</el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px">
</el-table-column>
<!--
<el-table-column prop="nam" label="Name" width="300"> </el-table-column>
-->
<el-table-column prop="cdtrol" label="Cdt." width="70px"> </el-table-column>
<el-table-column prop="cdtrol" label="Cdt." width="70px">
</el-table-column>
<el-table-column prop="cur" label="Cur" width="55px"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="150px">
<!-- <template slot-scope="scope">
......@@ -27,7 +48,8 @@
</el-table-column>
<el-table-column prop="tenpct" label="%" width="80px">
</el-table-column>
<el-table-column prop="acc" label="Account" width="150px"> </el-table-column>
<el-table-column prop="acc" label="Account" width="150px">
</el-table-column>
<el-table-column prop="valdat" label="Value Date" width="200px">
<!-- <template slot-scope="scope">
{{dateFormat(scope.row.valdat)}}
......@@ -53,12 +75,12 @@
</el-button>
</template>
<template slot-scope="scoped">
<el-button
<c-button
style="margin-left:0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</el-button
>详情</c-button
>
</template>
</el-table-column>
......@@ -83,11 +105,28 @@
</el-form-item>
</c-col> -->
<c-col :span="16" style="margin-top:10px">
<c-col :span="16" style="margin-top: 10px">
<el-form-item label="Amount not yet assigned">
<c-input style="width:15%" disabled v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
<c-input style="width:40%" disabled v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
<c-button style="width:20%" size="small" disabled type="primary" @click="onLiaallButmisamt">
<c-input
style="width: 15%"
disabled
v-model="model.liaall.concur"
maxlength="3"
placeholder="请输入External Booking Amount"
></c-input>
<c-input
style="width: 40%"
disabled
v-model="model.liaall.misamt"
placeholder="请输入Amount not yet assigned"
></c-input>
<c-button
style="width: 20%"
size="small"
disabled
type="primary"
@click="onLiaallButmisamt"
>
Add to Current Line
</c-button>
</el-form-item>
......@@ -123,36 +162,29 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import CodeTable from "~/config/CodeTable";
export default {
inject: ['root'],
inject: ["root"],
mixins: [commonProcess],
props:["model","codes"],
data(){
return {
}
props: ["model", "codes"],
data() {
return {};
},
methods:{
methods: {
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt")
let rtnmsg = await this.executeRule("liaall_butmisamt");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
created:function(){
}
}
created: function () {},
};
</script>
<style>
</style>
......@@ -114,12 +114,12 @@
<c-col :span="13">
<el-form-item
label="Maturity Date"
prop="brtp.matp.mattxtlab"
:prop="`${argadr.trans1}.matp.mattxtlab`"
>
<c-date-picker
type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
v-model="model[argadr.trans1].matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
......@@ -143,12 +143,12 @@
<c-col :span="24">
<el-form-item
label="Maturity Date"
prop="brtp.matp.mattxtlab"
:prop="`${argadr.trans1}.matp.mattxtlab`"
>
<c-date-picker
type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
v-model="model[argadr.trans1].matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
......@@ -178,12 +178,10 @@
label-width="90px"
:prop="`${argadr.trans}.rec.tenmaxday`"
>
<c-date-picker
type="date"
<c-input
disabled
v-model="model[argadr.trans].rec.tenmaxday"
style="width: 100%"
></c-date-picker>
></c-input>
</el-form-item>
</c-col>
</div>
......@@ -259,6 +257,7 @@ export default {
return {
title: "", //角色名称
trans: "", //所属模块
trans1:"",//所属模块
};
},
},
......
<template>
<ReviewWrapper>
<Betdcr></Betdcr>
</ReviewWrapper>
</template>
<script>
import Betdcr from "~/views/Business/Betdcr";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBetdcr",
components: { ReviewWrapper, Betdcr },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -38,6 +38,7 @@ import ReviewLetrsv from "./Business/ReviewLetrsv.vue";
import ReviewBetrcl from "./Business/ReviewBetrcl.vue";
import ReviewBetset from "./Business/ReviewBetset.vue";
import ReviewDetame from "./Business/ReviewDetame.vue";
import ReviewBetdcr from "./Business/ReviewBetdcr.vue";
const ReviewRouter = [
......@@ -59,8 +60,8 @@ const ReviewRouter = [
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-卖方信用证单据寄单" } },
{ path: "bftdcr", component: ReviewBftdcr, name: "ReviewBftdcr", meta: { title: "复核-卖方信用证单据电提不符点/开证行拒付" } },
{ path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-Bftsnd" } },
{ path: "bftdcr", component: ReviewBftdcr, name: "ReviewBftdcr", meta: { title: "复核-Bftdcr" } },
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
{ path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } },
{ path: "bdtset", component: ReviewBdtset, name: "ReviewBdtset", meta: { title: "复核-买方信用证付款" } },
......@@ -98,6 +99,7 @@ const ReviewRouter = [
{ path: "betrcl", component: ReviewBetrcl, name: "ReviewBetrcl", meta: { title: "复核-Betrcl" } },
{ path: "betset", component: ReviewBetset, name: "ReviewBetset", meta: { title: "复核-Betset" } },
{ path: "detame", component: ReviewDetame, name: "ReviewDetame", meta: { title: "复核-Detame" } },
{ path: "betdcr", component: ReviewBetdcr, name: "ReviewBetdcr", meta: { title: "复核-Betdcr" } },
];
......
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