移箱改箱增加订单号
This commit is contained in:
@@ -53,11 +53,11 @@ namespace WMS.Web.Repositories
|
||||
await _context.MoveBoxRecord.AddAsync(entity);
|
||||
await _context.SaveChangesAsync();
|
||||
|
||||
//if (string.IsNullOrEmpty(entity.OutSourcFeedNo))
|
||||
//{
|
||||
// entity.GenerateNo();
|
||||
// await _context.SaveChangesAsync();
|
||||
//}
|
||||
if (string.IsNullOrEmpty(entity.BillNo))
|
||||
{
|
||||
entity.GenerateNo();
|
||||
await _context.SaveChangesAsync();
|
||||
}
|
||||
|
||||
if (_transaction != null)
|
||||
_transaction.Commit();
|
||||
|
||||
Reference in New Issue
Block a user