..
This commit is contained in:
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
|
||||
// 지정되도록 할 수 있습니다.
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("21.01.27.1730")]
|
||||
[assembly: AssemblyFileVersion("21.01.27.1730")]
|
||||
[assembly: AssemblyVersion("21.02.07.0030")]
|
||||
[assembly: AssemblyFileVersion("21.02.07.0030")]
|
||||
|
||||
58
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
58
SubProject/FCM0000/dsMSSQL.Designer.cs
generated
@@ -9900,15 +9900,15 @@ ORDER BY name, idx";
|
||||
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[9].Connection = this.Connection;
|
||||
this._commandCollection[9].CommandText = "UPDATE Items\r\nSET name = @name, model = @model, unit = @unit, disable = @d" +
|
||||
"isable\r\nWHERE (gcode = @gcode) AND (sid = @Original_sid)";
|
||||
this._commandCollection[9].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._commandCollection[9].CommandText = "dbo.UpdateItem";
|
||||
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -10617,43 +10617,43 @@ ORDER BY name, idx";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int UpdateMatrial(string name, string model, string unit, global::System.Nullable<bool> disable, string gcode, string Original_sid) {
|
||||
public virtual int UpdateItem(string gcode, string sid, string name, string cate, global::System.Nullable<bool> disable, string unit) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
|
||||
if ((name == null)) {
|
||||
command.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[0].Value = ((string)(name));
|
||||
}
|
||||
if ((model == null)) {
|
||||
if ((gcode == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(model));
|
||||
command.Parameters[1].Value = ((string)(gcode));
|
||||
}
|
||||
if ((unit == null)) {
|
||||
if ((sid == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(unit));
|
||||
command.Parameters[2].Value = ((string)(sid));
|
||||
}
|
||||
if ((disable.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((bool)(disable.Value));
|
||||
}
|
||||
else {
|
||||
if ((name == null)) {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((gcode == null)) {
|
||||
else {
|
||||
command.Parameters[3].Value = ((string)(name));
|
||||
}
|
||||
if ((cate == null)) {
|
||||
command.Parameters[4].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[4].Value = ((string)(gcode));
|
||||
command.Parameters[4].Value = ((string)(cate));
|
||||
}
|
||||
if ((Original_sid == null)) {
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
if ((disable.HasValue == true)) {
|
||||
command.Parameters[5].Value = ((bool)(disable.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[5].Value = ((string)(Original_sid));
|
||||
command.Parameters[5].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((unit == null)) {
|
||||
command.Parameters[6].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[6].Value = ((string)(unit));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
|
||||
@@ -227,51 +227,21 @@ WHERE (gcode = @gcode) AND (ISNULL(name, N'') = @name) AND (ISNULL(model, N'')
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Items" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="UpdateMatrial" Modifier="Public" Name="UpdateMatrial" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="UpdateMatrial">
|
||||
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.UpdateItem" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="UpdateItem" Modifier="Public" Name="UpdateItem" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="UpdateItem">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>UPDATE Items
|
||||
SET name = @name, model = @model, unit = @unit, disable = @disable
|
||||
WHERE (gcode = @gcode) AND (sid = @Original_sid)</CommandText>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.UpdateItem</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="model" ColumnName="model" DataSourceName="EE.dbo.Items" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="unit" ColumnName="unit" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@unit" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="disable" ColumnName="disable" DataSourceName="EE.dbo.Items" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@disable" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="Original_sid" ColumnName="sid" DataSourceName="EE.dbo.Items" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@disable" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@unit" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="true">
|
||||
<CommandText>UPDATE Items
|
||||
SET name = @name, model = @model,unit = @unit, disable = @disable
|
||||
WHERE (gcode = @gcode,sid= @Original_sid);</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="sid" ColumnName="sid" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="model" ColumnName="model" DataSourceName="" DataTypeServer="nvarchar(200)" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="200" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="manu" ColumnName="manu" DataSourceName="" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="supply" ColumnName="supply" DataSourceName="" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="price" ColumnName="price" DataSourceName="" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@price" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="memo" ColumnName="memo" DataSourceName="" DataTypeServer="nvarchar(255)" DbType="String" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="255" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wuid" ColumnName="wuid" DataSourceName="" DataTypeServer="varchar(20)" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="wdate" ColumnName="wdate" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="cate" ColumnName="cate" DataSourceName="" DataTypeServer="varchar(50)" DbType="AnsiString" Direction="Input" ParameterName="@cate" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumn="cate" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="supplyidx" ColumnName="supplyidx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@supplyidx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="supplyidx" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="scale" ColumnName="scale" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@scale" Precision="0" ProviderType="Float" Scale="0" Size="8" SourceColumn="scale" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="unit" ColumnName="unit" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@unit" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="unit" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="disable" ColumnName="disable" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@disable" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="disable" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="bparam1" ColumnName="bparam1" DataSourceName="" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@bparam1" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="bparam1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="iparam1" ColumnName="iparam1" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@iparam1" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="iparam1" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="import" ColumnName="import" DataSourceName="" DataTypeServer="char(1)" DbType="AnsiString" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="Original_idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-12" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:Items" ZOrder="10" X="48" Y="30" Height="647" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="387" />
|
||||
<Shape ID="DesignTable:Common" ZOrder="9" X="245" Y="33" Height="267" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:Board" ZOrder="8" X="982" Y="70" Height="305" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RequestItem" ZOrder="7" X="1499" Y="70" Height="324" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Customs" ZOrder="6" X="1788" Y="70" Height="362" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Staff" ZOrder="5" X="2121" Y="70" Height="286" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:Purchase" ZOrder="4" X="2357" Y="30" Height="664" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="556" />
|
||||
<Shape ID="DesignTable:Projects" ZOrder="3" X="2672" Y="70" Height="324" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:HolidayLIst" ZOrder="2" X="2988" Y="70" Height="191" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:InventoryUser" ZOrder="1" X="3268" Y="70" Height="343" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Items" ZOrder="1" X="48" Y="30" Height="590" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="387" />
|
||||
<Shape ID="DesignTable:Common" ZOrder="10" X="292" Y="31" Height="267" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||
<Shape ID="DesignTable:Board" ZOrder="9" X="982" Y="70" Height="305" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:RequestItem" ZOrder="8" X="1499" Y="70" Height="324" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Customs" ZOrder="7" X="1788" Y="70" Height="362" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:Staff" ZOrder="6" X="2121" Y="70" Height="286" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:Purchase" ZOrder="5" X="2357" Y="30" Height="664" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="556" />
|
||||
<Shape ID="DesignTable:Projects" ZOrder="4" X="2672" Y="70" Height="324" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:HolidayLIst" ZOrder="3" X="2988" Y="70" Height="191" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
|
||||
<Shape ID="DesignTable:InventoryUser" ZOrder="2" X="3268" Y="70" Height="343" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -67,20 +67,20 @@ namespace FCM0000
|
||||
|
||||
|
||||
|
||||
dtExcel.Columns.Add("Cate");
|
||||
dtExcel.Columns.Add("SID");
|
||||
dtExcel.Columns.Add("Delete");
|
||||
dtExcel.Columns.Add("Name");
|
||||
dtExcel.Columns.Add("Model");
|
||||
//dtExcel.Columns.Add("Model");
|
||||
dtExcel.Columns.Add("Unit");
|
||||
dtExcel.Columns.Add("Memo");
|
||||
dtExcel.Columns.Add("Disable");
|
||||
|
||||
|
||||
if(book == null)
|
||||
|
||||
if (book == null)
|
||||
{
|
||||
book = new libxl.XmlBook();
|
||||
book.setKey(FCOMMON.info.libxlCompany, FCOMMON.info.libxlKey);
|
||||
}
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
book.load(textBox1.Text);
|
||||
@@ -128,29 +128,17 @@ namespace FCM0000
|
||||
//제목줄을 처리한다. 181029
|
||||
List<string> cols = new List<string>();
|
||||
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
for (int r = MinRow; r <= MaxRow; r++)
|
||||
{
|
||||
|
||||
var v_sid = sheet.readStr(r, 0);
|
||||
var v_cate = sheet.readStr(r, 4);
|
||||
var v_memo = sheet.readStr(r, 23);
|
||||
|
||||
//이름
|
||||
var v_name = sheet.readStr(r, 21);
|
||||
if (v_name.isEmpty()) v_name = sheet.readStr(r, 2);
|
||||
if (v_name.isEmpty()) v_name = sheet.readStr(r, 1);
|
||||
|
||||
//모델
|
||||
var v_model = sheet.readStr(r, 22);
|
||||
if (v_model.isEmpty()) v_model = sheet.readStr(r, 1);
|
||||
if (v_model.isEmpty()) v_model = sheet.readStr(r, 2);
|
||||
|
||||
//삭제여부
|
||||
var v_del = sheet.readStr(r, 8);
|
||||
var v_name = sheet.readStr(r, 1);
|
||||
var v_cate = sheet.readStr(r, 2);
|
||||
var v_del = sheet.readStr(r, 3);
|
||||
var v_unit = sheet.readStr(r, 4);
|
||||
|
||||
|
||||
//이름이나 sid가없으면 처리하지 않음
|
||||
if (v_name.Trim() == "") continue; //품명과 sid 없는 건 제외
|
||||
@@ -158,11 +146,13 @@ namespace FCM0000
|
||||
|
||||
DataRow dr = dtExcel.NewRow();
|
||||
dr["sid"] = v_sid;
|
||||
dr["delete"] = v_del;
|
||||
dr["name"] = v_name;
|
||||
dr["model"] = v_model;
|
||||
dr["unit"] = v_cate;
|
||||
dr["memo"] = v_memo;
|
||||
dr["cate"] = v_cate;
|
||||
dr["disable"] = v_del;
|
||||
dr["unit"] = v_unit;
|
||||
|
||||
|
||||
//dr["memo"] = v_memo;
|
||||
|
||||
if (dr != null)
|
||||
{
|
||||
@@ -176,7 +166,7 @@ namespace FCM0000
|
||||
FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message);
|
||||
}
|
||||
//
|
||||
// book = null;
|
||||
// book = null;
|
||||
|
||||
this.bs.DataSource = dtExcel;
|
||||
this.dataGridView1.DataSource = dtExcel;
|
||||
@@ -191,11 +181,11 @@ namespace FCM0000
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (dtExcel == null || dtExcel.Rows.Count < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다.");
|
||||
return;
|
||||
}
|
||||
//if (dtExcel == null || dtExcel.Rows.Count < 1)
|
||||
//{
|
||||
// FCOMMON.Util.MsgE("등록 가능한 자료가 없습니다.");
|
||||
// return;
|
||||
//}
|
||||
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("다음 자료를 추가하시겠습니까?");
|
||||
@@ -213,14 +203,11 @@ namespace FCM0000
|
||||
this.progressBar1.Value = 0;
|
||||
this.progressBar1.Maximum = (int)nudE.Value; // dtExcel.Rows.Count;
|
||||
if (checkBox1.Checked) ta.DeleteImport(textBox2.Text, FCOMMON.info.Login.gcode);
|
||||
int dup = 0;
|
||||
int add = 0;
|
||||
|
||||
int cnt = 0;
|
||||
int err = 0;
|
||||
//12,13
|
||||
|
||||
|
||||
|
||||
var dtTarget = new dsMSSQL.ItemsDataTable();
|
||||
try
|
||||
{
|
||||
var sheet = book.getSheet((int)nudSheetNo.Value);
|
||||
@@ -234,95 +221,35 @@ namespace FCM0000
|
||||
this.progressBar1.Value += 1;
|
||||
|
||||
//화면 업데이트
|
||||
this.Text = string.Format("{0}/{1} : {2:N2}% 추가:{3},오류:{4},넘김:{5}", r, MaxRow, ((progressBar1.Value * 1.0) / progressBar1.Maximum) * 100.0,add,err,dup);
|
||||
this.Text = string.Format("{0}/{1} : {2:N2}% ",
|
||||
r, MaxRow,
|
||||
((progressBar1.Value * 1.0) / progressBar1.Maximum) * 100.0);
|
||||
|
||||
//if(cnt % 10 == 0)
|
||||
Application.DoEvents();
|
||||
//if(cnt % 2 == 0)
|
||||
Application.DoEvents();
|
||||
|
||||
var v_sid = sheet.readStr(r, 0);
|
||||
v_sid = v_sid.Replace("_", "").Replace("-", "").Replace(" ", "").Replace(".", "");
|
||||
|
||||
var v_cate = sheet.readStr(r, 4);
|
||||
var v_memo = sheet.readStr(r, 23);
|
||||
|
||||
//이름
|
||||
var v_name = sheet.readStr(r, 2);
|
||||
//if (v_name.isEmpty()) v_name = sheet.readStr(r, 2);
|
||||
if (v_name.isEmpty()) v_name = sheet.readStr(r, 1);
|
||||
|
||||
//모델
|
||||
var v_model = sheet.readStr(r, 22);
|
||||
if (v_model.isEmpty()) v_model = sheet.readStr(r, 1);
|
||||
if (v_model.isEmpty()) v_model = sheet.readStr(r, 2);
|
||||
|
||||
//삭제여부
|
||||
var v_del = sheet.readStr(r, 8);
|
||||
var v_sid = sheet.readStr(r, 0).Trim();
|
||||
var v_name = sheet.readStr(r, 1).Trim();
|
||||
var v_cate = sheet.readStr(r, 2).Trim();
|
||||
var v_del = sheet.readStr(r, 3).Trim() == "X";
|
||||
var v_unit = sheet.readStr(r, 4).Trim();
|
||||
//var v_model = sheet.readStr(r, 5).Trim();
|
||||
|
||||
//이름이나 sid가없으면 처리하지 않음
|
||||
if (v_name.Trim().isEmpty()) continue; //품명과 sid 없는 건 제외
|
||||
if (v_sid.Trim().isEmpty()) continue;
|
||||
|
||||
//이 sid 의 중복검사
|
||||
|
||||
//중복은 처리하지 않는다.
|
||||
if (ta.ExistSID("EET1P", v_sid) > 0)
|
||||
{
|
||||
//해당 sid데이터가 잇으므로 업데이트를 한다
|
||||
Boolean disable = v_del == "X" ? true : false;
|
||||
|
||||
dup += ta.UpdateMatrial(v_name, v_model, v_cate, disable, "EET1P", v_sid);
|
||||
// dup += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (v_name.Trim() == "") continue; //품명과 sid 없는 건 제외
|
||||
if (v_sid.Trim() == "") continue;
|
||||
|
||||
try
|
||||
{
|
||||
//데이터추가
|
||||
var newdr = dt.NewRow() as dsMSSQL.ItemsRow;
|
||||
|
||||
if (v_name.Length > 180) v_name = v_name.ToString().Substring(0, 170); // continue; //너무긴것도 뺸다.
|
||||
|
||||
//dtExcel.Columns.Add("SID");
|
||||
//dtExcel.Columns.Add("Delete");
|
||||
//dtExcel.Columns.Add("Name");
|
||||
//dtExcel.Columns.Add("Model");
|
||||
//dtExcel.Columns.Add("Unit");
|
||||
//dtExcel.Columns.Add("Memo");
|
||||
|
||||
newdr.sid = v_sid;
|
||||
if (v_del == "X") newdr.disable = true;
|
||||
else newdr.disable = false;
|
||||
newdr.name = v_name.Trim();
|
||||
|
||||
newdr.cate = v_cate.Trim();
|
||||
newdr.unit = newdr.cate;
|
||||
newdr.price = 0;
|
||||
|
||||
newdr.model = v_model.Trim();
|
||||
newdr.memo = v_memo.Trim();
|
||||
newdr.scale = 1;
|
||||
newdr.gcode = "EET1P";
|
||||
newdr.wuid = "DEV";
|
||||
newdr.wdate = DateTime.Now;
|
||||
//newdr.unit = "--";
|
||||
newdr.import = textBox2.Text;
|
||||
dt.Rows.Add(newdr);
|
||||
add += ta.Update(newdr);
|
||||
newdr.Delete();
|
||||
dtTarget.AcceptChanges();
|
||||
//add += 1;
|
||||
cnt += this.ta.UpdateItem(FCOMMON.info.Login.gcode, v_sid, v_name, v_cate, v_del, v_unit);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
err += 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//Application.DoEvents();
|
||||
|
||||
|
||||
|
||||
//DataRow dr = dtExcel.NewRow();
|
||||
//dr["sid"] = v_sid;
|
||||
//dr["delete"] = v_del;
|
||||
@@ -333,7 +260,7 @@ namespace FCM0000
|
||||
|
||||
//실제 추가한다
|
||||
}
|
||||
FCOMMON.Util.MsgI("Save OK\n중복:" + dup.ToString() + "\n전체:" + cnt.ToString() + "\n에러:" + err.ToString());
|
||||
FCOMMON.Util.MsgI("Save OK\n전체:" + cnt.ToString() + "\n에러:" + err.ToString());
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -341,7 +268,6 @@ namespace FCM0000
|
||||
FCOMMON.Util.MsgE("불러오는 중 오류 발생\n" + ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void panel1_Paint(object sender, PaintEventArgs e)
|
||||
|
||||
263
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
263
SubProject/FEQ0000/Purchase/fPurchase.Designer.cs
generated
@@ -30,33 +30,33 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchase));
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
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 numberCellType6 = 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.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType45 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType46 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType47 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType48 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType49 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType50 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType51 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType52 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType53 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType54 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType55 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType56 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType21 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType57 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
@@ -85,6 +85,7 @@
|
||||
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
|
||||
@@ -94,8 +95,6 @@
|
||||
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ㅕCustomDataCopyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
@@ -129,9 +128,9 @@
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.btViewDel = new System.Windows.Forms.ToolStripButton();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
@@ -192,6 +191,7 @@
|
||||
this.tbFind,
|
||||
this.btFind,
|
||||
this.toolStripSeparator6,
|
||||
this.toolStripButton6,
|
||||
this.toolStripButton1,
|
||||
this.toolStripButton3,
|
||||
this.toolStripButton4,
|
||||
@@ -384,10 +384,17 @@
|
||||
// 집계표ToolStripMenuItem
|
||||
//
|
||||
this.집계표ToolStripMenuItem.Name = "집계표ToolStripMenuItem";
|
||||
this.집계표ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.집계표ToolStripMenuItem.Size = new System.Drawing.Size(150, 22);
|
||||
this.집계표ToolStripMenuItem.Text = "집계표";
|
||||
this.집계표ToolStripMenuItem.Click += new System.EventHandler(this.집계표ToolStripMenuItem_Click);
|
||||
//
|
||||
// 구매승인양식ToolStripMenuItem
|
||||
//
|
||||
this.구매승인양식ToolStripMenuItem.Name = "구매승인양식ToolStripMenuItem";
|
||||
this.구매승인양식ToolStripMenuItem.Size = new System.Drawing.Size(150, 22);
|
||||
this.구매승인양식ToolStripMenuItem.Text = "구매승인 양식";
|
||||
this.구매승인양식ToolStripMenuItem.Click += new System.EventHandler(this.구매승인양식ToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripButton3
|
||||
//
|
||||
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
|
||||
@@ -420,7 +427,6 @@
|
||||
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F);
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.columnSizeToolStripMenuItem,
|
||||
this.ㅕCustomDataCopyToolStripMenuItem,
|
||||
this.toolStripMenuItem3,
|
||||
this.exportDataToolStripMenuItem,
|
||||
this.toolStripMenuItem4,
|
||||
@@ -432,7 +438,7 @@
|
||||
this.sC검색ToolStripMenuItem,
|
||||
this.cRCF검색ToolStripMenuItem});
|
||||
this.cm1.Name = "contextMenuStrip1";
|
||||
this.cm1.Size = new System.Drawing.Size(317, 400);
|
||||
this.cm1.Size = new System.Drawing.Size(314, 358);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
@@ -477,21 +483,6 @@
|
||||
this.loadToolStripMenuItem.Text = "Load";
|
||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||
//
|
||||
// ㅕCustomDataCopyToolStripMenuItem
|
||||
//
|
||||
this.ㅕCustomDataCopyToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.copyToolStripMenuItem});
|
||||
this.ㅕCustomDataCopyToolStripMenuItem.Name = "ㅕCustomDataCopyToolStripMenuItem";
|
||||
this.ㅕCustomDataCopyToolStripMenuItem.Size = new System.Drawing.Size(316, 42);
|
||||
this.ㅕCustomDataCopyToolStripMenuItem.Text = "Custom ClipBoard";
|
||||
//
|
||||
// copyToolStripMenuItem
|
||||
//
|
||||
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
|
||||
this.copyToolStripMenuItem.Size = new System.Drawing.Size(156, 42);
|
||||
this.copyToolStripMenuItem.Text = "Copy";
|
||||
this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem3
|
||||
//
|
||||
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
|
||||
@@ -761,6 +752,18 @@
|
||||
this.fpSpread1.StatusBarVisible = true;
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 599);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label1.Size = new System.Drawing.Size(1213, 23);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "--";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
//
|
||||
this.fpSpread1_Sheet1.Reset();
|
||||
@@ -803,7 +806,7 @@
|
||||
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 = textCellType39;
|
||||
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 = "등록일";
|
||||
@@ -812,7 +815,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F;
|
||||
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 = textCellType40;
|
||||
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 = "상태";
|
||||
@@ -820,197 +823,198 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 49F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType41;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "place";
|
||||
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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType42;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "process";
|
||||
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).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 49F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType43;
|
||||
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 = 37F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType44;
|
||||
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 = "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).Width = 24F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType45;
|
||||
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 = "CR/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).Width = 43F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType46;
|
||||
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 = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType47;
|
||||
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 = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType48;
|
||||
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 = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).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(10).CellType = numberCellType1;
|
||||
numberCellType15.DecimalPlaces = 0;
|
||||
numberCellType15.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType15.MaximumValue = 2147483647D;
|
||||
numberCellType15.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType15;
|
||||
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 = 14F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType49;
|
||||
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 = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType50;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "dept";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "장비\r\n제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 45F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType50;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "manuproc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "제조\r\n공정";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType50;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "asset";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "장비\r\n모델";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 33F;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.NegativeRed = true;
|
||||
numberCellType2.NullDisplay = "--";
|
||||
numberCellType2.Separator = ",";
|
||||
numberCellType2.ShowSeparator = true;
|
||||
numberCellType2.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType2;
|
||||
numberCellType16.DecimalPlaces = 0;
|
||||
numberCellType16.NegativeRed = true;
|
||||
numberCellType16.NullDisplay = "--";
|
||||
numberCellType16.Separator = ",";
|
||||
numberCellType16.ShowSeparator = true;
|
||||
numberCellType16.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType16;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Tag = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType51;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit";
|
||||
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).Width = 33F;
|
||||
numberCellType3.DecimalPlaces = 0;
|
||||
numberCellType3.MaximumValue = 9999999999999.99D;
|
||||
numberCellType3.MinimumValue = -9999999999999.99D;
|
||||
numberCellType3.NegativeRed = true;
|
||||
numberCellType3.NullDisplay = "--";
|
||||
numberCellType3.Separator = ",";
|
||||
numberCellType3.ShowSeparator = true;
|
||||
numberCellType3.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType3;
|
||||
numberCellType17.DecimalPlaces = 0;
|
||||
numberCellType17.MaximumValue = 9999999999999.99D;
|
||||
numberCellType17.MinimumValue = -9999999999999.99D;
|
||||
numberCellType17.NegativeRed = true;
|
||||
numberCellType17.NullDisplay = "--";
|
||||
numberCellType17.Separator = ",";
|
||||
numberCellType17.ShowSeparator = true;
|
||||
numberCellType17.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType17;
|
||||
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 = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 33F;
|
||||
numberCellType4.DecimalPlaces = 0;
|
||||
numberCellType4.MaximumValue = 9999999999999.99D;
|
||||
numberCellType4.MinimumValue = -9999999999999.99D;
|
||||
numberCellType4.NegativeRed = true;
|
||||
numberCellType4.NullDisplay = "--";
|
||||
numberCellType4.Separator = ",";
|
||||
numberCellType4.ShowSeparator = true;
|
||||
numberCellType4.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType4;
|
||||
numberCellType18.DecimalPlaces = 0;
|
||||
numberCellType18.MaximumValue = 9999999999999.99D;
|
||||
numberCellType18.MinimumValue = -9999999999999.99D;
|
||||
numberCellType18.NegativeRed = true;
|
||||
numberCellType18.NullDisplay = "--";
|
||||
numberCellType18.Separator = ",";
|
||||
numberCellType18.ShowSeparator = true;
|
||||
numberCellType18.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType18;
|
||||
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 = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType52;
|
||||
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 = 49F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType5.MaximumValue = 2147483647D;
|
||||
numberCellType5.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType5;
|
||||
numberCellType19.DecimalPlaces = 0;
|
||||
numberCellType19.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType19.MaximumValue = 2147483647D;
|
||||
numberCellType19.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType19;
|
||||
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).Width = 14F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType15;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType53;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Label = "비고";
|
||||
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(22).CellType = textCellType16;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType54;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "project";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Label = "프로젝트";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Width = 63F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType6.DecimalPlaces = 0;
|
||||
numberCellType6.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType6.MaximumValue = 2147483647D;
|
||||
numberCellType6.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType6;
|
||||
numberCellType20.DecimalPlaces = 0;
|
||||
numberCellType20.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType20.MaximumValue = 2147483647D;
|
||||
numberCellType20.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType20;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "projectidx";
|
||||
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 = "projectidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).Width = 14F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType55;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "edate";
|
||||
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).Width = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType56;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Label = "입고일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Width = 33F;
|
||||
numberCellType7.NegativeRed = true;
|
||||
numberCellType7.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType7;
|
||||
numberCellType21.NegativeRed = true;
|
||||
numberCellType21.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType21;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Label = "입고수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Width = 41F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType57;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Label = "PO#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Tag = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Width = 32F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).CellType = checkBoxCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Label = "삭제됨";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Tag = "isdel";
|
||||
@@ -1021,24 +1025,14 @@
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// label1
|
||||
// toolStripButton6
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 599);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label1.Size = new System.Drawing.Size(1213, 23);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "--";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// 구매승인양식ToolStripMenuItem
|
||||
//
|
||||
this.구매승인양식ToolStripMenuItem.Name = "구매승인양식ToolStripMenuItem";
|
||||
this.구매승인양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.구매승인양식ToolStripMenuItem.Text = "구매승인 양식";
|
||||
this.구매승인양식ToolStripMenuItem.Click += new System.EventHandler(this.구매승인양식ToolStripMenuItem_Click);
|
||||
this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
|
||||
this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton6.Name = "toolStripButton6";
|
||||
this.toolStripButton6.Size = new System.Drawing.Size(92, 23);
|
||||
this.toolStripButton6.Text = "ClipCopy(&V)";
|
||||
this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click);
|
||||
//
|
||||
// fPurchase
|
||||
//
|
||||
@@ -1122,8 +1116,6 @@
|
||||
private System.Windows.Forms.ToolStripButton btViewDel;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
|
||||
private System.Windows.Forms.ToolStripMenuItem ㅕCustomDataCopyToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
|
||||
private System.Windows.Forms.ToolStripButton btCopy;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
|
||||
@@ -1143,7 +1135,8 @@
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton5;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 구매승인양식ToolStripMenuItem;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton6;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -751,13 +751,7 @@ namespace FEQ0000
|
||||
|
||||
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//선택된 줄의 데이터를 생성하낟.
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
string buffer = string.Format("{0}_{1}", dr.pumname.Replace("_", "-"), dr.pumscale.Replace("_", "-"), dr.dept.Replace("_", "-"), dr.manuproc.Replace("_", "-"), dr.asset.Replace("_", "-"));
|
||||
Clipboard.SetText(buffer);
|
||||
//FCOMMON.Util.MsgI("다음 데이터가 클립보드에 저장됨\n\n" + buffer); 190131
|
||||
|
||||
}
|
||||
|
||||
void func_copy()
|
||||
@@ -1012,7 +1006,6 @@ namespace FEQ0000
|
||||
else datestr = dtSD.Text + "~" + dtED.Text;
|
||||
form_subject = form_subject.Replace("{DATE}", datestr);
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
Outlook.Application outlookApplication = new Outlook.Application();
|
||||
@@ -1024,7 +1017,6 @@ namespace FEQ0000
|
||||
newMail.BCC = string.Join(";", bcclist.ToArray());
|
||||
if (f.chkAttach.Checked)
|
||||
{
|
||||
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\Purchase_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
|
||||
@@ -1035,7 +1027,6 @@ namespace FEQ0000
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
|
||||
|
||||
newMail.Attachments.Add(fi.FullName);
|
||||
}
|
||||
if (f.chkList.Checked)
|
||||
@@ -1153,5 +1144,16 @@ namespace FEQ0000
|
||||
f.Show();
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton6_Click(object sender, EventArgs e)
|
||||
{
|
||||
//선택된 줄의 데이터를 생성하낟.
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
string buffer = string.Format("{0}_{1}", dr.pumname.Replace("_", "-"), dr.pumscale.Replace("_", "-"), dr.dept.Replace("_", "-"), dr.manuproc.Replace("_", "-"), dr.asset.Replace("_", "-"));
|
||||
Clipboard.SetText(buffer);
|
||||
//FCOMMON.Util.MsgI("다음 데이터가 클립보드에 저장됨\n\n" + buffer); 190131
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,62 +229,77 @@
|
||||
hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1
|
||||
9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon
|
||||
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton6.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL4SURBVDhPhZLrS1NhHMf3qv6EsF70UohSalFRLyrzMjWw
|
||||
m6mUeZtTKm+4iUFmzUXmJbRQoSKSohcVkbdZzcxtTjeckWne8tamA6fTue2coztnfnvO2XAFQT/48Lx4
|
||||
zvfD+X3PEfETdVObfrraqEmoMa7EqIw0ORmBWv40MQnV/UzcfcPIMYW+fk/i621C6M+Jvdurt7uYZduy
|
||||
k3N41uFwB1l28TAYs7lQ1mpBas04JclTbw9E/RNfabDbV1xc/5wXpl8sTBYWxjkWhtkNaH+u48OoB+ss
|
||||
0D5Oo+z9L2Q9HKH/kkTf6abXqA0MWjl8tbLkZDEgSDagm1rHp1GKCHwYtHEwLXihUlsQcaP7lRBOrj05
|
||||
c1GVuClrPI+shgto+NiMine1iCgPw0mCRHUUUcpDqGuvE1ZxMywWVylElehYQZBUHfG2e7gDHZNP0WCU
|
||||
C5K0R3GQv0xFfnMKpE1nkNmUifahRXSMuNH2fQ1O0lO0spcRBJJ6yfb4igLOONGDF8NKVGnzBEl6YzwJ
|
||||
n0Xu4xzopzzCKp8naWhID6seL6Ir+vwCfmIrdUzRswyYpwxoMpXgXlcxkmtPIf1RIsxzFMykWL5g/bS/
|
||||
EwcRRCn/EBy/Ve49XLobqfUSDE73Q9VzFUp1EVIeRKJZ24Jv8yzMpNj+WS/6CHaXFxG3A4IDihCZWLEL
|
||||
+c8v4XJjLC7VxQiSInUqFO9yyJtEgr8ftHAY4D8xwUWKPCw3+AVixY55sWIneSgEYnkIzlVF4tqTDOhH
|
||||
NVBpSnH1TQakjUkwE4GJ/BtGImC8PogLtMEVTsh7GZuTwdA8J6CbWEDhs1xkk6CsKQXFz69v3fFQGxzC
|
||||
CzqDgoOFWsbqCAr+h4esEJ7TFhQcKfpCjVkdm/96+F843ZRvX1q7OxAnReZ2zVjWKNfY/KpvZonGjJ3G
|
||||
VIAlt1eAb97NcFh2enw0TTtDr3T+CMTJCrkfr4VLP3Ttl2kc4bJWZotsP2HZLX6kLUyotHN1b2bn57AM
|
||||
dZZIJBL9BohloZ6S1+tQAAAAAElFTkSuQmCC
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL5SURBVDhPhZLZTxNRFIf7JH+CQR98JDEKAdyiDwoCFjDB
|
||||
DYEgspVCQECWGkxEtGBEFgMSIFFDIBof1LAoFLSAlFJoQzEii4CsZYkUytJlBjpTft6ZNhQTEk/y5Tzc
|
||||
e77c85sRcOX/QBFzuVgtDylRrwVI1RTpNE8p1zV0SHEfHfRMNXxOoiw/Gvr+AD+0twKf9Cj1Rnp1Qb/G
|
||||
GsxbMJicrBo5aPxaMiL3kw6RJWMWYarMxTFqr+BClf7P6gbbN2uFZo6BRsdAPctANbMNxe8ttI2ascUA
|
||||
zWMUchvnEP9imPpHEpDXTm1atjEwz+L7PEM6g35eso3uyS18HbUQgQ0DSyw0i1YUyHTwvd/5jh8OL/WZ
|
||||
vikN3RFXXUd85Q1UfqlDfn0pfPPc4UMQFpyFv/QUyprL+FVMNIPldQv8s7sZXhBW7Puxc6gFLROvUanO
|
||||
5iXRFUHIfhuFtLoIiKqvIK46Ds2Dy2gZNuHzz01skJwCpD00LxCWC10CH6ez6vEuvBmSokiRyktiqoLJ
|
||||
8FUkvUyEctLMr9IxQUFOclg3WxGQ32sXcBVY2E1n1MRCO6lCteYenrZnIbz0ImIqQqGdtUBLguUCVk7Z
|
||||
MzEQgb90j+D8wzzr6ZwjiCoXYmCqDwVdyZDKMhDx3A91iib8WGCgJcH2zVjRS9AbrfB95BB4SVzF3pLD
|
||||
SKuNxK2qQESWXeIlGbIoSOoTyUv8wJ0P6Fj0c5+YYCRBnsxU2QXekoML3pJD5JIrvLNdca3IDymvYqEc
|
||||
laNAnoPkD7EQVYVBSwQa8m+oiYC22uCZrnCucCGzh17aoDG4wPJ0jy/ibk0SEsiguDoCWbV3ds84LNss
|
||||
PNJbnAIvYps3OAX/w0xW8EhscgrOZHyzjMyt7Ox3eT/WNk2249HNJsc4eUFS+/TcpsU4ojPYplcoTOsp
|
||||
TDpYMVl5uORNNAv9mtFGUdSG2+3WEce4QHAi6UuKh6it3VMsN3iIG+ldEuy4JzTYETXQbqLW9WNxrR3u
|
||||
sbJ4gUAg+AsGD6FJM3GofAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -386,7 +401,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>579, 23</value>
|
||||
<value>17, 62</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>65</value>
|
||||
|
||||
112
SubProject/FPJ0000/EBoard/fEBoardReport.Designer.cs
generated
112
SubProject/FPJ0000/EBoard/fEBoardReport.Designer.cs
generated
@@ -41,6 +41,12 @@ namespace FPJ0000.EBoard
|
||||
this.dts = new System.Windows.Forms.DateTimePicker();
|
||||
this.btRefresh = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
||||
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.dsReport = new FPJ0000.dsReport();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
@@ -54,11 +60,11 @@ namespace FPJ0000.EBoard
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 58);
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 68);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1114, 539);
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1114, 529);
|
||||
this.fpSpread1.TabIndex = 7;
|
||||
//
|
||||
// fpSpread1_Sheet1
|
||||
@@ -83,7 +89,7 @@ namespace FPJ0000.EBoard
|
||||
this.btSave.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btSave.Location = new System.Drawing.Point(959, 5);
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(75, 48);
|
||||
this.btSave.Size = new System.Drawing.Size(75, 58);
|
||||
this.btSave.TabIndex = 12;
|
||||
this.btSave.Text = "파일저장";
|
||||
this.btSave.UseVisualStyleBackColor = true;
|
||||
@@ -92,15 +98,15 @@ namespace FPJ0000.EBoard
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(261, 27);
|
||||
this.label3.Location = new System.Drawing.Point(17, 42);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(14, 12);
|
||||
this.label3.Size = new System.Drawing.Size(41, 12);
|
||||
this.label3.TabIndex = 9;
|
||||
this.label3.Text = "~";
|
||||
this.label3.Text = "종료일";
|
||||
//
|
||||
// dte
|
||||
//
|
||||
this.dte.Location = new System.Drawing.Point(289, 23);
|
||||
this.dte.Location = new System.Drawing.Point(68, 38);
|
||||
this.dte.Name = "dte";
|
||||
this.dte.Size = new System.Drawing.Size(180, 21);
|
||||
this.dte.TabIndex = 8;
|
||||
@@ -108,15 +114,15 @@ namespace FPJ0000.EBoard
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(10, 27);
|
||||
this.label2.Location = new System.Drawing.Point(17, 15);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "검색기간";
|
||||
this.label2.Text = "시작일";
|
||||
//
|
||||
// dts
|
||||
//
|
||||
this.dts.Location = new System.Drawing.Point(68, 23);
|
||||
this.dts.Location = new System.Drawing.Point(68, 11);
|
||||
this.dts.Name = "dts";
|
||||
this.dts.Size = new System.Drawing.Size(180, 21);
|
||||
this.dts.TabIndex = 6;
|
||||
@@ -126,7 +132,7 @@ namespace FPJ0000.EBoard
|
||||
this.btRefresh.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btRefresh.Location = new System.Drawing.Point(1034, 5);
|
||||
this.btRefresh.Name = "btRefresh";
|
||||
this.btRefresh.Size = new System.Drawing.Size(75, 48);
|
||||
this.btRefresh.Size = new System.Drawing.Size(75, 58);
|
||||
this.btRefresh.TabIndex = 2;
|
||||
this.btRefresh.Text = "새로고침";
|
||||
this.btRefresh.UseVisualStyleBackColor = true;
|
||||
@@ -135,6 +141,12 @@ namespace FPJ0000.EBoard
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
|
||||
this.panel1.Controls.Add(this.radioButton2);
|
||||
this.panel1.Controls.Add(this.radioButton1);
|
||||
this.panel1.Controls.Add(this.button4);
|
||||
this.panel1.Controls.Add(this.button3);
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Controls.Add(this.btSave);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.dte);
|
||||
@@ -145,10 +157,76 @@ namespace FPJ0000.EBoard
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.panel1.Size = new System.Drawing.Size(1114, 58);
|
||||
this.panel1.Size = new System.Drawing.Size(1114, 68);
|
||||
this.panel1.TabIndex = 6;
|
||||
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
||||
this.panel1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDoubleClick);
|
||||
//
|
||||
// radioButton2
|
||||
//
|
||||
this.radioButton2.AutoSize = true;
|
||||
this.radioButton2.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.radioButton2.Location = new System.Drawing.Point(471, 36);
|
||||
this.radioButton2.Name = "radioButton2";
|
||||
this.radioButton2.Size = new System.Drawing.Size(128, 26);
|
||||
this.radioButton2.TabIndex = 17;
|
||||
this.radioButton2.TabStop = true;
|
||||
this.radioButton2.Text = "Capability";
|
||||
this.radioButton2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// radioButton1
|
||||
//
|
||||
this.radioButton1.AutoSize = true;
|
||||
this.radioButton1.Checked = true;
|
||||
this.radioButton1.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.radioButton1.Location = new System.Drawing.Point(471, 9);
|
||||
this.radioButton1.Name = "radioButton1";
|
||||
this.radioButton1.Size = new System.Drawing.Size(208, 26);
|
||||
this.radioButton1.TabIndex = 16;
|
||||
this.radioButton1.TabStop = true;
|
||||
this.radioButton1.Text = "Performance Report";
|
||||
this.radioButton1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(405, 10);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(48, 49);
|
||||
this.button4.TabIndex = 15;
|
||||
this.button4.Text = "일";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(252, 10);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(48, 49);
|
||||
this.button3.TabIndex = 14;
|
||||
this.button3.Text = "년";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(354, 10);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(48, 49);
|
||||
this.button2.TabIndex = 13;
|
||||
this.button2.Text = "주";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(303, 10);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(48, 49);
|
||||
this.button1.TabIndex = 13;
|
||||
this.button1.Text = "월";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// dsReport
|
||||
//
|
||||
this.dsReport.DataSetName = "dsReport";
|
||||
@@ -169,7 +247,7 @@ namespace FPJ0000.EBoard
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "fEBoardReport";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "전자실 Performance Report";
|
||||
this.Text = "전자실 Report";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
this.Load += new System.EventHandler(this.fEBoardReport_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
@@ -197,5 +275,11 @@ namespace FPJ0000.EBoard
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private dsReport dsReport;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.RadioButton radioButton1;
|
||||
private System.Windows.Forms.RadioButton radioButton2;
|
||||
}
|
||||
}
|
||||
@@ -24,18 +24,58 @@ namespace FPJ0000.EBoard
|
||||
Application.DoEvents();
|
||||
|
||||
//파일불러오기
|
||||
LoadExcel();
|
||||
//LoadExcel();
|
||||
this.fpSpread1.ActiveSheet.RowCount = 0;
|
||||
}
|
||||
|
||||
string Loadexcel = string.Empty;
|
||||
|
||||
void LoadExcel()
|
||||
{
|
||||
//파일불러오기
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "EBoardReport.xlsx");
|
||||
this.fpSpread1.OpenExcel(fi.FullName);
|
||||
if (radioButton1.Checked)
|
||||
{
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "EBoardReport.xlsx");
|
||||
if (this.Loadexcel != fi.FullName)
|
||||
{
|
||||
this.fpSpread1.OpenExcel(fi.FullName);
|
||||
this.Loadexcel = fi.FullName;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "EBoardReportCapa.xlsx");
|
||||
if (this.Loadexcel != fi.FullName)
|
||||
{
|
||||
this.fpSpread1.OpenExcel(fi.FullName);
|
||||
this.Loadexcel = fi.FullName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void btRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
}
|
||||
void RefreshData()
|
||||
{
|
||||
|
||||
|
||||
LoadExcel();
|
||||
|
||||
if (radioButton1.Checked) Refresh1();
|
||||
else Refresh2();
|
||||
|
||||
|
||||
this.fpSpread1.Invalidate();
|
||||
}
|
||||
|
||||
void Refresh1()
|
||||
{
|
||||
|
||||
|
||||
|
||||
//새로고침
|
||||
//a2 에 날짜를 표시함.
|
||||
var db = new EEEntities();
|
||||
@@ -143,12 +183,174 @@ namespace FPJ0000.EBoard
|
||||
// new FarPoint.Win.ComplexBorder(
|
||||
// new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.MediumLine));
|
||||
|
||||
//차트데이터
|
||||
var chart1 = this.fpSpread1.ActiveSheet.Charts[0];
|
||||
chart1.Model.LabelAreas[0].Text = "Technical Support Q'ty & Cost Save(Kwon)"; //상단차트제목
|
||||
|
||||
//모든열을 중앙정렬한다
|
||||
var ser1 = chart1.Model.PlotAreas[0].Series[0] as FarPoint.Win.Chart.ClusteredBarSeries;
|
||||
var ser1_df = ser1.Series[0].Values.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
var ser1_cn = ser1.Series[0].CategoryNames.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
ser1_df.Formula = $"Performance!$R$4:$R${row}";
|
||||
ser1_cn.Formula = $"Performance!$A$4:$A${row}";
|
||||
|
||||
var ser2 = chart1.Model.PlotAreas[0].Series[1] as FarPoint.Win.Chart.LineSeries;
|
||||
var ser2_df = ser2.Values.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
var ser2_cn = ser2.CategoryNames.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
ser2_df.Formula = $"Performance!$D$4:$D${row}";
|
||||
ser2_cn.Formula = $"Performance!$A$4:$A${row}";
|
||||
|
||||
this.fpSpread1.Invalidate();
|
||||
var chart2 = this.fpSpread1.ActiveSheet.Charts[1]; //qty
|
||||
var ser21 = chart2.Model.PlotAreas[0].Series[0] as FarPoint.Win.Chart.PieSeries;
|
||||
var ser21_df = ser21.Values.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
var ser21_cn = ser21.CategoryNames.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
ser21_df.Formula = $"Performance!$D$4:$D${row}";
|
||||
ser21_cn.Formula = $"Performance!$A$4:$A${row}";
|
||||
|
||||
var chart3 = this.fpSpread1.ActiveSheet.Charts[2]; //cost
|
||||
var ser31 = chart3.Model.PlotAreas[0].Series[0] as FarPoint.Win.Chart.PieSeries;
|
||||
var ser31_df = ser31.Values.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
var ser31_cn = ser31.CategoryNames.DataSource as FarPoint.Win.Spread.Chart.SeriesDataField;
|
||||
ser31_df.Formula = $"Performance!$R$4:$R${row}";
|
||||
ser31_cn.Formula = $"Performance!$A$4:$A${row}";
|
||||
}
|
||||
void Refresh2()
|
||||
{
|
||||
//Process / Equipment / BordName 으로 그룹핑
|
||||
//a2 에 날짜를 표시함.
|
||||
|
||||
this.progressBar2.Value = 0;
|
||||
|
||||
var db = new EEEntities();
|
||||
var sd = this.dts.Value.ToShortDateString();
|
||||
var ed = this.dte.Value.ToShortDateString();
|
||||
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "EBoardReportCapa.xlsx");
|
||||
this.fpSpread1.OpenExcel(fi.FullName);
|
||||
this.Loadexcel = fi.FullName;
|
||||
|
||||
var 기간자료 = db.EETGW_JobReport_EBoard.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate.CompareTo(sd) >= 0 && t.pdate.CompareTo(ed) <= 0);
|
||||
var Grp_process = 기간자료.GroupBy(t => t.Process);
|
||||
|
||||
this.fpSpread1.Sheets[0].ColumnCount = 5;
|
||||
var row = 3;
|
||||
|
||||
this.progressBar2.Maximum = Grp_process.Count();
|
||||
foreach (var item in Grp_process)
|
||||
{
|
||||
this.progressBar2.Value += 1;
|
||||
|
||||
//포맷초기화
|
||||
//var rangec = this.fpSpread1.Sheets[0].Cells[$"A{row}:D{row}"];
|
||||
//rangec.BackColor = Color.White;
|
||||
//rangec.RowSpan = 1;
|
||||
//rangec.ColumnSpan = 1;
|
||||
//rangec.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
//rangec.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
|
||||
var dr = item.FirstOrDefault();
|
||||
var cell = this.fpSpread1.Sheets[0].Cells[$"A{row}"];
|
||||
cell.Value = dr.Process;
|
||||
//cell.BackColor = Color.Lime;
|
||||
|
||||
var row_grp = row;
|
||||
|
||||
//이것아래의 모델그룹을 찾는다.
|
||||
var grp_model = item.GroupBy(t => t.Model);
|
||||
var cntg1 = 0;
|
||||
foreach (var itemModel in grp_model)
|
||||
{
|
||||
var drModel = itemModel.FirstOrDefault();
|
||||
var cellModel = this.fpSpread1.Sheets[0].Cells[$"B{row}"];
|
||||
cellModel.Value = drModel.Model;
|
||||
cellModel.BackColor = Color.White;
|
||||
|
||||
var row_mod = row;
|
||||
|
||||
if (cntg1 > 0)
|
||||
{
|
||||
this.fpSpread1.Sheets[0].Cells[$"A{row}"].Value = string.Empty;
|
||||
}
|
||||
|
||||
//이것아래의 보드를 찾는다.
|
||||
var grp_brd = itemModel.GroupBy(t => t.BoardName);
|
||||
var cntg2 = 0;
|
||||
foreach (var itemBrd in grp_brd)
|
||||
{
|
||||
var drBrd = itemBrd.FirstOrDefault();
|
||||
var cellBrd = this.fpSpread1.Sheets[0].Cells[$"C{row}"];
|
||||
cellBrd.Value = drBrd.BoardName;
|
||||
cellBrd.BackColor = Color.White;
|
||||
|
||||
if (cntg2 > 0)
|
||||
{
|
||||
this.fpSpread1.Sheets[0].Cells[$"A{row}"].Value = string.Empty;
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row}"].Value = string.Empty;
|
||||
}
|
||||
|
||||
//합계수량
|
||||
var sumQty = itemBrd.Sum(t => t.QTY);
|
||||
var sumAmt = itemBrd.Sum(t => t.CostReduction);
|
||||
|
||||
var cellQty = this.fpSpread1.Sheets[0].Cells[$"D{row}"];
|
||||
var cellAmt = this.fpSpread1.Sheets[0].Cells[$"E{row}"];
|
||||
cellQty.Value = sumQty;
|
||||
cellAmt.Value = sumAmt;
|
||||
|
||||
cntg2 += 1;
|
||||
cntg1 += 1;
|
||||
if (grp_brd.Count() > 1)
|
||||
row += 1;
|
||||
}
|
||||
|
||||
//소계를 추가한다.
|
||||
if (cntg2 > 1)
|
||||
{
|
||||
this.fpSpread1.Sheets[0].Cells[$"A{row}"].Value = string.Empty;
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row}"].Value = string.Empty;
|
||||
this.fpSpread1.Sheets[0].Cells[$"C{row}"].Value = $"({drModel.Model}) Sub Total";
|
||||
this.fpSpread1.Sheets[0].Cells[$"C{row}"].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
|
||||
|
||||
this.fpSpread1.Sheets[0].Cells[$"D{row}"].Value = itemModel.Sum(t => t.QTY);
|
||||
this.fpSpread1.Sheets[0].Cells[$"E{row}"].Value = itemModel.Sum(t => t.CostReduction);
|
||||
this.fpSpread1.Sheets[0].Cells[$"C{row}:E{row}"].BackColor = Color.FromArgb(200,200,200);
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row_mod}"].RowSpan = row - row_mod + 1;
|
||||
}
|
||||
|
||||
|
||||
//cntg1 += cntg2;
|
||||
if ((grp_model.Count() + grp_brd.Count()) > 2)
|
||||
row += 1;
|
||||
}
|
||||
|
||||
if (cntg1 > 1)
|
||||
{
|
||||
this.fpSpread1.Sheets[0].Cells[$"A{row}"].Value = string.Empty;
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row}"].Value = $"({dr.Process}) Sub Total";
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row}"].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row}"].ColumnSpan = 2;
|
||||
//this.fpSpread1.Sheets[0].Cells[$"C{row}"].Value = string.Empty;// item.Count();
|
||||
this.fpSpread1.Sheets[0].Cells[$"D{row}"].Value = item.Sum(t => t.QTY);
|
||||
this.fpSpread1.Sheets[0].Cells[$"E{row}"].Value = item.Sum(t => t.CostReduction);
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row}:E{row}"].BackColor = Color.FromArgb(150, 150, 150);
|
||||
this.fpSpread1.Sheets[0].Cells[$"A{row_grp}"].RowSpan = row-row_grp+1 ;
|
||||
}
|
||||
|
||||
row += 1;
|
||||
}
|
||||
this.fpSpread1.Sheets[0].Cells[$"A{row}"].Value = "Total";
|
||||
this.fpSpread1.Sheets[0].Cells[$"B{row}"].Value = string.Empty;// $"({dr.Process})-{cntg1}";
|
||||
this.fpSpread1.Sheets[0].Cells[$"C{row}"].Value = string.Empty;// item.Count();
|
||||
this.fpSpread1.Sheets[0].Cells[$"D{row}"].Value = 기간자료.Sum(t => t.QTY);
|
||||
this.fpSpread1.Sheets[0].Cells[$"E{row}"].Value = 기간자료.Sum(t => t.CostReduction);
|
||||
|
||||
this.fpSpread1.Sheets[0].Cells[$"A{row}:E{row}"].BackColor = Color.SkyBlue;
|
||||
|
||||
this.fpSpread1.Sheets[0].RowCount = row;
|
||||
this.progressBar2.Value = this.progressBar2.Maximum;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void btSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -165,5 +367,36 @@ namespace FPJ0000.EBoard
|
||||
{
|
||||
LoadExcel();
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
var bt = sender as Button;
|
||||
if (bt.Text == "년")
|
||||
{
|
||||
dts.Value = new DateTime(DateTime.Now.Year, 1, 1);
|
||||
dte.Value = new DateTime(DateTime.Now.Year, 12, 31);
|
||||
}
|
||||
if (bt.Text == "월")
|
||||
{
|
||||
dts.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
|
||||
dte.Value = dts.Value.AddMonths(1).AddDays(-1);
|
||||
}
|
||||
if (bt.Text == "주")
|
||||
{
|
||||
dts.Value = DateTime.Now.AddDays(-(int)DateTime.Now.DayOfWeek);
|
||||
dte.Value = DateTime.Now.AddDays(6 - (int)DateTime.Now.DayOfWeek);
|
||||
}
|
||||
if (bt.Text == "일")
|
||||
{
|
||||
dts.Value = DateTime.Now;
|
||||
dte.Value = DateTime.Now;
|
||||
}
|
||||
RefreshData();
|
||||
}
|
||||
|
||||
private void panel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,20 +223,20 @@
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL2SURBVDhPhZLrS1NxGMf3qv6EsF70MpBS0sjIF+XSmhnY
|
||||
zVTMcjqnVGqWC4vMmEqmGZq4QYUoRS8qpIub1szc5nKjLTLN+/1Wrpa7H3fOmd9+52yogdADH54Xv9/z
|
||||
4Tzf8xNwFXdTm3Gs2qhJvGf8k1Bp9JJO8dRw3UQlVvdQR+8a+qNl+rrQpOeb+KH1FV/Rrbc6qd9Wu5u1
|
||||
uZdhc63x28lBYXDBiZI3MxDXDnlEeerNwdFAJVQarH+cXrZnioZpmoFphoFxioFh0gft6DLaB9xYZoDW
|
||||
IS9KXk0j68Gg9x+JqELndXh8sMyy+DLLkM7gMy/xQTe2jPcDHiLww7LAwjRPo1w9A+H1zmf8cEpNzMSZ
|
||||
yqQVqeIUshpOo+FdM8paaiAsDUMMQVS+H3HyvahtreVXcVEMFpc8iLuhY3hBcrXwZWefCqqRx2gwFvGS
|
||||
8/VHUfQ0HfnNqZAojyNTmYnW3kWo+l14+80BO8npsLyb4gWiOtHmxDsFrHG4C0/65KjS5vGSDEUCGT6B
|
||||
3Ic50I+5+VU+jHihITksuWkcLvsUEHAVX6mjChvFMI8ZoDRdw52Oq0ipOYSM+iSYpzwwk2C5gPXjgUxs
|
||||
RBAnXyc4cKuUjirejvQ6ESzjPSjvugC5uhCp92PRrH2Nr3MMzCTYnkkanwhWJw3h7aAgQhYijZRtQ35T
|
||||
Gs4q4pFWe4SXFKrTIWvJIV8SC+7cMsPiM/eLCU4SZHSxISCIlG2Zi5RtJZdCEFkUgpNVsbj4SAz9gAbl
|
||||
mmJceCGGRJEMMxGYyNswEgFF+xF1Rbu2wsHibmrBTqF3juXRDc/jcmMussmgVJmKq02XVs84PD4WEQWa
|
||||
NcG+Ii01a1sT/A83WSE8p22doPCjZ/SHY2Wjyxvhpnz+XRkqV3CcBJnbMbHg8DhHf7r8E7+8mLB6MRbk
|
||||
l4vm4ZJ3USz3iPw+mrbvONf2PTguEOzJfXcxXNLesVuqsYVL1dQq2QHCslUBJCoqVNK2tDOz7UOYWJ0l
|
||||
EAgEfwHCoaJtQ43MrwAAAABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL4SURBVDhPhZLrS1NhHMf3qv6EsF70UohSSiupF5WpTQ3s
|
||||
ZipleZlTLLWhK4PMmJNMW2iiQkUkRS8qonRObV6ac7nRjEwzM++38DJ1l3Me3Tnz23PORisI+sGH58Vz
|
||||
vh/O73uORJjIG4aU4xVmfdxd87K01MzSk4hohNNC4ip6SMwd08BBpbFqR/yLTWLoz4ku7TYuOMjST5ud
|
||||
t7nWYHP6WXIIEHybc6CoYQoXNEOMNEe32Rf1TmyZaWFxxcn3TLhhmeRgmeJgnuBgGl+H4ccaWgZdWOMA
|
||||
7RCLojeTSL8/wP4liVJ1snZmHb3TPD5Nc/Tk8FGUrKNrZA3vBhkq8KB3jodl1g21bgrh1zuei+FEzZGx
|
||||
s6XxG/La00ivOYOa1nqUvNYgvDgIRyhS9QFEqvahUlspruIkHOZXGERe6+JEQUJF+KuO/iY0DT9CjblA
|
||||
lFysjkHBs2Tk1idBVncCaXVp0PbNo2nAicYvdqzSnqJU3UQUSKukm4+r83jz9/d42q9CuSFHlKTUxtLw
|
||||
SWQ9yIRxxCWu0j7MQk97WHG5EVXywSsQJrqsiygep8I6YkKd5Sput+UjUXMUKdXxsE4wsNJihYKNo95O
|
||||
bFQQqfpDcOhmsXt/4XYkV0nRO9oD9ftsqHQKJN2LQL3hLT7PcLDSYnvG3fhAWXC4EX7LJ9ijDJCHKLch
|
||||
98k5nK+NxrnKY6JEoUuG8nUmfZMICPe9Uzw+Cp+Y4qBFhilNXkGIcstMiHIrfSgAIQUBOFUegUsPU2Ec
|
||||
1EOtL0T2y1TIahNgpQIL/TfMVEDcHoTmGfwrHFZ2k7lVgr4ZXqTr+yyuPM5CBg3K65KQ/+Ty7zsBZp1H
|
||||
cF6LX7BXYSDTNr/gf7joCsGZWr8gTNHJDM0sb/zr4X9hd7GeXRe1Tl+cFpnVNjZtZxxDs6uesUUWYwss
|
||||
RnwsOt0iQvNOwsNmZzwsIauBF5q/+uISSWhW66VgWUvbbrneFixvJL/J8BKU0eBF1kACZc0rO9Oa24NS
|
||||
dekSiUTyC9B/oc2h827VAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
||||
Binary file not shown.
BIN
SubProject/FPJ0000/EBoardReportCapa.xlsx
Normal file
BIN
SubProject/FPJ0000/EBoardReportCapa.xlsx
Normal file
Binary file not shown.
@@ -636,6 +636,9 @@
|
||||
<None Include="EBoardReport.xlsx">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="EBoardReportCapa.xlsx">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Model1.edmx.diagram">
|
||||
<DependentUpon>Model1.edmx</DependentUpon>
|
||||
</None>
|
||||
|
||||
6
SubProject/FPJ0000/FPJ0000.csproj.user
Normal file
6
SubProject/FPJ0000/FPJ0000.csproj.user
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user