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
e700d219
Commit
e700d219
authored
Oct 19, 2023
by
panziyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trtset修改
parent
3f1200a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
41 deletions
+39
-41
Ovwp1.vue
src/business/trtset/views/Ovwp1.vue
+39
-41
No files found.
src/business/trtset/views/Ovwp1.vue
View file @
e700d219
...
...
@@ -164,9 +164,9 @@
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.clsflg"
:disabled=
"checkDate(model.trdgrp.rec.stttendat)"
@
change=
"change(model.clsflg)"
>
{{
$t
(
"抹账"
)
}}
</c-checkbox
></c-checkbox
>
</c-col>
</c-col>
...
...
@@ -422,7 +422,7 @@
></c-input>
</c-col>
<c-col
:span=
"4"
>
<c-button
v-model=
"model.trtmod.finmod.cal"
size=
"small"
type=
"primary"
@
click=
"onFinmodCal"
>
<c-button
v-model=
"model.trtmod.finmod.cal"
size=
"small"
type=
"primary"
>
计算
</c-button>
</c-col>
...
...
@@ -436,7 +436,7 @@
v-model=
"model.trtmod.finmod.reptyp"
:disabled=
"model.clsflg == 'X'"
style=
"width: 100%"
@
change=
"selChange(model.trtmod.finmod.reptyp)"
placeholder=
"请选择还款方式"
>
<el-option
...
...
@@ -560,9 +560,7 @@
<el-form-item
label=
""
prop=
""
class=
"checkbox-left"
>
<c-checkbox
v-model=
"model.mtabut.clsflg"
true-label=
"C"
false-label=
"O"
:disabled=
"flag1"
>
{{
$t
(
"闭卷"
)
}}
</c-checkbox>
:disabled=
"flag1"
></c-checkbox>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -587,39 +585,39 @@ export default {
},
methods
:
{
...
Event
,
checkDate
(
date
)
{
var
d
=
new
Date
().
getDate
();
var
m
=
new
Date
().
getMonth
();
var
y
=
new
Date
().
getFullYear
();
var
dd
=
new
Date
(
this
.
model
.
trdgrp
.
rec
.
stttendat
).
getDate
();
var
mm
=
new
Date
(
this
.
model
.
trdgrp
.
rec
.
stttendat
).
getMonth
();
var
yy
=
new
Date
(
this
.
model
.
trdgrp
.
rec
.
stttendat
).
getFullYear
();
if
(
d
!=
dd
||
m
!=
mm
||
y
!=
yy
)
{
return
true
;
}
else
{
return
false
;
}
},
change
(
a
){
this
.
executeRule
(
"clsflg"
).
then
((
res
)
=>
{
if
((
res
.
respCode
==
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
if
(
a
=
'X'
){
this
.
model
.
trtmod
.
finmod
.
reptyp
=
"1"
if
(
this
.
flag1
==
true
){
this
.
flag1
=
false
this
.
model
.
mtabut
.
clsflg
=
"C"
}
}
},
selChange
(
b
){
if
(
b
==
'2'
||
this
.
flag2
==
false
){
this
.
model
.
mtabut
.
clsflg
=
'O'
this
.
flag1
=
true
}
},
//
checkDate(date) {
//
var d = new Date().getDate();
//
var m = new Date().getMonth();
//
var y = new Date().getFullYear();
//
var dd = new Date(this.model.trdgrp.rec.stttendat).getDate();
//
var mm = new Date(this.model.trdgrp.rec.stttendat).getMonth();
//
var yy = new Date(this.model.trdgrp.rec.stttendat).getFullYear();
//
if (d != dd || m != mm || y != yy) {
//
return true;
//
} else {
//
return false;
//
}
//
},
//
change(a){
//
this.executeRule("clsflg").then((res) => {
//
if ((res.respCode == SUCCESS)) {
//
Utils.copyValueFromVO(this.model, res.data);
//
}
//
});
//
if (a = 'X'){
//
this.model.trtmod.finmod.reptyp = "1"
//
if(this.flag1 == true){
//
this.flag1 = false
//
this.model.mtabut.clsflg = "C"
//
}
//
}
//
},
//
selChange(b){
//
if(b == '2'||this.flag2 == false){
//
this.model.mtabut.clsflg = 'O'
//
this.flag1 = true
//
}
//
},
},
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