diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.Designer.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.Designer.cs
index e1817de..ef0ad5a 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.Designer.cs
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.Designer.cs
@@ -30,11 +30,11 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseCR_ConfRequest));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
this.dsPurchase = new FEQ0000.dsPurchase();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
@@ -78,6 +78,8 @@
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
+ this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -100,8 +102,10 @@
// tam
//
this.tam.BackupDataSetBeforeUpdate = true;
+ this.tam.Connection = null;
this.tam.EETGW_PurchaseCRTableAdapter = null;
this.tam.EETGW_PurchaseEBTableAdapter = null;
+ this.tam.PurchaseTableAdapter = null;
this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// bn
@@ -130,7 +134,9 @@
this.toolStripLabel5,
this.toolStripLabel2,
this.tbFind,
- this.btFind});
+ this.btFind,
+ this.toolStripSeparator2,
+ this.toolStripButton2});
this.bn.Location = new System.Drawing.Point(0, 589);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -176,7 +182,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";
@@ -268,7 +273,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, 31);
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
@@ -313,14 +317,14 @@
this.bigo2DataGridViewTextBoxColumn,
this.bigoDataGridViewTextBoxColumn});
this.dataGridView1.DataSource = this.bs;
- dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle5;
+ dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle10;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 25);
this.dataGridView1.Name = "dataGridView1";
@@ -353,8 +357,8 @@
// pumnameDataGridViewTextBoxColumn
//
this.pumnameDataGridViewTextBoxColumn.DataPropertyName = "pumname";
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
this.pumnameDataGridViewTextBoxColumn.HeaderText = "품명";
this.pumnameDataGridViewTextBoxColumn.Name = "pumnameDataGridViewTextBoxColumn";
this.pumnameDataGridViewTextBoxColumn.ReadOnly = true;
@@ -362,8 +366,8 @@
// pumscaleDataGridViewTextBoxColumn
//
this.pumscaleDataGridViewTextBoxColumn.DataPropertyName = "pumscale";
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle7;
this.pumscaleDataGridViewTextBoxColumn.HeaderText = "모델/규격";
this.pumscaleDataGridViewTextBoxColumn.Name = "pumscaleDataGridViewTextBoxColumn";
this.pumscaleDataGridViewTextBoxColumn.ReadOnly = true;
@@ -406,8 +410,8 @@
// supplyDataGridViewTextBoxColumn
//
this.supplyDataGridViewTextBoxColumn.DataPropertyName = "supply";
- dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8;
this.supplyDataGridViewTextBoxColumn.HeaderText = "공급";
this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
this.supplyDataGridViewTextBoxColumn.ReadOnly = true;
@@ -422,8 +426,8 @@
// bigoDataGridViewTextBoxColumn
//
this.bigoDataGridViewTextBoxColumn.DataPropertyName = "bigo";
- dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle9;
this.bigoDataGridViewTextBoxColumn.HeaderText = "비고(구매요청)";
this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn";
this.bigoDataGridViewTextBoxColumn.ReadOnly = true;
@@ -492,6 +496,20 @@
//
this.ta.ClearBeforeFill = true;
//
+ // toolStripSeparator2
+ //
+ this.toolStripSeparator2.Name = "toolStripSeparator2";
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
+ //
+ // toolStripButton2
+ //
+ this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(163, 28);
+ this.toolStripButton2.Text = "구매수량 일괄 업데이트";
+ this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
+ //
// fPurchaseCR_ConfRequest
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -562,5 +580,7 @@
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter ta;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
+ private System.Windows.Forms.ToolStripButton toolStripButton2;
}
}
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.cs
index 63a1bc5..6852901 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.cs
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.cs
@@ -360,6 +360,30 @@ namespace FEQ0000
private void toolStripButton8_Click(object sender, EventArgs e)
{
+ this.Validate();
+ this.bs.EndEdit();
+
+ //데이터를 검색한다.
+ foreach (DataGridViewRow row in this.dataGridView1.Rows)
+ {
+ var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseCRRow;
+ var qtyreq = 0;
+ var qty = 0;
+ if (dr.IspumqtyReqNull() == false) qtyreq = dr.pumqtyReq;
+ if (dr.IspumqtyNull() == false) qty = dr.pumqty;
+ if (qty < 1)
+ {
+ Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 없습니다");
+ break;
+ }
+ //if(qty > qtyreq)
+ //{
+ // Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 요청 수량보다 많습니다");
+ // break;
+ //}
+ }
+
+
//승인요청
var dlg = FCOMMON.Util.MsgQ("현재 자료를 승인 요청 할까요?");
if (dlg != DialogResult.Yes) return;
@@ -479,5 +503,24 @@ namespace FEQ0000
}
this.dataGridView1.Refresh();
}
+
+ private void toolStripButton2_Click_1(object sender, EventArgs e)
+ {
+ this.Validate();
+ this.bs.EndEdit();
+ foreach (DataGridViewRow row in this.dataGridView1.Rows)
+ {
+ var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseCRRow;
+ if (dr.IspumqtyNull() == false && dr.pumqty > 0)
+ {
+
+ }
+ else
+ {
+ dr.pumqty = dr.pumqtyReq;
+ dr.EndEdit();
+ }
+ }
+ }
}
}
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.resx b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.resx
index 569db13..fd555c1 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.resx
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_ConfRequest.resx
@@ -220,6 +220,21 @@
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+ 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+ bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+ VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+ c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+ Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+ TgDQASA1MVpwzwAAAABJRU5ErkJggg==
diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
index 12c2dd9..79fafc6 100644
--- a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
+++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
@@ -89,10 +89,6 @@
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
this.btFind = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
- this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
- this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton();
- this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripButton7 = new System.Windows.Forms.ToolStripDropDownButton();
this.메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.현재목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -103,6 +99,10 @@
this.엑셀에서가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.견적서폴더열기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton();
+ this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -406,6 +406,86 @@
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 26);
//
+ // toolStripButton7
+ //
+ this.toolStripButton7.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.메일전송ToolStripMenuItem,
+ this.엑셀에서가져오기ToolStripMenuItem,
+ this.견적서폴더열기ToolStripMenuItem,
+ this.toolStripMenuItem2});
+ this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
+ this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton7.Name = "toolStripButton7";
+ this.toolStripButton7.Size = new System.Drawing.Size(60, 23);
+ this.toolStripButton7.Text = "기능";
+ //
+ // 메일전송ToolStripMenuItem
+ //
+ this.메일전송ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.현재목록ToolStripMenuItem,
+ this.선택목록ToolStripMenuItem,
+ this.toolStripSeparator7,
+ this.현재목록입고양식ToolStripMenuItem,
+ this.선택목록입고양식ToolStripMenuItem});
+ this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image")));
+ this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
+ this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
+ this.메일전송ToolStripMenuItem.Text = "메일 전송";
+ //
+ // 현재목록ToolStripMenuItem
+ //
+ this.현재목록ToolStripMenuItem.Name = "현재목록ToolStripMenuItem";
+ this.현재목록ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
+ this.현재목록ToolStripMenuItem.Text = "현재목록";
+ this.현재목록ToolStripMenuItem.Click += new System.EventHandler(this.현재목록ToolStripMenuItem_Click);
+ //
+ // 선택목록ToolStripMenuItem
+ //
+ this.선택목록ToolStripMenuItem.Name = "선택목록ToolStripMenuItem";
+ this.선택목록ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
+ this.선택목록ToolStripMenuItem.Text = "선택목록";
+ this.선택목록ToolStripMenuItem.Click += new System.EventHandler(this.선택목록ToolStripMenuItem_Click);
+ //
+ // toolStripSeparator7
+ //
+ this.toolStripSeparator7.Name = "toolStripSeparator7";
+ this.toolStripSeparator7.Size = new System.Drawing.Size(175, 6);
+ //
+ // 현재목록입고양식ToolStripMenuItem
+ //
+ this.현재목록입고양식ToolStripMenuItem.Name = "현재목록입고양식ToolStripMenuItem";
+ this.현재목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
+ this.현재목록입고양식ToolStripMenuItem.Text = "현재목록(입고양식)";
+ this.현재목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.현재목록입고양식ToolStripMenuItem_Click);
+ //
+ // 선택목록입고양식ToolStripMenuItem
+ //
+ this.선택목록입고양식ToolStripMenuItem.Name = "선택목록입고양식ToolStripMenuItem";
+ this.선택목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(178, 22);
+ this.선택목록입고양식ToolStripMenuItem.Text = "선택목록(입고양식)";
+ this.선택목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.선택목록입고양식ToolStripMenuItem_Click);
+ //
+ // 엑셀에서가져오기ToolStripMenuItem
+ //
+ this.엑셀에서가져오기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("엑셀에서가져오기ToolStripMenuItem.Image")));
+ this.엑셀에서가져오기ToolStripMenuItem.Name = "엑셀에서가져오기ToolStripMenuItem";
+ this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
+ this.엑셀에서가져오기ToolStripMenuItem.Text = "엑셀에서 가져오기";
+ this.엑셀에서가져오기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서가져오기ToolStripMenuItem_Click);
+ //
+ // 견적서폴더열기ToolStripMenuItem
+ //
+ this.견적서폴더열기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("견적서폴더열기ToolStripMenuItem.Image")));
+ this.견적서폴더열기ToolStripMenuItem.Name = "견적서폴더열기ToolStripMenuItem";
+ this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(174, 22);
+ this.견적서폴더열기ToolStripMenuItem.Text = "견적서 폴더 열기";
+ this.견적서폴더열기ToolStripMenuItem.Click += new System.EventHandler(this.견적서폴더열기ToolStripMenuItem_Click);
+ //
+ // toolStripMenuItem2
+ //
+ this.toolStripMenuItem2.Name = "toolStripMenuItem2";
+ this.toolStripMenuItem2.Size = new System.Drawing.Size(171, 6);
+ //
// toolStripButton6
//
this.toolStripButton6.Enabled = false;
@@ -442,86 +522,6 @@
this.구매승인양식ToolStripMenuItem.Text = "구매승인 양식";
this.구매승인양식ToolStripMenuItem.Click += new System.EventHandler(this.구매승인양식ToolStripMenuItem_Click);
//
- // toolStripButton7
- //
- this.toolStripButton7.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.메일전송ToolStripMenuItem,
- this.엑셀에서가져오기ToolStripMenuItem,
- this.견적서폴더열기ToolStripMenuItem,
- this.toolStripMenuItem2});
- this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
- this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButton7.Name = "toolStripButton7";
- this.toolStripButton7.Size = new System.Drawing.Size(60, 23);
- this.toolStripButton7.Text = "기능";
- //
- // 메일전송ToolStripMenuItem
- //
- this.메일전송ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.현재목록ToolStripMenuItem,
- this.선택목록ToolStripMenuItem,
- this.toolStripSeparator7,
- this.현재목록입고양식ToolStripMenuItem,
- this.선택목록입고양식ToolStripMenuItem});
- this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image")));
- this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
- this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.메일전송ToolStripMenuItem.Text = "메일 전송";
- //
- // 현재목록ToolStripMenuItem
- //
- this.현재목록ToolStripMenuItem.Name = "현재목록ToolStripMenuItem";
- this.현재목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.현재목록ToolStripMenuItem.Text = "현재목록";
- this.현재목록ToolStripMenuItem.Click += new System.EventHandler(this.현재목록ToolStripMenuItem_Click);
- //
- // 선택목록ToolStripMenuItem
- //
- this.선택목록ToolStripMenuItem.Name = "선택목록ToolStripMenuItem";
- this.선택목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.선택목록ToolStripMenuItem.Text = "선택목록";
- this.선택목록ToolStripMenuItem.Click += new System.EventHandler(this.선택목록ToolStripMenuItem_Click);
- //
- // toolStripSeparator7
- //
- this.toolStripSeparator7.Name = "toolStripSeparator7";
- this.toolStripSeparator7.Size = new System.Drawing.Size(177, 6);
- //
- // 현재목록입고양식ToolStripMenuItem
- //
- this.현재목록입고양식ToolStripMenuItem.Name = "현재목록입고양식ToolStripMenuItem";
- this.현재목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.현재목록입고양식ToolStripMenuItem.Text = "현재목록(입고양식)";
- this.현재목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.현재목록입고양식ToolStripMenuItem_Click);
- //
- // 선택목록입고양식ToolStripMenuItem
- //
- this.선택목록입고양식ToolStripMenuItem.Name = "선택목록입고양식ToolStripMenuItem";
- this.선택목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.선택목록입고양식ToolStripMenuItem.Text = "선택목록(입고양식)";
- this.선택목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.선택목록입고양식ToolStripMenuItem_Click);
- //
- // 엑셀에서가져오기ToolStripMenuItem
- //
- this.엑셀에서가져오기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("엑셀에서가져오기ToolStripMenuItem.Image")));
- this.엑셀에서가져오기ToolStripMenuItem.Name = "엑셀에서가져오기ToolStripMenuItem";
- this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.엑셀에서가져오기ToolStripMenuItem.Text = "엑셀에서 가져오기";
- this.엑셀에서가져오기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서가져오기ToolStripMenuItem_Click);
- //
- // 견적서폴더열기ToolStripMenuItem
- //
- this.견적서폴더열기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("견적서폴더열기ToolStripMenuItem.Image")));
- this.견적서폴더열기ToolStripMenuItem.Name = "견적서폴더열기ToolStripMenuItem";
- this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
- this.견적서폴더열기ToolStripMenuItem.Text = "견적서 폴더 열기";
- this.견적서폴더열기ToolStripMenuItem.Click += new System.EventHandler(this.견적서폴더열기ToolStripMenuItem_Click);
- //
- // toolStripMenuItem2
- //
- this.toolStripMenuItem2.Name = "toolStripMenuItem2";
- this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6);
- //
// cm1
//
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.Designer.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.Designer.cs
index 76309c7..b2903cd 100644
--- a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.Designer.cs
+++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.Designer.cs
@@ -30,11 +30,11 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseEB_ConfRequest));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
this.dsPurchase = new FEQ0000.dsPurchase();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
@@ -70,11 +70,14 @@
this.pumnameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pumscaleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pumqtyReqDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.pumqty = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pumpriceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pumamtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bigoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bigo2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
@@ -129,7 +132,9 @@
this.toolStripLabel5,
this.toolStripLabel2,
this.tbFind,
- this.btFind});
+ this.btFind,
+ this.toolStripSeparator2,
+ this.toolStripButton2});
this.bn.Location = new System.Drawing.Point(0, 589);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -303,20 +308,21 @@
this.pumnameDataGridViewTextBoxColumn,
this.pumscaleDataGridViewTextBoxColumn,
this.pumqtyReqDataGridViewTextBoxColumn,
+ this.pumqty,
this.pumpriceDataGridViewTextBoxColumn,
this.pumamtDataGridViewTextBoxColumn,
this.bigoDataGridViewTextBoxColumn,
this.supplyDataGridViewTextBoxColumn,
this.bigo2DataGridViewTextBoxColumn});
this.dataGridView1.DataSource = this.bs;
- dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle5;
+ dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle10;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 25);
this.dataGridView1.Name = "dataGridView1";
@@ -404,25 +410,31 @@
// pumnameDataGridViewTextBoxColumn
//
this.pumnameDataGridViewTextBoxColumn.DataPropertyName = "pumname";
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
this.pumnameDataGridViewTextBoxColumn.HeaderText = "품목";
this.pumnameDataGridViewTextBoxColumn.Name = "pumnameDataGridViewTextBoxColumn";
//
// pumscaleDataGridViewTextBoxColumn
//
this.pumscaleDataGridViewTextBoxColumn.DataPropertyName = "pumscale";
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle7;
this.pumscaleDataGridViewTextBoxColumn.HeaderText = "규격";
this.pumscaleDataGridViewTextBoxColumn.Name = "pumscaleDataGridViewTextBoxColumn";
//
// pumqtyReqDataGridViewTextBoxColumn
//
this.pumqtyReqDataGridViewTextBoxColumn.DataPropertyName = "pumqtyReq";
- this.pumqtyReqDataGridViewTextBoxColumn.HeaderText = "수량";
+ this.pumqtyReqDataGridViewTextBoxColumn.HeaderText = "수량(요청)";
this.pumqtyReqDataGridViewTextBoxColumn.Name = "pumqtyReqDataGridViewTextBoxColumn";
//
+ // pumqty
+ //
+ this.pumqty.DataPropertyName = "pumqty";
+ this.pumqty.HeaderText = "수량(구매)";
+ this.pumqty.Name = "pumqty";
+ //
// pumpriceDataGridViewTextBoxColumn
//
this.pumpriceDataGridViewTextBoxColumn.DataPropertyName = "pumprice";
@@ -438,16 +450,16 @@
// bigoDataGridViewTextBoxColumn
//
this.bigoDataGridViewTextBoxColumn.DataPropertyName = "bigo";
- dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8;
this.bigoDataGridViewTextBoxColumn.HeaderText = "용도";
this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn";
//
// supplyDataGridViewTextBoxColumn
//
this.supplyDataGridViewTextBoxColumn.DataPropertyName = "supply";
- dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle9;
this.supplyDataGridViewTextBoxColumn.HeaderText = "업체명";
this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
//
@@ -457,6 +469,20 @@
this.bigo2DataGridViewTextBoxColumn.HeaderText = "구매담당비고";
this.bigo2DataGridViewTextBoxColumn.Name = "bigo2DataGridViewTextBoxColumn";
//
+ // toolStripButton2
+ //
+ this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(163, 28);
+ this.toolStripButton2.Text = "구매수량 일괄 업데이트";
+ this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
+ //
+ // toolStripSeparator2
+ //
+ this.toolStripSeparator2.Name = "toolStripSeparator2";
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
+ //
// fPurchaseEB_ConfRequest
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -519,10 +545,13 @@
private System.Windows.Forms.DataGridViewTextBoxColumn pumnameDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn pumscaleDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn pumqtyReqDataGridViewTextBoxColumn;
+ private System.Windows.Forms.DataGridViewTextBoxColumn pumqty;
private System.Windows.Forms.DataGridViewTextBoxColumn pumpriceDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn pumamtDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn bigoDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn bigo2DataGridViewTextBoxColumn;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
+ private System.Windows.Forms.ToolStripButton toolStripButton2;
}
}
diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.cs b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.cs
index 2f51ecb..a0d94ff 100644
--- a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.cs
+++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.cs
@@ -130,7 +130,7 @@ namespace FEQ0000
void showSummary()
{
decimal sum = 0;
-
+
sum = rows.Sum(t => t.pumamt);
//foreach (dsPurchase.PurchaseRow dr in this.dsPurchase.Purchase.Rows)
//if (!dr.IspumamtNull()) sum += dr.pumamt;
@@ -266,7 +266,7 @@ namespace FEQ0000
-
+
private void sC검색ToolStripMenuItem_Click(object sender, EventArgs e)
{
//sc
@@ -353,8 +353,27 @@ namespace FEQ0000
private void toolStripButton8_Click(object sender, EventArgs e)
{
this.Validate();
- this.bs.EndEdit();
-
+ this.bs.EndEdit();
+
+ //데이터를 검색한다.
+ foreach (DataGridViewRow row in this.dataGridView1.Rows)
+ {
+ var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseEBRow;
+ var qtyreq = 0;
+ var qty = 0;
+ if (dr.IspumqtyReqNull() == false) qtyreq = dr.pumqtyReq;
+ if (dr.IspumqtyNull() == false) qty = dr.pumqty;
+ if(qty < 1)
+ {
+ Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 없습니다");
+ break;
+ }
+ //if(qty > qtyreq)
+ //{
+ // Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 요청 수량보다 많습니다");
+ // break;
+ //}
+ }
//승인요청
var dlg = FCOMMON.Util.MsgQ("현재 자료를 승인 요청 할까요?");
@@ -436,12 +455,12 @@ namespace FEQ0000
fn = fi.FullName;
//FCOMMON.Util.savetoexcel(this.dataGridView1, fi.FullName);
-
+
//newMail.Attachments.Add(fi.FullName);
}
var rows = this.rows;
var tabledata = UTIL_EQ0000.MakeDataTableToHTML(rows, fn);
-
+
if (fn.isEmpty() == false)
newMail.Attachments.Add(fn);
@@ -475,5 +494,24 @@ namespace FEQ0000
}
this.dataGridView1.Refresh();
}
+
+ private void toolStripButton2_Click_1(object sender, EventArgs e)
+ {
+ this.Validate();
+ this.bs.EndEdit();
+ foreach (DataGridViewRow row in this.dataGridView1.Rows)
+ {
+ var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseEBRow;
+ if (dr.IspumqtyNull() == false && dr.pumqty > 0)
+ {
+
+ }
+ else
+ {
+ dr.pumqty = dr.pumqtyReq;
+ dr.EndEdit();
+ }
+ }
+ }
}
}
diff --git a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.resx b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.resx
index 0aaecc2..741c493 100644
--- a/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.resx
+++ b/SubProject/FEQ0000/PurchaseEB/fPurchaseEB_ConfRequest.resx
@@ -220,11 +220,29 @@
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+ 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+ bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+ VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+ c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+ Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+ TgDQASA1MVpwzwAAAABJRU5ErkJggg==
334, 17
+
+ True
+
440, 17
diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.Designer.cs b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.Designer.cs
index 4fe10fd..e377274 100644
--- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.Designer.cs
+++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.Designer.cs
@@ -29,38 +29,35 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNR_ConfRequest));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
+ this.bs = new System.Windows.Forms.BindingSource(this.components);
+ this.dsPurchase = new FEQ0000.dsPurchase();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
+ this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.btEdit = new System.Windows.Forms.ToolStripButton();
+ this.btSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.lbSum = new System.Windows.Forms.ToolStripLabel();
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
+ this.btFind = new System.Windows.Forms.ToolStripButton();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
- this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
- this.richTextBox1 = new System.Windows.Forms.RichTextBox();
- this.richTextBox2 = new System.Windows.Forms.RichTextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
- this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
- this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
- this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
- this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
- this.btEdit = new System.Windows.Forms.ToolStripButton();
- this.btSave = new System.Windows.Forms.ToolStripButton();
- this.btFind = new System.Windows.Forms.ToolStripButton();
this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.requestNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -74,16 +71,21 @@
this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bigo2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bigoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.bs = new System.Windows.Forms.BindingSource(this.components);
- this.dsPurchase = new FEQ0000.dsPurchase();
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.richTextBox1 = new System.Windows.Forms.RichTextBox();
+ this.richTextBox2 = new System.Windows.Forms.RichTextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
+ this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
- this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+ this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// bn
@@ -112,7 +114,9 @@
this.toolStripLabel5,
this.toolStripLabel2,
this.tbFind,
- this.btFind});
+ this.btFind,
+ this.toolStripSeparator2,
+ this.toolStripButton2});
this.bn.Location = new System.Drawing.Point(0, 589);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
@@ -124,6 +128,17 @@
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
+ // bs
+ //
+ this.bs.DataMember = "Purchase";
+ this.bs.DataSource = this.dsPurchase;
+ this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
+ //
+ // dsPurchase
+ //
+ this.dsPurchase.DataSetName = "dsPurchase";
+ this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
@@ -131,6 +146,24 @@
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
//
+ // bindingNavigatorMoveFirstItem
+ //
+ this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
+ this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
+ this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(28, 28);
+ this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
+ //
+ // bindingNavigatorMovePreviousItem
+ //
+ this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
+ this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
+ this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(28, 28);
+ this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
+ //
// bindingNavigatorSeparator
//
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
@@ -151,11 +184,57 @@
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 31);
//
+ // bindingNavigatorMoveNextItem
+ //
+ this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
+ this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
+ this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(28, 28);
+ this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
+ //
+ // bindingNavigatorMoveLastItem
+ //
+ this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
+ this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
+ this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(28, 28);
+ this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
+ //
// bindingNavigatorSeparator2
//
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 31);
//
+ // toolStripButton1
+ //
+ this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton1.Name = "toolStripButton1";
+ this.toolStripButton1.Size = new System.Drawing.Size(100, 28);
+ this.toolStripButton1.Text = "목록제거(&D)";
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+ //
+ // btEdit
+ //
+ this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
+ this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btEdit.Name = "btEdit";
+ this.btEdit.Size = new System.Drawing.Size(73, 28);
+ this.btEdit.Text = "편집(&E)";
+ this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
+ //
+ // btSave
+ //
+ this.btSave.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
+ this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btSave.Name = "btSave";
+ this.btSave.Size = new System.Drawing.Size(83, 28);
+ this.btSave.Text = "승인요청";
+ this.btSave.Click += new System.EventHandler(this.toolStripButton8_Click);
+ //
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
@@ -191,6 +270,16 @@
this.tbFind.Size = new System.Drawing.Size(100, 31);
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
//
+ // btFind
+ //
+ this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
+ this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btFind.Name = "btFind";
+ this.btFind.Size = new System.Drawing.Size(28, 28);
+ this.btFind.Text = "toolStripButton2";
+ this.btFind.Click += new System.EventHandler(this.btFind_Click);
+ //
// toolStrip1
//
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
@@ -221,14 +310,14 @@
this.bigo2DataGridViewTextBoxColumn,
this.bigoDataGridViewTextBoxColumn});
this.dataGridView1.DataSource = this.bs;
- dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle20.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle20;
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle5;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 25);
this.dataGridView1.Name = "dataGridView1";
@@ -236,6 +325,105 @@
this.dataGridView1.Size = new System.Drawing.Size(1219, 426);
this.dataGridView1.TabIndex = 8;
//
+ // pdateDataGridViewTextBoxColumn
+ //
+ this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate";
+ this.pdateDataGridViewTextBoxColumn.HeaderText = "요청일";
+ this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn";
+ this.pdateDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // requestNameDataGridViewTextBoxColumn
+ //
+ this.requestNameDataGridViewTextBoxColumn.DataPropertyName = "requestName";
+ this.requestNameDataGridViewTextBoxColumn.HeaderText = "구매신청";
+ this.requestNameDataGridViewTextBoxColumn.Name = "requestNameDataGridViewTextBoxColumn";
+ this.requestNameDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // sidDataGridViewTextBoxColumn
+ //
+ this.sidDataGridViewTextBoxColumn.DataPropertyName = "sid";
+ this.sidDataGridViewTextBoxColumn.HeaderText = "SID";
+ this.sidDataGridViewTextBoxColumn.Name = "sidDataGridViewTextBoxColumn";
+ this.sidDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // pumnameDataGridViewTextBoxColumn
+ //
+ this.pumnameDataGridViewTextBoxColumn.DataPropertyName = "pumname";
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
+ this.pumnameDataGridViewTextBoxColumn.HeaderText = "품명";
+ this.pumnameDataGridViewTextBoxColumn.Name = "pumnameDataGridViewTextBoxColumn";
+ this.pumnameDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // pumscaleDataGridViewTextBoxColumn
+ //
+ this.pumscaleDataGridViewTextBoxColumn.DataPropertyName = "pumscale";
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
+ this.pumscaleDataGridViewTextBoxColumn.HeaderText = "모델/규격";
+ this.pumscaleDataGridViewTextBoxColumn.Name = "pumscaleDataGridViewTextBoxColumn";
+ this.pumscaleDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // pumunitDataGridViewTextBoxColumn
+ //
+ this.pumunitDataGridViewTextBoxColumn.DataPropertyName = "pumunit";
+ this.pumunitDataGridViewTextBoxColumn.HeaderText = "단위";
+ this.pumunitDataGridViewTextBoxColumn.Name = "pumunitDataGridViewTextBoxColumn";
+ this.pumunitDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // pumqtyDataGridViewTextBoxColumn
+ //
+ this.pumqtyDataGridViewTextBoxColumn.DataPropertyName = "pumqty";
+ this.pumqtyDataGridViewTextBoxColumn.HeaderText = "신청수량";
+ this.pumqtyDataGridViewTextBoxColumn.Name = "pumqtyDataGridViewTextBoxColumn";
+ this.pumqtyDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // pumqtyReqDataGridViewTextBoxColumn
+ //
+ this.pumqtyReqDataGridViewTextBoxColumn.DataPropertyName = "pumqtyReq";
+ this.pumqtyReqDataGridViewTextBoxColumn.HeaderText = "구매수량";
+ this.pumqtyReqDataGridViewTextBoxColumn.Name = "pumqtyReqDataGridViewTextBoxColumn";
+ this.pumqtyReqDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // pumpriceDataGridViewTextBoxColumn
+ //
+ this.pumpriceDataGridViewTextBoxColumn.DataPropertyName = "pumprice";
+ this.pumpriceDataGridViewTextBoxColumn.HeaderText = "단가";
+ this.pumpriceDataGridViewTextBoxColumn.Name = "pumpriceDataGridViewTextBoxColumn";
+ this.pumpriceDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // pumamtDataGridViewTextBoxColumn
+ //
+ this.pumamtDataGridViewTextBoxColumn.DataPropertyName = "pumamt";
+ this.pumamtDataGridViewTextBoxColumn.HeaderText = "금액";
+ this.pumamtDataGridViewTextBoxColumn.Name = "pumamtDataGridViewTextBoxColumn";
+ this.pumamtDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // supplyDataGridViewTextBoxColumn
+ //
+ this.supplyDataGridViewTextBoxColumn.DataPropertyName = "supply";
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
+ this.supplyDataGridViewTextBoxColumn.HeaderText = "공급";
+ this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
+ this.supplyDataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // bigo2DataGridViewTextBoxColumn
+ //
+ this.bigo2DataGridViewTextBoxColumn.DataPropertyName = "chkremark";
+ this.bigo2DataGridViewTextBoxColumn.HeaderText = "비고(구매담당)";
+ this.bigo2DataGridViewTextBoxColumn.Name = "bigo2DataGridViewTextBoxColumn";
+ this.bigo2DataGridViewTextBoxColumn.ReadOnly = true;
+ //
+ // bigoDataGridViewTextBoxColumn
+ //
+ this.bigoDataGridViewTextBoxColumn.DataPropertyName = "bigo";
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
+ this.bigoDataGridViewTextBoxColumn.HeaderText = "비고(구매요청)";
+ this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn";
+ this.bigoDataGridViewTextBoxColumn.ReadOnly = true;
+ //
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
@@ -296,190 +484,6 @@
this.label2.Text = "구매신청자 비고(구매사유)";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // bindingNavigatorMoveFirstItem
- //
- this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
- this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
- this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(28, 28);
- this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
- //
- // bindingNavigatorMovePreviousItem
- //
- this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
- this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
- this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(28, 28);
- this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
- //
- // bindingNavigatorMoveNextItem
- //
- this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
- this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
- this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(28, 28);
- this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
- //
- // bindingNavigatorMoveLastItem
- //
- this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
- this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
- this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(28, 28);
- this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
- //
- // toolStripButton1
- //
- this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
- this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButton1.Name = "toolStripButton1";
- this.toolStripButton1.Size = new System.Drawing.Size(100, 28);
- this.toolStripButton1.Text = "목록제거(&D)";
- this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
- //
- // btEdit
- //
- this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
- this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.btEdit.Name = "btEdit";
- this.btEdit.Size = new System.Drawing.Size(73, 28);
- this.btEdit.Text = "편집(&E)";
- this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
- //
- // btSave
- //
- this.btSave.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
- this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
- this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.btSave.Name = "btSave";
- this.btSave.Size = new System.Drawing.Size(83, 28);
- this.btSave.Text = "승인요청";
- this.btSave.Click += new System.EventHandler(this.toolStripButton8_Click);
- //
- // btFind
- //
- this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image")));
- this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.btFind.Name = "btFind";
- this.btFind.Size = new System.Drawing.Size(28, 28);
- this.btFind.Text = "toolStripButton2";
- this.btFind.Click += new System.EventHandler(this.btFind_Click);
- //
- // pdateDataGridViewTextBoxColumn
- //
- this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate";
- this.pdateDataGridViewTextBoxColumn.HeaderText = "요청일";
- this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn";
- this.pdateDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // requestNameDataGridViewTextBoxColumn
- //
- this.requestNameDataGridViewTextBoxColumn.DataPropertyName = "requestName";
- this.requestNameDataGridViewTextBoxColumn.HeaderText = "구매신청";
- this.requestNameDataGridViewTextBoxColumn.Name = "requestNameDataGridViewTextBoxColumn";
- this.requestNameDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // sidDataGridViewTextBoxColumn
- //
- this.sidDataGridViewTextBoxColumn.DataPropertyName = "sid";
- this.sidDataGridViewTextBoxColumn.HeaderText = "SID";
- this.sidDataGridViewTextBoxColumn.Name = "sidDataGridViewTextBoxColumn";
- this.sidDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // pumnameDataGridViewTextBoxColumn
- //
- this.pumnameDataGridViewTextBoxColumn.DataPropertyName = "pumname";
- dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle16;
- this.pumnameDataGridViewTextBoxColumn.HeaderText = "품명";
- this.pumnameDataGridViewTextBoxColumn.Name = "pumnameDataGridViewTextBoxColumn";
- this.pumnameDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // pumscaleDataGridViewTextBoxColumn
- //
- this.pumscaleDataGridViewTextBoxColumn.DataPropertyName = "pumscale";
- dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle17;
- this.pumscaleDataGridViewTextBoxColumn.HeaderText = "모델/규격";
- this.pumscaleDataGridViewTextBoxColumn.Name = "pumscaleDataGridViewTextBoxColumn";
- this.pumscaleDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // pumunitDataGridViewTextBoxColumn
- //
- this.pumunitDataGridViewTextBoxColumn.DataPropertyName = "pumunit";
- this.pumunitDataGridViewTextBoxColumn.HeaderText = "단위";
- this.pumunitDataGridViewTextBoxColumn.Name = "pumunitDataGridViewTextBoxColumn";
- this.pumunitDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // pumqtyDataGridViewTextBoxColumn
- //
- this.pumqtyDataGridViewTextBoxColumn.DataPropertyName = "pumqty";
- this.pumqtyDataGridViewTextBoxColumn.HeaderText = "신청수량";
- this.pumqtyDataGridViewTextBoxColumn.Name = "pumqtyDataGridViewTextBoxColumn";
- this.pumqtyDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // pumqtyReqDataGridViewTextBoxColumn
- //
- this.pumqtyReqDataGridViewTextBoxColumn.DataPropertyName = "pumqtyReq";
- this.pumqtyReqDataGridViewTextBoxColumn.HeaderText = "구매수량";
- this.pumqtyReqDataGridViewTextBoxColumn.Name = "pumqtyReqDataGridViewTextBoxColumn";
- this.pumqtyReqDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // pumpriceDataGridViewTextBoxColumn
- //
- this.pumpriceDataGridViewTextBoxColumn.DataPropertyName = "pumprice";
- this.pumpriceDataGridViewTextBoxColumn.HeaderText = "단가";
- this.pumpriceDataGridViewTextBoxColumn.Name = "pumpriceDataGridViewTextBoxColumn";
- this.pumpriceDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // pumamtDataGridViewTextBoxColumn
- //
- this.pumamtDataGridViewTextBoxColumn.DataPropertyName = "pumamt";
- this.pumamtDataGridViewTextBoxColumn.HeaderText = "금액";
- this.pumamtDataGridViewTextBoxColumn.Name = "pumamtDataGridViewTextBoxColumn";
- this.pumamtDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // supplyDataGridViewTextBoxColumn
- //
- this.supplyDataGridViewTextBoxColumn.DataPropertyName = "supply";
- dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle18;
- this.supplyDataGridViewTextBoxColumn.HeaderText = "공급";
- this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
- this.supplyDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // bigo2DataGridViewTextBoxColumn
- //
- this.bigo2DataGridViewTextBoxColumn.DataPropertyName = "chkremark";
- this.bigo2DataGridViewTextBoxColumn.HeaderText = "비고(구매담당)";
- this.bigo2DataGridViewTextBoxColumn.Name = "bigo2DataGridViewTextBoxColumn";
- this.bigo2DataGridViewTextBoxColumn.ReadOnly = true;
- //
- // bigoDataGridViewTextBoxColumn
- //
- this.bigoDataGridViewTextBoxColumn.DataPropertyName = "bigo";
- dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle19;
- this.bigoDataGridViewTextBoxColumn.HeaderText = "비고(구매요청)";
- this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn";
- this.bigoDataGridViewTextBoxColumn.ReadOnly = true;
- //
- // bs
- //
- this.bs.DataMember = "Purchase";
- this.bs.DataSource = this.dsPurchase;
- this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
- //
- // dsPurchase
- //
- this.dsPurchase.DataSetName = "dsPurchase";
- this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
- //
// ta
//
this.ta.ClearBeforeFill = true;
@@ -492,6 +496,20 @@
this.tam.PurchaseTableAdapter = this.ta;
this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
+ // toolStripSeparator2
+ //
+ this.toolStripSeparator2.Name = "toolStripSeparator2";
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
+ //
+ // toolStripButton2
+ //
+ this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(163, 28);
+ this.toolStripButton2.Text = "구매수량 일괄 업데이트";
+ this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
+ //
// fPurchaseNR_ConfRequest
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -508,10 +526,10 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
- this.tableLayoutPanel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+ this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -562,5 +580,7 @@
private System.Windows.Forms.RichTextBox richTextBox2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
+ private System.Windows.Forms.ToolStripButton toolStripButton2;
}
}
diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.cs b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.cs
index 495f4f4..5d2f2ef 100644
--- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.cs
+++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.cs
@@ -272,7 +272,7 @@ namespace FEQ0000
-
+
private void sC검색ToolStripMenuItem_Click(object sender, EventArgs e)
{
//sc
@@ -361,6 +361,26 @@ namespace FEQ0000
this.Validate();
this.bs.EndEdit();
+ //데이터를 검색한다.
+ foreach (DataGridViewRow row in this.dataGridView1.Rows)
+ {
+ var dr = row.DataBoundItem as dsPurchase.PurchaseRow;
+ var qtyreq = 0;
+ var qty = 0;
+ if (dr.IspumqtyReqNull() == false) qtyreq = dr.pumqtyReq;
+ if (dr.IspumqtyNull() == false) qty = dr.pumqty;
+ if (qty < 1)
+ {
+ Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 없습니다");
+ break;
+ }
+ //if(qty > qtyreq)
+ //{
+ // Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 요청 수량보다 많습니다");
+ // break;
+ //}
+ }
+
//승인요청
var dlg = FCOMMON.Util.MsgQ("현재 자료를 승인 요청 할까요?");
if (dlg != DialogResult.Yes) return;
@@ -480,5 +500,24 @@ namespace FEQ0000
}
this.dataGridView1.Refresh();
}
+
+ private void toolStripButton2_Click_1(object sender, EventArgs e)
+ {
+ this.Validate();
+ this.bs.EndEdit();
+ foreach (DataGridViewRow row in this.dataGridView1.Rows)
+ {
+ var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseEBRow;
+ if (dr.IspumqtyNull() == false && dr.pumqty > 0)
+ {
+
+ }
+ else
+ {
+ dr.pumqty = dr.pumqtyReq;
+ dr.EndEdit();
+ }
+ }
+ }
}
}
diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.resx b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.resx
index c3bae6a..cd05b8a 100644
--- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.resx
+++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR_ConfRequest.resx
@@ -217,14 +217,26 @@
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+ YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+ 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+ bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+ VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+ c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+ Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+ TgDQASA1MVpwzwAAAABJRU5ErkJggg==
396, 17
-
- 17, 17
-
195, 17