목록화면들에서 목록 조회 후 컬럼 너비를 다시 불러오게 함
This commit is contained in:
@@ -119,7 +119,7 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
refreshData();
|
||||
FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -176,6 +176,7 @@ namespace FEQ0000
|
||||
da.Fill(this.dsPurchase.Purchase);
|
||||
this.dsPurchase.AcceptChanges();
|
||||
showSummary();
|
||||
FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
@@ -329,7 +330,22 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
this.dsPurchase.Purchase.AddPurchaseRow(newdr);
|
||||
this.ta.Update(newdr);
|
||||
|
||||
int cnt = this.ta.Update(newdr);
|
||||
if(cnt == 1)
|
||||
{
|
||||
if (f.repeatAdd)
|
||||
{
|
||||
FCOMMON.Util.MsgI("저장 완료\n\n연속 저장 모드이므로 직전에 입력된 자료가 자동으로 설정 됩니다.");
|
||||
|
||||
} else FCOMMON.Util.MsgI("저장 완료");
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgE("저장 실패\n\n다시 시도하시고 증상이 반복되면 chikyun.kim@amkor.co.kr 로 문의 주십시요");
|
||||
}
|
||||
|
||||
|
||||
newdr.AcceptChanges();
|
||||
if (f.repeatAdd)
|
||||
{
|
||||
@@ -594,6 +610,7 @@ namespace FEQ0000
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
@@ -656,11 +673,12 @@ namespace FEQ0000
|
||||
//현재 데이터를 입력하여 신규 추가를 한다.
|
||||
var newdr = this.dsPurchase.Purchase.NewPurchaseRow();
|
||||
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
|
||||
newdr.pdate = DateTime.Now.ToShortDateString();
|
||||
newdr.wdate = DateTime.Now;
|
||||
newdr.wuid = FCOMMON.info.Login.no;
|
||||
newdr.state = "---";
|
||||
newdr.request = FCOMMON.info.Login.nameK;
|
||||
newdr.receive = FCOMMON.info.Login.nameK;
|
||||
newdr.receive = "";// FCOMMON.info.Login.nameK;
|
||||
newdr.sc = string.Empty;
|
||||
newdr.po = string.Empty;
|
||||
newdr.indate = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user