Commit 39af3d99 by jianglong

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents e5a07a53 6d7468bf
......@@ -70,15 +70,17 @@ export default {
return arr;
},
tableData() {
const temp = this.column;
const res = [];
return this.list.map((row) => {
const res = {}
for (let i = 0; i < temp.length; i++) {
res[temp[i]] = row[temp[i]];
}
return res;
});
// const temp = this.column;
// const res = [];
// return this.list.map((row) => {
// const res = {}
// for (let i = 0; i < temp.length; i++) {
// res[temp[i]] = row[temp[i]];
// }
// return res;
// });
return this.list;
},
},
data() {
......
......@@ -6737,6 +6737,11 @@ const CodeTable = {
{ label: "Beneficiary Side", value: "BENE" },
{ label: "Other", value: "OTHR" }
],
getame_chato:[
{ label: "Applicant Side", value: "APPL" },
{ label: "Beneficiary Side", value: "BENE" },
{ label: "Other", value: "OTHR" },
],
bgftktyp: [
{ label: "不规范的运份单据", value: "1" },
{ label: "远期议付", value: "2" },
......@@ -6876,6 +6881,12 @@ const CodeTable = {
{ label: "Standby letter of credit", value: "STBY" },
{ label: "OTHER", value: "DEPU" },
],
legfrm2: [
{label:"Guarantee (Standard)",value:"STD" },
{ label: "Demand guarantee", value: "DGAR" },
{ label: "Standby letter of credit", value: "STBY" },
{ label: "OTHER", value: "DEPU" },
],
deloric: [
{ label: "By collection", value: "COLL" },
{ label: "By courier (i. e. Fedex, DHL, UPS)", value: "COUR" },
......@@ -6958,6 +6969,11 @@ const CodeTable = {
{label:"Multiple demands not permitted",value:"NMLT"},
{label:"Partial demands not permitted",value:"NPRT"},
],
demandc:[
{label:"Multiple & partial demands not permitted",value:"NMPT"},
{label:"Multiple demands not permitted",value:"NMLT"},
{label:"Partial demands not permitted",value:"NPRT"},
],
legfrmc1: [
{ label: "Demand Guarantee", value: "DGAR" },
{ label: "Standby Letter of Credit", value: "STBY" },
......@@ -7076,6 +7092,11 @@ const CodeTable = {
{label:"Applicant",value:"APPL" },
{label:"Obligor",value:"OBLI" },
],
getame_delto:[
{label:"Beneficiary",value:"BENE" },
{label:"Specified address",value:"OTHR" },
{label:"Applicant",value:"APPL" },
],
detdrv_deltol:[
{label:"Beneficiary",value:"BENE" },
{label:"Specified address",value:"OTHR" },
......@@ -7089,6 +7110,11 @@ const CodeTable = {
{label:"铁路运单",value:"铁路运单" },
{label:"货物收据",value:"货物收据" },
{label:"邮政收据",value:"邮政收据" },
],
cnfdet:[
{label:"MAYADD",value:"A"},
{label:"CONFIRM",value:"C"},
{label:"WITHOUT",value:"W"},
]
}
export default CodeTable;
......@@ -92,7 +92,7 @@ export default {
],
"strinf":[
//{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 1750,message:"长度不能超过1750"}
],
......
import Utils from "~/utils"
/**
* Betcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Betcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Betcan{
constructor () {
this.data = {
setmod: new Pub().data.Setmod, //帐务、分录 加入公共面板账务字段
mtabut: new Pub().data.Mtabut, //附言
trnmod: new Pub().data.Trnmod, //面函 加入公共面板面函的字段
liaall: new Pub().data.Liaall,//表外
betapll1blk:"",
betbenl1blk:"",
strinf:"", // Narrative .strinf
bedgrp:{
rec:{
ownref:"", // 单据编号 .bedgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bedgrp.rec.nam
doctypcod:"", // 单据类型 .bedgrp.rec.doctypcod
matdat:"", // Maturity Date .bedgrp.rec.matdat
orddat:"", // 到期日 .bedgrp.rec.orddat
rcvdat:"", // 到单日期 .bedgrp.rec.rcvdat
predat:"", // Presentation Date .bedgrp.rec.predat
docsta:"", // 单据状态 .bedgrp.rec.docsta
},
cbs:{
max:{
cur:"", // 单据金额 .bedgrp.cbs.max.cur
amt:"", // 单据金额 .bedgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bedgrp.cbs.opn1.cur
amt:"", // Balance .bedgrp.cbs.opn1.amt
},
opn2:{
amt:"", // Balance .bedgrp.cbs.opn2.amt
},
},
ben:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
},
betp0:{
recget:{
sdamod:{
seainf:"", // .betp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp0.recget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
seainf:"", // .betp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp0.ledget.sdamod.dadsnd
},
},
matp:{
mattxtlab:"", // Label for MATTXT .betp0.matp.mattxtlab
},
},
ledgrp:{
rec:{
ownref:"", // 参考号 .ledgrp.rec.ownref
},
cbs:{
opn1:{
cur:"", // Currency .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
},
},
sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
// mtabut:{
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -74,7 +74,7 @@ export default {
],
"strinf":[
//{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 1750,message:"长度不能超过1750"}
],
"setmod.ref":[
......
......@@ -4,6 +4,9 @@ import Utils from "~/utils"
* Getame Check规则
*/
let checkObj = {
"gidgrp.bec.pts.extkey" :null,
"gidgrp.avc.pts.extkey" :null,
"gidgrp.blk.gidtxt" :null,
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.jurlaws20" :null,
......@@ -15,17 +18,26 @@ let checkObj = {
"gitp.liatxtcmodflg" :null,
"trnmod.swiadd.exptxt" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.apc.namelc" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"gitp.covgodsrvcmodflg" :null,
"gidgrp.avc.pts.nam" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"trnmod.swiadd.newliadat" :null,
"trnmod.swiadd.ameblk" :null,
"gidgrp.cnr.pts.extkey" :null,
"gidgrp.rec.liadat" :null,
"gitp.gidtxtmodflgc" :null,
"gidgrp.ctc.adrelc" :null,
"gidgrp.blk.orcplcc" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.ctc.pts.extkey" :null,
"gidgrp.blk.liatxtc" :null,
"gidgrp.blk.feetxtc" :null,
"gitp.exptxtmodflg" :null,
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
......@@ -34,68 +46,107 @@ let checkObj = {
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gidgrp.ctc.namelc" :null,
"gitamep.ramrol" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.rec.tenclsdatc" :null,
"gidgrp.apl.pts.extkey" :null,
"trnmod.swiadd.newexpdat" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.accc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.rec.autrnwflgc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.cnr.namelc" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.rec.orcrefc" :null,
"gidgrp.adv.namelc" :null,
"gidgrp.rec.partcon" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.blk.atxpreperc" :null,
"gidgrp.apc.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.bec.pts.adrblk" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"gidgrp.rec.orcdatc" :null,
"gidgrp.rec.orcamtc" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"gidgrp.blk.gtxgidtxtc" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.rec.tendatc" :null,
"gidgrp.cbs.cnf.amt" :null,
"gidgrp.blk.gtxgidtxt" :null,
"gidgrp.rec.cnfdet" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.rec.jurlawc" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.bec.adrelc" :null,
"gidgrp.cnr.pts.adrblk" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.rec.jurplcc" :null,
"gidgrp.cbs.mac.amt" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"gidgrp.ctc.pts.adrblk" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.blk.covgodsrvc" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.apc.adrelc" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.gidtxtc" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.addamtcovc" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.addinfc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"gidgrp.bec.namelc" :null,
"gidgrp.rec.orcratc" :null,
"trnmod.swiadd.purposame" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"trnmod.swiadd.ameamt" :null,
"gidgrp.rec.inudat" :null,
"gitp.prepercmodflg" :null,
"gidgrp.iss.pts.ref" :null,
"gidgrp.cbs.mac2.amt" :null,
"gitp.gidtxtmodflg" :null,
"gidgrp.blk.feetxt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.blk.preperc" :null,
"gidgrp.rec.tenrefc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.blk.preper" :null,
"gidgrp.blk.atxcovgodsrvc" :null,
"gidgrp.apl.adrelc" :null,
"trnmod.swiadd.addamtcovs20" :null,
"gidgrp.rec.trmdatc" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.apc.pts.extkey" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
......
......@@ -470,5 +470,233 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onApcpDet(){
let rtnmsg = await this.executeRule("apcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCtcpDet(){
let rtnmsg = await this.executeRule("ctcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBecpDet(){
let rtnmsg = await this.executeRule("becp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAvcpDet(){
let rtnmsg = await this.executeRule("avcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChargicButtxmsel(){
let rtnmsg = await this.executeRule("chargic.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifpreperc(){
let rtnmsg = await this.executeRule("gitp.butdifpreperc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhispreperc(){
let rtnmsg = await this.executeRule("gitp.butdifhispreperc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifcovgodsrvc(){
let rtnmsg = await this.executeRule("gitp.butdifcovgodsrvc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhiscovgodsrvc(){
let rtnmsg = await this.executeRule("gitp.butdifhiscovgodsrvc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButgetrefc(){
let rtnmsg = await this.executeRule("gitp.butgetrefc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifc(){
let rtnmsg = await this.executeRule("gitp.butdifc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhisc(){
let rtnmsg = await this.executeRule("gitp.butdifhisc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpShwgidtxtc(){
let rtnmsg = await this.executeRule("gitp.shwgidtxtc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpGidtxtmodc(){
let rtnmsg = await this.executeRule("gitp.gidtxtmodc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdif(){
let rtnmsg = await this.executeRule("gitp.butdif")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpButdifhis(){
let rtnmsg = await this.executeRule("gitp.butdifhis")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpShwgidtxt(){
let rtnmsg = await this.executeRule("gitp.shwgidtxt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGitpGidtxtmod(){
let rtnmsg = await this.executeRule("gitp.gidtxtmod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCnrpDet(){
let rtnmsg = await this.executeRule("cnrp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -4,6 +4,11 @@ import Pub from "../Public"
export default class Getcan{
constructor () {
this.data = {
gitapll2blk: "",
gitapll1blk: "",
gitbenl1blk: "",
gitbenl2blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -7,7 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.gcdgrp.rec.ownref=rtnmsg.data.gcdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
})
}
else
{
......
......@@ -53,7 +53,7 @@ export default {
"gidgrp.blk.gtxgidtxtc" :Utils.defaultFunction,
"gidgrp.rec.gtxinr" :Utils.defaultFunction,
"gidgrp.blk.gtxgidtxt" :Utils.defaultFunction,
"gidgrp.blk.gidtxt" :Utils.defaultFunction,
// "gidgrp.blk.gidtxt" :Utils.defaultFunction,
"gitp.swiftflg" :Utils.defaultFunction,
"gidgrp.cnr.pts.extkey" :Utils.defaultFunction,
"gidgrp.cnr.adrelc" :Utils.defaultFunction,
......
......@@ -4,37 +4,49 @@ import Utils from "~/utils"
* Getset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bopmod.dbagrp.bas.methods" :null,
"bopmod.dbagrp.bas.lcyacc" :null,
"cnybop.outflg" :null,
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"gcdgrp.oth.adrelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"bopmod.dbagrp.bas.exrate" :null,
"bopmod.dbagrp.bas.txccy" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"bopmod.dbagrp.bas.custcod" :null,
"cnybop.cnyflg" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"gcdgrp.oth.namelc" :null,
"bopmod.szflg" :null,
"cnybop.traflg" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"gcdgrp.prb.pts.extkey" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.dbagrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.custype" :null,
"bopmod.dbagrp.bas.rptno" :null,
"bopmod.dbagrp.bas.oppuser" :null,
"gcdgrp.apl.pts.nam" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"cnybop.libflg" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"bopmod.acttyp" :null,
"gcdgrp.oth.pts.adrblk" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
"lendoc.account" :null,
}
for (const key in checkObj) {
......
......@@ -6,28 +6,20 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"gcdgrp.cbs.max.cur" :Utils.defaultFunction,
"gcdgrp.apl.pts.nam" :Utils.defaultFunction,
"gcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"gcdgrp.cbs.max2.amt" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
......@@ -36,31 +28,23 @@ export default {
"gcdgrp.prb.namelc" :Utils.defaultFunction,
"gcdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"gcdgrp.oth.pts.extkey" :Utils.defaultFunction,
"gcdgrp.oth.adrelc" :Utils.defaultFunction,
"gcdgrp.oth.namelc" :Utils.defaultFunction,
"gcdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"gcdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,83 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onGctpGetrefbut(){
let rtnmsg = await this.executeRule("gctp.getrefbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -89,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -101,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -113,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onGctpGetrefbut(){
let rtnmsg = await this.executeRule("gctp.getrefbut")
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -125,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -137,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -149,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -161,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthp1Det(){
let rtnmsg = await this.executeRule("othp1.det")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -173,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -185,8 +110,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -197,8 +122,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -4,6 +4,12 @@ import Pub from "../Public"
export default class Gitcan{
constructor () {
this.data = {
gitapll2blk: "",
gitapll1blk: "",
gitbenl1blk: "",
gitbenl2blk: "",
gitcanl1blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -7,8 +7,12 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
this.model.gcdgrp.rec.ownref=rtnmsg.data.gcdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
})
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
......
......@@ -304,7 +304,7 @@
<c-input
type="textarea"
v-model="model.strinf"
maxlength="50"
maxlength="1750"
show-word-limit
placeholder="请输入Narrative"
:rows="10"
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betcan/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-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流�'号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</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/Betcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<!-- 按钮 -->
<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">inc to Ben</el-button>
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</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">
<!--betcan PD000016 Cancelation -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<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="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from '~/service/Api'
import CodeTable from '~/config/CodeTable'
import Betcan from '~/model/Betcan'
import commonProcess from '~/mixin/commonProcess'
import commonFuncs from '~/mixin/commonFuncs'
import Check from '~/model/Betcan/Check'
import Default from '~/model/Betcan/Default'
import Pattern from '~/model/Betcan/Pattern'
import Canp from './Canp'
// import Engp from './Engp'
// import Setpan from './Setpan'
// import Coninfp from './Coninfp'
// import Docpan from './Docpan'
// import Doctre from './Doctre'
// import Limitbody from './Limitbody'
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 Doctre from '~/views/Public/Doctre'
import Limitbody from '~/views/Public/Limitbody'
export default {
name: 'Betcan',
components: {
'm-canp': Canp,
'm-engp': Engp,
'm-setpan': Setpan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-limitbody': Limitbody,
},
provide() {
return {
root: this,
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: 'canp',
trnName: 'betcan',
trnType: '',
model: new Betcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
},
created: async function () {
console.log('进入betcan交易')
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay()
}
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
}
</script>
<style></style>
......@@ -240,7 +240,7 @@
type="date"
v-model="model.bedgrp.rec.predat"
style="width: 100%"
placeholder="请选择到单日期"
placeholder="请选择提示日期"
value-format="yyyy-MM-dd"
:disabled="true"
></c-date-picker>
......
......@@ -2,6 +2,13 @@
<c-page title="出口托收承兑">
<div class="eContainer">
<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">
......
......@@ -294,7 +294,8 @@
<c-input
type="textarea"
v-model="model.strinf"
maxlength="50"
maxlength="1750"
:rows="10"
show-word-limit
placeholder="请输入Narrative"
></c-input>
......@@ -304,7 +305,9 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="" prop="sndmsg">
<c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
</el-form-item>
</c-col>
</c-col>
</c-row>
......
......@@ -5,14 +5,14 @@
title: 'Drawer',
grp: 'bodgrp',
rol: 'drr',
}" :disabled="true" @onSeainf="onSeainf">
}" :disabled="true" >
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Drawee',
grp: 'bodgrp',
rol: 'dre',
}" :disabled="true" @onSeainf="onSeainf">
}" :disabled="true" >
</c-ptap>
</c-col>
<c-col :span="11" :offset="1">
......@@ -20,7 +20,7 @@
title: 'Collecting Bank',
grp: 'bodgrp',
rol: 'col',
}" :disabled="true" @onSeainf="onSeainf">
}" :disabled="true" >
</c-ptap>
</c-col>
......
......@@ -11,8 +11,6 @@
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
......@@ -26,8 +24,6 @@
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -42,8 +38,6 @@
:disabledRef="true"
:disabledExtkey="true"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......
......@@ -252,7 +252,7 @@
<c-col :span="24">
<c-col :span="11">
<c-istream-table ref="table" :list="model.liaall.tenstm.rows || []" :columns="stmData.columns"
:showSelection="true" v-on:multipleSelect="multipleSelect">
:showSelection="true" v-on:multipleSelect="multipleSelect" prop="liaall.tenstm">
</c-istream-table>
</c-col>
</c-col>
......@@ -361,6 +361,38 @@ export default {
this.model.setmod.redamt = "0.00";
}
},
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let selIds;
if (selection.length === 0) {
selIds = [];
this.model.setmod.docamt = "0.000";
this.model.liaall.tensetstm.rows = [];
this.isDisabled = false;
// this.model.liaall.tenstm.rows = []
} else {
selIds = [selection[0] + 1];
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
this.isDisabled = true;
}
//
console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
},
created: function () {
......
......@@ -2,6 +2,13 @@
<c-page title="出口托收结算">
<div class="eContainer">
<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">
......@@ -9,7 +16,7 @@
<!--PD000027 -->
<el-tab-pane label="Funds Settlement" name="setp">
<m-setp :model="model" :codes="codes" />
<m-setp ref="setp" :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
......@@ -131,7 +138,10 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
this.$nextTick(() => {
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
})
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
......@@ -5,14 +5,14 @@
title: 'Drawer',
grp: 'bodgrp',
rol: 'drr',
}" :disabledRef="false" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
}" :disabledRef="false" :disabledExtkey="true" :disabled="true">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Drawee',
grp: 'bodgrp',
rol: 'dre',
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" >
</c-ptap>
</c-col>
<c-col :span="11" :offset="1">
......@@ -20,7 +20,7 @@
title: 'Collecting Bank',
grp: 'bodgrp',
rol: 'col',
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
}" :disabledRef="true" :disabledExtkey="true" :disabled="true" >
</c-ptap>
</c-col>
......
......@@ -157,6 +157,7 @@ import Getamc from "./Getamc"
import Betdcr from "./Betdcr"
import Betdrv from "./Betdrv"
import Betsnd from "./Betsnd"
import Betcan from "./Betcan"
import Betset from "./Betset"
import Letnot from "./Letnot"
......@@ -371,11 +372,12 @@ const BusRouter = [
{ path: 'betdcr', component: Betdcr, name: 'Betdcr', meta: { title: '出口信用证电提不符点/拒付' } },
{ path: 'betdrv', component: Betdrv, name: 'Betdrv', meta: { title: '出口信用证单据修改' } },
{ path: 'betsnd', component: Betsnd, name: 'Betsnd', meta: { title: '出口信用证寄单' } },
{ path: 'betcan', component: Betcan, name: 'Betcan', meta: { title: '出口信用证单据闭卷' } },
{ path: 'letnot', component: Letnot, name: 'Letnot', meta: { title: '出口信用证预开立' } },
{ path: 'infbpd', component: Infbpd, name: 'Infbpd', meta: { title: '出口押汇查询' } },
{ path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } },
{ path: 'getset', component: Getset, name: 'Getset', meta: { title: '出口保函收汇' } },
{ path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } },
{ path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } },
{ path: 'getame', component: Getame, name: 'Getame', meta: { title: '出口保函修改' } },
......
......@@ -369,7 +369,7 @@
<c-col :span="24" >
<el-form-item label="Presented" prop="bddgrp.rec.docprbrol">
<el-form-item label="Presented by" prop="bddgrp.rec.docprbrol">
<c-select
v-model="model.bddgrp.rec.docprbrol"
style="width:100%"
......@@ -402,7 +402,7 @@
<c-ptap
:model="model"
:argadr="{
title: 'ExtKey',
title: '',
grp: 'bddgrp',
rol: 'prb',
}"
......
......@@ -59,6 +59,10 @@
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
......@@ -112,6 +116,7 @@ import Doctre from "~/views/Public/Doctre"
import Limitbody from "~/views/Public/Limitbody"
import Engp from "~/views/Public/Engp"
import Utils from "~/utils";
import Glepan from "~/views/Public/Glepan";
......@@ -130,6 +135,7 @@ export default {
"m-mt754p" : Mt754p,
"m-othadvtypp" : Othadvtypp,
"m-engp" : Engp,
"m-glepan": Glepan,
},
provide() {
return {
......
......@@ -60,7 +60,12 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入Amount Claimed"></c-input>
<c-input
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入Amount Claimed"
></c-input>
</c-form-item>
</c-col>
......@@ -75,9 +80,6 @@
v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.max.amt', model.gcdgrp.cbs.max.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -95,11 +97,17 @@
</c-col> -->
<c-col :span="5">
<c-checkbox v-model="model.gctp0.gctp0" style="margin-left:18px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
disabled
>Add. Amount</c-checkbox>
<c-checkbox
v-model="model.gctp0.gctp0"
style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
disabled
>Add. Amount</c-checkbox
>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Open Amount" prop="gcdgrp.cbs.opn1.cur">
......@@ -121,7 +129,6 @@
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
......@@ -147,9 +154,6 @@
v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入"
disabled
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.opn1.amt', model.gcdgrp.cbs.opn1.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -175,7 +179,6 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="12">
......@@ -187,7 +190,6 @@
<c-select
v-model="model.gidgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
......@@ -212,9 +214,6 @@
v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="
defaultFunction('gidgrp.cbs.opn1.amt', model.gidgrp.cbs.opn1.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -271,18 +270,18 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="11" style="margin-top:15px">
<c-col :span="24">
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="11" style="margin-top: 15px">
<c-col :span="24">
<el-form-item label="Booking Procedure" prop="rebkpflg">
<c-select
v-model="model.rebkpflg"
style="width: 100%"
placeholder="请选择Booking Procedure"
><el-option
><el-option
v-for="item in rebkpflg"
:key="item.value"
:label="item.label"
......@@ -292,7 +291,7 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="gctp0.gidget.sdamod.dadsnd">
<c-input v-model="model.gctp0.gidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
......@@ -464,10 +463,10 @@ export default {
mixins: [commonProcess],
data() {
return {
rebkpflg:[
{label:"Reverse Booking (Claim)",value:"1"},
{label:"Reverse Booking (Claim, Guarantee)",value:"2"},
],
rebkpflg: [
{ label: "Reverse Booking (Claim)", value: "1" },
{ label: "Reverse Booking (Claim, Guarantee)", value: "2" },
],
};
},
methods: { ...Event },
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur">
<c-input disabled v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input disabled v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input disabled v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" :rows="4" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/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-button size="small" type="primary" @click="onSav">
{{$t('mtabut.CF000174')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrcon">
{{$t('mtabut.CG000224')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('getame.SF050038')" prop="oldgidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050038')" ></c-input>
<c-col :span="20">
<c-form-item label="Guarantee Text before this Amendment" prop="oldgidgrp.blk.gidtxt">
<i-stream-input disabled type="textarea" rows="8" :model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text before this Amendment" ></i-stream-input>
</c-form-item>
</c-col>
<!-- SF050038 : Guarantee Text -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
{{$t('mtabut.CF000175')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrchk">
{{$t('mtabut.CG000225')}}
</c-button>
</c-col>
<!-- SF050111 : before this -->
<!-- SF050112 : Amendment -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
{{$t('mtabut.CF000176')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel">
{{$t('mtabut.CF000190')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInc">
{{$t('mtabut.CF000188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onNotmap">
{{$t('mtabut.CF000189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFrmbut">
{{$t('mtabut.CF000208')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOrd">
{{$t('mtabut.CF000213')}}
</c-button>
</c-col>
<!-- SF050039 : Amendments so Far -->
<c-col :span="12">
<c-form-item :label="$t('getame.SF050039')" prop="gidgrp.blk.gidtxtame">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050039')" ></c-input>
</c-col>
<c-col :span="20">
<c-form-item label="Amendments so Far" prop="gidgrp.blk.gidtxtame">
<c-input disabled type="textarea" rows="8" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit placeholder="请输入Amendments so Far" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIncben">
{{$t('mtabut.CG000239')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodImage">
{{$t('mtabut.CG000240')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewimg">
{{$t('mtabut.CG000232')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewhisimg">
{{$t('mtabut.CG000233')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodElcimage">
{{$t('mtabut.CG000241')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEntmodEntbut">
{{$t('mtabut.CG000242')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPen">
{{$t('mtabut.CF000178')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
{{$t('mtabut.CF000179')}}
</c-button>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -131,8 +18,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
import IStreamInput from '~/components/IStreamInput'
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Contract Reference" prop="gidgrp.rec.orcrefc">
<c-input disabled v-model="model.gidgrp.rec.orcrefc" maxlength="35" placeholder="请输入Contract Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Contract Date" prop="gidgrp.rec.orcdatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.orcdatc" style="width:100%" placeholder="请选择Date from Original Contract"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.tenclsdatc" style="width:100%" placeholder="请选择Closing Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-col :span="20">
<el-form-item v-if="model.gitp.covgodsrvcmodflg==''" label="Object of Contract" prop="gidgrp.blk.covgodsrvc">
<c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrvc" maxlength="65" show-word-limit placeholder="请输入Object of Contract" ></c-input>
</el-form-item>
<el-form-item v-if="model.gitp.covgodsrvcmodflg=='X'" label="Underly. Transact. Det." prop="gidgrp.blk.atxcovgodsrvc">
<c-input :disabled="model.gitp.covgodsrvcmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.atxcovgodsrvc" maxlength="65" show-word-limit placeholder="请输入Underly. Transact. Det." ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="4">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodsrvcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodc.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrvc">
vs.&System
</c-button>
<c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhiscovgodsrvc">
vs.&History
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcratc">
<c-input disabled v-model="model.gidgrp.rec.orcratc" placeholder="请输入Original Perc./ Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Contract Amount " prop="gidgrp.rec.orccurc">
<c-select disabled v-model="model.gidgrp.rec.orccurc" style="width:100%" placeholder="请选择Contract Amount ">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-model="model.gidgrp.rec.orcamtc" placeholder="请输入Contract Amount "></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplcc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplcc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.accc">
<c-input disabled v-model="model.gidgrp.rec.accc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Governing Law" prop="gidgrp.rec.jurlawc">
<c-select v-model="model.gidgrp.rec.jurlawc" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Governing Law " prop="gidgrp.rec.jurlawtxtc">
<c-input v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplcc">
<c-input :disabled="model.gidgrp.rec.jurlawc==''" v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Tender Reference" prop="gidgrp.rec.tenrefc">
<c-input disabled v-model="model.gidgrp.rec.tenrefc" maxlength="35" placeholder="请输入Tender Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Tender Date" prop="gidgrp.rec.tendatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.tendatc" style="width:100%" placeholder="请选择Tender Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdatc">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.trmdatc" style="width:100%" placeholder="请选择Latest Transmiss. Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Additional Info" prop="gidgrp.blk.addinfc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.addinfc" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/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-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdif">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflg=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxt">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000350 : Text of Undertaking -->
<!-- <c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text with Variables'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxt">{{$t('gitp.CF001173')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdif">
{{$t('gitp.CF000348')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhis">
{{$t('gitp.CF000351')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxt">
{{$t('gitp.CF000384')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
{{$t('gitp.CG000442')}}
</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/Getame/Event"
import IStreamInput from '~/components/IStreamInput'
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000792 : Undertaking Text -->
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflgc == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflgc == 'X'" label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<i-stream-input type="textarea" :modle="model.gidgrp.blk.gtxgidtxtc" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
import IStreamInput from '~/components/IStreamInput'
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-fullbox>
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
<el-option
v-for="item in codes.deloric"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer" >
<c-input :disabled="model.gidgrp.rec.deloric!='OTHR'&&model.gidgrp.rec.deloric!='COUR'" v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
<el-option
v-for="item in codes.deltoc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
<c-input :disabled="model.gidgrp.rec.deltoc=='BENE'" type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
<c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
vs. &System
</c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc">
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
...
</c-button>
<c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input disabled rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/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-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Applicant',
grp: 'gidgrp',
rol: 'apc',
}"
:disabled="false">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Obligor',
grp: 'gidgrp',
rol: 'ctc',
}"
:disabled="false"
@onAplpDet="onCtcpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Int. Beneficiary',
grp: 'gidgrp',
rol: 'bec',
}"
:disabled="false"
@onAplpDet="onBecpDet">
</c-ptap>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Issuing Bank',
grp: 'gidgrp',
rol: 'iss',
}"
:disabled="true"
@onAplpDet="onCtcpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Ultimate Ben Bank',
grp: 'gidgrp',
rol: 'ben',
}"
:disabled="true"
@onAplpDet="onCtcpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="Avail. with Bank Ref." prop="gidgrp.avc.pts.ref">
<c-input disabled v-model="model.gidgrp.avc.pts.ref" maxlength="16" placeholder="请输入Avail. with Bank Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="gidgrp.avc.pts.extkey">
<c-fullbox>
<c-input disabled v-model="model.gidgrp.avc.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`gidgrp.avc.pts.extkey`)"
>
</c-button>
<c-button size="small" type="primary" @click="onAvcpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="gidgrp.avc.pts.nam">
<c-input disabled v-model="model.gidgrp.avc.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<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>
<!-- <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">
<!--gitp PD001291 开立方式 -->
......@@ -7,35 +22,110 @@
<m-opnp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002031 Amendment -->
<el-tab-pane :label="$t('gitamep.PD002031')" name="ameps20">
<el-tab-pane label="Amendment" name="ameps20">
<m-ameps20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002100 Amendment Dates -->
<el-tab-pane :label="$t('gitamep.PD002100')" name="amedat20">
<el-tab-pane label="Amendment Dates" name="amedat20">
<m-amedat20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000002 Overview -->
<el-tab-pane :label="$t('gitp.PD000002')" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
<el-tab-pane label="Overview" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--gitp PD000043 Parties -->
<el-tab-pane :label="$t('gitp.PD000043')" name="ptyp">
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000727 Presentation/ Delivery -->
<el-tab-pane :label="$t('gitp.PD000727')" name="preperp">
<el-tab-pane v-if="model.gitp.swiftflg=='Y'" label="Presentation/ Delivery" name="preperp">
<m-preperp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000389 Details -->
<el-tab-pane :label="$t('gitp.PD000389')" name="detp">
<el-tab-pane label="Details" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.swiftflg=='Y'&&model.gitamep.prtflg=='X'" label="Undertaking Text" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF')" label="Confirmation Details" name="confp">
<m-confp :model="model" :codes="codes"/>
</el-tab-pane>
<!--getame PD050035 History -->
<el-tab-pane :label="$t('getame.PD050035')" name="amephis">
<el-tab-pane label="History" name="amephis">
<m-amephis :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Liability" name="liability">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="Settlement">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Bookings" name="Booking">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="Completion">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Overview" name="ovwpc">
<c-content>
<m-ovwpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Parties" name="ptypc">
<c-content>
<m-ptypc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Presentation/Delivery" name="preperpc">
<c-content>
<m-preperpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Details" name="detpc">
<c-content>
<m-detpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Undertaking Text" name="gidtxtpc">
<c-content>
<m-gidtxtpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.aacp.aacmod.addamtflg=='X'" label="Seq C : Add Amounts" name="aacp">
<c-content>
<m-aacp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -43,6 +133,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getame from "~/model/Getame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Getame/Check"
import Default from "~/model/Getame/Default"
import Pattern from "~/model/Getame/Pattern"
......@@ -54,7 +145,24 @@ import Ptyp from "./Ptyp"
import Preperp from "./Preperp"
import Detp from "./Detp"
import Amephis from "./Amephis"
import Gidtxtp from "./Gidtxtp"
import Confp from "./Confp"
import Ovwpc from "./Ovwpc"
import Ptypc from "./Ptypc"
import Preperpc from "./Preperpc"
import Detpc from "./Detpc"
import Gidtxtpc from "./Gidtxtpc"
import Aacp from "./Aacp"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Getame",
......@@ -67,13 +175,31 @@ export default {
"m-preperp" : Preperp,
"m-detp" : Detp,
"m-amephis" : Amephis,
"m-gidtxtp" : Gidtxtp,
"m-confp" :Confp,
"m-engp" :Engp,
"m-ccvpan" :Ccvpan,
"m-setpan" : Setpan,
"m-glepan" :Glepan,
"m-coninfp" :Coninfp,
"m-docpan" :Docpan,
"m-doctre" :Doctre,
"m-limitbody" : Limitbody,
"m-ovwpc" :Ovwpc,
"m-ptypc" : Ptypc,
"m-preperpc" :Preperpc,
"m-detpc" :Detpc,
"m-gidtxtpc" :Gidtxtpc,
"m-aacp" :Aacp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp",
......
......@@ -61,7 +61,12 @@
prop="gidgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input v-model="model.gidgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入Amount Claimed"></c-input>
<c-input
v-model="model.gidgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入Amount Claimed"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
......@@ -75,16 +80,19 @@
v-model="model.gidgrp.cbs.max.amt"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="
defaultFunction('gidgrp.cbs.max.amt', model.gidgrp.cbs.max.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.gitp0.gitp0s20" disabled style="margin-left: 18px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
<c-checkbox
v-model="model.gitp0.gitp0s20"
disabled
style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>Add. Amount</c-checkbox
>
</c-col>
......@@ -98,7 +106,6 @@
<c-select
v-model="model.gidgrp.cbs.opn1.cur"
placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
......@@ -123,9 +130,6 @@
v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="
defaultFunction('gidgrp.cbs.opn1.amt', model.gidgrp.cbs.opn1.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -173,7 +177,7 @@
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="gidgrp.rec.exptyp" label-width="50px">
<el-form-item label="" prop="gidgrp.rec.exptyp" label-width="50px">
<c-input
v-model="model.gidgrp.rec.exptyp"
disabled
......@@ -301,9 +305,12 @@
</c-col>
<c-col :span="24" :offset="6">
<c-checkbox
style="margin-left: 15px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
style="
margin-left: 15px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
v-model="model.mtabut.clsflg"
:disabled="model.gidgrp.rec.purcan != 'RR'"
>Close Flag</c-checkbox
......
......@@ -37,7 +37,11 @@
</c-col>
<c-col :span="12">
<el-form-item label="Valid until" prop="gidgrp.rec.expdat" label-width="40%">
<el-form-item
label="Valid until"
prop="gidgrp.rec.expdat"
label-width="40%"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.expdat"
......@@ -70,7 +74,12 @@
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onGctpGetrefbut">
<c-button
size="small"
type="primary"
:disabled="this.flag"
@click="onGctpGetrefbut"
>
Get ref.
</c-button>
</template>
......@@ -84,7 +93,12 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入Amount Claimed"></c-input>
<c-input
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入Amount Claimed"
></c-input>
</c-form-item>
</c-col>
<c-col :span="9">
......@@ -96,7 +110,8 @@
>
<c-input-currency
disabled
v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入Balance"
v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入Balance"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -116,9 +131,12 @@
<c-checkbox
v-model="model.gctp.gcthdr"
disabled
style="margin-left: 18px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>Add. Amount</c-checkbox
>
</c-col>
......@@ -142,7 +160,6 @@
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
......@@ -167,9 +184,6 @@
v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入"
disabled
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.opn1.amt', model.gcdgrp.cbs.opn1.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -207,7 +221,6 @@
<c-select
v-model="model.gidgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
......@@ -232,9 +245,6 @@
v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="
defaultFunction('gidgrp.cbs.opn1.amt', model.gidgrp.cbs.opn1.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -314,7 +324,12 @@
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入Amount Claimed"></c-input>
<c-input
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入Amount Claimed"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
......@@ -351,7 +366,12 @@
prop="gcdgrp.cbs.opn2.cur"
previewLabel="信用证币种"
>
<c-input v-model="model.gcdgrp.cbs.opn2.cur" maxlength="3" disabled placeholder="请输入Amount Claimed"></c-input>
<c-input
v-model="model.gcdgrp.cbs.opn2.cur"
maxlength="3"
disabled
placeholder="请输入Amount Claimed"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
......@@ -365,9 +385,6 @@
v-model="model.gcdgrp.cbs.max2.amt"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.max2.amt', model.gcdgrp.cbs.max2.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -410,9 +427,12 @@
<c-checkbox
v-model="model.extpay"
key="item.value"
style="margin-left: 11px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
style="
margin-left: 11px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>Extend or Pay</c-checkbox
>
</c-col>
......@@ -430,27 +450,36 @@
</c-col>
<c-col :span="11" :offset="1" style="margin-top: 15px">
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Presented by" prop="gcdgrp.rec.docprbrol">
<c-select
<c-select
:code="codes.docprbrol"
v-model="model.gcdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
</c-select>
v-model="model.gcdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="Reference" prop="gcdgrp.prb.pts.ref">
<c-input v-model="model.gcdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Reference"></c-input>
<c-input
v-model="model.gcdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.prb.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gcdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('gcdgrp.prb.pts.extkey')"
<c-fullbox>
<c-input
v-model="model.gcdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
......@@ -468,21 +497,24 @@
@click="onPrbpDet"
>
Details
</c-button>
</c-button>
</template>
</c-fullbox>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.prb.pts.adrblk">
<c-input
<c-input
:rows="4"
type="textarea" v-model="model.gcdgrp.prb.pts.adrblk" maxlength="300" show-word-limit placeholder="请输入Address Block" ></c-input>
type="textarea"
v-model="model.gcdgrp.prb.pts.adrblk"
maxlength="300"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-form-item label="Payer" prop="gcdgrp.rec.payrol">
......@@ -505,10 +537,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label=""
prop="gcdgrp.oth.pts.extkey"
>
<el-form-item label="" prop="gcdgrp.oth.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
......@@ -532,7 +561,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
@click="onOthpDet"
>
Details
</c-button>
......@@ -553,7 +582,7 @@
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="名称" prop="gcdgrp.oth.namelc">
<c-input type="textarea"
......@@ -578,7 +607,7 @@
<c-input type="textarea" v-model="model.gcdgrp.oth.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="地址" prop="gcdgrp.oth.adrelc">
<c-input type="textarea"
:rows="2"
......@@ -607,15 +636,16 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
};
return {};
},
computed: {
flag() {
return this.model.gcdgrp.prb.pts.extkey == "";
},
},
methods: {
...Event,
},
created: function () {},
};
......
......@@ -68,9 +68,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Confirm. Instr." prop="gidgrp.rec.cnfdet">
<c-select v-model="model.gidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instr.">
<c-select :disabled="model.gidgrp.rec.legfrm!='STBY'" v-model="model.gidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instr.">
<el-option
v-for="item in cnfdet"
v-for="item in codes.cnfdet"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -123,13 +123,13 @@
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purposin=='ISSU'" label="">
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label="">
Own confirmation details:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purposin=='ISSU'" label="Confirmation Status " prop="gidgrp.rec.cnfsta">
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Status " prop="gidgrp.rec.cnfsta">
<c-select v-model="model.gidgrp.rec.cnfsta" style="width:100%" placeholder="请选择Confirmation Status ">
<el-option
v-for="item in codes.cnfsta"
......@@ -144,32 +144,32 @@
<c-col :span="24">
<c-col :span="10">
<el-form-item v-if="model.gidgrp.rec.purposin=='ISSU'" label="Confirmation Amount" prop="gidgrp.cbs.cnf.cur">
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Amount" prop="gidgrp.cbs.cnf.cur">
<c-input disabled v-model="model.gidgrp.cbs.cnf.cur" maxlength="3" placeholder="请输入Confirmation Amount"></c-input>
</el-form-item>
</c-col>
<c-col v-if="model.gidgrp.rec.purposin=='ISSU'" :span="4">
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="4">
<!-- <el-form-item prop="gidgrp.cbs.cnf.amt"> -->
<c-input v-model="model.gidgrp.cbs.cnf.amt" placeholder="请输入Balance"></c-input>
<c-input disabled v-model="model.gidgrp.cbs.cnf.amt" placeholder="请输入Balance"></c-input>
<!-- </el-form-item> -->
</c-col>
<c-col v-if="model.gidgrp.rec.purposin=='ISSU'" :span="2" style="margin-left:20px">
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="2" style="margin-left:20px">
<span>or</span>
</c-col>
<c-col v-if="model.gidgrp.rec.purposin=='ISSU'" :span="4">
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="4">
<!-- <el-form-item prop="gidgrp.rec.partcon"> -->
<c-input v-model="model.gidgrp.rec.partcon" placeholder="请输入Partial Confirmation"></c-input>
<c-input disabled v-model="model.gidgrp.rec.partcon" placeholder="请输入Partial Confirmation"></c-input>
<!-- </el-form-item> -->
</c-col>
<c-col v-if="model.gidgrp.rec.purposin=='ISSU'" :span="2" style="margin-left: 20px">
<c-col v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" :span="2" style="margin-left: 20px">
<span>%</span>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purposin=='ISSU'" label="Confirmation Date" prop="gidgrp.rec.cnfdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.cnfdat" style="width:100%" placeholder="请选择Confirmation Date"></c-date-picker>
<el-form-item v-if="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Date" prop="gidgrp.rec.cnfdat">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.cnfdat" style="width:100%" placeholder="请选择Confirmation Date"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
......
......@@ -433,7 +433,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm">
<c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking">
<el-option
v-for="item in codes.legfrm"
v-for="item in codes.legfrm2"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -503,8 +503,20 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="核销日期" prop="gidgrp.rec.vrfdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.vrfdat"
style="width: 100%"
placeholder="请选择核销日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg=='Y'"
label="Language of Undertak."
......@@ -520,21 +532,6 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="核销日期" prop="gidgrp.rec.vrfdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.vrfdat"
style="width: 100%"
placeholder="请选择核销日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="特殊保函类型" prop="gidgrp.ghd.segtyp">
<c-select
......@@ -623,10 +620,10 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'
&&model.gidgrp.rec.gartyp==''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr">
prop="gidgrp.rec.atxinr">
<c-select
:disabled="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'"
v-model="model.gidgrp.rec.gtxinr"
v-model="model.gidgrp.rec.atxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
>
......@@ -638,15 +635,15 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'
&&model.gidgrp.rec.gartyp!=''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr">
prop="gidgrp.rec.atxinr">
<c-select
:disabled="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'"
v-model="model.gidgrp.rec.gtxinr"
v-model="model.gidgrp.rec.atxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.gtxinr3"
v-for="item in codes.atxinr"
:key="item.value"
:label="item.label"
:value="item.value"
......
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