*패치리스트 화면 정리

*업무일지 자동입력화면 종료일자 저장안되는 버그 수정
This commit is contained in:
chi
2021-08-03 09:24:16 +09:00
parent 4486a127b7
commit 956252e100
9 changed files with 139 additions and 123 deletions

View File

@@ -249,7 +249,7 @@ namespace FPJ0000
var dr = drv.Row as dsPRJ.EETGW_JobReport_AutoInputRow;
if (dr.uid != FCOMMON.info.Login.no && FCOMMON.info.Login.level < 5)
{
FCOMMON.Util.MsgE("타인의 자료는 추가/변경/삭제 할 수 없습니다.");
FCOMMON.Util.MsgE("타인의 자료는 추가/변경/삭제 할 수 없습니다.\n관리자는 변경할 수 있습니다");
return;
}

View File

@@ -118,8 +118,11 @@ namespace FPJ0000.JobReport_
dts.Value = DateTime.Parse(dr.pdate); //일자선택
this.checkBox1.Checked = !dr.edate.isEmpty();
if (this.checkBox1.Checked) dte.Value = DateTime.Parse(dr.edate);
if (checkBox1.Checked) dte.Value = DateTime.Parse(dr.edate);
dte.Enabled = checkBox1.Checked;
checkBox1.CheckedChanged += (s1, e1) => {
dte.Enabled = checkBox1.Checked;
};
cmbUser.SelectedValue = dr.uid;
tbProject.Text = dr.projectName;
@@ -373,6 +376,9 @@ namespace FPJ0000.JobReport_
if (tbHrs.Text != "") this.dr.hrs = double.Parse(tbHrs.Text);
else this.dr.hrs = 0;
//완료일자 적용 - 210803 chi <= 김윤선p
if (checkBox1.Checked) dr.edate = dte.Value.ToShortDateString();
else dr.SetedateNull();
//ot 시간을 초기화한다. -- 210728 김윤선
if (double.TryParse(tbOt.Text, out double ot))