From 22f568fdffb143c60fa26285aa334f03afc255c0 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期三, 24 八月 2022 13:24:06 +0800
Subject: [PATCH] 新增WMS条码系统参数
---
Pub_Class/CustomerCls/ClsXt_SystemParameter.cs | 25 +++++++++++++++++++++++++
Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs | 9 +++++++--
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
index 83a5456..f948345 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
@@ -131,6 +131,10 @@
{
omodel.Sc_ICMOReportBill_UpdateSourceInterID = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Sc_ICMOReportBill_MESFlag")
+ {
+ omodel.Sc_ICMOReportBill_MESFlag = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//采购入库单
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBill_AutoCheck")
@@ -173,6 +177,10 @@
{
omodel.Kf_POStockInBill_SourceWHSPCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_POStockInBill_AutoBarCode")
+ {
+ omodel.Kf_POStockInBill_AutoBarCode = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//产品入库单
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_AutoCheck")
@@ -214,6 +222,10 @@
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_SourceWHSPCtl")
{
omodel.Kf_ProductInBill_SourceWHSPCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_ProductInBill_Display")
+ {
+ omodel.Kf_ProductInBill_Display = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
//其他入库单
@@ -433,6 +445,10 @@
{
omodel.Kf_SellOutBill_NoRefresh = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_SellOutBill_Display")
+ {
+ omodel.Kf_SellOutBill_Display = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//其他出库单
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_OtherOutBill_AutoCheck")
@@ -617,6 +633,10 @@
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBill_FIFOCtl")
{
omodel.Kf_MoveStockBill_FIFOCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBill_Display")
+ {
+ omodel.Kf_MoveStockBill_Display = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
//直接调拨单 校验
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "Kf_MoveStockBillCheck_MustQtyCtl")
@@ -1096,6 +1116,11 @@
{
omodel.WMS_OneScanMode = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
}
+ //扫码枪用户登入时判断用户对应组织权限控制,Y为控制
+ if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "WMS_UserByOrgRelation")
+ {
+ omodel.WMS_UserByOrgRelation = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]);
+ }
//是否启用器具管理(Y,N)
if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "WMS_MouldManagerCtl")
{
diff --git a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
index bcef5d2..1cefeaa 100644
--- a/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
+++ b/Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
@@ -20,6 +20,7 @@
public string Sc_ICMOReportBill_MaterWHSPCtl; //是否取物料默认仓库仓位('Y'为是)
public string Sc_ICMOReportBill_SourceWHSPCtl; //是否取源单中仓库仓位('Y'为是)
public string Sc_ICMOReportBill_UpdateSourceInterID; //上传后回填条码档案源单信息
+ public string Sc_ICMOReportBill_MESFlag; //生产汇报单同步MES标记,Y为同步
//采购入库
public string Kf_POStockInBill_AutoCheck; //是否自动审核
@@ -32,6 +33,7 @@
public string Kf_POStockInBill_MultilineCtl; //是否存在多行相同物料时自动拆分换行('Y'为自动拆分)
public string Kf_POStockInBill_MaterWHSPCtl; //是否取物料默认仓库仓位('Y'为是)
public string Kf_POStockInBill_SourceWHSPCtl; //是否取源单中仓库仓位('Y'为是)
+ public string Kf_POStockInBill_AutoBarCode; //免扫码模式,条码类型为非唯一条码,上传时自动生成条码扫码记录
//产品入库
public string Kf_ProductInBill_AutoCheck; //是否自动审核
@@ -44,6 +46,7 @@
public string Kf_ProductInBill_MultilineCtl; //是否存在多行相同物料时自动拆分换行('Y'为自动拆分)
public string Kf_ProductInBill_MaterWHSPCtl; //是否取物料默认仓库仓位('Y'为是)
public string Kf_ProductInBill_SourceWHSPCtl; //是否取源单中仓库仓位('Y'为是)
+ public string Kf_ProductInBill_Display; //扫描物料条码后是否自动刷新子表界面('Y'为是)
//其他入库
public string Kf_OtherInBill_AutoCheck; //是否自动审核
@@ -86,7 +89,7 @@
public string Kf_MateOutBill_FIFOList; //先进先出下架清单
public string Kf_MateOutBill_FIFOCtl; //先进先出控制
public string Kf_MateOutBill_SimpleMode; //简洁模式(不显示源单列表,只显示扫码记录,但后台仍控制)
- public string Kf_MateOutBill_AutoBarCode; //免扫码模式, 不需要扫码物料条码自动写入临时表(只支持品种码)
+ public string Kf_MateOutBill_AutoBarCode; //免扫码模式,条码类型为非唯一条码,上传时自动生成条码扫码记录
//生产领料 校验
public string Kf_MateOutBillCheck_MustQtyCtl; //校验数量控制
public string Kf_MateOutBillCheck_WHSPCtl; //校验-是否校对仓库仓位
@@ -106,6 +109,7 @@
public string Kf_SellOutBill_FIFOCtl; //先进先出控制
public string Kf_SellOutBill_AutoSavePOStockInBill; //同步生成采购入库单
public string Kf_SellOutBill_NoRefresh; //PDA不自动刷新
+ public string Kf_SellOutBill_Display; //扫描物料条码后是否自动刷新子表界面('Y'为是)
//其他出库
public string Kf_OtherOutBill_AutoCheck; //是否自动审核
@@ -159,6 +163,7 @@
public string Kf_MoveStockBill_SourceWHSPCtl; //是否取源单中仓库仓位('Y'为是)
public string Kf_MoveStockBill_FIFOList; //先进先出下架清单
public string Kf_MoveStockBill_FIFOCtl; //先进先出控制
+ public string Kf_MoveStockBill_Display; //扫描物料条码后是否自动刷新子表界面('Y'为是)
//直接调拨 校验
public string Kf_MoveStockBillCheck_MustQtyCtl; //校验数量控制
public string Kf_MoveStockBillCheck_WHSPCtl; //校验-是否校对仓库仓位
@@ -293,7 +298,7 @@
public string WMS_OneKeyMode; //一键扫码模式
public string WMS_BarCodeMustSameSourceBill; //条码必须同源单一致
public string WMS_OneScanMode; //一次扫码模式
-
+ public string WMS_UserByOrgRelation; //扫码枪用户登入时判断用户对应组织权限控制,Y为控制
public string WMS_MouldManagerCtl; //是否启用器具管理(Y,N)
--
Gitblit v1.9.1