|
@@ -21,7 +21,6 @@
|
|
<el-tab-pane name="7" label="申请售后"> </el-tab-pane>
|
|
<el-tab-pane name="7" label="申请售后"> </el-tab-pane>
|
|
<el-tab-pane name="8" label="正在处理售后"> </el-tab-pane>
|
|
<el-tab-pane name="8" label="正在处理售后"> </el-tab-pane>
|
|
<el-tab-pane name="9" label="售后结束"> </el-tab-pane>
|
|
<el-tab-pane name="9" label="售后结束"> </el-tab-pane>
|
|
-
|
|
|
|
<!-- 待付款 -->
|
|
<!-- 待付款 -->
|
|
<el-col :span="24" v-if="activeName == '1'">
|
|
<el-col :span="24" v-if="activeName == '1'">
|
|
<card-1 :statusList="statusList" @toDetail="toDetail" @toSales="toSales"></card-1>
|
|
<card-1 :statusList="statusList" @toDetail="toDetail" @toSales="toSales"></card-1>
|
|
@@ -45,8 +44,8 @@
|
|
<data-table :fields="fields" :opera="opera" @query="search" :data="list" :total="total" @detail="toDetails" @sales="toSaless">
|
|
<data-table :fields="fields" :opera="opera" @query="search" :data="list" :total="total" @detail="toDetails" @sales="toSaless">
|
|
<template #is_afterSale="{ row }">
|
|
<template #is_afterSale="{ row }">
|
|
<span :style="{ color: row.is_afterSale === true ? 'red' : '' }">
|
|
<span :style="{ color: row.is_afterSale === true ? 'red' : '' }">
|
|
- {{ row.is_afterSale === true ? '该订单有商品申请售后' : '未申请售后' }}</span
|
|
|
|
- >
|
|
|
|
|
|
+ {{ row.is_afterSale === true ? '该订单有商品申请售后' : '未申请售后' }}
|
|
|
|
+ </span>
|
|
</template>
|
|
</template>
|
|
</data-table>
|
|
</data-table>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -193,9 +192,7 @@ export default {
|
|
let res;
|
|
let res;
|
|
// 类型
|
|
// 类型
|
|
res = await this.dictQuery({ code: 'order_process' });
|
|
res = await this.dictQuery({ code: 'order_process' });
|
|
- if (this.$checkRes(res)) {
|
|
|
|
- this.$set(this, `statusList`, res.data);
|
|
|
|
- }
|
|
|
|
|
|
+ if (this.$checkRes(res)) this.$set(this, `statusList`, res.data);
|
|
res = await this.shopQuery();
|
|
res = await this.shopQuery();
|
|
if (this.$checkRes(res)) this.$set(this, `shopList`, res.data);
|
|
if (this.$checkRes(res)) this.$set(this, `shopList`, res.data);
|
|
},
|
|
},
|