po 입력시 pr->po 자동 전환(진재훈)

This commit is contained in:
chi
2024-03-19 11:06:40 +09:00
parent a56c186845
commit 7a01686f77
10 changed files with 427 additions and 371 deletions

View File

@@ -720,6 +720,13 @@ namespace FEQ0000
// }
//}
var potxt = tbPO.Text.Trim();
if (potxt.Length > 1 && cmbState.Text == "PR")
{
//if (cmbState.Items.Contains("PO"))
cmbState.Text = "PO";
}
//품목정보에 없는 데이터이므로 자료를 추가한다.
if (tbPumIDX.Text == "-1")
{
@@ -1197,5 +1204,18 @@ namespace FEQ0000
lbcurrentwon.Tag = 0;
}
}
private void tbPO_Validated(object sender, EventArgs e)
{
var txt = tbPO.Text.Trim();
if (txt.Length > 1)
{
if (cmbState.Text == "PR")
{
//if (cmbState.Items.Contains("PO"))
cmbState.Text = "PO";
}
}
}
}
}