This commit is contained in:
parent
9a4cdcc36a
commit
642bcf36e2
|
|
@ -123,7 +123,8 @@ namespace BLL
|
|||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
var ls = (from x in db.Weld_StockIn
|
||||
select new {
|
||||
select new
|
||||
{
|
||||
x.HeartNo,
|
||||
x.Warrantybook
|
||||
}).Distinct().ToList();
|
||||
|
|
@ -149,7 +150,7 @@ namespace BLL
|
|||
select new
|
||||
{
|
||||
x.Warrantybook,
|
||||
x.HeartNo,
|
||||
HeartNo = x.HeartNo + "," + x.StockInId,
|
||||
}).Distinct().ToList();
|
||||
ListItem[] lis = new ListItem[ls.Count()];
|
||||
for (int i = 0; i < ls.Count(); i++)
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ namespace FineUIPro.Web.HJGL.MaterialManage
|
|||
this.txtWeldType.Text = string.Empty;
|
||||
if (this.drpWarrantybook.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
this.txtHeartNo.Text = this.drpWarrantybook.SelectedValue;
|
||||
this.txtHeartNo.Text = this.drpWarrantybook.SelectedValue.Split(',')[0];
|
||||
Model.Weld_StockIn s = (from x in Funs.DB.Weld_StockIn where x.Warrantybook == this.drpWarrantybook.SelectedItem.Text.Trim() select x).FirstOrDefault();
|
||||
if (s != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue