正在显示
2 个修改的文件
包含
14 行增加
和
4 行删除
@@ -115,6 +115,10 @@ | @@ -115,6 +115,10 @@ | ||
115 | departmentid:'' | 115 | departmentid:'' |
116 | } | 116 | } |
117 | }, | 117 | }, |
118 | + mounted() { | ||
119 | + this.getdatatime(); | ||
120 | + this.getFlightList(); | ||
121 | + }, | ||
118 | methods: { | 122 | methods: { |
119 | /*设置默认航班时间*/ | 123 | /*设置默认航班时间*/ |
120 | getdatatime(){ | 124 | getdatatime(){ |
@@ -149,6 +153,7 @@ | @@ -149,6 +153,7 @@ | ||
149 | }, | 153 | }, |
150 | /*原始舱单跳转*/ | 154 | /*原始舱单跳转*/ |
151 | handleEdit(index, row) { | 155 | handleEdit(index, row) { |
156 | + // row.waybillType = 'MT1201' | ||
152 | this.$router.push( | 157 | this.$router.push( |
153 | { | 158 | { |
154 | path:'/enter', | 159 | path:'/enter', |
@@ -158,7 +163,13 @@ | @@ -158,7 +163,13 @@ | ||
158 | }, | 163 | }, |
159 | /*进港理货跳转*/ | 164 | /*进港理货跳转*/ |
160 | handleDelete(index, row) { | 165 | handleDelete(index, row) { |
161 | - this.$router.push({path:'entertall',query:{flightno:JSON.stringify(row.flightno),flightdate:JSON.stringify(row.flightdate),originstation:JSON.stringify(row.originstation),destinationstation:JSON.stringify(row.destinationstation)}}) | 166 | + // row.waybillType = 'MT5201' |
167 | + this.$router.push( | ||
168 | + { | ||
169 | + path:'entertall', | ||
170 | + query:row | ||
171 | + } | ||
172 | + ) | ||
162 | } | 173 | } |
163 | }, | 174 | }, |
164 | computed:{ | 175 | computed:{ |
@@ -175,8 +186,7 @@ | @@ -175,8 +186,7 @@ | ||
175 | /*渲染方法*/ | 186 | /*渲染方法*/ |
176 | activated() { | 187 | activated() { |
177 | let that=this; | 188 | let that=this; |
178 | - that.getdatatime(); | ||
179 | - that.getFlightList(); | 189 | + |
180 | }, | 190 | }, |
181 | } | 191 | } |
182 | </script> | 192 | </script> |
-
请 注册 或 登录 后发表评论