| SCM/公用类/Cls_S_Xt_BaseBill.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| SCM/条码打印/Gy_BarCodeBill.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| SCM/条码打印/Gy_BarCodeBill.designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| SCM/条码打印/Gy_BarCodeBill_XiYiJi.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| SCM/条码打印/Gy_BarCodeBill_XiYiJi.designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
SCM/¹«ÓÃÀà/Cls_S_Xt_BaseBill.cs
@@ -24,7 +24,8 @@ public string sOrderSql2 = ""; public string sKeyCol2 = ""; public string sShowItemSql2 = ""; public frmHlpBillList oFrm = new frmHlpBillList(); public frmHlpBillList oFrm; //public frmHlpBillList oFrm = new frmHlpBillList(); public List<DBUtility.BillSelect> oBillSelectColl = new List<DBUtility.BillSelect>(); //public List<DBUtility.BillSelect_A3> oBillSelectColl2 = new List<DBUtility.BillSelect_A3>(); // @@ -240,6 +241,7 @@ tSQL = sWhere + sCondtion + sOrderSql; try { oFrm = new frmHlpBillList(); oFrm.sPrimaryCol = sKeyCol; oFrm.Text = mvarReportTitle; oFrm.lblCaption.Text = mvarReportTitle; @@ -280,6 +282,55 @@ return true; } //æ ¹æ®æºåå· æ¨¡ææ¥è¯¢æ°æ® /// <summary> /// æ¾ç¤ºæ°æ® /// </summary> /// <param name="sWhere">主SQL</param> /// <param name="sCondtion">è¿æ»¤æ¡ä»¶</param> /// <param name="sOrderSql">æåºæ¡ä»¶</param> /// <param name="sKeyCol">ä¸å¯éå¤å</param> /// <returns></returns> public virtual bool RefreshBySourceBillNo(string sWhere) { string sErr = ""; string tSQL; //ClsCN oCn = new ClsCN(); tSQL = " select hmainid,hsubid,åæ®å· from " + ViewName + sWhere + sOrderSql; try { oWeb.Url = SCM.ClsPub1.WEBSURL; DataSet ds = oWeb.getDataSetBySQL(tSQL, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); if (ds == null || ds.Tables[0].Rows.Count == 0) { return false; } //è¿åæ°æ®å°éåä¸ oBillSelectColl.Clear(); //å¾ªç¯ éä¸è¡ for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { BillSelect oSelect = new BillSelect(); oSelect.BillNo = ClsPub.isStrNull(ds.Tables[0].Rows[i]["åæ®å·"]); oSelect.BillMainID = ClsPub.isLong(ds.Tables[0].Rows[i]["hmainid"]); oSelect.BillSubID = ClsPub.isLong(ds.Tables[0].Rows[i]["hsubid"]); oSelect.BillTitle = mvarReportTitle; oSelect.BillType = mvarItemKey; oBillSelectColl.Add(oSelect); } // if (oBillSelectColl.Count > 0) return true; else return false; } catch (Exception e) { sErr = e.Message; } return true; } //æ¾ç¤ºæ°æ®2 /// <summary> @@ -299,6 +350,7 @@ tSQL = sWhere + sCondtion2 + sOrderSql2; try { oFrm = new frmHlpBillList(); oFrm.sPrimaryCol = sKeyCol2; oFrm.Text = mvarReportTitle2; oFrm.lblCaption.Text = mvarReportTitle2; @@ -448,6 +500,7 @@ tSQL = sWhere + sCondtion + sOrderSql; try { oFrm = new frmHlpBillList(); oFrm.sPrimaryCol = sKeyCol; oFrm.Text = mvarReportTitle; oFrm.lblCaption.Text = mvarReportTitle; SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill.cs
@@ -3478,5 +3478,91 @@ } private void txtHSourceBillNo_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Return)//åè½¦å¸¦åºæºåä¿¡æ¯ { long sHOrgID = -1; string sWhere = ""; sHOrgID = oWeb.get_ORGANIZATIONSIDByName(cmbHOrgID.Text); if (sHOrgID == -1) { MessageBox.Show("éæ©ç»ç»æé误ï¼"); return; } if (txtHSourceBillNo.Text.Length < 4) { MessageBox.Show("请è¾å ¥4ä½ä»¥ä¸æ°æ®ï¼"); return; } //æ ¹æ®æºåç±»å åæºåå· è·åä¿¡æ¯ if (cmbSourceBillType.Text.Trim() == "ç产订å") { SCM.Cls_S_IFCLD_ICMOList oIFCLD_ICMOList = new SCM.Cls_S_IFCLD_ICMOList(); if (oIFCLD_ICMOList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIFCLD_ICMOList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else if (cmbSourceBillType.Text.Trim() == "æ¶æéç¥å") { SCM.Cls_S_IF_POInStockBillList oIF_POInStockBillList = new SCM.Cls_S_IF_POInStockBillList(); if (oIF_POInStockBillList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIF_POInStockBillList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else if (cmbSourceBillType.Text.Trim() == "éè´è®¢å") { SCM.Cls_S_IF_POOrderBillList oIF_POOrderBillList = new SCM.Cls_S_IF_POOrderBillList(); if (oIF_POOrderBillList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIF_POOrderBillList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else if (cmbSourceBillType.Text.Trim() == "å§å¤è®¢å") { SCM.Cls_S_IF_EntrustOrderBillList oIF_EntrustOrderBillList = new SCM.Cls_S_IF_EntrustOrderBillList(); if (oIF_EntrustOrderBillList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIF_EntrustOrderBillList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else { } } } } } SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill.designer.cs
@@ -33,6 +33,7 @@ this.Tool = new System.Windows.Forms.ToolStrip(); this.dy = new System.Windows.Forms.ToolStripButton(); this.yl = new System.Windows.Forms.ToolStripButton(); this.sdy = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.spRow = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); @@ -68,7 +69,7 @@ this.label1 = new System.Windows.Forms.Label(); this.cmdHEmpID = new System.Windows.Forms.Button(); this.cmdSourceBillNo = new System.Windows.Forms.Button(); this.textBox2 = new System.Windows.Forms.TextBox(); this.txtHSourceBillNo = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.cmbSourceBillType = new System.Windows.Forms.ComboBox(); this.label10 = new System.Windows.Forms.Label(); @@ -106,7 +107,6 @@ this.grdSub = new System.Windows.Forms.DataGridView(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.grdList = new System.Windows.Forms.DataGridView(); this.sdy = new System.Windows.Forms.ToolStripButton(); this.Tool.SuspendLayout(); this.P1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit(); @@ -189,6 +189,20 @@ this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.yl.Click += new System.EventHandler(this.yl_Click); // // sdy // this.sdy.AutoSize = false; this.sdy.Image = ((System.Drawing.Image)(resources.GetObject("sdy.Image"))); this.sdy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sdy.ImageTransparentColor = System.Drawing.Color.White; this.sdy.Name = "sdy"; this.sdy.Size = new System.Drawing.Size(50, 47); this.sdy.Text = "è¯æå°"; this.sdy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sdy.Click += new System.EventHandler(this.sdy_Click); // // toolStripSeparator2 // @@ -446,7 +460,7 @@ this.gbUp.Controls.Add(this.label1); this.gbUp.Controls.Add(this.cmdHEmpID); this.gbUp.Controls.Add(this.cmdSourceBillNo); this.gbUp.Controls.Add(this.textBox2); this.gbUp.Controls.Add(this.txtHSourceBillNo); this.gbUp.Controls.Add(this.label14); this.gbUp.Controls.Add(this.cmbSourceBillType); this.gbUp.Controls.Add(this.label10); @@ -479,7 +493,7 @@ // this.dtpHDate.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpHDate.Location = new System.Drawing.Point(676, 17); this.dtpHDate.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.dtpHDate.Margin = new System.Windows.Forms.Padding(2); this.dtpHDate.Name = "dtpHDate"; this.dtpHDate.Size = new System.Drawing.Size(188, 21); this.dtpHDate.TabIndex = 94; @@ -555,13 +569,14 @@ this.cmdSourceBillNo.UseVisualStyleBackColor = true; this.cmdSourceBillNo.Click += new System.EventHandler(this.cmdSourceBillNo_Click); // // textBox2 // txtHSourceBillNo // this.textBox2.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.textBox2.Location = new System.Drawing.Point(394, 46); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(166, 21); this.textBox2.TabIndex = 41; this.txtHSourceBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.txtHSourceBillNo.Location = new System.Drawing.Point(394, 46); this.txtHSourceBillNo.Name = "txtHSourceBillNo"; this.txtHSourceBillNo.Size = new System.Drawing.Size(166, 21); this.txtHSourceBillNo.TabIndex = 41; this.txtHSourceBillNo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtHSourceBillNo_KeyPress); // // label14 // @@ -918,7 +933,7 @@ this.tabPage1.Controls.Add(this.grdMain); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(929, 343); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "ç©æä¿¡æ¯"; @@ -929,7 +944,7 @@ this.tabPage2.Controls.Add(this.grdSub); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(929, 343); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "æ¡ç ä¿¡æ¯"; @@ -958,7 +973,7 @@ // this.tabPage3.Controls.Add(this.grdList); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.tabPage3.Margin = new System.Windows.Forms.Padding(2); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(929, 343); this.tabPage3.TabIndex = 2; @@ -981,20 +996,6 @@ this.grdList.RowTemplate.Height = 23; this.grdList.Size = new System.Drawing.Size(929, 343); this.grdList.TabIndex = 46; // // sdy // this.sdy.AutoSize = false; this.sdy.Image = ((System.Drawing.Image)(resources.GetObject("sdy.Image"))); this.sdy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sdy.ImageTransparentColor = System.Drawing.Color.White; this.sdy.Name = "sdy"; this.sdy.Size = new System.Drawing.Size(50, 47); this.sdy.Text = "è¯æå°"; this.sdy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sdy.Click += new System.EventHandler(this.sdy_Click); // // Gy_BarCodeBill // @@ -1080,7 +1081,7 @@ private System.Windows.Forms.Label label10; private System.Windows.Forms.ComboBox cmbSourceBillType; private System.Windows.Forms.Button cmdSourceBillNo; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox txtHSourceBillNo; private System.Windows.Forms.Label label14; private System.Windows.Forms.ToolStripButton tc; private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill_XiYiJi.cs
@@ -45,55 +45,56 @@ public const Int16 HCusModelCol = 24; public const Int16 HBarCodePrefixCol = 25; public const Int16 HBarCodeISNCol = 26; public const Int16 HQtyCol = 27; public const Int16 HMinQtyCol = 28; public const Int16 HBQtyCol = 29; public const Int16 HLogoCol = 30; public const Int16 HDeptIDCol = 31; public const Int16 HDeptNumberCol = 32; public const Int16 HDeptNameCol = 33; public const Int16 HSourceIDCol = 34; public const Int16 HSourceNumberCol = 35; public const Int16 HSourceNameCol = 36; public const Int16 HDateCol = 37; public const Int16 HBeginDateCol = 38; public const Int16 HEndDateCol = 39; public const Int16 HSupIDCol = 40; public const Int16 HSupNumberCol = 41; public const Int16 HSupNameCol = 42; public const Int16 HCusIDCol = 43; public const Int16 HCusNumberCol = 44; public const Int16 HCusNameCol = 45; public const Int16 HCusTypeCol = 46; public const Int16 HSourceInterIDCol = 47; public const Int16 HSourceEntryIDCol = 48; public const Int16 HSourceBillNoCol = 49; public const Int16 HSourceBillTypeCol = 50; public const Int16 HInstructIDCol = 51; public const Int16 HInstructNoCol = 52; public const Int16 HSeOrderBillIDCol = 53; public const Int16 HSeOrderBillNoCol = 54; public const Int16 HCustomBatchNoCol = 55; public const Int16 HWhIDCol = 56; public const Int16 HWhNumberCol = 57; public const Int16 HWhNameCol = 58; public const Int16 HSPIDCol = 59; public const Int16 HSPNumberCol = 60; public const Int16 HSPNameCol = 61; public const Int16 HinitQtyCol = 62; public const Int16 HRemarkCol = 63; public const Int16 HPinfanBarCodeCol = 64; public const Int16 HMTONoCol = 65; public const Int16 HColorCol = 66; public const Int16 HPressModelCol = 67; public const Int16 HJiaYeCol = 68; public const Int16 HPackageSizeCol = 69; public const Int16 HJQtyCol = 70; public const Int16 HMQtyCol = 71; public const Int16 HGBBarCodeCol = 72; public const Int16 HJiaYeLXCol = 73; public const Int16 HJiaYeLCol = 74; public const Int16 POOrderBillNoCol = 75; public const Int16 HCustomCol = 27; public const Int16 HQtyCol = 28; public const Int16 HMinQtyCol = 29; public const Int16 HBQtyCol = 30; public const Int16 HLogoCol = 31; public const Int16 HDeptIDCol = 32; public const Int16 HDeptNumberCol = 33; public const Int16 HDeptNameCol = 34; public const Int16 HSourceIDCol = 35; public const Int16 HSourceNumberCol = 36; public const Int16 HSourceNameCol = 37; public const Int16 HDateCol = 38; public const Int16 HBeginDateCol = 39; public const Int16 HEndDateCol = 40; public const Int16 HSupIDCol = 41; public const Int16 HSupNumberCol = 42; public const Int16 HSupNameCol = 43; public const Int16 HCusIDCol = 44; public const Int16 HCusNumberCol = 45; public const Int16 HCusNameCol = 46; public const Int16 HCusTypeCol = 47; public const Int16 HSourceInterIDCol = 48; public const Int16 HSourceEntryIDCol = 49; public const Int16 HSourceBillNoCol = 50; public const Int16 HSourceBillTypeCol = 51; public const Int16 HInstructIDCol = 52; public const Int16 HInstructNoCol = 53; public const Int16 HSeOrderBillIDCol = 54; public const Int16 HSeOrderBillNoCol = 55; public const Int16 HCustomBatchNoCol = 56; public const Int16 HWhIDCol = 57; public const Int16 HWhNumberCol = 58; public const Int16 HWhNameCol = 59; public const Int16 HSPIDCol = 60; public const Int16 HSPNumberCol = 61; public const Int16 HSPNameCol = 62; public const Int16 HinitQtyCol = 63; public const Int16 HRemarkCol = 64; public const Int16 HPinfanBarCodeCol = 65; public const Int16 HMTONoCol = 66; public const Int16 HColorCol = 67; public const Int16 HPressModelCol = 68; public const Int16 HJiaYeCol = 69; public const Int16 HPackageSizeCol = 70; public const Int16 HJQtyCol = 71; public const Int16 HMQtyCol = 72; public const Int16 HGBBarCodeCol = 73; public const Int16 HJiaYeLXCol = 74; public const Int16 HJiaYeLCol = 75; public const Int16 POOrderBillNoCol = 76; public Int16 HSelectCol = 0; public Int16 HSno2Col = 1; @@ -739,7 +740,7 @@ if (cmbHBarCodeType.Text == "å¯ä¸æ¡ç ") { //æ¡ç ç¼å· = æ¡ç åç¼ + æµæ°´å· TM = sTMNumber + LSH2; TM = sTMNumber + LSH2+ ClsPub.isStrNull(grdMain.Rows[j].Cells[HCustomCol].Value); } if (i + 1 > grdSub.Rows.Count) @@ -1013,7 +1014,7 @@ { grdMain.RowCount = 0; grdSub.RowCount = 0; grdMain.ColumnCount = 76; //æ»åæ° grdMain.ColumnCount = 77; //æ»åæ° ClsPub1.initGridFst(grdMain, this.Name); grdMain.Columns[HSnoCol].HeaderText = "åºå·"; grdMain.Columns[HMainIDCol].HeaderText = "æºå主ID"; @@ -1083,6 +1084,7 @@ grdMain.Columns[POOrderBillNoCol].HeaderText = "éè´è®¢åå·"; grdMain.Columns[HBarCodePrefixCol].HeaderText = "æ¡ç åç¼"; grdMain.Columns[HBarCodeISNCol].HeaderText = "èµ·å§åºå·"; grdMain.Columns[HCustomCol].HeaderText = "èªå®ä¹å段"; //// //æ ¼å¼å éèå grdMain.Columns[HTagCol].Visible = false; @@ -1170,6 +1172,7 @@ "," + HGBBarCodeCol.ToString() + "," + HBarCodePrefixCol.ToString() + "," + HBarCodeISNCol.ToString() + "," + HCustomCol.ToString() + "," + HRemarkCol.ToString(); //设置å计å string sTotalCol = HQtyCol.ToString(); @@ -1866,6 +1869,7 @@ "," + HGBBarCodeCol.ToString() + "," + HBarCodePrefixCol.ToString() + "," + HBarCodeISNCol.ToString() + "," + HCustomCol.ToString() + "," + HMinQtyCol.ToString(); grdMain.Columns[HBillNoCol].ReadOnly = true; //设置å计å @@ -2482,8 +2486,91 @@ } private void txtHSourceBillNo_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Return)//åè½¦å¸¦åºæºåä¿¡æ¯ { long sHOrgID = -1; string sWhere = ""; sHOrgID = oWeb.get_ORGANIZATIONSIDByName(cmbHOrgID.Text); if (sHOrgID == -1) { MessageBox.Show("éæ©ç»ç»æé误ï¼"); return; } if (txtHSourceBillNo.Text.Length < 4) { MessageBox.Show("请è¾å ¥4ä½ä»¥ä¸æ°æ®ï¼"); return; } //æ ¹æ®æºåç±»å åæºåå· è·åä¿¡æ¯ if (cmbSourceBillType.Text.Trim() == "ç产订å") { SCM.Cls_S_IFCLD_ICMOList oIFCLD_ICMOList = new SCM.Cls_S_IFCLD_ICMOList(); if (oIFCLD_ICMOList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIFCLD_ICMOList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else if (cmbSourceBillType.Text.Trim() == "æ¶æéç¥å") { SCM.Cls_S_IF_POInStockBillList oIF_POInStockBillList = new SCM.Cls_S_IF_POInStockBillList(); if (oIF_POInStockBillList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIF_POInStockBillList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else if (cmbSourceBillType.Text.Trim() == "éè´è®¢å") { SCM.Cls_S_IF_POOrderBillList oIF_POOrderBillList = new SCM.Cls_S_IF_POOrderBillList(); if (oIF_POOrderBillList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIF_POOrderBillList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else if (cmbSourceBillType.Text.Trim() == "å§å¤è®¢å") { SCM.Cls_S_IF_EntrustOrderBillList oIF_EntrustOrderBillList = new SCM.Cls_S_IF_EntrustOrderBillList(); if (oIF_EntrustOrderBillList.RefreshBySourceBillNo(" Where åæ®å· like '%" + txtHSourceBillNo.Text + "' and HOrgID =" + sHOrgID.ToString())) //éæ©åå { FillSelectData(oIF_EntrustOrderBillList.oBillSelectColl); txtHSourceBillNo.Text = ""; } else { MessageBox.Show("æ æ¥è¯¢å°ç¬¦åæ¡ä»¶çæºåä¿¡æ¯ï¼"); initGrid(); return; } } else { } } } } } SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill_XiYiJi.designer.cs
@@ -33,6 +33,7 @@ this.Tool = new System.Windows.Forms.ToolStrip(); this.dy = new System.Windows.Forms.ToolStripButton(); this.yl = new System.Windows.Forms.ToolStripButton(); this.sdy = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.spRow = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); @@ -66,7 +67,7 @@ this.label1 = new System.Windows.Forms.Label(); this.cmdHEmpID = new System.Windows.Forms.Button(); this.cmdSourceBillNo = new System.Windows.Forms.Button(); this.textBox2 = new System.Windows.Forms.TextBox(); this.txtHSourceBillNo = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.cmbSourceBillType = new System.Windows.Forms.ComboBox(); this.label10 = new System.Windows.Forms.Label(); @@ -104,7 +105,6 @@ this.grdSub = new System.Windows.Forms.DataGridView(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.grdList = new System.Windows.Forms.DataGridView(); this.sdy = new System.Windows.Forms.ToolStripButton(); this.Tool.SuspendLayout(); this.P1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit(); @@ -187,6 +187,20 @@ this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.yl.Click += new System.EventHandler(this.yl_Click); // // sdy // this.sdy.AutoSize = false; this.sdy.Image = ((System.Drawing.Image)(resources.GetObject("sdy.Image"))); this.sdy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sdy.ImageTransparentColor = System.Drawing.Color.White; this.sdy.Name = "sdy"; this.sdy.Size = new System.Drawing.Size(50, 47); this.sdy.Text = "è¯æå°"; this.sdy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sdy.Click += new System.EventHandler(this.sdy_Click); // // toolStripSeparator2 // @@ -442,7 +456,7 @@ this.gbUp.Controls.Add(this.label1); this.gbUp.Controls.Add(this.cmdHEmpID); this.gbUp.Controls.Add(this.cmdSourceBillNo); this.gbUp.Controls.Add(this.textBox2); this.gbUp.Controls.Add(this.txtHSourceBillNo); this.gbUp.Controls.Add(this.label14); this.gbUp.Controls.Add(this.cmbSourceBillType); this.gbUp.Controls.Add(this.label10); @@ -532,13 +546,14 @@ this.cmdSourceBillNo.UseVisualStyleBackColor = true; this.cmdSourceBillNo.Click += new System.EventHandler(this.cmdSourceBillNo_Click); // // textBox2 // txtHSourceBillNo // this.textBox2.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.textBox2.Location = new System.Drawing.Point(394, 46); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(166, 21); this.textBox2.TabIndex = 41; this.txtHSourceBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.txtHSourceBillNo.Location = new System.Drawing.Point(394, 46); this.txtHSourceBillNo.Name = "txtHSourceBillNo"; this.txtHSourceBillNo.Size = new System.Drawing.Size(166, 21); this.txtHSourceBillNo.TabIndex = 41; this.txtHSourceBillNo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtHSourceBillNo_KeyPress); // // label14 // @@ -959,20 +974,6 @@ this.grdList.Size = new System.Drawing.Size(929, 343); this.grdList.TabIndex = 46; // // sdy // this.sdy.AutoSize = false; this.sdy.Image = ((System.Drawing.Image)(resources.GetObject("sdy.Image"))); this.sdy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.sdy.ImageTransparentColor = System.Drawing.Color.White; this.sdy.Name = "sdy"; this.sdy.Size = new System.Drawing.Size(50, 47); this.sdy.Text = "è¯æå°"; this.sdy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.sdy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.sdy.Click += new System.EventHandler(this.sdy_Click); // // Gy_BarCodeBill_XiYiJi // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -1057,7 +1058,7 @@ private System.Windows.Forms.Label label10; private System.Windows.Forms.ComboBox cmbSourceBillType; private System.Windows.Forms.Button cmdSourceBillNo; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.TextBox txtHSourceBillNo; private System.Windows.Forms.Label label14; private System.Windows.Forms.ToolStripButton tc; private System.Windows.Forms.ToolStripSeparator toolStripSeparator12;