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
a6931b11
Commit
a6931b11
authored
Sep 13, 2022
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bctset修改
parent
e29f3270
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
50 deletions
+69
-50
Bctsus.vue
src/views/Business/Bctset/Bctsus.vue
+60
-44
Dftcrep.vue
src/views/Business/Bctset/Dftcrep.vue
+8
-6
index.vue
src/views/Business/Bctset/index.vue
+1
-0
No files found.
src/views/Business/Bctset/Bctsus.vue
View file @
a6931b11
...
...
@@ -227,7 +227,7 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
class=
"bctdav_bctp_bctovw_cheak"
>
<c-checkbox
v-model=
"
model.bcdgrp.rec.focflg"
@
change=
"frepay
flgDefault"
<c-checkbox
v-model=
"
focflg"
@
change=
"foc
flgDefault"
>
Free of Payment
</c-checkbox
>
</c-col>
...
...
@@ -254,7 +254,7 @@
</c-col>
<c-col
:span=
"12"
class=
"bctdav_bctp_bctovw_cheak"
>
<c-checkbox
:disabled=
"model.bcdgrp.rec.focflg=='X'"
v-model=
"
model.trtcre.
crefinflg"
<c-checkbox
:disabled=
"model.bcdgrp.rec.focflg=='X'"
v-model=
"crefinflg"
@
change=
"crefinflgChange"
>
Create Financing
</c-checkbox
>
...
...
@@ -265,7 +265,7 @@
</c-col>
<c-col
:span=
"24"
class=
"bctdav_bctp_bctovw_cheak"
>
<c-checkbox
true-label=
"C"
v-model=
"
model.mtabut.
clsflg"
@
change=
"clsflgOtherDefault"
<c-checkbox
true-label=
"C"
v-model=
"clsflg"
@
change=
"clsflgOtherDefault"
>
Close Contract
</c-checkbox
>
</c-col>
...
...
@@ -423,7 +423,7 @@ export default {
crefinflg
:
{
get
()
{
if
(
this
.
model
.
b
ddgrp
.
rec
.
frepay
flg
==
'X'
)
{
if
(
this
.
model
.
b
cdgrp
.
rec
.
foc
flg
==
'X'
)
{
return
false
;
}
else
{
return
this
.
model
.
trtcre
.
crefinflg
!=
''
...
...
@@ -446,41 +446,50 @@ export default {
this
.
model
.
mtabut
.
clsflg
=
val
?
"C"
:
"O"
}
},
f
repay
flg
:
{
f
oc
flg
:
{
get
()
{
return
this
.
model
.
b
ddgrp
.
rec
.
frepay
flg
!=
''
return
this
.
model
.
b
cdgrp
.
rec
.
foc
flg
!=
''
},
set
(
val
)
{
if
(
this
.
model
.
b
ddgrp
.
rec
.
frepay
flg
==
'X'
)
{
if
(
this
.
model
.
b
cdgrp
.
rec
.
foc
flg
==
'X'
)
{
this
.
model
.
trtcre
.
crefinflg
=
''
this
.
model
.
trnmod
.
cmtflg
=
"O"
this
.
model
.
trnmod
.
cmtflg
=
'O'
}
else
{
this
.
model
.
trnmod
.
cmtflg
=
''
}
this
.
model
.
bddgrp
.
rec
.
frepayflg
=
val
?
"X"
:
""
}
},
dfflag
:
{
get
()
{
return
this
.
model
.
dftcre
.
dfflag
!=
''
},
set
(
val
)
{
this
.
model
.
dftcre
.
dfflag
=
val
?
"X"
:
""
this
.
model
.
bcdgrp
.
rec
.
focflg
=
val
?
"X"
:
""
}
},
// dfflag: {
// get() {
// return this.model.dftcre.dfflag != ''
// },
// set(val) {
// this.model.dftcre.dfflag = val ? "X" : ""
// }
// },
},
methods
:
{
...
Event
,
f
repay
flgDefault
(){
f
oc
flgDefault
(){
this
.
executeDefault
(
"trnmod.cmtflg"
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
async
crefinflgChange
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trtcre.crefinflg"
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
// async crefinflgChange() {
// let rtnmsg = await this.executeRule("trtcre.crefinflg");
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// },
crefinflgChange
(){
this
.
executeRule
(
"trtcre.crefinflg"
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
clsflgOtherDefault
(){
this
.
executeDefault
(
"mtabut.clsflg"
).
then
((
res
)
=>
{
...
...
@@ -526,28 +535,35 @@ export default {
},
watch
:
{
// "model.bcdgrp.rec.focflg": {
// immediate:true,
// handler(val,oldval){
// if(this.model.mtabut.clsflg=="C") {
// if(this.model.bcdgrp.rec.focflg==""){
// this.model.bcdgrp.rec.docsta="C"
// }else if(this.model.bcdgrp.rec.focflg=="X"){
// this.model.bcdgrp.rec.docsta="E"
// }
// }
// if(this.model.mtabut.clsflg==""){
// if(this.model.bcdgrp.rec.focflg=="X"){
// this.model.bcdgrp.rec.docsta="D"
// } else if(this.model.bcdgrp.rec.focflg==""){
// if(this.model.bcdgrp.rec.doctypcod=="A"||this.model.bcdgrp.rec.doctypcod=="D"||this.model.bcdgrp.rec.doctypcod=="M"){
// this.model.bcdgrp.rec.docsta="C"
// }
// }
// }
// }
// },
// "focflg":{
// immediate: true,
// handler(val, oldVal) {
// if(this.model.focflg=="X"){
// this.model.trnmod.cmtflg="O"
// }
// }
// },
"bcdgrp.rec.doctypcod"
:{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
this
.
bcdgrp
.
rec
.
predat
!=
''
){
this
.
model
.
bcdgrp
.
rec
.
docsta
=
"A"
}
else
if
(
this
.
bcdgrp
.
rec
.
opndat
!=
''
){
this
.
model
.
bcdgrp
.
rec
.
docsta
=
"B"
}
else
if
(
this
.
model
.
bcdgrp
.
rec
.
doctypcod
==
"A"
||
this
.
model
.
bcdgrp
.
rec
.
doctypcod
==
"D"
||
this
.
model
.
bcdgrp
.
rec
.
doctypcod
==
"M"
){
this
.
model
.
bcdgrp
.
rec
.
docsta
=
"C"
}
}
},
"model.trnmod.cmtflg"
:{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
this
.
model
.
trnmod
.
cmtflg
==
"P"
){
this
.
model
.
trnmod
.
swftyp
=
"CIV"
}
}
},
"model.bctp.ischktyp"
:
{
immediate
:
true
,
...
...
src/views/Business/Bctset/Dftcrep.vue
View file @
a6931b11
...
...
@@ -431,9 +431,7 @@
v-model=
"model.dftcre.dfdgrp.dff.pts.ref"
maxlength=
"16"
placeholder=
"请输入代付行"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('dftcre.dfdgrp.dff.pts.ref')
"
>
>
</c-input>
</el-form-item>
...
...
@@ -449,6 +447,9 @@
v-model=
"model.dftcre.dfdgrp.dff.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('dftcre.dfdgrp.dff.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -460,7 +461,7 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"名称"
prop=
"dftcre.dfdgrp.dff.namelc"
>
<el-form-item
label=
"名称"
prop=
"dftcre.dfdgrp.dff.namelc"
v-show=
"false"
>
<c-input
type=
"textarea"
v-model=
"model.dftcre.dfdgrp.dff.namelc"
...
...
@@ -477,12 +478,13 @@
<el-form-item
label=
"地址"
prop=
"dftcre.dfdgrp.dff.adrelc"
v-show=
"false"
>
<c-input
type=
"textarea"
v-model=
"model.dftcre.dfdgrp.dff.
adrelc
"
v-model=
"model.dftcre.dfdgrp.dff.
pts.adrblk
"
maxlength=
"35"
:rows=
"5"
show-word-limit
placeholder=
"请输入地址"
></c-input>
...
...
src/views/Business/Bctset/index.vue
View file @
a6931b11
...
...
@@ -272,6 +272,7 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
...
...
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