| | |
| | | item.Unit = purchaseToStockResult.Unit; |
| | | item.OrderQuantity = purchaseToStockResult.Quantity; |
| | | } |
| | | |
| | | model.InboundOrderNo = CreateCodeByRule(nameof(RuleCodeEnum.InboundOrderRule)); |
| | | if (model .OrderType != InOrderTypeEnum.Allocat.ObjToInt()) |
| | | { |
| | | model.InboundOrderNo = CreateCodeByRule(nameof(RuleCodeEnum.InboundOrderRule)); |
| | | } |
| | | |
| | | Db.InsertNav(model).Include(x => x.Details).ExecuteCommand(); |
| | | } |
| | | return WebResponseContent.Instance.OK(); |
| | |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æä½è
")] |
| | | public string Operator { get; set; } |
| | | |
| | | |
| | | public decimal BarcodeQty { get; set; } |
| | | |
| | | public string BarcodeUnit { get; set; } |
| | | |
| | | [Navigate(NavigateType.OneToOne, nameof(StockInfo))]//ä¸å¯¹ä¸ SchoolIdæ¯StudentAç±»éé¢ç |
| | | public Dt_StockInfo StockInfo { get; set; } //ä¸è½èµå¼åªè½æ¯null |
| | | |