zhengquan.bai

出口运单详情接口对接

......@@ -20,4 +20,14 @@ export function getOrderLogata(data) {
method: 'get',
data: data
})
}
\ No newline at end of file
}
/**
* 出口运单详情
*/
export function getTransportDetail(id) {
return request({
url: '/bus-customer/exportWaybill/info/' + id,
method: 'get'
})
}
......
......@@ -113,6 +113,7 @@ export const constantRoutes = [
path: '/exportTransportDetail',
component: (resolve) => require(['@/views/exportTransportDetail/index'], resolve),
hidden: true,
name: 'ExportTransportDetail',
meta: { title: '出口运单详情', icon: '' },
},
{
......
......@@ -174,7 +174,7 @@
<span>{{ scope.row.returnStatus }}</span>
</template>
<template v-slot:logisticsNo="scope">
<el-button type="text">{{ scope.row.logisticsNo }}</el-button>
<el-button type="text" @click="view(scope.row)">{{ scope.row.logisticsNo }}</el-button>
</template>
</Table>
</div>
......@@ -272,6 +272,13 @@ export default {
this.tableMaxheight = window.innerHeight - 300;
},
methods: {
//查询详情
view(val) {
this.$router.push({
name: "ExportTransportDetail",
params: { data: val },
});
},
//查询
search(val) {
this.loadings.searchLoading = true;
......
This diff is collapsed. Click to expand it.