public 物料扣货单(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_billMessageServer.BillType = "物料扣货单";

            m_billNoControl = new BillNumberControl(labelTitle.Text, m_billServer);

            m_authFlag = nodeInfo.Authority;

            DataTable dt = UniversalFunction.GetStorageTb();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cmbStorage.Items.Add(dt.Rows[i]["StorageName"].ToString());
            }

            cmbStorage.SelectedIndex = -1;

            string[] strBillStatus = { "全部", "等待领导审核", "等待质管批准", "等待SQE确认", "等待采购确认", "单据已完成" };
            checkBillDateAndStatus1.InsertComBox(strBillStatus);

            #region 被要求使用服务器时间 Modify by cjb on 2012.6.15
            checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1);
            checkBillDateAndStatus1.dtpEndTime.Value   = ServerTime.Time.AddDays(1);

            #endregion

            menuItemReresh_Click(null, null);
            RefreshDataGridView(m_billServer.GetAllBill());
        }
        public UserControlPersonnelLaborContract(AuthorityFlag authority, string workID)
        {
            InitializeComponent();

            m_authorityFlag = authority;
            AuthorityControl(m_authorityFlag);

            m_workID = workID;
            View_HR_PersonnelLaborContract personnelContract = m_laborServer.GetPersonnelContarctByWorkID(m_workID, out error);

            if (personnelContract != null)
            {
                txtProposer.Text   = personnelContract.员工姓名;
                txtRemark.Text     = personnelContract.备注;
                txtTemplet.Text    = personnelContract.合同模板;
                cmbStatus.Text     = personnelContract.合同状态;
                dtpBeginTime.Value = personnelContract.合同起始时间;
                dtpEndTime.Value   = personnelContract.合同终止时间;

                btnFindTemplet.Visible = false;
                txtProposer.Enabled    = false;
                txtProposer.BackColor  = Color.White;
            }
            else
            {
                for (int i = 0; i < groupBox1.Controls.Count; i++)
                {
                    groupBox1.Controls[i].Visible = false;
                }

                groupBox1.Text      = "没有签订合同和协议";
                groupBox1.ForeColor = Color.Red;
            }
        }
Exemple #3
0
        public CVT车客户信息(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_authFlag = nodeInfo.Authority;

            DataTable dtProvince = UniversalFunction.GetProvinceTable();

            for (int i = 0; i < dtProvince.Rows.Count; i++)
            {
                cmbProvince.Items.Add(dtProvince.Rows[i]["ProName"].ToString());
            }

            DataTable dtCarModel = m_serverProductList.GetMotorcycleType();

            for (int i = 0; i < dtCarModel.Rows.Count; i++)
            {
                cmbCarModel.Items.Add(dtCarModel.Rows[i]["CarModel"].ToString());
            }

            txtProductCode.OnCompleteSearch +=
                new GlobalObject.DelegateCollection.NonArgumentHandle(txtProductCode_OnCompleteSearch);

            RefreshDataGirdView(m_serverCVTCustomer.GetCVTCustomerInformation());
        }
