This commit is contained in:
李鹏飞 2022-12-22 10:35:32 +08:00
commit aca0c3192b
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
{ {
var weldingRods = from x in Funs.DB.Base_Consumables where x.ConsumablesType == "2" select x; var weldingRods = from x in Funs.DB.Base_Consumables where x.ConsumablesType == "2" select x;
var weldingWires = from x in Funs.DB.Base_Consumables where x.ConsumablesType == "1" select x; var weldingWires = from x in Funs.DB.Base_Consumables where x.ConsumablesType == "1" select x;
for (int i = 0; i < Grid1.Rows.Count(); i++) foreach (var i in Grid1.SelectedRowIndexArray)
{ {
string weldTaskId = Grid1.DataKeys[i][0].ToString(); string weldTaskId = Grid1.DataKeys[i][0].ToString();
string jotId = Grid1.DataKeys[i][1].ToString(); string jotId = Grid1.DataKeys[i][1].ToString();