po 입력시 pr->po 자동 전환(진재훈)

This commit is contained in:
chi
2024-03-19 11:06:40 +09:00
parent a56c186845
commit 7a01686f77
10 changed files with 427 additions and 371 deletions

View File

@@ -1200,6 +1200,16 @@ namespace FEQ0000
dr.pumamt = dr.pumqty * dr.pumprice;
dr.EndEdit();
}
else if (fpSpread1_Sheet1.Columns["po"].Index == fpSpread1_Sheet1.ActiveColumnIndex)
{
var drv = this.bs.Current as DataRowView;
var dr = drv.Row as dsPurchase.PurchaseRow;
if(dr.state == "PR" && dr.po.isEmpty()==false)
{
dr.state = "PO";
}
dr.EndEdit();
}
}
private void toolStripButton4_Click_1(object sender, EventArgs e)