yxj
2021-09-30 1a3d9618e96e5aab76a514a6e1f41cb9c21b54b2
新增模治具模块扫码方法,显示列表方法、上传生单方法
3个文件已修改
38 ■■■■■ 已修改文件
CLOUDWEB/WebService1.asmx.cs 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DLL/DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
DLL/Model.dll 补丁 | 查看 | 原始文档 | blame | 历史
CLOUDWEB/WebService1.asmx.cs
@@ -33161,6 +33161,44 @@
        #endregion
        #region 模具条码处理方法
        //显示模治具列表信息
        [WebMethod]
        public DataSet GetMouldBillEntry_TmpList(long HInterID, string HBillNo, string HBillType, ref string sErrMsg)
        {
            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
            DataSet DS = oCn.RunProcReturn("exec h_p_WMS_MouldBillEntryTmpList " + HInterID.ToString() + ",'" + HBillType + "'", "h_p_WMS_MouldBillEntryTmpList");
            return DS;
        }
        //上传生成模具出入库单
        [WebMethod]
        public bool set_SaveMouldStockBill_New(Model.ClsSc_MouldProdInBillMain oMain, string sHSourceType, Pub_Class.ClsXt_SystemParameterMain oSystemParameterMain, ref string sErrMsg)
        {
            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
            try
            {
                oCn.BeginTran();
                string HMouldBillType = oMain.HBillType;
                oCn.RunProc("EXEC h_p_Sc_MouldStockBill_Insert_New " + oMain.HInterID.ToString() + ",'" + oMain.HBillType + "','" + HMouldBillType + "'," + oMain.HSupID.ToString() + "," + oMain.HKeeperID.ToString() + "," + oMain.HSecManagerID.ToString() + "," + oMain.HDeptID.ToString());
                oCn.Commit();
                return true;
            }
            catch (Exception e)
            {
                sErrMsg = "生成模具出入库单失败!" + e.Message;
                oCn.RollBack();
                return false;
            }
        }
        #endregion
        #region 单据列表数据处理
        //显示物料明细列表、模治具列表、先进先出列表信息
DLL/DAL.dll
Binary files differ
DLL/Model.dll
Binary files differ