5c75a1446d8d8124ad50821355ab11cacbbd0f40.svn-base 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492
  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. namespace Core.XgMes.Client.JGKC.SteelPlateManager
  9. {
  10. /// <summary>
  11. /// 中板成品发运综合查询,查询条件设置控件
  12. /// </summary>
  13. public class UCSendQuery : System.Windows.Forms.UserControl
  14. {
  15. #region "Varible"
  16. private Infragistics.Win.Misc.UltraLabel ultraLabel1;
  17. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_SendDate;
  18. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendBegin;
  19. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendEnd;
  20. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BookInEnd;
  21. private Infragistics.Win.Misc.UltraLabel ultraLabel2;
  22. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BookInBegin;
  23. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_BookInDate;
  24. private Infragistics.Win.Misc.UltraLabel ultraLabel3;
  25. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_ListCode;
  26. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_IncpName;
  27. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_IncpName;
  28. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StationName;
  29. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_StationName;
  30. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PactNO;
  31. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PactNO;
  32. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LengthEnd;
  33. private Infragistics.Win.Misc.UltraLabel ultraLabel4;
  34. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LenghtBegin;
  35. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Length;
  36. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthEnd;
  37. private Infragistics.Win.Misc.UltraLabel ultraLabel5;
  38. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthBegin;
  39. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Width;
  40. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyEnd;
  41. private Infragistics.Win.Misc.UltraLabel ultraLabel6;
  42. private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyBegin;
  43. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Ply;
  44. private Infragistics.Win.Misc.UltraLabel ultraLabel7;
  45. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
  46. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
  47. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNO;
  48. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_VecihleNO;
  49. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_ClassTeam;
  50. private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassTeam;
  51. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_SendMan;
  52. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_SendMan;
  53. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_SteelName;
  54. private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_SteelName;
  55. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCodingEnd;
  56. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCodingBegin;
  57. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCodingTop;
  58. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
  59. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
  60. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOTop;
  61. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_VecihleNO;
  62. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_BookInMan;
  63. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BookInMan;
  64. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Condole;
  65. private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Condole;
  66. #endregion
  67. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PL;
  68. private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_ProductLine;
  69. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Date_XCSJE;
  70. private Infragistics.Win.Misc.UltraLabel ultraLabel8;
  71. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Date_XCSJS;
  72. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_XCSJ;
  73. /// <summary>
  74. /// 必需的设计器变量。
  75. /// </summary>
  76. private System.ComponentModel.Container components = null;
  77. public UCSendQuery()
  78. {
  79. // 该调用是 Windows.Forms 窗体设计器所必需的。
  80. InitializeComponent();
  81. // TODO: 在 InitializeComponent 调用后添加任何初始化
  82. }
  83. /// <summary>
  84. /// 清理所有正在使用的资源。
  85. /// </summary>
  86. protected override void Dispose( bool disposing )
  87. {
  88. if( disposing )
  89. {
  90. if(components != null)
  91. {
  92. components.Dispose();
  93. }
  94. }
  95. base.Dispose( disposing );
  96. }
  97. #region 组件设计器生成的代码
  98. /// <summary>
  99. /// 设计器支持所需的方法 - 不要使用代码编辑器
  100. /// 修改此方法的内容。
  101. /// </summary>
  102. private void InitializeComponent()
  103. {
  104. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  105. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  106. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  107. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  108. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  109. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  110. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  111. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  112. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  113. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  114. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  115. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  116. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  117. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  118. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  119. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  120. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  121. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  122. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  123. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  124. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  125. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  126. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  127. Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
  128. Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
  129. Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
  130. this.Chk_SendDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  131. this.Dte_SendBegin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  132. this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
  133. this.Dte_SendEnd = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  134. this.Dte_BookInEnd = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  135. this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
  136. this.Dte_BookInBegin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  137. this.Chk_BookInDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  138. this.Chk_ListCode = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  139. this.txt_ListCodingEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  140. this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
  141. this.txt_ListCodingBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  142. this.txt_ListCodingTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  143. this.Chk_IncpName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  144. this.txt_IncpName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  145. this.Chk_StationName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  146. this.txt_StationName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  147. this.Chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  148. this.txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  149. this.txt_LengthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  150. this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
  151. this.txt_LenghtBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  152. this.chk_Length = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  153. this.txt_WidthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  154. this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
  155. this.txt_WidthBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  156. this.chk_Width = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  157. this.txt_PlyEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  158. this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
  159. this.txt_PlyBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
  160. this.chk_Ply = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  161. this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  162. this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
  163. this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  164. this.txt_RollNOTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  165. this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  166. this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  167. this.chk_PlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  168. this.Chk_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  169. this.txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  170. this.Chk_ClassTeam = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  171. this.Cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
  172. this.Chk_SendMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  173. this.txt_SendMan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  174. this.Chk_SteelName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  175. this.Cmb_SteelName = new Infragistics.Win.UltraWinGrid.UltraCombo();
  176. this.Chk_BookInMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  177. this.txt_BookInMan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  178. this.Chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  179. this.Txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  180. this.chk_PL = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  181. this.cmb_ProductLine = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
  182. this.Date_XCSJE = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  183. this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
  184. this.Date_XCSJS = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  185. this.chk_XCSJ = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  186. ((System.ComponentModel.ISupportInitialize)(this.Dte_SendBegin)).BeginInit();
  187. ((System.ComponentModel.ISupportInitialize)(this.Dte_SendEnd)).BeginInit();
  188. ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInEnd)).BeginInit();
  189. ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInBegin)).BeginInit();
  190. ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingEnd)).BeginInit();
  191. ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingBegin)).BeginInit();
  192. ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingTop)).BeginInit();
  193. ((System.ComponentModel.ISupportInitialize)(this.txt_IncpName)).BeginInit();
  194. ((System.ComponentModel.ISupportInitialize)(this.txt_StationName)).BeginInit();
  195. ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).BeginInit();
  196. ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).BeginInit();
  197. ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).BeginInit();
  198. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).BeginInit();
  199. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).BeginInit();
  200. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).BeginInit();
  201. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).BeginInit();
  202. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
  203. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
  204. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOTop)).BeginInit();
  205. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
  206. ((System.ComponentModel.ISupportInitialize)(this.txt_VecihleNO)).BeginInit();
  207. ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).BeginInit();
  208. ((System.ComponentModel.ISupportInitialize)(this.txt_SendMan)).BeginInit();
  209. ((System.ComponentModel.ISupportInitialize)(this.Cmb_SteelName)).BeginInit();
  210. ((System.ComponentModel.ISupportInitialize)(this.txt_BookInMan)).BeginInit();
  211. ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).BeginInit();
  212. ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).BeginInit();
  213. ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJE)).BeginInit();
  214. ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJS)).BeginInit();
  215. this.SuspendLayout();
  216. //
  217. // Chk_SendDate
  218. //
  219. this.Chk_SendDate.BackColor = System.Drawing.Color.Transparent;
  220. this.Chk_SendDate.FlatMode = true;
  221. this.Chk_SendDate.Location = new System.Drawing.Point(6, 6);
  222. this.Chk_SendDate.Name = "Chk_SendDate";
  223. this.Chk_SendDate.Size = new System.Drawing.Size(74, 16);
  224. this.Chk_SendDate.TabIndex = 0;
  225. this.Chk_SendDate.Text = "发运日期";
  226. //
  227. // Dte_SendBegin
  228. //
  229. this.Dte_SendBegin.FlatMode = true;
  230. this.Dte_SendBegin.Location = new System.Drawing.Point(80, 4);
  231. this.Dte_SendBegin.MaskInput = "{date}";
  232. this.Dte_SendBegin.Name = "Dte_SendBegin";
  233. this.Dte_SendBegin.Size = new System.Drawing.Size(114, 19);
  234. this.Dte_SendBegin.TabIndex = 1;
  235. //
  236. // ultraLabel1
  237. //
  238. this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
  239. this.ultraLabel1.Location = new System.Drawing.Point(196, 8);
  240. this.ultraLabel1.Name = "ultraLabel1";
  241. this.ultraLabel1.Size = new System.Drawing.Size(16, 16);
  242. this.ultraLabel1.TabIndex = 2;
  243. this.ultraLabel1.Text = "到";
  244. //
  245. // Dte_SendEnd
  246. //
  247. this.Dte_SendEnd.FlatMode = true;
  248. this.Dte_SendEnd.Location = new System.Drawing.Point(214, 4);
  249. this.Dte_SendEnd.MaskInput = "{date}";
  250. this.Dte_SendEnd.Name = "Dte_SendEnd";
  251. this.Dte_SendEnd.Size = new System.Drawing.Size(114, 19);
  252. this.Dte_SendEnd.TabIndex = 3;
  253. //
  254. // Dte_BookInEnd
  255. //
  256. this.Dte_BookInEnd.FlatMode = true;
  257. this.Dte_BookInEnd.Location = new System.Drawing.Point(214, 29);
  258. this.Dte_BookInEnd.MaskInput = "{date}";
  259. this.Dte_BookInEnd.Name = "Dte_BookInEnd";
  260. this.Dte_BookInEnd.Size = new System.Drawing.Size(114, 19);
  261. this.Dte_BookInEnd.TabIndex = 7;
  262. //
  263. // ultraLabel2
  264. //
  265. this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
  266. this.ultraLabel2.Location = new System.Drawing.Point(196, 32);
  267. this.ultraLabel2.Name = "ultraLabel2";
  268. this.ultraLabel2.Size = new System.Drawing.Size(16, 16);
  269. this.ultraLabel2.TabIndex = 6;
  270. this.ultraLabel2.Text = "到";
  271. //
  272. // Dte_BookInBegin
  273. //
  274. this.Dte_BookInBegin.FlatMode = true;
  275. this.Dte_BookInBegin.Location = new System.Drawing.Point(80, 29);
  276. this.Dte_BookInBegin.MaskInput = "{date}";
  277. this.Dte_BookInBegin.Name = "Dte_BookInBegin";
  278. this.Dte_BookInBegin.Size = new System.Drawing.Size(114, 19);
  279. this.Dte_BookInBegin.TabIndex = 5;
  280. //
  281. // Chk_BookInDate
  282. //
  283. this.Chk_BookInDate.BackColor = System.Drawing.Color.Transparent;
  284. this.Chk_BookInDate.FlatMode = true;
  285. this.Chk_BookInDate.Location = new System.Drawing.Point(6, 30);
  286. this.Chk_BookInDate.Name = "Chk_BookInDate";
  287. this.Chk_BookInDate.Size = new System.Drawing.Size(74, 16);
  288. this.Chk_BookInDate.TabIndex = 4;
  289. this.Chk_BookInDate.Text = "登记日期";
  290. //
  291. // Chk_ListCode
  292. //
  293. this.Chk_ListCode.BackColor = System.Drawing.Color.Transparent;
  294. this.Chk_ListCode.FlatMode = true;
  295. this.Chk_ListCode.Location = new System.Drawing.Point(6, 81);
  296. this.Chk_ListCode.Name = "Chk_ListCode";
  297. this.Chk_ListCode.Size = new System.Drawing.Size(74, 16);
  298. this.Chk_ListCode.TabIndex = 57;
  299. this.Chk_ListCode.Text = "发货编号";
  300. //
  301. // txt_ListCodingEnd
  302. //
  303. this.txt_ListCodingEnd.AutoSize = true;
  304. this.txt_ListCodingEnd.FlatMode = true;
  305. this.txt_ListCodingEnd.Location = new System.Drawing.Point(214, 79);
  306. this.txt_ListCodingEnd.MaxLength = 6;
  307. this.txt_ListCodingEnd.Name = "txt_ListCodingEnd";
  308. this.txt_ListCodingEnd.Size = new System.Drawing.Size(114, 19);
  309. this.txt_ListCodingEnd.TabIndex = 61;
  310. //
  311. // ultraLabel3
  312. //
  313. this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
  314. this.ultraLabel3.Location = new System.Drawing.Point(196, 81);
  315. this.ultraLabel3.Name = "ultraLabel3";
  316. this.ultraLabel3.Size = new System.Drawing.Size(17, 16);
  317. this.ultraLabel3.TabIndex = 60;
  318. this.ultraLabel3.Text = "到";
  319. //
  320. // txt_ListCodingBegin
  321. //
  322. this.txt_ListCodingBegin.AutoSize = true;
  323. this.txt_ListCodingBegin.FlatMode = true;
  324. this.txt_ListCodingBegin.Location = new System.Drawing.Point(112, 79);
  325. this.txt_ListCodingBegin.MaxLength = 6;
  326. this.txt_ListCodingBegin.Name = "txt_ListCodingBegin";
  327. this.txt_ListCodingBegin.Size = new System.Drawing.Size(82, 19);
  328. this.txt_ListCodingBegin.TabIndex = 59;
  329. //
  330. // txt_ListCodingTop
  331. //
  332. this.txt_ListCodingTop.AutoSize = true;
  333. this.txt_ListCodingTop.FlatMode = true;
  334. this.txt_ListCodingTop.Location = new System.Drawing.Point(80, 79);
  335. this.txt_ListCodingTop.Name = "txt_ListCodingTop";
  336. this.txt_ListCodingTop.Size = new System.Drawing.Size(32, 19);
  337. this.txt_ListCodingTop.TabIndex = 58;
  338. //
  339. // Chk_IncpName
  340. //
  341. this.Chk_IncpName.BackColor = System.Drawing.Color.Transparent;
  342. this.Chk_IncpName.FlatMode = true;
  343. this.Chk_IncpName.Location = new System.Drawing.Point(6, 129);
  344. this.Chk_IncpName.Name = "Chk_IncpName";
  345. this.Chk_IncpName.Size = new System.Drawing.Size(74, 16);
  346. this.Chk_IncpName.TabIndex = 62;
  347. this.Chk_IncpName.Text = "收货单位";
  348. //
  349. // txt_IncpName
  350. //
  351. this.txt_IncpName.AutoSize = true;
  352. this.txt_IncpName.FlatMode = true;
  353. this.txt_IncpName.Location = new System.Drawing.Point(80, 127);
  354. this.txt_IncpName.Name = "txt_IncpName";
  355. this.txt_IncpName.Size = new System.Drawing.Size(248, 19);
  356. this.txt_IncpName.TabIndex = 63;
  357. //
  358. // Chk_StationName
  359. //
  360. this.Chk_StationName.BackColor = System.Drawing.Color.Transparent;
  361. this.Chk_StationName.FlatMode = true;
  362. this.Chk_StationName.Location = new System.Drawing.Point(6, 151);
  363. this.Chk_StationName.Name = "Chk_StationName";
  364. this.Chk_StationName.Size = new System.Drawing.Size(46, 16);
  365. this.Chk_StationName.TabIndex = 64;
  366. this.Chk_StationName.Text = "到站";
  367. //
  368. // txt_StationName
  369. //
  370. this.txt_StationName.AutoSize = true;
  371. this.txt_StationName.FlatMode = true;
  372. this.txt_StationName.Location = new System.Drawing.Point(80, 150);
  373. this.txt_StationName.Name = "txt_StationName";
  374. this.txt_StationName.Size = new System.Drawing.Size(248, 19);
  375. this.txt_StationName.TabIndex = 65;
  376. //
  377. // Chk_PactNO
  378. //
  379. this.Chk_PactNO.BackColor = System.Drawing.Color.Transparent;
  380. this.Chk_PactNO.FlatMode = true;
  381. this.Chk_PactNO.Location = new System.Drawing.Point(6, 105);
  382. this.Chk_PactNO.Name = "Chk_PactNO";
  383. this.Chk_PactNO.Size = new System.Drawing.Size(74, 16);
  384. this.Chk_PactNO.TabIndex = 66;
  385. this.Chk_PactNO.Text = "合同号";
  386. //
  387. // txt_PactNO
  388. //
  389. this.txt_PactNO.AutoSize = true;
  390. this.txt_PactNO.FlatMode = true;
  391. this.txt_PactNO.Location = new System.Drawing.Point(80, 104);
  392. this.txt_PactNO.Name = "txt_PactNO";
  393. this.txt_PactNO.Size = new System.Drawing.Size(102, 19);
  394. this.txt_PactNO.TabIndex = 67;
  395. //
  396. // txt_LengthEnd
  397. //
  398. this.txt_LengthEnd.FlatMode = true;
  399. this.txt_LengthEnd.Location = new System.Drawing.Point(506, 77);
  400. this.txt_LengthEnd.MaskInput = "nnnnn";
  401. this.txt_LengthEnd.Name = "txt_LengthEnd";
  402. this.txt_LengthEnd.PromptChar = ' ';
  403. this.txt_LengthEnd.Size = new System.Drawing.Size(42, 19);
  404. this.txt_LengthEnd.TabIndex = 84;
  405. //
  406. // ultraLabel4
  407. //
  408. this.ultraLabel4.Location = new System.Drawing.Point(480, 78);
  409. this.ultraLabel4.Name = "ultraLabel4";
  410. this.ultraLabel4.Size = new System.Drawing.Size(17, 16);
  411. this.ultraLabel4.TabIndex = 83;
  412. this.ultraLabel4.Text = "到";
  413. //
  414. // txt_LenghtBegin
  415. //
  416. this.txt_LenghtBegin.FlatMode = true;
  417. this.txt_LenghtBegin.Location = new System.Drawing.Point(408, 77);
  418. this.txt_LenghtBegin.MaskInput = "nnnnn";
  419. this.txt_LenghtBegin.Name = "txt_LenghtBegin";
  420. this.txt_LenghtBegin.PromptChar = ' ';
  421. this.txt_LenghtBegin.Size = new System.Drawing.Size(68, 19);
  422. this.txt_LenghtBegin.TabIndex = 82;
  423. //
  424. // chk_Length
  425. //
  426. this.chk_Length.BackColor = System.Drawing.Color.Transparent;
  427. this.chk_Length.FlatMode = true;
  428. this.chk_Length.Location = new System.Drawing.Point(334, 78);
  429. this.chk_Length.Name = "chk_Length";
  430. this.chk_Length.Size = new System.Drawing.Size(74, 16);
  431. this.chk_Length.TabIndex = 81;
  432. this.chk_Length.Text = "长度从";
  433. //
  434. // txt_WidthEnd
  435. //
  436. this.txt_WidthEnd.FlatMode = true;
  437. this.txt_WidthEnd.Location = new System.Drawing.Point(506, 52);
  438. this.txt_WidthEnd.MaskInput = "nnnn";
  439. this.txt_WidthEnd.Name = "txt_WidthEnd";
  440. this.txt_WidthEnd.PromptChar = ' ';
  441. this.txt_WidthEnd.Size = new System.Drawing.Size(42, 19);
  442. this.txt_WidthEnd.TabIndex = 80;
  443. //
  444. // ultraLabel5
  445. //
  446. this.ultraLabel5.Location = new System.Drawing.Point(480, 54);
  447. this.ultraLabel5.Name = "ultraLabel5";
  448. this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
  449. this.ultraLabel5.TabIndex = 79;
  450. this.ultraLabel5.Text = "到";
  451. //
  452. // txt_WidthBegin
  453. //
  454. this.txt_WidthBegin.FlatMode = true;
  455. this.txt_WidthBegin.Location = new System.Drawing.Point(408, 52);
  456. this.txt_WidthBegin.MaskInput = "nnnn";
  457. this.txt_WidthBegin.Name = "txt_WidthBegin";
  458. this.txt_WidthBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
  459. this.txt_WidthBegin.PromptChar = ' ';
  460. this.txt_WidthBegin.Size = new System.Drawing.Size(68, 19);
  461. this.txt_WidthBegin.TabIndex = 78;
  462. //
  463. // chk_Width
  464. //
  465. this.chk_Width.BackColor = System.Drawing.Color.Transparent;
  466. this.chk_Width.FlatMode = true;
  467. this.chk_Width.Location = new System.Drawing.Point(334, 54);
  468. this.chk_Width.Name = "chk_Width";
  469. this.chk_Width.Size = new System.Drawing.Size(74, 16);
  470. this.chk_Width.TabIndex = 77;
  471. this.chk_Width.Text = "宽度从";
  472. //
  473. // txt_PlyEnd
  474. //
  475. this.txt_PlyEnd.FlatMode = true;
  476. this.txt_PlyEnd.Location = new System.Drawing.Point(506, 29);
  477. this.txt_PlyEnd.MaskInput = "nnn.nnn";
  478. this.txt_PlyEnd.Name = "txt_PlyEnd";
  479. this.txt_PlyEnd.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
  480. this.txt_PlyEnd.PromptChar = ' ';
  481. this.txt_PlyEnd.Size = new System.Drawing.Size(42, 19);
  482. this.txt_PlyEnd.TabIndex = 76;
  483. //
  484. // ultraLabel6
  485. //
  486. this.ultraLabel6.Location = new System.Drawing.Point(480, 32);
  487. this.ultraLabel6.Name = "ultraLabel6";
  488. this.ultraLabel6.Size = new System.Drawing.Size(17, 16);
  489. this.ultraLabel6.TabIndex = 75;
  490. this.ultraLabel6.Text = "到";
  491. //
  492. // txt_PlyBegin
  493. //
  494. this.txt_PlyBegin.FlatMode = true;
  495. this.txt_PlyBegin.Location = new System.Drawing.Point(408, 29);
  496. this.txt_PlyBegin.MaskInput = "nnn.nnn";
  497. this.txt_PlyBegin.Name = "txt_PlyBegin";
  498. this.txt_PlyBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
  499. this.txt_PlyBegin.PromptChar = ' ';
  500. this.txt_PlyBegin.Size = new System.Drawing.Size(68, 19);
  501. this.txt_PlyBegin.TabIndex = 74;
  502. //
  503. // chk_Ply
  504. //
  505. this.chk_Ply.BackColor = System.Drawing.Color.Transparent;
  506. this.chk_Ply.FlatMode = true;
  507. this.chk_Ply.Location = new System.Drawing.Point(334, 30);
  508. this.chk_Ply.Name = "chk_Ply";
  509. this.chk_Ply.Size = new System.Drawing.Size(74, 16);
  510. this.chk_Ply.TabIndex = 73;
  511. this.chk_Ply.Text = "厚度从";
  512. //
  513. // txt_RollNOEnd
  514. //
  515. this.txt_RollNOEnd.AutoSize = true;
  516. this.txt_RollNOEnd.FlatMode = true;
  517. this.txt_RollNOEnd.Location = new System.Drawing.Point(658, 171);
  518. this.txt_RollNOEnd.MaxLength = 5;
  519. this.txt_RollNOEnd.Name = "txt_RollNOEnd";
  520. this.txt_RollNOEnd.Size = new System.Drawing.Size(42, 19);
  521. this.txt_RollNOEnd.TabIndex = 72;
  522. this.txt_RollNOEnd.Visible = false;
  523. //
  524. // ultraLabel7
  525. //
  526. this.ultraLabel7.Location = new System.Drawing.Point(632, 175);
  527. this.ultraLabel7.Name = "ultraLabel7";
  528. this.ultraLabel7.Size = new System.Drawing.Size(17, 16);
  529. this.ultraLabel7.TabIndex = 71;
  530. this.ultraLabel7.Text = "到";
  531. this.ultraLabel7.Visible = false;
  532. //
  533. // txt_RollNOBegin
  534. //
  535. this.txt_RollNOBegin.AutoSize = true;
  536. this.txt_RollNOBegin.FlatMode = true;
  537. this.txt_RollNOBegin.Location = new System.Drawing.Point(586, 171);
  538. this.txt_RollNOBegin.MaxLength = 5;
  539. this.txt_RollNOBegin.Name = "txt_RollNOBegin";
  540. this.txt_RollNOBegin.Size = new System.Drawing.Size(42, 19);
  541. this.txt_RollNOBegin.TabIndex = 70;
  542. this.txt_RollNOBegin.Visible = false;
  543. //
  544. // txt_RollNOTop
  545. //
  546. this.txt_RollNOTop.AutoSize = true;
  547. this.txt_RollNOTop.FlatMode = true;
  548. this.txt_RollNOTop.Location = new System.Drawing.Point(408, 4);
  549. this.txt_RollNOTop.Name = "txt_RollNOTop";
  550. this.txt_RollNOTop.Size = new System.Drawing.Size(140, 19);
  551. this.txt_RollNOTop.TabIndex = 69;
  552. //
  553. // chk_RollNum
  554. //
  555. this.chk_RollNum.BackColor = System.Drawing.Color.Transparent;
  556. this.chk_RollNum.FlatMode = true;
  557. this.chk_RollNum.Location = new System.Drawing.Point(334, 6);
  558. this.chk_RollNum.Name = "chk_RollNum";
  559. this.chk_RollNum.Size = new System.Drawing.Size(74, 16);
  560. this.chk_RollNum.TabIndex = 68;
  561. this.chk_RollNum.Text = "轧编号";
  562. //
  563. // txt_PlanNO
  564. //
  565. this.txt_PlanNO.AutoSize = true;
  566. this.txt_PlanNO.FlatMode = true;
  567. this.txt_PlanNO.Location = new System.Drawing.Point(408, 100);
  568. this.txt_PlanNO.Name = "txt_PlanNO";
  569. this.txt_PlanNO.Size = new System.Drawing.Size(140, 19);
  570. this.txt_PlanNO.TabIndex = 86;
  571. //
  572. // chk_PlanNO
  573. //
  574. this.chk_PlanNO.BackColor = System.Drawing.Color.Transparent;
  575. this.chk_PlanNO.FlatMode = true;
  576. this.chk_PlanNO.Location = new System.Drawing.Point(334, 102);
  577. this.chk_PlanNO.Name = "chk_PlanNO";
  578. this.chk_PlanNO.Size = new System.Drawing.Size(74, 16);
  579. this.chk_PlanNO.TabIndex = 85;
  580. this.chk_PlanNO.Text = "计划号";
  581. //
  582. // Chk_VecihleNO
  583. //
  584. this.Chk_VecihleNO.BackColor = System.Drawing.Color.Transparent;
  585. this.Chk_VecihleNO.FlatMode = true;
  586. this.Chk_VecihleNO.Location = new System.Drawing.Point(6, 174);
  587. this.Chk_VecihleNO.Name = "Chk_VecihleNO";
  588. this.Chk_VecihleNO.Size = new System.Drawing.Size(74, 16);
  589. this.Chk_VecihleNO.TabIndex = 87;
  590. this.Chk_VecihleNO.Text = "车牌号";
  591. //
  592. // txt_VecihleNO
  593. //
  594. this.txt_VecihleNO.AutoSize = true;
  595. this.txt_VecihleNO.FlatMode = true;
  596. this.txt_VecihleNO.Location = new System.Drawing.Point(80, 173);
  597. this.txt_VecihleNO.Name = "txt_VecihleNO";
  598. this.txt_VecihleNO.Size = new System.Drawing.Size(248, 19);
  599. this.txt_VecihleNO.TabIndex = 88;
  600. //
  601. // Chk_ClassTeam
  602. //
  603. this.Chk_ClassTeam.BackColor = System.Drawing.Color.Transparent;
  604. this.Chk_ClassTeam.FlatMode = true;
  605. this.Chk_ClassTeam.Location = new System.Drawing.Point(554, 29);
  606. this.Chk_ClassTeam.Name = "Chk_ClassTeam";
  607. this.Chk_ClassTeam.Size = new System.Drawing.Size(74, 16);
  608. this.Chk_ClassTeam.TabIndex = 92;
  609. this.Chk_ClassTeam.Text = "发运班组";
  610. //
  611. // Cmb_ClassTeam
  612. //
  613. this.Cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  614. appearance1.BackColor = System.Drawing.SystemColors.Window;
  615. appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  616. this.Cmb_ClassTeam.DisplayLayout.Appearance = appearance1;
  617. this.Cmb_ClassTeam.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  618. this.Cmb_ClassTeam.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  619. appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
  620. appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
  621. appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  622. appearance2.BorderColor = System.Drawing.SystemColors.Window;
  623. this.Cmb_ClassTeam.DisplayLayout.GroupByBox.Appearance = appearance2;
  624. appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
  625. this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
  626. this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  627. appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
  628. appearance4.BackColor2 = System.Drawing.SystemColors.Control;
  629. appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  630. appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
  631. this.Cmb_ClassTeam.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
  632. this.Cmb_ClassTeam.DisplayLayout.MaxColScrollRegions = 1;
  633. this.Cmb_ClassTeam.DisplayLayout.MaxRowScrollRegions = 1;
  634. appearance5.BackColor = System.Drawing.SystemColors.Window;
  635. appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
  636. this.Cmb_ClassTeam.DisplayLayout.Override.ActiveCellAppearance = appearance5;
  637. appearance6.BackColor = System.Drawing.SystemColors.Highlight;
  638. appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
  639. this.Cmb_ClassTeam.DisplayLayout.Override.ActiveRowAppearance = appearance6;
  640. this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  641. this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  642. appearance7.BackColor = System.Drawing.SystemColors.Window;
  643. this.Cmb_ClassTeam.DisplayLayout.Override.CardAreaAppearance = appearance7;
  644. appearance8.BorderColor = System.Drawing.Color.Silver;
  645. appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  646. this.Cmb_ClassTeam.DisplayLayout.Override.CellAppearance = appearance8;
  647. this.Cmb_ClassTeam.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  648. this.Cmb_ClassTeam.DisplayLayout.Override.CellPadding = 0;
  649. appearance9.BackColor = System.Drawing.SystemColors.Control;
  650. appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
  651. appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  652. appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  653. appearance9.BorderColor = System.Drawing.SystemColors.Window;
  654. this.Cmb_ClassTeam.DisplayLayout.Override.GroupByRowAppearance = appearance9;
  655. appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
  656. this.Cmb_ClassTeam.DisplayLayout.Override.HeaderAppearance = appearance10;
  657. this.Cmb_ClassTeam.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  658. this.Cmb_ClassTeam.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  659. appearance11.BackColor = System.Drawing.SystemColors.Window;
  660. appearance11.BorderColor = System.Drawing.Color.Silver;
  661. this.Cmb_ClassTeam.DisplayLayout.Override.RowAppearance = appearance11;
  662. this.Cmb_ClassTeam.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  663. appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
  664. this.Cmb_ClassTeam.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
  665. this.Cmb_ClassTeam.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  666. this.Cmb_ClassTeam.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  667. this.Cmb_ClassTeam.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  668. this.Cmb_ClassTeam.DisplayMember = "";
  669. this.Cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
  670. this.Cmb_ClassTeam.FlatMode = true;
  671. this.Cmb_ClassTeam.Location = new System.Drawing.Point(628, 27);
  672. this.Cmb_ClassTeam.Name = "Cmb_ClassTeam";
  673. this.Cmb_ClassTeam.Size = new System.Drawing.Size(110, 19);
  674. this.Cmb_ClassTeam.TabIndex = 93;
  675. this.Cmb_ClassTeam.ValueMember = "";
  676. //
  677. // Chk_SendMan
  678. //
  679. this.Chk_SendMan.BackColor = System.Drawing.Color.Transparent;
  680. this.Chk_SendMan.FlatMode = true;
  681. this.Chk_SendMan.Location = new System.Drawing.Point(554, 53);
  682. this.Chk_SendMan.Name = "Chk_SendMan";
  683. this.Chk_SendMan.Size = new System.Drawing.Size(74, 16);
  684. this.Chk_SendMan.TabIndex = 94;
  685. this.Chk_SendMan.Text = "发运人";
  686. //
  687. // txt_SendMan
  688. //
  689. this.txt_SendMan.AutoSize = true;
  690. this.txt_SendMan.FlatMode = true;
  691. this.txt_SendMan.Location = new System.Drawing.Point(628, 52);
  692. this.txt_SendMan.Name = "txt_SendMan";
  693. this.txt_SendMan.Size = new System.Drawing.Size(110, 19);
  694. this.txt_SendMan.TabIndex = 95;
  695. //
  696. // Chk_SteelName
  697. //
  698. this.Chk_SteelName.BackColor = System.Drawing.Color.Transparent;
  699. this.Chk_SteelName.FlatMode = true;
  700. this.Chk_SteelName.Location = new System.Drawing.Point(554, 5);
  701. this.Chk_SteelName.Name = "Chk_SteelName";
  702. this.Chk_SteelName.Size = new System.Drawing.Size(74, 16);
  703. this.Chk_SteelName.TabIndex = 97;
  704. this.Chk_SteelName.Text = "发运牌号";
  705. //
  706. // Cmb_SteelName
  707. //
  708. this.Cmb_SteelName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  709. appearance13.BackColor = System.Drawing.SystemColors.Window;
  710. appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  711. this.Cmb_SteelName.DisplayLayout.Appearance = appearance13;
  712. this.Cmb_SteelName.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  713. this.Cmb_SteelName.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  714. appearance14.BackColor = System.Drawing.SystemColors.ActiveBorder;
  715. appearance14.BackColor2 = System.Drawing.SystemColors.ControlDark;
  716. appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  717. appearance14.BorderColor = System.Drawing.SystemColors.Window;
  718. this.Cmb_SteelName.DisplayLayout.GroupByBox.Appearance = appearance14;
  719. appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
  720. this.Cmb_SteelName.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
  721. this.Cmb_SteelName.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  722. appearance16.BackColor = System.Drawing.SystemColors.ControlLightLight;
  723. appearance16.BackColor2 = System.Drawing.SystemColors.Control;
  724. appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  725. appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
  726. this.Cmb_SteelName.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
  727. this.Cmb_SteelName.DisplayLayout.MaxColScrollRegions = 1;
  728. this.Cmb_SteelName.DisplayLayout.MaxRowScrollRegions = 1;
  729. appearance17.BackColor = System.Drawing.SystemColors.Window;
  730. appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
  731. this.Cmb_SteelName.DisplayLayout.Override.ActiveCellAppearance = appearance17;
  732. appearance18.BackColor = System.Drawing.SystemColors.Highlight;
  733. appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
  734. this.Cmb_SteelName.DisplayLayout.Override.ActiveRowAppearance = appearance18;
  735. this.Cmb_SteelName.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  736. this.Cmb_SteelName.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  737. appearance19.BackColor = System.Drawing.SystemColors.Window;
  738. this.Cmb_SteelName.DisplayLayout.Override.CardAreaAppearance = appearance19;
  739. appearance20.BorderColor = System.Drawing.Color.Silver;
  740. appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  741. this.Cmb_SteelName.DisplayLayout.Override.CellAppearance = appearance20;
  742. this.Cmb_SteelName.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  743. this.Cmb_SteelName.DisplayLayout.Override.CellPadding = 0;
  744. appearance21.BackColor = System.Drawing.SystemColors.Control;
  745. appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
  746. appearance21.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  747. appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  748. appearance21.BorderColor = System.Drawing.SystemColors.Window;
  749. this.Cmb_SteelName.DisplayLayout.Override.GroupByRowAppearance = appearance21;
  750. appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
  751. this.Cmb_SteelName.DisplayLayout.Override.HeaderAppearance = appearance22;
  752. this.Cmb_SteelName.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  753. this.Cmb_SteelName.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  754. appearance23.BackColor = System.Drawing.SystemColors.Window;
  755. appearance23.BorderColor = System.Drawing.Color.Silver;
  756. this.Cmb_SteelName.DisplayLayout.Override.RowAppearance = appearance23;
  757. this.Cmb_SteelName.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  758. appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
  759. this.Cmb_SteelName.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
  760. this.Cmb_SteelName.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  761. this.Cmb_SteelName.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  762. this.Cmb_SteelName.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  763. this.Cmb_SteelName.DisplayMember = "";
  764. this.Cmb_SteelName.FlatMode = true;
  765. this.Cmb_SteelName.Location = new System.Drawing.Point(628, 4);
  766. this.Cmb_SteelName.Name = "Cmb_SteelName";
  767. this.Cmb_SteelName.Size = new System.Drawing.Size(110, 19);
  768. this.Cmb_SteelName.TabIndex = 98;
  769. this.Cmb_SteelName.ValueMember = "";
  770. //
  771. // Chk_BookInMan
  772. //
  773. this.Chk_BookInMan.BackColor = System.Drawing.Color.Transparent;
  774. this.Chk_BookInMan.FlatMode = true;
  775. this.Chk_BookInMan.Location = new System.Drawing.Point(554, 77);
  776. this.Chk_BookInMan.Name = "Chk_BookInMan";
  777. this.Chk_BookInMan.Size = new System.Drawing.Size(74, 16);
  778. this.Chk_BookInMan.TabIndex = 100;
  779. this.Chk_BookInMan.Text = "登记人";
  780. //
  781. // txt_BookInMan
  782. //
  783. this.txt_BookInMan.AutoSize = true;
  784. this.txt_BookInMan.FlatMode = true;
  785. this.txt_BookInMan.Location = new System.Drawing.Point(628, 75);
  786. this.txt_BookInMan.Name = "txt_BookInMan";
  787. this.txt_BookInMan.Size = new System.Drawing.Size(110, 19);
  788. this.txt_BookInMan.TabIndex = 101;
  789. //
  790. // Chk_Condole
  791. //
  792. this.Chk_Condole.BackColor = System.Drawing.Color.Transparent;
  793. this.Chk_Condole.FlatMode = true;
  794. this.Chk_Condole.Location = new System.Drawing.Point(334, 126);
  795. this.Chk_Condole.Name = "Chk_Condole";
  796. this.Chk_Condole.Size = new System.Drawing.Size(74, 16);
  797. this.Chk_Condole.TabIndex = 104;
  798. this.Chk_Condole.Text = "发运吊号";
  799. //
  800. // Txt_Condole
  801. //
  802. this.Txt_Condole.AutoSize = true;
  803. this.Txt_Condole.FlatMode = true;
  804. this.Txt_Condole.Location = new System.Drawing.Point(408, 123);
  805. this.Txt_Condole.Name = "Txt_Condole";
  806. this.Txt_Condole.Size = new System.Drawing.Size(140, 19);
  807. this.Txt_Condole.TabIndex = 105;
  808. //
  809. // chk_PL
  810. //
  811. this.chk_PL.BackColor = System.Drawing.Color.Transparent;
  812. this.chk_PL.FlatMode = true;
  813. this.chk_PL.Location = new System.Drawing.Point(188, 107);
  814. this.chk_PL.Name = "chk_PL";
  815. this.chk_PL.Size = new System.Drawing.Size(46, 16);
  816. this.chk_PL.TabIndex = 108;
  817. this.chk_PL.Text = "产线";
  818. //
  819. // cmb_ProductLine
  820. //
  821. this.cmb_ProductLine.AutoSize = true;
  822. this.cmb_ProductLine.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
  823. valueListItem1.DataValue = "4001HB1";
  824. valueListItem1.DisplayText = "厚板线";
  825. valueListItem2.DataValue = "4001ZB1";
  826. valueListItem2.DisplayText = "中板线";
  827. this.cmb_ProductLine.Items.Add(valueListItem1);
  828. this.cmb_ProductLine.Items.Add(valueListItem2);
  829. this.cmb_ProductLine.Location = new System.Drawing.Point(236, 103);
  830. this.cmb_ProductLine.Name = "cmb_ProductLine";
  831. this.cmb_ProductLine.Size = new System.Drawing.Size(92, 21);
  832. this.cmb_ProductLine.TabIndex = 143;
  833. this.cmb_ProductLine.TabStop = false;
  834. //
  835. // Date_XCSJE
  836. //
  837. this.Date_XCSJE.FlatMode = true;
  838. this.Date_XCSJE.Location = new System.Drawing.Point(214, 53);
  839. this.Date_XCSJE.MaskInput = "{date}";
  840. this.Date_XCSJE.Name = "Date_XCSJE";
  841. this.Date_XCSJE.Size = new System.Drawing.Size(114, 19);
  842. this.Date_XCSJE.TabIndex = 149;
  843. //
  844. // ultraLabel8
  845. //
  846. this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
  847. this.ultraLabel8.Location = new System.Drawing.Point(196, 56);
  848. this.ultraLabel8.Name = "ultraLabel8";
  849. this.ultraLabel8.Size = new System.Drawing.Size(16, 16);
  850. this.ultraLabel8.TabIndex = 148;
  851. this.ultraLabel8.Text = "到";
  852. //
  853. // Date_XCSJS
  854. //
  855. this.Date_XCSJS.FlatMode = true;
  856. this.Date_XCSJS.Location = new System.Drawing.Point(80, 53);
  857. this.Date_XCSJS.MaskInput = "{date}";
  858. this.Date_XCSJS.Name = "Date_XCSJS";
  859. this.Date_XCSJS.Size = new System.Drawing.Size(114, 19);
  860. this.Date_XCSJS.TabIndex = 147;
  861. //
  862. // chk_XCSJ
  863. //
  864. this.chk_XCSJ.BackColor = System.Drawing.Color.Transparent;
  865. this.chk_XCSJ.FlatMode = true;
  866. this.chk_XCSJ.Location = new System.Drawing.Point(6, 54);
  867. this.chk_XCSJ.Name = "chk_XCSJ";
  868. this.chk_XCSJ.Size = new System.Drawing.Size(74, 16);
  869. this.chk_XCSJ.TabIndex = 146;
  870. this.chk_XCSJ.Text = "下车日期";
  871. //
  872. // UCSendQuery
  873. //
  874. this.Controls.Add(this.Date_XCSJE);
  875. this.Controls.Add(this.ultraLabel8);
  876. this.Controls.Add(this.Date_XCSJS);
  877. this.Controls.Add(this.chk_XCSJ);
  878. this.Controls.Add(this.cmb_ProductLine);
  879. this.Controls.Add(this.chk_PL);
  880. this.Controls.Add(this.Txt_Condole);
  881. this.Controls.Add(this.Chk_Condole);
  882. this.Controls.Add(this.txt_BookInMan);
  883. this.Controls.Add(this.Chk_BookInMan);
  884. this.Controls.Add(this.Cmb_SteelName);
  885. this.Controls.Add(this.Chk_SteelName);
  886. this.Controls.Add(this.txt_SendMan);
  887. this.Controls.Add(this.Chk_SendMan);
  888. this.Controls.Add(this.Cmb_ClassTeam);
  889. this.Controls.Add(this.Chk_ClassTeam);
  890. this.Controls.Add(this.txt_VecihleNO);
  891. this.Controls.Add(this.Chk_VecihleNO);
  892. this.Controls.Add(this.txt_PlanNO);
  893. this.Controls.Add(this.chk_PlanNO);
  894. this.Controls.Add(this.txt_LengthEnd);
  895. this.Controls.Add(this.ultraLabel4);
  896. this.Controls.Add(this.txt_LenghtBegin);
  897. this.Controls.Add(this.chk_Length);
  898. this.Controls.Add(this.txt_WidthEnd);
  899. this.Controls.Add(this.ultraLabel5);
  900. this.Controls.Add(this.txt_WidthBegin);
  901. this.Controls.Add(this.chk_Width);
  902. this.Controls.Add(this.txt_PlyEnd);
  903. this.Controls.Add(this.ultraLabel6);
  904. this.Controls.Add(this.txt_PlyBegin);
  905. this.Controls.Add(this.chk_Ply);
  906. this.Controls.Add(this.txt_RollNOEnd);
  907. this.Controls.Add(this.ultraLabel7);
  908. this.Controls.Add(this.txt_RollNOBegin);
  909. this.Controls.Add(this.txt_RollNOTop);
  910. this.Controls.Add(this.chk_RollNum);
  911. this.Controls.Add(this.txt_PactNO);
  912. this.Controls.Add(this.Chk_PactNO);
  913. this.Controls.Add(this.txt_StationName);
  914. this.Controls.Add(this.Chk_StationName);
  915. this.Controls.Add(this.txt_IncpName);
  916. this.Controls.Add(this.Chk_IncpName);
  917. this.Controls.Add(this.txt_ListCodingEnd);
  918. this.Controls.Add(this.ultraLabel3);
  919. this.Controls.Add(this.txt_ListCodingBegin);
  920. this.Controls.Add(this.txt_ListCodingTop);
  921. this.Controls.Add(this.Chk_ListCode);
  922. this.Controls.Add(this.Dte_BookInEnd);
  923. this.Controls.Add(this.ultraLabel2);
  924. this.Controls.Add(this.Dte_BookInBegin);
  925. this.Controls.Add(this.Chk_BookInDate);
  926. this.Controls.Add(this.Dte_SendEnd);
  927. this.Controls.Add(this.ultraLabel1);
  928. this.Controls.Add(this.Dte_SendBegin);
  929. this.Controls.Add(this.Chk_SendDate);
  930. this.Name = "UCSendQuery";
  931. this.Size = new System.Drawing.Size(748, 211);
  932. ((System.ComponentModel.ISupportInitialize)(this.Dte_SendBegin)).EndInit();
  933. ((System.ComponentModel.ISupportInitialize)(this.Dte_SendEnd)).EndInit();
  934. ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInEnd)).EndInit();
  935. ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInBegin)).EndInit();
  936. ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingEnd)).EndInit();
  937. ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingBegin)).EndInit();
  938. ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingTop)).EndInit();
  939. ((System.ComponentModel.ISupportInitialize)(this.txt_IncpName)).EndInit();
  940. ((System.ComponentModel.ISupportInitialize)(this.txt_StationName)).EndInit();
  941. ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).EndInit();
  942. ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).EndInit();
  943. ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).EndInit();
  944. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).EndInit();
  945. ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).EndInit();
  946. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).EndInit();
  947. ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).EndInit();
  948. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
  949. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
  950. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOTop)).EndInit();
  951. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
  952. ((System.ComponentModel.ISupportInitialize)(this.txt_VecihleNO)).EndInit();
  953. ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).EndInit();
  954. ((System.ComponentModel.ISupportInitialize)(this.txt_SendMan)).EndInit();
  955. ((System.ComponentModel.ISupportInitialize)(this.Cmb_SteelName)).EndInit();
  956. ((System.ComponentModel.ISupportInitialize)(this.txt_BookInMan)).EndInit();
  957. ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).EndInit();
  958. ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).EndInit();
  959. ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJE)).EndInit();
  960. ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJS)).EndInit();
  961. this.ResumeLayout(false);
  962. }
  963. #endregion
  964. #region "Preporty"
  965. private System.Data.DataSet _MyDataSet = null;
  966. public System.Data.DataSet MyDataSet
  967. {
  968. set
  969. {
  970. _MyDataSet = value;
  971. StorageBaseClass.Init_ComboControl(this.Cmb_SteelName,"XT_PH|PHMC|PHMC",ref this._MyDataSet);
  972. StorageBaseClass.Init_ComboControl(this.Cmb_ClassTeam,"XT_BZ|ID_|NAME_",ref this._MyDataSet);
  973. }
  974. }
  975. private string _WhereStr = "";
  976. public string WhereStr
  977. {
  978. get
  979. {
  980. _WhereStr = GetSteelCondition();
  981. _WhereStr = _WhereStr + GetPactNOCondition();
  982. _WhereStr = _WhereStr + GetSendDateCondition();
  983. _WhereStr = _WhereStr + GetBookInDateCondition();
  984. _WhereStr = _WhereStr + GetListCondingCondition();
  985. _WhereStr = _WhereStr + GetIncpNameCondition();
  986. _WhereStr = _WhereStr + GetStationNameCondition();
  987. _WhereStr = _WhereStr + GetRollNOCondition();
  988. _WhereStr = _WhereStr + GetPlyCondition();
  989. _WhereStr = _WhereStr + GetXCDateCondition();
  990. _WhereStr = _WhereStr + GetWidthCondition();
  991. _WhereStr = _WhereStr + GetLengthCondition();
  992. _WhereStr = _WhereStr + GetPlanNOCondition();
  993. _WhereStr = _WhereStr + GetVecihleNOCondition();
  994. _WhereStr = _WhereStr + GetClassTeamCondition();
  995. _WhereStr = _WhereStr + GetSendManCondition();
  996. _WhereStr = _WhereStr + GetCondole();
  997. _WhereStr = _WhereStr + GetBookInManCondition();
  998. _WhereStr = _WhereStr + GetPLCondition();
  999. return _WhereStr;
  1000. }
  1001. }
  1002. #endregion
  1003. #region "Method"
  1004. //产线
  1005. private string GetPLCondition()
  1006. {
  1007. try
  1008. {
  1009. string rtnStr = "";
  1010. if(this.chk_PL.Checked && this.cmb_ProductLine.Text.Trim().Length>0)
  1011. {
  1012. rtnStr = " AND B.PRODLINECODE='"+this.cmb_ProductLine.Value.ToString()+"' ";
  1013. }
  1014. return rtnStr;
  1015. }
  1016. catch(System.Exception ex)
  1017. {
  1018. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1019. return "";
  1020. }
  1021. }
  1022. //牌号
  1023. private string GetSteelCondition()
  1024. {
  1025. try
  1026. {
  1027. string rtnStr = "";
  1028. if(this.Chk_SteelName.Checked && this.Cmb_SteelName.Text.Trim().Length>0)
  1029. {
  1030. rtnStr = " AND A.STEELTYPE='"+this.Cmb_SteelName.Text.Trim()+"' ";
  1031. }
  1032. return rtnStr;
  1033. }
  1034. catch(System.Exception ex)
  1035. {
  1036. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1037. return "";
  1038. }
  1039. }
  1040. //合同号B
  1041. private string GetPactNOCondition()
  1042. {
  1043. try
  1044. {
  1045. string rtnStr = "";
  1046. if(this.Chk_PactNO.Checked && this.txt_PactNO.Text.Trim().Length>0)
  1047. {
  1048. rtnStr = " AND B.PACTNO LIKE '%"+this.txt_PactNO.Text.Trim()+"%' ";
  1049. }
  1050. return rtnStr;
  1051. }
  1052. catch(System.Exception ex)
  1053. {
  1054. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1055. return "";
  1056. }
  1057. }
  1058. //发运日期A
  1059. private string GetSendDateCondition()
  1060. {
  1061. try
  1062. {
  1063. string rtnStr = "";
  1064. if(this.Chk_SendDate.Checked && this.Dte_SendBegin.Value!=null)
  1065. {
  1066. rtnStr = " AND TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')>='"+Convert.ToDateTime(this.Dte_SendBegin.Value).ToString("yy-MM-dd")+"' "
  1067. +" AND TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')<='"+Convert.ToDateTime(this.Dte_SendEnd.Value).ToString("yy-MM-dd")+"' ";
  1068. }
  1069. return rtnStr;
  1070. }
  1071. catch(System.Exception ex)
  1072. {
  1073. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1074. return "";
  1075. }
  1076. }
  1077. //登记日期A
  1078. private string GetBookInDateCondition()
  1079. {
  1080. try
  1081. {
  1082. string rtnStr = "";
  1083. if(this.Chk_BookInDate.Checked && this.Dte_BookInBegin.Value!=null)
  1084. {
  1085. rtnStr = " AND TO_CHAR(A.CREATTIME,'YY-MM-DD')>='"+Convert.ToDateTime(this.Dte_BookInBegin.Value).ToString("yy-MM-dd")+"' "
  1086. +" AND TO_CHAR(A.CREATTIME,'YY-MM-DD')<='"+Convert.ToDateTime(this.Dte_BookInEnd.Value).ToString("yy-MM-dd")+"' ";
  1087. }
  1088. return rtnStr;
  1089. }
  1090. catch(System.Exception ex)
  1091. {
  1092. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1093. return "";
  1094. }
  1095. }
  1096. //下车时间A
  1097. private string GetXCDateCondition()
  1098. {
  1099. try
  1100. {
  1101. string rtnStr = "";
  1102. if (this.chk_XCSJ.Checked && this.Date_XCSJS.Value != null)
  1103. {
  1104. rtnStr = " AND SUBSTR(A.PLANVEHICLEID,3,6) >='" + Convert.ToDateTime(this.Date_XCSJS.Value).ToString("yyMMdd") + "' "
  1105. + " AND SUBSTR(A.PLANVEHICLEID,3,6) <='" + Convert.ToDateTime(this.Date_XCSJE.Value).ToString("yyMMdd") + "' ";
  1106. }
  1107. return rtnStr;
  1108. }
  1109. catch (System.Exception ex)
  1110. {
  1111. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1112. return "";
  1113. }
  1114. }
  1115. //发运明细A
  1116. private string GetListCondingCondition()
  1117. {
  1118. try
  1119. {
  1120. string rtnStr = "";
  1121. if(this.Chk_ListCode.Checked)
  1122. {
  1123. rtnStr = " AND SUBSTR(A.LISTNUMBER,1,"+StorageBaseClass.CheckNullStr(this.txt_ListCodingTop.Text.Trim().Length)+")='"+this.txt_ListCodingTop.Text.Trim()+"' ";
  1124. if(this.txt_ListCodingTop.Text.Trim().Length == 3)
  1125. {
  1126. if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length == 0)
  1127. {
  1128. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,5,5)='"+this.txt_ListCodingBegin.Text.Trim()+"' ";
  1129. }
  1130. if(this.txt_ListCodingBegin.Text.Trim().Length == 0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
  1131. {
  1132. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,5,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
  1133. }
  1134. if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
  1135. {
  1136. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,5,5)>='"+this.txt_ListCodingBegin.Text.Trim()+"' "
  1137. + " AND SUBSTR(A.LISTNUMBER,5,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
  1138. }
  1139. }
  1140. if(this.txt_ListCodingTop.Text.Trim().Length == 2)
  1141. {
  1142. if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length == 0)
  1143. {
  1144. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,4,5)='"+this.txt_ListCodingBegin.Text.Trim()+"' ";
  1145. }
  1146. if(this.txt_ListCodingBegin.Text.Trim().Length == 0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
  1147. {
  1148. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,4,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
  1149. }
  1150. if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
  1151. {
  1152. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,4,5)>='"+this.txt_ListCodingBegin.Text.Trim()+"' "
  1153. + " AND SUBSTR(A.LISTNUMBER,4,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
  1154. }
  1155. }
  1156. }
  1157. if(this.txt_ListCodingTop.Text.Trim().Length == 4)
  1158. {
  1159. if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length == 0)
  1160. {
  1161. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,6,5)='"+this.txt_ListCodingBegin.Text.Trim()+"' ";
  1162. }
  1163. if(this.txt_ListCodingBegin.Text.Trim().Length == 0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
  1164. {
  1165. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,6,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
  1166. }
  1167. if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
  1168. {
  1169. rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,6,5)>='"+this.txt_ListCodingBegin.Text.Trim()+"' "
  1170. + " AND SUBSTR(A.LISTNUMBER,6,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
  1171. }
  1172. }
  1173. return rtnStr;
  1174. }
  1175. catch(System.Exception ex)
  1176. {
  1177. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1178. return "";
  1179. }
  1180. }
  1181. //收货单位C
  1182. private string GetIncpNameCondition()
  1183. {
  1184. try
  1185. {
  1186. string rtnStr = "";
  1187. if(this.Chk_IncpName.Checked && this.txt_IncpName.Text.Trim().Length>0)
  1188. {
  1189. rtnStr = " AND C.INCEPTCORPNAME LIKE '%"+this.txt_IncpName.Text.Trim()+"%' ";
  1190. }
  1191. return rtnStr;
  1192. }
  1193. catch(System.Exception ex)
  1194. {
  1195. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1196. return "";
  1197. }
  1198. }
  1199. //到站D
  1200. private string GetStationNameCondition()
  1201. {
  1202. try
  1203. {
  1204. string rtnStr = "";
  1205. if(this.Chk_StationName.Checked && this.txt_StationName.Text.Trim().Length>0)
  1206. {
  1207. rtnStr = " AND D.STATIONNAME LIKE '%"+this.txt_StationName.Text.Trim()+"%' ";
  1208. }
  1209. return rtnStr;
  1210. }
  1211. catch(System.Exception ex)
  1212. {
  1213. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1214. return "";
  1215. }
  1216. }
  1217. //轧编号
  1218. private string GetRollNOCondition()
  1219. {
  1220. try
  1221. {
  1222. string rtnStr = "";
  1223. if(this.chk_RollNum.Checked)
  1224. {
  1225. //rtnStr = " AND SUBSTR(A.ROLLNO,1,INSTR(A.ROLLNO,'-')-1)='"+this.txt_RollNOTop.Text.Trim()+"' ";
  1226. //if(this.txt_RollNOBegin.Text.Trim().Length>0 && this.txt_RollNOEnd.Text.Trim().Length==0)
  1227. //{
  1228. // rtnStr = rtnStr + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)='"+this.txt_RollNOBegin.Text.Trim()+"' ";
  1229. //}
  1230. //if(this.txt_RollNOBegin.Text.Trim().Length==0 && this.txt_RollNOEnd.Text.Trim().Length>0)
  1231. //{
  1232. // rtnStr = rtnStr + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"' ";
  1233. //}
  1234. //if(this.txt_RollNOBegin.Text.Trim().Length>0 && this.txt_RollNOEnd.Text.Trim().Length>0)
  1235. //{
  1236. // rtnStr = rtnStr + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)>='"+this.txt_RollNOBegin.Text.Trim()+"' "
  1237. // + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"' ";
  1238. //}
  1239. rtnStr = " AND A.SERIALNUMBER LIKE '" + this.txt_RollNOTop.Text.Trim() + "%'";
  1240. }
  1241. return rtnStr;
  1242. }
  1243. catch(System.Exception ex)
  1244. {
  1245. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1246. return "";
  1247. }
  1248. }
  1249. //厚度
  1250. private string GetPlyCondition()
  1251. {
  1252. try
  1253. {
  1254. if(this.chk_Ply.Checked)
  1255. {
  1256. string rtnStr = "";
  1257. if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)==0)
  1258. {
  1259. rtnStr = " AND A.PLY="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value);
  1260. return rtnStr;
  1261. }
  1262. if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
  1263. {
  1264. rtnStr = " AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
  1265. return rtnStr;
  1266. }
  1267. if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
  1268. {
  1269. rtnStr = " AND A.PLY>="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value)
  1270. +" AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
  1271. return rtnStr;
  1272. }
  1273. }
  1274. return "";
  1275. }
  1276. catch(System.Exception ex)
  1277. {
  1278. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1279. return "";
  1280. }
  1281. }
  1282. //宽度
  1283. private string GetWidthCondition()
  1284. {
  1285. try
  1286. {
  1287. if(this.chk_Width.Checked)
  1288. {
  1289. string rtnStr = "";
  1290. if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)==0)
  1291. {
  1292. rtnStr = " AND A.WIDTH="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value);
  1293. return rtnStr;
  1294. }
  1295. if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
  1296. {
  1297. rtnStr = " AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
  1298. return rtnStr;
  1299. }
  1300. if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
  1301. {
  1302. rtnStr = " AND A.WIDTH>="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value)
  1303. +" AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
  1304. return rtnStr;
  1305. }
  1306. }
  1307. return "";
  1308. }
  1309. catch(System.Exception ex)
  1310. {
  1311. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1312. return "";
  1313. }
  1314. }
  1315. //长度
  1316. private string GetLengthCondition()
  1317. {
  1318. try
  1319. {
  1320. if(this.chk_Length.Checked)
  1321. {
  1322. string rtnStr = "";
  1323. if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)==0)
  1324. {
  1325. rtnStr = " AND A.LENGTH="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value);
  1326. return rtnStr;
  1327. }
  1328. if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
  1329. {
  1330. rtnStr = " AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
  1331. return rtnStr;
  1332. }
  1333. if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
  1334. {
  1335. rtnStr = " AND A.LENGTH>="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value)
  1336. +" AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
  1337. return rtnStr;
  1338. }
  1339. }
  1340. return "";
  1341. }
  1342. catch(System.Exception ex)
  1343. {
  1344. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1345. return "";
  1346. }
  1347. }
  1348. //计划号
  1349. private string GetPlanNOCondition()
  1350. {
  1351. try
  1352. {
  1353. string rtnStr = "";
  1354. if(this.chk_PlanNO.Checked && this.txt_PlanNO.Text.Trim().Length>0)
  1355. {
  1356. rtnStr = " AND A.PLANNO LIKE '%"+this.txt_PlanNO.Text.Trim()+"%' ";
  1357. }
  1358. return rtnStr;
  1359. }
  1360. catch(System.Exception ex)
  1361. {
  1362. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1363. return "";
  1364. }
  1365. }
  1366. //车牌号
  1367. private string GetVecihleNOCondition()
  1368. {
  1369. try
  1370. {
  1371. string rtnStr = "";
  1372. if(this.Chk_VecihleNO.Checked && this.txt_VecihleNO.Text.Trim().Length>0)
  1373. {
  1374. rtnStr = " AND A.TRAINWAGON LIKE '%"+this.txt_VecihleNO.Text.Trim()+"%' ";
  1375. }
  1376. return rtnStr;
  1377. }
  1378. catch(System.Exception ex)
  1379. {
  1380. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1381. return "";
  1382. }
  1383. }
  1384. //班组
  1385. private string GetClassTeamCondition()
  1386. {
  1387. try
  1388. {
  1389. string rtnStr = "";
  1390. if(this.Chk_ClassTeam.Checked && StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value).Length>0)
  1391. {
  1392. rtnStr = " AND A.CLASSTEAM='"+StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value)+"' ";
  1393. }
  1394. return rtnStr;
  1395. }
  1396. catch(System.Exception ex)
  1397. {
  1398. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1399. return "";
  1400. }
  1401. }
  1402. //发运人
  1403. private string GetSendManCondition()
  1404. {
  1405. try
  1406. {
  1407. string rtnStr = "";
  1408. if(this.Chk_SendMan.Checked && this.txt_SendMan.Text.Trim().Length>0)
  1409. {
  1410. rtnStr = " AND A.PICKSTORAGEMAN='"+this.txt_SendMan.Text.Trim()+"' ";
  1411. }
  1412. return rtnStr;
  1413. }
  1414. catch(System.Exception ex)
  1415. {
  1416. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1417. return "";
  1418. }
  1419. }
  1420. //发运明细的登记人
  1421. private string GetBookInManCondition()
  1422. {
  1423. try
  1424. {
  1425. string rtnStr = "";
  1426. if(this.Chk_BookInMan.Checked && this.txt_BookInMan.Text.Trim().Length>0)
  1427. {
  1428. rtnStr = " AND A.CREATOR='"+this.txt_BookInMan.Text.Trim()+"' ";
  1429. }
  1430. return rtnStr;
  1431. }
  1432. catch(System.Exception ex)
  1433. {
  1434. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1435. return "";
  1436. }
  1437. }
  1438. //获得发运吊号的条件
  1439. private string GetCondole()
  1440. {
  1441. try
  1442. {
  1443. string rtnStr = "";
  1444. if(this.Chk_Condole.Checked && this.Txt_Condole.Text.Length>0)
  1445. {
  1446. rtnStr = " AND A.CONDOLENUMBER LIKE '%" + this.Txt_Condole.Text + "%' ";
  1447. }
  1448. return rtnStr;
  1449. }
  1450. catch(System.Exception ex)
  1451. {
  1452. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1453. return "";
  1454. }
  1455. }
  1456. #endregion
  1457. private void chk_Filter_CheckedChanged(object sender, EventArgs e)
  1458. {
  1459. }
  1460. }
  1461. }