diff --git a/KanBan/NFine.Application/SRM/WatchPanelApp.cs b/KanBan/NFine.Application/SRM/WatchPanelApp.cs index fca01e5..18418ae 100644 --- a/KanBan/NFine.Application/SRM/WatchPanelApp.cs +++ b/KanBan/NFine.Application/SRM/WatchPanelApp.cs @@ -230,23 +230,20 @@ and CreatedOn>CAST(CAST(GETDATE() as date) as varchar(10)) + ' 00:00:00' and st a.InvCode, c.LotNo, c.Quantity, - c.FromLocationCode, - d.LocationCode, - e.TaskCode + e.StartLocation, + e.EndLocation +-- e.TaskCode FROM ICSMOApply a - INNER JOIN ICSContainerReceiptsNumber b ON a.ApplyCode= b.TransCode - INNER JOIN ICSWareHouseLotInfoLog c ON c.TransCode= b.TransCode +-- INNER JOIN ICSContainerReceiptsNumber b ON a.ApplyCode= b.TransCode + INNER JOIN ICSWareHouseLotInfoLog c ON a.ApplyCode= c.TransCode AND + c.BusinessCode= '15' AND a.Sequence= c.TransSequence - INNER JOIN ICSContainer d ON d.ContainerCode= b.ContainerCode - AND d.WorkPoint= c.WorkPoint - INNER JOIN ICSAGVTaskLog e ON e.ContainerCode= d.ContainerCode - AND d.LocationCode= e.LocationCode - AND e.WorkPoint= d.WorkPoint + INNER JOIN ( SELECT DISTINCT e.StartLocation,e.EndLocation FROM + ICSForkLiftTaskLog e WHERE e.EndLocation is not null AND e.EndLocation!='' ) e ON c.FromLocationCode= e.StartLocation + WHERE - a.WorkPoint='{workpoint}' AND - c.BusinessCode= '15' - AND d.EATTRIBUTE1!= '已搬运'"; + a.WorkPoint='1701'"; //if (!string.IsNullOrWhiteSpace(StratTime)) //{ diff --git a/KanBan/NFine.Web/Areas/WMS/Views/WatchPanel/PanelWIP2.cshtml b/KanBan/NFine.Web/Areas/WMS/Views/WatchPanel/PanelWIP2.cshtml index 385e025..5257776 100644 --- a/KanBan/NFine.Web/Areas/WMS/Views/WatchPanel/PanelWIP2.cshtml +++ b/KanBan/NFine.Web/Areas/WMS/Views/WatchPanel/PanelWIP2.cshtml @@ -75,7 +75,7 @@ 条码应领数量 货位 出货点位 - WMS任务编号 + @*WMS任务编号*@ @*子件项数 完成项数*@ @@ -206,7 +206,7 @@ for (var i = 0; i < data.length; i++) { html += '
  • ' + data[i].ApplyCode + ' ' + data[i].Sequence + ' ' + data[i].SAPSequence + ''; html += ' ' + data[i].InvCode + ' ' + data[i].LotNo + ' ' + data[i].Quantity + ''; - html += ' ' + data[i].FromLocationCode + ' ' + data[i].LocationCode + ' ' + data[i].TaskCode + ''; + html += ' ' + data[i].FromLocationCode + ' ' + data[i].LocationCode + '';//' + data[i].TaskCode + ''; //html += ' ' + data[i].完成项数 + ''; } html += "";