| | |
| | | { |
| | | allocateOrder.OrderType = 115; |
| | | } |
| | | else if (businessType == BusinessTypeEnum.æºä»è°æºä») |
| | | { |
| | | allocateOrder.OrderType = 117; |
| | | } |
| | | |
| | | foreach (var detailDto in model.Details) |
| | | { |
| | |
| | | BarcodeQty = barcodeDto.Qty, |
| | | BarcodeUnit = barcodeDto.Unit, |
| | | ValidDate = barcodeDto.validDate, |
| | | |
| | | BoxSN = barcodeDto.BoxSN |
| | | }; |
| | | allocateOrder.Details.Add(orderDetail); |
| | | } |
| | |
| | | MaterielCode = detailDto.MaterialCode, |
| | | LineNo = detailDto.LineNo, |
| | | OrderQuantity = detailDto.Qty, |
| | | Unit = detailDto.Unit |
| | | Unit = detailDto.Unit, |
| | | BarcodeUnit =detailDto.Unit, |
| | | BarcodeQty=detailDto.Qty, |
| | | |
| | | }; |
| | | allocateOrder.Details.Add(orderDetail); |