Exemple #4
0
        public 工装台帐(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_msgPromulgator.BillType = "工装台帐";

            m_billNoControl = new BillNumberControl(CE_BillTypeEnum.包外返修处理单, m_serverFrockStandingBook);

            m_authFlag = nodeInfo.Authority;

            RefrshData();

            treeView1.Visible           = false;
            treeView1.AllowDrop         = false;
            剪切ToolStripMenuItem.Visible = false;
            粘贴ToolStripMenuItem.Visible = false;

            if (BasicInfo.ListRoles.Contains(CE_RoleEnum.工艺人员.ToString()))
            {
                添加ToolStripMenuItem.Visible = true;
                除ToolStripMenuItem.Visible  = true;
            }
            else
            {
                添加ToolStripMenuItem.Visible = false;
                除ToolStripMenuItem.Visible  = false;
            }

            panel2.Dock    = DockStyle.Fill;
            panel4.Visible = false;

            DataTable dtTemp = m_serverFrockStandingBook.GetTreeInfo();

            GlobalObject.GeneralFunction.LoadTreeViewDt(treeView1, dtTemp, "FrockName", "FrockNumber", "ParentFrockNumber", "ParentFrockNumber = 'Root'");
        }
        public FormResumeList(AuthorityFlag authFlag, string CardID)
        {
            InitializeComponent();

            m_authFlag = authFlag;

            m_resume = m_resumeServer.GetResumelInfo(CardID);

            if (m_resume != null)
            {
                添加toolStripButton1.Visible  = false;
                toolStripSeparator4.Visible = false;

                BindControl();

                txtName.ReadOnly = true;
                txtCard.ReadOnly = true;
            }
            else
            {
                MessageDialog.ShowPromptMessage("没有身份证为【" + CardID + "】的简历信息!");
                this.Close();
                return;
            }
        }
 public 创意提案(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
     : base(typeof(创意提案明细), GlobalObject.CE_BillTypeEnum.创意提案,
            Service_Peripheral_CompanyQuality.ServerModuleFactory.GetServerModule <ICreativeePersentation>())
 {
     InitializeComponent();
     m_authorityFlag = nodeInfo.Authority;
 }
Exemple #7
0
        public 工装总成信息(int goodsID, string frocknumber, bool flag, AuthorityFlag m_authFlag, bool addflag)
        {
            InitializeComponent();
            m_strAuthFlag = m_authFlag;

            FaceAuthoritySetting.SetEnable(this.Controls, m_authFlag);
            FaceAuthoritySetting.SetVisibly(this.toolStrip1, m_authFlag);
            toolStrip1.Visible = true;

            lbScarpPersonnel.Text = "";
            lbScarpTime.Text      = "";

            if (!flag)
            {
                labelTitle.Text    = "工装分装台帐信息";
                this.StartPosition = FormStartPosition.WindowsDefaultLocation;
                tabControl1.TabPages.RemoveAt(1);
            }
            else
            {
                labelTitle.Text = "工装总装台帐信息";
            }

            if (addflag)
            {
                txtName.ShowResultForm  = true;
                txtFrockNumber.Text     = m_serverFrockStandingBook.GetNewFrockNumber();
                txtFrockNumber.ReadOnly = false;

                if (goodsID != 0 && frocknumber != "")
                {
                    txtParentFrockNumber.Text = frocknumber;
                    F_GoodsPlanCost lnqGoodsInfo = m_serverBasicGoods.GetGoodsInfo(goodsID);
                    txtParentCode.Text = lnqGoodsInfo.GoodsCode;
                    txtParentName.Text = lnqGoodsInfo.GoodsName;
                    txtParentName.Tag  = goodsID;
                }
            }
            else
            {
                txtName.ShowResultForm  = false;
                txtFrockNumber.ReadOnly = true;

                DataRow drInfo = m_serverFrockStandingBook.GetInDepotBillInfo(frocknumber);

                if (drInfo != null)
                {
                    txtProposer.Text     = drInfo["申请人"].ToString();
                    txtProposer.Tag      = drInfo["申请人工号"].ToString();
                    txtProviderCode.Text = drInfo["供应商编码"].ToString();
                    txtProviderName.Text = drInfo["供应商简称"].ToString();
                    txtDesigner.Text     = drInfo["设计人"].ToString();
                    txtDesigner.Tag      = drInfo["设计人工号"].ToString();
                }

                m_lnqStandingBook = m_serverFrockStandingBook.GetBookInfo(goodsID, frocknumber);
            }

            ShowMessage();
        }
Exemple #8
0
        public 供应商配额设置(FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_authFlag = nodeInfo.Authority;
            RefreshDataGirdView(m_GoodsLeast.GetAllInfo());
        }
Exemple #9
0
 public 库房信息(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
 {
     InitializeComponent();
     m_authFlag = nodeInfo.Authority;
     AuthorityControl(m_authFlag);
     Refresh(2);
 }
        public 产品类普通入库单(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_billMessageServer.BillType = "普通入库单";

            m_billNoControl = new BillNumberControl(labelTitle.Text, m_billServer);

            string[] strBillStatus = { "全部",
                                       OrdinaryInDepotBillStatus.新建单据.ToString(),
                                       OrdinaryInDepotBillStatus.等待工装验证报告.ToString(),
                                       OrdinaryInDepotBillStatus.等待质检.ToString(),
                                       OrdinaryInDepotBillStatus.等待入库.ToString(),
                                       OrdinaryInDepotBillStatus.已入库.ToString() };

            checkBillDateAndStatus1.InsertComBox(strBillStatus);
            checkBillDateAndStatus1.OnCompleteSearch +=
                new GlobalObject.DelegateCollection.NonArgumentHandle(checkBillDateAndStatus1_OnCompleteSearch);

            checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1);
            checkBillDateAndStatus1.dtpEndTime.Value   = ServerTime.Time.AddDays(1);

            m_authorityFlag = nodeInfo.Authority;

            btnRefresh_Click(null, null);
            DataTable dt = UniversalFunction.GetStorageTb();

            dt = DataSetHelper.SiftDataTable(dt, "ZeroCostFlag = 0", out m_error);

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cmbStorage.Items.Add(dt.Rows[i]["StorageName"].ToString());
            }
            cmbStorage.SelectedIndex = -1;
        }
