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 @@ - +