Commit 49efbe24 by 杜大兵

infled查询界面码表绑定

parent 335d0a05
......@@ -5979,6 +5979,44 @@ const CodeTable = {
{label:'Mt202 COV',value:'202'},
{label:'MT202',value:'200'},
{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;
\ No newline at end of file
......@@ -97,10 +97,12 @@
<c-select
v-model="model.infcon.searol"
style="width:100%"
placeholder="请选择Role"
>
<!-- :code="codes.infled_role" -->
<el-option
v-for="item in codes.searol"
v-for="item in codes.infled_role"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -145,12 +147,12 @@
<c-col :span="12">
<el-form-item label="币种" prop="infcon.seacur">
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency">
<!-- v-for 可用于获取码表 codes.码表名 -->
<el-option
v-for="item in codes.seacur"
v-for="item in codes.infled_Cur"
:key="item.value"
:label="item.label"
:value="item.value"
:code="codes.cur"
>
</el-option>
</c-select>
......@@ -158,7 +160,11 @@
</c-col>
<c-col :span="12">
<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
v-for="item in codes.cxmflg"
:key="item.value"
......@@ -190,9 +196,17 @@
<c-select
v-model="model.sealcrtyp"
style="width:100%"
:code="codes.lcrtyp"
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>
</c-col>
</el-row>
......@@ -225,25 +239,66 @@
fixed="right"
prop="op"
label="操作"
width="200px"
width="150px"
>
<template slot="header">
<c-col :span="12" style="text-align: left">
<span>操作</span>
</c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<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>
</el-table-column>
</c-istream-table>
</c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<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>
</el-dialog>
</div>
......@@ -265,6 +320,7 @@ export default {
return {
curownref:"",
initdialog:false,
// stmData: {
columns:[
// 第一个数字表示代表是返回来数据的第几列,第二数字代表前端显示的列顺序
"1 1 \"业务编号\" 130 200",
......@@ -279,6 +335,18 @@ export default {
"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:{
......
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