|
|
|
@ -16,7 +16,7 @@ |
|
|
|
</div> |
|
|
|
<div class="item1"> |
|
|
|
<el-text size="large" style="width:4vw;">产品名称</el-text> |
|
|
|
<el-input v-model="searchForm.goodsName" placeholder="请输入产品名称" style="width:9vw;" clearable /> |
|
|
|
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" /> |
|
|
|
</div> |
|
|
|
<div class="item1"> |
|
|
|
<el-text size="large" style="width:4vw;">订单状态</el-text> |
|
|
|
@ -35,7 +35,8 @@ |
|
|
|
<div class="item2"> |
|
|
|
<el-text size="large" style="width:4vw;">支付方式</el-text> |
|
|
|
<el-select v-model="searchForm.payType" style="width:9vw;"> |
|
|
|
<el-option v-for="item in channelOptions" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
<el-option v-for="item in channelOptions" :key="item.value" :label="item.label" |
|
|
|
:value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="item2" style="width: 28.5vw;"> |
|
|
|
@ -58,7 +59,7 @@ |
|
|
|
<el-table-column type="index" label="序号" width="60" fixed="left" /> |
|
|
|
<el-table-column prop="name" label="Homily ID" width="120" fixed="left" /> |
|
|
|
<el-table-column prop="jwcode" label="姓名" width="120" fixed="left" show-overflow-tooltip /> |
|
|
|
<el-table-column prop="marketName" label="所属地区" width="120" /> |
|
|
|
<el-table-column prop="market" label="所属地区" width="120" /> |
|
|
|
<el-table-column prop="goodsName" label="产品名称" width="120" /> |
|
|
|
<el-table-column prop="goodNum" label="产品数量" width="120" /> |
|
|
|
<el-table-column prop="refundType" label="退款方式" width="120"> |
|
|
|
@ -66,7 +67,7 @@ |
|
|
|
{{ scope.row.refundType === 1 ? '部分退款' : '全部退款' }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="submitterName" label="提交人" width="120" /> |
|
|
|
<el-table-column prop="areaServise" label="提交人" width="120" /> |
|
|
|
<el-table-column prop="refundReason" label="退款理由" width="120" /> |
|
|
|
<el-table-column prop="remark" label="备注" width="150" show-overflow-tooltip /> |
|
|
|
<el-table-column prop="status" label="订单状态" width="120"> |
|
|
|
@ -145,7 +146,8 @@ |
|
|
|
</div> |
|
|
|
<div class="center-item"> |
|
|
|
<el-text style="width:4vw;">转账凭证</el-text> |
|
|
|
<img v-if="auditRow.voucher" :src="auditRow.voucher" style="width: 100%; height: 100%; object-fit: cover;"> |
|
|
|
<img v-if="auditRow.voucher" :src="auditRow.voucher" |
|
|
|
style="width: 80px; height: 80px; object-fit: cover;"> |
|
|
|
<div v-else> |
|
|
|
无转账凭证 |
|
|
|
</div> |
|
|
|
@ -230,7 +232,7 @@ |
|
|
|
|
|
|
|
<el-step title="提交人"> |
|
|
|
<template #title> |
|
|
|
<div>提交人<br>你是死的</div> |
|
|
|
<div>提交人<br>{{ submitterName }}</div> |
|
|
|
</template> |
|
|
|
<template #icon> |
|
|
|
<img v-if="currentStep === 1" src="@/assets/images/待审核.png" alt="步骤图标" |
|
|
|
@ -240,7 +242,10 @@ |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="地区财务"> |
|
|
|
<el-step> |
|
|
|
<template #title> |
|
|
|
<div>地区财务<br>{{ areaFinance }}</div> |
|
|
|
</template> |
|
|
|
<template #icon> |
|
|
|
<img v-if="currentStep < 2" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
@ -251,7 +256,10 @@ |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="地区负责人"> |
|
|
|
<el-step> |
|
|
|
<template #title> |
|
|
|
<div>地区负责人<br>{{ areaCharge }}</div> |
|
|
|
</template> |
|
|
|
<template #icon> |
|
|
|
<img v-if="currentStep < 3" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
@ -262,7 +270,10 @@ |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="总部财务"> |
|
|
|
<el-step> |
|
|
|
<template #title> |
|
|
|
<div>总部财务<br>{{ headFinance }}</div> |
|
|
|
</template> |
|
|
|
<template #icon> |
|
|
|
<img v-if="currentStep < 4" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
@ -273,7 +284,10 @@ |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="指定执行人"> |
|
|
|
<el-step> |
|
|
|
<template #title> |
|
|
|
<div>指定执行人<br>{{ executor }}</div> |
|
|
|
</template> |
|
|
|
<template #icon> |
|
|
|
<img v-if="currentStep < 5" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
@ -323,6 +337,11 @@ const showAudit2 = ref(false) |
|
|
|
const tableData = ref([]) |
|
|
|
const showSteps = ref(false) |
|
|
|
const uploadRef = ref(null) |
|
|
|
const submitterName = ref('')// 提交人 |
|
|
|
const areaFinance = ref('')// 地区财务 |
|
|
|
const areaCharge = ref('')// 地区负责人 |
|
|
|
const headFinance = ref('')// 总部财务 |
|
|
|
const executor = ref('')// 指定执行人 |
|
|
|
const currencies = ref([ |
|
|
|
{ |
|
|
|
value: '新币', |
|
|
|
@ -501,10 +520,11 @@ const handlePass = async function () { |
|
|
|
id: auditRow.value.id, |
|
|
|
executor: addForm.value.executor, |
|
|
|
status: 40, |
|
|
|
adminId: adminData.value.id |
|
|
|
headFinance: adminData.value.adminName, |
|
|
|
auditId: auditRow.value.auditId |
|
|
|
} |
|
|
|
const result = await API({ |
|
|
|
url: '/Money/review', |
|
|
|
url: '/Money/finalReview', |
|
|
|
data: params |
|
|
|
}) |
|
|
|
if (result.code === 200) { |
|
|
|
@ -527,10 +547,11 @@ const handleReject = async function () { |
|
|
|
id: auditRow.value.id, |
|
|
|
status: 32, |
|
|
|
rejectReason: addForm.value.remark, |
|
|
|
adminId: adminData.value.id |
|
|
|
headFinance: adminData.value.adminName, |
|
|
|
auditId: auditRow.value.auditId |
|
|
|
} |
|
|
|
const result = await API({ |
|
|
|
url: '/Money/review', |
|
|
|
url: '/Money/finalReview', |
|
|
|
data: params |
|
|
|
}) |
|
|
|
if (result.code === 200) { |
|
|
|
@ -555,24 +576,168 @@ const reset = function () { |
|
|
|
} |
|
|
|
const showStep = function (row) { |
|
|
|
if (!hasMenuPermission(menuTree.value, permissionMapping.refundHeaderProgShow)) { |
|
|
|
ElMessage.error('无此权限') |
|
|
|
return |
|
|
|
ElMessage.error('无此权限'); |
|
|
|
return; |
|
|
|
} |
|
|
|
console.log("row", row) |
|
|
|
currentStep.value = 1; |
|
|
|
if (row.status === 41) { |
|
|
|
executor.value = row.executorName |
|
|
|
currentStep.value = 6; |
|
|
|
} else { |
|
|
|
if (row.areaServise !== null && row.areaServise !== '') { |
|
|
|
submitterName.value = row.areaServise |
|
|
|
console.log(submitterName.value) |
|
|
|
currentStep.value = 2; |
|
|
|
} |
|
|
|
if (row.areaFinance !== null && row.areaFinance !== '') { |
|
|
|
areaFinance.value = row.areaFinance |
|
|
|
console.log(areaFinance.value) |
|
|
|
currentStep.value = 3; |
|
|
|
} |
|
|
|
if (row.areaCharge !== null && row.areaCharge !== '') { |
|
|
|
areaCharge.value = row.areaCharge |
|
|
|
console.log(areaCharge.value) |
|
|
|
currentStep.value = 4; |
|
|
|
} |
|
|
|
if (row.headFinance !== null && row.headFinance !== '') { |
|
|
|
headFinance.value = row.headFinance |
|
|
|
console.log(headFinance.value) |
|
|
|
currentStep.value = 5; |
|
|
|
} |
|
|
|
} |
|
|
|
console.log("当前步骤:", currentStep.value); |
|
|
|
showSteps.value = true; |
|
|
|
} |
|
|
|
const productList = [ |
|
|
|
{ |
|
|
|
"value": "金币产品", |
|
|
|
"label": "金币产品", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "金币充值", |
|
|
|
"label": "金币充值", |
|
|
|
} |
|
|
|
if (row.areaService !== null || row.areaService !== '') { |
|
|
|
currentStep.value = 1 |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "软件产品", |
|
|
|
"label": "软件产品", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "美股", |
|
|
|
"label": "美股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "美股软件", |
|
|
|
"label": "美股软件" |
|
|
|
} |
|
|
|
if (row.areaFinance !== null || row.areaFinance !== '') { |
|
|
|
currentStep.value = 2 |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "港股", |
|
|
|
"label": "港股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "港股软件", |
|
|
|
"label": "港股软件" |
|
|
|
} |
|
|
|
if (row.areaCharge !== null || row.areaCharge !== '') { |
|
|
|
currentStep.value = 3 |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "A股", |
|
|
|
"label": "A股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "A股软件", |
|
|
|
"label": "A股软件" |
|
|
|
} |
|
|
|
if (row.headFinance !== null || row.headFinance !== '') { |
|
|
|
currentStep.value = 4 |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "新加坡股", |
|
|
|
"label": "新加坡股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "新加坡股软件", |
|
|
|
"label": "新加坡股软件" |
|
|
|
} |
|
|
|
console.log("看看顺序到哪了",currentStep.value) |
|
|
|
showSteps.value = true |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "马股", |
|
|
|
"label": "马股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "马股软件", |
|
|
|
"label": "马股软件" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "日本股", |
|
|
|
"label": "日本股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "日本股软件", |
|
|
|
"label": "日本股软件" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "泰股", |
|
|
|
"label": "泰股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "泰股软件", |
|
|
|
"label": "泰股软件" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "越南股", |
|
|
|
"label": "越南股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "越南股软件", |
|
|
|
"label": "越南股软件" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "印尼股", |
|
|
|
"label": "印尼股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "印尼股软件", |
|
|
|
"label": "印尼股软件" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "韩国股", |
|
|
|
"label": "韩国股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "韩国股软件", |
|
|
|
"label": "韩国股软件" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"value": "台湾股", |
|
|
|
"label": "台湾股", |
|
|
|
"children": [ |
|
|
|
{ |
|
|
|
"value": "台湾股软件", |
|
|
|
"label": "台湾股软件" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
|
|
|
|
] |
|
|
|
const showAudit = function (row) { |
|
|
|
auditRow.value = row |
|
|
|
showAudit2.value = true |
|
|
|
@ -589,9 +754,11 @@ onMounted(() => { |
|
|
|
:deep(.el-table__body td) { |
|
|
|
background-color: #F3FAFE !important; |
|
|
|
} |
|
|
|
|
|
|
|
:deep(.el-table__header th) { |
|
|
|
background-color: #F3FAFE !important; |
|
|
|
} |
|
|
|
|
|
|
|
.condition { |
|
|
|
width: 82vw; |
|
|
|
display: flex; |
|
|
|
@ -662,11 +829,6 @@ onMounted(() => { |
|
|
|
width: 60%; |
|
|
|
height: 35vh; |
|
|
|
|
|
|
|
.image { |
|
|
|
width: 4vw !important; |
|
|
|
height: 4vw !important; |
|
|
|
} |
|
|
|
|
|
|
|
:deep(.el-upload--picture-card) { |
|
|
|
width: 4vw !important; |
|
|
|
height: 4vw !important; |
|
|
|
|