|
@@ -5,7 +5,10 @@
|
|
|
v-if="powers && powers.length > 0 && powers.some((item) => item == '001')"
|
|
|
>
|
|
|
<!-- <p>{{ status }}---{{ powers }}</p> -->
|
|
|
- <div class="detail-page-title">
|
|
|
+ <div
|
|
|
+ v-if="status === '2' && powers.some((item) => item == '049')"
|
|
|
+ class="detail-page-title"
|
|
|
+ >
|
|
|
<span>发货申请单编号:</span
|
|
|
><span v-if="sitem">{{ sitem.outCode }}</span>
|
|
|
<el-button
|
|
@@ -54,6 +57,24 @@
|
|
|
sitem.status === "1" ? "发货申请单" : "咨询发货申请单"
|
|
|
}}</el-tag>
|
|
|
</template>
|
|
|
+ <template slot="sale_price">
|
|
|
+ <span>{{
|
|
|
+ private_field &&
|
|
|
+ private_field.length > 0 &&
|
|
|
+ private_field.some((item) => item == "2")
|
|
|
+ ? sitem.sale_price
|
|
|
+ : "***"
|
|
|
+ }}</span>
|
|
|
+ </template>
|
|
|
+ <template slot="total_price">
|
|
|
+ <span>{{
|
|
|
+ private_field &&
|
|
|
+ private_field.length > 0 &&
|
|
|
+ private_field.some((item) => item == "2")
|
|
|
+ ? sitem.total_price
|
|
|
+ : "***"
|
|
|
+ }}</span>
|
|
|
+ </template>
|
|
|
</show-data-table>
|
|
|
</el-collapse-item>
|
|
|
<el-collapse-item title="商品信息" name="2">
|
|
@@ -271,6 +292,7 @@ import { showColumns } from "./columns";
|
|
|
import { sellshowColumns } from "@/views/sellOut/sellAfterApply/columns";
|
|
|
import returnExpress from "./components/returnExpress";
|
|
|
import wantDeliver from "./components/want-deliver.vue";
|
|
|
+import { mapGetters } from "vuex";
|
|
|
export default {
|
|
|
name: "sellOutOrderDetail",
|
|
|
mixins: [mixinPage, resToken],
|
|
@@ -281,6 +303,7 @@ export default {
|
|
|
returnExpress,
|
|
|
},
|
|
|
computed: {
|
|
|
+ ...mapGetters(["private_field"]),
|
|
|
powers() {
|
|
|
let tran =
|
|
|
this.$store.getters.btnList.find(
|