Pub_Class/CustomerCls/ClsXt_SystemParameter.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Pub_Class/CustomerCls/ClsXt_SystemParameter.cs
@@ -1313,7 +1313,19 @@ { omodel.MES_StationInBill_LineBindCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //进站接收单是否自动匹配对应流水号 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationInBill_AutoFindSNO") { omodel.MES_StationInBill_AutoFindSNO = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //进站接收单只显示用户对应工序 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationInBill_ShowUSERProcess") { omodel.MES_StationInBill_ShowUSERProcess = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //===============出站单 //出站数量不能大于本道进站汇总数 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_QtyCtl") @@ -1330,6 +1342,39 @@ { omodel.MES_StationOutBill_DeleteCtl = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //首道工序出站后自动生成ERP生产汇报单 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_FstAutoICMOReport") { omodel.MES_StationOutBill_FstAutoICMOReport = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //末道工序出站后自动生成ERP生产汇报单 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_LastAutoICMOReport") { omodel.MES_StationOutBill_LastAutoICMOReport = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //末道工序出站后自动生成ERP生产入库单 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_AutoStockIn") { omodel.MES_StationOutBill_AutoStockIn = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //末道工序自动入库时仓库取值类型(物料、工序、工艺路线) if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_InStockType") { omodel.MES_StationOutBill_InStockType = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //出站汇报单是否自动匹配对应流水号 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_AutoFindSNO") { omodel.MES_StationOutBill_AutoFindSNO = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //出站汇报单只显示用户对应工序 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationOutBill_ShowUSERProcess") { omodel.MES_StationOutBill_ShowUSERProcess = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //=====不良评审单 //不良品数不能大于出站单报废数量 @@ -1494,19 +1539,19 @@ omodel.Sc_MESProceReportWorkBill_AutoCheck = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } //=========工序进站单 //自动匹配流水号 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationBill_ProcNo") { omodel.MES_StationBill_ProcNo = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } ////=========工序进站单 ////自动匹配流水号 //if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationBill_ProcNo") //{ // omodel.MES_StationBill_ProcNo = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); //} //=========工序进出站 //只显示用户对应工序 if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationBill_ProcNoByUser") { omodel.MES_StationBill_ProcNoByUser = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); } ////=========工序进出站 ////只显示用户对应工序 //if (ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HKey"]) == "MES_StationBill_ProcNoByUser") //{ // omodel.MES_StationBill_ProcNoByUser = ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HValue"]); //} } sReturn = "显示单据成功!"; return true; Pub_Class/CustomerCls/ClsXt_SystemParameterMain.cs
@@ -21,6 +21,7 @@ public string Sc_ICMOReportBill_SourceWHSPCtl; //是否取源单中仓库仓位('Y'为是) public string Sc_ICMOReportBill_UpdateSourceInterID; //上传后回填条码档案源单信息 public string Sc_ICMOReportBill_MESFlag; //生产汇报单同步MES标记,Y为同步 public string Sc_ICMOReportBill_FirstCheckOut; //必须首件检验通过才能保存单据 //收料通知单(送货单、到货确认) public string Cg_POInStockBill_AutoCheck; //是否自动审核 @@ -346,7 +347,7 @@ public string BarCode_UpdatePrintQtyCtl;//条码打印次数更新(打印条码时,是否更新条码打印次数,Y 更新) //进站单 //工序进站接收单 public string MES_StationInBill_FIFOCtl; //工站或工序先进先出(本生产资源 有单据没有出站则,不能进站其他单据) public string MES_StationInBill_FullMoveCtl; //上道完全出站控制(本道进站时,上道的报废+合格必须等于上道进站数量 public string MES_StationInBill_QtyCtl; //进站数量不能大于上道出站汇总合格数 @@ -355,28 +356,38 @@ public string MES_StationInBill_ProcessCheckCtl; //进站单当前工序的上道工序是否做工序检验 public string MES_StationInBill_DeleteCtl; //删除单据时制单人与删除人必须一致 public string MES_StationInBill_LineBindCtl; //进站接收时是否绑定该工序的配件清单 //出站单 public string MES_StationInBill_AutoFindSNO; //进站接收单是否自动匹配对应流水号 public string MES_StationInBill_ShowUSERProcess; //进站接收单只显示用户对应工序 public string MES_StationInBill_SaveAutoAddnew; //保存后变为新增状态 //工序出站汇报单 public string MES_StationOutBill_QtyCtl; //出站数量不能大于本道进站汇总数 public string MES_StationOutBill_ProcessCheckOut; //必须工序检验通过才能保存单据 public string MES_StationOutBill_FirstCheckOut; //出战单判断本道工序是否做首件检验 public string MES_StationOutBill_DeleteCtl; //删除单据时制单人与删除人必须一致 public string MES_StationOutBill_FstAutoICMOReport; //首道工序出站后自动生成ERP生产汇报单 public string MES_StationOutBill_LastAutoICMOReport; //末道工序出站后自动生成ERP生产汇报单 public string MES_StationOutBill_AutoStockIn; //末道工序出站后自动生成ERP生产入库单 public string MES_StationOutBill_InStockType; //末道工序自动入库时仓库取值类型(物料、工序、工艺路线) public string MES_StationOutBill_AutoFindSNO; //出站汇报单是否自动匹配对应流水号 public string MES_StationOutBill_ShowUSERProcess; //出站汇报单只显示用户对应工序 public string MES_StationOutBill_SaveAutoAddnew; //保存后变为新增状态 //不良品评审单 public string QC_NoPassProdCheckBill_QtyCtl; //不良品数不能大于出站单报废数量 public string QC_NoPassProdCheckBill_BadReasonQtyCtrl; //不良品评审单不良数量和不良原因总数必须一致 public string QC_NoPassProdCheckBill_DeleteCtl; //删除单据时制单人与删除人必须一致 //委外发出 //工序委外发出单 public string MES_StationEntrustInBill_FIFOCtl; //工站或工序先进先出(同上) public string MES_StationEntrustInBill_FullMoveCtl; //上道完全出站控制(同上) public string MES_StationEntrustInBill_QtyCtl; //进站数量不能大于上道出站汇总合格数(同上) public string MES_StationEntrustInBill_OneCtl; //一张流转卡只允许一次委外发出 public string MES_StationEntrustInBill_DeleteCtl; //删除单据时制单人与删除人必须一致 //委外接收 public string MES_StationEntrustInBill_SaveAutoAddnew; //保存后变为新增状态 //工序委外接收单 public string MES_StationEntrustOutBill_QtyCtl; //出站数量不能大于本道进站汇总数 public string MES_StationEntrustOutBill_DeleteCtl; //删除单据时制单人与删除人必须一致 public string MES_StationEntrustOutBill_SaveAutoAddnew; //保存后变为新增状态 //生产汇报单 public string Sc_ICMOReportBill_FirstCheckOut; //必须首件检验通过才能保存单据 public string MES_StationOutBill_InStockType; //工序末道入库仓库取值类型 //JIT @@ -405,15 +416,8 @@ //QMS //首件检验单 public string QC_FirstPieceCheckBill_AutoCheck; //自动审核 //工序进站接收单 public string MES_StationInBill_SaveAutoAddnew; //自动新增 //工序出站汇报单 public string MES_StationOutBill_SaveAutoAddnew; //自动新增 //工序委外发出单 public string MES_StationEntrustInBill_SaveAutoAddnew; //自动新增 //工序委外接收单 public string MES_StationEntrustOutBill_SaveAutoAddnew; //自动新增 public string QC_FirstPieceCheckBill_AutoCheck; //保存后变为新增状态 //EAM @@ -427,10 +431,11 @@ //工艺路线 public string Gy_RoutingBill_SaveAutoLastProc; //保存到数据库时自动加上转工序 //工序进站单 public string MES_StationBill_ProcNo; //自动匹配流水号 public string MES_StationBill_ProcNoByUser; //只显示用户对应工序 ////工序进站单 //public string MES_StationBill_ProcNo; //自动匹配流水号 //public string MES_StationBill_ProcNoByUser; //只显示用户对应工序 }