..
This commit is contained in:
26
SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs
generated
26
SubProject/FEQ0000/Purchase/fPurchaseNR.Designer.cs
generated
@@ -149,6 +149,7 @@
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.엑셀에서열기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
@@ -784,7 +785,8 @@
|
||||
this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.금일입고품목ToolStripMenuItem,
|
||||
this.내가등록한자료ToolStripMenuItem,
|
||||
this.이번달자료ToolStripMenuItem});
|
||||
this.이번달자료ToolStripMenuItem,
|
||||
this.엑셀에서열기ToolStripMenuItem});
|
||||
this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image")));
|
||||
this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
|
||||
@@ -794,21 +796,21 @@
|
||||
// 금일입고품목ToolStripMenuItem
|
||||
//
|
||||
this.금일입고품목ToolStripMenuItem.Name = "금일입고품목ToolStripMenuItem";
|
||||
this.금일입고품목ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
|
||||
this.금일입고품목ToolStripMenuItem.Size = new System.Drawing.Size(213, 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(166, 22);
|
||||
this.내가등록한자료ToolStripMenuItem.Size = new System.Drawing.Size(213, 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(166, 22);
|
||||
this.이번달자료ToolStripMenuItem.Size = new System.Drawing.Size(213, 22);
|
||||
this.이번달자료ToolStripMenuItem.Text = "이번달 자료";
|
||||
this.이번달자료ToolStripMenuItem.Click += new System.EventHandler(this.이번달자료ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -857,7 +859,7 @@
|
||||
this.fpSpread1.StatusBarVisible = true;
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff);
|
||||
this.fpSpread1.SetViewportLeftColumn(0, 0, 9);
|
||||
this.fpSpread1.SetViewportLeftColumn(0, 0, 10);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@@ -883,6 +885,13 @@
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// 엑셀에서열기ToolStripMenuItem
|
||||
//
|
||||
this.엑셀에서열기ToolStripMenuItem.Name = "엑셀에서열기ToolStripMenuItem";
|
||||
this.엑셀에서열기ToolStripMenuItem.Size = new System.Drawing.Size(213, 22);
|
||||
this.엑셀에서열기ToolStripMenuItem.Text = "Excel 파일로 저장 후 열기";
|
||||
this.엑셀에서열기ToolStripMenuItem.Click += new System.EventHandler(this.엑셀에서열기ToolStripMenuItem_Click);
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
@@ -897,7 +906,7 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "구매\r\n검사";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "구매신청일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "상태";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "Storage";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "보관소";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "공정";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "요청";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "Cost Center";
|
||||
@@ -963,7 +972,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "Storage";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "보관소";
|
||||
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;
|
||||
@@ -1156,6 +1165,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "projectidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F;
|
||||
textCellType19.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
@@ -1190,6 +1200,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Label = "PO#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Tag = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Width = 51F;
|
||||
textCellType23.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType23;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).DataField = "chkremark";
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
@@ -1332,6 +1343,7 @@
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel7;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbManager;
|
||||
private System.Windows.Forms.ToolStripComboBox cmbAdmin;
|
||||
private System.Windows.Forms.ToolStripMenuItem 엑셀에서열기ToolStripMenuItem;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -803,7 +803,7 @@ namespace FEQ0000
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
var a = FCOMMON.Util.MsgQ("다음 파일이 생성 되었습니다.\n\n" + sd.FileName + "\n파일을 확인 할까요?");
|
||||
if(a == DialogResult.Yes)
|
||||
if (a == DialogResult.Yes)
|
||||
{
|
||||
FCOMMON.Util.RunExplorer(sd.FileName);
|
||||
}
|
||||
@@ -1402,5 +1402,22 @@ namespace FEQ0000
|
||||
FCOMMON.Util.MsgI($"{cnt}건의 자료가 [구매담당확인] 되었습니다\n저장을 눌러야 최종 적용 됩니다");
|
||||
}
|
||||
}
|
||||
|
||||
private void 엑셀에서열기ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var fn = DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls";
|
||||
fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "temp", fn);
|
||||
var fi = new System.IO.FileInfo(fn);
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
|
||||
fpSpread1.SaveExcel(fi.FullName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders
|
||||
);
|
||||
|
||||
FCOMMON.Util.RunExplorer(fi.FullName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
this.chk2 = new System.Windows.Forms.CheckBox();
|
||||
this.chk1 = new System.Windows.Forms.CheckBox();
|
||||
this.btSIDChk = new System.Windows.Forms.Button();
|
||||
this.tbStorage = new System.Windows.Forms.TextBox();
|
||||
this.tbPumPriceD = new System.Windows.Forms.TextBox();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
@@ -118,6 +117,7 @@
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
this.tbStorage = new System.Windows.Forms.ComboBox();
|
||||
processLabel = new System.Windows.Forms.Label();
|
||||
receiveLabel = new System.Windows.Forms.Label();
|
||||
scLabel = new System.Windows.Forms.Label();
|
||||
@@ -357,9 +357,9 @@
|
||||
label10.Location = new System.Drawing.Point(287, 237);
|
||||
label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label10.Name = "label10";
|
||||
label10.Size = new System.Drawing.Size(75, 20);
|
||||
label10.Size = new System.Drawing.Size(54, 20);
|
||||
label10.TabIndex = 23;
|
||||
label10.Text = "STORAGE";
|
||||
label10.Text = "보관소";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
@@ -729,6 +729,7 @@
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.tbStorage);
|
||||
this.groupBox1.Controls.Add(label18);
|
||||
this.groupBox1.Controls.Add(this.cmbRemark);
|
||||
this.groupBox1.Controls.Add(this.cmbCurrency);
|
||||
@@ -739,7 +740,6 @@
|
||||
this.groupBox1.Controls.Add(this.chk2);
|
||||
this.groupBox1.Controls.Add(this.chk1);
|
||||
this.groupBox1.Controls.Add(this.btSIDChk);
|
||||
this.groupBox1.Controls.Add(this.tbStorage);
|
||||
this.groupBox1.Controls.Add(label10);
|
||||
this.groupBox1.Controls.Add(label9);
|
||||
this.groupBox1.Controls.Add(this.tbPumPriceD);
|
||||
@@ -860,14 +860,6 @@
|
||||
this.btSIDChk.UseVisualStyleBackColor = false;
|
||||
this.btSIDChk.Click += new System.EventHandler(this.btSIDChk_Click);
|
||||
//
|
||||
// tbStorage
|
||||
//
|
||||
this.tbStorage.Location = new System.Drawing.Point(370, 234);
|
||||
this.tbStorage.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbStorage.Name = "tbStorage";
|
||||
this.tbStorage.Size = new System.Drawing.Size(104, 27);
|
||||
this.tbStorage.TabIndex = 24;
|
||||
//
|
||||
// tbPumPriceD
|
||||
//
|
||||
this.tbPumPriceD.ForeColor = System.Drawing.Color.Blue;
|
||||
@@ -1135,6 +1127,19 @@
|
||||
//
|
||||
this.purchaseTableAdapter.ClearBeforeFill = true;
|
||||
//
|
||||
// tbStorage
|
||||
//
|
||||
this.tbStorage.FormattingEnabled = true;
|
||||
this.tbStorage.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||
this.tbStorage.Items.AddRange(new object[] {
|
||||
"NR",
|
||||
"SPR"});
|
||||
this.tbStorage.Location = new System.Drawing.Point(345, 233);
|
||||
this.tbStorage.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbStorage.Name = "tbStorage";
|
||||
this.tbStorage.Size = new System.Drawing.Size(129, 28);
|
||||
this.tbStorage.TabIndex = 52;
|
||||
//
|
||||
// fPurchase_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
@@ -1208,7 +1213,6 @@
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.TextBox tbPumPriceD;
|
||||
private System.Windows.Forms.TextBox tbStorage;
|
||||
private System.Windows.Forms.TextBox tbInQty;
|
||||
private System.Windows.Forms.Button btSIDChk;
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
@@ -1226,5 +1230,6 @@
|
||||
private System.Windows.Forms.ComboBox tbManager;
|
||||
private System.Windows.Forms.ComboBox cmbCurrency;
|
||||
private System.Windows.Forms.ComboBox cmbRemark;
|
||||
private System.Windows.Forms.ComboBox tbStorage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user