|
|
|
@ -15,7 +15,7 @@ |
|
|
|
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" |
|
|
|
placeholder="请选择产品名称" clearable /> |
|
|
|
</div> |
|
|
|
<div class="item1"> |
|
|
|
<div class="item1" v-if="adminData.markets === '总部'"> |
|
|
|
<el-text size="large" style="width:4vw;">所属地区</el-text> |
|
|
|
<el-cascader style="width: 9vw;" v-model="searchForm.markets" :options="market" placeholder="请选择所属地区" |
|
|
|
clearable @change="handleMarketChange" /> |
|
|
|
@ -116,6 +116,14 @@ |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="top-item"> |
|
|
|
<el-text style="width:4vw;" size="small">永久金币</el-text> |
|
|
|
<el-input v-model="auditRow.permanentGold" size="small" style="width:10vw;" disabled /> 个 |
|
|
|
</div> |
|
|
|
<div class="top-item"> |
|
|
|
<el-text style="width:4vw;" size="small">免费金币</el-text> |
|
|
|
<el-input v-model="auditRow.freeGold" size="small" style="width:10vw;" disabled /> 个 |
|
|
|
</div> |
|
|
|
<div class="top-item"> |
|
|
|
<el-text style="width:4vw;" size="small">退款理由</el-text> |
|
|
|
<el-input v-model="auditRow.refundReason" size="small" style="width:10vw;" :rows="3" maxlength="100" |
|
|
|
show-word-limit type="textarea" disabled /> |
|
|
|
@ -137,20 +145,20 @@ |
|
|
|
<el-input v-model="auditRow.goodsName" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="center-item"> |
|
|
|
<el-text style="width:4vw;" size="small">付款金额</el-text> |
|
|
|
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">付款币种</el-text> |
|
|
|
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="center-item"> |
|
|
|
<el-text style="width:4vw;" size="small">到账金额</el-text> |
|
|
|
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">付款金额</el-text> |
|
|
|
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="center-item"> |
|
|
|
<el-text style="width:4vw;" size="small">支付方式</el-text> |
|
|
|
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">付款时间</el-text> |
|
|
|
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="center-item"> |
|
|
|
<el-text style="width:4vw;">转账凭证</el-text> |
|
|
|
<img v-if="auditRow.voucher" :src="auditRow.voucher" |
|
|
|
<img v-if="auditRow.payVoucher" :src="auditRow.payVoucher" |
|
|
|
style="width: 80px; height: 80px; object-fit: cover;"> |
|
|
|
<div v-else> |
|
|
|
无转账凭证 |
|
|
|
@ -167,28 +175,28 @@ |
|
|
|
<el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="right-item"> |
|
|
|
<el-text style="width:4vw;" size="small">付款币种</el-text> |
|
|
|
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">支付方式</el-text> |
|
|
|
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="right-item"> |
|
|
|
<el-text style="width:4vw;" size="small">到账币种</el-text> |
|
|
|
<el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="right-item"> |
|
|
|
<el-text style="width:4vw;" size="small">手续费</el-text> |
|
|
|
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">到账金额</el-text> |
|
|
|
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="right-item"> |
|
|
|
<el-text style="width:4vw;" size="small">付款时间</el-text> |
|
|
|
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">到账时间</el-text> |
|
|
|
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="right-item"> |
|
|
|
<el-text style="width:4vw;" size="small">提交人</el-text> |
|
|
|
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">手续费</el-text> |
|
|
|
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="right-item"> |
|
|
|
<el-text style="width:4vw;" size="small">到账时间</el-text> |
|
|
|
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled /> |
|
|
|
<el-text style="width:4vw;" size="small">提交人</el-text> |
|
|
|
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled /> |
|
|
|
</div> |
|
|
|
<div class="right-item"> |
|
|
|
<el-text style="width:4vw;" size="small">备注</el-text> |
|
|
|
@ -256,8 +264,8 @@ |
|
|
|
<template #icon> |
|
|
|
<img v-if="currentStep === 4" src="@/assets/images/refund-rejected.png" alt="已驳回"> |
|
|
|
<img v-else-if="currentStep === 3" src="@/assets/images/refund-approving.png" alt="待审核"> |
|
|
|
<img v-else-if="currentStep > 3 && currentStep != 4" src="@/assets/images/refund-approved.png" |
|
|
|
alt="已审核"> |
|
|
|
<img v-else-if="currentStep > 3 && currentStep != 4" |
|
|
|
src="@/assets/images/refund-approved.png" alt="已审核"> |
|
|
|
<img v-else-if="currentStep < 3" src="@/assets/images/refund-waiting.png" alt="未开始"> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
@ -271,8 +279,8 @@ |
|
|
|
<template #icon> |
|
|
|
<img v-if="currentStep === 6" src="@/assets/images/refund-rejected.png" alt="已驳回"> |
|
|
|
<img v-else-if="currentStep === 5" src="@/assets/images/refund-approving.png" alt="待审核"> |
|
|
|
<img v-else-if="currentStep > 5 && currentStep != 6" src="@/assets/images/refund-approved.png" |
|
|
|
alt="已审核"> |
|
|
|
<img v-else-if="currentStep > 5 && currentStep != 6" |
|
|
|
src="@/assets/images/refund-approved.png" alt="已审核"> |
|
|
|
<img v-else-if="currentStep < 5" src="@/assets/images/refund-waiting.png" alt="未开始"> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
@ -476,6 +484,11 @@ const getRefund = async function () { |
|
|
|
} else { |
|
|
|
statuses.value = [20, 22, 30, 32, 40, 41] |
|
|
|
} |
|
|
|
|
|
|
|
if (searchForm.value.goodsName) { |
|
|
|
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1] |
|
|
|
} |
|
|
|
|
|
|
|
const params = { |
|
|
|
pageNum: pagination.value.pageNum, |
|
|
|
pageSize: pagination.value.pageSize, |
|
|
|
@ -483,7 +496,7 @@ const getRefund = async function () { |
|
|
|
jwcode: searchForm.value.jwcode,//精网号 |
|
|
|
name: searchForm.value.name,//姓名 |
|
|
|
markets: searchForm.value.markets,//地区 |
|
|
|
goodsNames: searchForm.value.goodsName,//商品名 |
|
|
|
goodsName: searchForm.value.goodsName,//商品名 |
|
|
|
statuses: statuses.value,//10:地区财务待审核;12:地区财务驳回; |
|
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
|
@ -520,7 +533,8 @@ const handlePass = async function () { |
|
|
|
status: 30, |
|
|
|
rejectReason: addForm.value.remark, |
|
|
|
areaCharge: adminData.value.adminName, |
|
|
|
auditId: auditRow.value.auditId |
|
|
|
auditId: auditRow.value.auditId, |
|
|
|
relatedId: auditRow.value.relatedId |
|
|
|
} |
|
|
|
const result = await API({ |
|
|
|
url: '/Money/review', |
|
|
|
@ -548,7 +562,8 @@ const handleReject = async function () { |
|
|
|
rejectReason: addForm.value.remark, |
|
|
|
areaCharge: adminData.value.adminName, |
|
|
|
auditId: auditRow.value.auditId, |
|
|
|
orderCode: auditRow.value.orderCode |
|
|
|
orderCode: auditRow.value.orderCode, |
|
|
|
relatedId: auditRow.value.relatedId |
|
|
|
} |
|
|
|
const result = await API({ |
|
|
|
url: '/Money/review', |
|
|
|
@ -631,6 +646,12 @@ const exportExcel = async function () { |
|
|
|
} else { |
|
|
|
statuses.value = [20, 22, 30, 32, 40, 41] |
|
|
|
} |
|
|
|
|
|
|
|
if (searchForm.value.goodsName) { |
|
|
|
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1] |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const params = { |
|
|
|
pageNum: pagination.value.pageNum, |
|
|
|
pageSize: pagination.value.pageSize, |
|
|
|
@ -638,7 +659,7 @@ const exportExcel = async function () { |
|
|
|
jwcode: searchForm.value.jwcode,//精网号 |
|
|
|
name: searchForm.value.name,//姓名 |
|
|
|
markets: searchForm.value.markets,//地区 |
|
|
|
goodsNames: searchForm.value.goodsName,//商品名 |
|
|
|
goodsName: searchForm.value.goodsName,//商品名 |
|
|
|
statuses: statuses.value,//10:地区财务待审核;12:地区财务驳回; |
|
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
|
@ -745,6 +766,14 @@ const disabledDate = (time) => { |
|
|
|
const limitDate = new Date(2025, 0, 1); |
|
|
|
return time.getTime() < limitDate.getTime(); |
|
|
|
} |
|
|
|
const handlePageSizeChange = function (val) { |
|
|
|
pagination.value.pageSize = val |
|
|
|
getRefund() |
|
|
|
} |
|
|
|
const handleCurrentChange = function (val) { |
|
|
|
pagination.value.pageNum = val |
|
|
|
getRefund() |
|
|
|
} |
|
|
|
onMounted(() => { |
|
|
|
getRefund() |
|
|
|
getMarket() |
|
|
|
@ -803,7 +832,7 @@ onMounted(() => { |
|
|
|
|
|
|
|
.top { |
|
|
|
width: 30vw; |
|
|
|
height: 17vh; |
|
|
|
height: 22vh; |
|
|
|
|
|
|
|
.top-item { |
|
|
|
display: flex; |
|
|
|
|