Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-09-18 16:38:57 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9b912e1f8814dbad45973d7b65ba2300867701e5
9b912e1f
1 parent
a6efc655
modify
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
9b912e1
...
...
@@ -1133,22 +1133,20 @@ export default {
},
// 对部分表单字段进行校验的方法
validateFieldForm(){
this.$refs.form.validateField(['route'], (flag) => {})
if(this.form.route.length){
this.$nextTick(()=>{
this.$refs.form.clearValidate()
})
}
this.$refs.form.validateField(['fltNo', 'fltDate', 'kindId', 'route', 'originalWeight'], (flag) => {
if(this.form.fltNo && this.form.fltDate && this.form.kindId && this.form.route && this.form.route.length && this.form.originalWeight){
if(this.form.route.length){
this.$nextTick(()=>{
this.$refs.form.clearValidate()
})
}
}
})
},
//航线修改
routeChange(val) {
this.validateFieldForm()
if(val.length){
this.$nextTick(()=>{
this.$refs.form.clearValidate()
})
}
this.$forceUpdate()
this.$forceUpdate()
},
//多选框选中数据
tableSelect(val) {
...
...
Please
register
or
login
to post a comment