代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using static System.Windows.Forms.VisualStyles.VisualStyleElement.StartPanel;
|
||||
|
||||
namespace FineUIPro.Web.HJGL.PreDesign
|
||||
{
|
||||
public partial class PackagingManageSelectStock : PageBase
|
||||
public partial class PackagingManageSelectStock : PageBase
|
||||
{
|
||||
public string PackagingManageId
|
||||
{
|
||||
@@ -38,15 +33,15 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
{
|
||||
Model.Tw_MaterialStockOutput table = new Model.Tw_MaterialStockOutput();
|
||||
table.PipeLineMatCode = txtMatCode.Text.Trim();
|
||||
table.WarehouseCode = "工厂预制";
|
||||
table.ProjectId = this.CurrUser.LoginProjectId;
|
||||
table.ProjectId = this.CurrUser.LoginProjectId;
|
||||
var tb = BLL.TwMaterialstockService.GetTw_MaterialStockByModle(table);
|
||||
|
||||
var inoutplandetail = (from x in Funs.DB.HJGL_PackagingManageDetail
|
||||
where x.PackagingManageId == PackagingManageId
|
||||
where x.PackagingManageId == PackagingManageId
|
||||
select x).ToList();
|
||||
var queryList = tb;
|
||||
// 优化 Linq 过滤条件,过滤已经进入包装的预制散件
|
||||
@@ -55,7 +50,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
from y in yy.DefaultIfEmpty()
|
||||
where y == null
|
||||
select x).ToList();
|
||||
Grid1.RecordCount = result.Count;
|
||||
Grid1.RecordCount = result.Count;
|
||||
Grid1.DataSource = result;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
@@ -84,11 +79,11 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
{
|
||||
foreach (var id in List_Id)
|
||||
{
|
||||
var StockModel = TwMaterialstockService.GetTw_MaterialStockById(id);
|
||||
var StockModel = TwMaterialstockService.GetTw_MaterialStockById(id);
|
||||
var model = new Model.HJGL_PackagingManageDetail()
|
||||
{
|
||||
Id = SQLHelper.GetNewID(),
|
||||
PackagingManageId = this.PackagingManageId,
|
||||
PackagingManageId = this.PackagingManageId,
|
||||
MaterialCode = StockModel.PipeLineMatCode,
|
||||
Number = 0,
|
||||
CreateTime = DateTime.Now,
|
||||
@@ -98,7 +93,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region GV 数据操作
|
||||
|
||||
Reference in New Issue
Block a user