From 74df9dfff2c73f969626a4cdcbbc27fdcb421107 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期四, 21 四月 2022 11:09:21 +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 53e96b7..4a18d08 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
@@ -164,6 +164,10 @@
                     {
                         omodel.Kf_MateOutBill_SimpleMode = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateOutBillCheck_MustQtyCtl")
+                    {
+                        omodel.Kf_MateOutBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
                     //生产退料单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateOutBackBill_AutoCheck")
                     {
@@ -440,6 +444,10 @@
                     {
                         omodel.Kf_MoveStockBill_BillTypeOneScan = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
                     }
+                    if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBillCheck_MustQtyCtl")
+                    {
+                        omodel.Kf_MoveStockBillCheck_MustQtyCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+                    }
                     //补料单
                     if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MateReplenishOutBill_AutoCheck")
                     {
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
index c7e69f1..4d9f633 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
@@ -28,6 +28,7 @@
         public string Kf_MateOutBill_MulSourceBill;   //多源单模式
         public string Kf_MateOutBill_SimpleMode;   //简洁模式(不显示源单列表,只显示扫码记录,但后台仍控制)
         public string Kf_MateOutBill_BillTypeOneScan;//本单据类型内只允许一次扫码(唯一码,含缓存列表)
+        public string Kf_MateOutBillCheck_MustQtyCtl;   //校验数量控制
         //生产退料
         public string Kf_MateOutBackBill_AutoCheck;
         public string Kf_MateOutBackBill_ERPMode;
@@ -110,6 +111,7 @@
         public string Kf_MoveStockBill_MulSourceBill; //多源单模式
         public string Kf_MoveStockBill_BarCodeMustSameSourceBill;   // 条码必须同源单一致
         public string Kf_MoveStockBill_BillTypeOneScan;//本单据类型内只允许一次扫码(唯一码,含缓存列表)
+        public string Kf_MoveStockBillCheck_MustQtyCtl;   //校验数量控制
         //补料单
         public string Kf_MateReplenishOutBill_AutoCheck;
         public string Kf_MateReplenishOutBill_ERPMode;

--
Gitblit v1.9.1