| | |
| | | txt_qt009.Focus(); |
| | | return; |
| | | } |
| | | //if (string.IsNullOrEmpty(kcCk)) |
| | | //{ |
| | | // Gs.DevApp.ToolBox.MsgHelper.Warning("请选择收料仓库!"); |
| | | // txt_qt008.Focus(); |
| | | // return; |
| | | //} |
| | | if (string.IsNullOrEmpty(kcCk)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择收料仓库!\n如果不是【报废仓】!\nQC可以重新设置仓库!"); |
| | | txt_qt008.Focus(); |
| | | return; |
| | | } |
| | | var _obj = new |
| | | { |
| | | guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //主建 |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | gcMain1.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null; |
| | | System.Text.StringBuilder _sbSqlWhere = new System.Text.StringBuilder(); |
| | | _sbSqlWhere.Append(" and a.qt022 in"); |
| | | _sbSqlWhere.Append(ToolBox.UtilityHelper.GetOrgWhere()); |
| | | _sbSqlWhere.Append(UtilityHelper.GetSearchWhere(_filterList)); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "qt001", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |