From cfba91182ed8c9095fc966696839e79417e71370 Mon Sep 17 00:00:00 2001 From: woody Date: Wed, 9 Jul 2025 11:21:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(CashDetail):=20=E6=8F=90=E7=8E=B0=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E6=B7=BB=E5=8A=A0=E9=A9=B3=E5=9B=9E=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/financialCase.js | 8 + src/router/index.js | 60 +- src/views/financial/cashDetails/index.vue | 77 +- .../productBasicInfo/productBasicAdd/jcsz.vue | 802 ----------------- .../productBasicAdd/productDetail.vue | 805 ------------------ .../productBasicList/index.vue | 531 ------------ vue.config.js | 6 +- 7 files changed, 112 insertions(+), 2177 deletions(-) delete mode 100644 src/views/goodsManage/productBasicInfo/productBasicAdd/jcsz.vue delete mode 100644 src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue delete mode 100644 src/views/goodsManage/productBasicInfo/productBasicList/index.vue diff --git a/src/api/financialCase.js b/src/api/financialCase.js index 19341a4..b6a7c61 100644 --- a/src/api/financialCase.js +++ b/src/api/financialCase.js @@ -271,3 +271,11 @@ export function getTreeType(params) { }) } +// 批量驳回 +export function batchReject(data) { + return request({ + url: '/member/manager/withdraw/reject', + method: 'post', + data + }) +} diff --git a/src/router/index.js b/src/router/index.js index 165d6ec..dea0544 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -939,37 +939,37 @@ export const constantRoutes = [ meta: { title: '邮费配置' } } ] - }, - { - path: 'productBasicInfo', - name: 'productBasicInfo', - meta: { title: '产品基本信息' }, - component: ParentView, - redirect: 'productBasicInfo/cpfl', - children: [ - { - path: 'productBasicList', - name: 'productBasicList', - component: () => import('@/views/goodsManage/productBasicInfo/productBasicList/index.vue'), - meta: { title: '产品列表' }, - hidden: true - }, - { - path: 'productBasicAdd', - name: 'productBasicAdd', - component: () => import('@/views/goodsManage/productBasicInfo/productBasicAdd/jcsz.vue'), - meta: { title: '产品新增' }, - hidden: true - }, - { - path: 'productBasicDetail', - name: 'productBasicDetail', - component: () => import('@/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue'), - // meta: { title: '产品列表'}, - hidden: true - } - ] } + // { + // path: 'productBasicInfo', + // name: 'productBasicInfo', + // meta: { title: '产品基本信息' }, + // component: ParentView, + // redirect: 'productBasicInfo/cpfl', + // children: [ + // { + // path: 'productBasicList', + // name: 'productBasicList', + // component: () => import('@/views/goodsManage/productBasicInfo/productBasicList/index.vue'), + // meta: { title: '产品列表' }, + // hidden: true + // }, + // { + // path: 'productBasicAdd', + // name: 'productBasicAdd', + // component: () => import('@/views/goodsManage/productBasicInfo/productBasicAdd/jcsz.vue'), + // meta: { title: '产品新增' }, + // hidden: true + // }, + // { + // path: 'productBasicDetail', + // name: 'productBasicDetail', + // component: () => import('@/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue'), + // // meta: { title: '产品列表'}, + // hidden: true + // } + // ] + // } ] }, diff --git a/src/views/financial/cashDetails/index.vue b/src/views/financial/cashDetails/index.vue index 3a93d75..14e4479 100644 --- a/src/views/financial/cashDetails/index.vue +++ b/src/views/financial/cashDetails/index.vue @@ -221,7 +221,16 @@ @click="handleExport" > {{ '导出' }} + + 驳回 + +
@@ -457,12 +466,7 @@ prop="payerRemarks" :label="'打款备注'" /> - + + + + + + + + + + 取消 + 确认 + +
@@ -584,6 +617,10 @@ export default { // 折叠搜索框 isActive: false, moren: 'cashDetails', + rejectDialogVisible: false, + rejectForm: { + rejectRemark: '' + }, topList: [ { name: '提现明细', @@ -772,6 +809,34 @@ export default { methods: { isLocals, isLocalSymbol, + saveRejectForm() { + const data = { + idList: this.checkArr, + rejectRemark: this.rejectForm.rejectRemark + } + api.batchReject(data).then((res) => { + if (res.code == 200) { + this.$message({ + message: res.msg, + type: 'success' + }) + this.rejectDialogVisible = false + this.getDataList() + } + }) + }, + batchRejectHandle() { + const canReject = this.checkArrAll.every((item) => item.approveState == 1) + console.log(canReject) + if (!canReject) { + this.$message({ + message: '存在已审核单据,请重新选择', + type: 'warning' + }) + return false + } + this.rejectDialogVisible = true + }, getUserRole() { getRoleMenu('CashDetails').then((res) => { const obj = {} diff --git a/src/views/goodsManage/productBasicInfo/productBasicAdd/jcsz.vue b/src/views/goodsManage/productBasicInfo/productBasicAdd/jcsz.vue deleted file mode 100644 index e18491c..0000000 --- a/src/views/goodsManage/productBasicInfo/productBasicAdd/jcsz.vue +++ /dev/null @@ -1,802 +0,0 @@ - - - - diff --git a/src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue b/src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue deleted file mode 100644 index 2df6f9f..0000000 --- a/src/views/goodsManage/productBasicInfo/productBasicAdd/productDetail.vue +++ /dev/null @@ -1,805 +0,0 @@ - - - - diff --git a/src/views/goodsManage/productBasicInfo/productBasicList/index.vue b/src/views/goodsManage/productBasicInfo/productBasicList/index.vue deleted file mode 100644 index 5d4b544..0000000 --- a/src/views/goodsManage/productBasicInfo/productBasicList/index.vue +++ /dev/null @@ -1,531 +0,0 @@ - - - - - diff --git a/vue.config.js b/vue.config.js index 5204c5d..dd43aca 100644 --- a/vue.config.js +++ b/vue.config.js @@ -44,9 +44,9 @@ module.exports = { }, proxy: { '/prod-api': { - target: 'http://192.168.0.86:8080', - changeOrigin: true, - pathRewrite: { '^/prod-api': '' } + target: 'http://t-app.beida777.com', + changeOrigin: true + // pathRewrite: { '^/prod-api': '' } } } },