|
|
@@ -51,7 +51,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
/// 分仓机具额度记录列表
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
- public JsonResult IndexData(StoreHouseAmountRecord data, string UserIdRealName, string UserIdMakerCode, string AmountTypeSelect, string OperateTypeSelect, string ChangeTypeSelect, int page = 1, int limit = 30)
|
|
|
+ public JsonResult IndexData(StoreHouseAmountRecord data, string UserIdRealName, string UserIdMakerCode, string AmountTypeSelect, string OperateTypeSelect, string ChangeTypeSelect, string PayModeSelect, int page = 1, int limit = 30)
|
|
|
{
|
|
|
|
|
|
Dictionary<string, string> Fields = new Dictionary<string, string>();
|
|
|
@@ -85,6 +85,11 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
condition += " and OperateType=" + OperateTypeSelect;
|
|
|
}
|
|
|
+ //额度类别
|
|
|
+ if (!string.IsNullOrEmpty(PayModeSelect))
|
|
|
+ {
|
|
|
+ condition += " and PayMode=" + PayModeSelect;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
Dictionary<string, object> obj = new AdminContentOther(_accessor.HttpContext, PublicFunction.MainTables).IndexData("StoreHouseAmountRecord", Fields, "Id desc", "0", page, limit, condition);
|
|
|
@@ -115,6 +120,11 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (OperateType == 1) dic["OperateType"] = "增加";
|
|
|
if (OperateType == 2) dic["OperateType"] = "减少";
|
|
|
if (OperateType == 0) dic["OperateType"] = "";
|
|
|
+ //额度类别
|
|
|
+ int PayMode = int.Parse(dic["PayMode"].ToString());
|
|
|
+ if (PayMode == 1) dic["PayMode"] = "支付宝";
|
|
|
+ if (PayMode == 3) dic["PayMode"] = "余额";
|
|
|
+ if (PayMode == 0) dic["PayMode"] = "";
|
|
|
|
|
|
}
|
|
|
return Json(obj);
|