材料入库导入增加序号
This commit is contained in:
@@ -80,6 +80,7 @@ namespace FineUIPro.Web.CLGL
|
||||
{
|
||||
Model.Tw_InOutDetailOutput table = new Model.Tw_InOutDetailOutput();
|
||||
table.InOutPlanMasterId = inOutPlanMasterId;
|
||||
table.MaterialCode = txtMaterialCode.Text;
|
||||
var tb = BLL.TwInOutplandetailService.GetListData(table, Grid2);
|
||||
Grid2.DataSource = tb;
|
||||
Grid2.DataBind();
|
||||
@@ -329,7 +330,6 @@ namespace FineUIPro.Web.CLGL
|
||||
this.btnMenuEdit.Hidden = false;
|
||||
this.btnGenInMaster.Hidden = false;
|
||||
this.btnRevokeGenInMaster.Hidden = false;
|
||||
this.btnPassMaster.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||
{
|
||||
@@ -438,8 +438,8 @@ namespace FineUIPro.Web.CLGL
|
||||
AuditDate = string.Format("{0:yyyy-MM-dd}", result.AuditDate),
|
||||
AuditManName2 = !string.IsNullOrEmpty(result.AuditMan2) ? BLL.Person_PersonsService.getSignatureUrl(result.AuditMan2) : "",
|
||||
AuditDate2 = string.Format("{0:yyyy-MM-dd}", result.AuditDate2),
|
||||
WarehouseManName = !string.IsNullOrEmpty(result.WarehouseMan) ? BLL.Person_PersonsService.getSignatureUrl(result.WarehouseMan) : "",
|
||||
WarehouseManAuditDate = string.Format("{0:yyyy-MM-dd}", result.WarehouseDate),
|
||||
WarehouseManName = !string.IsNullOrEmpty(result.CreateManName) ? BLL.Person_PersonsService.getSignatureUrl(result.CreateManName) : "",
|
||||
WarehouseManAuditDate = string.Format("{0:yyyy-MM-dd}", result.CreateDate),
|
||||
};
|
||||
tw_PrintMasters.Add(printMaster);
|
||||
// orderApproveIn.ProjectManager = !string.IsNullOrEmpty(approveManModels.InputApproveMan.ProjectManager) ? BLL.Person_PersonsService.getSignatureUrl(approveManModels.InputApproveMan.ProjectManager) : "";
|
||||
@@ -479,6 +479,7 @@ namespace FineUIPro.Web.CLGL
|
||||
var tw_PrintDetail = ( from x in Funs.DB.Tw_InOutPlanDetail
|
||||
join y in Funs.DB.HJGL_MaterialCodeLib on x.MaterialCode equals y.MaterialCode
|
||||
where x.InOutPlanMasterId==Id
|
||||
orderby x.SortIndex
|
||||
select new Model.Tw_PrintDetail
|
||||
{
|
||||
SortIndex =0,
|
||||
@@ -518,5 +519,9 @@ namespace FineUIPro.Web.CLGL
|
||||
}
|
||||
}
|
||||
|
||||
protected void txtMaterialCode_OnTextChanged(object sender, EventArgs e)
|
||||
{
|
||||
BindDetailGrid(Grid1.SelectedRowID);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user