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
cafdb0dd
Commit
cafdb0dd
authored
Sep 06, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letopn附加金额/Revolving L/C取消勾选时弹出提示信息
parent
54449a31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
8 deletions
+71
-8
Ovwp.vue
src/views/Business/Letopn/Ovwp.vue
+64
-1
Ptyp.vue
src/views/Business/Letopn/Ptyp.vue
+1
-1
Doxp.vue
src/views/Public/Doxp.vue
+6
-6
No files found.
src/views/Business/Letopn/Ovwp.vue
View file @
cafdb0dd
...
...
@@ -151,6 +151,7 @@
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.letp.aamp.aammod.addamtflg"
@
change=
"openAddAmount"
style=
"margin-left: 10px"
>
附加金额
</c-checkbox
>
...
...
@@ -419,7 +420,7 @@
</c-col>
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
@
change=
"openRevolvingDetails"
>
Revolving L/C
</c-checkbox
>
</c-col>
...
...
@@ -468,6 +469,68 @@ 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: '已取消'
// });
});
}
},
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/Letopn/Ptyp.vue
View file @
cafdb0dd
...
...
@@ -41,7 +41,7 @@
style=
"width: 100%"
placeholder=
"第二通知行确认指令"
:code=
"codes.cnfflg1"
disabled
:disabled=
"model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
...
...
src/views/Public/Doxp.vue
View file @
cafdb0dd
...
...
@@ -15,14 +15,14 @@
</c-col>
<template
v-else-if=
"dtyp === 'adcp'"
>
<c-col
:span=
"20"
class=
"letopn_adcp_cheak"
>
<c-checkbox
v-model=
"model[`$
{rec}grp`].rec.spcbenflg"
>Special
payment conditions for b
eneficiary
</c-checkbox
<c-checkbox
v-model=
"model[`$
{rec}grp`].rec.spcbenflg"
:disabled="model[`${rec}grp`].blk.spcben!=''"
>Special
Payment Conditions for B
eneficiary
</c-checkbox
>
</c-col>
<c-col
:span=
"20"
class=
"letopn_adcp_cheak"
>
<c-checkbox
v-model=
"model[`$
{rec}grp`].rec.spcrcbflg">
Special
payment conditions for receiving bank
</c-checkbox
<c-checkbox
v-model=
"model[`$
{rec}grp`].rec.spcrcbflg"
:disabled="model[`${rec}grp`].blk.spcrcb!=''"
>
Special
Payment Conditions for Bank only
</c-checkbox
>
</c-col>
...
...
@@ -92,7 +92,7 @@ export default {
break
;
case
"spcbenp"
:
blk
.
blkMsg
=
{
title
:
"Special
payment conditions for beneficiary
"
,
title
:
"Special
Payment Cond. for BeneficiaryI
"
,
dataUrl
:
`
${
rec
}
grp.blk.spcben`
,
//字段所在model路劲
rows
:
20
,
};
...
...
@@ -100,7 +100,7 @@ export default {
break
;
case
"spcrcvp"
:
blk
.
blkMsg
=
{
title
:
"Special
payment conditions for receiving bank
"
,
title
:
"Special
Payment Cond. for Bank only
"
,
dataUrl
:
`
${
rec
}
grp.blk.spcrcb`
,
//字段所在model路劲
rows
:
20
,
};
...
...
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