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
a4958b0d
Commit
a4958b0d
authored
Oct 25, 2023
by
liaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litdck 界面联动、报文面函预览功能及check
parent
61d1c2c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
+28
-28
Srmp.vue
src/business/litdck/views/Srmp.vue
+28
-28
No files found.
src/business/litdck/views/Srmp.vue
View file @
a4958b0d
...
...
@@ -45,36 +45,36 @@ export default {
typ1
:
true
}
},
//
watch:{
//
"model.brdgrp.srm.djutyp":{
//
immediate:true,
//
handler(val,oldval){
//
if(this.model.brdgrp.srm.djutyp == 'D'){
//
this.typ1 = true
//
// ommonProcess里的 changeFormItemRequired (property,Boolean)
//
this.changeFormItemRequired('brdgrp.srm.djuusr', false)
//
this.changeFormItemRequired('brdgrp.srm.djudat', false)
//
this.changeFormItemRequired('brdgrp.srm.djuref', false)
//
this.model.brdgrp.srm.djuusr =''
//
this.model.brdgrp.srm.djudat =''
//
this.model.brdgrp.srm.djuref =''
watch
:{
"model.brdgrp.srm.djutyp"
:{
immediate
:
true
,
handler
(
val
,
oldval
){
if
(
this
.
model
.
brdgrp
.
srm
.
djutyp
==
'D'
){
this
.
typ1
=
true
// ommonProcess里的 changeFormItemRequired (property,Boolean)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuusr'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djudat'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuref'
,
false
)
this
.
model
.
brdgrp
.
srm
.
djuusr
=
''
this
.
model
.
brdgrp
.
srm
.
djudat
=
''
this
.
model
.
brdgrp
.
srm
.
djuref
=
''
//
}else if(this.model.brdgrp.srm.djutyp == ''){
//
this.typ1 = true
//
this.changeFormItemRequired('brdgrp.srm.djuusr', false)
//
this.changeFormItemRequired('brdgrp.srm.djudat', false)
//
this.changeFormItemRequired('brdgrp.srm.djuref', false)
//
}
//
else{
//
this.typ1 = false
//
this.changeFormItemRequired('brdgrp.srm.djuusr', true)
//
this.changeFormItemRequired('brdgrp.srm.djudat', true)
//
this.changeFormItemRequired('brdgrp.srm.djuref', true)
//
}
//
}
//
}
}
else
if
(
this
.
model
.
brdgrp
.
srm
.
djutyp
==
''
){
this
.
typ1
=
true
this
.
changeFormItemRequired
(
'brdgrp.srm.djuusr'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djudat'
,
false
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuref'
,
false
)
}
else
{
this
.
typ1
=
false
this
.
changeFormItemRequired
(
'brdgrp.srm.djuusr'
,
true
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djudat'
,
true
)
this
.
changeFormItemRequired
(
'brdgrp.srm.djuref'
,
true
)
}
}
}
//
},
},
methods
:{
},
}
</
script
>
...
...
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