lu
2024-12-04 4fff01dd8941f97005cfffbcbfdd83e60b1c543d
DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_MesInvItemArn.cs
@@ -53,16 +53,14 @@
                e.Graphics.DrawString(str, f, Brushes.Gray, r);
            };
            //设置仓库选择
            this.txt_depotsId.KeyFile = "depotId";
            this.txt_depotsId.EditChanged += (s, e) =>
            {
                txtDepotsId.Text = this.txt_depotsId.GetId();
                txtDepotsCode.Text = this.txt_depotsId.GetCode();
            };
            //设置供应商选择
            this.txt_suppId.KeyFile = "id";
            this.txt_suppId.EditChanged += (s, e) =>
            {
                txtSupplierId.Text = this.txt_suppId.GetId();
                txtSupplierCode.Text = this.txt_suppId.GetCode();
            };
            //选择需要入库的明细
            btnSelect.Click += (s, e) =>
@@ -451,7 +449,7 @@
                    _obj.list.Add(new MesInvItemArnDetail
                    {
                        Guid = _guid,
                        AboutGuid = Guid.Parse(row["aboutGuid"].ToString()),
                        AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()),
                        ItemId = int.Parse(row["itemId"].ToString()),
                        Quantity = decimal.Parse(row["quantity"].ToString())
                    });
@@ -505,7 +503,6 @@
                pageBar1.TotalPages = dddd;
                pageBar1.RecordCount = dd.rtnData.total; //记录总数
                pageBar1.CurrentPage = curPage; //当前页
                pageBar1.RowsCount = pageSize; //每页显示
                pageBar1.setTxt();
            }
            catch (Exception ex)
@@ -617,5 +614,7 @@
                }
            }
        }
    }
}