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

@@ -39,14 +39,16 @@ namespace FEQ0000.Purchase
System.Windows.Forms.Label label3;
System.Windows.Forms.Label label2;
System.Windows.Forms.Label nameLabel;
System.Windows.Forms.Label label15;
System.Windows.Forms.Label label16;
System.Windows.Forms.Label label20;
System.Windows.Forms.Label label1;
System.Windows.Forms.Label label6;
System.Windows.Forms.Label label7;
System.Windows.Forms.Label label8;
System.Windows.Forms.Label receiveLabel;
System.Windows.Forms.Label label13;
System.Windows.Forms.Label label10;
System.Windows.Forms.Label label14;
System.Windows.Forms.Label label6;
System.Windows.Forms.Label label1;
this.panel1 = new System.Windows.Forms.Panel();
this.tbPrjStatus = new System.Windows.Forms.TextBox();
this.tbPrjIdx = new System.Windows.Forms.TextBox();
@@ -60,24 +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.textBox11 = new System.Windows.Forms.TextBox();
this.textBox13 = new System.Windows.Forms.TextBox();
this.textBox14 = 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.cmbReceive = new System.Windows.Forms.ComboBox();
this.tbInPrice = new System.Windows.Forms.TextBox();
this.tbSCRCF = new System.Windows.Forms.TextBox();
this.tbSC = new System.Windows.Forms.TextBox();
this.tbPO = 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();
label17 = new System.Windows.Forms.Label();
label12 = new System.Windows.Forms.Label();
label11 = new System.Windows.Forms.Label();
@@ -88,14 +93,16 @@ namespace FEQ0000.Purchase
label3 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
nameLabel = new System.Windows.Forms.Label();
label15 = new System.Windows.Forms.Label();
label16 = new System.Windows.Forms.Label();
label20 = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label();
label7 = new System.Windows.Forms.Label();
label8 = new System.Windows.Forms.Label();
receiveLabel = new System.Windows.Forms.Label();
label13 = new System.Windows.Forms.Label();
label10 = new System.Windows.Forms.Label();
label14 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
@@ -198,23 +205,14 @@ namespace FEQ0000.Purchase
nameLabel.TabIndex = 0;
nameLabel.Text = "프로젝트";
//
// label15
//
label15.AutoSize = true;
label15.Location = new System.Drawing.Point(40, 81);
label15.Name = "label15";
label15.Size = new System.Drawing.Size(59, 12);
label15.TabIndex = 6;
label15.Text = "규격/단위";
//
// label16
//
label16.AutoSize = true;
label16.Location = new System.Drawing.Point(70, 57);
label16.Location = new System.Drawing.Point(40, 57);
label16.Name = "label16";
label16.Size = new System.Drawing.Size(29, 12);
label16.Size = new System.Drawing.Size(59, 12);
label16.TabIndex = 2;
label16.Text = "모델";
label16.Text = "모델/단위";
//
// label20
//
@@ -225,28 +223,10 @@ namespace FEQ0000.Purchase
label20.TabIndex = 0;
label20.Text = "품명";
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(10, 106);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(89, 12);
label1.TabIndex = 87;
label1.Text = "수량/단가/금액";
//
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(70, 131);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(29, 12);
label6.TabIndex = 87;
label6.Text = "비고";
//
// label7
//
label7.AutoSize = true;
label7.Location = new System.Drawing.Point(19, 140);
label7.Location = new System.Drawing.Point(52, 225);
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label7.Name = "label7";
label7.Size = new System.Drawing.Size(63, 12);
@@ -256,23 +236,14 @@ 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(23, 149);
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.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(41, 12);
receiveLabel.TabIndex = 105;
receiveLabel.Text = "수령인";
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Gainsboro;
@@ -300,7 +271,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
@@ -385,7 +356,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;
@@ -411,88 +382,46 @@ 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.textBox11);
this.panel2.Controls.Add(this.textBox13);
this.panel2.Controls.Add(label15);
this.panel2.Controls.Add(this.textBox14);
this.panel2.Controls.Add(this.tbUnit);
this.panel2.Controls.Add(this.tbModel);
this.panel2.Controls.Add(this.arLabel1);
this.panel2.Controls.Add(label16);
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, 158);
this.panel2.Size = new System.Drawing.Size(584, 234);
this.panel2.TabIndex = 88;
//
// textBox10
// tbUnit
//
this.textBox10.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox10.Location = new System.Drawing.Point(103, 128);
this.textBox10.Name = "textBox10";
this.textBox10.ReadOnly = true;
this.textBox10.Size = new System.Drawing.Size(437, 21);
this.textBox10.TabIndex = 91;
this.tbUnit.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbUnit.Location = new System.Drawing.Point(413, 54);
this.tbUnit.Name = "tbUnit";
this.tbUnit.ReadOnly = true;
this.tbUnit.Size = new System.Drawing.Size(127, 21);
this.tbUnit.TabIndex = 7;
//
// textBox9
// tbModel
//
this.textBox9.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox9.Location = new System.Drawing.Point(370, 102);
this.textBox9.Name = "textBox9";
this.textBox9.ReadOnly = true;
this.textBox9.Size = new System.Drawing.Size(127, 21);
this.textBox9.TabIndex = 90;
//
// textBox8
//
this.textBox8.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox8.Location = new System.Drawing.Point(237, 102);
this.textBox8.Name = "textBox8";
this.textBox8.ReadOnly = true;
this.textBox8.Size = new System.Drawing.Size(127, 21);
this.textBox8.TabIndex = 89;
//
// textBox3
//
this.textBox3.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox3.Location = new System.Drawing.Point(104, 102);
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.Size = new System.Drawing.Size(127, 21);
this.textBox3.TabIndex = 88;
//
// textBox11
//
this.textBox11.Location = new System.Drawing.Point(237, 77);
this.textBox11.Name = "textBox11";
this.textBox11.ReadOnly = true;
this.textBox11.Size = new System.Drawing.Size(127, 21);
this.textBox11.TabIndex = 13;
this.textBox11.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// textBox13
//
this.textBox13.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.textBox13.Location = new System.Drawing.Point(104, 77);
this.textBox13.Name = "textBox13";
this.textBox13.ReadOnly = true;
this.textBox13.Size = new System.Drawing.Size(127, 21);
this.textBox13.TabIndex = 7;
//
// textBox14
//
this.textBox14.Location = new System.Drawing.Point(104, 53);
this.textBox14.Name = "textBox14";
this.textBox14.ReadOnly = true;
this.textBox14.Size = new System.Drawing.Size(252, 21);
this.textBox14.TabIndex = 3;
this.tbModel.Location = new System.Drawing.Point(104, 53);
this.tbModel.Name = "tbModel";
this.tbModel.ReadOnly = true;
this.tbModel.Size = new System.Drawing.Size(302, 21);
this.tbModel.TabIndex = 3;
//
// arLabel1
//
@@ -503,19 +432,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
//
@@ -529,48 +458,52 @@ 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(receiveLabel);
this.panel3.Controls.Add(this.cmbReceive);
this.panel3.Controls.Add(this.tbInRemark);
this.panel3.Controls.Add(label7);
this.panel3.Controls.Add(this.tbInQty);
this.panel3.Controls.Add(label8);
this.panel3.Controls.Add(this.chkInDate);
this.panel3.Controls.Add(this.dtInDate);
this.panel3.Controls.Add(receiveLabel);
this.panel3.Controls.Add(this.cmbReceive);
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, 351);
this.panel3.Location = new System.Drawing.Point(0, 427);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(552, 220);
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(120, 221);
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(120, 145);
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(24, 112);
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 = "입고일";
@@ -580,34 +513,21 @@ 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(120, 110);
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;
//
// cmbReceive
//
this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cmbReceive.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbReceive.Enabled = false;
this.cmbReceive.FormattingEnabled = true;
this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.cmbReceive.Location = new System.Drawing.Point(104, 30);
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(286, 20);
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, 197);
this.btOK.Size = new System.Drawing.Size(139, 290);
this.btOK.TabIndex = 102;
this.btOK.Text = "등록";
this.btOK.UseVisualStyleBackColor = true;
@@ -622,16 +542,170 @@ 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;
//
// receiveLabel
//
receiveLabel.AutoSize = true;
receiveLabel.Location = new System.Drawing.Point(25, 38);
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(41, 12);
receiveLabel.TabIndex = 111;
receiveLabel.Text = "수령인";
//
// cmbReceive
//
this.cmbReceive.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
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(24, 59);
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(382, 45);
this.cmbReceive.TabIndex = 112;
//
// 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(120, 183);
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 = 114;
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(63, 187);
label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label13.Name = "label13";
label13.Size = new System.Drawing.Size(52, 28);
label13.TabIndex = 113;
label13.Text = "단가";
//
// 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, 189);
this.tbSCRCF.Name = "tbSCRCF";
this.tbSCRCF.ReadOnly = true;
this.tbSCRCF.Size = new System.Drawing.Size(232, 38);
this.tbSCRCF.TabIndex = 107;
//
// 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, 188);
this.tbSC.Name = "tbSC";
this.tbSC.ReadOnly = true;
this.tbSC.Size = new System.Drawing.Size(232, 38);
this.tbSC.TabIndex = 106;
//
// label10
//
label10.AutoSize = true;
label10.Location = new System.Drawing.Point(9, 202);
label10.Name = "label10";
label10.Size = new System.Drawing.Size(89, 12);
label10.TabIndex = 105;
label10.Text = "SC / SCR/CF#";
//
// 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, 144);
this.tbPO.Name = "tbPO";
this.tbPO.ReadOnly = true;
this.tbPO.Size = new System.Drawing.Size(437, 38);
this.tbPO.TabIndex = 104;
//
// label14
//
label14.AutoSize = true;
label14.Location = new System.Drawing.Point(76, 147);
label14.Name = "label14";
label14.Size = new System.Drawing.Size(22, 12);
label14.TabIndex = 103;
label14.Text = "PO";
//
// tbRemarkO
//
this.tbRemarkO.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbRemarkO.Location = new System.Drawing.Point(104, 117);
this.tbRemarkO.Name = "tbRemarkO";
this.tbRemarkO.ReadOnly = true;
this.tbRemarkO.Size = new System.Drawing.Size(437, 21);
this.tbRemarkO.TabIndex = 102;
//
// tbAmt
//
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, 79);
this.tbAmt.Name = "tbAmt";
this.tbAmt.ReadOnly = true;
this.tbAmt.Size = new System.Drawing.Size(200, 34);
this.tbAmt.TabIndex = 101;
this.tbAmt.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// tbPriceO
//
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, 79);
this.tbPriceO.Name = "tbPriceO";
this.tbPriceO.ReadOnly = true;
this.tbPriceO.Size = new System.Drawing.Size(129, 34);
this.tbPriceO.TabIndex = 100;
this.tbPriceO.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// tbQty
//
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, 79);
this.tbQty.Name = "tbQty";
this.tbQty.ReadOnly = true;
this.tbQty.Size = new System.Drawing.Size(127, 34);
this.tbQty.TabIndex = 99;
//
// label6
//
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(69, 120);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(29, 12);
label6.TabIndex = 97;
label6.Text = "비고";
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(9, 90);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(89, 12);
label1.TabIndex = 98;
label1.Text = "수량/단가/금액";
//
// fPurchaseNR_Ipgo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(552, 571);
this.ClientSize = new System.Drawing.Size(584, 740);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
@@ -665,24 +739,27 @@ namespace FEQ0000.Purchase
private System.Windows.Forms.TextBox tbPrjName;
private System.Windows.Forms.TextBox tbIdx;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox textBox11;
private System.Windows.Forms.TextBox textBox13;
private System.Windows.Forms.TextBox textBox14;
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.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.ComboBox cmbReceive;
private System.Windows.Forms.TextBox tbInPrice;
private System.Windows.Forms.TextBox tbSCRCF;
private System.Windows.Forms.TextBox tbSC;
private System.Windows.Forms.TextBox tbPO;
private System.Windows.Forms.TextBox tbRemarkO;
private System.Windows.Forms.TextBox tbAmt;
private System.Windows.Forms.TextBox tbPriceO;
private System.Windows.Forms.TextBox tbQty;
}
}

