휴가 승인자 정보 추적

This commit is contained in:
chi
2024-05-08 14:53:55 +09:00
parent 7eb2dbd2cd
commit e4f8981491
201 changed files with 1355 additions and 3219 deletions

View File

@@ -26,7 +26,25 @@ namespace FPJ0000
this.KeyDown += fPartList_KeyDown;
this.dsPRJ.ProjectsMailList.TableNewRow += ProjectsPart_TableNewRow;
}
private void fPartList_Load(object sender, EventArgs e)
{
EnsureVisibleAndUsableSize();
//열번호찾기
//foreach(FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
//{
// string colname = col.DataField.ToLower();
// if (colname == "itemmodel") colidx_model = col.Index;
// else if (colname == "itemname") colidx_itemname = col.Index;
// else if (colname == "item") colidx_item = col.Index;
// else if (colname == "qty") colidx_qty = col.Index;
// else if (colname == "price") colidx_price = col.Index;
// else if (colname == "amt") colidx_amt = col.Index;
// else if (colname == "supplyidx") colidx_supplyidx = col.Index;
// else if (col.Label.ToLower() == "supply") colidx_supply = col.Index;
//}
RefreshData();
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
}
void ProjectsPart_TableNewRow(object sender, DataTableNewRowEventArgs e)
{
e.Row["wuid"] = FCOMMON.info.Login.no;
@@ -46,24 +64,7 @@ namespace FPJ0000
}
private void fPartList_Load(object sender, EventArgs e)
{
//열번호찾기
//foreach(FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
//{
// string colname = col.DataField.ToLower();
// if (colname == "itemmodel") colidx_model = col.Index;
// else if (colname == "itemname") colidx_itemname = col.Index;
// else if (colname == "item") colidx_item = col.Index;
// else if (colname == "qty") colidx_qty = col.Index;
// else if (colname == "price") colidx_price = col.Index;
// else if (colname == "amt") colidx_amt = col.Index;
// else if (colname == "supplyidx") colidx_supplyidx = col.Index;
// else if (col.Label.ToLower() == "supply") colidx_supply = col.Index;
//}
RefreshData();
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
}
void RefreshData()
{