diff --git a/src/views/moneyManage/executor/executor.vue b/src/views/moneyManage/executor/executor.vue index 7d3d43e..489b039 100644 --- a/src/views/moneyManage/executor/executor.vue +++ b/src/views/moneyManage/executor/executor.vue @@ -15,12 +15,12 @@
@@ -241,7 +246,10 @@
@@ -252,7 +260,10 @@
@@ -263,7 +274,10 @@
@@ -294,7 +308,7 @@ import { permissionMapping, findMenuById, hasMenuPermission } from "@/utils/menu
const currentStep = ref(0)// 进度图
const searchForm = ref({
jwcode: '',
- markets:[]
+ markets: []
})
const addForm = ref({
remark: ''
@@ -310,6 +324,11 @@ const pagination = ref({
const showAudit2 = ref(false)
const tableData = ref([])
const showSteps = ref(false)
+const submitterName = ref('')// 提交人
+const areaFinance = ref('')// 地区财务
+const areaCharge = ref('')// 地区负责人
+const headFinance = ref('')// 总部财务
+const executor = ref('')// 指定执行人
const uploadRef = ref(null)
const currencies = ref([
{
@@ -399,22 +418,22 @@ const channelOptions = ref([{
}
])
const statusList = ref([
-{
- value: 20,
- label: '待审核',
- },
- {
- value: '审核通过',
- label: '审核通过'
- },
- {
- value: '审核驳回',
- label: '审核驳回'
- },
- {
- value: 41,
- label: '退款完成'
- }
+ {
+ value: 20,
+ label: '待审核',
+ },
+ {
+ value: '审核通过',
+ label: '审核通过'
+ },
+ {
+ value: '审核驳回',
+ label: '审核驳回'
+ },
+ {
+ value: 41,
+ label: '退款完成'
+ }
])
// 查全部
const getRefund = async function () {
@@ -423,11 +442,11 @@ const getRefund = async function () {
return
}
try {
- searchForm.value.statuses = [20,22,30,32,40,41] // 看不到进度没到这里的
- if(searchForm.value.statuses === '审核通过'){
- statuses = [30,40]
- }else if(searchForm.value.statuses === '审核驳回'){
- statuses = [22,32]
+ searchForm.value.statuses = [20, 22, 30, 32, 40, 41] // 看不到进度没到这里的
+ if (searchForm.value.statuses === '审核通过') {
+ statuses = [30, 40]
+ } else if (searchForm.value.statuses === '审核驳回') {
+ statuses = [22, 32]
}
const params = {
pageNum: pagination.value.pageNum,
@@ -471,7 +490,8 @@ const handlePass = async function () {
id: auditRow.value.id,
status: 30,
rejectReason: addForm.value.remark,
- adminId: adminData.value.id
+ areaCharge: adminData.value.adminName,
+ auditId: auditRow.value.auditId
}
const result = await API({
url: '/Money/review',
@@ -497,7 +517,8 @@ const handleReject = async function () {
id: auditRow.value.id,
status: 22,
rejectReason: addForm.value.remark,
- adminId: adminData.value.id
+ areaCharge: adminData.value.adminName,
+ auditId: auditRow.value.auditId
}
const result = await API({
url: '/Money/review',
@@ -514,24 +535,168 @@ const handleReject = async function () {
}
const showStep = function (row) {
if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeProgShow)) {
- ElMessage.error('无此权限')
- return
- }
- if (row.areaService !== null || row.areaService !== '') {
- currentStep.value = 1
- }
- if (row.areaFinance !== null || row.areaFinance !== '') {
- currentStep.value = 2
- }
- if (row.areaCharge !== null || row.areaCharge !== '') {
- currentStep.value = 3
+ ElMessage.error('无此权限');
+ return;
}
- if (row.headFinance !== null || row.headFinance !== '') {
- currentStep.value = 4
+ 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
+ console.log("当前步骤:", currentStep.value);
+ showSteps.value = true;
}
+const productList = [
+ {
+ "value": "金币产品",
+ "label": "金币产品",
+ "children": [
+ {
+ "value": "金币充值",
+ "label": "金币充值",
+ }
+ ]
+ },
+ {
+ "value": "软件产品",
+ "label": "软件产品",
+ "children": [
+ {
+ "value": "美股",
+ "label": "美股",
+ "children": [
+ {
+ "value": "美股软件",
+ "label": "美股软件"
+ }
+ ]
+ },
+ {
+ "value": "港股",
+ "label": "港股",
+ "children": [
+ {
+ "value": "港股软件",
+ "label": "港股软件"
+ }
+ ]
+ },
+ {
+ "value": "A股",
+ "label": "A股",
+ "children": [
+ {
+ "value": "A股软件",
+ "label": "A股软件"
+ }
+ ]
+ },
+ {
+ "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": "韩国股软件"
+ }
+ ]
+ },
+ {
+ "value": "台湾股",
+ "label": "台湾股",
+ "children": [
+ {
+ "value": "台湾股软件",
+ "label": "台湾股软件"
+ }
+ ]
+ }
+ ]
+ },
+
+]
const hideReject = function () {
showReject.value = false
addForm.value.remark = ''
@@ -563,6 +728,7 @@ onMounted(() => {
:deep(.el-table__header th) {
background-color: #F3FAFE !important;
}
+
.condition {
width: 82vw;
display: flex;
diff --git a/src/views/moneyManage/refundDetail/refundFinance.vue b/src/views/moneyManage/refundDetail/refundFinance.vue
index d5b9736..f5ff703 100644
--- a/src/views/moneyManage/refundDetail/refundFinance.vue
+++ b/src/views/moneyManage/refundDetail/refundFinance.vue
@@ -16,7 +16,7 @@
@@ -246,7 +249,10 @@
@@ -257,7 +263,10 @@
@@ -268,7 +277,10 @@
@@ -320,6 +332,11 @@ const showAudit = ref(false)
const auditRow = 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 payments = ref([{
value: '银行转账',
label: '银行转账'
@@ -452,10 +469,11 @@ const handlePass = async function () {
const params = {
id: auditRow.value.id,
status: 20,
- adminId: adminData.value.id
+ areaFinance: adminData.value.adminName,
+ auditId: auditRow.value.auditId
}
const result = await API({
- url: '/Money/finalReview',
+ url: '/Money/review',
data: params
})
if (result.code === 200) {
@@ -478,7 +496,8 @@ const handleReject = async function () {
id: auditRow.value.id,
status: 12,
rejectReason: addForm.value.remark,
- adminId: adminData.value.id
+ areaFinance: adminData.value.adminName,
+ auditId: auditRow.value.auditId
}
const result = await API({
url: '/Money/finalReview',
@@ -580,25 +599,169 @@ const channelOptions = ref([{
label: 'Ipay88-Link平台'
}
])
+const productList = [
+ {
+ "value": "金币产品",
+ "label": "金币产品",
+ "children": [
+ {
+ "value": "金币充值",
+ "label": "金币充值",
+ }
+ ]
+ },
+ {
+ "value": "软件产品",
+ "label": "软件产品",
+ "children": [
+ {
+ "value": "美股",
+ "label": "美股",
+ "children": [
+ {
+ "value": "美股软件",
+ "label": "美股软件"
+ }
+ ]
+ },
+ {
+ "value": "港股",
+ "label": "港股",
+ "children": [
+ {
+ "value": "港股软件",
+ "label": "港股软件"
+ }
+ ]
+ },
+ {
+ "value": "A股",
+ "label": "A股",
+ "children": [
+ {
+ "value": "A股软件",
+ "label": "A股软件"
+ }
+ ]
+ },
+ {
+ "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": "韩国股软件"
+ }
+ ]
+ },
+ {
+ "value": "台湾股",
+ "label": "台湾股",
+ "children": [
+ {
+ "value": "台湾股软件",
+ "label": "台湾股软件"
+ }
+ ]
+ }
+ ]
+ },
+
+]
const showStep = function (row) {
if (!hasMenuPermission(menuTree.value, permissionMapping.refundFinanceProgShow)) {
- ElMessage.error('无此权限')
- return
- }
- if (row.areaService !== null || row.areaService !== '') {
- currentStep.value = 1
+ ElMessage.error('无此权限');
+ return;
}
- if (row.areaFinance !== null || row.areaFinance !== '') {
- currentStep.value = 2
- }
- if (row.areaCharge !== null || row.areaCharge !== '') {
- currentStep.value = 3
- }
- if (row.headFinance !== null || row.headFinance !== '') {
- currentStep.value = 4
+ 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
+ console.log("当前步骤:", currentStep.value);
+ showSteps.value = true;
}
const showAudit2 = function (row) {
auditRow.value = row
diff --git a/src/views/moneyManage/refundDetail/refundHeader.vue b/src/views/moneyManage/refundDetail/refundHeader.vue
index dfb3257..150fa74 100644
--- a/src/views/moneyManage/refundDetail/refundHeader.vue
+++ b/src/views/moneyManage/refundDetail/refundHeader.vue
@@ -16,7 +16,7 @@
@@ -251,7 +256,10 @@
@@ -262,7 +270,10 @@
@@ -273,7 +284,10 @@
@@ -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
- }
- if (row.areaService !== null || row.areaService !== '') {
- currentStep.value = 1
- }
- if (row.areaFinance !== null || row.areaFinance !== '') {
- currentStep.value = 2
- }
- if (row.areaCharge !== null || row.areaCharge !== '') {
- currentStep.value = 3
+ ElMessage.error('无此权限');
+ return;
}
- if (row.headFinance !== null || row.headFinance !== '') {
- currentStep.value = 4
+ 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
+ console.log("当前步骤:", currentStep.value);
+ showSteps.value = true;
}
+const productList = [
+ {
+ "value": "金币产品",
+ "label": "金币产品",
+ "children": [
+ {
+ "value": "金币充值",
+ "label": "金币充值",
+ }
+ ]
+ },
+ {
+ "value": "软件产品",
+ "label": "软件产品",
+ "children": [
+ {
+ "value": "美股",
+ "label": "美股",
+ "children": [
+ {
+ "value": "美股软件",
+ "label": "美股软件"
+ }
+ ]
+ },
+ {
+ "value": "港股",
+ "label": "港股",
+ "children": [
+ {
+ "value": "港股软件",
+ "label": "港股软件"
+ }
+ ]
+ },
+ {
+ "value": "A股",
+ "label": "A股",
+ "children": [
+ {
+ "value": "A股软件",
+ "label": "A股软件"
+ }
+ ]
+ },
+ {
+ "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": "韩国股软件"
+ }
+ ]
+ },
+ {
+ "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;
diff --git a/src/views/moneyManage/refundDetail/refundService.vue b/src/views/moneyManage/refundDetail/refundService.vue
index e4848a8..5e4031d 100644
--- a/src/views/moneyManage/refundDetail/refundService.vue
+++ b/src/views/moneyManage/refundDetail/refundService.vue
@@ -17,7 +17,7 @@