schangxiang@126.com
2025-09-04 e9269528ae01bc4572b68148b9c801b51f23b669
WMS/WMS/UI/SynthesizeQuery/FrmPVC.cs
@@ -67,7 +67,7 @@
                    if (res.dateAll == null)
                    {
                        ShowWarningTip(res.msg);
                        dataGridView1.DataSource = null;
                        dataGridView1.DataSource = new List<yunneiWCS.VproductStock>();//不能赋值为null,否则会导致UI崩溃 【Editby shaocx,2025-08-27】
                        return;
                    }
                    allData = res.dateAll.ToList();
@@ -98,13 +98,13 @@
                    toolStripLabel_dateTotal.Text = "总行数:0条  ";
                    toolStripLabel_quantity.Text = "物料总数:0件";
                    dataGridView1.DataSource = null;
                    dataGridView1.DataSource = new List<yunneiWCS.VproductStock>();
                    ShowWarningTip("获取数据为空 - 警告");
                }
            }
            catch (Exception ex)
            {
                dataGridView1.DataSource = null;
                dataGridView1.DataSource = new List<yunneiWCS.VproductStock>();
                ShowWarningTip("查询出错了 - 警告");
                WZ.Useful.Commons.LogTextHelper.WriteLine("FrmPVC", "btnFind_Click", ex.ToString());
@@ -198,7 +198,7 @@
                        ShowErrorTip("物料是空托盘,没有明细!");
                        return;
                    }
                    FrmPVClist listView = new FrmPVClist(ss, 1);
                    FrmPVClist listView = new FrmPVClist(ss, 1, 0);
                    listView.ShowDialog();
                }
                else if (dataGridView1.Columns[e.ColumnIndex].Name == "delete")