buhuazhen
10 天以前 b0a37987bbb92388f2e12a239e87e1a71f81b653
 feat: 报工过滤禁止
已修改1个文件
6 ■■■■ 文件已修改
src/views/productionManagement/workOrder/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/workOrder/index.vue
@@ -1068,8 +1068,8 @@
          showReportDialog(row);
        },
        // 用户当前id
        // disabled: row => row.completeQuantity >= row.planQuantity ||
        //     !isCurrentUserInUserIds(row) || row.hasUnreportedMachine
        disabled: row => row.completeQuantity >= row.planQuantity ||
            !isCurrentUserInUserIds(row) || row.hasUnreportedMachine
      },
      {
        name: "生产排产",
@@ -1473,7 +1473,7 @@
      .filter(Boolean);
  reportForm.userIdsList = userTeamOptions.value
      .filter(item => ids.includes(String(item.userId)))
      // .filter(item => ids.includes(String(item.userId)))
      .map(item => ({
        userId: item.userId,
        nickName: item.nickName