|
|
@ -22,7 +22,7 @@ |
|
|
<div class="item1"> |
|
|
<div class="item1"> |
|
|
<el-text size="large" style="width:4vw;" multiple>订单状态</el-text> |
|
|
<el-text size="large" style="width:4vw;" multiple>订单状态</el-text> |
|
|
<el-select v-model="searchForm.statuses" style="width:9vw;" clearable> |
|
|
<el-select v-model="searchForm.statuses" style="width:9vw;" clearable> |
|
|
<el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
|
|
|
|
|
<el-option v-for="item in statusList" :key="item" :label="item" :value="item" /> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
@ -246,28 +246,7 @@ const uploadRef = ref(null) |
|
|
const showBack = ref(false) |
|
|
const showBack = ref(false) |
|
|
const showError = ref(false) |
|
|
const showError = ref(false) |
|
|
const isKF = adminData.value.adminName.includes('客服') |
|
|
const isKF = adminData.value.adminName.includes('客服') |
|
|
const statusList = ref([ |
|
|
|
|
|
{ |
|
|
|
|
|
value:'submitted', |
|
|
|
|
|
label:'已提交', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
value: 'back', |
|
|
|
|
|
label: '已撤回', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
value: 'pending', |
|
|
|
|
|
label: '审核中' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
value: 'completed', |
|
|
|
|
|
label: '已退款' |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
value:'rejected', |
|
|
|
|
|
label:'已驳回' |
|
|
|
|
|
} |
|
|
|
|
|
]) |
|
|
|
|
|
|
|
|
const statusList = ref(['已提交', '已撤回', '进行中','已退款','已驳回']) |
|
|
// 查全部 |
|
|
// 查全部 |
|
|
const getRefund = async function () { |
|
|
const getRefund = async function () { |
|
|
if (!hasMenuPermission(menuTree.value, permissionMapping.refundServiceShow)) { |
|
|
if (!hasMenuPermission(menuTree.value, permissionMapping.refundServiceShow)) { |
|
|
@ -275,16 +254,17 @@ const getRefund = async function () { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
try { |
|
|
try { |
|
|
if (searchForm.value.statuses === 'submitted') { |
|
|
|
|
|
searchForm.value.statuses = [10] |
|
|
|
|
|
} else if (searchForm.value.statuses === 'back') { |
|
|
|
|
|
searchForm.value.statuses = [11] |
|
|
|
|
|
} else if (searchForm.value.statuses === 'pending') { |
|
|
|
|
|
searchForm.value.statuses = [20,30,40] |
|
|
|
|
|
} else if(searchForm.value.statuses === 'completed') { |
|
|
|
|
|
searchForm.value.statuses = [41] |
|
|
|
|
|
} else if(searchForm.value.statuses === 'rejected') { |
|
|
|
|
|
searchForm.value.statuses = [12,22,32] |
|
|
|
|
|
|
|
|
const statusParam = ref([]) |
|
|
|
|
|
if (searchForm.value.statuses === '已提交') { |
|
|
|
|
|
statusParam.value = [10] |
|
|
|
|
|
} else if (searchForm.value.statuses === '已撤回') { |
|
|
|
|
|
statusParam.value = [11] |
|
|
|
|
|
} else if (searchForm.value.statuses === '进行中') { |
|
|
|
|
|
statusParam.value = [20,30,40] |
|
|
|
|
|
} else if(searchForm.value.statuses === '已退款') { |
|
|
|
|
|
statusParam.value = [41] |
|
|
|
|
|
} else if(searchForm.value.statuses === '已驳回') { |
|
|
|
|
|
statusParam.value = [12,22,32] |
|
|
} |
|
|
} |
|
|
const params = { |
|
|
const params = { |
|
|
pageNum: pagination.value.pageNum, |
|
|
pageNum: pagination.value.pageNum, |
|
|
@ -294,7 +274,7 @@ const getRefund = async function () { |
|
|
name: searchForm.value.name,//姓名 |
|
|
name: searchForm.value.name,//姓名 |
|
|
markets: searchForm.value.market,//地区 |
|
|
markets: searchForm.value.market,//地区 |
|
|
goodsNames: searchForm.value.goodsName,//商品名 |
|
|
goodsNames: searchForm.value.goodsName,//商品名 |
|
|
statuses: searchForm.value.statuses,//10:地区财务待审核;12:地区财务驳回; |
|
|
|
|
|
|
|
|
statuses: statusParam.value,//10:地区财务待审核;12:地区财务驳回; |
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
// 40:执行人待处理;41:执行人已处理,退款完成; |
|
|
// 40:执行人待处理;41:执行人已处理,退款完成; |
|
|
|