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
714375fb
Commit
714375fb
authored
Aug 26, 2022
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitset多选框事件修改
parent
2eba3e21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
17 deletions
+35
-17
Gitsetp.vue
src/views/Business/Gitset/Gitsetp.vue
+34
-16
Gitsetp1.vue
src/views/Business/Gitset/Gitsetp1.vue
+1
-1
No files found.
src/views/Business/Gitset/Gitsetp.vue
View file @
714375fb
...
...
@@ -405,8 +405,8 @@
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.mtabut.clsflg"
checked
:disabled=
"model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''
"
<c-checkbox
v-model=
"model.mtabut.clsflg"
:disabled=
"flag2
"
>
Close Contract
</c-checkbox>
</c-col>
...
...
@@ -420,7 +420,7 @@
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.paypsb"
:disabled=
"
model.gcdgrp.rec.frepayflg=='X'
"
:disabled=
"
this.flag1
"
>
Unpaid by Appliacnt
</c-checkbox
>
</c-col>
...
...
@@ -738,19 +738,37 @@ export default {
};
},
// watch:{
// "model.gcdgrp.rec.frepayflg" : {
// immediate: true,
// handler(val,oldval) {
// if(this.model.gcdgrp.rec.frepayflg !="X"){
// this.model.clsflg=="X";
// }else if(this.model.gcdgrp.rec.frepayflg =""){
// this.model.clsflg=="";
// }
// },
// }
// },
watch
:{
"model.gcdgrp.rec.frepayflg"
:
{
immediate
:
true
,
handler
(
val
,
oldval
)
{
if
(
this
.
model
.
paypsb
==
"X"
&&
this
.
model
.
gcdgrp
.
rec
.
frepayflg
==
"X"
){
this
.
flag1
=
true
;
this
.
model
.
paypsb
=
""
;
this
.
model
.
mtabut
.
clsflg
=
"X"
}
else
if
(
this
.
model
.
gcdgrp
.
rec
.
frepayflg
==
"X"
){
this
.
flag1
=
true
;
this
.
model
.
paypsb
=
""
;
}
else
if
(
this
.
model
.
gcdgrp
.
rec
.
frepayflg
==
""
){
this
.
model
.
paypsb
=
""
;
this
.
flag1
=
false
;
}
},
}
,
"model.paypsb"
:{
immediate
:
true
,
handler
(
val
,
oldval
){
if
(
this
.
model
.
paypsb
==
"X"
){
this
.
flag2
=
true
this
.
model
.
mtabut
.
clsflg
=
""
}
else
if
(
this
.
model
.
paypsb
==
""
){
this
.
flag2
=
false
this
.
model
.
mtabut
.
clsflg
=
"X"
}
}
}
},
methods
:
{
...
Event
,
// change(){
...
...
src/views/Business/Gitset/Gitsetp1.vue
View file @
714375fb
...
...
@@ -398,7 +398,7 @@
>
</c-col>
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.mtabut.clsflg
p"
checked
<c-checkbox
v-model=
"model.mtabut.clsflg
"
>
Close Contract
</c-checkbox>
</c-col>
...
...
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