/// <summary>
 /// 加载材料编号,日期,厂家CODE
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void SecuReport_Load(object sender, EventArgs e)
 {
     SecuGlobal.setAllVendorInfo(PaCSGlobal.LoginUserInfo.Fct_code, cbVendor);
     SecuGlobal.getMeterialCode(cbMeterial);
     xtraTabControl1_Click(sender, e);
     SecuGlobal.showOK(panelStatus, lblStatus, "Ready");
 }
 /// <summary>
 /// 记载基本信息
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void SecuStockCheck_Load(object sender, EventArgs e)
 {
     SecuGlobal.setAllVendorInfo(PaCSGlobal.LoginUserInfo.Fct_code, cbVendor);
     dateEditFrom.Text = PaCSTools.PaCSGlobal.GetServerDateTime(3);
     dateEditTo.Text   = PaCSTools.PaCSGlobal.GetServerDateTime(3);
     SecuGlobal.showOK(panelStatus, lblStatus, "Ready");
 }
        /// <summary>
        /// 加载Vendor信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void StockQuery_Load(object sender, EventArgs e)
        {
            setDicVendor(PaCSGlobal.LoginUserInfo.Fct_code);
            if (dicVendor.Count <= 0)
            {
                SecuGlobal.showNG(panelStatus, lblStatus, "没有找到VENDOR 信息,请联系管理员");
                return;
            }


            SecuGlobal.setAllVendorInfo(PaCSGlobal.LoginUserInfo.Fct_code, cbVendor);
            SecuGlobal.showOK(panelStatus, lblStatus, "Ready");
        }
Ejemplo n.º 4
0
        /// <summary>
        ///加载日期 、Vendor信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void RequestList_Load(object sender, EventArgs e)
        {
            radioGroup2_SelectedIndexChanged(sender, e);  // 获取查询类型
            SecuGlobal.setDate(dateEditFrom, dateEditTo);

            if (PaCSGlobal.LoginUserInfo.Fct_code.Equals("C660A"))
            {
                cbPlant.Text = "SSDP";
            }
            else
            {
                cbPlant.Text = "SESC";
            }

            SecuGlobal.setAllVendorInfo(PaCSGlobal.LoginUserInfo.Fct_code, cbVendor); //根据FCT CODE 获取所有的VENDOR 信息

            SecuGlobal.showOK(panelStatus, lblStatus, "Ready");
        }