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
e47c1a1f
Commit
e47c1a1f
authored
Sep 05, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letopn/not/drw/dav/can/ame/amc回车触发默认事件改为触发失焦点触发的事件
parent
5e29a1f1
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
40 additions
and
151 deletions
+40
-151
Event.js
src/model/Letdrw/Event.js
+1
-0
Pattern.js
src/model/Letdrw/Pattern.js
+1
-1
Aamp.vue
src/views/Business/Letamc/Aamp.vue
+1
-2
Conp.vue
src/views/Business/Letamc/Conp.vue
+3
-10
Ovwp.vue
src/views/Business/Letamc/Ovwp.vue
+3
-11
Aamp.vue
src/views/Business/Letame/Aamp.vue
+1
-3
Detp.vue
src/views/Business/Letame/Detp.vue
+1
-6
Ovwp.vue
src/views/Business/Letame/Ovwp.vue
+3
-11
Canp.vue
src/views/Business/Letcan/Canp.vue
+2
-14
Davp.vue
src/views/Business/Letdav/Davp.vue
+3
-8
Aamp.vue
src/views/Business/Letdrw/Aamp.vue
+3
-4
Detp.vue
src/views/Business/Letdrw/Detp.vue
+2
-6
Drv.vue
src/views/Business/Letdrw/Drv.vue
+2
-14
Ovwp.vue
src/views/Business/Letdrw/Ovwp.vue
+1
-14
Aamp.vue
src/views/Business/Letnot/Aamp.vue
+3
-3
Detp.vue
src/views/Business/Letnot/Detp.vue
+2
-6
Ovwp.vue
src/views/Business/Letnot/Ovwp.vue
+2
-14
Aamp.vue
src/views/Business/Letopn/Aamp.vue
+3
-4
Detp.vue
src/views/Business/Letopn/Detp.vue
+2
-6
Ovwp.vue
src/views/Business/Letopn/Ovwp.vue
+1
-14
No files found.
src/model/Letdrw/Event.js
View file @
e47c1a1f
...
...
@@ -18,6 +18,7 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
(){},
async
onBenpDet
(){
let
rtnmsg
=
await
this
.
executeRule
(
"benp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
...
...
src/model/Letdrw/Pattern.js
View file @
e47c1a1f
...
...
@@ -495,7 +495,7 @@ export default {
// {max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.nom1.amt"
:
[
{
required
:
true
,
message
:
"必输项"
},
{
type
:
'string'
,
required
:
true
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
src/views/Business/Letamc/Aamp.vue
View file @
e47c1a1f
...
...
@@ -12,8 +12,7 @@
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.max2.amt"
>
<c-input
v-model=
"model.ledgrp.cbs.max2.amt"
placeholder=
"请输入Additional Amount"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"
></c-input>
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
</el-form-item>
</c-col>
...
...
src/views/Business/Letamc/Conp.vue
View file @
e47c1a1f
...
...
@@ -207,7 +207,7 @@
maxlength=
"3"
placeholder=
"请输入Confirmation"
:code=
"codes.curtxt1"
@
keyup
.
enter
.
native=
"cnfCurEvent"
style=
"width:100%"
style=
"width:100%"
disabled
></c-select>
</el-form-item>
...
...
@@ -218,7 +218,7 @@
v-model=
"model.ledgrp.cbs.cnf.amt"
class=
"m-input-currency"
placeholder=
"请输入Balance"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.cnf.amt', model.ledgrp.cbs.cnf.amt
)"
@
keyup
.
enter
.
native=
"
$event.target.blur(
)"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -228,7 +228,7 @@
<c-input
v-model=
"model.ledgrp.rec.partcon"
placeholder=
"请输入Partial Confirmation"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.rec.partcon', model.ledgrp.rec.partcon
)"
@
keyup
.
enter
.
native=
"
$event.target.blur(
)"
></c-input>
<!--
<span>
%
</span>
-->
<template
slot=
"footer"
>
%
</
template
>
...
...
@@ -385,13 +385,6 @@ export default {
},
methods
:
{
...
Event
,
cnfCurEvent
()
{
this
.
executeDefault
(
"didgrp.cbs.cnf.cur"
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
},
created
:
function
()
{},
}
...
...
src/views/Business/Letamc/Ovwp.vue
View file @
e47c1a1f
...
...
@@ -57,16 +57,15 @@
<c-col
:span=
"12"
>
<el-form-item
label=
"Nominal Amount"
prop=
"ledgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.curtxt1"
>
:code=
"codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"7"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.nom1.amt"
>
<c-input-currency
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 95%"
placeholder=
"请输入Nominal Amount"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.nom1.amt', model.ledgrp.cbs.nom1.amt)
"
></c-input-currency>
placeholder=
"请输入Nominal Amount"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入Nominal Amount"></c-input-currency> -->
</el-form-item>
...
...
@@ -690,13 +689,6 @@ export default {
},
},
methods
:
{
...
Event
,
nom1CurEvent
()
{
this
.
executeDefault
(
"ledgrp.cbs.nom1.cur"
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
apprulChange
(
v
)
{
if
(
v
!==
"OTHR"
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
""
;
...
...
src/views/Business/Letame/Aamp.vue
View file @
e47c1a1f
...
...
@@ -20,9 +20,7 @@
placeholder=
"请输入Additional Amount"
class=
"m-input-currency"
disabled
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
</el-form-item>
</c-col>
...
...
src/views/Business/Letame/Detp.vue
View file @
e47c1a1f
...
...
@@ -368,12 +368,7 @@
placeholder=
"请输入"
:disabled=
"model.ledgrp.rec.avbby == 'P'"
maxlength=
"4"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
</el-form-item>
</c-col>
...
...
src/views/Business/Letame/Ovwp.vue
View file @
e47c1a1f
...
...
@@ -100,7 +100,7 @@
<c-col
:span=
"12"
>
<el-form-item
label=
"Nominal Amount"
prop=
"ledgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.curtxt1"
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -108,10 +108,9 @@
<c-col
:span=
"7"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.nom1.amt"
>
<c-input-currency
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 95%"
placeholder=
"请输入Nominal Amount"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.nom1.amt', model.ledgrp.cbs.nom1.amt)
"
placeholder=
"请输入Nominal Amount"
@
keyup
.
enter
.
native=
"$event.target.blur()"
disabled
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入Nominal Amount"></c-input-currency> -->
</el-form-item>
...
...
@@ -408,13 +407,6 @@ export default {
...
Event
,
onSeainf
(){},
onExtkey
(){},
nom1CurEvent
()
{
this
.
executeDefault
(
'ledgrp.cbs.nom1.cur'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
})
},
apprulChange
(
v
)
{
if
(
v
!==
"OTHR"
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
""
;
...
...
src/views/Business/Letcan/Canp.vue
View file @
e47c1a1f
...
...
@@ -40,7 +40,6 @@
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.curtxt1"
disabled
>
...
...
@@ -54,14 +53,10 @@
style=
"text-align: left; width: 100%"
class=
"m-input-currency"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
disabled
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
...
...
@@ -606,13 +601,6 @@ export default {
},
methods
:
{
...
Event
,
nom1CurEvent
()
{
this
.
executeDefault
(
'ledgrp.cbs.nom1.cur'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
})
},
},
created
:
function
()
{},
}
...
...
src/views/Business/Letdav/Davp.vue
View file @
e47c1a1f
...
...
@@ -67,7 +67,6 @@
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.cur"
disabled
>
...
...
@@ -81,15 +80,11 @@
style=
"text-align: left; width: 100%"
class=
"m-input-currency"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
disabled
></c-input-currency>
</el-form-item>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col
:span=
"5"
>
...
...
src/views/Business/Letdrw/Aamp.vue
View file @
e47c1a1f
...
...
@@ -18,11 +18,10 @@
<c-input
v-model=
"model.ledgrp.cbs.max2.amt"
placeholder=
"请输入Additional Amount"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
</el-form-item>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col
:span=
"13"
>
...
...
src/views/Business/Letdrw/Detp.vue
View file @
e47c1a1f
...
...
@@ -361,13 +361,9 @@
placeholder=
"请输入"
:disabled=
"model.ledgrp.rec.avbby == 'P'"
maxlength=
"4"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
</c-col>
...
...
src/views/Business/Letdrw/Drv.vue
View file @
e47c1a1f
...
...
@@ -37,7 +37,6 @@
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.curtxt1"
disabled
>
...
...
@@ -51,14 +50,10 @@
style=
"text-align: left; width: 100%"
class=
"m-input-currency"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
disabled
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
...
...
@@ -629,13 +624,6 @@ export default {
},
methods
:
{
...
Event
,
nom1CurEvent
()
{
this
.
executeDefault
(
'ledgrp.cbs.nom1.cur'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
})
},
},
created
:
function
()
{},
}
...
...
src/views/Business/Letdrw/Ovwp.vue
View file @
e47c1a1f
...
...
@@ -121,7 +121,6 @@
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.curtxt1"
>
</c-select>
...
...
@@ -139,12 +138,7 @@
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input-currency>
</el-form-item>
</c-col>
...
...
@@ -1108,13 +1102,6 @@ export default {
...
Event
,
onSeainf
(){},
onExtkey
(){},
nom1CurEvent
()
{
this
.
executeDefault
(
'ledgrp.cbs.nom1.cur'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
})
},
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
...
...
src/views/Business/Letnot/Aamp.vue
View file @
e47c1a1f
...
...
@@ -11,9 +11,9 @@
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.max2.amt"
>
<c-input
v-model=
"model.ledgrp.cbs.max2.amt"
placeholder=
"请输入Additional Amount"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"
></c-input
>
</el-form-item>
@
keyup
.
enter
.
native=
"
$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 --
>
</el-form-item>
</c-col>
<c-col
:span=
"13"
>
...
...
src/views/Business/Letnot/Detp.vue
View file @
e47c1a1f
...
...
@@ -362,13 +362,9 @@
placeholder=
"请输入"
:disabled=
"model.ledgrp.rec.avbby == 'P'"
maxlength=
"4"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
</c-col>
...
...
src/views/Business/Letnot/Ovwp.vue
View file @
e47c1a1f
...
...
@@ -121,7 +121,6 @@
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.curtxt1"
>
</c-select>
...
...
@@ -133,13 +132,9 @@
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额"></c-input-currency> -->
</el-form-item>
...
...
@@ -495,13 +490,6 @@ export default {
},
methods
:
{
...
Event
,
nom1CurEvent
()
{
this
.
executeDefault
(
'ledgrp.cbs.nom1.cur'
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
}
})
},
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
...
...
src/views/Business/Letopn/Aamp.vue
View file @
e47c1a1f
...
...
@@ -18,11 +18,10 @@
<c-input
v-model=
"model.ledgrp.cbs.max2.amt"
placeholder=
"请输入Additional Amount"
@
keyup
.
enter
.
native=
"
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
</el-form-item>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col
:span=
"13"
>
...
...
src/views/Business/Letopn/Detp.vue
View file @
e47c1a1f
...
...
@@ -362,13 +362,9 @@
placeholder=
"请输入"
:disabled=
"model.ledgrp.rec.avbby == 'P'"
maxlength=
"4"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
</c-col>
...
...
src/views/Business/Letopn/Ovwp.vue
View file @
e47c1a1f
...
...
@@ -121,7 +121,6 @@
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
@
keyup
.
enter
.
native=
"nom1CurEvent"
:code=
"codes.curtxt1"
>
</c-select>
...
...
@@ -133,12 +132,7 @@
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input-currency>
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额"></c-input-currency> -->
...
...
@@ -469,13 +463,6 @@ export default {
},
methods
:
{
...
Event
,
nom1CurEvent
()
{
this
.
executeDefault
(
"ledgrp.cbs.nom1.cur"
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
apprulChange
(
v
)
{
if
(
v
!==
"OTHR"
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
""
;
...
...
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