구매복사시 chk1,chk2 초기화 및 EB구매 컬럼의 필터 기능 추가
This commit is contained in:
@@ -122,7 +122,8 @@ namespace FEQ0000
|
||||
cmbState.Items.Add("-- 전체 --");
|
||||
foreach (var item in stList)
|
||||
cmbState.Items.Add(item.Value);
|
||||
cmbState.Items.Add("<=Received");
|
||||
cmbState.Items.Add("<Received");
|
||||
//cmbState.Items.Add("App+PR+PO");
|
||||
this.cmbState.SelectedIndex = 0;
|
||||
|
||||
//all기본 - 양진원
|
||||
@@ -202,10 +203,14 @@ namespace FEQ0000
|
||||
|
||||
if (cmbState.SelectedIndex != 0)
|
||||
{
|
||||
if (cmbState.Text.ToUpper() == "<=RECEIVED")
|
||||
if (cmbState.Text.ToUpper() == "<RECEIVED")
|
||||
{
|
||||
cmd.CommandText += " and isnull([state],'') in ('','---','Approving','PR','PO')";
|
||||
}
|
||||
//else if(cmbState.Text.ToUpper() == "APP+PR+PO")
|
||||
//{
|
||||
// cmd.CommandText += " and isnull([state],'') in ('','---','Approving','PR','PO')";
|
||||
//}
|
||||
else
|
||||
{
|
||||
cmd.CommandText += " and isnull([state],'') like @st";
|
||||
@@ -787,6 +792,9 @@ namespace FEQ0000
|
||||
newdr.indate = string.Empty;
|
||||
newdr.edate = string.Empty;
|
||||
newdr.pumqty = 0; //실구매수량은 제거
|
||||
newdr.chk2 = false;
|
||||
newdr.chk1 = false;
|
||||
newdr.SetpumqtyNull();
|
||||
newdr.idx = -1;
|
||||
newdr.EndEdit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user