From fa61fd1b6e892f055656c3232e8cf643d3658002 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期五, 28 三月 2025 17:36:22 +0800 Subject: [PATCH] 项目费用分类 的基础资料编辑及列表 管径、管径材质 的 基础资料 项目费用 里 增加 项目费用分类和 金额HStdMoney 的字段 异常反馈验收单,班次开班单,员工技能矩阵,工序流转卡维护,设备开机单 :增加 系统参数(参考 开工单,采购订单,采购入库单 之类的 )保存后自动审核; 如果 系统参数 为 Y,则 自动审核; 如果否 则 不审核; --- WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs b/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs index 5073cc8..32e72ea 100644 --- a/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs +++ b/WebAPI/Controllers/SBGL/Sb_EquipBeginBillController.cs @@ -21,7 +21,7 @@ SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); public DAL.ClsSb_EquipBeginBillMain OBill = new DAL.ClsSb_EquipBeginBillMain(); public DAL.ClsSb_EquipBeginBillMain BillOld = new DAL.ClsSb_EquipBeginBillMain(); - + Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); //鑾峰彇绯荤粺鍙傛暟 #region 璁惧寮�鏈哄崟鍒楄〃 鏌ヨ [Route("Sb_EquipBeginBill/get锘縎b_EquipBeginBillMainList")] @@ -293,6 +293,31 @@ } if (bResult) { + //鑷姩瀹℃牳璁剧疆 + if (refSav == "Add") + { + objJsonResult.HInterID = oBill.omodel.HInterID.ToString(); //杩斿洖涓籌D + //绯荤粺鍙傛暟 鑷姩瀹℃牳 + string sReturn = ""; + if (oSystemParameter.ShowBill(ref sReturn) == true) + { + if (oSystemParameter.omodel.Sb_EquipBeginBill_AutoCheck == "Y") //绯荤粺鍙傛暟 鑷姩瀹℃牳 + { + objJsonResult.Verify = "Y"; + } + else + { + objJsonResult.Verify = "N"; + } + } + } + else + if (refSav == "Update") + { + objJsonResult.HInterID = oBill.omodel.HInterID.ToString(); //杩斿洖涓籌D + objJsonResult.Verify = "N"; + } + objJsonResult.code = "0"; objJsonResult.count = 1; objJsonResult.Message = "淇濆瓨鎴愬姛锛�"; @@ -498,7 +523,7 @@ objJsonResult.code = "0"; objJsonResult.count = 1; - objJsonResult.Message = "鎵ц鎴愬姛锛�"; + objJsonResult.Message = "瀹℃牳鎴愬姛锛�"; objJsonResult.data = null; return objJsonResult; ; @@ -507,7 +532,7 @@ { objJsonResult.code = "0"; objJsonResult.count = 0; - objJsonResult.Message = "鎵ц澶辫触锛�" + e.ToString(); + objJsonResult.Message = "瀹℃牳澶辫触锛�" + e.ToString(); objJsonResult.data = null; return objJsonResult; } -- Gitblit v1.9.1