구매수량없이 구매신청되지 않게 함

This commit is contained in:
chi
2024-02-08 09:49:47 +09:00
parent 283597f612
commit 3691bee8a9
17 changed files with 3146 additions and 941 deletions

View File

@@ -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);
//

View File

@@ -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;
}
}

View File

@@ -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;

View File

@@ -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);

View File

@@ -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)
{
}
}
}