Commit 49efbe24 by 杜大兵

infled查询界面码表绑定

parent 335d0a05
...@@ -5974,11 +5974,49 @@ const CodeTable = { ...@@ -5974,11 +5974,49 @@ const CodeTable = {
{label:'ORD Correction',value:'CMR'}, {label:'ORD Correction',value:'CMR'},
{label:'ReRouting',value:'ROU'}, {label:'ReRouting',value:'ROU'},
], ],
swftypOpnp:[ swftypOpnp:[
{label:'MT103',value:'103'}, {label:'MT103',value:'103'},
{label:'Mt202 COV',value:'202'}, {label:'Mt202 COV',value:'202'},
{label:'MT202',value:'200'}, {label:'MT202',value:'200'},
{label:'Other',value:'OTH'}, {label:'Other',value:'OTH'},
] ],
infled_role:[
{label:"2nd Advising Bank",value:"0" },
{label:"Acc.with Bank(ACW)",value:"1" },
{label:"Advising Bank",value:"2" },
{label:"Applicant's Bank",value:"3" },
{label:"Applicant",value:"4" },
{label:"Available with Bank",value:"5"},
{label:"2nd Beneficiary",value:"6" },
{label:"Beneficiary's Bank",value:"7" },
{label:"Beneficiary",value:"8" },
{label:"Confirming Bank",value:"9" },
{label:"Drawee(DRW)",value:"10" },
{label:"Issuing Bank",value:"11" },
{label:"Old Account Party",value:"12" },
{label:"Remibursement Bank",value:"13" },
{label:"Third Party",value:"14" },
{label:"1st Third Party",value:"15" },
{label:"2nd Third Party",value:"16" },
{label:"3rd Third Party",value:"17" },
{label:"4th Third Party",value:"18" },
{label:"5th Third Party",value:"19" },
{label:"6th Third Party",value:"20" },
{label:"7th Third Party",value:"21" },
{label:"8th Third Party",value:"22" },
{label:"9th Third Party",value:"23" },
],
infled_Cur:[
{label:"CNY 人民币",value:"CNY" },
{label:"KRW 韩圆",value:"KRW" },
{label:"NZD 新西兰元",value:"NZD" },
{label:"USD 美元",value:"USD" },
],
infled_sealcrtyp:[
{label:"IRREVOCABLE",value:"0" },
{label:"IRREVOCABLE TRANSFERABLE",value:"1" },
{label:"REVOCABLE",value:"2" },
{label:"REVOCABLE TRANSFERABLE",value:"3" },
]
} }
export default CodeTable; export default CodeTable;
\ No newline at end of file
...@@ -97,10 +97,12 @@ ...@@ -97,10 +97,12 @@
<c-select <c-select
v-model="model.infcon.searol" v-model="model.infcon.searol"
style="width:100%" style="width:100%"
placeholder="请选择Role" placeholder="请选择Role"
> >
<!-- :code="codes.infled_role" -->
<el-option <el-option
v-for="item in codes.searol" v-for="item in codes.infled_role"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -145,12 +147,12 @@ ...@@ -145,12 +147,12 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="币种" prop="infcon.seacur"> <el-form-item label="币种" prop="infcon.seacur">
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency"> <c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency">
<!-- v-for 可用于获取码表 codes.码表名 -->
<el-option <el-option
v-for="item in codes.seacur" v-for="item in codes.infled_Cur"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
:code="codes.cur"
> >
</el-option> </el-option>
</c-select> </c-select>
...@@ -158,7 +160,11 @@ ...@@ -158,7 +160,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" > <el-form-item label="是否显示查询码" prop="infcon.cxmflg" >
<c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码"> <c-select
v-model="model.infcon.cxmflg"
style="width:100%"
placeholder="请选择是否显示查询码"
>
<el-option <el-option
v-for="item in codes.cxmflg" v-for="item in codes.cxmflg"
:key="item.value" :key="item.value"
...@@ -190,9 +196,17 @@ ...@@ -190,9 +196,17 @@
<c-select <c-select
v-model="model.sealcrtyp" v-model="model.sealcrtyp"
style="width:100%" style="width:100%"
:code="codes.lcrtyp"
placeholder="请选择Form of L/C" placeholder="请选择Form of L/C"
></c-select> >
<el-option
v-for="item in codes.infled_sealcrtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </el-row>
...@@ -225,25 +239,66 @@ ...@@ -225,25 +239,66 @@
fixed="right" fixed="right"
prop="op" prop="op"
label="操作" label="操作"
width="200px" width="150px"
> >
<template slot="header"> <template slot="header">
<c-col :span="12" style="text-align: left"> <c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<span>操作</span> <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button size="small" type="primary" @click="getButtons(scope.row['业务编号'])">处理</c-button> <!-- <c-button size="small" type="primary" @click="getButtons(scope.row['业务编号'])">处理</c-button> -->
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="display(scope.$index, scope.row)"
>
查看详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"> <div class="m-list-btns">
<m-busbtn ref="childs" :ownref="curownref" @onChoose="onChoose" >11</m-busbtn> <!-- :ownref="curownref" -->
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose" >11</m-busbtn>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
...@@ -265,20 +320,33 @@ export default { ...@@ -265,20 +320,33 @@ export default {
return { return {
curownref:"", curownref:"",
initdialog:false, initdialog:false,
columns:[ // stmData: {
// 第一个数字表示代表是返回来数据的第几列,第二数字代表前端显示的列顺序 columns:[
"1 1 \"业务编号\" 130 200", // 第一个数字表示代表是返回来数据的第几列,第二数字代表前端显示的列顺序
"2 2 \"经办柜员\" 90 80", "1 1 \"业务编号\" 130 200",
"4 5 \"开立日期\" 150 250", "2 2 \"经办柜员\" 90 80",
"5 6 \"到期日\" 150 250", "4 5 \"开立日期\" 150 250",
"7 7 \"分行名称\" 200 300", "5 6 \"到期日\" 150 250",
"8 8 \"申请人编号\" 100 200", "7 7 \"分行名称\" 200 300",
"9 9 \"申请人名称\" 200 300", "8 8 \"申请人编号\" 100 200",
"12 10 \"受益人名称\" 200 300", "9 9 \"申请人名称\" 200 300",
"15 11\"开证行名称\" 100 300", "12 10 \"受益人名称\" 200 300",
"16 3 \"开立币种\" 80 80", "15 11\"开证行名称\" 100 300",
"17 4 \"开立金额\" 90 80", "16 3 \"开立币种\" 80 80",
], "17 4 \"开立金额\" 90 80",
],
// },
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
'4 4 "状态" 50',
'5 5 "币种" 80',
'6 6 "金额" 80',
],
data: [],
},
} }
}, },
methods:{ methods:{
......
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