Browse Source

修改非生产领料申请

dev_DY_CC
郑勃旭 6 months ago
parent
commit
535b6ffcb7
  1. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/UnplannedIssueRequests/UnplannedIssueRequestForDongyangAppService.cs
  2. 8
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Requests/UnplannedIssueRequestEventHandler.cs

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/UnplannedIssueRequests/UnplannedIssueRequestForDongyangAppService.cs

@ -266,7 +266,7 @@ public class UnplannedIssueRequestForDongyangAppService : UnplannedIssueRequestA
request.SetId(GuidGenerator.Create()); request.SetId(GuidGenerator.Create());
request.AutoCompleteJob = false; request.AutoCompleteJob = false;
request.AutoSubmit = isAutoSubmit; request.AutoSubmit = isAutoSubmit;
request.AutoAgree = false; request.AutoAgree = true;
request.AutoHandle = true; request.AutoHandle = true;
request.DirectCreateNote = false; request.DirectCreateNote = false;
request.DeptCode = first.DeptCode; request.DeptCode = first.DeptCode;

8
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Event/Requests/UnplannedIssueRequestEventHandler.cs

@ -46,10 +46,10 @@ public class UnplannedIssueRequestEventHandler
public async Task HandleEventAsync(SfsCreatedEntityEventData<UnplannedIssueRequest> eventData) public async Task HandleEventAsync(SfsCreatedEntityEventData<UnplannedIssueRequest> eventData)
{ {
var entity = eventData.Entity; var entity = eventData.Entity;
if (entity.UnplannedIssueType == EnumUnplannedIssueType.Raw) //if (entity.UnplannedIssueType == EnumUnplannedIssueType.Raw)
{ //{
await AddExpectOutsAsync(entity).ConfigureAwait(false); // await AddExpectOutsAsync(entity).ConfigureAwait(false);
} //}
//if (entity.AutoSubmit) //if (entity.AutoSubmit)
//{ //{
// await _unplannedIssueRequestManager.SubmitAsync(entity).ConfigureAwait(false); // await _unplannedIssueRequestManager.SubmitAsync(entity).ConfigureAwait(false);

Loading…
Cancel
Save