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