|
@@ -172,10 +172,12 @@
|
|
stripe
|
|
stripe
|
|
>
|
|
>
|
|
<el-table-column align="center" type="index" min-width="160" show-overflow-tooltip />
|
|
<el-table-column align="center" type="index" min-width="160" show-overflow-tooltip />
|
|
- <el-table-column align="center" label="发货单" prop="id" min-width="160" show-overflow-tooltip >
|
|
|
|
|
|
+ <el-table-column align="center" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-link type="primary" :underline="false" @click="handleJump(scope.row.id)">{{ scope.row.id }}</el-link>
|
|
|
|
- <!-- <router-link :to="{path:'/exwarehouse/sum_list',query:{id:scope.row.id}}" exact></router-link> -->
|
|
|
|
|
|
+ <el-link v-if="!isCustomer" type="primary" :underline="false" @click="handleJump(scope.row.id)">{{
|
|
|
|
+ scope.row.id
|
|
|
|
+ }}</el-link>
|
|
|
|
+ <template v-else>{{ scope.row.id }}</template>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="内容" prop="orderTrackStatus" min-width="160" show-overflow-tooltip />
|
|
<el-table-column align="center" label="内容" prop="orderTrackStatus" min-width="160" show-overflow-tooltip />
|
|
@@ -298,9 +300,7 @@ import { getListInvoiceOrder } from '@/api/dashboard'
|
|
|
|
|
|
import { bindEngineAccount, checkEngineAccount } from '@/api/setting'
|
|
import { bindEngineAccount, checkEngineAccount } from '@/api/setting'
|
|
import mixin from '@/mixin'
|
|
import mixin from '@/mixin'
|
|
-import ret from 'bluebird/js/release/util'
|
|
|
|
-import path from 'path'
|
|
|
|
-import { query } from 'quill'
|
|
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
Breadcrumb,
|
|
Breadcrumb,
|
|
@@ -389,7 +389,7 @@ export default {
|
|
return e
|
|
return e
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- ...mapGetters(['sidebar', 'avatar', 'device', 'name', 'isNotice'])
|
|
|
|
|
|
+ ...mapGetters(['sidebar', 'avatar', 'device', 'name', 'isNotice', 'isCustomer'])
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getList() {
|
|
getList() {
|
|
@@ -671,9 +671,9 @@ export default {
|
|
this.orderId = ''
|
|
this.orderId = ''
|
|
this.visible = false
|
|
this.visible = false
|
|
},
|
|
},
|
|
- handleJump(id){
|
|
|
|
- this.$router.push({path:`/exwarehouse/sum_list?id=${id}`})
|
|
|
|
- this.isLogistics = false
|
|
|
|
|
|
+ handleJump(id) {
|
|
|
|
+ this.$router.push({ path: `/exwarehouse/sum_list?id=${id}` })
|
|
|
|
+ this.isLogistics = false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|