구매등록시 SID 선택한 경우 품명, 모델을 편집할 수 없게함

구매등록시 탭 순서 변경
This commit is contained in:
chikyun.kim
2019-01-04 09:50:19 +09:00
parent 306f611873
commit e4acddcc4b
6 changed files with 68 additions and 36 deletions

View File

@@ -188,7 +188,6 @@ namespace FEQ0000
{
if (e.KeyCode == Keys.Enter)
{
Control ctl = sender as Control;
string nm = ctl.Name.ToLower();
string search = ctl.Text.Trim();
@@ -248,14 +247,29 @@ namespace FEQ0000
if (oimage != null) oimage.Dispose();
}
FCOMMON.Util.MsgI("SID를 선택하면 품명&모델을 편집할 수 없습니다.\n\n해당 정보는 '품목' 정보에서 수정해야 합니다.");
//이름을 선택되었으므로 모델을 선택한다.
tbPumModel.Focus();
tbPumName.Enabled = false;
tbPumModel.Enabled = false;
tbPumQty.Focus();
this.Invalidate();
return;
}
else
{
tbPumName.Enabled = true;
tbPumModel.Enabled = true;
tbPumName.Focus();
}
}
tbPumName.Focus();
else
{
tbPumName.Enabled = true;
tbPumModel.Enabled = true;
tbPumName.Focus();
}
break;
case "tbpumname":
if (search != "")
@@ -310,7 +324,7 @@ namespace FEQ0000
this.tbProjectIndex.Text = f.Index.ToString();
}
}
this.btSaveAdd.Focus();
this.btSave.Focus();
break;
case "tbsupply":