From 7f0e54dec47c949347efa6146eee08a3779c8633 Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 4 Jul 2024 10:30:26 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=94=9F=E6=88=90=E5=91=98?= =?UTF-8?q?=E5=B7=A5=E5=B7=A5=E8=B5=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/record/recordStaffSalary.js | 53 ++ src/views/mes/prod/prodOrderInfo/index.vue | 9 +- .../mes/record/recordStaffSalary/index.vue | 505 ++++++++++++++++++ .../mes/record/teamEmployeesWages/index.vue | 357 ++++++------- 4 files changed, 736 insertions(+), 188 deletions(-) create mode 100644 src/api/mes/record/recordStaffSalary.js create mode 100644 src/views/mes/record/recordStaffSalary/index.vue diff --git a/src/api/mes/record/recordStaffSalary.js b/src/api/mes/record/recordStaffSalary.js new file mode 100644 index 0000000..b31fd5a --- /dev/null +++ b/src/api/mes/record/recordStaffSalary.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询员工工资记录列表 +export function listRecordStaffSalary(query) { + return request({ + url: '/mes/record/recordStaffSalary/list', + method: 'get', + params: query + }) +} + +// 查询员工工资记录详细 +export function getRecordStaffSalary(objId) { + return request({ + url: '/mes/record/recordStaffSalary/' + objId, + method: 'get' + }) +} + +// 新增员工工资记录 +export function addRecordStaffSalary(data) { + return request({ + url: '/mes/record/recordStaffSalary', + method: 'post', + data: data + }) +} + +// 修改员工工资记录 +export function updateRecordStaffSalary(data) { + return request({ + url: '/mes/record/recordStaffSalary', + method: 'put', + data: data + }) +} + +// 删除员工工资记录 +export function delRecordStaffSalary(objId) { + return request({ + url: '/mes/record/recordStaffSalary/' + objId, + method: 'delete' + }) +} + +// 生成班组员工工资 +export function selectTeamEmployeesWages(query) { + return request({ + url: '/mes/record/recordStaffSalary/selectTeamEmployeesWages', + method: 'get', + params: query + }) +} diff --git a/src/views/mes/prod/prodOrderInfo/index.vue b/src/views/mes/prod/prodOrderInfo/index.vue index f6b9269..a8e8398 100644 --- a/src/views/mes/prod/prodOrderInfo/index.vue +++ b/src/views/mes/prod/prodOrderInfo/index.vue @@ -465,12 +465,7 @@ export default { isRelease: null, workCenterCode: null, routingCode: null, - printName: null, - isFlag: null, - createdBy: null, - createdTime: null, - updatedBy: null, - updatedTime: null + printName: null }, // 表单参数 form: {}, @@ -513,7 +508,7 @@ export default { }, created() { if (this.$route.params != null){ - this.queryParams = this.$route.params + this.queryParams.params = this.$route.params } this.getList() }, diff --git a/src/views/mes/record/recordStaffSalary/index.vue b/src/views/mes/record/recordStaffSalary/index.vue new file mode 100644 index 0000000..acf40a6 --- /dev/null +++ b/src/views/mes/record/recordStaffSalary/index.vue @@ -0,0 +1,505 @@ + + + diff --git a/src/views/mes/record/teamEmployeesWages/index.vue b/src/views/mes/record/teamEmployeesWages/index.vue index 05579e1..5305067 100644 --- a/src/views/mes/record/teamEmployeesWages/index.vue +++ b/src/views/mes/record/teamEmployeesWages/index.vue @@ -1,38 +1,40 @@