From 0184268eaf0b0cf6d1d4740e4a3443d274b81065 Mon Sep 17 00:00:00 2001
From: jingh <jingh@LAPTOP-I53VDLOO>
Date: 星期一, 08 十一月 2021 14:06:01 +0800
Subject: [PATCH] 新增系统参数
---
Pub_Class/CustomerCls/ClsXt_SystemParameter.cs | 10 +++++++++-
Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs | 21 +++++++++++++++++----
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
index 8699de8..1a8f780 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
@@ -127,6 +127,10 @@
{
omodel.Kf_POStockInBill_BillTypeOneScan = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBill_BarCodeMustSameSourceBill")
+ {
+ omodel.Kf_POStockInBill_BarCodeMustSameSourceBill = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//领料单
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateOutBill_AutoCheck")
{
@@ -205,7 +209,11 @@
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_BillTypeOneScan")
{
omodel.Kf_ProductInBill_BillTypeOneScan = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
- }
+ }
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_BarCodeMustSameSourceBill")
+ {
+ omodel.Kf_ProductInBill_BarCodeMustSameSourceBill = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//生产退库单
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBackBill_AutoCheck")
{
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
index def4b5d..d12b348 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
@@ -10,6 +10,7 @@
public string Kf_POStockInBill_AutoCheck;
public string Kf_POStockInBill_ERPMode;
public string Kf_POStockInBill_MustQtyCtl;
+ public string Kf_POStockInBill_BarCodeMustSameSourceBill; // 条码必须同源单一致(唯一码时:条码档案的源单主内码和子内码 ,必须和扫码入库时的源单主内码子内码一致)
public string Kf_POStockInBill_MulSourceBill; //多源单模式
public string Kf_POStockInBill_BillTypeOneScan;//本单据类型内只允许一次扫码(唯一码,含缓存列表)
//采购退料
@@ -39,7 +40,7 @@
public string Kf_ProductInBill_ERPMode;
public string Kf_ProductInBill_MustQtyCtl;
public string Kf_ProductInBill_MulSourceBill; //多源单模式
- public string Kf_ProductInBill_BarCodeMustSameSourceBill; // 条码必须同源单一致(扫码生成的汇报为源单时,必须扫码汇报单上扫码过的条码,否则报错)
+ public string Kf_ProductInBill_BarCodeMustSameSourceBill; // 条码必须同源单一致(唯一码时:条码档案的源单主内码和子内码 ,必须和扫码入库时的源单主内码子内码一致;扫码生成的汇报为源单时,必须扫码汇报单上扫码过的条码,否则报错)
public string Kf_ProductInBill_BillTypeOneScan;//本单据类型内只允许一次扫码(唯一码,含缓存列表)
//产品退库
public string Kf_ProductInBackBill_AutoCheck;
@@ -213,13 +214,14 @@
//质量汇报单
public string Sc_ICMOBillQualityStatus_AutoCheck; //自动审核
//上料防错单
- public string Sc_MaterToSourceBill_AutoCheck; //自动审核
+ public string Sc_MaterToSourceBill_AutoCheck; //自动审核
+ public string Sc_MaterToSourceBill_MouldLifeCtrl; //保存时器具寿命控制 (Y 控制, N 不控制 当器具预计寿命或者当前寿命不足时,不允许上料)
+ public string Sc_MaterToSourceBill_MouldLifeCtrlType; //保存时器具寿命控制类型 (Y 强制控制, N 仅提示)
//QMS
//首件检验单
- public string QC_FirstPieceCheckBill_AutoCheck; //自动审核
-
+ public string QC_FirstPieceCheckBill_AutoCheck; //自动审核
//工序进站接收单
public string MES_StationInBill_SaveAutoAddnew; //自动新增
//工序出站汇报单
@@ -229,6 +231,17 @@
//工序委外接收单
public string MES_StationEntrustOutBill_SaveAutoAddnew; //自动新增
+
+ //EAM
+
+ //器具领用出库单
+ public string Sc_MouldProdOutBill_AutoCheck; //自动审核
+ public string Sc_MouldProdOutBill_SaveAutoAddnew; //保存后自动新增
+ public string Sc_MouldProdOutBill_MouldLifeCtrl; //保存时器具寿命控制 (Y 控制, N 不控制 当器具预计寿命或者当前寿命不足时,不允许领用)
+ public string Sc_MouldProdOutBill_MouldLifeCtrlType; //保存时器具寿命控制类型 (Y 强制控制, N 仅提示)
+
+
+
}
}
--
Gitblit v1.9.1