|
|
@@ -287,7 +287,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
int id = int.Parse(subid);
|
|
|
Dictionary<string, object> Fields = new Dictionary<string, object>();
|
|
|
- Fields.Add("Status", 0);
|
|
|
+ Fields.Add("Status", 2);
|
|
|
new AdminContent(_accessor.HttpContext, PublicFunction.MainTables).Edit("StoreMachineApply", Fields, id);
|
|
|
}
|
|
|
db.SaveChanges();
|
|
|
@@ -406,6 +406,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
+
|
|
|
#region 审核发货
|
|
|
|
|
|
public IActionResult AuditSend(string right, int Id = 0)
|
|
|
@@ -488,7 +489,6 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
string OutNote = itemJson.Contains("\"D\"") ? dr["D"].ToString() : "";
|
|
|
|
|
|
BrandId = Convert.ToInt32(Brand);
|
|
|
- // PosMachinesTwo posMachinesTwo = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == SnNo && m.StoreId == FromStoreId);
|
|
|
|
|
|
if (BrandId == 1) FromStoreId = 7;
|
|
|
if (BrandId == 2) FromStoreId = 721;
|
|
|
@@ -585,6 +585,10 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
machine.StoreId = tostore.Id;
|
|
|
machine.UpdateDate = DateTime.Now;
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return "总仓无该机具";
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
//判断发货数和申请数
|