BLL/BLL.csproj.user
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0"> <PropertyGroup> <ProjectView>ProjectFiles</ProjectView> <ProjectView>ShowAllFiles</ProjectView> <PublishUrlHistory /> <InstallUrlHistory /> <SupportUrlHistory /> LMES/ClsShowMod.cs
@@ -3982,6 +3982,13 @@ oSc_QLKB.Show(); oMainForm.AddTabPage(oSc_QLKB); break; case "kf_agvrequestbill_fastlist": //æé Kf_AGVRequestBill_FastList oKf_AGVRequestBill_FastList = new Kf_AGVRequestBill_FastList(); oKf_AGVRequestBill_FastList.MdiParent = oMain; oKf_AGVRequestBill_FastList.Show(); oMainForm.AddTabPage(oKf_AGVRequestBill_FastList); break; default: break; } LMES/bin/x86/Debug.zipBinary files differ
WarM/WarM.csproj
@@ -705,6 +705,12 @@ <Compile Include="æ¡ç æå°\Frm_Split.Designer.cs"> <DependentUpon>Frm_Split.cs</DependentUpon> </Compile> <Compile Include="æ¡ç æå°\Kf_AGVRequestBill_FastList.cs"> <SubType>Form</SubType> </Compile> <Compile Include="æ¡ç æå°\Kf_AGVRequestBill_FastList.designer.cs"> <DependentUpon>Kf_AGVRequestBill_FastList.cs</DependentUpon> </Compile> <Compile Include="æ¡ç æå°\Sc_ICMOToBarCode.cs"> <SubType>Form</SubType> </Compile> @@ -1143,6 +1149,10 @@ <EmbeddedResource Include="æ¡ç æå°\Frm_Split.resx"> <DependentUpon>Frm_Split.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="æ¡ç æå°\Kf_AGVRequestBill_FastList.resx"> <DependentUpon>Kf_AGVRequestBill_FastList.cs</DependentUpon> <SubType>Designer</SubType> </EmbeddedResource> <EmbeddedResource Include="æ¡ç æå°\Sc_ICMOToBarCode.resx"> <DependentUpon>Sc_ICMOToBarCode.cs</DependentUpon> <SubType>Designer</SubType> WarM/WarM.csproj.user
@@ -9,6 +9,6 @@ <ErrorReportUrlHistory /> <FallbackCulture>zh-CN</FallbackCulture> <VerifyUploadedFiles>false</VerifyUploadedFiles> <ProjectView>ProjectFiles</ProjectView> <ProjectView>ShowAllFiles</ProjectView> </PropertyGroup> </Project> WarM/±¨±í·ÖÎö/Sc_CJKB.cs
@@ -79,7 +79,7 @@ //if (frmCondition.SqlStr.Trim().Length == 0) // return; //sSql = frmCondition.SqlStr + sWhere + " order by HStatus,HDate "; sSql = "exec h_p_CGKB "; sSql = "exec h_p_CJKB "; // DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); //çæé¦è¡æ é¢ WarM/ÌõÂë´òÓ¡/Gy_BarCodeBill.resx
@@ -588,6 +588,6 @@ <value>93, 17</value> </metadata> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>25</value> <value>62</value> </metadata> </root> WarM/ÌõÂë´òÓ¡/Kf_AGVRequestBill_FastList.cs
New file @@ -0,0 +1,258 @@ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using gregn6Lib; using SQLHelper; using DBUtility; using System.Threading; using System.IO; using Pub_Class; namespace WarM { public partial class Kf_AGVRequestBill_FastList : Form { public Kf_AGVRequestBill_FastList() { InitializeComponent(); } public frmBillQueryCondition_New frmCondition; public string ViewName = "h_v_Kf_AGVRequestBillList"; public string ModCaption = "AGVé éåå表"; public const string ModName = "1299"; public const string ModRightName = "Kf_AGVRequestBill_FastList"; public const string ModRightNameEdit = ModRightName + "_Edit"; //å é¤ public const string ModRightNameDelete = ModRightName + "_Delete"; //ä½åº public const string ModRightNamePrint = ModRightName + "_Print"; //æå° DAL.ClsGy_BarCodeBill_Ctl oBar = new DAL.ClsGy_BarCodeBill_Ctl(); SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); public int selectRow = 0; public int selectRow2 = 0; public long PrintQty = 0; //å 许æ¡ç æå°æ¬¡æ° public string PrintQtyCtl = ""; //æ¡ç æå°æ¬¡æ°æ§å¶ public string UpdatePrintQtyCtl = ""; //æ¡ç æå°æ¬¡æ°æ´æ° public string SourceQtyCtl = ""; //è¶ æºåæ°éæ§å¶ #region åºå®ä»£ç private void Kf_AGVRequestBill_FastList_Load(object sender, EventArgs e) { frmCondition = new frmBillQueryCondition_New(); this.Text = ModCaption; lblCaption.Text = ModCaption; initGrid(); Sub_GetSystemParameter(); } private void initGrid() { DBUtility.Xt_BaseBillFun.initGridList(grdMain, this.Name); } //è·åç³»ç»åæ°ä¿¡æ¯ private void Sub_GetSystemParameter() { ////è·åç³»ç»åæ° //ClsXt_SystemParameter oSystemParameter = new ClsXt_SystemParameter(); //if (oSystemParameter.ShowBill(ref DBUtility.ClsPub.sExeReturnInfo) == false) //{ // MessageBox.Show("è·åç³»ç»åæ°å¤±è´¥ï¼åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); // return; //} //else //{ // PrintQty = oSystemParameter.omodel.BarCode_PrintQty; // PrintQtyCtl = oSystemParameter.omodel.BarCode_PrintQtyCtl; // UpdatePrintQtyCtl = oSystemParameter.omodel.BarCode_UpdatePrintQtyCtl; // SourceQtyCtl = oSystemParameter.omodel.BarCode_SourceQtyCtl; //} } private void timer1_Tick(object sender, EventArgs e) { //timer1.Enabled = false; //initGrid(); //Display(); } private void timer2_Tick(object sender, EventArgs e) { timer2.Enabled = false; //frmCondition = new frmBillQueryCondition_New(); //SetCondition(frmCondition, ViewName, this.Name); //frmCondition.ShowDialog(); //if (frmCondition.Tag.ToString() == "OK") //{ // timer1.Enabled = true; //} frmCondition = new frmBillQueryCondition_New(); SetCondition(frmCondition, ViewName, this.Name); frmCondition.ShowDialog(); if (frmCondition.Tag.ToString() == "OK") { Display(); } } public void SetCondition(frmBillQueryCondition_New frmCondition, string ViewName, string Name) { frmCondition.Tag = ""; frmCondition.ViewName = ViewName; frmCondition.ModName = Name; } private void grdMain_Paint(object sender, PaintEventArgs e) { GraphicsGrid(); } private void GraphicsGrid() { DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain); } private Int32 Fun_GetCol(string sCol) { return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain); } //ä¿åå宽 private void bclk_Click(object sender, EventArgs e) { //ä¿åå宽 DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name); } //é»è®¤å宽 private void mrlk_Click(object sender, EventArgs e) { DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name); } #endregion #region æ¥è¯¢åè½ private void cx_Click(object sender, EventArgs e) { frmCondition = new frmBillQueryCondition_New(); SetCondition(frmCondition, ViewName, this.Name); frmCondition.ShowDialog(); if (frmCondition.Tag.ToString() == "OK") { Display(); } } private void Display() { ClsCN SubCn = new ClsCN(); DataSet DSet; string sSql = ""; string sWhere = ""; //è¿æ»¤æ¡ä»¶ if (frmCondition.SqlStr.Trim().Length == 0) return; sSql = frmCondition.SqlStr + sWhere + " order by hmainid desc "; // DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); //çæé¦è¡æ é¢ if (DSet == null) { MessageBox.Show("没æè¿åä»»ä½ç»æ,请å¨è¿æ»¤æ¡ä¸ç¹å»ãæ¢å¤ãæé®,å°è¯å次æ¥è¯¢ï¼" + DBUtility.ClsPub.sExeReturnInfo); return; } //ç»çº¿ GraphLine(); // grdMain.DataSource = DSet.Tables[0].DefaultView; int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); string s = frmCondition.cmbHComplete.Text; DBUtility.Xt_BaseBillFun.DisplayGrid(grdMain, this.Name, s, FrCol); //å»ç» //int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); //string s = frmCondition.cmbHComplete.Text; //DBUtility.Xt_BaseBillFun.DisplayGrid(grdMain, this.Name, s, FrCol); ////ç»çº¿ //GraphLine(); } private void GraphLine() { int MainIDCol = Fun_GetCol("hmainid"); int SubIDCol = Fun_GetCol("hsubid"); string s = frmCondition.cmbHComplete.Text; long n = 0; DBUtility.Xt_BaseBillFun.GraphLine(grdMain, MainIDCol, SubIDCol, s, ref n); //æ¾ç¤º lbldj.Text = "æ¥è¯¢åº " + n.ToString() + " å¼ åæ®"; lbljl.Text = "å ±æ " + grdMain.RowCount.ToString() + " æ¡è®°å½"; } #endregion #region å·æ°åè½ private void sx_Click(object sender, EventArgs e) { timer1.Enabled = true; } #endregion #region å¼åºåè½ private void eXCELToolStripMenuItem_Click(object sender, EventArgs e) { DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain); } private void cSVToolStripMenuItem_Click(object sender, EventArgs e) { DBUtility.Gy_BaseFun.DataGridViewToExcel2(grdMain, this.Text, this.Text); } #endregion #region éåºåè½ private void tc_Click(object sender, EventArgs e) { this.Close(); } #endregion private void sc_Click(object sender, EventArgs e) { } } } WarM/ÌõÂë´òÓ¡/Kf_AGVRequestBill_FastList.designer.cs
New file @@ -0,0 +1,361 @@ namespace WarM { partial class Kf_AGVRequestBill_FastList { /// <summary> /// å¿ éç设计å¨åéã /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// æ¸ çæææ£å¨ä½¿ç¨çèµæºã /// </summary> /// <param name="disposing">妿åºéæ¾æç®¡èµæºï¼ä¸º trueï¼å¦å为 falseã</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows çªä½è®¾è®¡å¨çæç代ç /// <summary> /// è®¾è®¡å¨æ¯ææéçæ¹æ³ - ä¸è¦ /// 使ç¨ä»£ç ç¼è¾å¨ä¿®æ¹æ¤æ¹æ³çå 容ã /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Kf_AGVRequestBill_FastList)); this.pPic = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.lbljl = new System.Windows.Forms.Label(); this.lbldj = new System.Windows.Forms.Label(); this.lblCaption = new System.Windows.Forms.Label(); this.Tool = new System.Windows.Forms.ToolStrip(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.cx = new System.Windows.Forms.ToolStripButton(); this.sx = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.sc = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.tc = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.mrlk = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.bclk = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer2 = new System.Windows.Forms.Timer(this.components); this.grdMain = new System.Windows.Forms.DataGridView(); this.grdPrint = new System.Windows.Forms.DataGridView(); this.pPic.SuspendLayout(); this.panel1.SuspendLayout(); this.Tool.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit(); this.SuspendLayout(); // // pPic // this.pPic.BackColor = System.Drawing.Color.White; this.pPic.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pPic.BackgroundImage"))); this.pPic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.pPic.Controls.Add(this.panel1); this.pPic.Controls.Add(this.lblCaption); this.pPic.Dock = System.Windows.Forms.DockStyle.Top; this.pPic.Location = new System.Drawing.Point(0, 50); this.pPic.Name = "pPic"; this.pPic.Size = new System.Drawing.Size(906, 53); this.pPic.TabIndex = 15; // // panel1 // this.panel1.Controls.Add(this.lbljl); this.panel1.Controls.Add(this.lbldj); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(692, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(214, 53); this.panel1.TabIndex = 7; // // lbljl // this.lbljl.AutoSize = true; this.lbljl.Location = new System.Drawing.Point(24, 30); this.lbljl.Name = "lbljl"; this.lbljl.Size = new System.Drawing.Size(11, 12); this.lbljl.TabIndex = 1; this.lbljl.Text = " "; // // lbldj // this.lbldj.AutoSize = true; this.lbldj.Location = new System.Drawing.Point(24, 12); this.lbldj.Name = "lbldj"; this.lbldj.Size = new System.Drawing.Size(0, 12); this.lbldj.TabIndex = 0; // // lblCaption // this.lblCaption.AutoSize = true; this.lblCaption.BackColor = System.Drawing.Color.Transparent; this.lblCaption.Cursor = System.Windows.Forms.Cursors.No; this.lblCaption.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblCaption.Location = new System.Drawing.Point(12, 15); this.lblCaption.Name = "lblCaption"; this.lblCaption.Size = new System.Drawing.Size(98, 21); this.lblCaption.TabIndex = 4; this.lblCaption.Text = "åæ®å表"; this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Tool // this.Tool.AutoSize = false; this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage"))); this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22); this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator2, this.cx, this.sx, this.toolStripSeparator1, this.sc, this.toolStripSeparator5, this.toolStripSeparator6, this.tc, this.toolStripSeparator3, this.toolStripSeparator9, this.mrlk, this.toolStripSeparator7, this.bclk, this.toolStripSeparator8}); this.Tool.Location = new System.Drawing.Point(0, 0); this.Tool.Name = "Tool"; this.Tool.Padding = new System.Windows.Forms.Padding(0); this.Tool.Size = new System.Drawing.Size(906, 50); this.Tool.Stretch = true; this.Tool.TabIndex = 16; this.Tool.Text = "toolStrip1"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50); // // cx // this.cx.AutoSize = false; this.cx.Image = ((System.Drawing.Image)(resources.GetObject("cx.Image"))); this.cx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.cx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.cx.ImageTransparentColor = System.Drawing.Color.White; this.cx.Name = "cx"; this.cx.Size = new System.Drawing.Size(36, 47); this.cx.Text = "æ¥è¯¢"; this.cx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.cx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.cx.Click += new System.EventHandler(this.cx_Click); // // sx // this.sx.AutoSize = false; this.sx.Image = ((System.Drawing.Image)(resources.GetObject("sx.Image"))); this.sx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sx.ImageTransparentColor = System.Drawing.Color.Magenta; this.sx.Name = "sx"; this.sx.Size = new System.Drawing.Size(36, 47); this.sx.Text = "å·æ°"; this.sx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sx.Visible = false; this.sx.Click += new System.EventHandler(this.sx_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50); // // sc // this.sc.AutoSize = false; this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image"))); this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sc.ImageTransparentColor = System.Drawing.Color.Magenta; this.sc.Name = "sc"; this.sc.Size = new System.Drawing.Size(36, 47); this.sc.Text = "å é¤"; this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sc.Visible = false; this.sc.Click += new System.EventHandler(this.sc_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50); // // tc // this.tc.AutoSize = false; this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image"))); this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tc.ImageTransparentColor = System.Drawing.Color.White; this.tc.Name = "tc"; this.tc.Size = new System.Drawing.Size(36, 47); this.tc.Text = "éåº"; this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.tc.Click += new System.EventHandler(this.tc_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50); // // toolStripSeparator9 // this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50); // // mrlk // this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image"))); this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.mrlk.ImageTransparentColor = System.Drawing.Color.White; this.mrlk.Name = "mrlk"; this.mrlk.Size = new System.Drawing.Size(60, 47); this.mrlk.Text = "é»è®¤å宽"; this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.mrlk.Click += new System.EventHandler(this.mrlk_Click); // // toolStripSeparator7 // this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50); // // bclk // this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image"))); this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.bclk.ImageTransparentColor = System.Drawing.Color.White; this.bclk.Name = "bclk"; this.bclk.Size = new System.Drawing.Size(60, 47); this.bclk.Text = "ä¿åå宽"; this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.bclk.Click += new System.EventHandler(this.bclk_Click); // // toolStripSeparator8 // this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50); // // timer1 // this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // timer2 // this.timer2.Enabled = true; this.timer2.Tick += new System.EventHandler(this.timer2_Tick); // // grdMain // this.grdMain.AllowUserToAddRows = false; this.grdMain.AllowUserToDeleteRows = false; this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption; this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; this.grdMain.Location = new System.Drawing.Point(0, 103); this.grdMain.Name = "grdMain"; this.grdMain.ReadOnly = true; this.grdMain.RowTemplate.Height = 23; this.grdMain.Size = new System.Drawing.Size(906, 428); this.grdMain.TabIndex = 19; this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint); // // grdPrint // this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdPrint.Location = new System.Drawing.Point(772, 146); this.grdPrint.Name = "grdPrint"; this.grdPrint.RowTemplate.Height = 23; this.grdPrint.Size = new System.Drawing.Size(25, 24); this.grdPrint.TabIndex = 8; this.grdPrint.Visible = false; // // Kf_AGVRequestBill_FastList // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(906, 531); this.Controls.Add(this.grdMain); this.Controls.Add(this.pPic); this.Controls.Add(this.Tool); this.Controls.Add(this.grdPrint); this.Name = "Kf_AGVRequestBill_FastList"; this.Text = "åæ®å表"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Kf_AGVRequestBill_FastList_Load); this.pPic.ResumeLayout(false); this.pPic.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.Tool.ResumeLayout(false); this.Tool.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Panel pPic; private System.Windows.Forms.Label lblCaption; private System.Windows.Forms.ToolStrip Tool; private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; private System.Windows.Forms.ToolStripButton cx; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripButton tc; private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; public System.Windows.Forms.Timer timer1; private System.Windows.Forms.ToolStripButton sx; private System.Windows.Forms.ToolStripButton sc; private System.Windows.Forms.Timer timer2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; private System.Windows.Forms.ToolStripButton mrlk; private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; private System.Windows.Forms.ToolStripButton bclk; private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; private System.Windows.Forms.DataGridView grdMain; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label lbljl; private System.Windows.Forms.Label lbldj; private System.Windows.Forms.DataGridView grdPrint; private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; } } WarM/ÌõÂë´òÓ¡/Kf_AGVRequestBill_FastList.resx
New file Diff too large WarM/ÌõÂë´òÓ¡/Sc_ICMOToBarCode.cs
@@ -997,191 +997,95 @@ private void button4_Click(object sender, EventArgs e) { //æ ¹æ®æ¬ç®±æ°é æ¥ åé å° æ¯ä¸ªç产订åä¸ï¼åé æ¶ è¦èè 订åå©ä½æ°éå·²ç»æ¯ è´æ°çæ åµï¼ //å¦æææ åè£ ç®±æ°é å é»è®¤åæ åè£ ç®±æ°é 没æååæè¾çæ¬ç®±æ°é //1.夿æ¬ç®±æ°é å¿ é¡»å¤§äº0 double HZXQty = 0;//æ´ç®±æ°é if (txtHZXQty.Text.Trim() != "") { HZXQty = ClsPub.isDoule(txtHZXQty.Text); } else { HZXQty = ClsPub.isDoule(txtHMiniQty.Text); } if (HZXQty <= 0) { MessageBox.Show("请è¾å ¥æ´ç®±æ°éï¼"); return; } //2.å·æ°ç½æ ¼ //Display(); //3.ææ´ç®±æ°é åé å° ç½æ ¼ä¸é¢çæ¯ä¸ä¸ª ç产订åä¸å»ã 循ç¯ç½æ ¼ for(int i =0;i<grdMain.Rows.Count;i++) { if (HZXQty > 0) { if (HZXQty > DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value)) { HZXQty = HZXQty - DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); //MessageBox.Show("请ç¹å»è¶ é¢ç产æé®çææ¡ç ï¼"); //return; } else { grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = HZXQty; // //HZXQty = HZXQty - DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); //grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); } } else { break; } } Sub_SaveBarCode(); // ////1.è·åçé¢ä¸é¢æ´ç®±æ°éæ¡è¾å ¥çæ°é èµå¼ç»åé å¹¶å·æ°ç½æ ¼ //double HBarCodeQty = 0; //double HZXQty = 0; //HZXQty = ClsPub.isDoule(txtHZXQty.Text); //if (HZXQty ==0) ////æ ¹æ®æ¬ç®±æ°é æ¥ åé å° æ¯ä¸ªç产订åä¸ï¼åé æ¶ è¦èè 订åå©ä½æ°éå·²ç»æ¯ è´æ°çæ åµï¼ ////å¦æææ åè£ ç®±æ°é å é»è®¤åæ åè£ ç®±æ°é 没æååæè¾çæ¬ç®±æ°é ////1.夿æ¬ç®±æ°é å¿ é¡»å¤§äº0 //double HZXQty = 0;//æ´ç®±æ°é //if (txtHZXQty.Text.Trim() != "") //{ // HZXQty = ClsPub.isDoule(txtHZXQty.Text); //} //else //{ // HZXQty = ClsPub.isDoule(txtHMiniQty.Text); //} //if (HZXQty <= 0) //{ // MessageBox.Show("请è¾å ¥æ´ç®±æ°éï¼"); // return; //} //Display(); ////2.è·åç½æ ¼éä¸è¡ç©æID ////int a = grdMain.CurrentRow.Index; ////long HMaterID = 0; //////HMaterID = DBUtility.ClsPub.isLong(grdMain.Rows[a].Cells[Fun_GetCol("HMaterID")].Value); //// if (HMaterID == 0) //// { //// MessageBox.Show("没æéä¸ä»»ä½è®°å½ï¼"); //// return; //// } ////3.å®ä¹æ¯å¦ç»æçåé //int Mul = 0; ////4.æ ¹æ®åæ®ç±»åè·åæ¬æ¬¡æ¡ç 主å ç HInterID //HInterID = DBUtility.ClsPub.CreateBillID_Prod(ModName, ref DBUtility.ClsPub.sExeReturnInfo); //for (int i = 0; i < grdMain.Rows.Count; i++) ////2.å·æ°ç½æ ¼ ////Display(); ////3.ææ´ç®±æ°é åé å° ç½æ ¼ä¸é¢çæ¯ä¸ä¸ª ç产订åä¸å»ã 循ç¯ç½æ ¼ //for(int i =0;i<grdMain.Rows.Count;i++) //{ // //è·åç½æ ¼é颿¯ä¸è¡è®¢å对åºçè®¢åæ°é // double HDDQty = 0; // HDDQty = DBUtility.ClsPub.isDoule(grdMain.Rows[grdMain.Rows[i].Index].Cells[Fun_GetCol("è®¢åæ°é")].Value); // //è·åå½åç³»ç»ç»éç»ç»ä»£ç // HOrgNumber = ClsPub.HOrgNumber; // //èªå¨å¹é é»è¾ å¤æè®¢åæ°éæ¯å¦å¤§äºæ´ç®±æ°é å¦æè®¢åæ°éå¤§äºæ´ç®±æ°é ç´æ¥çæå¯ä¸ç // //å¦æè®¢åæ°éå°äºæ´ç®±æ°é å循ç¯çæå¯ä¸ç çæå¯¹åºçææ¡ç // if (HDDQty >= HZXQty) // if (HZXQty > 0) // { // if (HZXQty > DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value)) // { // HBarCodeQty = HZXQty; // this.Sub_SaveBill_TTM(); // Display(); // Mul = Mul + 1; // break; // HZXQty = HZXQty - DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); // grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); // //MessageBox.Show("请ç¹å»è¶ é¢ç产æé®çææ¡ç ï¼"); // //return; // } // else if(HDDQty < HZXQty) // else if (HZXQty == 0) // { // HBarCodeQty = HDDQty; // HZXQty = HZXQty - HDDQty; // this.Sub_SaveBill_TTM(); // Mul = Mul + 1; // continue; // return; // } // else // { // grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = HZXQty; // // // //妿Mul>1 æ°å¢ç»æå主表 // //HZXQty = HZXQty - DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); // //grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); // } // } // else // { // break; // } //} //Sub_SaveBarCode(); //// //if (Mul > 1) //{ // //HICMOBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[i].Cells[Fun_GetCol("ç产订åå·")].Value); // DataSet DS1; // HTTMNumber = HOrgNumber + HICMOBillNo; // DS1 = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + HTTMNumber + "'", "h_p_WMS_GetMaxNo"); //è·åæå¤§æµæ°´å· // TLSH = ClsPub.isInt(DS1.Tables[0].Rows[0][0]); // TLSH2 = TLSH.ToString(); // TTM = HTTMNumber + TLSH2; // HInterID_TTM = DBUtility.ClsPub.CreateBillID_Prod(ModName1, ref DBUtility.ClsPub.sExeReturnInfo); // HBillNo_TTM = DBUtility.ClsPub.CreateBillCode_Prod(ModName1, ref DBUtility.ClsPub.sExeReturnInfo, true);//å¾å°æ°åå· // string HDate = ""; // string HYear = ""; // string HPeriod = ""; // string HDay = ""; // HDate = DateTime.Now.ToShortDateString(); // HYear = ClsPub.isDate(HDate).Year.ToString().Substring(2, 2); // HPeriod = "0" + ClsPub.isDate(HDate).Month.ToString(); // HPeriod = HPeriod.Substring(HPeriod.Length - 2, 2); // HDay = "0" + ClsPub.isDate(HDate).Day.ToString(); // HDay = HDay.Substring(HDay.Length - 2, 2); // oCn.RunProc("insert into Sc_PackUnionBillMain (HYear,HPeriod,HBillType,HInterID,HDate" + // ",HBillNo,HBillStatus,HICMOBillNo,HBarCode_Pack,HMaterID,HUnitID,HWeight" + // ",HPWeight,HProdOrgID,HDeptID,HEmpID,HSNum,HPackNum,HBarCode_Cus,HBatchNo " + // ") values (" // + HYear + "," + HPeriod + ",'3783'," + HInterID_TTM + ",'" + HDate + "'" // + ", " + HBillNo_TTM.ToString() + ",1,''," + TTM.ToString() + ",0,0,0" // + ",0,1,0,0,0,0,'','')"); //} ////3.å å¤æç©ææ¯å¦ä¸è´ 妿ä¸è´å¼å§å¾ªç¯ç½æ ¼ //for (int i = 0; i < grdMain.Rows.Count; i++) //{ // //long HGrdMaterID = 0; // //HGrdMaterID = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.Rows[i].Index].Cells[Fun_GetCol("HMaterID")].Value); // //if (HGrdMaterID == HMaterID) // //{ // // double HDDQty = 0; // // HDDQty = DBUtility.ClsPub.isDoule(grdMain.Rows[grdMain.Rows[i].Index].Cells[Fun_GetCol("è®¢åæ°é")].Value); // // //å¦æå¾ªç¯ç该è¡è®°å½çè®¢åæ°éå·²ç»å¤§äºçäºæ¬æ¬¡è£ ç®±æ°é åç´æ¥çæå¯ä¸ç å¹¶ä¸å·æ°ç½æ ¼ å·æ°æ¡ç ä¿¡æ¯é¡µ // // if (HDDQty >= HZXQty) // // { // // double HBarCodeQty = 0; // // HBarCodeQty = HZXQty; // // this.Sub_SaveBill(); // // Display(); // // } // // //妿æ¹è¡è®°å½è®¢åæ°éå°äºæ¬æ¬¡è£ ç®±æ°é åç»§ç»å¾ªç¯ èµ°çæææ¡ç æ¹æ³ // // else // // { // // //æ¥åºç¬¦åæ¡ä»¶çéä¸è¿æ¡æ°éè·è£ ç®±æ°éçå·®å¼å¼ // // double HCYQty = 0; // // HCYQty = HZXQty - DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.Rows[i].Index].Cells[Fun_GetCol("è®¢åæ°é")].Value); // // } // //} // //else // //{ // //} //} bool flag = this.txtHZXQty.Text.Trim() != ""; double num; if (flag) { num = Pub_Class.ClsPub.isDoule(this.txtHZXQty.Text); } else { num = Pub_Class.ClsPub.isDoule(this.txtHMiniQty.Text); } bool flag2 = num <= 0.0; if (flag2) { MessageBox.Show("请è¾å ¥æ´ç®±æ°éï¼"); } else { for (int i = 0; i < this.grdMain.Rows.Count; i++) { bool flag3 = num > 0.0; if (!flag3) { break; } bool flag4 = num > Pub_Class.ClsPub.isDoule(this.grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); if (!flag4) { this.grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = num; break; } num -= Pub_Class.ClsPub.isDoule(this.grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); this.grdMain.Rows[i].Cells["æ¬æ¬¡æ°é"].Value = Pub_Class.ClsPub.isDoule(this.grdMain.Rows[i].Cells["çäº§è®¢åæ°é"].Value); } this.Sub_SaveBarCode(); } } private void Sub_SaveBill() WebAPI/Controllers/OtherInStockController.cs
@@ -350,6 +350,7 @@ websLsmain.HMaker = lsmain[0].HMaker; websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID; websLsmain.HOWNERID = lsmain[0].HSTOCKORGID; websLsmain.HKeeperID = lsmain[0].HKeeperID; websLsmain.HBillType = "1203";//åºå®å¼ WebS.WebService1 oWebs = new WebS.WebService1(); WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -18,28 +18,28 @@ <publishTime>02/22/2013 16:43:40</publishTime> </File> <File Include="bin/BLL.dll"> <publishTime>06/30/2022 09:51:15</publishTime> <publishTime>07/06/2022 13:47:21</publishTime> </File> <File Include="bin/BLL.pdb"> <publishTime>06/30/2022 09:51:15</publishTime> <publishTime>07/06/2022 13:47:21</publishTime> </File> <File Include="bin/BouncyCastle.Crypto.dll"> <publishTime>12/18/2020 05:32:28</publishTime> </File> <File Include="bin/DAL.dll"> <publishTime>06/30/2022 09:51:13</publishTime> <publishTime>07/06/2022 13:47:19</publishTime> </File> <File Include="bin/DAL.pdb"> <publishTime>06/30/2022 09:51:13</publishTime> <publishTime>07/06/2022 13:47:19</publishTime> </File> <File Include="bin/Dapper.dll"> <publishTime>07/22/2016 22:52:40</publishTime> </File> <File Include="bin/DBUtility.dll"> <publishTime>06/30/2022 09:51:11</publishTime> <publishTime>07/06/2022 13:47:13</publishTime> </File> <File Include="bin/DBUtility.pdb"> <publishTime>06/30/2022 09:51:11</publishTime> <publishTime>07/06/2022 13:47:13</publishTime> </File> <File Include="bin/Grpc.Core.Api.dll"> <publishTime>03/22/2022 13:17:26</publishTime> @@ -93,10 +93,10 @@ <publishTime>07/25/2012 19:48:56</publishTime> </File> <File Include="bin/Model.dll"> <publishTime>06/30/2022 09:51:11</publishTime> <publishTime>07/06/2022 13:47:15</publishTime> </File> <File Include="bin/Model.pdb"> <publishTime>06/30/2022 09:51:11</publishTime> <publishTime>07/06/2022 13:47:15</publishTime> </File> <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> <publishTime>03/15/2022 10:06:42</publishTime> @@ -129,22 +129,22 @@ <publishTime>10/23/2021 17:07:54</publishTime> </File> <File Include="bin/Pub_Class.dll"> <publishTime>06/30/2022 09:51:09</publishTime> <publishTime>07/06/2022 13:47:11</publishTime> </File> <File Include="bin/Pub_Class.pdb"> <publishTime>06/30/2022 09:51:09</publishTime> <publishTime>07/06/2022 13:47:11</publishTime> </File> <File Include="bin/Pub_Control.dll"> <publishTime>06/30/2022 09:51:10</publishTime> <publishTime>07/06/2022 13:47:12</publishTime> </File> <File Include="bin/Pub_Control.pdb"> <publishTime>06/30/2022 09:51:10</publishTime> <publishTime>07/06/2022 13:47:12</publishTime> </File> <File Include="bin/SQLHelper.dll"> <publishTime>06/30/2022 09:51:10</publishTime> <publishTime>07/06/2022 13:47:12</publishTime> </File> <File Include="bin/SQLHelper.pdb"> <publishTime>06/30/2022 09:51:10</publishTime> <publishTime>07/06/2022 13:47:12</publishTime> </File> <File Include="bin/stdole.dll"> <publishTime>05/09/2021 13:35:37</publishTime> @@ -255,13 +255,13 @@ <publishTime>11/24/2014 19:18:48</publishTime> </File> <File Include="bin/WebAPI.dll"> <publishTime>06/30/2022 09:51:17</publishTime> <publishTime>07/06/2022 13:47:28</publishTime> </File> <File Include="bin/WebAPI.dll.config"> <publishTime>12/15/2021 17:59:43</publishTime> </File> <File Include="bin/WebAPI.pdb"> <publishTime>06/30/2022 09:51:17</publishTime> <publishTime>07/06/2022 13:47:28</publishTime> </File> <File Include="bin/WebGrease.dll"> <publishTime>07/18/2013 01:03:52</publishTime> @@ -390,61 +390,61 @@ <publishTime>03/15/2022 10:06:42</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Department_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:50</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:50</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:50</publishTime> </File> <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:52</publishTime> </File> <File Include="Web References/WebS/ClsGy_Customer_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsGy_Department_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsGy_Employee_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:52</publishTime> </File> <File Include="Web References/WebS/ClsGy_Group_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsGy_Source_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:52</publishTime> </File> <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:52</publishTime> </File> <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:51</publishTime> </File> <File Include="Web References/WebS/ClsKf_ICStockBill_Mould.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:52</publishTime> </File> <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource"> <publishTime>06/18/2022 15:45:06</publishTime> <publishTime>06/12/2022 16:45:50</publishTime> </File> <File Include="Web References/WebS/Reference.cs"> <publishTime>12/20/2021 13:19:56</publishTime> @@ -459,7 +459,7 @@ <publishTime>12/20/2021 13:19:56</publishTime> </File> <File Include="Web.config"> <publishTime>06/30/2022 09:51:31</publishTime> <publishTime>07/06/2022 13:47:37</publishTime> </File> </ItemGroup> </Project> WebAPI/Properties/Settings.Designer.cs
@@ -26,7 +26,7 @@ [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] [global::System.Configuration.DefaultSettingValueAttribute("http://localhost:8098/WebService1.asmx")] [global::System.Configuration.DefaultSettingValueAttribute("http://47.96.97.237/WEBS-WMS/WebService1.asmx")] public string WebAPI_WebS_WebService1 { get { return ((string)(this["WebAPI_WebS_WebService1"])); WebAPI/Properties/Settings.settings
@@ -3,7 +3,7 @@ <Profiles /> <Settings> <Setting Name="WebAPI_WebS_WebService1" Type="(Web Service URL)" Scope="Application"> <Value Profile="(Default)">http://localhost:8098/WebService1.asmx</Value> <Value Profile="(Default)">http://47.96.97.237/WEBS-WMS/WebService1.asmx</Value> </Setting> </Settings> </SettingsFile> WebAPI/Web.config
@@ -25,7 +25,7 @@ <add key="sUrl" value="http://47.96.97.237/WEBS-WMS/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://192.168.10.66/WEBS-WMS/WebService1.asmx"/> 森楷--> <!--<add key="sUrl" value="http://60.191.27.141:8090/WEBS-WMS/WebService1.asmx"/> 森楷--> <add key="webpages:Version" value="3.0.0.0" /> <add key="webpages:Enabled" value="false" /> <add key="ClientValidationEnabled" value="true" /> @@ -92,7 +92,7 @@ </basicHttpBinding> </bindings> <client> <endpoint address="http://localhost:8098/WebService1.asmx" binding="basicHttpBinding" <endpoint address="http://47.96.97.237/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" /> </client> WebAPI/WebAPI.csproj
@@ -306,6 +306,7 @@ </Content> <None Include="Web References\WebS\Reference.map"> <Generator>MSDiscoCodeGenerator</Generator> <LastGenOutput>Reference1.cs</LastGenOutput> </None> <None Include="Web References\WebS\WebService1.disco" /> <Content Include="Web.config">