protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); userName = Session["UserName"].ToString(); uid = Session["UserID"].ToString(); depId = Session["UserDeptID"].ToString(); position = Session["POSITION"].ToString();; type = Request.QueryString["type"].ToString(); if (!IsPostBack) { BindPer(); BindState(); BindRevState(); BindProject(); BindEngineer(); BindTsaId(); InitVar(); GetTechRequireData(); } InitVar(); SetGVColsVisible(); //CheckUser(ControlFinder); }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (Request.QueryString["id"] != null) //登陆 { Session["id"] = Request.QueryString["id"]; } }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); //Get_CGSP(); Get_WXSP(); Get_CSP(); Get_HTSP(); }
protected void Page_Load(object sender, EventArgs e) { action = Request.QueryString["action"]; id = Request.QueryString["id"]; DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (!IsPostBack) { InitInfo(); } }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (!IsPostBack) { if (Session.IsNewSession) { Session.Abandon(); Application.Lock(); Application["online"] = (int)Application["online"] - 1; Application.UnLock(); Response.Write("<script>if(window.parent!=null)window.parent.location.href='../Default.aspx';else{window.location.href='./Default.aspx'} </script>"); } InitUrl(); InitUrl1(); CheckUser(ControlFinder); } Reject_Pro(); GetTask(); getxbjsh(); //比价单数量 getdydsh(); //代用单数量 getxyjhsh(); //未下推需用计划数量 getrwfgsh(); //任务分工,未分工 getcgjhsh(); //采购计划未询比价数量 getddgl(); //订单未提交数量 getbggl(); //变更管理 getwlzy(); //物料占用管理 // getzbwl();//招标物料 GetMyViewTask(); GetCusup_Review(); //GetMyTask1(); Get_CGSP1(); getdydsh1(); getBGdsh1(); getsafe1(); GetProjTemp1(); //项目结转备库 GetCM_CM_CUSTOMER(); //顾客财产 CM_GKFW(); //顾客服务单通知 CghtSP(); //采购合同数量 GetKaiPiao(); GET_FHTZ(); //发货通知 GetMyBaoJian(); //我的报检任务 getxyjhbg(); //需用计划变更 qitarukusp(); //其他入库审核 getfpwwjinfo(); //采购发票未完结 PC_Pur_inform_commit(); //采购信息交流 }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); depId = Session["UserDeptID"] + ""; position = Session["POSITION"] + ""; userid = Session["UserID"] + ""; if (!IsPostBack) { InitUrl(); } initNum(); }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); action = Request.QueryString["action"]; if (!IsPostBack) { if (action == "modify") { IntVar(); } } }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (Session.IsNewSession) { Session.Abandon(); Application.Lock(); Application["online"] = (int)Application["online"] - 1; Application.UnLock(); Response.Write("<script>if(window.parent!=null)window.parent.location.href='../Default.aspx';else{window.location.href='./Default.aspx'} </script>"); } InitUrl(); GetCusup_Review(); CheckUser(ControlFinder); }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (!IsPostBack) { string retvalue = this.GetQueryCondition(); if (retvalue == "OK") { this.InitVarBindData(); } else if (retvalue == "Null") { ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "", "alert('无法获取查询对象,请重新操作');window.close();", true); } } }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (!IsPostBack) { InitUrl(); } CheckUser(ControlFinder); getxyjhsh(); GetMyTask(); Get_CGSP(); getdydsh(); getBGdsh(); getsafe(); GetProjTemp(); //项目结转备库 }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (!IsPostBack) { InitUrl(); } CheckUser(ControlFinder); GET_FENGONG(); GET_WXSP(); //GET_GSSP(); // GET_FAYUN(); GET_FINISHED(); GET_FINISHEDOUT(); GET_MYTASK(); Get_CGSP(); GET_WXBJSP(); Reject_Pro(); GET_FHTZ(); getdydsh(); GET_FYSP(); SetTip(); GET_ZZMX(); GET_wxbj(); GetMyBaoJian(); GetKaiPiao(); GetlbDYTZ(); GetBackTask(); //需用计划驳回 mp_ck_bt_f(); //代用待查看 zzmx_ck_bt_f(); //制作明细查看 //string sql = string.Format("select CH_ID from View_CM_Change where CM_STATE='1' and ((CM_MANCLERK='{0}') or (CM_PS1='{0}' and CM_PSYJ1='1') or (CM_PS2='{0}' and CM_PSYJ2='1' and CM_PSYJ1='2') or (CM_PS3='{0}' and CM_PSYJ3='1' and CM_PSYJ1='2' and CM_PSYJ2='2'))", Session["UserID"].ToString()); //03 技术--CM_BT1 04生产--CM_BT2 05 采购--CM_BT3 string sql = "select * from TBCM_CHANLIST where CM_STATE='2' and CM_BT2='0'"; //DBCallCommon.GetDTUsingSqlText(sql).Rows.Count; // string sql = "select * from View_CM_Change where CM_STATE='2'"; bgtz.Text = "(" + DBCallCommon.GetDTUsingSqlText(sql).Rows.Count.ToString() + ")"; }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); if (!IsPostBack) { Session["Mp_Count"] = 0; ViewState["tablename"] = Server.HtmlDecode(Request.QueryString["tablename"].ToString()); ViewState["strwhere"] = Server.HtmlDecode(Request.QueryString["strwhere"].ToString()); ViewState["mptype"] = Server.HtmlDecode(Request.QueryString["mptype"].ToString()); ViewState["mpchange"] = Server.HtmlDecode(Request.QueryString["mpchange"].ToString()); ViewState["mpno"] = Server.HtmlDecode(Request.QueryString["mpno"].ToString()); ViewState["pjid"] = Server.HtmlDecode(Request.QueryString["pjid"].ToString()); ViewState["engtype"] = Server.HtmlDecode(Request.QueryString["engtype"].ToString()); ViewState["engid"] = Server.HtmlDecode(Request.QueryString["engid"].ToString()); ViewState["orgtable"] = Server.HtmlDecode(Request.QueryString["orgtable"].ToString()); this.BindData(); } this.InitVar(); }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); userName = Session["UserName"].ToString(); uid = Session["UserID"].ToString(); depId = Session["UserDeptID"].ToString(); position = Session["POSITION"].ToString(); tsaId = Request.QueryString["tsaId"].ToString(); GetState(tsaId); if (!IsPostBack) { SetTSAInfo(tsaId); BindRepeaterSource(rpt_YS_FERROUS_METAL, pal_No_YS_FERROUS_METAL, tsaId, "01.07"); //黑色金属 BindRepeaterSource(rpt_YS_PURCHASE_PART, pal_No_YS_PURCHASE_PART, tsaId, "01.11"); //外购件 BindRepeaterSource(rpt_YS_PAINT_COATING, pal_No_YS_PAINT_COATING, tsaId, "01.15"); //油漆涂料 BindRepeaterSource(rpt_YS_ELECTRICAL, pal_No_YS_ELECTRICAL, tsaId, "01.03"); //电气电料 BindCastingForgingRepeaterSource(rpt_YS_CASTING_FORGING_COST, pal_No_YS_CASTING_FORGING_COST, tsaId); //铸锻件 BindRepeaterSource(rpt_YS_OTHERMAT_COST, pal_No_YS_OTHERMAT_COST, tsaId); //其他材料 ControlerVisile(); } }
protected void Page_Load(object sender, EventArgs e) { DBCallCommon.SessionLostToLogIn(Session["UserID"]); }