|  |  |  | 
|---|
|  |  |  | StockId = stockInfo.Id, | 
|---|
|  |  |  | TaskNum = 0, | 
|---|
|  |  |  | OrderQuantity = outboundOrderDetail.OrderQuantity, | 
|---|
|  |  |  | Unit = outboundOrderDetail.Unit | 
|---|
|  |  |  | Unit = outboundOrderDetail.Unit, | 
|---|
|  |  |  | ProductionDate = stockInfoDetail.ProductionDate, | 
|---|
|  |  |  | EffectiveDate = stockInfoDetail.EffectiveDate | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #region ä¿®æ¹åºåºå | 
|---|
|  |  |  | 
|---|
|  |  |  | DelOutOrder(oldOutboundOrder); | 
|---|
|  |  |  | return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»åºä¿¡æ¯"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (materielInfo.WarehouseId!= materielInfo.WarehouseId) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | DelOutOrder(oldOutboundOrder); | 
|---|
|  |  |  | return WebResponseContent.Instance.Error($"ç©æ{materielInfo}ä¸å±äº{warehouse.WarehouseName}"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (model.Way == 1) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | if (oldOutboundOrder != null) | 
|---|