From 566af70c34690318ff24fba021b22dd866494e63 Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期一, 15 五月 2023 12:23:20 +0800
Subject: [PATCH] 生产订单、工序流转卡增加系统参数:删除人必须是制单人
---
Pub_Class/CustomerCls/ClsXt_SystemParameter.cs | 8 ++++++++
Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
index b9eab62..517a814 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
@@ -2927,6 +2927,10 @@
{
omodel.Sc_ICMOBill_AutoProcExchBill = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Sc_ICMOBill_DeleterAndMakerMustSame")
+ {
+ omodel.Sc_ICMOBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//-==================工序流转卡
@@ -2935,6 +2939,10 @@
{
omodel.Sc_ProcessExchangeBill_AutoBarCode = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Sc_ProcessExchangeBill_DeleterAndMakerMustSame")
+ {
+ omodel.Sc_ProcessExchangeBill_DeleterAndMakerMustSame = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//-======工序进站接收单
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
index 88379eb..13f1efd 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
@@ -382,9 +382,11 @@
//生产订单
public string Sc_ICMOBill_AutoProcExchBill; //生产订单同步时自动生成流转卡
+ public string Sc_ICMOBill_DeleterAndMakerMustSame; //生产订单删除人必须是制单人
//工序流转卡
public string Sc_ProcessExchangeBill_AutoBarCode; //工序流转卡保存自动同步条码档案
+ public string Sc_ProcessExchangeBill_DeleterAndMakerMustSame; //工序流转卡删除人必须是制单人
//工序进站接收单
public string MES_StationInBill_FIFOCtl; //工站或工序先进先出(本生产资源 有单据没有出站则,不能进站其他单据)
--
Gitblit v1.9.1