View File

@@ -38,14 +38,18 @@ namespace FEQ0000.Purchase
var dr = dt.First();
prestatus = dr.state;
textBox15.Text = dr.pumname;
tbPumname.Text = dr.pumname;
textBox16.Text = dr.pumidx.ToString();
textBox13.Text = dr.pumscale;
textBox11.Text = dr.pumunit;
textBox3.Text = dr.pumqty.ToString();
textBox8.Text = dr.pumprice.ToString();
textBox9.Text = (dr.pumqty * dr.pumprice).ToString();
textBox10.Text = dr.bigo;
tbModel.Text = dr.pumscale;
tbUnit.Text = dr.pumunit;
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();
@@ -90,14 +94,15 @@ 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();
dtInDate.Value = DateTime.Now;
chkInDate.Checked = false;
tbInQty.Text = dr.pumqty.ToString();
chkInDate_CheckedChanged(null, null);
}
@@ -138,7 +143,7 @@ namespace FEQ0000.Purchase
}
else
{
if (qty > int.Parse(textBox3.Text))
if (qty > int.Parse(tbQty.Text))
{
if (FCOMMON.Util.MsgQ("입고수량이 주문수량보다 많습니다 입력 할까요?") != DialogResult.Yes)
return;
@@ -146,7 +151,7 @@ namespace FEQ0000.Purchase
dr.inqty = qty;
}
dr.state = "Received";
dr.inremark = tbInRemar.Text.Trim();
dr.inremark = tbInRemark.Text.Trim();
}
dr.EndEdit();
@@ -159,10 +164,10 @@ namespace FEQ0000.Purchase
dtInDate.Enabled = chkInDate.Checked;
cmbReceive.Enabled = chkInDate.Checked;
tbInQty.Enabled = chkInDate.Checked;
tbInRemar.Enabled = chkInDate.Checked;
if (chkInDate.Checked == false)
cmbReceive.SelectedIndex = -1;
else cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
tbInRemark.Enabled = chkInDate.Checked;
//if (chkInDate.Checked == false)
// cmbReceive.SelectedIndex = -1;
//else cmbReceive.Text = FCOMMON.DBM.GetcurrentUserNoName();
}
}

View File

@@ -147,27 +147,33 @@
<metadata name="nameLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label16.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label20.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label8.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="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label1.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>
<metadata name="receiveLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>