From 990a4e89535330febe6254e23eb2fa68623c9054 Mon Sep 17 00:00:00 2001 From: cwjbxqmz <1134865194@qq.com> Date: 星期二, 24 十月 2023 16:57:51 +0800 Subject: [PATCH] 采购订单,收料通知单,退料通知单,采购入库单 :选择 物料后,带出对应的计量单位;并多选物料返回; 采购入库单 和 退料通知单 的 子表网格显示,完善软件 --- WebAPI/Controllers/SBGL/Gy_EquipTypeController.cs | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/WebAPI/Controllers/SBGL/Gy_EquipTypeController.cs b/WebAPI/Controllers/SBGL/Gy_EquipTypeController.cs index 5212abd..dab55bc 100644 --- a/WebAPI/Controllers/SBGL/Gy_EquipTypeController.cs +++ b/WebAPI/Controllers/SBGL/Gy_EquipTypeController.cs @@ -28,15 +28,14 @@ { try { - if (!DBUtility.ClsPub.Security_Log("Gy_EquipTypeList", 1, false, user)) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; - objJsonResult.data = null; - return objJsonResult; - } - + //if (!DBUtility.ClsPub.Security_Log("Gy_EquipTypeList", 1, false, user)) + //{ + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "鏃犳煡鐪嬫潈闄愶紒"; + // objJsonResult.data = null; + // return objJsonResult; + //} ds = oCN.RunProcReturn("select HItemID,HParentID,HNumber,HName,HLevel, case when HEndFlag<>0 then 'Y'else ' 'end HEndFlag,case when HStopFlag <> 0 then 'Y'else ' 'end HStopFlag, HRemark, HUseFlag from Gy_EquipFileType where 1=1 " + sWhere+ " order by HItemID ", "Gy_EquipFileType"); //if (ds.Tables[0].Rows.Count != 0 || ds != null) @@ -131,7 +130,7 @@ string msg1 = _value.ToString(); string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); string msg2 = sArray[0].ToString(); - string msg4 = sArray[2].ToString(); + string msg4 = sArray[1].ToString(); if (!DBUtility.ClsPub.Security_Log("Gy_EquipType_Edit", 1, false, msg4)) { -- Gitblit v1.9.1