@@ -266,6 +266,10 @@ namespace MySystem.Areas.Admin.Controllers
{
dic["TopUserInfo"] = "";
}
+
+ //可用库存
+ int AvailableNum = int.Parse(function.CheckInt(dic["LaveNum"].ToString())) - int.Parse(function.CheckInt(dic["ApplyNum"].ToString()));
+ dic["AvailableNum"] = AvailableNum.ToString();
return Json(obj);
@@ -232,6 +232,16 @@ layui.config({
width: 120,
title: '剩余库存数',
sort: true
+ }, {
+ field: 'ApplyNum',
+ width: 120,
+ title: '未发货订单数',
+ sort: true
+ field: 'AvailableNum',
+ title: '可用库存数',
}, {
field: 'PreNum',