Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
49efbe24
Commit
49efbe24
authored
Jan 27, 2022
by
杜大兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infled查询界面码表绑定
parent
335d0a05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
142 additions
and
35 deletions
+142
-35
index.js
src/config/CodeTable/index.js
+45
-6
Infsea.vue
src/views/Business/Infled/Infsea.vue
+97
-29
No files found.
src/config/CodeTable/index.js
View file @
49efbe24
...
...
@@ -5974,11 +5974,49 @@ const CodeTable = {
{
label
:
'ORD Correction'
,
value
:
'CMR'
},
{
label
:
'ReRouting'
,
value
:
'ROU'
},
],
swftypOpnp
:[
{
label
:
'MT103'
,
value
:
'103'
},
{
label
:
'Mt202 COV'
,
value
:
'202'
},
{
label
:
'MT202'
,
value
:
'200'
},
{
label
:
'Other'
,
value
:
'OTH'
},
]
swftypOpnp
:[
{
label
:
'MT103'
,
value
:
'103'
},
{
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
src/views/Business/Infled/Infsea.vue
View file @
49efbe24
...
...
@@ -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.
seac
ur"
v-for=
"item in codes.
infled_C
ur"
: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=
"
20
0px"
width=
"
15
0px"
>
<
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,20 +320,33 @@ export default {
return
{
curownref
:
""
,
initdialog
:
false
,
columns
:[
// 第一个数字表示代表是返回来数据的第几列,第二数字代表前端显示的列顺序
"1 1
\"
业务编号
\"
130 200"
,
"2 2
\"
经办柜员
\"
90 80"
,
"4 5
\"
开立日期
\"
150 250"
,
"5 6
\"
到期日
\"
150 250"
,
"7 7
\"
分行名称
\"
200 300"
,
"8 8
\"
申请人编号
\"
100 200"
,
"9 9
\"
申请人名称
\"
200 300"
,
"12 10
\"
受益人名称
\"
200 300"
,
"15 11
\"
开证行名称
\"
100 300"
,
"16 3
\"
开立币种
\"
80 80"
,
"17 4
\"
开立金额
\"
90 80"
,
],
// stmData: {
columns
:[
// 第一个数字表示代表是返回来数据的第几列,第二数字代表前端显示的列顺序
"1 1
\"
业务编号
\"
130 200"
,
"2 2
\"
经办柜员
\"
90 80"
,
"4 5
\"
开立日期
\"
150 250"
,
"5 6
\"
到期日
\"
150 250"
,
"7 7
\"
分行名称
\"
200 300"
,
"8 8
\"
申请人编号
\"
100 200"
,
"9 9
\"
申请人名称
\"
200 300"
,
"12 10
\"
受益人名称
\"
200 300"
,
"15 11
\"
开证行名称
\"
100 300"
,
"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
:{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment