| | |
| | | showReportDialog(row); |
| | | }, |
| | | // 用户当前id |
| | | // disabled: row => row.completeQuantity >= row.planQuantity || |
| | | // !isCurrentUserInUserIds(row) || row.hasUnreportedMachine |
| | | disabled: row => row.completeQuantity >= row.planQuantity || |
| | | !isCurrentUserInUserIds(row) || row.hasUnreportedMachine |
| | | }, |
| | | { |
| | | name: "生产排产", |
| | |
| | | .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 |