..전자실 추가 중
This commit is contained in:
@@ -445,7 +445,7 @@ namespace FPJ0000
|
||||
FCM0000.fLovSupply f = new FCM0000.fLovSupply(inputtext1);
|
||||
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = f.Title;
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = f.Title.Trim();
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.Index;
|
||||
}
|
||||
else
|
||||
@@ -480,7 +480,7 @@ namespace FPJ0000
|
||||
//var c = fpSpread1.ActiveSheet.Columns["sdf"];
|
||||
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_item].Value = f.item;
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_itemname].Value = f.itemName;
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_itemname].Value = f.itemName.Trim();
|
||||
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_sid].Value = f.SID.Replace(" ", "").Trim();
|
||||
|
||||
@@ -494,7 +494,7 @@ namespace FPJ0000
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_unit].Value = f.itemUnit.Replace(" ", "").Trim();
|
||||
|
||||
if (f.itemmodel != "")
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_model].Value = f.itemmodel;
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_model].Value = f.itemmodel.Trim();
|
||||
|
||||
if (f.itemprice != 0)
|
||||
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_price].Value = f.itemprice;
|
||||
|
||||
@@ -147,7 +147,7 @@ namespace FPJ0000
|
||||
// var orgQuery = this.ta.Adapter.SelectCommand.CommandText;
|
||||
|
||||
string State_Select = " SELECT *, dbo.getLastHistory(idx) AS lasthistory FROM Projects";
|
||||
string State_where = " WHERE gcode=@gcode and ";
|
||||
string State_where = " WHERE gcode=@gcode and isnull(div,'') <> 'EB' and ";
|
||||
|
||||
if (btViewDel.Checked == false) State_where += " isnull(isdel,0)=0 and "; //삭제보기 햇을 경우
|
||||
|
||||
|
||||
@@ -24,12 +24,17 @@ namespace FPJ0000
|
||||
{
|
||||
//자료를 불러온다
|
||||
//ta.FillByIdx(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode, this.dr);
|
||||
|
||||
memoTextBox.Text = memoTextBox.Text.Trim();
|
||||
itemSupplyTextBox.Text = itemSupplyTextBox.Text.Trim();
|
||||
}
|
||||
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//공백제거 210121
|
||||
memoTextBox.Text = memoTextBox.Text.Trim();
|
||||
itemSupplyTextBox.Text = itemSupplyTextBox.Text.Trim();
|
||||
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user