This commit is contained in:
chi
2021-12-24 10:49:16 +09:00
parent 42e62c6608
commit 9ef9971c99
9 changed files with 728 additions and 262 deletions

View File

@@ -48,8 +48,8 @@ namespace FPJ0000
{
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
this.dtED.Text = DateTime.Now.ToShortDateString();// sdate.AddMonths(1).AddDays(-1).ToShortDateString();
this.dtSD.Text = DateTime.Now.AddMonths(-2).ToShortDateString();
this.dtED.Text = DateTime.Now.AddMonths(1).ToShortDateString();// sdate.AddMonths(1).AddDays(-1).ToShortDateString();
this.dtSD.Text = DateTime.Now.AddMonths(-3).ToShortDateString();
btSave.Visible = curLevel >= 5;
btEdit.Text = curLevel >= 5 ? "승인(&E)" : "편집(&E)";
@@ -140,6 +140,7 @@ namespace FPJ0000
e.Row["name"] = FCOMMON.info.Login.nameK;
e.Row["dept"] = FCOMMON.info.Login.dept;
e.Row["conf"] = 0;
e.Row["remark"] = "사유:\r\n행선지:\r\n업무백업:";
}
@@ -237,6 +238,8 @@ namespace FPJ0000
var newdr = this.dSKuntae.EETGW_HolydayRequest.NewEETGW_HolydayRequestRow();
newdr.sdate = DateTime.Now.ToShortDateString();
newdr.edate = DateTime.Now.ToShortDateString();
newdr.HolyDays = 1;
newdr.HolyTimes = 0f;
newdr.cate = "연차";
var f = new OtConfirm.fHolyRequestAdd(newdr);
if (f.ShowDialog() == DialogResult.OK)