|
|
@ -123,6 +123,7 @@ |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
<el-pagination v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize" |
|
|
<el-pagination v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize" |
|
|
|
|
|
@size-change="handlePageSizeChange" @current-change="handleCurrentChange" |
|
|
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" style="margin-top: 1vh;" /> |
|
|
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" style="margin-top: 1vh;" /> |
|
|
</el-card> |
|
|
</el-card> |
|
|
|
|
|
|
|
|
@ -166,7 +167,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="dialog-item"> |
|
|
<div class="dialog-item"> |
|
|
<el-text style="width:4vw;">付款时间</el-text> |
|
|
<el-text style="width:4vw;">付款时间</el-text> |
|
|
<el-date-picker v-model="editRow.payTime" type="datetime" style="width:10vw;" disabled /> |
|
|
|
|
|
|
|
|
<el-input v-model="editRow.payTime" style="width:10vw;" disabled /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="dialog-item"> |
|
|
<div class="dialog-item"> |
|
|
<el-text style="width:4vw;">提交人</el-text> |
|
|
<el-text style="width:4vw;">提交人</el-text> |
|
|
@ -342,7 +343,7 @@ const submitRefund = async function () { |
|
|
hideEditDialog() |
|
|
hideEditDialog() |
|
|
getRefund() |
|
|
getRefund() |
|
|
} else { |
|
|
} else { |
|
|
ElMessage.error(result.data.msg || '提交失败') |
|
|
|
|
|
|
|
|
ElMessage.error(result.msg || '提交失败') |
|
|
} |
|
|
} |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
ElMessage.error(error.message || '提交失败') |
|
|
ElMessage.error(error.message || '提交失败') |
|
|
@ -379,6 +380,12 @@ const getMarket = async function () { |
|
|
} |
|
|
} |
|
|
const showEditDialog = (row) => { |
|
|
const showEditDialog = (row) => { |
|
|
editRow.value = row |
|
|
editRow.value = row |
|
|
|
|
|
editForm.value.refundCurrency = '' |
|
|
|
|
|
editForm.value.refundAmount = '' |
|
|
|
|
|
editForm.value.channels = [] |
|
|
|
|
|
editForm.value.refundTime = '' |
|
|
|
|
|
editForm.value.refundRemark = '' |
|
|
|
|
|
editForm.value.imageUrl = '' |
|
|
showEdit.value = true |
|
|
showEdit.value = true |
|
|
} |
|
|
} |
|
|
const hideEditDialog = () => { |
|
|
const hideEditDialog = () => { |
|
|
@ -548,6 +555,14 @@ const reset = function () { |
|
|
dateRange.value = [] |
|
|
dateRange.value = [] |
|
|
getRefund() |
|
|
getRefund() |
|
|
} |
|
|
} |
|
|
|
|
|
const handlePageSizeChange = function (val) { |
|
|
|
|
|
pagination.value.pageSize = val |
|
|
|
|
|
getRefund() |
|
|
|
|
|
} |
|
|
|
|
|
const handleCurrentChange = function (val) { |
|
|
|
|
|
pagination.value.pageNum = val |
|
|
|
|
|
getRefund() |
|
|
|
|
|
} |
|
|
onMounted(() => { |
|
|
onMounted(() => { |
|
|
console.log('???????????????????', adminData.value) |
|
|
console.log('???????????????????', adminData.value) |
|
|
getRefund() |
|
|
getRefund() |
|
|
|