--
Select Case User.Group
Case "涂装部"
Select Case e.Col.Name
Case "备料日期","机加工日期","贴皮日期" ,"组装日期","入库日期"
e.Cancel = True
End Select
Case "木工部"
Select Case e.Col.Name
Case "砂磨日期","做灰日期","底漆日期" ,"面漆日期","入库日期","油磨日期"
e.Cancel = True
End Select
End Select
If e.Row.isnull(e.Col.name)=False Then
If User.Group <> "生产厂长" Then
e.cancel=False
End If
End If
可以这个方案解决 我的代码不多 求调整 不能控制
[此贴子已经被作者于2015/5/25 17:06:07编辑过]