파트리스트에서 구매등록하는 수량이 구매수량->구매요청수량 변경

This commit is contained in:
chi
2023-08-24 08:49:33 +09:00
parent 1ba03df183
commit afbe5725e3
4 changed files with 298 additions and 298 deletions

View File

@@ -340,7 +340,7 @@ namespace FPJ0000
newdr.pumscale = dr.ItemModel;
newdr.pumunit = dr.ItemUnit;
newdr.pumprice = v_price;// (decimal)item.Cells[Col_Price].Value;//dr.price;
newdr.pumqty = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumqtyReq = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt = v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.supply = dr.ItemSupply.Trim();
newdr.supplyidx = dr.ItemSupplyidx;
@@ -356,7 +356,7 @@ namespace FPJ0000
}
else
{
newdr.pumqty += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumqtyReq += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt += v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.bigo += "," + item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();
@@ -406,7 +406,7 @@ namespace FPJ0000
newdr.pumscale = dr.ItemModel;
newdr.pumunit = dr.ItemUnit;
newdr.pumprice = v_price;// (decimal)item.Cells[Col_Price].Value;//dr.price;
newdr.pumqty = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumqtyReq = v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt = v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.supply = dr.ItemSupply.Trim();
newdr.supplyidx = dr.ItemSupplyidx;
@@ -422,7 +422,7 @@ namespace FPJ0000
}
else
{
newdr.pumqty += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumqtyReq += v_qty;// (int)item.Cells[Col_Qty].Value;// dr.qty; //SQL = SQL.Replace("{qty}", dr.qty.ToString()); //일반수량이 아닌 필요수량으로
newdr.pumamt += v_price * v_qty;// (decimal)item.Cells["dvc_amt"].Value;// dr.amt; //SQL = SQL.Replace("{amt}", dr.amt.ToString());
newdr.bigo += "," + item.Cells["dvc_remark"].Value.ToString();//dr.memo.Trim();
newdr.EndEdit();