| | |
| | | { |
| | | public partial class Frm_FqcDetect01 : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | string _strTag= "N:不合格"; |
| | | string _strTag = "N:不合格"; |
| | | string _webServiceName = "FqcManager/"; |
| | | List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | public Frm_FqcDetect01() |
| | |
| | | this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; |
| | | this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; |
| | | toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; |
| | | toolBarMenu1.btnJianYanClick += ToolBarMenu1_btnJianYanClick; |
| | | toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; |
| | | this.toolBarMenu1.getXmlConfig(); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); |
| | |
| | | toolBarMenu1.guidKey = rowGuid; |
| | | } |
| | | /// <summary> |
| | | ///提交检验事件 |
| | | ///审核事件 |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | /// <exception cref="NotImplementedException"></exception> |
| | | private void ToolBarMenu1_btnJianYanClick(object sender, EventArgs e) |
| | | private void ToolBarMenu1_btnChkClick(object sender, EventArgs e) |
| | | { |
| | | toolBarMenu1.guidKey = ""; |
| | | string rowGuid, rowName; |
| | |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); |
| | | this.ucUpFileList1.pGuid = ""; |
| | | this.ucChouJianList1.pGuid = ""; |
| | | this.setEable(false); |
| | | } |
| | | /// <summary> |
| | | /// 修改事件 |
| | |
| | | txt_msg.Focus(); |
| | | return; |
| | | } |
| | | |
| | | |
| | | if (txt_fngHandle.SelectedIndex <= 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("当不合格时,请选择处置结果!"); |
| | |
| | | /// <param name="curPage"></param> |
| | | private void getRptDefectLevel() |
| | | { |
| | | string _where = " and 1=1 and s_type='缺陷等级'"; |
| | | string _where = " and 1=1 and a.s_type='缺陷等级' and a.pid<>'00000000-0000-0000-0000-000000000000'"; |
| | | var pgq = new PageQueryModel(1, 999999, "a.defect_code", "asc", "", _where); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | var rowhandle = gvMx1.FocusedRowHandle; |
| | | if (rowhandle < 0) |
| | | return; |
| | | UcDictionarySelect frm = new UcDictionarySelect("缺陷描述", " s_type='FQC缺陷描述'"); |
| | | UcDictionarySelect frm = new UcDictionarySelect("异常描述", " a.s_type='QC异常描述' and a.pid<>'00000000-0000-0000-0000-000000000000'"); |
| | | frm.UpdateParent += (ss, ee) => |
| | | { |
| | | System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder(); |