生产订单扫码记录列表:生单功能从原来全部上传改为选中行进行上传。
2个文件已修改
14 ■■■■ 已修改文件
SCM/公用类/ClsPub1.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/报表/KF_PonderationBillMain_ICMOReport.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/¹«ÓÃÀà/ClsPub1.cs
@@ -15,11 +15,11 @@
        //public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx";     //韩电    å¤–网              ï¼ˆä½œåºŸï¼‰
        //public static string WEBSURL = "http://192.168.10.60/WMSWEBS/WebService1.asmx";           //韩电    å†…网宁波(车间)(作废)
        public static string WEBSURL = "http://192.168.2.16/WEBS-WMS/WebService1.asmx";           //颜本地电脑
        //public static string WEBSURL = "http://192.168.2.16/WEBS-WMS/WebService1.asmx";           //颜本地电脑
        //public static string WEBSURL = "http://192.168.2.56/WEBS-WMS/WebService1.asmx";           //颜本地电脑(云络)
        //public static string WEBSURL = "http://192.168.10.61/WEB-WMS/WebService1.asmx";           //韩电    å†…网测试
        //public static string WEBSURL = "http://192.168.10.222/WMSWEBS/WebService1.asmx";          //韩电    MES服务器(内网)
        //public static string WEBSURL = "http://122.227.199.62:5058/WMSWEBS/WebService1.asmx";     //韩电    MES服务器(外网)
        public static string WEBSURL = "http://122.227.199.62:5058/WMSWEBS/WebService1.asmx";     //韩电    MES服务器(外网)
        public static long HOrgID = 0;
        public static string HOrgNumber = "";
        public static long HPersonL = 2;   // ä»“库人员为1,车间人员为2
SCM/±¨±í/KF_PonderationBillMain_ICMOReport.cs
@@ -410,6 +410,14 @@
                    return;
                }
                string HSourceInterID = "";
                string HSourceEntryID = "";
                for (int i = 0; i < grdMain.SelectedRows.Count; i++)
                {
                    HSourceInterID = HSourceInterID + "," + DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("HSourceInterID")].Value.ToString());
                    HSourceEntryID = HSourceEntryID + "," + DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("HSourceEntryID")].Value.ToString());
                }
                string sHBillNo = "";
                oMain.HInterID = sInterID;
                oMain.HBillNo = sBillNo;
@@ -431,7 +439,7 @@
                oMain.HMaker = DBUtility.ClsPub.CurUserName;
                //回填最新单据ID、单据号;产品入库单保存前进行倒冲仓负库存控制;是否存在重复条码控制
                DataSet Ds1 = oWeb.getDataSetBySQL("exec h_p_WMS_UpdateIDByTemp_Caiji_Handian " + oMain.HInterID.ToString() + ",'" + oMain.HBillNo + "','" + HBeginDate + "','" + HEndDate + "'," + HOWNERID, "h_p_WMS_UpdateIDByTemp_Caiji_Handian", ref DBUtility.ClsPub.sExeReturnInfo);
                DataSet Ds1 = oWeb.getDataSetBySQL("exec h_p_WMS_UpdateIDByTemp_Caiji_Handian " + oMain.HInterID.ToString() + ",'" + oMain.HBillNo + "','" + HBeginDate + "','" + HEndDate + "'," + HOWNERID + ",'" + HSourceInterID + "','" + HSourceEntryID + "'", "h_p_WMS_UpdateIDByTemp_Caiji_Handian", ref DBUtility.ClsPub.sExeReturnInfo);
                if (Ds1 == null || Ds1.Tables[0].Rows.Count == 0)
                {
                    MessageBox.Show("生单前判断发生错误!");