15ab030448fdf94167db0f261750da0eaf22b1a4.svn-base 85 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508
  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. using System.Runtime.InteropServices;
  10. namespace Core.XgMes.Client.JGKC.RollManager
  11. {
  12. /// <summary>
  13. /// CPButtressQuery 的摘要说明。
  14. /// </summary>
  15. public class CPButtressQuery : Mes.ClientFrameWork.FrmBase
  16. {
  17. private System.Windows.Forms.Panel panel1;
  18. private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
  19. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
  20. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
  21. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
  22. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
  23. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
  24. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ID;
  25. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
  26. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollBegin;
  27. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
  28. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollEnd;
  29. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNo;
  30. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
  31. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
  32. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PiHao;
  33. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buttress;
  34. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
  35. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Sleen;
  36. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
  37. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QuYu;
  38. private Infragistics.Win.Misc.UltraLabel ultraLabel15;
  39. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNo;
  40. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PiHao;
  41. private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turn;
  42. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
  43. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
  44. private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
  45. private System.Data.DataSet ds_All;
  46. private System.Data.DataTable dataTable1;
  47. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox3;
  48. private Infragistics.Win.Misc.UltraLabel ultraLabel1;
  49. private Infragistics.Win.Misc.UltraLabel ultraLabel2;
  50. private Infragistics.Win.Misc.UltraLabel ultraLabel3;
  51. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_License;
  52. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_LicenseManrk;
  53. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Num;
  54. private System.Data.DataColumn dataColumn1;
  55. private System.Data.DataColumn dataColumn2;
  56. private System.Data.DataColumn dataColumn3;
  57. private System.Data.DataColumn dataColumn4;
  58. private System.Data.DataColumn dataColumn5;
  59. private System.Data.DataColumn dataColumn6;
  60. private System.Data.DataColumn dataColumn7;
  61. private System.Data.DataColumn dataColumn8;
  62. private System.Data.DataColumn dataColumn9;
  63. private System.Data.DataColumn dataColumn10;
  64. private System.Data.DataColumn dataColumn12;
  65. private System.Data.DataColumn dataColumn13;
  66. private System.Data.DataColumn dataColumn14;
  67. private System.Data.DataColumn dataColumn15;
  68. private System.Data.DataColumn dataColumn16;
  69. private System.Data.DataColumn dataColumn17;
  70. private System.Data.DataColumn dataColumn11;
  71. private System.Data.DataColumn dataColumn18;
  72. private System.Data.DataColumn dataColumn19;
  73. private System.Data.DataColumn dataColumn20;
  74. private DataColumn dataColumn21;
  75. private System.ComponentModel.IContainer components;
  76. public CPButtressQuery()
  77. {
  78. //
  79. // Windows 窗体设计器支持所必需的
  80. //
  81. InitializeComponent();
  82. //
  83. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  84. //
  85. }
  86. /// <summary>
  87. /// 清理所有正在使用的资源。
  88. /// </summary>
  89. protected override void Dispose( bool disposing )
  90. {
  91. if( disposing )
  92. {
  93. if(components != null)
  94. {
  95. components.Dispose();
  96. }
  97. }
  98. base.Dispose( disposing );
  99. }
  100. #region Windows 窗体设计器生成的代码
  101. /// <summary>
  102. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  103. /// 此方法的内容。
  104. /// </summary>
  105. private void InitializeComponent()
  106. {
  107. this.components = new System.ComponentModel.Container();
  108. Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
  109. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
  110. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
  111. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
  112. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINTBQ");
  113. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  114. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
  115. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
  116. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  117. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
  118. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINTBQ");
  119. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  120. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  121. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  122. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  123. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  124. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  125. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  126. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  127. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  128. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  129. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  130. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  131. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  132. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  133. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  134. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  135. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  136. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  137. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  138. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  139. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  140. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  141. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  142. Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
  143. Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
  144. Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
  145. Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
  146. Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
  147. Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
  148. Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
  149. Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
  150. Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
  151. Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
  152. Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
  153. Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
  154. Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
  155. Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
  156. Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
  157. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ3_TURNOFFLIST", -1);
  158. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
  159. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
  160. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("gg");
  161. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
  162. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
  163. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
  164. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
  165. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NOW_BUTTRESS");
  166. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
  167. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
  168. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
  169. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
  170. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
  171. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN");
  172. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
  173. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
  174. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIMENAME");
  175. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPM_CRK_CD1");
  176. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
  177. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
  178. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
  179. Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
  180. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 3, true, "KCJ3_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 3, true);
  181. Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
  182. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 4, true, "KCJ3_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 4, true);
  183. Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
  184. Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
  185. Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
  186. Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
  187. Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
  188. Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
  189. Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
  190. Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
  191. Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
  192. Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
  193. Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
  194. Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
  195. Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
  196. Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
  197. Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
  198. this.panel1 = new System.Windows.Forms.Panel();
  199. this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  200. this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
  201. this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  202. this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  203. this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  204. this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
  205. this.ultraGroupBox3 = new Infragistics.Win.Misc.UltraGroupBox();
  206. this.txt_Num = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  207. this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
  208. this.txt_LicenseManrk = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  209. this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
  210. this.txt_License = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  211. this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
  212. this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  213. this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
  214. this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
  215. this.chk_QuYu = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  216. this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
  217. this.chk_Sleen = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  218. this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
  219. this.chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  220. this.txt_PiHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  221. this.chk_PiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  222. this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  223. this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  224. this.txt_PlanNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  225. this.chk_PlanNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  226. this.txt_RollEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  227. this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  228. this.txt_RollBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  229. this.chk_ID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  230. this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
  231. this.gb_Turn = new Infragistics.Win.UltraWinGrid.UltraGrid();
  232. this.ds_All = new System.Data.DataSet();
  233. this.dataTable1 = new System.Data.DataTable();
  234. this.dataColumn1 = new System.Data.DataColumn();
  235. this.dataColumn2 = new System.Data.DataColumn();
  236. this.dataColumn3 = new System.Data.DataColumn();
  237. this.dataColumn4 = new System.Data.DataColumn();
  238. this.dataColumn5 = new System.Data.DataColumn();
  239. this.dataColumn6 = new System.Data.DataColumn();
  240. this.dataColumn7 = new System.Data.DataColumn();
  241. this.dataColumn8 = new System.Data.DataColumn();
  242. this.dataColumn9 = new System.Data.DataColumn();
  243. this.dataColumn10 = new System.Data.DataColumn();
  244. this.dataColumn12 = new System.Data.DataColumn();
  245. this.dataColumn13 = new System.Data.DataColumn();
  246. this.dataColumn14 = new System.Data.DataColumn();
  247. this.dataColumn15 = new System.Data.DataColumn();
  248. this.dataColumn16 = new System.Data.DataColumn();
  249. this.dataColumn17 = new System.Data.DataColumn();
  250. this.dataColumn11 = new System.Data.DataColumn();
  251. this.dataColumn18 = new System.Data.DataColumn();
  252. this.dataColumn19 = new System.Data.DataColumn();
  253. this.dataColumn20 = new System.Data.DataColumn();
  254. this.dataColumn21 = new System.Data.DataColumn();
  255. this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
  256. this.panel1.SuspendLayout();
  257. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
  258. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
  259. this.ultraGroupBox1.SuspendLayout();
  260. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).BeginInit();
  261. this.ultraGroupBox3.SuspendLayout();
  262. ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit();
  263. ((System.ComponentModel.ISupportInitialize)(this.txt_LicenseManrk)).BeginInit();
  264. ((System.ComponentModel.ISupportInitialize)(this.txt_License)).BeginInit();
  265. ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
  266. ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
  267. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
  268. ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao)).BeginInit();
  269. ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
  270. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).BeginInit();
  271. ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).BeginInit();
  272. ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
  273. ((System.ComponentModel.ISupportInitialize)(this.txt_RollBegin)).BeginInit();
  274. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
  275. this.ultraGroupBox2.SuspendLayout();
  276. ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).BeginInit();
  277. ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit();
  278. ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit();
  279. this.SuspendLayout();
  280. //
  281. // panel1
  282. //
  283. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
  284. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
  285. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
  286. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
  287. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  288. this.panel1.Location = new System.Drawing.Point(0, 0);
  289. this.panel1.Name = "panel1";
  290. this.panel1.Size = new System.Drawing.Size(1120, 32);
  291. this.panel1.TabIndex = 0;
  292. //
  293. // _panel1_Toolbars_Dock_Area_Left
  294. //
  295. this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  296. this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
  297. this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
  298. this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
  299. this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27);
  300. this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
  301. this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 5);
  302. this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
  303. //
  304. // ultraToolbarsManager1
  305. //
  306. this.ultraToolbarsManager1.DesignerFlags = 1;
  307. this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
  308. this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
  309. this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
  310. ultraToolbar1.DockedColumn = 0;
  311. ultraToolbar1.DockedRow = 0;
  312. ultraToolbar1.Text = "UltraToolbar1";
  313. buttonTool2.InstanceProps.IsFirstInGroup = true;
  314. buttonTool3.InstanceProps.IsFirstInGroup = true;
  315. buttonTool4.InstanceProps.IsFirstInGroup = true;
  316. buttonTool5.InstanceProps.IsFirstInGroup = true;
  317. ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  318. buttonTool1,
  319. buttonTool2,
  320. buttonTool3,
  321. buttonTool4,
  322. buttonTool5});
  323. this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
  324. ultraToolbar1});
  325. buttonTool6.SharedProps.Caption = "查询";
  326. buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  327. buttonTool7.SharedProps.Caption = "导出";
  328. buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  329. buttonTool8.SharedProps.Caption = "关闭";
  330. buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  331. buttonTool9.SharedProps.Caption = "打印台帐";
  332. buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  333. buttonTool10.SharedProps.Caption = "打印标签";
  334. buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  335. this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  336. buttonTool6,
  337. buttonTool7,
  338. buttonTool8,
  339. buttonTool9,
  340. buttonTool10});
  341. this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
  342. //
  343. // _panel1_Toolbars_Dock_Area_Right
  344. //
  345. this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  346. this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
  347. this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
  348. this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
  349. this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1120, 27);
  350. this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
  351. this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 5);
  352. this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
  353. //
  354. // _panel1_Toolbars_Dock_Area_Top
  355. //
  356. this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  357. this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
  358. this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
  359. this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
  360. this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
  361. this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
  362. this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1120, 27);
  363. this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
  364. //
  365. // _panel1_Toolbars_Dock_Area_Bottom
  366. //
  367. this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  368. this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
  369. this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
  370. this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
  371. this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
  372. this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
  373. this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1120, 0);
  374. this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
  375. //
  376. // ultraGroupBox1
  377. //
  378. this.ultraGroupBox1.Controls.Add(this.ultraGroupBox3);
  379. this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
  380. this.ultraGroupBox1.Controls.Add(this.ultraLabel15);
  381. this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
  382. this.ultraGroupBox1.Controls.Add(this.chk_QuYu);
  383. this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
  384. this.ultraGroupBox1.Controls.Add(this.chk_Sleen);
  385. this.ultraGroupBox1.Controls.Add(this.cmb_Buttress);
  386. this.ultraGroupBox1.Controls.Add(this.chk_Buttress);
  387. this.ultraGroupBox1.Controls.Add(this.txt_PiHao);
  388. this.ultraGroupBox1.Controls.Add(this.chk_PiHao);
  389. this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
  390. this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
  391. this.ultraGroupBox1.Controls.Add(this.txt_PlanNo);
  392. this.ultraGroupBox1.Controls.Add(this.chk_PlanNo);
  393. this.ultraGroupBox1.Controls.Add(this.txt_RollEnd);
  394. this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
  395. this.ultraGroupBox1.Controls.Add(this.txt_RollBegin);
  396. this.ultraGroupBox1.Controls.Add(this.chk_ID);
  397. this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
  398. this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
  399. this.ultraGroupBox1.Name = "ultraGroupBox1";
  400. this.ultraGroupBox1.Size = new System.Drawing.Size(1120, 82);
  401. this.ultraGroupBox1.SupportThemes = false;
  402. this.ultraGroupBox1.TabIndex = 1;
  403. //
  404. // ultraGroupBox3
  405. //
  406. this.ultraGroupBox3.Controls.Add(this.txt_Num);
  407. this.ultraGroupBox3.Controls.Add(this.ultraLabel3);
  408. this.ultraGroupBox3.Controls.Add(this.txt_LicenseManrk);
  409. this.ultraGroupBox3.Controls.Add(this.ultraLabel2);
  410. this.ultraGroupBox3.Controls.Add(this.txt_License);
  411. this.ultraGroupBox3.Controls.Add(this.ultraLabel1);
  412. this.ultraGroupBox3.Dock = System.Windows.Forms.DockStyle.Right;
  413. this.ultraGroupBox3.Location = new System.Drawing.Point(733, 2);
  414. this.ultraGroupBox3.Name = "ultraGroupBox3";
  415. this.ultraGroupBox3.Size = new System.Drawing.Size(384, 77);
  416. this.ultraGroupBox3.SupportThemes = false;
  417. this.ultraGroupBox3.TabIndex = 194;
  418. this.ultraGroupBox3.Text = "卷板相关信息打印";
  419. //
  420. // txt_Num
  421. //
  422. this.txt_Num.AutoSize = true;
  423. this.txt_Num.Location = new System.Drawing.Point(261, 19);
  424. this.txt_Num.Name = "txt_Num";
  425. this.txt_Num.Size = new System.Drawing.Size(88, 21);
  426. this.txt_Num.TabIndex = 5;
  427. //
  428. // ultraLabel3
  429. //
  430. this.ultraLabel3.Location = new System.Drawing.Point(208, 24);
  431. this.ultraLabel3.Name = "ultraLabel3";
  432. this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
  433. this.ultraLabel3.TabIndex = 4;
  434. this.ultraLabel3.Text = "打印数量";
  435. //
  436. // txt_LicenseManrk
  437. //
  438. this.txt_LicenseManrk.AutoSize = true;
  439. this.txt_LicenseManrk.Location = new System.Drawing.Point(75, 46);
  440. this.txt_LicenseManrk.Name = "txt_LicenseManrk";
  441. this.txt_LicenseManrk.Size = new System.Drawing.Size(125, 21);
  442. this.txt_LicenseManrk.TabIndex = 3;
  443. //
  444. // ultraLabel2
  445. //
  446. this.ultraLabel2.Location = new System.Drawing.Point(8, 51);
  447. this.ultraLabel2.Name = "ultraLabel2";
  448. this.ultraLabel2.Size = new System.Drawing.Size(72, 16);
  449. this.ultraLabel2.TabIndex = 2;
  450. this.ultraLabel2.Text = "许可证标识";
  451. //
  452. // txt_License
  453. //
  454. this.txt_License.AutoSize = true;
  455. this.txt_License.Location = new System.Drawing.Point(75, 19);
  456. this.txt_License.Name = "txt_License";
  457. this.txt_License.Size = new System.Drawing.Size(125, 21);
  458. this.txt_License.TabIndex = 1;
  459. //
  460. // ultraLabel1
  461. //
  462. this.ultraLabel1.Location = new System.Drawing.Point(8, 24);
  463. this.ultraLabel1.Name = "ultraLabel1";
  464. this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
  465. this.ultraLabel1.TabIndex = 0;
  466. this.ultraLabel1.Text = "许可证号";
  467. //
  468. // chk_SelectAll
  469. //
  470. this.chk_SelectAll.FlatMode = true;
  471. this.chk_SelectAll.Location = new System.Drawing.Point(448, 34);
  472. this.chk_SelectAll.Name = "chk_SelectAll";
  473. this.chk_SelectAll.Size = new System.Drawing.Size(48, 20);
  474. this.chk_SelectAll.TabIndex = 193;
  475. this.chk_SelectAll.Text = "过滤";
  476. this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
  477. //
  478. // ultraLabel15
  479. //
  480. appearance1.BackColor = System.Drawing.Color.Blue;
  481. this.ultraLabel15.Appearance = appearance1;
  482. this.ultraLabel15.Location = new System.Drawing.Point(496, 36);
  483. this.ultraLabel15.Name = "ultraLabel15";
  484. this.ultraLabel15.Size = new System.Drawing.Size(103, 16);
  485. this.ultraLabel15.TabIndex = 192;
  486. this.ultraLabel15.Text = "注意距交货期11天";
  487. //
  488. // cmb_QuYu
  489. //
  490. this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  491. appearance2.BackColor = System.Drawing.SystemColors.Window;
  492. appearance2.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  493. this.cmb_QuYu.DisplayLayout.Appearance = appearance2;
  494. this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  495. this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  496. appearance3.BackColor = System.Drawing.SystemColors.ActiveBorder;
  497. appearance3.BackColor2 = System.Drawing.SystemColors.ControlDark;
  498. appearance3.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  499. appearance3.BorderColor = System.Drawing.SystemColors.Window;
  500. this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance3;
  501. appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
  502. this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance4;
  503. this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  504. appearance5.BackColor = System.Drawing.SystemColors.ControlLightLight;
  505. appearance5.BackColor2 = System.Drawing.SystemColors.Control;
  506. appearance5.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  507. appearance5.ForeColor = System.Drawing.SystemColors.GrayText;
  508. this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance5;
  509. this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
  510. this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
  511. appearance6.BackColor = System.Drawing.SystemColors.Window;
  512. appearance6.ForeColor = System.Drawing.SystemColors.ControlText;
  513. this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance6;
  514. appearance7.BackColor = System.Drawing.SystemColors.Highlight;
  515. appearance7.ForeColor = System.Drawing.SystemColors.HighlightText;
  516. this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance7;
  517. this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  518. this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  519. appearance8.BackColor = System.Drawing.SystemColors.Window;
  520. this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance8;
  521. appearance9.BorderColor = System.Drawing.Color.Silver;
  522. appearance9.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  523. this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance9;
  524. this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  525. this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
  526. appearance10.BackColor = System.Drawing.SystemColors.Control;
  527. appearance10.BackColor2 = System.Drawing.SystemColors.ControlDark;
  528. appearance10.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  529. appearance10.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  530. appearance10.BorderColor = System.Drawing.SystemColors.Window;
  531. this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance10;
  532. appearance11.TextHAlign = Infragistics.Win.HAlign.Left;
  533. this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance11;
  534. this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  535. this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  536. appearance12.BackColor = System.Drawing.SystemColors.Window;
  537. appearance12.BorderColor = System.Drawing.Color.Silver;
  538. this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance12;
  539. this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  540. appearance13.BackColor = System.Drawing.SystemColors.ControlLight;
  541. this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance13;
  542. this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  543. this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  544. this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  545. this.cmb_QuYu.DisplayMember = "";
  546. this.cmb_QuYu.Enabled = false;
  547. this.cmb_QuYu.FlatMode = true;
  548. this.cmb_QuYu.Location = new System.Drawing.Point(496, 8);
  549. this.cmb_QuYu.Name = "cmb_QuYu";
  550. this.cmb_QuYu.Size = new System.Drawing.Size(125, 19);
  551. this.cmb_QuYu.TabIndex = 15;
  552. this.cmb_QuYu.ValueMember = "";
  553. //
  554. // chk_QuYu
  555. //
  556. this.chk_QuYu.FlatMode = true;
  557. this.chk_QuYu.Location = new System.Drawing.Point(448, 9);
  558. this.chk_QuYu.Name = "chk_QuYu";
  559. this.chk_QuYu.Size = new System.Drawing.Size(48, 20);
  560. this.chk_QuYu.TabIndex = 14;
  561. this.chk_QuYu.Text = "区域";
  562. this.chk_QuYu.CheckedChanged += new System.EventHandler(this.chk_QuYu_CheckedChanged);
  563. //
  564. // cmb_Sleen
  565. //
  566. this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  567. appearance14.BackColor = System.Drawing.SystemColors.Window;
  568. appearance14.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  569. this.cmb_Sleen.DisplayLayout.Appearance = appearance14;
  570. this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  571. this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  572. appearance15.BackColor = System.Drawing.SystemColors.ActiveBorder;
  573. appearance15.BackColor2 = System.Drawing.SystemColors.ControlDark;
  574. appearance15.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  575. appearance15.BorderColor = System.Drawing.SystemColors.Window;
  576. this.cmb_Sleen.DisplayLayout.GroupByBox.Appearance = appearance15;
  577. appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
  578. this.cmb_Sleen.DisplayLayout.GroupByBox.BandLabelAppearance = appearance16;
  579. this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  580. appearance17.BackColor = System.Drawing.SystemColors.ControlLightLight;
  581. appearance17.BackColor2 = System.Drawing.SystemColors.Control;
  582. appearance17.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  583. appearance17.ForeColor = System.Drawing.SystemColors.GrayText;
  584. this.cmb_Sleen.DisplayLayout.GroupByBox.PromptAppearance = appearance17;
  585. this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
  586. this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
  587. appearance18.BackColor = System.Drawing.SystemColors.Window;
  588. appearance18.ForeColor = System.Drawing.SystemColors.ControlText;
  589. this.cmb_Sleen.DisplayLayout.Override.ActiveCellAppearance = appearance18;
  590. appearance19.BackColor = System.Drawing.SystemColors.Highlight;
  591. appearance19.ForeColor = System.Drawing.SystemColors.HighlightText;
  592. this.cmb_Sleen.DisplayLayout.Override.ActiveRowAppearance = appearance19;
  593. this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  594. this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  595. appearance20.BackColor = System.Drawing.SystemColors.Window;
  596. this.cmb_Sleen.DisplayLayout.Override.CardAreaAppearance = appearance20;
  597. appearance21.BorderColor = System.Drawing.Color.Silver;
  598. appearance21.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  599. this.cmb_Sleen.DisplayLayout.Override.CellAppearance = appearance21;
  600. this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  601. this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
  602. appearance22.BackColor = System.Drawing.SystemColors.Control;
  603. appearance22.BackColor2 = System.Drawing.SystemColors.ControlDark;
  604. appearance22.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  605. appearance22.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  606. appearance22.BorderColor = System.Drawing.SystemColors.Window;
  607. this.cmb_Sleen.DisplayLayout.Override.GroupByRowAppearance = appearance22;
  608. appearance23.TextHAlign = Infragistics.Win.HAlign.Left;
  609. this.cmb_Sleen.DisplayLayout.Override.HeaderAppearance = appearance23;
  610. this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  611. this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  612. appearance24.BackColor = System.Drawing.SystemColors.Window;
  613. appearance24.BorderColor = System.Drawing.Color.Silver;
  614. this.cmb_Sleen.DisplayLayout.Override.RowAppearance = appearance24;
  615. this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  616. appearance25.BackColor = System.Drawing.SystemColors.ControlLight;
  617. this.cmb_Sleen.DisplayLayout.Override.TemplateAddRowAppearance = appearance25;
  618. this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  619. this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  620. this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  621. this.cmb_Sleen.DisplayMember = "";
  622. this.cmb_Sleen.Enabled = false;
  623. this.cmb_Sleen.FlatMode = true;
  624. this.cmb_Sleen.Location = new System.Drawing.Point(80, 56);
  625. this.cmb_Sleen.Name = "cmb_Sleen";
  626. this.cmb_Sleen.Size = new System.Drawing.Size(160, 19);
  627. this.cmb_Sleen.TabIndex = 13;
  628. this.cmb_Sleen.ValueMember = "";
  629. //
  630. // chk_Sleen
  631. //
  632. this.chk_Sleen.FlatMode = true;
  633. this.chk_Sleen.Location = new System.Drawing.Point(8, 56);
  634. this.chk_Sleen.Name = "chk_Sleen";
  635. this.chk_Sleen.Size = new System.Drawing.Size(48, 20);
  636. this.chk_Sleen.TabIndex = 12;
  637. this.chk_Sleen.Text = "牌号";
  638. this.chk_Sleen.CheckedChanged += new System.EventHandler(this.chk_Sleen_CheckedChanged);
  639. //
  640. // cmb_Buttress
  641. //
  642. this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  643. appearance26.BackColor = System.Drawing.SystemColors.Window;
  644. appearance26.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  645. this.cmb_Buttress.DisplayLayout.Appearance = appearance26;
  646. this.cmb_Buttress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  647. this.cmb_Buttress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  648. appearance27.BackColor = System.Drawing.SystemColors.ActiveBorder;
  649. appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark;
  650. appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  651. appearance27.BorderColor = System.Drawing.SystemColors.Window;
  652. this.cmb_Buttress.DisplayLayout.GroupByBox.Appearance = appearance27;
  653. appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
  654. this.cmb_Buttress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance28;
  655. this.cmb_Buttress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  656. appearance29.BackColor = System.Drawing.SystemColors.ControlLightLight;
  657. appearance29.BackColor2 = System.Drawing.SystemColors.Control;
  658. appearance29.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  659. appearance29.ForeColor = System.Drawing.SystemColors.GrayText;
  660. this.cmb_Buttress.DisplayLayout.GroupByBox.PromptAppearance = appearance29;
  661. this.cmb_Buttress.DisplayLayout.MaxColScrollRegions = 1;
  662. this.cmb_Buttress.DisplayLayout.MaxRowScrollRegions = 1;
  663. appearance30.BackColor = System.Drawing.SystemColors.Window;
  664. appearance30.ForeColor = System.Drawing.SystemColors.ControlText;
  665. this.cmb_Buttress.DisplayLayout.Override.ActiveCellAppearance = appearance30;
  666. appearance31.BackColor = System.Drawing.SystemColors.Highlight;
  667. appearance31.ForeColor = System.Drawing.SystemColors.HighlightText;
  668. this.cmb_Buttress.DisplayLayout.Override.ActiveRowAppearance = appearance31;
  669. this.cmb_Buttress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  670. this.cmb_Buttress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  671. appearance32.BackColor = System.Drawing.SystemColors.Window;
  672. this.cmb_Buttress.DisplayLayout.Override.CardAreaAppearance = appearance32;
  673. appearance33.BorderColor = System.Drawing.Color.Silver;
  674. appearance33.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  675. this.cmb_Buttress.DisplayLayout.Override.CellAppearance = appearance33;
  676. this.cmb_Buttress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  677. this.cmb_Buttress.DisplayLayout.Override.CellPadding = 0;
  678. appearance34.BackColor = System.Drawing.SystemColors.Control;
  679. appearance34.BackColor2 = System.Drawing.SystemColors.ControlDark;
  680. appearance34.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  681. appearance34.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  682. appearance34.BorderColor = System.Drawing.SystemColors.Window;
  683. this.cmb_Buttress.DisplayLayout.Override.GroupByRowAppearance = appearance34;
  684. appearance35.TextHAlign = Infragistics.Win.HAlign.Left;
  685. this.cmb_Buttress.DisplayLayout.Override.HeaderAppearance = appearance35;
  686. this.cmb_Buttress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  687. this.cmb_Buttress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  688. appearance36.BackColor = System.Drawing.SystemColors.Window;
  689. appearance36.BorderColor = System.Drawing.Color.Silver;
  690. this.cmb_Buttress.DisplayLayout.Override.RowAppearance = appearance36;
  691. this.cmb_Buttress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  692. appearance37.BackColor = System.Drawing.SystemColors.ControlLight;
  693. this.cmb_Buttress.DisplayLayout.Override.TemplateAddRowAppearance = appearance37;
  694. this.cmb_Buttress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  695. this.cmb_Buttress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  696. this.cmb_Buttress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  697. this.cmb_Buttress.DisplayMember = "";
  698. this.cmb_Buttress.Enabled = false;
  699. this.cmb_Buttress.FlatMode = true;
  700. this.cmb_Buttress.Location = new System.Drawing.Point(307, 56);
  701. this.cmb_Buttress.Name = "cmb_Buttress";
  702. this.cmb_Buttress.Size = new System.Drawing.Size(125, 19);
  703. this.cmb_Buttress.TabIndex = 11;
  704. this.cmb_Buttress.ValueMember = "";
  705. //
  706. // chk_Buttress
  707. //
  708. this.chk_Buttress.FlatMode = true;
  709. this.chk_Buttress.Location = new System.Drawing.Point(250, 56);
  710. this.chk_Buttress.Name = "chk_Buttress";
  711. this.chk_Buttress.Size = new System.Drawing.Size(48, 20);
  712. this.chk_Buttress.TabIndex = 10;
  713. this.chk_Buttress.Text = "垛位";
  714. this.chk_Buttress.CheckedChanged += new System.EventHandler(this.chk_Buttress_CheckedChanged);
  715. //
  716. // txt_PiHao
  717. //
  718. this.txt_PiHao.AutoSize = true;
  719. this.txt_PiHao.Enabled = false;
  720. this.txt_PiHao.FlatMode = true;
  721. this.txt_PiHao.Location = new System.Drawing.Point(307, 33);
  722. this.txt_PiHao.Name = "txt_PiHao";
  723. this.txt_PiHao.Size = new System.Drawing.Size(125, 19);
  724. this.txt_PiHao.TabIndex = 9;
  725. //
  726. // chk_PiHao
  727. //
  728. this.chk_PiHao.FlatMode = true;
  729. this.chk_PiHao.Location = new System.Drawing.Point(250, 34);
  730. this.chk_PiHao.Name = "chk_PiHao";
  731. this.chk_PiHao.Size = new System.Drawing.Size(64, 20);
  732. this.chk_PiHao.TabIndex = 8;
  733. this.chk_PiHao.Text = "批号";
  734. this.chk_PiHao.CheckedChanged += new System.EventHandler(this.chk_PiHao_CheckedChanged);
  735. //
  736. // txt_GangJuan
  737. //
  738. this.txt_GangJuan.AutoSize = true;
  739. this.txt_GangJuan.Enabled = false;
  740. this.txt_GangJuan.FlatMode = true;
  741. this.txt_GangJuan.Location = new System.Drawing.Point(307, 8);
  742. this.txt_GangJuan.Name = "txt_GangJuan";
  743. this.txt_GangJuan.Size = new System.Drawing.Size(125, 19);
  744. this.txt_GangJuan.TabIndex = 7;
  745. //
  746. // chk_GangJuan
  747. //
  748. this.chk_GangJuan.FlatMode = true;
  749. this.chk_GangJuan.Location = new System.Drawing.Point(250, 9);
  750. this.chk_GangJuan.Name = "chk_GangJuan";
  751. this.chk_GangJuan.Size = new System.Drawing.Size(64, 20);
  752. this.chk_GangJuan.TabIndex = 6;
  753. this.chk_GangJuan.Text = "钢卷号";
  754. this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
  755. //
  756. // txt_PlanNo
  757. //
  758. this.txt_PlanNo.AutoSize = true;
  759. this.txt_PlanNo.Enabled = false;
  760. this.txt_PlanNo.FlatMode = true;
  761. this.txt_PlanNo.Location = new System.Drawing.Point(80, 32);
  762. this.txt_PlanNo.Name = "txt_PlanNo";
  763. this.txt_PlanNo.Size = new System.Drawing.Size(160, 19);
  764. this.txt_PlanNo.TabIndex = 5;
  765. //
  766. // chk_PlanNo
  767. //
  768. this.chk_PlanNo.FlatMode = true;
  769. this.chk_PlanNo.Location = new System.Drawing.Point(8, 34);
  770. this.chk_PlanNo.Name = "chk_PlanNo";
  771. this.chk_PlanNo.Size = new System.Drawing.Size(64, 20);
  772. this.chk_PlanNo.TabIndex = 4;
  773. this.chk_PlanNo.Text = "合同号";
  774. this.chk_PlanNo.CheckedChanged += new System.EventHandler(this.chk_PlanNo_CheckedChanged);
  775. //
  776. // txt_RollEnd
  777. //
  778. this.txt_RollEnd.AutoSize = true;
  779. this.txt_RollEnd.Enabled = false;
  780. this.txt_RollEnd.FlatMode = true;
  781. this.txt_RollEnd.Location = new System.Drawing.Point(199, 8);
  782. this.txt_RollEnd.Name = "txt_RollEnd";
  783. this.txt_RollEnd.Size = new System.Drawing.Size(41, 19);
  784. this.txt_RollEnd.TabIndex = 3;
  785. //
  786. // txt_RollTop
  787. //
  788. this.txt_RollTop.AutoSize = true;
  789. this.txt_RollTop.Enabled = false;
  790. this.txt_RollTop.FlatMode = true;
  791. this.txt_RollTop.Location = new System.Drawing.Point(106, 8);
  792. this.txt_RollTop.Name = "txt_RollTop";
  793. this.txt_RollTop.Size = new System.Drawing.Size(94, 19);
  794. this.txt_RollTop.TabIndex = 2;
  795. //
  796. // txt_RollBegin
  797. //
  798. this.txt_RollBegin.AutoSize = true;
  799. this.txt_RollBegin.Enabled = false;
  800. this.txt_RollBegin.FlatMode = true;
  801. this.txt_RollBegin.Location = new System.Drawing.Point(80, 8);
  802. this.txt_RollBegin.Name = "txt_RollBegin";
  803. this.txt_RollBegin.Size = new System.Drawing.Size(32, 19);
  804. this.txt_RollBegin.TabIndex = 1;
  805. //
  806. // chk_ID
  807. //
  808. this.chk_ID.FlatMode = true;
  809. this.chk_ID.Location = new System.Drawing.Point(8, 9);
  810. this.chk_ID.Name = "chk_ID";
  811. this.chk_ID.Size = new System.Drawing.Size(72, 20);
  812. this.chk_ID.TabIndex = 0;
  813. this.chk_ID.Text = "卷板包号";
  814. this.chk_ID.CheckedChanged += new System.EventHandler(this.chk_ID_CheckedChanged);
  815. //
  816. // ultraGroupBox2
  817. //
  818. this.ultraGroupBox2.Controls.Add(this.gb_Turn);
  819. this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
  820. this.ultraGroupBox2.Location = new System.Drawing.Point(0, 114);
  821. this.ultraGroupBox2.Name = "ultraGroupBox2";
  822. this.ultraGroupBox2.Size = new System.Drawing.Size(1120, 412);
  823. this.ultraGroupBox2.SupportThemes = false;
  824. this.ultraGroupBox2.TabIndex = 2;
  825. //
  826. // gb_Turn
  827. //
  828. this.gb_Turn.DataSource = this.ds_All;
  829. appearance38.BackColor = System.Drawing.Color.Ivory;
  830. this.gb_Turn.DisplayLayout.Appearance = appearance38;
  831. ultraGridColumn1.Header.Caption = "卷板包号";
  832. ultraGridColumn1.Header.VisiblePosition = 0;
  833. ultraGridColumn1.RowLayoutColumnInfo.OriginX = 1;
  834. ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
  835. ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(121, 0);
  836. ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
  837. ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
  838. ultraGridColumn2.Header.Caption = "牌号";
  839. ultraGridColumn2.Header.VisiblePosition = 1;
  840. ultraGridColumn2.RowLayoutColumnInfo.OriginX = 4;
  841. ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
  842. ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
  843. ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
  844. ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
  845. ultraGridColumn3.Header.Caption = "规格";
  846. ultraGridColumn3.Header.VisiblePosition = 2;
  847. ultraGridColumn3.RowLayoutColumnInfo.OriginX = 5;
  848. ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
  849. ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0);
  850. ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
  851. ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
  852. ultraGridColumn4.Header.Caption = "数量";
  853. ultraGridColumn4.Header.VisiblePosition = 3;
  854. ultraGridColumn4.RowLayoutColumnInfo.OriginX = 7;
  855. ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
  856. ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
  857. ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
  858. ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
  859. ultraGridColumn5.Header.Caption = "重量";
  860. ultraGridColumn5.Header.VisiblePosition = 4;
  861. ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8;
  862. ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
  863. ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
  864. ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
  865. ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
  866. ultraGridColumn6.Header.Caption = "综合判定";
  867. ultraGridColumn6.Header.VisiblePosition = 5;
  868. ultraGridColumn6.RowLayoutColumnInfo.OriginX = 13;
  869. ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
  870. ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 0);
  871. ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
  872. ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
  873. ultraGridColumn7.Header.Caption = "合同号";
  874. ultraGridColumn7.Header.VisiblePosition = 6;
  875. ultraGridColumn7.RowLayoutColumnInfo.OriginX = 2;
  876. ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
  877. ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(139, 0);
  878. ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
  879. ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
  880. ultraGridColumn8.Header.Caption = "垛位";
  881. ultraGridColumn8.Header.VisiblePosition = 7;
  882. ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
  883. ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
  884. ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
  885. ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
  886. ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
  887. ultraGridColumn9.Header.Caption = "系统备注";
  888. ultraGridColumn9.Header.VisiblePosition = 8;
  889. ultraGridColumn9.RowLayoutColumnInfo.OriginX = 18;
  890. ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
  891. ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
  892. ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
  893. ultraGridColumn10.Header.Caption = "批号";
  894. ultraGridColumn10.Header.VisiblePosition = 9;
  895. ultraGridColumn10.RowLayoutColumnInfo.OriginX = 0;
  896. ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
  897. ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0);
  898. ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
  899. ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
  900. ultraGridColumn11.Header.Caption = "钢卷号";
  901. ultraGridColumn11.Header.VisiblePosition = 10;
  902. ultraGridColumn11.RowLayoutColumnInfo.OriginX = 3;
  903. ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
  904. ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(132, 0);
  905. ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
  906. ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
  907. ultraGridColumn12.Header.Caption = "生产时间";
  908. ultraGridColumn12.Header.VisiblePosition = 11;
  909. ultraGridColumn12.RowLayoutColumnInfo.OriginX = 16;
  910. ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
  911. ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
  912. ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
  913. ultraGridColumn13.Header.Caption = "登记人";
  914. ultraGridColumn13.Header.VisiblePosition = 12;
  915. ultraGridColumn13.RowLayoutColumnInfo.OriginX = 17;
  916. ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
  917. ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
  918. ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
  919. ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
  920. ultraGridColumn14.Header.Caption = "执行标准";
  921. ultraGridColumn14.Header.VisiblePosition = 13;
  922. ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
  923. ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
  924. ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0);
  925. ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
  926. ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
  927. ultraGridColumn15.Header.Caption = "区域";
  928. ultraGridColumn15.Header.VisiblePosition = 14;
  929. ultraGridColumn15.RowLayoutColumnInfo.OriginX = 10;
  930. ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
  931. ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
  932. ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
  933. ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
  934. ultraGridColumn16.Header.Caption = "备注";
  935. ultraGridColumn16.Header.VisiblePosition = 15;
  936. ultraGridColumn16.RowLayoutColumnInfo.OriginX = 14;
  937. ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
  938. ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(112, 0);
  939. ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
  940. ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
  941. ultraGridColumn17.Header.Caption = "登记时间";
  942. ultraGridColumn17.Header.VisiblePosition = 16;
  943. ultraGridColumn17.RowLayoutColumnInfo.OriginX = 12;
  944. ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
  945. ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
  946. ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
  947. ultraGridColumn18.Header.VisiblePosition = 17;
  948. ultraGridColumn18.Hidden = true;
  949. ultraGridColumn19.Header.Caption = "交货期";
  950. ultraGridColumn19.Header.VisiblePosition = 18;
  951. ultraGridColumn19.RowLayoutColumnInfo.OriginX = 15;
  952. ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
  953. ultraGridColumn19.RowLayoutColumnInfo.SpanX = 2;
  954. ultraGridColumn19.RowLayoutColumnInfo.SpanY = 2;
  955. ultraGridColumn20.Header.VisiblePosition = 19;
  956. ultraGridColumn20.Hidden = true;
  957. ultraGridColumn21.Header.Caption = "面积";
  958. ultraGridColumn21.Header.VisiblePosition = 20;
  959. ultraGridColumn21.RowLayoutColumnInfo.OriginX = 6;
  960. ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
  961. ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
  962. ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
  963. ultraGridBand1.Columns.AddRange(new object[] {
  964. ultraGridColumn1,
  965. ultraGridColumn2,
  966. ultraGridColumn3,
  967. ultraGridColumn4,
  968. ultraGridColumn5,
  969. ultraGridColumn6,
  970. ultraGridColumn7,
  971. ultraGridColumn8,
  972. ultraGridColumn9,
  973. ultraGridColumn10,
  974. ultraGridColumn11,
  975. ultraGridColumn12,
  976. ultraGridColumn13,
  977. ultraGridColumn14,
  978. ultraGridColumn15,
  979. ultraGridColumn16,
  980. ultraGridColumn17,
  981. ultraGridColumn18,
  982. ultraGridColumn19,
  983. ultraGridColumn20,
  984. ultraGridColumn21});
  985. appearance39.BackColor = System.Drawing.Color.LightSteelBlue;
  986. ultraGridBand1.Header.Appearance = appearance39;
  987. ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  988. summarySettings1.DisplayFormat = "{0}块";
  989. summarySettings1.GroupBySummaryValueAppearance = appearance40;
  990. summarySettings2.DisplayFormat = "{0}吨";
  991. summarySettings2.GroupBySummaryValueAppearance = appearance41;
  992. ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
  993. summarySettings1,
  994. summarySettings2});
  995. ultraGridBand1.UseRowLayout = true;
  996. this.gb_Turn.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
  997. this.gb_Turn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  998. appearance42.BackColor = System.Drawing.SystemColors.ActiveBorder;
  999. appearance42.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1000. appearance42.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  1001. appearance42.BorderColor = System.Drawing.SystemColors.Window;
  1002. this.gb_Turn.DisplayLayout.GroupByBox.Appearance = appearance42;
  1003. appearance43.ForeColor = System.Drawing.SystemColors.GrayText;
  1004. this.gb_Turn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance43;
  1005. this.gb_Turn.DisplayLayout.GroupByBox.Hidden = true;
  1006. this.gb_Turn.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
  1007. appearance44.BackColor = System.Drawing.SystemColors.Window;
  1008. appearance44.ForeColor = System.Drawing.SystemColors.ControlText;
  1009. this.gb_Turn.DisplayLayout.Override.ActiveCellAppearance = appearance44;
  1010. appearance45.BackColor = System.Drawing.SystemColors.Highlight;
  1011. appearance45.ForeColor = System.Drawing.SystemColors.HighlightText;
  1012. this.gb_Turn.DisplayLayout.Override.ActiveRowAppearance = appearance45;
  1013. appearance46.BorderColor = System.Drawing.Color.Black;
  1014. appearance46.TextVAlign = Infragistics.Win.VAlign.Middle;
  1015. this.gb_Turn.DisplayLayout.Override.CellAppearance = appearance46;
  1016. this.gb_Turn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  1017. this.gb_Turn.DisplayLayout.Override.CellPadding = 0;
  1018. appearance47.BackColor = System.Drawing.SystemColors.Control;
  1019. appearance47.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1020. appearance47.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  1021. appearance47.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  1022. appearance47.BorderColor = System.Drawing.SystemColors.Window;
  1023. appearance47.TextHAlign = Infragistics.Win.HAlign.Left;
  1024. appearance47.TextVAlign = Infragistics.Win.VAlign.Middle;
  1025. this.gb_Turn.DisplayLayout.Override.GroupByRowAppearance = appearance47;
  1026. this.gb_Turn.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
  1027. appearance48.BackColor = System.Drawing.Color.Silver;
  1028. this.gb_Turn.DisplayLayout.Override.HeaderAppearance = appearance48;
  1029. this.gb_Turn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  1030. this.gb_Turn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
  1031. appearance49.BackColor = System.Drawing.SystemColors.Window;
  1032. appearance49.BorderColor = System.Drawing.Color.Black;
  1033. appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
  1034. this.gb_Turn.DisplayLayout.Override.RowAppearance = appearance49;
  1035. appearance50.BackColor = System.Drawing.SystemColors.Window;
  1036. appearance50.BorderColor = System.Drawing.Color.Black;
  1037. appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
  1038. this.gb_Turn.DisplayLayout.Override.RowPreviewAppearance = appearance50;
  1039. this.gb_Turn.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
  1040. this.gb_Turn.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
  1041. this.gb_Turn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  1042. appearance51.TextHAlign = Infragistics.Win.HAlign.Left;
  1043. appearance51.TextVAlign = Infragistics.Win.VAlign.Middle;
  1044. this.gb_Turn.DisplayLayout.Override.SelectedRowAppearance = appearance51;
  1045. this.gb_Turn.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
  1046. appearance52.BackColor = System.Drawing.SystemColors.Window;
  1047. this.gb_Turn.DisplayLayout.Override.SummaryFooterAppearance = appearance52;
  1048. appearance53.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
  1049. appearance53.ForeColor = System.Drawing.Color.Red;
  1050. this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance53;
  1051. this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  1052. appearance54.BackColor = System.Drawing.Color.MistyRose;
  1053. appearance54.ForeColor = System.Drawing.Color.Blue;
  1054. appearance54.TextHAlign = Infragistics.Win.HAlign.Right;
  1055. appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
  1056. this.gb_Turn.DisplayLayout.Override.SummaryValueAppearance = appearance54;
  1057. appearance55.BackColor = System.Drawing.SystemColors.ControlLight;
  1058. this.gb_Turn.DisplayLayout.Override.TemplateAddRowAppearance = appearance55;
  1059. this.gb_Turn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  1060. this.gb_Turn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  1061. this.gb_Turn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  1062. this.gb_Turn.Dock = System.Windows.Forms.DockStyle.Fill;
  1063. this.gb_Turn.Location = new System.Drawing.Point(3, 2);
  1064. this.gb_Turn.Name = "gb_Turn";
  1065. this.gb_Turn.Size = new System.Drawing.Size(1114, 407);
  1066. this.gb_Turn.TabIndex = 0;
  1067. this.gb_Turn.Text = "ultraGrid1";
  1068. this.gb_Turn.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.gb_Turn_InitializeRow);
  1069. //
  1070. // ds_All
  1071. //
  1072. this.ds_All.DataSetName = "NewDataSet";
  1073. this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN");
  1074. this.ds_All.Tables.AddRange(new System.Data.DataTable[] {
  1075. this.dataTable1});
  1076. //
  1077. // dataTable1
  1078. //
  1079. this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {
  1080. this.dataColumn1,
  1081. this.dataColumn2,
  1082. this.dataColumn3,
  1083. this.dataColumn4,
  1084. this.dataColumn5,
  1085. this.dataColumn6,
  1086. this.dataColumn7,
  1087. this.dataColumn8,
  1088. this.dataColumn9,
  1089. this.dataColumn10,
  1090. this.dataColumn12,
  1091. this.dataColumn13,
  1092. this.dataColumn14,
  1093. this.dataColumn15,
  1094. this.dataColumn16,
  1095. this.dataColumn17,
  1096. this.dataColumn11,
  1097. this.dataColumn18,
  1098. this.dataColumn19,
  1099. this.dataColumn20,
  1100. this.dataColumn21});
  1101. this.dataTable1.TableName = "KCJ3_TURNOFFLIST";
  1102. //
  1103. // dataColumn1
  1104. //
  1105. this.dataColumn1.ColumnName = "COIL_NO_ID";
  1106. //
  1107. // dataColumn2
  1108. //
  1109. this.dataColumn2.ColumnName = "STL_GRD";
  1110. //
  1111. // dataColumn3
  1112. //
  1113. this.dataColumn3.ColumnName = "gg";
  1114. //
  1115. // dataColumn4
  1116. //
  1117. this.dataColumn4.ColumnName = "ZSLAB_NUM";
  1118. this.dataColumn4.DataType = typeof(decimal);
  1119. //
  1120. // dataColumn5
  1121. //
  1122. this.dataColumn5.ColumnName = "ZSLAB_WEIGHT";
  1123. this.dataColumn5.DataType = typeof(decimal);
  1124. //
  1125. // dataColumn6
  1126. //
  1127. this.dataColumn6.ColumnName = "TOT_DEC_GRD";
  1128. //
  1129. // dataColumn7
  1130. //
  1131. this.dataColumn7.ColumnName = "ORD_NO";
  1132. //
  1133. // dataColumn8
  1134. //
  1135. this.dataColumn8.ColumnName = "NOW_BUTTRESS";
  1136. //
  1137. // dataColumn9
  1138. //
  1139. this.dataColumn9.ColumnName = "REMARK";
  1140. //
  1141. // dataColumn10
  1142. //
  1143. this.dataColumn10.ColumnName = "BAHCT_NUMBER";
  1144. //
  1145. // dataColumn12
  1146. //
  1147. this.dataColumn12.ColumnName = "OLD_SAMPL_NO";
  1148. //
  1149. // dataColumn13
  1150. //
  1151. this.dataColumn13.ColumnName = "PCTIME";
  1152. this.dataColumn13.DataType = typeof(System.DateTime);
  1153. //
  1154. // dataColumn14
  1155. //
  1156. this.dataColumn14.ColumnName = "CREATOR";
  1157. //
  1158. // dataColumn15
  1159. //
  1160. this.dataColumn15.ColumnName = "SX_BIAOZHUN";
  1161. //
  1162. // dataColumn16
  1163. //
  1164. this.dataColumn16.ColumnName = "AREA";
  1165. //
  1166. // dataColumn17
  1167. //
  1168. this.dataColumn17.ColumnName = "REM";
  1169. //
  1170. // dataColumn11
  1171. //
  1172. this.dataColumn11.ColumnName = "TIMENAME";
  1173. this.dataColumn11.DataType = typeof(System.DateTime);
  1174. //
  1175. // dataColumn18
  1176. //
  1177. this.dataColumn18.ColumnName = "SPM_CRK_CD1";
  1178. //
  1179. // dataColumn19
  1180. //
  1181. this.dataColumn19.ColumnName = "DEVLMT_DTIME";
  1182. //
  1183. // dataColumn20
  1184. //
  1185. this.dataColumn20.ColumnName = "CREATETIME";
  1186. this.dataColumn20.DataType = typeof(System.DateTime);
  1187. //
  1188. // dataColumn21
  1189. //
  1190. this.dataColumn21.ColumnName = "MJ";
  1191. this.dataColumn21.DataType = typeof(decimal);
  1192. //
  1193. // CPButtressQuery
  1194. //
  1195. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  1196. this.ClientSize = new System.Drawing.Size(1120, 526);
  1197. this.Controls.Add(this.ultraGroupBox2);
  1198. this.Controls.Add(this.ultraGroupBox1);
  1199. this.Controls.Add(this.panel1);
  1200. this.Name = "CPButtressQuery";
  1201. this.Text = " 成品堆位信息查询";
  1202. this.Load += new System.EventHandler(this.CPButtressQuery_Load);
  1203. this.panel1.ResumeLayout(false);
  1204. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
  1205. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
  1206. this.ultraGroupBox1.ResumeLayout(false);
  1207. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).EndInit();
  1208. this.ultraGroupBox3.ResumeLayout(false);
  1209. ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit();
  1210. ((System.ComponentModel.ISupportInitialize)(this.txt_LicenseManrk)).EndInit();
  1211. ((System.ComponentModel.ISupportInitialize)(this.txt_License)).EndInit();
  1212. ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
  1213. ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
  1214. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
  1215. ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao)).EndInit();
  1216. ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
  1217. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).EndInit();
  1218. ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).EndInit();
  1219. ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
  1220. ((System.ComponentModel.ISupportInitialize)(this.txt_RollBegin)).EndInit();
  1221. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
  1222. this.ultraGroupBox2.ResumeLayout(false);
  1223. ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).EndInit();
  1224. ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit();
  1225. ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit();
  1226. this.ResumeLayout(false);
  1227. }
  1228. #endregion
  1229. private void chk_ID_CheckedChanged(object sender, System.EventArgs e)
  1230. {
  1231. this.txt_RollBegin.Enabled=this.chk_ID.Checked;
  1232. this.txt_RollEnd.Enabled=this.chk_ID.Checked;
  1233. this.txt_RollTop.Enabled=this.chk_ID.Checked;
  1234. }
  1235. private void chk_PlanNo_CheckedChanged(object sender, System.EventArgs e)
  1236. {
  1237. this.txt_PlanNo.Enabled=this.chk_PlanNo.Checked;
  1238. }
  1239. private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
  1240. {
  1241. this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
  1242. }
  1243. private void chk_PiHao_CheckedChanged(object sender, System.EventArgs e)
  1244. {
  1245. this.txt_PiHao.Enabled=this.chk_PiHao.Checked;
  1246. }
  1247. private void chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
  1248. {
  1249. this.cmb_Buttress.Enabled=this.chk_Buttress.Checked;
  1250. }
  1251. private void chk_Sleen_CheckedChanged(object sender, System.EventArgs e)
  1252. {
  1253. this.cmb_Sleen.Enabled=this.chk_Sleen.Checked;
  1254. }
  1255. private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
  1256. {
  1257. switch(e.Tool.Key)
  1258. {
  1259. case "QUERY":
  1260. this.ButtressQuery(this.getWhere());
  1261. break;
  1262. case "DUCE":
  1263. this.ExportButtressInfo();
  1264. break;
  1265. case "CLOSE":
  1266. this.Close();
  1267. break;
  1268. case "TAIZH":
  1269. PrintGrid();
  1270. break;
  1271. case "PRINTBQ":
  1272. Print_Log();
  1273. break;
  1274. }
  1275. }
  1276. private string getWhere()
  1277. {
  1278. string strSql="";
  1279. if(this.chk_ID.Checked)
  1280. {
  1281. strSql+=" AND A.COIL_NO_ID='"+this.txt_RollBegin.Text+"-"+this.txt_RollTop.Text+"-"+this.txt_RollEnd.Text+"'";
  1282. }
  1283. if(this.chk_PiHao.Checked)
  1284. {
  1285. strSql+=" AND A.BAHCT_NUMBER='"+this.txt_PiHao.Text+"'";
  1286. }
  1287. if(this.chk_Buttress.Checked)
  1288. {
  1289. strSql+=" AND C.NOW_BUTTRESS='"+this.cmb_Buttress.Text+"'";
  1290. }
  1291. if(this.chk_GangJuan.Checked)
  1292. {
  1293. strSql+=" AND C.OLD_SAMPL_NO='"+this.txt_GangJuan.Text+"'";
  1294. }
  1295. if(this.chk_PlanNo.Checked)
  1296. {
  1297. strSql+=" AND A.ORD_NO='"+this.txt_PlanNo.Text+"'";
  1298. }
  1299. if(this.chk_QuYu.Checked)
  1300. {
  1301. if(this.cmb_QuYu.Text.Trim()=="4#库")
  1302. {
  1303. strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'";
  1304. }
  1305. else
  1306. {
  1307. strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'";
  1308. }
  1309. }
  1310. if(this.chk_Sleen.Checked)
  1311. {
  1312. strSql+=" AND A.STL_GRD='"+this.cmb_Sleen.Text+"'";
  1313. }
  1314. return strSql;
  1315. }
  1316. private void ButtressQuery(string _Conntion)
  1317. {
  1318. try
  1319. {
  1320. string strOut="";
  1321. this.ds_All.Tables["KCJ3_TURNOFFLIST"].Clear();
  1322. DataSet ds=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.CPButtressQuery","CPBuressQuery",new object[]{_Conntion},out strOut);
  1323. if(strOut=="")
  1324. {
  1325. this.ds_All.Merge(ds);
  1326. this.ds_All.Tables["KCJ3_TURNOFFLIST"].AcceptChanges();
  1327. Comm.SetGridSumArea(this.gb_Turn);
  1328. }
  1329. }
  1330. catch(Exception ex)
  1331. {
  1332. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1333. }
  1334. }
  1335. private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
  1336. {
  1337. try
  1338. {
  1339. if(this.chk_SelectAll.Checked)
  1340. {
  1341. this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1342. this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
  1343. }
  1344. else
  1345. {
  1346. this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
  1347. this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
  1348. if(this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters.Count>0)
  1349. {
  1350. for(int i=0;i<this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
  1351. {
  1352. this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
  1353. }
  1354. }
  1355. }
  1356. }
  1357. catch(System.Exception ex)
  1358. {
  1359. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1360. }
  1361. }
  1362. #region "导出报表"
  1363. private void ExportButtressInfo()
  1364. {
  1365. if(this.gb_Turn.Rows.Count > 0)
  1366. {
  1367. Comm.ExPortExcel(this.gb_Turn,this.excelExporter);
  1368. }
  1369. else
  1370. {
  1371. MessageBox.Show("无垛位信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
  1372. }
  1373. }
  1374. #endregion
  1375. private void gb_Turn_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
  1376. {
  1377. if(Comm.ObjToStr(e.Row.Cells["DEVLMT_DTIME"].Value) != "")
  1378. {
  1379. if (DateTime.Today.AddDays(11).ToString("yyyy-MM-dd").CompareTo(Comm.ObjToStr(e.Row.Cells["DEVLMT_DTIME"].Value)) >= 0)
  1380. {
  1381. e.Row.Cells["DEVLMT_DTIME"].Appearance.BackColor = Color.Blue;
  1382. }
  1383. }
  1384. }
  1385. private void PrintGrid()
  1386. {
  1387. FrmPrint print=new FrmPrint();
  1388. print.UltraGrid = this.gb_Turn;
  1389. print.UCGridPrint.SubHeadLeftText = "堆位:"+ Comm.ObjToStr(cmb_Buttress.Text);
  1390. print.UCGridPrint.SubHeadRightText ="打印日期:"+System.DateTime.Now.Date.ToString("yyyy-MM-dd");
  1391. print.UCGridPrint.HeadText ="板材卷板成品堆垛实物反映表";
  1392. // frmPrint.UCGridPrint.SubFootLeftText = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
  1393. print.UCGridPrint.ColumnList["卷板包号"].IsSelected = true;
  1394. print.UCGridPrint.ColumnList["牌号"].IsSelected = true;
  1395. print.UCGridPrint.ColumnList["规格"].IsSelected = true;
  1396. print.UCGridPrint.ColumnList["数量"].IsSelected = true;
  1397. print.UCGridPrint.ColumnList["重量"].IsSelected = true;
  1398. print.UCGridPrint.ColumnList["综合判定"].IsSelected = false;
  1399. print.UCGridPrint.ColumnList["合同号"].IsSelected = true;
  1400. print.UCGridPrint.ColumnList["垛位"].IsSelected = true;
  1401. print.UCGridPrint.ColumnList["备注"].IsSelected = true;
  1402. print.ShowDialog();
  1403. }
  1404. private void CPButtressQuery_Load(object sender, System.EventArgs e)
  1405. {
  1406. string strOut="";
  1407. string sql="";
  1408. DataSet ds =null;
  1409. sql = "select areacode from kcj_area_ZW where isvalid='1' AND AREACODE='对外加工(卷板)' ";
  1410. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  1411. ds.Tables[0].TableName="KCJ_AREA";
  1412. Comm.Init_ComboControl(this.cmb_QuYu,"KCJ_AREA","AREACODE","AREACODE",ref ds);
  1413. //堆位
  1414. sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
  1415. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  1416. ds.Tables[0].TableName="KCJ_BUTTRESS";
  1417. Comm.Init_ComboControl(this.cmb_Buttress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
  1418. Comm.SetGridSumArea(this.gb_Turn);
  1419. }
  1420. private void chk_QuYu_CheckedChanged(object sender, System.EventArgs e)
  1421. {
  1422. this.cmb_QuYu.Enabled=this.chk_QuYu.Checked;
  1423. }
  1424. //开平板打印标签
  1425. [DllImport("HorusDC.dll",EntryPoint= "OutToPrint")]
  1426. private static extern int OutToPrint(int Qty/*打印张数*/);
  1427. [DllImport("HorusDC.dll",EntryPoint= "StartPrint")]
  1428. private static extern void StartPrint(string unit,int dotsize_w,int dotsize_h,int heat/*温度*/);
  1429. [DllImport("HorusDC.dll",EntryPoint= "TextTo")]
  1430. private static extern void TextTo(string printdata);
  1431. private void Print_Log()
  1432. {
  1433. try
  1434. {
  1435. StartPrint("m",1,1,26);
  1436. if(this.gb_Turn.Selected.Rows.Count>0)
  1437. {
  1438. foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Turn.Selected.Rows)
  1439. {
  1440. TextTo(this.txt_License.Text.Trim().ToString());
  1441. TextTo(this.txt_LicenseManrk.Text.Trim());
  1442. TextTo(row.Cells["CREATOR"].Text.Trim());
  1443. TextTo(row.Cells["PCTIME"].Text);
  1444. TextTo(row.Cells["ZSLAB_NUM"].Text);
  1445. TextTo(row.Cells["ORD_NO"].Text);
  1446. TextTo(row.Cells["ZSLAB_WEIGHT"].Text);
  1447. TextTo(row.Cells["STOVENO"].Text);
  1448. TextTo(row.Cells["ZSLAB_PLY"].Text+"*"+row.Cells["ZSLAB_WIDTH"].Text+"*"+row.Cells["ZSLAB_LENGTH"].Text);
  1449. TextTo(row.Cells["OLD_SAMPL_NO"].Text);
  1450. TextTo(row.Cells["SX_BIAOZHUN"].Text);
  1451. TextTo(row.Cells["BAHCT_NUMBER"].Text);
  1452. TextTo(row.Cells["STL_GRD"].Text);
  1453. TextTo(row.Cells["COIL_NO_ID"].Text);
  1454. TextTo(row.Cells["PCTIME"].Text);
  1455. if(OutToPrint(Convert.ToInt32(this.txt_Num.Value))<=0)
  1456. {
  1457. MessageBox.Show("打印量不能小于0","提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);
  1458. return;
  1459. }
  1460. }
  1461. }
  1462. else
  1463. {
  1464. MessageBox.Show("请选择需打印标签的板块信息!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
  1465. }
  1466. }
  1467. catch(Exception ex)
  1468. {
  1469. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1470. }
  1471. }
  1472. }
  1473. }