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
63893653
Commit
63893653
authored
Sep 09, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letamc/not加附加金额取消勾选弹框确认;letame加Revoving LC取消勾选弹框确认
parent
c2d55dbb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
93 additions
and
2 deletions
+93
-2
Ovwp.vue
src/views/Business/Letamc/Ovwp.vue
+29
-1
Ovwp.vue
src/views/Business/Letame/Ovwp.vue
+35
-1
Ovwp.vue
src/views/Business/Letnot/Ovwp.vue
+29
-0
No files found.
src/views/Business/Letamc/Ovwp.vue
View file @
63893653
...
...
@@ -71,7 +71,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"5"
>
<c-checkbox
v-model=
"addamtflg"
style=
"margin-left:-1px;"
>
Add. Amount
</c-checkbox>
<c-checkbox
v-model=
"addamtflg"
style=
"margin-left:-1px;"
@
change=
"openAddAmount"
>
Add. Amount
</c-checkbox>
</c-col>
</c-col>
...
...
@@ -696,6 +696,34 @@ export default {
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
""
;
}
},
openAddAmount
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0.000'
&&
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
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
created
:
function
()
{
...
...
src/views/Business/Letame/Ovwp.vue
View file @
63893653
...
...
@@ -366,6 +366,7 @@
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
@
change=
"openRevolvingDetails"
>
Revolving L/C
</c-checkbox
>
</c-col>
...
...
@@ -407,13 +408,46 @@ export default {
},
methods
:
{
...
Event
,
onSeainf
(){},
onExtkey
(){},
apprulChange
(
v
)
{
if
(
v
!==
"OTHR"
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
""
;
}
},
openRevolvingDetails
(
val
){
if
(
val
===
''
&&
!
(
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
.
$confirm
(
'Are you sure you want to delete the entered Revolving Details?'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'ledgrp.rec.revflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
rec
.
revdat
=
''
;
//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
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
.
ledgrp
.
rec
.
revflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
created
:
function
()
{},
};
...
...
src/views/Business/Letnot/Ovwp.vue
View file @
63893653
...
...
@@ -143,6 +143,7 @@
<c-checkbox
v-model=
"model.letp.aamp.aammod.addamtflg"
style=
"margin-left: 10px"
@
change=
"openAddAmount"
>
附加金额
</c-checkbox
>
</c-col>
...
...
@@ -497,6 +498,34 @@ export default {
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
}
},
openAddAmount
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0.000'
&&
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
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
},
created
:
function
()
{},
}
...
...
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