入库明细拆分
铁心库打码
This commit is contained in:
1 parent
fa7b5814ba
commit
d19f62e48b
21 files changed
+513
-93
No files matched your search
@@ -404,6 +404,7 @@ namespace HHWMS.Web.Controllers
|
||||
return JsonMore(null);
|
||||
}
|
||||
}
|
||||
|
||||
[ActionDescription("Sys.CheckInv")]
|
||||
[FixConnection(CsName = "hangyong")]
|
||||
public ActionResult CheckInv(string id)
|
||||
@@ -411,6 +412,7 @@ namespace HHWMS.Web.Controllers
|
||||
var vm = Wtm.CreateVM<ShipmentDetail2VM>(id);
|
||||
return PartialView(vm);
|
||||
}
|
||||
|
||||
[ActionDescription("Sys.CheckInv")]
|
||||
[FixConnection(CsName = "hangyong")]
|
||||
public ActionResult CheckInvData(string str)
|
||||
@@ -427,11 +429,10 @@ namespace HHWMS.Web.Controllers
|
||||
|
||||
var WmsQty = _unitwork.Find<Inventory2>(x =>
|
||||
x.MaterialCode == ship.MaterialCode
|
||||
&& x.Batch == ship.Batch
|
||||
&& x.WarehouseId == int.Parse(warehouseId)
|
||||
).Sum(x => x.Qty);
|
||||
|
||||
var sql = @"select * from QREQ3.XWMSSTOHYB where 1=1";
|
||||
var sql = @"select * from QRE.XWMSSTOHYB where 1=1";
|
||||
sql += $" and LOC_0 = '{loc}' and ITMREF_0 = '{ship.MaterialCode}'";
|
||||
// and LOT_0 = '{ship.Batch}'
|
||||
var data = OracleHelper.GetDataSet(sql).Tables[0];
|
||||
|
||||
Reference in new issue
Block a user