Commit a6b9273e by wangna

getamc页面布局

parent 36608e9c
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 Getamc{ export default class Getamc{
constructor () { constructor () {
...@@ -233,110 +234,12 @@ export default class Getamc{ ...@@ -233,110 +234,12 @@ export default class Getamc{
}, },
}, },
reqdat:"", // Confir. Requested on .reqdat reqdat:"", // Confir. Requested on .reqdat
liaall:{ pageId: "", // ctx的key
misamt:"", // Amount not yet assigned .liaall.misamt liaall: new Pub().data.Liaall,
concur:"", // External Booking Amount .liaall.concur setmod: new Pub().data.Setmod,
outpct:"", // Sight Amount Percentage .liaall.outpct mtabut: new Pub().data.Mtabut,
outamt:"", // Sight Amount .liaall.outamt trnmod: new Pub().data.Trnmod,
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflg">Modify Guarantee Text</c-checkbox> <c-col :span="16">
</c-col> <c-col :span="24">
<el-form-item
<c-col :span="12"> label="Guarantee Text with Variables"
<el-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt"> prop="gidgrp.blk.gidtxt"
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text" ></c-input> >
</el-form-item> <c-input
disabled
type="textarea"
rows="15"
v-model="model.gidgrp.blk.gidtxt"
maxlength="65"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="6">
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> <c-checkbox
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> disabled
</el-form-item> v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
>Modify Guarantee Text</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
disabled
v-model="model.gitp.chkgidtxt"
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="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-button
disabled
style="margin: 5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-input
disabled
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
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmod"
>
修改中文保函文本
</c-button>
</c-col>
</c-col> </c-col>
</c-col>
<c-col :span="12"> </c-row>
<c-checkbox v-model="model.gitp.chkgidtxt">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdif">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxt">
Sho&w Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col>
</div> </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/Getamc/Event" import Event from "~/model/Getamc/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
gidtxt:JSON.stringify("'model.gidgrp.blk.gidtxt'"),
} }
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="8">
<c-col :span="12"> <el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg"> <c-select
<c-select v-model="model.gitp.swiftflg" style="width:100%" placeholder="请选择是否SWIFT格式"> v-model="model.gitp.swiftflg"
</c-select> 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="24">
<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">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
disabled
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 100%"
placeholder="请选择对外担保类型"
>
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="8">
<el-form-item label="" prop="model.gidgrp.rec.cmtflg">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</div> </c-col>
</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/Getamc/Event" import Event from "~/model/Getamc/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
codes: {
} ...CodeTable,
}, },
methods:{...Event}, };
created:function(){ },
methods: { ...Event },
} created: function () {},
} };
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Delivery of Undertak."
prop="gidgrp.rec.delori"
>
<c-fullbox>
<c-select
v-model="model.gidgrp.rec.delori"
style="width: 100%"
placeholder="请选择Delivery of Undertak."
>
<el-option
v-for="item in codes.delori"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-input
:disabled="
model.gidgrp.rec.delori == '' ||
model.gidgrp.rec.delori == 'COLL' ||
model.gidgrp.rec.delori == 'MAIL' ||
model.gidgrp.rec.delori == 'MESS' ||
model.gidgrp.rec.delori == 'REGM'
"
v-model="model.gidgrp.rec.deloritxt"
maxlength="35"
placeholder="请输入Delivery of Undertak."
></c-input>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Undertaking Send to" prop="gidgrp.rec.sndto">
<c-select
v-model="model.gidgrp.rec.sndto"
style="width: 100%"
placeholder="请选择Undertaking Send to"
>
<el-option
v-for="item in codes.rolall"
: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="Deliv. To/Collection By"
prop="gidgrp.rec.delto"
>
<c-select
v-model="model.gidgrp.rec.delto"
style="width: 100%"
placeholder="请选择Deliv. To/Collection By"
>
<el-option
v-for="item in codes.delto"
: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.deltoadr"
>
<c-input
:disabled="
model.gidgrp.rec.delto == '' ||
model.gidgrp.rec.delto == 'APPL' ||
model.gidgrp.rec.delto == 'BENE'
"
type="textarea"
v-model="model.gidgrp.blk.deltoadr"
maxlength="35"
show-word-limit
placeholder="请输入Delivery to Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
<c-input
type="textarea"
v-model="model.gidgrp.blk.trfcond"
maxlength="65"
show-word-limit
placeholder="请输入Transfer Conditions"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Charges Condition"> </el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select
v-model="model.gidgrp.rec.chato"
style="width: 100%"
placeholder="请选择Own Charges Borne by"
>
<el-option
v-for="item in codes.trnchato"
: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="Charges">
<c-fullbox>
<template slot="footer">
<c-checkbox v-model="model.gitp.chargi.chkast"
>Allow *</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Additional Details to Code for Charges"
prop="gidgrp.blk.feetxt"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.gidgrp.blk.feetxt"
maxlength="35"
show-word-limit
placeholder="请输入Additional Details to Code for Charges"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onChargiButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="13">
<c-col :span="20">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper">
<c-input
:disabled="model.gitp.prepermodflg==''"
type="textarea"
:rows="5"
v-model="model.gidgrp.blk.preper"
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.prepermodflg"
style="margin: 0 0 0 10px"
>Modify Text</c-checkbox
>
<c-checkbox v-model="model.gitp.chkpreper" style="margin: 0 0 0 10px"
>Allow *</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifpreper"
>
vs. &System
</c-button>
<c-button
disabled
size="small"
style="margin: 5px 0 0 10px"
type="primary"
@click="onGitpButdifhispreper"
>
vs. &History
</c-button>
</c-col>
</c-col>
</c-row>
<!-- <c-col :span="12">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.delori"> <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.delori">
<c-select v-model="model.gidgrp.rec.delori" style="width:100%" placeholder="请选择Delivery of Undertak."> <c-select v-model="model.gidgrp.rec.delori" style="width:100%" placeholder="请选择Delivery of Undertak.">
</c-select> </c-select>
...@@ -97,30 +318,29 @@ ...@@ -97,30 +318,29 @@
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond"> <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item> </el-form-item>
</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/Getamc/Event" import Event from "~/model/Getamc/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
codes: {
} ...CodeTable,
}, },
methods:{...Event}, };
created:function(){ },
methods: { ...Event },
} created: function () {},
} };
</script> </script>
<style> <style>
</style> </style>
...@@ -107,6 +107,10 @@ ...@@ -107,6 +107,10 @@
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
...@@ -123,16 +127,17 @@ ...@@ -123,16 +127,17 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="model.gitp.swiftflg=='N'&&model.gidgrp.ghd.segtyp=='02'" label="汇总征税" name="detpp"> <!-- <el-tab-pane v-if="model.gitp.swiftflg=='N'&&model.gidgrp.ghd.segtyp=='02'" label="汇总征税" name="detpp">
<c-content> <c-content>
<m-detpp :model="model" :codes="codes"/> <m-detpp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="一授信" name="limitbody"> <el-tab-pane label="一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -148,6 +153,7 @@ import Default from "~/model/Getamc/Default"; ...@@ -148,6 +153,7 @@ import Default from "~/model/Getamc/Default";
import Pattern from "~/model/Getamc/Pattern"; import Pattern from "~/model/Getamc/Pattern";
import Conp from "./Conp"; import Conp from "./Conp";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Ovwp20 from "./Ovwp20";
import Preperp from "./Preperp"; import Preperp from "./Preperp";
import Detp from "./Detp"; import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp"; import Gidtxtp from "./Gidtxtp";
...@@ -155,6 +161,7 @@ import Opnp from "./Opnp"; ...@@ -155,6 +161,7 @@ import Opnp from "./Opnp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
...@@ -165,11 +172,13 @@ export default { ...@@ -165,11 +172,13 @@ export default {
components: { components: {
"m-conp": Conp, "m-conp": Conp,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-ovwp20" : Ovwp20,
"m-preperp": Preperp, "m-preperp": Preperp,
"m-detp": Detp, "m-detp": Detp,
"m-gidtxtp": Gidtxtp, "m-gidtxtp": Gidtxtp,
"m-engp": Engp, "m-engp": Engp,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre" :Doctre, "m-doctre" :Doctre,
......
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