lu
2024-11-28 122819b5dd643d82a730e549f99bd56fe90eed21
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.cs
@@ -34,7 +34,7 @@
            gcMain.MouseDoubleClick += GcMain_MouseDoubleClick;
            gridView1.FocusedRowChanged += (s, e) =>
            {
                UtilityHelper.SetCheckIco(s, picCheckBox, this);
                UtilityHelper.SetCheckIco(s, picCheckBox, this, "checkStatus","");
            };
            gridView1.CustomDrawRowIndicator +=
                GridView1_CustomDrawRowIndicator;
@@ -161,7 +161,7 @@
        {
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_name, gridView1);
                lbGuid, txt_name, gridView1, "name");
            if (string.IsNullOrEmpty(rowGuid))
            {
                MsgHelper.Warning("请先选择你要操作的行!");
@@ -358,18 +358,18 @@
        private void getTree()
        {
            var pgq = new PageQueryModel(1, 999999, "workshop_no", "asc",
            var pgq = new PageQueryModel(1, 999999, "departmentid", "asc",
                "notree", " and is_Status=1");
            var json = JsonConvert.SerializeObject(pgq);
            try
            {
                var strReturn = UtilityHelper.HttpPost("",
                    "MesWorkshopManager/GetListPage", json);
                    "SysDepartmentManager/GetListPage", json);
                var dd = UtilityHelper.ReturnToTablePage(strReturn);
                var dt = dd.rtnData.list;
                txt_workshopNo.Properties.DataSource = dt;
                txt_workshopNo.Properties.DisplayMember = "name"; // 显示的列
                txt_workshopNo.Properties.ValueMember = "workshopNo"; // 实际值的列
                txt_workshopNo.Properties.DisplayMember = "departmentname"; // 显示的列
                txt_workshopNo.Properties.ValueMember = "guid"; // 实际值的列
                txt_workshopNo.Properties.TextEditStyle =
                    TextEditStyles.DisableTextEditor;
            }