Revert "bip采购到货更改到货交易类型"

This reverts commit 8d4f3ef3b1.
This commit is contained in:
2024-10-25 17:30:53 +08:00
parent 8d4f3ef3b1
commit 077aabeba5
4 changed files with 8 additions and 17 deletions

View File

@@ -2025,15 +2025,6 @@ namespace Tnb.ProductionMgr
PrdMo mo = await _db.Queryable<PrdMo>().SingleAsync(x => x.id == prdMoTask.mo_id);
#region
if (mo.mo_type == DictConst.PrdMoTypeZS)
{
var wmsDistaskHs = _db.Queryable<WmsDistaskH>().Where(r => r.startlocation_id == equip.downmat_location_id && r.biz_type == WmsWareHouseConst.BIZTYPE_WMSDELIVERY_ID && !r.act_start_date.HasValue);
if (wmsDistaskHs != null && wmsDistaskHs.Count() > 0)
throw Oops.Bah("请等待AGV配送完成后提报");
}
#endregion
bool changeBatchFlag = false;
int changeCountNumByDay = 0;
int changeCountNumByQty = 0;