private void 供应商L_MouseClick(object sender, MouseEventArgs e) { Mode = "SupplierID"; Title = "供应商编号"; //Title = "供应商编号|简称"; 录入进货单_获取单据信息 frm = new 录入进货单_获取单据信息(connYF, Title, Mode); if (frm.ShowDialog() == DialogResult.Cancel) { GetMain = frm.GetMain; GetOther = frm.GetOther; if (GetMain != null) { 供应商Lable.Text = frm.GetMain + "-" + GetOther; SupplierID = GetMain; GetMain = null; GetOther = null; } frm.Dispose(); MsgFlag = true; 送货单号T.Select(); 送货单号T.SelectAll(); } }
private void 入库单别L_MouseClick(object sender, MouseEventArgs e) { Mode = "TypeID"; Title = "单别"; //Title = "单别|单据简称"; 录入进货单_获取单据信息 frm = new 录入进货单_获取单据信息(connYF, Title, Mode); if (frm.ShowDialog() == DialogResult.Cancel) { GetMain = frm.GetMain; GetOther = frm.GetOther; if (GetMain != null) { 入库单别.Text = GetMain + "-" + GetOther; TypeID = GetMain; GetMain = null; GetOther = null; } frm.Dispose(); } }
private void 入库仓库L_MouseClick(object sender, MouseEventArgs e) { Mode = "PositionID"; Title = "仓库编号"; //Title = "仓库编号|仓库名称"; 录入进货单_获取单据信息 frm = new 录入进货单_获取单据信息(connYF, Title, Mode); if (frm.ShowDialog() == DialogResult.Cancel) { GetMain = frm.GetMain; GetOther = frm.GetOther; if (GetMain != null) { 入库仓库.Text = GetMain + "-" + GetOther; PositionID = GetMain; GetMain = null; GetOther = null; } frm.Dispose(); } }