From a19c88e810d727638d6d432163418f6f4e65f5ab Mon Sep 17 00:00:00 2001 From: orangebabu <2409692770@qq.com> Date: Thu, 12 Jun 2025 11:48:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E8=81=8C=E5=87=AD=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/system/hr/employee-salary.ts | 7 + jinbooks-ui/src/views/hr/salary-detail.vue | 79 ++++++- jinbooks-ui/src/views/hr/salary-summary.vue | 12 +- .../jinbooks/entity/hr/EmployeeSalary.java | 22 +- .../service/EmployeeSalaryService.java | 11 +- .../impl/EmployeeSalaryServiceImpl.java | 222 +++++++++++++++++- .../controller/EmployeeSalaryController.java | 20 +- 7 files changed, 333 insertions(+), 40 deletions(-) diff --git a/jinbooks-ui/src/api/system/hr/employee-salary.ts b/jinbooks-ui/src/api/system/hr/employee-salary.ts index 06623f9..f120729 100644 --- a/jinbooks-ui/src/api/system/hr/employee-salary.ts +++ b/jinbooks-ui/src/api/system/hr/employee-salary.ts @@ -57,3 +57,10 @@ export function exportSalary(query: any): any { }) } +export function generateVoucherSubmit(data: any) { + return request({ + url: '/employee/salary/generate-voucher', + method: 'post', + data: data + }) +} diff --git a/jinbooks-ui/src/views/hr/salary-detail.vue b/jinbooks-ui/src/views/hr/salary-detail.vue index 34d8bb4..2b1742a 100644 --- a/jinbooks-ui/src/views/hr/salary-detail.vue +++ b/jinbooks-ui/src/views/hr/salary-detail.vue @@ -205,6 +205,36 @@ {{ formatAmount(scope.row.businessExpenditureCosts) }} + + + + + + + + + + + diff --git a/jinbooks-ui/src/views/hr/salary-summary.vue b/jinbooks-ui/src/views/hr/salary-summary.vue index d81f3ed..f4bcb4b 100644 --- a/jinbooks-ui/src/views/hr/salary-summary.vue +++ b/jinbooks-ui/src/views/hr/salary-summary.vue @@ -182,11 +182,11 @@