Merge branch 'master' of http://101.37.171.70:10101/r/YqnMes
| | |
| | | EndProject |
| | | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Model", "Model\Model.csproj", "{1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}" |
| | | EndProject |
| | | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DBUtility", "DBUtility\DBUtility.csproj", "{F2098F1B-4FA1-49BB-91EA-AB3522008F28}" |
| | | EndProject |
| | | Global |
| | | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
| | | Debug|Any CPU = Debug|Any CPU |
| | |
| | | {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU |
| | | {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Release|Mixed Platforms.Build.0 = Release|Any CPU |
| | | {1EAB90A5-F2E0-4E1F-A787-ABE182EDB86E}.Release|x86.ActiveCfg = Release|Any CPU |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Debug|Any CPU.Build.0 = Debug|Any CPU |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Debug|Mixed Platforms.Build.0 = Debug|x86 |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Debug|x86.ActiveCfg = Debug|x86 |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Debug|x86.Build.0 = Debug|x86 |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Release|Any CPU.ActiveCfg = Release|Any CPU |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Release|Any CPU.Build.0 = Release|Any CPU |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Release|Mixed Platforms.ActiveCfg = Release|x86 |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Release|Mixed Platforms.Build.0 = Release|x86 |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Release|x86.ActiveCfg = Release|x86 |
| | | {F2098F1B-4FA1-49BB-91EA-AB3522008F28}.Release|x86.Build.0 = Release|x86 |
| | | EndGlobalSection |
| | | GlobalSection(SolutionProperties) = preSolution |
| | | HideSolutionNode = FALSE |
| | |
| | | if (!string.IsNullOrEmpty(textBox2.Text))
|
| | | whereBuilder.Append(" and b.FLOT_TEXT like ''%"+textBox2.Text+"%''");
|
| | | if (comboBox1.Text != "å
¨é¨")
|
| | | {
|
| | | if(comboBox1.Text=="åæ ¼å")
|
| | | {
|
| | | whereBuilder.Append(" and c.HProdLev=''''");
|
| | | }
|
| | | else
|
| | | {
|
| | | whereBuilder.Append(" and c.HProdLev=''" + comboBox1.Text + "''");
|
| | | }
|
| | | |
| | | }
|
| | | if (!string.IsNullOrEmpty(textBox4.Text))
|
| | | whereBuilder.Append(" and g.HName like ''%"+textBox4.Text+"%''");
|
| | | if (!string.IsNullOrEmpty(textBox5.Text))
|
| | |
| | | using System;
|
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.ComponentModel;
|
| | | using System.Data;
|
| | |
| | | else if (sType == "Sample")
|
| | | {
|
| | | sTMNumber = HNumber + ";" + DBUtility.ClsPub.isStrNull(txtHBatchNo.Text) + "B";
|
| | | txtHCheckerResult.Text = "";
|
| | | }
|
| | | else
|
| | | {
|
| | | sTMNumber = HNumber + ";" + DBUtility.ClsPub.isStrNull(txtHBatchNo.Text);
|
| | | txtHCheckerResult.Text = "";
|
| | | }
|
| | | //sTMNumber = HNumber + ";" + DBUtility.ClsPub.isStrNull(txtHBatchNo.Text);
|
| | |
|
| | |
| | | Report.FieldByName("ç»å").AsString = ClsPub.isStrNull(txtHEmpID.Text) + ";" + ClsPub.isStrNull(txtHEmpID2.Text) + ";" + ClsPub.isStrNull(txtHEmpID3.Text);
|
| | | Report.FieldByName("æ°é").AsString = ClsPub.isStrNull(txtHSJQty.Text);
|
| | | Report.FieldByName("æ§ç©æç¼ç ").AsString = ClsPub.isStrNull(txtHOldMaterNumber.Text);
|
| | | Report.FieldByName("ä¸è¯åå ").AsString = ClsPub.isStrNull(txtHCheckerResult.Text);
|
| | | //Report.FieldByName("æºååå·").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HSourceBillNoCol].Value);
|
| | | //Report.FieldByName("éå®è®¢åå·").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HSeOrderBillNo2Col].Value);
|
| | | //Report.FieldByName("ç产车é´").AsString = ClsPub.isStrNull(grdSub.Rows[CurRows].Cells[HDeptName2Col].Value);
|
| | |
| | | {
|
| | | txtHReasonList.Text = "";
|
| | | txtHReasonList.Text = oGy_BadReasonList.txtHBadReason.Text;
|
| | | txtHCheckerResult.Text = "";
|
| | | txtHCheckerResult.Text = oGy_BadReasonList.txtHBadReason.Text;
|
| | | if (SaveBadReasonBill())
|
| | | {
|
| | | MessageBox.Show("ä¿åä¸è¯åå æåï¼");
|
| | |
| | | {
|
| | | txtHReasonList.Text = "";
|
| | | txtHReasonList.Text = oGy_BadReasonList.txtHBadReason.Text;
|
| | | txtHCheckerResult.Text = "";
|
| | | txtHCheckerResult.Text = oGy_BadReasonList.txtHBadReason.Text;
|
| | | oGy_BadReasonList = null;
|
| | | if (SaveBill("SaveDown"))
|
| | | {
|
| | |
| | | this.label12 = new System.Windows.Forms.Label(); |
| | | this.button4 = new System.Windows.Forms.Button(); |
| | | this.timer3 = new System.Windows.Forms.Timer(this.components); |
| | | this.txtHCheckerResult = new System.Windows.Forms.TextBox(); |
| | | this.label33 = new System.Windows.Forms.Label(); |
| | | this.Tool.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdEmp)).BeginInit(); |
| | | this.groupBox4.SuspendLayout(); |
| | | this.panel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); |
| | | this.splitContainer1.Panel1.SuspendLayout(); |
| | | this.splitContainer1.Panel2.SuspendLayout(); |
| | | this.splitContainer1.SuspendLayout(); |
| | |
| | | // tabPage4 |
| | | // |
| | | this.tabPage4.BackColor = System.Drawing.Color.Lavender; |
| | | this.tabPage4.Controls.Add(this.label33); |
| | | this.tabPage4.Controls.Add(this.txtHCheckerResult); |
| | | this.tabPage4.Controls.Add(this.label15); |
| | | this.tabPage4.Controls.Add(this.cmbHOrgID); |
| | | this.tabPage4.Controls.Add(this.label3); |
| | |
| | | this.timer3.Interval = 300; |
| | | this.timer3.Tick += new System.EventHandler(this.timer3_Tick); |
| | | // |
| | | // txtHCheckerResult |
| | | // |
| | | this.txtHCheckerResult.Font = new System.Drawing.Font("å®ä½", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHCheckerResult.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHCheckerResult.Location = new System.Drawing.Point(795, 96); |
| | | this.txtHCheckerResult.Name = "txtHCheckerResult"; |
| | | this.txtHCheckerResult.ReadOnly = true; |
| | | this.txtHCheckerResult.Size = new System.Drawing.Size(166, 30); |
| | | this.txtHCheckerResult.TabIndex = 151; |
| | | // |
| | | // label33 |
| | | // |
| | | this.label33.AutoSize = true; |
| | | this.label33.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label33.ForeColor = System.Drawing.Color.Black; |
| | | this.label33.Location = new System.Drawing.Point(714, 102); |
| | | this.label33.Name = "label33"; |
| | | this.label33.Size = new System.Drawing.Size(72, 16); |
| | | this.label33.TabIndex = 152; |
| | | this.label33.Text = "ä¸è¯æ¸
å"; |
| | | // |
| | | // Sc_ICMOReportToBarCode |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | |
| | | this.panel1.ResumeLayout(false); |
| | | this.splitContainer1.Panel1.ResumeLayout(false); |
| | | this.splitContainer1.Panel2.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); |
| | | this.splitContainer1.ResumeLayout(false); |
| | | this.tabControl1.ResumeLayout(false); |
| | | this.tabPage1.ResumeLayout(false); |
| | |
| | | private System.Windows.Forms.TextBox txtHEmpID3; |
| | | private System.Windows.Forms.Button cmdZero; |
| | | private System.Windows.Forms.Button cmdSaveAndDown2; |
| | | private System.Windows.Forms.Label label33; |
| | | private System.Windows.Forms.TextBox txtHCheckerResult; |
| | | } |
| | | } |
| | |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
| | | <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
| | | <data name="Tool.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | /9j/4AAQSkZJRgABAQEASABIAAD/4QSARXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUAAAAB |
| | |
| | | AAAASUVORK5CYII= |
| | | </value> |
| | | </data> |
| | | <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>102, 16</value> |
| | | </metadata> |
| | | <metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>191, 16</value> |
| | | </metadata> |
| | | <data name="cmdHEmp3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | |
| | | FIYcEAA7 |
| | | </value> |
| | | </data> |
| | | <metadata name="timer3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="timer3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>292, 16</value> |
| | | </metadata> |
| | | <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>39</value> |
| | | </metadata> |
| | | </root> |
| | |
| | | public const Int16 HJiaYeLXCol = 71; |
| | | public const Int16 HJiaYeLCol = 72; |
| | | public const Int16 POOrderBillNoCol = 73; |
| | | public const Int16 HMaker = 74; |
| | | |
| | | public Int16 HSelectCol = 0; |
| | | public Int16 HSno2Col = 1; |
| | |
| | | { |
| | | grdMain.RowCount = 0; |
| | | grdSub.RowCount = 0; |
| | | grdMain.ColumnCount = 75; //æ»åæ° |
| | | grdMain.ColumnCount = 74; //æ»åæ° |
| | | ClsPub1.initGridFst(grdMain, this.Name); |
| | | grdMain.Columns[HSnoCol].HeaderText = "åºå·"; |
| | | grdMain.Columns[HMainIDCol].HeaderText = "æºå主ID"; |
| | |
| | | grdMain.Columns[HJiaYeLXCol].HeaderText = "å¶å·æ¶²ç±»å"; |
| | | grdMain.Columns[HJiaYeLCol].HeaderText = "å æ¶²é"; |
| | | grdMain.Columns[POOrderBillNoCol].HeaderText = "éè´è®¢åå·"; |
| | | grdMain.Columns[HMaker].HeaderText = "å¶å人"; |
| | | //// |
| | | //æ ¼å¼å éèå |
| | | grdMain.Columns[HTagCol].Visible = false; |
| | |
| | | grdMain.Rows[i].Cells[HRemarkCol].Value = oTable.Rows[0]["夿³¨"].ToString(); |
| | | grdMain.Rows[i].Cells[HMTONoCol].Value = oTable.Rows[0]["计åè·è¸ªå·"].ToString(); |
| | | grdMain.Rows[i].Cells[HMinQtyCol].Value = oTable.Rows[0]["æå°å
è£
æ°"].ToString(); |
| | | grdMain.Rows[i].Cells[HMaker].Value = ClsPub.CurUserName; |
| | | |
| | | if (CampanyName == "å£é¾") //ç³»ç»åæ° å®¢æ·å®å¶ååç§° |
| | | { |
| | |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | </root> |