|
|
@ -6,19 +6,21 @@ |
|
|
|
</el-tab-pane> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="待审核" name="audit"></el-tab-pane> |
|
|
|
<el-tab-pane label="待审核" name="audit"></el-tab-pane> |
|
|
|
<el-tab-pane label="已驳回" name="reject"></el-tab-pane> |
|
|
|
<el-tab-pane label="已驳回" name="reject"></el-tab-pane> |
|
|
|
<el-tab-pane label="已失效" name="disabled"></el-tab-pane> |
|
|
|
<template v-if="isSelf"> |
|
|
|
<el-tab-pane label="待退货" name="returns"></el-tab-pane> |
|
|
|
<el-tab-pane label="已失效" name="disabled"></el-tab-pane> |
|
|
|
|
|
|
|
<el-tab-pane label="待退货" name="returns"></el-tab-pane> |
|
|
|
|
|
|
|
</template> |
|
|
|
<el-tab-pane label="已退款" name="refund"></el-tab-pane> |
|
|
|
<el-tab-pane label="已退款" name="refund"></el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
</el-tabs> |
|
|
|
<el-form :inline="true"> |
|
|
|
<el-form :inline="true"> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-input placeholder="订单号" /> |
|
|
|
<el-input :placeholder="isSelf ? '订单号' : '退款单号'" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-input placeholder="请输入订单号" /> |
|
|
|
<el-input placeholder="请输入订单号" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="queryParams.refund_type" placeholder="退款类型" clearable> |
|
|
|
<el-select v-model="queryParams.refund_type" :placeholder="isSelf ? '退款类型' : '退款原因'" clearable> |
|
|
|
<el-option v-for="dict in dict.type.refund_type" :key="dict.value" :label="dict.label" |
|
|
|
<el-option v-for="dict in dict.type.refund_type" :key="dict.value" :label="dict.label" |
|
|
|
:value="dict.value"></el-option> |
|
|
|
:value="dict.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
@ -35,8 +37,8 @@ |
|
|
|
<br /> |
|
|
|
<br /> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="queryParams.after_sales_order_status" placeholder="全部状态" clearable> |
|
|
|
<el-select v-model="queryParams.after_sales_order_status" placeholder="全部状态" clearable> |
|
|
|
<el-option v-for="dict in dict.type.after_sales_order_status" :key="dict.value" :label="dict.label" |
|
|
|
<el-option v-for="dict in dict.type['after_sales_order_status' + (isSelf ? '' : '_2')]" :key="dict.value" |
|
|
|
:value="dict.value"></el-option> |
|
|
|
:label="dict.label" :value="dict.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
@ -115,11 +117,11 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import RefundOrderDetail from "./components/refund_order_detail.vue" |
|
|
|
import RefundOrderDetail from "../components/refund_order_detail" |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'AfterSalesService', |
|
|
|
name: 'AfterSalesService', |
|
|
|
components: { RefundOrderDetail }, |
|
|
|
components: { RefundOrderDetail }, |
|
|
|
dicts: ['refund_type', 'after_sales_order_status', 'refund_cause', 'audit_status'], |
|
|
|
dicts: ['refund_type', 'after_sales_order_status', 'after_sales_order_status_2', 'refund_cause', 'audit_status'], |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
dialog: { |
|
|
|
dialog: { |
|
|
@ -148,9 +150,17 @@ export default { |
|
|
|
getList() { |
|
|
|
getList() { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
|
|
|
|
//是否自营商城售后 |
|
|
|
|
|
|
|
isSelf() { |
|
|
|
|
|
|
|
return this.$route.fullPath.endsWith('1') |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
<style scoped lang="scss"> |
|
|
|
<style scoped lang="scss"> |
|
|
|
|
|
|
|
.export { |
|
|
|
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |