d780cd18284c5bbecdd250085a77aaa1c23d89fd.svn-base 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196
  1. using System;
  2. using System.Collections;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Windows.Forms;
  7. using Core.XgMes.Client.StorageBase;
  8. using Core.XgMes.Client.TurnoffReport.Dialog;
  9. namespace Core.XgMes.Client.JGKC.SteelPlateManager
  10. {
  11. /// <summary>
  12. /// 中板厂成品库存综合查询查询条件控件
  13. /// </summary>
  14. public class ctlKCJListQuery : System.Windows.Forms.UserControl
  15. {
  16. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
  17. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
  18. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNumBegin;
  19. private Infragistics.Win.Misc.UltraLabel ultraLabel1;
  20. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNumEnd;
  21. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Ply;
  22. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyBegin;
  23. private Infragistics.Win.Misc.UltraLabel ultraLabel2;
  24. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyEnd;
  25. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthEnd;
  26. private Infragistics.Win.Misc.UltraLabel ultraLabel3;
  27. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthBegin;
  28. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Width;
  29. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LengthEnd;
  30. private Infragistics.Win.Misc.UltraLabel ultraLabel4;
  31. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LenghtBegin;
  32. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Length;
  33. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_InStorageTime;
  34. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_Begin;
  35. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_End;
  36. private Infragistics.Win.Misc.UltraLabel ultraLabel5;
  37. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_NPlanOrder;
  38. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_NPlanOrder;
  39. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PrdTime;
  40. private Infragistics.Win.Misc.UltraLabel ultraLabel6;
  41. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_PrdEnd;
  42. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_PrdBegin;
  43. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Condole;
  44. private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Condole;
  45. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_ButtressRemark;
  46. private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_BRemark;
  47. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNO;
  48. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
  49. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
  50. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buttress;
  51. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_SteelName;
  52. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SteelName;
  53. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PactNO;
  54. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactNO;
  55. /// <summary>
  56. /// 必需的设计器变量。
  57. /// </summary>
  58. private System.ComponentModel.Container components = null;
  59. public ctlKCJListQuery()
  60. {
  61. // 该调用是 Windows.Forms 窗体设计器所必需的。
  62. InitializeComponent();
  63. txt_RollTop.Text = "H"+System.DateTime.Now.ToString("yy").Substring(1,1);
  64. // TODO: 在 InitializeComponent 调用后添加任何初始化
  65. }
  66. /// <summary>
  67. /// 清理所有正在使用的资源。
  68. /// </summary>
  69. protected override void Dispose( bool disposing )
  70. {
  71. if( disposing )
  72. {
  73. if(components != null)
  74. {
  75. components.Dispose();
  76. }
  77. }
  78. base.Dispose( disposing );
  79. }
  80. #region 组件设计器生成的代码
  81. /// <summary>
  82. /// 设计器支持所需的方法 - 不要使用代码编辑器
  83. /// 修改此方法的内容。
  84. /// </summary>
  85. private void InitializeComponent()
  86. {
  87. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  88. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  89. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  90. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  91. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  92. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  93. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  94. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  95. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  96. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  97. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  98. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  99. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  100. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  101. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  102. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  103. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  104. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  105. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  106. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  107. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  108. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  109. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  110. Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
  111. this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  112. this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  113. this.txt_RollNumBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  114. this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
  115. this.txt_RollNumEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  116. this.chk_Ply = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  117. this.txt_PlyBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  118. this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
  119. this.txt_PlyEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  120. this.txt_WidthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  121. this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
  122. this.txt_WidthBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  123. this.chk_Width = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  124. this.txt_LengthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  125. this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
  126. this.txt_LenghtBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  127. this.chk_Length = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  128. this.chk_InStorageTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  129. this.Dte_Begin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  130. this.Dte_End = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  131. this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
  132. this.chk_NPlanOrder = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  133. this.txt_NPlanOrder = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  134. this.Chk_PrdTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  135. this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
  136. this.Dte_PrdEnd = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  137. this.Dte_PrdBegin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  138. this.Chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  139. this.Txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  140. this.Chk_ButtressRemark = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  141. this.Txt_BRemark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  142. this.chk_PlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  143. this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  144. this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
  145. this.chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  146. this.cmb_SteelName = new Infragistics.Win.UltraWinGrid.UltraCombo();
  147. this.chk_SteelName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  148. this.txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  149. this.chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  150. ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
  151. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumBegin)).BeginInit();
  152. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumEnd)).BeginInit();
  153. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).BeginInit();
  154. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).BeginInit();
  155. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).BeginInit();
  156. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).BeginInit();
  157. ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).BeginInit();
  158. ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).BeginInit();
  159. ((System.ComponentModel.ISupportInitialize)(this.Dte_Begin)).BeginInit();
  160. ((System.ComponentModel.ISupportInitialize)(this.Dte_End)).BeginInit();
  161. ((System.ComponentModel.ISupportInitialize)(this.txt_NPlanOrder)).BeginInit();
  162. ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdEnd)).BeginInit();
  163. ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdBegin)).BeginInit();
  164. ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).BeginInit();
  165. ((System.ComponentModel.ISupportInitialize)(this.Txt_BRemark)).BeginInit();
  166. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
  167. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
  168. ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelName)).BeginInit();
  169. ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).BeginInit();
  170. this.SuspendLayout();
  171. //
  172. // chk_RollNum
  173. //
  174. this.chk_RollNum.FlatMode = true;
  175. this.chk_RollNum.Location = new System.Drawing.Point(3, 10);
  176. this.chk_RollNum.Name = "chk_RollNum";
  177. this.chk_RollNum.Size = new System.Drawing.Size(80, 20);
  178. this.chk_RollNum.TabIndex = 9;
  179. this.chk_RollNum.Text = "轧批号从";
  180. //
  181. // txt_RollTop
  182. //
  183. this.txt_RollTop.AutoSize = true;
  184. this.txt_RollTop.FlatMode = true;
  185. this.txt_RollTop.Location = new System.Drawing.Point(77, 6);
  186. this.txt_RollTop.Name = "txt_RollTop";
  187. this.txt_RollTop.Size = new System.Drawing.Size(26, 19);
  188. this.txt_RollTop.TabIndex = 10;
  189. this.txt_RollTop.Text = "H7";
  190. //
  191. // txt_RollNumBegin
  192. //
  193. this.txt_RollNumBegin.AutoSize = true;
  194. this.txt_RollNumBegin.FlatMode = true;
  195. this.txt_RollNumBegin.Location = new System.Drawing.Point(103, 6);
  196. this.txt_RollNumBegin.MaxLength = 5;
  197. this.txt_RollNumBegin.Name = "txt_RollNumBegin";
  198. this.txt_RollNumBegin.Size = new System.Drawing.Size(57, 19);
  199. this.txt_RollNumBegin.TabIndex = 11;
  200. //
  201. // ultraLabel1
  202. //
  203. this.ultraLabel1.Location = new System.Drawing.Point(160, 10);
  204. this.ultraLabel1.Name = "ultraLabel1";
  205. this.ultraLabel1.Size = new System.Drawing.Size(17, 16);
  206. this.ultraLabel1.TabIndex = 12;
  207. this.ultraLabel1.Text = "到";
  208. //
  209. // txt_RollNumEnd
  210. //
  211. this.txt_RollNumEnd.AutoSize = true;
  212. this.txt_RollNumEnd.FlatMode = true;
  213. this.txt_RollNumEnd.Location = new System.Drawing.Point(178, 6);
  214. this.txt_RollNumEnd.MaxLength = 5;
  215. this.txt_RollNumEnd.Name = "txt_RollNumEnd";
  216. this.txt_RollNumEnd.Size = new System.Drawing.Size(58, 19);
  217. this.txt_RollNumEnd.TabIndex = 13;
  218. //
  219. // chk_Ply
  220. //
  221. this.chk_Ply.FlatMode = true;
  222. this.chk_Ply.Location = new System.Drawing.Point(3, 34);
  223. this.chk_Ply.Name = "chk_Ply";
  224. this.chk_Ply.Size = new System.Drawing.Size(80, 20);
  225. this.chk_Ply.TabIndex = 14;
  226. this.chk_Ply.Text = "厚度从";
  227. //
  228. // txt_PlyBegin
  229. //
  230. this.txt_PlyBegin.FlatMode = true;
  231. this.txt_PlyBegin.Location = new System.Drawing.Point(77, 30);
  232. this.txt_PlyBegin.MaskInput = "nnn.nnn";
  233. this.txt_PlyBegin.Name = "txt_PlyBegin";
  234. this.txt_PlyBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
  235. this.txt_PlyBegin.PromptChar = ' ';
  236. this.txt_PlyBegin.Size = new System.Drawing.Size(83, 19);
  237. this.txt_PlyBegin.TabIndex = 15;
  238. //
  239. // ultraLabel2
  240. //
  241. this.ultraLabel2.Location = new System.Drawing.Point(160, 34);
  242. this.ultraLabel2.Name = "ultraLabel2";
  243. this.ultraLabel2.Size = new System.Drawing.Size(17, 16);
  244. this.ultraLabel2.TabIndex = 16;
  245. this.ultraLabel2.Text = "到";
  246. //
  247. // txt_PlyEnd
  248. //
  249. this.txt_PlyEnd.FlatMode = true;
  250. this.txt_PlyEnd.Location = new System.Drawing.Point(178, 30);
  251. this.txt_PlyEnd.MaskInput = "nnn.nnn";
  252. this.txt_PlyEnd.Name = "txt_PlyEnd";
  253. this.txt_PlyEnd.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
  254. this.txt_PlyEnd.PromptChar = ' ';
  255. this.txt_PlyEnd.Size = new System.Drawing.Size(58, 19);
  256. this.txt_PlyEnd.TabIndex = 17;
  257. //
  258. // txt_WidthEnd
  259. //
  260. this.txt_WidthEnd.FlatMode = true;
  261. this.txt_WidthEnd.Location = new System.Drawing.Point(178, 54);
  262. this.txt_WidthEnd.MaskInput = "nnnn";
  263. this.txt_WidthEnd.Name = "txt_WidthEnd";
  264. this.txt_WidthEnd.PromptChar = ' ';
  265. this.txt_WidthEnd.Size = new System.Drawing.Size(58, 19);
  266. this.txt_WidthEnd.TabIndex = 21;
  267. //
  268. // ultraLabel3
  269. //
  270. this.ultraLabel3.Location = new System.Drawing.Point(160, 56);
  271. this.ultraLabel3.Name = "ultraLabel3";
  272. this.ultraLabel3.Size = new System.Drawing.Size(17, 16);
  273. this.ultraLabel3.TabIndex = 20;
  274. this.ultraLabel3.Text = "到";
  275. //
  276. // txt_WidthBegin
  277. //
  278. this.txt_WidthBegin.FlatMode = true;
  279. this.txt_WidthBegin.Location = new System.Drawing.Point(77, 54);
  280. this.txt_WidthBegin.MaskInput = "nnnn";
  281. this.txt_WidthBegin.Name = "txt_WidthBegin";
  282. this.txt_WidthBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
  283. this.txt_WidthBegin.PromptChar = ' ';
  284. this.txt_WidthBegin.Size = new System.Drawing.Size(83, 19);
  285. this.txt_WidthBegin.TabIndex = 19;
  286. //
  287. // chk_Width
  288. //
  289. this.chk_Width.FlatMode = true;
  290. this.chk_Width.Location = new System.Drawing.Point(3, 58);
  291. this.chk_Width.Name = "chk_Width";
  292. this.chk_Width.Size = new System.Drawing.Size(80, 20);
  293. this.chk_Width.TabIndex = 18;
  294. this.chk_Width.Text = "宽度从";
  295. //
  296. // txt_LengthEnd
  297. //
  298. this.txt_LengthEnd.FlatMode = true;
  299. this.txt_LengthEnd.Location = new System.Drawing.Point(178, 78);
  300. this.txt_LengthEnd.MaskInput = "nnnnn";
  301. this.txt_LengthEnd.Name = "txt_LengthEnd";
  302. this.txt_LengthEnd.PromptChar = ' ';
  303. this.txt_LengthEnd.Size = new System.Drawing.Size(58, 19);
  304. this.txt_LengthEnd.TabIndex = 25;
  305. //
  306. // ultraLabel4
  307. //
  308. this.ultraLabel4.Location = new System.Drawing.Point(160, 80);
  309. this.ultraLabel4.Name = "ultraLabel4";
  310. this.ultraLabel4.Size = new System.Drawing.Size(17, 16);
  311. this.ultraLabel4.TabIndex = 24;
  312. this.ultraLabel4.Text = "到";
  313. //
  314. // txt_LenghtBegin
  315. //
  316. this.txt_LenghtBegin.FlatMode = true;
  317. this.txt_LenghtBegin.Location = new System.Drawing.Point(77, 78);
  318. this.txt_LenghtBegin.MaskInput = "nnnnn";
  319. this.txt_LenghtBegin.Name = "txt_LenghtBegin";
  320. this.txt_LenghtBegin.PromptChar = ' ';
  321. this.txt_LenghtBegin.Size = new System.Drawing.Size(83, 19);
  322. this.txt_LenghtBegin.TabIndex = 23;
  323. //
  324. // chk_Length
  325. //
  326. this.chk_Length.FlatMode = true;
  327. this.chk_Length.Location = new System.Drawing.Point(3, 80);
  328. this.chk_Length.Name = "chk_Length";
  329. this.chk_Length.Size = new System.Drawing.Size(80, 20);
  330. this.chk_Length.TabIndex = 22;
  331. this.chk_Length.Text = "长度从";
  332. //
  333. // chk_InStorageTime
  334. //
  335. this.chk_InStorageTime.FlatMode = true;
  336. this.chk_InStorageTime.Location = new System.Drawing.Point(242, 5);
  337. this.chk_InStorageTime.Name = "chk_InStorageTime";
  338. this.chk_InStorageTime.Size = new System.Drawing.Size(80, 20);
  339. this.chk_InStorageTime.TabIndex = 47;
  340. this.chk_InStorageTime.Text = "入库时间";
  341. //
  342. // Dte_Begin
  343. //
  344. this.Dte_Begin.FlatMode = true;
  345. this.Dte_Begin.Location = new System.Drawing.Point(319, 5);
  346. this.Dte_Begin.Name = "Dte_Begin";
  347. this.Dte_Begin.Size = new System.Drawing.Size(100, 19);
  348. this.Dte_Begin.TabIndex = 48;
  349. //
  350. // Dte_End
  351. //
  352. this.Dte_End.FlatMode = true;
  353. this.Dte_End.Location = new System.Drawing.Point(449, 4);
  354. this.Dte_End.Name = "Dte_End";
  355. this.Dte_End.Size = new System.Drawing.Size(100, 19);
  356. this.Dte_End.TabIndex = 49;
  357. //
  358. // ultraLabel5
  359. //
  360. this.ultraLabel5.Location = new System.Drawing.Point(426, 9);
  361. this.ultraLabel5.Name = "ultraLabel5";
  362. this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
  363. this.ultraLabel5.TabIndex = 50;
  364. this.ultraLabel5.Text = "到";
  365. //
  366. // chk_NPlanOrder
  367. //
  368. this.chk_NPlanOrder.FlatMode = true;
  369. this.chk_NPlanOrder.Location = new System.Drawing.Point(242, 74);
  370. this.chk_NPlanOrder.Name = "chk_NPlanOrder";
  371. this.chk_NPlanOrder.Size = new System.Drawing.Size(80, 20);
  372. this.chk_NPlanOrder.TabIndex = 53;
  373. this.chk_NPlanOrder.Text = "现在订单";
  374. //
  375. // txt_NPlanOrder
  376. //
  377. this.txt_NPlanOrder.AutoSize = true;
  378. this.txt_NPlanOrder.FlatMode = true;
  379. this.txt_NPlanOrder.Location = new System.Drawing.Point(319, 74);
  380. this.txt_NPlanOrder.Name = "txt_NPlanOrder";
  381. this.txt_NPlanOrder.Size = new System.Drawing.Size(74, 19);
  382. this.txt_NPlanOrder.TabIndex = 54;
  383. //
  384. // Chk_PrdTime
  385. //
  386. this.Chk_PrdTime.FlatMode = true;
  387. this.Chk_PrdTime.Location = new System.Drawing.Point(242, 27);
  388. this.Chk_PrdTime.Name = "Chk_PrdTime";
  389. this.Chk_PrdTime.Size = new System.Drawing.Size(80, 20);
  390. this.Chk_PrdTime.TabIndex = 66;
  391. this.Chk_PrdTime.Text = "生产时间";
  392. //
  393. // ultraLabel6
  394. //
  395. this.ultraLabel6.Location = new System.Drawing.Point(425, 31);
  396. this.ultraLabel6.Name = "ultraLabel6";
  397. this.ultraLabel6.Size = new System.Drawing.Size(17, 16);
  398. this.ultraLabel6.TabIndex = 69;
  399. this.ultraLabel6.Text = "到";
  400. //
  401. // Dte_PrdEnd
  402. //
  403. this.Dte_PrdEnd.FlatMode = true;
  404. this.Dte_PrdEnd.Location = new System.Drawing.Point(449, 26);
  405. this.Dte_PrdEnd.Name = "Dte_PrdEnd";
  406. this.Dte_PrdEnd.Size = new System.Drawing.Size(100, 19);
  407. this.Dte_PrdEnd.TabIndex = 68;
  408. //
  409. // Dte_PrdBegin
  410. //
  411. this.Dte_PrdBegin.FlatMode = true;
  412. this.Dte_PrdBegin.Location = new System.Drawing.Point(319, 27);
  413. this.Dte_PrdBegin.Name = "Dte_PrdBegin";
  414. this.Dte_PrdBegin.Size = new System.Drawing.Size(100, 19);
  415. this.Dte_PrdBegin.TabIndex = 67;
  416. //
  417. // Chk_Condole
  418. //
  419. this.Chk_Condole.FlatMode = true;
  420. this.Chk_Condole.Location = new System.Drawing.Point(398, 51);
  421. this.Chk_Condole.Name = "Chk_Condole";
  422. this.Chk_Condole.Size = new System.Drawing.Size(80, 20);
  423. this.Chk_Condole.TabIndex = 71;
  424. this.Chk_Condole.Text = "板块吊号";
  425. //
  426. // Txt_Condole
  427. //
  428. this.Txt_Condole.AutoSize = true;
  429. this.Txt_Condole.FlatMode = true;
  430. this.Txt_Condole.Location = new System.Drawing.Point(474, 51);
  431. this.Txt_Condole.Name = "Txt_Condole";
  432. this.Txt_Condole.Size = new System.Drawing.Size(74, 19);
  433. this.Txt_Condole.TabIndex = 72;
  434. //
  435. // Chk_ButtressRemark
  436. //
  437. this.Chk_ButtressRemark.FlatMode = true;
  438. this.Chk_ButtressRemark.Location = new System.Drawing.Point(398, 75);
  439. this.Chk_ButtressRemark.Name = "Chk_ButtressRemark";
  440. this.Chk_ButtressRemark.Size = new System.Drawing.Size(80, 20);
  441. this.Chk_ButtressRemark.TabIndex = 73;
  442. this.Chk_ButtressRemark.Text = "堆放备注";
  443. //
  444. // Txt_BRemark
  445. //
  446. this.Txt_BRemark.AutoSize = true;
  447. this.Txt_BRemark.FlatMode = true;
  448. this.Txt_BRemark.Location = new System.Drawing.Point(474, 75);
  449. this.Txt_BRemark.Name = "Txt_BRemark";
  450. this.Txt_BRemark.Size = new System.Drawing.Size(74, 19);
  451. this.Txt_BRemark.TabIndex = 74;
  452. //
  453. // chk_PlanNO
  454. //
  455. this.chk_PlanNO.FlatMode = true;
  456. this.chk_PlanNO.Location = new System.Drawing.Point(242, 52);
  457. this.chk_PlanNO.Name = "chk_PlanNO";
  458. this.chk_PlanNO.Size = new System.Drawing.Size(80, 20);
  459. this.chk_PlanNO.TabIndex = 26;
  460. this.chk_PlanNO.Text = "现计划号";
  461. //
  462. // txt_PlanNO
  463. //
  464. this.txt_PlanNO.AutoSize = true;
  465. this.txt_PlanNO.FlatMode = true;
  466. this.txt_PlanNO.Location = new System.Drawing.Point(319, 52);
  467. this.txt_PlanNO.Name = "txt_PlanNO";
  468. this.txt_PlanNO.Size = new System.Drawing.Size(74, 19);
  469. this.txt_PlanNO.TabIndex = 27;
  470. //
  471. // cmb_Buttress
  472. //
  473. this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  474. appearance1.BackColor = System.Drawing.SystemColors.Window;
  475. appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  476. this.cmb_Buttress.DisplayLayout.Appearance = appearance1;
  477. this.cmb_Buttress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  478. this.cmb_Buttress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  479. appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
  480. appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
  481. appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  482. appearance2.BorderColor = System.Drawing.SystemColors.Window;
  483. this.cmb_Buttress.DisplayLayout.GroupByBox.Appearance = appearance2;
  484. appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
  485. this.cmb_Buttress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
  486. this.cmb_Buttress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  487. appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
  488. appearance4.BackColor2 = System.Drawing.SystemColors.Control;
  489. appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  490. appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
  491. this.cmb_Buttress.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
  492. this.cmb_Buttress.DisplayLayout.MaxColScrollRegions = 1;
  493. this.cmb_Buttress.DisplayLayout.MaxRowScrollRegions = 1;
  494. appearance5.BackColor = System.Drawing.SystemColors.Window;
  495. appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
  496. this.cmb_Buttress.DisplayLayout.Override.ActiveCellAppearance = appearance5;
  497. appearance6.BackColor = System.Drawing.SystemColors.Highlight;
  498. appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
  499. this.cmb_Buttress.DisplayLayout.Override.ActiveRowAppearance = appearance6;
  500. this.cmb_Buttress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  501. this.cmb_Buttress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  502. appearance7.BackColor = System.Drawing.SystemColors.Window;
  503. this.cmb_Buttress.DisplayLayout.Override.CardAreaAppearance = appearance7;
  504. appearance8.BorderColor = System.Drawing.Color.Silver;
  505. appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  506. this.cmb_Buttress.DisplayLayout.Override.CellAppearance = appearance8;
  507. this.cmb_Buttress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  508. this.cmb_Buttress.DisplayLayout.Override.CellPadding = 0;
  509. appearance9.BackColor = System.Drawing.SystemColors.Control;
  510. appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
  511. appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  512. appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  513. appearance9.BorderColor = System.Drawing.SystemColors.Window;
  514. this.cmb_Buttress.DisplayLayout.Override.GroupByRowAppearance = appearance9;
  515. appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
  516. this.cmb_Buttress.DisplayLayout.Override.HeaderAppearance = appearance10;
  517. this.cmb_Buttress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  518. this.cmb_Buttress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  519. appearance11.BackColor = System.Drawing.SystemColors.Window;
  520. appearance11.BorderColor = System.Drawing.Color.Silver;
  521. this.cmb_Buttress.DisplayLayout.Override.RowAppearance = appearance11;
  522. this.cmb_Buttress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  523. appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
  524. this.cmb_Buttress.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
  525. this.cmb_Buttress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  526. this.cmb_Buttress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  527. this.cmb_Buttress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  528. this.cmb_Buttress.DisplayMember = "";
  529. this.cmb_Buttress.FlatMode = true;
  530. this.cmb_Buttress.Location = new System.Drawing.Point(474, 98);
  531. this.cmb_Buttress.Name = "cmb_Buttress";
  532. this.cmb_Buttress.Size = new System.Drawing.Size(75, 19);
  533. this.cmb_Buttress.TabIndex = 76;
  534. this.cmb_Buttress.ValueMember = "";
  535. //
  536. // chk_Buttress
  537. //
  538. this.chk_Buttress.FlatMode = true;
  539. this.chk_Buttress.Location = new System.Drawing.Point(398, 98);
  540. this.chk_Buttress.Name = "chk_Buttress";
  541. this.chk_Buttress.Size = new System.Drawing.Size(52, 20);
  542. this.chk_Buttress.TabIndex = 75;
  543. this.chk_Buttress.Text = "堆位";
  544. //
  545. // cmb_SteelName
  546. //
  547. this.cmb_SteelName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  548. appearance13.BackColor = System.Drawing.SystemColors.Window;
  549. appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  550. this.cmb_SteelName.DisplayLayout.Appearance = appearance13;
  551. this.cmb_SteelName.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  552. this.cmb_SteelName.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  553. appearance14.BackColor = System.Drawing.SystemColors.ActiveBorder;
  554. appearance14.BackColor2 = System.Drawing.SystemColors.ControlDark;
  555. appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  556. appearance14.BorderColor = System.Drawing.SystemColors.Window;
  557. this.cmb_SteelName.DisplayLayout.GroupByBox.Appearance = appearance14;
  558. appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
  559. this.cmb_SteelName.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
  560. this.cmb_SteelName.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  561. appearance16.BackColor = System.Drawing.SystemColors.ControlLightLight;
  562. appearance16.BackColor2 = System.Drawing.SystemColors.Control;
  563. appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  564. appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
  565. this.cmb_SteelName.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
  566. this.cmb_SteelName.DisplayLayout.MaxColScrollRegions = 1;
  567. this.cmb_SteelName.DisplayLayout.MaxRowScrollRegions = 1;
  568. appearance17.BackColor = System.Drawing.SystemColors.Window;
  569. appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
  570. this.cmb_SteelName.DisplayLayout.Override.ActiveCellAppearance = appearance17;
  571. appearance18.BackColor = System.Drawing.SystemColors.Highlight;
  572. appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
  573. this.cmb_SteelName.DisplayLayout.Override.ActiveRowAppearance = appearance18;
  574. this.cmb_SteelName.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  575. this.cmb_SteelName.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  576. appearance19.BackColor = System.Drawing.SystemColors.Window;
  577. this.cmb_SteelName.DisplayLayout.Override.CardAreaAppearance = appearance19;
  578. appearance20.BorderColor = System.Drawing.Color.Silver;
  579. appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  580. this.cmb_SteelName.DisplayLayout.Override.CellAppearance = appearance20;
  581. this.cmb_SteelName.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  582. this.cmb_SteelName.DisplayLayout.Override.CellPadding = 0;
  583. appearance21.BackColor = System.Drawing.SystemColors.Control;
  584. appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
  585. appearance21.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  586. appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  587. appearance21.BorderColor = System.Drawing.SystemColors.Window;
  588. this.cmb_SteelName.DisplayLayout.Override.GroupByRowAppearance = appearance21;
  589. appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
  590. this.cmb_SteelName.DisplayLayout.Override.HeaderAppearance = appearance22;
  591. this.cmb_SteelName.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  592. this.cmb_SteelName.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  593. appearance23.BackColor = System.Drawing.SystemColors.Window;
  594. appearance23.BorderColor = System.Drawing.Color.Silver;
  595. this.cmb_SteelName.DisplayLayout.Override.RowAppearance = appearance23;
  596. this.cmb_SteelName.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  597. appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
  598. this.cmb_SteelName.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
  599. this.cmb_SteelName.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  600. this.cmb_SteelName.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  601. this.cmb_SteelName.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  602. this.cmb_SteelName.DisplayMember = "";
  603. this.cmb_SteelName.FlatMode = true;
  604. this.cmb_SteelName.Location = new System.Drawing.Point(319, 98);
  605. this.cmb_SteelName.Name = "cmb_SteelName";
  606. this.cmb_SteelName.Size = new System.Drawing.Size(72, 19);
  607. this.cmb_SteelName.TabIndex = 78;
  608. this.cmb_SteelName.ValueMember = "";
  609. //
  610. // chk_SteelName
  611. //
  612. this.chk_SteelName.FlatMode = true;
  613. this.chk_SteelName.Location = new System.Drawing.Point(242, 98);
  614. this.chk_SteelName.Name = "chk_SteelName";
  615. this.chk_SteelName.Size = new System.Drawing.Size(55, 20);
  616. this.chk_SteelName.TabIndex = 77;
  617. this.chk_SteelName.Text = "牌号";
  618. //
  619. // txt_PactNO
  620. //
  621. this.txt_PactNO.AutoSize = true;
  622. this.txt_PactNO.FlatMode = true;
  623. this.txt_PactNO.Location = new System.Drawing.Point(77, 103);
  624. this.txt_PactNO.Name = "txt_PactNO";
  625. this.txt_PactNO.Size = new System.Drawing.Size(159, 19);
  626. this.txt_PactNO.TabIndex = 80;
  627. //
  628. // chk_PactNO
  629. //
  630. this.chk_PactNO.FlatMode = true;
  631. this.chk_PactNO.Location = new System.Drawing.Point(3, 103);
  632. this.chk_PactNO.Name = "chk_PactNO";
  633. this.chk_PactNO.Size = new System.Drawing.Size(59, 20);
  634. this.chk_PactNO.TabIndex = 79;
  635. this.chk_PactNO.Text = "合同";
  636. //
  637. // ctlKCJListQuery
  638. //
  639. this.AutoSize = true;
  640. this.Controls.Add(this.txt_PactNO);
  641. this.Controls.Add(this.chk_PactNO);
  642. this.Controls.Add(this.cmb_SteelName);
  643. this.Controls.Add(this.chk_SteelName);
  644. this.Controls.Add(this.cmb_Buttress);
  645. this.Controls.Add(this.chk_Buttress);
  646. this.Controls.Add(this.Txt_BRemark);
  647. this.Controls.Add(this.Txt_Condole);
  648. this.Controls.Add(this.Dte_PrdEnd);
  649. this.Controls.Add(this.txt_NPlanOrder);
  650. this.Controls.Add(this.Dte_End);
  651. this.Controls.Add(this.txt_PlanNO);
  652. this.Controls.Add(this.Dte_PrdBegin);
  653. this.Controls.Add(this.Dte_Begin);
  654. this.Controls.Add(this.txt_LenghtBegin);
  655. this.Controls.Add(this.txt_WidthBegin);
  656. this.Controls.Add(this.txt_PlyBegin);
  657. this.Controls.Add(this.txt_RollNumBegin);
  658. this.Controls.Add(this.Chk_ButtressRemark);
  659. this.Controls.Add(this.Chk_Condole);
  660. this.Controls.Add(this.ultraLabel6);
  661. this.Controls.Add(this.Chk_PrdTime);
  662. this.Controls.Add(this.chk_NPlanOrder);
  663. this.Controls.Add(this.ultraLabel5);
  664. this.Controls.Add(this.chk_InStorageTime);
  665. this.Controls.Add(this.chk_PlanNO);
  666. this.Controls.Add(this.txt_LengthEnd);
  667. this.Controls.Add(this.ultraLabel4);
  668. this.Controls.Add(this.chk_Length);
  669. this.Controls.Add(this.txt_WidthEnd);
  670. this.Controls.Add(this.ultraLabel3);
  671. this.Controls.Add(this.chk_Width);
  672. this.Controls.Add(this.txt_PlyEnd);
  673. this.Controls.Add(this.ultraLabel2);
  674. this.Controls.Add(this.chk_Ply);
  675. this.Controls.Add(this.txt_RollNumEnd);
  676. this.Controls.Add(this.ultraLabel1);
  677. this.Controls.Add(this.txt_RollTop);
  678. this.Controls.Add(this.chk_RollNum);
  679. this.Name = "ctlKCJListQuery";
  680. this.Size = new System.Drawing.Size(562, 138);
  681. ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
  682. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumBegin)).EndInit();
  683. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumEnd)).EndInit();
  684. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).EndInit();
  685. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).EndInit();
  686. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).EndInit();
  687. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).EndInit();
  688. ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).EndInit();
  689. ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).EndInit();
  690. ((System.ComponentModel.ISupportInitialize)(this.Dte_Begin)).EndInit();
  691. ((System.ComponentModel.ISupportInitialize)(this.Dte_End)).EndInit();
  692. ((System.ComponentModel.ISupportInitialize)(this.txt_NPlanOrder)).EndInit();
  693. ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdEnd)).EndInit();
  694. ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdBegin)).EndInit();
  695. ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).EndInit();
  696. ((System.ComponentModel.ISupportInitialize)(this.Txt_BRemark)).EndInit();
  697. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
  698. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
  699. ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelName)).EndInit();
  700. ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).EndInit();
  701. this.ResumeLayout(false);
  702. }
  703. #endregion
  704. #region "Preporty"
  705. private System.Data.DataSet _MyDataSet = null;
  706. public System.Data.DataSet MyDataSet
  707. {
  708. set
  709. {
  710. _MyDataSet = value;
  711. StorageBaseClass.Init_ComboControl(this.cmb_SteelName,"XT_PH|PHMC|PHMC",ref this._MyDataSet);
  712. StorageBaseClass.Init_ComboControl(this.cmb_Buttress,"XT_DW|BUTTRESSCODE|BUTTRESS",ref this._MyDataSet);
  713. }
  714. }
  715. private string _WhereStr = "";
  716. public string WhereStr
  717. {
  718. get
  719. {
  720. _WhereStr = GetSteelCondition();
  721. _WhereStr = _WhereStr + GetButtressCondition();
  722. _WhereStr = _WhereStr + GetPactNOCondition();
  723. _WhereStr = _WhereStr + GetRollNOCondition();
  724. _WhereStr = _WhereStr + GetPlyCondition();
  725. _WhereStr = _WhereStr + GetWidthCondition();
  726. _WhereStr = _WhereStr + GetLengthCondition();
  727. _WhereStr = _WhereStr + GetPlanNOCondition();
  728. _WhereStr = _WhereStr + GetNPlanOrder();
  729. _WhereStr = _WhereStr + GetPrdStorageDate();
  730. _WhereStr = _WhereStr + GetCondoleCondition();
  731. _WhereStr = _WhereStr + GetButtressRemarkCondition();
  732. return _WhereStr;
  733. }
  734. }
  735. private string _SendWhereStr = "";
  736. public string SendWhereStr
  737. {
  738. get
  739. {
  740. _SendWhereStr = GetSteelCondition();
  741. _SendWhereStr = _SendWhereStr + " AND B.ORDERFORMNUMBER=C.ORDERNO ";
  742. _SendWhereStr = _SendWhereStr + GetPactNOCondition();
  743. _SendWhereStr = _SendWhereStr + GetRollNOCondition();
  744. _SendWhereStr = _SendWhereStr + GetPlyCondition();
  745. _SendWhereStr = _SendWhereStr + GetWidthCondition();
  746. _SendWhereStr = _SendWhereStr + GetLengthCondition();
  747. _SendWhereStr = _SendWhereStr + GetPlanNOCondition();
  748. //_WhereStr = _WhereStr + GetDummyButtressCondition();
  749. _SendWhereStr = _SendWhereStr + GetInStorageDate();
  750. _SendWhereStr = _SendWhereStr + GetNPlanOrder();
  751. _SendWhereStr = _SendWhereStr + GetPrdStorageDate();
  752. //_SendWhereStr = _SendWhereStr + GetBeforeSendCondition();
  753. //_SendWhereStr = _SendWhereStr + GetNotInButtress();
  754. _SendWhereStr = _SendWhereStr + GetCondoleCondition();
  755. if(_SendWhereStr==" AND B.ORDERFORMNUMBER=C.ORDERNO ")
  756. {
  757. _SendWhereStr=_SendWhereStr + " AND B.ID='1' ";
  758. }
  759. return _SendWhereStr;
  760. }
  761. }
  762. private string _CSendWhereStr = "";
  763. public string CSendWhereStr
  764. {
  765. get
  766. {
  767. _CSendWhereStr = GetSteelCondition();
  768. _CSendWhereStr = _CSendWhereStr + " AND B.ORDERFORMNUMBER=C.ORDERNO ";
  769. _CSendWhereStr = _CSendWhereStr + GetPactNOCondition();
  770. _CSendWhereStr = _CSendWhereStr + GetRollNOCondition();
  771. _CSendWhereStr = _CSendWhereStr + GetPlyCondition();
  772. _CSendWhereStr = _CSendWhereStr + GetWidthCondition();
  773. _CSendWhereStr = _CSendWhereStr + GetLengthCondition();
  774. _CSendWhereStr = _CSendWhereStr + GetPlanNOCondition();
  775. _CSendWhereStr = _CSendWhereStr + GetInStorageDate();
  776. _CSendWhereStr = _CSendWhereStr + GetNPlanOrder();
  777. _CSendWhereStr = _CSendWhereStr + GetPrdStorageDate();
  778. //_CSendWhereStr = _CSendWhereStr + GetBeforeSendCondition();
  779. //_CSendWhereStr = _CSendWhereStr + GetNotInButtress();
  780. _CSendWhereStr = _CSendWhereStr + GetCondoleCondition();
  781. if(_CSendWhereStr==" AND B.ORDERFORMNUMBER=C.ORDERNO ")
  782. {
  783. _CSendWhereStr=_CSendWhereStr + " AND B.ID='1' ";
  784. }
  785. return _CSendWhereStr;
  786. }
  787. }
  788. #endregion
  789. #region "Method"
  790. //牌号
  791. private string GetSteelCondition()
  792. {
  793. try
  794. {
  795. string rtnStr = "";
  796. if(this.chk_SteelName.Checked)
  797. {
  798. if(this.cmb_SteelName.Text.Trim().Length>0)
  799. {
  800. rtnStr = " A.DETERMINANTCARDNUMBER='"+this.cmb_SteelName.Text.Trim()+"' ";
  801. }
  802. }
  803. return "";
  804. }
  805. catch(System.Exception ex)
  806. {
  807. System.Diagnostics.Debug.WriteLine(ex.ToString());
  808. return "";
  809. }
  810. }
  811. //垛位
  812. private string GetButtressCondition()
  813. {
  814. try
  815. {
  816. if(this.chk_Buttress.Checked)
  817. {
  818. string rtnStr = "";
  819. rtnStr = " AND B.BUTTRESS='"+StorageBaseClass.CheckNullStr(this.cmb_Buttress.Value)+"' ";
  820. return rtnStr;
  821. }
  822. return "";
  823. }
  824. catch(System.Exception ex)
  825. {
  826. System.Diagnostics.Debug.WriteLine(ex.ToString());
  827. return "";
  828. }
  829. }
  830. //堆放备注
  831. private string GetButtressRemarkCondition()
  832. {
  833. try
  834. {
  835. string rtnStr = "";
  836. if(this.Chk_ButtressRemark.Checked)
  837. {
  838. if(this.Txt_BRemark.Text.Trim().Length>0)
  839. {
  840. rtnStr = " AND B.HANDREMARK LIKE '%" + this.Txt_BRemark.Text.Trim() + "%' ";
  841. }
  842. }
  843. return rtnStr;
  844. }
  845. catch(System.Exception ex)
  846. {
  847. System.Diagnostics.Debug.WriteLine(ex.ToString());
  848. return "";
  849. }
  850. }
  851. //合同号
  852. private string GetPactNOCondition()
  853. {
  854. try
  855. {
  856. if(this.chk_PactNO.Checked)
  857. {
  858. string rtnStr = "";
  859. rtnStr = " AND C.PACTNO='"+this.txt_PactNO.Text.Trim()+"' ";
  860. return rtnStr;
  861. }
  862. return "";
  863. }
  864. catch(System.Exception ex)
  865. {
  866. System.Diagnostics.Debug.WriteLine(ex.ToString());
  867. return "";
  868. }
  869. }
  870. //轧批号
  871. private string GetRollNOCondition()
  872. {
  873. try
  874. {
  875. if(this.chk_RollNum.Checked)
  876. {
  877. string rtnStr = " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='"+this.txt_RollTop.Text.Trim()+"' ";
  878. if(this.txt_RollNumBegin.Text.Trim().Length==5 && this.txt_RollNumEnd.Text.Trim().Length<5)
  879. {
  880. rtnStr = rtnStr + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='"+this.txt_RollNumBegin.Text.Trim()+"'";
  881. return rtnStr;
  882. }
  883. if(this.txt_RollNumBegin.Text.Trim().Length<5 && this.txt_RollNumEnd.Text.Trim().Length==5)
  884. {
  885. rtnStr = rtnStr + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNumEnd.Text.Trim()+"'";
  886. return rtnStr;
  887. }
  888. if(this.txt_RollNumBegin.Text.Trim().Length==5 && this.txt_RollNumEnd.Text.Trim().Length==5)
  889. {
  890. rtnStr = rtnStr + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNumEnd.Text.Trim()+"'"
  891. + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='"+this.txt_RollNumBegin.Text.Trim()+"'";
  892. return rtnStr;
  893. }
  894. }
  895. return "";
  896. }
  897. catch(System.Exception ex)
  898. {
  899. System.Diagnostics.Debug.WriteLine(ex.ToString());
  900. return "";
  901. }
  902. }
  903. //厚度
  904. private string GetPlyCondition()
  905. {
  906. try
  907. {
  908. if(this.chk_Ply.Checked)
  909. {
  910. string rtnStr = "";
  911. if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)==0)
  912. {
  913. rtnStr = " AND A.PLY="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value);
  914. return rtnStr;
  915. }
  916. if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
  917. {
  918. rtnStr = " AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
  919. return rtnStr;
  920. }
  921. if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
  922. {
  923. rtnStr = " AND A.PLY>="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value)
  924. +" AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
  925. return rtnStr;
  926. }
  927. }
  928. return "";
  929. }
  930. catch(System.Exception ex)
  931. {
  932. System.Diagnostics.Debug.WriteLine(ex.ToString());
  933. return "";
  934. }
  935. }
  936. //宽度
  937. private string GetWidthCondition()
  938. {
  939. try
  940. {
  941. if(this.chk_Width.Checked)
  942. {
  943. string rtnStr = "";
  944. if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)==0)
  945. {
  946. rtnStr = " AND A.WIDTH="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value);
  947. return rtnStr;
  948. }
  949. if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
  950. {
  951. rtnStr = " AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
  952. return rtnStr;
  953. }
  954. if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
  955. {
  956. rtnStr = " AND A.WIDTH>="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value)
  957. +" AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
  958. return rtnStr;
  959. }
  960. }
  961. return "";
  962. }
  963. catch(System.Exception ex)
  964. {
  965. System.Diagnostics.Debug.WriteLine(ex.ToString());
  966. return "";
  967. }
  968. }
  969. //长度
  970. private string GetLengthCondition()
  971. {
  972. try
  973. {
  974. if(this.chk_Length.Checked)
  975. {
  976. string rtnStr = "";
  977. if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)==0)
  978. {
  979. rtnStr = " AND A.LENGTH="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value);
  980. return rtnStr;
  981. }
  982. if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
  983. {
  984. rtnStr = " AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
  985. return rtnStr;
  986. }
  987. if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
  988. {
  989. rtnStr = " AND A.LENGTH>="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value)
  990. +" AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
  991. return rtnStr;
  992. }
  993. }
  994. return "";
  995. }
  996. catch(System.Exception ex)
  997. {
  998. System.Diagnostics.Debug.WriteLine(ex.ToString());
  999. return "";
  1000. }
  1001. }
  1002. //计划号
  1003. private string GetPlanNOCondition()
  1004. {
  1005. try
  1006. {
  1007. if(this.chk_PlanNO.Checked)
  1008. {
  1009. string rtnStr = "";
  1010. if(this.txt_PlanNO.Text.Trim().Length>0)
  1011. {
  1012. rtnStr = " AND C.PACTINDEX LIKE '%"+this.txt_PlanNO.Text.Trim()+"%' ";
  1013. return rtnStr;
  1014. }
  1015. }
  1016. return "";
  1017. }
  1018. catch(System.Exception ex)
  1019. {
  1020. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1021. return "";
  1022. }
  1023. }
  1024. //入库时间
  1025. private string GetInStorageDate()
  1026. {
  1027. string rtnStr = "";
  1028. if(this.chk_InStorageTime.Checked)
  1029. {
  1030. rtnStr = " AND TO_CHAR(A.INTIME,'YYYYMMDD')>='" + Convert.ToDateTime(this.Dte_Begin.Value).ToString("yyyyMMdd") + "' "
  1031. + " AND TO_CHAR(A.INTIME,'YYYYMMDD')<='" + Convert.ToDateTime(this.Dte_End.Value).ToString("yyyyMMdd") + "' ";
  1032. }
  1033. return rtnStr;
  1034. }
  1035. //分配订单
  1036. private string GetNPlanOrder()
  1037. {
  1038. string rtnStr = "";
  1039. if(this.chk_NPlanOrder.Checked && this.txt_NPlanOrder.Text.Length>0)
  1040. {
  1041. rtnStr = " AND A.ORDERNO LIKE '"+this.txt_NPlanOrder.Text+"%' ";
  1042. }
  1043. return rtnStr;
  1044. }
  1045. //生产时间
  1046. private string GetPrdStorageDate()
  1047. {
  1048. string rtnStr = "";
  1049. if(this.Chk_PrdTime.Checked)
  1050. {
  1051. rtnStr = " AND TO_CHAR(A.PTIME,'YYYYMMDD')>='" + Convert.ToDateTime(this.Dte_PrdBegin.Value).ToString("yyyyMMdd") + "' "
  1052. + " AND TO_CHAR(A.PTIME,'YYYYMMDD')<='" + Convert.ToDateTime(this.Dte_PrdEnd.Value).ToString("yyyyMMdd") + "' ";
  1053. }
  1054. return rtnStr;
  1055. }
  1056. //吊号
  1057. private string GetCondoleCondition()
  1058. {
  1059. string rtnStr = "";
  1060. if(this.Chk_Condole.Checked)
  1061. {
  1062. rtnStr = " AND B.CONDOLENUMBER LIKE '%" + this.Txt_Condole.Text + "%' ";
  1063. return rtnStr;
  1064. }
  1065. return "";
  1066. }
  1067. #endregion
  1068. #region "Button Event"
  1069. private void btn_ButtressManager_Click(object sender, System.EventArgs e)
  1070. {
  1071. try
  1072. {
  1073. if (Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "付志刚" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "刘裕" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "邱蓉" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "管理员")
  1074. {
  1075. MessageBox.Show("您的权限不能操作!");
  1076. return;
  1077. }
  1078. Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog frm = new Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog();
  1079. frm.Plid = "4001ZB1";
  1080. frm.Ops_Area.Visible = false;
  1081. frm.ops_PactNO.Visible = false;
  1082. frm.ops_PactNO1.Visible = false;
  1083. frm.Ops_Area1.Visible = true;
  1084. frm.Ops_Area6.Visible = false;
  1085. frm.CustomSetName = "BUTTRESS";
  1086. frm.ShowDialog();
  1087. }
  1088. catch (System.Exception ex)
  1089. {
  1090. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1091. }
  1092. }
  1093. private void btn_CustomPactNO_Click(object sender, System.EventArgs e)
  1094. {
  1095. try
  1096. {
  1097. // Dialog.FrmDummyButtressDialog frm = new Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog();
  1098. // frm.CustomSetName = "PACT";
  1099. // frm.ShowDialog();
  1100. }
  1101. catch(System.Exception ex)
  1102. {
  1103. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1104. }
  1105. }
  1106. #endregion
  1107. #region "OpSet Event"
  1108. private void btn_CustomPactNO_Click_1(object sender, EventArgs e)
  1109. {
  1110. try
  1111. {
  1112. if (Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "付志刚" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "刘裕" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "邱蓉")
  1113. {
  1114. MessageBox.Show("您的权限不能操作!");
  1115. return;
  1116. }
  1117. Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog frm = new Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog();
  1118. frm.Plid = "4001ZB1";
  1119. frm.CustomSetName = "PACT";
  1120. frm.Ops_Area.Visible = false;
  1121. frm.Ops_Area1.Visible = false;
  1122. frm.ops_PactNO.Visible = false;
  1123. frm.ops_PactNO1.Visible = true;
  1124. frm.ShowDialog();
  1125. }
  1126. catch(System.Exception ex)
  1127. {
  1128. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1129. }
  1130. }
  1131. #endregion
  1132. }
  1133. }