Commit 4d1fec92 authored by zhoutong's avatar zhoutong

空运出货详情

parent ba38ec9b
...@@ -474,7 +474,7 @@ export const constantRoutes = [ ...@@ -474,7 +474,7 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'query/:shipmentId(\\d+)', path: 'query/:shipmentId(\\d+)',
component: (resolve) => import('@/views/ecw/box/query'), component: (resolve) => import('@/views/ecw/box/queryAir'),
props: true, props: true,
name: 'shippingDetail', name: 'shippingDetail',
meta: {titleZh: '出货详情', titleEn: "Shipping Details", icon: '', activeMenu: '/shipment/boxDetail'} meta: {titleZh: '出货详情', titleEn: "Shipping Details", icon: '', activeMenu: '/shipment/boxDetail'}
......
...@@ -56,7 +56,11 @@ ...@@ -56,7 +56,11 @@
<!-- 列表 --> <!-- 列表 -->
<el-table v-loading="loading" :data="list"> <el-table v-loading="loading" :data="list">
<el-table-column :label="$t('自编号')" align="center" prop="selfNo" /> <el-table-column :label="$t('自编号')" align="center" prop="selfNo">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="handleCommand(scope.row, 'detail')">{{ scope.row.selfNo }}</a>
</template>
</el-table-column>
<el-table-column :label="$t('运输方式')" align="center" prop="transportType"> <el-table-column :label="$t('运输方式')" align="center" prop="transportType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.ECW_TRANSPORT_TYPE" :value="scope.row.transportType" /> <dict-tag :type="DICT_TYPE.ECW_TRANSPORT_TYPE" :value="scope.row.transportType" />
...@@ -399,6 +403,9 @@ export default { ...@@ -399,6 +403,9 @@ export default {
/** 查看按钮操作 */ /** 查看按钮操作 */
handleCommand(row, command) { handleCommand(row, command) {
switch (command) { switch (command) {
case "detail":
this.$router.push("/boxAir/query/" + row.id);
break;
case 'air': case 'air':
this.$router.push('/boxAir/shippingAir/' + row.id) this.$router.push('/boxAir/shippingAir/' + row.id)
break break
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment