sfi count 등록 및 추가
This commit is contained in:
@@ -115,6 +115,7 @@ namespace FPJ0000.Project
|
||||
var itemh = (rect.Height / rowcount) - (itemp * (rowcount - 1));
|
||||
for (int i = 0; i < colcount; i++)
|
||||
{
|
||||
// if (i >= 11) continue;
|
||||
for (int j = 0; j < rowcount; j++)
|
||||
{
|
||||
var r = new RectangleF(
|
||||
@@ -128,8 +129,13 @@ namespace FPJ0000.Project
|
||||
var data = items[cnt - 1];
|
||||
|
||||
var no = j * colcount + i + 1;
|
||||
if (cnt == 12) continue;
|
||||
|
||||
if (cnt >= 12) continue;
|
||||
|
||||
if(no ==11)
|
||||
{
|
||||
cnt += 1;
|
||||
continue;
|
||||
}
|
||||
pe.Graphics.DrawRectangle(Pens.White, r.Left, r.Top, r.Width, r.Height);
|
||||
|
||||
var rno = new RectangleF(r.Left, r.Top, 50f, 50f);
|
||||
|
||||
93
SubProject/FPJ0000/Project/fProjectData.Designer.cs
generated
93
SubProject/FPJ0000/Project/fProjectData.Designer.cs
generated
@@ -69,9 +69,9 @@
|
||||
this.txReqUserName = new System.Windows.Forms.TextBox();
|
||||
this.tbSdate = new System.Windows.Forms.TextBox();
|
||||
this.tbEdate = new System.Windows.Forms.TextBox();
|
||||
this.usermainTextBox = new System.Windows.Forms.TextBox();
|
||||
this.usersubTextBox = new System.Windows.Forms.TextBox();
|
||||
this.userManagerTextBox = new System.Windows.Forms.TextBox();
|
||||
this.tbNameDesign = new System.Windows.Forms.TextBox();
|
||||
this.tbNameSw = new System.Windows.Forms.TextBox();
|
||||
this.tbNameChamp = new System.Windows.Forms.TextBox();
|
||||
this.costoTextBox = new System.Windows.Forms.TextBox();
|
||||
this.costnTextBox = new System.Windows.Forms.TextBox();
|
||||
this.costeTextBox = new System.Windows.Forms.TextBox();
|
||||
@@ -141,7 +141,7 @@
|
||||
this.bsDesignID = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.cmbChampion = new System.Windows.Forms.ComboBox();
|
||||
this.bsChampionID = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.tbNameEPanel = new System.Windows.Forms.TextBox();
|
||||
this.arLabel3 = new arCtl.arLabel();
|
||||
this.bsAssembly = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
@@ -665,35 +665,35 @@
|
||||
this.tbEdate.Size = new System.Drawing.Size(190, 21);
|
||||
this.tbEdate.TabIndex = 13;
|
||||
//
|
||||
// usermainTextBox
|
||||
// tbNameDesign
|
||||
//
|
||||
this.usermainTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "usermain", true));
|
||||
this.usermainTextBox.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.usermainTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.usermainTextBox.Location = new System.Drawing.Point(342, 55);
|
||||
this.usermainTextBox.Name = "usermainTextBox";
|
||||
this.usermainTextBox.Size = new System.Drawing.Size(104, 23);
|
||||
this.usermainTextBox.TabIndex = 25;
|
||||
this.tbNameDesign.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "usermain", true));
|
||||
this.tbNameDesign.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbNameDesign.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbNameDesign.Location = new System.Drawing.Point(342, 55);
|
||||
this.tbNameDesign.Name = "tbNameDesign";
|
||||
this.tbNameDesign.Size = new System.Drawing.Size(104, 23);
|
||||
this.tbNameDesign.TabIndex = 25;
|
||||
//
|
||||
// usersubTextBox
|
||||
// tbNameSw
|
||||
//
|
||||
this.usersubTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "usersub", true));
|
||||
this.usersubTextBox.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.usersubTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.usersubTextBox.Location = new System.Drawing.Point(342, 110);
|
||||
this.usersubTextBox.Name = "usersubTextBox";
|
||||
this.usersubTextBox.Size = new System.Drawing.Size(104, 23);
|
||||
this.usersubTextBox.TabIndex = 27;
|
||||
this.tbNameSw.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "usersub", true));
|
||||
this.tbNameSw.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbNameSw.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbNameSw.Location = new System.Drawing.Point(342, 110);
|
||||
this.tbNameSw.Name = "tbNameSw";
|
||||
this.tbNameSw.Size = new System.Drawing.Size(104, 23);
|
||||
this.tbNameSw.TabIndex = 27;
|
||||
//
|
||||
// userManagerTextBox
|
||||
// tbNameChamp
|
||||
//
|
||||
this.userManagerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userManager", true));
|
||||
this.userManagerTextBox.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.userManagerTextBox.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.userManagerTextBox.Location = new System.Drawing.Point(342, 28);
|
||||
this.userManagerTextBox.Name = "userManagerTextBox";
|
||||
this.userManagerTextBox.Size = new System.Drawing.Size(104, 23);
|
||||
this.userManagerTextBox.TabIndex = 33;
|
||||
this.tbNameChamp.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userManager", true));
|
||||
this.tbNameChamp.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbNameChamp.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbNameChamp.Location = new System.Drawing.Point(342, 28);
|
||||
this.tbNameChamp.Name = "tbNameChamp";
|
||||
this.tbNameChamp.Size = new System.Drawing.Size(104, 23);
|
||||
this.tbNameChamp.TabIndex = 33;
|
||||
//
|
||||
// costoTextBox
|
||||
//
|
||||
@@ -830,6 +830,7 @@
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
@@ -1414,14 +1415,14 @@
|
||||
this.panel5.Controls.Add(this.cmbDesign);
|
||||
this.panel5.Controls.Add(this.cmbChampion);
|
||||
this.panel5.Controls.Add(label8);
|
||||
this.panel5.Controls.Add(this.textBox3);
|
||||
this.panel5.Controls.Add(this.tbNameEPanel);
|
||||
this.panel5.Controls.Add(this.arLabel3);
|
||||
this.panel5.Controls.Add(this.usersubTextBox);
|
||||
this.panel5.Controls.Add(this.tbNameSw);
|
||||
this.panel5.Controls.Add(usersubLabel);
|
||||
this.panel5.Controls.Add(usermainLabel);
|
||||
this.panel5.Controls.Add(this.usermainTextBox);
|
||||
this.panel5.Controls.Add(this.tbNameDesign);
|
||||
this.panel5.Controls.Add(userManagerLabel);
|
||||
this.panel5.Controls.Add(this.userManagerTextBox);
|
||||
this.panel5.Controls.Add(this.tbNameChamp);
|
||||
this.panel5.Location = new System.Drawing.Point(6, 342);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(463, 156);
|
||||
@@ -1524,15 +1525,15 @@
|
||||
this.bsChampionID.DataMember = "UserList";
|
||||
this.bsChampionID.DataSource = this.dSComm;
|
||||
//
|
||||
// textBox3
|
||||
// tbNameEPanel
|
||||
//
|
||||
this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userhw2", true));
|
||||
this.textBox3.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.textBox3.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.textBox3.Location = new System.Drawing.Point(342, 82);
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.Size = new System.Drawing.Size(104, 23);
|
||||
this.textBox3.TabIndex = 88;
|
||||
this.tbNameEPanel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userhw2", true));
|
||||
this.tbNameEPanel.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbNameEPanel.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbNameEPanel.Location = new System.Drawing.Point(342, 82);
|
||||
this.tbNameEPanel.Name = "tbNameEPanel";
|
||||
this.tbNameEPanel.Size = new System.Drawing.Size(104, 23);
|
||||
this.tbNameEPanel.TabIndex = 88;
|
||||
//
|
||||
// arLabel3
|
||||
//
|
||||
@@ -2028,6 +2029,7 @@
|
||||
//
|
||||
this.bindingNavigatorPositionItem1.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem1.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem1.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem1.Name = "bindingNavigatorPositionItem1";
|
||||
this.bindingNavigatorPositionItem1.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem1.Text = "0";
|
||||
@@ -2754,6 +2756,7 @@
|
||||
//
|
||||
this.toolStripTextBox1.AccessibleName = "위치";
|
||||
this.toolStripTextBox1.AutoSize = false;
|
||||
this.toolStripTextBox1.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.toolStripTextBox1.Name = "toolStripTextBox1";
|
||||
this.toolStripTextBox1.Size = new System.Drawing.Size(50, 23);
|
||||
this.toolStripTextBox1.Text = "0";
|
||||
@@ -2810,7 +2813,7 @@
|
||||
this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
|
||||
this.toolStripButton7.Name = "toolStripButton7";
|
||||
this.toolStripButton7.RightToLeftAutoMirrorImage = true;
|
||||
this.toolStripButton7.Size = new System.Drawing.Size(51, 22);
|
||||
this.toolStripButton7.Size = new System.Drawing.Size(51, 20);
|
||||
this.toolStripButton7.Text = "삭제";
|
||||
this.toolStripButton7.Click += new System.EventHandler(this.toolStripButton7_Click);
|
||||
//
|
||||
@@ -3137,9 +3140,9 @@
|
||||
private System.Windows.Forms.TextBox txReqUserName;
|
||||
private System.Windows.Forms.TextBox tbSdate;
|
||||
private System.Windows.Forms.TextBox tbEdate;
|
||||
private System.Windows.Forms.TextBox usermainTextBox;
|
||||
private System.Windows.Forms.TextBox usersubTextBox;
|
||||
private System.Windows.Forms.TextBox userManagerTextBox;
|
||||
private System.Windows.Forms.TextBox tbNameDesign;
|
||||
private System.Windows.Forms.TextBox tbNameSw;
|
||||
private System.Windows.Forms.TextBox tbNameChamp;
|
||||
private System.Windows.Forms.TextBox costoTextBox;
|
||||
private System.Windows.Forms.TextBox costnTextBox;
|
||||
private System.Windows.Forms.TextBox costeTextBox;
|
||||
@@ -3201,7 +3204,7 @@
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn2;
|
||||
private System.Windows.Forms.ToolStripButton btSendMail;
|
||||
private System.Windows.Forms.ComboBox cmbReqTeam;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.TextBox tbNameEPanel;
|
||||
private System.Windows.Forms.ToolStripButton btwEdit;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
|
||||
@@ -14,8 +14,6 @@ namespace FPJ0000
|
||||
dsPRJ.ProjectsRow dr = null;
|
||||
bool EditMode = false;
|
||||
|
||||
|
||||
|
||||
public fProjectData(dsPRJ.ProjectsRow pidx_, bool editmode_ = true)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -28,7 +26,6 @@ namespace FPJ0000
|
||||
this.chkHigh.Checked = pidx_.bHighlight;
|
||||
this.chkMajor.Checked = pidx_.bmajoritem;
|
||||
this.rtPanelImage.SizeMode = PictureBoxSizeMode.Zoom;
|
||||
|
||||
}
|
||||
protected override void OnFormClosed(FormClosedEventArgs e)
|
||||
{
|
||||
@@ -184,7 +181,7 @@ namespace FPJ0000
|
||||
btMailAddr.Enabled = btPart.Enabled;
|
||||
btPath.Enabled = btPart.Enabled;
|
||||
btSendMail.Enabled = btPart.Enabled;
|
||||
tbSFI.Text = dr.sfi.ToString("N2");
|
||||
tbSFI.Text = dr.sfic.ToString("N2");
|
||||
|
||||
if (dr.IspanelimageNull()) rtPanelImage.Image = null;
|
||||
else
|
||||
@@ -438,7 +435,7 @@ namespace FPJ0000
|
||||
org = org.Replace("{pidx}", tbIdx.Text);
|
||||
org = org.Replace("{old}", oldsta);
|
||||
org = org.Replace("{new}", dr.status);
|
||||
org = org.Replace("{champion}", userManagerTextBox.Text);
|
||||
org = org.Replace("{champion}", tbNameChamp.Text);
|
||||
org = org.Replace("{sdate}", tbSdate.Text);
|
||||
org = org.Replace("{edate}", tbEdate.Text);
|
||||
org = org.Replace("{xdate}", tbDDate.Text);
|
||||
@@ -745,13 +742,9 @@ namespace FPJ0000
|
||||
private void linkLabel11_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
|
||||
int cnt;
|
||||
if (int.TryParse(cntTextBox.Text, out cnt) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE($"수량이 입려되지 않았습니다");
|
||||
cntTextBox.Focus();
|
||||
return;
|
||||
}
|
||||
int cnt = 1;
|
||||
if (dr.Issfi_countNull() == false) cnt = dr.sfi_count;
|
||||
else int.TryParse(cntTextBox.Text, out cnt);
|
||||
|
||||
var sfi_type = "O";
|
||||
var sfi_count = 0D;
|
||||
@@ -768,6 +761,7 @@ namespace FPJ0000
|
||||
{
|
||||
tbSFI.Text = f.Value.ToString("N2");
|
||||
dr.sfi_type = f.radO.Checked ? "O" : "M";
|
||||
dr.sfi_count = (int)f.nudCnt.Value; //250904
|
||||
if (f.radO.Checked)
|
||||
{
|
||||
dr.sfi = f.Value; //office 는 sfi와 sfic 가 동일하다
|
||||
|
||||
@@ -223,7 +223,7 @@ namespace FPJ0000
|
||||
"dbo.getUserName2(epanelid,userhw2) as name_epanel," +
|
||||
"dbo.getUserName2(softwareid,usersub) as name_software,category," +
|
||||
"ReqLine,ReqSite,ReqPackage,ReqPlant,pno,kdate,jasmin,sfi,'' AS lasthistoryD," +
|
||||
"(select max(pdate) from ProjectsHistory where pidx = Projects.idx) as lasthistory_date,dbo.getLastProjectScheduleNo(gcode,idx) as lastSchNo,cramount,panelimage,Priority" +
|
||||
"(select max(pdate) from ProjectsHistory where pidx = Projects.idx) as lasthistory_date,dbo.getLastProjectScheduleNo(gcode,idx) as lastSchNo,cramount,panelimage,Priority,sfi_count" +
|
||||
" FROM Projects";
|
||||
//string State_Select = " SELECT [idx],[pidx],[gcode],[isdel],[status],[asset],[level],[rev],[process],[part],[pdate],[name],[userManager],[usermain],[usersub],[userhw2],[reqstaff],[costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress],[memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[div],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory, dbo.getWorkWeek(sdate) AS wws, dbo.getWorkWeek(odate) AS wwo, dbo.getWorkWeek(edate) AS wwe, dbo.getWorkWeek(ddate) AS wwd FROM Projects";
|
||||
string State_where = " WHERE gcode=@gcode and isnull(div,'') <> 'EB' and ";
|
||||
|
||||
Reference in New Issue
Block a user