Exemple #11
0
        public 挂账单明细(string billID, AuthorityFlag authFlag)
        {
            InitializeComponent();

            FaceAuthoritySetting.SetVisibly(this.toolStrip, authFlag);
            this.toolStrip.Visible = true;

            if (billID == "")
            {
                txtStatus.Text     = "新建单据";
                txtRecorder.Text   = BasicInfo.LoginName;
                txtRecordTime.Text = ServerTime.Time.ToString();
            }
            else
            {
                View_Out_BuyingBill buyingBill = m_buyingServer.GetBillInfo(Convert.ToInt32(billID));

                txtStatus.Text     = buyingBill.单据状态;
                txtRecorder.Text   = buyingBill.记录人员;
                txtRecordTime.Text = buyingBill.记录时间.ToString();
                txtRemark.Text     = buyingBill.备注;
                txtReceiving.Text  = buyingBill.主机厂名称;
                txtReceiving.Tag   = buyingBill.主机厂编号;

                dataGridView1.DataSource = m_buyingServer.GetListInfo(Convert.ToInt32(billID));

                dataGridView1.Columns["单号"].Visible      = false;
                dataGridView1.Columns["GoodsID"].Visible = false;
            }
        }
Exemple #12
0
 public 物料录入申请单(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
     : base(typeof(物料录入申请单明细), GlobalObject.CE_BillTypeEnum.物料录入申请单,
            Service_Project_Design.ServerModuleFactory.GetServerModule <IGoodsEnteringBill>())
 {
     InitializeComponent();
     m_authorityFlag = nodeInfo.Authority;
 }
Exemple #13
0
 public 重点工作(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
     : base(typeof(重点工作明细), GlobalObject.CE_BillTypeEnum.重点工作,
            Service_Peripheral_CompanyQuality.ServerModuleFactory.GetServerModule <Service_Peripheral_CompanyQuality.IFocalWork>())
 {
     InitializeComponent();
     m_authorityFlag = nodeInfo.Authority;
 }
        public 工装验证报告单(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_msgPromulgator.BillType = "工装验证报告单";

            m_msgPromulgatorBook.BillType = "工装台帐";

            m_authFlag = nodeInfo.Authority;

            m_billNoControl = new BillNumberControl(CE_BillTypeEnum.工装验证报告单, m_serverFrock);
            string[] strBillStatus = { "全  部",
                                       "新建单据",
                                       "等待检验要求",
                                       "等待检验",
                                       "等待验证要求",
                                       "等待验证",
                                       "等待结论",
                                       "等待最终审核",
                                       "单据已完成" };

            checkBillDateAndStatus1.InsertComBox(strBillStatus);

            checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1);
            checkBillDateAndStatus1.dtpEndTime.Value   = ServerTime.Time.AddDays(1);

            RefreshDataGirdView();
        }
        public CVT出厂检验记录(string strbillid, AuthorityFlag authorFlag)
        {
            InitializeComponent();

            txtBill_ID.Text = strbillid;

            m_authFlag = authorFlag;

            P_DeliveryInspection lnqTemp = m_serverDeliveryInSpection.GetBill(strbillid);

            if (lnqTemp != null)
            {
                m_lnqDelivery = lnqTemp;
                ShowMessage();
            }
            else
            {
                //if (lnqTemp.Date <= Convert.ToDateTime("2013-10-29"))
                //{
                //    //原有的格式
                //    dataGridView1.DataSource = m_serverDeliveryInSpection.GetEmptyTable();
                //}
                //else
                //{
                //    //修改后的格式
                //    dataGridView1.DataSource = m_serverDeliveryInSpection.GetEmptyTable(lnqTemp.ProductType);
                //}

                dataGridView1.DataSource = m_serverDeliveryInSpection.GetEmptyTable(lnqTemp.ProductType);
                lbPersonnel.Text         = BasicInfo.LoginName;
            }
        }
Exemple #16
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public 营销入库明细单(int billID, AuthorityFlag authFlag)
        {
            m_billNoControl = new BillNumberControl(CE_BillTypeEnum.营销入库单, m_findSellIn);

            m_billMessageServer.BillType = "营销入库单";

            m_intDJID = billID;
            InitializeComponent();

            FaceAuthoritySetting.SetEnable(this.Controls, authFlag);
            FaceAuthoritySetting.SetVisibly(this.toolStrip, authFlag);

            this.toolStrip.Visible = true;
            DataTable dt = UniversalFunction.GetStorageTb();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cmbStorage.Items.Add(dt.Rows[i]["StorageName"].ToString());
            }

            cmbStorage.SelectedIndex = -1;
            cmbType.DataSource       = m_serverBom.GetAssemblyTypeList();
            //车型代号 UniversalFunction.GetTCUCarModelInfo().Select(k => k.CarModelNo).ToList();
            cmbType.SelectedIndex = -1;
        }
