Commit 728a4d45 by wangren

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs…

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs into development-202206
parents 0c63606f 6127eb82
...@@ -254,7 +254,7 @@ export default { ...@@ -254,7 +254,7 @@ export default {
], ],
"lendoc.account":[ "lendoc.account":[
//{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 25,message:"长度不能超过25"} {max: 75,message:"长度不能超过75"}
], ],
"lendoc.vercerref":[ "lendoc.vercerref":[
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
], ],
"cpdgrp.snd.pts.adrblk":[ "cpdgrp.snd.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"cpdgrp.snd.dbfadrblkcn":[ "cpdgrp.snd.dbfadrblkcn":[
......
import Utils from "~/utils"
/**
* Getame Check规则
*/
let checkObj = {
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.jurlaws20" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"trnmod.swiadd.exptxt" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"trnmod.swiadd.newliadat" :null,
"trnmod.swiadd.ameblk" :null,
"gidgrp.rec.liadat" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.blk.liatxtc" :null,
"gitp.exptxtmodflg" :null,
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gitamep.ramrol" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.apl.pts.extkey" :null,
"trnmod.swiadd.newexpdat" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.adv.namelc" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"trnmod.swiadd.purposame" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"trnmod.swiadd.ameamt" :null,
"gidgrp.rec.inudat" :null,
"gidgrp.iss.pts.ref" :null,
"gidgrp.blk.feetxt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.blk.preper" :null,
"gidgrp.apl.adrelc" :null,
"trnmod.swiadd.addamtcovs20" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
...@@ -7,6 +7,7 @@ export default { ...@@ -7,6 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.gidgrp.rec.ownref=rtnmsg.data.gidgrp_rec_ownref;
} }
else else
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Getopn{ export default class Getopn{
constructor () { constructor () {
...@@ -410,6 +411,10 @@ export default class Getopn{ ...@@ -410,6 +411,10 @@ export default class Getopn{
pts:new Pts().data, pts:new Pts().data,
}, },
}, },
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -76,12 +76,15 @@ export default { ...@@ -76,12 +76,15 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} */ } */
}, },
async continueEdit(row) { async continueEdit(row, scope) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}}) //let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) { //if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName; //var cacheFileName = rtnmsg.data.cacheFileName;
this.model.selsptinr = row['INR']; this.model.selsptinr = row['INR'];
let rtnmsg = await this.executeRule("tak") const selIds = [];
selIds.push(row['IDX']);
let params = { selDst: "sptstm", selIds: selIds };
let rtnmsg = await this.executeRule("tak", params)
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
let trnName = row.交易代码.toLowerCase(); let trnName = row.交易代码.toLowerCase();
......
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt"> <el-form-item label="" prop="bodgrp.cbs.max.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input> <c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -60,14 +60,14 @@ ...@@ -60,14 +60,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" <c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled> placeholder="请选择Warehouse/Insurance" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11" :offset="1">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt"> <el-form-item label="" prop="bodgrp.cbs.opn1.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount" <c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input> disabled></c-input>
</el-form-item> </el-form-item>
...@@ -85,11 +85,20 @@ ...@@ -85,11 +85,20 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod" style="width: 100%">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Payment Condition" disabled>
<el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%" <c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%"
placeholder="请选择Collection Condition" disabled> placeholder="请选择Collection Condition" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item> -->
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -103,11 +112,21 @@ ...@@ -103,11 +112,21 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta"> <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta" style="width: 100%">
<c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
placeholder="请输入Document Set Status" disabled>
<el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" <c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"
disabled> disabled>
</c-input> </c-input>
</el-form-item> </el-form-item> -->
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -139,11 +158,21 @@ ...@@ -139,11 +158,21 @@
<span>Days</span> <span>Days</span>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="bodgrp.rec.matperbeg"> <el-form-item label="Document Set Status" prop="bodgrp.rec.matperbeg" style="width: 100%">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
<el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%" <c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled> placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item> -->
</c-col> </c-col>
<!-- <c-col :span="5"> <!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span> <span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
...@@ -194,7 +223,7 @@ ...@@ -194,7 +223,7 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label-width="0" prop="setmod.docamt"> <el-form-item label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount" disabled></c-input> <c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -215,8 +244,11 @@ ...@@ -215,8 +244,11 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24" style="margin-top: 30px"> <c-col :span="24" style="margin-top: 30px">
<c-col :span="11"> <span style="font-size:14px;margin-left:5px">Bills to Pay back:</span>
<c-edit-table :model="model" v-bind="docgrd"> </c-col>
<c-col :span="24">
<c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-25px">
</c-edit-table> </c-edit-table>
</c-col> </c-col>
</c-col> </c-col>
...@@ -293,13 +325,13 @@ export default { ...@@ -293,13 +325,13 @@ export default {
}, },
{ {
title: "Open Amount", title: "Open Amount",
width: "80px", width: "200px",
dataIndex: "opnamt", dataIndex: "opnamt",
show: "input", show: "input",
}, },
{ {
title: "Amount Paid", title: "Amount Paid",
width: "320px", width: "200px",
dataIndex: "bckamt", dataIndex: "bckamt",
show: "input", show: "input",
}, },
...@@ -310,7 +342,7 @@ export default { ...@@ -310,7 +342,7 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
multipleSelect(){ multipleSelect() {
console.log(111); console.log(111);
} }
}, },
......
...@@ -8,17 +8,17 @@ ...@@ -8,17 +8,17 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="setp" name="setp"> <el-tab-pane label="Changing Maturity" name="setp">
<m-setp :model="model" :codes="codes" /> <m-setp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049 -->
<el-tab-pane label="inst" name="inst"> <el-tab-pane label="Instructions" name="inst">
<m-inst :model="model" :codes="codes" /> <m-inst :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000266 --> <!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
......
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,7 @@
methods: { methods: {
...Event, ...Event,
changeCur(){ changeCur(){
this.executeDefault("bodgrp.cbs.max.cur").then((res) => { this.executeDefault("cnybop.libflg").then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.lendoc.account" v-model="model.lendoc.account"
maxlength="3" maxlength="75"
style="width: 100%" style="width: 100%"
placeholder="Please input Input Amount" placeholder="Please input Input Amount"
:disabled="!actflg" :disabled="!actflg"
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="摘要" prop="bodgrp.rec.nam"> <el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input <c-input
align="middle" align="middle"
v-model="model.bodgrp.rec.nam" v-model="model.bodgrp.rec.nam"
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="远期单据到期日" prop="matp.matinf"> <el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker> <c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt" label-width="5px"> <el-form-item label="" prop="aamset.utlamt" label-width="5px">
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额"></c-input> <c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -197,14 +197,20 @@ ...@@ -197,14 +197,20 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt2" label-width="5px"> <el-form-item label="" prop="aamset.utlamt2" label-width="5px">
<c-input v-model="model.aamset.utlamt2" placeholder=""></c-input> <c-input v-model="model.aamset.utlamt2" placeholder="" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="跨境人民币清算模式" prop="trnmod.cmtflg"> <el-form-item label="跨境人民币清算模式" prop="trnmod.cmtflg">
<c-select v-model="model.trnmod.cmtflg" style="width:100%" placeholder="请选择跨境人民币清算模式" :code="codes.cmtflg"> <c-select
v-model="model.trnmod.cmtflg"
style="width:100%"
placeholder="请选择跨境人民币清算模式"
:code="this.cmtflg"
@change="commonExecuteRule('trnmod.cmtflg')"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -216,7 +222,7 @@ ...@@ -216,7 +222,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="报文类型" prop="trnmod.swftyp" v-show="model.trnmod.cmtflg=='P'?true:false"> <el-form-item label="报文类型" prop="trnmod.swftyp" v-show="model.trnmod.cmtflg=='P'?true:false">
<c-select v-model="model.trnmod.swftyp" style="width:100%" placeholder="请选择报文类型" :code="codes.swftyp"> <c-select v-model="model.trnmod.swftyp" style="width:100%" placeholder="请选择报文类型" :code="codes.swftyp1" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -377,7 +383,12 @@ ...@@ -377,7 +383,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey"> <el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin:0 10px 0 10px;padding: 0 12px;" style="margin:0 10px 0 10px;padding: 0 12px;"
...@@ -426,6 +437,11 @@ export default { ...@@ -426,6 +437,11 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
cmtflg:[
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
table1:[], table1:[],
columns:[ columns:[
"1 1 \"Type\" 40", "1 1 \"Type\" 40",
...@@ -437,12 +453,31 @@ export default { ...@@ -437,12 +453,31 @@ export default {
] ]
} }
}, },
methods:{...Event}, methods:{...Event,
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
}
});
},
},
created:function(){ created:function(){
}, },
watch: { watch: {
declareParams() {}, declareParams() {},
"model.trnmod.cmtflg":{
immediate:true,
handler(val ,oldVal){
if(this.model.trnmod.cmtflg=='P'){
this.model.trnmod.swftyp='CIV';
}else{
this.model.trnmod.swftyp='';
}
}
},
}, },
} }
</script> </script>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<!-- <el-tab-pane label="同业代付" name="dftcrep" > <!-- <el-tab-pane label="同业代付" name="dftcrep" v-if="this.model.dftcre.dfflag==''">
<m-dftcrep :model="model" :codes="codes" /> <m-dftcrep :model="model" :codes="codes" />
</el-tab-pane> --> </el-tab-pane> -->
...@@ -106,6 +106,10 @@ ...@@ -106,6 +106,10 @@
</el-tab-pane>--> </el-tab-pane>-->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -184,14 +188,7 @@ export default { ...@@ -184,14 +188,7 @@ export default {
} }
}, },
watch:{ watch:{
'model.dftcre.dfflag': function(){
var val = this.model.dftcre.dfflag;
if(val == ""){
document.getElementById("tab-dftcrep").style.display = 'none';
}else{
document.getElementById("tab-dftcrep").style.display = '';
}
}
}, },
created:async function(){ created:async function(){
console.log("进入brtset交易"); console.log("进入brtset交易");
...@@ -200,9 +197,6 @@ export default { ...@@ -200,9 +197,6 @@ export default {
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
document.getElementById("tab-dftcrep").style.display = 'none';
} }
else else
{ {
......
...@@ -150,6 +150,7 @@ import Gitcrq from "./Gitcrq" ...@@ -150,6 +150,7 @@ import Gitcrq from "./Gitcrq"
import Infgcd from "./Infgcd" import Infgcd from "./Infgcd"
import Getsel from "./Getsel" import Getsel from "./Getsel"
import Getopn from "./Getopn" import Getopn from "./Getopn"
import Getame from "./Getame"
import Getset from "./Getset" import Getset from "./Getset"
import Getcrq from "./Getcrq" import Getcrq from "./Getcrq"
import Getamc from "./Getamc" import Getamc from "./Getamc"
...@@ -377,6 +378,7 @@ const BusRouter = [ ...@@ -377,6 +378,7 @@ const BusRouter = [
{ path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } }, { path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } },
{ path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } }, { path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } },
{ path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } }, { path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } },
{ path: 'getame', component: Getame, name: 'Getame', meta: { title: '出口保函修改' } },
{ path: 'getcrq', component: Getcrq, name: 'Getcrq', meta: { title: 'Getcrq' } }, { path: 'getcrq', component: Getcrq, name: 'Getcrq', meta: { title: 'Getcrq' } },
{ path: 'getamc', component: Getamc, name: 'Getamc', meta: { title: '出口保函保兑' } }, { path: 'getamc', component: Getamc, name: 'Getamc', meta: { title: '出口保函保兑' } },
{ path: 'notice', component: Notice, name: 'Notice', meta: { title: '通知公告设置' } }, { path: 'notice', component: Notice, name: 'Notice', meta: { title: '通知公告设置' } },
......
...@@ -229,6 +229,23 @@ ...@@ -229,6 +229,23 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- ===================中部--右==================== --> <!-- ===================中部--右==================== -->
...@@ -330,14 +347,12 @@ ...@@ -330,14 +347,12 @@
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
v-model="model.cpdgrp.rec.swftyp" v-model="model.cpdgrp.rec.swftyp"
:disabled=" :disabled=this.flag2
model.cpdgrp.cbs.nom1.amt === '0.000'
"
@change="swftypChange" @change="swftypChange"
> >
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" --> <!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
<el-option <el-option
v-for="item in codes.swftypOpnp" v-for="item in this.swftypOpnp"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
:key="item.value" :key="item.value"
...@@ -381,7 +396,7 @@ ...@@ -381,7 +396,7 @@
</c-fullbox> </c-fullbox>
</c-col> </c-col>
<!-- <c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item <el-form-item
label="清算模式" label="清算模式"
...@@ -394,13 +409,9 @@ ...@@ -394,13 +409,9 @@
:disabled=" :disabled="
model.cpdgrp.cbs.nom1.amt === '0.000' model.cpdgrp.cbs.nom1.amt === '0.000'
" "
:code=this.liqtypOptions
@change="swftypChange"
> >
<el-option
v-for="item in liqtypOptions"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -408,24 +419,9 @@ ...@@ -408,24 +419,9 @@
v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')" v-if="!(model.cpdgrp.cbs.nom1.cur === 'CNY')"
></el-form-item> ></el-form-item>
</c-col> </c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="货物类型">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型"
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
...@@ -464,12 +460,18 @@ export default { ...@@ -464,12 +460,18 @@ export default {
{ value: "3", label: "其他" }, { value: "3", label: "其他" },
], ],
liqtypOptions: [ liqtypOptions: [
{ value: "B", label: "人行支付系统" },
{ value: "C", label: "代理行模式" }, { value: "C", label: "代理行模式" },
{ value: "O", label: "Other" }, { value: "O", label: "Other" },
{ value: "S", label: "CIPS系统" }, { value: "S", label: "CIPS系统" },
], ],
swftypOpnp: [
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
],
flag1:true, flag1:true,
flag2:true,
}; };
}, },
methods: { methods: {
...@@ -497,6 +499,78 @@ export default { ...@@ -497,6 +499,78 @@ export default {
} }
} }
}, },
"model.cptp.liqtyp":{
immediate:true,
handler(val ,oldVal){
//清除数据
if(this.model.cptp.liqtyp != 'C'){
//清除liqtyp = C时填写的数据
this.model.cptp.cleage="";
this.model.cptp.evebch="";
this.model.cptp.coract="";
}else if(this.model.cptp.liqtyp != 'O'){
this.model.cpdgrp.blk.contag70="";
}else if(this.model.cptp.liqtyp != 'S'){
this.model.cptp.orcnam="";
this.model.cptp.orcadr="";
this.model.cptp.pyenam="";
this.model.cptp.pyeadr="";
this.model.cptp.reconebch="";
this.model.cptp.reconebchnam="";
this.model.cptp.cptp.bustyp="";
this.model.cptp.commetr="";
}
if(this.model.cptp.liqtyp == 'C'){
this.model.cpdgrp.rec.swftyp="103";
this.swftypOpnp=[
{ label: 'MT103', value: '103' },
{ label: 'MT202', value: '200' },
]
this.flag2 = false;
}else if(this.model.cptp.liqtyp == 'O'){
//同步切换报文类型的值
this.model.cpdgrp.rec.swftyp= "OTH";
this.flag2 = true;
}else if(this.model.cptp.liqtyp == 'S'){
this.flag2 = false;
//同步切换报文类型的值
this.model.cpdgrp.rec.swftyp= "CIU";
this.swftypOpnp=[
{ label: "cips111", value: "CIU" },
{ label: "cips112", value: "CIV" },
]
}else{
//当为空时,恢复下拉选的选项
this.swftypOpnp=[
{ label: 'MT103', value: '103' },
{ label: 'Mt202 COV', value: '202' },
{ label: 'MT202', value: '200' },
{ label: 'Other', value: 'OTH' },
]
}
}
},
"model.cpdgrp.cbs.nom1.amt":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.cbs.nom1.amt !== '0.000' && this.model.cpdgrp.cbs.nom1.cur !='CNY'){
this.flag2 = false;
}else{
this.flag2 = true;
}
}
},
"model.cpdgrp.cbs.nom1.cur":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.cbs.nom1.amt !== '0.000' && this.model.cpdgrp.cbs.nom1.cur !='CNY'){
this.flag2 = false;
}else{
this.flag2 = true;
}
}
}
}, },
created: function () {}, created: function () {},
computed: { computed: {
......
...@@ -163,6 +163,7 @@ ...@@ -163,6 +163,7 @@
<c-input <c-input
maxlength="16" maxlength="16"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -172,12 +173,14 @@ ...@@ -172,12 +173,14 @@
label="Intermediary Institut.(Tag 54a)" label="Intermediary Institut.(Tag 54a)"
style="width: 100%" style="width: 100%"
label-width="35%" label-width="35%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
disabled v-model="model.cpdgrp.orc.pts.extkey"
@keyup.enter.native="showGridPromptDialog('cpdgrp.orc.pts.extkey')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -211,6 +214,7 @@ ...@@ -211,6 +214,7 @@
type="textarea" type="textarea"
:rows="3" :rows="3"
maxlength="140" maxlength="140"
v-model="model.cpdgrp.orc.pts.adrblk"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
disabled disabled
...@@ -236,6 +240,7 @@ ...@@ -236,6 +240,7 @@
label="Account with Institution/Account(Tag 54a)" label="Account with Institution/Account(Tag 54a)"
style="width: 100%" style="width: 100%"
label-width="35%" label-width="35%"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
...@@ -244,7 +249,7 @@ ...@@ -244,7 +249,7 @@
v-model="setgll.setgrp.awi.pts.extkey" v-model="setgll.setgrp.awi.pts.extkey"
@change="setgllChange" @change="setgllChange"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.pye.pts.extkey') showGridPromptDialog('setgll.setgrp.awi.pts.extkey')
" "
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -259,8 +264,7 @@ ...@@ -259,8 +264,7 @@
font-family: '宋体'; font-family: '宋体';
font-weight: bold; font-weight: bold;
" "
>i</span >i</span>
>
</c-button> </c-button>
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
...@@ -297,9 +301,7 @@ ...@@ -297,9 +301,7 @@
></c-input> ></c-input>
</c-col> </c-col>
<c-col :span="5" style="text-align: right"> <c-col :span="5" style="text-align: right">
<c-checkbox v-model="model.cpdgrp.rec.tsnflg" <c-checkbox v-model="model.cpdgrp.rec.tsnflg">Use Opt.F</c-checkbox>
>Use Opt.F</c-checkbox
>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -418,6 +420,8 @@ export default { ...@@ -418,6 +420,8 @@ export default {
setgrp:{ setgrp:{
awi:{ awi:{
pts:{ pts:{
extkey: '',
adrblk: '',
} }
} }
} }
......
<template>
<div class="eibs-tab">
<!-- SF002108 : Old Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002108')" prop="oldgidgrp.rec.exptyp">
<c-select v-model="model.oldgidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002108')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002110 : Old Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002110')" prop="oldgidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002110')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002109 : Old Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002109')" prop="oldgidgrp.blk.exptxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002109')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002151 : Old Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002151')" prop="oldgidgrp.rec.liatypc">
<c-select v-model="model.oldgidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002151')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002152 : Old Liability -->
<c-col :span="12">
<el-form-item label="Liability until" prop="oldgidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+'Liability until'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002153 : Old Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002153')" prop="oldgidgrp.blk.liatxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002153')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002106 : New Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002106')" prop="trnmod.swiadd.exptyp">
<c-select v-model="model.trnmod.swiadd.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002106')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002105 : New Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002105')" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002105')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002107 : New Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002107')" prop="trnmod.swiadd.exptxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002107')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002154 : New Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002154')" prop="trnmod.swiadd.liatypc">
<c-select v-model="model.trnmod.swiadd.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002154')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002155 : New Liability -->
<c-col :span="12">
<el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" :placeholder="$t('other.please_enter')+'New Liability Date'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002157 : New Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002157')" prop="trnmod.swiadd.liatxtc">
<c-input type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002157')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002132 : Old appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002132')" prop="oldgidgrp.blk.dtaappexpdat">
<c-date-picker type="date" v-model="model.oldgidgrp.blk.dtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002132')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002133 : New appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002133')" prop="trnmod.swiadd.newdtaappexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002133')"></c-date-picker>
</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/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
{{$t('mtabut.CF000174')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrcon">
{{$t('mtabut.CG000224')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('getame.SF050038')" prop="oldgidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050038')" ></c-input>
</c-form-item>
</c-col>
<!-- SF050038 : Guarantee Text -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
{{$t('mtabut.CF000175')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrchk">
{{$t('mtabut.CG000225')}}
</c-button>
</c-col>
<!-- SF050111 : before this -->
<!-- SF050112 : Amendment -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
{{$t('mtabut.CF000176')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel">
{{$t('mtabut.CF000190')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInc">
{{$t('mtabut.CF000188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onNotmap">
{{$t('mtabut.CF000189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFrmbut">
{{$t('mtabut.CF000208')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOrd">
{{$t('mtabut.CF000213')}}
</c-button>
</c-col>
<!-- SF050039 : Amendments so Far -->
<c-col :span="12">
<c-form-item :label="$t('getame.SF050039')" prop="gidgrp.blk.gidtxtame">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050039')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIncben">
{{$t('mtabut.CG000239')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodImage">
{{$t('mtabut.CG000240')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewimg">
{{$t('mtabut.CG000232')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewhisimg">
{{$t('mtabut.CG000233')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodElcimage">
{{$t('mtabut.CG000241')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEntmodEntbut">
{{$t('mtabut.CG000242')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPen">
{{$t('mtabut.CF000178')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
{{$t('mtabut.CF000179')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<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="20">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select disabled v-model="model.gidgrp.rec.cfaguatyp" style="width:90%" 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-checkbox v-if="model.gidgrp.cbs.max.cur=='CNY'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col>
<!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> -->
</c-col>
<!-- SG001294 : 是否SWIFT格式 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SG001294')" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SG001294')">
</c-select>
</el-form-item>
</c-col> -->
<!-- S0001304 : 是否对外担保 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.S0001256')" prop="gidgrp.rec.fingua">
<c-select v-model="model.gidgrp.rec.fingua" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001256')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" :placeholder="$t('other.please_enter')+'对外担保类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">{{$t('gitp.CG001233')}}</c-checkbox>
</c-col> -->
<!-- S0001305 : 担保类型 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000859 : Delivery of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.delori">
<c-select v-model="model.gidgrp.rec.delori" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.deloritxt">
<c-input v-model="model.gidgrp.rec.deloritxt" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"></c-input>
</c-form-item>
</c-col>
<!-- SF000863 : Charges Condition -->
<!-- SF000862 : Undertaking Send to -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000862')" prop="gidgrp.rec.sndto">
<c-select v-model="model.gidgrp.rec.sndto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000862')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" :placeholder="$t('other.please_enter')+'Own Charges Borne by'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000860 : Deliv. To/Collection By -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000860')" prop="gidgrp.rec.delto">
<c-select v-model="model.gidgrp.rec.delto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000860')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000864 : Charges -->
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargi.chkast">{{$t('gitp.CF001069')}}</c-checkbox>
</c-col>
<!-- SF000861 : Delivery to Address -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000861')" prop="gidgrp.blk.deltoadr">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000861')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
{{$t('gitp.CF001057')}}
</c-button>
</c-col>
<!-- SF000728 : Presentation Instr. -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.preper">
<c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.atxpreper">
<c-input type="textarea" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.prepermodflg">{{$t('gitp.CF001186')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkpreper">{{$t('gitp.CF001187')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifpreper">
{{$t('gitp.CF001188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhispreper">
{{$t('gitp.CF001189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transfer">{{$t('gitp.CF000884')}}</c-checkbox>
</c-col>
<!-- SF000885 : Transfer Conditions -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000885')" prop="gidgrp.blk.trfcond">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000885')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</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">
<!--gitp PD001291 开立方式 -->
<el-tab-pane label="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002031 Amendment -->
<el-tab-pane :label="$t('gitamep.PD002031')" name="ameps20">
<m-ameps20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002100 Amendment Dates -->
<el-tab-pane :label="$t('gitamep.PD002100')" name="amedat20">
<m-amedat20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000002 Overview -->
<el-tab-pane :label="$t('gitp.PD000002')" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000043 Parties -->
<el-tab-pane :label="$t('gitp.PD000043')" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000727 Presentation/ Delivery -->
<el-tab-pane :label="$t('gitp.PD000727')" name="preperp">
<m-preperp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000389 Details -->
<el-tab-pane :label="$t('gitp.PD000389')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--getame PD050035 History -->
<el-tab-pane :label="$t('getame.PD050035')" name="amephis">
<m-amephis :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getame from "~/model/Getame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Getame/Check"
import Default from "~/model/Getame/Default"
import Pattern from "~/model/Getame/Pattern"
import Opnp from "./Opnp"
import Ameps20 from "./Ameps20"
import Amedat20 from "./Amedat20"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Preperp from "./Preperp"
import Detp from "./Detp"
import Amephis from "./Amephis"
export default {
name: "Getame",
components:{
"m-opnp" : Opnp,
"m-ameps20" : Ameps20,
"m-amedat20" : Amedat20,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-preperp" : Preperp,
"m-detp" : Detp,
"m-amephis" : Amephis,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp",
trnName: "getame",
trnType: "",
model: new Getame().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("进入getame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <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>
<!-- SF000004 : Additional Amount --> <!-- SF000004 : Additional Amount -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur"> <c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input> <c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input>
</c-form-item> </c-form-item>
...@@ -12,10 +46,10 @@ ...@@ -12,10 +46,10 @@
<c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt"> <c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> <c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
<!-- SF000008 : Open Add. Amount --> <!-- SF000008 : Open Add. Amount -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur"> <c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input> <c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input>
</c-form-item> </c-form-item>
...@@ -25,14 +59,14 @@ ...@@ -25,14 +59,14 @@
<c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt"> <c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> <c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
<!-- SF000009 : Covered --> <!-- SF000009 : Covered -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc"> <c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdif">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflg=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxt">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000350 : Text of Undertaking --> <!-- SF000350 : Text of Undertaking -->
<!--
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox> <c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox>
</c-col> </c-col>
...@@ -44,7 +111,7 @@ ...@@ -44,7 +111,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmod"> <c-button size="small" type="primary" @click="onGitpGidtxtmod">
{{$t('gitp.CG000442')}} {{$t('gitp.CG000442')}}
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -52,8 +119,10 @@ import Api from "~/service/Api" ...@@ -52,8 +119,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event" import Event from "~/model/Getopn/Event"
import IStreamInput from '~/components/IStreamInput'
export default { export default {
components: {IStreamInput},
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflgc == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflgc == 'X'" label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<i-stream-input type="textarea" :modle="model.gidgrp.blk.gtxgidtxtc" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000792 : Undertaking Text --> <!-- SF000792 : Undertaking Text -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc"> <c-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="$t('other.please_enter')+'Guarantee Text local undertaking'" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text local undertaking'" ></c-input>
</c-form-item> </c-form-item>
...@@ -50,7 +118,7 @@ ...@@ -50,7 +118,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmodc"> <c-button size="small" type="primary" @click="onGitpGidtxtmodc">
{{$t('gitp.CG001303')}} {{$t('gitp.CG001303')}}
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -58,8 +126,10 @@ import Api from "~/service/Api" ...@@ -58,8 +126,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event" import Event from "~/model/Getopn/Event"
import IStreamInput from '~/components/IStreamInput'
export default { export default {
components: {IStreamInput},
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin==''" label="Outgoing Purpose" prop="gidgrp.rec.purpos"> <el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin==''" label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose"> <c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose">
<el-option <el-option
v-for="item in codes.purpos1" v-for="item in codes.purpos4"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos==''" label="Handling Type" prop="gidgrp.rec.hndtyp"> <el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISSU'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select <c-select
v-model="model.gidgrp.rec.hndtyp" v-model="model.gidgrp.rec.hndtyp"
style="width: 100%" style="width: 100%"
...@@ -433,7 +433,7 @@ ...@@ -433,7 +433,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm"> <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm">
<c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking"> <c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking">
<el-option <el-option
v-for="item in legfrm" v-for="item in codes.legfrm"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" class="centerLable"> <c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.teskeyunc"> <c-checkbox v-model="model.gidgrp.rec.teskeyunc">
Test Key Unconfirmity Test Key Unconfirmity
</c-checkbox> </c-checkbox>
...@@ -970,7 +970,7 @@ ...@@ -970,7 +970,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'" class="centerLable"> <c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox label="跨境人民币保函" v-model="model.gidgrp.rec.cmtflg" <c-checkbox label="跨境人民币保函" v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox >跨境人民币保函</c-checkbox
> >
...@@ -1097,8 +1097,10 @@ import Api from "~/service/Api" ...@@ -1097,8 +1097,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event" import Event from "~/model/Getopn/Event"
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap },
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -1107,6 +1109,12 @@ export default { ...@@ -1107,6 +1109,12 @@ export default {
} }
}, },
computed: {
flag() {
return this.model.gidgrp.apl.pts.extkey == "";
},
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-fullbox>
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
<el-option
v-for="item in codes.deloric"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer" >
<c-input :disabled="model.gidgrp.rec.deloric!='OTHR'&&model.gidgrp.rec.deloric!='COUR'" v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
<el-option
v-for="item in codes.deltoc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
<c-input :disabled="model.gidgrp.rec.deltoc=='BENE'" type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
<c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
vs. &System
</c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc">
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
...
</c-button>
<c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input disabled rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000875 : Delivery of Undertak. --> <!-- SF000875 : Delivery of Undertak. -->
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric"> <el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric">
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"> <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')">
</c-select> </c-select>
...@@ -13,10 +95,10 @@ ...@@ -13,10 +95,10 @@
<c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc"> <c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc">
<c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input> <c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
<!-- SF000872 : Charges --> <!-- SF000872 : Charges -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc"> <c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item> </c-form-item>
...@@ -26,18 +108,18 @@ ...@@ -26,18 +108,18 @@
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
{{$t('gitp.CF000878')}} {{$t('gitp.CF000878')}}
</c-button> </c-button>
</c-col> </c-col> -->
<!-- SF000878 : Deli. To/Collection By --> <!-- SF000878 : Deli. To/Collection By -->
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc"> <el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')"> <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- SF000879 : Delivery to Address --> <!-- SF000879 : Delivery to Address -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc"> <c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input>
</c-form-item> </c-form-item>
...@@ -45,10 +127,10 @@ ...@@ -45,10 +127,10 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox> <c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox>
</c-col> </c-col> -->
<!-- SF000877 : Presentation Instr. --> <!-- SF000877 : Presentation Instr. -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc"> <c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc">
<c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input>
</c-form-item> </c-form-item>
...@@ -82,14 +164,14 @@ ...@@ -82,14 +164,14 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox> <c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox>
</c-col> </c-col> -->
<!-- SF000880 : Transfer Conditions --> <!-- SF000880 : Transfer Conditions -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc"> <c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref"> <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<c-input disabled v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey"> <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.gidgrp.apl.pts.extkey" <c-input v-model="model.gidgrp.apl.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family:'宋体';font-weight:bold">i</span>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onAplpDet"> <c-button size="small" type="primary" @click="onAplpDet">
Details Details
</c-button> </c-button>
</template> </template>
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='Y'" <c-ptap v-if="model.gitp.swiftflg=='Y'"
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
@onAplpDet="onConpDet" @onAplpDet="onConpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg!='Y'" <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '保兑行', title: '保兑行',
...@@ -75,21 +75,18 @@ ...@@ -75,21 +75,18 @@
grp: 'gidgrp', grp: 'gidgrp',
rol: 'ben', rol: 'ben',
}" }"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
@onAplpDet="onBenpDet"> @onAplpDet="onBenpDet">
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref"> <el-form-item label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref">
<c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bnak's Ref."></c-input> <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bnak's Ref."></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Issuing Bank" prop="gidgrp.iss.pts.extkey"> <el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.gidgrp.iss.pts.extkey" <c-input v-model="model.gidgrp.iss.pts.extkey"
maxlength="16" maxlength="16"
...@@ -114,12 +111,12 @@ ...@@ -114,12 +111,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="地址名称" prop="gidgrp.iss.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input disabled type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='Y'" <c-ptap v-if="model.gitp.swiftflg=='Y'"
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -130,7 +127,7 @@ ...@@ -130,7 +127,7 @@
@onAplpDet="onConpDet" @onAplpDet="onConpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col> -->
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
......
...@@ -34,17 +34,84 @@ ...@@ -34,17 +34,84 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000389 Details --> <!--gitp PD000389 Details -->
<el-tab-pane :label="$t('gitp.PD000389')" name="detp"> <el-tab-pane label="Details" name="detp">
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000210 Undertaking Text --> <!--gitp PD000210 Undertaking Text -->
<el-tab-pane :label="$t('gitp.PD000210')" name="gidtxtp"> <el-tab-pane label="Undertaking Text" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/> <m-gidtxtp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000409 Confirmation Details -->
<el-tab-pane :label="$t('gitp.PD000409')" name="confp"> <el-tab-pane v-if="model.gidgrp.rec.legfrm=='STBY'" label="Confirmation Details" name="confp">
<m-confp :model="model" :codes="codes"/> <m-confp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Liability" name="liability">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="Settlement">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Bookings" name="Booking">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="Completion">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Overview" name="ovwpc">
<c-content>
<m-ovwpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Parties" name="ptypc">
<c-content>
<m-ptypc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Presentation/Delivery" name="preperpc">
<c-content>
<m-preperpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Details" name="detpc">
<c-content>
<m-detpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Undertaking Text" name="gidtxtpc">
<c-content>
<m-gidtxtpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.aacp.aacmod.addamtflg=='X'" label="Seq C : Add Amounts" name="aacp">
<c-content>
<m-aacp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--gitp PD000409 Confirmation Details -->
<!-- <el-tab-pane :label="$t('gitp.PD000409')" name="confp">
<m-confp :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"> <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
...@@ -67,6 +134,22 @@ import Detp from "./Detp" ...@@ -67,6 +134,22 @@ import Detp from "./Detp"
import Gidtxtp from "./Gidtxtp" import Gidtxtp from "./Gidtxtp"
import Confp from "./Confp" import Confp from "./Confp"
import Ovwpc from "./Ovwpc"
import Ptypc from "./Ptypc"
import Preperpc from "./Preperpc"
import Detpc from "./Detpc"
import Gidtxtpc from "./Gidtxtpc"
import Aacp from "./Aacp"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Getopn", name: "Getopn",
...@@ -77,13 +160,29 @@ export default { ...@@ -77,13 +160,29 @@ export default {
"m-detp" : Detp, "m-detp" : Detp,
"m-gidtxtp" : Gidtxtp, "m-gidtxtp" : Gidtxtp,
"m-confp" : Confp, "m-confp" : Confp,
"m-ovwpc" :Ovwpc,
"m-ptypc" : Ptypc,
"m-preperpc" :Preperpc,
"m-detpc" :Detpc,
"m-gidtxtpc" :Gidtxtpc,
"m-aacp" :Aacp,
"m-engp" :Engp,
"m-ccvpan" :Ccvpan,
"m-setpan" : Setpan,
"m-glepan" :Glepan,
"m-coninfp" :Coninfp,
"m-docpan" :Docpan,
"m-doctre" :Doctre,
"m-limitbody" : Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "opnp", tabVal: "opnp",
......
...@@ -4,42 +4,6 @@ ...@@ -4,42 +4,6 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<!-- <c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apc.pts.ref">
<c-input v-model="model.gidgrp.apc.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apc.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.apc.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apc.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf(`gidgrp.apc.pts.extkey`)"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onApcpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name of Party" prop="gidgrp.apc.pts.adrblk">
<c-input type="textarea" v-model="model.gidgrp.apc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24"> <c-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Applicant', title: 'Applicant',
......
...@@ -27,6 +27,14 @@ ...@@ -27,6 +27,14 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px"> <el-table-column prop="tenday" label="Tenor" width="70px">
<template slot-scope="scope">
<c-input
v-model="scope.row.tenday"
style="width: 100%"
placeholder="请输入"
>
</c-input>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px"> <el-table-column prop="rol" label="Dbt." width="70px">
</el-table-column> </el-table-column>
...@@ -56,34 +64,34 @@ ...@@ -56,34 +64,34 @@
</template> --> </template> -->
</el-table-column> </el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right"> <el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
<el-button <el-button
circle circle
style="padding:4px" style="padding: 4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRow(scope)"
> >
</el-button> </el-button>
<el-button <el-button
style="padding:4px" style="padding: 4px"
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
@click="removeRow(scope)" @click="removeRow(scope)"
> >
</el-button> </el-button>
</template> </template>
<template slot-scope="scoped"> <template slot-scope="scoped">
<c-button <c-button
style="margin-left:0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="detail1(scoped.$index, scoped.row)" @click="detail1(scoped.$index, scoped.row)"
>详情</c-button >详情</c-button
> >
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> </c-col>
......
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