lu
2025-03-19 77bb288cb1059a349bc38fb2255fcdfe2ddc3b32
DevApp/Gs.DevApp/DevFrm/Sales/Frm_SalesDeliver.cs
@@ -18,7 +18,6 @@
        List<FilterEntity> _filterList = new List<FilterEntity>();
        public Frm_SalesDeliver()
        {
            InitializeComponent();
            this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick;
            this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick;
@@ -266,6 +265,7 @@
                list = new List<dynamic>(),
            };
            gvMx1.CloseEditor();
            gvMx1.PostEditor();
            gvMx1.UpdateCurrentRow();
            if (gvMx1.DataRowCount <= 0)
            {
@@ -282,6 +282,11 @@
                    if (string.IsNullOrEmpty(_msl))
                    {
                        MsgHelper.ShowError("数量不能为空!");
                        return;
                    }
                    if (string.IsNullOrEmpty(row["YjfhDate"].ToString()))
                    {
                        MsgHelper.ShowError("预计发货时间不能为空!");
                        return;
                    }
                    _obj.list.Add(new
@@ -351,7 +356,7 @@
                    {
                        gcMain1.DataSource = dt;
                        gcMain1.ForceInitialize();
                        gridView1.BestFitColumns();
                        gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
                    }
                    else
                        UtilityHelper.SetDefaultTable(gcMain1, gridView1);
@@ -525,6 +530,7 @@
            gvMx1.SetFocusedRowCellValue("gyOrg", SelectedDataRow["gyOrg"].ToString());
            gvMx1.SetFocusedRowCellValue("kcOrg", SelectedDataRow["kcOrg"].ToString());
            gvMx1.CloseEditor();
            gvMx1.PostEditor();
            gvMx1.UpdateCurrentRow();
        }
@@ -568,7 +574,5 @@
                }
            }
        }
    }
}