电梯优化
This commit is contained in:
@@ -86,7 +86,7 @@ namespace Tnb.WarehouseMgr
|
||||
WmsRawmatTransferinstockD WmsRawmatTransferinstockD = await _db.Queryable<WmsRawmatTransferinstockD>().Where(it => input.BillId == it.id).FirstAsync();
|
||||
WmsRawmatTransferinstockH WmsRawmatTransferinstockH = await _db.Queryable<WmsRawmatTransferinstockH>().Where(it => WmsRawmatTransferinstockD.bill_id == it.id).FirstAsync();
|
||||
|
||||
if (WmsRawmatTransferinstockD.actual_qty == 0)
|
||||
if (WmsRawmatTransferinstockD.qty == 0)
|
||||
{
|
||||
throw new AppFriendlyException("到货数量为0,没有物料可以打印", 500);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user