휴가 승인자 정보 추적
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using FCOMMON;
|
||||
using FarPoint.Excel.EntityClassLibrary.SpreadsheetML;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -43,14 +44,10 @@ namespace FCM0000.Item
|
||||
}
|
||||
}
|
||||
|
||||
private void fItemAdd_Load(object sender, EventArgs e)
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Minimized) this.WindowState = FormWindowState.Normal;
|
||||
if (this.RestoreBounds.X + this.RestoreBounds.Width < 300 && this.RestoreBounds.X < 0)
|
||||
{
|
||||
this.Location = new Point(0, 0);
|
||||
}
|
||||
this.Show();
|
||||
base.OnLoad(e);
|
||||
EnsureVisibleAndUsableSize();
|
||||
//Application.DoEvents();
|
||||
|
||||
if (tbSid.Text.isEmpty()) tbSid.Focus();
|
||||
@@ -77,7 +74,8 @@ namespace FCM0000.Item
|
||||
else
|
||||
{
|
||||
//이떄는 sid가 정상이어야 한다.
|
||||
if (tbSid.Text.StartsWith("10") == false || tbSid.TextLength != 9)
|
||||
var siddata = tbSid.Text.Split('-')[0].Trim();
|
||||
if (siddata.StartsWith("10") == false || siddata.Length != 9)
|
||||
{
|
||||
Util.MsgE("SID는 9자리 숫자이며 10으로 시작 합니다\n입력값을 확인 하세요");
|
||||
tbSid.Focus();
|
||||
@@ -87,9 +85,12 @@ namespace FCM0000.Item
|
||||
|
||||
if (ta.ExistSID(FCOMMON.info.Login.gcode, tbSid.Text) > 0)
|
||||
{
|
||||
Util.MsgE("동일한 SID정보가 있습니다\n화면을 닫은 후 SID로 검색하세요");
|
||||
this.Close();
|
||||
return;
|
||||
var dlg = Util.MsgQ("동일한 SID정보가 있습니다\n강제입력을 진행할까요?\n입력값을 다시 확인하세요.\n품목정보에서 해당 SID정보를 검색해보세요");
|
||||
if(dlg != DialogResult.Yes)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user