| | |
| | | txt_depotId.Focus(); |
| | | return; |
| | | } |
| | | if (txt_returnType.SelectedIndex <= 0) |
| | | if (txt_returnType.TextTxt.Length <= 0) |
| | | { |
| | | MsgHelper.Warning("请选择退料原因!"); |
| | | txt_returnType.Focus(); |
| | |
| | | OrgId = txt_thOrgId.GetId(),//选择组织 |
| | | Remark = txt_remark.Text.Trim(), //备注 |
| | | DepotId = int.Parse(_ckId),//仓库 |
| | | Reason = txt_returnType.Text,//退料原因 |
| | | Reason = txt_returnType.TextTxt,//退料原因 |
| | | list = new List<dynamic>(), |
| | | }; |
| | | gvMx1.CloseEditor(); |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "BILL_NO", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |