From ecc14634e70b5467e3805fe9560b3f6e9767449a Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期一, 13 五月 2024 17:32:15 +0800
Subject: [PATCH] 网页版 增加 防错验证检查表 单据编辑 以及 单据列表 模块; 选择 物料后, 根据物料找到 这个物料 对应的 产品防错验证清单, 并 带入 子表信息; 网页版 增加 产品防错验证清单 单据编辑 以及 单据列表 模块
---
WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs | 30 ++++++++++++++++++++----------
1 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs b/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
index a971c59..28a49b0 100644
--- a/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
+++ b/WebAPI/Controllers/XSGL/Xs_CusRatingChangeBillController.cs
@@ -37,14 +37,14 @@
{
List<object> columnNameList = new List<object>();
//鏌ョ湅鏉冮檺
- //if (!DBUtility.ClsPub.Security_Log("Gy_ProjectStage_Query", 1, false, user))
- //{
- // objJsonResult.code = "0";
- // objJsonResult.count = 0;
- // objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
- // objJsonResult.data = null;
- // return objJsonResult;
- //}
+ if (!DBUtility.ClsPub.Security_Log("Xs_CusRatingChangeBill_Query", 1, false, user))
+ {
+ objJsonResult.code = "0";
+ objJsonResult.count = 0;
+ objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒";
+ objJsonResult.data = null;
+ return objJsonResult;
+ }
if (sWhere == null || sWhere.Equals(""))
{
@@ -359,7 +359,7 @@
objJsonResult.code = "1";
objJsonResult.count = 1;
- objJsonResult.Message = "Sucess锛�";
+ objJsonResult.Message = "鎮ㄥ凡鍒犻櫎鍗曟嵁鍙蜂负" + BillOld.omodel.HBillNo + "鐨勪俊鐢ㄩ搴︾敵璇峰崟锛�";
objJsonResult.data = null;
return objJsonResult;
}
@@ -817,10 +817,20 @@
/// </summary>
[Route("Xs_CusRatingChangeBill/getCustomerBalance")]
[HttpGet]
- public object getCustomerBalance(Int64 HCusID)
+ public object getCustomerBalance(Int64 HCusID, string CurUserName)
{
try
{
+ //鏌ョ湅鏉冮檺
+ if (!DBUtility.ClsPub.Security_Log("Gy_Customer_Balance", 1, false, CurUserName))
+ {
+ objJsonResult.code = "0";
+ objJsonResult.count = 0;
+ objJsonResult.Message = "鏃犲鎴蜂綑棰濇煡鐪嬫潈闄愶紒";
+ objJsonResult.data = null;
+ return objJsonResult;
+ }
+
string sql = "exec h_p_Gy_Customer_CrediControl " + HCusID;
ds = oCN.RunProcReturn(sql, "h_p_Gy_Customer_CrediControl");
if(ds == null || ds.Tables[0].Rows.Count == 0)
--
Gitblit v1.9.1