|
|
@@ -113,14 +113,15 @@ namespace Dongke.IBOSS.PRD.Client.SystemModule
|
|
|
{
|
|
|
ForStaffID = this.dgvDataJobs.Rows[i].Cells["StaffID"].Value.ToString();
|
|
|
}
|
|
|
- if (NowStaffID == ForStaffID)
|
|
|
- {
|
|
|
- this.dgvDataJobs.Rows.RemoveAt(e.RowIndex);
|
|
|
- //仅限当前页面,工号间的待修改
|
|
|
- MessageBox.Show("员工信息不可重复配置!", this.Text,
|
|
|
- MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
- return;
|
|
|
- }
|
|
|
+ //xuwei modify 2022-05-07 允许员工重复,有一个人干2个工种的事
|
|
|
+ //if (NowStaffID == ForStaffID)
|
|
|
+ //{
|
|
|
+ // this.dgvDataJobs.Rows.RemoveAt(e.RowIndex);
|
|
|
+ // //仅限当前页面,工号间的待修改
|
|
|
+ // MessageBox.Show("员工信息不可重复配置!", this.Text,
|
|
|
+ // MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
+ // return;
|
|
|
+ //}
|
|
|
}
|
|
|
}
|
|
|
}
|