Commit 7d4e32bf by Wuyuqiu

infltd交易添加字段,lttopn交易编译

parent 3046d8a1
...@@ -4113,9 +4113,12 @@ const CodeTable = { ...@@ -4113,9 +4113,12 @@ const CodeTable = {
{ label: "8th Third Party", value: "TP8" }, { label: "8th Third Party", value: "TP8" },
{ label: "9th Third Party", value: "TP9" }, { label: "9th Third Party", value: "TP9" },
], ],
seacur:[
{ label: `CNY-人民币`, value: `CNY` },
{ label: `KRW-韩元`, value: `KRW` },
{ label: `NZD-新西兰元`, value: `NZD` },
{ label: `USD-美元`, value: `USD` },
],
lcrtyp: [ lcrtyp: [
{ label: "可转让", value: "IT" }, { label: "可转让", value: "IT" },
{ label: "不可转让", value: "I" }, { label: "不可转让", value: "I" },
......
...@@ -62,12 +62,14 @@ export default class Infltd{ ...@@ -62,12 +62,14 @@ export default class Infltd{
diadatto:"", // date till .infcon.diadatto diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm diastm:"", // stream for diaries to selected contract .infcon.diastm
objinr:"",
}, },
infbut:{ infbut:{
dspstm:"", // display stream .infbut.dspstm dspstm:"", // display stream .infbut.dspstm
}, },
ledgrp:{ ledgrp:{
rec:{ rec:{
inr:"", //.ledgrp.rec.inr
ownref:"", // Reference .ledgrp.rec.ownref ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam nam:"", // Name .ledgrp.rec.nam
avbby:"", // Available by [AVBBY0] .ledgrp.rec.avbby avbby:"", // Available by [AVBBY0] .ledgrp.rec.avbby
......
...@@ -4,12 +4,13 @@ import Utils from "~/utils" ...@@ -4,12 +4,13 @@ import Utils from "~/utils"
* Lttopn Check规则 * Lttopn Check规则
*/ */
let checkObj = { let checkObj = {
"lttp.a2tp.ptsget.sdamod.dadsnd" :null, "liaall.misamt" :null,
"ltdgrp.rec.cnfins" :null, "ltdgrp.rec.cnfins" :null,
"ltdgrp.rec.nomspc" :null, "ltdgrp.rec.nomspc" :null,
"ltdgrp.a2t.adrelc" :null, "ltdgrp.a2t.adrelc" :null,
"ltdgrp.blk.lcrdoc" :null, "ltdgrp.blk.lcrdoc" :null,
"ltdgrp.avt.namelc" :null, "ltdgrp.avt.namelc" :null,
"cnybop.outflg" :null,
"ltdgrp.rec.stacty" :null, "ltdgrp.rec.stacty" :null,
"ltdgrp.a2t.pts.extkey" :null, "ltdgrp.a2t.pts.extkey" :null,
"lttp.usr.extkey" :null, "lttp.usr.extkey" :null,
...@@ -18,39 +19,36 @@ let checkObj = { ...@@ -18,39 +19,36 @@ let checkObj = {
"ltdgrp.rec.opndat" :null, "ltdgrp.rec.opndat" :null,
"ltdgrp.cbs.nom1.amt" :null, "ltdgrp.cbs.nom1.amt" :null,
"ltdgrp.be2.pts.extkey" :null, "ltdgrp.be2.pts.extkey" :null,
"setmod.dspflg" :null,
"ltdgrp.be2.namelc" :null, "ltdgrp.be2.namelc" :null,
"ltdgrp.rmt.adrelc" :null, "ltdgrp.rmt.adrelc" :null,
"ltdgrp.cbs.max.amt" :null, "ltdgrp.cbs.max.amt" :null,
"ltdgrp.rmt.pts.extkey" :null, "ltdgrp.rmt.pts.extkey" :null,
"ltdgrp.blk.dftat" :null, "ltdgrp.blk.dftat" :null,
"lttp.letp0.recget.sdamod.dadsnd" :null,
"ltdgrp.rec.expdat" :null, "ltdgrp.rec.expdat" :null,
"cnybop.cnyflg" :null,
"ltdgrp.cbs.nom1.cur" :null, "ltdgrp.cbs.nom1.cur" :null,
"lttp.drwp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.blk.adlcnd" :null, "ltdgrp.blk.adlcnd" :null,
"lttp.rmtp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.nam" :null, "ltdgrp.be1.pts.nam" :null,
"ltdgrp.blk.spcben" :null,
"ltdgrp.rec.shpdat" :null, "ltdgrp.rec.shpdat" :null,
"ltdgrp.avt.pts.adrblk" :null, "ltdgrp.avt.pts.adrblk" :null,
"ltdgrp.blk.shpper" :null, "ltdgrp.blk.shpper" :null,
"ltdgrp.a2t.pts.adrblk" :null, "ltdgrp.a2t.pts.adrblk" :null,
"ltdgrp.adt.pts.extkey" :null, "ltdgrp.adt.pts.extkey" :null,
"ltdgrp.rec.rmbcha" :null,
"ltdgrp.blk.mixdet" :null, "ltdgrp.blk.mixdet" :null,
"ltdgrp.drw.adrelc" :null, "ltdgrp.drw.adrelc" :null,
"ltdgrp.drw.pts.extkey" :null, "ltdgrp.drw.pts.extkey" :null,
"lttp.ledget.sdamod.dadsnd" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.blk.insbnk" :null, "ltdgrp.blk.insbnk" :null,
"ltdgrp.con.pts.extkey" :null,
"ltdgrp.con.namelc" :null, "ltdgrp.con.namelc" :null,
"ltdgrp.adt.adrelc" :null, "ltdgrp.adt.adrelc" :null,
"ltdgrp.avt.adrelc" :null, "ltdgrp.avt.adrelc" :null,
"ltdgrp.rec.expplc" :null, "ltdgrp.rec.expplc" :null,
"lttp.conp.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be2.pts.adrblk" :null, "ltdgrp.be2.pts.adrblk" :null,
"lttp.be1p.ptsget.sdamod.dadsnd" :null, "cnybop.traflg" :null,
"ltdgrp.rec.apprulrmb" :null,
"ltdgrp.rec.avbwth" :null, "ltdgrp.rec.avbwth" :null,
"ltdgrp.blk.spcrcb" :null,
"ltdgrp.blk.feetxt" :null, "ltdgrp.blk.feetxt" :null,
"ltdgrp.rec.avbby" :null, "ltdgrp.rec.avbby" :null,
"ltdgrp.blk.preper" :null, "ltdgrp.blk.preper" :null,
...@@ -60,24 +58,24 @@ let checkObj = { ...@@ -60,24 +58,24 @@ let checkObj = {
"ltdgrp.adt.pts.adrblk" :null, "ltdgrp.adt.pts.adrblk" :null,
"ltdgrp.rec.prepers18" :null, "ltdgrp.rec.prepers18" :null,
"ltdgrp.blk.lcrgod" :null, "ltdgrp.blk.lcrgod" :null,
"lttp.be2p.ptsget.sdamod.dadsnd" :null,
"ltdgrp.be1.pts.extkey" :null, "ltdgrp.be1.pts.extkey" :null,
"ltdgrp.avt.pts.extkey" :null, "ltdgrp.avt.pts.extkey" :null,
"ltdgrp.rec.apprultxt" :null, "ltdgrp.rec.apprultxt" :null,
"ltdgrp.rmt.pts.adrblk" :null, "ltdgrp.rmt.pts.adrblk" :null,
"lttp.recget.sdamod.dadsnd" :null, "mtabut.coninf.conexedat" :null,
"cnybop.libflg" :null,
"ltdgrp.adt.namelc" :null, "ltdgrp.adt.namelc" :null,
"ltdgrp.con.adrelc" :null, "ltdgrp.con.adrelc" :null,
"ltdgrp.rec.lcrtyp" :null, "ltdgrp.rec.lcrtyp" :null,
"ltdgrp.rec.tenmaxday" :null, "ltdgrp.rec.tenmaxday" :null,
"ltdgrp.rec.apprul" :null, "ltdgrp.rec.apprul" :null,
"lttp.adtp.ptsget.sdamod.dadsnd" :null, "setmod.docamt" :null,
"ltdgrp.blk.defdet" :null, "ltdgrp.blk.defdet" :null,
"ltdgrp.drw.namelc" :null, "ltdgrp.drw.namelc" :null,
"ltdgrp.drw.pts.adrblk" :null, "ltdgrp.drw.pts.adrblk" :null,
"ltdgrp.a2t.namelc" :null, "ltdgrp.a2t.namelc" :null,
"ltdgrp.con.pts.adrblk" :null, "ltdgrp.con.pts.adrblk" :null,
"lttp.avtp.ptsget.sdamod.dadsnd" :null, "cnybop.vouflg" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
size="small" size="small"
:validate-on-rule-change="false" :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">
<!--Settle BC --> <!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset"> <el-tab-pane label="Settle BC" name="bctset">
<c-content> <c-content>
...@@ -133,7 +133,13 @@ export default { ...@@ -133,7 +133,13 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, // tabClick() {},
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
}, },
created: async function () { created: async function () {
console.log("进入bctacc交易"); console.log("进入bctacc交易");
......
...@@ -218,21 +218,21 @@ const BusRouter = [ ...@@ -218,21 +218,21 @@ const BusRouter = [
{ path: 'cctset', component: Cctset, name: 'Cctset', meta: { title: '光票托收收汇' } }, { path: 'cctset', component: Cctset, name: 'Cctset', meta: { title: '光票托收收汇' } },
{ path: 'cctsel', component: Cctsel, name: 'Cctsel', meta: { title: '光票托收入口交易' } }, { path: 'cctsel', component: Cctsel, name: 'Cctsel', meta: { title: '光票托收入口交易' } },
{ path: 'cctdcr', component: Cctdcr, name: 'Cctdcr', meta: { title: '光票托收退票' } }, { path: 'cctdcr', component: Cctdcr, name: 'Cctdcr', meta: { title: '光票托收退票' } },
{ path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让证开立' } }, { path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让信用证开立' } },
{ path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让证修改' } }, { path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让信用证修改' } },
{ path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让证注销' } }, { path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让信用证注销' } },
{ path: 'infbtd', component: Infbtd, name: 'Infbtd', meta: { title: '转让证单据查询' } }, { path: 'infbtd', component: Infbtd, name: 'Infbtd', meta: { title: '转让信用证单据查询' } },
{ path: 'infltd', component: Infltd, name: 'Infltd', meta: { title: '转让证查询' } }, { path: 'infltd', component: Infltd, name: 'Infltd', meta: { title: '转让信用证查询' } },
{ path: 'bttdck', component: Bttdck, name: 'Bttdck', meta: { title: '转让证单据第一受益人换单' } }, { path: 'bttdck', component: Bttdck, name: 'Bttdck', meta: { title: '转让信用证单据第一受益人换单' } },
{ path: 'bttsnd', component: Bttsnd, name: 'Bttsnd', meta: { title: '转让证单据寄单' } }, { path: 'bttsnd', component: Bttsnd, name: 'Bttsnd', meta: { title: '转让信用证单据寄单' } },
{ path: 'bttdcr', component: Bttdcr, name: 'Bttdcr', meta: { title: '转让证单据拒单' } }, { path: 'bttdcr', component: Bttdcr, name: 'Bttdcr', meta: { title: '转让信用证单据拒单' } },
{ path: 'bttdrv', component: Bttdrv, name: 'Bttdrv', meta: { title: '转让修改单据金额' } }, { path: 'bttdrv', component: Bttdrv, name: 'Bttdrv', meta: { title: '转让信用证修改单据金额' } },
{ path: 'bttcan', component: Bttcan, name: 'Bttcan', meta: { title: '转让证单据注销' } }, { path: 'bttcan', component: Bttcan, name: 'Bttcan', meta: { title: '转让信用证单据注销' } },
{ path: 'bttacc', component: Bttacc, name: 'Bttacc', meta: { title: '转让证单据承兑' } }, { path: 'bttacc', component: Bttacc, name: 'Bttacc', meta: { title: '转让信用证单据承兑' } },
{ path: 'bttset', component: Bttset, name: 'Bttset', meta: { title: '转让证单据收汇' } }, { path: 'bttset', component: Bttset, name: 'Bttset', meta: { title: '转让信用证单据收汇' } },
{ path: 'bttrcl', component: Bttrcl, name: 'Bttrcl', meta: { title: '转让证单据索汇' } }, { path: 'bttrcl', component: Bttrcl, name: 'Bttrcl', meta: { title: '转让信用证单据索汇' } },
{ path: 'lttdav', component: Lttdav, name: 'Lttdav', meta: { title: '转让证通知到单' } }, { path: 'lttdav', component: Lttdav, name: 'Lttdav', meta: { title: '转让信用证通知到单' } },
{ path: 'lttdck', component: Lttdck, name: 'Lttdck', meta: { title: '转让第二受益人交单' } }, { path: 'lttdck', component: Lttdck, name: 'Lttdck', meta: { title: '转让信用第二受益人交单' } },
{ path: 'brtset', component: Brtset, name: 'Brtset', meta: { title: '进口信用证单据进口付汇' } }, { path: 'brtset', component: Brtset, name: 'Brtset', meta: { title: '进口信用证单据进口付汇' } },
{ path: 'bdtudp', component: Bdtudp, name: 'Bdtudp', meta: { title: '国内证承兑' } }, { path: 'bdtudp', component: Bdtudp, name: 'Bdtudp', meta: { title: '国内证承兑' } },
{ path: 'bdtdcr', component: Bdtdcr, name: 'Bdtdcr', meta: { title: '国内证不符点/拒付' } }, { path: 'bdtdcr', component: Bdtdcr, name: 'Bdtdcr', meta: { title: '国内证不符点/拒付' } },
......
<template> <template>
<c-page title="转让信用证查询">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -9,149 +11,43 @@ ...@@ -9,149 +11,43 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<m-infsea v-show="!showPanel" @updateShowPanel="updateShowPanel($event)" :model="model" :codes="codes" ref="infsea"/> <!--PD000006 Selection -->
<el-tab-pane label="转让信用证查询" name="infsea">
<c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 -->
<!-- <el-tab-pane label="Selection" name="infsea">
<c-content>
<m-infsea :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Overview" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="Details" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="Parties" name="ptyp">
<c-content> <c-content>
<m-ptyp :model="model" :codes="codes" /> <m-infsea :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000169 -->
<el-tab-pane label="Orig.L/C Details" name="lttinf">
<m-lttinf :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="Transaction" name="trnpan">
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="GLE Info" name="gleinfp">
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </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> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Infltd from "~/model/Infltd"; import Infltd from "~/model/Infltd"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infltd/Check"; import Check from "~/model/Infltd/Check"
import Default from "~/model/Infltd/Default"; import Default from "~/model/Infltd/Default"
import Pattern from "~/model/Infltd/Pattern"; import Pattern from "~/model/Infltd/Pattern"
import Infsea from "./Infsea"; import Infsea from "./Infsea"
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Lttinf from "./Lttinf";
import Coninfp from "./Coninfp";
import Trnpan from "./Trnpan";
import Cbsinfp from "./Cbsinfp";
import Cbeinfp from "./Cbeinfp";
import Fepinfp from "./Fepinfp";
import Sepinfp from "./Sepinfp";
import Gleinfp from "./Gleinfp";
import Smhinfp from "./Smhinfp";
import Peninfp from "./Peninfp";
import Prtpan from "./Prtpan";
export default { export default {
components: { name: "Infltd",
"m-infsea": Infsea, components:{
"m-ovwp": Ovwp, "m-infsea" : Infsea,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-lttinf": Lttinf,
"m-coninfp": Coninfp,
"m-trnpan": Trnpan,
"m-cbsinfp": Cbsinfp,
"m-cbeinfp": Cbeinfp,
"m-fepinfp": Fepinfp,
"m-sepinfp": Sepinfp,
"m-gleinfp": Gleinfp,
"m-smhinfp": Smhinfp,
"m-peninfp": Peninfp,
"m-prtpan": Prtpan,
}, },
provide() { provide() {
return { return {
root: this, root: this
}; }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() { data(){
return { return {
tabVal: "infsea", tabVal: "infsea",
trnName: "infltd", trnName: "infltd",
...@@ -160,59 +56,32 @@ export default { ...@@ -160,59 +56,32 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
showPanel:false, codes:{...CodeTable},
codes: { ...CodeTable },
};
},
methods: {
goBack(){
this.showPanel = false;
},
tabClick(tab) {
const name = tab.name
let rulePath;
if (name === "fepinfp") {
rulePath = "infcon.fepinfp";
}
if (name === "coninfp") {
rulePath = "coninf.coninfp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
})
} }
}, },
initPanel(val){ methods:{
if(val){ tabClick(){
this.tabVal = "ovwp"
//
}else{
this.tabVal = ""
} }
}, },
async updateShowPanel(value) { created:async function(){
this.showPanel = value;
this.initPanel(value);
},
},
created: async function () {
console.log("进入infltd交易"); console.log("进入infltd交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if(rtnmsg.respCode == SUCCESS)
console.log("ini方法:"); {
//TODO 处理数据逻辑 //更新数据
} else { this.updateModel(rtnmsg.data)
this.$notify.error({ title: "错误", message: "服务请求失败!" }); // Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
} }
}, }
}; else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea> <!-- SF000264 : Additional Conditions -->
<!-- Special payment conditions for beneficiary -->
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg"
>受益人特殊付款条款</c-checkbox
>
</c-col>
<!-- Special payment conditions for receiving bank -->
<c-col :span="24" class="lttopn_adcp_check">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">
收款银行特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="24" class="lttopn_adcp_cheak"> <c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.redclsflg" <c-form-item :label="$t('lttp.SF000264')" prop="ltdgrp.blk.adlcnd">
>Red/Green Clause</c-checkbox <c-input type="textarea" v-model="model.ltdgrp.blk.adlcnd" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000264')" ></c-input>
> </c-form-item>
</c-col>
<c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
<!-- <c-col :span="24">
<c-col :span="20">
<el-form-item label="附加条件" prop="ltdgrp.blk.adlcnd">
<c-input type="textarea"
:autosize="{ minRows: 6, maxRows: 8}"
style="height:100%;width:100%;margin-right:20px;"
v-model="model.ltdgrp.blk.adlcnd"
maxlength="65"
show-word-limit placeholder="请输入Additional Conditions"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4" class="lttopn_dogp_button"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
... {{$t('lttp.CF000261')}}
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24" class="lttopn_adcp_check"> <c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.spcbenflg" <c-checkbox v-model="model.ltdgrp.rec.spcbenflg">{{$t('lttp.CG000379')}}</c-checkbox>
>受益人特殊付款条款</c-checkbox>
</c-col> </c-col>
<c-col :span="24" class="lttopn_adcp_check"> <c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">收款银行特殊付款条款</c-checkbox> <c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">{{$t('lttp.CG000380')}}</c-checkbox>
</c-col> </c-col>
<c-col :span="24" class="lttopn_adcp_check"> <c-col :span="12">
<c-checkbox <c-checkbox v-model="model.ltdgrp.rec.redclsflg">{{$t('lttp.CF000263')}}</c-checkbox>
v-model="model.ltdgrp.rec.redclsflg">Red/Green Clause?</c-checkbox>
</c-col> </c-col>
<!-- SF000265 : Instructions to Pay., -->
<c-col :span="20"> <c-col :span="12">
<el-form-item label="付款、承兑、议付银行指示" prop="ltdgrp.blk.insbnk"> <c-form-item :label="$t('lttp.SF000265')" prop="ltdgrp.blk.insbnk">
<c-input type="textarea" <c-input type="textarea" v-model="model.ltdgrp.blk.insbnk" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000265')" ></c-input>
:autosize="{ minRows: 6, maxRows: 8}" </c-form-item>
style="height:100%;width:100%;margin-right:20px;"
v-model="model.ltdgrp.blk.insbnk"
maxlength="65"
show-word-limit placeholder="请输入Instructions to Pay.,"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4" class="lttopn_dogp_button"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
... {{$t('lttp.CF000262')}}
</c-button> </c-button>
</c-col>--> </c-col>
<!-- SF000266 : Accept., Negot. Bank -->
</div> </div>
</template> </template>
<script> <script>
...@@ -84,28 +50,11 @@ import Event from "~/model/Lttopn/Event" ...@@ -84,28 +50,11 @@ import Event from "~/model/Lttopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
components: { "c-blkTextarea": BlkTextarea },
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
blk: {
blkMsg: { }
title: "附加条件",
dataUrl: "ledgrp.blk.adlcnd", //字段所在model路劲
rows: 16,
},
rulePath: "letp.adlcnd.buttxmsel",
},
blk1: {
blkMsg: {
title: "付款、承兑、议付银行指示",
dataUrl: "ledgrp.blk.insbnk", //字段所在model路劲
rows: 4,
maxlength: 2000,
},
rulePath: "letp.insbnk.buttxmsel",
},
};
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
...@@ -114,7 +63,5 @@ export default { ...@@ -114,7 +63,5 @@ export default {
} }
</script> </script>
<style> <style>
.lttopn_adcp_check {
margin: 0px 0 10px 150px;
}
</style> </style>
<template>
<div class="eibs-tab">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')">
</c-select>
</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/Lttopn/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">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea> <!-- SF000249 : Description of Goods -->
<br />
<!-- <c-col :span="12">
<el-form-item label="货物类型" prop="ledgrp.rec.stagod">
<c-select
v-model="model.ledgrp.rec.stagod"
style="width: 100%"
placeholder="请选择货物类型 "
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<c-col :span="20">
<el-form-item label="Description of Goods" prop="ltdgrp.blk.lcrgod">
<c-input type="textarea"
:autosize="{ minRows: 20, maxRows: 38}"
v-model="model.ltdgrp.blk.lcrgod"
maxlength="65"
style="height:100%;width:100%;margin-right:20px;"
show-word-limit placeholder="请输入Description of Goods"
></c-input> <c-col :span="12">
</el-form-item> <c-form-item :label="$t('lttp.SF000249')" prop="ltdgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.ltdgrp.blk.lcrgod" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000249')" ></c-input>
</c-form-item>
</c-col> </c-col>
<c-col :span="4" class="lttopn_dogp_button"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
... {{$t('lttp.CF000248')}}
</c-button> </c-button>
</c-col> </c-col>
</c-col>-->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; 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/Lttopn/Event"; import Event from "~/model/Lttopn/Event"
import BlkTextarea from "~/views/Public/BlkTextarea";
export default { export default {
inject: ["root"], inject: ['root'],
props: ["model", "codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "c-blkTextarea": BlkTextarea }, data(){
data() {
return { return {
blk: {
blkMsg: { }
title: "货物说明",
dataUrl: "ltdgrp.blk.lcrgod", //字段所在model路径
rows: 20,
},
rulePath: "lttp.lcrgod.buttxmsel",
},
};
}, },
methods: { ...Event }, methods:{...Event},
created: function () {}, created:function(){
};
}
}
</script> </script>
<style> <style>
.lttopn_dogp_button {
margin: 20px 0 0 0px;
}
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <!-- SF000251 : Documents Required -->
<c-col :span="20">
<el-form-item label="单据要求" prop="ltdgrp.blk.lcrdoc"> <c-col :span="12">
<c-input type="textarea" <c-form-item :label="$t('lttp.SF000251')" prop="ltdgrp.blk.lcrdoc">
:autosize="{ minRows: 20, maxRows: 38}" <c-input type="textarea" v-model="model.ltdgrp.blk.lcrdoc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000251')" ></c-input>
style="height:100%;width:100%;margin-right:20px;" </c-form-item>
v-model="model.ltdgrp.blk.lcrdoc"
maxlength="65"
show-word-limit placeholder="请输入Documents Required"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
... {{$t('lttp.CF000250')}}
</c-button> </c-button>
</c-col> </c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" :placeholder="$t('other.please_enter')+'Booking stream to Display'"></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/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG000374 : Special Payment Cond. -->
<c-col :span="12">
<c-form-item :label="$t('lttp.SG000374')" prop="ltdgrp.blk.spcben">
<c-input type="textarea" v-model="model.ltdgrp.blk.spcben" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SG000374')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
{{$t('lttp.CG000382')}}
</c-button>
</c-col>
<!-- SG000381 : for Beneficiary -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG000373 : Special Payment Cond. -->
<c-col :span="12">
<c-form-item :label="$t('lttp.SG000373')" prop="ltdgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.ltdgrp.blk.spcrcb" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SG000373')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
{{$t('lttp.CG000383')}}
</c-button>
</c-col>
<!-- SG000384 : for Receiving Bank only -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<el-form <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
:model="model" <!--lttp PD000001 Overview -->
:rules="rules" <el-tab-pane :label="$t('lttp.PD000001')" name="ovwp">
ref="modelForm" <m-ovwp :model="model" :codes="codes"/>
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--lttp PD000169 Orig. L/C Details -->
<!--PD000077 --> <el-tab-pane :label="$t('lttp.PD000169')" name="lttinf">
<el-tab-pane label="信用证详情" name="detp"> <m-lttinf :model="model" :codes="codes"/>
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--lttp PD000042 Parties -->
<!--PD000042 --> <el-tab-pane :label="$t('lttp.PD000042')" name="ptyp">
<el-tab-pane label="其他当事人" name="ptyp"> <m-ptyp :model="model" :codes="codes"/>
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--lttp PD000057 Goods -->
<!--PD000057 --> <el-tab-pane :label="$t('lttp.PD000057')" name="dogp">
<el-tab-pane label="货物说明" name="dogp"> <m-dogp :model="model" :codes="codes"/>
<!-- <m-dogp :model="model" :codes="codes" /> -->
<c-content>
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'ltd'" />
</c-content>
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane
v-if="model.ltdgrp.rec.spcbenflg"
label="受益人特殊付款条款"
name="spcbenp"
>
<c-content>
<m-spcbenp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--lttp PD000060 Documents -->
<!--PD000395 --> <el-tab-pane :label="$t('lttp.PD000060')" name="dorp">
<el-tab-pane <m-dorp :model="model" :codes="codes"/>
v-if="model.ltdgrp.rec.spcrcbflg"
label="收款银行特殊付款条款"
name="spcrcvp"
>
<c-content>
<m-spcrcvp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000065 -->
<el-tab-pane label="Rbip" name="rbip">
<c-content>
<m-rbip :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--setmod PD000000 Settlement -->
<!--PD000073 --> <el-tab-pane :label="$t('setmod.PD000000')" name="setpan">
<el-tab-pane label="附加条款" name="adcp"> <m-setpan :model="model" :codes="codes"/>
<!-- <m-adcp :model="model" :codes="codes" /> -->
<c-content>
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'ltd'"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--glemod PD000001 -->
<!--PD000169 --> <el-tab-pane :label="$t('glemod.PD000001')" name="glepan">
<el-tab-pane label="Lttinf" name="lttinf"> <m-glepan :model="model" :codes="codes"/>
<c-content>
<m-lttinf :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion -->
<!--PD000060 --> <el-tab-pane :label="$t('coninf.PD000000')" name="coninfp">
<el-tab-pane label="单据要求" name="dorp"> <m-coninfp :model="model" :codes="codes"/>
<!-- <m-dorp :model="model" :codes="codes" /> --> </el-tab-pane>
<c-content> <!--trndoc PD000529 &Messages -->
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'ltd'" /> <el-tab-pane :label="$t('trndoc.PD000529')" name="docpan">
</c-content> <m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane :label="$t('cnybop.PD000002')" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--lttp PD000371 Special Payment Beneficiary -->
<el-tab-pane :label="$t('lttp.PD000371')" name="spcbenp">
<m-spcbenp :model="model" :codes="codes"/>
</el-tab-pane>
<!--lttp PD000372 Special Payment Rcv Bank only -->
<el-tab-pane :label="$t('lttp.PD000372')" name="spcrcvp">
<m-spcrcvp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane :label="$t('liaall.PD000027')" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--lttp PD000073 Add. Cond. -->
<el-tab-pane :label="$t('lttp.PD000073')" name="adcp">
<m-adcp :model="model" :codes="codes"/>
</el-tab-pane>
<!--lttp PD000077 Details -->
<el-tab-pane :label="$t('lttp.PD000077')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable"
import Lttopn from "~/model/Lttopn"; import Lttopn from "~/model/Lttopn"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Lttopn/Check"; import Check from "~/model/Lttopn/Check"
import Default from "~/model/Lttopn/Default"; import Default from "~/model/Lttopn/Default"
import Pattern from "~/model/Lttopn/Pattern"; import Pattern from "~/model/Lttopn/Pattern"
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp"
import Detp from "./Detp"; import Lttinf from "./Lttinf"
import Ptyp from "./Ptyp"; import Ptyp from "./Ptyp"
//import Dogp from "./Dogp"; import Dogp from "./Dogp"
import Rbip from "./Rbip"; import Dorp from "./Dorp"
//import Adcp from "./Adcp"; import Setpan from "./Setpan"
import Lttinf from "./Lttinf"; import Glepan from "./Glepan"
//import Dorp from "./Dorp"; import Coninfp from "./Coninfp"
import Doxp from "~/views/Public/Doxp"; import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Cnyp from "./Cnyp"
import Spcbenp from "./Spcbenp"
import Spcrcvp from "./Spcrcvp"
import Engp from "./Engp"
import Adcp from "./Adcp"
import Detp from "./Detp"
export default { export default {
components: { name: "Lttopn",
"m-ovwp": Ovwp, components:{
"m-detp": Detp, "m-ovwp" : Ovwp,
"m-ptyp": Ptyp, "m-lttinf" : Lttinf,
// "m-dogp": Dogp, "m-ptyp" : Ptyp,
"m-rbip": Rbip, "m-dogp" : Dogp,
// "m-adcp": Adcp, "m-dorp" : Dorp,
"m-lttinf": Lttinf, "m-setpan" : Setpan,
// "m-dorp": Dorp, "m-glepan" : Glepan,
"m-doxp": Doxp, "m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-cnyp" : Cnyp,
"m-spcbenp" : Spcbenp,
"m-spcrcvp" : Spcrcvp,
"m-engp" : Engp,
"m-adcp" : Adcp,
"m-detp" : Detp,
}, },
provide() { provide() {
return { return {
root: this, root: this
}; }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() { data(){
return { return {
tabVal: "ovwp", tabVal: "",
trnName: "lttopn", trnName: "lttopn",
trnType: "",
model: new Lttopn().data, model: new Lttopn().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable}, codes: {
};
}, },
methods: { }
tabClick() {}, },
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
}, },
created: async function () { created:async function(){
console.log("进入lttopn交易"); console.log("进入lttopn交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
} }
console.log("1111", this.model); else
} else { {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, }
}; }
</script> </script>
<style> <style>
</style> </style>
...@@ -110,18 +110,8 @@ export default { ...@@ -110,18 +110,8 @@ export default {
// { inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" }, // { inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" },
// { inifrm: "botcan", ininam: "出口托收闭卷", pntmiu: "6" }, // { inifrm: "botcan", ininam: "出口托收闭卷", pntmiu: "6" },
{ inifrm: "7", ininam: "转让信用证", pntmiu: "" }, { inifrm: "7", ininam: "转让信用证", pntmiu: "" },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "7" }, { inifrm: "infltd", ininam: "转让信用证查询", pntmiu: "7" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "7" }, { inifrm: "infbtd", ininam: "转让信用证单据查询", pntmiu: "7" },
{ inifrm: "lttcan", ininam: "转让证注销", pntmiu: "7" },
{ inifrm: "bttsnd", ininam: "转让证单据寄单", pntmiu: "7" },
{ inifrm: "bttdrv", ininam: "转让证修改单据金额", pntmiu: "7" },
{ inifrm: "bttdcr", ininam: "转让证单据拒单", pntmiu: "7" },
{
inifrm: "lttdav",
ininam: "转让信用证单据第一受益人换单",
pntmiu: "7",
},
{ inifrm: "bttdck", ininam: "转让信用证通知到单", pntmiu: "7" },
{ inifrm: "8", ininam: "打包托收", pntmiu: "" }, { inifrm: "8", ininam: "打包托收", pntmiu: "" },
{ inifrm: "cltdav", ininam: "打包托收开立", pntmiu: "8" }, { inifrm: "cltdav", ininam: "打包托收开立", pntmiu: "8" },
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" }, { inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" },
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px"> <el-table-column prop="cbtpfx" label="Type" width="60px">
</el-table-column> </el-table-column>
<el-table-column prop="matdat" label="Maturity"> <el-table-column prop="matdat" label="Maturity" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-date-picker <c-date-picker
type="date" type="date"
......
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