This commit is contained in:
chi
2023-04-27 11:14:32 +09:00
parent db1a6abff4
commit 5a899c2d1b
19 changed files with 3096 additions and 440 deletions

View File

@@ -46,6 +46,9 @@ namespace FEQ0000.Purchase
System.Windows.Forms.Label label7;
System.Windows.Forms.Label label8;
System.Windows.Forms.Label receiveLabel;
System.Windows.Forms.Label label13;
System.Windows.Forms.Label label14;
System.Windows.Forms.Label label10;
this.panel1 = new System.Windows.Forms.Panel();
this.tbPrjStatus = new System.Windows.Forms.TextBox();
this.tbPrjIdx = new System.Windows.Forms.TextBox();
@@ -59,23 +62,27 @@ namespace FEQ0000.Purchase
this.tbPrjName = new System.Windows.Forms.TextBox();
this.tbIdx = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.textBox10 = new System.Windows.Forms.TextBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.tbRemarkO = new System.Windows.Forms.TextBox();
this.tbAmt = new System.Windows.Forms.TextBox();
this.tbPriceO = new System.Windows.Forms.TextBox();
this.tbQty = new System.Windows.Forms.TextBox();
this.tbUnit = new System.Windows.Forms.TextBox();
this.tbModel = new System.Windows.Forms.TextBox();
this.arLabel1 = new System.Windows.Forms.Label();
this.textBox15 = new System.Windows.Forms.TextBox();
this.tbPumname = new System.Windows.Forms.TextBox();
this.textBox16 = new System.Windows.Forms.TextBox();
this.panel3 = new System.Windows.Forms.Panel();
this.tbInRemar = new System.Windows.Forms.TextBox();
this.tbInRemark = new System.Windows.Forms.TextBox();
this.tbInQty = new System.Windows.Forms.TextBox();
this.chkInDate = new System.Windows.Forms.CheckBox();
this.dtInDate = new System.Windows.Forms.DateTimePicker();
this.cmbReceive = new System.Windows.Forms.ComboBox();
this.btOK = new System.Windows.Forms.Button();
this.arLabel3 = new System.Windows.Forms.Label();
this.tbInPrice = new System.Windows.Forms.TextBox();
this.tbPO = new System.Windows.Forms.TextBox();
this.tbSC = new System.Windows.Forms.TextBox();
this.tbSCRCF = new System.Windows.Forms.TextBox();
label17 = new System.Windows.Forms.Label();
label12 = new System.Windows.Forms.Label();
label11 = new System.Windows.Forms.Label();
@@ -93,6 +100,9 @@ namespace FEQ0000.Purchase
label7 = new System.Windows.Forms.Label();
label8 = new System.Windows.Forms.Label();
receiveLabel = new System.Windows.Forms.Label();
label13 = new System.Windows.Forms.Label();
label14 = new System.Windows.Forms.Label();
label10 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
@@ -207,7 +217,7 @@ namespace FEQ0000.Purchase
// label20
//
label20.AutoSize = true;
label20.Location = new System.Drawing.Point(70, 34);
label20.Location = new System.Drawing.Point(69, 34);
label20.Name = "label20";
label20.Size = new System.Drawing.Size(29, 12);
label20.TabIndex = 0;
@@ -216,7 +226,7 @@ namespace FEQ0000.Purchase
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(19, 84);
label1.Location = new System.Drawing.Point(9, 91);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(89, 12);
label1.TabIndex = 87;
@@ -225,7 +235,7 @@ namespace FEQ0000.Purchase
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(79, 109);
label6.Location = new System.Drawing.Point(69, 121);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(29, 12);
label6.TabIndex = 87;
@@ -234,7 +244,7 @@ namespace FEQ0000.Purchase
// label7
//
label7.AutoSize = true;
label7.Location = new System.Drawing.Point(19, 140);
label7.Location = new System.Drawing.Point(45, 238);
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label7.Name = "label7";
label7.Size = new System.Drawing.Size(63, 12);
@@ -244,17 +254,18 @@ namespace FEQ0000.Purchase
// label8
//
label8.AutoSize = true;
label8.Location = new System.Drawing.Point(29, 105);
label8.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
label8.Location = new System.Drawing.Point(16, 153);
label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label8.Name = "label8";
label8.Size = new System.Drawing.Size(53, 12);
label8.Size = new System.Drawing.Size(92, 28);
label8.TabIndex = 107;
label8.Text = "입고수량";
//
// receiveLabel
//
receiveLabel.AutoSize = true;
receiveLabel.Location = new System.Drawing.Point(44, 34);
receiveLabel.Location = new System.Drawing.Point(18, 35);
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(41, 12);
@@ -288,7 +299,7 @@ namespace FEQ0000.Purchase
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(552, 193);
this.panel1.Size = new System.Drawing.Size(584, 193);
this.panel1.TabIndex = 87;
//
// tbPrjStatus
@@ -373,7 +384,7 @@ namespace FEQ0000.Purchase
this.arLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel2.Location = new System.Drawing.Point(0, 0);
this.arLabel2.Name = "arLabel2";
this.arLabel2.Size = new System.Drawing.Size(552, 23);
this.arLabel2.Size = new System.Drawing.Size(584, 23);
this.arLabel2.TabIndex = 86;
this.arLabel2.Text = "프로젝트";
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -399,60 +410,70 @@ namespace FEQ0000.Purchase
// panel2
//
this.panel2.BackColor = System.Drawing.Color.Gainsboro;
this.panel2.Controls.Add(this.textBox10);
this.panel2.Controls.Add(this.textBox9);
this.panel2.Controls.Add(this.textBox8);
this.panel2.Controls.Add(this.textBox3);
this.panel2.Controls.Add(this.tbSCRCF);
this.panel2.Controls.Add(this.tbSC);
this.panel2.Controls.Add(label10);
this.panel2.Controls.Add(this.tbPO);
this.panel2.Controls.Add(label14);
this.panel2.Controls.Add(this.tbRemarkO);
this.panel2.Controls.Add(this.tbAmt);
this.panel2.Controls.Add(this.tbPriceO);
this.panel2.Controls.Add(this.tbQty);
this.panel2.Controls.Add(label6);
this.panel2.Controls.Add(label1);
this.panel2.Controls.Add(this.tbUnit);
this.panel2.Controls.Add(label15);
this.panel2.Controls.Add(this.tbModel);
this.panel2.Controls.Add(this.arLabel1);
this.panel2.Controls.Add(this.textBox15);
this.panel2.Controls.Add(this.tbPumname);
this.panel2.Controls.Add(label20);
this.panel2.Controls.Add(this.textBox16);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 193);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(552, 133);
this.panel2.Size = new System.Drawing.Size(584, 234);
this.panel2.TabIndex = 88;
//
// textBox10
// tbRemarkO
//
this.textBox10.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox10.Location = new System.Drawing.Point(112, 106);
this.textBox10.Name = "textBox10";
this.textBox10.ReadOnly = true;
this.textBox10.Size = new System.Drawing.Size(437, 21);
this.textBox10.TabIndex = 91;
this.tbRemarkO.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbRemarkO.Location = new System.Drawing.Point(104, 118);
this.tbRemarkO.Name = "tbRemarkO";
this.tbRemarkO.ReadOnly = true;
this.tbRemarkO.Size = new System.Drawing.Size(437, 21);
this.tbRemarkO.TabIndex = 91;
//
// textBox9
// tbAmt
//
this.textBox9.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox9.Location = new System.Drawing.Point(379, 80);
this.textBox9.Name = "textBox9";
this.textBox9.ReadOnly = true;
this.textBox9.Size = new System.Drawing.Size(127, 21);
this.textBox9.TabIndex = 90;
this.tbAmt.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbAmt.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbAmt.Location = new System.Drawing.Point(372, 80);
this.tbAmt.Name = "tbAmt";
this.tbAmt.ReadOnly = true;
this.tbAmt.Size = new System.Drawing.Size(200, 34);
this.tbAmt.TabIndex = 90;
this.tbAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// textBox8
// tbPriceO
//
this.textBox8.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox8.Location = new System.Drawing.Point(246, 80);
this.textBox8.Name = "textBox8";
this.textBox8.ReadOnly = true;
this.textBox8.Size = new System.Drawing.Size(127, 21);
this.textBox8.TabIndex = 89;
this.tbPriceO.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbPriceO.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPriceO.Location = new System.Drawing.Point(237, 80);
this.tbPriceO.Name = "tbPriceO";
this.tbPriceO.ReadOnly = true;
this.tbPriceO.Size = new System.Drawing.Size(129, 34);
this.tbPriceO.TabIndex = 89;
this.tbPriceO.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// textBox3
// tbQty
//
this.textBox3.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox3.Location = new System.Drawing.Point(113, 80);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.Size = new System.Drawing.Size(127, 21);
this.textBox3.TabIndex = 88;
this.tbQty.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbQty.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbQty.Location = new System.Drawing.Point(104, 80);
this.tbQty.Name = "tbQty";
this.tbQty.ReadOnly = true;
this.tbQty.Size = new System.Drawing.Size(127, 34);
this.tbQty.TabIndex = 88;
//
// tbUnit
//
@@ -480,19 +501,19 @@ namespace FEQ0000.Purchase
this.arLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel1.Location = new System.Drawing.Point(0, 0);
this.arLabel1.Name = "arLabel1";
this.arLabel1.Size = new System.Drawing.Size(552, 23);
this.arLabel1.Size = new System.Drawing.Size(584, 23);
this.arLabel1.TabIndex = 86;
this.arLabel1.Text = "품목정보";
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// textBox15
// tbPumname
//
this.textBox15.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox15.Location = new System.Drawing.Point(104, 30);
this.textBox15.Name = "textBox15";
this.textBox15.ReadOnly = true;
this.textBox15.Size = new System.Drawing.Size(303, 21);
this.textBox15.TabIndex = 1;
this.tbPumname.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPumname.Location = new System.Drawing.Point(104, 30);
this.tbPumname.Name = "tbPumname";
this.tbPumname.ReadOnly = true;
this.tbPumname.Size = new System.Drawing.Size(303, 21);
this.tbPumname.TabIndex = 1;
//
// textBox16
//
@@ -506,7 +527,9 @@ namespace FEQ0000.Purchase
// panel3
//
this.panel3.BackColor = System.Drawing.Color.Gainsboro;
this.panel3.Controls.Add(this.tbInRemar);
this.panel3.Controls.Add(this.tbInPrice);
this.panel3.Controls.Add(label13);
this.panel3.Controls.Add(this.tbInRemark);
this.panel3.Controls.Add(label7);
this.panel3.Controls.Add(this.tbInQty);
this.panel3.Controls.Add(label8);
@@ -517,37 +540,39 @@ namespace FEQ0000.Purchase
this.panel3.Controls.Add(this.btOK);
this.panel3.Controls.Add(this.arLabel3);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 326);
this.panel3.Location = new System.Drawing.Point(0, 427);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(552, 213);
this.panel3.Size = new System.Drawing.Size(584, 313);
this.panel3.TabIndex = 89;
//
// tbInRemar
// tbInRemark
//
this.tbInRemar.Enabled = false;
this.tbInRemar.Location = new System.Drawing.Point(104, 136);
this.tbInRemar.Margin = new System.Windows.Forms.Padding(4);
this.tbInRemar.Multiline = true;
this.tbInRemar.Name = "tbInRemar";
this.tbInRemar.Size = new System.Drawing.Size(286, 70);
this.tbInRemar.TabIndex = 110;
this.tbInRemark.Enabled = false;
this.tbInRemark.Location = new System.Drawing.Point(113, 234);
this.tbInRemark.Margin = new System.Windows.Forms.Padding(4);
this.tbInRemark.Multiline = true;
this.tbInRemark.Name = "tbInRemark";
this.tbInRemark.Size = new System.Drawing.Size(286, 70);
this.tbInRemark.TabIndex = 110;
//
// tbInQty
//
this.tbInQty.Enabled = false;
this.tbInQty.Location = new System.Drawing.Point(104, 101);
this.tbInQty.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbInQty.Location = new System.Drawing.Point(113, 149);
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 21);
this.tbInQty.Size = new System.Drawing.Size(286, 34);
this.tbInQty.TabIndex = 108;
//
// chkInDate
//
this.chkInDate.AutoSize = true;
this.chkInDate.Location = new System.Drawing.Point(25, 68);
this.chkInDate.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.chkInDate.Location = new System.Drawing.Point(17, 110);
this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
this.chkInDate.Name = "chkInDate";
this.chkInDate.Size = new System.Drawing.Size(60, 16);
this.chkInDate.Size = new System.Drawing.Size(91, 32);
this.chkInDate.TabIndex = 103;
this.chkInDate.TabStop = false;
this.chkInDate.Text = "입고일";
@@ -557,10 +582,11 @@ namespace FEQ0000.Purchase
// dtInDate
//
this.dtInDate.Enabled = false;
this.dtInDate.Location = new System.Drawing.Point(104, 66);
this.dtInDate.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.dtInDate.Location = new System.Drawing.Point(113, 108);
this.dtInDate.Margin = new System.Windows.Forms.Padding(4);
this.dtInDate.Name = "dtInDate";
this.dtInDate.Size = new System.Drawing.Size(286, 21);
this.dtInDate.Size = new System.Drawing.Size(286, 34);
this.dtInDate.TabIndex = 104;
this.dtInDate.TabStop = false;
//
@@ -570,21 +596,22 @@ namespace FEQ0000.Purchase
this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbReceive.Enabled = false;
this.cmbReceive.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cmbReceive.FormattingEnabled = true;
this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.cmbReceive.Location = new System.Drawing.Point(104, 30);
this.cmbReceive.Location = new System.Drawing.Point(17, 56);
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(286, 20);
this.cmbReceive.Size = new System.Drawing.Size(382, 45);
this.cmbReceive.TabIndex = 106;
//
// btOK
//
this.btOK.Dock = System.Windows.Forms.DockStyle.Right;
this.btOK.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btOK.Location = new System.Drawing.Point(413, 23);
this.btOK.Location = new System.Drawing.Point(445, 23);
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(139, 190);
this.btOK.Size = new System.Drawing.Size(139, 290);
this.btOK.TabIndex = 102;
this.btOK.Text = "등록";
this.btOK.UseVisualStyleBackColor = true;
@@ -599,17 +626,87 @@ namespace FEQ0000.Purchase
this.arLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(85)))), ((int)(((byte)(85)))), ((int)(((byte)(85)))));
this.arLabel3.Location = new System.Drawing.Point(0, 0);
this.arLabel3.Name = "arLabel3";
this.arLabel3.Size = new System.Drawing.Size(552, 23);
this.arLabel3.Size = new System.Drawing.Size(584, 23);
this.arLabel3.TabIndex = 86;
this.arLabel3.Text = "입고정보";
this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tbInPrice
//
this.tbInPrice.Enabled = false;
this.tbInPrice.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbInPrice.Location = new System.Drawing.Point(113, 191);
this.tbInPrice.Margin = new System.Windows.Forms.Padding(4);
this.tbInPrice.Name = "tbInPrice";
this.tbInPrice.Size = new System.Drawing.Size(286, 34);
this.tbInPrice.TabIndex = 112;
this.tbInPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// label13
//
label13.AutoSize = true;
label13.Font = new System.Drawing.Font("맑은 고딕", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
label13.Location = new System.Drawing.Point(56, 195);
label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label13.Name = "label13";
label13.Size = new System.Drawing.Size(52, 28);
label13.TabIndex = 111;
label13.Text = "단가";
//
// tbPO
//
this.tbPO.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbPO.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbPO.Location = new System.Drawing.Point(104, 145);
this.tbPO.Name = "tbPO";
this.tbPO.ReadOnly = true;
this.tbPO.Size = new System.Drawing.Size(437, 38);
this.tbPO.TabIndex = 93;
//
// label14
//
label14.AutoSize = true;
label14.Location = new System.Drawing.Point(76, 148);
label14.Name = "label14";
label14.Size = new System.Drawing.Size(22, 12);
label14.TabIndex = 92;
label14.Text = "PO";
//
// tbSC
//
this.tbSC.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbSC.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbSC.Location = new System.Drawing.Point(104, 189);
this.tbSC.Name = "tbSC";
this.tbSC.ReadOnly = true;
this.tbSC.Size = new System.Drawing.Size(232, 38);
this.tbSC.TabIndex = 95;
//
// label10
//
label10.AutoSize = true;
label10.Location = new System.Drawing.Point(9, 203);
label10.Name = "label10";
label10.Size = new System.Drawing.Size(89, 12);
label10.TabIndex = 94;
label10.Text = "SC / SCR/CF#";
//
// tbSCRCF
//
this.tbSCRCF.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbSCRCF.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbSCRCF.Location = new System.Drawing.Point(340, 190);
this.tbSCRCF.Name = "tbSCRCF";
this.tbSCRCF.ReadOnly = true;
this.tbSCRCF.Size = new System.Drawing.Size(232, 38);
this.tbSCRCF.TabIndex = 96;
//
// fPurchaseCR_Ipgo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.ClientSize = new System.Drawing.Size(552, 539);
this.ClientSize = new System.Drawing.Size(584, 740);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
@@ -646,20 +743,24 @@ namespace FEQ0000.Purchase
private System.Windows.Forms.TextBox tbUnit;
private System.Windows.Forms.TextBox tbModel;
private System.Windows.Forms.Label arLabel1;
private System.Windows.Forms.TextBox textBox15;
private System.Windows.Forms.TextBox tbPumname;
private System.Windows.Forms.TextBox textBox16;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label arLabel3;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.TextBox textBox10;
private System.Windows.Forms.TextBox tbQty;
private System.Windows.Forms.TextBox tbAmt;
private System.Windows.Forms.TextBox tbPriceO;
private System.Windows.Forms.TextBox tbRemarkO;
private System.Windows.Forms.Button btOK;
private System.Windows.Forms.TextBox tbInRemar;
private System.Windows.Forms.TextBox tbInRemark;
private System.Windows.Forms.TextBox tbInQty;
private System.Windows.Forms.CheckBox chkInDate;
private System.Windows.Forms.DateTimePicker dtInDate;
private System.Windows.Forms.ComboBox cmbReceive;
private System.Windows.Forms.TextBox tbPrjStatus;
private System.Windows.Forms.TextBox tbInPrice;
private System.Windows.Forms.TextBox tbPO;
private System.Windows.Forms.TextBox tbSC;
private System.Windows.Forms.TextBox tbSCRCF;
}
}

