src/views/productionManagement/workOrder/index.vue
@@ -518,11 +518,6 @@ width: "140", }, { label: "报工人", prop: "userNames", width: "140", }, { label: "计划开始时间", prop: "planStartTime", width: "140", @@ -887,10 +882,10 @@ }; const handleEdit = row => { if (!isCurrentUserReportWorker(row)) { ElMessage.warning("当前用户不是该工单的报工人,无法编辑"); return; } // if (!isCurrentUserReportWorker(row)) { // ElMessage.warning("当前用户不是该工单的报工人,无法编辑"); // return; // } editrow.value = JSON.parse(JSON.stringify(row)); editDialogVisible.value = true; };