..
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user