From 804800bcefc56a4335ac76bfc41d0e644637a982 Mon Sep 17 00:00:00 2001
From: cwjbxqmz <1134865194@qq.com>
Date: 星期三, 01 十一月 2023 11:12:57 +0800
Subject: [PATCH] PDA新增条码查询模块;单据维护网格 增加 列次序可调整功能,列点击可排序功能 ;
---
WebAPI/Controllers/基础资料/基础资料/Gy_MaterTypeBillController.cs | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs" "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
index f9a2536..339ea43 100644
--- "a/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
+++ "b/WebAPI/Controllers/\345\237\272\347\241\200\350\265\204\346\226\231/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_MaterTypeBillController.cs"
@@ -362,21 +362,21 @@
///
/// </summary>
/// <param name="HInterID">鍗曟嵁ID</param>
- /// <param name="IsAudit">绂佺敤(0),鍙嶇鐢�(1)</param>
+ /// <param name="IsStop">绂佺敤(0),鍙嶇鐢�(1)</param>
/// <param name="CurUserName">瀹℃牳浜�</param>
/// <returns></returns>
[Route("Gy_MaterType/StopGy_MaterType")]
[HttpGet]
- public object StopGy_MaterType(int HInterID, int IsAudit, string CurUserName)
+ public object StopGy_MaterType(int HInterID, int IsStop, string CurUserName)
{
try
{
//瀹℃牳鏉冮檺
- if (!DBUtility.ClsPub.Security_Log_second("Gy_MaterType_Check", 1, false, CurUserName))
+ if (!DBUtility.ClsPub.Security_Log_second("Gy_MaterType_Stop", 1, false, CurUserName))
{
objJsonResult.code = "0";
objJsonResult.count = 0;
- objJsonResult.Message = "瀹℃牳澶辫触锛佹棤鏉冮檺锛�";
+ objJsonResult.Message = "绂佺敤澶辫触锛佹棤鏉冮檺锛�";
objJsonResult.data = null;
return objJsonResult;
}
@@ -384,7 +384,7 @@
var ds = oCN.RunProcReturn("select * from Gy_MaterType where HItemID=" + HInterID, "Gy_MaterType");
if (ds.Tables[0].Rows.Count > 0)
{
- if (IsAudit == 0) //绂佺敤鍒ゆ柇
+ if (IsStop == 0) //绂佺敤鍒ゆ柇
{
if (ds.Tables[0].Rows[0]["HStopEmp"].ToString() != "")
{
@@ -395,7 +395,7 @@
return objJsonResult;
}
}
- if (IsAudit == 1) //鍙嶇鐢ㄥ垽鏂�
+ if (IsStop == 1) //鍙嶇鐢ㄥ垽鏂�
{
if (ds.Tables[0].Rows[0]["HStopEmp"].ToString() == "")
{
@@ -418,7 +418,7 @@
oCN.BeginTran();
- if (IsAudit == 0) //绂佺敤鍒ゆ柇
+ if (IsStop == 0) //绂佺敤鍒ゆ柇
{
oCN.RunProc("update Gy_MaterType set HStopEmp='" + CurUserName + "',HStopTime=getdate(),HStopflag=1 where HItemID=" + HInterID);
@@ -427,7 +427,7 @@
objJsonResult.Message = "绂佺敤鎴愬姛";
objJsonResult.data = null;
}
- if (IsAudit == 1) //鍙嶇鐢ㄥ垽鏂�
+ if (IsStop == 1) //鍙嶇鐢ㄥ垽鏂�
{
oCN.RunProc("update Gy_MaterType set HStopEmp='',HStopTime=null,HStopflag=0 where HItemID=" + HInterID);
--
Gitblit v1.9.1