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
d7dd661c
Commit
d7dd661c
authored
Sep 15, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lttdck交易前后联动
parent
a352c5c9
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
992 additions
and
532 deletions
+992
-532
index.js
src/config/CodeTable/index.js
+21
-0
Pattern.js
src/model/Letrsv/Pattern.js
+1
-1
Event.js
src/model/Lttdck/Event.js
+5
-0
Pattern.js
src/model/Lttdck/Pattern.js
+15
-15
index.js
src/model/Lttdck/index.js
+1
-0
Infsea.vue
src/views/Business/Infbtd/Infsea.vue
+649
-243
index.vue
src/views/Business/Infbtd/index.vue
+78
-151
Detp.vue
src/views/Business/Letrsv/Detp.vue
+1
-0
Ovwp.vue
src/views/Business/Letrsv/Ovwp.vue
+37
-0
Ptyp.vue
src/views/Business/Letrsv/Ptyp.vue
+2
-2
index.vue
src/views/Business/Letrsv/index.vue
+3
-1
Dscinsp.vue
src/views/Business/Lttdck/Dscinsp.vue
+23
-0
Utlp1.vue
src/views/Business/Lttdck/Utlp1.vue
+64
-55
Ovwp.vue
src/views/Business/Lttopn/Ovwp.vue
+71
-63
ReviewLttdck.vue
src/views/Review/Business/ReviewLttdck.vue
+19
-0
ReviewRouter.js
src/views/Review/ReviewRouter.js
+2
-1
No files found.
src/config/CodeTable/index.js
View file @
d7dd661c
...
...
@@ -2983,6 +2983,22 @@ const CodeTable = {
{
label
:
"Documents settled free of payment"
,
value
:
"J"
},
{
label
:
"Documents have been refused and returned"
,
value
:
"R"
},
],
docsta2
:
[
{
label
:
"Goods rel., Advice of Payment received"
,
value
:
"A"
},
{
label
:
"Goods rel., Advice of Payment + docs rec"
,
value
:
"B"
},
{
label
:
"Advice of Payment rec., wait for docs"
,
value
:
"C"
},
{
label
:
"Advice of Payment rec., documents rec."
,
value
:
"D"
},
{
label
:
"Adv. of Discrep. received, wait for docs"
,
value
:
"E"
},
{
label
:
"Adv of Discrepancy rec., document rec."
,
value
:
"F"
},
{
label
:
"Documents received"
,
value
:
"G"
},
{
label
:
"Clean documents received"
,
value
:
"H"
},
{
label
:
"Discrepant documents received"
,
value
:
"I"
},
{
label
:
"Goods released, wait for documents"
,
value
:
"J"
},
{
label
:
"Goods released, documents received"
,
value
:
"K"
},
{
label
:
"Documents sent on approval basis"
,
value
:
"L"
},
{
label
:
"Documents taken up"
,
value
:
"M"
},
{
label
:
"Documents settled free of payment"
,
value
:
"N"
},
],
doctyp
:
[
{
label
:
"买方单据"
,
value
:
"BDD"
},
{
label
:
"进口代收"
,
value
:
"BCD"
},
...
...
@@ -4494,6 +4510,11 @@ const CodeTable = {
{
label
:
"Beneficiary"
,
value
:
"BEN"
},
{
label
:
"Presenter(PRP)"
,
value
:
"PRB"
},
],
docprbrol2
:
[
{
label
:
"Adv. Bank Transfer"
,
value
:
"ADT"
},
{
label
:
"2nd Beneficiary"
,
value
:
"BE2"
},
{
label
:
"Presenter(PRP)"
,
value
:
"PRB"
},
],
// payrol1:[
// {label:"Applicant : TG3131232121",value:"1"},
// {label:"Issuing Bank : CHINA EVERBRIGHT BANK",value:"2"},
...
...
src/model/Letrsv/Pattern.js
View file @
d7dd661c
...
...
@@ -421,7 +421,7 @@ export default {
],
"ledgrp.a2b.pts.adrblk"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ledgrp.a2b.dbfadrblkcn"
:
[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/model/Lttdck/Event.js
View file @
d7dd661c
...
...
@@ -182,5 +182,9 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
(){},
onBenpDet
(){},
onAplpDet
(){},
}
\ No newline at end of file
src/model/Lttdck/Pattern.js
View file @
d7dd661c
...
...
@@ -123,9 +123,9 @@ export default {
"btdgrp.cbs.max.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^-
?\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^-
?
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"btdgrp.prb.namelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -133,13 +133,13 @@ export default {
],
"btdgrp.cbs.max2.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
pattern
:
/
(
^-
?\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^-
?
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"btdgrp.prb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"btdgrp.prb.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -162,34 +162,34 @@ export default {
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"btdgrp.blk.matper"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
],
"ltdgrp.rec.utlnbr"
:[
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"btdgrp.blk.docdis"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过50"
}
],
"btdgrp.blk.intdis"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过65"
}
],
"btdgrp.blk.comcon"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过65"
}
],
"btdgrp.blk.setinsbt"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65"
}
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过65"
}
],
...
...
src/model/Lttdck/index.js
View file @
d7dd661c
...
...
@@ -51,6 +51,7 @@ export default class Lttdck {
},
ltdgrp
:
{
rec
:
{
inr
:
""
,
//ltdgrp.rec.inr
ownref
:
""
,
// Transfer Reference .ltdgrp.rec.ownref
nam
:
""
,
// Name .ltdgrp.rec.nam
avbby
:
""
,
// Available by .ltdgrp.rec.avbby
...
...
src/views/Business/Infbtd/Infsea.vue
View file @
d7dd661c
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<c-col
:span=
"24"
style=
"padding: 0 0 10px 0"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutSearow"
>
Search
</c-button>
<c-list-search
@
form-reset=
"handleReset('paramsForm')"
@
form-search=
"handleSearch"
>
<template
v-slot=
"searchSlot"
>
<el-form
class=
"m-table-search-form"
ref=
"paramsForm"
:inline=
"true"
label-position=
"left"
label-width=
"110px"
size=
"small"
:model=
"model"
>
<el-row>
<c-col
:span=
"8"
>
<el-form-item
label=
"Own Reference"
prop=
"infcon.seaownref"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.seaownref"
maxlength=
"16"
placeholder=
"请输入Own Reference"
></c-input>
</el-form-item>
</c-col>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutDsp"
>
Display
</c-button>
<c-col
:span=
"8"
>
<el-form-item
label=
"Opening Date"
prop=
"infcon.opndatfrom"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
placeholder=
"请选择Opening between"
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=
"请选择Open Date to"
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=
"Name"
prop=
"infcon.nam"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.nam"
maxlength=
"40"
placeholder=
"请输入Name"
style=
"width: 100%"
></c-input>
</el-form-item>
</c-col>
</el-row>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Opening between"
prop=
"infcon.opndatfrom"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
value-format=
"yyyy-MM-dd"
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"
value-format=
"yyyy-MM-dd"
style=
"width:100%"
placeholder=
"请选择Open Date to"
></c-date-picker>
</el-form-item>
</c-col>
-->
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutUserow"
>
User
</c-button>
<el-row
v-show=
"searchSlot.searchToggle"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Reference"
prop=
"infcon.searef"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.searef"
maxlength=
"16"
placeholder=
"请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutClr"
>
Clear
</c-button>
<!--
<c-col
:span=
"8"
>
<el-form-item
label=
"复核状态"
prop=
"infcon.relflg"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.relflg"
style=
"width: 100%"
placeholder=
"请选择Release Status"
>
<el-option
v-for=
"item in codes.relflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
-->
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutButprt"
>
导Excel
</c-button>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Handling Type"
v-show =
"false"
prop=
"infcon.hndtyp"
>
<c-select
v-model=
"model.infcon.hndtyp"
style=
"width:100%"
placeholder=
"请选择Handling Type"
>
<el-option
v-for=
"item in codes.hndtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
-->
<c-button
size=
"small"
type=
"primary"
@
click=
"onInfbutExi"
>
Exit
</c-button>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Select Single Party"
prop=
"infcon.pty.extkey"
style=
"width: 100%"
>
<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"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.pty.nam"
maxlength=
"40"
placeholder=
"请输入Party Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Name/BIC"
prop=
"infcon.seapty"
style=
"width: 100%"
>
<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"
style=
"width: 100%"
>
<c-select
v-model=
"model.infcon.searol"
style=
"width:100%"
placeholder=
"请选择Role"
>
<el-option
v-for=
"item in codes.searol1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</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"
value-format=
"yyyy-MM-dd"
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"
value-format=
"yyyy-MM-dd"
style=
"width:100%"
placeholder=
"请选择Open Date to"
></c-date-picker>
</el-form-item>
</c-col>
-->
<c-col
:span=
"8"
>
<el-form-item
label=
"Resp.User"
disabled
prop=
"infcon.usr.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.infcon.usr.extkey"
maxlength=
"8"
placeholder=
"请输入User ID"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:sapn=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<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=
"24"
>
<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=
"24"
>
<el-form-item
label=
"Handling Type"
prop=
"infcon.hndtyp"
>
<c-select
v-model=
"model.infcon.hndtyp"
<c-col
:span=
"8"
>
<el-form-item
label=
"Status"
prop=
"infcon.seasta"
style=
"width: 100%"
placeholder=
"请选择Handling Type"
>
<el-option
v-for=
"item in codes.hndtyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
<c-select
v-model=
"model.infcon.seasta"
style=
"width: 100%"
placeholder=
"请选择Status"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<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=
"24"
>
<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=
"24"
>
<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=
"24"
>
<el-form-item
label=
"Currency"
prop=
"infcon.seacur"
>
<c-select
v-model=
"model.infcon.seacur"
<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=
"Currency"
prop=
"infcon.seacur"
style=
"width: 100%"
placeholder=
"请选择Currency"
>
<el-option
v-for=
"item in codes.seacur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
<c-select
v-model=
"model.infcon.seacur"
style=
"width: 100%"
placeholder=
"请选择Currency"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<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>
<el-option
v-for=
"item in codes.curtxt1"
: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=
"Amount"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.infcon.seaamtfr"
placeholder=
"请输入Amount between"
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=
"请输入Amount to"
style=
"width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<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=
"24"
>
<el-form-item
label=
"Release Status"
prop=
"infcon.relflg"
>
<c-select
v-model=
"model.infcon.relflg"
<!--
<c-col
:span=
"8"
>
<el-form-item
label=
"是否显示查询码"
prop=
"infcon.cxmflg"
style=
"width: 100%"
placeholder=
"请选择Release Status"
>
<el-option
v-for=
"item in codes.relflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
<c-select
v-model=
"model.infcon.cxmflg"
style=
"width: 100%"
placeholder=
"请选择是否显示查询码"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<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=
"24"
>
<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>
<el-option
v-for=
"item in codes.cxmflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
-->
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Opening between"
prop=
"infcon.opndatfrom"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
<!--
<c-col
:span=
"8"
>
<el-form-item
label=
"确认状态"
prop=
"seacnfdet"
style=
"width: 100%"
>
<c-select
v-model=
"model.seacnfdet"
style=
"width: 100%"
placeholder=
"请选择Opening between"
></c-date-picker>
placeholder=
"请选择Confirmation Status"
>
<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=
"12"
>
</c-col>
-->
<!--
<c-col
:span=
"8"
>
<el-form-item
label=
"
Open Date to
"
prop=
"
infcon.opndatto
"
style=
"
align: left
"
label=
"
信用证类型
"
prop=
"
sealcrtyp
"
style=
"
width: 100%
"
>
<c-
date-picker
type=
"date
"
v-model=
"model.infcon.opndatto
"
<c-
select
v-model=
"model.sealcrtyp
"
:code=
"codes.lcrtyp
"
style=
"width: 100%"
placeholder=
"请选择Open Date to"
></c-date-picker>
placeholder=
"请选择form of L/C"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24
"
>
<el-form-item
label=
"Status"
prop=
"infcon.seasta"
>
<c-select
v-model=
"model.infcon.seasta
"
</c-col>
-->
<!--
<c-col
:span=
"8
"
>
<el-form-item
label=
"货物种类"
prop=
"seagodcod
"
style=
"width: 100%"
placeholder=
"请选择Status"
>
<el-option
v-for=
"item in codes.seasta"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
<c-select
v-model=
"model.seagodcod"
style=
"width: 100%"
placeholder=
"请选择Goods Code"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<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-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=
"24"
>
<el-form-item
label=
"Invoice No."
prop=
"infcon.invnum"
>
<c-input
v-model=
"model.infcon.invnum"
maxlength=
"16"
placeholder=
"请输入Invoice No."
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
prop=
"infbut.dspstm"
>
<!--el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"
</el-table-column-->
</c-col>
-->
</el-row>
</el-form>
</
template
>
</c-list-search>
<!--<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>-->
<!-- <el-col :span="24" style="padding: 20px 16px"> -->
<!-- <c-button size="small" type="primary" @click="onInfbutSearow">
Search
</c-button>
-->
<!-- <c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETNOT"
@click="toLetnot"
>
出口信用证预开立
</c-button>
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETOPN"
@click="toLetopn"
>
出口信用证开立
</c-button>
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETDRW"
@click="toLetdrw"
>
非我行通知及收单行登记
</c-button>
<c-button
class="medium_bcs"
size="medium"
type="primary"
title="LETRSV"
@click="toLetrsv"
>
出口信用证补通知
</c-button> -->
<!-- <c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button> -->
<!-- <c-button size="small" type="primary" @click="onInfbutUserow">
Use
</c-button>-->
<!-- <c-button size="small" type="primary" @click="onInfbutClr">
Clear
</c-button>
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
<c-button size="small" type="primary" @click="onInfbutExi">
Exit
</c-button> -->
<!-- </el-col> -->
<!-- <c-istream-table :list="stmData.data " :columns="stmData.columns" style="padding: 0 16px;">
<el-table-column
prop="display"
label="操作"
width="100">
<template slot-scope="scope">
<c-button size="small" type="primary" @click="getButtons(scope.row['业务编号'])">处理</c-button>
<a href="javascript:void(0)" @click="getButtons(scope.row['业务编号'])">处理</a>
</template>
</el-table-column>
</c-istream-table> -->
<c-col
:span=
"24"
>
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"150px"
>
<
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"
>
<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"
@
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>
</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-
row
>
<!--c-col :span="22">
<el-form-item
label=
"display stream"
prop=
"infbut.dspstm"
>
<c-istream-table
:data=
"stmData.columns"
:list=
"stmData.data"
:columns=
"stmData.columns"
prop=
"infbut.dspstm"
>
<el-table-column
prop=
"op"
label=
"OP"
width=
"100"
>
placeholder="请输入display stream"
</el-table-column>
</c-istream-table-->
<!--c-input
v-model="model.infbut.dspstm
"
>
</c-input>
</el-form-item>
</c-col--
>
</c-
col
>
<m-busbtn
ref=
"childs"
:ownref=
"ownref"
trnCode=
"letsel"
ownrefPath=
"ltdgrp"
tabIndex=
"9
"
:model=
"letselModel"
@
onChoose=
"onChoose"
>
11
</m-busbtn
>
</div>
</template>
<
script
>
import
Utils
from
"~/utils/index"
;
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Infbtd/Event"
;
import
LetselModel
from
"~/model/Letsel"
;
import
BusNavbar
from
"~/views/Public/BusNavbar"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
components
:
{
"m-busbtn"
:
BusNavbar
},
data
()
{
return
{
letselModel
:
new
LetselModel
().
data
,
curinr
:
""
,
ownref
:
""
,
dialogTableVisible
:
false
,
trnData
:
{
columns
:
[
'0 7 "Trn ID" 56'
,
'1 1 "Transaction Name" 250'
,
'2 2 "Entry" 72 4 7'
,
'3 3 "Status" 80 1 0 1 RELSTA'
,
'4 4 "Cur." 40'
,
'5 5 "Relevant Amount" 120 2 8 1 4'
,
'6 6 "Signed" 60'
,
// '1 1 "编号" 200',
// '2 2 "交易名称" 120',
// // '3 3 "日期" 200',
// { index: 3, position: 3, width: 110, pattern: "date", label: "日期" },
// // '4 4 "状态" 50',
// {
// index: 4,
// position: 4,
// width: 100,
// pattern: "code",
// label: "状态",
// code: this.codes.relstaEN,
// },
// '5 5 "币种" 80',
// '6 6 "金额" 110',
],
data
:
[],
},
stmData
:
{
columns
:
[
'1 1
\
"Reference
\
" 275 '
,
'6 2
\
"Party Number
\
" 275'
,
'7 2
\
"1st Beneficiary
\
" 275'
,
'9 3
\
"Party Number
\
" 275'
,
'10 3
\
"2nd Beneficiary
\
" 275'
,
// "18 5 \"MT\" 100",
'3 4
\
"Opened
\
" 275'
,
'4 4
\
"Closed
\
" 275'
,
'11 5
\
"Cur
\
" 275'
,
"13 5
\"
Cur
\"
275"
,
"12 6
\"
Amt
\"
275"
,
'14 6
\
"Amt
\
" 275'
,
'1 1
\
"Reference
\
" 100'
,
'2 2
\
"Resp. User
\
" 100'
,
'3 12
\
"Opened
\
" 500 4 7'
,
'4 13
\
"Expired
\
" 500 4 7'
,
'5 14
\
"Closed
\
" 500 4 7'
,
'6 3
\
"分行名称
\
" 136'
,
'7 9
\
"PTA NO.
\
" 100'
,
'8 4
\
"Party Number
\
" 133'
,
'9 5
\
"1st Beneficiary
\
" 133'
,
'10 6
\
"1st Beneficary CN
\
" 191'
,
'11 7
\
"Party Number
\
" 133'
,
'12 8
\
"2nd Beneficiary
\
" 133'
,
'13 10
\
"Party Number
\
" 133'
,
'14 11
\
"Advising Bank
\
" 133'
,
'15 15
\
"Cur
\
" 410'
,
'16 17
\
"L/C Amount
\
" 508 2 8 1 15'
,
'17 16
\
"Cur
\
" 410'
,
'18 18
\
"Open Amount
\
" 508 2 8 1 17'
// '1 1 "Reference" 105',
// '2 2 "Resp. User" 105',
// '3 3 "Tenor day" 105 0',
// '4 4 "Party Number" 500 4 7',
// '5 14 "Expired" 500 4 7',
// '6 15 "Closed" 500 4 7',
// '7 11 "Issuing Bank" 136',
// '8 5 "Applicant" 410',
// '9 6 "PTA NO." 136',
// '10 7 "Party Number" 100',
// '11 8 "Beneficiary" 410',
// '12 9 "Beneficiary CN" 136',
// '13 10 "Party Number" 136',
// '14 12 "分行名称" 410',
// '15 13 "Opened" 136',
// '16 16 "cur" 410',
// '17 17 "cur" 508 2 8 1 16',
// '18 18 "L/C Amount" 410',
// '19 19 "Open Amount" 508 2 8 1 18',
// '1 1 \"Reference\" 105',
// '2 2 \"Resp. User\" 105',
// '3 3 \"Tenor day\" 105 0',
// '4 4 \"Party Number\" 500 4 7',
// '5 14 \"Expired\" 500 4 7',
// '6 15 \"Closed\" 500 4 7',
// '7 11 \"Issuing Bank\" 136',
// '8 5 \"Applicant\" 410',
// '9 6 \"PTA NO.\" 136',
// '10 7 \"Party Number\" 100',
// '11 8 \"Beneficiary\" 410',
// '12 9 \"Beneficiary CN\" 136',
// '13 10 \"Party Number\" 136',
// '14 12 \"分行名称\" 410',
// '15 13 \"Opened\" 136',
// '16 16 \"cur\" 410',
// '17 17 \"cur\" 508 2 8 1 16',
// '18 18 \"L/C Amount\" 410',
// '19 19 \"Open Amount\" 508 2 8 1 18',
// '1 1 \"Party Number\" 105',
// '2 2 \"Applicant\" 105',
// '3 3 \"PTA NO.\" 105 0',
// '4 4 \"Party Number\" 500 4 7',
// '5 14 \"Beneficiary\" 500 4 7',
// '6 15 \"Beneficiary CN\" 500 4 7',
// '7 11 \"Issuing Bank\" 136',
// '8 5 \"Cur\" 410',
// '9 6 \"L/C Amount\" 136',
// '10 7 \"Cur\" 100',
// '11 8 \"Open Amount\" 410',
// '12 9 \"???CT000288???\" 136',
// '13 10 \"???CT000296???\" 136',
// '14 12 \"???CT000297???\" 410',
// '15 13 \"???CT000298???\" 136',
// '16 16 \"???CT000299???\" 410',
// '17 18 \"???CT000300???\" 508 2 8 1 16',
// '18 17 \"???CT000301???\" 410',
// '19 19 \"???CT000302???\" 508 2 8 1 18',
// '1 1 "Reference" 120',
// '2 2 "Resp. User" 100',
// '3 3 "Tenor day" 100 ',
// '4 4 "Goods Code" 100 ',
// '5 13 "Opened" 500 4 7',
// '6 14 "Expired" 500 4 7',
// '7 15 "Closed" 500 4 7',
// '8 17 "分行名称" 136',
// '9 16 "PTA NO." 410',
// '10 5 "Party Number" 191',
// '11 8 "Applicant" 191',
// '12 9 "Applicant CN" 191',
// '13 11 "Advising Bank BIC" 165',
// '14 10 "Party Number" 165',
// '15 12 "Beneficiary" 165',
// '16 6 "Cur" 80',
// '17 7 "L/C Amount" 110 2 8 1 16',
// '18 18 "Cur" 410',
// '19 19 "Open Amount" 110 2 8 1 18',
// '1 1 "Reference" 130 200',
// "2 2 \"经办柜员\" 90 80",
// "5 5 \"开立日期\" 180 300",
// "6 6 \"到期日\" 180 250",
// "8 7 \"分行名称\" 150 300",
// "9 8 \"申请人编号\" 150 200",
// "11 9 \"申请人名称\" 150 300",
// "15 10 \"受益人名称\" 150 300",
// "16 3 \"开立币种\" 90 80",
// "17 4 \"开立金额\" 90 80",
],
data
:
[],
},
// columns:[
// ]
};
},
methods
:
{
...
Event
},
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
getLetSelInfo
(
code
)
{
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
);
this
.
$refs
.
childs
.
initdialog
=
false
;
},
async
getTrnInfo
(
idx
,
row
)
{
this
.
model
.
infcon
.
objinr
=
row
[
"INR"
];
this
.
model
.
ledgrp
.
rec
.
inr
=
row
[
"INR"
];
this
.
model
.
infcon
.
chksubcon
=
"X"
;
this
.
dialogTableVisible
=
true
;
let
rtnmsg
=
await
this
.
executeDefault
(
"infcon.chksubcon"
);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
trnData
.
data
=
rtnmsg
.
data
.
infcon_trnstm
.
rows
;
}
},
closeTrn
(
refId
)
{
this
.
$refs
[
refId
].
doClose
();
},
// toLttnot() {
// this.$router.history.push("/business/lttnot");
// },
toLttopn
()
{
this
.
$router
.
history
.
push
(
"/business/lttopn"
);
},
// handleReset: function () {
// this.model = {
// instNo: "",
// instName: "",
// };
// },
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/views/Business/Infbtd/index.vue
View file @
d7dd661c
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000006 -->
<el-tab-pane
label=
"Selection"
name=
"infsea"
>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000003 -->
<el-tab-pane
label=
"Docs under Trasfer L/C"
name=
"infconp"
>
<m-infconp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000296 -->
<el-tab-pane
label=
"Discr./Instr."
name=
"dscinsp"
>
<m-dscinsp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane
label=
"Transaction"
name=
"trnpan"
>
<m-trnpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane
label=
"CBS Info"
name=
"cbsinfp"
>
<m-cbsinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane
label=
"CBE Info"
name=
"cbeinfp"
>
<m-cbeinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane
label=
"FEP/FCP Info"
name=
"fepinfp"
>
<m-fepinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane
label=
"SEP Info"
name=
"sepinfp"
>
<m-sepinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane
label=
"GEL Bookings"
name=
"gleinfp"
>
<m-gleinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane
label=
"SMH Info"
name=
"smhinfp"
>
<m-smhinfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane
label=
"SPT/DIA Info"
name=
"peninfp"
>
<m-peninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane
label=
"Print"
name=
"prtpan"
>
<m-prtpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page
title=
"转让信用证查询"
>
<div
class=
"eContainer"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000006 Selection -->
<el-tab-pane
label=
"转让信用证查询"
name=
"infsea"
>
<c-content>
<m-infsea
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Infbtd
from
"~/model/Infbtd"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
Check
from
"~/model/Infbtd/Check"
;
import
Default
from
"~/model/Infbtd/Default"
;
import
Pattern
from
"~/model/Infbtd/Pattern"
;
import
Infsea
from
"./Infsea"
;
import
Infconp
from
"./Infconp"
;
import
Dscinsp
from
"./Dscinsp"
;
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
Prtpan
from
"./Prtpan"
;
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Infbtd
from
"~/model/Infbtd"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Infbtd/Check"
import
Default
from
"~/model/Infbtd/Default"
import
Pattern
from
"~/model/Infbtd/Pattern"
import
Infsea
from
"./Infsea"
export
default
{
components
:
{
"m-infsea"
:
Infsea
,
"m-infconp"
:
Infconp
,
"m-dscinsp"
:
Dscinsp
,
"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-prtpan"
:
Prtpan
,
},
provide
()
{
return
{
root
:
this
,
};
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"infsea"
,
trnName
:
"infbtd"
,
model
:
new
Infbtd
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
hndtyp
:
CodeTable
.
hndtyp
,
relflg
:
CodeTable
.
relflg
,
seasta
:
CodeTable
.
seasta
,
seacur
:
CodeTable
.
seacur
,
},
};
},
methods
:
{
tabClick
()
{},
},
created
:
async
function
()
{
console
.
log
(
"进入infbtd交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//this.model = Utils.copyValueFromVO(this.model, Response.data)
//this.stmData.data = Response.data.infbut_dspstm.rows;
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
name
:
"Infbtd"
,
components
:{
"m-infsea"
:
Infsea
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"infsea"
,
trnName
:
"Infbtd"
,
model
:
new
Infbtd
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:{...
CodeTable
},
}
},
methods
:{
tabClick
(){
}
},
created
:
async
function
(){
console
.
log
(
"进入Infbtd交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//更新数据
this
.
updateModel
(
rtnmsg
.
data
)
// Utils.copyValueFromVO(this.model, rtnmsg.data);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
},
};
}
</
script
>
<
style
>
</
style
>
src/views/Business/Letrsv/Detp.vue
View file @
d7dd661c
...
...
@@ -123,6 +123,7 @@
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onDrwpDet"
:disabled=
"blkDftatFlag"
:disabledExtkey=
"model.ledgrp.rec.avbby=='D'||model.ledgrp.rec.avbby=='M'||model.ledgrp.rec.avbby==''"
>
</c-ptap>
</c-col>
...
...
src/views/Business/Letrsv/Ovwp.vue
View file @
d7dd661c
...
...
@@ -146,6 +146,7 @@
<c-checkbox
v-model=
"model.letp.aamp.aammod.addamtflg"
style=
"margin-left: 10px"
@
change=
"openAddDetails"
>
Add. Amount
</c-checkbox
>
</c-col>
...
...
@@ -503,6 +504,42 @@ export default {
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
""
;
}
},
openAddDetails
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0'
&&
this
.
model
.
ledgrp
.
cbs
.
opn2
.
amt
==
'0'
&&
this
.
model
.
ledgrp
.
blk
.
addamtcov
===
''
)
){
this
.
$confirm
(
'Do you really want to delete the additional amount of this contract?'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'letp.aamp.aammod.addamtflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
=
'0'
;
this
.
model
.
ledgrp
.
cbs
.
opn2
.
amt
==
'0'
this
.
model
.
ledgrp
.
blk
.
addamtcov
=
''
;
this
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created
:
function
()
{},
};
...
...
src/views/Business/Letrsv/Ptyp.vue
View file @
d7dd661c
...
...
@@ -24,7 +24,7 @@
:argadr=
"
{
title: '2nd Advising Bank',
grp: 'ledgrp',
rol: 'a2b',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
...
...
@@ -39,7 +39,7 @@
style=
"width: 100%"
placeholder=
"Please select Confirm. Instruct. to 2nd Adv. Bank"
:code=
"codes.cnfflg1"
disabled
:disabled=
"model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
...
...
src/views/Business/Letrsv/index.vue
View file @
d7dd661c
...
...
@@ -29,7 +29,9 @@
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000017 -->
<el-tab-pane
label=
"Overview"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
...
...
src/views/Business/Lttdck/Dscinsp.vue
View file @
d7dd661c
...
...
@@ -152,6 +152,29 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Document Set Status"
prop=
"btdgrp.rec.docsta"
style=
"width: 100%"
>
<c-select
v-model=
"model.btdgrp.rec.docsta"
style=
"width: 100%"
placeholder=
"Please select Document Set Status"
disabled
>
<el-option
v-for=
"item in codes.docsta2"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
...
...
src/views/Business/Lttdck/Utlp1.vue
View file @
d7dd661c
...
...
@@ -3,64 +3,70 @@
<!-- left -->
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<
c-col
:span=
"20"
>
<el-form-item
label=
"L/C Reference
"
prop=
"ledgrp.rec.ownref
"
style=
"width: 100%"
>
<
el-form-item
label=
"L/C Reference"
prop=
"ledgrp.rec.ownref
"
style=
"width: 100%
"
>
<c-fullbox
>
<c-input
v-model=
"model.ledgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入L/C Reference"
style=
"width: 100%"
disabled
maxlength=
"8"
placeholder=
"Please input L/C Reference"
:disabled=
"true"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1"
>
<c-button
style=
"margin: 0 10px 0 0; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
</c-col>
<template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>
i
</span
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<
c-col
:span=
"20"
>
<el-form-item
label=
"Transfer Reference
"
prop=
"ltdgrp.rec.ownref
"
style=
"width: 100%"
>
<
el-form-item
label=
"Transfer Reference"
prop=
"ltdgrp.rec.ownref
"
style=
"width: 100%
"
>
<c-fullbox
>
<c-input
v-model=
"model.ltdgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Transfer Reference"
style=
"width: 100%"
disabled
maxlength=
"8"
placeholder=
"Please input Transfer Reference"
:disabled=
"true"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1"
>
<c-button
style=
"margin: 0 10px 0 0; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"font-size: 15px; font-family: '宋体'; font-weight: bold"
>
i
</span
>
</c-button>
</c-col>
<
template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>
i
</span
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"L/C Amount"
prop=
"ltdgrp.cbs.nom1.cur"
>
...
...
@@ -227,7 +233,8 @@
}"
:enRef=
"true"
:enNam=
"true"
:disabled=
"true"
:disabled=
"false"
:disabled1=
"true"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -240,7 +247,8 @@
}"
:enRef=
"true"
:enNam=
"true"
:disabled=
"true"
:disabled=
"false"
:disabled1=
"true"
></c-ptsmsg>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -253,7 +261,8 @@
}"
:enRef=
"true"
:enNam=
"true"
:disabled=
"true"
:disabled=
"false"
:disabled1=
"true"
></c-ptsmsg>
</c-col>
</c-col>
...
...
@@ -470,7 +479,7 @@
@
change=
"selectOrCheckboxRule('btdgrp.rec.docprbrol')"
>
<el-option
v-for=
"item in codes.docprbrol
0
"
v-for=
"item in codes.docprbrol
2
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
@@ -490,7 +499,7 @@
}"
:noRef=
"true"
:disabled=
"!(model.btdgrp.rec.docprbrol == 'PRB')"
:disabledExtkey=
"model.btdgrp.rec.docprbrol == '
BEN
'"
:disabledExtkey=
"model.btdgrp.rec.docprbrol == '
ADT'||model.btdgrp.rec.docprbrol == 'BE2
'"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
>
...
...
src/views/Business/Lttopn/Ovwp.vue
View file @
d7dd661c
...
...
@@ -17,7 +17,7 @@
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin-left:10px; padding: 0 12px"
style=
"margin-left:
10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
...
...
@@ -48,7 +48,6 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
...
...
@@ -85,11 +84,11 @@
size=
"small"
type=
"primary"
:disabled=
"
!model.ltdgrp.rec.ownref&&
model.ltdgrp.be1.pta.inr
? false
: true
"
@
click=
"onLttpButgetref"
!model.ltdgrp.rec.ownref &&
model.ltdgrp.be1.pta.inr
? false
: true
"
@
click=
"onLttpButgetref"
>
Get
</c-button>
...
...
@@ -139,7 +138,7 @@
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin-left:10px; padding: 0 12px"
style=
"margin-left:
10px; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
...
...
@@ -193,8 +192,8 @@
<c-checkbox
v-model=
"model.lttp.aamp.aammod.addamtflg"
style=
"margin-left: 10px"
:disabled=
"model.ltdgrp.cbs.max2.amt
==
''"
@
change=
"openAddDetails"
:disabled=
"model.ltdgrp.cbs.max2.amt
==
''"
@
change=
"openAddDetails"
>
Add. Amount
</c-checkbox
>
</c-col>
...
...
@@ -264,28 +263,27 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Issued on"
prop=
"ltdgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.ltdgrp.rec.opndat"
style=
"width: 100%"
placeholder=
"Please select Issued on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Shipment Date"
prop=
"ltdgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ltdgrp.rec.shpdat"
style=
"width: 100%"
placeholder=
"Please select Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Issued on"
prop=
"ltdgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.ltdgrp.rec.opndat"
style=
"width: 100%"
placeholder=
"Please select Issued on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Shipment Date"
prop=
"ltdgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ltdgrp.rec.shpdat"
style=
"width: 100%"
placeholder=
"Please select Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Expiring on"
prop=
"ltdgrp.rec.expdat"
>
...
...
@@ -361,10 +359,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Confirmation Instruct."
prop=
"ltdgrp.rec.cnfins"
>
<el-form-item
label=
"Confirmation Instruct."
prop=
"ltdgrp.rec.cnfins"
>
<c-select
v-model=
"model.ltdgrp.rec.cnfins"
style=
"width: 100%"
...
...
@@ -374,7 +369,6 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
...
...
@@ -394,8 +388,7 @@
>
</c-ptap>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"ltdgrp.be1.pts.nam"
>
<el-form-item
label=
""
prop=
"ltdgrp.be1.pts.nam"
>
<c-input
v-model=
"model.ltdgrp.be1.pts.nam"
maxlength=
"40"
...
...
@@ -841,22 +834,35 @@ export default {
this
.
model
.
ltdgrp
.
rec
.
apprultxt
=
""
;
}
},
openAddDetails
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ltdgrp
.
cbs
.
max2
.
amt
==
'0'
&&
this
.
model
.
ltdgrp
.
cbs
.
opn2
.
amt
==
'0'
&&
this
.
model
.
ltdgrp
.
blk
.
addamtcov
===
''
)
){
this
.
$confirm
(
'Do you really want to delete the additional amount of this contract?'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'lttp.aamp.aammod.addamtflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ltdgrp
.
cbs
.
max2
.
amt
=
'0'
;
this
.
model
.
ltdgrp
.
blk
.
addamtcov
=
''
;
this
.
updateModel
(
res
.
data
)
}
})
openAddDetails
(
val
)
{
if
(
val
===
""
&&
!
(
this
.
model
.
ltdgrp
.
cbs
.
max2
.
amt
==
"0"
&&
this
.
model
.
ltdgrp
.
cbs
.
opn2
.
amt
==
"0"
&&
this
.
model
.
ltdgrp
.
blk
.
addamtcov
===
""
)
)
{
this
.
$confirm
(
"Do you really want to delete the additional amount of this contract?"
,
"提示"
,
{
confirmButtonText
:
"Yes"
,
cancelButtonText
:
"No"
,
type
:
"warning"
,
showClose
:
false
,
}
)
.
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
"lttp.aamp.aammod.addamtflg"
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ltdgrp
.
cbs
.
max2
.
amt
=
"0"
;
this
.
model
.
ltdgrp
.
cbs
.
opn2
.
amt
==
"0"
this
.
model
.
ltdgrp
.
blk
.
addamtcov
=
""
;
this
.
updateModel
(
res
.
data
);
}
});
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
...
...
@@ -867,15 +873,17 @@ export default {
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
lttp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
})
.
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
lttp
.
aamp
.
aammod
.
addamtflg
=
"X"
;
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
created
:
function
()
{},
};
...
...
src/views/Review/Business/ReviewLttdck.vue
0 → 100644
View file @
d7dd661c
<
template
>
<ReviewWrapper>
<Lttdck></Lttdck>
</ReviewWrapper>
</
template
>
<
script
>
import
Lttdck
from
"~/views/Business/Lttdck"
;
import
{
ReviewWrapper
}
from
"~/components/gj-common.min.js"
;
export
default
{
name
:
"ReviewLttdck"
,
components
:
{
ReviewWrapper
,
Lttdck
},
created
()
{},
mounted
()
{},
};
</
script
>
<
style
></
style
>
src/views/Review/ReviewRouter.js
View file @
d7dd661c
...
...
@@ -90,6 +90,7 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue";
import
ReviewCptcan
from
"./Business/ReviewCptcan.vue"
;
import
ReviewCptrep
from
"./Business/ReviewCptrep.vue"
;
import
ReviewCltdav
from
"./Business/ReviewCltdav.vue"
;
import
ReviewLttdck
from
"./Business/ReviewLttdck.vue"
;
const
ReviewRouter
=
[
...
...
@@ -193,7 +194,7 @@ const ReviewRouter = [
{
path
:
"ccttra"
,
component
:
ReviewCcttra
,
name
:
"ReviewCcttra"
,
meta
:
{
title
:
"复核-Ccttra"
}
},
{
path
:
"lttopn"
,
component
:
ReviewLttopn
,
name
:
"ReviewLttopn"
,
meta
:
{
title
:
"复核-Lttopn"
}
},
{
path
:
"cltdav"
,
component
:
ReviewCltdav
,
name
:
"ReviewCltdav"
,
meta
:
{
title
:
"复核-Cltdav"
}
},
{
path
:
"lttdck"
,
component
:
ReviewLttdck
,
name
:
"ReviewLttdck"
,
meta
:
{
title
:
"复核-Lttdck"
}
},
{
path
:
"Cptati"
,
component
:
ReviewCptati
,
name
:
"ReviewCptati"
,
meta
:
{
title
:
"复核-Cptati"
}
},
{
path
:
"Cptato"
,
component
:
ReviewCptato
,
name
:
"ReviewCptato"
,
meta
:
{
title
:
"复核-Cptato"
}
},
{
path
:
"Cptcan"
,
component
:
ReviewCptcan
,
name
:
"ReviewCptcan"
,
meta
:
{
title
:
"复核-Cptcan"
}
},
...
...
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