切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
朱兆平
3 years ago
提交
ad9576f030beb9f445ca1d5260c5f113e84bf8c0
1 个父辈
144078bb
修复获取用户信息BUG
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
18 行增加
和
7 行删除
src/views/nmms_import/EnterFlightInfo.vue
src/views/nmms_import/OrigFlightList.vue
src/views/nmms_import/EnterFlightInfo.vue
查看文件 @
ad9576f
...
...
@@ -87,6 +87,7 @@
<script>
import { selectAirport } from '../../api/mt1201'
import jsutil from "@/common/js/util";
export default {
data() {
return {
...
...
@@ -159,12 +160,17 @@
},
/*加载默认参数*/
getDefaultData(){
if(this.$route.query!=null){
console.log(this.$route.query)
this.ruleForm.flightno=this.$route.query.flightno;
this.ruleForm.flightdate=this.$route.query.flightdate;
this.ruleForm.originstation=this.$route.query.originstation;
this.ruleForm.destinationstation=this.$route.query.destinationstation;
if(
jsutil.checkNull(this.$route.query)
&& jsutil.checkNull(this.$route.query.flightno)
&& jsutil.checkNull(this.$route.query.flightdate)
&& jsutil.checkNull(this.$route.query.originstation)
&& jsutil.checkNull(this.$route.query.destinationstation)
){
this.ruleForm.flightno=(this.$route.query.flightno);
this.ruleForm.flightdate=(this.$route.query.flightdate);
this.ruleForm.originstation=(this.$route.query.originstation);
this.ruleForm.destinationstation=(this.$route.query.destinationstation);
}
}
},
...
...
src/views/nmms_import/OrigFlightList.vue
查看文件 @
ad9576f
...
...
@@ -149,7 +149,12 @@
},
/*原始舱单跳转*/
handleEdit(index, row) {
this.$router.push({path:'/enter',query:{flightno:JSON.stringify(row.flightno),flightdate:JSON.stringify(row.flightdate),originstation:JSON.stringify(row.originstation),destinationstation:JSON.stringify(row.destinationstation)}})
this.$router.push(
{
path:'/enter',
query:row
}
)
},
/*进港理货跳转*/
handleDelete(index, row) {
...
...
请
注册
或
登录
后发表评论