|
@@ -3,11 +3,11 @@
|
|
|
<div style="margin: 20px 0">
|
|
|
<el-radio-group v-model="curTarget" size="small" @change="handleChange">
|
|
|
<template v-for="(item, index) in tabsList">
|
|
|
- <el-radio-button v-if="item.show && returnShow" :key="index" :label="item.value">{{ item.label }}</el-radio-button>
|
|
|
+ <el-radio-button v-if="item.show " :key="index" :label="item.value">{{ item.label }}</el-radio-button>
|
|
|
</template>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
- <el-card v-if="curTarget === 1 && tabsList[curTarget - 1].show && returnShow">
|
|
|
+ <el-card v-if="curTarget === 1 && tabsList[curTarget - 1].show ">
|
|
|
<div slot="header">
|
|
|
<span>物流信息</span>
|
|
|
</div>
|
|
@@ -39,7 +39,7 @@
|
|
|
<div v-else class="tip">暂无物流信息</div>
|
|
|
</div>
|
|
|
</el-card>
|
|
|
- <el-card v-if="curTarget === 2 && tabsList[curTarget - 1].show">
|
|
|
+ <el-card v-if="curTarget === 2 && tabsList[curTarget - 1].show ">
|
|
|
<div slot="header">
|
|
|
<span>物流费用</span>
|
|
|
</div>
|
|
@@ -65,7 +65,7 @@ import { getListCodeV2 } from '@/api/barcode'
|
|
|
|
|
|
export default {
|
|
|
props: {
|
|
|
- invoiceId: {
|
|
|
+ jiaxianOrderId: {
|
|
|
type: String,
|
|
|
default: null
|
|
|
},
|
|
@@ -90,7 +90,7 @@ export default {
|
|
|
{
|
|
|
label: '物流费用',
|
|
|
value: 2,
|
|
|
- show: true,
|
|
|
+ show: false,
|
|
|
fun: this.getListCostBillV2
|
|
|
},
|
|
|
{
|
|
@@ -546,7 +546,7 @@ export default {
|
|
|
{
|
|
|
param: 'sale_code',
|
|
|
compare: '=',
|
|
|
- value: this.detailsId
|
|
|
+ value: this.jiaxianOrderId
|
|
|
}
|
|
|
]
|
|
|
}).then(res => {
|
|
@@ -561,7 +561,7 @@ export default {
|
|
|
{
|
|
|
param: 'order_code',
|
|
|
compare: '=',
|
|
|
- value: this.detailsId
|
|
|
+ value: this.jiaxianOrderId
|
|
|
}
|
|
|
]
|
|
|
}).then(res => {
|
|
@@ -580,7 +580,7 @@ export default {
|
|
|
{
|
|
|
param: 'order_number',
|
|
|
compare: '=',
|
|
|
- value: this.invoiceId
|
|
|
+ value: this.jiaxianOrderId
|
|
|
}
|
|
|
]
|
|
|
}).then(res => {
|