pm 용 구매 업데이트 기능 추가
This commit is contained in:
@@ -29,6 +29,7 @@ namespace FCM0000
|
||||
public fLovItem(string search_)
|
||||
{
|
||||
InitializeComponent();
|
||||
btAdd.Enabled = false;
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
|
||||
fn_fpcolsize = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
@@ -63,6 +64,7 @@ namespace FCM0000
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
|
||||
refreshData(this.tbFind.Text);
|
||||
|
||||
if (this.bs.Count > 0) fpSpread1.Focus();
|
||||
@@ -92,6 +94,7 @@ namespace FCM0000
|
||||
//this.taPMP.Fill(this.dSPMP.SPMaster, "%" + search + "%");
|
||||
//this.arDatagridView1.AutoResizeColumns();
|
||||
searchOk = true;
|
||||
btAdd.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,8 +244,10 @@ namespace FCM0000
|
||||
return;
|
||||
}
|
||||
else refreshData(search);
|
||||
|
||||
tbFind.SelectAll();
|
||||
tbFind.Focus();
|
||||
btAdd.Enabled = true;
|
||||
}
|
||||
|
||||
private void btAdd_Click(object sender, EventArgs e)
|
||||
@@ -254,7 +259,10 @@ namespace FCM0000
|
||||
tbFind.SelectAll();
|
||||
return;
|
||||
}
|
||||
var f = new Item.fItemAdd();
|
||||
var sid = string.Empty;
|
||||
if (tbFind.Text.Length == 9 && tbFind.Text.StartsWith("10")) sid = tbFind.Text.Trim();
|
||||
|
||||
var f = new Item.fItemAdd(sid);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
itemName = f.tbName.Text.Trim();
|
||||
|
||||
Reference in New Issue
Block a user