Commit d7aac2ba by Wuyuqiu

lttopn交易页面布局

parent d8d4b258
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
], ],
"ltdgrp.rec.apprultxt":[ "ltdgrp.rec.apprultxt":[
{type: "string", required: true, message: "必输项"}, {required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
...@@ -551,21 +551,21 @@ export default { ...@@ -551,21 +551,21 @@ export default {
"ltdgrp.blk.mixdet":[ "ltdgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ltdgrp.blk.avbwthtxt":[ "ltdgrp.blk.avbwthtxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ltdgrp.blk.preper":[ "ltdgrp.blk.preper":[
{type: "string", required: true, message: "必输项"}, {type: "string",type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {type: "string",max: 35,message:"长度不能超过35"}
], ],
"ltdgrp.rec.prepers18":[ "ltdgrp.rec.prepers18":[
{type: "string", required: false, message: "必输项"}, { required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 999,message:"长度不能超过3"}
], ],
"ltdgrp.rec.prepertxts18":[ "ltdgrp.rec.prepertxts18":[
...@@ -575,16 +575,16 @@ export default { ...@@ -575,16 +575,16 @@ export default {
"ltdgrp.blk.defdet":[ "ltdgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ltdgrp.blk.feetxt":[ "ltdgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"ltdgrp.blk.dftat":[ "ltdgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"lttp.drwp.ptsget.sdamod.dadsnd":[ "lttp.drwp.ptsget.sdamod.dadsnd":[
...@@ -639,7 +639,7 @@ export default { ...@@ -639,7 +639,7 @@ export default {
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"ltdgrp.blk.shpper":[ "ltdgrp.blk.shpper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
} }
\ No newline at end of file
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 10px 0 0; padding: 0 12px" style="margin-left:10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
...@@ -304,11 +304,11 @@ ...@@ -304,11 +304,11 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="in" prop="ltdgrp.rec.expplc"> <el-form-item label="in" prop="ltdgrp.rec.expplc">
<c-input <c-select
v-model="model.ltdgrp.rec.expplc" v-model="model.ltdgrp.rec.expplc"
maxlength="29" style="width: 100%"
placeholder="Please input in" placeholder="Please input in"
></c-input> ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -385,20 +385,32 @@ ...@@ -385,20 +385,32 @@
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '1st Beneficiary Ref.', title: '1st Beneficiary',
grp: 'ltdgrp', grp: 'ltdgrp',
rol: 'be1', rol: 'be1',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
:onlySearch="true"
> >
</c-ptap> </c-ptap>
<c-col :span="24">
<el-form-item label="" prop="ltdgrp.be1.pts.nam">
<c-input
v-model="model.ltdgrp.be1.pts.nam"
maxlength="40"
placeholder="Please input nam"
disabled
></c-input>
</el-form-item>
</c-col>
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: 'Advising Bank Ref.', title: 'Advising Bank',
grp: 'ltdgrp', grp: 'ltdgrp',
rol: 'adt', rol: 'adt',
}" }"
...@@ -411,7 +423,7 @@ ...@@ -411,7 +423,7 @@
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: 'Applicant', title: '2nd Beneficiary',
grp: 'ltdgrp', grp: 'ltdgrp',
rol: 'be2', rol: 'be2',
}" }"
...@@ -797,7 +809,7 @@ import Ptap from "~/views/Public/Ptap"; ...@@ -797,7 +809,7 @@ import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- SF000237 : 2nd Advising Bank --> <!-- left -->
<!-- S0000320 : Ref. --> <c-col :span="11">
<c-col :span="24">
<!-- <c-col :span="12"> <c-ptap
:model="model"
:argadr="{
title: '2nd Advising Bank',
grp: 'ltdgrp',
rol: 'a2t',
}"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Confirming Bank',
grp: 'ltdgrp',
rol: 'con',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Reimbursement Bank(MT 740)',
grp: 'ltdgrp',
rol: 'rmt',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Available with Bank',
grp: 'ltdgrp',
rol: 'avt',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
</c-col>
<!-- =============================底部表格========================= -->
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
<!-- SF000237 : 2nd Advising Bank -->
<!-- S0000320 : Ref. -->
<!-- <c-col :span="12">
<c-form-item :label="$t('lttp.SF000237')" prop="ltdgrp.a2t.pts.ref"> <c-form-item :label="$t('lttp.SF000237')" prop="ltdgrp.a2t.pts.ref">
<c-input v-model="model.ltdgrp.a2t.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000237')"></c-input> <c-input v-model="model.ltdgrp.a2t.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000237')"></c-input>
</c-form-item> </c-form-item>
</c-col> --> </c-col> -->
<!-- SF000316 : Reimbursement Bank (MT 740) --> <!-- SF000316 : Reimbursement Bank (MT 740) -->
<!-- SF000236 : Ref. --> <!-- SF000236 : Ref. -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('lttp.SF000316')" prop="ltdgrp.rmt.pts.ref"> <c-form-item :label="$t('lttp.SF000316')" prop="ltdgrp.rmt.pts.ref">
<c-input v-model="model.ltdgrp.rmt.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000316')"></c-input> <c-input v-model="model.ltdgrp.rmt.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000316')"></c-input>
</c-form-item> </c-form-item>
...@@ -112,18 +189,18 @@ ...@@ -112,18 +189,18 @@
<c-input type="textarea" v-model="model.ltdgrp.rmt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> <c-input type="textarea" v-model="model.ltdgrp.rmt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item> </c-form-item>
</c-col> --> </c-col> -->
<!-- SF000385 : Confirming Bank --> <!-- SF000385 : Confirming Bank -->
<!-- SF000386 : Ref. --> <!-- SF000386 : Ref. -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('lttp.SF000385')" prop="ltdgrp.con.pts.ref"> <c-form-item :label="$t('lttp.SF000385')" prop="ltdgrp.con.pts.ref">
<c-input v-model="model.ltdgrp.con.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000385')"></c-input> <c-input v-model="model.ltdgrp.con.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000385')"></c-input>
</c-form-item> </c-form-item>
</c-col> --> </c-col> -->
<!-- SF000319 : Available with Bank --> <!-- SF000319 : Available with Bank -->
<!-- SF000235 : Ref. --> <!-- SF000235 : Ref. -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('lttp.SF000319')" prop="ltdgrp.avt.pts.ref"> <c-form-item :label="$t('lttp.SF000319')" prop="ltdgrp.avt.pts.ref">
<c-input v-model="model.ltdgrp.avt.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000319')"></c-input> <c-input v-model="model.ltdgrp.avt.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('lttp.SF000319')"></c-input>
</c-form-item> </c-form-item>
...@@ -224,9 +301,9 @@ ...@@ -224,9 +301,9 @@
<c-input type="textarea" v-model="model.ltdgrp.avt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input> <c-input type="textarea" v-model="model.ltdgrp.avt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item> </c-form-item>
</c-col> --> </c-col> -->
<!-- S0000060 : 其他关联方 --> <!-- S0000060 : 其他关联方 -->
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<div class="e-table-wrapper"> <div class="e-table-wrapper">
<el-table <el-table
:data="model.lttp.ptsaddp.ptsaddg" :data="model.lttp.ptsaddp.ptsaddg"
...@@ -266,26 +343,54 @@ ...@@ -266,26 +343,54 @@
</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 Ptap from "~/views/Public/Ptap";
export default { export default {
inject: ['root'], components: { "c-ptap": Ptap },
props:["model","codes"], inject: ["root"],
mixins: [commonProcess], props: ["model", "codes"],
data(){ mixins: [commonProcess],
return { data() {
return {
} ptsaddg: {
}, columns: [
methods:{...Event}, {
created:function(){ title: "Role",
width: "120px",
} dataIndex: "rol",
} show: "select",
},
{
title: "Party",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "Name of Party",
width: "300px",
dataIndex: "nam",
},
{
title: "Reference for Address",
width: "300px",
dataIndex: "ref",
},
],
urls: "lttp.ptsaddp.ptsaddg",
},
};
},
methods: { ...Event,
handleEdit() {
console.log("1111测试");
}, },
created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
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