From 5d7945d5c9c2ed9cc4969f58d7a87c9ed67ff699 Mon Sep 17 00:00:00 2001 From: chi Date: Wed, 24 Jan 2024 10:10:51 +0900 Subject: [PATCH] .. --- Project/Properties/AssemblyInfo.cs | 4 +- SubProject/FCM0000/FCM0000.csproj | 9 + SubProject/FCM0000/fSIDListSelect.Designer.cs | 222 +++++++++++ SubProject/FCM0000/fSIDListSelect.cs | 46 +++ SubProject/FCM0000/fSIDListSelect.resx | 182 +++++++++ .../PurchaseNR/fPurchaseNR.Designer.cs | 358 +++++++++--------- SubProject/FPJ0000/FPJ0000.csproj | 4 + .../fProjectPartToPurchaseCR.Designer.cs | 169 +++++---- .../Project/fProjectPartToPurchaseCR.cs | 101 ++++- .../Project/fProjectPartToPurchaseCR.resx | 33 ++ 10 files changed, 877 insertions(+), 251 deletions(-) create mode 100644 SubProject/FCM0000/fSIDListSelect.Designer.cs create mode 100644 SubProject/FCM0000/fSIDListSelect.cs create mode 100644 SubProject/FCM0000/fSIDListSelect.resx diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs index 8694cd6..4243617 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("24.01.16.1000")] -[assembly: AssemblyFileVersion("24.01.16.1000")] +[assembly: AssemblyVersion("24.01.24.1000")] +[assembly: AssemblyFileVersion("24.01.24.1000")] diff --git a/SubProject/FCM0000/FCM0000.csproj b/SubProject/FCM0000/FCM0000.csproj index 372d9c4..db757c6 100644 --- a/SubProject/FCM0000/FCM0000.csproj +++ b/SubProject/FCM0000/FCM0000.csproj @@ -160,6 +160,12 @@ Form2.cs + + Form + + + fSIDListSelect.cs + Form @@ -390,6 +396,9 @@ fPatchList.cs + + fSIDListSelect.cs + fItemEdit.cs diff --git a/SubProject/FCM0000/fSIDListSelect.Designer.cs b/SubProject/FCM0000/fSIDListSelect.Designer.cs new file mode 100644 index 0000000..a3e03d4 --- /dev/null +++ b/SubProject/FCM0000/fSIDListSelect.Designer.cs @@ -0,0 +1,222 @@ +namespace FCM0000 +{ + partial class fSIDListSelect + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fSIDListSelect)); + this.dv1 = new System.Windows.Forms.DataGridView(); + this.bs = new System.Windows.Forms.BindingSource(this.components); + this.bn = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + 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.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.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); + this.bn.SuspendLayout(); + this.SuspendLayout(); + // + // dv1 + // + this.dv1.AllowUserToAddRows = false; + this.dv1.AllowUserToDeleteRows = false; + this.dv1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; + this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle1.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5); + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dv1.DefaultCellStyle = dataGridViewCellStyle1; + this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dv1.Location = new System.Drawing.Point(0, 0); + this.dv1.Name = "dv1"; + this.dv1.ReadOnly = true; + this.dv1.RowTemplate.Height = 23; + this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dv1.Size = new System.Drawing.Size(884, 378); + this.dv1.TabIndex = 0; + this.dv1.DoubleClick += new System.EventHandler(this.dataGridView1_DoubleClick); + // + // 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.bn.Location = new System.Drawing.Point(0, 378); + 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(884, 39); + this.bn.TabIndex = 1; + this.bn.Text = "bindingNavigator1"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 36); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // 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 = "현재 위치"; + // + // 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); + // + // toolStripButton1 + // + this.toolStripButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + 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(95, 36); + this.toolStripButton1.Text = "확인 완료"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // fSIDListSelect + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(884, 417); + this.Controls.Add(this.dv1); + this.Controls.Add(this.bn); + this.Name = "fSIDListSelect"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "SPM 검색 결과"; + this.Load += new System.EventHandler(this.fSIDListSelect_Load); + ((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); + this.bn.ResumeLayout(false); + this.bn.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.DataGridView dv1; + private System.Windows.Forms.BindingSource bs; + private System.Windows.Forms.BindingNavigator bn; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripButton toolStripButton1; + } +} \ No newline at end of file diff --git a/SubProject/FCM0000/fSIDListSelect.cs b/SubProject/FCM0000/fSIDListSelect.cs new file mode 100644 index 0000000..c2b0772 --- /dev/null +++ b/SubProject/FCM0000/fSIDListSelect.cs @@ -0,0 +1,46 @@ +using FCOMMON; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace FCM0000 +{ + public partial class fSIDListSelect : Form + { + public fSIDListSelect(string sid,DataTable dt) + { + InitializeComponent(); + this.bs.DataSource = dt; + this.dv1.DataSource = this.bs; + this.bs.Sort = "quantity desc"; + this.Text = $"SPM/NR 검색 결과 SID:{sid}"; + this.KeyPreview = true; + this.KeyDown += (s1, e1) => { + if (e1.KeyCode == Keys.Escape) this.Close(); + }; + this.Width += 150; + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + DBM.InsertLog("SIDCHK", this.Text); + DialogResult = DialogResult.OK; + } + + private void dataGridView1_DoubleClick(object sender, EventArgs e) + { + + } + + private void fSIDListSelect_Load(object sender, EventArgs e) + { + this.dv1.AutoResizeColumns(); + } + } +} diff --git a/SubProject/FCM0000/fSIDListSelect.resx b/SubProject/FCM0000/fSIDListSelect.resx new file mode 100644 index 0000000..36daea1 --- /dev/null +++ b/SubProject/FCM0000/fSIDListSelect.resx @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 81, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAASpJREFUOE9jGDygcNbz/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 + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAALZJREFUOE9jGDogvP3BfyiTdBDf/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 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAASxJREFUOE9jGFygcNbz/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 + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + + + + 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/PurchaseNR/fPurchaseNR.Designer.cs b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs index 487ff04..fc21c04 100644 --- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs +++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs @@ -30,45 +30,45 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNR)); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType19 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType20 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType157 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType158 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType159 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType160 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType161 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType162 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType163 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType164 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType165 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType166 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType167 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType168 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType169 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType61 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType170 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType171 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType62 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType63 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType172 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType64 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType173 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType65 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType66 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType174 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType67 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType175 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType68 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType176 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType177 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType178 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType69 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType179 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType180 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType181 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType70 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType182 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType21 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); this.dsPurchase = new FEQ0000.dsPurchase(); this.bs = new System.Windows.Forms.BindingSource(this.components); this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); @@ -102,6 +102,12 @@ this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButton7 = new System.Windows.Forms.ToolStripDropDownButton(); + this.메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.현재목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.선택목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); + this.현재목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.선택목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.엑셀에서가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.견적서폴더열기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); @@ -153,12 +159,6 @@ this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); - this.메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.현재목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.현재목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.선택목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.선택목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); @@ -443,14 +443,14 @@ // 집계표ToolStripMenuItem // this.집계표ToolStripMenuItem.Name = "집계표ToolStripMenuItem"; - this.집계표ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.집계표ToolStripMenuItem.Size = new System.Drawing.Size(150, 22); this.집계표ToolStripMenuItem.Text = "집계표"; this.집계표ToolStripMenuItem.Click += new System.EventHandler(this.집계표ToolStripMenuItem_Click); // // 구매승인양식ToolStripMenuItem // this.구매승인양식ToolStripMenuItem.Name = "구매승인양식ToolStripMenuItem"; - this.구매승인양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.구매승인양식ToolStripMenuItem.Size = new System.Drawing.Size(150, 22); this.구매승인양식ToolStripMenuItem.Text = "구매승인 양식"; this.구매승인양식ToolStripMenuItem.Click += new System.EventHandler(this.구매승인양식ToolStripMenuItem_Click); // @@ -466,11 +466,57 @@ this.toolStripButton7.Size = new System.Drawing.Size(68, 28); this.toolStripButton7.Text = "기능"; // + // 메일전송ToolStripMenuItem + // + this.메일전송ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.현재목록ToolStripMenuItem, + this.선택목록ToolStripMenuItem, + this.toolStripMenuItem2, + this.현재목록입고양식ToolStripMenuItem, + this.선택목록입고양식ToolStripMenuItem}); + this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image"))); + this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem"; + this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(174, 22); + this.메일전송ToolStripMenuItem.Text = "메일 전송"; + // + // 현재목록ToolStripMenuItem + // + this.현재목록ToolStripMenuItem.Name = "현재목록ToolStripMenuItem"; + this.현재목록ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.현재목록ToolStripMenuItem.Text = "현재목록"; + this.현재목록ToolStripMenuItem.Click += new System.EventHandler(this.현재목록ToolStripMenuItem_Click); + // + // 선택목록ToolStripMenuItem + // + this.선택목록ToolStripMenuItem.Name = "선택목록ToolStripMenuItem"; + this.선택목록ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.선택목록ToolStripMenuItem.Text = "선택목록"; + this.선택목록ToolStripMenuItem.Click += new System.EventHandler(this.선택목록ToolStripMenuItem_Click); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(175, 6); + // + // 현재목록입고양식ToolStripMenuItem + // + this.현재목록입고양식ToolStripMenuItem.Name = "현재목록입고양식ToolStripMenuItem"; + this.현재목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.현재목록입고양식ToolStripMenuItem.Text = "현재목록(입고양식)"; + this.현재목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.현재목록입고양식ToolStripMenuItem_Click); + // + // 선택목록입고양식ToolStripMenuItem + // + this.선택목록입고양식ToolStripMenuItem.Name = "선택목록입고양식ToolStripMenuItem"; + this.선택목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.선택목록입고양식ToolStripMenuItem.Text = "선택목록(입고양식)"; + this.선택목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.선택목록입고양식ToolStripMenuItem_Click); + // // 엑셀에서가져오기ToolStripMenuItem // this.엑셀에서가져오기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("엑셀에서가져오기ToolStripMenuItem.Image"))); this.엑셀에서가져오기ToolStripMenuItem.Name = "엑셀에서가져오기ToolStripMenuItem"; - this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(190, 30); + this.엑셀에서가져오기ToolStripMenuItem.Size = new System.Drawing.Size(174, 22); this.엑셀에서가져오기ToolStripMenuItem.Text = "엑셀에서 가져오기"; this.엑셀에서가져오기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서가져오기ToolStripMenuItem_Click); // @@ -478,7 +524,7 @@ // this.견적서폴더열기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("견적서폴더열기ToolStripMenuItem.Image"))); this.견적서폴더열기ToolStripMenuItem.Name = "견적서폴더열기ToolStripMenuItem"; - this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(190, 30); + this.견적서폴더열기ToolStripMenuItem.Size = new System.Drawing.Size(174, 22); this.견적서폴더열기ToolStripMenuItem.Text = "견적서 폴더 열기"; this.견적서폴더열기ToolStripMenuItem.Click += new System.EventHandler(this.견적서폴더열기ToolStripMenuItem_Click); // @@ -923,17 +969,17 @@ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "구매담당"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 42).Value = "삭제됨"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType19; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1"; this.fpSpread1_Sheet1.Columns.Get(0).Label = "요청\r\n검사"; this.fpSpread1_Sheet1.Columns.Get(0).Width = 37F; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType20; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "chk2"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "구매\r\n검사"; this.fpSpread1_Sheet1.Columns.Get(1).Width = 35F; this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoSort = true; - this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType157; + this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate"; this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(2).Label = "구매신청"; @@ -942,7 +988,7 @@ this.fpSpread1_Sheet1.Columns.Get(2).Width = 68F; this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoSort = true; - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType158; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "prdate"; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Label = "PR입력"; @@ -950,7 +996,7 @@ this.fpSpread1_Sheet1.Columns.Get(3).Width = 76F; this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType159; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "state"; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).Label = "상태"; @@ -958,39 +1004,39 @@ this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType160; + this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "place"; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Label = "보관소"; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType161; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "process"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Label = "공정"; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType162; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "requestName"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(7).Label = "요청"; this.fpSpread1_Sheet1.Columns.Get(7).Tag = "requestName"; this.fpSpread1_Sheet1.Columns.Get(7).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType163; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "costcenter"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Label = "Cost Center"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType164; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "linecode"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Label = "LineCode"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType165; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "sc"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Label = "SC#"; @@ -998,231 +1044,231 @@ this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(11).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType166; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "orderno"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Label = "SCR/CF"; this.fpSpread1_Sheet1.Columns.Get(11).Tag = "crcf"; this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType167; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "receiveName"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(12).Label = "수령"; this.fpSpread1_Sheet1.Columns.Get(12).Tag = "receiveName"; this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(13).AllowAutoSort = true; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType168; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sid"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).Label = "SID#"; this.fpSpread1_Sheet1.Columns.Get(13).Tag = "sid"; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType169; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType13; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumname"; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(14).Label = "품명"; this.fpSpread1_Sheet1.Columns.Get(14).Tag = "pumname"; this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType61.DecimalPlaces = 0; - numberCellType61.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType61.MaximumValue = 2147483647D; - numberCellType61.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType61; + numberCellType1.DecimalPlaces = 0; + numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType1.MaximumValue = 2147483647D; + numberCellType1.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType1; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumidx"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType170; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType14; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumscale"; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(16).Label = "규격"; this.fpSpread1_Sheet1.Columns.Get(16).Tag = "pumscale"; this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType171; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType15; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "dept"; this.fpSpread1_Sheet1.Columns.Get(17).Label = "장비\r\n제조사"; this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType171; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType15; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "manuproc"; this.fpSpread1_Sheet1.Columns.Get(18).Label = "제조\r\n공정"; this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType171; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType15; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "asset"; this.fpSpread1_Sheet1.Columns.Get(19).Label = "장비\r\n모델"; this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F; - numberCellType62.DecimalPlaces = 0; - numberCellType62.NegativeRed = true; - numberCellType62.NullDisplay = "--"; - numberCellType62.Separator = ","; - numberCellType62.ShowSeparator = true; - numberCellType62.ShrinkToFit = true; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType62; + numberCellType2.DecimalPlaces = 0; + numberCellType2.NegativeRed = true; + numberCellType2.NullDisplay = "--"; + numberCellType2.Separator = ","; + numberCellType2.ShowSeparator = true; + numberCellType2.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType2; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "pumqtyReq"; this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(20).Label = "수량\r\n(요청)"; this.fpSpread1_Sheet1.Columns.Get(20).Tag = "pumqty"; this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F; - numberCellType63.DecimalPlaces = 0; - this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType63; + numberCellType3.DecimalPlaces = 0; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType3; this.fpSpread1_Sheet1.Columns.Get(21).DataField = "pumqty"; this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(21).Label = "수량\r\n(구매)"; this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(21).Width = 55F; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType172; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType16; this.fpSpread1_Sheet1.Columns.Get(22).DataField = "pumunit"; this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(22).Label = "단위"; this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F; - numberCellType64.DecimalPlaces = 2; - this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType64; + numberCellType4.DecimalPlaces = 2; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType4; this.fpSpread1_Sheet1.Columns.Get(23).DataField = "pumpriceD"; this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(23).Label = "단가\r\n(해외)"; this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType173; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17; this.fpSpread1_Sheet1.Columns.Get(24).DataField = "currency"; this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(24).Label = "통화"; this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(24).Width = 33F; - numberCellType65.DecimalPlaces = 0; - numberCellType65.MaximumValue = 9999999999999.99D; - numberCellType65.MinimumValue = -9999999999999.99D; - numberCellType65.NegativeRed = true; - numberCellType65.NullDisplay = "--"; - numberCellType65.Separator = ","; - numberCellType65.ShowSeparator = true; - numberCellType65.ShrinkToFit = true; - this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType65; + numberCellType5.DecimalPlaces = 0; + numberCellType5.MaximumValue = 9999999999999.99D; + numberCellType5.MinimumValue = -9999999999999.99D; + numberCellType5.NegativeRed = true; + numberCellType5.NullDisplay = "--"; + numberCellType5.Separator = ","; + numberCellType5.ShowSeparator = true; + numberCellType5.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType5; this.fpSpread1_Sheet1.Columns.Get(25).DataField = "pumprice"; this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(25).Label = "단가"; this.fpSpread1_Sheet1.Columns.Get(25).Tag = "pumprice"; this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F; - numberCellType66.DecimalPlaces = 0; - numberCellType66.MaximumValue = 9999999999999.99D; - numberCellType66.MinimumValue = -9999999999999.99D; - numberCellType66.NegativeRed = true; - numberCellType66.NullDisplay = "--"; - numberCellType66.Separator = ","; - numberCellType66.ShowSeparator = true; - numberCellType66.ShrinkToFit = true; - this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType66; + numberCellType6.DecimalPlaces = 0; + numberCellType6.MaximumValue = 9999999999999.99D; + numberCellType6.MinimumValue = -9999999999999.99D; + numberCellType6.NegativeRed = true; + numberCellType6.NullDisplay = "--"; + numberCellType6.Separator = ","; + numberCellType6.ShowSeparator = true; + numberCellType6.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType6; this.fpSpread1_Sheet1.Columns.Get(26).DataField = "pumamt"; this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(26).Label = "합계금액"; this.fpSpread1_Sheet1.Columns.Get(26).Tag = "pumamt"; this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(27).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType174; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType18; this.fpSpread1_Sheet1.Columns.Get(27).DataField = "supply"; this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(27).Label = "공급업체"; this.fpSpread1_Sheet1.Columns.Get(27).Tag = "supply"; this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(28).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType67.DecimalPlaces = 0; - numberCellType67.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType67.MaximumValue = 2147483647D; - numberCellType67.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType67; + numberCellType7.DecimalPlaces = 0; + numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType7.MaximumValue = 2147483647D; + numberCellType7.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType7; this.fpSpread1_Sheet1.Columns.Get(28).DataField = "supplyidx"; this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(28).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(29).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType175; + this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType19; this.fpSpread1_Sheet1.Columns.Get(29).DataField = "project"; this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(29).Label = "프로젝트"; this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(30).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - numberCellType68.DecimalPlaces = 0; - numberCellType68.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; - numberCellType68.MaximumValue = 2147483647D; - numberCellType68.MinimumValue = -2147483648D; - this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType68; + numberCellType8.DecimalPlaces = 0; + numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType8.MaximumValue = 2147483647D; + numberCellType8.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType8; this.fpSpread1_Sheet1.Columns.Get(30).DataField = "projectidx"; this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(30).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(30).Tag = "projectidx"; this.fpSpread1_Sheet1.Columns.Get(30).Width = 51F; - textCellType176.WordWrap = true; - this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType176; + textCellType20.WordWrap = true; + this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType20; this.fpSpread1_Sheet1.Columns.Get(31).DataField = "bigo"; this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(31).Label = "비고(구매사유)\r\n(요청자)"; this.fpSpread1_Sheet1.Columns.Get(31).Tag = "bigo"; this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(31).Width = 96F; - this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType177; + this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType21; this.fpSpread1_Sheet1.Columns.Get(32).DataField = "edate"; this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(32).Label = "입고예정"; this.fpSpread1_Sheet1.Columns.Get(32).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType178; + this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType22; this.fpSpread1_Sheet1.Columns.Get(33).DataField = "indate"; this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(33).Label = "입고일"; this.fpSpread1_Sheet1.Columns.Get(33).Tag = "indate"; this.fpSpread1_Sheet1.Columns.Get(33).Width = 51F; - numberCellType69.DecimalPlaces = 0; - numberCellType69.NegativeRed = true; - numberCellType69.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(34).CellType = numberCellType69; + numberCellType9.DecimalPlaces = 0; + numberCellType9.NegativeRed = true; + numberCellType9.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(34).CellType = numberCellType9; this.fpSpread1_Sheet1.Columns.Get(34).DataField = "inqty"; this.fpSpread1_Sheet1.Columns.Get(34).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(34).Label = "입고수량"; this.fpSpread1_Sheet1.Columns.Get(34).Tag = "inqty"; this.fpSpread1_Sheet1.Columns.Get(34).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(34).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType179; + this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType23; this.fpSpread1_Sheet1.Columns.Get(35).DataField = "po"; this.fpSpread1_Sheet1.Columns.Get(35).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(35).Label = "PO#"; this.fpSpread1_Sheet1.Columns.Get(35).Tag = "po"; this.fpSpread1_Sheet1.Columns.Get(35).Width = 51F; - textCellType180.WordWrap = true; - this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType180; + textCellType24.WordWrap = true; + this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType24; this.fpSpread1_Sheet1.Columns.Get(36).DataField = "chkremark"; this.fpSpread1_Sheet1.Columns.Get(36).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(36).Label = "비고\r\n(담당자)"; this.fpSpread1_Sheet1.Columns.Get(36).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(37).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType181; + this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType25; this.fpSpread1_Sheet1.Columns.Get(37).DataField = "purchase_manager"; this.fpSpread1_Sheet1.Columns.Get(37).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(37).Label = "구매담당"; this.fpSpread1_Sheet1.Columns.Get(37).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(38).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(38).CellType = numberCellType70; + this.fpSpread1_Sheet1.Columns.Get(38).CellType = numberCellType10; this.fpSpread1_Sheet1.Columns.Get(38).DataField = "idx"; this.fpSpread1_Sheet1.Columns.Get(38).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(38).Tag = "idx"; this.fpSpread1_Sheet1.Columns.Get(38).Visible = false; this.fpSpread1_Sheet1.Columns.Get(39).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(39).CellType = textCellType182; + this.fpSpread1_Sheet1.Columns.Get(39).CellType = textCellType26; this.fpSpread1_Sheet1.Columns.Get(39).DataField = "conf_status"; this.fpSpread1_Sheet1.Columns.Get(39).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(39).Tag = "conf_status"; this.fpSpread1_Sheet1.Columns.Get(39).Visible = false; this.fpSpread1_Sheet1.Columns.Get(40).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(40).CellType = textCellType182; + this.fpSpread1_Sheet1.Columns.Get(40).CellType = textCellType26; this.fpSpread1_Sheet1.Columns.Get(40).DataField = "conf_request"; this.fpSpread1_Sheet1.Columns.Get(40).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(40).Tag = "conf_request"; this.fpSpread1_Sheet1.Columns.Get(40).Visible = false; this.fpSpread1_Sheet1.Columns.Get(41).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(41).CellType = textCellType182; + this.fpSpread1_Sheet1.Columns.Get(41).CellType = textCellType26; this.fpSpread1_Sheet1.Columns.Get(41).DataField = "conf_reponse"; this.fpSpread1_Sheet1.Columns.Get(41).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(41).Tag = "conf_reponse"; this.fpSpread1_Sheet1.Columns.Get(41).Visible = false; - this.fpSpread1_Sheet1.Columns.Get(42).CellType = checkBoxCellType21; + this.fpSpread1_Sheet1.Columns.Get(42).CellType = checkBoxCellType3; this.fpSpread1_Sheet1.Columns.Get(42).DataField = "isdel"; this.fpSpread1_Sheet1.Columns.Get(42).Label = "삭제됨"; this.fpSpread1_Sheet1.Columns.Get(42).Tag = "isdel"; @@ -1260,52 +1306,6 @@ this.label2.Text = "--"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // - // 메일전송ToolStripMenuItem - // - this.메일전송ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.현재목록ToolStripMenuItem, - this.선택목록ToolStripMenuItem, - this.toolStripMenuItem2, - this.현재목록입고양식ToolStripMenuItem, - this.선택목록입고양식ToolStripMenuItem}); - this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image"))); - this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem"; - this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(188, 30); - this.메일전송ToolStripMenuItem.Text = "메일 전송"; - // - // 현재목록ToolStripMenuItem - // - this.현재목록ToolStripMenuItem.Name = "현재목록ToolStripMenuItem"; - this.현재목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.현재목록ToolStripMenuItem.Text = "현재목록"; - this.현재목록ToolStripMenuItem.Click += new System.EventHandler(this.현재목록ToolStripMenuItem_Click); - // - // 현재목록입고양식ToolStripMenuItem - // - this.현재목록입고양식ToolStripMenuItem.Name = "현재목록입고양식ToolStripMenuItem"; - this.현재목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.현재목록입고양식ToolStripMenuItem.Text = "현재목록(입고양식)"; - this.현재목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.현재목록입고양식ToolStripMenuItem_Click); - // - // 선택목록ToolStripMenuItem - // - this.선택목록ToolStripMenuItem.Name = "선택목록ToolStripMenuItem"; - this.선택목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.선택목록ToolStripMenuItem.Text = "선택목록"; - this.선택목록ToolStripMenuItem.Click += new System.EventHandler(this.선택목록ToolStripMenuItem_Click); - // - // 선택목록입고양식ToolStripMenuItem - // - this.선택목록입고양식ToolStripMenuItem.Name = "선택목록입고양식ToolStripMenuItem"; - this.선택목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.선택목록입고양식ToolStripMenuItem.Text = "선택목록(입고양식)"; - this.선택목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.선택목록입고양식ToolStripMenuItem_Click); - // - // toolStripMenuItem2 - // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6); - // // fPurchaseNR // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); diff --git a/SubProject/FPJ0000/FPJ0000.csproj b/SubProject/FPJ0000/FPJ0000.csproj index d45888c..b1e2498 100644 --- a/SubProject/FPJ0000/FPJ0000.csproj +++ b/SubProject/FPJ0000/FPJ0000.csproj @@ -997,6 +997,10 @@ + + {58cfc90c-5068-46a2-a8de-0e92ee9e0990} + AmkorRestfulService + {f31c242c-1b15-4518-9733-48558499fe4b} arControl diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs index 75fa130..1ddb645 100644 --- a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.Designer.cs @@ -36,6 +36,7 @@ System.Windows.Forms.Label label7; System.Windows.Forms.Label label2; System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectPartToPurchaseCR)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); @@ -43,7 +44,6 @@ 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(fProjectPartToPurchaseCR)); this.tbProject = new System.Windows.Forms.TextBox(); this.tbProjectIndex = new System.Windows.Forms.TextBox(); this.dtPdate = new System.Windows.Forms.DateTimePicker(); @@ -60,13 +60,6 @@ this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.dv1 = new arCtl.arDatagridView(); - this.dvc_sid = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_model = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_price = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_qty = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_amt = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); @@ -76,6 +69,16 @@ this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.taProject = new FPJ0000.dsPRJTableAdapters.ProjectsTableAdapter(); this.taPart = new FPJ0000.dsPRJTableAdapters.ProjectsPartTableAdapter(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.dvc_sid = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_model = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_price = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_qty = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_amt = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dvc_spm = new System.Windows.Forms.DataGridViewButtonColumn(); + this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); projectLabel = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label(); @@ -315,6 +318,7 @@ this.dvc_price, this.dvc_qty, this.dvc_amt, + this.dvc_spm, this.dvc_remark}); dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; @@ -330,64 +334,7 @@ this.dv1.RowTemplate.Height = 23; this.dv1.Size = new System.Drawing.Size(968, 370); this.dv1.TabIndex = 27; - // - // dvc_sid - // - dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.dvc_sid.DefaultCellStyle = dataGridViewCellStyle1; - this.dvc_sid.HeaderText = "SID"; - this.dvc_sid.Name = "dvc_sid"; - this.dvc_sid.ReadOnly = true; - // - // dvc_name - // - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.dvc_name.DefaultCellStyle = dataGridViewCellStyle2; - this.dvc_name.HeaderText = "품명"; - this.dvc_name.Name = "dvc_name"; - this.dvc_name.ReadOnly = true; - // - // dvc_model - // - dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.dvc_model.DefaultCellStyle = dataGridViewCellStyle3; - this.dvc_model.HeaderText = "모델"; - this.dvc_model.Name = "dvc_model"; - this.dvc_model.ReadOnly = true; - // - // dvc_price - // - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; - dataGridViewCellStyle4.Format = "N0"; - this.dvc_price.DefaultCellStyle = dataGridViewCellStyle4; - this.dvc_price.HeaderText = "단가"; - this.dvc_price.Name = "dvc_price"; - // - // dvc_qty - // - dataGridViewCellStyle5.Format = "N0"; - this.dvc_qty.DefaultCellStyle = dataGridViewCellStyle5; - this.dvc_qty.HeaderText = "구매수량"; - this.dvc_qty.Name = "dvc_qty"; - // - // dvc_amt - // - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; - dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - dataGridViewCellStyle6.Format = "N0"; - this.dvc_amt.DefaultCellStyle = dataGridViewCellStyle6; - this.dvc_amt.HeaderText = "구매금액"; - this.dvc_amt.Name = "dvc_amt"; - this.dvc_amt.ReadOnly = true; - // - // dvc_remark - // - this.dvc_remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dvc_remark.DefaultCellStyle = dataGridViewCellStyle7; - this.dvc_remark.HeaderText = "비고"; - this.dvc_remark.Name = "dvc_remark"; + this.dv1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dv1_CellContentClick); // // toolStrip1 // @@ -396,7 +343,9 @@ this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButton2, this.toolStripButton4, - this.toolStripButton8}); + this.toolStripButton8, + this.toolStripButton1, + this.toolStripButton3}); this.toolStrip1.Location = new System.Drawing.Point(3, 391); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(968, 47); @@ -467,6 +416,89 @@ // this.taPart.ClearBeforeFill = true; // + // 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(100, 44); + this.toolStripButton1.Text = "SPM검사"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // dvc_sid + // + dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.dvc_sid.DefaultCellStyle = dataGridViewCellStyle1; + this.dvc_sid.HeaderText = "SID"; + this.dvc_sid.Name = "dvc_sid"; + this.dvc_sid.ReadOnly = true; + // + // dvc_name + // + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.dvc_name.DefaultCellStyle = dataGridViewCellStyle2; + this.dvc_name.HeaderText = "품명"; + this.dvc_name.Name = "dvc_name"; + this.dvc_name.ReadOnly = true; + // + // dvc_model + // + dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + this.dvc_model.DefaultCellStyle = dataGridViewCellStyle3; + this.dvc_model.HeaderText = "모델"; + this.dvc_model.Name = "dvc_model"; + this.dvc_model.ReadOnly = true; + // + // dvc_price + // + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle4.Format = "N0"; + this.dvc_price.DefaultCellStyle = dataGridViewCellStyle4; + this.dvc_price.HeaderText = "단가"; + this.dvc_price.Name = "dvc_price"; + // + // dvc_qty + // + dataGridViewCellStyle5.Format = "N0"; + this.dvc_qty.DefaultCellStyle = dataGridViewCellStyle5; + this.dvc_qty.HeaderText = "구매수량"; + this.dvc_qty.Name = "dvc_qty"; + // + // dvc_amt + // + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; + dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); + dataGridViewCellStyle6.Format = "N0"; + this.dvc_amt.DefaultCellStyle = dataGridViewCellStyle6; + this.dvc_amt.HeaderText = "구매금액"; + this.dvc_amt.Name = "dvc_amt"; + this.dvc_amt.ReadOnly = true; + // + // dvc_spm + // + this.dvc_spm.HeaderText = "SPM"; + this.dvc_spm.Name = "dvc_spm"; + // + // dvc_remark + // + this.dvc_remark.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dvc_remark.DefaultCellStyle = dataGridViewCellStyle7; + this.dvc_remark.HeaderText = "비고"; + this.dvc_remark.Name = "dvc_remark"; + // + // toolStripButton3 + // + this.toolStripButton3.ForeColor = System.Drawing.Color.Red; + 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(192, 44); + this.toolStripButton3.Text = "구매수량에 SPM수량 제외"; + this.toolStripButton3.Visible = false; + this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click); + // // fProjectPartToPurchaseCR // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); @@ -527,12 +559,15 @@ private System.Windows.Forms.ToolStripButton toolStripButton4; private System.Windows.Forms.ToolStripButton toolStripButton8; private arCtl.arDatagridView dv1; + private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_sid; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_name; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_model; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_price; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_qty; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_amt; + private System.Windows.Forms.DataGridViewButtonColumn dvc_spm; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_remark; + private System.Windows.Forms.ToolStripButton toolStripButton3; } } \ No newline at end of file diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs index 2bdb547..3decd23 100644 --- a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.cs @@ -87,8 +87,11 @@ namespace FPJ0000 row.Cells[col++].Value = dr.ItemName; row.Cells[col++].Value = dr.ItemModel; row.Cells[col++].Value = dr.price; + row.Cells[col].Tag = dr.qty; row.Cells[col++].Value = dr.qty; row.Cells[col++].Value = dr.price * dr.qty; + // row.Cells[col++].Value = 0; + row.Cells[col++].Value = ""; row.Cells[col++].Value = dr.memo; row.Tag = dr; @@ -225,6 +228,17 @@ namespace FPJ0000 { this.Validate(); + //spm에값이 없으면 처리하지 못함 + foreach (DataGridViewRow row in this.dv1.Rows) + { + var spmval = row.Cells["dvc_spm"].Value.ToString(); + if (spmval.isEmpty()) + { + FCOMMON.Util.MsgE("SPM검사가 완료되지 않았습니다"); + return false; + } + } + if (this.dv1.Rows.Count < 1) { FCOMMON.Util.MsgE("자료가 없습니다"); @@ -309,7 +323,7 @@ namespace FPJ0000 var sid = dr.ItemSid.Replace(" ", "").Trim(); bool newadd = false; - if(isCR) + if (isCR) { var newdr = dtCR.Where(t => t.sid == sid).FirstOrDefault(); //insert query @@ -352,6 +366,7 @@ namespace FPJ0000 newdr.wdate = DateTime.Now; newdr.orderno = tbCr.Text.Trim(); newdr.bigo = item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim(); + newdr.chk1 = true; newdr.EndEdit(); dtCR.AddEETGW_PurchaseCRRow(newdr); } @@ -360,6 +375,7 @@ namespace FPJ0000 newdr.pumqtyReq += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로 newdr.pumamt += v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString()); newdr.bigo += "," + item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim(); + newdr.chk1 = true; newdr.EndEdit(); } @@ -449,7 +465,7 @@ namespace FPJ0000 } int addcnt = 0; - if(isCR) + if (isCR) { var ta = new dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter(); addcnt = ta.Update(dtCR); @@ -459,7 +475,7 @@ namespace FPJ0000 var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter(); addcnt = ta.Update(dtNR); } - + FCOMMON.Util.MsgI(string.Format("{0}/{1}건의 자료가 생성 되었습니다.\n\n구매등록 화면에서 내용을 확인하세요.", addcnt, itemCount)); fProg.Close(); fProg.Dispose(); @@ -514,6 +530,85 @@ namespace FPJ0000 DialogResult = System.Windows.Forms.DialogResult.OK; } + private void toolStripButton1_Click(object sender, EventArgs e) + { + var cnt = 0; + var ecnt = 0; + foreach (DataGridViewRow row in dv1.Rows) + { + var spm = row.Cells["dvc_spm"].Value.ToString(); + if (spm.isEmpty() == false) continue; + var sid = row.Cells["dvc_sid"].Value.ToString(); + if (sid.Length != 9 || sid.StartsWith("10") == false) + { + row.Cells["dvc_spm"].Value = "SID오류"; + row.Cells["dvc_spm"].Tag = 0; + cnt += 1; + } + else + { + var dt = Amkor.RestfulService.SPMSIDSearch(sid); + if (dt.Complete) + { + row.Cells["dvc_spm"].Value = $"{dt.Result.Rows.Count}건"; + row.Cells["dvc_spm"].Tag = dt.Result.Rows.Count; + ecnt += 1; + } + else + { + row.Cells["dvc_spm"].Value = $"없음"; + row.Cells["dvc_spm"].Tag = 0; + cnt += 1; + } + } + } + if (ecnt > 0) + { + FCOMMON.Util.MsgI($"{ecnt} 개의 자료가 SPM에서 자료가 검색되었습니다\n각 수량을 클릭해서 내용을 확인하세요"); + } + } + + private void toolStripButton3_Click(object sender, EventArgs e) + { + var dlg = FCOMMON.Util.MsgQ("현재 구매수량에 SPM수량을 일괄 제외 할까요?"); + foreach (DataGridViewRow row in dv1.Rows) + { + var spm = row.Cells["dvc_spm"].Value.ToString(); + + } + } + + private void dv1_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + if (e.ColumnIndex < 0 || e.RowIndex < 0) return; + var col = this.dv1.Columns[e.ColumnIndex]; + if (col.Name == "dvc_spm") + { + //site검색 해야한다 + var sid = dv1.Rows[e.RowIndex].Cells["dvc_spm"].Value.ToString();// dr.sid; + if (sid.Length != 9 || sid.StartsWith("10") == false) + { + dv1.Rows[e.RowIndex].Cells["dvc_spm"].Value = "SID오류"; + dv1.Rows[e.RowIndex].Cells["dvc_spm"].Tag = 0; + } + else + { + var dt = Amkor.RestfulService.SPMSIDSearch(sid); + if (dt.Complete) + { + dv1.Rows[e.RowIndex].Cells["dvc_spm"].Value = $"{dt.Result.Rows.Count}건"; + dv1.Rows[e.RowIndex].Cells["dvc_spm"].Tag = dt.Result.Rows.Count; + var f = new FCM0000.fSIDListSelect(sid, dt.Result); + f.ShowDialog(); + } + else + { + dv1.Rows[e.RowIndex].Cells["dvc_sid"].Value = "없음"; + dv1.Rows[e.RowIndex].Cells["dvc_sid"].Tag = 0; + } + } + } + } } } diff --git a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx index 0d12639..df7f557 100644 --- a/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx +++ b/SubProject/FPJ0000/Project/fProjectPartToPurchaseCR.resx @@ -165,6 +165,9 @@ True + + True + True @@ -211,6 +214,36 @@ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + 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== + + + + + 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==