This commit is contained in:
chi
2023-10-08 00:04:31 +09:00
parent 37f2fdf053
commit b6291f2bd0
32 changed files with 1610 additions and 691 deletions

View File

@@ -431,6 +431,8 @@ namespace FEQ0000
string = string.Empty;
string CostCode = string.Empty;
string LIneCode = string.Empty;
string = string.Empty;
string = string.Empty;
var cf_qty = sheet.cellType(r, (int)nudQty.Value - 1);
var cf_price = sheet.cellType(r, (int)nudPrice.Value - 1);
@@ -548,6 +550,9 @@ namespace FEQ0000
if (nudCost.Value > 0) CostCode = sheet.readStr(r, (int)nudCost.Value - 1).Trim();
if (nudLine.Value > 0) LIneCode = sheet.readStr(r, (int)nudLine.Value - 1).Trim();
if (nudMan.Value > 0) = sheet.readStr(r, (int)nudMan.Value - 1).Trim();
if (nudAdm.Value > 0) = sheet.readStr(r, (int)nudAdm.Value - 1).Trim();
//sid 공백과 - _ 제거 200506
SID = SID.Replace(" ", "").Replace("-", "").Replace("_", "").Trim();
@@ -598,14 +603,14 @@ namespace FEQ0000
newitem.SubItems.Add(SC);
newitem.SubItems.Add(CRCF);
newitem.SubItems.Add();
newitem.SubItems.Add();
newitem.SubItems.Add(CostCode);
newitem.SubItems.Add(LIneCode);
newitem.SubItems.Add();
newitem.SubItems.Add();
//데이터도 추가를 해준다
if (crmode)
{
@@ -632,6 +637,8 @@ namespace FEQ0000
newdr.import = true;
newdr.costcenter = CostCode;
newdr.linecode = LIneCode;
newdr.purchase_manager = ;
newdr.purchase_admin = ;
newitem.Tag = newdr;
this.dsPRJ.EETGW_PurchaseCR.AddEETGW_PurchaseCRRow(newdr);
}
@@ -660,13 +667,11 @@ namespace FEQ0000
newdr.import = true;
newdr.costcenter = CostCode;
newdr.linecode = LIneCode;
newdr.purchase_manager = ;
newdr.purchase_admin = ;
newitem.Tag = newdr;
this.dsPRJ.Purchase.AddPurchaseRow(newdr);
}
sumamt += d_amt;
}
@@ -772,6 +777,8 @@ namespace FEQ0000
nudRecv.Value = idx++;
nudCost.Value = idx++;
nudLine.Value = idx++;
nudMan.Value = idx++;
nudAdm.Value = idx++;
}
private void label25_Click(object sender, EventArgs e)