From aa92c97c1c87db25ba22fdaf0f6d398e2a2e67df Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期五, 18 十月 2024 15:02:39 +0800 Subject: [PATCH] 添加工艺路线系统参数,是否启用多级审批 --- Pub_Class/CustomerCls/ClsXt_SystemParameter.cs | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs index b6f478a..b0a9f09 100644 --- a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs +++ b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs @@ -1732,6 +1732,11 @@ { omodel.Gy_RoutingBill_SaveAutoLastProc = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } + //工艺路线是否启用多级审批,启用多级审批要求普通审批不启用 + if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Gy_RoutingBill_EnableMultiLevel") + { + omodel.Gy_RoutingBill_EnableMultiLevel = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); + } //=======JIT @@ -3857,8 +3862,12 @@ { omodel.Gy_RoutingBill_SaveAutoLastProc = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } + //工艺路线是否启用多级审批,启用多级审批要求普通审批不启用 + if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Gy_RoutingBill_EnableMultiLevel") + { + omodel.Gy_RoutingBill_EnableMultiLevel = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); + } - -- Gitblit v1.9.1