..
This commit is contained in:
@@ -51,7 +51,7 @@ namespace FPJ0000
|
||||
|
||||
private void ProjectPartStatus_ColumnChanged(object sender, DataColumnChangeEventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void FPartList_FormClosing(object sender, FormClosingEventArgs e)
|
||||
@@ -100,6 +100,7 @@ namespace FPJ0000
|
||||
else if (colname == "itemmanu") colidx_manu = col.Index;
|
||||
else if (colname == "itemunit") colidx_unit = col.Index;
|
||||
}
|
||||
this.chkshowerr.Checked = FCOMMON.info.ShowBuyerror;
|
||||
this.Show();
|
||||
//this.bsPart.Sort = "bbuy,ItemSupply,qtyin";
|
||||
Application.DoEvents();
|
||||
@@ -117,6 +118,16 @@ namespace FPJ0000
|
||||
}
|
||||
//if (button3.BackColor != Color.Gold) bsPart.Filter = "status not like '완료%'";
|
||||
//else bsPart.Filter = "";
|
||||
if (chkshowerr.Checked)
|
||||
{
|
||||
prb4.BackColor = Color.Tomato;
|
||||
prb4.BackColor2 = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
prb4.BackColor = Color.Gray;
|
||||
prb4.BackColor2 = Color.DimGray;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
@@ -223,7 +234,7 @@ namespace FPJ0000
|
||||
if (bPR == false)
|
||||
{
|
||||
//PR이 입력되지 않았따.
|
||||
if (qty_in > 0 )
|
||||
if (chkshowerr.Checked && qty_in > 0)
|
||||
{
|
||||
입력오류 += 1;
|
||||
row.ForeColor = Color.White;
|
||||
@@ -238,7 +249,7 @@ namespace FPJ0000
|
||||
}
|
||||
else if (bPO == false) //PO 입력대기 (발주완율)
|
||||
{
|
||||
if (qty_in > 0 )
|
||||
if (chkshowerr.Checked && qty_in > 0)
|
||||
{
|
||||
입력오류 += 1;
|
||||
row.ForeColor = Color.White;
|
||||
@@ -250,7 +261,7 @@ namespace FPJ0000
|
||||
row.ForeColor = Color.Black;
|
||||
row.BackColor = Color.Gold;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -319,7 +330,7 @@ namespace FPJ0000
|
||||
this.Validate();
|
||||
this.bsPart.EndEdit();
|
||||
this.Validate();
|
||||
|
||||
|
||||
|
||||
////모든데이터의 공백을 제거(sid)
|
||||
//foreach (var item in this.dsPRJ.ProjectsPart)
|
||||
@@ -785,7 +796,7 @@ namespace FPJ0000
|
||||
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
|
||||
var serverpath = System.IO.Path.Combine(FCOMMON.info.datapath, "Data", "Project");
|
||||
|
||||
// var serverpath = Properties.Settings.Default.SharePath + @"\Project"; //
|
||||
// var serverpath = Properties.Settings.Default.SharePath + @"\Project"; //
|
||||
|
||||
if (dr.path.isEmpty() == false)
|
||||
{
|
||||
@@ -793,7 +804,7 @@ namespace FPJ0000
|
||||
else serverpath += "\\" + dr.path;
|
||||
}
|
||||
else serverpath += "\\" + dr.Project.ToString();
|
||||
|
||||
|
||||
//+ dr.Project.ToString();
|
||||
|
||||
//if (tbPath == "") tbPath = "/" + dr.idx.ToString();
|
||||
@@ -804,7 +815,7 @@ namespace FPJ0000
|
||||
// else tbPath = "\\" + tbPath;
|
||||
//}
|
||||
//\\10.131.32.29\Data
|
||||
|
||||
|
||||
if (System.IO.Directory.Exists(serverpath) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("프로젝트 경로가 존재하지 않아 진행할 수 없습니다\n\n" +
|
||||
@@ -912,7 +923,7 @@ namespace FPJ0000
|
||||
|
||||
private void 선택반전ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void 선택해제ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
@@ -933,7 +944,7 @@ namespace FPJ0000
|
||||
var col_bcof = this.fpSpread1_Sheet1.Columns["bconfirm"].Index;
|
||||
|
||||
var allselection = fpSpread1_Sheet1.GetSelections();
|
||||
if(allselection.Length < 1 )
|
||||
if (allselection.Length < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("선택된 대상이 없습니다");
|
||||
return;
|
||||
@@ -953,7 +964,7 @@ namespace FPJ0000
|
||||
dr.EndEdit();
|
||||
}
|
||||
//fpSpread1_Sheet1.Cells[sel.Row, col_bbuy].Value = true;
|
||||
|
||||
|
||||
}
|
||||
fpSpread1.EditMode = false;
|
||||
|
||||
@@ -1058,5 +1069,15 @@ namespace FPJ0000
|
||||
}
|
||||
fpSpread1.EditMode = false;
|
||||
}
|
||||
|
||||
private void chkshowerr_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void chkshowerr_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user