Exemplo n.º 1
0
        private void FrmPO_ZGJH_SD_Load(object sender, EventArgs e)
        {
            UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID);
            CommonSub.BindIcbo("", "ZX", icbo_ZX_WXF);

            CommonSub.BindIcboNoAll("", "ZX", icbo_ZX_YXF);
            icbo_ZX_YXF.SelectedIndex = 0;
            BindSpec();//加载线材计划查询的规格


            dtp_form1.Text     = Cls_Order_PC.GetDXFristDay()[0];
            this.dtp_end1.Text = Cls_Order_PC.GetDXFristDay()[1];

            CommonSub.BindIcbo_XF("", "ZX", icbo_XF_ZX);
            CommonSub.BindIcboNoAll("", "CC", icbo_lz3);
            dt_Start.Text = Cls_Order_PC.GetDXFristDay()[0]; // DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
            dt_End.Text   = Cls_Order_PC.GetDXFristDay()[1]; // DateTime.Now.ToString("yyyy-MM-dd");

            //GetDXFristDay()

            simpleButton1_Click(null, null);
            try
            {
                InitDrop();
            }
            catch (Exception ex)
            {
            }
            gv_PDJG.CustomColumnDisplayText += Gv_PDJG_CustomColumnDisplayText;
        }
Exemplo n.º 2
0
        private void FrmPO_ZGJH_SD_NEWS_Load(object sender, EventArgs e)
        {
            CommonSub.BindIcbo("", "ZX", icbo_ZX_WXF);

            CommonSub.BindIcboNoAll("", "ZX", icbo_ZX_YXF);
            icbo_ZX_YXF.SelectedIndex = 0;
            BindSpec();//加载线材计划查询的规格


            dtp_form1.Text     = Cls_Order_PC.GetDXFristDay()[0];
            this.dtp_end1.Text = Cls_Order_PC.GetDXFristDay()[1];

            CommonSub.BindIcbo_XF("", "ZX", icbo_XF_ZX);
            CommonSub.BindIcboNoAll("", "CC", icbo_lz3);
            dt_Start.Text = Cls_Order_PC.GetDXFristDay()[0]; // DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
            dt_End.Text   = Cls_Order_PC.GetDXFristDay()[1]; // DateTime.Now.ToString("yyyy-MM-dd");


            simpleButton1_Click_1(null, null);
            try
            {
                InitDrop();
                InitDrop2();
            }
            catch (Exception ex)
            {
            }
            gv_PDJG.CustomColumnDisplayText += Gv_PDJG_CustomColumnDisplayText;
            this.btn_Cancel.Left             = gc_Item_Info.Size.Width + 10;
            this.btn_SaveSort.Left           = gc_Item_Info.Size.Width + this.btn_Cancel.Width + 12;
        }
Exemplo n.º 3
0
        /// <summary>
        /// 初始加载
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmPR_ORDER_Query_Load(object sender, EventArgs e)
        {
            dte_Begin.EditValue = Cls_Order_PC.GetDXFristDay()[0];
            dte_End.EditValue   = Cls_Order_PC.GetDXFristDay()[1];
            CommonSub.BindIcbo("", "ZX", icbo_line, "Y");
            icbo_line.SelectedIndex = 0;

            BindSpec();
        }
Exemplo n.º 4
0
        private List <Mod_TPP_LGPC_LCLSB> lc_plan_sort = new List <Mod_TPP_LGPC_LCLSB>(); //待排产炉次计划
        #endregion


        /// <summary>
        /// 页面加载
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmPO_APS_Order_LGFX_Load(object sender, EventArgs e)
        {
            // UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID);
            CommonSub.BindIcbo("", "CC", icbo_lz1);
            CommonSub.BindIcbo("", "CC", icbo_lz);
            CommonSub.BindIcbo("", "CC", icbo_lz2);
            dtp_form1.Text     = Cls_Order_PC.GetDXFristDay()[0];
            this.dtp_end1.Text = Cls_Order_PC.GetDXFristDay()[1];
            dtp_from.Text      = Cls_Order_PC.GetDXFristDay()[0];
            this.dtp_end.Text  = Cls_Order_PC.GetDXFristDay()[1];
        }
Exemplo n.º 5
0
        private void FrmPO_APS_OrderPJ_Load(object sender, EventArgs e)
        {
            UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID);
            dtp_form1.Text     = Cls_Order_PC.GetDXFristDay()[0];
            this.dtp_end1.Text = Cls_Order_PC.GetDXFristDay()[1];


            CommonSub.BindIcbo("", "ZX", icbo_line, "Y");
            CommonSub.BindIcboNoAll("", "ZX", icbo_line2);
            BindSpec();
            icbo_line.SelectedIndex  = 0;
            icbo_line2.SelectedIndex = 0;
            rbtn_sfqr.SelectedIndex  = 0;
        }
Exemplo n.º 6
0
        private void FrmPO_APS_BXG_XM_Load(object sender, EventArgs e)
        {
            UserButtonRight.GetBtnFun(this, RV.UI.UserInfo.menuID);
            dtp_form1.Text     = Cls_Order_PC.GetDXFristDay()[0];
            this.dtp_end1.Text = Cls_Order_PC.GetDXFristDay()[1];
            BindSpec();
            DataTable dtxm = bll_xm.GetBxgBZ();

            icbo_xm.Properties.Items.Clear();
            icbo_xm.Properties.Items.Add("", "", -1);
            for (int i = 0; i < dtxm.Rows.Count; i++)
            {
                icbo_xm.Properties.Items.Add(dtxm.Rows[i]["C_CRAFT_FLOW"].ToString(), dtxm.Rows[i]["C_COPING_CRAFT"].ToString(), -1);
            }
            icbo_xm.SelectedIndex = 0;
        }