DBUtility/ÒµÎñµ¥¾Ý/Xt_BaseBillFun.cs
@@ -517,7 +517,50 @@ } } public static void GraphLine_XB(DataGridView grdMain, int MainIDCol, int SubIDCol, string s, ref long n) { long HMainID = 0; bool b = false; //å¾ªç¯ææè¡ for (int i = 0; i < grdMain.RowCount; i++) { if (HMainID == 0) { HMainID = ClsPub.isLong(grdMain.Rows[i].Cells[MainIDCol].Value); n++; } else { if (HMainID == ClsPub.isLong(grdMain.Rows[i].Cells[MainIDCol].Value)) { if (s == "å¦") { //åºåæ§æ¸ 空 SetDataGrid(grdMain, i, MainIDCol + 1, i, SubIDCol - 1, ""); } } else { HMainID = ClsPub.isLong(grdMain.Rows[i].Cells[MainIDCol].Value); b = !b; n++; } } if (b) { grdMain.Rows[i].DefaultCellStyle.BackColor = Color.Black; } else { grdMain.Rows[i].DefaultCellStyle.BackColor = Color.Black; } } } //è®¾ç½®ç½æ ¼ public static void SetDataGrid(DataGridView grdMain, int BRow, int BCol, int ERow, int ECol, string sText) { @@ -531,6 +574,19 @@ } //è®¾ç½®ç½æ ¼ public static void SetDataGrid_XB(DataGridView grdMain, int BRow, int BCol, int ERow, int ECol, string sText) { for (int i = BRow; i <= ERow; i++) { for (int j = BCol; j <= ECol; j++) { grdMain.Rows[i].Cells[j].Value = DBNull.Value; } } } //ç»ç½æ ¼ä¸çº¿ /// <summary> /// ç»ç½æ ¼ä¸çº¿ Kanban/Sc_CJKB.cs
@@ -102,15 +102,15 @@ //å¼å·¥æ¶é´å°äºå½å¤©æ¶é´ï¼ä½æ¯ä»»å¡åç¶æè¿æ¯ å¾ ç产ï¼ç³»ç»èªå¨é»è²è¦ç¤ºï¼ //å®å·¥æ¶é´å°äºå½å¤©æ¶é´ï¼ä½æ¯ä»»å¡åè¿æ¯å¾ ç产æè 卿§è¡çï¼ç³»ç»èªå¨çº¢è²è¦ç¤ºï¼ //int HEDateCol = Fun_GetCol("计åå®å·¥æ¥æ"); //DateTime oNow = DateTime.Today.Date; //for (int i = 0; i < grdMain.Rows.Count; i++) //{ // if (DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HEDateCol].Value) < oNow) // { // grdMain.Rows[i].DefaultCellStyle.ForeColor = Color.Red; // } //} int HEDateCol = Fun_GetCol("计åå®å·¥æ¥æ"); DateTime oNow = DateTime.Today.Date; for (int i = 0; i < grdMain.Rows.Count; i++) { if (DBUtility.ClsPub.isDate(grdMain.Rows[i].Cells[HEDateCol].Value) < oNow) { grdMain.Rows[i].DefaultCellStyle.ForeColor = Color.Red; } } //设置å计å string sTotalCol = ""; Kanban/Sc_QLKB.cs
@@ -148,7 +148,7 @@ //ClsIni clsIni = new ClsIni(); //string text = ClsIni.ReadIni("Dept", "DeptID", Pub_Class.ClsPub.AppPath + "\\HXErp_SY.ini"); //this.sDeptID = text; string s = ""; ClsCN SubCn = new ClsCN(); string sSql = ""; @@ -156,7 +156,7 @@ ClsIni oIni = new ClsIni(); string sID = ClsIni.ReadIni("Dept", "DeptID", Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini"); sDeptID = sID; string procName = "exec h_p_QLKB " + this.sDeptID; string procName = "exec h_p_QLKB_CS " + this.sDeptID; this.DSet = SubCn.RunProcReturn(procName, this.ViewName, ref Pub_Class.ClsPub.sExeReturnInfo); bool flag = this.DSet == null; if (!flag) @@ -170,7 +170,7 @@ }); this.oSumGrid.BuildTotalCols(cols); int frCol = 10; string s = "æ¯"; s = "å¦"; Xt_BaseBillFun.DisplayGrid(this.grdMain, base.Name, s, frCol); } int HEDateCol = Fun_GetCol("计åå¼å·¥æ¥æ"); @@ -182,7 +182,13 @@ grdMain.Rows[i].DefaultCellStyle.ForeColor = Color.Red; } } } s = "å¦"; int MainIDCol = Fun_GetCol("hmainid"); int SubIDCol = Fun_GetCol("hsubid"); long n = 0; DBUtility.Xt_BaseBillFun.GraphLine_XB(grdMain, MainIDCol, SubIDCol, s, ref n); } catch (Exception e) { return; @@ -327,6 +333,17 @@ grdMain.Rows[i].DefaultCellStyle.ForeColor = Color.Red; } } int MainIDCol = Fun_GetCol("hmainid"); int SubIDCol = Fun_GetCol("hsubid"); string s = "å¦"; long n = 0; DBUtility.Xt_BaseBillFun.GraphLine_XB(grdMain, MainIDCol, SubIDCol, s, ref n); ////-----------é¢è¦ç¶æ å°äºçäº æ¾ç¤º 红è²ï¼ å°äº7 æ©è²ï¼å°äºçäº14 é»è² //int HYJDateCol = Fun_GetCol("é¢è¦ç¶æï¼å¤©ï¼"); //int HSumUnDownQtyCol = Fun_GetCol("æ»æªä¸éè´é"); NETERPNoWin/Program.cs
@@ -25,10 +25,12 @@ { if (DBUtility.ClsPub.CheckUpdate()) { string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe"; System.Diagnostics.Process.Start(strFileName); Application.Exit(); return; //string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe"; //System.Diagnostics.Process.Start(strFileName); //Application.Exit(); //return; MESMain oMESMain = new MESMain(); Application.Run(oMESMain); } else { NETERPNoWin/bin/x86/Debug.zipBinary files differ
NETERPNoWin/bin/x86/Debug/BLL.dllBinary files differ
NETERPNoWin/bin/x86/Debug/BLL.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/BaseSet.dllBinary files differ
NETERPNoWin/bin/x86/Debug/BaseSet.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/DAL.dllBinary files differ
NETERPNoWin/bin/x86/Debug/DAL.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/DBUtility.dllBinary files differ
NETERPNoWin/bin/x86/Debug/DBUtility.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/Interop.gregn6Lib.dllBinary files differ
NETERPNoWin/bin/x86/Debug/Kanban.dllBinary files differ
NETERPNoWin/bin/x86/Debug/Kanban.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/Model.dllBinary files differ
NETERPNoWin/bin/x86/Debug/Model.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/NETERPNoWin.exeBinary files differ
NETERPNoWin/bin/x86/Debug/NETERPNoWin.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/OAM.dllBinary files differ
NETERPNoWin/bin/x86/Debug/OAM.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/PlanM.dllBinary files differ
NETERPNoWin/bin/x86/Debug/PlanM.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/Pub_Class.dllBinary files differ
NETERPNoWin/bin/x86/Debug/Pub_Class.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/Pub_Control.dllBinary files differ
NETERPNoWin/bin/x86/Debug/Pub_Control.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/SQLHelper.dllBinary files differ
NETERPNoWin/bin/x86/Debug/SQLHelper.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/WarM.dllBinary files differ
NETERPNoWin/bin/x86/Debug/WarM.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/WorkM.dllBinary files differ
NETERPNoWin/bin/x86/Debug/WorkM.pdbBinary files differ
NETERPNoWin/bin/x86/Debug/stdole.dllBinary files differ
NETERPNoWin/obj/x86/Debug/Interop.gregn6Lib.dllBinary files differ
NETERPNoWin/obj/x86/Debug/NETERPNoWin.csproj.FileListAbsolute.txt
@@ -107,3 +107,4 @@ D:\Gitä»åº\MESWMS-API(ææ°)\MES-WEB-API\MES-WEB-API\NETERPNoWin\obj\x86\Debug\NETERPNoWin.csproj.CopyComplete D:\Gitä»åº\MESWMS-API(ææ°)\MES-WEB-API\MES-WEB-API\NETERPNoWin\obj\x86\Debug\NETERPNoWin.exe D:\Gitä»åº\MESWMS-API(ææ°)\MES-WEB-API\MES-WEB-API\NETERPNoWin\obj\x86\Debug\NETERPNoWin.pdb D:\Gitä»åº\MESWMS-API(ææ°)\MES-WEB-API\MES-WEB-API\NETERPNoWin\bin\x86\Debug\stdole.dll NETERPNoWin/obj/x86/Debug/NETERPNoWin.csprojAssemblyReference.cacheBinary files differ
NETERPNoWin/obj/x86/Debug/NETERPNoWin.exeBinary files differ
NETERPNoWin/obj/x86/Debug/NETERPNoWin.pdbBinary files differ
WebAPI/Web.config
@@ -22,7 +22,7 @@ <!--<add key="sUrl" value="http://183.129.128.86:9090/WEBS-WMSTest/WebService1.asmx"/> --> <!--<add key="sUrl" value="http://192.168.63.195/WEBS-WMS/WebService1.asmx"/> é¢å°å¼æº--> <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> å¤å®--> <add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx" /> <add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> <!--<add key="sUrl" value="http://10.10.130.181/WEBS-WMS/WebService1.asmx"/> åæ¥ç§æ--> <!--<add key="sUrl" value="http://192.168.0.214/WEBS-WMS/WebService1.asmx"/> çä¸ç¥º--> <!--<add key="sUrl" value="http://60.191.27.141:8090/WEBS-WMS/WebService1.asmx"/> 森楷--> @@ -92,7 +92,7 @@ </basicHttpBinding> </bindings> <client> <endpoint address="http://47.96.97.237/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" <endpoint address="http://60.190.4.42:9003/WebService/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" /> </client> @@ -100,7 +100,7 @@ <applicationSettings> <WebAPI.Properties.Settings> <setting name="WebAPI_WebS_WebService1" serializeAs="String"> <value>http://60.191.27.141:8090/WEBS-WMS/WebService1.asmx</value> <value>http://60.190.4.42:9003/WebService/WebService1.asmx</value> </setting> </WebAPI.Properties.Settings> </applicationSettings>