diff --git a/src/views/mes/prod/planExecuteUser/index.vue b/src/views/mes/prod/planExecuteUser/index.vue
index a4f4cf0..ad5a871 100644
--- a/src/views/mes/prod/planExecuteUser/index.vue
+++ b/src/views/mes/prod/planExecuteUser/index.vue
@@ -94,10 +94,10 @@
-
+
-
+
{{ parseTime(scope.row.planBeginDate, '{y}-{m}-{d} {h}:{i}:{s}') }}
@@ -108,7 +108,7 @@
{{ parseTime(scope.row.planEndDate, '{y}-{m}-{d} {h}:{i}:{s}') }}
-
+
diff --git a/src/views/mes/record/recordStaffSalary/index.vue b/src/views/mes/record/recordStaffSalary/index.vue
index 525285a..bb7d18f 100644
--- a/src/views/mes/record/recordStaffSalary/index.vue
+++ b/src/views/mes/record/recordStaffSalary/index.vue
@@ -38,6 +38,16 @@
end-placeholder="结束时间"
>
+
+
+
+
+
搜索
重置
@@ -114,7 +124,15 @@
-
+
+
+
+
+
+
+
+
+
{{ parseTime(scope.row.beginDate, '{y}-{m}-{d}') }}
@@ -240,6 +258,7 @@ import { parseTime } from '@/utils/ruoyi'
export default {
name: 'RecordStaffSalary',
+ dicts: ['is_erp'],
data() {
return {
// 遮罩层
@@ -279,7 +298,8 @@ export default {
taskCode: null,
salaryCoefficient: null,
beginDate: null,
- endDate: null
+ endDate: null,
+ isErp: null,
},
// 表单参数
form: {},
@@ -307,7 +327,11 @@ export default {
{ key: 14, label: `开始日期`, visible: true },
{ key: 15, label: `结束日期`, visible: true },
{ key: 16, label: `员工名称`, visible: true },
- { key: 17, label: `班组名称`, visible: true }
+ { key: 17, label: `班组名称`, visible: true },
+ { key: 18, label: `上传ERP标识`, visible: true },
+ { key: 19, label: `生产米数`, visible: false },
+ { key: 21, label: `订单编号`, visible: false },
+ { key: 22, label: `工单编号`, visible: false },
],
// 班组选项
teamMembersList: []
diff --git a/src/views/mes/record/teamEmployeesWages/index.vue b/src/views/mes/record/teamEmployeesWages/index.vue
index 6a53738..553f76e 100644
--- a/src/views/mes/record/teamEmployeesWages/index.vue
+++ b/src/views/mes/record/teamEmployeesWages/index.vue
@@ -237,7 +237,7 @@ export default {
]
},
columns: [
- { key: 0, label: `序号`, visible: true },
+ { key: 0, label: `序号`, visible: false },
{ key: 1, label: `身份证`, visible: true },
{ key: 2, label: `班组编号`, visible: true },
{ key: 3, label: `事件日期`, visible: true },
@@ -276,10 +276,9 @@ export default {
this.loading = true
this.queryParams.params = {}
if (null != this.daterangeOrderDate && '' != this.daterangeOrderDate) {
- this.queryParams.params['beginOrderDate'] = this.daterangeOrderDate[0]
- this.queryParams.params['endOrderDate'] = this.daterangeOrderDate[1]
+ this.queryParams.params['beginOffWorkTime'] = this.daterangeOrderDate[0]
+ this.queryParams.params['endOffWorkTime'] = this.daterangeOrderDate[1]
}
-
selectTeamEmployeesWages(this.queryParams).then(response => {
this.recordStaffSalaryList = response.data
// this.total = response.total
@@ -341,7 +340,7 @@ export default {
this.$modal.confirm('是否将已勾选的员工工资上传至ERP系统?').then(function() {
return uploadERPStaffSalary(dataList)
}).then(() => {
- this.recordStaffSalaryList = [];
+ this.getList()
this.$modal.msgSuccess('上传ERP成功')
}).catch(() => {
})