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
5abad057
Commit
5abad057
authored
Sep 05, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lttopn交易前后联动
parent
2638a639
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
64 additions
and
45 deletions
+64
-45
Pattern.js
src/model/Letdrv/Pattern.js
+1
-1
Default.js
src/model/Lttopn/Default.js
+2
-0
Event.js
src/model/Lttopn/Event.js
+6
-1
Pattern.js
src/model/Lttopn/Pattern.js
+19
-19
Detp.vue
src/views/Business/Lttopn/Detp.vue
+17
-15
Ovwp.vue
src/views/Business/Lttopn/Ovwp.vue
+3
-1
Engp.vue
src/views/Public/Engp.vue
+16
-8
No files found.
src/model/Letdrv/Pattern.js
View file @
5abad057
...
...
@@ -105,7 +105,7 @@ export default {
"bedgrp.cbs.max.amt"
:
[
{
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位"
}
],
"bedgrp.prb.pts.ref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
src/model/Lttopn/Default.js
View file @
5abad057
...
...
@@ -103,5 +103,7 @@ export default {
"cnybop.outflg"
:
Utils
.
defaultFunction
,
"ltdgrp.rec.shptrs"
:
Utils
.
defaultFunction
,
"ltdgrp.rec.shptrss18"
:
Utils
.
defaultFunction
,
"ltdgrp.rec.expplc"
:
Utils
.
defaultFunction
,
"ltdgrp.rec.cnfins"
:
Utils
.
defaultFunction
,
}
//你可以添加自动default处理
src/model/Lttopn/Event.js
View file @
5abad057
...
...
@@ -319,7 +319,12 @@ export default {
onBenpDet
(){},
onIsspDet
(){},
onAplpDet
(){},
onAvbpDet
(){},
onAdvpDet
(){},
onA2bpDet
(){},
onApbpDet
(){},
onRmbpDet
(){},
...
...
src/model/Lttopn/Pattern.js
View file @
5abad057
...
...
@@ -69,13 +69,13 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"ltdgrp.rec.nomtop"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
"ltdgrp.rec.nomtop"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过2"
}
],
"ltdgrp.rec.nomton"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
2
,
message
:
"长度不能超过2"
}
"ltdgrp.rec.nomton"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
type
:
"number"
,
max
:
999
,
message
:
"长度不能超过2"
}
],
"ltdgrp.adt.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -97,9 +97,9 @@ export default {
"ltdgrp.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位"
}
],
"ltdgrp.adt.namelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -107,7 +107,7 @@ export default {
],
"ltdgrp.adt.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.adt.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -152,7 +152,7 @@ export default {
],
"ltdgrp.be2.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.be2.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -188,9 +188,9 @@ export default {
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"ledgrp.cbs.nom1.amt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"ledgrp.apl.pts.ref"
:[
...
...
@@ -309,7 +309,7 @@ export default {
],
"ltdgrp.a2t.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.a2t.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -317,7 +317,7 @@ export default {
],
"ltdgrp.rmt.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.rmt.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -375,7 +375,7 @@ export default {
],
"ltdgrp.con.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.con.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -383,7 +383,7 @@ export default {
],
"ltdgrp.avt.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.avt.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -556,7 +556,7 @@ export default {
],
"ltdgrp.blk.avbwthtxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.blk.preper"
:[
...
...
@@ -606,7 +606,7 @@ export default {
],
"ltdgrp.drw.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
{
type
:
"string"
,
max
:
999
,
message
:
"长度不能超过35"
}
],
"ltdgrp.drw.dbfadrblkcn"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Lttopn/Detp.vue
View file @
5abad057
...
...
@@ -42,7 +42,7 @@
maxlength=
"140"
show-word-limit
placeholder=
"请输入名称地址"
:disabled=
"model.ltdgrp.rec.avbwth == '
C'||model.ltdgrp.rec.avbwth == 'I
'"
:disabled=
"model.ltdgrp.rec.avbwth == '
I'||model.ltdgrp.rec.avbwth == 'C
'"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -107,6 +107,7 @@
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabled="blkDftatFlag"
:disabledExtkey="blkDftatFlag"
>
</c-ptap>
</c-col>
...
...
@@ -194,18 +195,19 @@
<!-- Days of presentation period -->
<c-col
:span=
"24"
>
<el-form-item
label=
"Presentation Period"
prop=
"ltdgrp.rec.prepers18"
>
<el-form-item
label=
"Presentation Period"
prop=
"ltdgrp.rec.preper
txt
s18"
>
<c-fullbox>
<c-input
v-model
.
number=
"model.ltdgrp.rec.prepers18"
v-model
.
number=
"model.ltdgrp.rec.preper
txt
s18"
placeholder=
"Please input Presentation Period"
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onPreperButtxmsel"
disabled
@
click=
"showGridPromptDialog('lttp.detp', null, null,
{TXT:
'ltdgrp.rec.prepertxts18'}, {TXT: false},'doxpDialog')"
>
...
</c-button>
...
...
@@ -241,7 +243,8 @@
<c-button
size=
"small"
type=
"primary"
@
click=
"onChariaButtxmsel"
@
click=
"showGridPromptDialog('lttp.charia.buttxmsel', null, null,
{TXT:
'ltdgrp.blk.feetxt'}, {TXT: false},'doxpDialog')"
>
...
</c-button>
...
...
@@ -311,7 +314,7 @@ export default {
}
},
methods
:
{
...
Event
,
...
Event
,
avbwthEvent
(){
if
(
this
.
model
.
ltdgrp
.
rec
.
avbwth
!=
'A'
||
this
.
model
.
ltdgrp
.
rec
.
avbwth
!=
'O'
)
{
this
.
model
.
ltdgrp
.
avb
.
pts
.
extkey
=
''
...
...
@@ -350,28 +353,27 @@ export default {
defdetFlag
:
{
get
()
{
return
(
//
this.model.ltdgrp.rec.avbby == 'A' ||
//
this.model.ltdgrp.rec.avbby == 'P' ||
// this.model.ltdgrp.rec.avbby == 'M' ||
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'A'
||
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'P'
||
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'M'
// this.model.ltdgrp.rec.avbby == ''
this
.
model
.
ltdgrp
.
rec
.
avbby
!=
'D'
&&
this
.
model
.
ltdgrp
.
rec
.
avbby
!=
'N'
//
this.model.ltdgrp.rec.avbby != 'D' &&
//
this.model.ltdgrp.rec.avbby != 'N'
)
},
},
blkDftatFlag
:
{
get
()
{
return
(
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'A'
||
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'N'
||
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'P'
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'M'
||
this
.
model
.
ltdgrp
.
rec
.
avbby
==
'D'
)
},
},
},
created
:
function
()
{},
watch
:
{
"model.ltdgrp.av
b
.pts.adrblk"
:
{
"model.ltdgrp.av
t
.pts.adrblk"
:
{
handler
(
val
,
oldVal
)
{
this
.
model
.
ltdgrp
.
blk
.
avbwthtxt
=
val
;
},
...
...
src/views/Business/Lttopn/Ovwp.vue
View file @
5abad057
...
...
@@ -179,7 +179,7 @@
</c-col>
<c-col
:span=
"7"
>
<el-form-item
label=
""
label-width=
"20px"
prop=
"l
e
dgrp.cbs.nom1.amt"
>
<el-form-item
label=
""
label-width=
"20px"
prop=
"l
t
dgrp.cbs.nom1.amt"
>
<c-input-currency
v-model=
"model.ltdgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
...
...
@@ -308,6 +308,7 @@
v-model=
"model.ltdgrp.rec.expplc"
style=
"width: 100%"
placeholder=
"Please input in"
:code=
"codes.expplc"
></c-select>
</el-form-item>
</c-col>
...
...
@@ -393,6 +394,7 @@
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
:onlySearch=
"true"
:disabledExtkey=
"true"
>
</c-ptap>
<c-col
:span=
"24"
>
...
...
src/views/Public/Engp.vue
View file @
5abad057
...
...
@@ -15,7 +15,10 @@
</el-table-column>
<el-table-column
prop=
"matdat"
label=
"Maturity"
width=
"150px"
>
<template
slot-scope=
"scope"
>
<el-form-item
label-width=
"0"
:prop=
"'liaall.liaallg.' + scope.$index + '.matdat'"
>
<el-form-item
label-width=
"0"
:prop=
"'liaall.liaallg.' + scope.$index + '.matdat'"
>
<c-date-picker
type=
"date"
v-model=
"scope.row.matdat"
...
...
@@ -30,12 +33,17 @@
</el-table-column>
<el-table-column
prop=
"tenday"
label=
"Tenor"
width=
"70px"
>
<
template
slot-scope=
"scope"
>
<c-input
v-model=
"scope.row.tenday"
style=
"width: 100%"
placeholder=
"请输入"
<el-form-item
label-width=
"0"
:prop=
"'liaall.liaallg.' + scope.$index + '.tenday'"
>
</c-input>
<c-input
v-model=
"scope.row.tenday"
style=
"width: 100%"
placeholder=
"请输入"
>
</c-input>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
prop=
"rol"
label=
"Dbt."
width=
"70px"
>
...
...
@@ -62,8 +70,8 @@
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"Value Date"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
{{
dateFormat
(
scope
.
row
.
valdat
)
}}
</
template
>
{{
dateFormat
(
scope
.
row
.
valdat
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
""
prop=
"det"
width=
"80px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
slot=
"header"
>
...
...
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