private void toolStripButton1_Click(object sender, EventArgs e) { FormReceivingOrder form = new FormReceivingOrder(_purchaseOrder, _listPurchaseOrderDetail); form.ShowDialog(); this.Refresh(); this.Close(); }
private void GetPurchaseReceivingOrder() { Guid Pid = ((ReturnPurchaseOrderList)this.dataGridView1.CurrentRow.DataBoundItem).id; PurchaseCommonEntity pcod = this.PharmacyDatabaseService.GetPurchaseReceivingOrdersByPurchaseOrderId(out msg, Pid).FirstOrDefault(); if (pcod == null) { MessageBox.Show("该单据无验收信息,请联系管理员!"); return; } FormReceivingOrder frm = new FormReceivingOrder(pcod, true); frm.Show(this); }
//收货 private void toolStripButton1_Click(object sender, EventArgs e) { FormReceivingOrder form = new FormReceivingOrder(_order, _orderDetails); form.ShowDialog(); }