|  |  |  | 
|---|
|  |  |  | /// <param name="ProOutNo">åºåºè®¢åå·</param> | 
|---|
|  |  |  | /// <param name="StationCode">ç«å°å°å</param> | 
|---|
|  |  |  | /// <returns></returns> | 
|---|
|  |  |  | public async Task<WebResponseContent> OutProductTask(int[] keys, string StationCode, int Grade) | 
|---|
|  |  |  | public async Task<WebResponseContent> OutProductTask(int[] keys, string StationCode, int Grade,bool isFineWorks=false) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | WebResponseContent content = new WebResponseContent(); | 
|---|
|  |  |  | try | 
|---|
|  |  |  | 
|---|
|  |  |  | List<Dt_OutProStockInfo> outProStockInfos = new List<Dt_OutProStockInfo>(); | 
|---|
|  |  |  | List<Dt_LocationInfo> locationInfos = new List<Dt_LocationInfo>(); | 
|---|
|  |  |  | (List<Dt_Task>, List<Dt_ProStockInfo>?, List<Dt_ProOutOrderDetail>?, List<Dt_OutProStockInfo>?, List<Dt_LocationInfo>?) result = | 
|---|
|  |  |  | OutProductTaskDataHandle(_ProOutOrderDetails); | 
|---|
|  |  |  | OutProductTaskDataHandle(_ProOutOrderDetails, isFineWorks); | 
|---|
|  |  |  | if (result.Item2 != null && result.Item2.Count > 0) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | proStockInfos.AddRange(result.Item2); | 
|---|
|  |  |  | 
|---|
|  |  |  | /// å¤çæååºåºæ°æ® | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | /// <returns></returns> | 
|---|
|  |  |  | public (List<Dt_Task>, List<Dt_ProStockInfo>?, List<Dt_ProOutOrderDetail>?, List<Dt_OutProStockInfo>?, List<Dt_LocationInfo>?) OutProductTaskDataHandle(List<Dt_ProOutOrderDetail> proOutOrderDetails) | 
|---|
|  |  |  | public (List<Dt_Task>, List<Dt_ProStockInfo>?, List<Dt_ProOutOrderDetail>?, List<Dt_OutProStockInfo>?, List<Dt_LocationInfo>?) OutProductTaskDataHandle(List<Dt_ProOutOrderDetail> proOutOrderDetails, bool isFineWorks = false) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | List<Dt_Task> tasks = new List<Dt_Task>(); | 
|---|
|  |  |  | List<Dt_ProStockInfo> proStockInfos = new List<Dt_ProStockInfo>(); | 
|---|
|  |  |  | 
|---|
|  |  |  | List<Dt_OutProStockInfo> outProStockInfos=new List<Dt_OutProStockInfo>(); | 
|---|
|  |  |  | List<Dt_LocationInfo> locationInfos = new List<Dt_LocationInfo>(); | 
|---|
|  |  |  | //åé
åºå | 
|---|
|  |  |  | (List<Dt_ProStockInfo>, List<Dt_ProOutOrderDetail>, List<Dt_OutProStockInfo>, List<Dt_LocationInfo>) result = _outboundService.ProOutOrderDetailService.AssignProStockOut(proOutOrderDetails); | 
|---|
|  |  |  | (List<Dt_ProStockInfo>, List<Dt_ProOutOrderDetail>, List<Dt_OutProStockInfo>, List<Dt_LocationInfo>) result = _outboundService.ProOutOrderDetailService.AssignProStockOut(proOutOrderDetails, isFineWorks); | 
|---|
|  |  |  | if (result.Item1!=null&&result.Item1.Count>0) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | //è·åæåå | 
|---|