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
bc079590
Commit
bc079590
authored
Jun 23, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infbrd
parent
87588b13
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
539 additions
and
248 deletions
+539
-248
Event.js
src/model/Infbrd/Event.js
+15
-0
Pattern.js
src/model/Infbrd/Pattern.js
+2
-2
BusRouter.js
src/views/Business/BusRouter.js
+2
-0
BusNavbar.vue
src/views/Business/Infbrd/BusNavbar.vue
+124
-0
Infsea.vue
src/views/Business/Infbrd/Infsea.vue
+323
-181
index.vue
src/views/Business/Infbrd/index.vue
+73
-65
No files found.
src/model/Infbrd/Event.js
View file @
bc079590
...
...
@@ -2,6 +2,21 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
handleSearch
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
model
.
infbut
.
dspstm
=
rtnmsg
.
data
.
infbut_dspstm
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
handleReset
()
{
},
async
onInfbutSearow
(){
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.searow"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
...
...
src/model/Infbrd/Pattern.js
View file @
bc079590
...
...
@@ -44,12 +44,12 @@ export default {
"infcon.seaamtfr"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"infcon.seaamtto"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
src/views/Business/BusRouter.js
View file @
bc079590
...
...
@@ -36,6 +36,7 @@ import Sptrel from "./Sptrel"
import
Sptrou
from
"./Sptrou"
import
Bddsel
from
"./Bddsel"
import
Infbdd
from
"./Infbdd"
import
Infbrd
from
"./Infbrd"
import
Mgrtsk
from
"./Mgrtsk"
import
Switsk
from
"./Switsk"
import
Infusr
from
"./Infusr"
...
...
@@ -227,6 +228,7 @@ const BusRouter = [
{
path
:
'sptrou'
,
component
:
Sptrou
,
name
:
'Sptrou'
,
meta
:
{
title
:
'Sptrou'
}
},
{
path
:
'bddsel'
,
component
:
Bddsel
,
name
:
'Bddsel'
,
meta
:
{
title
:
'Bddsel'
}
},
{
path
:
'infbdd'
,
component
:
Infbdd
,
name
:
'Infbdd'
,
meta
:
{
title
:
'信用证单据查询'
}
},
{
path
:
'infbrd'
,
component
:
Infbrd
,
name
:
'Infbrd'
,
meta
:
{
title
:
'进口信用证单据入口'
}
},
{
path
:
'mgrtsk'
,
component
:
Mgrtsk
,
name
:
'Mgrtsk'
,
meta
:
{
title
:
'Mgrtsk'
}
},
{
path
:
'switsk'
,
component
:
Switsk
,
name
:
'Switsk'
,
meta
:
{
title
:
'Switsk'
}
},
{
path
:
'infusr'
,
component
:
Infusr
,
name
:
'Infusr'
,
meta
:
{
title
:
'用户信息'
}
},
...
...
src/views/Business/Infbrd/BusNavbar.vue
0 → 100644
View file @
bc079590
<
template
>
<div
class=
"busnavbar"
>
<div
class=
"busnavbar-items"
>
<c-button
style=
"margin-left:7px;"
class=
"medium_bcs"
size=
"medium"
type=
"primary"
v-for=
"(item,index) in codeList"
v-bind:key=
"index"
@
click
.
native=
"onNarBtnClick(item.code,index)"
:title=
"item.title"
:disabled=
"item.isDis==='N'"
>
{{
item
.
label
}}
</c-button>
</div>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Litsel
from
"~/model/Ditsel"
import
commonProcess
from
"~/mixin/commonProcess"
export
default
{
props
:[
"ownref"
],
components
:{
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
trnName
:
'ditsel'
,
model
:
new
Litsel
().
data
,
navcode
:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods
:{
//各入口按钮请求
async
onNarBtnClick
(
code
,
i
){
this
.
model
.
cfgfil
.
subtrn1
=
code
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub3"
)
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
.
subtrn1
);
if
(
rtnmsg
.
respCode
==
SUCCESS
){
this
.
navcode
=
[]
this
.
$emit
(
"onChoose"
,
code
.
toLowerCase
());
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
},
computed
:{
codeList
(){
//将model中的数据映射成数组
return
this
.
navcode
.
map
(
item
=>
{
let
entireItem
=
{...
item
}
this
.
navcode
=
[];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return
entireItem
})
}
},
watch
:{
"ownref"
:
async
function
(
n
,
o
){
if
(
!
this
.
ownref
){
console
.
log
(
"11111"
)
// onTigger()
return
;
}
}
},
mounted
(){
this
.
$nextTick
(
function
(){
this
.
$on
(
'childmethods'
,
async
function
(){
this
.
navcode
=
[]
//请求按钮数据
//this.model.didgrp.rec.ownref = 'KZ3500210540AA'
this
.
model
.
bddgrp
.
rec
.
ownref
=
this
.
ownref
console
.
log
(
"ownref:"
+
this
.
ownref
);
// let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
let
rtnmsg0
=
await
this
.
executeRule
(
"brdgrp.rec.ownref"
);
//cfgfil.hotreg3
if
(
rtnmsg0
.
respCode
==
SUCCESS
){
this
.
updateModel
(
rtnmsg0
.
data
)
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotreg3"
);
//cfgfil.hotreg3
if
(
rtnmsg
.
respCode
==
SUCCESS
){
//重置数组
this
.
navcode
=
[]
this
.
updateModel
(
rtnmsg
.
data
)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const
length
=
this
.
model
.
cfgfil
.
btnstm
.
rows
.
length
let
btnStr
=
this
.
model
.
cfgfil
.
btnstm
.
rows
for
(
let
i
=
0
;
i
<
length
;
i
++
){
//获取数组中每行的数据
let
arr
=
btnStr
[
i
].
split
(
"
\
t"
);
let
newList
=
{
code
:
arr
[
0
],
label
:
arr
[
1
],
isDis
:
arr
[
2
],
//isDis:'Y',
title
:
arr
[
3
]
}
//添加到navcode数组中
this
.
navcode
.
splice
(
i
,
0
,
newList
)
}
}
else
{
this
.
navcode
=
[]
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
else
{
this
.
navcode
=
[]
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
})
})
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Infbrd/Infsea.vue
View file @
bc079590
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Own Reference"
prop=
"infcon.seaownref"
>
<c-input
v-model=
"model.infcon.seaownref"
maxlength=
"16"
placeholder=
"请输入Own Reference"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Name"
prop=
"infcon.nam"
>
<c-input
v-model=
"model.infcon.nam"
maxlength=
"40"
placeholder=
"请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutSearow"
>
&
Search
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Party Reference"
prop=
"infcon.searef"
>
<c-input
v-model=
"model.infcon.searef"
maxlength=
"16"
placeholder=
"请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Release Status"
prop=
"infcon.relflg"
>
<c-select
v-model=
"model.infcon.relflg"
style=
"width:100%"
placeholder=
"请选择Release Status"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutDsp"
>
D
&
isplay
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Handling Type"
prop=
"infcon.hndtyp"
>
<c-select
v-model=
"model.infcon.hndtyp"
style=
"width:100%"
placeholder=
"请选择Handling Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Select Single Party"
prop=
"infcon.pty.extkey"
>
<c-input
v-model=
"model.infcon.pty.extkey"
maxlength=
"24"
placeholder=
"请输入Select Single Party"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"External Visible Name"
prop=
"infcon.pty.nam"
>
<c-input
v-model=
"model.infcon.pty.nam"
maxlength=
"40"
placeholder=
"请输入External Visible Name"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutUserow"
>
&
Use
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Party Name/BIC"
prop=
"infcon.seapty"
>
<c-input
v-model=
"model.infcon.seapty"
maxlength=
"24"
placeholder=
"请输入Party Name/BIC"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Role"
prop=
"infcon.searol"
>
<c-select
v-model=
"model.infcon.searol"
style=
"width:100%"
placeholder=
"请选择Role"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutClr"
>
&
Clear
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Opening between"
prop=
"infcon.opndatfrom"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
style=
"width:100%"
placeholder=
"请选择Opening between"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Open Date to"
prop=
"infcon.opndatto"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatto"
style=
"width:100%"
placeholder=
"请选择Open Date to"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"User ID"
prop=
"infcon.usr.extkey"
>
<c-input
v-model=
"model.infcon.usr.extkey"
maxlength=
"8"
placeholder=
"请输入User ID"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Status"
prop=
"infcon.seasta"
>
<c-select
v-model=
"model.infcon.seasta"
style=
"width:100%"
placeholder=
"请选择Status"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutButprt"
>
导Excel
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Currency"
prop=
"infcon.seacur"
>
<c-select
v-model=
"model.infcon.seacur"
style=
"width:100%"
placeholder=
"请选择Currency"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount between"
prop=
"infcon.seaamtfr"
>
<c-input
v-model=
"model.infcon.seaamtfr"
placeholder=
"请输入Amount between"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount to"
prop=
"infcon.seaamtto"
>
<c-input
v-model=
"model.infcon.seaamtto"
placeholder=
"请输入Amount to"
></c-input>
</el-form-item>
</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>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Document Type"
prop=
"seadocflg"
>
<c-select
v-model=
"model.seadocflg"
style=
"width:100%"
placeholder=
"请选择Document Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Goods Code"
prop=
"seagodcod"
>
<c-select
v-model=
"model.seagodcod"
style=
"width:100%"
placeholder=
"请选择Goods Code"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"display stream"
prop=
"infbut.dspstm"
>
<c-input
v-model=
"model.infbut.dspstm"
placeholder=
"请输入display stream"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutExi"
>
E
&
xit
</c-button>
</c-col>
<c-list-search
@
form-reset=
"handleReset"
@
form-search=
"handleSearch"
>
<template
v-slot=
"searchSlot"
>
<c-row>
<c-col
:span=
"8"
>
<el-form-item
label=
"Own Reference"
prop=
"infcon.seaownref"
>
<c-input
v-model=
"model.infcon.seaownref"
maxlength=
"16"
placeholder=
"请输入Own Reference"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Opening between"
prop=
"infcon.opndatfrom"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
style=
"width: 100%"
placeholder=
"请选择Opening between"
></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"
style=
"width: 100%"
placeholder=
"请选择Open Date to"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Name"
prop=
"infcon.nam"
>
<c-input
v-model=
"model.infcon.nam"
maxlength=
"40"
placeholder=
"请输入Name"
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row
v-show=
"searchSlot.searchToggle"
>
<c-row>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Reference"
prop=
"infcon.searef"
>
<c-input
v-model=
"model.infcon.searef"
maxlength=
"16"
placeholder=
"请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Select Single Party"
prop=
"infcon.pty.extkey"
>
<c-input
v-model=
"model.infcon.pty.extkey"
maxlength=
"24"
placeholder=
"请输入Select Single Party"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Name"
prop=
"infcon.pty.nam"
>
<c-input
v-model=
"model.infcon.pty.nam"
maxlength=
"40"
placeholder=
"请输入Party Name"
></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Name/BIC"
prop=
"infcon.seapty"
>
<c-input
v-model=
"model.infcon.seapty"
maxlength=
"24"
placeholder=
"请输入Party Name/BIC"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Role"
prop=
"infcon.searol"
>
<c-select
v-model=
"model.infcon.searol"
style=
"width: 100%"
placeholder=
"请选择Role"
>
<el-option
v-for=
"(item, idx) in codes.codeSet['infcon.searol']"
:key=
"idx"
:label=
"item.split('\t')[1]"
:value=
"item.split('\t')[0]"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Resp.User ID"
prop=
"infcon.usr.extkey"
>
<c-input
v-model=
"model.infcon.usr.extkey"
maxlength=
"8"
placeholder=
"请输入Resp.User ID"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Status"
prop=
"infcon.seasta"
>
<c-select
v-model=
"model.infcon.seasta"
style=
"width: 100%"
placeholder=
"请选择Status"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col
:span=
"8"
>
<el-form-item
label=
"Currency"
prop=
"infcon.seacur"
>
<c-select
v-model=
"model.infcon.seacur"
style=
"width: 100%"
placeholder=
"请选择Currency"
>
<el-option
v-for=
"item in codes.codeSet['infcon.seacur']"
:key=
"item"
:label=
"item"
:value=
"item"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Amount between"
prop=
"infcon.seaamtfr"
>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.infcon.seaamtfr"
placeholder=
"请输入Amount between"
></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=
"请输入Amount to"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Document Type"
prop=
"seadocflg"
>
<c-select
v-model=
"model.seadocflg"
style=
"width: 100%"
placeholder=
"请选择Document Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Goods Code"
prop=
"seagodcod"
>
<c-select
v-model=
"model.seagodcod"
style=
"width: 100%"
placeholder=
"请选择Goods Code"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
</c-row>
</
template
>
</c-list-search>
<!-- <c-col :span="12">
<el-form-item label="Release Status" prop="infcon.relflg">
<c-select
v-model="model.infcon.relflg"
style="width: 100%"
placeholder="请选择Release Status"
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Handling Type" prop="infcon.hndtyp">
<c-select
v-model="model.infcon.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
</c-select>
</el-form-item>
</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>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
>
<c-istream-table
:list=
"model.infbut.dspstm ? model.infbut.dspstm.rows : []"
:columns=
"columns"
>
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"150px"
>
<
template
slot-scope=
"scope"
>
<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>
</
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=
"ownref"
@
onChoose=
"onChoose"
></m-busbtn>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Infbrd/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Infbrd/Event"
;
import
BusNavbar
from
"~/views/Business/Infbrd/BusNavbar"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
components
:
{
"m-busbtn"
:
BusNavbar
},
data
()
{
return
{
ownref
:
""
,
initdialog
:
false
,
columns
:
[
'1 1 "Reference" 140'
,
'2 2 "Resp. User" 100'
,
'3 3 "Goods Code" 100 1 0 1 GODCOD'
,
// '4 4 "Opened" 500 4 7',
// '5 5 "Closed" 500 4 7',
{
index
:
4
,
position
:
4
,
width
:
100
,
pattern
:
"date"
,
label
:
"Opened"
},
{
index
:
5
,
position
:
5
,
width
:
100
,
pattern
:
"date"
,
label
:
"Closed"
},
'6 6 "PTA NO." 100'
,
'7 7 "Party Number" 133'
,
'8 8 "Applicant" 160'
,
'9 9 "Applicant CN" 133'
,
'10 10 "Party Number" 133'
,
'11 11 "Beneficiary" 150'
,
'12 12 "Party Number" 140'
,
'13 13 "Presenting Bank" 220'
,
'14 14 "Doc.Amount Cur" 120'
,
'15 15 "Doc.Amount" 120 2 8 1 14'
,
'16 16 "Open Amount Cur" 130'
,
'17 17 "Open Amount" 120 2 8 1 16'
,
],
};
},
methods
:
{
...
Event
,
async
getButtons
(
ownref
)
{
this
.
initdialog
=
true
;
this
.
ownref
=
ownref
;
console
.
log
(
"ownref:"
+
ownref
);
setTimeout
(()
=>
{
this
.
$refs
.
childs
.
$emit
(
"childmethods"
);
},
10
);
},
async
onChoose
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
initdialog
=
false
;
},
methods
:{...
Event
},
created
:
function
(){
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
didgrp
.
rec
.
inr
=
row
[
"INR"
];
this
.
model
.
infcon
.
chksubcon
=
"X"
;
}
}
</
script
>
<
style
>
this
.
dialogTableVisible
=
true
;
let
rtnmsg
=
await
this
.
executeDefault
(
"infcon.chksubcon"
);
</
style
>
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
trnData
.
data
=
rtnmsg
.
data
.
infcon_trnstm
.
rows
;
}
},
},
created
:
function
()
{},
};
</
script
>
<
style
></
style
>
src/views/Business/Infbrd/index.vue
View file @
bc079590
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<
c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<
!--
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
--
>
<!--PD000008 -->
<el-tab-pane
label=
"PD000008"
name=
"infsea"
>
<
!--
<
el-tab-pane
label=
"PD000008"
name=
"infsea"
>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000137 -->
<el-tab-pane
label=
"PD000137"
name=
"ovwp"
>
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
<!-- PD000137 -->
<!--
<el-tab-pane
label=
"PD000137"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000062 -->
<el-tab-pane
label=
"PD000062"
name=
"docpre"
>
<
!--
<
el-tab-pane
label=
"PD000062"
name=
"docpre"
>
<m-docpre
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000079 -->
<el-tab-pane
label=
"PD000079"
name=
"shpdet"
>
<
!--
<
el-tab-pane
label=
"PD000079"
name=
"shpdet"
>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000000 -->
<el-tab-pane
label=
"PD000000"
name=
"coninfp"
>
<
!--
<
el-tab-pane
label=
"PD000000"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000013 -->
<el-tab-pane
label=
"PD000013"
name=
"trnpan"
>
<
!--
<
el-tab-pane
label=
"PD000013"
name=
"trnpan"
>
<m-trnpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000019 -->
<el-tab-pane
label=
"PD000019"
name=
"cbsinfp"
>
<
!--
<
el-tab-pane
label=
"PD000019"
name=
"cbsinfp"
>
<m-cbsinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000028 -->
<el-tab-pane
label=
"PD000028"
name=
"cbeinfp"
>
<
!--
<
el-tab-pane
label=
"PD000028"
name=
"cbeinfp"
>
<m-cbeinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000111 -->
<el-tab-pane
label=
"PD000111"
name=
"fepinfp"
>
<
!--
<
el-tab-pane
label=
"PD000111"
name=
"fepinfp"
>
<m-fepinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000162 -->
<el-tab-pane
label=
"PD000162"
name=
"sepinfp"
>
<
!--
<
el-tab-pane
label=
"PD000162"
name=
"sepinfp"
>
<m-sepinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000177 -->
<el-tab-pane
label=
"PD000177"
name=
"gleinfp"
>
<
!--
<
el-tab-pane
label=
"PD000177"
name=
"gleinfp"
>
<m-gleinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000119 -->
<el-tab-pane
label=
"PD000119"
name=
"smhinfp"
>
<
!--
<
el-tab-pane
label=
"PD000119"
name=
"smhinfp"
>
<m-smhinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000130 -->
<el-tab-pane
label=
"PD000130"
name=
"peninfp"
>
<
!--
<
el-tab-pane
label=
"PD000130"
name=
"peninfp"
>
<m-peninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000147 -->
<el-tab-pane
label=
"PD000147"
name=
"liainfp"
>
<
!--
<
el-tab-pane
label=
"PD000147"
name=
"liainfp"
>
<m-liainfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000007 -->
<el-tab-pane
label=
"PD000007"
name=
"prtpan"
>
<
!--
<
el-tab-pane
label=
"PD000007"
name=
"prtpan"
>
<m-prtpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000185 -->
<el-tab-pane
label=
"PD000185"
name=
"ordpan"
>
<
!--
<
el-tab-pane
label=
"PD000185"
name=
"ordpan"
>
<m-ordpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<
/c-tabs
>
</el-tab-pane>
-->
<
!--
</c-tabs>
--
>
</el-form>
</div>
</
template
>
...
...
@@ -95,42 +99,42 @@ import Check from "~/model/Infbrd/Check"
import
Default
from
"~/model/Infbrd/Default"
import
Pattern
from
"~/model/Infbrd/Pattern"
import
Infsea
from
"./Infsea"
import
Ovwp
from
"./Ovwp"
import
Docpre
from
"./Docpre"
import
Shpdet
from
"./Shpdet"
import
Coninfp
from
"./Coninfp"
import
Trnpan
from
"./Trnpan"
import
Cbsinfp
from
"./Cbsinfp"
import
Cbeinfp
from
"./Cbeinfp"
import
Fepinfp
from
"./Fepinfp"
import
Sepinfp
from
"./Sepinfp"
import
Gleinfp
from
"./Gleinfp"
import
Smhinfp
from
"./Smhinfp"
import
Peninfp
from
"./Peninfp"
import
Liainfp
from
"./Liainfp"
import
Prtpan
from
"./Prtpan"
import
Ordpan
from
"./Ordpan"
//
import Ovwp from "./Ovwp"
//
import Docpre from "./Docpre"
//
import Shpdet from "./Shpdet"
//
import Coninfp from "./Coninfp"
//
import Trnpan from "./Trnpan"
//
import Cbsinfp from "./Cbsinfp"
//
import Cbeinfp from "./Cbeinfp"
//
import Fepinfp from "./Fepinfp"
//
import Sepinfp from "./Sepinfp"
//
import Gleinfp from "./Gleinfp"
//
import Smhinfp from "./Smhinfp"
//
import Peninfp from "./Peninfp"
//
import Liainfp from "./Liainfp"
//
import Prtpan from "./Prtpan"
//
import Ordpan from "./Ordpan"
export
default
{
name
:
"Infbrd"
,
components
:{
"m-infsea"
:
Infsea
,
"m-ovwp"
:
Ovwp
,
"m-docpre"
:
Docpre
,
"m-shpdet"
:
Shpdet
,
"m-coninfp"
:
Coninfp
,
"m-trnpan"
:
Trnpan
,
"m-cbsinfp"
:
Cbsinfp
,
"m-cbeinfp"
:
Cbeinfp
,
"m-fepinfp"
:
Fepinfp
,
"m-sepinfp"
:
Sepinfp
,
"m-gleinfp"
:
Gleinfp
,
"m-smhinfp"
:
Smhinfp
,
"m-peninfp"
:
Peninfp
,
"m-liainfp"
:
Liainfp
,
"m-prtpan"
:
Prtpan
,
"m-ordpan"
:
Ordpan
,
//
"m-ovwp" : Ovwp,
//
"m-docpre" : Docpre,
//
"m-shpdet" : Shpdet,
//
"m-coninfp" : Coninfp,
//
"m-trnpan" : Trnpan,
//
"m-cbsinfp" : Cbsinfp,
//
"m-cbeinfp" : Cbeinfp,
//
"m-fepinfp" : Fepinfp,
//
"m-sepinfp" : Sepinfp,
//
"m-gleinfp" : Gleinfp,
//
"m-smhinfp" : Smhinfp,
//
"m-peninfp" : Peninfp,
//
"m-liainfp" : Liainfp,
//
"m-prtpan" : Prtpan,
//
"m-ordpan" : Ordpan,
},
provide
()
{
return
{
...
...
@@ -148,6 +152,10 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
codeSet
:
{
"infcon.seacur"
:
[],
"infcon.searol"
:
[]
}
},
}
},
...
...
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