|
|
@@ -642,6 +642,8 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (BrandId == 7) FromStoreId = 1047;
|
|
|
if (BrandId == 8) FromStoreId = 4831;
|
|
|
if (BrandId == 9) FromStoreId = 4832;
|
|
|
+ if (BrandId == 10) FromStoreId = 5512;
|
|
|
+ if (BrandId == 11) FromStoreId = 5513;
|
|
|
CheckSendInfo items = checksendInfos.FirstOrDefault(m => m.BrandId == BrandId);
|
|
|
if (items == null)
|
|
|
{
|
|
|
@@ -670,6 +672,8 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (BrandIds == 7) FromStoreId = 1047;
|
|
|
if (BrandIds == 8) FromStoreId = 4831;
|
|
|
if (BrandIds == 9) FromStoreId = 4832;
|
|
|
+ if (BrandId == 10) FromStoreId = 5512;
|
|
|
+ if (BrandId == 11) FromStoreId = 5513;
|
|
|
var brandInfo = db.KqProducts.FirstOrDefault(m => m.Id == BrandIds);
|
|
|
CheckSendInfo items = checksendInfos.FirstOrDefault(m => m.BrandId == BrandIds) ?? new CheckSendInfo();
|
|
|
if (items.Num > num)
|
|
|
@@ -699,6 +703,8 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (BrandId == 7) FromStoreId = 1047;
|
|
|
if (BrandId == 8) FromStoreId = 4831;
|
|
|
if (BrandId == 9) FromStoreId = 4832;
|
|
|
+ if (BrandId == 10) FromStoreId = 5512;
|
|
|
+ if (BrandId == 11) FromStoreId = 5513;
|
|
|
Models.MachineForSnNo posInfo = db.MachineForSnNo.FirstOrDefault(m => m.SnNo == SnNo) ?? new Models.MachineForSnNo();
|
|
|
var pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == posInfo.SnId && m.StoreId == FromStoreId && m.UserId == 0 && m.BuyUserId == 0 && m.PreUserId == 0) ?? new Models.PosMachinesTwo();
|
|
|
if (posInfo.SnId > 0)
|
|
|
@@ -760,6 +766,8 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (BrandId == 7) FromStoreId = 1047;
|
|
|
if (BrandId == 8) FromStoreId = 4831;
|
|
|
if (BrandId == 9) FromStoreId = 4832;
|
|
|
+ if (BrandId == 10) FromStoreId = 5512;
|
|
|
+ if (BrandId == 11) FromStoreId = 5513;
|
|
|
tostore = db.StoreHouse.FirstOrDefault(m => m.Sort > 0 && m.UserId == apply.UserId && m.BrandId == BrandId.ToString() && m.Status == 1);
|
|
|
SendInfo item = sendInfos.FirstOrDefault(m => m.FromStoreId == FromStoreId && m.ToStoreId == tostore.Id && m.BrandId == BrandId);
|
|
|
if (item == null)
|