휴가 승인자 정보 추적
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class fInputSC : Form
|
||||
public partial class fInputSC : fBase
|
||||
{
|
||||
public fInputSC()
|
||||
{
|
||||
@@ -18,5 +19,10 @@ namespace FEQ0000.Purchase
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
|
||||
}
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -11,7 +12,7 @@ using YARTE.UI.Buttons;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class fMailForm : Form
|
||||
public partial class fMailForm : fBase
|
||||
{
|
||||
string Cate = string.Empty;
|
||||
public fMailForm(string cate)
|
||||
@@ -37,6 +38,7 @@ namespace FEQ0000.Purchase
|
||||
|
||||
private void fMailForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
if (Cate.isEmpty() == false)
|
||||
{
|
||||
var db = new DataClasses1DataContext();
|
||||
|
||||
@@ -158,9 +158,9 @@
|
||||
this.btViewDel = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
@@ -937,6 +937,30 @@
|
||||
this.fpSpread1.ClipboardPasted += new FarPoint.Win.Spread.ClipboardPastedEventHandler(this.fpSpread1_ClipboardPasted);
|
||||
this.fpSpread1.CellClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellClick);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 639);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label1.Size = new System.Drawing.Size(1334, 23);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "--";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label2.Location = new System.Drawing.Point(0, 616);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label2.Size = new System.Drawing.Size(1334, 23);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
@@ -1026,6 +1050,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Tag = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||
@@ -1300,30 +1325,6 @@
|
||||
this.fpSpread1_Sheet1.ShowRowSelector = true;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 639);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label1.Size = new System.Drawing.Size(1334, 23);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "--";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label2.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label2.Location = new System.Drawing.Point(0, 616);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label2.Size = new System.Drawing.Size(1334, 23);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// fPurchaseNR
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1438,7 +1439,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 상태일괄변경ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 사용자내보내기ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton8;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 메일전송ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 현재목록ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 선택목록ToolStripMenuItem;
|
||||
@@ -1447,5 +1447,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 선택목록입고양식ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem5;
|
||||
private System.Windows.Forms.ToolStripMenuItem btMakeItemsData;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ using System.Data.SqlClient;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchaseNR : FCOMMON.fBase
|
||||
public partial class fPurchaseNR : fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
|
||||
@@ -112,6 +112,7 @@ namespace FEQ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.cmDate.SelectedIndex = 0;
|
||||
this.tbRequest.Text = string.Empty; //양진원 FCOMMON.info.Login.nameK;
|
||||
this.cmbSort.SelectedIndex = 0;
|
||||
@@ -315,6 +316,8 @@ namespace FEQ0000
|
||||
var crcfindex = this.fpSpread1.ActiveSheet.Columns["crcf"].Index;
|
||||
var prjindex = this.fpSpread1.ActiveSheet.Columns["projectidx"].Index;
|
||||
var cstsindex = this.fpSpread1.ActiveSheet.Columns["conf_status"].Index;
|
||||
var nameindex = this.fpSpread1.ActiveSheet.Columns["pumname"].Index; // pumname
|
||||
var placeindex = this.fpSpread1.ActiveSheet.Columns["place"].Index; // pumname
|
||||
|
||||
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
{
|
||||
@@ -325,13 +328,17 @@ namespace FEQ0000
|
||||
var value = this.fpSpread1.ActiveSheet.GetValue(i, delindex);
|
||||
var crcf = this.fpSpread1.ActiveSheet.GetValue(i, crcfindex);
|
||||
var v_confstats = this.fpSpread1.ActiveSheet.GetValue(i, cstsindex);
|
||||
var v_pumname = this.fpSpread1.ActiveSheet.GetValue(i, nameindex);
|
||||
var v_place = this.fpSpread1.ActiveSheet.GetValue(i, placeindex);
|
||||
|
||||
|
||||
var str_place = "";
|
||||
var str_pumname = string.Empty;
|
||||
var str_crcf = string.Empty;
|
||||
var str_confstats = string.Empty;
|
||||
if (crcf != null) str_crcf = crcf.ToString();
|
||||
if (v_confstats != null) str_confstats = v_confstats.ToString();
|
||||
|
||||
if (v_pumname != null) str_pumname = v_pumname.ToString();
|
||||
if (v_place != null) str_place = v_place.ToString().ToUpper();
|
||||
|
||||
if (value != null && (Boolean)value)
|
||||
{
|
||||
@@ -360,7 +367,10 @@ namespace FEQ0000
|
||||
break;
|
||||
case "---":
|
||||
case "----":
|
||||
this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Blue;
|
||||
if (str_place.Contains("SPR") || str_pumname.ToUpper().Contains("SPR"))
|
||||
this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Violet;
|
||||
else
|
||||
this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Blue;
|
||||
break;
|
||||
case "received":
|
||||
this.fpSpread1.ActiveSheet.Rows[i].ForeColor = Color.Gray;
|
||||
@@ -1204,7 +1214,7 @@ namespace FEQ0000
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
if(dr.state == "PR" && dr.po.isEmpty()==false)
|
||||
if (dr.state == "PR" && dr.po.isEmpty() == false)
|
||||
{
|
||||
dr.state = "PO";
|
||||
}
|
||||
@@ -1588,7 +1598,7 @@ namespace FEQ0000
|
||||
//if ((cnt) % 10 == 0)
|
||||
{
|
||||
this.Text = $"품목업데이트 수량(I:{cntI}/U:{cntU})";
|
||||
|
||||
|
||||
}
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
System.Threading.Thread.Sleep(500);
|
||||
|
||||
@@ -455,7 +455,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>579, 23</value>
|
||||
<value>582, 23</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>65</value>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchaseNRList : Form
|
||||
public partial class fPurchaseNRList : fBase
|
||||
{
|
||||
public fPurchaseNRList(dsPurchase.PurchaseDataTable dt)
|
||||
{
|
||||
@@ -24,6 +25,7 @@ namespace FEQ0000
|
||||
|
||||
private void fEBoardReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//기본엑셀파일을 가져온다
|
||||
this.Show();
|
||||
this.bs1.Sort = "sc,sid,pumname";
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace FEQ0000
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
//일반사용자의경우에는 상태를 변경하지 못한다.
|
||||
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
|
||||
IsAdmin = curLevel >= 5;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class fPurchaseNR_Ipgo : Form
|
||||
public partial class fPurchaseNR_Ipgo : fBase
|
||||
{
|
||||
int idx = -1;
|
||||
string po = string.Empty;
|
||||
@@ -29,7 +30,7 @@ namespace FEQ0000.Purchase
|
||||
string prestatus = "PO";
|
||||
private void fPurchaseCR_Ipgo_Load(object sender, EventArgs e)
|
||||
{
|
||||
//담당자목록
|
||||
EnsureVisibleAndUsableSize();
|
||||
var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
var dt = ta.GetByIdx(this.idx);
|
||||
if (dt == null || dt.Any() == false)
|
||||
|
||||
@@ -13,7 +13,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchase_Add : Form
|
||||
public partial class fPurchase_Add : fBase
|
||||
{
|
||||
BindingSource bsManu;
|
||||
BindingSource bsModel;
|
||||
@@ -83,6 +83,7 @@ namespace FEQ0000
|
||||
Boolean advInput = false;
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
advInput = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.purchase_adv);
|
||||
tbPumName.ImeMode = ImeMode.Alpha;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchase_AddS : Form
|
||||
public partial class fPurchase_AddS : fBase
|
||||
{
|
||||
BindingSource bsManu;
|
||||
BindingSource bsModel;
|
||||
@@ -47,7 +48,7 @@ namespace FEQ0000
|
||||
//Boolean advInput = false;
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
//상태
|
||||
var stateList = FCOMMON.DBM.getCodeTable("04");
|
||||
this.cmbState.DisplayMember = "Value";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchase_Data : Form
|
||||
public partial class fPurchase_Data : fBase
|
||||
{
|
||||
public fPurchase_Data()
|
||||
{
|
||||
@@ -17,6 +18,11 @@ namespace FEQ0000
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
|
||||
}
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchase_Import : Form
|
||||
public partial class fPurchase_Import : fBase
|
||||
{
|
||||
DataTable dt = new dsPurchase.PurchaseDataTable();
|
||||
DataTable dtExcel = new DataTable();
|
||||
@@ -23,6 +24,7 @@ namespace FEQ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.sd.Value = DateTime.Now.AddMonths(-1);
|
||||
this.ed.Value = DateTime.Now;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +10,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchase_ImportO : Form
|
||||
public partial class fPurchase_ImportO : fBase
|
||||
{
|
||||
DataTable dt = new dsPurchase.PurchaseDataTable();
|
||||
DataTable dtExcel = new DataTable();
|
||||
@@ -23,7 +24,7 @@ namespace FEQ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//this.sd.Value = DateTime.Now.AddMonths(-1);
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.dtPdate.Value = DateTime.Now;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchase_excelimport : Form
|
||||
public partial class fPurchase_excelimport : fBase
|
||||
{
|
||||
BindingSource bsModel;
|
||||
eImporttype crmode;
|
||||
@@ -76,6 +76,7 @@ namespace FEQ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//상태
|
||||
var stateList = FCOMMON.DBM.getCodeTable("04");
|
||||
this.cmbState.DisplayMember = "Value";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class fSIDCheckNR : Form
|
||||
public partial class fSIDCheckNR : fBase
|
||||
{
|
||||
public List<int> chklist = new List<int>();
|
||||
public fSIDCheckNR(List<dsPurchase.PurchaseRow> items)
|
||||
@@ -111,6 +112,7 @@ namespace FEQ0000.Purchase
|
||||
|
||||
private void fSIDCheckNR_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class rPurchaseNR : Form
|
||||
public partial class rPurchaseNR : FCOMMON.fBase
|
||||
{
|
||||
public rPurchaseNR()
|
||||
{
|
||||
@@ -20,6 +20,7 @@ namespace FEQ0000.Purchase
|
||||
|
||||
private void rPurchase_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.dtSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01";
|
||||
this.dtED.Text = DateTime.Now.Year.ToString("0000") + "-12-31";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user