Exemple #17
0
        public 部门调动申请明细(AuthorityFlag authority, string billNo)
        {
            InitializeComponent();

            m_billMessageServer.BillType = "部门调动申请单";
            m_authorityFlag = authority;
            m_billNo        = billNo;

            DataTable postDt = m_PostServer.GetOperatingPost(null);

            for (int i = 0; i < postDt.Rows.Count; i++)
            {
                cmbNewWorkPost.Items.Add(postDt.Rows[i]["岗位名称"].ToString());
            }

            IQueryable <View_HR_Dept> m_findDepartment;

            if (m_departmentServer.GetAllDeptInfo(out m_findDepartment, out m_error))
            {
                foreach (var item in m_findDepartment)
                {
                    cmbNewDept.Items.Add(item.部门名称);
                }
            }

            if (m_billNo != "0")
            {
                BindControl();
            }
            else
            {
                ClearControl();
            }
        }
Exemple #18
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public 营销出库明细单(int billID, AuthorityFlag authFlag)
        {
            m_billNoControl = new BillNumberControl(CE_BillTypeEnum.营销出库单, m_findSellIn);

            m_billMessageServer.BillType = "营销出库单";

            m_intDJID = billID;
            InitializeComponent();

            //if (!BasicInfo.ListRoles.Contains(RoleEnum.营销普通人员.ToString())
            //    && !BasicInfo.ListRoles.Contains(RoleEnum.会计.ToString()))
            //{
            //    dgv_Main.Columns["SellUnitPrice"].Visible = false;
            //}

            FaceAuthoritySetting.SetEnable(this.Controls, authFlag);
            FaceAuthoritySetting.SetVisibly(this.toolStrip, authFlag);
            this.toolStrip.Visible = true;

            DataTable dt = UniversalFunction.GetStorageTb();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cmbStorage.Items.Add(dt.Rows[i]["StorageName"].ToString());
            }

            cmbStorage.SelectedIndex = -1;
        }
        public 库房盘点表(string DJH, DataTable dt, AuthorityFlag m_authFlag, string strFlag)
        {
            InitializeComponent();
            m_billInfo = m_serverStroageCheck.GetBill(DJH);

            dataGridView1.DataSource = m_serverStroageCheck.GetList(DJH, dt);
            FaceAuthoritySetting.SetEnable(this.Controls, m_authFlag);
            FaceAuthoritySetting.SetVisibly(this.toolStrip1, m_authFlag);

            if (!BasicInfo.ListRoles.Contains(CE_RoleEnum.会计.ToString()))
            {
                txtZMJE.Visible = false;
                txtPDJE.Visible = false;
                label5.Visible  = false;
                label8.Visible  = false;
                dataGridView1.Columns["盘点金额"].Visible = false;
                dataGridView1.Columns["账面金额"].Visible = false;
                dataGridView1.Columns["盈亏金额"].Visible = false;
            }

            StapleInfo.InitUnitComboBox(cmbUnit);
            StapleInfo.InitStoreStateComboBox(cmbGoodsStatus);

            cmbUnit.SelectedIndex        = -1;
            cmbGoodsStatus.SelectedIndex = -1;

            if (strFlag == "0")
            {
                toolStrip1.Visible = true;
            }

            m_dtMx = (DataTable)dataGridView1.DataSource;
            RefreshDataGirdView(m_dtMx);
        }
