..
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -217,14 +217,26 @@
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>396, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsPurchase.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>195, 17</value>
|
||||
</metadata>
|
||||
|
||||
Reference in New Issue
Block a user