Commit a5606e24 authored by Smile's avatar Smile Committed by wux

研发需求33 海运-预装+空运-分拣查看订单信息

parent 6ec2a648
......@@ -150,9 +150,9 @@
<el-table-column :label="$t('序号')" align="center" prop="tidanNum" width="50" />
<el-table-column :label="$t('订单号')" align="center" prop="orderNo" width="120">
<template slot-scope="scope">
<div>
<el-link type="primary" @click="orderHandleClick(scope.row)">
{{scope.row.orderNo}}
</div>
</el-link>
<div style="color:blue;fontWeight:bold;">
{{ scope.row.isExternalWarehouse === 1 ? '(' +$t('外部仓')+')' : ''}}
</div>
......@@ -245,7 +245,9 @@
<el-row v-for="(item, index) in toBePreList" :key="index" class="tobePre-row">
<el-row class="preinstall-title order-title">
<div>
<p>{{item.orderNo}}</p>
<el-link type="primary" @click="orderHandleClick(item)">
{{item.orderNo}}
</el-link>
</div>
<div>
<p>{{$t('发往')}}</p>
......@@ -557,6 +559,10 @@ export default {
getChannelList().then((res) => (this.channelList = res.data));
},
methods: {
orderHandleClick(row){
const routeData = this.$router.resolve({ path: '/order/detail' ,query:{orderId: row.orderId}});
window.open(routeData.href, '_blank');
},
formatDate,
getTotlContent,
selectChannel(){
......
......@@ -123,9 +123,9 @@
<el-table-column :label="$t('序号')" align="center" prop="tidanNum" width="50" />
<el-table-column :label="$t('订单号')" align="center" prop="orderNo" width="120">
<template slot-scope="scope">
<div>
<el-link type="primary" @click="orderHandleClick(scope.row)">
{{scope.row.orderNo}}
</div>
</el-link>
<div style="color:blue;fontWeight:bold;">
{{ scope.row.isExternalWarehouse === 1 ? '(' +$t('外部仓')+')' : ''}}
</div>
......@@ -211,7 +211,9 @@
<el-row v-for="(item, index) in toBePreList" :key="index" class="tobePre-row">
<el-row class="preinstall-title order-title">
<div>
<p>{{item.orderNo}}</p>
<el-link type="primary" @click="orderHandleClick(item)">
{{item.orderNo}}
</el-link>
</div>
<div>
<p>{{$t('发往')}}</p>
......@@ -488,6 +490,10 @@ export default {
this.smartInstall = 0;
},
methods: {
orderHandleClick(row){
const routeData = this.$router.resolve({ path: '/order/detail' ,query:{orderId: row.orderId}});
window.open(routeData.href, '_blank');
},
formatDate,
getTotlContent,
/* 获取城市 */
......
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