Exemple #20
0
        public 线返修记录管理(FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_authFlag = nodeInfo.Authority;

            IQueryable <View_P_ProductInfo> productInfo = null;

            if (!m_productInfoServer.GetAllProductInfo(out productInfo, out m_error))
            {
                MessageDialog.ShowErrorMessage(m_error);
                return;
            }
            else
            {
                productInfo = from r in productInfo
                              where !r.产品类型名称.Contains("返修")
                              select r;

                cmbProductCode.DataSource    = productInfo;
                cmbProductCode.DisplayMember = "产品类型编码";
                cmbProductCode.ValueMember   = "产品类型编码";
            }

            SearchData();
        }
        public 采购退货单(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_billMessageServer.BillType = "采购退货单";

            m_billNoControl = new BillNumberControl(labelTitle.Text, m_billServer);

            m_authFlag = nodeInfo.Authority;

            DataTable dt = UniversalFunction.GetStorageTb();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cmbStorage.Items.Add(dt.Rows[i]["StorageName"].ToString());
            }

            cmbStorage.SelectedIndex = -1;
            cmbBillType.Text         = "总仓库退货单";

            string[] strBillStatus = { "全部",
                                       MaterialRejectBillBillStatus.新建单据.ToString(),
                                       MaterialRejectBillBillStatus.等待财务审核.ToString(),
                                       MaterialRejectBillBillStatus.等待仓管退货.ToString(),
                                       MaterialRejectBillBillStatus.已完成.ToString() };

            checkBillDateAndStatus1.InsertComBox(strBillStatus);

            checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1);
            checkBillDateAndStatus1.dtpEndTime.Value   = ServerTime.Time.AddDays(1);

            menuItemReresh_Click(null, null);
        }
Exemple #22
0
        public 库房报缺查询(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            dtp_End.Value = ServerTime.Time.AddDays(1);
            m_authFlag    = nodeInfo.Authority;

            cmbStorage.Items.Add("全部库房");
            DataTable dt = UniversalFunction.GetStorageTb();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cmbStorage.Items.Add(dt.Rows[i]["StorageName"].ToString());
            }

            cmbStorage.SelectedIndex = 0;

            IBomServer    bomService = ServerModuleFactory.GetServerModule <IBomServer>();
            List <string> tempList   = bomService.GetAssemblyTypeList();

            cmbCVTType.DataSource  = tempList;
            cmbCVT_Plan.DataSource = tempList;

            cmbCustomTemplates.DataSource = m_serverLack.GetCustomTemplatesMain();

            cmbCustomTemplates.ValueMember   = "ID";
            cmbCustomTemplates.DisplayMember = "模板名称";
        }
        /// <summary>
        /// 设置总成数量对话框(设置单个零件所需的各总成的数量)
        /// </summary>
        //设置总成数量 m_formSetNumberOfProduct;

        #endregion

        #region 构造器


        public 安全库存(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_authorityFlag = nodeInfo.Authority;
            RefreshDataGridView();
        }
Exemple #24
0
        public 样品确认单(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_billMessageServer.BillType = "样品确认申请单";

            m_billNoControl = new BillNumberControl(CE_BillTypeEnum.样品确认申请单, m_serverMuster);

            m_authFlag = nodeInfo.Authority;

            dtpStart.Value = ServerTime.Time.AddYears(-1);
            dtpEnd.Value   = ServerTime.Time.AddDays(1);

            m_dtData = m_serverMuster.GetAllBill();

            foreach (Control cl in this.groupBox1.Controls)
            {
                if (cl is CheckBox)
                {
                    ((CheckBox)cl).Checked         = true;
                    ((CheckBox)cl).CheckedChanged += new EventHandler(RefrshDate);
                }
            }

            RefrshDate(null, null);

            dtpStart.ValueChanged += new EventHandler(RefrshDate);
            dtpEnd.ValueChanged   += new EventHandler(RefrshDate);
        }
Exemple #25
0
        public 装配多批次零件管理(FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_authFlag = nodeInfo.Authority;

            winFormPage1.PageSize    = 2000;
            winFormPage1.RefreshData = new GlobalObject.DelegateCollection.NonArgumentHandle(this.GoToPage);

            cmbPurpose.DataSource    = m_mbpServer.GetPersonnelPurpose().OrderByDescending(k => k.装配用途编号);
            cmbPurpose.DisplayMember = "装配用途名称";
            cmbPurpose.ValueMember   = "装配用途编号";

            IQueryable <View_P_ProductInfo> productInfo = null;

            if (!m_productInfoServer.GetAllProductInfo(out productInfo, out m_error))
            {
                MessageDialog.ShowErrorMessage(m_error);
                return;
            }
            else
            {
                productInfo = from r in productInfo
                              where !r.产品类型名称.Contains("返修")
                              select r;

                cmbProductCode.DataSource    = productInfo;
                cmbProductCode.DisplayMember = "产品类型编码";
                cmbProductCode.ValueMember   = "产品类型编码";
            }
        }
Exemple #26
0
        public UserControlAttendanceMachine(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_authorityFlag = nodeInfo.Authority;
            RefreshDataGridView();
        }
Exemple #27
0
        public 包外返修处理单(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_billMessageServer.BillType = "三包外返修处理单";

            m_billNoControl = new BillNumberControl(CE_BillTypeEnum.包外返修处理单, m_threePacketsOfTheRepairServer);

            m_authFlag = nodeInfo.Authority;
            cmbProductType.DataSource = m_serviceBom.GetAssemblyTypeList();

            string[] strBillStatus = { "全  部",
                                       "新建单据",
                                       "等待确认收货",
                                       "等待领料明细申请",
                                       "等待返修车间主管审核",
                                       "等待仓管确认出库",
                                       "等待销售策略",
                                       "等待营销总监审核",
                                       "等待财务确认",
                                       "等待返修完成",
                                       "等待营销确认",
                                       "已完成" };

            checkBillDateAndStatus1.InsertComBox(strBillStatus);

            checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1);
            checkBillDateAndStatus1.dtpEndTime.Value   = ServerTime.Time.AddDays(1);

            RefreshDataGirdView(m_threePacketsOfTheRepairServer.GetAllBill(checkBillDateAndStatus1.cmbBillStatus.Text,
                                                                           checkBillDateAndStatus1.dtpStartTime.Value, checkBillDateAndStatus1.dtpEndTime.Value));
        }
        public CVT出厂检验记录表(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            m_billMessageServer.BillType = "营销入库单";

            m_billNoControl = new BillNumberControl(CE_BillTypeEnum.CVT出厂检验记录表,
                                                    m_serverDeliveryInSpection);

            m_authFlag = nodeInfo.Authority;

            string[] strBillStatus = { "全  部",
                                       "等待检验",
                                       "等待最终判定",
                                       "已完成" };

            checkBillDateAndStatus1.InsertComBox(strBillStatus);

            checkBillDateAndStatus1.OnCompleteSearch +=
                new GlobalObject.DelegateCollection.NonArgumentHandle(checkBillDateAndStatus1_OnCompleteSearch);

            checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1);
            checkBillDateAndStatus1.dtpEndTime.Value   = ServerTime.Time.AddDays(1);

            RefreshDataGirdView(m_serverDeliveryInSpection.GetDeliveryInspection(checkBillDateAndStatus1.dtpStartTime.Value,
                                                                                 checkBillDateAndStatus1.dtpEndTime.Value, checkBillDateAndStatus1.cmbBillStatus.Text));
        }
        public 零部件入库明细表(FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            dtpEndTime.Value = ServerTime.Time.AddDays(1);

            SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.ResizeRedraw | ControlStyles.UserPaint | ControlStyles.OptimizedDoubleBuffer, true);

            UpdateStyles();

            m_authorityFlag = nodeInfo.Authority;

            cmbStorage.Items.Add("全部库房");

            DataTable dt = UniversalFunction.GetStorageTb();

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                cmbStorage.Items.Add(dt.Rows[i]["StorageName"].ToString());
            }

            cmbFDBName.Text        = "新账套";
            cmbStorage.Text        = "全部库房";
            cmbWhere.SelectedIndex = 0;
        }
 public 供应商应付账款(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
     : base(typeof(供应商应付账款明细), GlobalObject.CE_BillTypeEnum.供应商应付账款,
            Service_Economic_Purchase.ServerModuleFactory.GetServerModule <Service_Economic_Purchase.IAccountOperation>())
 {
     InitializeComponent();
     m_authorityFlag = nodeInfo.Authority;
 }