From dab80090ea2e4544c64f73af89560925d1a0c9bc Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 9 May 2024 14:06:09 +0800 Subject: [PATCH] add --- src/api/financial_invoice.ts | 8 ++ src/api/financial_refund.ts | 22 ++-- src/views/consult_new_start_project/edit.vue | 39 ++++-- src/views/consult_project/edit.vue | 112 +++++++++--------- src/views/financial_collection_plan/edit.vue | 25 +++- src/views/financial_collection_plan/index.vue | 6 +- src/views/financial_invoice/index.vue | 13 +- src/views/financial_refund/index.vue | 13 +- src/views/manage_accept_doc/edit.vue | 26 +++- src/views/manage_accept_doc/index.vue | 6 +- src/views/manage_info_report/edit.vue | 24 +++- src/views/manage_info_report/index.vue | 2 +- src/views/manage_send_doc/edit.vue | 27 ++++- src/views/manage_send_doc/index.vue | 4 +- src/views/marketing_branch_filing/detail.js | 8 +- src/views/marketing_branch_filing/edit.vue | 39 ++++-- src/views/marketing_branch_filing/index.vue | 10 +- src/views/marketing_custom/detail.js | 2 +- src/views/marketing_custom/edit.vue | 38 ++++-- src/views/project/edit.vue | 12 +- src/views/supervision_company_check/edit.vue | 25 +++- src/views/supervision_company_check/index.vue | 2 +- .../edit.vue | 27 ++++- .../index.vue | 2 +- .../edit.vue | 30 ++++- .../index.vue | 2 +- .../edit.vue | 34 +++++- .../edit.vue | 27 ++++- .../edit.vue | 22 +++- .../supervision_project_info_report/edit.vue | 24 +++- .../supervision_project_info_report/index.vue | 2 +- .../supervision_project_personnel/edit.vue | 14 ++- .../supervision_safety_warning_sign/edit.vue | 29 +++-- .../supervision_safety_warning_sign/index.vue | 6 +- 34 files changed, 511 insertions(+), 171 deletions(-) diff --git a/src/api/financial_invoice.ts b/src/api/financial_invoice.ts index e9a4e7d..5b9fea9 100644 --- a/src/api/financial_invoice.ts +++ b/src/api/financial_invoice.ts @@ -29,3 +29,11 @@ export function apiFinancialInvoiceDetail(params: any) { export function apiFinancialInvoiceSearch(params: any) { return request.get({ url: "/financial.financial_invoice/datas", params }); } + +// 财务管理--下载开票台账列表 +export function apiFinancialInvoiceDown(params: any) { + return request.post({ + url: "/financial.financial_invoice/download", + params, + }); +} diff --git a/src/api/financial_refund.ts b/src/api/financial_refund.ts index d463363..84c3a1d 100644 --- a/src/api/financial_refund.ts +++ b/src/api/financial_refund.ts @@ -1,26 +1,34 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 财务管理--到账台账列表 export function apiFinancialRefundLists(params: any) { - return request.get({ url: '/financial.financial_refund/lists', params }) + return request.get({ url: "/financial.financial_refund/lists", params }); } // 添加财务管理--到账台账 export function apiFinancialRefundAdd(params: any) { - return request.post({ url: '/financial.financial_refund/add', params }) + return request.post({ url: "/financial.financial_refund/add", params }); } // 编辑财务管理--到账台账 export function apiFinancialRefundEdit(params: any) { - return request.post({ url: '/financial.financial_refund/edit', params }) + return request.post({ url: "/financial.financial_refund/edit", params }); } // 删除财务管理--到账台账 export function apiFinancialRefundDelete(params: any) { - return request.post({ url: '/financial.financial_refund/delete', params }) + return request.post({ url: "/financial.financial_refund/delete", params }); } // 财务管理--到账台账详情 export function apiFinancialRefundDetail(params: any) { - return request.get({ url: '/financial.financial_refund/detail', params }) -} \ No newline at end of file + return request.get({ url: "/financial.financial_refund/detail", params }); +} + +// 财务管理--到账台账详情 +export function apiFinancialRefundDownl(params: any) { + return request.post({ + url: "/financial.financial_refund/download", + params, + }); +} diff --git a/src/views/consult_new_start_project/edit.vue b/src/views/consult_new_start_project/edit.vue index ab5188f..e23467b 100644 --- a/src/views/consult_new_start_project/edit.vue +++ b/src/views/consult_new_start_project/edit.vue @@ -1,7 +1,6 @@ diff --git a/src/views/financial_refund/index.vue b/src/views/financial_refund/index.vue index 57b4b6d..98609c8 100644 --- a/src/views/financial_refund/index.vue +++ b/src/views/financial_refund/index.vue @@ -55,6 +55,9 @@ 详情 + + 下载到账回单 + @@ -72,7 +75,7 @@ diff --git a/src/views/manage_accept_doc/edit.vue b/src/views/manage_accept_doc/edit.vue index 4a310c9..ef17bc2 100644 --- a/src/views/manage_accept_doc/edit.vue +++ b/src/views/manage_accept_doc/edit.vue @@ -22,7 +22,8 @@ - + - + @@ -40,6 +42,8 @@ + + @@ -82,12 +86,30 @@ const formData = reactive({ send_company: '', send_date: '', accept_user: '', + accept_user_name: '', accept_date: '', read_user: '', + read_user_name: '', remark: '', annex: [], }) + + +//打开弹窗 +const personnel = ref() +let val = '' +const userclick = (vals) => { + val = vals + personnel.value.open() + +} +//确认 +const submituser = (e: any) => { + formData[val] = e.id; + formData[val + '_name'] = e.name +} + const customEvent = (e: any) => { formData.project_id = e.id formData.project_name = e.project_name diff --git a/src/views/manage_accept_doc/index.vue b/src/views/manage_accept_doc/index.vue index 3b74646..ec40338 100644 --- a/src/views/manage_accept_doc/index.vue +++ b/src/views/manage_accept_doc/index.vue @@ -8,9 +8,9 @@ - + 查询 重置 @@ -35,7 +35,7 @@ - +