zhengquan.bai

出口运单详情接口对接

...@@ -21,3 +21,13 @@ export function getOrderLogata(data) { ...@@ -21,3 +21,13 @@ export function getOrderLogata(data) {
21 data: data 21 data: data
22 }) 22 })
23 } 23 }
24 +
25 +/**
26 + * 出口运单详情
27 + */
28 +export function getTransportDetail(id) {
29 + return request({
30 + url: '/bus-customer/exportWaybill/info/' + id,
31 + method: 'get'
32 + })
33 +}
......
...@@ -113,6 +113,7 @@ export const constantRoutes = [ ...@@ -113,6 +113,7 @@ export const constantRoutes = [
113 path: '/exportTransportDetail', 113 path: '/exportTransportDetail',
114 component: (resolve) => require(['@/views/exportTransportDetail/index'], resolve), 114 component: (resolve) => require(['@/views/exportTransportDetail/index'], resolve),
115 hidden: true, 115 hidden: true,
116 + name: 'ExportTransportDetail',
116 meta: { title: '出口运单详情', icon: '' }, 117 meta: { title: '出口运单详情', icon: '' },
117 }, 118 },
118 { 119 {
......
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
174 <span>{{ scope.row.returnStatus }}</span> 174 <span>{{ scope.row.returnStatus }}</span>
175 </template> 175 </template>
176 <template v-slot:logisticsNo="scope"> 176 <template v-slot:logisticsNo="scope">
177 - <el-button type="text">{{ scope.row.logisticsNo }}</el-button> 177 + <el-button type="text" @click="view(scope.row)">{{ scope.row.logisticsNo }}</el-button>
178 </template> 178 </template>
179 </Table> 179 </Table>
180 </div> 180 </div>
...@@ -272,6 +272,13 @@ export default { ...@@ -272,6 +272,13 @@ export default {
272 this.tableMaxheight = window.innerHeight - 300; 272 this.tableMaxheight = window.innerHeight - 300;
273 }, 273 },
274 methods: { 274 methods: {
275 + //查询详情
276 + view(val) {
277 + this.$router.push({
278 + name: "ExportTransportDetail",
279 + params: { data: val },
280 + });
281 + },
275 //查询 282 //查询
276 search(val) { 283 search(val) {
277 this.loadings.searchLoading = true; 284 this.loadings.searchLoading = true;
......
This diff is collapsed. Click to expand it.