|
|
@@ -131,7 +131,10 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
int StoreKind = int.Parse(dic["StoreKind"].ToString());
|
|
|
if (StoreKind == 0) dic["StoreKind"] = "分仓";
|
|
|
if (StoreKind == 1) dic["StoreKind"] = "总仓";
|
|
|
-
|
|
|
+ //小分仓
|
|
|
+ int Id = int.Parse(function.CheckInt(dic["Id"].ToString()));
|
|
|
+ int PreCount = db.PreSendStockDetail.Count(m => m.FromStoreId == Id && m.ApplyFlag == 0 && m.Status >= 0 && m.Status <= 1);
|
|
|
+ dic["PreNum"] = PreCount.ToString();
|
|
|
}
|
|
|
return Json(obj);
|
|
|
}
|