구매신청화면에서 콤보를 버튼으로 변경하고 db검색 validation 기능 추가, 품목 추가시 sid검색기능도 추가 함

This commit is contained in:
chi
2023-07-31 17:20:19 +09:00
parent 4a6bf3d0f0
commit d8ddd7cfa7
31 changed files with 2807 additions and 3170 deletions

View File

@@ -48,6 +48,8 @@
System.Windows.Forms.Label label10;
System.Windows.Forms.Label label2;
System.Windows.Forms.Label label4;
System.Windows.Forms.Label label7;
System.Windows.Forms.Label label11;
this.tbSC = new System.Windows.Forms.TextBox();
this.tbSID = new System.Windows.Forms.TextBox();
this.tbPumName = new System.Windows.Forms.TextBox();
@@ -82,6 +84,8 @@
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.tbLineCode = new System.Windows.Forms.TextBox();
this.tbCostCenter = new System.Windows.Forms.TextBox();
this.tbInRemar = new System.Windows.Forms.TextBox();
this.tbInQty = new System.Windows.Forms.TextBox();
this.tbOrderNo = new System.Windows.Forms.TextBox();
@@ -92,6 +96,7 @@
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.chk2 = new System.Windows.Forms.CheckBox();
this.chk1 = new System.Windows.Forms.CheckBox();
this.button7 = new System.Windows.Forms.Button();
receiveLabel = new System.Windows.Forms.Label();
scLabel = new System.Windows.Forms.Label();
sidLabel = new System.Windows.Forms.Label();
@@ -110,6 +115,8 @@
label10 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
label4 = new System.Windows.Forms.Label();
label7 = new System.Windows.Forms.Label();
label11 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
@@ -119,7 +126,7 @@
// receiveLabel
//
receiveLabel.AutoSize = true;
receiveLabel.Location = new System.Drawing.Point(44, 174);
receiveLabel.Location = new System.Drawing.Point(44, 159);
receiveLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
receiveLabel.Name = "receiveLabel";
receiveLabel.Size = new System.Drawing.Size(54, 20);
@@ -199,7 +206,7 @@
// deptLabel
//
deptLabel.AutoSize = true;
deptLabel.Location = new System.Drawing.Point(13, 377);
deptLabel.Location = new System.Drawing.Point(14, 426);
deptLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
deptLabel.Name = "deptLabel";
deptLabel.Size = new System.Drawing.Size(39, 20);
@@ -283,7 +290,7 @@
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(29, 245);
label2.Location = new System.Drawing.Point(29, 230);
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(69, 20);
@@ -293,13 +300,33 @@
// label4
//
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(19, 280);
label4.Location = new System.Drawing.Point(19, 265);
label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(79, 20);
label4.TabIndex = 16;
label4.Text = "비고(입고)";
//
// label7
//
label7.AutoSize = true;
label7.Location = new System.Drawing.Point(20, 373);
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label7.Name = "label7";
label7.Size = new System.Drawing.Size(78, 20);
label7.TabIndex = 20;
label7.Text = "Line Code";
//
// label11
//
label11.AutoSize = true;
label11.Location = new System.Drawing.Point(9, 343);
label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label11.Name = "label11";
label11.Size = new System.Drawing.Size(89, 20);
label11.TabIndex = 18;
label11.Text = "Cost Center";
//
// tbSC
//
this.tbSC.Location = new System.Drawing.Point(104, 61);
@@ -439,12 +466,12 @@
// tbBigo
//
this.tbBigo.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tbBigo.Location = new System.Drawing.Point(11, 401);
this.tbBigo.Location = new System.Drawing.Point(12, 450);
this.tbBigo.Margin = new System.Windows.Forms.Padding(4);
this.tbBigo.MaxLength = 500;
this.tbBigo.Multiline = true;
this.tbBigo.Name = "tbBigo";
this.tbBigo.Size = new System.Drawing.Size(910, 130);
this.tbBigo.Size = new System.Drawing.Size(490, 130);
this.tbBigo.TabIndex = 28;
this.tbBigo.TabStop = false;
this.toolTip1.SetToolTip(this.tbBigo, resources.GetString("tbBigo.ToolTip"));
@@ -460,7 +487,7 @@
// btSave
//
this.btSave.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btSave.Location = new System.Drawing.Point(11, 539);
this.btSave.Location = new System.Drawing.Point(12, 588);
this.btSave.Margin = new System.Windows.Forms.Padding(4);
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(490, 80);
@@ -500,7 +527,7 @@
this.cmbReceive.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbReceive.FormattingEnabled = true;
this.cmbReceive.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.cmbReceive.Location = new System.Drawing.Point(104, 170);
this.cmbReceive.Location = new System.Drawing.Point(104, 155);
this.cmbReceive.Margin = new System.Windows.Forms.Padding(4);
this.cmbReceive.Name = "cmbReceive";
this.cmbReceive.Size = new System.Drawing.Size(286, 28);
@@ -532,7 +559,7 @@
//
// dtInDate
//
this.dtInDate.Location = new System.Drawing.Point(104, 206);
this.dtInDate.Location = new System.Drawing.Point(104, 191);
this.dtInDate.Margin = new System.Windows.Forms.Padding(4);
this.dtInDate.Name = "dtInDate";
this.dtInDate.Size = new System.Drawing.Size(286, 27);
@@ -542,7 +569,7 @@
// chkInDate
//
this.chkInDate.AutoSize = true;
this.chkInDate.Location = new System.Drawing.Point(25, 208);
this.chkInDate.Location = new System.Drawing.Point(25, 193);
this.chkInDate.Margin = new System.Windows.Forms.Padding(4);
this.chkInDate.Name = "chkInDate";
this.chkInDate.Size = new System.Drawing.Size(73, 24);
@@ -577,7 +604,7 @@
// btSaveAdd
//
this.btSaveAdd.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btSaveAdd.Location = new System.Drawing.Point(511, 539);
this.btSaveAdd.Location = new System.Drawing.Point(512, 588);
this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4);
this.btSaveAdd.Name = "btSaveAdd";
this.btSaveAdd.Size = new System.Drawing.Size(410, 80);
@@ -625,7 +652,7 @@
this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
this.groupBox1.Size = new System.Drawing.Size(490, 363);
this.groupBox1.Size = new System.Drawing.Size(490, 410);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "필수입력";
@@ -695,6 +722,11 @@
// groupBox2
//
this.groupBox2.BackColor = System.Drawing.Color.Gainsboro;
this.groupBox2.Controls.Add(this.button7);
this.groupBox2.Controls.Add(this.tbLineCode);
this.groupBox2.Controls.Add(label7);
this.groupBox2.Controls.Add(this.tbCostCenter);
this.groupBox2.Controls.Add(label11);
this.groupBox2.Controls.Add(this.tbInRemar);
this.groupBox2.Controls.Add(label4);
this.groupBox2.Controls.Add(this.tbInQty);
@@ -715,14 +747,30 @@
this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
this.groupBox2.Size = new System.Drawing.Size(409, 362);
this.groupBox2.Size = new System.Drawing.Size(409, 573);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "추가정보";
//
// tbLineCode
//
this.tbLineCode.Location = new System.Drawing.Point(104, 370);
this.tbLineCode.Margin = new System.Windows.Forms.Padding(4);
this.tbLineCode.Name = "tbLineCode";
this.tbLineCode.Size = new System.Drawing.Size(286, 27);
this.tbLineCode.TabIndex = 21;
//
// tbCostCenter
//
this.tbCostCenter.Location = new System.Drawing.Point(104, 339);
this.tbCostCenter.Margin = new System.Windows.Forms.Padding(4);
this.tbCostCenter.Name = "tbCostCenter";
this.tbCostCenter.Size = new System.Drawing.Size(286, 27);
this.tbCostCenter.TabIndex = 19;
//
// tbInRemar
//
this.tbInRemar.Location = new System.Drawing.Point(104, 276);
this.tbInRemar.Location = new System.Drawing.Point(104, 261);
this.tbInRemar.Margin = new System.Windows.Forms.Padding(4);
this.tbInRemar.Multiline = true;
this.tbInRemar.Name = "tbInRemar";
@@ -732,7 +780,7 @@
//
// tbInQty
//
this.tbInQty.Location = new System.Drawing.Point(104, 241);
this.tbInQty.Location = new System.Drawing.Point(104, 226);
this.tbInQty.Margin = new System.Windows.Forms.Padding(4);
this.tbInQty.Name = "tbInQty";
this.tbInQty.Size = new System.Drawing.Size(286, 27);
@@ -770,7 +818,7 @@
//
this.chk2.AutoSize = true;
this.chk2.Enabled = false;
this.chk2.Location = new System.Drawing.Point(787, 374);
this.chk2.Location = new System.Drawing.Point(369, 422);
this.chk2.Name = "chk2";
this.chk2.Size = new System.Drawing.Size(133, 24);
this.chk2.TabIndex = 44;
@@ -781,19 +829,30 @@
//
this.chk1.AutoSize = true;
this.chk1.Enabled = false;
this.chk1.Location = new System.Drawing.Point(680, 374);
this.chk1.Location = new System.Drawing.Point(262, 422);
this.chk1.Name = "chk1";
this.chk1.Size = new System.Drawing.Size(103, 24);
this.chk1.TabIndex = 43;
this.chk1.Text = "요청자확인";
this.chk1.UseVisualStyleBackColor = true;
//
// button7
//
this.button7.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button7.Location = new System.Drawing.Point(4, 534);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(401, 35);
this.button7.TabIndex = 37;
this.button7.Text = "견적서폴더";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click_1);
//
// fPurchaseCR_Add
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
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(928, 628);
this.ClientSize = new System.Drawing.Size(928, 681);
this.Controls.Add(this.chk2);
this.Controls.Add(this.chk1);
this.Controls.Add(this.groupBox2);
@@ -867,5 +926,8 @@
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.CheckBox chk2;
private System.Windows.Forms.CheckBox chk1;
private System.Windows.Forms.TextBox tbLineCode;
private System.Windows.Forms.TextBox tbCostCenter;
private System.Windows.Forms.Button button7;
}
}