Frm_StuffMove.cs 65 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172
  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using Core.Mes.ClientFrameWork;
  7. using Core.Mes.IBaseInterface;
  8. using System.Data;
  9. namespace Core.XgMes.Client.JGKC.RollManager
  10. {
  11. /// <summary>
  12. /// Frm_StuffMove 的摘要说明。
  13. /// </summary>
  14. public class Frm_StuffMove : Mes.ClientFrameWork.FrmBase
  15. {
  16. private System.Windows.Forms.Panel panel1;
  17. private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
  18. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
  19. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
  20. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
  21. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
  22. private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
  23. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
  24. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
  25. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ON;
  26. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ON;
  27. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
  28. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PackNo;
  29. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_YButtress;
  30. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
  31. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Area;
  32. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Area;
  33. private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
  34. private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
  35. private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
  36. private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
  37. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Ramk;
  38. private Infragistics.Win.Misc.UltraLabel ultraLabel7;
  39. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BuressMove;
  40. private Infragistics.Win.Misc.UltraLabel ultraLabel6;
  41. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_AreaC;
  42. private Infragistics.Win.Misc.UltraLabel ultraLabel5;
  43. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Stream;
  44. private Infragistics.Win.Misc.UltraLabel ultraLabel4;
  45. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Oreder;
  46. private Infragistics.Win.Misc.UltraLabel ultraLabel3;
  47. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_B;
  48. private Infragistics.Win.Misc.UltraLabel ultraLabel2;
  49. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangpeiH;
  50. private Infragistics.Win.Misc.UltraLabel ultraLabel1;
  51. private Infragistics.Win.UltraWinGrid.UltraGrid gb_Stuff;
  52. private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
  53. private System.ComponentModel.IContainer components;
  54. public Frm_StuffMove()
  55. {
  56. //
  57. // Windows 窗体设计器支持所必需的
  58. //
  59. InitializeComponent();
  60. //
  61. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  62. //
  63. }
  64. /// <summary>
  65. /// 清理所有正在使用的资源。
  66. /// </summary>
  67. protected override void Dispose( bool disposing )
  68. {
  69. if( disposing )
  70. {
  71. if(components != null)
  72. {
  73. components.Dispose();
  74. }
  75. }
  76. base.Dispose( disposing );
  77. }
  78. #region Windows 窗体设计器生成的代码
  79. /// <summary>
  80. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  81. /// 此方法的内容。
  82. /// </summary>
  83. private void InitializeComponent()
  84. {
  85. this.components = new System.ComponentModel.Container();
  86. Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
  87. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TZ");
  88. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
  89. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
  90. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
  91. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
  92. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
  93. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TZ");
  94. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
  95. Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
  96. Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
  97. Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
  98. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
  99. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
  100. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
  101. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
  102. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
  103. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
  104. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
  105. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
  106. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
  107. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
  108. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
  109. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
  110. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
  111. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
  112. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
  113. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
  114. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
  115. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("HTDW");
  116. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
  117. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
  118. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG", 2);
  119. Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
  120. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 9, true);
  121. Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
  122. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings6 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 10, true);
  123. Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
  124. Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
  125. Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
  126. Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
  127. Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
  128. Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
  129. Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
  130. Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
  131. Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
  132. Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
  133. Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
  134. Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
  135. Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
  136. Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
  137. Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
  138. this.panel1 = new System.Windows.Forms.Panel();
  139. this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  140. this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
  141. this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  142. this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  143. this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  144. this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  145. this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
  146. this.cmb_Area = new Infragistics.Win.UltraWinGrid.UltraCombo();
  147. this.chk_Area = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  148. this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  149. this.txt_ON = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  150. this.chk_ON = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  151. this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  152. this.chk_PackNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  153. this.chk_YButtress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  154. this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
  155. this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
  156. this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
  157. this.txt_Ramk = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  158. this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
  159. this.cmb_BuressMove = new Infragistics.Win.UltraWinGrid.UltraCombo();
  160. this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
  161. this.cmb_AreaC = new Infragistics.Win.UltraWinGrid.UltraCombo();
  162. this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
  163. this.cmb_Stream = new Infragistics.Win.UltraWinGrid.UltraCombo();
  164. this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
  165. this.cmb_Oreder = new Infragistics.Win.UltraWinGrid.UltraCombo();
  166. this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
  167. this.cmb_B = new Infragistics.Win.UltraWinGrid.UltraCombo();
  168. this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
  169. this.txt_GangpeiH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  170. this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
  171. this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
  172. this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
  173. this.gb_Stuff = new Infragistics.Win.UltraWinGrid.UltraGrid();
  174. this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
  175. this.panel1.SuspendLayout();
  176. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
  177. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
  178. this.ultraGroupBox1.SuspendLayout();
  179. ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).BeginInit();
  180. ((System.ComponentModel.ISupportInitialize)(this.txt_ON)).BeginInit();
  181. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
  182. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
  183. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
  184. this.ultraExpandableGroupBox1.SuspendLayout();
  185. this.ultraExpandableGroupBoxPanel1.SuspendLayout();
  186. ((System.ComponentModel.ISupportInitialize)(this.txt_Ramk)).BeginInit();
  187. ((System.ComponentModel.ISupportInitialize)(this.cmb_BuressMove)).BeginInit();
  188. ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaC)).BeginInit();
  189. ((System.ComponentModel.ISupportInitialize)(this.cmb_Stream)).BeginInit();
  190. ((System.ComponentModel.ISupportInitialize)(this.cmb_Oreder)).BeginInit();
  191. ((System.ComponentModel.ISupportInitialize)(this.cmb_B)).BeginInit();
  192. ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).BeginInit();
  193. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
  194. this.ultraExpandableGroupBox2.SuspendLayout();
  195. this.ultraExpandableGroupBoxPanel2.SuspendLayout();
  196. ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).BeginInit();
  197. this.SuspendLayout();
  198. //
  199. // panel1
  200. //
  201. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
  202. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
  203. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
  204. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
  205. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  206. this.panel1.Location = new System.Drawing.Point(0, 0);
  207. this.panel1.Name = "panel1";
  208. this.panel1.Size = new System.Drawing.Size(840, 30);
  209. this.panel1.TabIndex = 0;
  210. //
  211. // _panel1_Toolbars_Dock_Area_Left
  212. //
  213. this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  214. this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  215. this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
  216. this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
  217. this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 52);
  218. this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
  219. this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
  220. this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
  221. //
  222. // ultraToolbarsManager1
  223. //
  224. this.ultraToolbarsManager1.DesignerFlags = 1;
  225. this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
  226. this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
  227. this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
  228. ultraToolbar1.DockedColumn = 0;
  229. ultraToolbar1.DockedRow = 0;
  230. ultraToolbar1.Text = "工具栏";
  231. buttonTool1.InstanceProps.IsFirstInGroup = true;
  232. buttonTool2.InstanceProps.IsFirstInGroup = true;
  233. buttonTool3.InstanceProps.IsFirstInGroup = true;
  234. buttonTool4.InstanceProps.IsFirstInGroup = true;
  235. ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  236. buttonTool1,
  237. buttonTool2,
  238. buttonTool3,
  239. buttonTool4});
  240. this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
  241. ultraToolbar1});
  242. this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
  243. buttonTool5.SharedProps.Caption = "关闭";
  244. buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  245. buttonTool6.SharedProps.Caption = "查询";
  246. buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  247. buttonTool7.SharedProps.Caption = "调整";
  248. buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  249. buttonTool8.SharedProps.Caption = "导出";
  250. buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  251. this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  252. buttonTool5,
  253. buttonTool6,
  254. buttonTool7,
  255. buttonTool8});
  256. this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
  257. //
  258. // _panel1_Toolbars_Dock_Area_Right
  259. //
  260. this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  261. this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  262. this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
  263. this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
  264. this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(840, 52);
  265. this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
  266. this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
  267. this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
  268. //
  269. // _panel1_Toolbars_Dock_Area_Top
  270. //
  271. this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  272. this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  273. this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
  274. this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
  275. this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
  276. this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
  277. this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(840, 52);
  278. this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
  279. //
  280. // _panel1_Toolbars_Dock_Area_Bottom
  281. //
  282. this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  283. this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  284. this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
  285. this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
  286. this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 30);
  287. this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
  288. this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(840, 0);
  289. this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
  290. //
  291. // ultraCheckEditor1
  292. //
  293. this.ultraCheckEditor1.Location = new System.Drawing.Point(114, 47);
  294. this.ultraCheckEditor1.Name = "ultraCheckEditor1";
  295. this.ultraCheckEditor1.Size = new System.Drawing.Size(60, 16);
  296. this.ultraCheckEditor1.TabIndex = 0;
  297. //
  298. // ultraGroupBox1
  299. //
  300. this.ultraGroupBox1.Controls.Add(this.cmb_Area);
  301. this.ultraGroupBox1.Controls.Add(this.chk_Area);
  302. this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
  303. this.ultraGroupBox1.Controls.Add(this.txt_ON);
  304. this.ultraGroupBox1.Controls.Add(this.chk_ON);
  305. this.ultraGroupBox1.Controls.Add(this.txt_PlanNO);
  306. this.ultraGroupBox1.Controls.Add(this.chk_PackNo);
  307. this.ultraGroupBox1.Controls.Add(this.chk_YButtress);
  308. this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
  309. this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
  310. this.ultraGroupBox1.Location = new System.Drawing.Point(0, 30);
  311. this.ultraGroupBox1.Name = "ultraGroupBox1";
  312. this.ultraGroupBox1.Size = new System.Drawing.Size(840, 54);
  313. this.ultraGroupBox1.SupportThemes = false;
  314. this.ultraGroupBox1.TabIndex = 13;
  315. this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
  316. //
  317. // cmb_Area
  318. //
  319. this.cmb_Area.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  320. this.cmb_Area.DisplayMember = "";
  321. this.cmb_Area.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
  322. this.cmb_Area.Enabled = false;
  323. this.cmb_Area.FlatMode = true;
  324. this.cmb_Area.Location = new System.Drawing.Point(235, 27);
  325. this.cmb_Area.Name = "cmb_Area";
  326. this.cmb_Area.Size = new System.Drawing.Size(106, 19);
  327. this.cmb_Area.TabIndex = 736;
  328. this.cmb_Area.Tag = "";
  329. this.cmb_Area.ValueMember = "";
  330. //
  331. // chk_Area
  332. //
  333. this.chk_Area.FlatMode = true;
  334. this.chk_Area.Location = new System.Drawing.Point(186, 29);
  335. this.chk_Area.Name = "chk_Area";
  336. this.chk_Area.Size = new System.Drawing.Size(48, 16);
  337. this.chk_Area.TabIndex = 735;
  338. this.chk_Area.Text = "区域";
  339. this.chk_Area.CheckedChanged += new System.EventHandler(this.chk_Area_CheckedChanged);
  340. //
  341. // chk_AllowFilter
  342. //
  343. this.chk_AllowFilter.Location = new System.Drawing.Point(352, 7);
  344. this.chk_AllowFilter.Name = "chk_AllowFilter";
  345. this.chk_AllowFilter.Size = new System.Drawing.Size(50, 20);
  346. this.chk_AllowFilter.TabIndex = 734;
  347. this.chk_AllowFilter.TabStop = false;
  348. this.chk_AllowFilter.Text = "过滤";
  349. this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
  350. //
  351. // txt_ON
  352. //
  353. this.txt_ON.AutoSize = true;
  354. this.txt_ON.Enabled = false;
  355. this.txt_ON.FlatMode = true;
  356. this.txt_ON.Location = new System.Drawing.Point(74, 5);
  357. this.txt_ON.Name = "txt_ON";
  358. this.txt_ON.Size = new System.Drawing.Size(110, 19);
  359. this.txt_ON.TabIndex = 733;
  360. //
  361. // chk_ON
  362. //
  363. this.chk_ON.FlatMode = true;
  364. this.chk_ON.Location = new System.Drawing.Point(10, 7);
  365. this.chk_ON.Name = "chk_ON";
  366. this.chk_ON.Size = new System.Drawing.Size(60, 16);
  367. this.chk_ON.TabIndex = 732;
  368. this.chk_ON.Text = "钢卷号";
  369. this.chk_ON.CheckedChanged += new System.EventHandler(this.chk_ON_CheckedChanged);
  370. //
  371. // txt_PlanNO
  372. //
  373. this.txt_PlanNO.AutoSize = true;
  374. this.txt_PlanNO.Enabled = false;
  375. this.txt_PlanNO.FlatMode = true;
  376. this.txt_PlanNO.Location = new System.Drawing.Point(74, 27);
  377. this.txt_PlanNO.Name = "txt_PlanNO";
  378. this.txt_PlanNO.Size = new System.Drawing.Size(110, 19);
  379. this.txt_PlanNO.TabIndex = 731;
  380. //
  381. // chk_PackNo
  382. //
  383. this.chk_PackNo.FlatMode = true;
  384. this.chk_PackNo.Location = new System.Drawing.Point(10, 27);
  385. this.chk_PackNo.Name = "chk_PackNo";
  386. this.chk_PackNo.Size = new System.Drawing.Size(60, 16);
  387. this.chk_PackNo.TabIndex = 730;
  388. this.chk_PackNo.Text = "合同号";
  389. this.chk_PackNo.CheckedChanged += new System.EventHandler(this.chk_PackNo_CheckedChanged);
  390. //
  391. // chk_YButtress
  392. //
  393. this.chk_YButtress.FlatMode = true;
  394. this.chk_YButtress.Location = new System.Drawing.Point(186, 7);
  395. this.chk_YButtress.Name = "chk_YButtress";
  396. this.chk_YButtress.Size = new System.Drawing.Size(48, 16);
  397. this.chk_YButtress.TabIndex = 729;
  398. this.chk_YButtress.Text = "垛位";
  399. this.chk_YButtress.CheckedChanged += new System.EventHandler(this.chk_YButtress_CheckedChanged);
  400. //
  401. // cmb_Buress
  402. //
  403. this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  404. this.cmb_Buress.DisplayMember = "";
  405. this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
  406. this.cmb_Buress.Enabled = false;
  407. this.cmb_Buress.FlatMode = true;
  408. this.cmb_Buress.Location = new System.Drawing.Point(235, 5);
  409. this.cmb_Buress.Name = "cmb_Buress";
  410. this.cmb_Buress.Size = new System.Drawing.Size(106, 19);
  411. this.cmb_Buress.TabIndex = 728;
  412. this.cmb_Buress.Tag = "";
  413. this.cmb_Buress.ValueMember = "";
  414. //
  415. // ultraExpandableGroupBox1
  416. //
  417. this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
  418. this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
  419. this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(968, 76);
  420. this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 380);
  421. this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
  422. this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(840, 76);
  423. this.ultraExpandableGroupBox1.SupportThemes = false;
  424. this.ultraExpandableGroupBox1.TabIndex = 14;
  425. this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
  426. //
  427. // ultraExpandableGroupBoxPanel1
  428. //
  429. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Ramk);
  430. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
  431. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_BuressMove);
  432. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel6);
  433. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_AreaC);
  434. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel5);
  435. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_Stream);
  436. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
  437. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_Oreder);
  438. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel3);
  439. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_B);
  440. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
  441. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GangpeiH);
  442. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
  443. this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  444. this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
  445. this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
  446. this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(836, 54);
  447. this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
  448. //
  449. // txt_Ramk
  450. //
  451. this.txt_Ramk.AutoSize = true;
  452. this.txt_Ramk.FlatMode = true;
  453. this.txt_Ramk.Location = new System.Drawing.Point(550, 8);
  454. this.txt_Ramk.Name = "txt_Ramk";
  455. this.txt_Ramk.Size = new System.Drawing.Size(254, 19);
  456. this.txt_Ramk.TabIndex = 31;
  457. //
  458. // ultraLabel7
  459. //
  460. this.ultraLabel7.Location = new System.Drawing.Point(508, 11);
  461. this.ultraLabel7.Name = "ultraLabel7";
  462. this.ultraLabel7.Size = new System.Drawing.Size(38, 14);
  463. this.ultraLabel7.TabIndex = 30;
  464. this.ultraLabel7.Text = "备注";
  465. //
  466. // cmb_BuressMove
  467. //
  468. this.cmb_BuressMove.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  469. this.cmb_BuressMove.DisplayMember = "";
  470. this.cmb_BuressMove.FlatMode = true;
  471. this.cmb_BuressMove.Location = new System.Drawing.Point(389, 30);
  472. this.cmb_BuressMove.Name = "cmb_BuressMove";
  473. this.cmb_BuressMove.Size = new System.Drawing.Size(112, 19);
  474. this.cmb_BuressMove.TabIndex = 29;
  475. this.cmb_BuressMove.ValueMember = "";
  476. //
  477. // ultraLabel6
  478. //
  479. this.ultraLabel6.Location = new System.Drawing.Point(346, 32);
  480. this.ultraLabel6.Name = "ultraLabel6";
  481. this.ultraLabel6.Size = new System.Drawing.Size(42, 14);
  482. this.ultraLabel6.TabIndex = 28;
  483. this.ultraLabel6.Text = "新垛位";
  484. //
  485. // cmb_AreaC
  486. //
  487. this.cmb_AreaC.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  488. this.cmb_AreaC.DisplayMember = "";
  489. this.cmb_AreaC.FlatMode = true;
  490. this.cmb_AreaC.Location = new System.Drawing.Point(389, 8);
  491. this.cmb_AreaC.Name = "cmb_AreaC";
  492. this.cmb_AreaC.Size = new System.Drawing.Size(112, 19);
  493. this.cmb_AreaC.TabIndex = 27;
  494. this.cmb_AreaC.ValueMember = "";
  495. this.cmb_AreaC.ValueChanged += new System.EventHandler(this.cmb_AreaC_ValueChanged);
  496. //
  497. // ultraLabel5
  498. //
  499. this.ultraLabel5.Location = new System.Drawing.Point(346, 10);
  500. this.ultraLabel5.Name = "ultraLabel5";
  501. this.ultraLabel5.Size = new System.Drawing.Size(42, 14);
  502. this.ultraLabel5.TabIndex = 26;
  503. this.ultraLabel5.Text = "新区域";
  504. //
  505. // cmb_Stream
  506. //
  507. this.cmb_Stream.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  508. this.cmb_Stream.DisplayMember = "";
  509. this.cmb_Stream.FlatMode = true;
  510. this.cmb_Stream.Location = new System.Drawing.Point(229, 29);
  511. this.cmb_Stream.Name = "cmb_Stream";
  512. this.cmb_Stream.Size = new System.Drawing.Size(112, 19);
  513. this.cmb_Stream.TabIndex = 25;
  514. this.cmb_Stream.ValueMember = "";
  515. //
  516. // ultraLabel4
  517. //
  518. this.ultraLabel4.Location = new System.Drawing.Point(197, 31);
  519. this.ultraLabel4.Name = "ultraLabel4";
  520. this.ultraLabel4.Size = new System.Drawing.Size(31, 14);
  521. this.ultraLabel4.TabIndex = 24;
  522. this.ultraLabel4.Text = "班组";
  523. //
  524. // cmb_Oreder
  525. //
  526. this.cmb_Oreder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  527. this.cmb_Oreder.DisplayMember = "";
  528. this.cmb_Oreder.FlatMode = true;
  529. this.cmb_Oreder.Location = new System.Drawing.Point(229, 6);
  530. this.cmb_Oreder.Name = "cmb_Oreder";
  531. this.cmb_Oreder.Size = new System.Drawing.Size(112, 19);
  532. this.cmb_Oreder.TabIndex = 23;
  533. this.cmb_Oreder.ValueMember = "";
  534. //
  535. // ultraLabel3
  536. //
  537. this.ultraLabel3.Location = new System.Drawing.Point(197, 10);
  538. this.ultraLabel3.Name = "ultraLabel3";
  539. this.ultraLabel3.Size = new System.Drawing.Size(31, 14);
  540. this.ultraLabel3.TabIndex = 22;
  541. this.ultraLabel3.Text = "班次";
  542. //
  543. // cmb_B
  544. //
  545. appearance41.BackColor = System.Drawing.Color.LightCyan;
  546. this.cmb_B.Appearance = appearance41;
  547. this.cmb_B.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  548. this.cmb_B.DisplayMember = "";
  549. this.cmb_B.Location = new System.Drawing.Point(46, 29);
  550. this.cmb_B.Name = "cmb_B";
  551. this.cmb_B.Size = new System.Drawing.Size(148, 21);
  552. this.cmb_B.TabIndex = 21;
  553. this.cmb_B.ValueMember = "";
  554. //
  555. // ultraLabel2
  556. //
  557. this.ultraLabel2.Location = new System.Drawing.Point(6, 32);
  558. this.ultraLabel2.Name = "ultraLabel2";
  559. this.ultraLabel2.Size = new System.Drawing.Size(42, 14);
  560. this.ultraLabel2.TabIndex = 20;
  561. this.ultraLabel2.Text = "原垛位";
  562. //
  563. // txt_GangpeiH
  564. //
  565. appearance42.BackColor = System.Drawing.Color.LightCyan;
  566. this.txt_GangpeiH.Appearance = appearance42;
  567. this.txt_GangpeiH.AutoSize = true;
  568. this.txt_GangpeiH.Location = new System.Drawing.Point(46, 6);
  569. this.txt_GangpeiH.Name = "txt_GangpeiH";
  570. this.txt_GangpeiH.ReadOnly = true;
  571. this.txt_GangpeiH.Size = new System.Drawing.Size(148, 21);
  572. this.txt_GangpeiH.TabIndex = 19;
  573. //
  574. // ultraLabel1
  575. //
  576. this.ultraLabel1.Location = new System.Drawing.Point(6, 10);
  577. this.ultraLabel1.Name = "ultraLabel1";
  578. this.ultraLabel1.Size = new System.Drawing.Size(42, 14);
  579. this.ultraLabel1.TabIndex = 18;
  580. this.ultraLabel1.Text = "钢卷号";
  581. //
  582. // ultraExpandableGroupBox2
  583. //
  584. this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
  585. this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
  586. this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(968, 296);
  587. this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 84);
  588. this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
  589. this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(840, 296);
  590. this.ultraExpandableGroupBox2.SupportThemes = false;
  591. this.ultraExpandableGroupBox2.TabIndex = 15;
  592. this.ultraExpandableGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
  593. //
  594. // ultraExpandableGroupBoxPanel2
  595. //
  596. this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_Stuff);
  597. this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
  598. this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(2, 20);
  599. this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
  600. this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(836, 274);
  601. this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
  602. //
  603. // gb_Stuff
  604. //
  605. appearance43.BackColor = System.Drawing.Color.Ivory;
  606. this.gb_Stuff.DisplayLayout.Appearance = appearance43;
  607. ultraGridColumn41.Header.Caption = "钢卷号";
  608. ultraGridColumn41.Header.VisiblePosition = 0;
  609. ultraGridColumn41.RowLayoutColumnInfo.OriginX = 2;
  610. ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
  611. ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
  612. ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
  613. ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
  614. ultraGridColumn42.Header.Caption = "板坯号";
  615. ultraGridColumn42.Header.VisiblePosition = 1;
  616. ultraGridColumn42.RowLayoutColumnInfo.OriginX = 7;
  617. ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
  618. ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
  619. ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
  620. ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
  621. ultraGridColumn43.Header.Caption = "合同号";
  622. ultraGridColumn43.Header.VisiblePosition = 2;
  623. ultraGridColumn43.RowLayoutColumnInfo.OriginX = 3;
  624. ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
  625. ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
  626. ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
  627. ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
  628. ultraGridColumn44.Header.Caption = "订单号";
  629. ultraGridColumn44.Header.VisiblePosition = 3;
  630. ultraGridColumn44.RowLayoutColumnInfo.OriginX = 8;
  631. ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
  632. ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
  633. ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
  634. ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
  635. ultraGridColumn45.Header.Caption = "内径";
  636. ultraGridColumn45.Header.VisiblePosition = 4;
  637. ultraGridColumn45.RowLayoutColumnInfo.OriginX = 11;
  638. ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
  639. ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
  640. ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
  641. ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
  642. ultraGridColumn46.Header.Caption = "外径";
  643. ultraGridColumn46.Header.VisiblePosition = 5;
  644. ultraGridColumn46.RowLayoutColumnInfo.OriginX = 12;
  645. ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
  646. ultraGridColumn46.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
  647. ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
  648. ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
  649. ultraGridColumn47.Header.Caption = "长度";
  650. ultraGridColumn47.Header.VisiblePosition = 6;
  651. ultraGridColumn47.RowLayoutColumnInfo.OriginX = 15;
  652. ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
  653. ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
  654. ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
  655. ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
  656. ultraGridColumn48.Header.Caption = "厚度 ";
  657. ultraGridColumn48.Header.VisiblePosition = 7;
  658. ultraGridColumn48.RowLayoutColumnInfo.OriginX = 13;
  659. ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
  660. ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
  661. ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
  662. ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
  663. ultraGridColumn49.Header.Caption = "宽度";
  664. ultraGridColumn49.Header.VisiblePosition = 8;
  665. ultraGridColumn49.RowLayoutColumnInfo.OriginX = 14;
  666. ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
  667. ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
  668. ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
  669. ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
  670. ultraGridColumn50.Header.Caption = "计算重量";
  671. ultraGridColumn50.Header.VisiblePosition = 9;
  672. ultraGridColumn50.RowLayoutColumnInfo.OriginX = 16;
  673. ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
  674. ultraGridColumn50.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
  675. ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
  676. ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
  677. ultraGridColumn51.Header.Caption = "实重量";
  678. ultraGridColumn51.Header.VisiblePosition = 10;
  679. ultraGridColumn51.RowLayoutColumnInfo.OriginX = 17;
  680. ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
  681. ultraGridColumn51.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
  682. ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
  683. ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
  684. ultraGridColumn52.Header.Caption = "牌号";
  685. ultraGridColumn52.Header.VisiblePosition = 11;
  686. ultraGridColumn52.RowLayoutColumnInfo.OriginX = 10;
  687. ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
  688. ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
  689. ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
  690. ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
  691. ultraGridColumn53.Header.Caption = "综合判定";
  692. ultraGridColumn53.Header.VisiblePosition = 12;
  693. ultraGridColumn53.RowLayoutColumnInfo.OriginX = 18;
  694. ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
  695. ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
  696. ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
  697. ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
  698. ultraGridColumn54.Header.Caption = "垛位";
  699. ultraGridColumn54.Header.VisiblePosition = 13;
  700. ultraGridColumn54.RowLayoutColumnInfo.OriginX = 4;
  701. ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
  702. ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 0);
  703. ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
  704. ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
  705. ultraGridColumn55.Header.Caption = "区域";
  706. ultraGridColumn55.Header.VisiblePosition = 14;
  707. ultraGridColumn55.RowLayoutColumnInfo.OriginX = 5;
  708. ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
  709. ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
  710. ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
  711. ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
  712. ultraGridColumn56.Header.Caption = "备注";
  713. ultraGridColumn56.Header.VisiblePosition = 15;
  714. ultraGridColumn56.RowLayoutColumnInfo.OriginX = 19;
  715. ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
  716. ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
  717. ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
  718. ultraGridColumn57.Header.Caption = "合同单位";
  719. ultraGridColumn57.Header.VisiblePosition = 16;
  720. ultraGridColumn57.RowLayoutColumnInfo.OriginX = 9;
  721. ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
  722. ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
  723. ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
  724. ultraGridColumn58.Header.Caption = "炉号";
  725. ultraGridColumn58.Header.VisiblePosition = 17;
  726. ultraGridColumn58.RowLayoutColumnInfo.OriginX = 6;
  727. ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
  728. ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0);
  729. ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
  730. ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
  731. ultraGridColumn59.Header.Caption = "批号";
  732. ultraGridColumn59.Header.VisiblePosition = 18;
  733. ultraGridColumn59.RowLayoutColumnInfo.OriginX = 1;
  734. ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
  735. ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0);
  736. ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
  737. ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
  738. ultraGridColumn60.Header.Caption = "";
  739. ultraGridColumn60.Header.VisiblePosition = 19;
  740. ultraGridColumn60.RowLayoutColumnInfo.OriginX = 0;
  741. ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
  742. ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(37, 0);
  743. ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
  744. ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
  745. ultraGridColumn60.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
  746. ultraGridBand3.Columns.AddRange(new object[] {
  747. ultraGridColumn41,
  748. ultraGridColumn42,
  749. ultraGridColumn43,
  750. ultraGridColumn44,
  751. ultraGridColumn45,
  752. ultraGridColumn46,
  753. ultraGridColumn47,
  754. ultraGridColumn48,
  755. ultraGridColumn49,
  756. ultraGridColumn50,
  757. ultraGridColumn51,
  758. ultraGridColumn52,
  759. ultraGridColumn53,
  760. ultraGridColumn54,
  761. ultraGridColumn55,
  762. ultraGridColumn56,
  763. ultraGridColumn57,
  764. ultraGridColumn58,
  765. ultraGridColumn59,
  766. ultraGridColumn60});
  767. appearance44.BackColor = System.Drawing.Color.LightSteelBlue;
  768. ultraGridBand3.Header.Appearance = appearance44;
  769. ultraGridBand3.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  770. summarySettings5.DisplayFormat = "{0}KG";
  771. summarySettings5.GroupBySummaryValueAppearance = appearance45;
  772. summarySettings6.DisplayFormat = "{0}KG";
  773. summarySettings6.GroupBySummaryValueAppearance = appearance46;
  774. ultraGridBand3.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
  775. summarySettings5,
  776. summarySettings6});
  777. ultraGridBand3.UseRowLayout = true;
  778. this.gb_Stuff.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
  779. this.gb_Stuff.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  780. appearance47.BackColor = System.Drawing.SystemColors.ActiveBorder;
  781. appearance47.BackColor2 = System.Drawing.SystemColors.ControlDark;
  782. appearance47.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  783. appearance47.BorderColor = System.Drawing.SystemColors.Window;
  784. this.gb_Stuff.DisplayLayout.GroupByBox.Appearance = appearance47;
  785. appearance48.ForeColor = System.Drawing.SystemColors.GrayText;
  786. this.gb_Stuff.DisplayLayout.GroupByBox.BandLabelAppearance = appearance48;
  787. this.gb_Stuff.DisplayLayout.GroupByBox.Hidden = true;
  788. this.gb_Stuff.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
  789. appearance49.BackColor = System.Drawing.SystemColors.Window;
  790. appearance49.ForeColor = System.Drawing.SystemColors.ControlText;
  791. this.gb_Stuff.DisplayLayout.Override.ActiveCellAppearance = appearance49;
  792. appearance50.BackColor = System.Drawing.SystemColors.Highlight;
  793. appearance50.ForeColor = System.Drawing.SystemColors.HighlightText;
  794. this.gb_Stuff.DisplayLayout.Override.ActiveRowAppearance = appearance50;
  795. appearance51.BorderColor = System.Drawing.Color.Black;
  796. appearance51.TextVAlign = Infragistics.Win.VAlign.Middle;
  797. this.gb_Stuff.DisplayLayout.Override.CellAppearance = appearance51;
  798. this.gb_Stuff.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  799. this.gb_Stuff.DisplayLayout.Override.CellPadding = 0;
  800. appearance52.BackColor = System.Drawing.SystemColors.Control;
  801. appearance52.BackColor2 = System.Drawing.SystemColors.ControlDark;
  802. appearance52.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  803. appearance52.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  804. appearance52.BorderColor = System.Drawing.SystemColors.Window;
  805. appearance52.TextHAlign = Infragistics.Win.HAlign.Left;
  806. appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
  807. this.gb_Stuff.DisplayLayout.Override.GroupByRowAppearance = appearance52;
  808. this.gb_Stuff.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
  809. appearance53.BackColor = System.Drawing.Color.Silver;
  810. this.gb_Stuff.DisplayLayout.Override.HeaderAppearance = appearance53;
  811. this.gb_Stuff.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  812. this.gb_Stuff.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
  813. appearance54.BackColor = System.Drawing.SystemColors.Window;
  814. appearance54.BorderColor = System.Drawing.Color.Black;
  815. appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
  816. this.gb_Stuff.DisplayLayout.Override.RowAppearance = appearance54;
  817. appearance55.BackColor = System.Drawing.SystemColors.Window;
  818. appearance55.BorderColor = System.Drawing.Color.Black;
  819. appearance55.TextVAlign = Infragistics.Win.VAlign.Middle;
  820. this.gb_Stuff.DisplayLayout.Override.RowPreviewAppearance = appearance55;
  821. this.gb_Stuff.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
  822. this.gb_Stuff.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
  823. this.gb_Stuff.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  824. appearance56.TextHAlign = Infragistics.Win.HAlign.Left;
  825. appearance56.TextVAlign = Infragistics.Win.VAlign.Middle;
  826. this.gb_Stuff.DisplayLayout.Override.SelectedRowAppearance = appearance56;
  827. this.gb_Stuff.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
  828. appearance57.BackColor = System.Drawing.SystemColors.Window;
  829. this.gb_Stuff.DisplayLayout.Override.SummaryFooterAppearance = appearance57;
  830. appearance58.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
  831. appearance58.ForeColor = System.Drawing.Color.Red;
  832. this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance58;
  833. this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  834. appearance59.BackColor = System.Drawing.Color.MistyRose;
  835. appearance59.ForeColor = System.Drawing.Color.Blue;
  836. appearance59.TextHAlign = Infragistics.Win.HAlign.Right;
  837. appearance59.TextVAlign = Infragistics.Win.VAlign.Middle;
  838. this.gb_Stuff.DisplayLayout.Override.SummaryValueAppearance = appearance59;
  839. appearance60.BackColor = System.Drawing.SystemColors.ControlLight;
  840. this.gb_Stuff.DisplayLayout.Override.TemplateAddRowAppearance = appearance60;
  841. this.gb_Stuff.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  842. this.gb_Stuff.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  843. this.gb_Stuff.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  844. this.gb_Stuff.Dock = System.Windows.Forms.DockStyle.Fill;
  845. this.gb_Stuff.Location = new System.Drawing.Point(0, 0);
  846. this.gb_Stuff.Name = "gb_Stuff";
  847. this.gb_Stuff.Size = new System.Drawing.Size(836, 274);
  848. this.gb_Stuff.TabIndex = 13;
  849. this.gb_Stuff.Text = "ultraGrid2";
  850. this.gb_Stuff.AfterRowActivate += new System.EventHandler(this.gb_Stuff_AfterRowActivate);
  851. //
  852. // Frm_StuffMove
  853. //
  854. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  855. this.ClientSize = new System.Drawing.Size(840, 456);
  856. this.Controls.Add(this.ultraExpandableGroupBox2);
  857. this.Controls.Add(this.ultraExpandableGroupBox1);
  858. this.Controls.Add(this.ultraGroupBox1);
  859. this.Controls.Add(this.panel1);
  860. this.Name = "Frm_StuffMove";
  861. this.Text = "原料移垛管理";
  862. this.Load += new System.EventHandler(this.Frm_StuffMove_Load);
  863. this.panel1.ResumeLayout(false);
  864. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
  865. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
  866. this.ultraGroupBox1.ResumeLayout(false);
  867. ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).EndInit();
  868. ((System.ComponentModel.ISupportInitialize)(this.txt_ON)).EndInit();
  869. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
  870. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
  871. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
  872. this.ultraExpandableGroupBox1.ResumeLayout(false);
  873. this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
  874. ((System.ComponentModel.ISupportInitialize)(this.txt_Ramk)).EndInit();
  875. ((System.ComponentModel.ISupportInitialize)(this.cmb_BuressMove)).EndInit();
  876. ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaC)).EndInit();
  877. ((System.ComponentModel.ISupportInitialize)(this.cmb_Stream)).EndInit();
  878. ((System.ComponentModel.ISupportInitialize)(this.cmb_Oreder)).EndInit();
  879. ((System.ComponentModel.ISupportInitialize)(this.cmb_B)).EndInit();
  880. ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).EndInit();
  881. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
  882. this.ultraExpandableGroupBox2.ResumeLayout(false);
  883. this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
  884. ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).EndInit();
  885. this.ResumeLayout(false);
  886. }
  887. #endregion
  888. private string getWhere()
  889. {
  890. string Sql="";
  891. if(this.chk_ON.Checked)
  892. {
  893. Sql=" AND A.OLD_SAMPL_NO='"+this.txt_ON.Text+"'";
  894. }
  895. if(this.chk_YButtress.Checked)
  896. {
  897. Sql=" AND A.BUTTRESS='"+this.cmb_Buress.Value+"'";
  898. }
  899. if(this.chk_PackNo.Checked)
  900. {
  901. Sql=" AND A.ORD_NO LIKE '%"+this.txt_PlanNO.Text+"%'";
  902. }
  903. if(this.chk_Area.Checked)
  904. {
  905. Sql=" AND B.AREA='"+this.cmb_Area.Value+"'";
  906. }
  907. return Sql;
  908. }
  909. private void StufQuer(string _Conntion)
  910. {
  911. try
  912. {
  913. string strOut="";
  914. DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffMove", "StuffQuer", new object[] { this.getWhere() }, out strOut);
  915. this.gb_Stuff.DataSource=ds;
  916. this.gb_Stuff.UpdateData();
  917. Comm.SetGridSumArea(gb_Stuff);
  918. }
  919. catch(Exception ex)
  920. {
  921. System.Diagnostics.Debug.WriteLine(ex.ToString());
  922. }
  923. }
  924. private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
  925. {
  926. switch(e.Tool.Key)
  927. {
  928. case "QUERY":
  929. this.StufQuer(this.getWhere());
  930. break;
  931. case "Close":
  932. break;
  933. case "TZ":
  934. this.Move_Buress();
  935. break;
  936. case "DUCE":
  937. this.ExportButtressInfo();
  938. break;
  939. }
  940. }
  941. private void Move_Buress()
  942. {
  943. try
  944. {
  945. this.gb_Stuff.UpdateData();
  946. string strOut="";
  947. ArrayList array=new ArrayList();
  948. array=Comm.GetFieldValue(this.gb_Stuff,"FLAG","OLD_SAMPL_NO");
  949. if(array.Count==0)
  950. {
  951. MessageBox.Show("请您选择原料信息需要移库的信息","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  952. return ;
  953. }
  954. ArrayList Other=new ArrayList();
  955. Other.Add(this.cmb_BuressMove.Value.ToString());
  956. Other.Add(this.cmb_AreaC.Value.ToString());
  957. Other.Add(this.cmb_Oreder.Value.ToString());
  958. Other.Add(this.cmb_Stream.Value.ToString());
  959. Other.Add(this.txt_Ramk.Text);
  960. Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
  961. Other.Add(this.txt_GangpeiH.Value.ToString());
  962. object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffMove", "StuffBuress_Move", new object[] { array, Other }, out strOut);
  963. if(obj!=null&&obj.ToString()=="1")
  964. {
  965. DataSet ds=(DataSet)this.gb_Stuff.DataSource;
  966. System.Data.DataRow [] row=ds.Tables["KCJ3_STUFFLIST"].Select("FLAG='TRUE'");
  967. for(int i=0;i<row.Length;i++)
  968. {
  969. ds.Tables["KCJ3_STUFFLIST"].Rows.Remove(row[i]);
  970. ds.Tables["KCJ3_STUFFLIST"].AcceptChanges();
  971. }
  972. this.StufQuer(this.getWhere());
  973. Comm.SetGridSumArea(this.gb_Stuff);
  974. }
  975. else
  976. {
  977. MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
  978. }
  979. }
  980. catch(Exception ex)
  981. {
  982. System.Diagnostics.Debug.WriteLine(ex.ToString());
  983. }
  984. }
  985. private void Frm_StuffMove_Load(object sender, System.EventArgs e)
  986. {
  987. Comm.SetGridSumArea(this.gb_Stuff);
  988. string strOut="";
  989. string sql="";
  990. DataSet ds;
  991. //堆位
  992. sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
  993. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  994. ds.Tables[0].TableName="KCJ_BUTTRESS";
  995. Comm.Init_ComboControl(this.cmb_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
  996. //堆位
  997. sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
  998. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  999. ds.Tables[0].TableName="KCJ_BUTTRESS";
  1000. Comm.Init_ComboControl(this.cmb_BuressMove,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
  1001. sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
  1002. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  1003. ds.Tables[0].TableName="SCM_BASE_INFO";
  1004. Comm.Init_ComboControl(this.cmb_Oreder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
  1005. //班组
  1006. sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
  1007. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  1008. ds.Tables[0].TableName="SCM_BASE_INFO";
  1009. Comm.Init_ComboControl(this.cmb_Stream,"SCM_BASE_INFO","NAME_","ID_",ref ds);
  1010. //
  1011. sql = "select areacode from kcj_area_ZW where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)' ";
  1012. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  1013. ds.Tables[0].TableName="KCJ_AREA";
  1014. Comm.Init_ComboControl(this.cmb_Area,"KCJ_AREA","AREACODE","AREACODE",ref ds);
  1015. Comm.Init_ComboControl(this.cmb_AreaC,"KCJ_AREA","AREACODE","AREACODE",ref ds);
  1016. }
  1017. private void ultraGrid1_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
  1018. {
  1019. try
  1020. {
  1021. if(e.Cell.Column.Key == "FLAG")
  1022. {
  1023. e.Cell.Row.Update();
  1024. if(e.Cell.Value.ToString().ToUpper() == "TRUE")
  1025. {
  1026. e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
  1027. }
  1028. else
  1029. {
  1030. e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
  1031. }
  1032. }
  1033. }
  1034. catch(System.Exception ex)
  1035. {
  1036. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1037. }
  1038. }
  1039. private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
  1040. {
  1041. try
  1042. {
  1043. if(this.chk_AllowFilter.Checked)
  1044. {
  1045. this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1046. this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
  1047. }
  1048. else
  1049. {
  1050. this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
  1051. this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
  1052. if(this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count>0)
  1053. {
  1054. for(int i=0;i<this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
  1055. {
  1056. this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
  1057. }
  1058. }
  1059. }
  1060. }
  1061. catch(System.Exception ex)
  1062. {
  1063. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1064. }
  1065. }
  1066. private void chk_ON_CheckedChanged(object sender, System.EventArgs e)
  1067. {
  1068. this.txt_ON.Enabled=this.chk_ON.Checked;
  1069. }
  1070. private void chk_PackNo_CheckedChanged(object sender, System.EventArgs e)
  1071. {
  1072. this.txt_PlanNO.Enabled=this.chk_PackNo.Checked;
  1073. }
  1074. private void chk_YButtress_CheckedChanged(object sender, System.EventArgs e)
  1075. {
  1076. this.cmb_Buress.Enabled=this.chk_YButtress.Checked;
  1077. }
  1078. private void chk_Area_CheckedChanged(object sender, System.EventArgs e)
  1079. {
  1080. this.cmb_Area.Enabled=this.chk_Area.Checked;
  1081. }
  1082. private void gb_Stuff_AfterRowActivate(object sender, System.EventArgs e)
  1083. {
  1084. this.txt_GangpeiH.Text=this.gb_Stuff.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString();
  1085. this.cmb_B.Value=this.gb_Stuff.ActiveRow.Cells["BUTTRESS"].Value.ToString();
  1086. }
  1087. #region "导出报表"
  1088. private void ExportButtressInfo()
  1089. {
  1090. if(this.gb_Stuff.Rows.Count > 0)
  1091. {
  1092. Comm.ExPortExcel(this.gb_Stuff,this.excelExporter);
  1093. }
  1094. else
  1095. {
  1096. MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
  1097. }
  1098. }
  1099. #endregion
  1100. private void cmb_AreaC_ValueChanged(object sender, EventArgs e)
  1101. {
  1102. try
  1103. {
  1104. string areaCode = "";
  1105. string buttressCode = "";
  1106. string strOut = "";
  1107. areaCode = this.cmb_AreaC.Value.ToString();
  1108. if (areaCode != "")
  1109. {
  1110. DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
  1111. "QueryFJButtress", new object[] { buttressCode, areaCode, "0" }, out strOut);
  1112. if (strOut == "")
  1113. {
  1114. this.cmb_BuressMove.DataSource = ds;
  1115. }
  1116. else
  1117. {
  1118. MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
  1119. }
  1120. }
  1121. }
  1122. catch (Exception et)
  1123. {
  1124. throw et;
  1125. }
  1126. }
  1127. }
  1128. }