Commit f2fa50bc by zhujiazhan

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

parents 58b294c5 70dfe9fc
......@@ -34,6 +34,7 @@
:prop="item.prop"
:label="item.label"
:width="item.width"
sortable
>
<template v-slot="{ scope }">
<!-- <template slot-scope="{ scope }"> -->
......
......@@ -52,7 +52,7 @@ export default {
"oldbodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.newmatdat":[
//{type: "date", required: false, message: "输入正确的日期"}
......@@ -122,7 +122,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
......@@ -173,7 +173,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
......@@ -230,7 +230,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
......@@ -249,7 +249,7 @@ export default {
"bodgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 3250,message:"长度不能超过3250"}
],
......
......@@ -231,7 +231,7 @@ export default {
],
"bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 300,message:"长度不能超过300"}
],
"bodgrp.blk.intins":[
......
export default {
"bodgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 3250,message:"长度不能超过3250"}
],
......@@ -82,7 +82,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
......@@ -90,7 +90,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
......@@ -127,7 +127,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
//{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
......@@ -441,8 +441,8 @@ export default {
"bopmod.dbdgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
//{type: "string", required: true, message: "必输项"},
//{max: 32,message:"长度不能超过32"}
],
......@@ -519,8 +519,8 @@ export default {
"bopmod.dbagrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
//{type: "string", required: true, message: "必输项"},
//{max: 32,message:"长度不能超过32"}
],
......
......@@ -180,6 +180,7 @@ let checkObj = {
"cnybop.cnyvou.stransattr" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.addamtcovc" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.blk.addinfc" :null,
"gitp.inccormsgflg" :null,
......@@ -206,6 +207,7 @@ let checkObj = {
"gidgrp.iss.pts.ref" :null,
"cnybop.svouchername" :null,
"cfagit.recgrp.bas.guaranamount" :null,
"gidgrp.cbs.mac2.amt" :null,
"addbcb.preexpdat" :null,
"cnybop.libflg" :null,
"gitp.gidtxtmodflg" :null,
......
......@@ -95,6 +95,7 @@ export default {
"gidgrp.atb.namelc" :Utils.defaultFunction,
"gidgrp.atb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.atb.pts.adrblk" :Utils.defaultFunction,
"gidgrp.cbs.mac2.amt" :Utils.defaultFunction,
"gitp.usr.extkey" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.legfrm" :Utils.defaultFunction,
......@@ -175,6 +176,8 @@ export default {
"gidgrp.rec.tendatc" :Utils.defaultFunction,
"gidgrp.rec.jurlaws20" :Utils.defaultFunction,
"gidgrp.rec.inudat" :Utils.defaultFunction,
"gidgrp.blk.addamtcovc" :Utils.defaultFunction,
"gidgrp.cbs.mac2.cur" :Utils.defaultFunction,
"gitp.aacp.aacmod.addamtflg" :Utils.defaultFunction,
"gidgrp.rec.cnfdat" :Utils.defaultFunction,
"gidgrp.ben.adrelc" :Utils.defaultFunction,
......@@ -217,9 +220,5 @@ export default {
"gitp.lettername" :Utils.defaultFunction,
"gidgrp.blk.apprulc" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"cfagit.ownextkey" :Utils.defaultFunction,//新增字段,地区机构号
"cnybop.cnyvou.sbankorgcode" :Utils.defaultFunction,//新增字段,报送银行机构代码
"cnybop.cnyvou.spk" :Utils.defaultFunction,//新增字段,业务主键
"cfagit.recgrp.bas.guarancurr" :Utils.defaultFunction,//新增字段,保函金额
}
//你可以添加自动default处理
......@@ -110,9 +110,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
async handleReset(formName) {
this.$refs[formName].resetFields();
},
async handleSearch() {
......
......@@ -115,8 +115,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
async handleReset(formName) {
console.log(this);
this.$refs[formName].resetFields();
},
async handleSearch() {
......
......@@ -173,8 +173,25 @@ export default {
}
},
async handleReset() {
this.model.infcon.seaownref="";
this.model.infcon.opndatfrom="";
this.model.infcon.opndatto="";
this.model.infcon.searef="";
this.model.infcon.pty.extkey="";
this.model.infcon.pty.nam="";
this.model.infcon.seapty="";
this.model.infcon.nam="";
this.model.infcon.searol="";
this.model.infcon.usr.extkey="";
this.model.infcon.seasta="";
this.model.infcon.seacur="";
this.model.infcon.seaamtfr="";
this.model.infcon.seaamtto="";
this.model.seacnfdet="";
this.model.sealcrtyp="";
this.model.jyqflg="";
this.model.mylx="";
this.model.elcflg="";
},
async handleSearch() {
this.stmData.data = [];
......
......@@ -375,6 +375,10 @@ export default {
}
},
async handleReset(formName) {
this.$refs[formName].resetFields();
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
......
......@@ -260,26 +260,18 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset(formName) {
this.$refs[formName].resetFields();
},
// async handleSearch() {
// this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom;
......
......@@ -16,7 +16,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -30,7 +30,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -80,8 +80,8 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"letcanf.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过1750"}
],
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Letcan{
constructor () {
this.data = {
setmod: new Pub().data.Setmod, //帐务、分录 加入公共面板账务字段
mtabut: new Pub().data.Mtabut, //附言
trnmod: new Pub().data.Trnmod, //面函 加入公共面板面函的字段
liaall: new Pub().data.Liaall,//表外/授信额度
letbenl1blk:"",
letp0:{
recget:{
sdamod:{
......@@ -53,106 +60,106 @@ export default class Letcan{
strinf:"", // Narrative .letcanf.strinf
},
sndmsg:"", // Send Message .sndmsg
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
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
}
},
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
},
},
liaall:{
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
// setfog:{
// setfol:[]
// },
// setfeg:{
// setfel:[]
// }
// },
// 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
// },
// },
// liaall:{
// 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
// },
// },
pageId: "" // ctx的key
}
}
......
......@@ -398,5 +398,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onExtkey(){},
}
\ No newline at end of file
......@@ -45,7 +45,7 @@ export default {
"ledgrp.ben.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.cbs.nom1.amt": [
......@@ -56,24 +56,24 @@ export default {
"ledgrp.ben.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.ben.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.nomtop": [
{ type: "stirng", required: false, message: "必输项" },
// { max: 2, message: "长度不能超过2" }
{ type: "number", required: false, message: "必输项" },
{ type: "number",max: 999, message: "长度不能超过2" }
],
"ledgrp.rec.nomton": [
{ type: "string", required: false, message: "必输项" },
// { max: 2, message: "长度不能超过2" }
{ type: "number",required: false, message: "必输项" },
{ type: "number",max: 999, message: "长度不能超过2" }
],
"ledgrp.ben.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140, message: "长度不能超过140" }
],
......@@ -109,7 +109,7 @@ export default {
"ledgrp.iss.namelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" }
......@@ -119,11 +119,11 @@ export default {
],
"ledgrp.iss.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.iss.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" }
......@@ -165,20 +165,20 @@ export default {
],
"ledgrp.apl.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140"}
],
"ledgrp.apl.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.apl.adrelc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
"ledgrp.rec.apprultxt": [
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 140,message:"长度不能超过140" }
],
......@@ -216,7 +216,7 @@ export default {
],
"ledgrp.avb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string",max: 999, message: "长度不能超过35" }
],
"ledgrp.avb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
......@@ -231,8 +231,8 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"ledgrp.rec.prepers18": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ type:"number",required: false, message: "必输项" },
{ type:"number",max: 999, message: "长度不能超过3" }
],
......@@ -291,15 +291,15 @@ export default {
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.tenmaxday": [
{ required: false, message: "必输项" },
{ max: 4, message: "长度不能超过4" }
{ type: "number",required: false, message: "必输项" },
{ type: "number",max: 999, message: "长度不能超过4" }
],
"ledgrp.rec.porloa": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.pordis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.shpto": [
......@@ -307,7 +307,7 @@ export default {
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.shpper": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.adv.pts.ref": [
......@@ -593,13 +593,13 @@ export default {
],
"ledgrp.cbs.max2.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -324,7 +324,7 @@
placeholder="请选择Booking Procedure"
>
<el-option
v-for="item in codes.rebkpflg"
v-for="item in rebkpflg"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -346,7 +346,12 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
rebkpflg: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
};
},
methods: { ...Event, changed(e) {} },
created: function () {},
......
......@@ -5,7 +5,7 @@
<c-col :span="23">
<el-form-item label="Delivery of Documents Instructions" style="padding-top:15px">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="3250" show-word-limit
placeholder="请输入Collection Instructions" >
</c-input>
<template slot="footer">
......
......@@ -344,6 +344,8 @@
rol: 'drr',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
>
</c-ptap>
<c-ptap
......
......@@ -9,6 +9,8 @@
rol: 'drr',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
>
</c-ptap>
......
......@@ -60,7 +60,9 @@
<!--Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Bookings -->
......
......@@ -75,7 +75,11 @@
placeholder="请输入Draft Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.dftins.buttxmsel',null,null,{TXT:'bodgrp.blk.dftins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -108,7 +112,11 @@
placeholder="请输入Protest Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.proins.buttxmsel',null,null,{TXT:'bodgrp.blk.proins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -143,7 +151,11 @@
placeholder="请输入Other Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.othins.buttxmsel',null,null,{TXT:'bodgrp.blk.othins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -174,7 +186,11 @@
placeholder="请输入Warehouse/Insurance instruction">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.whins.buttxmsel',null,null,{TXT:'bodgrp.blk.delins'},{TXT:false},'doxpDialog')"
>
...
</c-button>
</template>
......@@ -309,8 +325,8 @@
<c-col :span="12">
<el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" :disabled="true"
:code="codes.cur">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Document Amount"
:disabled="true" :code="codes.cur">
</c-select>
</el-form-item>
......@@ -338,36 +354,36 @@
</c-row>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
},
methods: { ...Event },
created: function () {
},
computed:{
colinsflg:{
get(){
return this.model.bodgrp.blk.colinsflg ==="X";
},
set(val){
this.model.bodgrp.blk.colinsflg=val ? "X":"";
},
},
computed: {
colinsflg: {
get() {
return this.model.bodgrp.blk.colinsflg === "X";
},
set(val) {
this.model.bodgrp.blk.colinsflg = val ? "X" : "";
},
},
}
}
}
</script>
<style>
</style>
</style>
\ No newline at end of file
......@@ -44,7 +44,7 @@
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-select v-model="model.bodgrp.cbs.max.cur" style="width: 100%" placeholder="请选择Currency">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......
......@@ -87,97 +87,98 @@
</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 ref="doxpDialog" :isPty="false" :promptData="promptData"
@select-ety="selectMsg">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Botdav from "~/model/Botdav"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdav/Check"
import Default from "~/model/Botdav/Default"
import Pattern from "~/model/Botdav/Pattern"
import Ovwp from "./Ovwp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
//import Doctre from "./Doctre"
import Cnyp from "./Cnyp"
import Srmp from "./Srmp"
import Engp from "~/views/Public/Engp"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
export default {
name: "botdav",
components: {
"m-ovwp": Ovwp,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-instrecp": Instrecp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cnyp": Cnyp,
"m-srmp": Srmp,
"m-engp": Engp,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "botdav",
model: new Botdav().data,
// checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
// tabClick(){
// },
// handleSubmit(){},
// handleCheck(){},
// handleStash(){},
},
created: async function () {
console.log("进入botdav交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Botdav from "~/model/Botdav"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdav/Check"
import Default from "~/model/Botdav/Default"
import Pattern from "~/model/Botdav/Pattern"
import Ovwp from "./Ovwp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
//import Doctre from "./Doctre"
import Cnyp from "./Cnyp"
import Srmp from "./Srmp"
import Engp from "~/views/Public/Engp"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
export default {
name: "botdav",
components: {
"m-ovwp": Ovwp,
"m-inst": Inst,
"m-ptyp": Ptyp,
"m-instrecp": Instrecp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cnyp": Cnyp,
"m-srmp": Srmp,
"m-engp": Engp,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "botdav",
model: new Botdav().data,
// checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
// tabClick(){
// },
// handleSubmit(){},
// handleCheck(){},
// handleStash(){},
},
created: async function () {
console.log("进入botdav交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
};
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
};
</script>
<style>
</style>
</style>
\ No newline at end of file
......@@ -5,11 +5,11 @@
<c-col :span="23">
<el-form-item label="Delivery of Documents Instructions" style="padding-top:15px">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit
placeholder="请输入Collection Instructions" :disabled="model.bodgrp.blk.colinsflg !='X'">
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="3250" show-word-limit
placeholder="请输入Collection Instructions" disabled>
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button size="small" type="primary" disabled>
...
</c-button>
</template>
......@@ -75,7 +75,7 @@
placeholder="请输入Draft Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button size="small" type="primary" disabled>
...
</c-button>
</template>
......@@ -108,7 +108,7 @@
placeholder="请输入Protest Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button size="small" type="primary" disabled>
...
</c-button>
</template>
......@@ -143,7 +143,7 @@
placeholder="请输入Other Instructions">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button size="small" type="primary" disabled>
...
</c-button>
</template>
......@@ -174,7 +174,7 @@
placeholder="请输入Warehouse/Insurance instruction">
</c-input>
<template slot="footer">
<c-button size="small" type="primary">
<c-button size="small" type="primary" disabled>
...
</c-button>
</template>
......
......@@ -9,6 +9,8 @@
rol: 'drr',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
>
</c-ptap>
......@@ -20,6 +22,8 @@
rol: 'dre',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
>
</c-ptap>
</c-col>
......@@ -32,6 +36,8 @@
rol: 'col',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
>
</c-ptap>
</c-col>
......
......@@ -45,7 +45,9 @@
<!--Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Bookings -->
......
......@@ -234,6 +234,7 @@
<c-input
v-model="model.trnmod.swiadd.newnomtopame"
style="width: 48%"
@change="newnomtopame"
></c-input>
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
<c-input
......@@ -327,6 +328,7 @@
show-word-limit
:rows="2"
placeholder="请输入Shipment from"
@change="shpfroelc"
></c-input>
</el-form-item>
</c-col>
......@@ -351,6 +353,7 @@
show-word-limit
:rows="2"
placeholder="请输入货物目的地/交货地(港)"
@change="shptoelc"
></c-input>
</el-form-item>
</c-col>
......@@ -396,6 +399,27 @@ export default {
return {};
},
methods: { ...Event ,
shptoelc(){
this.executeDefault("DIDGRP.REC.SHPTO").then((res) => {
if ((res.respCode == 'AAAAAA')) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
shpfroelc(){
this.executeDefault("DIDGRP.REC.SHPFRO").then((res) => {
if ((res.respCode == 'AAAAAA')) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
newnomtopame() {
this.executeRule("trnmod.swiadd.newnomtopame").then((res) => {
if ((res.respCode == 'AAAAAA')) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
ameamt() {
console.log("进入前---------");
this.executeRule("trnmod.swiadd.ameamt").then((res) => {
......
......@@ -2036,6 +2036,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
if(this.isInDisplay){
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -49,7 +49,9 @@
<!--PD000342 -->
<el-tab-pane label="条款" name="tk">
<m-tk :model="model" :codes="codes" />
<c-content>
<m-tk :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000021 -->
......@@ -93,7 +95,9 @@
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
......
......@@ -250,14 +250,8 @@
style="width: 100%"
placeholder="请选择Form of Undertaking"
disabled
:code="codes.legfrm"
>
<el-option
v-for="item in codes.legfrm"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -426,6 +420,7 @@
v-model="model.gidgrp.blk.apprul"
style="width: 100%"
placeholder="请选择Applicable Rules"
>
</c-select>
</el-form-item>
......
<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>
<!-- <c-col :span="12">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input>
</el-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/Gitopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -10,7 +10,7 @@
style="width:100%"
placeholder="请选择数据采集标志">
<el-option
v-for="item in cfaflg"
v-for="item in codes.cfaflg1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -35,6 +35,13 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfagit.ownextkey">
<c-select v-model="model.cfagit.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<el-option
v-for="item in codes.ownextkey1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -81,25 +88,12 @@ export default {
mixins: [commonProcess],
data(){
return {
cfaflg:[
{ label: "不报送", value: "4" },
{ label: "新增", value: "1" },
]
}
},
computed :{
},
watch:{
// "model.cfagit.cfaflg":function(){
// if(this.model.cfagit.cfaflg=="1"){
// this.model.cfagit.basflg="X";
// this.model.cfagit.dclflg="X";
// }else{
// this.model.cfagit.basflg="";
// this.model.cfagit.dclflg="";
// }
// }
},
methods:{
...Event,
......
......@@ -73,7 +73,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
<c-select :disabled="model.gitp.swiftflg!='Y'" v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt"
v-for="item in codes.ctytxt1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -88,7 +88,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc">
<c-input disabled v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
<c-input :disabled="model.gidgrp.rec.jurlaws20==''" v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -8,7 +8,7 @@
<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">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
<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>
......
......@@ -4,8 +4,11 @@
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
<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>
......@@ -119,9 +122,11 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import IStreamInput from '~/components/IStreamInput'
import Event from "~/model/Gitopn/Event"
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<c-row>
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
......@@ -45,7 +45,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<c-input v-model="model.gidgrp.blk.gartyptxtc" style="margin: 0 0 0 10px; width: 80%" placeholder="请输入Undertaking Type "></c-input>
<c-input disabled v-model="model.gidgrp.blk.gartyptxtc" style="margin: 0 0 0 10px; width: 80%" placeholder="请输入Undertaking Type "></c-input>
</c-col>
</c-col>
......@@ -53,7 +53,7 @@
<el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrmc">
<c-select v-model="model.gidgrp.rec.legfrmc" style="width:100%" placeholder="请选择Form of Undertaking">
<el-option
v-for="item in codes.legfrmc"
v-for="item in codes.legfrmc1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -119,7 +119,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<c-input :disabled="model.gidgrp.blk.apprulc=='URDG'||model.gidgrp.blk.apprulc=='NONE'||model.gidgrp.blk.apprulc=='UCPR'" style="margin: 0 0 0 10px; width: 80%" v-model="model.gidgrp.blk.apprultxtc" maxlength="35" placeholder="请输入Applicable Rules"></c-input>
<c-input :disabled="model.gidgrp.blk.apprulc!='OTHR'" style="margin: 0 0 0 10px; width: 80%" v-model="model.gidgrp.blk.apprultxtc" maxlength="35" placeholder="请输入Applicable Rules"></c-input>
</c-col>
</c-col>
......
<template>
<div class="eibs-tab">
<c-row>
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
......@@ -16,7 +16,7 @@
</el-option>
</c-select>
<template slot="footer" >
<c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input>
<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>
......@@ -36,7 +36,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
<c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
<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">
......@@ -49,7 +49,7 @@
<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. S&ystem
vs. &System
</c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc">
vs. &History
......@@ -75,12 +75,12 @@
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input aria-disabled="" rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
<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>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
......
......@@ -99,9 +99,7 @@
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments">
......@@ -187,6 +185,10 @@
<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">
<m-aacp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000749 -->
<!-- <el-tab-pane label="PD000749" name="ovwpc">
......@@ -246,6 +248,7 @@ import Ovwp20 from "./Ovwp20"
import Confp from "./Confp"
import Conp from "./Conp"
import Conp1 from "./Conp1"
import Aacp from "./Aacp"
import Engp from "~/views/Public/Engp";
......@@ -290,6 +293,7 @@ export default {
"m-docpan" :Docpan,
"m-doctre" :Doctre,
"m-limitbody" : Limitbody,
"m-aacp" :Aacp,
},
provide() {
return {
......@@ -317,10 +321,10 @@ export default {
const name = tab.name
let rulePath;
if (name === "conp") {
rulePath = "recp.conp";
rulePath = "cfagit.recp.conp";
}
if(name==="cfap"){
rulepath = "cfap";
if(name==="voup"){
rulePath = "cnybop.voup";
}
// if (name === "glepan") {
// rulePath = "glepan";
......
......@@ -58,35 +58,7 @@
<c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入Contract Amount "></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc">
<c-input disabled v-model="model.gidgrp.rec.acc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
<c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
<el-option
v-for="item in codes.ctytxt"
: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-if="model.gitp.swiftflg=='Y'" v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Law of Jurisdiction" prop="gidgrp.rec.jurlaw">
<c-input disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
......@@ -94,7 +66,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc">
<c-input disabled v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
<c-input :disabled="model.gidgrp.rec.jurlaws20==''" v-model="model.gidgrp.rec.jurplc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -115,6 +87,37 @@
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc">
<c-input disabled v-model="model.gidgrp.rec.acc" maxlength="35" placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
<c-select v-model="model.gidgrp.rec.jurlaws20" 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="Law of Jurisdiction" prop="gidgrp.rec.jurlaw">
<c-input disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="手册号码" prop="gidgrp.rec.mannum">
<c-input disabled v-model="model.gidgrp.rec.mannum" maxlength="12" placeholder="请输入手册号码"></c-input>
......
......@@ -71,26 +71,28 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<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.ctytxt"
v-for="item in codes.ctytxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-model="model.gidgrp.rec.jurlawtxtc" maxlength="65" placeholder="请输入Governing Law "></c-input>
</c-col>
</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 v-model="model.gidgrp.rec.jurplcc" maxlength="35" placeholder="请输入Place of Jurisdiction"></c-input>
<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">
......
......@@ -53,7 +53,7 @@
<el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrmc">
<c-select v-model="model.gidgrp.rec.legfrmc" style="width:100%" placeholder="请选择Form of Undertaking">
<el-option
v-for="item in codes.legfrmc"
v-for="item in codes.legfrmc1"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -272,6 +272,8 @@ export default {
**/
}
},
created:async function(){
console.log("进入gitpop交易");
let rtnmsg = await this.init({})
......@@ -285,7 +287,25 @@ export default {
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
watch:{
ogiamt: {
handler(num) {
console.log("=================================")
num = this.ogiamt;
num = num.toFixed(2);
num = parseFloat(num);
num = num.toLocaleString();
return num;//返回的是字符串23,245.12保留2位小数
},
immediate: true
}
},
}
</script>
<style>
......
......@@ -278,21 +278,21 @@ export
columns: [
"1 1 \"Reference\" 150",
"2 2 \"Resp. User\" 100",
"3 3 \"Opened\" 200 4 7",
"4 4 \"Closed\" 200 4 7",
"3 3 \"Opened\" 150 4 7",
"4 4 \"Closed\" 150 4 7",
"5 5 \"Goods Code\" 130 1 0 1 GODCOD",
"6 6\"分行名称\" 136",
"7 7 \"Pta.No\" 130",
"8 8 \"Party Number\" 150",
"8 8 \"Drawee Party Number\" 150",
"9 9 \"Drawee\" 300",
"10 10 \"Drawee CN\" 130",
"11 11 \"Party Number\" 150",
"11 11 \"Drawer Party Number\" 150",
"12 12 \"Drawer\" 100",
"13 13 \"Party Number\" 150",
"13 13 \"Remitting Bank Party Number\" 200",
"14 14 \"Remitting Bank\" 200",
"15 15 \"Cur\" 50",
"15 15 \"Doc.Amount Cur\" 130",
"16 16 \"Doc.Amount\" 100 2 8 1 15",
"17 17 \"Cur\" 50",
"17 17 \"Open Amount Cur\" 130",
"18 18 \"Open Amount\" 100 2 8 1 17",
],
data: []
......
<template>
<div class="eibs-tab">
<!-- 持续展示区 -->
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
......@@ -10,6 +10,7 @@
label-position="right"
label-width="110px"
size="small"
:model="model"
>
<c-row>
......@@ -28,7 +29,7 @@
&nbsp;
</c-col> -->
<c-col :span="8">
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
<el-form-item label="Opening" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
......@@ -128,6 +129,7 @@
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
:code="searol"
>
</c-select>
</el-form-item>
......@@ -141,6 +143,8 @@
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
:code="codes.seasta"
>
</c-select>
</el-form-item>
......@@ -151,13 +155,13 @@
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择Currency"
:code="codes.cur"
:code="codes.currencycode"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Amount between" prop="infcon.seaamtfr" style="width: 100%">
<el-form-item label="Amount" prop="infcon.seaamtfr" style="width: 100%">
<c-col :span="11">
<c-input-currency
v-model="model.infcon.seaamtfr"
......@@ -186,6 +190,7 @@
v-model="model.seadocflg"
style="width: 100%"
placeholder="请选择Document Type"
:code="codes.brdtyp"
>
</c-select>
</el-form-item>
......@@ -196,6 +201,7 @@
v-model="model.jyqflg"
style="width: 100%"
placeholder="请选择假远期信用证"
:code="codes.jyqflg"
>
</c-select>
</el-form-item>
......@@ -206,6 +212,7 @@
v-model="model.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
:code="codes.elcflg"
>
</c-select>
</el-form-item>
......@@ -324,6 +331,17 @@ export default {
components:{'m-busbtn':BusNavbar},
data() {
return {
searol:[
{ label: "Acc. with Bank (ACB)", value: "ACB" },
{ label: "Applicant", value: "APL" },
{ label: "Beneficiary's Bank", value: "BEB" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Issuing Bank", value: "ISS" },
{ label: "Old Account Party", value: "OAP" },
{ label: "Presenter (PRP)", value: "PRB" },
{ label: "Reimbursement Bank", value: "RMB" },
{ label: "Carrier (ROG)", value: "ROG" },
],
ditselModel: new DitselModel().data,
ownref:"",
trnData: {
......
<template>
<div class="eibs-tab">
<!-- 持续展示区 -->
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
......@@ -10,6 +10,7 @@
label-position="right"
label-width="110px"
size="small"
:model="model"
>
<c-row>
<c-col :span="24">
......
......@@ -242,16 +242,12 @@
</c-istream-table>
</c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" :model="BotselModel" ownrefPath="bodgrp" trnCode="botsel"
@onChoose="onChoose">11</m-busbtn>
</div>
</el-dialog>
<m-busbtn ref="childs" :ownref="ownref" :model="BotselModel" ownrefPath="bodgrp" trnCode="botsel"
@onChoose="onChoose">11</m-busbtn>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
......@@ -288,21 +284,22 @@ export default {
columns: [
'1 1 "Reference" 150',
'2 2 "Resp. User" 100',
'3 3 "Opened" 200 4 7',
'4 4 "Closed" 200 4 7',
'3 3 "Opened" 150 4 7',
'4 4 "Closed" 150 4 7',
'5 5 "分行名称" 200',
'6 6 "Party Number" 150',
'6 6 "Drawee Party Number" 150',
'7 7 "Drawee" 133',
'8 8 "PTA NO." 100',
'9 9 "Party Number" 150',
'9 9 "Drawer Party Number" 150',
'10 10 "Drawer" 300',
'11 11 "Invoice No." 133',
'12 12 "Drawer CN" 150',
'13 13 "Party Number" 150',
'13 13 "Collecting Party Number" 200',
'14 14 "Collecting Bank" 200',
'15 15 "Cur" 50',
'16 16 "Doc.Amount" 150 2 8 1 15',
'17 17 "Cur" 50',
'15 15 "Doc.Amount Cur" 130',
'16 16 "Doc.Amount" 100 2 8 1 15',
'17 17 "Open Amount Cur" 130',
'18 18 "Open Amount" 100 2 8 1 -1'
],
data: [],
},
......@@ -311,37 +308,22 @@ export default {
methods: {
...Event,
async getButtons(ownref) {
this.initdialog = true;
this.$refs.childs.initdialog = true
this.ownref = ownref
console.log("ownref:" + ownref);
setTimeout(() => {
this.$refs.childs.$emit("childmethods")
}, 10)
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false;
this.$refs.childs.initdialog = false
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getTrnInfo(idx, row) {
async getTrnInfo(code) {
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
this.model.infcon.objinr = row["INR"];
this.model.bodgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
console.log(rtnmsg);
console.log(this.model.infcon.chksubcon);
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
console.log(this.trnData.data);
}
},
async getDitSelInfo(idx, row) {
//TD中选中行触发
......
......@@ -30,7 +30,7 @@
<c-col :span="8">
<el-form-item
label="Opening between"
label="Opening"
prop="infcon.opndatfrom"
style="width: 100%"
>
......@@ -39,7 +39,7 @@
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择Opening between"
placeholder="请选择Opening"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
......@@ -141,6 +141,7 @@
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
:code="codes.payrol"
>
</c-select>
</el-form-item>
......@@ -171,6 +172,7 @@
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
:code="codes.seasta"
>
</c-select>
</el-form-item>
......@@ -185,13 +187,14 @@
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择Currency"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Amount between"
label="Amount"
prop="infcon.seaamtfr"
style="width: 100%"
>
......@@ -199,7 +202,7 @@
<c-input
v-model="model.infcon.seaamtfr"
style="width: 100%"
placeholder="请输入Amount between"
placeholder="请输入Amount"
>
</c-input>
</c-col>
......@@ -228,6 +231,7 @@
v-model="model.seacnfdet"
style="width: 100%"
placeholder="请选择Confirmation Status"
:code="codes.cnfins"
>
</c-select>
</el-form-item>
......@@ -243,6 +247,7 @@
v-model="model.sealcrtyp"
style="width: 100%"
placeholder="请选择form of L/C"
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
......@@ -258,6 +263,7 @@
v-model="model.jyqflg"
style="width: 100%"
placeholder="请选择假远期信用证"
:code="codes.jyqflg"
>
</c-select>
</el-form-item>
......@@ -270,6 +276,7 @@
v-model="model.mylx"
style="width: 100%"
placeholder="请选择贸易类型"
:code="codes.mylx"
>
</c-select>
</el-form-item>
......@@ -285,6 +292,7 @@
v-model="model.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
:code="codes.elcflg"
>
</c-select>
</el-form-item>
......@@ -668,7 +676,7 @@ export default {
},
toDitopn(){
this.$router.history.push("/business/ditopn")
}
},
},
created: function () {},
};
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form
......@@ -10,6 +10,7 @@
label-position="left"
label-width="110px"
size="small"
:model="model"
>
<c-row>
<c-col :span="24">
......@@ -841,12 +842,12 @@ export default {
toGetopn() {
this.$router.history.push("/business/getopn");
},
handleReset: function () {
this.model = {
instNo: "",
instName: "",
};
},
// handleReset: function () {
// this.model = {
// instNo: "",
// instName: "",
// };
// },
},
created: function () {},
watch: {
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
......@@ -9,6 +9,7 @@
label-position="left"
label-width="110px"
size="small"
:model="model"
>
<el-row>
<c-col :span="8">
......@@ -641,12 +642,12 @@ async getButtons(ownref){
this.$router.history.push("/business/letrsv")
},
handleReset: function () {
this.model = {
instNo: "",
instName: "",
};
},
// handleReset: function () {
// this.model = {
// instNo: "",
// instName: "",
// };
// },
......
......@@ -441,8 +441,7 @@
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
<m-busbtn ref="childs" :ownref="ownref" trnCode="litsel" :model="litselModel" ownrefPath="lidget.lid.ownref" @onChoose="onChoose"></m-busbtn
>
</div>
</template>
......@@ -452,6 +451,9 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Inflid/Event";
import Litsel from "~/model/Litsel"
import BusNavbar from "~/views/Public/BusNavbar";
export default {
......@@ -463,7 +465,7 @@ export default {
return {
curinr:"",
ownref: "",
litselModel: new Litsel().data,
initdialog: false,
dialogTableVisible: false,
trnData: {
......
<template>
<!-- <c-page title="出口信用证注销"> -->
<!-- <c-page title="出口信用证注销"> -->
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="left"
size="small"
:validate-on-rule-change="false"
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="letcanTab">
<!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
<!-- <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>
<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">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="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 Settlement账务-->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 Completion附言-->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 Messages报文及面函-->
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 Attachments附件-->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="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"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
<!-- </c-page> -->
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index";
import Api from '~/service/Api'
import Utils from '~/utils/index'
import CodeTable from "~/config/CodeTable"
import Letcan from "~/model/Letcan"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Letcan/Check"
import Default from "~/model/Letcan/Default"
import Pattern from "~/model/Letcan/Pattern"
import Canp from "./Canp"
import CodeTable from '~/config/CodeTable'
import Letcan from '~/model/Letcan'
import commonProcess from '~/mixin/commonProcess'
import commonFuncs from '~/mixin/commonFuncs'
import Check from '~/model/Letcan/Check'
import Default from '~/model/Letcan/Default'
import Pattern from '~/model/Letcan/Pattern'
import Canp from './Canp'
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
import Setpan from "~/views/Public/Setpan";
// import Coninfp from './Coninfp'
// import Docpan from './Docpan'
// import Doctre from './Doctre'
// import Limitbody from './Limitbody'
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 {
components:{
"m-canp" : Canp,
"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: "letcan",
model: new Letcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
},
methods:{
tabClick(){
}
name: "Letcan",
components: {
'm-canp': Canp,
'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: 'letcan',
model: new Letcan().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("进入letcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log('进入letcan交易')
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay()
}
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
}
</script>
<style>
.infcanTab .el-tabs__content {
padding: 10px 0 10px 0;
}
.infcanTab .infrow {
padding: 0 10px 0 10px;
}
</style>
......@@ -76,12 +76,13 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-input
<c-select
v-model="model.ledgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Open Amount"
disabled
></c-input>
:code="codes.curtxt1"
></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
......@@ -104,7 +105,6 @@
</c-col>
</c-col>
<c-row>
<c-col :span="19">
<el-form-item label="Available with" prop="ledgrp.avbnam">
<c-input
......@@ -115,15 +115,15 @@
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby">
<el-form-item label="Available by" prop="ledgrp.rec.avbby">
<c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by [AVBBY0]"
:code="codes.avbby"
disabled
>
</c-select>
......@@ -198,6 +198,7 @@
style="width: 100%"
placeholder="请选择Form of L/C"
disabled
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
......@@ -282,7 +283,6 @@
</c-col>
<!-- ========================中部======================= -->
<c-row>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Reference" prop="bedgrp.rec.ownref">
......@@ -317,7 +317,6 @@
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-col :span="24">
<!-- ========================下半部分的左边======================= -->
......@@ -636,11 +635,6 @@ export default {
}
})
},
apprulChange(v) {
if (v !== 'OTHR') {
this.model.ledgrp.rec.apprultxt = ''
}
},
},
created: function () {},
}
......
......@@ -7,7 +7,7 @@
<c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.rec.avbwth">
<c-select
v-model="model.ledgrp.rec.avbwth"
v-model="avbFlag"
style="width: 100%"
placeholder="Please select Available with"
:code="codes.avbwth"
......@@ -211,7 +211,7 @@
<el-form-item label="Presentation Period" prop="ledgrp.rec.prepers18">
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.prepers18"
v-model.number="model.ledgrp.rec.prepers18"
placeholder="Please input Presentation Period"
></c-input>
<template slot="footer">
......@@ -220,6 +220,7 @@
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
disabled
>
...
</c-button>
......@@ -293,10 +294,9 @@
<c-col :span="24">
<el-form-item label="Maximum Tenor(Days)" prop="ledgrp.rec.tenmaxday">
<c-input
v-model="model.ledgrp.rec.tenmaxday"
v-model.number="model.ledgrp.rec.tenmaxday"
placeholder="Please input Maximum Tenor"
:disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native="
defaultFunction(
'ledgrp.rec.tenmaxday',
......@@ -347,6 +347,37 @@ export default {
});
},
},
computed: {
avbFlag: {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
)
},
},
defdetFlag: {
get() {
return (
// this.model.ledgrp.rec.avbby == 'A' ||
// this.model.ledgrp.rec.avbby == 'P' ||
// this.model.ledgrp.rec.avbby == 'M' ||
// this.model.ledgrp.rec.avbby == ''
this.model.ledgrp.rec.avbby != 'D' &&
this.model.ledgrp.rec.avbby != 'N'
)
},
},
blkDftatFlag: {
get() {
return (
this.model.ledgrp.rec.avbby == 'D' ||
this.model.ledgrp.rec.avbby == 'M' ||
this.model.ledgrp.rec.avbby == ''
)
},
},
},
created: function () {},
watch: {
"model.ledgrp.avb.pts.adrblk": {
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<!-- 顶部 -->
<c-col :span="24">
<c-col :span="11">
<el-form-item
label="Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="Please input Reference"
style="width: 95%"
disabled
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
Get
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@click="onLetpButgetref"
>
Get
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="Please input Name"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select
......@@ -79,7 +96,6 @@
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
>
</c-button>
</template>
......@@ -117,19 +133,21 @@
style="text-align: left; width: 100%"
placeholder="Please input Nominal Amount"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg" style="margin-left: 10px"
>Add. Amount</c-checkbox
>
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
>Add. Amount</c-checkbox
>
</c-col>
</c-col>
......@@ -137,9 +155,9 @@
<c-col :span="12">
<el-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input
v-model="model.ledgrp.rec.nomtop"
v-model.number="model.ledgrp.rec.nomtop"
maxlength="2"
style="width: 100%"
style="width: 100%"
placeholder="Please input Amount Tolerance +/-"
class="m-input-currency"
></c-input>
......@@ -148,7 +166,7 @@
<c-col :span="7">
<el-form-item label="" label-width="20px" prop="ledgrp.rec.nomton">
<c-input
v-model="model.ledgrp.rec.nomton"
v-model.number="model.ledgrp.rec.nomton"
maxlength="2"
style="width: 100%"
placeholder="Please input Amount Tolerance - Negative"
......@@ -157,27 +175,32 @@
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.ledgrp.rec.inctrf" disabled style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
<c-checkbox
v-model="model.ledgrp.rec.inctrf"
disabled
style="margin-left: 10px"
>Incoming Transfer</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="19">
<el-form-item label="Amount Specification" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="Please select Amount Specification"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</el-form-item>
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="Please select Amount Specification"
:code="codes.nomspc"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="resflg" style="margin-left: 10px">Reserved Contract</c-checkbox>
<c-checkbox v-model="resflg" style="margin-left: 10px"
>Reserved Contract</c-checkbox
>
</c-col>
</c-col>
......@@ -286,12 +309,15 @@
</c-col>
<c-col :span="24">
<el-form-item label="Confirmation Instruct" prop="ledgrp.rec.cnfdet">
<el-form-item
label="Confirmation Instruct. Received"
prop="ledgrp.rec.cnfdet"
>
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="Please select Confirmation Instruct"
:code="codes.cnfins"
placeholder="Please select Confirmation Instruct. Received"
:code="codes.cnfflg1"
>
</c-select>
</el-form-item>
......@@ -350,17 +376,6 @@
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="Please input Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-ptap
:model="model"
:argadr="{
......@@ -400,26 +415,23 @@
>
</c-ptap>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving L/C</c-checkbox
>
</c-col>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving L/C</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="dbtflg">Authorization to Debit</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="teskeyunc">Test Key Unconfirmity</c-checkbox>
</c-col>
</c-col>
</div>
</template>
......
......@@ -11,7 +11,7 @@
grp: 'ledgrp',
rol: 'adv',
}"
:disabled="true"
disabled
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
>
......@@ -38,7 +38,7 @@
v-model="model.ledgrp.rec.cnfins"
style="width: 100%"
placeholder="Please select Confirm. Instruct. to 2nd Adv. Bank"
:code="codes.cnfins"
:code="codes.cnfflg1"
disabled
>
</c-select>
......@@ -90,7 +90,6 @@
grp: 'ledgrp',
rol: 'con',
}"
:disbled="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
......@@ -103,10 +102,12 @@
v-model="model.ledgrp.con.pts.nam"
maxlength="40"
placeholder="Please input Confirmation Name"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =============================底部表格========================= -->
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-row>
<c-col :span="16">
<el-form-item label="Revolving Details"></el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select
v-model="model.ledgrp.rec.revtyp"
style="width: 100%"
placeholder="Please select Revolving Type"
placeholder="请选择Revolving Type"
:code="codes.revtyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes">
<c-input
v-model="model.ledgrp.rec.revtimes"
placeholder="Please input Revolve Times"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input
v-model="model.ledgrp.rec.revnbr"
placeholder="Please input Revolving Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Next Revolve Date" prop="ledgrp.rec.revdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.revdat"
style="width: 100%"
placeholder="Please select Next Revolve Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.ledgrp.rec.revcum" style="margin-left: 150px"
<c-col :span="8">
<!-- Credit is Marked as Cumulative -->
<c-checkbox v-model="model.ledgrp.rec.revcum"
style="margin-left:10px"
>Cumulative</c-checkbox
>
</c-col>
</c-row>
<c-row>
<c-col :span="8">
<el-form-item label="Revolve Times" prop="ledgrp.rec.revtimes">
<c-input
v-model.number="model.ledgrp.rec.revtimes"
placeholder="请输入Revolve Times"
></c-input>
</el-form-item>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Revolving Clause"
prop="ledgrp.blk.revcls"
<c-col :span="8">
<el-form-item label="Revolving Count" prop="ledgrp.rec.revnbr">
<c-input
v-model.number="model.ledgrp.rec.revnbr"
placeholder="请输入Revolving Count"
disabled
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Next Revolve Date" prop="ledgrp.rec.revdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.revdat"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.revcls"
maxlength="50"
show-word-limit
placeholder="Please input Revolving Clause"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
placeholder="请选择Next Revolve Date"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Revolving Clause" prop="ledgrp.blk.revcls">
<c-fullbox>
<c-input
type="textarea"
v-model="model.ledgrp.blk.revnotes"
maxlength="35"
show-word-limit
placeholder="Please input Notes to Beneficiary"
></c-input>
</el-form-item>
</c-col>
type="textarea"
v-model="model.ledgrp.blk.revcls"
maxlength="390"
show-word-limit
placeholder="请输入Revolving Clause"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onRevclauseButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="16">
<el-form-item label="Notes to Beneficiary" prop="ledgrp.blk.revnotes">
<c-input
type="textarea"
v-model="model.ledgrp.blk.revnotes"
maxlength="210"
show-word-limit
placeholder="请输入Notes to Beneficiary"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Revolving Type" prop="ledgrp.rec.revtyp">
<c-select v-model="model.ledgrp.rec.revtyp" style="width:100%" placeholder="请选择Revolving Type">
......
......@@ -96,14 +96,14 @@ export default {
// { inifrm: "bctset", ininam: "进口代收付款", pntmiu: "5" },
// { inifrm: "bctcan", ininam: "进口代收注销", pntmiu: "5" },
{ inifrm: "infbcd", ininam: "进口代收查询", pntmiu: "5" },
{ inifrm: "6", ininam: "出口托收", pntmiu: "" },
{ inifrm: "infbod", ininam: "出口托收入口交易", pntmiu: "6" },
{ inifrm: "botdav", ininam: "出口托收寄单", pntmiu: "6" },
{ inifrm: "botame", ininam: "出口托收修改", pntmiu: "6" },
{ inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" },
{ inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" },
{ inifrm: "botcan", ininam: "出口托收闭卷", pntmiu: "6" },
{ inifrm: "infbod", ininam: "出口托收查询", pntmiu: "6" },
// { inifrm: "botdav", ininam: "出口托收寄单", pntmiu: "6" },
// { inifrm: "botame", ininam: "出口托收修改", pntmiu: "6" },
// { inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" },
// { inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" },
// { inifrm: "botcan", ininam: "出口托收闭卷", pntmiu: "6" },
{ inifrm: "7", ininam: "转让信用证", pntmiu: "" },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "7" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "7" },
......
......@@ -30,6 +30,8 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import _ from "~/utils/Lodash"
export default {
props: {
ownref: {
......@@ -105,8 +107,15 @@ export default {
this.navcode = [];
//请求按钮数据
this.model[this.ownrefPath].rec.ownref = this.ownref;
let rtnmsg = await this.executeRule(this.ownrefPath + ".rec.ownref"); //didgrp_rec_ownref
let rulePath
if (this.ownrefPath.endsWith(".ownref")) {
_.set(this.model, this.ownrefPath, this.ownref);
rulePath = this.ownrefPath
} else {
this.model[this.ownrefPath].rec.ownref = this.ownref;
rulePath = this.ownrefPath + ".rec.ownref"
}
let rtnmsg = await this.executeRule(rulePath); //didgrp_rec_ownref
if (rtnmsg.respCode == SUCCESS) {
//重置数组
this.navcode = [];
......
......@@ -36,8 +36,8 @@
</c-col>
<c-col :span="12">
<div style="float: right;">
<span class="add_del_button add_button" @click="addTableValue">+</span>
<span class="add_del_button" @click="deleteTable">-</span>
<span class="add_del_button add_button" @click="addTableValue" v-if="ifShowAdd">+</span>
<span class="add_del_button" @click="deleteTable" v-if="ifShowDelete">-</span>
</div>
</c-col>
</c-row>
......
<template>
<ReviewWrapper>
<Ditame></Ditame>
</ReviewWrapper>
</template>
<script>
import Ditame from "~/views/Business/Ditame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewDitame",
components: { ReviewWrapper, Ditame },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Letcan></Letcan>
</ReviewWrapper>
</template>
<script>
import Letcan from "~/views/Business/Letcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetcan",
components: { ReviewWrapper, Letcan },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -19,6 +19,7 @@ import ReviewLetamc from "./Business/ReviewLetamc.vue";
import ReviewLetame from "./Business/ReviewLetame.vue";
import ReviewLetdrw from "./Business/ReviewLetdrw.vue";
import ReviewLetdav from "./Business/ReviewLetdav.vue";
import ReviewLetcan from "./Business/ReviewLetcan.vue";
import ReviewLitame from "./Business/ReviewLitame.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue";
......@@ -31,6 +32,7 @@ import ReviewGetamc from "./Business/ReviewGetamc.vue";
import ReviewBftdrv from "./Business/ReviewBftdrv.vue";
import ReviewLetdrv from "./Business/ReviewLetdrv.vue";
import ReviewBetacc from "./Business/ReviewBetacc.vue";
import ReviewDitame from "./Business/ReviewDitame.vue";
const ReviewRouter = [
......@@ -67,7 +69,6 @@ const ReviewRouter = [
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "botdcr", component: ReviewBotdcr, name: "ReviewBotdcr", meta: { title: "复核-Botdcr" } },
{ path: "botrad", component: ReviewBotrad, name: "ReviewBotrad", meta: { title: "复核-Botrad" } },
{ path: "botdav", component: ReviewBotdav, name: "ReviewBotdav", meta: { title: "复核-botdav" } },
{ path: "brtdck", component: ReviewBrtdck, name: "ReviewBrtdck", meta: { title: "复核-Brtdck" } },
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
......@@ -77,6 +78,7 @@ const ReviewRouter = [
{ path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } },
{ path: "letdrw", component: ReviewLetdrw, name: "ReviewLetdrw", meta: { title: "复核-Letdrw" } },
{ path: "letdav", component: ReviewLetdav, name: "ReviewLetdav", meta: { title: "复核-Letdav" } },
{ path: "letcan", component: ReviewLetdav, name: "ReviewLetcan", meta: { title: "复核-Letcan" } },
{ path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } },
{ path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } },
......@@ -85,6 +87,7 @@ const ReviewRouter = [
{ path: "bftdrv", component: ReviewBftdrv, name: "ReviewBftdrv", meta: { title: "复核-Bftdrv" } },
{ path: "letdrv", component: ReviewLetdrv, name: "ReviewLetdrv", meta: { title: "复核-Letdrv" } },
{ path: "betacc", component: ReviewBetacc, name: "ReviewBetacc", meta: { title: "复核-Betacc" } },
{ path: "ditame", component: ReviewDitame, name: "ReviewDitame", meta: { title: "复核-Ditame" } },
];
......
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