View File

@@ -39,14 +39,18 @@ namespace FEQ0000.Purchase
var dr = dt.First();
prestatus = dr.state;
textBox15.Text = dr.pumname;
tbPumname.Text = dr.pumname;
textBox16.Text = dr.pumidx.ToString();
tbModel.Text = dr.pumscale;
tbUnit.Text = dr.pumunit;
textBox3.Text = dr.pumqty.ToString();
textBox8.Text = dr.pumprice.ToString();
textBox9.Text = (dr.pumqty * dr.pumprice).ToString();
textBox10.Text = dr.bigo;
tbQty.Text = dr.pumqty.ToString();
tbPriceO.Text = dr.pumprice.ToString();
tbInPrice.Text = dr.pumprice.ToString();
tbAmt.Text = (dr.pumqty * dr.pumprice).ToString();
tbRemarkO.Text = dr.bigo;
tbPO.Text = dr.po;
tbSC.Text = dr.sc;
tbSCRCF.Text = dr.orderno;
//프로젝트정보 찾는다
var tap = new DSPrjTableAdapters.ProjectsTableAdapter();
@@ -70,6 +74,7 @@ namespace FEQ0000.Purchase
tbPrjSerial.Text = drp.serial;
tbPrjProcess.Text = drp.process;
tbPrjIdx.Text = drp.idx.ToString();
var userList = FCOMMON.DBM.getUserList(); //.getGroupList("name", "Users", "[level] > 0 and [level] < 10");
@@ -91,15 +96,18 @@ namespace FEQ0000.Purchase
else dtInDate.Value = DateTime.Now;
chkInDate.Checked = true;
tbInQty.Text = dr.inqty.ToString();
tbInRemar.Text = dr.inremark;
tbInRemark.Text = dr.inremark;
}
else
{
//설정정보가 없다면 비활성화해준다
cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
//요청자의 정보를 쓴다
cmbReceive.Text = $"[{dr.request}] {dr.requestName}";// FCOMMON.DBM.GetcurrentUserNoName();//[dev] 개발자
dtInDate.Value = DateTime.Now;
chkInDate.Checked = false;
chkInDate_CheckedChanged(null, null);
tbInQty.Text = dr.pumqty.ToString();
chkInDate_CheckedChanged(null, null);
}
@@ -128,6 +136,24 @@ namespace FEQ0000.Purchase
}
else
{
//단가확인
var pricestr = tbInPrice.Text.Replace(",", "").Trim();
if (decimal.TryParse(pricestr, out decimal price) == false)
{
FCOMMON.Util.MsgE("단가를 다시 입력하세요");
tbInPrice.Focus();
tbInPrice.SelectAll();
return;
}
else
{
if (dr.pumprice != price)
{
dr.pumprice = price;
dr.SetpumpriceDNull();
}
}
dr.indate = dtInDate.Value.ToShortDateString();
dr.receive = cmbReceive.Text.Substring(1, cmbReceive.Text.IndexOf("]") - 1);
// dr.receiveName = cmbReceive.Text.Substring(cmbReceive.Text.IndexOf("]") + 1).Trim();
@@ -140,7 +166,7 @@ namespace FEQ0000.Purchase
}
else
{
if (qty > int.Parse(textBox3.Text))
if (qty > int.Parse(tbQty.Text))
{
if (FCOMMON.Util.MsgQ("입고수량이 주문수량보다 많습니다 입력 할까요?") != DialogResult.Yes)
return;
@@ -148,7 +174,7 @@ namespace FEQ0000.Purchase
dr.inqty = qty;
}
dr.state = "Received";
dr.inremark = tbInRemar.Text.Trim();
dr.inremark = tbInRemark.Text.Trim();
}
dr.EndEdit();
@@ -159,12 +185,13 @@ namespace FEQ0000.Purchase
private void chkInDate_CheckedChanged(object sender, EventArgs e)
{
dtInDate.Enabled = chkInDate.Checked;
cmbReceive.Enabled = chkInDate.Checked;
cmbReceive.Enabled = true;// chkInDate.Checked;
tbInQty.Enabled = chkInDate.Checked;
tbInRemar.Enabled = chkInDate.Checked;
if (chkInDate.Checked == false)
cmbReceive.SelectedIndex = -1;
else cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
tbInPrice.Enabled = chkInDate.Checked;
tbInRemark.Enabled = chkInDate.Checked;
//if (chkInDate.Checked == false)
// cmbReceive.SelectedIndex = -1;
//else cmbReceive.Text = $"[{dr.request}] {dr.requestName}";// FCOMMON.DBM.GetcurrentUserNoName();
}
}

View File

@@ -168,4 +168,13 @@
<metadata name="receiveLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label10.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label14.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label13.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>