..
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
@@ -146,6 +147,10 @@
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbManager = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbAdmin = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
@@ -258,7 +263,6 @@
|
||||
//
|
||||
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";
|
||||
@@ -376,7 +380,6 @@
|
||||
// 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);
|
||||
@@ -644,6 +647,10 @@
|
||||
this.toolStripSeparator3,
|
||||
this.toolStripLabel3,
|
||||
this.tbRequest,
|
||||
this.toolStripLabel6,
|
||||
this.tbManager,
|
||||
this.toolStripLabel7,
|
||||
this.tbAdmin,
|
||||
this.toolStripSeparator4,
|
||||
this.btSearch,
|
||||
this.toolStripSeparator5,
|
||||
@@ -670,9 +677,8 @@
|
||||
// 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(90, 37);
|
||||
this.dtSD.Size = new System.Drawing.Size(75, 37);
|
||||
this.dtSD.Text = "1982-11-23";
|
||||
this.dtSD.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.dtSD.DoubleClick += new System.EventHandler(this.dtSD_DoubleClick);
|
||||
@@ -687,9 +693,8 @@
|
||||
// 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(90, 37);
|
||||
this.dtED.Size = new System.Drawing.Size(75, 37);
|
||||
this.dtED.Text = "1982-11-23";
|
||||
this.dtED.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.dtED.DoubleClick += new System.EventHandler(this.dtSD_DoubleClick);
|
||||
@@ -744,7 +749,6 @@
|
||||
// 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;
|
||||
@@ -858,7 +862,7 @@
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1226, 569);
|
||||
this.fpSpread1.StatusBarVisible = true;
|
||||
this.fpSpread1.TabIndex = 7;
|
||||
this.fpSpread1.SetViewportLeftColumn(0, 0, 5);
|
||||
this.fpSpread1.SetViewportLeftColumn(0, 0, 7);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
@@ -872,13 +876,39 @@
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// toolStripLabel6
|
||||
//
|
||||
this.toolStripLabel6.Name = "toolStripLabel6";
|
||||
this.toolStripLabel6.Size = new System.Drawing.Size(55, 34);
|
||||
this.toolStripLabel6.Text = "구매담당";
|
||||
//
|
||||
// tbManager
|
||||
//
|
||||
this.tbManager.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbManager.Name = "tbManager";
|
||||
this.tbManager.Size = new System.Drawing.Size(70, 37);
|
||||
this.tbManager.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// toolStripLabel7
|
||||
//
|
||||
this.toolStripLabel7.Name = "toolStripLabel7";
|
||||
this.toolStripLabel7.Size = new System.Drawing.Size(55, 34);
|
||||
this.toolStripLabel7.Text = "구매승인";
|
||||
//
|
||||
// tbAdmin
|
||||
//
|
||||
this.tbAdmin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbAdmin.Name = "tbAdmin";
|
||||
this.tbAdmin.Size = new System.Drawing.Size(70, 37);
|
||||
this.tbAdmin.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 34;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 36;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.RowCount = 2;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
@@ -929,9 +959,13 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 31).Value = "비고\r\n(담당자)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "삭제됨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 32).Value = "구매담당";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "IDX";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 33).Value = "구매승인";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 34).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 34).Value = "삭제됨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 35).RowSpan = 2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 35).Value = "IDX";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 10).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 11).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 12).Value = "SID#";
|
||||
@@ -1171,13 +1205,21 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "chkremark";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).CellType = checkBoxCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).Tag = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).CellType = numberCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).Tag = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType22;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "purchase_manager";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType22;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).DataField = "purchase_admin";
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).CellType = checkBoxCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Tag = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).CellType = numberCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).Tag = "idx";
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
@@ -1298,6 +1340,10 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 선택해제ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton6;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel6;
|
||||
private System.Windows.Forms.ToolStripTextBox tbManager;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel7;
|
||||
private System.Windows.Forms.ToolStripTextBox tbAdmin;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ using NetOffice;
|
||||
using Outlook = NetOffice.OutlookApi;
|
||||
using NetOffice.OutlookApi.Enums;
|
||||
using FEQ0000.Purchase;
|
||||
using FCOMMON;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
@@ -209,6 +210,14 @@ namespace FEQ0000
|
||||
cmd.CommandText += " and (isnull(dbo.getusername(request),'') like @req or isnull(dbo.getusername(receive),'') like @req)";
|
||||
}
|
||||
|
||||
if (tbManager.Text.isEmpty() == false)
|
||||
{
|
||||
cmd.CommandText += $" and purchase_manager like '%{tbManager.Text.Replace("'", "''")}%'";
|
||||
}
|
||||
if (tbAdmin.Text.isEmpty() == false)
|
||||
{
|
||||
cmd.CommandText += $" and purchase_admin like '%{tbAdmin.Text.Replace("'", "''")}%'";
|
||||
}
|
||||
|
||||
if (cmbState.SelectedIndex != 0)
|
||||
{
|
||||
@@ -456,7 +465,15 @@ namespace FEQ0000
|
||||
else
|
||||
newdr.request = FCOMMON.info.Login.no;
|
||||
|
||||
repeat:
|
||||
|
||||
|
||||
var t1 = DBM.getCodeByCode("65", "01");
|
||||
var t2 = DBM.getCodeByCode("66", "01");
|
||||
newdr.purchase_manager = t1.title;
|
||||
newdr.purchase_admin = t2.title;
|
||||
|
||||
|
||||
repeat:
|
||||
|
||||
bool repeat = false;
|
||||
DialogResult dlg;
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
vQAADr0BR/uQrQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
@@ -147,7 +147,7 @@
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
vQAADr0BR/uQrQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
@@ -156,7 +156,7 @@
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
vQAADr0BR/uQrQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
@@ -165,7 +165,7 @@
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
vQAADr0BR/uQrQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
@@ -176,7 +176,7 @@
|
||||
<data name="btAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
vQAADr0BR/uQrQAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
@@ -211,7 +211,7 @@
|
||||
<data name="btDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vgAADr4B6kKxwAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
vQAADr0BR/uQrQAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
System.Windows.Forms.Label label11;
|
||||
System.Windows.Forms.Label label12;
|
||||
System.Windows.Forms.Label label13;
|
||||
System.Windows.Forms.Label label14;
|
||||
System.Windows.Forms.Label label15;
|
||||
this.tbSC = new System.Windows.Forms.TextBox();
|
||||
this.tbSID = new System.Windows.Forms.TextBox();
|
||||
this.tbPumName = new System.Windows.Forms.TextBox();
|
||||
@@ -100,6 +102,8 @@
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
this.tbAdmin = new System.Windows.Forms.TextBox();
|
||||
this.tbManager = new System.Windows.Forms.TextBox();
|
||||
receiveLabel = new System.Windows.Forms.Label();
|
||||
scLabel = new System.Windows.Forms.Label();
|
||||
sidLabel = new System.Windows.Forms.Label();
|
||||
@@ -122,6 +126,8 @@
|
||||
label11 = new System.Windows.Forms.Label();
|
||||
label12 = new System.Windows.Forms.Label();
|
||||
label13 = new System.Windows.Forms.Label();
|
||||
label14 = new System.Windows.Forms.Label();
|
||||
label15 = new System.Windows.Forms.Label();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
@@ -131,7 +137,7 @@
|
||||
// receiveLabel
|
||||
//
|
||||
receiveLabel.AutoSize = true;
|
||||
receiveLabel.Location = new System.Drawing.Point(44, 159);
|
||||
receiveLabel.Location = new System.Drawing.Point(47, 159);
|
||||
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
receiveLabel.Name = "receiveLabel";
|
||||
receiveLabel.Size = new System.Drawing.Size(54, 20);
|
||||
@@ -141,7 +147,7 @@
|
||||
// scLabel
|
||||
//
|
||||
scLabel.AutoSize = true;
|
||||
scLabel.Location = new System.Drawing.Point(69, 65);
|
||||
scLabel.Location = new System.Drawing.Point(72, 65);
|
||||
scLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
scLabel.Name = "scLabel";
|
||||
scLabel.Size = new System.Drawing.Size(27, 20);
|
||||
@@ -201,7 +207,7 @@
|
||||
// poLabel
|
||||
//
|
||||
poLabel.AutoSize = true;
|
||||
poLabel.Location = new System.Drawing.Point(66, 95);
|
||||
poLabel.Location = new System.Drawing.Point(69, 95);
|
||||
poLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
poLabel.Name = "poLabel";
|
||||
poLabel.Size = new System.Drawing.Size(30, 20);
|
||||
@@ -232,7 +238,7 @@
|
||||
// label5
|
||||
//
|
||||
label5.AutoSize = true;
|
||||
label5.Location = new System.Drawing.Point(36, 126);
|
||||
label5.Location = new System.Drawing.Point(39, 126);
|
||||
label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label5.Name = "label5";
|
||||
label5.Size = new System.Drawing.Size(59, 20);
|
||||
@@ -295,7 +301,7 @@
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(29, 230);
|
||||
label2.Location = new System.Drawing.Point(32, 230);
|
||||
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(69, 20);
|
||||
@@ -305,7 +311,7 @@
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new System.Drawing.Point(19, 265);
|
||||
label4.Location = new System.Drawing.Point(22, 265);
|
||||
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new System.Drawing.Size(79, 20);
|
||||
@@ -315,22 +321,22 @@
|
||||
// label7
|
||||
//
|
||||
label7.AutoSize = true;
|
||||
label7.Location = new System.Drawing.Point(9, 398);
|
||||
label7.Location = new System.Drawing.Point(16, 398);
|
||||
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label7.Name = "label7";
|
||||
label7.Size = new System.Drawing.Size(78, 20);
|
||||
label7.Size = new System.Drawing.Size(73, 20);
|
||||
label7.TabIndex = 35;
|
||||
label7.Text = "Line Code";
|
||||
label7.Text = "LineCode";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
label11.AutoSize = true;
|
||||
label11.Location = new System.Drawing.Point(-2, 370);
|
||||
label11.Location = new System.Drawing.Point(5, 370);
|
||||
label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label11.Name = "label11";
|
||||
label11.Size = new System.Drawing.Size(89, 20);
|
||||
label11.Size = new System.Drawing.Size(84, 20);
|
||||
label11.TabIndex = 33;
|
||||
label11.Text = "Cost Center";
|
||||
label11.Text = "CostCenter";
|
||||
//
|
||||
// label12
|
||||
//
|
||||
@@ -513,7 +519,7 @@
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btSave.Location = new System.Drawing.Point(512, 434);
|
||||
this.btSave.Location = new System.Drawing.Point(512, 463);
|
||||
this.btSave.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(410, 121);
|
||||
@@ -583,7 +589,7 @@
|
||||
// chkInDate
|
||||
//
|
||||
this.chkInDate.AutoSize = true;
|
||||
this.chkInDate.Location = new System.Drawing.Point(25, 193);
|
||||
this.chkInDate.Location = new System.Drawing.Point(28, 193);
|
||||
this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.chkInDate.Name = "chkInDate";
|
||||
this.chkInDate.Size = new System.Drawing.Size(73, 24);
|
||||
@@ -605,7 +611,7 @@
|
||||
// chkExp
|
||||
//
|
||||
this.chkExp.AutoSize = true;
|
||||
this.chkExp.Location = new System.Drawing.Point(24, 30);
|
||||
this.chkExp.Location = new System.Drawing.Point(27, 30);
|
||||
this.chkExp.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.chkExp.Name = "chkExp";
|
||||
this.chkExp.Size = new System.Drawing.Size(73, 24);
|
||||
@@ -767,8 +773,12 @@
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.BackColor = System.Drawing.Color.Gainsboro;
|
||||
this.groupBox2.Controls.Add(this.tbAdmin);
|
||||
this.groupBox2.Controls.Add(this.button7);
|
||||
this.groupBox2.Controls.Add(label14);
|
||||
this.groupBox2.Controls.Add(this.tbInRemar);
|
||||
this.groupBox2.Controls.Add(this.tbManager);
|
||||
this.groupBox2.Controls.Add(label15);
|
||||
this.groupBox2.Controls.Add(label4);
|
||||
this.groupBox2.Controls.Add(this.tbInQty);
|
||||
this.groupBox2.Controls.Add(label2);
|
||||
@@ -788,7 +798,7 @@
|
||||
this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox2.Size = new System.Drawing.Size(409, 420);
|
||||
this.groupBox2.Size = new System.Drawing.Size(409, 448);
|
||||
this.groupBox2.TabIndex = 7;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "추가정보";
|
||||
@@ -796,7 +806,7 @@
|
||||
// button7
|
||||
//
|
||||
this.button7.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.button7.Location = new System.Drawing.Point(4, 381);
|
||||
this.button7.Location = new System.Drawing.Point(4, 409);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(401, 35);
|
||||
this.button7.TabIndex = 16;
|
||||
@@ -885,6 +895,42 @@
|
||||
//
|
||||
this.purchaseTableAdapter.ClearBeforeFill = true;
|
||||
//
|
||||
// tbAdmin
|
||||
//
|
||||
this.tbAdmin.Location = new System.Drawing.Point(104, 364);
|
||||
this.tbAdmin.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbAdmin.Name = "tbAdmin";
|
||||
this.tbAdmin.Size = new System.Drawing.Size(286, 27);
|
||||
this.tbAdmin.TabIndex = 41;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
label14.AutoSize = true;
|
||||
label14.Location = new System.Drawing.Point(2, 367);
|
||||
label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label14.Name = "label14";
|
||||
label14.Size = new System.Drawing.Size(99, 20);
|
||||
label14.TabIndex = 40;
|
||||
label14.Text = "구매승인자명";
|
||||
//
|
||||
// tbManager
|
||||
//
|
||||
this.tbManager.Location = new System.Drawing.Point(104, 335);
|
||||
this.tbManager.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbManager.Name = "tbManager";
|
||||
this.tbManager.Size = new System.Drawing.Size(286, 27);
|
||||
this.tbManager.TabIndex = 39;
|
||||
//
|
||||
// label15
|
||||
//
|
||||
label15.AutoSize = true;
|
||||
label15.Location = new System.Drawing.Point(2, 339);
|
||||
label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label15.Name = "label15";
|
||||
label15.Size = new System.Drawing.Size(99, 20);
|
||||
label15.TabIndex = 38;
|
||||
label15.Text = "구매담당자명";
|
||||
//
|
||||
// fPurchaseCR_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
@@ -970,5 +1016,7 @@
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.TextBox tbBigoChk;
|
||||
private System.Windows.Forms.TextBox tbQtyReal;
|
||||
private System.Windows.Forms.TextBox tbAdmin;
|
||||
private System.Windows.Forms.TextBox tbManager;
|
||||
}
|
||||
}
|
||||
@@ -131,7 +131,7 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
///입력된 데이터를 적용한다.
|
||||
dtPdate.Value = DateTime.Parse(dr.pdate);
|
||||
//dtPdate.Value = DateTime.Parse(dr.pdate);
|
||||
if (cmbRequest.Items.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < cmbRequest.Items.Count; i++)
|
||||
@@ -221,7 +221,8 @@ namespace FEQ0000
|
||||
tbLineCode.Text = dr.linecode;
|
||||
else tbLineCode.Text = string.Empty;
|
||||
|
||||
|
||||
tbManager.Text = dr.purchase_manager;
|
||||
tbAdmin.Text = dr.purchase_admin;
|
||||
|
||||
//if (dr.process == "") cbProcess.SelectedIndex = -1;
|
||||
//else cbProcess.Text = dr.process;
|
||||
@@ -700,15 +701,15 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
if (dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Added)
|
||||
{
|
||||
if (dr.sc != tbSC.Text.Trim() && tbSC.Text != "")
|
||||
{
|
||||
dtPdate.Value = DateTime.Now;
|
||||
this.cmbState.SelectedValue = "Approving";
|
||||
//if (dr.state == "00") dr.state = "01"; //approv 변경
|
||||
}
|
||||
}
|
||||
//if (dr.RowState != DataRowState.Detached && dr.RowState != DataRowState.Added)
|
||||
//{
|
||||
// if (dr.sc != tbSC.Text.Trim() && tbSC.Text != "")
|
||||
// {
|
||||
// //dtPdate.Value = DateTime.Now;
|
||||
// this.cmbState.SelectedValue = "Approving";
|
||||
// //if (dr.state == "00") dr.state = "01"; //approv 변경
|
||||
// }
|
||||
//}
|
||||
|
||||
//품목정보에 없는 데이터이므로 자료를 추가한다.
|
||||
if (tbPumIDX.Text == "-1")
|
||||
@@ -816,6 +817,9 @@ namespace FEQ0000
|
||||
dr.costcenter = tbCostCenter.Text;
|
||||
dr.linecode = tbLineCode.Text;
|
||||
|
||||
dr.purchase_manager = tbManager.Text;
|
||||
dr.purchase_admin = tbAdmin.Text;
|
||||
|
||||
if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull();
|
||||
else dr.supplyidx = int.Parse(tbSupplyIndex.Text);
|
||||
|
||||
|
||||
@@ -207,6 +207,12 @@
|
||||
* 개인 정비 공구 / 상세한 사유 작성 (개인이 보관하여 사용하는 공구류, WRench, Driver, Drill, Tab 등)
|
||||
* 기타 물품 / 상세한 사유 작성 (상기 항목에 포함되지 않는다고 판단되는 것들 .. SPR 파트정리용, Feeder 파트 정리 등)</value>
|
||||
</data>
|
||||
<metadata name="label14.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<data name="tbBigoChk.ToolTip" xml:space="preserve">
|
||||
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
|
||||
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
|
||||
@@ -226,6 +232,12 @@
|
||||
<metadata name="purchaseTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>313, 17</value>
|
||||
</metadata>
|
||||
<metadata name="label14.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>58</value>
|
||||
</metadata>
|
||||
|
||||
Reference in New Issue
Block a user