From 4a6bf3d0f0373c80c4aff83bf97316d9bbf95c9b Mon Sep 17 00:00:00 2001 From: chi Date: Mon, 17 Jul 2023 08:29:27 +0900 Subject: [PATCH] spm --- Project/Properties/AssemblyInfo.cs | 4 +- SubProject/FCM0000/Item/fItemAdd.Designer.cs | 611 +++++++++--------- SubProject/FCM0000/Item/fItemAdd.cs | 2 + SubProject/FCM0000/Item/fItemAdd.resx | 5 +- SubProject/FCM0000/Item/fLovItem.cs | 1 + SubProject/FEQ0000/Purchase/fPurchaseNR.cs | 5 + .../FEQ0000/Purchase/fSIDCheckNR.Designer.cs | 370 ++++++----- SubProject/FEQ0000/Purchase/fSIDCheckNR.cs | 8 + SubProject/FEQ0000/Purchase/fSIDCheckNR.resx | 29 +- SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs | 5 + 10 files changed, 557 insertions(+), 483 deletions(-) diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 97cd70c..4dabaf5 100644 --- a/Project/Properties/AssemblyInfo.cs +++ b/Project/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 지정되도록 할 수 있습니다. // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("23.07.14.1130")] -[assembly: AssemblyFileVersion("23.07.14.1130")] +[assembly: AssemblyVersion("23.07.17.0830")] +[assembly: AssemblyFileVersion("23.07.17.0830")] diff --git a/SubProject/FCM0000/Item/fItemAdd.Designer.cs b/SubProject/FCM0000/Item/fItemAdd.Designer.cs index d839a4c..62782f6 100644 --- a/SubProject/FCM0000/Item/fItemAdd.Designer.cs +++ b/SubProject/FCM0000/Item/fItemAdd.Designer.cs @@ -28,304 +28,319 @@ /// private void InitializeComponent() { - System.Windows.Forms.Label nameLabel; - System.Windows.Forms.Label sidLabel; - System.Windows.Forms.Label modelLabel; - System.Windows.Forms.Label manuLabel; - System.Windows.Forms.Label supplyLabel; - System.Windows.Forms.Label memoLabel; - System.Windows.Forms.Label priceLabel; - System.Windows.Forms.Label label1; - System.Windows.Forms.Label label2; - System.Windows.Forms.Label label3; - this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); - this.tbName = new System.Windows.Forms.TextBox(); - this.tbSid = new System.Windows.Forms.TextBox(); - this.tbModel = new System.Windows.Forms.TextBox(); - this.tbManu = new System.Windows.Forms.TextBox(); - this.tbSupply = new System.Windows.Forms.TextBox(); - this.tbMemo = new System.Windows.Forms.TextBox(); - this.tbPrice = new System.Windows.Forms.TextBox(); - this.tbSupplyIdx = new System.Windows.Forms.TextBox(); - this.tbUnit = new System.Windows.Forms.TextBox(); - this.btOK = new System.Windows.Forms.Button(); - this.dsMSSQL = new FCM0000.dsMSSQL(); - this.tbPriceD = new System.Windows.Forms.TextBox(); - this.tbStorage = new System.Windows.Forms.TextBox(); - nameLabel = new System.Windows.Forms.Label(); - sidLabel = new System.Windows.Forms.Label(); - modelLabel = new System.Windows.Forms.Label(); - manuLabel = new System.Windows.Forms.Label(); - supplyLabel = new System.Windows.Forms.Label(); - memoLabel = new System.Windows.Forms.Label(); - priceLabel = new System.Windows.Forms.Label(); - label1 = new System.Windows.Forms.Label(); - label2 = new System.Windows.Forms.Label(); - label3 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); - this.SuspendLayout(); - // - // nameLabel - // - nameLabel.AutoSize = true; - nameLabel.Location = new System.Drawing.Point(53, 17); - nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - nameLabel.Name = "nameLabel"; - nameLabel.Size = new System.Drawing.Size(55, 30); - nameLabel.TabIndex = 0; - nameLabel.Text = "품명"; - // - // sidLabel - // - sidLabel.AutoSize = true; - sidLabel.Location = new System.Drawing.Point(63, 231); - sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - sidLabel.Name = "sidLabel"; - sidLabel.Size = new System.Drawing.Size(45, 30); - sidLabel.TabIndex = 10; - sidLabel.Text = "SID"; - // - // modelLabel - // - modelLabel.AutoSize = true; - modelLabel.Location = new System.Drawing.Point(32, 63); - modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - modelLabel.Name = "modelLabel"; - modelLabel.Size = new System.Drawing.Size(76, 30); - modelLabel.TabIndex = 8; - modelLabel.Text = "모델명"; - // - // manuLabel - // - manuLabel.AutoSize = true; - manuLabel.Location = new System.Drawing.Point(32, 147); - manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - manuLabel.Name = "manuLabel"; - manuLabel.Size = new System.Drawing.Size(76, 30); - manuLabel.TabIndex = 6; - manuLabel.Text = "제조사"; - // - // supplyLabel - // - supplyLabel.AutoSize = true; - supplyLabel.Location = new System.Drawing.Point(32, 319); - supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - supplyLabel.Name = "supplyLabel"; - supplyLabel.Size = new System.Drawing.Size(76, 30); - supplyLabel.TabIndex = 12; - supplyLabel.Text = "공급처"; - // - // memoLabel - // - memoLabel.AutoSize = true; - memoLabel.Location = new System.Drawing.Point(53, 364); - memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - memoLabel.Name = "memoLabel"; - memoLabel.Size = new System.Drawing.Size(55, 30); - memoLabel.TabIndex = 15; - memoLabel.Text = "비고"; - // - // priceLabel - // - priceLabel.AutoSize = true; - priceLabel.Location = new System.Drawing.Point(53, 189); - priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - priceLabel.Name = "priceLabel"; - priceLabel.Size = new System.Drawing.Size(55, 30); - priceLabel.TabIndex = 8; - priceLabel.Text = "단가"; - // - // label1 - // - label1.AutoSize = true; - label1.Location = new System.Drawing.Point(53, 101); - label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(55, 30); - label1.TabIndex = 4; - label1.Text = "단위"; - // - // label2 - // - label2.AutoSize = true; - label2.ForeColor = System.Drawing.Color.Blue; - label2.Location = new System.Drawing.Point(364, 189); - label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - label2.Name = "label2"; - label2.Size = new System.Drawing.Size(25, 30); - label2.TabIndex = 18; - label2.Text = "$"; - // - // ta - // - this.ta.ClearBeforeFill = true; - // - // tbName - // - this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); - this.tbName.Location = new System.Drawing.Point(112, 17); - this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbName.Name = "tbName"; - this.tbName.Size = new System.Drawing.Size(546, 35); - this.tbName.TabIndex = 2; - // - // tbSid - // - this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.tbSid.Location = new System.Drawing.Point(112, 228); - this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbSid.Name = "tbSid"; - this.tbSid.Size = new System.Drawing.Size(546, 35); - this.tbSid.TabIndex = 11; - this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbModel - // - this.tbModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); - this.tbModel.Location = new System.Drawing.Point(112, 58); - this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbModel.Name = "tbModel"; - this.tbModel.Size = new System.Drawing.Size(546, 35); - this.tbModel.TabIndex = 3; - // - // tbManu - // - this.tbManu.Location = new System.Drawing.Point(112, 144); - this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbManu.Name = "tbManu"; - this.tbManu.Size = new System.Drawing.Size(546, 35); - this.tbManu.TabIndex = 7; - // - // tbSupply - // - this.tbSupply.Location = new System.Drawing.Point(112, 316); - this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbSupply.Name = "tbSupply"; - this.tbSupply.Size = new System.Drawing.Size(449, 35); - this.tbSupply.TabIndex = 13; - // - // tbMemo - // - this.tbMemo.Location = new System.Drawing.Point(112, 357); - this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbMemo.Name = "tbMemo"; - this.tbMemo.Size = new System.Drawing.Size(546, 35); - this.tbMemo.TabIndex = 16; - this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbPrice - // - this.tbPrice.Location = new System.Drawing.Point(112, 187); - this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbPrice.Name = "tbPrice"; - this.tbPrice.Size = new System.Drawing.Size(241, 35); - this.tbPrice.TabIndex = 9; - this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbSupplyIdx - // - this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.tbSupplyIdx.Enabled = false; - this.tbSupplyIdx.Location = new System.Drawing.Point(556, 316); - this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbSupplyIdx.Name = "tbSupplyIdx"; - this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35); - this.tbSupplyIdx.TabIndex = 14; - this.tbSupplyIdx.Text = "-1"; - this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // tbUnit - // - this.tbUnit.Location = new System.Drawing.Point(112, 100); - this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbUnit.Name = "tbUnit"; - this.tbUnit.Size = new System.Drawing.Size(546, 35); - this.tbUnit.TabIndex = 5; - this.tbUnit.Text = "EA"; - this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // btOK - // - this.btOK.Location = new System.Drawing.Point(112, 403); - this.btOK.Name = "btOK"; - this.btOK.Size = new System.Drawing.Size(546, 66); - this.btOK.TabIndex = 17; - this.btOK.Text = "확인"; - this.btOK.UseVisualStyleBackColor = true; - this.btOK.Click += new System.EventHandler(this.btOK_Click); - // - // dsMSSQL - // - this.dsMSSQL.DataSetName = "dsMSSQL"; - this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // tbPriceD - // - this.tbPriceD.ForeColor = System.Drawing.Color.Blue; - this.tbPriceD.Location = new System.Drawing.Point(399, 187); - this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbPriceD.Name = "tbPriceD"; - this.tbPriceD.Size = new System.Drawing.Size(259, 35); - this.tbPriceD.TabIndex = 19; - this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // label3 - // - label3.AutoSize = true; - label3.Location = new System.Drawing.Point(4, 272); - label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); - label3.Name = "label3"; - label3.Size = new System.Drawing.Size(104, 30); - label3.TabIndex = 20; - label3.Text = "STORAGE"; - // - // tbStorage - // - this.tbStorage.Location = new System.Drawing.Point(112, 270); - this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.tbStorage.Name = "tbStorage"; - this.tbStorage.Size = new System.Drawing.Size(241, 35); - this.tbStorage.TabIndex = 21; - this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // fItemAdd - // - this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(669, 478); - this.Controls.Add(label3); - this.Controls.Add(this.tbStorage); - this.Controls.Add(label2); - this.Controls.Add(this.tbPriceD); - this.Controls.Add(this.btOK); - this.Controls.Add(nameLabel); - this.Controls.Add(this.tbName); - this.Controls.Add(sidLabel); - this.Controls.Add(this.tbSid); - this.Controls.Add(label1); - this.Controls.Add(modelLabel); - this.Controls.Add(this.tbModel); - this.Controls.Add(manuLabel); - this.Controls.Add(this.tbManu); - this.Controls.Add(supplyLabel); - this.Controls.Add(this.tbSupply); - this.Controls.Add(memoLabel); - this.Controls.Add(this.tbMemo); - this.Controls.Add(priceLabel); - this.Controls.Add(this.tbPrice); - this.Controls.Add(this.tbSupplyIdx); - this.Controls.Add(this.tbUnit); - this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(685, 448); - this.Name = "fItemAdd"; - this.Text = "품목 추가"; - this.Load += new System.EventHandler(this.fItemAdd_Load); - ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + System.Windows.Forms.Label nameLabel; + System.Windows.Forms.Label sidLabel; + System.Windows.Forms.Label modelLabel; + System.Windows.Forms.Label manuLabel; + System.Windows.Forms.Label supplyLabel; + System.Windows.Forms.Label memoLabel; + System.Windows.Forms.Label priceLabel; + System.Windows.Forms.Label label1; + System.Windows.Forms.Label label2; + System.Windows.Forms.Label label3; + System.Windows.Forms.Label label4; + this.ta = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter(); + this.tbName = new System.Windows.Forms.TextBox(); + this.tbSid = new System.Windows.Forms.TextBox(); + this.tbModel = new System.Windows.Forms.TextBox(); + this.tbManu = new System.Windows.Forms.TextBox(); + this.tbSupply = new System.Windows.Forms.TextBox(); + this.tbMemo = new System.Windows.Forms.TextBox(); + this.tbPrice = new System.Windows.Forms.TextBox(); + this.tbSupplyIdx = new System.Windows.Forms.TextBox(); + this.tbUnit = new System.Windows.Forms.TextBox(); + this.btOK = new System.Windows.Forms.Button(); + this.dsMSSQL = new FCM0000.dsMSSQL(); + this.tbPriceD = new System.Windows.Forms.TextBox(); + this.tbStorage = new System.Windows.Forms.TextBox(); + nameLabel = new System.Windows.Forms.Label(); + sidLabel = new System.Windows.Forms.Label(); + modelLabel = new System.Windows.Forms.Label(); + manuLabel = new System.Windows.Forms.Label(); + supplyLabel = new System.Windows.Forms.Label(); + memoLabel = new System.Windows.Forms.Label(); + priceLabel = new System.Windows.Forms.Label(); + label1 = new System.Windows.Forms.Label(); + label2 = new System.Windows.Forms.Label(); + label3 = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit(); + this.SuspendLayout(); + // + // nameLabel + // + nameLabel.AutoSize = true; + nameLabel.Location = new System.Drawing.Point(53, 17); + nameLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + nameLabel.Name = "nameLabel"; + nameLabel.Size = new System.Drawing.Size(55, 30); + nameLabel.TabIndex = 0; + nameLabel.Text = "품명"; + // + // sidLabel + // + sidLabel.AutoSize = true; + sidLabel.Location = new System.Drawing.Point(63, 231); + sidLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + sidLabel.Name = "sidLabel"; + sidLabel.Size = new System.Drawing.Size(45, 30); + sidLabel.TabIndex = 10; + sidLabel.Text = "SID"; + // + // modelLabel + // + modelLabel.AutoSize = true; + modelLabel.Location = new System.Drawing.Point(32, 63); + modelLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + modelLabel.Name = "modelLabel"; + modelLabel.Size = new System.Drawing.Size(76, 30); + modelLabel.TabIndex = 8; + modelLabel.Text = "모델명"; + // + // manuLabel + // + manuLabel.AutoSize = true; + manuLabel.Location = new System.Drawing.Point(32, 147); + manuLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + manuLabel.Name = "manuLabel"; + manuLabel.Size = new System.Drawing.Size(76, 30); + manuLabel.TabIndex = 6; + manuLabel.Text = "제조사"; + // + // supplyLabel + // + supplyLabel.AutoSize = true; + supplyLabel.Location = new System.Drawing.Point(32, 319); + supplyLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + supplyLabel.Name = "supplyLabel"; + supplyLabel.Size = new System.Drawing.Size(76, 30); + supplyLabel.TabIndex = 12; + supplyLabel.Text = "공급처"; + // + // memoLabel + // + memoLabel.AutoSize = true; + memoLabel.Location = new System.Drawing.Point(53, 364); + memoLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + memoLabel.Name = "memoLabel"; + memoLabel.Size = new System.Drawing.Size(55, 30); + memoLabel.TabIndex = 15; + memoLabel.Text = "비고"; + // + // priceLabel + // + priceLabel.AutoSize = true; + priceLabel.Location = new System.Drawing.Point(53, 189); + priceLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + priceLabel.Name = "priceLabel"; + priceLabel.Size = new System.Drawing.Size(55, 30); + priceLabel.TabIndex = 8; + priceLabel.Text = "단가"; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new System.Drawing.Point(53, 101); + label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + label1.Name = "label1"; + label1.Size = new System.Drawing.Size(55, 30); + label1.TabIndex = 4; + label1.Text = "단위"; + // + // label2 + // + label2.AutoSize = true; + label2.ForeColor = System.Drawing.Color.Blue; + label2.Location = new System.Drawing.Point(364, 189); + label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + label2.Name = "label2"; + label2.Size = new System.Drawing.Size(25, 30); + label2.TabIndex = 18; + label2.Text = "$"; + // + // label3 + // + label3.AutoSize = true; + label3.Location = new System.Drawing.Point(4, 272); + label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + label3.Name = "label3"; + label3.Size = new System.Drawing.Size(104, 30); + label3.TabIndex = 20; + label3.Text = "STORAGE"; + // + // ta + // + this.ta.ClearBeforeFill = true; + // + // tbName + // + this.tbName.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); + this.tbName.Location = new System.Drawing.Point(112, 17); + this.tbName.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbName.Name = "tbName"; + this.tbName.Size = new System.Drawing.Size(546, 35); + this.tbName.TabIndex = 2; + // + // tbSid + // + this.tbSid.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); + this.tbSid.Location = new System.Drawing.Point(112, 228); + this.tbSid.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbSid.Name = "tbSid"; + this.tbSid.Size = new System.Drawing.Size(241, 35); + this.tbSid.TabIndex = 11; + this.tbSid.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbModel + // + this.tbModel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); + this.tbModel.Location = new System.Drawing.Point(112, 58); + this.tbModel.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbModel.Name = "tbModel"; + this.tbModel.Size = new System.Drawing.Size(546, 35); + this.tbModel.TabIndex = 3; + // + // tbManu + // + this.tbManu.Location = new System.Drawing.Point(112, 144); + this.tbManu.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbManu.Name = "tbManu"; + this.tbManu.Size = new System.Drawing.Size(546, 35); + this.tbManu.TabIndex = 7; + // + // tbSupply + // + this.tbSupply.Location = new System.Drawing.Point(112, 316); + this.tbSupply.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbSupply.Name = "tbSupply"; + this.tbSupply.Size = new System.Drawing.Size(449, 35); + this.tbSupply.TabIndex = 13; + // + // tbMemo + // + this.tbMemo.Location = new System.Drawing.Point(112, 357); + this.tbMemo.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbMemo.Name = "tbMemo"; + this.tbMemo.Size = new System.Drawing.Size(546, 35); + this.tbMemo.TabIndex = 16; + this.tbMemo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbPrice + // + this.tbPrice.Location = new System.Drawing.Point(112, 187); + this.tbPrice.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbPrice.Name = "tbPrice"; + this.tbPrice.Size = new System.Drawing.Size(241, 35); + this.tbPrice.TabIndex = 9; + this.tbPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbSupplyIdx + // + this.tbSupplyIdx.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.tbSupplyIdx.Enabled = false; + this.tbSupplyIdx.Location = new System.Drawing.Point(556, 316); + this.tbSupplyIdx.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbSupplyIdx.Name = "tbSupplyIdx"; + this.tbSupplyIdx.Size = new System.Drawing.Size(102, 35); + this.tbSupplyIdx.TabIndex = 14; + this.tbSupplyIdx.Text = "-1"; + this.tbSupplyIdx.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbUnit + // + this.tbUnit.Location = new System.Drawing.Point(112, 100); + this.tbUnit.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbUnit.Name = "tbUnit"; + this.tbUnit.Size = new System.Drawing.Size(546, 35); + this.tbUnit.TabIndex = 5; + this.tbUnit.Text = "EA"; + this.tbUnit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // btOK + // + this.btOK.Location = new System.Drawing.Point(112, 403); + this.btOK.Name = "btOK"; + this.btOK.Size = new System.Drawing.Size(546, 66); + this.btOK.TabIndex = 17; + this.btOK.Text = "확인"; + this.btOK.UseVisualStyleBackColor = true; + this.btOK.Click += new System.EventHandler(this.btOK_Click); + // + // dsMSSQL + // + this.dsMSSQL.DataSetName = "dsMSSQL"; + this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // tbPriceD + // + this.tbPriceD.ForeColor = System.Drawing.Color.Blue; + this.tbPriceD.Location = new System.Drawing.Point(399, 187); + this.tbPriceD.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbPriceD.Name = "tbPriceD"; + this.tbPriceD.Size = new System.Drawing.Size(259, 35); + this.tbPriceD.TabIndex = 19; + this.tbPriceD.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tbStorage + // + this.tbStorage.Location = new System.Drawing.Point(112, 270); + this.tbStorage.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.tbStorage.Name = "tbStorage"; + this.tbStorage.Size = new System.Drawing.Size(241, 35); + this.tbStorage.TabIndex = 21; + this.tbStorage.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label4 + // + label4.AutoSize = true; + label4.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); + label4.Location = new System.Drawing.Point(397, 233); + label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(230, 42); + label4.TabIndex = 22; + label4.Text = "신규 품목은 SID칸에 \"신규\" 를\r\n입력하세요"; + // + // fItemAdd + // + this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(669, 478); + this.Controls.Add(label4); + this.Controls.Add(label3); + this.Controls.Add(this.tbStorage); + this.Controls.Add(label2); + this.Controls.Add(this.tbPriceD); + this.Controls.Add(this.btOK); + this.Controls.Add(nameLabel); + this.Controls.Add(this.tbName); + this.Controls.Add(sidLabel); + this.Controls.Add(this.tbSid); + this.Controls.Add(label1); + this.Controls.Add(modelLabel); + this.Controls.Add(this.tbModel); + this.Controls.Add(manuLabel); + this.Controls.Add(this.tbManu); + this.Controls.Add(supplyLabel); + this.Controls.Add(this.tbSupply); + this.Controls.Add(memoLabel); + this.Controls.Add(this.tbMemo); + this.Controls.Add(priceLabel); + this.Controls.Add(this.tbPrice); + this.Controls.Add(this.tbSupplyIdx); + this.Controls.Add(this.tbUnit); + this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.Margin = new System.Windows.Forms.Padding(5, 8, 5, 8); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(685, 448); + this.Name = "fItemAdd"; + this.Text = "품목 추가"; + this.Load += new System.EventHandler(this.fItemAdd_Load); + ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/SubProject/FCM0000/Item/fItemAdd.cs b/SubProject/FCM0000/Item/fItemAdd.cs index 9feb62e..e35ce57 100644 --- a/SubProject/FCM0000/Item/fItemAdd.cs +++ b/SubProject/FCM0000/Item/fItemAdd.cs @@ -60,6 +60,8 @@ namespace FCM0000.Item tbModel.Focus(); return; } + if (tbSid.Text.StartsWith("신규")) tbSid.Text = "신규"; + var pumName = tbName.Text.Trim(); var pumModel = tbModel.Text.Trim(); var searchKey = pumName + pumModel; diff --git a/SubProject/FCM0000/Item/fItemAdd.resx b/SubProject/FCM0000/Item/fItemAdd.resx index b92f581..9e43d94 100644 --- a/SubProject/FCM0000/Item/fItemAdd.resx +++ b/SubProject/FCM0000/Item/fItemAdd.resx @@ -144,13 +144,16 @@ False + + False + 122, 17 17, 17 - + False \ No newline at end of file diff --git a/SubProject/FCM0000/Item/fLovItem.cs b/SubProject/FCM0000/Item/fLovItem.cs index ebd567a..51d0433 100644 --- a/SubProject/FCM0000/Item/fLovItem.cs +++ b/SubProject/FCM0000/Item/fLovItem.cs @@ -279,6 +279,7 @@ namespace FCM0000 else itempriceD = 0; SID = f.tbSid.Text.Trim(); + if (SID.StartsWith("신규")) SID = "신규"; itemUnit = f.tbUnit.Text.Trim(); itemSupply = f.tbSupply.Text.Trim(); itemSupplyidx = int.Parse(f.tbSupplyIdx.Text); diff --git a/SubProject/FEQ0000/Purchase/fPurchaseNR.cs b/SubProject/FEQ0000/Purchase/fPurchaseNR.cs index 4698a69..4790ee0 100644 --- a/SubProject/FEQ0000/Purchase/fPurchaseNR.cs +++ b/SubProject/FEQ0000/Purchase/fPurchaseNR.cs @@ -1306,6 +1306,11 @@ namespace FEQ0000 //state 가 ---인 데이터를 기준으로 함 //chk2 ==false 인 자료를 기준으로 함 var newlist = this.dsPurchase.Purchase.Where(t => (t.Ischk2Null() || t.chk2==false) && t.state.Equals("---")).ToList(); + if (newlist.Any() == false) + { + FCOMMON.Util.MsgE($"신규 신청 데이터가 없습니다"); + return; + } var f = new fSIDCheckNR(newlist); if (f.ShowDialog() == DialogResult.OK) { diff --git a/SubProject/FEQ0000/Purchase/fSIDCheckNR.Designer.cs b/SubProject/FEQ0000/Purchase/fSIDCheckNR.Designer.cs index de94e6f..ec6bc8d 100644 --- a/SubProject/FEQ0000/Purchase/fSIDCheckNR.Designer.cs +++ b/SubProject/FEQ0000/Purchase/fSIDCheckNR.Designer.cs @@ -30,28 +30,11 @@ { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSIDCheckNR)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSIDCheckNR)); this.dv1 = new System.Windows.Forms.DataGridView(); - this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); - this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); - this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); - this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.bn = new System.Windows.Forms.BindingNavigator(this.components); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - this.bs = new System.Windows.Forms.BindingSource(this.components); - this.dsPurchase = new FEQ0000.dsPurchase(); - this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); - this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.chk1DataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.chk2DataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -65,11 +48,30 @@ this.pumamtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.pumscaleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.bigoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.dsPurchase = new FEQ0000.dsPurchase(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); + this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); - this.bn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); this.SuspendLayout(); // // dv1 @@ -112,159 +114,6 @@ this.dv1.TabIndex = 3; this.dv1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv1_CellContentClick); // - // bindingNavigatorMoveFirstItem - // - this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); - this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; - this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(36, 36); - this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; - // - // bindingNavigatorMovePreviousItem - // - this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); - this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; - this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(36, 36); - this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; - // - // bindingNavigatorSeparator - // - this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; - this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 39); - // - // bindingNavigatorPositionItem - // - 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"; - this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; - // - // bindingNavigatorCountItem - // - this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; - this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 36); - this.bindingNavigatorCountItem.Text = "/{0}"; - this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; - // - // bindingNavigatorSeparator1 - // - this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; - this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 39); - // - // bindingNavigatorMoveNextItem - // - this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); - this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; - this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(36, 36); - this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; - // - // bindingNavigatorMoveLastItem - // - this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); - this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; - this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; - this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(36, 36); - this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; - // - // bindingNavigatorSeparator2 - // - this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; - this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 39); - // - // bn - // - this.bn.AddNewItem = null; - this.bn.CountItem = this.bindingNavigatorCountItem; - this.bn.DeleteItem = null; - this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bn.ImageScalingSize = new System.Drawing.Size(32, 32); - this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.bindingNavigatorMoveFirstItem, - this.bindingNavigatorMovePreviousItem, - this.bindingNavigatorSeparator, - this.bindingNavigatorPositionItem, - this.bindingNavigatorCountItem, - this.bindingNavigatorSeparator1, - this.bindingNavigatorMoveNextItem, - this.bindingNavigatorMoveLastItem, - this.bindingNavigatorSeparator2, - this.toolStripButton1, - this.toolStripButton2, - this.toolStripSeparator1, - this.toolStripButton3, - this.toolStripButton4}); - this.bn.Location = new System.Drawing.Point(0, 622); - this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; - this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; - this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; - this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; - this.bn.Name = "bn"; - this.bn.PositionItem = this.bindingNavigatorPositionItem; - this.bn.Size = new System.Drawing.Size(1138, 39); - this.bn.TabIndex = 1; - this.bn.Text = "bindingNavigator1"; - // - // toolStripButton1 - // - this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); - this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(115, 36); - this.toolStripButton1.Text = "재고일괄검사"; - this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); - // - // bs - // - this.bs.DataMember = "PurchaseCheck"; - this.bs.DataSource = this.dsPurchase; - // - // dsPurchase - // - this.dsPurchase.DataSetName = "dsPurchase"; - this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; - // - // toolStripButton2 - // - this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - 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(91, 36); - this.toolStripButton2.Text = "확인완료"; - this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39); - // - // toolStripButton3 - // - this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); - this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton3.Name = "toolStripButton3"; - this.toolStripButton3.Size = new System.Drawing.Size(91, 36); - this.toolStripButton3.Text = "전체확인"; - this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); - // - // toolStripButton4 - // - this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); - this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton4.Name = "toolStripButton4"; - this.toolStripButton4.Size = new System.Drawing.Size(91, 36); - this.toolStripButton4.Text = "전체해제"; - this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); - // // chk1DataGridViewCheckBoxColumn // this.chk1DataGridViewCheckBoxColumn.DataPropertyName = "chk1"; @@ -364,6 +213,175 @@ this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn"; this.bigoDataGridViewTextBoxColumn.ReadOnly = true; // + // bs + // + this.bs.DataMember = "PurchaseCheck"; + this.bs.DataSource = this.dsPurchase; + // + // dsPurchase + // + this.dsPurchase.DataSetName = "dsPurchase"; + this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(36, 36); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(36, 36); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 39); + // + // bindingNavigatorPositionItem + // + 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"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 36); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 39); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(36, 36); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(36, 36); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 39); + // + // bn + // + this.bn.AddNewItem = null; + this.bn.CountItem = this.bindingNavigatorCountItem; + this.bn.DeleteItem = null; + this.bn.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn.ImageScalingSize = new System.Drawing.Size(32, 32); + this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.toolStripButton1, + this.toolStripButton2, + this.toolStripSeparator1, + this.toolStripButton3, + this.toolStripButton4, + this.toolStripSeparator2, + this.toolStripButton5}); + this.bn.Location = new System.Drawing.Point(0, 622); + this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bn.Name = "bn"; + this.bn.PositionItem = this.bindingNavigatorPositionItem; + this.bn.Size = new System.Drawing.Size(1138, 39); + this.bn.TabIndex = 1; + this.bn.Text = "bindingNavigator1"; + // + // toolStripButton1 + // + this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(115, 36); + this.toolStripButton1.Text = "재고일괄검사"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // toolStripButton2 + // + this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + 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(91, 36); + this.toolStripButton2.Text = "확인완료"; + this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 39); + // + // toolStripButton3 + // + this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); + this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton3.Name = "toolStripButton3"; + this.toolStripButton3.Size = new System.Drawing.Size(91, 36); + this.toolStripButton3.Text = "전체확인"; + this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); + // + // toolStripButton4 + // + this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); + this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton4.Name = "toolStripButton4"; + this.toolStripButton4.Size = new System.Drawing.Size(91, 36); + this.toolStripButton4.Text = "전체해제"; + this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 39); + // + // toolStripButton5 + // + this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); + this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton5.Name = "toolStripButton5"; + this.toolStripButton5.Size = new System.Drawing.Size(128, 36); + this.toolStripButton5.Text = "SPM사이트열기"; + this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click); + // // fSIDCheckNR // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -376,11 +394,11 @@ this.Text = "fSIDCheckNR"; this.Load += new System.EventHandler(this.fSIDCheckNR_Load); ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); this.bn.ResumeLayout(false); this.bn.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -418,5 +436,7 @@ private System.Windows.Forms.DataGridViewTextBoxColumn pumamtDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn pumscaleDataGridViewTextBoxColumn; private System.Windows.Forms.DataGridViewTextBoxColumn bigoDataGridViewTextBoxColumn; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripButton toolStripButton5; } } \ No newline at end of file diff --git a/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs b/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs index 576569e..44db65c 100644 --- a/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs +++ b/SubProject/FEQ0000/Purchase/fSIDCheckNR.cs @@ -135,6 +135,8 @@ namespace FEQ0000.Purchase if (dt.Complete) { dr.sitecnt = $"{dt.Result.Rows.Count}"; + var f = new fSIDListSelect(sid, dt.Result); + f.ShowDialog(); } else { @@ -177,5 +179,11 @@ namespace FEQ0000.Purchase foreach (var dr in this.dsPurchase.PurchaseCheck) dr.chk2 = false; } + + private void toolStripButton5_Click(object sender, EventArgs e) + { + var url = @"https://atknet.amkor.co.kr/#/department/ee/spm"; + FCOMMON.Util.RunExplorer(url); + } } } diff --git a/SubProject/FEQ0000/Purchase/fSIDCheckNR.resx b/SubProject/FEQ0000/Purchase/fSIDCheckNR.resx index 4661d59..165f567 100644 --- a/SubProject/FEQ0000/Purchase/fSIDCheckNR.resx +++ b/SubProject/FEQ0000/Purchase/fSIDCheckNR.resx @@ -126,11 +126,14 @@ 83, 17 + + 83, 17 + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + vQAADr0BR/uQrQAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA @@ -141,7 +144,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + vQAADr0BR/uQrQAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC @@ -150,7 +153,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + vQAADr0BR/uQrQAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f oAc0QjgAAAAASUVORK5CYII= @@ -159,7 +162,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vgAADr4B6kKxwAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + vQAADr0BR/uQrQAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG @@ -230,7 +233,19 @@ TgDQASA1MVpwzwAAAABJRU5ErkJggg== - - 83, 17 - + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + \ No newline at end of file diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs index 2fd0a46..e6687de 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs @@ -1306,6 +1306,11 @@ namespace FEQ0000 //state 가 ---인 데이터를 기준으로 함 //chk2 ==false 인 자료를 기준으로 함 var newlist = this.dsPurchase.EETGW_PurchaseCR.Where(t => (t.Ischk2Null() || t.chk2 == false) && t.state.Equals("---")).ToList(); + if (newlist.Any() == false) + { + FCOMMON.Util.MsgE($"신규 신청 데이터가 없습니다"); + return; + } var f = new fSIDCheckNR(newlist); if (f.ShowDialog() == DialogResult.OK) {