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
84deec63
Commit
84deec63
authored
Aug 01, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letcan交易初始化及页面修改
parent
0913c6c2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
907 additions
and
491 deletions
+907
-491
Pattern.js
src/model/Letcan/Pattern.js
+4
-4
index.js
src/model/Letcan/index.js
+107
-100
Canp.vue
src/views/Business/Letcan/Canp.vue
+610
-253
index.vue
src/views/Business/Letcan/index.vue
+159
-122
Drv.vue
src/views/Business/Letdrw/Drv.vue
+6
-12
ReviewLetcan.vue
src/views/Review/Business/ReviewLetcan.vue
+19
-0
ReviewRouter.js
src/views/Review/ReviewRouter.js
+2
-0
No files found.
src/model/Letcan/Pattern.js
View file @
84deec63
...
@@ -16,7 +16,7 @@ export default {
...
@@ -16,7 +16,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
{
max
:
3
,
message
:
"长度不能超过3"
}
],
],
"ledgrp.cbs.nom1.amt"
:[
"ledgrp.cbs.nom1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
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位"
}
],
],
...
@@ -30,7 +30,7 @@ export default {
...
@@ -30,7 +30,7 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
{
max
:
3
,
message
:
"长度不能超过3"
}
],
],
"ledgrp.cbs.opn1.amt"
:[
"ledgrp.cbs.opn1.amt"
:[
{
type
:
"
number
"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"
string
"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
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位"
}
],
],
...
@@ -80,8 +80,8 @@ export default {
...
@@ -80,8 +80,8 @@ export default {
{
max
:
40
,
message
:
"长度不能超过40"
}
{
max
:
40
,
message
:
"长度不能超过40"
}
],
],
"letcanf.strinf"
:[
"letcanf.strinf"
:[
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过
50"
}
{
max
:
1750
,
message
:
"长度不能超过17
50"
}
],
],
...
...
src/model/Letcan/index.js
View file @
84deec63
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
import
Pts
from
"../Common/Pts"
import
Pts
from
"../Common/Pts"
import
Pub
from
"../Public"
//引入公共面板
export
default
class
Letcan
{
export
default
class
Letcan
{
constructor
()
{
constructor
()
{
this
.
data
=
{
this
.
data
=
{
setmod
:
new
Pub
().
data
.
Setmod
,
//帐务、分录 加入公共面板账务字段
mtabut
:
new
Pub
().
data
.
Mtabut
,
//附言
trnmod
:
new
Pub
().
data
.
Trnmod
,
//面函 加入公共面板面函的字段
liaall
:
new
Pub
().
data
.
Liaall
,
//表外/授信额度
letbenl1blk
:
""
,
letp0
:{
letp0
:{
recget
:{
recget
:{
sdamod
:{
sdamod
:{
...
@@ -53,106 +60,106 @@ export default class Letcan{
...
@@ -53,106 +60,106 @@ export default class Letcan{
strinf
:
""
,
// Narrative .letcanf.strinf
strinf
:
""
,
// Narrative .letcanf.strinf
},
},
sndmsg
:
""
,
// Send Message .sndmsg
sndmsg
:
""
,
// Send Message .sndmsg
setmod
:{
//
setmod:{
docamttyplab
:
""
,
// settled amount description as label .setmod.docamttyplab
//
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg
:
""
,
// Label showing Retry overflow condition .setmod.retmsg
//
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref
:
""
,
// our reference .setmod.ref
//
ref:"", // our reference .setmod.ref
doccur
:
""
,
// document currency .setmod.doccur
//
doccur:"", // document currency .setmod.doccur
docamt
:
""
,
// document amount .setmod.docamt
//
docamt:"", // document amount .setmod.docamt
dspflg
:
""
,
// Type of settlement .setmod.dspflg
//
dspflg:"", // Type of settlement .setmod.dspflg
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
//
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg
:{
//
setglg:{
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
//
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
//
},
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
//
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
//
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog
:{
//
setfog:{
setfol
:[]
//
setfol:[]
},
//
},
setfeg
:{
//
setfeg:{
setfel
:[]
//
setfel:[]
}
//
}
},
//
},
mtabut
:{
//
mtabut:{
coninf
:{
//
coninf:{
oitinf
:{
//
oitinf:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitinf.labinftxt
//
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit
:{
//
oit:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitinf.oit.inftxt
//
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitinf.oit.inflev
//
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
//
},
},
//
},
oitset
:{
//
oitset:{
labinftxt
:
""
,
// Label for INFTXT .mtabut.coninf.oitset.labinftxt
//
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit
:{
//
oit:{
inftxt
:
""
,
// Infotext .mtabut.coninf.oitset.oit.inftxt
//
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev
:
""
,
// Infotext Level .mtabut.coninf.oitset.oit.inflev
//
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
//
},
},
//
},
conexedat
:
""
,
// 执行日期 .mtabut.coninf.conexedat
//
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr
:{
//
usr:{
extkey
:
""
,
// User ID .mtabut.coninf.usr.extkey
//
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
//
},
},
//
},
},
//
},
trnmod
:{
//
trnmod:{
trndoc
:{
//
trndoc:{
advlabel
:
""
,
// ADVLABEL .trnmod.trndoc.advlabel
//
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam
:
""
,
// AMDNAM .trnmod.trndoc.amdnam
//
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc
:
""
,
// 国内证通知书 .trnmod.trndoc.advdoc
//
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam
:
""
,
// 国内证落款 .trnmod.trndoc.advnam
//
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl
:
""
,
// 修改申请人名称 .trnmod.trndoc.amdapl
//
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl
:
""
,
// Lable for CONDOCSTM .trnmod.trndoc.doclbl
//
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm
:
""
,
// Document tree .trnmod.trndoc.doctrestm
//
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc
:
""
,
// Show Incoming Messages .trnmod.trndoc.shwinc
//
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout
:
""
,
// Show Outgoing Messages .trnmod.trndoc.shwout
//
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm
:
""
,
// Connected Documents .trnmod.trndoc.condocstm
//
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt
:{
//
rcvatt:{
seainf
:
""
,
// .trnmod.trndoc.rcvatt.seainf
//
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
//
},
filrecv
:
""
,
// File Receiver .trnmod.trndoc.filrecv
//
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
//
},
},
//
},
liaall
:{
//
liaall:{
limmod
:{
//
limmod:{
limpts
:{
//
limpts:{
wrklab
:
""
,
// Label .liaall.limmod.limpts.wrklab
//
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab
:
""
,
// Label .liaall.limmod.limpts.othlab
//
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss
:
""
,
// Label .liaall.limmod.limpts.othlabss
//
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk
:{
//
wrk:{
pts
:
new
Pts
().
data
,
//
pts:new Pts().data,
},
//
},
oth
:{
//
oth:{
pts
:
new
Pts
().
data
,
//
pts:new Pts().data,
},
//
},
lsh
:
""
,
// 合同流�'号 .liaall.limmod.limpts.lsh
//
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1
:
""
,
// Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
//
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1
:
""
,
// 合同流�'号 .liaall.limmod.limpts.pfcod1
//
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2
:
""
,
// Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
//
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2
:
""
,
// 合同流�'号 .liaall.limmod.limpts.pfcod2
//
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
//
},
wrkp
:{
//
wrkp:{
ptsget
:{
//
ptsget:{
sdamod
:{
//
sdamod:{
dadsnd
:
""
,
// Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
//
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .liaall.limmod.wrkp.ptsget.sdamod.seainf
//
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
//
},
},
//
},
},
//
},
othp
:{
//
othp:{
ptsget
:{
//
ptsget:{
sdamod
:{
//
sdamod:{
dadsnd
:
""
,
// Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
//
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf
:
""
,
// .liaall.limmod.othp.ptsget.sdamod.seainf
//
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
//
},
},
//
},
},
//
},
ownref
:
""
,
// 国结业务编号 .liaall.limmod.ownref
//
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt
:
""
,
// 业务余额 .liaall.limmod.comamt
//
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt
:
""
,
// 保证金余额 .liaall.limmod.ccvamt
//
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno
:
""
,
// ECIFNO .liaall.limmod.ecifno
//
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
//
},
},
//
},
pageId
:
""
// ctx的key
pageId
:
""
// ctx的key
}
}
}
}
...
...
src/views/Business/Letcan/Canp.vue
View file @
84deec63
<
template
>
<
template
>
<c-content
class=
"eibs-tab"
:height=
"200"
>
<div
class=
"eibs-tab"
>
<c-row
class=
"infrow"
style=
"margin-top:50px;"
>
<!--
<c-row
class=
"infrow"
style=
"margin-top: 50px"
>
-->
<c-col
:span=
"11"
:offset=
"1"
>
<!-- ============================顶部================================ -->
<c-row>
<c-row>
<c-col
:span=
"20"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Reference"
prop=
"ledgrp.rec.ownref"
>
<c-col
:span=
"12"
>
<c-input
v-model=
"model.ledgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
value=
"AD3500190001AA"
></c-input>
<el-form-item
label=
"Reference"
prop=
"ledgrp.rec.ownref"
>
</el-form-item>
<c-input
</c-col>
v-model=
"model.ledgrp.rec.ownref"
</c-row>
maxlength=
"16"
</c-col>
placeholder=
"请输入Reference"
<c-col
:span=
"11"
:offset=
"1"
>
:disabled=
"true"
<c-row>
></c-input>
<c-col
:span=
"20"
>
</el-form-item>
<el-form-item
label=
"Name"
prop=
"ledgrp.rec.nam"
>
</c-col>
<c-input
v-model=
"model.ledgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Name"
></c-input>
<c-col
:span=
"11"
:offset=
"1"
>
</el-form-item>
<el-form-item
label=
"Name"
prop=
"ledgrp.rec.nam"
>
</c-col>
<c-input
</c-row>
text-align=
"middle"
</c-col>
v-model=
"model.ledgrp.rec.nam"
</c-row>
maxlength=
"40"
placeholder=
"请输入"
<c-row
class=
"infrow"
>
disabled
<c-col
:span=
"11"
:offset=
"1"
>
>
<c-row>
</c-input>
<c-col
:span=
"14"
>
</el-form-item>
<el-form-item
label=
"L/C Amount"
prop=
"ledgrp.cbs.nom1.cur"
>
</c-col>
<c-input
v-model=
"model.ledgrp.cbs.nom1.cur"
maxlength=
"3"
placeholder=
"请输入L/C Amount"
></c-input>
</c-col>
</el-form-item>
</c-row>
</c-col>
<c-col
:span=
"5"
:offset=
"1"
>
<!-- ========================上半部分的左边=========================== -->
<el-form-item
label=
""
prop=
"ledgrp.cbs.nom1.amt"
label-width=
"0px"
>
<c-row>
<c-input
v-model=
"model.ledgrp.cbs.nom1.amt"
placeholder=
"请输入Amt"
></c-input>
<c-col
:span=
"12"
>
</el-form-item>
<!-- L/C Amount -->
</c-col>
<c-col
:span=
"24"
>
<!-- -->
<c-col
:span=
"11"
>
</c-row>
<el-form-item
label=
"L/C Amount"
prop=
"ledgrp.cbs.nom1.cur"
>
</c-col>
<c-select
<c-col
:span=
"11"
:offset=
"1"
>
v-model=
"model.ledgrp.cbs.nom1.cur"
<c-row>
style=
"width: 100%"
<c-col
:span=
"20"
>
placeholder=
"请选择币种"
<el-form-item
label=
"Applicant Ref"
prop=
"ledgrp.apl.pts.ref"
>
@
keyup
.
enter
.
native=
"nom1CurEvent"
<c-input
v-model=
"model.ledgrp.apl.pts.ref"
maxlength=
"16"
placeholder=
"请输入Applicant Ref"
></c-input>
:code=
"codes.curtxt1"
</el-form-item>
disabled
</c-col>
>
</c-row>
</c-select>
</c-col>
</el-form-item>
</c-row>
</c-col>
<c-col
:span=
"8"
>
<c-row
class=
"infrow"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.nom1.amt"
>
<c-col
:span=
"11"
:offset=
"1"
>
<c-input-currency
<c-row>
v-model=
"model.ledgrp.cbs.nom1.amt"
<c-col
:span=
"14"
>
style=
"text-align: left; width: 100%"
<el-form-item
label=
"Open Amount"
prop=
"ledgrp.cbs.opn1.cur"
>
class=
"m-input-currency"
<c-input
v-model=
"model.ledgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入Open Amount"
></c-input>
placeholder=
"请输入信用证金额"
</el-form-item>
@
keyup
.
enter
.
native=
"
</c-col>
defaultFunction(
<c-col
:span=
"5"
:offset=
"1"
>
'ledgrp.cbs.nom1.amt',
<el-form-item
label=
""
prop=
"ledgrp.cbs.opn1.amt"
label-width=
"0px"
>
model.ledgrp.cbs.nom1.amt
<c-input
v-model=
"model.ledgrp.cbs.opn1.amt"
placeholder=
"请输入Amt"
></c-input>
)
</el-form-item>
"
</c-col>
disabled
<!-- -->
></c-input-currency>
</c-row>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-row>
<c-col
:span=
"5"
>
<c-col
:span=
"20"
>
<c-checkbox
<el-form-item
label=
""
prop=
"ledgrp.apl.pts.nam"
label-width=
"0px"
>
v-model=
"model.letp0.aammod.addamtflg"
<c-input
v-model=
"model.ledgrp.apl.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
style=
"margin-left: 10px"
</el-form-item>
disabled
</c-col>
>
Add. Amount
</c-checkbox
</c-row>
>
</c-col>
</c-col>
</c-row>
</c-col>
<c-row
class=
"infrow"
>
<!-- Open Amount -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-row>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Open Amount"
prop=
"ledgrp.cbs.opn1.cur"
>
<el-form-item
label=
"Available with"
prop=
"ledgrp.avbnam"
>
<c-select
<c-input
v-model=
"model.ledgrp.avbnam"
maxlength=
"40"
placeholder=
"请输入Available with"
></c-input>
v-model=
"model.ledgrp.cbs.opn1.cur"
</el-form-item>
maxlength=
"3"
</c-col>
placeholder=
"请选择币种"
</c-row>
disabled
</c-col>
:code=
"codes.curtxt1"
<c-col
:span=
"11"
:offset=
"1"
>
></c-select>
<c-row>
</el-form-item>
<c-col
:span=
"20"
>
</c-col>
<el-form-item
label=
"Available by "
prop=
"ledgrp.rec.avbby"
>
<c-col
:span=
"8"
>
<c-select
v-model=
"model.ledgrp.rec.avbby"
style=
"width:100%"
placeholder=
"请选择Available by [AVBBY0]"
></c-select>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.opn1.amt"
>
</el-form-item>
<c-input
</c-col>
v-model=
"model.ledgrp.cbs.opn1.amt"
</c-row>
style=
"text-align: left; width: 100%"
</c-col>
class=
"m-input-currency"
</c-row>
placeholder=
"请输入Balance"
disabled
<!--
<c-col
:span=
"11"
:offset=
"1"
>
></c-input>
<c-row>
</el-form-item>
</c-col>
</c-row>
<c-col
:span=
"5"
>
</c-col
--
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
style=
"margin-left: 10px"
<c-row
class=
"infrow"
>
disabled
<c-col
:span=
"11"
:offset=
"1"
>
>
Revolving L/C
</c-checkbox
<c-row>
>
<c-col
:span=
"12"
>
</c-col>
<el-form-item
label=
"Date Issued"
prop=
"ledgrp.rec.opndat"
>
</c-col>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.opndat"
style=
"width:100%"
placeholder=
"请选择Date Issued"
></c-date-picker>
</el-form-item>
<c-row>
</c-col>
<c-col
:span=
"19"
>
<c-col
:span=
"7"
:offset=
"1"
>
<el-form-item
label=
"Available with"
prop=
"ledgrp.avbnam"
>
<el-form-item
label=
"Shipment Date"
prop=
"ledgrp.rec.shpdat"
label-width=
"100px"
>
<c-input
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.shpdat"
style=
"width:100%"
placeholder=
"请选择Shipment Date"
></c-date-picker>
v-model=
"model.ledgrp.avbnam"
</el-form-item>
maxlength=
"40"
</c-col>
placeholder=
"请输入Available with"
</c-row>
disabled
</c-col>
></c-input>
<c-col
:span=
"11"
:offset=
"1"
>
</el-form-item>
<c-row>
</c-col>
<c-col
:span=
"20"
>
</c-row>
<el-form-item
label=
"Iss. Bank"
prop=
"ledgrp.iss.pts.ref"
>
<c-input
v-model=
"model.ledgrp.iss.pts.ref"
maxlength=
"16"
placeholder=
"请输入Iss. Bank"
></c-input>
<c-col
:span=
"24"
>
</el-form-item>
<c-col
:span=
"19"
>
</c-col>
<el-form-item
label=
"Available by"
prop=
"ledgrp.rec.avbby"
>
</c-row>
<c-select
</c-col>
v-model=
"model.ledgrp.rec.avbby"
</c-row>
style=
"width: 100%"
placeholder=
"请选择Available by [AVBBY0]"
<c-row
class=
"infrow"
>
disabled
<c-col
:span=
"11"
:offset=
"1"
>
:code=
"codes.avbby"
<c-row>
>
<c-col
:span=
"12"
>
</c-select>
<el-form-item
label=
"Date/Place of Expiry"
prop=
"ledgrp.rec.expdat"
>
</el-form-item>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.expdat"
style=
"width:100%"
placeholder=
"请选择Date/Place of Expiry"
></c-date-picker>
</c-col>
</el-form-item>
<c-col
:span=
"5"
>
</c-col>
<c-checkbox
v-model=
"model.ledgrp.rec.redclsflg"
<c-col
:span=
"7"
:offset=
"1"
>
style=
"margin-left: 10px"
<el-form-item
label=
""
prop=
"ledgrp.rec.expplc"
label-width=
"0px"
>
disabled
<c-input
v-model=
"model.ledgrp.rec.expplc"
maxlength=
"29"
placeholder=
"请输入Date/Place of Expiry"
></c-input>
>
Red/Green Clause
</c-checkbox
</el-form-item>
>
</c-col>
</c-col>
</c-row>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-row>
<c-col
:span=
"12"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Date Issued"
prop=
"ledgrp.rec.opndat"
>
<el-form-item
label=
""
prop=
"ledgrp.iss.pts.nam"
label-width=
"0px"
>
<c-date-picker
<c-input
v-model=
"model.ledgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
type=
"date"
</el-form-item>
v-model=
"model.ledgrp.rec.opndat"
</c-col>
style=
"width: 100%"
</c-row>
placeholder=
"请选择Date Issued"
</c-col>
value-format=
"yyyy-MM-dd"
</c-row>
disabled
></c-date-picker>
<c-row
class=
"infrow"
>
</el-form-item>
<c-col
:span=
"11"
:offset=
"1"
>
</c-col>
<c-row>
<c-col
:span=
"12"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"Shipment Date"
prop=
"ledgrp.rec.shpdat"
>
<el-form-item
label=
"Form of L/C"
prop=
"ledgrp.rec.lcrtyp"
>
<c-date-picker
<c-select
v-model=
"model.ledgrp.rec.lcrtyp"
style=
"width:100%"
placeholder=
"请选择Form of L/C"
></c-select>
type=
"date"
</el-form-item>
v-model=
"model.ledgrp.rec.shpdat"
</c-col>
style=
"width: 100%"
</c-row>
placeholder=
"请选择Shipment Date"
</c-col>
value-format=
"yyyy-MM-dd"
<c-col
:span=
"11"
:offset=
"1"
>
disabled
<c-row>
></c-date-picker>
<c-col
:span=
"20"
>
</el-form-item>
<el-form-item
label=
"Beneficiary"
prop=
"ledgrp.ben.pts.ref"
>
</c-col>
<c-input
v-model=
"model.ledgrp.ben.pts.ref"
maxlength=
"16"
placeholder=
"请输入Beneficiary"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
</c-row>
<c-col
:span=
"12"
>
</c-col>
<el-form-item
label=
"Date/Place of Expiry"
prop=
"ledgrp.rec.expdat"
>
</c-row>
<c-date-picker
type=
"date"
<c-row
class=
"infrow"
>
v-model=
"model.ledgrp.rec.expdat"
<c-col
:span=
"11"
:offset=
"1"
>
style=
"width: 100%"
<c-row>
placeholder=
"请选择Date/Place of Expiry"
<c-col
:span=
"20"
>
value-format=
"yyyy-MM-dd"
<el-form-item
label=
"Confirmation text"
prop=
"letp0.cnftxt"
>
disabled
<c-input
v-model=
"model.letp0.cnftxt"
maxlength=
"40"
placeholder=
"请输入Confirmation text"
></c-input>
></c-date-picker>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-col
:span=
"12"
>
</c-col>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.rec.expplc"
>
<c-col
:span=
"11"
:offset=
"1"
>
<c-input
<c-row>
v-model=
"model.ledgrp.rec.expplc"
<c-col
:span=
"20"
>
maxlength=
"29"
<el-form-item
label=
""
prop=
"ledgrp.ben.pts.nam"
label-width=
"0px"
>
placeholder=
"请输入Date/Place of Expiry"
<c-input
v-model=
"model.ledgrp.ben.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
></c-input>
value-format=
"yyyy-MM-dd"
</el-form-item>
disabled
</c-col>
></c-input>
</c-row>
</el-form-item>
</c-col>
</c-col>
</c-row>
</c-col>
<c-row
class=
"infrow"
>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"Form of L/C"
prop=
"ledgrp.rec.lcrtyp"
>
<c-row>
<c-select
<c-col
:span=
"17"
>
v-model=
"model.ledgrp.rec.lcrtyp"
<el-form-item
label=
"Narrative"
prop=
"letcanf.strinf"
>
style=
"width: 100%"
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.letcanf.strinf"
maxlength=
"50"
show-word-limit
placeholder=
"请输入Narrative"
></c-input>
placeholder=
"请选择Form of L/C"
</el-form-item>
disabled
</c-col>
:code=
"codes.lcrtyp"
<c-col
:span=
"2"
:offset=
"1"
>
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onCanletButtxmsel"
>
</c-select>
...
</el-form-item>
</c-button>
</c-col>
</c-col>
</c-row>
</c-col>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<!-- ========================上半部分的右边======================= -->
<c-row>
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"20"
>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.sndmsg"
>
Send Message
</c-checkbox>
<el-form-item
label=
"Applicant Ref."
prop=
"ledgrp.apl.pts.ref"
>
</c-col>
<c-input
<c-col
:span=
"20"
>
v-model=
"model.ledgrp.apl.pts.ref"
<c-checkbox
v-model=
"model.letp0.aammod.addamtflg"
>
Add. Amount
</c-checkbox>
maxlength=
"16"
</c-col>
placeholder=
"请输入Applicant"
<c-col
:span=
"20"
>
disabled
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
>
Revolving Flag
</c-checkbox>
></c-input>
</c-col>
</el-form-item>
<c-col
:span=
"20"
>
</c-col>
<c-checkbox
v-model=
"model.ledgrp.rec.redclsflg"
>
Red/Green Clause
</c-checkbox>
<c-col
:span=
"24"
>
</c-col>
<el-form-item
label=
""
prop=
"ledgrp.apl.pts.nam"
>
</c-row>
<c-input
</c-col>
v-model=
"model.ledgrp.apl.pts.nam"
</c-row>
maxlength=
"40"
</c-content>
placeholder=
"请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Iss. Bank Original LC No"
prop=
"ledgrp.iss.pts.ref"
>
<c-input
v-model=
"model.ledgrp.iss.pts.ref"
maxlength=
"16"
placeholder=
"请输入Iss. Bank"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"ledgrp.iss.pts.nam"
>
<c-input
v-model=
"model.ledgrp.iss.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Beneficiary Ref."
prop=
"ledgrp.ben.pts.ref"
>
<c-input
v-model=
"model.ledgrp.ben.pts.ref"
maxlength=
"16"
placeholder=
"请输入Beneficiary"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"ledgrp.ben.pts.nam"
>
<c-input
v-model=
"model.ledgrp.ben.pts.nam"
maxlength=
"40"
placeholder=
"请输入Name of Party"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Confirmation text"
prop=
"letp0.cnftxt"
>
<c-input
v-model=
"model.letp0.cnftxt"
maxlength=
"40"
placeholder=
"请输入Confirmation text"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<!-- ========================下半部分======================= -->
<c-row>
<c-col
:span=
"12"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"Narrative"
prop=
"letcanf.strinf"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.letcanf.strinf"
maxlength=
"1750"
:rows=
"5"
show-word-limit
placeholder=
"请输入Narrative"
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onCanletButtxmsel"
>
...
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"18"
:offset=
"6"
>
<c-checkbox
v-model=
"model.sndmsg"
>
Send Message
</c-checkbox>
</c-col>
</c-col>
</c-row>
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp0.recget.sdamod.dadsnd">
<c-input
v-model="model.letp0.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-input
v-model="model.ledgrp.cbs.nom1.cur"
maxlength="3"
placeholder="请输入L/C Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ledgrp.cbs.nom1.amt">
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.letp0.aammod.addamtflg"
>Add. Amount</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="Applicant" prop="ledgrp.apl.pts.ref">
<c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-input
v-model="model.ledgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Open Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ledgrp.cbs.opn1.amt">
<c-input
v-model="model.ledgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ledgrp.apl.pts.nam">
<c-input
v-model="model.ledgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available with" prop="ledgrp.avbnam">
<c-input
v-model="model.ledgrp.avbnam"
maxlength="40"
placeholder="请输入Available with"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref">
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Iss. Bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available by [AVBBY0]" prop="ledgrp.rec.avbby">
<c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by [AVBBY0]"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ledgrp.iss.pts.nam">
<c-input
v-model="model.ledgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date Issued" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Date Issued"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref">
<c-input
v-model="model.ledgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date/Place of Expiry"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入Date/Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ledgrp.ben.pts.nam">
<c-input
v-model="model.ledgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of L/C"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Confirmation text" prop="letp0.cnftxt">
<c-input
v-model="model.letp0.cnftxt"
maxlength="40"
placeholder="请输入Confirmation text"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Narrative" prop="letcanf.strinf">
<c-input
type="textarea"
v-model="model.letcanf.strinf"
maxlength="50"
show-word-limit
placeholder="请输入Narrative"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCanletButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
</c-col>
-->
</div>
</template>
</template>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
'~/service/Api'
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
"~/model/Letcan/Event"
import
Event
from
'~/model/Letcan/Event'
import
Utils
from
'~/utils'
import
Ptap
from
'~/views/Public/Ptap'
export
default
{
export
default
{
inject
:
[
'root'
],
components
:
{
'c-ptap'
:
Ptap
},
props
:[
"model"
,
"codes"
],
inject
:
[
'root'
],
mixins
:
[
commonProcess
],
props
:
[
'model'
,
'codes'
],
data
(){
mixins
:
[
commonProcess
],
return
{
data
()
{
return
{
// watch:{
// watch:{
// ownref(newValue){
// ownref(newValue){
// this.model.ledgrp.rec.ownref = newValue;
// this.model.ledgrp.rec.ownref = newValue;
// }
// }
// }
// }
}
},
methods
:
{
...
Event
,
nom1CurEvent
()
{
this
.
executeDefault
(
'ledgrp.cbs.nom1.cur'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
}
})
},
},
methods
:{...
Event
},
},
created
:
function
(){
created
:
function
()
{},
}
}
}
// let vm = new Vue({
// let vm = new Vue({
// el="#ownref",date:{}
// el="#ownref",date:{}
// });
// });
</
script
>
</
script
>
<
style
>
<
style
></
style
>
</
style
>
src/views/Business/Letcan/index.vue
View file @
84deec63
<
template
>
<
template
>
<!--
<c-page
title=
"出口信用证注销"
>
-->
<!--
<c-page
title=
"出口信用证注销"
>
-->
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<el-form
<c-function-btn
:model=
"model"
:handleSubmit=
"handleSubmit"
:rules=
"rules"
:handleCheck=
"handleCheck"
ref=
"modelForm"
:handleStash=
"handleStash"
label-width=
"120px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
class=
"letcanTab"
>
<!--
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--PD000016 -->
<el-button
size=
"small"
>
保存模板
</el-button>
<el-tab-pane
label=
"Cancelation"
name=
"canp"
>
<el-button
size=
"small"
>
使用模板
</el-button>
<c-content>
<el-button
size=
"small"
>
制裁信息
</el-button>
<m-canp
:model=
"model"
:codes=
"codes"
/>
<el-button
size=
"small"
>
拆分报文
</el-button>
</c-content>
<el-button
size=
"small"
>
智能提示
</el-button>
-->
</el-tab-pane>
<el-button
size=
"small"
>
用户确认
</el-button>
<el-button
size=
"small"
>
检核
</el-button>
<!--PD000000 -->
<el-button
size=
"small"
>
日志
</el-button>
<el-tab-pane
label=
"Settlement账务"
name=
"setpan"
>
<el-button
size=
"small"
>
inc to Ben
</el-button>
<c-content>
<el-button
size=
"small"
>
imgyge
</el-button>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
<el-button
size=
"small"
>
img
</el-button>
</c-content>
<el-button
size=
"small"
>
His.img
</el-button>
</el-tab-pane>
</c-function-btn>
<!--PD000000 -->
<el-form
<el-tab-pane
label=
"Completion附言"
name=
"coninfp"
>
:model=
"model"
<c-content>
:rules=
"rules"
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
ref=
"modelForm"
</c-content>
label-width=
"150px"
</el-tab-pane>
label-position=
"left"
size=
"small"
<!--PD000529 -->
:validate-on-rule-change=
"false"
<el-tab-pane
label=
"Messages报文及面函"
name=
"docpan"
>
>
<c-content>
<c-tabs
<m-docpan
:model=
"model"
:codes=
"codes"
/>
v-model=
"tabVal"
</c-content>
ref=
"elment"
</el-tab-pane>
type=
"card"
@
tab-click=
"myTabClick"
<!--PD000546 -->
>
<el-tab-pane
label=
"Attachments附件"
name=
"doctre"
>
<!--PD000016 -->
<c-content>
<el-tab-pane
label=
"Cancelation"
name=
"canp"
>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<c-content>
</c-content>
<m-canp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<!--PD000000 Settlement账务-->
<c-content>
<el-tab-pane
label=
"Settlement"
name=
"setpan"
>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<c-content>
</c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-content>
</c-tabs>
</el-tab-pane>
<!--PD000000 Completion附言-->
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000529 Messages报文及面函-->
<el-tab-pane
label=
"Messages"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000546 Attachments附件-->
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</el-form>
<!-- 数据回填效果 -->
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
@
select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref=
"doxpDialog"
:isPty=
"false"
:promptData=
"promptData"
@
select-ety=
"selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</div>
<!--
</c-page>
-->
<!--
</c-page>
-->
</
template
>
</
template
>
<
script
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
'~/service/Api'
import
Utils
from
"~/utils/index"
;
import
Utils
from
'~/utils/index'
import
CodeTable
from
"~/config/CodeTable"
import
CodeTable
from
'~/config/CodeTable'
import
Letcan
from
"~/model/Letcan"
import
Letcan
from
'~/model/Letcan'
import
commonProcess
from
"~/mixin/commonProcess"
import
commonProcess
from
'~/mixin/commonProcess'
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
commonFuncs
from
'~/mixin/commonFuncs'
import
Check
from
"~/model/Letcan/Check"
import
Check
from
'~/model/Letcan/Check'
import
Default
from
"~/model/Letcan/Default"
import
Default
from
'~/model/Letcan/Default'
import
Pattern
from
"~/model/Letcan/Pattern"
import
Pattern
from
'~/model/Letcan/Pattern'
import
Canp
from
"./Canp"
import
Canp
from
'./Canp'
// import Setpan from "./Setpan"
// import Setpan from "./Setpan"
import
Coninfp
from
"./Coninfp"
// import Coninfp from './Coninfp'
import
Docpan
from
"./Docpan"
// import Docpan from './Docpan'
import
Doctre
from
"./Doctre"
// import Doctre from './Doctre'
import
Limitbody
from
"./Limitbody"
// import Limitbody from './Limitbody'
import
Setpan
from
"~/views/Public/Setpan"
;
import
Setpan
from
'~/views/Public/Setpan'
import
Coninfp
from
'~/views/Public/Coninfp'
import
Docpan
from
'~/views/Public/Docpan'
import
Doctre
from
'~/views/Public/Doctre'
import
Limitbody
from
'~/views/Public/Limitbody'
export
default
{
export
default
{
components
:{
name
:
"Letcan"
,
"m-canp"
:
Canp
,
components
:
{
"m-setpan"
:
Setpan
,
'm-canp'
:
Canp
,
"m-coninfp"
:
Coninfp
,
'm-setpan'
:
Setpan
,
"m-docpan"
:
Docpan
,
'm-coninfp'
:
Coninfp
,
"m-doctre"
:
Doctre
,
'm-docpan'
:
Docpan
,
"m-limitbody"
:
Limitbody
,
'm-doctre'
:
Doctre
,
},
'm-limitbody'
:
Limitbody
,
provide
()
{
},
return
{
provide
()
{
root
:
this
return
{
}
root
:
this
,
},
}
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
},
data
(){
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
return
{
data
()
{
tabVal
:
"canp"
,
return
{
trnName
:
"letcan"
,
tabVal
:
'canp'
,
model
:
new
Letcan
().
data
,
trnName
:
'letcan'
,
checkRules
:
Check
,
model
:
new
Letcan
().
data
,
defaultRules
:
Default
,
checkRules
:
Check
,
pattern
:
Pattern
,
defaultRules
:
Default
,
rules
:
null
,
pattern
:
Pattern
,
codes
:
{...
CodeTable
rules
:
null
,
},
codes
:
{
...
CodeTable
},
}
}
},
},
methods
:{
methods
:
{
tabClick
(){
myTabClick
(
tab
)
{
}
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
},
},
created
:
async
function
(){
},
console
.
log
(
"进入letcan交易"
);
created
:
async
function
()
{
let
rtnmsg
=
await
this
.
init
({})
console
.
log
(
'进入letcan交易'
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
let
rtnmsg
=
await
this
.
init
({})
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
)
if
(
this
.
isInDisplay
)
{
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
this
.
restoreDisplay
()
}
}
}
}
else
{
else
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
})
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
},
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.infcanTab
.el-tabs__content
{
padding
:
10px
0
10px
0
;
}
.infcanTab
.infrow
{
padding
:
0
10px
0
10px
;
}
</
style
>
</
style
>
src/views/Business/Letdrw/Drv.vue
View file @
84deec63
...
@@ -76,12 +76,13 @@
...
@@ -76,12 +76,13 @@
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Open Amount"
prop=
"ledgrp.cbs.opn1.cur"
>
<el-form-item
label=
"Open Amount"
prop=
"ledgrp.cbs.opn1.cur"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model.ledgrp.cbs.opn1.cur"
v-model=
"model.ledgrp.cbs.opn1.cur"
maxlength=
"3"
maxlength=
"3"
placeholder=
"请输入Open Amount"
placeholder=
"请输入Open Amount"
disabled
disabled
></c-input>
:code=
"codes.curtxt1"
></c-select>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"7"
>
<c-col
:span=
"7"
>
...
@@ -104,7 +105,6 @@
...
@@ -104,7 +105,6 @@
</c-col>
</c-col>
</c-col>
</c-col>
<c-row>
<c-col
:span=
"19"
>
<c-col
:span=
"19"
>
<el-form-item
label=
"Available with"
prop=
"ledgrp.avbnam"
>
<el-form-item
label=
"Available with"
prop=
"ledgrp.avbnam"
>
<c-input
<c-input
...
@@ -115,15 +115,15 @@
...
@@ -115,15 +115,15 @@
></c-input>
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-col
:span=
"19"
>
<c-col
:span=
"19"
>
<el-form-item
label=
"Available by
[AVBBY0]
"
prop=
"ledgrp.rec.avbby"
>
<el-form-item
label=
"Available by"
prop=
"ledgrp.rec.avbby"
>
<c-select
<c-select
v-model=
"model.ledgrp.rec.avbby"
v-model=
"model.ledgrp.rec.avbby"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择Available by [AVBBY0]"
placeholder=
"请选择Available by [AVBBY0]"
:code=
"codes.avbby"
disabled
disabled
>
>
</c-select>
</c-select>
...
@@ -198,6 +198,7 @@
...
@@ -198,6 +198,7 @@
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择Form of L/C"
placeholder=
"请选择Form of L/C"
disabled
disabled
:code=
"codes.lcrtyp"
>
>
</c-select>
</c-select>
</el-form-item>
</el-form-item>
...
@@ -282,7 +283,6 @@
...
@@ -282,7 +283,6 @@
</c-col>
</c-col>
<!-- ========================中部======================= -->
<!-- ========================中部======================= -->
<c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Document Reference"
prop=
"bedgrp.rec.ownref"
>
<el-form-item
label=
"Document Reference"
prop=
"bedgrp.rec.ownref"
>
...
@@ -317,7 +317,6 @@
...
@@ -317,7 +317,6 @@
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<!-- ========================下半部分的左边======================= -->
<!-- ========================下半部分的左边======================= -->
...
@@ -636,11 +635,6 @@ export default {
...
@@ -636,11 +635,6 @@ export default {
}
}
})
})
},
},
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
}
},
},
},
created
:
function
()
{},
created
:
function
()
{},
}
}
...
...
src/views/Review/Business/ReviewLetcan.vue
0 → 100644
View file @
84deec63
<
template
>
<ReviewWrapper>
<Letcan></Letcan>
</ReviewWrapper>
</
template
>
<
script
>
import
Letcan
from
"~/views/Business/Letcan"
;
import
{
ReviewWrapper
}
from
"~/components/gj-common.min.js"
;
export
default
{
name
:
"ReviewLetcan"
,
components
:
{
ReviewWrapper
,
Letcan
},
created
()
{},
mounted
()
{},
};
</
script
>
<
style
></
style
>
src/views/Review/ReviewRouter.js
View file @
84deec63
...
@@ -19,6 +19,7 @@ import ReviewLetamc from "./Business/ReviewLetamc.vue";
...
@@ -19,6 +19,7 @@ import ReviewLetamc from "./Business/ReviewLetamc.vue";
import
ReviewLetame
from
"./Business/ReviewLetame.vue"
;
import
ReviewLetame
from
"./Business/ReviewLetame.vue"
;
import
ReviewLetdrw
from
"./Business/ReviewLetdrw.vue"
;
import
ReviewLetdrw
from
"./Business/ReviewLetdrw.vue"
;
import
ReviewLetdav
from
"./Business/ReviewLetdav.vue"
;
import
ReviewLetdav
from
"./Business/ReviewLetdav.vue"
;
import
ReviewLetcan
from
"./Business/ReviewLetcan.vue"
;
import
ReviewLitame
from
"./Business/ReviewLitame.vue"
;
import
ReviewLitame
from
"./Business/ReviewLitame.vue"
;
import
ReviewBdtdcr
from
"./Business/ReviewBdtdcr.vue"
;
import
ReviewBdtdcr
from
"./Business/ReviewBdtdcr.vue"
;
import
ReviewBdteus
from
"./Business/ReviewBdteus.vue"
;
import
ReviewBdteus
from
"./Business/ReviewBdteus.vue"
;
...
@@ -77,6 +78,7 @@ const ReviewRouter = [
...
@@ -77,6 +78,7 @@ const ReviewRouter = [
{
path
:
"letame"
,
component
:
ReviewLetame
,
name
:
"ReviewLetame"
,
meta
:
{
title
:
"复核-Letame"
}
},
{
path
:
"letame"
,
component
:
ReviewLetame
,
name
:
"ReviewLetame"
,
meta
:
{
title
:
"复核-Letame"
}
},
{
path
:
"letdrw"
,
component
:
ReviewLetdrw
,
name
:
"ReviewLetdrw"
,
meta
:
{
title
:
"复核-Letdrw"
}
},
{
path
:
"letdrw"
,
component
:
ReviewLetdrw
,
name
:
"ReviewLetdrw"
,
meta
:
{
title
:
"复核-Letdrw"
}
},
{
path
:
"letdav"
,
component
:
ReviewLetdav
,
name
:
"ReviewLetdav"
,
meta
:
{
title
:
"复核-Letdav"
}
},
{
path
:
"letdav"
,
component
:
ReviewLetdav
,
name
:
"ReviewLetdav"
,
meta
:
{
title
:
"复核-Letdav"
}
},
{
path
:
"letcan"
,
component
:
ReviewLetdav
,
name
:
"ReviewLetcan"
,
meta
:
{
title
:
"复核-Letcan"
}
},
{
path
:
"litopn"
,
component
:
ReviewLitopn
,
name
:
"ReviewLitopn"
,
meta
:
{
title
:
"复核-Litopn"
}
},
{
path
:
"litopn"
,
component
:
ReviewLitopn
,
name
:
"ReviewLitopn"
,
meta
:
{
title
:
"复核-Litopn"
}
},
{
path
:
"bftset"
,
component
:
ReviewBftset
,
name
:
"ReviewBftset"
,
meta
:
{
title
:
"复核-Bftset"
}
},
{
path
:
"bftset"
,
component
:
ReviewBftset
,
name
:
"ReviewBftset"
,
meta
:
{
title
:
"复核-Bftset"
}
},
{
path
:
"litame"
,
component
:
ReviewLitame
,
name
:
"ReviewLitame"
,
meta
:
{
title
:
"复核-Litame"
}
},
{
path
:
"litame"
,
component
:
ReviewLitame
,
name
:
"ReviewLitame"
,
meta
:
{
title
:
"复核-Litame"
}
},
...
...
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