구매수량없이 구매신청되지 않게 함
This commit is contained in:
@@ -793,7 +793,11 @@ namespace FEQ0000
|
||||
{
|
||||
dr.pumpriceD = priced;
|
||||
}
|
||||
else dr.SetpumpriceDNull();
|
||||
else
|
||||
{
|
||||
dr.SetpumpriceDNull();
|
||||
dr.currency = "KRW";
|
||||
}
|
||||
|
||||
if (vqtyreal > 0) dr.pumamt = dr.pumqty * dr.pumprice;
|
||||
else dr.pumamt = dr.pumqtyReq * dr.pumprice;
|
||||
|
||||
@@ -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 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();
|
||||
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.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
|
||||
@@ -57,8 +57,16 @@
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton2 = 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.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter();
|
||||
this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.requestNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.sidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -72,14 +80,6 @@
|
||||
this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigo2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
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.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();
|
||||
@@ -182,6 +182,7 @@
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
@@ -273,6 +274,7 @@
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 31);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
@@ -287,6 +289,20 @@
|
||||
this.btFind.Text = "toolStripButton2";
|
||||
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
@@ -317,14 +333,14 @@
|
||||
this.bigo2DataGridViewTextBoxColumn,
|
||||
this.bigoDataGridViewTextBoxColumn});
|
||||
this.dataGridView1.DataSource = this.bs;
|
||||
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;
|
||||
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";
|
||||
@@ -333,105 +349,6 @@
|
||||
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";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.pumnameDataGridViewTextBoxColumn.HeaderText = "품명";
|
||||
this.pumnameDataGridViewTextBoxColumn.Name = "pumnameDataGridViewTextBoxColumn";
|
||||
this.pumnameDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// pumscaleDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumscaleDataGridViewTextBoxColumn.DataPropertyName = "pumscale";
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
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";
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
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";
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.bigoDataGridViewTextBoxColumn.HeaderText = "비고(구매요청)";
|
||||
this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn";
|
||||
this.bigoDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 2;
|
||||
@@ -496,19 +413,104 @@
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// toolStripSeparator2
|
||||
// pdateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
|
||||
this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate";
|
||||
this.pdateDataGridViewTextBoxColumn.HeaderText = "요청일";
|
||||
this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn";
|
||||
this.pdateDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// toolStripButton2
|
||||
// requestNameDataGridViewTextBoxColumn
|
||||
//
|
||||
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);
|
||||
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 = "pumqtyReq";
|
||||
this.pumqtyDataGridViewTextBoxColumn.HeaderText = "신청수량";
|
||||
this.pumqtyDataGridViewTextBoxColumn.Name = "pumqtyDataGridViewTextBoxColumn";
|
||||
this.pumqtyDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// pumqtyReqDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.DataPropertyName = "pumqty";
|
||||
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;
|
||||
//
|
||||
// fPurchaseCR_ConfRequest
|
||||
//
|
||||
@@ -560,6 +562,15 @@
|
||||
private System.Windows.Forms.ToolStripButton btEdit;
|
||||
private System.Windows.Forms.ToolStripButton btSave;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox2;
|
||||
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;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn requestNameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sidDataGridViewTextBoxColumn;
|
||||
@@ -573,14 +584,5 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigo2DataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox2;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -374,7 +374,7 @@ namespace FEQ0000
|
||||
if (qty < 1)
|
||||
{
|
||||
Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 없습니다");
|
||||
break;
|
||||
return;
|
||||
}
|
||||
//if(qty > qtyreq)
|
||||
//{
|
||||
@@ -508,6 +508,8 @@ namespace FEQ0000
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
var dlg = FCOMMON.Util.MsgQ("입력되지 않은 구매수량을 신청수량으로 일괄 업데이트 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
foreach (DataGridViewRow row in this.dataGridView1.Rows)
|
||||
{
|
||||
var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseCRRow;
|
||||
|
||||
@@ -594,7 +594,11 @@ namespace FEQ0000
|
||||
{
|
||||
dr.pumpriceD = priced;
|
||||
}
|
||||
else dr.SetpumpriceDNull();
|
||||
else
|
||||
{
|
||||
dr.SetpumpriceDNull();
|
||||
dr.currency = "KRW";
|
||||
}
|
||||
|
||||
if (vqtyreal > 0) dr.pumamt = dr.pumqty * dr.pumprice;
|
||||
else dr.pumamt = dr.pumqtyReq * dr.pumprice;
|
||||
|
||||
@@ -366,7 +366,7 @@ namespace FEQ0000
|
||||
if(qty < 1)
|
||||
{
|
||||
Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 없습니다");
|
||||
break;
|
||||
return;
|
||||
}
|
||||
//if(qty > qtyreq)
|
||||
//{
|
||||
@@ -499,6 +499,8 @@ namespace FEQ0000
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
var dlg = FCOMMON.Util.MsgQ("입력되지 않은 구매수량을 신청수량으로 일괄 업데이트 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
foreach (DataGridViewRow row in this.dataGridView1.Rows)
|
||||
{
|
||||
var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseEBRow;
|
||||
|
||||
@@ -480,7 +480,7 @@
|
||||
this.선택목록입고양식ToolStripMenuItem});
|
||||
this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image")));
|
||||
this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
|
||||
this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(234, 30);
|
||||
this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(226, 22);
|
||||
this.메일전송ToolStripMenuItem.Text = "메일 전송";
|
||||
//
|
||||
// 현재목록ToolStripMenuItem
|
||||
@@ -520,7 +520,7 @@
|
||||
//
|
||||
this.엑셀에서가져오기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("엑셀에서가져오기ToolStripMenuItem.Image")));
|
||||
this.엑셀에서가져오기ToolStripMenuItem.Name = "엑셀에서가져오기ToolStripMenuItem";
|
||||
this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(234, 30);
|
||||
this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(226, 22);
|
||||
this.엑셀에서가져오기ToolStripMenuItem.Text = "엑셀에서 가져오기";
|
||||
this.엑셀에서가져오기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서가져오기ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -528,19 +528,19 @@
|
||||
//
|
||||
this.견적서폴더열기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("견적서폴더열기ToolStripMenuItem.Image")));
|
||||
this.견적서폴더열기ToolStripMenuItem.Name = "견적서폴더열기ToolStripMenuItem";
|
||||
this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(234, 30);
|
||||
this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(226, 22);
|
||||
this.견적서폴더열기ToolStripMenuItem.Text = "견적서 폴더 열기";
|
||||
this.견적서폴더열기ToolStripMenuItem.Click += new System.EventHandler(this.견적서폴더열기ToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem5
|
||||
//
|
||||
this.toolStripMenuItem5.Name = "toolStripMenuItem5";
|
||||
this.toolStripMenuItem5.Size = new System.Drawing.Size(231, 6);
|
||||
this.toolStripMenuItem5.Size = new System.Drawing.Size(223, 6);
|
||||
//
|
||||
// btMakeItemsData
|
||||
//
|
||||
this.btMakeItemsData.Name = "btMakeItemsData";
|
||||
this.btMakeItemsData.Size = new System.Drawing.Size(234, 30);
|
||||
this.btMakeItemsData.Size = new System.Drawing.Size(226, 22);
|
||||
this.btMakeItemsData.Text = "구매내역에서 품목정보 생성";
|
||||
this.btMakeItemsData.Click += new System.EventHandler(this.구매내역에서품목정보생성ToolStripMenuItem_Click);
|
||||
//
|
||||
|
||||
@@ -56,8 +56,17 @@
|
||||
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tbFind = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton2 = 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.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
|
||||
this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.requestNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.sidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -71,15 +80,6 @@
|
||||
this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigo2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
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.bs)).BeginInit();
|
||||
@@ -280,6 +280,20 @@
|
||||
this.btFind.Text = "toolStripButton2";
|
||||
this.btFind.Click += new System.EventHandler(this.btFind_Click);
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
@@ -325,105 +339,6 @@
|
||||
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;
|
||||
@@ -496,19 +411,104 @@
|
||||
this.tam.PurchaseTableAdapter = this.ta;
|
||||
this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// toolStripSeparator2
|
||||
// pdateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
|
||||
this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate";
|
||||
this.pdateDataGridViewTextBoxColumn.HeaderText = "요청일";
|
||||
this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn";
|
||||
this.pdateDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// toolStripButton2
|
||||
// requestNameDataGridViewTextBoxColumn
|
||||
//
|
||||
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);
|
||||
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 = "pumqtyReq";
|
||||
this.pumqtyDataGridViewTextBoxColumn.HeaderText = "신청수량";
|
||||
this.pumqtyDataGridViewTextBoxColumn.Name = "pumqtyDataGridViewTextBoxColumn";
|
||||
this.pumqtyDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// pumqtyReqDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.DataPropertyName = "pumqty";
|
||||
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;
|
||||
//
|
||||
// fPurchaseNR_ConfRequest
|
||||
//
|
||||
@@ -561,6 +561,14 @@
|
||||
private System.Windows.Forms.ToolStripButton btEdit;
|
||||
private System.Windows.Forms.ToolStripButton btSave;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
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;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn requestNameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sidDataGridViewTextBoxColumn;
|
||||
@@ -574,13 +582,5 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigo2DataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -372,7 +372,7 @@ namespace FEQ0000
|
||||
if (qty < 1)
|
||||
{
|
||||
Util.MsgE($"[{dr.sid}] {dr.pumname}의 구매 수량이 없습니다");
|
||||
break;
|
||||
return;
|
||||
}
|
||||
//if(qty > qtyreq)
|
||||
//{
|
||||
@@ -505,6 +505,8 @@ namespace FEQ0000
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
var dlg = FCOMMON.Util.MsgQ("입력되지 않은 구매수량을 신청수량으로 일괄 업데이트 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
foreach (DataGridViewRow row in this.dataGridView1.Rows)
|
||||
{
|
||||
var dr = row.DataBoundItem as dsPurchase.EETGW_PurchaseEBRow;
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label processLabel;
|
||||
System.Windows.Forms.Label receiveLabel;
|
||||
System.Windows.Forms.Label scLabel;
|
||||
@@ -82,6 +81,7 @@
|
||||
this.chkExp = new System.Windows.Forms.CheckBox();
|
||||
this.btSaveAdd = new System.Windows.Forms.Button();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.lbcurrentwon = new System.Windows.Forms.Label();
|
||||
this.tbPumIDX = new System.Windows.Forms.Button();
|
||||
this.tbStorage = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRemark = new System.Windows.Forms.ComboBox();
|
||||
@@ -112,12 +112,11 @@
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.tbOrderNo = new System.Windows.Forms.TextBox();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip();
|
||||
this.timer1 = new System.Windows.Forms.Timer();
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bs = new System.Windows.Forms.BindingSource();
|
||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
this.lbcurrentwon = new System.Windows.Forms.Label();
|
||||
processLabel = new System.Windows.Forms.Label();
|
||||
receiveLabel = new System.Windows.Forms.Label();
|
||||
scLabel = new System.Windows.Forms.Label();
|
||||
@@ -748,6 +747,19 @@
|
||||
this.groupBox1.Text = "필수입력";
|
||||
this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter);
|
||||
//
|
||||
// lbcurrentwon
|
||||
//
|
||||
this.lbcurrentwon.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbcurrentwon.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lbcurrentwon.Location = new System.Drawing.Point(321, 202);
|
||||
this.lbcurrentwon.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lbcurrentwon.Name = "lbcurrentwon";
|
||||
this.lbcurrentwon.Size = new System.Drawing.Size(153, 28);
|
||||
this.lbcurrentwon.TabIndex = 54;
|
||||
this.lbcurrentwon.Text = "통화기호를 선택하세요";
|
||||
this.lbcurrentwon.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lbcurrentwon.Click += new System.EventHandler(this.lbcurrentwon_Click);
|
||||
//
|
||||
// tbPumIDX
|
||||
//
|
||||
this.tbPumIDX.Location = new System.Drawing.Point(410, 79);
|
||||
@@ -1003,6 +1015,7 @@
|
||||
this.tbManager.Name = "tbManager";
|
||||
this.tbManager.Size = new System.Drawing.Size(286, 28);
|
||||
this.tbManager.TabIndex = 47;
|
||||
this.tbManager.SelectedIndexChanged += new System.EventHandler(this.tbManager_SelectedIndexChanged);
|
||||
//
|
||||
// btEQModel
|
||||
//
|
||||
@@ -1139,19 +1152,6 @@
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// lbcurrentwon
|
||||
//
|
||||
this.lbcurrentwon.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbcurrentwon.ForeColor = System.Drawing.Color.Blue;
|
||||
this.lbcurrentwon.Location = new System.Drawing.Point(321, 202);
|
||||
this.lbcurrentwon.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lbcurrentwon.Name = "lbcurrentwon";
|
||||
this.lbcurrentwon.Size = new System.Drawing.Size(153, 28);
|
||||
this.lbcurrentwon.TabIndex = 54;
|
||||
this.lbcurrentwon.Text = "통화기호를 선택하세요";
|
||||
this.lbcurrentwon.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lbcurrentwon.Click += new System.EventHandler(this.lbcurrentwon_Click);
|
||||
//
|
||||
// fPurchase_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
|
||||
@@ -857,6 +857,7 @@ namespace FEQ0000
|
||||
dr.pumqty = vqtyreal;// int.Parse(tbPumQty.Text);
|
||||
dr.pumqtyReq = vqtyreq;// int.Parse(tbpumqtyReq.Text);
|
||||
dr.pumprice = vpumprice;// decimal.Parse(tbPumPrice.Text);
|
||||
|
||||
dr.currency = cmbCurrency.Text.Trim();
|
||||
|
||||
var applyprice = dr.pumprice;
|
||||
@@ -872,8 +873,11 @@ namespace FEQ0000
|
||||
dr.pumprice = vpumprice;
|
||||
}
|
||||
}
|
||||
else dr.SetpumpriceDNull();
|
||||
|
||||
else
|
||||
{
|
||||
dr.SetpumpriceDNull();
|
||||
dr.currency = "KRW";
|
||||
}
|
||||
if (vqtyreal > 0) dr.pumamt = dr.pumqty * dr.pumprice;
|
||||
else dr.pumamt = dr.pumqtyReq * dr.pumprice;
|
||||
|
||||
@@ -1474,5 +1478,10 @@ namespace FEQ0000
|
||||
{
|
||||
FCOMMON.Util.MsgI("환율을 입력하려면 공용코드(68)의 Fvalue 에 값을 입력하세요");
|
||||
}
|
||||
|
||||
private void tbManager_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user