메일백업
This commit is contained in:
		| @@ -107,7 +107,8 @@ namespace FPJ0000 | ||||
|             string 품명 = ""; | ||||
|             string 규격 = ""; | ||||
|             string 단가 = ""; | ||||
|             string 수량 = ""; | ||||
|             string 수량1 = ""; | ||||
|             string 수량N = ""; | ||||
|             string 단위 = ""; | ||||
|             string 제조사 = ""; | ||||
|             string 공급사 = ""; | ||||
| @@ -134,7 +135,9 @@ namespace FPJ0000 | ||||
|                     if (nudName.Value > 0) 품명 = sheet.readStr(r, (int)this.nudName.Value - 1).Trim(); | ||||
|                     if (nudModel.Value > 0) 규격 = sheet.readStr(r, (int)this.nudModel.Value - 1).Trim(); | ||||
|                     if (nudPrice.Value > 0) 단가 = sheet.readStr(r, (int)this.nudPrice.Value - 1).Replace(",", "").Trim(); | ||||
|                     if (nudQty.Value > 0) 수량 = sheet.readStr(r, (int)nudQty.Value - 1).Replace(",", "").Trim(); | ||||
|                     if (nudQty.Value > 0) 수량1 = sheet.readStr(r, (int)nudQty.Value - 1).Replace(",", "").Trim(); | ||||
|                     if (nudQtyN.Value > 0) 수량N = sheet.readStr(r, (int)nudQtyN.Value - 1).Replace(",", "").Trim(); | ||||
|  | ||||
|                     if (nudUnit.Value > 0) 단위 = sheet.readStr(r, (int)nudUnit.Value - 1).Trim(); | ||||
|                     if (nudManu.Value > 0) 제조사 = sheet.readStr(r, (int)nudManu.Value - 1).Trim(); | ||||
|                     if (nudSupply.Value > 0) 공급사 = sheet.readStr(r, (int)nudSupply.Value - 1).Trim(); | ||||
| @@ -161,8 +164,10 @@ namespace FPJ0000 | ||||
|                     newdr.ItemName = 품명; | ||||
|                     newdr.ItemModel = 규격; | ||||
|                     if (단가 != "") newdr.price = decimal.Parse(단가); | ||||
|                     if (수량 != "") newdr.qty = int.Parse(수량); | ||||
|                     if (수량1 != "") newdr.qty = int.Parse(수량1); | ||||
|                     if (수량N != "") newdr.qtyn = int.Parse(수량N); | ||||
|                     newdr.amt = newdr.price * newdr.qty; | ||||
|                     newdr.amtn = newdr.price * newdr.qtyn; | ||||
|                     newdr.ItemUnit = 단위; | ||||
|                     newdr.ItemManu = 제조사; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi