示例#1
0
        private void btnAdvanceSearch_Click(object sender, EventArgs e)
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = BLLFactory <ItemDetail> .Instance.GetFieldTypeList();

                dlg.DisplayColumns  = "ID,ItemNo,ItemName,Manufacture,MapNo,Specification,Material,ItemBigType,ItemType,Unit,Price,Source,StoragePos,UsagePos,StockQuantity,AlarmQuantity,Note,Dept,WareHouse";
                dlg.ColumnNameAlias = BLLFactory <ItemDetail> .Instance.GetColumnNameAlias();//字段列显示名称转义

                #region  拉列表数据

                dlg.AddColumnListItem("Manufacture", Portal.gc.GetDictData("供货商"));
                dlg.AddColumnListItem("ItemBigType", Portal.gc.GetDictData("备件属类"));
                dlg.AddColumnListItem("ItemType", Portal.gc.GetDictData("备件类别"));
                dlg.AddColumnListItem("Source", Portal.gc.GetDictData("来源"));
                dlg.AddColumnListItem("Dept", Portal.gc.GetDictData("部门"));

                dlg.AddColumnListItem("Material", BLLFactory <ItemDetail> .Instance.GetFieldList("Material"));
                dlg.AddColumnListItem("Specification", BLLFactory <ItemDetail> .Instance.GetFieldList("Specification"));
                dlg.AddColumnListItem("Unit", BLLFactory <ItemDetail> .Instance.GetFieldList("Unit"));
                dlg.AddColumnListItem("WareHouse", BLLFactory <WareHouse> .Instance.GetAllWareHouse());

                //dlg.AddColumnListItem("Sex", "男,女");

                #endregion

                dlg.ConditionChanged += new FrmAdvanceSearch.ConditionChangedEventHandler(dlg_ConditionChanged);
            }
            dlg.ShowDialog();
        }
        /// <summary>
        /// 高级查询的操作
        /// </summary>
        private void AdvanceSearch()
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = BLLFactory <生产批次生成表> .Instance.GetFieldTypeList();

                dlg.ColumnNameAlias = BLLFactory <生产批次生成表> .Instance.GetColumnNameAlias();

                dlg.DisplayColumns = "时间,班次,组装线体号,机种,镜框日期,镜筒模穴号,镜框批次,穴号105,穴号104,穴号102,日期105,日期104,日期102,角度,系列号,镜框投料数,隔圈模穴号113B,成型日113B,隔圈模穴号112,成型日112,隔圈投料数,G3来料供应商,G3镜片来料日期,G1来料供应商,G1来料日期,镜片105投料数,镜片104投料数,镜片G3投料数,镜片102投料数,镜片95B投料数,配对监控批次,计划投入数,上线数,下线数,状态,生产批次号";

                #region  拉列表数据

                //dlg.AddColumnListItem("UserType", Portal.gc.GetDictData("人员类型"));//字典列表
                //dlg.AddColumnListItem("Sex", "男,女");//固定列表
                //dlg.AddColumnListItem("Credit", BLLFactory<生产批次生成表>.Instance.GetFieldList("Credit"));//动态列表

                #endregion

                dlg.ConditionChanged += new FrmAdvanceSearch.ConditionChangedEventHandler(dlg_ConditionChanged);
            }
            dlg.ShowDialog();
        }
示例#3
0
        /// <summary>
        /// 高级查询的操作
        /// </summary>
        private void AdvanceSearch()
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = BLLFactory <物料ng替换记录表> .Instance.GetFieldTypeList();

                dlg.ColumnNameAlias = BLLFactory <物料ng替换记录表> .Instance.GetColumnNameAlias();

                dlg.DisplayColumns = "NG替换时间,物料生产批次号,设备ID,设备名称,工位号,物料GUID,替换前治具GUID,替换前治具RFID,替换前治具孔号,前治具生产批次号,替换后治具GUID,替换后治具RFID,替换后治具孔号,后治具生产批次号";

                #region  拉列表数据

                //dlg.AddColumnListItem("UserType", Portal.gc.GetDictData("人员类型"));//字典列表
                //dlg.AddColumnListItem("Sex", "男,女");//固定列表
                //dlg.AddColumnListItem("Credit", BLLFactory<物料ng替换记录表>.Instance.GetFieldList("Credit"));//动态列表

                #endregion

                dlg.ConditionChanged += new FrmAdvanceSearch.ConditionChangedEventHandler(dlg_ConditionChanged);
            }
            dlg.ShowDialog();
        }
示例#4
0
        /// <summary>
        /// 高级查询的操作
        /// </summary>
        private void AdvanceSearch()
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = BLLFactory <设备状态表> .Instance.GetFieldTypeList();

                dlg.ColumnNameAlias = BLLFactory <设备状态表> .Instance.GetColumnNameAlias();

                dlg.DisplayColumns = "发生时间,设备id,设备名称,设备状态,报警信息";

                #region  拉列表数据

                //dlg.AddColumnListItem("UserType", Portal.gc.GetDictData("人员类型"));//字典列表
                //dlg.AddColumnListItem("Sex", "男,女");//固定列表
                //dlg.AddColumnListItem("Credit", BLLFactory<设备状态表>.Instance.GetFieldList("Credit"));//动态列表

                #endregion

                dlg.ConditionChanged += new FrmAdvanceSearch.ConditionChangedEventHandler(dlg_ConditionChanged);
            }
            dlg.ShowDialog();
        }
        private void btnAdvanceSearch_Click(object sender, EventArgs e)
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = BLLFactory <Weight> .Instance.GetFieldTypeList();

                dlg.ColumnNameAlias = BLLFactory <Weight> .Instance.GetColumnNameAlias();

                dlg.DisplayColumns = "CarNo,CardID,MZ_QTY,PZ_QTY,NET_QTY,MZ_BalanceNo,MZ_Time,MZ_Type,MZ_Operator,PZ_BalanceNo,PZ_Time,PZ_Type,PZ_Operator,PrintStatus,DataStatus,Remark,InsertTime";

                #region  拉列表数据

                //dlg.AddColumnListItem("UserType", Portal.gc.GetDictData("人员类型"));//字典列表
                //dlg.AddColumnListItem("Sex", "男,女");//固定列表
                //dlg.AddColumnListItem("Credit", BLLFactory<Weight>.Instance.GetFieldList("Credit"));//动态列表

                #endregion

                dlg.ConditionChanged += new FrmAdvanceSearch.ConditionChangedEventHandler(dlg_ConditionChanged);
            }
            dlg.ShowDialog();
        }
        private void btnAdvanceSearch_Click(object sender, EventArgs e)
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = BLLFactory <ProcCardEmployee> .Instance.GetFieldTypeList();

                dlg.ColumnNameAlias = BLLFactory <ProcCardEmployee> .Instance.GetColumnNameAlias();

                dlg.DisplayColumns = "TeamId,Name,Code";

                #region  拉列表数据

                //dlg.AddColumnListItem("UserType", Portal.gc.GetDictData("人员类型"));//字典列表
                //dlg.AddColumnListItem("Sex", "男,女");//固定列表
                //dlg.AddColumnListItem("Credit", BLLFactory<ProcCard_Employee>.Instance.GetFieldList("Credit"));//动态列表

                #endregion

                dlg.ConditionChanged += dlg_ConditionChanged;
            }
            dlg.ShowDialog();
        }
示例#7
0
        private void btnAdvanceSearch_Click(object sender, EventArgs e)
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = CallerFactory <IStaffService> .Instance.GetFieldTypeList();

                dlg.ColumnNameAlias = CallerFactory <IStaffService> .Instance.GetColumnNameAlias();

                dlg.DisplayColumns = "Id,Number,Name,Gender,Birthday,NativePlace,Nationality,IdentityCard,Phone,OfficePhone,Email,HomeAddress,Political,PartyDate,Education,Degree,WorkingDate,Marriage,ChildStatus,Titles,Duty,JobType,Introduce,Remark,AttachId,CompanyId,DepartmentId,PositionId,Creator,CreatorId,CreateTime,EditorId,Deleted,Enabled";

                #region  拉列表数据

                //dlg.AddColumnListItem("UserType", Portal.gc.GetDictData("人员类型"));//字典列表
                //dlg.AddColumnListItem("Sex", "男,女");//固定列表
                //dlg.AddColumnListItem("Credit", BLLFactory<Staff>.Instance.GetFieldList("Credit"));//动态列表

                #endregion

                dlg.ConditionChanged += new FrmAdvanceSearch.ConditionChangedEventHandler(dlg_ConditionChanged);
            }
            dlg.ShowDialog();
        }
示例#8
0
        private void btnAdvanceSearch_Click(object sender, EventArgs e)
        {
            if (dlg == null)
            {
                dlg = new FrmAdvanceSearch();
                dlg.FieldTypeTable = BLLFactory <Card> .Instance.GetFieldTypeList();

                dlg.ColumnNameAlias = BLLFactory <Card> .Instance.GetColumnNameAlias();

                dlg.DisplayColumns = "CardID,CarNo,Driver,TransportUnit,RegisterTime,ExpireTime,Operator,Goods,TelNo,InsertTime,DataStatus,Reamark";

                #region  拉列表数据

                //dlg.AddColumnListItem("UserType", Portal.gc.GetDictData("人员类型"));//字典列表
                //dlg.AddColumnListItem("Sex", "男,女");//固定列表
                //dlg.AddColumnListItem("Credit", BLLFactory<Card>.Instance.GetFieldList("Credit"));//动态列表

                #endregion

                dlg.ConditionChanged += new FrmAdvanceSearch.ConditionChangedEventHandler(dlg_ConditionChanged);
            }
            dlg.ShowDialog();
        }