//提交新建的领料单 protected void ConfirmNewDiaoboMain(object sender, EventArgs e) { string man = Session["UserName"].ToString().Trim(); Guid outid = new Guid(DropDownList4.SelectedValue.ToString()); Guid inid = new Guid(DropDownList5.SelectedValue.ToString()); db.Insert_Allot(outid, inid, man); BindDiaoboMain(); ScriptManager.RegisterClientScriptBlock(Page, GetType(), "alert", "alert('新建成功,请点击编辑详细进行后续操作!')", true); Panel_NewDiaoboMain.Visible = false; UpdatePanel_NewDiaoboMain.Update(); }
//取消新建的领料单 protected void CloseNewDiaoboMain(object sender, EventArgs e) { Panel_NewDiaoboMain.Visible = false; UpdatePanel_NewDiaoboMain.Update(); }
//新建调拨单 protected void NewDiaoboMain(object sender, EventArgs e) { Panel_NewDiaoboMain.Visible = true; UpdatePanel_NewDiaoboMain.Update(); }