Commit 145c3f43 by nanrui

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

parents eef3bdae 9c26a83b
......@@ -1910,6 +1910,13 @@ const CodeTable = {
{ label: "Generate Files ( PS/PDF )", value: "S" },
{ label: "Windows Server Printing", value: "X" },
],
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
cmpflg: [
{ label: "不计复息", value: "0" },
{ label: "计复息", value: "1" },
......@@ -4424,6 +4431,7 @@ const CodeTable = {
{ label: "票汇", value: "D" },
{ label: "电汇", value: "T" },
{ label: "信汇", value: "M" },
{ label: "保函", value: "G" },
],
methods1: [
{ label: "票汇", value: "D" },
......
......@@ -21,7 +21,7 @@ export default {
"didgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bdtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -354,7 +354,7 @@ export default {
{max: 80,message:"长度不能超过80"}
],
"bodgrp.srm.djudat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.srm.djuref":[
{type: "string", required: false, message: "必输项"},
......
......@@ -15,6 +15,7 @@ export default class Cctsel {
dspbpd: "", // Display BPE Contract .dspbpd
dspbpdclsdat: "", // Display Closing Date of Advance .dspbpdclsdat
cfgfil: {
btnstm:[],
bitmap: "", // Bitmap for folder .cfgfil.bitmap
regside1: "", // Regside .cfgfil.regside1
regside2: "", // Regside .cfgfil.regside2
......
......@@ -4,7 +4,7 @@ export default {
],
"decreatxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
......@@ -33,11 +33,11 @@ export default {
],
"gidgrp.blk.covgodsrv":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 350,message:"长度不能超过350"}
],
"gidgrp.blk.atxcovgodsrv":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 650,message:"长度不能超过650"}
],
......@@ -91,7 +91,7 @@ export default {
],
"gidgrp.ghd.remark":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 245,message:"长度不能超过245"}
],
"gidgrp.rec.mannum":[
{type: "string", required: false, message: "必输项"},
......@@ -99,7 +99,7 @@ export default {
],
"gidgrp.blk.addinf":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 700,message:"长度不能超过700"}
],
......@@ -123,11 +123,11 @@ export default {
],
"gidgrp.blk.covgodsrvc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
"gidgrp.blk.atxcovgodsrvc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
......@@ -172,7 +172,7 @@ export default {
],
"gidgrp.blk.addinfc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 700,message:"长度不能超过700"}
],
"gidgrp.ghd.zsjzts":[
......@@ -248,11 +248,11 @@ export default {
"gidgrp.blk.gidtxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
"gidgrp.blk.gtxgidtxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
......@@ -266,7 +266,7 @@ export default {
"gidgrp.blk.gidtxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
"gidgrp.blk.gtxgidtxtc":[
{type: "string", required: true, message: "必输项"},
......@@ -315,11 +315,11 @@ export default {
],
"gidgrp.blk.exptxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
"gidgrp.blk.atxexptxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
......@@ -335,20 +335,20 @@ export default {
"gidgrp.blk.deltoadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"gidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"gidgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 6500,message:"长度不能超过6500"}
],
"gidgrp.blk.atxpreper":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 6500,message:"长度不能超过6500"}
],
......@@ -357,7 +357,7 @@ export default {
"gidgrp.blk.trfcond":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
"gidgrp.rec.deloritxtc":[
......@@ -366,13 +366,13 @@ export default {
],
"gidgrp.blk.feetxtc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"gidgrp.blk.deltoadrc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"gidgrp.blk.preperc":[
......@@ -381,7 +381,7 @@ export default {
],
"gidgrp.blk.atxpreperc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 6500,message:"长度不能超过6500"}
],
......@@ -390,7 +390,7 @@ export default {
"gidgrp.blk.trfcondc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
"gidgrp.apc.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -436,7 +436,7 @@ export default {
],
"gidgrp.apc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.apc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -444,7 +444,7 @@ export default {
],
"gidgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -503,7 +503,7 @@ export default {
],
"gidgrp.ctc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.ctc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -511,7 +511,7 @@ export default {
],
"gidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -548,7 +548,7 @@ export default {
],
"gidgrp.bec.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.bec.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -609,7 +609,7 @@ export default {
"gidgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -706,7 +706,7 @@ export default {
],
"gidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -714,7 +714,7 @@ export default {
],
"gidgrp.bdb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.bdb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -722,7 +722,7 @@ export default {
],
"gidgrp.ctr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.ctr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -734,7 +734,7 @@ export default {
],
"gidgrp.atb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.atb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -861,7 +861,7 @@ export default {
],
"gidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -898,11 +898,11 @@ export default {
"gidgrp.blk.liatxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
"gidgrp.blk.atxliatxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
......
......@@ -171,4 +171,44 @@ export default {
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.nam = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.searol = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.seasta = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.seadoctypcod = "";
},
}
\ No newline at end of file
......@@ -250,6 +250,9 @@ export default class Infccd{
},
},
ccdgrp:{
rec:{
inr:"",
},
blk:{
setins:"", // Settlement Instructions .ccdgrp.blk.setins
},
......
......@@ -4,6 +4,7 @@ import Utils from "~/utils"
* Trtopn Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null,
"dftcre.dfdgrp.rec.matdat" :null,
......@@ -82,6 +83,7 @@ let checkObj = {
"trtmod.finmod.ratchgdat" :null,
"dftcre.dfdgrp.rec.fintyp" :null,
"trdgrp.rec.flowflag" :null,
"trdgrp.rec.fintyp1" :null,
}
for (const key in checkObj) {
......
......@@ -12,7 +12,7 @@ export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trtmod.finmod.dinjdm" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"trdgrp.rec.fintyp1" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"trtmod.finmod.act1" :Utils.defaultFunction,
"trtmod.finmod.acttyp" :Utils.defaultFunction,
......@@ -79,6 +79,7 @@ export default {
"dftcre.dfdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.pctfin" :Utils.defaultFunction,
"trtmod.finmod.dinmod.rmbsbs" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.resamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
......
......@@ -254,7 +254,36 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onExtkey() {},
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: '服务请求失败!'});
}
},
onSeainf() {
},
async onExtkey(e) {
},
}
\ No newline at end of file
......@@ -558,4 +558,34 @@ export default {
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Trtopn{
......@@ -13,7 +12,7 @@ export default class Trtopn{
ownref:"", // 融资编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam
issdat:"", // 开立日期 .trdgrp.rec.issdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp
fintyp1:"", // 融资品种 .trdgrp.rec.fintyp
stagod:"", // Good's Code .trdgrp.rec.stagod
guaflg:"", // 货押标识 .trdgrp.rec.guaflg
pctfin:"", // % Financed .trdgrp.rec.pctfin
......@@ -37,7 +36,7 @@ export default class Trtopn{
},
cbs:{
max:{
cur:"", // Currency .trdgrp.cbs.max.cur
curtxt1:"", // Currency .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt
},
},
......@@ -238,7 +237,6 @@ export default class Trtopn{
trnmod: new Pub().data.Trnmod,
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
pageId: "" // ctx的key
}
}
......
......@@ -4,8 +4,6 @@ import Utils from "~/utils"
* Trtsel Check规则
*/
let checkObj = {
"recget.sdamod.dadsnd" :null,
"dadsnd" :null,
}
for (const key in checkObj) {
......
......@@ -6,15 +6,19 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
......@@ -32,9 +36,5 @@ export default {
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -49,7 +49,6 @@ export default class Trtsel{
clsflg:"", // Show closed Contract .clsflg
cfgfil:{
bitmap:"", // Bitmap for folder .cfgfil.bitmap
btnstm:"", //按钮数据
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3
......
......@@ -285,7 +285,7 @@
<c-checkbox v-model="crefinflg" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.paypsb ==='X'">融资</c-checkbox>
</c-col>
<c-col :span="5">
<c-checkbox v-model="clsflg" @change="clsflgDefault">闭卷</c-checkbox>
<c-checkbox v-model="clsflg" @change="clsflgOtherDefault" :disabled="clsflgFlg">闭卷</c-checkbox>
</c-col>
<c-col :span="5">
<c-checkbox v-model="paypsb" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.trtcre.crefinflg ==='X'">垫款</c-checkbox>
......@@ -410,7 +410,7 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24" :offset="0">
<c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" @row-click="clounmSetting"
<c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" v-on:multipleSelect="multipleSelect"
:showSelection="true">
</c-istream-table>
</c-col>
......@@ -578,6 +578,7 @@ export default {
],
data: [],
},
clsflgFlg:false
};
},
computed: {
......@@ -601,10 +602,10 @@ export default {
},
clsflg: {
get() {
return this.model.mtabut.clsflg != ''
return this.model.mtabut.clsflg=='C';
},
set(val) {
this.model.mtabut.clsflg = val ? "X" : ""
this.model.mtabut.clsflg = val ? "C" : "O"
}
},
paypsb: {
......@@ -648,12 +649,61 @@ export default {
},
methods: {
...Event,
clounmSetting(){
this.executeDefault("liaall.tenstmt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let chkIds;
if (selection.length === 0) {
chkIds = []
// this.model.liaall.tensetstm.rows = []
this.clsflgFlg= true
} else {
chkIds = [selection[0] + 1]
this.clsflgFlg= false
}
});
//
console.log(this.model.liaall.tensetstm);
let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
// console.log(selection);
// if (selection) {
// let selIds = selection.map(x=>x+1);
// 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: '服务请求失败!'});
// }
// }else{
// let selIds = selection.map(x=>x+1);
// 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: '服务请求失败!'});
// }
// // this.model.setmod.docamt = "";
// // this.model.setmod.setamt = "";
// // this.model.aamset.utlamt = "";
// }
},
frepayflgDefault(){
this.executeDefault("setmod.redamt").then((res) => {
......@@ -678,7 +728,7 @@ export default {
}
});
},
clsflgDefault(){
clsflgOtherDefault(){
this.executeDefault("mtabut.clsflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
......
......@@ -127,6 +127,7 @@ import Engp from "~/views/Public/Engp"
export default {
name: "botame",
components:{
"m-amep" : Amep,
"m-ovwp" : Ovwp,
......
......@@ -12,7 +12,7 @@
<c-col :span="1">
</c-col>
<c-col :span="3" style="text-align: right">
<c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onBotpButgetref">
<c-button style="margin:0 0" size="small" type="primary" :disabled="this.model.bodgrp.drr.pts.extkey==''" @click="onBotpButgetref">
获取
</c-button>
</c-col>
......
......@@ -27,6 +27,7 @@
<c-col :span="24">
<c-table max-height="300px" style="text-align: center;" stripe :list="this.model.botp.ptsaddp.ptsaddg || []"
:paginationShow="false" :border="true">
<el-table-column label="Additional Parties">
<el-table-column label="角色" width="auto" prop="rol">
<template slot-scope="scope">
<c-select v-model="scope.row.rol" :code="ptyp2">
......@@ -71,6 +72,7 @@
</el-button>
</template>
</el-table-column>
</el-table-column>
</c-table>
</c-col>
......
......@@ -81,19 +81,19 @@
<c-col :span="24">
<el-form-item label="结汇金额" prop="bopmod.dbdgrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input>
<c-input-currency v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="bopmod.dbdgrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input>
<c-input-currency v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="bopmod.dbdgrp.bas.othamt">
<c-input v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input>
<c-input-currency v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input-currency>
</el-form-item>
</c-col>
......@@ -114,7 +114,7 @@
<c-col :span="14">
<el-form-item label="" prop="bopmod.dbdgrp.bas.txamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input>
<c-input-currency disabled v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input-currency>
</el-form-item>
</c-col>
......@@ -239,7 +239,7 @@
<c-col :span="14">
<el-form-item label="" prop="bopmod.dbdgrp.bas.inchargeamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input>
<c-input-currency disabled v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input-currency>
</el-form-item>
</c-col>
</el-col>
......
......@@ -295,9 +295,10 @@
<c-col :span="12">
<c-col :span="24">
<c-checkbox v-model="model.bodgrp.rec.focflg" @change="change"
>Free of Payment</c-checkbox
>
<el-form-item label="" prop="bodgrp.rec.focflg">
<c-checkbox v-model="model.bodgrp.rec.focflg"
>Free of Payment</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reduction Amt." prop="setmod.doccur">
......@@ -333,11 +334,12 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="mtabut.clsflg">
<c-checkbox
:disabled="this.flag1"
v-model="model.mtabut.clsflg"
>Close Contract</c-checkbox
>
>Close Contract</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -436,20 +438,13 @@ export default {
computed: {
clsflg: {
get() {
return this.model.mtabut.clsflg === "X";
},
set(val) {
this.model.mtabut.clsflg = val ? "x" : "";
},
},
focflg: {
get() {
return this.model.bedgrp.rec.focflg === "X";
return this.model.mtabut.clsflg === "O";
},
set(val) {
this.model.bedgrp.rec.focflg = val ? "X" : "";
this.model.mtabut.clsflg = val ? "C" : "O";
},
},
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
......@@ -458,34 +453,24 @@ export default {
this.$nextTick(() => {});
},
// watch:{
// "model.setmod.docamt":function(){
// if(this.model.bodgrp.cbs.opn1.amt==this.model.setmod.docamt){
// this.model.mtabut.clsflg = "X";
// }
// },
// },
methods: {
...Event,
async change1(){
if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){
this.model.mtabut.clsflg = "X";
this.flag1=false;}
this.flag1=false;
this.model.mtabut.clsflg = "O";
}
else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){
this.model.mtabut.clsflg = "";
this.flag1=true;
this.model.mtabut.clsflg = "C";
}},
async change() {
if (this.model.bodgrp.rec.focflg === "X") {
this.model.setmod.redamt = this.model.setmod.docamt;
// let rtnmsg = await this.executeDefault("setmod.redamt");
// this.model.bodgrp.rec.docsta ="D"
} else {
this.model.setmod.redamt = "0.00";
// let rtnmsg = await this.executeDefault("setmod.redamt");
// this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
}
},
// async change() {
// if (this.model.bodgrp.rec.focflg === "X") {
// this.model.setmod.redamt = this.model.setmod.docamt;
// } else {
// this.model.setmod.redamt = "0.00";
// }
// },
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
......@@ -497,10 +482,8 @@ export default {
let chkIds;
if (selection.length === 0) {
chkIds = [];
this.$nextTick(async () => {
this.model.setmod.docamt = "0.00";
})
this.model.liaall.tensetstm.rows = [];
this.flag1=true;
} else {
chkIds = [selection[0] + 1];
}
......
......@@ -298,7 +298,11 @@ export default {
},
methods:{...Event},
created:function(){
this.executeRule("bopmod.dbcp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
}
}
</script>
......
......@@ -298,7 +298,11 @@ export default {
},
methods:{...Event},
created:function(){
this.executeRule("bopmod.dbfp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
}
}
</script>
......
......@@ -325,7 +325,11 @@ export default {
},
methods:{...Event},
created:function(){
this.executeRule("bopmod.dbdp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
}
}
</script>
......
......@@ -341,7 +341,11 @@ export default {
},
methods:{...Event},
created:function(){
this.executeRule("bopmod.dbap.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
}
}
</script>
......
......@@ -239,11 +239,11 @@ export default {
this.basflgEnable = true;
this.model.bopmod.acttyp ="";
this.model.bopmod.ownextkey ="";
}else if(this.model.bopmod.szflg == '2'){
this.model.bopmod.acttyp ="";
this.model.bopmod.outchargeamt="0.00";
}
},
},
watch:{
......
......@@ -304,7 +304,11 @@ export default {
},
methods:{...Event},
created:function(){
this.executeRule("bopmod.dbbp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
}
}
</script>
......
......@@ -304,7 +304,11 @@ export default {
},
methods:{...Event},
created:function(){
this.executeRule("bopmod.dbep.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
}
}
</script>
......
<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="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">
<el-form-item label-width="5px" 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>
<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 :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="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 :span="10">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input
disabled
v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</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 Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitpop/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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="11">
<c-col :span="24">
<el-form-item label="Validity for Declaration of Readiness" prop="decreadat">
<c-date-picker type="date" v-model="model.decreadat" style="width:100%" placeholder="请选择Validity for Declaration of Readiness"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Validity for Declaration of Readiness"
prop="decreadat"
>
<c-date-picker
type="date"
v-model="model.decreadat"
style="width: 100%"
placeholder="请选择Validity for Declaration of Readiness"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Declaration of Readiness Text" prop="decreatxt">
<c-fullbox>
<c-input type="textarea" rows="5s" v-model="model.decreatxt" maxlength="65" show-word-limit placeholder="请输入Declaration of Readiness Text" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDecblkButtxmsel">
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Declaration of Readiness Text"
prop="decreatxt"
>
<c-fullbox>
<c-input
type="textarea"
rows="5s"
v-model="model.decreatxt"
maxlength="32500"
show-word-limit
placeholder="请输入Declaration of Readiness Text"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDecblkButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitpop/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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 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>
<!-- <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-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-col :span="16">
<c-col :span="24">
<el-form-item
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="32500"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></i-stream-input>
<!-- <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-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 size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis">
vs. &History
</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="onGitpButdif"
>
vs. &System
</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 size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod">
修改中文保函文本
</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
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmod"
>
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- <c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="12">
<el-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="请输入Guarantee Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-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="请输入Guarantee Text with Variables" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxt">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdif">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxt">
Sho&w Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import IStreamInput from '~/components/IStreamInput'
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitpop/Event"
import IStreamInput from "~/components/IStreamInput";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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="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>
</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-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="32500"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></c-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="onGitpButdifhisc">
vs. &History
</c-button>
</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>
<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="onGitpButdifhisc"
>
vs. &History
</c-button>
</c-col>
<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>
<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>
<!-- <c-col :span="12">
<el-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text local undertaking" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="1" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButgetrefc">
Get &Ref.
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflgc">Modify Guarantee Text - Local Undertaking Seq. C</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxtc">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifc">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxtc">
Sho&w Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitpop/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" placeholder="请选择是否SWIFT格式">
<el-option
v-for="item in codes.swiftflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select disabled v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保">
<el-option
v-for="item in codes.fingua"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select
v-model="model.gitp.swiftflg"
style="width: 100%"
placeholder="请选择是否SWIFT格式"
>
<el-option
v-for="item in codes.swiftflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select
disabled
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
>
<el-option
v-for="item in codes.fingua"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
disabled
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 100%"
placeholder="请选择对外担保类型"
>
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select disabled v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" placeholder="请选择对外担保类型">
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col> -->
</c-col>
<!-- <c-col :span="12">
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col> -->
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitpop/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
export default {
inject: ['root'],
props:["model"],
mixins: [commonProcess],
data(){
return {
codes: {
...CodeTable,
},
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model"],
mixins: [commonProcess],
data() {
return {
codes: {
...CodeTable,
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -450,7 +450,7 @@
:disabled="model.gcdgrp.rec.frepaylg=='X'"
>
<el-option
v-for="item in cmtflg"
v-for="item in codes.cmtflg"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -733,13 +733,7 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
};
return {};
},
watch:{
......
......@@ -49,6 +49,9 @@
v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3"
placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode')
"
></c-input>
</c-col>
<c-col :span="4" style="text-align: right">
......@@ -56,6 +59,16 @@
size="small"
type="primary"
icon="el-icon-search"
@click="
showGridPromptDialog(
'cnybop.outcty',
null,
null,
{ TXT: 'cnybop.cnyout.spayercountrycode' },
{ TXT: false },
'doxpDialog'
)
"
></c-button>
</c-col>
</el-form-item>
......
......@@ -84,7 +84,7 @@
</el-tab-pane>
<el-tab-pane
label="外付款/承兑通知书-基础信息"
label="外付款/承兑通知书-基础信息"
name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '1'"
>
......@@ -137,7 +137,7 @@
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="Payment 756 BEN USD 330.00" name="det756">
<el-tab-pane :label=this.det756Name name="det756">
<c-content>
<m-det756 :model="model" :codes="codes" />
</c-content>
......@@ -145,10 +145,10 @@
<!--PD000131 -->
<el-tab-pane
label="Payment 202 BEN USD 330.00"
:label=this.det202cvName
name="det202cv"
v-if="
model.trnmod.cmtflg == '1' ||
model.trnmod.cmtflg == 'C' ||
model.gcdgrp.cbs.max.cur != 'CNY'
"
>
......@@ -243,6 +243,8 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
det202cvName:"Payment 202 PRB",
det756Name:"Payment 756 PRB" ,
tabVal: "gitsetp1",
trnName: "gitset",
model: new Gitset().data,
......@@ -253,6 +255,28 @@ export default {
codes: { ...CodeTable },
};
},
watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
},
methods: {
mimeTabClick(tab) {
this.tabClick(tab);
......@@ -282,6 +306,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
<template>
<div class="eContainer">
<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="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000006 -->
<el-tab-pane label="Selection" name="infsea">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
<!--PD000006 -->
<!-- <el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000013 -->
<el-tab-pane label="Transactions" name="trnpan">
<!-- <el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000019 -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<!-- <el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000028 -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<!-- <el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000111 -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<!-- <el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000162 -->
<el-tab-pane label="SEP Info" name="sepinfp">
<!-- <el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Details of Temporary Settlement" name="sepp0">
<!-- <el-tab-pane label="Details of Temporary Settlement" name="sepp0">
<m-sepp0 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000177 -->
<el-tab-pane label="GLE Bookings" name="gleinfp">
<!-- <el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000119 -->
<el-tab-pane label="SMH Info" name="smhinfp">
<!-- <el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000130 -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<!-- <el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000147 -->
<el-tab-pane label="Engagement" name="liainfp">
<!-- <el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000005 -->
<el-tab-pane label="Print" name="prtpan">
<!-- <el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000185 -->
<el-tab-pane label="Order" name="ordpan">
<!-- <el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000029 -->
<el-tab-pane label="Order" name="ordp0">
<!-- <el-tab-pane label="Order" name="ordp0">
<m-ordp0 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="DTA Fields" name="dtetag">
<!-- <el-tab-pane label="DTA Fields" name="dtetag">
<m-dtetag :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000065 -->
<el-tab-pane label="Settlement Instructions" name="setinsp">
<!-- <el-tab-pane label="Settlement Instructions" name="setinsp">
<m-setinsp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Fee Conditions" name="fecp">
<!-- <el-tab-pane label="Fee Conditions" name="fecp">
<m-fecp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000204 -->
<el-tab-pane label="CIPS" name="cips">
<!-- <el-tab-pane label="CIPS" name="cips">
<m-cips :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000449 -->
<el-tab-pane label="CIPS2.0" name="cips2">
<!-- <el-tab-pane label="CIPS2.0" name="cips2">
<m-cips2 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000450 -->
<el-tab-pane label="CIPS2.0" name="cips3">
<!-- <el-tab-pane label="CIPS2.0" name="cips3">
<m-cips3 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......@@ -115,49 +119,49 @@ import Check from "~/model/Infccd/Check"
import Default from "~/model/Infccd/Default"
import Pattern from "~/model/Infccd/Pattern"
import Infsea from "./Infsea"
import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp"
import Fepinfp from "./Fepinfp"
import Sepinfp from "./Sepinfp"
import Sepp0 from "./Sepp0"
import Gleinfp from "./Gleinfp"
import Smhinfp from "./Smhinfp"
import Peninfp from "./Peninfp"
import Liainfp from "./Liainfp"
import Prtpan from "./Prtpan"
import Ordpan from "./Ordpan"
import Ordp0 from "./Ordp0"
import Dtetag from "./Dtetag"
import Setinsp from "./Setinsp"
import Fecp from "./Fecp"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
// import Trnpan from "./Trnpan"
// import Cbsinfp from "./Cbsinfp"
// import Cbeinfp from "./Cbeinfp"
// import Fepinfp from "./Fepinfp"
// import Sepinfp from "./Sepinfp"
// import Sepp0 from "./Sepp0"
// import Gleinfp from "./Gleinfp"
// import Smhinfp from "./Smhinfp"
// import Peninfp from "./Peninfp"
// import Liainfp from "./Liainfp"
// import Prtpan from "./Prtpan"
// import Ordpan from "./Ordpan"
// import Ordp0 from "./Ordp0"
// import Dtetag from "./Dtetag"
// import Setinsp from "./Setinsp"
// import Fecp from "./Fecp"
// import Cips from "./Cips"
// import Cips2 from "./Cips2"
// import Cips3 from "./Cips3"
export default {
components:{
"m-infsea" : Infsea,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp,
"m-sepp0" : Sepp0,
"m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp,
"m-liainfp" : Liainfp,
"m-prtpan" : Prtpan,
"m-ordpan" : Ordpan,
"m-ordp0" : Ordp0,
"m-dtetag" : Dtetag,
"m-setinsp" : Setinsp,
"m-fecp" : Fecp,
"m-cips" : Cips,
"m-cips2" : Cips2,
"m-cips3" : Cips3,
// "m-trnpan" : Trnpan,
// "m-cbsinfp" : Cbsinfp,
// "m-cbeinfp" : Cbeinfp,
// "m-fepinfp" : Fepinfp,
// "m-sepinfp" : Sepinfp,
// "m-sepp0" : Sepp0,
// "m-gleinfp" : Gleinfp,
// "m-smhinfp" : Smhinfp,
// "m-peninfp" : Peninfp,
// "m-liainfp" : Liainfp,
// "m-prtpan" : Prtpan,
// "m-ordpan" : Ordpan,
// "m-ordp0" : Ordp0,
// "m-dtetag" : Dtetag,
// "m-setinsp" : Setinsp,
// "m-fecp" : Fecp,
// "m-cips" : Cips,
// "m-cips2" : Cips2,
// "m-cips3" : Cips3,
},
provide() {
return {
......@@ -174,12 +178,17 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
codes: {
...CodeTable
},
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -187,6 +196,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
......@@ -14,8 +14,9 @@ import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
inject: ['root'],
props:["model","codes"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
......@@ -101,7 +102,8 @@ export default {
}
</script>
<style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
}
/* .busnavbar-items{
} */
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--inftrd PD000024 Selection -->
<el-tab-pane label="Selection" name="infsea">
<c-content>
<m-infsea
v-show="!showPanel"
@updateShowPanel="updateShowPanel($event)"
:model="model"
:codes="codes"
ref="infsea"/>
</c-content>
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> -->
<!-- <el-tab-pane label="内容" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane> -->
<!-- <el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--inftrd PD000018 Loan -->
<el-tab-pane label="Loan" name="infconp">
</el-tab-pane> -->
<!-- <el-tab-pane label="Loan" name="infconp">
<m-infconp :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000010 Incoming Tag 72/79 -->
<el-tab-pane label="Incoming Tag" name="coninftag">
<m-coninftag :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000013 Transactions -->
<el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000019 CBS Info -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000028 CBE Info -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000111 FEP/FCP Info -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000162 SEP Info -->
<el-tab-pane label="SEP Inf" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000177 GLE Bookings -->
<el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000119 SMH Info -->
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000130 SPT/DIA Info -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000147 Engagement -->
<el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--inftrd PD000023 Print -->
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000185 Order -->
<el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-tab-pane> -->
<!-- </c-tabs> -->
<c-button
v-show="showPanel"
style="margin-left: 75%; bottom: 10%; position: sticky"
size="small"
@click="goBack()"
>
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</el-form>
</div>
</template>
......@@ -120,8 +127,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {...CodeTable},
}
},
methods:{
......@@ -132,6 +138,21 @@ export default {
**/
}
},
initPanel(val) {
if (val) {
this.tabVal = "ovwp";
//
} else {
this.tabVal = "";
}
},
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
},
goBack() {
this.showPanel = false;
},
created:async function(){
console.log("进入inftrd交易");
let rtnmsg = await this.init({})
......
......@@ -46,8 +46,8 @@
</c-col>
<c-col :span="11" :offset="1">
<c-checkbox v-model="model.cfatrt.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfatrt.dclflg">变动信息</c-checkbox>
<c-checkbox v-model="model.cfadft.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox>
</c-col>
</c-col>
<c-col :span="8" >
......
......@@ -94,9 +94,9 @@
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-select v-model="model.trdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency" @keyup.enter.native="maxCurEvent">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="融资金额" prop="trdgrp.cbs.max.curtxt1">
<c-select v-model="model.trdgrp.cbs.max.curtxt1" style="width:100%" placeholder="请选择Currency" @keyup.enter.native="maxCurEvent">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -352,9 +352,9 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp">
<c-select v-model="model.trtmod.finmod.acttyp" style="width:100%" placeholder="请选择第三方还款方式">
<el-option v-for="item in codes.acttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp1">
<c-select v-model="model.trtmod.finmod.acttyp1" style="width:100%" placeholder="请选择第三方还款方式">
<el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -407,8 +407,8 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外币贷款专户清单" prop="trtp.act">
<c-select v-model="model.trtp.act" style="width:100%" placeholder="请选择外币贷款专户清单">
<el-form-item label="外币贷款专户清单" prop="trtp.act" >
<c-select v-model="model.trtp.act" style="width:100%" placeholder="请选择外币贷款专户清单" :disabled="model.trdgrp.cbs.max.curtxt1==='CNY'">
</c-select>
</el-form-item>
</c-col>
......@@ -419,10 +419,13 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
import Utils from "~/utils";
export default {
onSeainf() {
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
......
......@@ -22,12 +22,21 @@
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep">
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<c-content>
<m-dftcrep :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="Engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx">
<c-content>
......@@ -68,11 +77,12 @@
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template>
......@@ -86,6 +96,7 @@ import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtopn/Check"
import Default from "~/model/Trtopn/Default"
import Pattern from "~/model/Trtopn/Pattern"
import Event from "~/model/Trtopn/Event";
import Ovwp from "./Ovwp"
import Dftcrep from "./Dftcrep"
import Rzkx from "./Rzkx"
......@@ -95,6 +106,7 @@ import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Engp from "~/views/Public/Engp";
export default {
......@@ -109,6 +121,7 @@ export default {
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-setpan" : Setpan,
"m-engp" : Engp,
},
provide() {
return {
......@@ -126,8 +139,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {...CodeTable},
}
},
methods:{
......@@ -138,6 +150,21 @@ export default {
**/
}
},
// initPanel(val) {
// if (val) {
// this.tabVal = "ovwp";
// //
// } else {
// this.tabVal = "";
// }
// },
// async updateShowPanel(value) {
// this.showPanel = value;
// this.initPanel(value);
// },
// goBack() {
// this.showPanel = false;
// },
created:async function(){
console.log("进入trtopn交易");
let rtnmsg = await this.init({})
......
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="110px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<!--PD000006 -->
<!--
<el-tab-pane label="查詢界面" name="infsea">
<m-infsea :model="model" :codes="codes"/>
<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">
<!--trtsel PD000012 Menu -->
<el-tab-pane :label="$t('trtsel.PD000012')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
-->
<c-content>
<m-infsea
v-show="!showPanel"
@updateShowPanel="updateShowPanel($event)"
:model="model"
:codes="codes"
ref="infsea"
/>
</c-content>
<c-tabs
v-model="tabVal"
v-show="showPanel"
ref="elment"
type="card"
@tab-click="tabClick"
>
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--
<el-tab-pane label="条款" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="余额信息" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="发生额信息" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用明细" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="临时账务" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="账务信息" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="面函、报文" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="经办信息" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="表外信息" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="银行明细" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="明细" name="detp2">
<m-detp2 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="声明" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
-->
</c-tabs>
</c-tabs>
</el-form>
<c-button
v-show="showPanel"
style="margin-left: 75%; bottom: 10%; position: sticky"
size="small"
@click="goBack()"
>
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</div>
</template>
<script>
......@@ -138,9 +19,10 @@ import Check from "~/model/Trtsel/Check"
import Default from "~/model/Trtsel/Default"
import Pattern from "~/model/Trtsel/Pattern"
import Sel from "./Sel"
import Infsea from "./Infsea";
export default {
name: "Trtsel",
components:{
"m-sel" : Sel,
},
......@@ -154,6 +36,7 @@ export default {
return {
tabVal: "",
trnName: "trtsel",
trnType: "",
model: new Trtsel().data,
checkRules: Check,
defaultRules: Default,
......@@ -164,7 +47,11 @@ export default {
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -172,6 +59,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
......@@ -127,9 +127,10 @@ export default {
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" },
{ inifrm: "cltset", ininam: "打包托收解包", pntmiu: "8" },
{ inifrm: "9", ininam: "光票托收", pntmiu: "" },
{ inifrm: "ccttra", ininam: "光票托收催收", pntmiu: "9" },
{ inifrm: "cctdcr", ininam: "光票托收退票", pntmiu: "9" },
{ inifrm: "cctset", ininam: "光票托收收汇", pntmiu: "9" },
{ inifrm: "infccd", ininam: "光票托收查询", pntmiu: "9" },
// { inifrm: "ccttra", ininam: "光票托收催收", pntmiu: "9" },
// { inifrm: "cctdcr", ininam: "光票托收退票", pntmiu: "9" },
// { inifrm: "cctset", ininam: "光票托收收汇", pntmiu: "9" },
//{ inifrm: "cltdav", ininam: "光票托收开立", pntmiu: "10" },
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
{ inifrm: "10", ininam: "参数管理", pntmiu: "" },
......
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