전자실메일양식 통일 및 정리 작업
This commit is contained in:
@@ -5,6 +5,215 @@ using System.Text;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
public static class UTIL_EQ0000
|
||||
{
|
||||
public static string getmaxstr(string src, int len = 30)
|
||||
{
|
||||
if (src.Length > len) return src.Substring(0, len) + "...";
|
||||
else return src;
|
||||
}
|
||||
|
||||
public static string MakeDataTableToHTML(List<dsPurchase.EETGW_PurchaseEBRow> rows, string savefilenamexls = "")
|
||||
{
|
||||
|
||||
libxl.Book book = null;// = new libxl.BinBook();
|
||||
libxl.Sheet sheet = null;
|
||||
|
||||
|
||||
libxl.Format fTitle = null;
|
||||
libxl.Format fDataStr = null;
|
||||
libxl.Format fDataNum = null;
|
||||
|
||||
if (savefilenamexls.isEmpty() == false)
|
||||
{
|
||||
book = new libxl.XmlBook();
|
||||
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
sheet = book.addSheet("Data");
|
||||
|
||||
fTitle = book.addFormat();
|
||||
fDataStr = book.addFormat();
|
||||
fDataNum = book.addFormat();
|
||||
|
||||
fDataStr.alignH = libxl.AlignH.ALIGNH_CENTER;
|
||||
fDataStr.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
fDataStr.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
fDataStr.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
fDataStr.patternForegroundColor = libxl.Color.COLOR_WHITE;
|
||||
|
||||
fTitle.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
fTitle.alignH = libxl.AlignH.ALIGNH_CENTER;
|
||||
fTitle.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
fTitle.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
fTitle.patternForegroundColor = libxl.Color.COLOR_GRAY25;
|
||||
|
||||
fDataNum.alignH = libxl.AlignH.ALIGNH_GENERAL;
|
||||
fDataNum.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
fDataNum.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
fDataNum.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
fDataNum.patternForegroundColor = libxl.Color.COLOR_WHITE;
|
||||
|
||||
}
|
||||
|
||||
//목록을 본문에 추가한다
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
|
||||
sb.AppendLine("<td style='text-align:center;' colspan='2'><strong>{금액}</strong></td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("</tr>");
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SC</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>자재번호</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>청구자</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품목</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급업체</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>용도</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청부서</td>");
|
||||
sb.AppendLine("</tr>");
|
||||
sb.AppendLine("<tbody>");
|
||||
|
||||
var row = 0;
|
||||
var col = 0;
|
||||
if (sheet != null)
|
||||
{
|
||||
var basewidth = 15;
|
||||
sheet.setRow(row, 30);
|
||||
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "S/C", fTitle);
|
||||
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "자재번호", fTitle);
|
||||
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "청구자", fTitle);
|
||||
sheet.setCol(col, (int)(basewidth * 2)); sheet.writeStr(row, col++, "품목", fTitle);
|
||||
sheet.setCol(col, (int)(basewidth * 3)); sheet.writeStr(row, col++, "규격", fTitle);
|
||||
sheet.setCol(col, (int)(basewidth * 0.5)); sheet.writeStr(row, col++, "수량", fTitle);
|
||||
sheet.setCol(col, (int)(basewidth * 0.5)); sheet.writeStr(row, col++, "단가", fTitle);
|
||||
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "금액", fTitle);
|
||||
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "공급업체", fTitle);
|
||||
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "용도", fTitle);
|
||||
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "요청부서", fTitle);
|
||||
|
||||
}
|
||||
|
||||
|
||||
decimal totalamt = 0;
|
||||
row = 1;
|
||||
col = 0;
|
||||
foreach (dsPurchase.EETGW_PurchaseEBRow dr in rows)
|
||||
{
|
||||
var s요청 = dr.IsrequestNameNull() ? "" : dr.requestName;// fpSpread1_Sheet1.Cells[i, col_요청].Value;
|
||||
var sSID = dr.IssidNull() ? "" : dr.sid;// fpSpread1_Sheet1.Cells[i, col_SID].Value;
|
||||
var s품명 = dr.IspumnameNull() ? "" : dr.pumname;// fpSpread1_Sheet1.Cells[i, col_품명].Value;
|
||||
var s규격 = dr.IspumunitNull() ? "" : dr.pumunit;// fpSpread1_Sheet1.Cells[i, col_규격].Value;
|
||||
var qty = dr.IspumqtyNull() ? 0 : dr.pumqty;// fpSpread1_Sheet1.Cells[i, col_수량].Value;
|
||||
var price = dr.IspumpriceNull() ? 0 : dr.pumprice;// fpSpread1_Sheet1.Cells[i, col_단가].Value;
|
||||
var amt = dr.IspumamtNull() ? 0 : dr.pumamt;// fpSpread1_Sheet1.Cells[i, col_금액].Value;
|
||||
var s공급 = dr.IssupplyNull() ? "" : dr.supply;// fpSpread1_Sheet1.Cells[i, col_공급].Value;
|
||||
var s비고 = dr.IsbigoNull() ? "" : dr.bigo;// fpSpread1_Sheet1.Cells[i, col_비고].Value;
|
||||
var sSITE = dr.IssiteNull() ? "" : dr.site;// fpSpread1_Sheet1.Cells[i, col_site].Value;
|
||||
var s분류 = dr.IsdeptNull() ? "" : dr.dept;
|
||||
var sSC = dr.IsscNull() ? "" : dr.sc;//
|
||||
|
||||
|
||||
totalamt += amt;
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sSC) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
sb.AppendLine("<td style='text-align:center'>" + qty.ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + price.ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + amt.ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
sb.AppendLine("<td>" + s비고 + "</td>");
|
||||
sb.AppendLine("<td>전자실</td>");
|
||||
|
||||
if (sheet != null)
|
||||
{
|
||||
col = 0;
|
||||
sheet.setRow(row, 23);
|
||||
sheet.writeStr(row, col++, sSC, fDataStr);
|
||||
sheet.writeStr(row, col++, sSID, fDataStr);
|
||||
sheet.writeStr(row, col++, s요청, fDataStr);
|
||||
sheet.writeStr(row, col++, s품명, fDataStr);
|
||||
sheet.writeStr(row, col++, s규격, fDataStr);
|
||||
sheet.writeNum(row, col++, qty, fDataNum);
|
||||
sheet.writeNum(row, col++, (int)price, fDataNum);
|
||||
sheet.writeNum(row, col++, (int)amt, fDataNum);
|
||||
sheet.writeStr(row, col++, s공급, fDataStr);
|
||||
sheet.writeStr(row, col++, s비고, fDataStr);
|
||||
sheet.writeStr(row, col++, "전자실", fDataStr);
|
||||
row += 1;
|
||||
}
|
||||
|
||||
////sb.AppendLine("<td>" + getmaxstr(sSTIE) + "</td>");
|
||||
//''sb.AppendLine("<td>" + getmaxstr(s분류) + "</td>");
|
||||
//sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
|
||||
//sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
|
||||
|
||||
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
|
||||
sb.AppendLine("<td style='text-align:center;' colspan='2'><strong>{금액}</strong></td>");
|
||||
sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
sb.AppendLine("</tr>");
|
||||
|
||||
sb.AppendLine("</tbody>");
|
||||
sb.AppendLine("</table>");
|
||||
|
||||
|
||||
if (sheet != null)
|
||||
{
|
||||
col = 0;
|
||||
sheet.setRow(row, 30);
|
||||
sheet.writeStr(row, col++, "합계", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeNum(row, col++, (int)totalamt, fTitle);
|
||||
sheet.setMerge(row, row, col - 1, col);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
sheet.writeStr(row, col++, "", fTitle);
|
||||
row += 1;
|
||||
}
|
||||
|
||||
|
||||
if (book != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
book.save(savefilenamexls);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
return sb.ToString().Replace("{금액}", totalamt.ToString("N0"));
|
||||
}
|
||||
}
|
||||
public static class DatabaseManager
|
||||
{
|
||||
private static System.Data.SqlClient.SqlConnection getCn()
|
||||
|
||||
@@ -559,7 +559,7 @@
|
||||
<Project>{58cfc90c-5068-46a2-a8de-0e92ee9e0990}</Project>
|
||||
<Name>AmkorRestfulService</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Sub\YARTE\YARTE.csproj">
|
||||
<ProjectReference Include="..\..\Sub\YARTE\YARTE\YARTE\YARTE.csproj">
|
||||
<Project>{db5ee9c8-eacf-4231-877e-b9dfd7a714de}</Project>
|
||||
<Name>YARTE</Name>
|
||||
</ProjectReference>
|
||||
|
||||
569
SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
generated
569
SubProject/FEQ0000/PurchaseEB/fPurchaseEB.Designer.cs
generated
@@ -30,36 +30,37 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseEB));
|
||||
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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = 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 textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = 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 textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = 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.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType81 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType82 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType83 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType84 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType85 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType86 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType87 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType88 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType89 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType90 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType41 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType91 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType42 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType43 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType92 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType44 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType93 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType45 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType46 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType94 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType47 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType48 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType95 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType96 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType97 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType49 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType98 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType99 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType50 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType100 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.tam = new FEQ0000.dsPurchaseTableAdapters.TableAdapterManager();
|
||||
@@ -106,6 +107,7 @@
|
||||
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem4 = 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.makeRepeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -141,7 +143,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();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
@@ -254,7 +255,6 @@
|
||||
//
|
||||
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";
|
||||
@@ -381,7 +381,6 @@
|
||||
// tbFind
|
||||
//
|
||||
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbFind.Name = "tbFind";
|
||||
this.tbFind.Size = new System.Drawing.Size(100, 26);
|
||||
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
|
||||
@@ -505,7 +504,7 @@
|
||||
this.sC검색ToolStripMenuItem,
|
||||
this.cRCF검색ToolStripMenuItem});
|
||||
this.cm1.Name = "contextMenuStrip1";
|
||||
this.cm1.Size = new System.Drawing.Size(314, 464);
|
||||
this.cm1.Size = new System.Drawing.Size(314, 442);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
@@ -559,6 +558,13 @@
|
||||
this.toolStripMenuItem4.Name = "toolStripMenuItem4";
|
||||
this.toolStripMenuItem4.Size = new System.Drawing.Size(310, 6);
|
||||
//
|
||||
// 상태일괄변경ToolStripMenuItem
|
||||
//
|
||||
this.상태일괄변경ToolStripMenuItem.Name = "상태일괄변경ToolStripMenuItem";
|
||||
this.상태일괄변경ToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
|
||||
this.상태일괄변경ToolStripMenuItem.Text = "상태 일괄 변경";
|
||||
this.상태일괄변경ToolStripMenuItem.Click += new System.EventHandler(this.상태일괄변경ToolStripMenuItem_Click);
|
||||
//
|
||||
// 입고ToolStripMenuItem
|
||||
//
|
||||
this.입고ToolStripMenuItem.Name = "입고ToolStripMenuItem";
|
||||
@@ -655,7 +661,6 @@
|
||||
// dtSD
|
||||
//
|
||||
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.dtSD.Name = "dtSD";
|
||||
this.dtSD.Size = new System.Drawing.Size(75, 37);
|
||||
this.dtSD.Text = "1982-11-23";
|
||||
@@ -672,7 +677,6 @@
|
||||
// dtED
|
||||
//
|
||||
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.dtED.Name = "dtED";
|
||||
this.dtED.Size = new System.Drawing.Size(75, 37);
|
||||
this.dtED.Text = "1982-11-23";
|
||||
@@ -728,7 +732,6 @@
|
||||
// tbRequest
|
||||
//
|
||||
this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbRequest.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbRequest.Name = "tbRequest";
|
||||
this.tbRequest.Size = new System.Drawing.Size(70, 37);
|
||||
this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
@@ -839,287 +842,304 @@
|
||||
this.fpSpread1_Sheet1.SheetName = "Sheet1";
|
||||
// Formulas and custom names must be loaded with R1C1 reference style
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 32;
|
||||
this.fpSpread1_Sheet1.ColumnCount = 33;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "구매신청일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "상태";
|
||||
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 = "SC#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SCR/CF";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "수령";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "SID#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "규격";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "수량\r\n(요청)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "수량\r\n(구매)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "단위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "단가\r\n(해외)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "통화";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "단가";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "합계금액";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "공급업체";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "SITE";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "요청";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "SC#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "SCR/CF";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "수령";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "SID#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "품명";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "규격";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "수량\r\n(요청)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 13).Value = "수량\r\n(구매)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 14).Value = "단위";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "단가\r\n(해외)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "통화";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 17).Value = "단가";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 18).Value = "합계금액";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 19).Value = "공급업체";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "비고(구매사유)\r\n(요청자)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "입고예정";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "입고일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "입고수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "PO#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "비고\r\n(담당자)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "삭제됨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 21).Value = "*";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 22).Value = "비고(구매사유)\r\n(요청자)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 23).Value = "입고예정";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 24).Value = "입고일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 25).Value = "입고수량";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 26).Value = "PO#";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 27).Value = "비고\r\n(담당자)";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 28).Value = "삭제됨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType81;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "구매신청일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Tag = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 82F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType82;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "state";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "상태";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Tag = "state";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 116F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType83;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "site";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "SITE";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Tag = "site";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Tag = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 50F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "sc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "SC#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Tag = "sc";
|
||||
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 = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "orderno";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType84;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "dept";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Tag = "분류";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 100F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType85;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "요청";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Tag = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType86;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "sc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "SCR/CF";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Tag = "crcf";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "SC#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Tag = "sc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "receiveName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "수령";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "receiveName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "SID#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Tag = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Tag = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "규격";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Tag = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.NegativeRed = true;
|
||||
numberCellType2.NullDisplay = "--";
|
||||
numberCellType2.Separator = ",";
|
||||
numberCellType2.ShowSeparator = true;
|
||||
numberCellType2.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumqtyReq";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "수량\r\n(요청)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
|
||||
numberCellType3.DecimalPlaces = 0;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType87;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "orderno";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "SCR/CF";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "crcf";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType88;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "receiveName";
|
||||
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 = "receiveName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType89;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "SID#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Tag = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType90;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Tag = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType41.DecimalPlaces = 0;
|
||||
numberCellType41.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType41.MaximumValue = 2147483647D;
|
||||
numberCellType41.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType41;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType91;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "규격";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 119F;
|
||||
numberCellType42.DecimalPlaces = 0;
|
||||
numberCellType42.NegativeRed = true;
|
||||
numberCellType42.NullDisplay = "--";
|
||||
numberCellType42.Separator = ",";
|
||||
numberCellType42.ShowSeparator = true;
|
||||
numberCellType42.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType42;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pumqtyReq";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "수량\r\n(구매)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 55F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumunit";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "수량\r\n(요청)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 119F;
|
||||
numberCellType43.DecimalPlaces = 0;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType43;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "단위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F;
|
||||
numberCellType4.DecimalPlaces = 2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumpriceD";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "단가\r\n(해외)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "currency";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "통화";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "수량\r\n(구매)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType92;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumunit";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "단위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 119F;
|
||||
numberCellType44.DecimalPlaces = 2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType44;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumpriceD";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "단가\r\n(해외)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 33F;
|
||||
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(16).CellType = numberCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Label = "단가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Tag = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F;
|
||||
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(17).CellType = numberCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType93;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "currency";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Label = "통화";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Width = 119F;
|
||||
numberCellType45.DecimalPlaces = 0;
|
||||
numberCellType45.MaximumValue = 9999999999999.99D;
|
||||
numberCellType45.MinimumValue = -9999999999999.99D;
|
||||
numberCellType45.NegativeRed = true;
|
||||
numberCellType45.NullDisplay = "--";
|
||||
numberCellType45.Separator = ",";
|
||||
numberCellType45.ShowSeparator = true;
|
||||
numberCellType45.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType45;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "합계금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType13;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Label = "공급업체";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType7.DecimalPlaces = 0;
|
||||
numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType7.MaximumValue = 2147483647D;
|
||||
numberCellType7.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supplyidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 119F;
|
||||
numberCellType46.DecimalPlaces = 0;
|
||||
numberCellType46.MaximumValue = 9999999999999.99D;
|
||||
numberCellType46.MinimumValue = -9999999999999.99D;
|
||||
numberCellType46.NegativeRed = true;
|
||||
numberCellType46.NullDisplay = "--";
|
||||
numberCellType46.Separator = ",";
|
||||
numberCellType46.ShowSeparator = true;
|
||||
numberCellType46.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType46;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Label = "합계금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Tag = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType94;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Label = "공급업체";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Tag = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType8.DecimalPlaces = 0;
|
||||
numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType8.MaximumValue = 2147483647D;
|
||||
numberCellType8.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "projectidx";
|
||||
numberCellType47.DecimalPlaces = 0;
|
||||
numberCellType47.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType47.MaximumValue = 2147483647D;
|
||||
numberCellType47.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType47;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "supplyidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Tag = "projectidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F;
|
||||
textCellType14.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType14;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Label = "비고(구매사유)\r\n(요청자)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Tag = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Width = 96F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "edate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Label = "입고예정";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType48.DecimalPlaces = 0;
|
||||
numberCellType48.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType48.MaximumValue = 2147483647D;
|
||||
numberCellType48.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType48;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "projectidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Tag = "projectidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Width = 119F;
|
||||
textCellType95.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType95;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Label = "비고(구매사유)\r\n(요청자)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Tag = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType96;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "edate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).Label = "입고일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).Tag = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).Width = 51F;
|
||||
numberCellType9.DecimalPlaces = 0;
|
||||
numberCellType9.NegativeRed = true;
|
||||
numberCellType9.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).CellType = numberCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).Label = "입고예정";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType97;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "indate";
|
||||
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).Tag = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Width = 75F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType17;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Label = "입고일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Tag = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Width = 119F;
|
||||
numberCellType49.DecimalPlaces = 0;
|
||||
numberCellType49.NegativeRed = true;
|
||||
numberCellType49.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType49;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Label = "PO#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F;
|
||||
textCellType18.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType18;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "chkremark";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Label = "비고\r\n(담당자)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Label = "삭제됨";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Tag = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Tag = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Label = "입고수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType98;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Label = "PO#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Width = 119F;
|
||||
textCellType99.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType99;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "chkremark";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Label = "비고\r\n(담당자)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Label = "삭제됨";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Tag = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "conf_status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).CellType = numberCellType50;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "conf_status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Tag = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "conf_request";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType100;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "conf_status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).Tag = "conf_request";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).Tag = "conf_status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "conf_reponse";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType100;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "conf_request";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).Tag = "conf_reponse";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).Tag = "conf_request";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).Width = 119F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType100;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "conf_reponse";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).Tag = "conf_reponse";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).Width = 119F;
|
||||
this.fpSpread1_Sheet1.DataAutoCellTypes = false;
|
||||
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
@@ -1151,13 +1171,6 @@
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// 상태일괄변경ToolStripMenuItem
|
||||
//
|
||||
this.상태일괄변경ToolStripMenuItem.Name = "상태일괄변경ToolStripMenuItem";
|
||||
this.상태일괄변경ToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
|
||||
this.상태일괄변경ToolStripMenuItem.Text = "상태 일괄 변경";
|
||||
this.상태일괄변경ToolStripMenuItem.Click += new System.EventHandler(this.상태일괄변경ToolStripMenuItem_Click);
|
||||
//
|
||||
// fPurchaseEB
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1267,9 +1280,9 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 엑셀에서열기ToolStripMenuItem;
|
||||
private dsPurchaseTableAdapters.EETGW_PurchaseEBTableAdapter ta;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton8;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 현재목록메일전송ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||
private System.Windows.Forms.ToolStripMenuItem 상태일괄변경ToolStripMenuItem;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@ using NetOffice.OutlookApi.Enums;
|
||||
using FEQ0000.Purchase;
|
||||
using FCOMMON;
|
||||
using NetOffice.OfficeApi;
|
||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
||||
using FarPoint.Win.Spread;
|
||||
|
||||
namespace FEQ0000
|
||||
{
|
||||
@@ -119,8 +121,8 @@ namespace FEQ0000
|
||||
foreach (var item in stList)
|
||||
cmbState.Items.Add(item.Value);
|
||||
cmbState.Items.Add("<=Received");
|
||||
this.cmbState.SelectedIndex = 0;
|
||||
|
||||
this.cmbState.SelectedIndex = 0;
|
||||
|
||||
//all기본 - 양진원
|
||||
//this.cmbCr.SelectedIndex = 1;
|
||||
|
||||
@@ -146,7 +148,7 @@ namespace FEQ0000
|
||||
foreach (FarPoint.Win.Spread.Column col in fpSpread1.ActiveSheet.Columns)
|
||||
col.Locked = true;
|
||||
}
|
||||
|
||||
|
||||
refreshData();
|
||||
|
||||
//열표시여부를 설정
|
||||
@@ -194,7 +196,7 @@ namespace FEQ0000
|
||||
{
|
||||
cmd.CommandText += " and (isnull(dbo.getusername(request),'') like @req or isnull(dbo.getusername(receive),'') like @req)";
|
||||
}
|
||||
|
||||
|
||||
if (cmbState.SelectedIndex != 0)
|
||||
{
|
||||
if (cmbState.Text.ToUpper() == "<=RECEIVED")
|
||||
@@ -255,7 +257,7 @@ namespace FEQ0000
|
||||
var statindex = this.fpSpread1.ActiveSheet.Columns["state"].Index;
|
||||
var crcfindex = this.fpSpread1.ActiveSheet.Columns["crcf"].Index;
|
||||
var prjindex = this.fpSpread1.ActiveSheet.Columns["projectidx"].Index;
|
||||
var cstsindex = this.fpSpread1.ActiveSheet.Columns["conf_status"].Index;
|
||||
var cstsindex = this.fpSpread1.ActiveSheet.Columns["conf_status"].Index;
|
||||
|
||||
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
{
|
||||
@@ -927,12 +929,7 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
string getmaxstr(string src, int len = 30)
|
||||
{
|
||||
if (src.Length > len) return src.Substring(0, len) + "...";
|
||||
else return src;
|
||||
}
|
||||
|
||||
|
||||
List<string> ChangeMailAddress(List<string> userid)
|
||||
{
|
||||
var db = new DataClasses1DataContext();
|
||||
@@ -1019,7 +1016,7 @@ namespace FEQ0000
|
||||
private void 입고품목메일전송ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var cate = "PF";
|
||||
|
||||
|
||||
var db = new DataClasses1DataContext();
|
||||
var dr = db.MailForm.Where(t => t.cate == cate).FirstOrDefault();
|
||||
|
||||
@@ -1079,117 +1076,31 @@ namespace FEQ0000
|
||||
newMail.To = string.Join(";", tolist.ToArray());
|
||||
newMail.CC = string.Join(";", cclist.ToArray());
|
||||
newMail.BCC = string.Join(";", bcclist.ToArray());
|
||||
string fn = "";
|
||||
if (f.chkAttach.Checked)
|
||||
{
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\PurchaseEB_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
fn = fi.FullName;
|
||||
|
||||
///save file
|
||||
fpSpread1.SaveExcel(fi.FullName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
//fpSpread1.SaveExcel(fi.FullName,
|
||||
// FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
// | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
// | FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
// | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
|
||||
newMail.Attachments.Add(fi.FullName);
|
||||
}
|
||||
var rows = this.GetDatarows();
|
||||
var tabledata = UTIL_EQ0000.MakeDataTableToHTML(rows,fn);
|
||||
if (f.chkList.Checked)
|
||||
{
|
||||
//목록을 본문에 추가한다
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
sb.AppendLine("<thead>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>신청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>CR/CF</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수령</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SID</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품명</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급</td>");
|
||||
sb.AppendLine("</thead>");
|
||||
sb.AppendLine("<tbody>");
|
||||
|
||||
var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index;
|
||||
var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index;
|
||||
var col_CRLF = fpSpread1_Sheet1.Columns["crcf"].Index;
|
||||
|
||||
var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index;
|
||||
var col_SID = fpSpread1_Sheet1.Columns["sid"].Index;
|
||||
var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index;
|
||||
var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index;
|
||||
var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index;
|
||||
var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index;
|
||||
var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index;
|
||||
var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index;
|
||||
var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index;
|
||||
|
||||
|
||||
for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++)
|
||||
{
|
||||
var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value;
|
||||
var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value;
|
||||
var vCRCF = fpSpread1_Sheet1.Cells[i, col_CRLF].Value;
|
||||
|
||||
var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value;
|
||||
var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value;
|
||||
var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value;
|
||||
var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value;
|
||||
var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value;
|
||||
var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value;
|
||||
var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value;
|
||||
var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value;
|
||||
var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value;
|
||||
|
||||
var s신청 = String.Empty;
|
||||
var s요청 = String.Empty;
|
||||
var sCRCF = String.Empty;
|
||||
var s수령 = String.Empty;
|
||||
var sSID = String.Empty;
|
||||
var s품명 = String.Empty;
|
||||
var s규격 = String.Empty;
|
||||
var s수량 = "0";
|
||||
var s단가 = "0";
|
||||
var s금액 = "0";
|
||||
var s입고 = String.Empty;
|
||||
var s공급 = String.Empty;
|
||||
var s비고 = String.Empty;
|
||||
|
||||
if (v신청 != null) s신청 = v신청.ToString();
|
||||
if (v요청 != null) s요청 = v요청.ToString();
|
||||
if (vCRCF != null) sCRCF = vCRCF.ToString();
|
||||
if (v수령 != null) s수령 = v수령.ToString();
|
||||
if (vSID != null) sSID = vSID.ToString();
|
||||
if (v품명 != null) s품명 = v품명.ToString();
|
||||
if (v규격 != null) s규격 = v규격.ToString();
|
||||
if (v수량 != null) s수량 = v수량.ToString();
|
||||
if (v단가 != null) s단가 = v단가.ToString();
|
||||
if (v금액 != null) s금액 = v금액.ToString();
|
||||
if (v공급 != null) s공급 = v공급.ToString();
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
sb.AppendLine("</tbody>");
|
||||
sb.AppendLine("</table>");
|
||||
form_body += sb.ToString();
|
||||
form_body += tabledata;
|
||||
}
|
||||
|
||||
if (fn.isEmpty() == false)
|
||||
newMail.Attachments.Add(fn);
|
||||
|
||||
//newMail.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
form_body = form_body.Replace("{DATE}", datestr);
|
||||
newMail.HTMLBody = form_body + newMail.HTMLBody; //
|
||||
@@ -1201,6 +1112,276 @@ namespace FEQ0000
|
||||
}
|
||||
}
|
||||
|
||||
//string MakeDataTableToHTML(string savefilenamexls = "")
|
||||
//{
|
||||
|
||||
// libxl.Book book = null;// = new libxl.BinBook();
|
||||
// libxl.Sheet sheet = null;
|
||||
|
||||
|
||||
// libxl.Format fTitle = null;
|
||||
// libxl.Format fDataStr = null;
|
||||
// libxl.Format fDataNum = null;
|
||||
|
||||
// if (savefilenamexls.isEmpty() == false)
|
||||
// {
|
||||
// book = new libxl.XmlBook();
|
||||
// book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
// sheet = book.addSheet("Data");
|
||||
|
||||
// fTitle = book.addFormat();
|
||||
// fDataStr = book.addFormat();
|
||||
// fDataNum = book.addFormat();
|
||||
|
||||
// fDataStr.alignH = libxl.AlignH.ALIGNH_CENTER;
|
||||
// fDataStr.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
// fDataStr.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
// fDataStr.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
// fDataStr.patternForegroundColor = libxl.Color.COLOR_WHITE;
|
||||
|
||||
// fTitle.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
// fTitle.alignH = libxl.AlignH.ALIGNH_CENTER;
|
||||
// fTitle.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
// fTitle.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
// fTitle.patternForegroundColor = libxl.Color.COLOR_GRAY25;
|
||||
|
||||
// fDataNum.alignH = libxl.AlignH.ALIGNH_GENERAL;
|
||||
// fDataNum.alignV = libxl.AlignV.ALIGNV_CENTER;
|
||||
// fDataNum.setBorder(libxl.BorderStyle.BORDERSTYLE_THIN);
|
||||
// fDataNum.fillPattern = libxl.FillPattern.FILLPATTERN_SOLID;
|
||||
// fDataNum.patternForegroundColor = libxl.Color.COLOR_WHITE;
|
||||
|
||||
// }
|
||||
|
||||
// //목록을 본문에 추가한다
|
||||
// System.Text.StringBuilder sb = new StringBuilder();
|
||||
// sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;' colspan='2'><strong>{금액}</strong></td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("</tr>");
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SC</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>자재번호</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>청구자</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품목</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급업체</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>용도</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청부서</td>");
|
||||
// sb.AppendLine("</tr>");
|
||||
// sb.AppendLine("<tbody>");
|
||||
|
||||
// var row = 0;
|
||||
// var col = 0;
|
||||
// if (sheet != null)
|
||||
// {
|
||||
// var basewidth = 15;
|
||||
// sheet.setRow(row, 30);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "S/C", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "자재번호", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "청구자", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 2)); sheet.writeStr(row, col++, "품목", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 3)); sheet.writeStr(row, col++, "규격", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 0.5)); sheet.writeStr(row, col++, "수량", fTitle);
|
||||
// sheet.setCol(col, (int)(basewidth * 0.5)); sheet.writeStr(row, col++, "단가", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "금액", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "공급업체", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "용도", fTitle);
|
||||
// sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "요청부서", fTitle);
|
||||
|
||||
// }
|
||||
|
||||
|
||||
|
||||
// var col_신청일 = fpSpread1_Sheet1.Columns["pdate"].Index;
|
||||
// var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index;
|
||||
// var col_CRLF = fpSpread1_Sheet1.Columns["crcf"].Index;
|
||||
|
||||
// var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index;
|
||||
// var col_SID = fpSpread1_Sheet1.Columns["sid"].Index;
|
||||
// var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index;
|
||||
// var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index;
|
||||
// var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index;
|
||||
// var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index;
|
||||
// var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index;
|
||||
// var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index;
|
||||
// var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index;
|
||||
|
||||
// var col_site = fpSpread1_Sheet1.Columns["site"].Index;
|
||||
// var col_분류 = fpSpread1_Sheet1.Columns["분류"].Index;
|
||||
// var col_sc = fpSpread1_Sheet1.Columns["sc"].Index;
|
||||
|
||||
// int totalamt = 0;
|
||||
// row = 1;
|
||||
// col = 0;
|
||||
// for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++)
|
||||
// {
|
||||
// var v신청일 = fpSpread1_Sheet1.Cells[i, col_신청일].Value;
|
||||
// var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value;
|
||||
// var vCRCF = fpSpread1_Sheet1.Cells[i, col_CRLF].Value;
|
||||
|
||||
// var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value;
|
||||
// var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value;
|
||||
// var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value;
|
||||
// var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value;
|
||||
// var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value;
|
||||
// var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value;
|
||||
// var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value;
|
||||
// var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value;
|
||||
// var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value;
|
||||
|
||||
// var vSITE = fpSpread1_Sheet1.Cells[i, col_site].Value;
|
||||
// var v분류 = fpSpread1_Sheet1.Cells[i, col_분류].Value;
|
||||
// var vsc = fpSpread1_Sheet1.Cells[i, col_sc].Value;
|
||||
|
||||
// var s신청일 = String.Empty;
|
||||
// var s요청 = String.Empty;
|
||||
// var sCRCF = String.Empty;
|
||||
// var s수령 = String.Empty;
|
||||
// var sSID = String.Empty;
|
||||
// var s품명 = String.Empty;
|
||||
// var s규격 = String.Empty;
|
||||
// var s수량 = "0";
|
||||
// var s단가 = "0";
|
||||
// var s금액 = "0";
|
||||
// var s입고 = String.Empty;
|
||||
// var s공급 = String.Empty;
|
||||
// var s비고 = String.Empty;
|
||||
// var sSTIE = string.Empty;
|
||||
// var s분류 = string.Empty;
|
||||
// var sSC = string.Empty;
|
||||
|
||||
// if (v신청일 != null) s신청일 = v신청일.ToString();
|
||||
// if (v요청 != null) s요청 = v요청.ToString();
|
||||
// if (vCRCF != null) sCRCF = vCRCF.ToString();
|
||||
// if (v수령 != null) s수령 = v수령.ToString();
|
||||
// if (vSID != null) sSID = vSID.ToString();
|
||||
// if (v품명 != null) s품명 = v품명.ToString();
|
||||
// if (v규격 != null) s규격 = v규격.ToString();
|
||||
// if (v수량 != null) s수량 = v수량.ToString();
|
||||
// if (v단가 != null) s단가 = v단가.ToString();
|
||||
// if (v금액 != null) s금액 = v금액.ToString();
|
||||
// if (v공급 != null) s공급 = v공급.ToString();
|
||||
// if (vSITE != null) sSTIE = vSITE.ToString();
|
||||
// if (v분류 != null) s분류 = v분류.ToString();
|
||||
// if (vsc != null) sSC = vsc.ToString();
|
||||
|
||||
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SC</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>자재번호</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>청구자</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품목</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급업체</td>");
|
||||
// //sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청부서</td>");
|
||||
|
||||
|
||||
// var qty = int.Parse(s수량);
|
||||
// var price = int.Parse(s단가);
|
||||
// var amt = int.Parse(s금액);
|
||||
// totalamt += amt;
|
||||
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(sSC) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
// sb.AppendLine("<td style='text-align:center'>" + qty.ToString("N0") + "</td>");
|
||||
// sb.AppendLine("<td style='text-align:right'>" + price.ToString("N0") + "</td>");
|
||||
// sb.AppendLine("<td style='text-align:right'>" + amt.ToString("N0") + "</td>");
|
||||
// sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
// sb.AppendLine("<td>" + s비고 + "</td>");
|
||||
// sb.AppendLine("<td>전자실</td>");
|
||||
|
||||
// if (sheet != null)
|
||||
// {
|
||||
// col = 0;
|
||||
// sheet.setRow(row, 23);
|
||||
// sheet.writeStr(row, col++, sSC, fDataStr);
|
||||
// sheet.writeStr(row, col++, sSID, fDataStr);
|
||||
// sheet.writeStr(row, col++, s요청, fDataStr);
|
||||
// sheet.writeStr(row, col++, s품명, fDataStr);
|
||||
// sheet.writeStr(row, col++, s규격, fDataStr);
|
||||
// sheet.writeNum(row, col++, qty, fDataNum);
|
||||
// sheet.writeNum(row, col++, price, fDataNum);
|
||||
// sheet.writeNum(row, col++, amt, fDataNum);
|
||||
// sheet.writeStr(row, col++, s공급, fDataStr);
|
||||
// sheet.writeStr(row, col++, s비고, fDataStr);
|
||||
// sheet.writeStr(row, col++, "전자실", fDataStr);
|
||||
// row += 1;
|
||||
// }
|
||||
|
||||
// ////sb.AppendLine("<td>" + getmaxstr(sSTIE) + "</td>");
|
||||
// //''sb.AppendLine("<td>" + getmaxstr(s분류) + "</td>");
|
||||
// //sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
|
||||
// //sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
|
||||
|
||||
|
||||
// sb.AppendLine("</tr>");
|
||||
// }
|
||||
|
||||
// sb.AppendLine("<tr>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
|
||||
// sb.AppendLine("<td style='text-align:center;' colspan='3'><strong>{금액}</strong></td>");
|
||||
// sb.AppendLine("<td style='border:none;text-align:center;'> </td>");
|
||||
// sb.AppendLine("</tr>");
|
||||
|
||||
// sb.AppendLine("</tbody>");
|
||||
// sb.AppendLine("</table>");
|
||||
|
||||
|
||||
// if (sheet != null)
|
||||
// {
|
||||
// col = 0;
|
||||
// sheet.setRow(row, 30);
|
||||
// sheet.writeStr(row, col++, "합계", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeStr(row, col++, "", fTitle);
|
||||
// sheet.writeNum(row, col++, totalamt, fTitle);
|
||||
// sheet.setMerge(row, row, col - 1, col + 2);
|
||||
// row += 1;
|
||||
// }
|
||||
|
||||
|
||||
// if (book != null)
|
||||
// {
|
||||
// try
|
||||
// {
|
||||
// book.save(savefilenamexls);
|
||||
// }
|
||||
// catch { }
|
||||
// }
|
||||
// return sb.ToString().Replace("{금액}", totalamt.ToString("N0"));
|
||||
//}
|
||||
|
||||
|
||||
|
||||
private void toolStripButton3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf");
|
||||
@@ -1264,7 +1445,7 @@ namespace FEQ0000
|
||||
func_ipgo();
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void 엑셀에서열기ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var fn = DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls";
|
||||
@@ -1292,10 +1473,9 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton8_Click(object sender, EventArgs e)
|
||||
List<dsPurchase.EETGW_PurchaseEBRow> GetDatarows()
|
||||
{
|
||||
|
||||
|
||||
List<dsPurchase.EETGW_PurchaseEBRow> rows = new List<dsPurchase.EETGW_PurchaseEBRow>();
|
||||
//선택된 자료의 데이터를 추출한다.
|
||||
var selected = this.fpSpread1_Sheet1.GetSelections(); //선택된 개체확인
|
||||
List<int> rowidxs = new List<int>();
|
||||
@@ -1327,7 +1507,7 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
//수집된데이터를 보내야한다.
|
||||
List<dsPurchase.EETGW_PurchaseEBRow> rows = new List<dsPurchase.EETGW_PurchaseEBRow>();
|
||||
|
||||
var idx = 0;
|
||||
foreach (var i in rowidxs)
|
||||
{
|
||||
@@ -1335,6 +1515,14 @@ namespace FEQ0000
|
||||
var row = this.dsPurchase.EETGW_PurchaseEB.Where(t => t.idx == rowidx).First();
|
||||
rows.Add(row);
|
||||
}
|
||||
return rows;
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton8_Click(object sender, EventArgs e)
|
||||
{
|
||||
//수집된데이터를 보내야한다.
|
||||
var rows = GetDatarows();
|
||||
|
||||
//이자료를 승인요청창에 보낸다.
|
||||
if (rows.Any() == false)
|
||||
@@ -1503,17 +1691,17 @@ namespace FEQ0000
|
||||
if (v공급 != null) s공급 = v공급.ToString();
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(s신청) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(s요청) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(sCRCF) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(s수령) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(sSID) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(s품명) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(s규격) + "</td>");
|
||||
sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
sb.AppendLine("<td>" + UTIL_EQ0000.getmaxstr(s공급) + "</td>");
|
||||
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
|
||||
@@ -294,6 +294,20 @@
|
||||
pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L
|
||||
fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+
|
||||
brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
|
||||
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
|
||||
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
|
||||
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
|
||||
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
|
||||
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
|
||||
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
|
||||
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
|
||||
AAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="입고품목메일전송ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -333,20 +347,6 @@
|
||||
oQIAAAJCCriYcSOGDCgzBAiQYSTGDQM4AjBAEwGCCRRIftypoKcDBwcS5MQIYIBRBQ0aPCBAwIKDoR4A
|
||||
cFiZdKmFAgUOQAWwIKnSpgUkSOgA1UCCqmAlVKgAoWyCBQsSOLhwoAMECBfK2tw7oa9fqBYDL2yIMCAA
|
||||
Ow==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX
|
||||
EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl
|
||||
7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR
|
||||
BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT
|
||||
Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz
|
||||
tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV
|
||||
iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i
|
||||
DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA
|
||||
AAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
System.Windows.Forms.Label label15;
|
||||
System.Windows.Forms.Label label9;
|
||||
System.Windows.Forms.Label label18;
|
||||
System.Windows.Forms.Label label2;
|
||||
this.tbSC = new System.Windows.Forms.TextBox();
|
||||
this.tbSID = new System.Windows.Forms.TextBox();
|
||||
this.tbPumName = new System.Windows.Forms.TextBox();
|
||||
@@ -71,7 +72,8 @@
|
||||
this.chkInDate = new System.Windows.Forms.CheckBox();
|
||||
this.btSaveAdd = new System.Windows.Forms.Button();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.tbStorage = new System.Windows.Forms.ComboBox();
|
||||
this.cmbDept = new System.Windows.Forms.ComboBox();
|
||||
this.cmbSite = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRemark = new System.Windows.Forms.ComboBox();
|
||||
this.cmbCurrency = new System.Windows.Forms.ComboBox();
|
||||
this.tbQtyReal = new System.Windows.Forms.TextBox();
|
||||
@@ -80,6 +82,8 @@
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.dtExpDate = new System.Windows.Forms.DateTimePicker();
|
||||
this.chkExp = new System.Windows.Forms.CheckBox();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.tbInQty = new System.Windows.Forms.TextBox();
|
||||
this.button6 = new System.Windows.Forms.Button();
|
||||
@@ -91,8 +95,6 @@
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
this.dtExpDate = new System.Windows.Forms.DateTimePicker();
|
||||
this.chkExp = new System.Windows.Forms.CheckBox();
|
||||
receiveLabel = new System.Windows.Forms.Label();
|
||||
scLabel = new System.Windows.Forms.Label();
|
||||
sidLabel = new System.Windows.Forms.Label();
|
||||
@@ -112,6 +114,7 @@
|
||||
label15 = new System.Windows.Forms.Label();
|
||||
label9 = new System.Windows.Forms.Label();
|
||||
label18 = new System.Windows.Forms.Label();
|
||||
label2 = new System.Windows.Forms.Label();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
@@ -254,12 +257,12 @@
|
||||
// label10
|
||||
//
|
||||
label10.AutoSize = true;
|
||||
label10.Location = new System.Drawing.Point(287, 237);
|
||||
label10.Location = new System.Drawing.Point(299, 237);
|
||||
label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label10.Name = "label10";
|
||||
label10.Size = new System.Drawing.Size(54, 20);
|
||||
label10.Size = new System.Drawing.Size(37, 20);
|
||||
label10.TabIndex = 23;
|
||||
label10.Text = "보관소";
|
||||
label10.Text = "SITE";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
@@ -314,6 +317,16 @@
|
||||
label18.TabIndex = 51;
|
||||
label18.Text = "\\";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new System.Drawing.Point(298, 272);
|
||||
label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new System.Drawing.Size(39, 20);
|
||||
label2.TabIndex = 53;
|
||||
label2.Text = "분류";
|
||||
//
|
||||
// tbSC
|
||||
//
|
||||
this.tbSC.Location = new System.Drawing.Point(115, 151);
|
||||
@@ -543,7 +556,9 @@
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.tbStorage);
|
||||
this.groupBox1.Controls.Add(this.cmbDept);
|
||||
this.groupBox1.Controls.Add(label2);
|
||||
this.groupBox1.Controls.Add(this.cmbSite);
|
||||
this.groupBox1.Controls.Add(label18);
|
||||
this.groupBox1.Controls.Add(this.cmbRemark);
|
||||
this.groupBox1.Controls.Add(this.cmbCurrency);
|
||||
@@ -589,20 +604,34 @@
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "필수입력";
|
||||
//
|
||||
// tbStorage
|
||||
// cmbDept
|
||||
//
|
||||
this.tbStorage.FormattingEnabled = true;
|
||||
this.tbStorage.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||
this.tbStorage.Items.AddRange(new object[] {
|
||||
this.cmbDept.FormattingEnabled = true;
|
||||
this.cmbDept.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||
this.cmbDept.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;
|
||||
this.tbStorage.SelectedIndexChanged += new System.EventHandler(this.tbStorage_SelectedIndexChanged);
|
||||
this.cmbDept.Location = new System.Drawing.Point(344, 268);
|
||||
this.cmbDept.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.cmbDept.Name = "cmbDept";
|
||||
this.cmbDept.Size = new System.Drawing.Size(129, 28);
|
||||
this.cmbDept.TabIndex = 54;
|
||||
//
|
||||
// cmbSite
|
||||
//
|
||||
this.cmbSite.FormattingEnabled = true;
|
||||
this.cmbSite.ImeMode = System.Windows.Forms.ImeMode.Alpha;
|
||||
this.cmbSite.Items.AddRange(new object[] {
|
||||
"NR",
|
||||
"SPR",
|
||||
"전자실"});
|
||||
this.cmbSite.Location = new System.Drawing.Point(345, 233);
|
||||
this.cmbSite.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.cmbSite.Name = "cmbSite";
|
||||
this.cmbSite.Size = new System.Drawing.Size(129, 28);
|
||||
this.cmbSite.TabIndex = 52;
|
||||
this.cmbSite.SelectedIndexChanged += new System.EventHandler(this.tbStorage_SelectedIndexChanged);
|
||||
//
|
||||
// cmbRemark
|
||||
//
|
||||
@@ -709,6 +738,28 @@
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "추가정보";
|
||||
//
|
||||
// dtExpDate
|
||||
//
|
||||
this.dtExpDate.Location = new System.Drawing.Point(115, 20);
|
||||
this.dtExpDate.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dtExpDate.Name = "dtExpDate";
|
||||
this.dtExpDate.Size = new System.Drawing.Size(286, 27);
|
||||
this.dtExpDate.TabIndex = 1;
|
||||
this.dtExpDate.TabStop = false;
|
||||
//
|
||||
// chkExp
|
||||
//
|
||||
this.chkExp.AutoSize = true;
|
||||
this.chkExp.Location = new System.Drawing.Point(35, 24);
|
||||
this.chkExp.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.chkExp.Name = "chkExp";
|
||||
this.chkExp.Size = new System.Drawing.Size(73, 24);
|
||||
this.chkExp.TabIndex = 0;
|
||||
this.chkExp.TabStop = false;
|
||||
this.chkExp.Text = "예상일";
|
||||
this.chkExp.UseVisualStyleBackColor = true;
|
||||
this.chkExp.CheckedChanged += new System.EventHandler(this.chkExp_CheckedChanged);
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(15, 313);
|
||||
@@ -787,28 +838,6 @@
|
||||
//
|
||||
this.purchaseTableAdapter.ClearBeforeFill = true;
|
||||
//
|
||||
// dtExpDate
|
||||
//
|
||||
this.dtExpDate.Location = new System.Drawing.Point(115, 20);
|
||||
this.dtExpDate.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dtExpDate.Name = "dtExpDate";
|
||||
this.dtExpDate.Size = new System.Drawing.Size(286, 27);
|
||||
this.dtExpDate.TabIndex = 1;
|
||||
this.dtExpDate.TabStop = false;
|
||||
//
|
||||
// chkExp
|
||||
//
|
||||
this.chkExp.AutoSize = true;
|
||||
this.chkExp.Location = new System.Drawing.Point(35, 24);
|
||||
this.chkExp.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.chkExp.Name = "chkExp";
|
||||
this.chkExp.Size = new System.Drawing.Size(73, 24);
|
||||
this.chkExp.TabIndex = 0;
|
||||
this.chkExp.TabStop = false;
|
||||
this.chkExp.Text = "예상일";
|
||||
this.chkExp.UseVisualStyleBackColor = true;
|
||||
this.chkExp.CheckedChanged += new System.EventHandler(this.chkExp_CheckedChanged);
|
||||
//
|
||||
// fPurchaseEB_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
@@ -882,8 +911,9 @@
|
||||
private System.Windows.Forms.TextBox tbQtyReal;
|
||||
private System.Windows.Forms.ComboBox cmbCurrency;
|
||||
private System.Windows.Forms.ComboBox cmbRemark;
|
||||
private System.Windows.Forms.ComboBox tbStorage;
|
||||
private System.Windows.Forms.ComboBox cmbSite;
|
||||
private System.Windows.Forms.DateTimePicker dtExpDate;
|
||||
private System.Windows.Forms.CheckBox chkExp;
|
||||
private System.Windows.Forms.ComboBox cmbDept;
|
||||
}
|
||||
}
|
||||
@@ -98,29 +98,18 @@ namespace FEQ0000
|
||||
this.cmbState.ValueMember = "Value";
|
||||
this.cmbState.DataSource = stateList;
|
||||
|
||||
////costcenter
|
||||
//var LstCost = FCOMMON.DBM.getCodeTable("68");
|
||||
//this.tbCostCenter.DisplayMember = "Value";
|
||||
//this.tbCostCenter.ValueMember = "Value";
|
||||
//this.tbCostCenter.DataSource = LstCost;
|
||||
//전자실분류
|
||||
var LstCost = FCOMMON.DBM.getCodeTable("71");
|
||||
this.cmbDept.DisplayMember = "Value";
|
||||
this.cmbDept.ValueMember = "Value";
|
||||
this.cmbDept.DataSource = LstCost;
|
||||
|
||||
////line
|
||||
//var LstLine = FCOMMON.DBM.getCodeTable("67");
|
||||
//this.tbLineCode.DisplayMember = "Value";
|
||||
//this.tbLineCode.ValueMember = "Value";
|
||||
//this.tbLineCode.DataSource = LstLine;
|
||||
//SITE
|
||||
var LstLine = FCOMMON.DBM.getCodeTable("23");
|
||||
this.cmbSite.DisplayMember = "Value";
|
||||
this.cmbSite.ValueMember = "Value";
|
||||
this.cmbSite.DataSource = LstLine;
|
||||
|
||||
////구매-담당
|
||||
//var LstMan = FCOMMON.DBM.getCodeTable("65");
|
||||
//this.tbManager.DisplayMember = "Value";
|
||||
//this.tbManager.ValueMember = "Value";
|
||||
//this.tbManager.DataSource = LstMan;
|
||||
|
||||
////구매-승인
|
||||
//var LstAdm = FCOMMON.DBM.getCodeTable("66");
|
||||
//this.tbAdmin.DisplayMember = "Value";
|
||||
//this.tbAdmin.ValueMember = "Value";
|
||||
//this.tbAdmin.DataSource = LstAdm;
|
||||
|
||||
//통화
|
||||
var LstCur = FCOMMON.DBM.getCodeTable("69");
|
||||
@@ -242,7 +231,7 @@ namespace FEQ0000
|
||||
tbSupplyIndex.Text = dr.supplyidx.ToString();
|
||||
|
||||
cmbState.Text = dr.state;
|
||||
tbStorage.Text = dr.place;
|
||||
cmbSite.Text = dr.site;
|
||||
tbSC.Text = dr.sc;
|
||||
tbPO.Text = dr.po;
|
||||
|
||||
@@ -401,7 +390,7 @@ namespace FEQ0000
|
||||
this.tbSID.Text = f.SID;
|
||||
this.tbSID.Tag = f.SID;
|
||||
this.tbPumUnit.Text = f.itemUnit; //181214
|
||||
this.tbStorage.Text = f.Storage;
|
||||
//''this.tbSite.Text = f.tbsi;
|
||||
this.tbPumModel.Enabled = this.tbPumModel.Text.isEmpty();
|
||||
|
||||
this.tbPumUnit.Enabled = false;
|
||||
@@ -508,11 +497,11 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
|
||||
if (tbStorage.Text.Equals("SPR"))
|
||||
{
|
||||
if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes)
|
||||
return false;
|
||||
}
|
||||
//if (tbSite.Text.Equals("SPR"))
|
||||
//{
|
||||
// if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes)
|
||||
// return false;
|
||||
//}
|
||||
|
||||
if (chkInDate.Checked)
|
||||
{
|
||||
@@ -591,6 +580,7 @@ namespace FEQ0000
|
||||
dr.pumqtyReq = vqtyreq;// int.Parse(tbpumqtyReq.Text);
|
||||
dr.pumprice = vpumprice;// decimal.Parse(tbPumPrice.Text);
|
||||
dr.currency = cmbCurrency.Text.Trim();
|
||||
dr.place = "전자실";
|
||||
|
||||
if (decimal.TryParse(tbPumPriceD.Text.Replace(",", ""), out decimal priced))
|
||||
{
|
||||
@@ -628,7 +618,7 @@ namespace FEQ0000
|
||||
dr.pumunit = tbPumUnit.Text;
|
||||
|
||||
dr.supply = tbSupply.Text;
|
||||
dr.place = tbStorage.Text;
|
||||
dr.site = cmbSite.Text;
|
||||
|
||||
|
||||
if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull();
|
||||
|
||||
@@ -191,6 +191,9 @@
|
||||
<metadata name="label18.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<data name="tbBigo.ToolTip" xml:space="preserve">
|
||||
<value>* 공용 공구 / 상세한 사유 작성 (공용으로 함께 쓰는 것들.. 전동 드릴등)
|
||||
* 공용 파트 / 상세한 사유 작성 (공용으로 보관하여 정비에 사용되는 것들..WRITE , COnnector ,pin 등)
|
||||
|
||||
@@ -59,25 +59,22 @@
|
||||
this.btFind = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.pdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.requestNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.sidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumnameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumscaleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumunitDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumqtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumqtyReqDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumpriceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumamtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigo2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.richTextBox2 = new System.Windows.Forms.RichTextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseEBTableAdapter();
|
||||
this.sidDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.requestNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumnameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumscaleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumqtyReqDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumpriceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pumamtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.bigo2DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
@@ -100,8 +97,10 @@
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = true;
|
||||
this.tam.Connection = null;
|
||||
this.tam.EETGW_PurchaseCRTableAdapter = null;
|
||||
this.tam.EETGW_PurchaseEBTableAdapter = null;
|
||||
this.tam.PurchaseTableAdapter = null;
|
||||
this.tam.UpdateOrder = FEQ0000.dsPurchaseTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// bn
|
||||
@@ -299,19 +298,16 @@
|
||||
this.dataGridView1.AutoGenerateColumns = false;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.pdateDataGridViewTextBoxColumn,
|
||||
this.requestNameDataGridViewTextBoxColumn,
|
||||
this.sidDataGridViewTextBoxColumn,
|
||||
this.requestNameDataGridViewTextBoxColumn,
|
||||
this.pumnameDataGridViewTextBoxColumn,
|
||||
this.pumscaleDataGridViewTextBoxColumn,
|
||||
this.pumunitDataGridViewTextBoxColumn,
|
||||
this.pumqtyDataGridViewTextBoxColumn,
|
||||
this.pumqtyReqDataGridViewTextBoxColumn,
|
||||
this.pumpriceDataGridViewTextBoxColumn,
|
||||
this.pumamtDataGridViewTextBoxColumn,
|
||||
this.bigoDataGridViewTextBoxColumn,
|
||||
this.supplyDataGridViewTextBoxColumn,
|
||||
this.bigo2DataGridViewTextBoxColumn,
|
||||
this.bigoDataGridViewTextBoxColumn});
|
||||
this.bigo2DataGridViewTextBoxColumn});
|
||||
this.dataGridView1.DataSource = this.bs;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
|
||||
@@ -328,93 +324,6 @@
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1219, 426);
|
||||
this.dataGridView1.TabIndex = 8;
|
||||
//
|
||||
// pdateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pdateDataGridViewTextBoxColumn.DataPropertyName = "pdate";
|
||||
this.pdateDataGridViewTextBoxColumn.HeaderText = "요청일";
|
||||
this.pdateDataGridViewTextBoxColumn.Name = "pdateDataGridViewTextBoxColumn";
|
||||
//
|
||||
// requestNameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.requestNameDataGridViewTextBoxColumn.DataPropertyName = "requestName";
|
||||
this.requestNameDataGridViewTextBoxColumn.HeaderText = "구매신청";
|
||||
this.requestNameDataGridViewTextBoxColumn.Name = "requestNameDataGridViewTextBoxColumn";
|
||||
this.requestNameDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// sidDataGridViewTextBoxColumn
|
||||
//
|
||||
this.sidDataGridViewTextBoxColumn.DataPropertyName = "sid";
|
||||
this.sidDataGridViewTextBoxColumn.HeaderText = "SID";
|
||||
this.sidDataGridViewTextBoxColumn.Name = "sidDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumnameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumnameDataGridViewTextBoxColumn.DataPropertyName = "pumname";
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.pumnameDataGridViewTextBoxColumn.HeaderText = "품명";
|
||||
this.pumnameDataGridViewTextBoxColumn.Name = "pumnameDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumscaleDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumscaleDataGridViewTextBoxColumn.DataPropertyName = "pumscale";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.pumscaleDataGridViewTextBoxColumn.HeaderText = "모델/규격";
|
||||
this.pumscaleDataGridViewTextBoxColumn.Name = "pumscaleDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumunitDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumunitDataGridViewTextBoxColumn.DataPropertyName = "pumunit";
|
||||
this.pumunitDataGridViewTextBoxColumn.HeaderText = "단위";
|
||||
this.pumunitDataGridViewTextBoxColumn.Name = "pumunitDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumqtyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumqtyDataGridViewTextBoxColumn.DataPropertyName = "pumqty";
|
||||
this.pumqtyDataGridViewTextBoxColumn.HeaderText = "신청수량";
|
||||
this.pumqtyDataGridViewTextBoxColumn.Name = "pumqtyDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumqtyReqDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.DataPropertyName = "pumqtyReq";
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.HeaderText = "구매수량";
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.Name = "pumqtyReqDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumpriceDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumpriceDataGridViewTextBoxColumn.DataPropertyName = "pumprice";
|
||||
this.pumpriceDataGridViewTextBoxColumn.HeaderText = "단가";
|
||||
this.pumpriceDataGridViewTextBoxColumn.Name = "pumpriceDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumamtDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumamtDataGridViewTextBoxColumn.DataPropertyName = "pumamt";
|
||||
this.pumamtDataGridViewTextBoxColumn.HeaderText = "금액";
|
||||
this.pumamtDataGridViewTextBoxColumn.Name = "pumamtDataGridViewTextBoxColumn";
|
||||
//
|
||||
// supplyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.supplyDataGridViewTextBoxColumn.DataPropertyName = "supply";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.supplyDataGridViewTextBoxColumn.HeaderText = "공급";
|
||||
this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
|
||||
//
|
||||
// bigo2DataGridViewTextBoxColumn
|
||||
//
|
||||
this.bigo2DataGridViewTextBoxColumn.DataPropertyName = "chkremark";
|
||||
this.bigo2DataGridViewTextBoxColumn.HeaderText = "비고(구매담당)";
|
||||
this.bigo2DataGridViewTextBoxColumn.Name = "bigo2DataGridViewTextBoxColumn";
|
||||
//
|
||||
// bigoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.bigoDataGridViewTextBoxColumn.DataPropertyName = "bigo";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.bigoDataGridViewTextBoxColumn.HeaderText = "비고(구매요청)";
|
||||
this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn";
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 2;
|
||||
@@ -479,6 +388,75 @@
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// sidDataGridViewTextBoxColumn
|
||||
//
|
||||
this.sidDataGridViewTextBoxColumn.DataPropertyName = "sid";
|
||||
this.sidDataGridViewTextBoxColumn.HeaderText = "SID";
|
||||
this.sidDataGridViewTextBoxColumn.Name = "sidDataGridViewTextBoxColumn";
|
||||
//
|
||||
// requestNameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.requestNameDataGridViewTextBoxColumn.DataPropertyName = "requestName";
|
||||
this.requestNameDataGridViewTextBoxColumn.HeaderText = "청구자";
|
||||
this.requestNameDataGridViewTextBoxColumn.Name = "requestNameDataGridViewTextBoxColumn";
|
||||
this.requestNameDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
//
|
||||
// pumnameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumnameDataGridViewTextBoxColumn.DataPropertyName = "pumname";
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.pumnameDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.pumnameDataGridViewTextBoxColumn.HeaderText = "품목";
|
||||
this.pumnameDataGridViewTextBoxColumn.Name = "pumnameDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumscaleDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumscaleDataGridViewTextBoxColumn.DataPropertyName = "pumscale";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.pumscaleDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.pumscaleDataGridViewTextBoxColumn.HeaderText = "규격";
|
||||
this.pumscaleDataGridViewTextBoxColumn.Name = "pumscaleDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumqtyReqDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.DataPropertyName = "pumqtyReq";
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.HeaderText = "수량";
|
||||
this.pumqtyReqDataGridViewTextBoxColumn.Name = "pumqtyReqDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumpriceDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumpriceDataGridViewTextBoxColumn.DataPropertyName = "pumprice";
|
||||
this.pumpriceDataGridViewTextBoxColumn.HeaderText = "단가";
|
||||
this.pumpriceDataGridViewTextBoxColumn.Name = "pumpriceDataGridViewTextBoxColumn";
|
||||
//
|
||||
// pumamtDataGridViewTextBoxColumn
|
||||
//
|
||||
this.pumamtDataGridViewTextBoxColumn.DataPropertyName = "pumamt";
|
||||
this.pumamtDataGridViewTextBoxColumn.HeaderText = "금액";
|
||||
this.pumamtDataGridViewTextBoxColumn.Name = "pumamtDataGridViewTextBoxColumn";
|
||||
//
|
||||
// bigoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.bigoDataGridViewTextBoxColumn.DataPropertyName = "bigo";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.bigoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.bigoDataGridViewTextBoxColumn.HeaderText = "용도";
|
||||
this.bigoDataGridViewTextBoxColumn.Name = "bigoDataGridViewTextBoxColumn";
|
||||
//
|
||||
// supplyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.supplyDataGridViewTextBoxColumn.DataPropertyName = "supply";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.supplyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.supplyDataGridViewTextBoxColumn.HeaderText = "업체명";
|
||||
this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
|
||||
//
|
||||
// bigo2DataGridViewTextBoxColumn
|
||||
//
|
||||
this.bigo2DataGridViewTextBoxColumn.DataPropertyName = "chkremark";
|
||||
this.bigo2DataGridViewTextBoxColumn.HeaderText = "구매담당비고";
|
||||
this.bigo2DataGridViewTextBoxColumn.Name = "bigo2DataGridViewTextBoxColumn";
|
||||
//
|
||||
// fPurchaseEB_ConfRequest
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -529,19 +507,6 @@
|
||||
private System.Windows.Forms.ToolStripButton btEdit;
|
||||
private System.Windows.Forms.ToolStripButton btSave;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pdateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn requestNameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sidDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumnameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumscaleDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumunitDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumqtyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumqtyReqDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumpriceDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumamtDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigo2DataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
@@ -549,5 +514,15 @@
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private dsPurchaseTableAdapters.EETGW_PurchaseEBTableAdapter ta;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sidDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn requestNameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumnameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumscaleDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumqtyReqDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumpriceDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pumamtDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigoDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn bigo2DataGridViewTextBoxColumn;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,14 +6,8 @@ using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using util = FCOMMON.Util;
|
||||
|
||||
using NetOffice;
|
||||
using Outlook = NetOffice.OutlookApi;
|
||||
using NetOffice.OutlookApi.Enums;
|
||||
using FEQ0000.Purchase;
|
||||
using FCOMMON;
|
||||
using NetOffice.OfficeApi;
|
||||
using System.Web.Services.Protocols;
|
||||
using System.Diagnostics;
|
||||
using FarPoint.Win.Spread.CellType;
|
||||
@@ -34,7 +28,7 @@ namespace FEQ0000
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
|
||||
|
||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
fn_fpcolsize = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.FormClosing += FPurchase_FormClosing;
|
||||
this.FormClosed += __Closed;
|
||||
|
||||
@@ -65,7 +59,7 @@ namespace FEQ0000
|
||||
else
|
||||
{
|
||||
string dt = string.Empty;
|
||||
if (!util.MakeDateString(input, out dt))
|
||||
if (!FCOMMON.Util.MakeDateString(input, out dt))
|
||||
{
|
||||
FCOMMON.Util.MsgE("입력값이 올바르지 않습니다.");
|
||||
tb.SelectAll();
|
||||
@@ -386,7 +380,7 @@ namespace FEQ0000
|
||||
dr.AcceptChanges();
|
||||
}
|
||||
|
||||
dlg = util.MsgQ("메일 전송을 할까요?");
|
||||
dlg = FCOMMON.Util.MsgQ("메일 전송을 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
|
||||
|
||||
@@ -436,89 +430,37 @@ namespace FEQ0000
|
||||
|
||||
try
|
||||
{
|
||||
Outlook.Application outlookApplication = new Outlook.Application();
|
||||
var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
|
||||
NetOffice.OutlookApi.Application outlookApplication = new NetOffice.OutlookApi.Application();
|
||||
var newMail = outlookApplication.CreateItem(NetOffice.OutlookApi.Enums.OlItemType.olMailItem) as NetOffice.OutlookApi.MailItem;
|
||||
newMail.Display();
|
||||
newMail.Subject = form_subject; // this.tbSubject.Text.Trim(); // dr.title;
|
||||
newMail.To = string.Join(";", tolist.ToArray());
|
||||
newMail.CC = string.Join(";", cclist.ToArray());
|
||||
newMail.BCC = string.Join(";", bcclist.ToArray());
|
||||
string fn = "";
|
||||
if (f.chkAttach.Checked)
|
||||
{
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\Purchase_confirmeb_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
|
||||
FCOMMON.Util.savetoexcel(this.dataGridView1, fi.FullName);
|
||||
fn = fi.FullName;
|
||||
//FCOMMON.Util.savetoexcel(this.dataGridView1, fi.FullName);
|
||||
|
||||
|
||||
newMail.Attachments.Add(fi.FullName);
|
||||
//newMail.Attachments.Add(fi.FullName);
|
||||
}
|
||||
if (f.chkList.Checked)
|
||||
{
|
||||
var rows = this.rows;
|
||||
var tabledata = UTIL_EQ0000.MakeDataTableToHTML(rows, fn);
|
||||
|
||||
|
||||
//목록을 본문에 추가한다
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
sb.AppendLine("<thead>");
|
||||
|
||||
foreach (DataGridViewColumn col in this.dataGridView1.Columns)
|
||||
{
|
||||
if (col.DataPropertyName.ToLower() == "pumqty") continue;
|
||||
sb.AppendLine($"<td style='text-align:center;background-color: aqua;'>{col.HeaderText}</td>");
|
||||
}
|
||||
sb.AppendLine("</thead>");
|
||||
sb.AppendLine("<tbody>");
|
||||
|
||||
for (int i = 0; i < this.dataGridView1.RowCount; i++)
|
||||
{
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
|
||||
foreach (DataGridViewColumn col in this.dataGridView1.Columns)
|
||||
{
|
||||
if (col.DataPropertyName.ToLower() == "pumqty") continue;
|
||||
var v = dataGridView1.Rows[i].Cells[col.Index].Value;
|
||||
string value = "";
|
||||
if (v != null) value = v.ToString();
|
||||
|
||||
if (col.ValueType == typeof(int))
|
||||
{
|
||||
var ivalue = (int)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N0}</td>");
|
||||
}
|
||||
else if (col.ValueType == typeof(decimal))
|
||||
{
|
||||
var ivalue = (decimal)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N0}</td>");
|
||||
}
|
||||
else if (col.ValueType == typeof(float))
|
||||
{
|
||||
var ivalue = (float)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N1}</td>");
|
||||
}
|
||||
else if (col.ValueType == typeof(double))
|
||||
{
|
||||
var ivalue = (double)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N1}</td>");
|
||||
}
|
||||
else sb.AppendLine($"<td>{getmaxstr(value)}</td>");
|
||||
}
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
sb.AppendLine("</tbody>");
|
||||
sb.AppendLine("</table>");
|
||||
sb.AppendLine($"항목:{this.bs.Count}건,합계금액:{lbSum.Text}");
|
||||
form_body = form_body.Replace("{body}", sb.ToString());
|
||||
}
|
||||
|
||||
//newMail.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
if (fn.isEmpty() == false)
|
||||
newMail.Attachments.Add(fn);
|
||||
|
||||
form_body = form_body.Replace("{body}", tabledata);
|
||||
newMail.HTMLBody = form_body + newMail.HTMLBody; //
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
util.MsgE("전송실패\n\n" + ex.Message + "\n\n" +
|
||||
FCOMMON.Util.MsgE("전송실패\n\n" + ex.Message + "\n\n" +
|
||||
"아웃룩의 설정이 정상인지 확인하세요");
|
||||
}
|
||||
}
|
||||
@@ -527,7 +469,7 @@ namespace FEQ0000
|
||||
{
|
||||
var drv = this.bs.Current as dsPurchase.EETGW_PurchaseEBRow;
|
||||
if (drv == null) return;
|
||||
var dlg = util.MsgQ("선택된 줄을 제거 할까요?");
|
||||
var dlg = FCOMMON.Util.MsgQ("선택된 줄을 제거 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
this.rows.Remove(drv);
|
||||
if (rows.Any())
|
||||
|
||||
@@ -7,6 +7,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using YARTE.UI.Buttons;
|
||||
|
||||
namespace FEQ0000.Purchase
|
||||
{
|
||||
@@ -18,6 +19,7 @@ namespace FEQ0000.Purchase
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
|
||||
PredefinedButtonSets.SetupDefaultButtons(this.htmlEditor1);
|
||||
Cate = cate;
|
||||
}
|
||||
public fMailForm(string subject, string body, string to, string cc, string bcc)
|
||||
|
||||
670
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
670
SubProject/FEQ0000/dsPurchase.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user