sfi count 등록 및 추가
This commit is contained in:
@@ -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 가 동일하다
|
||||
|
||||
Reference in New Issue
Block a user