|
@@ -253,6 +253,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
|
|
|
//获取成本选中
|
|
|
var checkTopArr = _checkRep.GetCheckBoxsByDiid(grpCarOp.DiId);
|
|
|
+ var checkedItem = new List<string>();
|
|
|
if (checkTopArr.Count > 0)
|
|
|
{
|
|
|
var FindTop = checkTopArr.Find(x => x.CbType == "Top");
|
|
@@ -265,7 +266,10 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
if (find == null)
|
|
|
{
|
|
|
var Lindex = carTouristGuides.FindIndex(x=>x.SidName == soureKey);
|
|
|
- carTouristGuides.RemoveRange(Lindex , day + 1);
|
|
|
+ //carTouristGuides.RemoveRange(Lindex, day + 1);
|
|
|
+ } else
|
|
|
+ {
|
|
|
+ checkedItem.Add(soureKey);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -280,6 +284,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
|
|
|
start,
|
|
|
end,
|
|
|
ssdv,
|
|
|
+ checkedItem
|
|
|
};
|
|
|
|
|
|
return result = new Result() { Code = 0, Msg = "查询成功",Data=data };
|