휴가 승인자 정보 추적
This commit is contained in:
1
SubProject/FEQ0000/.vs/FEQ0000.csproj.dtbcache.json
Normal file
1
SubProject/FEQ0000/.vs/FEQ0000.csproj.dtbcache.json
Normal file
File diff suppressed because one or more lines are too long
@@ -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 EQFilterApply : Form
|
||||
public partial class EQFilterApply : fBase
|
||||
{
|
||||
|
||||
//fEquipment.eTabletype divtype;
|
||||
@@ -27,10 +28,10 @@ namespace FEQ0000
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
try
|
||||
{
|
||||
ta.Fill(this.dsEQ.EquipmentFilter, eqfiletertype, FCOMMON.info.Login.gcode);
|
||||
|
||||
@@ -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 EQfilterManager : Form
|
||||
public partial class EQfilterManager : fBase
|
||||
{
|
||||
string divtype = string.Empty;
|
||||
public EQfilterManager(string type_)
|
||||
@@ -28,9 +29,10 @@ namespace FEQ0000
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
}
|
||||
|
||||
|
||||
private void EQfilter_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
try
|
||||
{
|
||||
ta.Fill(this.dsEQ.EquipmentFilter, divtype, FCOMMON.info.Login.gcode);
|
||||
|
||||
@@ -9,10 +9,11 @@ using System.Windows.Forms;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Reflection;
|
||||
using Microsoft.CSharp;
|
||||
using FCOMMON;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fEquipment : Form
|
||||
public partial class fEquipment : fBase
|
||||
{
|
||||
public enum eTabletype
|
||||
{
|
||||
@@ -113,9 +114,10 @@ namespace FEQ0000
|
||||
}
|
||||
if (this.cmbDate.Items.Count > 0) this.cmbDate.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.Text = string.Format("Equipment List({0})", this.dataType);
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name + this.tableName, true);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,11 +10,11 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fImpEquipment : Form
|
||||
public partial class fImpEquipment : fBase
|
||||
{
|
||||
DataTable dt = null;
|
||||
DataTable dtExcel = new DataTable();
|
||||
// fEquipment.eTabletype imptype = fEquipment.eTabletype.MOLD;
|
||||
// fEquipment.eTabletype imptype = fEquipment.eTabletype.MOLD;
|
||||
public fImpEquipment(fEquipment.eTabletype type_)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -23,9 +24,10 @@ namespace FEQ0000
|
||||
this.FormClosed += __Closed;
|
||||
dt = new dsEQ.EETGW_EquipmentDataTable();
|
||||
}
|
||||
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize ();
|
||||
this.Text = string.Format("Data Import({0})", "ALL");
|
||||
var form = this as Form;
|
||||
FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
|
||||
@@ -282,8 +284,8 @@ namespace FEQ0000
|
||||
if (i % 1000 == 0) Application.DoEvents();
|
||||
|
||||
var version = dr[11].ToString();
|
||||
var linecode = dr[12+1].ToString();
|
||||
var linedesc = dr[13+1].ToString();
|
||||
var linecode = dr[12 + 1].ToString();
|
||||
var linedesc = dr[13 + 1].ToString();
|
||||
var lineT = string.Empty;
|
||||
var lineP = string.Empty;
|
||||
var grp2 = string.Empty;
|
||||
@@ -322,7 +324,7 @@ namespace FEQ0000
|
||||
if (lineDrows.Length == 0) //라인코드가 없다.
|
||||
{
|
||||
//var linebuf = linedesc.Split('-');
|
||||
|
||||
|
||||
|
||||
//신규추가한다.
|
||||
var newli = lineTd.NewLineCodeRow();
|
||||
|
||||
@@ -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 rpt_equipmentAll : Form
|
||||
public partial class rpt_equipmentAll : fBase
|
||||
{
|
||||
dsEQ.EETGW_EquipmentDataTable dt;
|
||||
public rpt_equipmentAll(dsEQ.EETGW_EquipmentDataTable dt_,string title)
|
||||
@@ -24,10 +25,10 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void rpt_equipment_Load(object sender, EventArgs e)
|
||||
{
|
||||
//this.Text = string.Format("Data Report({0})", "ALL");
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class fBatchUpdate : Form
|
||||
public partial class fBatchUpdate : fBase
|
||||
{
|
||||
public fBatchUpdate(List<int> _rows)
|
||||
{
|
||||
@@ -22,9 +22,10 @@ namespace FEQ0000.Purchase
|
||||
this.Text = $"일괄변경 : {_rows.Count} 건";
|
||||
this.KeyDown += (s1, e1) => { if (e1.KeyCode == Keys.Escape) this.Close(); };
|
||||
}
|
||||
|
||||
|
||||
private void fBatchUpdate_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
var code_state = DBM.getCodeTable("04");
|
||||
cmbState.DataSource = code_state;
|
||||
cmbState.DisplayMember = "Value";
|
||||
|
||||
@@ -161,8 +161,8 @@
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
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();
|
||||
@@ -276,6 +276,7 @@
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
@@ -402,6 +403,7 @@
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 26);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
@@ -752,6 +754,7 @@
|
||||
// dtSD
|
||||
//
|
||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(75, 37);
|
||||
this.dtSD.Text = "1982-11-23";
|
||||
@@ -768,6 +771,7 @@
|
||||
// dtED
|
||||
//
|
||||
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.dtED.Name = "dtED";
|
||||
this.dtED.Size = new System.Drawing.Size(75, 37);
|
||||
this.dtED.Text = "1982-11-23";
|
||||
@@ -824,6 +828,7 @@
|
||||
// tbRequest
|
||||
//
|
||||
this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbRequest.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbRequest.Name = "tbRequest";
|
||||
this.tbRequest.Size = new System.Drawing.Size(70, 37);
|
||||
this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
@@ -838,6 +843,7 @@
|
||||
// tbManager
|
||||
//
|
||||
this.tbManager.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbManager.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbManager.Name = "tbManager";
|
||||
this.tbManager.Size = new System.Drawing.Size(70, 37);
|
||||
this.tbManager.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
@@ -851,6 +857,7 @@
|
||||
// tbAdmin
|
||||
//
|
||||
this.tbAdmin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbAdmin.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbAdmin.Name = "tbAdmin";
|
||||
this.tbAdmin.Size = new System.Drawing.Size(70, 37);
|
||||
this.tbAdmin.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
@@ -965,7 +972,18 @@
|
||||
this.fpSpread1.TabIndex = 7;
|
||||
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff_1);
|
||||
this.fpSpread1.ClipboardPasted += new FarPoint.Win.Spread.ClipboardPastedEventHandler(this.fpSpread1_ClipboardPasted);
|
||||
this.fpSpread1.SetViewportLeftColumn(0, 0, 8);
|
||||
//
|
||||
// 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, 606);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label2.Size = new System.Drawing.Size(1226, 23);
|
||||
this.label2.TabIndex = 8;
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
@@ -1075,6 +1093,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Tag = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
|
||||
@@ -1314,18 +1333,6 @@
|
||||
this.fpSpread1_Sheet1.ShowRowSelector = true;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// 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, 606);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label2.Size = new System.Drawing.Size(1226, 23);
|
||||
this.label2.TabIndex = 8;
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// fPurchaseCR
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1443,7 +1450,6 @@
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel7;
|
||||
private System.Windows.Forms.ToolStripTextBox tbAdmin;
|
||||
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;
|
||||
@@ -1452,5 +1458,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 선택목록입고양식ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem6;
|
||||
private System.Windows.Forms.ToolStripMenuItem btMakeItemsData;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,6 +104,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;
|
||||
@@ -289,6 +290,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++)
|
||||
{
|
||||
@@ -299,12 +302,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)
|
||||
{
|
||||
@@ -333,7 +341,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;
|
||||
@@ -1511,7 +1522,7 @@ namespace FEQ0000
|
||||
fpSpread1_Sheet1.Cells[r, statecol].Value = "PO";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -12,7 +12,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchaseCR_Add : Form
|
||||
public partial class fPurchaseCR_Add : fBase
|
||||
{
|
||||
BindingSource bsManu;
|
||||
BindingSource bsModel;
|
||||
@@ -51,11 +51,11 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Boolean advInput = false;
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
// TODO: 이 코드는 데이터를 'dsPurchase.Purchase' 테이블에 로드합니다. 필요한 경우 이 코드를 이동하거나 제거할 수 있습니다.
|
||||
EnsureVisibleAndUsableSize();
|
||||
//this.purchaseTableAdapter.Fill(this.dsPurchase.Purchase);
|
||||
// this.Show();
|
||||
// Application.DoEvents();
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace FEQ0000
|
||||
this.dataGridView1.EditMode = DataGridViewEditMode.EditOnKeystroke;
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void FPurchase_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (dsPurchase.HasChanges())
|
||||
@@ -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.purchaseEB));
|
||||
|
||||
@@ -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 fPurchaseCR_Ipgo : Form
|
||||
public partial class fPurchaseCR_Ipgo : fBase
|
||||
{
|
||||
int idx = -1;
|
||||
string po = string.Empty;
|
||||
@@ -25,11 +26,12 @@ namespace FEQ0000.Purchase
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
string prestatus = "PO";
|
||||
private void fPurchaseCR_Ipgo_Load(object sender, EventArgs e)
|
||||
{
|
||||
//담당자목록
|
||||
EnsureVisibleAndUsableSize();
|
||||
var ta = new dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
|
||||
var dt = ta.GetByIdx(this.idx);
|
||||
if (dt == null || dt.Any() == false)
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -30,6 +31,23 @@ namespace FEQ0000.Purchase
|
||||
|
||||
//refreshData();
|
||||
}
|
||||
private void EnsureVisibleAndUsableSize()
|
||||
{
|
||||
var visibleBounds = Screen.GetWorkingArea(this);
|
||||
var isOutOfView = (Left > visibleBounds.Right) || (Top > visibleBounds.Bottom) ||
|
||||
(Right < visibleBounds.Left) || (Bottom < visibleBounds.Top);
|
||||
if (isOutOfView)
|
||||
{
|
||||
CenterToScreen();
|
||||
}
|
||||
var minW = Math.Max(320, this.MinimumSize.Width);
|
||||
var minH = Math.Max(240, this.MinimumSize.Height);
|
||||
|
||||
if (Width < minW || Height < minH)
|
||||
{
|
||||
this.Size = new Size(minW, minH);
|
||||
}
|
||||
}
|
||||
|
||||
private void btSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -106,9 +106,10 @@ namespace FEQ0000
|
||||
e.Row["receive"] = "";// FCOMMON.info.Login.nameK;
|
||||
e.Row["place"] = "전자실";
|
||||
}
|
||||
|
||||
|
||||
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;
|
||||
@@ -1020,275 +1021,6 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
//string MakeDataTableToHTML(string savefilenamexls = "")
|
||||
//{
|
||||
|
||||
// libxl.Book book = null;// = new libxl.BinBook();
|
||||
// libxl.Sheet sheet = null;
|
||||
|
||||
|
||||
// libxl.Format fTitle = null;
|
||||
// libxl.Format fDataStr = null;
|
||||
// libxl.Format fDataNum = null;
|
||||
|
||||
// if (savefilenamexls.isEmpty() == false)
|
||||
// {
|
||||
// book = new libxl.XmlBook();
|
||||
// book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
// sheet = book.addSheet("Data");
|
||||
|
||||
// fTitle = book.addFormat();
|
||||
// fDataStr = book.addFormat();
|
||||
// fDataNum = book.addFormat();
|
||||
|
||||
// fDataStr.alignH = libxl.AlignH.ALIGNH_CENTER;
|
||||
// fDataStr.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
// fDataStr.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
// fDataStr.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
// fDataStr.patternForegroundColor = libxl.Color.COLOR_WHITE;
|
||||
|
||||
// fTitle.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
// fTitle.alignH = libxl.AlignH.ALIGNH_CENTER;
|
||||
// fTitle.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
// fTitle.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
// fTitle.patternForegroundColor = libxl.Color.COLOR_GRAY25;
|
||||
|
||||
// fDataNum.alignH = libxl.AlignH.ALIGNH_GENERAL;
|
||||
// fDataNum.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
// fDataNum.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
// fDataNum.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
// fDataNum.patternForegroundColor = libxl.Color.COLOR_WHITE;
|
||||
|
||||
// }
|
||||
|
||||
// //목록을 본문에 추가한다
|
||||
// System.Text.StringBuilder sb = new StringBuilder();
|
||||
// sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;' colspan='2'><strong>{금액}</strong></td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("</tr>");
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SC</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>자재번호</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>청구자</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품목</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급업체</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>용도</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청부서</td>");
|
||||
// sb.AppendLine("</tr>");
|
||||
// sb.AppendLine("<tbody>");
|
||||
|
||||
// var row = 0;
|
||||
// var col = 0;
|
||||
// if (sheet != null)
|
||||
// {
|
||||
// var basewidth = 15;
|
||||
// sheet.setRow(row, 30);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "S/C", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "자재번호", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "청구자", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 2)); sheet.writeStr(row, col++, "품목", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 3)); sheet.writeStr(row, col++, "규격", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 0.5)); sheet.writeStr(row, col++, "수량", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 0.5)); sheet.writeStr(row, col++, "단가", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "금액", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "공급업체", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "용도", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "요청부서", fTitle);
|
||||
|
||||
// }
|
||||
|
||||
|
||||
|
||||
// var col_신청일 = fpSpread1_Sheet1.Columns["pdate"].Index;
|
||||
// var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index;
|
||||
// var col_CRLF = fpSpread1_Sheet1.Columns["crcf"].Index;
|
||||
|
||||
// var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index;
|
||||
// var col_SID = fpSpread1_Sheet1.Columns["sid"].Index;
|
||||
// var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index;
|
||||
// var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index;
|
||||
// var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index;
|
||||
// var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index;
|
||||
// var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index;
|
||||
// var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index;
|
||||
// var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index;
|
||||
|
||||
// var col_site = fpSpread1_Sheet1.Columns["site"].Index;
|
||||
// var col_분류 = fpSpread1_Sheet1.Columns["분류"].Index;
|
||||
// var col_sc = fpSpread1_Sheet1.Columns["sc"].Index;
|
||||
|
||||
// int totalamt = 0;
|
||||
// row = 1;
|
||||
// col = 0;
|
||||
// for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++)
|
||||
// {
|
||||
// var v신청일 = fpSpread1_Sheet1.Cells[i, col_신청일].Value;
|
||||
// var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value;
|
||||
// var vCRCF = fpSpread1_Sheet1.Cells[i, col_CRLF].Value;
|
||||
|
||||
// var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value;
|
||||
// var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value;
|
||||
// var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value;
|
||||
// var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value;
|
||||
// var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value;
|
||||
// var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value;
|
||||
// var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value;
|
||||
// var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value;
|
||||
// var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value;
|
||||
|
||||
// var vSITE = fpSpread1_Sheet1.Cells[i, col_site].Value;
|
||||
// var v분류 = fpSpread1_Sheet1.Cells[i, col_분류].Value;
|
||||
// var vsc = fpSpread1_Sheet1.Cells[i, col_sc].Value;
|
||||
|
||||
// var s신청일 = String.Empty;
|
||||
// var s요청 = String.Empty;
|
||||
// var sCRCF = String.Empty;
|
||||
// var s수령 = String.Empty;
|
||||
// var sSID = String.Empty;
|
||||
// var s품명 = String.Empty;
|
||||
// var s규격 = String.Empty;
|
||||
// var s수량 = "0";
|
||||
// var s단가 = "0";
|
||||
// var s금액 = "0";
|
||||
// var s입고 = String.Empty;
|
||||
// var s공급 = String.Empty;
|
||||
// var s비고 = String.Empty;
|
||||
// var sSTIE = string.Empty;
|
||||
// var s분류 = string.Empty;
|
||||
// var sSC = string.Empty;
|
||||
|
||||
// if (v신청일 != null) s신청일 = v신청일.ToString();
|
||||
// if (v요청 != null) s요청 = v요청.ToString();
|
||||
// if (vCRCF != null) sCRCF = vCRCF.ToString();
|
||||
// if (v수령 != null) s수령 = v수령.ToString();
|
||||
// if (vSID != null) sSID = vSID.ToString();
|
||||
// if (v품명 != null) s품명 = v품명.ToString();
|
||||
// if (v규격 != null) s규격 = v규격.ToString();
|
||||
// if (v수량 != null) s수량 = v수량.ToString();
|
||||
// if (v단가 != null) s단가 = v단가.ToString();
|
||||
// if (v금액 != null) s금액 = v금액.ToString();
|
||||
// if (v공급 != null) s공급 = v공급.ToString();
|
||||
// if (vSITE != null) sSTIE = vSITE.ToString();
|
||||
// if (v분류 != null) s분류 = v분류.ToString();
|
||||
// if (vsc != null) sSC = vsc.ToString();
|
||||
|
||||
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SC</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>자재번호</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>청구자</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품목</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급업체</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청부서</td>");
|
||||
|
||||
|
||||
// var qty = int.Parse(s수량);
|
||||
// var price = int.Parse(s단가);
|
||||
// var amt = int.Parse(s금액);
|
||||
// totalamt += amt;
|
||||
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(sSC) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
// sb.AppendLine("<td style='text-align:center'>" + qty.ToString("N0") + "</td>");
|
||||
// sb.AppendLine("<td style='text-align:right'>" + price.ToString("N0") + "</td>");
|
||||
// sb.AppendLine("<td style='text-align:right'>" + amt.ToString("N0") + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
// sb.AppendLine("<td>" + s비고 + "</td>");
|
||||
// sb.AppendLine("<td>전자실</td>");
|
||||
|
||||
// if (sheet != null)
|
||||
// {
|
||||
// col = 0;
|
||||
// sheet.setRow(row, 23);
|
||||
// sheet.writeStr(row, col++, sSC, fDataStr);
|
||||
// sheet.writeStr(row, col++, sSID, fDataStr);
|
||||
// sheet.writeStr(row, col++, s요청, fDataStr);
|
||||
// sheet.writeStr(row, col++, s품명, fDataStr);
|
||||
// sheet.writeStr(row, col++, s규격, fDataStr);
|
||||
// sheet.writeNum(row, col++, qty, fDataNum);
|
||||
// sheet.writeNum(row, col++, price, fDataNum);
|
||||
// sheet.writeNum(row, col++, amt, fDataNum);
|
||||
// sheet.writeStr(row, col++, s공급, fDataStr);
|
||||
// sheet.writeStr(row, col++, s비고, fDataStr);
|
||||
// sheet.writeStr(row, col++, "전자실", fDataStr);
|
||||
// row += 1;
|
||||
// }
|
||||
|
||||
// ////sb.AppendLine("<td>" + getmaxstr(sSTIE) + "</td>");
|
||||
// //''sb.AppendLine("<td>" + getmaxstr(s분류) + "</td>");
|
||||
// //sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
|
||||
// //sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
|
||||
|
||||
|
||||
// sb.AppendLine("</tr>");
|
||||
// }
|
||||
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;' colspan='3'><strong>{금액}</strong></td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("</tr>");
|
||||
|
||||
// sb.AppendLine("</tbody>");
|
||||
// sb.AppendLine("</table>");
|
||||
|
||||
|
||||
// if (sheet != null)
|
||||
// {
|
||||
// col = 0;
|
||||
// sheet.setRow(row, 30);
|
||||
// sheet.writeStr(row, col++, "합계", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeNum(row, col++, totalamt, fTitle);
|
||||
// sheet.setMerge(row, row, col - 1, col + 2);
|
||||
// row += 1;
|
||||
// }
|
||||
|
||||
|
||||
// if (book != null)
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// book.save(savefilenamexls);
|
||||
// }
|
||||
// catch { }
|
||||
// }
|
||||
// return sb.ToString().Replace("{금액}", totalamt.ToString("N0"));
|
||||
//}
|
||||
|
||||
|
||||
|
||||
private void toolStripButton3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -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 fPurchaseEBList : Form
|
||||
public partial class fPurchaseEBList : fBase
|
||||
{
|
||||
public fPurchaseEBList(dsPurchase.EETGW_PurchaseEBDataTable dt)
|
||||
{
|
||||
@@ -24,7 +25,7 @@ namespace FEQ0000
|
||||
|
||||
private void fEBoardReport_Load(object sender, EventArgs e)
|
||||
{
|
||||
//기본엑셀파일을 가져온다
|
||||
EnsureVisibleAndUsableSize();
|
||||
this.Show();
|
||||
this.bs1.Sort = "sc,sid,pumname";
|
||||
this.bs1.Filter = "sc <> ''";
|
||||
|
||||
@@ -13,7 +13,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fPurchaseEB_Add : Form
|
||||
public partial class fPurchaseEB_Add : fBase
|
||||
{
|
||||
BindingSource bsManu;
|
||||
BindingSource bsModel;
|
||||
@@ -89,7 +89,7 @@ namespace FEQ0000
|
||||
//Boolean advInput = false;
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
//advInput = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.purchase_adv);
|
||||
EnsureVisibleAndUsableSize();
|
||||
tbPumName.ImeMode = ImeMode.Alpha;
|
||||
|
||||
//상태
|
||||
|
||||
@@ -83,7 +83,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.purchaseEB));
|
||||
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 fPurchaseEB_Ipgo : Form
|
||||
public partial class fPurchaseEB_Ipgo : fBase
|
||||
{
|
||||
int idx = -1;
|
||||
string po = string.Empty;
|
||||
@@ -28,7 +29,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)
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using System;
|
||||
using FarPoint.Win.Spread.CellType;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -9,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
public partial class rPurchaseEB : Form
|
||||
public partial class rPurchaseEB : fBase
|
||||
{
|
||||
public rPurchaseEB()
|
||||
{
|
||||
@@ -20,6 +22,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";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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 fColumnFilter : Form
|
||||
public partial class fColumnFilter : fBase
|
||||
{
|
||||
public fColumnFilter(string col)
|
||||
{
|
||||
@@ -20,6 +21,7 @@ namespace FEQ0000
|
||||
|
||||
private void fColumnFilter_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
comboBox1.SelectedIndex = 0;
|
||||
this.Show();
|
||||
textBox1.ImeMode = ImeMode.Hangul;
|
||||
|
||||
@@ -12,10 +12,11 @@ using NetOffice;
|
||||
using Outlook = NetOffice.OutlookApi;
|
||||
using NetOffice.OutlookApi.Enums;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using FCOMMON;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fItemin : Form
|
||||
public partial class fItemin : fBase
|
||||
{
|
||||
public fItemin()
|
||||
{
|
||||
@@ -186,7 +187,7 @@ namespace FEQ0000
|
||||
|
||||
private void fItemin_Load(object sender, EventArgs e)
|
||||
{
|
||||
//구매담당자목록
|
||||
EnsureVisibleAndUsableSize();
|
||||
using (var tauser = new dsPurchaseTableAdapters.Purchase_ManagerlistTableAdapter())
|
||||
{
|
||||
var lst_man = tauser.GetByManager(FCOMMON.info.Login.gcode);
|
||||
|
||||
@@ -93,7 +93,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;
|
||||
|
||||
@@ -25,7 +25,7 @@ using FarPoint.Excel;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public partial class fUserExportColumn : Form
|
||||
public partial class fUserExportColumn : fBase
|
||||
{
|
||||
string presavefn = "";
|
||||
//this.Name, cols,this.dsPurchase.Purchase,this.bs.Filter
|
||||
@@ -129,6 +129,7 @@ namespace FEQ0000
|
||||
|
||||
private void fUserExportColumn_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
button3.PerformClick();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user