| | |
| | | Task.Delay(100); |
| | | getPageList(1); |
| | | } |
| | | /// <summary> |
| | | /// 5表焦点时,重新读取12表 |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void GvMx1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e) |
| | | { |
| | | if (e.FocusedRowHandle >= 0) |
| | |
| | | return; |
| | | if (txt_fcheckResu.Text.Trim() == _strTag) |
| | | { |
| | | if (string.IsNullOrEmpty(txt_fngDesc.Text.Trim())) |
| | | if (string.IsNullOrEmpty(txt_fngDesc.TextTxt.Trim())) |
| | | { |
| | | MsgHelper.Warning("单据为不合格时,请填写异常备注说明!"); |
| | | return; |
| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | // _sbSqlWhere += " and isnull(fsubmit,0)=0"; |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | } |
| | | |
| | | } |
| | | /// <summary> |
| | | /// 读取实体 |
| | | /// </summary> |
| | | /// <param name="strGuid"></param> |
| | | /// <param name="guid5"></param> |
| | | private void getModel(string strGuid, string guid5) |
| | | { |
| | | bool isEdit = false; |
| | |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 禁用检验框+重新加载按钮 |
| | | /// </summary> |
| | | /// <param name="bl"></param> |
| | | private void setEable(bool bl) |
| | | { |
| | | txtJianYan.ReadOnly = !bl; |
| | |
| | | btnIpt.Text = (bl == true ? "录入样本" : "查看样本"); |
| | | } |
| | | |
| | | #region 打开父亲窗口委托 |
| | | #region 打开父亲窗口委托,查看异常报告 |
| | | public event EventHandler<UpdateParentEventArgs> ToUpdateParent; |
| | | private void BtnYcReport_Click(object sender, EventArgs e) |
| | | { |