nr구매입력창에 프로젝트 제한조건 해제.

This commit is contained in:
chi
2021-02-03 11:23:36 +09:00
parent 0da91d90a9
commit 6f2de421f4
21 changed files with 1194 additions and 379 deletions

View File

@@ -64,6 +64,14 @@ namespace FPJ0000
void refreshData()
{
if (this.dsMSSQL.EETGW_SaveCost.GetChanges() != null)
{
var dlg = util.MsgQ("변경된 내용이 있습니다. 지금 새로고침 하면 해당 자료는 손실 됩니다. 진행 할까요?");
if (dlg != DialogResult.Yes) return;
}
string state = "";
string State_Select = " SELECT * FROM EETGW_SaveCost";
string State_where = " WHERE gcode=@gcode and ";
@@ -418,5 +426,22 @@ namespace FPJ0000
{
funcEdit();
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
var f = new SaveCost.fSaveCostReport();
f.Show();
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
var newdr = this.dsMSSQL.EETGW_SaveCost.NewEETGW_SaveCostRow();
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.pdate = DateTime.Now.ToShortDateString();
newdr.gcode = FCOMMON.info.Login.gcode;
this.dsMSSQL.EETGW_SaveCost.AddEETGW_SaveCostRow(newdr);
}
}
}