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
06abd89c
Commit
06abd89c
authored
Dec 05, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
各inf查询交易(通过或不通过公共按钮组组件)跳转交易的修改。
parent
21b11571
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
82 additions
and
275 deletions
+82
-275
Infsea.vue
src/views/Business/Infbcd/Infsea.vue
+3
-2
Infsea.vue
src/views/Business/Infbdd/Infsea.vue
+2
-1
Infsea.vue
src/views/Business/Infbed/Infsea.vue
+2
-1
Infsea.vue
src/views/Business/Infbfd/Infsea.vue
+2
-1
Infsea.vue
src/views/Business/Infbpd/Infsea.vue
+3
-2
Infsea.vue
src/views/Business/Infbrd/Infsea.vue
+2
-1
Infsea.vue
src/views/Business/Infled/Infsea.vue
+3
-2
Infsea.vue
src/views/Business/Inflid/Infsea.vue
+61
-263
Infsea.vue
src/views/Business/Infltd/Infsea.vue
+2
-1
Infsea.vue
src/views/Business/Inftrd/Infsea.vue
+2
-1
No files found.
src/views/Business/Infbcd/Infsea.vue
View file @
06abd89c
...
...
@@ -232,9 +232,10 @@ export
this
.
ownref
=
ownref
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
)
{
async
onChoose
(
code
,
prePageId
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
// this.$router.history.push("/business/" + code)
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
},
closeTrn
(
refId
)
{
...
...
src/views/Business/Infbdd/Infsea.vue
View file @
06abd89c
...
...
@@ -378,7 +378,8 @@ export default {
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
// this.$router.history.push("/business/" + code)
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
:
this
.
model
.
pageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
...
...
src/views/Business/Infbed/Infsea.vue
View file @
06abd89c
...
...
@@ -431,7 +431,8 @@ export default {
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
// this.$router.history.push("/business/" + code);
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
:
this
.
model
.
pageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getDitSelInfo
(
code
)
{
...
...
src/views/Business/Infbfd/Infsea.vue
View file @
06abd89c
...
...
@@ -384,7 +384,8 @@ export default {
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
// this.$router.history.push("/business/" + code);
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
:
this
.
model
.
pageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getDitSelInfo
(
code
)
{
...
...
src/views/Business/Infbpd/Infsea.vue
View file @
06abd89c
...
...
@@ -525,9 +525,10 @@ export default {
this
.
$refs
.
childs
.
initdialog
=
true
;
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
)
{
async
onChoose
(
code
,
prePageId
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
// this.$router.history.push("/business/" + code);
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getDitSelInfo
(
code
)
{
...
...
src/views/Business/Infbrd/Infsea.vue
View file @
06abd89c
...
...
@@ -426,7 +426,8 @@ export default {
},
async
onChoose
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
// this.$router.history.push("/business/" + code)
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
:
this
.
model
.
pageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
...
...
src/views/Business/Infled/Infsea.vue
View file @
06abd89c
...
...
@@ -464,9 +464,10 @@ export default {
this
.
$refs
.
childs
.
initdialog
=
true
;
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
)
{
async
onChoose
(
code
,
prePageId
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
// this.$router.history.push("/business/" + code);
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getDitSelInfo
(
code
)
{
...
...
src/views/Business/Inflid/Infsea.vue
View file @
06abd89c
...
...
@@ -2,275 +2,116 @@
<div
class=
"eibs-tab"
>
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<template
v-slot=
"searchSlot"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
label-position=
"right"
label-width=
"110px"
size=
"small"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
label-position=
"right"
label-width=
"110px"
size=
"small"
>
<el-row>
<c-col
:span=
"8"
>
<el-form-item
label=
"信用证编号"
prop=
"infcon.seaownref"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seaownref"
maxlength=
"16"
placeholder=
"请输入信用证编号"
></c-input>
<el-form-item
label=
"信用证编号"
prop=
"infcon.seaownref"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seaownref"
maxlength=
"16"
placeholder=
"请输入信用证编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"开立日期"
prop=
"infcon.opndatfrom"
style=
"width: 100%"
>
<el-form-item
label=
"开立日期"
prop=
"infcon.opndatfrom"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
placeholder=
"请选择起始日期"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
placeholder=
"请选择起始日期"
value-format=
"yyyy-MM-dd"
style=
"width: 100%"
></c-date-picker>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatto"
placeholder=
"请选择截至日期"
style=
"width: 100%"
value-format=
"yyyy-MM-dd"
></c-date-picker>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatto"
placeholder=
"请选择截至日期"
style=
"width: 100%"
value-format=
"yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"当事人参考号"
prop=
"infcon.searef"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.searef"
maxlength=
"16"
placeholder=
"请输入当事人参考号"
></c-input>
<el-form-item
label=
"当事人参考号"
prop=
"infcon.searef"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.searef"
maxlength=
"16"
placeholder=
"请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"当事人编号"
prop=
"infcon.pty.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.extkey"
maxlength=
"24"
placeholder=
"请输入当事人编号"
></c-input>
<el-form-item
label=
"当事人编号"
prop=
"infcon.pty.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.extkey"
maxlength=
"24"
placeholder=
"请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"当事人名称"
prop=
"infcon.pty.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.nam"
maxlength=
"40"
placeholder=
"请输入当事人名称"
></c-input>
<el-form-item
label=
"当事人名称"
prop=
"infcon.pty.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.nam"
maxlength=
"40"
placeholder=
"请输入当事人名称"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"当事人BIC编码"
prop=
"infcon.seapty"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seapty"
maxlength=
"24"
placeholder=
"当事人BIC编码"
></c-input>
<el-form-item
label=
"当事人BIC编码"
prop=
"infcon.seapty"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seapty"
maxlength=
"24"
placeholder=
"当事人BIC编码"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务简略信息"
prop=
"infcon.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.nam"
maxlength=
"40"
placeholder=
"请输入业务简略信息"
style=
"width: 100%"
></c-input>
<el-form-item
label=
"业务简略信息"
prop=
"infcon.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.nam"
maxlength=
"40"
placeholder=
"请输入业务简略信息"
style=
"width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"当事人角色"
prop=
"infcon.searol"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.searol"
style=
"width: 100%"
placeholder=
"请选择当事人角色"
:code=
"codes.payrol"
>
<el-form-item
label=
"当事人角色"
prop=
"infcon.searol"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.searol"
style=
"width: 100%"
placeholder=
"请选择当事人角色"
:code=
"codes.payrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"客户经理"
prop=
"infcon.usr.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.usr.extkey"
maxlength=
"8"
placeholder=
"请输入客户经理"
></c-input>
<el-form-item
label=
"客户经理"
prop=
"infcon.usr.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.usr.extkey"
maxlength=
"8"
placeholder=
"请输入客户经理"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"业务状态"
prop=
"infcon.seasta"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.seasta"
style=
"width: 100%"
placeholder=
"请选择业务状态"
>
<el-option
v-for=
"item in codes.seasta"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-form-item
label=
"业务状态"
prop=
"infcon.seasta"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.seasta"
style=
"width: 100%"
placeholder=
"请选择业务状态"
>
<el-option
v-for=
"item in codes.seasta"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"币种"
prop=
"infcon.seacur"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.seacur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.cur"
>
<el-option
v-for=
"item in codes.seacur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-form-item
label=
"币种"
prop=
"infcon.seacur"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.seacur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.cur"
>
<el-option
v-for=
"item in codes.seacur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"金额区间"
prop=
"infcon.seaamtfr"
style=
"width: 100%"
>
<el-form-item
label=
"金额区间"
prop=
"infcon.seaamtfr"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.infcon.seaamtfr"
placeholder=
"请输入金额下限"
style=
"width: 100%"
></c-input>
<c-input
v-model=
"model.infcon.seaamtfr"
placeholder=
"请输入金额下限"
style=
"width: 100%"
></c-input>
</c-col>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.infcon.seaamtto"
placeholder=
"请输入金额上限"
style=
"width: 100%"
></c-input>
<c-input
v-model=
"model.infcon.seaamtto"
placeholder=
"请输入金额上限"
style=
"width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"保兑指示"
prop=
"seacnfdet"
style=
"width: 100%"
>
<c-select
v-model=
"model.seacnfdet"
style=
"width: 100%"
placeholder=
"请选择保兑指示"
>
<el-option
v-for=
"item in codes.cnfins"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-form-item
label=
"保兑指示"
prop=
"seacnfdet"
style=
"width: 100%"
>
<c-select
v-model=
"model.seacnfdet"
style=
"width: 100%"
placeholder=
"请选择保兑指示"
>
<el-option
v-for=
"item in codes.cnfins"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"信用证类型"
prop=
"sealcrtyp"
style=
"width: 100%"
>
<c-select
v-model=
"model.sealcrtyp"
:code=
"codes.lcrtyp"
style=
"width: 100%"
placeholder=
"请选择信用证类型"
>
<el-form-item
label=
"信用证类型"
prop=
"sealcrtyp"
style=
"width: 100%"
>
<c-select
v-model=
"model.sealcrtyp"
:code=
"codes.lcrtyp"
style=
"width: 100%"
placeholder=
"请选择信用证类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"货物类型"
prop=
"seagodcod"
style=
"width: 100%"
>
<c-select
v-model=
"model.seagodcod"
style=
"width: 100%"
placeholder=
"请选择货物类型"
>
<el-option
v-for=
"item in codes.godcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<el-form-item
label=
"货物类型"
prop=
"seagodcod"
style=
"width: 100%"
>
<c-select
v-model=
"model.seagodcod"
style=
"width: 100%"
placeholder=
"请选择货物类型"
>
<el-option
v-for=
"item in codes.godcod"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
...
...
@@ -281,86 +122,48 @@
</c-list-search>
<c-col
:span=
"24"
style=
"margin-top: 10px"
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0px"
title=
"LITOPN"
@
click=
"toLitopn"
>
<c-button
class=
"medium_bcs"
size=
"medium"
type=
"primary"
style=
"margin-left: 0px"
title=
"LITOPN"
@
click=
"toLitopn"
>
进口信用证开立
</c-button>
</c-col>
<div
style=
"height: 90%"
>
<c-col
:span=
"24"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:showButtonFlg=
"true"
>
<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: center"
><span>
操作
</span></c-col
>
<c-col
:span=
"11"
style=
"text-align: center"
><span>
操作
</span></c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover
placement=
"top-start"
title=
"历史信息"
width=
"800"
trigger=
"click"
:ref=
"'popover_' + scope.row.IDX"
>
<div
style=
"
<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)"
/>
"
>
<span
class=
"el-icon-close"
@
click=
"closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table
:list=
"trnData.data"
:columns=
"trnData.columns"
>
<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
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
style=
"margin-left: 0"
size=
"small"
@
click=
"getTrnInfo(scope.$index, scope.row)"
slot=
"reference"
>
详情
</c-button>
</el-popover>
<c-button
style=
"margin-left: 5px"
size=
"small"
type=
"primary"
@
click=
"
<c-button
style=
"margin-left: 5px"
size=
"small"
type=
"primary"
@
click=
"
getButtons(scope.row['信用证编号'], scope.row['关闭日期'])
"
>
"
>
处理
</c-button>
</template>
...
...
@@ -369,14 +172,8 @@
</c-col>
</div>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"litsel"
:model=
"litselModel"
ownrefPath=
"lidget.lid.ownref"
@
onChoose=
"onChoose"
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"litsel"
:model=
"litselModel"
ownrefPath=
"lidget.lid.ownref"
@
onChoose=
"onChoose"
>
</m-busbtn>
</div>
</template>
...
...
@@ -497,9 +294,10 @@ export default {
this
.
$refs
.
childs
.
initdialog
=
true
;
console
.
log
(
"ownref:"
+
ownref
);
},
async
onChoose
(
code
)
{
async
onChoose
(
code
,
prePageId
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
// this.$router.history.push("/business/" + code);
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getDitSelInfo
(
code
)
{
...
...
@@ -528,7 +326,7 @@ export default {
this
.
$router
.
history
.
push
(
"/business/litopn"
);
},
},
created
:
function
()
{},
created
:
function
()
{
},
};
</
script
>
<
style
>
...
...
src/views/Business/Infltd/Infsea.vue
View file @
06abd89c
...
...
@@ -404,7 +404,8 @@ export default {
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
// this.$router.history.push("/business/" + code);
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
:
this
.
model
.
pageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getLetSelInfo
(
code
)
{
...
...
src/views/Business/Inftrd/Infsea.vue
View file @
06abd89c
...
...
@@ -531,7 +531,8 @@ export default {
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
// this.$router.history.push("/business/" + code);
this
.
$router
.
push
({
name
:
code
.
charAt
(
0
).
toUpperCase
()
+
code
.
substring
(
1
),
params
:
{
prePageId
}
});
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getDitSelInfo
(
code
)
{
...
...
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