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
zhouqian
vue-gjjs
Commits
165d8b82
Commit
165d8b82
authored
Sep 22, 2022
by
“yanyuxin”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询页面code改为中文
parent
b632760c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
202 additions
and
124 deletions
+202
-124
Infsea.vue
src/views/Business/Inftrd/Infsea.vue
+202
-124
No files found.
src/views/Business/Inftrd/Infsea.vue
View file @
165d8b82
...
...
@@ -83,12 +83,14 @@
<c-select
v-model=
"model.infcon.relflg"
style=
"width: 100%"
placeholder=
"请选择Release Status"
>
placeholder=
"请选择Release Status"
>
<el-option
v-for=
"item in codes.relflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
@@ -147,12 +149,14 @@
<c-select
v-model=
"model.infcon.searol"
style=
"width: 100%"
placeholder=
"请选择Role"
>
placeholder=
"请选择Role"
>
<el-option
v-for=
"item in codes.searol"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
@@ -203,7 +207,8 @@
v-for=
"item in codes.seasta"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
@@ -255,12 +260,21 @@
</c-col>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"Good's Code "
prop=
"trdgrp.rec.stagod"
>
<c-select
v-model=
"model.trdgrp.rec.stagod"
style=
"width:100%"
placeholder=
"请选择Good's Code "
>
<el-option
v-for=
"item in codes.godcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<c-select
v-model=
"model.trdgrp.rec.stagod"
style=
"width: 100%"
placeholder=
"请选择Good's Code "
>
<el-option
v-for=
"item in codes.godcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
...
...
@@ -293,12 +307,14 @@
<c-select
v-model=
"model.infcon.cxmflg"
style=
"width: 100%"
placeholder=
"请选择是否显示查询码"
>
placeholder=
"请选择是否显示查询码"
>
<el-option
v-for=
"item in codes.cxmflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
@@ -352,13 +368,19 @@
</c-col>
</c-col>
</el-row>
</el-form>
</
template
>
</c-list-search>
<c-col
style=
"margin-top: 10px"
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0"
@
click=
"toTrtopn"
>
进口融资开立
</c-button>
</c-col>
</el-form>
</
template
>
</c-list-search>
<c-col
style=
"margin-top: 10px"
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0"
@
click=
"toTrtopn"
>
进口融资开立
</c-button
>
</c-col>
<!-- <c-col :span="24" style="margin-top: 10px">
<c-button
class="medium_bcs"
...
...
@@ -372,76 +394,86 @@
<!-- <el-row> -->
<c-col
:span=
"24"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"true"
>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"140px"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align: left"
><span>
操作
</span></c-col
>
<!--
<c-col
:span=
"12"
style=
"text-align: right"
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"true"
>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"140px"
>
<
template
slot=
"header"
>
<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"
>
<el-popover
placement=
"top-start"
title=
"历史信息"
width=
"800"
trigger=
"click"
:ref=
"'popover_' + scope.row.IDX"
</
template
>
<
template
slot-scope=
"scope"
>
<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;
"
>
<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)"
/>
<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"
@
click=
"display(scope.row['INR'])"
>
详情
</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>
<!-- <c-button
<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"
@
click=
"display(scope.row['INR'])"
>
详情
</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>
<!-- <c-button
style="margin-left: 0"
size="small"
>
关闭
</c-button> -->
</el-popover>
</el-popover>
<!-- <c-button
<!-- <c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index,scope.row)"
>
详情
</c-button> -->
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"getButtons(scope.row['Reference'])"
>
处理
</c-button>
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"getButtons(scope.row['Reference'])"
>
处理
</c-button>
<!-- <c-button
<!-- <c-button
style="margin-left: 0"
size="small"
type="primary"
...
...
@@ -449,12 +481,20 @@
>
info
</c-button> -->
</template>
</el-table-column>
</c-istream-table>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
:model=
"TrtselModel"
ownrefPath=
"trdgrp"
trnCode=
"trtsel"
@
onChoose=
"onChoose"
>
11
</m-busbtn>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
:model=
"TrtselModel"
ownrefPath=
"trdgrp"
trnCode=
"trtsel"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</template>
<
script
>
...
...
@@ -465,7 +505,7 @@ import CodeTable from "~/config/CodeTable";
import
Event
from
"~/model/Infbpd/Event"
;
import
BusNavbar
from
"~/views/Public/BusNavbar"
;
import
TrtselModel
from
"~/model/Trtsel"
import
TrtselModel
from
"~/model/Trtsel"
;
export
default
{
inject
:
[
"root"
],
...
...
@@ -481,32 +521,72 @@ export default {
initdialog
:
false
,
stmData
:
{
columns
:
[
'1 1
\
"Reference
\
" 200'
,
'2 2
\
"Resp. User
\
" 110'
,
"13 3
\"
Finance Type
\"
130 1 0 1 TRD:FINTYP"
,
"14 4
\"
Goods Code
\"
120 1 0 1 GODCOD"
,
"3 5
\"
Parent Contract
\"
150"
,
"4 6
\"
执行利率
\"
110 2"
,
"15 7
\"
Pta .No
\"
110"
,
"16 8
\"
Party Number
\"
205"
,
"17 9
\"
Financed party
\"
300"
,
"18 10
\"
Financed CN
\"
205"
,
"5 11
\"
融资状态
\"
100 1 0 1 TRD:OVDFLG"
,
"6 12
\"
融资账号
\"
100"
,
"24 13
\"
组织机构代码
\"
130"
,
"7 14
\"
Opened
\"
200 4 7"
,
"8 15
\"
Expired
\"
200 4 7"
,
"19 16
\"
Pty .No
\"
110"
,
"9 17
\"
Closed
\"
100 4 7"
,
"20 18
\"
Cur
\"
100"
,
"22 19
\"
Cur
\"
100"
,
"21 20
\"
Amount
\"
110 2 8 1 20"
,
"23 21
\"
Open Amount
\"
200 2 8 1 22"
,
"25 22
\"
海外代付行
\"
150"
,
"26 23
\"
海外代付行
\"
150"
,
"10 24
\"
融资天数
\"
100 2"
,
"11 25
\"
海外代付天数
\"
205 0"
,
"12 26
\"
支行名称
\"
205"
,
'1 1 "进口融资编号" 200'
,
'2 2 "客户经理" 110'
,
// '13 3 "Finance Type" 130 1 0 1 TRD:FINTYP',
{
index
:
13
,
position
:
3
,
width
:
120
,
pattern
:
"code"
,
label
:
"融资品种"
,
code
:
"fintyp1"
,
},
// '14 4 "Goods Code" 120 1 0 1 GODCOD',
{
index
:
14
,
position
:
4
,
width
:
120
,
pattern
:
"code"
,
label
:
"货物类型"
,
code
:
"godcod"
,
},
'3 5 "Parent Contract" 150'
,
'4 6 "执行利率" 110 2'
,
'15 7 "Pta .No" 110'
,
'16 8 "Party Number" 205'
,
'17 9 "Financed party" 300'
,
'18 10 "Financed CN" 205'
,
// '5 11 "融资状态" 100 1 0 1 TRD:OVDFLG',
{
index
:
5
,
position
:
11
,
width
:
100
,
pattern
:
"code"
,
label
:
"融资状态"
,
code
:
"ovdflg"
,
},
'6 12 "融资账号" 100'
,
'24 13 "组织机构代码" 130'
,
'7 14 "开户日期" 200 4 7'
,
'8 15 "Expired" 200 4 7'
,
'19 16 "Pty .No" 110'
,
'9 17 "Closed" 100 4 7'
,
// '20 18 "Cur" 100',
{
index
:
20
,
position
:
18
,
width
:
100
,
pattern
:
"code"
,
label
:
"币种"
,
code
:
"curtxt1"
,
},
// '22 19 "Cur" 100',
{
index
:
22
,
position
:
19
,
width
:
100
,
pattern
:
"code"
,
label
:
"币种"
,
code
:
"curtxt1"
,
},
'21 20 "Amount" 110 2 8 1 20'
,
'23 21 "Open Amount" 200 2 8 1 22'
,
'25 22 "海外代付行" 150'
,
'26 23 "海外代付行" 150'
,
'10 24 "融资天数" 100 2'
,
'11 25 "海外代付天数" 205 0'
,
'12 26 "支行名称" 205'
,
],
data
:
[],
},
...
...
@@ -532,24 +612,24 @@ export default {
},
};
},
methods
:
{
...
Event
,
async
getButtons
(
ownref
){
this
.
ownref
=
ownref
this
.
$refs
.
childs
.
initdialog
=
true
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
$refs
.
childs
.
initdialog
=
false
},
async
getButtons
(
ownref
)
{
this
.
ownref
=
ownref
;
this
.
$refs
.
childs
.
initdialog
=
true
;
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
$refs
.
childs
.
initdialog
=
false
;
}
,
async
getDitSelInfo
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
trdgrp
.
rec
.
inr
=
row
[
"INR"
];
...
...
@@ -575,10 +655,8 @@ export default {
created
:
function
()
{},
};
</
script
>
<
style
>
.el-dialog__body
{
padding
:
10px
5px
50px
;
}
<
style
>
.el-dialog__body
{
padding
:
10px
5px
50px
;
}
</
style
>
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