This commit is contained in:
chi
2023-04-27 15:05:14 +09:00
parent 5a899c2d1b
commit 79ea4ddfff
16 changed files with 2630 additions and 817 deletions

View File

@@ -13,9 +13,11 @@ namespace FEQ0000.Purchase
public partial class fPurchaseCR_Ipgo : Form
{
int idx = -1;
public fPurchaseCR_Ipgo(int purchaseIdx)
string po = string.Empty;
public fPurchaseCR_Ipgo(int purchaseIdx,string po_)
{
InitializeComponent();
this.po = po_;
this.idx = purchaseIdx;
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
@@ -49,6 +51,7 @@ namespace FEQ0000.Purchase
tbAmt.Text = (dr.pumqty * dr.pumprice).ToString();
tbRemarkO.Text = dr.bigo;
tbPO.Text = dr.po;
if (string.IsNullOrEmpty(tbPO.Text)) tbPO.Text = this.po;
tbSC.Text = dr.sc;
tbSCRCF.Text = dr.orderno;
@@ -176,7 +179,9 @@ namespace FEQ0000.Purchase
dr.state = "Received";
dr.inremark = tbInRemark.Text.Trim();
}
dr.windate = DateTime.Now;
dr.winuid = FCOMMON.info.Login.no;
dr.po = this.tbPO.Text.Trim();
dr.EndEdit();
var cnt = ta.Update(dr);
DialogResult = DialogResult.OK;