bug
lu
2025-06-13 6beb321d3a6e9909d14a6e94d8e34195211201c5
DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.cs
@@ -320,7 +320,7 @@
                txt_depotId.Focus();
                return;
            }
            if (txt_returnType.SelectedIndex <= 0)
            if (txt_returnType.TextTxt.Length <= 0)
            {
                MsgHelper.Warning("请选择退料原因!");
                txt_returnType.Focus();
@@ -332,7 +332,7 @@
                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();
@@ -353,6 +353,12 @@
                    if (string.IsNullOrEmpty(_msl))
                    {
                        MsgHelper.ShowError("申请数量不能为空!");
                        return;
                    }
                    _msl = row["remark"].ToString();
                    if (string.IsNullOrEmpty(_msl))
                    {
                        MsgHelper.ShowError("申请备注不能为空!");
                        return;
                    }
                    _obj.list.Add(new
@@ -396,7 +402,7 @@
        /// <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