public UserControlBom(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.ResizeRedraw | ControlStyles.UserPaint | ControlStyles.OptimizedDoubleBuffer, true); UpdateStyles(); }
public UserControlAttendanceMachineHistory(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authorityFlag = nodeInfo.Authority; AuthorityControl(m_authorityFlag); numYear.Value = ServerTime.Time.Year; RefreshDataGridView(); }
public 营销退货单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_billNoControl = new BillNumberControl(CE_BillTypeEnum.营销退货单, m_findSellIn); m_msgPromulgator.BillType = "营销退货单"; m_authFlag = nodeInfo.Authority; }
public 最低销售定价(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; RefreshDataGridView(); txtRecorder.Text = BasicInfo.LoginName; txtRecordTime.Text = ServerTime.Time.ToString(); }
public UserControlPersonnelLaborContract(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authorityFlag = nodeInfo.Authority; RefreshControl(); txtProposer.OnCompleteSearch += new GlobalObject.DelegateCollection.NonArgumentHandle(txtProposer_OnCompleteSearch); }
public 采购结算单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) : base(typeof(采购结算单明细), GlobalObject.CE_BillTypeEnum.采购结算单, Service_Economic_Purchase.ServerModuleFactory.GetServerModule <IProcurementStatement>()) { InitializeComponent(); this.Form_CommonProcessSubmit += new FormCommonProcess.FormSubmit(采购结算单_Form_CommonProcessSubmit); this.Form_btnPrint += new DelegateCollection.ButtonClick(采购结算单_Form_btnPrint); m_authorityFlag = nodeInfo.Authority; }
public 重新打印(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; dateTime_startTime.Value = new DateTime(ServerTime.Time.Year, ServerTime.Time.Month, 1); dateTime_endTime.Value = ServerTime.Time.AddDays(1); DataBind(); }
public 订单核查(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; dateTimePicker1.Value = ServerTime.Time.AddMonths(-12); dateTimePicker2.Value = ServerTime.Time.AddDays(1); comboBox1.SelectedIndex = 0; RefreshDataGirdView(); }
public 物品质保有效期管理(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; dtpEnd.Value = ServerTime.Time; dtpStart.Value = ServerTime.Time.AddYears(-5); RefreshDataGirdView(); }
public 挂账单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1); dtpEndTime.Value = ServerTime.Time.AddDays(1); DataRefresh(); }
public 供应质量信息反馈单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; dtpStartTime.Value = new DateTime(ServerTime.Time.Year, ServerTime.Time.Month, 1); dtpEndTime.Value = ServerTime.Time.AddDays(1); cmbBillStatus.Text = "全 部"; RefreshDataGirdView(m_serverMess.GetAllData(cmbBillStatus.Text, dtpStartTime.Value, dtpEndTime.Value)); }
public UserControlHRDepartment(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.ResizeRedraw | ControlStyles.UserPaint | ControlStyles.OptimizedDoubleBuffer, true); UpdateStyles(); m_authFlag = nodeInfo.Authority; m_deptTypes = m_departmentServer.GetAllDeptType().ToArray(); cmbDeptType.Items.AddRange((from r in m_deptTypes select r.TypeName).ToArray()); }
public 产品不合格隔离(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; cmbDJ_ZT.SelectedIndex = 0; dateTimeStart.Value = new DateTime(ServerTime.Time.Year, ServerTime.Time.Month, 1); dateTimeEnd.Value = ServerTime.Time.AddDays(1); DataGridViewBind(); }
public 单价初始化(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; RefreshDataGirdView(m_serverStore.GetStockAveragePrice(true, "")); InsertCombox(); cmbMonth.Text = ServerTime.Time.Month.ToString("D2"); cmbYear.Text = ServerTime.Time.Year.ToString("D4"); }
public 库房调拨单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_msgPromulgator.BillType = "库房调拨单"; m_billNoControl = new BillNumberControl(CE_BillTypeEnum.库房调拨单, m_serverCannibalize); m_authFlag = nodeInfo.Authority; dateTimePicker2.Value = ServerTime.Time.AddDays(1); }
public 零星采购变更处置单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authorityFlag = nodeInfo.Authority; string[] strBillStatus = { "全部", "等待请购人确认", "等待主管审核", "已完成" }; checkBillDateAndStatus1.InsertComBox(strBillStatus); checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1); checkBillDateAndStatus1.dtpEndTime.Value = ServerTime.Time.AddDays(1); RefreshDataGridView(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="nodeInfo">功能树节点信息</param> public 自制件入库单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_msgPromulgator.BillType = "自制件入库单"; m_billNoControl = new BillNumberControl(CE_BillTypeEnum.自制件入库单.ToString(), m_billServer); m_authFlag = nodeInfo.Authority; cmbStorage.DataSource = UniversalFunction.GetListStorageInfo().Where(k => k.ZeroCostFlag == true).ToList(); cmbStorage.ValueMember = "StorageID"; cmbStorage.DisplayMember = "StorageName"; cmbStorage.SelectedText = CE_StorageName.自制半成品库.ToString(); //DataTable dt = UniversalFunction.GetStorageTb(); //DataRow[] drList = dt.Select("StorageID in ('01','03','08','10')"); //DataTable dtTemp = dt.Clone(); //foreach (DataRow dr in drList) //{ // dtTemp.ImportRow(dr); //} //cmbStorage.DataSource = dtTemp; checkBillDateAndStatus1.InsertComBox(typeof(HomemadeBillStatus)); S_HomemadePartBill tempBill = m_billServer.GetBill(txtBill_ID.Text); m_lnqWSCode = tempBill == null? m_serverWSBasic.GetPersonnelWorkShop(BasicInfo.LoginID) : m_serverWSBasic.GetPersonnelWorkShop(tempBill.DeclarePersonnelCode); btnBatchNo.Visible = m_lnqWSCode == null ? false : true; #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 btnRefresh_Click(null, null); if (!Convert.ToBoolean(BasicInfo.BaseSwitchInfo[(int)GlobalObject.CE_SwitchName.开启车间管理模块])) { btnBatchNo.Visible = false; } }
public 技术变更单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_msgPromulgator.BillType = "技术变更单"; m_billNoControl = new BillNumberControl(CE_BillTypeEnum.技术变更单, m_serverTechnology); m_authFlag = nodeInfo.Authority; ClearDate(); RefreshDataGirdView(m_serverTechnology.GetAllBill()); }
public 自动生成入库单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); 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; }
public 售后服务质量反馈单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_msgPromulgator.BillType = "售后质量信息反馈单"; m_authFlag = nodeInfo.Authority; string[] strBillStatus = { "全部", "等待确认返回时间", "等待主管审核", "等待质管确认", "等待责任部门确认", "等待责任人确认", "等待质管检查", "单据完成" }; checkBillDateAndStatus1.InsertComBox(strBillStatus); checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1); checkBillDateAndStatus1.dtpEndTime.Value = ServerTime.Time.AddDays(1); DataBindGirdView(); }
public CVT装车信息(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; txtProduct.OnCompleteSearch += new GlobalObject.DelegateCollection.NonArgumentHandle(txtProductCode_OnCompleteSearch); RefreshDataGirdView(m_serverCVTLoading.GetLoadingInfo()); DataTable dtCarModel = m_serverProductList.GetMotorcycleType(); for (int i = 0; i < dtCarModel.Rows.Count; i++) { cmbCarModel.Items.Add(dtCarModel.Rows[i]["CarModel"].ToString()); } }
public UserControlAttendanceDaybook(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authorityFlag = nodeInfo.Authority; DateTime dtStart, dtEnd; ServerTime.GetMonthlyBalance(ServerTime.Time, out dtStart, out dtEnd); dtpSelectStar.Value = dtStart; dtpSelectEnd.Value = dtEnd.AddDays(-1); RefreshDataGridView(); }
public TCU返修信息(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_billMessageServer.BillType = "TCU返修信息管理"; m_authorityFlag = nodeInfo.Authority; string[] strBillStatus = { "全部", "等待质管确认", "已完成" }; checkBillDateAndStatus1.InsertComBox(strBillStatus); checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1); checkBillDateAndStatus1.dtpEndTime.Value = ServerTime.Time.AddDays(1); RefreshControl(); }
public 技术变更处置单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; m_msgPromulgator.BillType = "技术变更单"; m_billNoControl = new BillNumberControl(CE_BillTypeEnum.技术变更单, m_technologyServer); string[] strBillStatus = { "全部", "等待批准", "等待财务审核", "已完成" }; checkBillDateAndStatus1.InsertComBox(strBillStatus); RefreshDataGirdView(); }
public 采购计划(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_msgPromulgator.BillType = "采购计划"; m_msgPromulgatorForMarketing.BillType = "营销要货计划"; m_msgPromulgatorForProduct.BillType = "生产计划"; m_authFlag = nodeInfo.Authority; InsertCombox(); ClearDate(); }
public 售后配件申请单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; m_billNoControl = new BillNumberControl(CE_BillTypeEnum.售后配件申请单, m_serverAfterService); string[] strBillStatus = { "全部", "等待主管审核", "已完成" }; checkBillDateAndStatus1.InsertComBox(strBillStatus); DataRefresh(); }
public 报废单(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_msgPromulgator.BillType = "报废单"; m_billNoControl = new BillNumberControl(labelTitle.Text, m_billServer); m_authorityFlag = nodeInfo.Authority; dateTimePickerST.Value = ServerModule.ServerTime.Time; dateTimePickerET.Value = ServerModule.ServerTime.Time.AddDays(1); m_billServer.QueryResultFilter = QueryFilterControl.GetFilterString(labelTitle.Text); RefreshData(); }
public 主机厂挂账汇总表(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); for (int i = 2010; i < 2050; i++) { cmbYear.Items.Add(i); } for (int f = 1; f <= 12; f++) { cmbMonth.Items.Add(f.ToString("D2")); } cmbYear.Text = ServerTime.Time.Year.ToString(); cmbMonth.Text = ServerTime.Time.Month.ToString("D2"); }
public 销售订单评审(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authFlag = nodeInfo.Authority; #region 数据筛选 string[] strBillStatus = { "全部", "等待评审", "等待评审结果", "已完成" }; checkBillDateAndStatus1.InsertComBox(strBillStatus); checkBillDateAndStatus1.dtpStartTime.Value = ServerTime.Time.AddDays(1).AddMonths(-1); checkBillDateAndStatus1.dtpEndTime.Value = ServerTime.Time.AddDays(1); #endregion RefreshDataGridView(); }
public UserControlAttendanceScheme(PlatformManagement.FunctionTreeNodeInfo nodeInfo) { InitializeComponent(); m_authorityFlag = nodeInfo.Authority; DataTable dt = m_attendanceServer.GetAttendanceScheme(); if (dt != null && dt.Rows.Count > 0) { for (int i = 0; i < dt.Rows.Count; i++) { cmbSchemeCode.Items.Add(dt.Rows[i]["考勤方案"].ToString()); } } RefreshDataGridView(); }