Frm_ReceiveStuff.cs 159 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954
  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using Core.Mes.ClientFrameWork;
  7. using Core.Mes.IBaseInterface;
  8. using System.Data;
  9. using System.IO;
  10. using NPOI.HSSF.Util;
  11. namespace Core.XgMes.Client.JGKC.SteelPlateManager
  12. {
  13. /// <summary>
  14. /// Frm_ReceiveStuff 的摘要说明。
  15. /// </summary>
  16. public class Frm_ReceiveStuff : Mes.ClientFrameWork.FrmBase
  17. {
  18. private System.Windows.Forms.Panel panel1;
  19. private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
  20. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
  21. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
  22. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
  23. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
  24. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
  25. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
  26. private System.Windows.Forms.Panel panel2;
  27. private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
  28. private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
  29. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox3;
  30. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Time;
  31. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BilletID;
  32. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
  33. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanID;
  34. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
  35. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BilletID;
  36. private Infragistics.Win.Misc.UltraLabel ultraLabel5;
  37. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
  38. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
  39. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
  40. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
  41. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
  42. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
  43. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
  44. private Infragistics.Win.Misc.UltraLabel Lab_To;
  45. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
  46. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
  47. private Infragistics.Win.Misc.UltraLabel ultraLabel10;
  48. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
  49. private Infragistics.Win.Misc.UltraLabel ultraLabel14;
  50. private Infragistics.Win.Misc.UltraLabel ultraLabel1;
  51. private Infragistics.Win.Misc.UltraLabel ultraLabel2;
  52. private Infragistics.Win.Misc.UltraLabel ultraLabel3;
  53. private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
  54. private System.Data.DataSet ds_All;
  55. private System.Data.DataColumn dataColumn1;
  56. private System.Data.DataColumn dataColumn2;
  57. private System.Data.DataColumn dataColumn3;
  58. private System.Data.DataColumn dataColumn5;
  59. private System.Data.DataColumn dataColumn6;
  60. private System.Data.DataColumn dataColumn7;
  61. private System.Data.DataColumn dataColumn8;
  62. private System.Data.DataColumn dataColumn9;
  63. private System.Data.DataColumn dataColumn10;
  64. private System.Data.DataColumn dataColumn11;
  65. private System.Data.DataColumn dataColumn12;
  66. private System.Data.DataColumn dataColumn22;
  67. private System.Data.DataColumn dataColumn14;
  68. private System.Data.DataColumn dataColumn15;
  69. private System.Data.DataTable DT_KCJ_SOURCE;
  70. private System.Data.DataColumn dataColumn16;
  71. private Infragistics.Win.UltraWinGrid.UltraGrid gd_Source;
  72. private Infragistics.Win.UltraWinGrid.UltraGrid gd_Receive;
  73. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InMan;
  74. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_CheckMan;
  75. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
  76. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_SendList;
  77. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SendList;
  78. private System.Data.DataTable DT_KCJ_STORAGELIST;
  79. private System.Data.DataColumn dataColumn19;
  80. private System.Data.DataColumn dataColumn23;
  81. private System.Data.DataColumn dataColumn24;
  82. private System.Data.DataColumn dataColumn25;
  83. private System.Data.DataColumn dataColumn26;
  84. private System.Data.DataColumn dataColumn27;
  85. private System.Data.DataColumn dataColumn28;
  86. private System.Data.DataColumn dataColumn29;
  87. private System.Data.DataColumn dataColumn30;
  88. private System.Data.DataColumn dataColumn31;
  89. private System.Data.DataColumn dataColumn32;
  90. private System.Data.DataColumn dataColumn33;
  91. private System.Data.DataColumn dataColumn34;
  92. private System.Data.DataColumn dataColumn35;
  93. private System.Data.DataColumn dataColumn36;
  94. private System.Data.DataColumn dataColumn37;
  95. private System.Data.DataColumn dataColumn38;
  96. private System.Data.DataColumn dataColumn39;
  97. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
  98. private Infragistics.Win.Misc.UltraLabel ultraLabel4;
  99. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DH;
  100. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DHDate;
  101. private System.Data.DataColumn dataColumn40;
  102. private System.Data.DataColumn dataColumn41;
  103. private System.Data.DataColumn dataColumn42;
  104. private System.Data.DataColumn dataColumn43;
  105. private System.Data.DataColumn dataColumn44;
  106. private System.Data.DataColumn dataColumn45;
  107. private System.Data.DataColumn dataColumn18;
  108. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress;
  109. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
  110. private System.Data.DataColumn dataColumn46;
  111. private System.Data.DataColumn dataColumn47;
  112. private System.Data.DataColumn dataColumn48;
  113. private DataColumn dataColumn49;
  114. private DataColumn dataColumn50;
  115. private DataColumn dataColumn51;
  116. private DataColumn dataColumn52;
  117. private DataColumn dataColumn53;
  118. private DataColumn dataColumn55;
  119. private DataColumn dataColumn4;
  120. private DataColumn dataColumn13;
  121. private DataColumn dataColumn17;
  122. private Infragistics.Win.UltraWinEditors.UltraComboEditor uCmb_BuyCode;
  123. private DataColumn dataColumn20;
  124. private DataColumn dataColumn21;
  125. private System.ComponentModel.IContainer components;
  126. public Frm_ReceiveStuff()
  127. {
  128. //
  129. // Windows 窗体设计器支持所必需的
  130. //
  131. InitializeComponent();
  132. //
  133. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  134. //
  135. }
  136. /// <summary>
  137. /// 清理所有正在使用的资源。
  138. /// </summary>
  139. protected override void Dispose( bool disposing )
  140. {
  141. if( disposing )
  142. {
  143. if(components != null)
  144. {
  145. components.Dispose();
  146. }
  147. }
  148. base.Dispose( disposing );
  149. }
  150. #region Windows 窗体设计器生成的代码
  151. /// <summary>
  152. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  153. /// 此方法的内容。
  154. /// </summary>
  155. private void InitializeComponent()
  156. {
  157. this.components = new System.ComponentModel.Container();
  158. Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
  159. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE");
  160. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_YL");
  161. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_RECEIVE");
  162. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH");
  163. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL");
  164. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_TO_EXCEL");
  165. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  166. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_RECEIVE");
  167. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL_RECEIVE");
  168. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  169. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH");
  170. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE");
  171. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SENDLIST_TO_EXCEL");
  172. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_TO_EXCEL");
  173. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_YL");
  174. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL");
  175. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  176. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  177. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  178. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  179. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  180. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  181. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  182. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  183. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  184. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  185. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  186. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  187. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  188. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  189. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  190. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  191. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  192. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  193. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_SOURCE", -1);
  194. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
  195. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  196. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
  197. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
  198. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
  199. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  200. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
  201. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  202. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
  203. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
  204. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  205. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WIDTH");
  206. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LENGTH");
  207. Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
  208. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
  209. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
  210. Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
  211. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
  212. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
  213. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
  214. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
  215. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SENDTIME");
  216. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONORGAN");
  217. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERBUYER");
  218. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANVEHICLEID");
  219. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUYERNAME");
  220. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
  221. Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
  222. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 0, true, "KCJ_SOURCE", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
  223. Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
  224. Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
  225. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 9, true, "KCJ_SOURCE", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
  226. Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
  227. Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
  228. Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
  229. Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
  230. Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
  231. Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
  232. Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
  233. Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
  234. Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
  235. Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
  236. Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
  237. Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
  238. Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
  239. Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
  240. Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
  241. Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
  242. Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
  243. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_STORAGELIST", -1);
  244. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
  245. Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
  246. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
  247. Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
  248. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
  249. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOTHERBOARDNUMBER");
  250. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
  251. Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
  252. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
  253. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
  254. Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
  255. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
  256. Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
  257. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WIDTH");
  258. Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
  259. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LENGTH");
  260. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
  261. Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
  262. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
  263. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUGREASON");
  264. Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
  265. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
  266. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLIPTYPEPROCESS");
  267. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
  268. Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
  269. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
  270. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
  271. Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
  272. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CONDOLENUMBER");
  273. Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
  274. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CHECKOPERATOR");
  275. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("IN_MAN");
  276. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
  277. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
  278. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
  279. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
  280. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YPLANNO");
  281. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YORDERNO");
  282. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SENDBEGINDATE");
  283. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONORGAN");
  284. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERBUYER");
  285. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUSINESS_CATEGORY");
  286. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUYERNAME");
  287. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
  288. Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
  289. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 0, true, "KCJ_STORAGELIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
  290. Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
  291. Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
  292. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 10, true, "KCJ_STORAGELIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
  293. Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
  294. Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
  295. Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
  296. Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
  297. Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
  298. Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
  299. Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
  300. Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
  301. Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
  302. Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
  303. Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
  304. Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
  305. Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
  306. Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
  307. Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
  308. Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
  309. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  310. Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
  311. Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
  312. Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
  313. this.panel1 = new System.Windows.Forms.Panel();
  314. this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  315. this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
  316. this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  317. this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  318. this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  319. this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
  320. this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
  321. this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  322. this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  323. this.txt_SendList = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  324. this.chk_SendList = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  325. this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  326. this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  327. this.chk_PlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  328. this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  329. this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
  330. this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  331. this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  332. this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  333. this.txt_BilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  334. this.chk_BilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  335. this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  336. this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  337. this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  338. this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
  339. this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  340. this.chk_Time = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  341. this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
  342. this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
  343. this.txt_DH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  344. this.txt_DHDate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  345. this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
  346. this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
  347. this.cmb_CheckMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
  348. this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
  349. this.cmb_InMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
  350. this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
  351. this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
  352. this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
  353. this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
  354. this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
  355. this.panel2 = new System.Windows.Forms.Panel();
  356. this.ultraGroupBox3 = new Infragistics.Win.Misc.UltraGroupBox();
  357. this.gd_Source = new Infragistics.Win.UltraWinGrid.UltraGrid();
  358. this.DT_KCJ_SOURCE = new System.Data.DataTable();
  359. this.dataColumn1 = new System.Data.DataColumn();
  360. this.dataColumn2 = new System.Data.DataColumn();
  361. this.dataColumn3 = new System.Data.DataColumn();
  362. this.dataColumn5 = new System.Data.DataColumn();
  363. this.dataColumn6 = new System.Data.DataColumn();
  364. this.dataColumn7 = new System.Data.DataColumn();
  365. this.dataColumn8 = new System.Data.DataColumn();
  366. this.dataColumn9 = new System.Data.DataColumn();
  367. this.dataColumn10 = new System.Data.DataColumn();
  368. this.dataColumn11 = new System.Data.DataColumn();
  369. this.dataColumn12 = new System.Data.DataColumn();
  370. this.dataColumn22 = new System.Data.DataColumn();
  371. this.dataColumn14 = new System.Data.DataColumn();
  372. this.dataColumn15 = new System.Data.DataColumn();
  373. this.dataColumn16 = new System.Data.DataColumn();
  374. this.dataColumn18 = new System.Data.DataColumn();
  375. this.dataColumn50 = new System.Data.DataColumn();
  376. this.dataColumn52 = new System.Data.DataColumn();
  377. this.dataColumn4 = new System.Data.DataColumn();
  378. this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
  379. this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
  380. this.gd_Receive = new Infragistics.Win.UltraWinGrid.UltraGrid();
  381. this.DT_KCJ_STORAGELIST = new System.Data.DataTable();
  382. this.dataColumn19 = new System.Data.DataColumn();
  383. this.dataColumn23 = new System.Data.DataColumn();
  384. this.dataColumn24 = new System.Data.DataColumn();
  385. this.dataColumn25 = new System.Data.DataColumn();
  386. this.dataColumn26 = new System.Data.DataColumn();
  387. this.dataColumn27 = new System.Data.DataColumn();
  388. this.dataColumn28 = new System.Data.DataColumn();
  389. this.dataColumn29 = new System.Data.DataColumn();
  390. this.dataColumn30 = new System.Data.DataColumn();
  391. this.dataColumn31 = new System.Data.DataColumn();
  392. this.dataColumn32 = new System.Data.DataColumn();
  393. this.dataColumn33 = new System.Data.DataColumn();
  394. this.dataColumn34 = new System.Data.DataColumn();
  395. this.dataColumn35 = new System.Data.DataColumn();
  396. this.dataColumn36 = new System.Data.DataColumn();
  397. this.dataColumn37 = new System.Data.DataColumn();
  398. this.dataColumn38 = new System.Data.DataColumn();
  399. this.dataColumn39 = new System.Data.DataColumn();
  400. this.dataColumn40 = new System.Data.DataColumn();
  401. this.dataColumn41 = new System.Data.DataColumn();
  402. this.dataColumn42 = new System.Data.DataColumn();
  403. this.dataColumn43 = new System.Data.DataColumn();
  404. this.dataColumn44 = new System.Data.DataColumn();
  405. this.dataColumn45 = new System.Data.DataColumn();
  406. this.dataColumn46 = new System.Data.DataColumn();
  407. this.dataColumn47 = new System.Data.DataColumn();
  408. this.dataColumn48 = new System.Data.DataColumn();
  409. this.dataColumn49 = new System.Data.DataColumn();
  410. this.dataColumn51 = new System.Data.DataColumn();
  411. this.dataColumn53 = new System.Data.DataColumn();
  412. this.dataColumn55 = new System.Data.DataColumn();
  413. this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
  414. this.ds_All = new System.Data.DataSet();
  415. this.dataColumn13 = new System.Data.DataColumn();
  416. this.dataColumn17 = new System.Data.DataColumn();
  417. this.uCmb_BuyCode = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
  418. this.dataColumn20 = new System.Data.DataColumn();
  419. this.dataColumn21 = new System.Data.DataColumn();
  420. this.panel1.SuspendLayout();
  421. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
  422. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
  423. this.ultraGroupBox1.SuspendLayout();
  424. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
  425. ((System.ComponentModel.ISupportInitialize)(this.txt_SendList)).BeginInit();
  426. ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
  427. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
  428. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
  429. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
  430. ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
  431. ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).BeginInit();
  432. ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
  433. ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
  434. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
  435. this.ultraGroupBox2.SuspendLayout();
  436. ((System.ComponentModel.ISupportInitialize)(this.txt_DH)).BeginInit();
  437. ((System.ComponentModel.ISupportInitialize)(this.txt_DHDate)).BeginInit();
  438. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
  439. ((System.ComponentModel.ISupportInitialize)(this.cmb_CheckMan)).BeginInit();
  440. ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).BeginInit();
  441. ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
  442. ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
  443. this.panel2.SuspendLayout();
  444. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).BeginInit();
  445. this.ultraGroupBox3.SuspendLayout();
  446. ((System.ComponentModel.ISupportInitialize)(this.gd_Source)).BeginInit();
  447. ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_SOURCE)).BeginInit();
  448. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
  449. this.ultraExpandableGroupBox1.SuspendLayout();
  450. this.ultraExpandableGroupBoxPanel1.SuspendLayout();
  451. ((System.ComponentModel.ISupportInitialize)(this.gd_Receive)).BeginInit();
  452. ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_STORAGELIST)).BeginInit();
  453. ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit();
  454. ((System.ComponentModel.ISupportInitialize)(this.uCmb_BuyCode)).BeginInit();
  455. this.SuspendLayout();
  456. //
  457. // panel1
  458. //
  459. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
  460. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
  461. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
  462. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
  463. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  464. this.panel1.Location = new System.Drawing.Point(0, 0);
  465. this.panel1.Name = "panel1";
  466. this.panel1.Size = new System.Drawing.Size(864, 24);
  467. this.panel1.TabIndex = 0;
  468. //
  469. // _panel1_Toolbars_Dock_Area_Left
  470. //
  471. this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  472. this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  473. this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
  474. this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
  475. this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 25);
  476. this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
  477. this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
  478. this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
  479. //
  480. // ultraToolbarsManager1
  481. //
  482. this.ultraToolbarsManager1.DesignerFlags = 1;
  483. this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
  484. this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
  485. this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
  486. ultraToolbar1.DockedColumn = 0;
  487. ultraToolbar1.DockedRow = 0;
  488. ultraToolbar1.Text = "工具栏";
  489. buttonTool1.InstanceProps.IsFirstInGroup = true;
  490. buttonTool2.InstanceProps.IsFirstInGroup = true;
  491. buttonTool4.InstanceProps.IsFirstInGroup = true;
  492. buttonTool5.InstanceProps.IsFirstInGroup = true;
  493. buttonTool7.InstanceProps.IsFirstInGroup = true;
  494. ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  495. buttonTool1,
  496. buttonTool2,
  497. buttonTool3,
  498. buttonTool4,
  499. buttonTool5,
  500. buttonTool6,
  501. buttonTool7});
  502. this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
  503. ultraToolbar1});
  504. this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
  505. buttonTool8.SharedProps.Caption = "入库信息查询";
  506. buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  507. buttonTool9.SharedProps.Caption = "撤销入库";
  508. buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  509. buttonTool10.SharedProps.Caption = "关闭";
  510. buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  511. buttonTool11.SharedProps.Caption = "来料信息查询";
  512. buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  513. buttonTool12.SharedProps.Caption = "接收入库";
  514. buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  515. buttonTool13.SharedProps.Caption = "导出转运信息";
  516. buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  517. buttonTool14.SharedProps.Caption = "导出入库信息";
  518. buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  519. buttonTool15.SharedProps.Caption = "原料撤消";
  520. buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  521. buttonTool16.SharedProps.Caption = "导入原料";
  522. buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  523. this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  524. buttonTool8,
  525. buttonTool9,
  526. buttonTool10,
  527. buttonTool11,
  528. buttonTool12,
  529. buttonTool13,
  530. buttonTool14,
  531. buttonTool15,
  532. buttonTool16});
  533. this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
  534. //
  535. // _panel1_Toolbars_Dock_Area_Right
  536. //
  537. this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  538. this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  539. this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
  540. this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
  541. this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(864, 25);
  542. this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
  543. this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
  544. this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
  545. //
  546. // _panel1_Toolbars_Dock_Area_Top
  547. //
  548. this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  549. this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  550. this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
  551. this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
  552. this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
  553. this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
  554. this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(864, 25);
  555. this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
  556. //
  557. // _panel1_Toolbars_Dock_Area_Bottom
  558. //
  559. this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  560. this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  561. this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
  562. this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
  563. this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 24);
  564. this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
  565. this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(864, 0);
  566. this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
  567. //
  568. // ultraGroupBox1
  569. //
  570. this.ultraGroupBox1.Controls.Add(this.uCmb_BuyCode);
  571. this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
  572. this.ultraGroupBox1.Controls.Add(this.Chk_Buttress);
  573. this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
  574. this.ultraGroupBox1.Controls.Add(this.txt_SendList);
  575. this.ultraGroupBox1.Controls.Add(this.chk_SendList);
  576. this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
  577. this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
  578. this.ultraGroupBox1.Controls.Add(this.chk_PlanID);
  579. this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
  580. this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
  581. this.ultraGroupBox1.Controls.Add(this.txt_RollNOEnd);
  582. this.ultraGroupBox1.Controls.Add(this.txt_RollNOBegin);
  583. this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
  584. this.ultraGroupBox1.Controls.Add(this.txt_BilletID);
  585. this.ultraGroupBox1.Controls.Add(this.chk_BilletID);
  586. this.ultraGroupBox1.Controls.Add(this.chk_RollNum);
  587. this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
  588. this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
  589. this.ultraGroupBox1.Controls.Add(this.Lab_To);
  590. this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
  591. this.ultraGroupBox1.Controls.Add(this.chk_Time);
  592. this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
  593. this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24);
  594. this.ultraGroupBox1.Name = "ultraGroupBox1";
  595. this.ultraGroupBox1.Size = new System.Drawing.Size(864, 72);
  596. this.ultraGroupBox1.SupportThemes = false;
  597. this.ultraGroupBox1.TabIndex = 1;
  598. //
  599. // cmb_Buress
  600. //
  601. appearance2.BackColor = System.Drawing.Color.LightCyan;
  602. this.cmb_Buress.Appearance = appearance2;
  603. this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  604. this.cmb_Buress.DisplayMember = "";
  605. this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
  606. this.cmb_Buress.Enabled = false;
  607. this.cmb_Buress.FlatMode = true;
  608. this.cmb_Buress.Location = new System.Drawing.Point(592, 40);
  609. this.cmb_Buress.Name = "cmb_Buress";
  610. this.cmb_Buress.Size = new System.Drawing.Size(96, 19);
  611. this.cmb_Buress.TabIndex = 211;
  612. this.cmb_Buress.Tag = "";
  613. this.cmb_Buress.ValueMember = "";
  614. //
  615. // Chk_Buttress
  616. //
  617. this.Chk_Buttress.Location = new System.Drawing.Point(528, 40);
  618. this.Chk_Buttress.Name = "Chk_Buttress";
  619. this.Chk_Buttress.Size = new System.Drawing.Size(63, 16);
  620. this.Chk_Buttress.TabIndex = 210;
  621. this.Chk_Buttress.TabStop = false;
  622. this.Chk_Buttress.Text = "堆位";
  623. this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged);
  624. //
  625. // chk_SelectAll
  626. //
  627. this.chk_SelectAll.FlatMode = true;
  628. this.chk_SelectAll.Location = new System.Drawing.Point(712, 40);
  629. this.chk_SelectAll.Name = "chk_SelectAll";
  630. this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
  631. this.chk_SelectAll.TabIndex = 209;
  632. this.chk_SelectAll.Text = "全选";
  633. this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
  634. //
  635. // txt_SendList
  636. //
  637. appearance3.BackColor = System.Drawing.Color.LightCyan;
  638. this.txt_SendList.Appearance = appearance3;
  639. this.txt_SendList.AutoSize = true;
  640. this.txt_SendList.Enabled = false;
  641. this.txt_SendList.FlatMode = true;
  642. this.txt_SendList.Location = new System.Drawing.Point(416, 39);
  643. this.txt_SendList.Name = "txt_SendList";
  644. this.txt_SendList.Size = new System.Drawing.Size(104, 19);
  645. this.txt_SendList.TabIndex = 172;
  646. this.txt_SendList.TabStop = false;
  647. this.txt_SendList.Tag = "";
  648. //
  649. // chk_SendList
  650. //
  651. this.chk_SendList.Location = new System.Drawing.Point(352, 40);
  652. this.chk_SendList.Name = "chk_SendList";
  653. this.chk_SendList.Size = new System.Drawing.Size(60, 16);
  654. this.chk_SendList.TabIndex = 171;
  655. this.chk_SendList.TabStop = false;
  656. this.chk_SendList.Text = "发运号";
  657. this.chk_SendList.CheckedChanged += new System.EventHandler(this.chk_SendList_CheckedChanged);
  658. //
  659. // txt_RollTop
  660. //
  661. appearance4.BackColor = System.Drawing.Color.LightCyan;
  662. this.txt_RollTop.Appearance = appearance4;
  663. this.txt_RollTop.AutoSize = true;
  664. this.txt_RollTop.Enabled = false;
  665. this.txt_RollTop.FlatMode = true;
  666. this.txt_RollTop.Location = new System.Drawing.Point(592, 16);
  667. this.txt_RollTop.MaxLength = 5;
  668. this.txt_RollTop.Name = "txt_RollTop";
  669. this.txt_RollTop.Size = new System.Drawing.Size(40, 19);
  670. this.txt_RollTop.TabIndex = 170;
  671. this.txt_RollTop.TabStop = false;
  672. //
  673. // txt_PlanID
  674. //
  675. appearance5.BackColor = System.Drawing.Color.LightCyan;
  676. this.txt_PlanID.Appearance = appearance5;
  677. this.txt_PlanID.AutoSize = true;
  678. this.txt_PlanID.Enabled = false;
  679. this.txt_PlanID.FlatMode = true;
  680. this.txt_PlanID.Location = new System.Drawing.Point(240, 40);
  681. this.txt_PlanID.Name = "txt_PlanID";
  682. this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
  683. this.txt_PlanID.TabIndex = 169;
  684. this.txt_PlanID.TabStop = false;
  685. this.txt_PlanID.Tag = "";
  686. //
  687. // chk_PlanID
  688. //
  689. this.chk_PlanID.Location = new System.Drawing.Point(176, 40);
  690. this.chk_PlanID.Name = "chk_PlanID";
  691. this.chk_PlanID.Size = new System.Drawing.Size(60, 16);
  692. this.chk_PlanID.TabIndex = 168;
  693. this.chk_PlanID.TabStop = false;
  694. this.chk_PlanID.Text = "计划号";
  695. this.chk_PlanID.CheckedChanged += new System.EventHandler(this.chk_PlanID_CheckedChanged);
  696. //
  697. // chk_AllowFilter
  698. //
  699. this.chk_AllowFilter.Location = new System.Drawing.Point(768, 37);
  700. this.chk_AllowFilter.Name = "chk_AllowFilter";
  701. this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
  702. this.chk_AllowFilter.TabIndex = 164;
  703. this.chk_AllowFilter.TabStop = false;
  704. this.chk_AllowFilter.Text = "过滤";
  705. this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
  706. //
  707. // ultraLabel5
  708. //
  709. this.ultraLabel5.Location = new System.Drawing.Point(688, 19);
  710. this.ultraLabel5.Name = "ultraLabel5";
  711. this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
  712. this.ultraLabel5.TabIndex = 163;
  713. this.ultraLabel5.Text = "至";
  714. //
  715. // txt_RollNOEnd
  716. //
  717. appearance6.BackColor = System.Drawing.Color.LightCyan;
  718. this.txt_RollNOEnd.Appearance = appearance6;
  719. this.txt_RollNOEnd.AutoSize = true;
  720. this.txt_RollNOEnd.Enabled = false;
  721. this.txt_RollNOEnd.FlatMode = true;
  722. this.txt_RollNOEnd.Location = new System.Drawing.Point(706, 16);
  723. this.txt_RollNOEnd.MaxLength = 5;
  724. this.txt_RollNOEnd.Name = "txt_RollNOEnd";
  725. this.txt_RollNOEnd.Size = new System.Drawing.Size(56, 19);
  726. this.txt_RollNOEnd.TabIndex = 162;
  727. this.txt_RollNOEnd.TabStop = false;
  728. //
  729. // txt_RollNOBegin
  730. //
  731. appearance7.BackColor = System.Drawing.Color.LightCyan;
  732. this.txt_RollNOBegin.Appearance = appearance7;
  733. this.txt_RollNOBegin.AutoSize = true;
  734. this.txt_RollNOBegin.Enabled = false;
  735. this.txt_RollNOBegin.FlatMode = true;
  736. this.txt_RollNOBegin.Location = new System.Drawing.Point(632, 16);
  737. this.txt_RollNOBegin.MaxLength = 5;
  738. this.txt_RollNOBegin.Name = "txt_RollNOBegin";
  739. this.txt_RollNOBegin.Size = new System.Drawing.Size(56, 19);
  740. this.txt_RollNOBegin.TabIndex = 161;
  741. this.txt_RollNOBegin.TabStop = false;
  742. //
  743. // txt_OrderNO
  744. //
  745. appearance8.BackColor = System.Drawing.Color.LightCyan;
  746. this.txt_OrderNO.Appearance = appearance8;
  747. this.txt_OrderNO.AutoSize = true;
  748. this.txt_OrderNO.Enabled = false;
  749. this.txt_OrderNO.FlatMode = true;
  750. this.txt_OrderNO.Location = new System.Drawing.Point(240, 16);
  751. this.txt_OrderNO.Name = "txt_OrderNO";
  752. this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
  753. this.txt_OrderNO.TabIndex = 160;
  754. this.txt_OrderNO.TabStop = false;
  755. this.txt_OrderNO.Tag = "";
  756. //
  757. // txt_BilletID
  758. //
  759. appearance9.BackColor = System.Drawing.Color.LightCyan;
  760. this.txt_BilletID.Appearance = appearance9;
  761. this.txt_BilletID.AutoSize = true;
  762. this.txt_BilletID.Enabled = false;
  763. this.txt_BilletID.FlatMode = true;
  764. this.txt_BilletID.Location = new System.Drawing.Point(416, 16);
  765. this.txt_BilletID.Name = "txt_BilletID";
  766. this.txt_BilletID.Size = new System.Drawing.Size(104, 19);
  767. this.txt_BilletID.TabIndex = 159;
  768. this.txt_BilletID.TabStop = false;
  769. this.txt_BilletID.Tag = "";
  770. //
  771. // chk_BilletID
  772. //
  773. this.chk_BilletID.Location = new System.Drawing.Point(352, 16);
  774. this.chk_BilletID.Name = "chk_BilletID";
  775. this.chk_BilletID.Size = new System.Drawing.Size(48, 16);
  776. this.chk_BilletID.TabIndex = 158;
  777. this.chk_BilletID.TabStop = false;
  778. this.chk_BilletID.Text = "序号";
  779. this.chk_BilletID.CheckedChanged += new System.EventHandler(this.chk_BilletID_CheckedChanged);
  780. //
  781. // chk_RollNum
  782. //
  783. this.chk_RollNum.Location = new System.Drawing.Point(528, 16);
  784. this.chk_RollNum.Name = "chk_RollNum";
  785. this.chk_RollNum.Size = new System.Drawing.Size(63, 16);
  786. this.chk_RollNum.TabIndex = 156;
  787. this.chk_RollNum.TabStop = false;
  788. this.chk_RollNum.Text = "轧批号";
  789. this.chk_RollNum.CheckedChanged += new System.EventHandler(this.chk_RollNum_CheckedChanged);
  790. //
  791. // chk_OrderNO
  792. //
  793. this.chk_OrderNO.Location = new System.Drawing.Point(176, 16);
  794. this.chk_OrderNO.Name = "chk_OrderNO";
  795. this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
  796. this.chk_OrderNO.TabIndex = 155;
  797. this.chk_OrderNO.TabStop = false;
  798. this.chk_OrderNO.Text = "订单号";
  799. this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
  800. //
  801. // dte_EndTime
  802. //
  803. appearance10.BackColor = System.Drawing.Color.LightCyan;
  804. this.dte_EndTime.Appearance = appearance10;
  805. this.dte_EndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
  806. this.dte_EndTime.Enabled = false;
  807. this.dte_EndTime.FlatMode = true;
  808. this.dte_EndTime.Location = new System.Drawing.Point(56, 40);
  809. this.dte_EndTime.MaskInput = "{date} {time}";
  810. this.dte_EndTime.Name = "dte_EndTime";
  811. this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
  812. this.dte_EndTime.TabIndex = 154;
  813. this.dte_EndTime.TabStop = false;
  814. this.dte_EndTime.Tag = "";
  815. this.dte_EndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
  816. //
  817. // Lab_To
  818. //
  819. this.Lab_To.FlatMode = true;
  820. this.Lab_To.Location = new System.Drawing.Point(40, 40);
  821. this.Lab_To.Name = "Lab_To";
  822. this.Lab_To.Size = new System.Drawing.Size(17, 16);
  823. this.Lab_To.TabIndex = 153;
  824. this.Lab_To.Text = "到";
  825. //
  826. // dte_BeginTime
  827. //
  828. appearance11.BackColor = System.Drawing.Color.LightCyan;
  829. this.dte_BeginTime.Appearance = appearance11;
  830. this.dte_BeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
  831. this.dte_BeginTime.Enabled = false;
  832. this.dte_BeginTime.FlatMode = true;
  833. this.dte_BeginTime.Location = new System.Drawing.Point(56, 16);
  834. this.dte_BeginTime.MaskInput = "{date} {time}";
  835. this.dte_BeginTime.Name = "dte_BeginTime";
  836. this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
  837. this.dte_BeginTime.TabIndex = 152;
  838. this.dte_BeginTime.TabStop = false;
  839. this.dte_BeginTime.Tag = "";
  840. this.dte_BeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
  841. //
  842. // chk_Time
  843. //
  844. this.chk_Time.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
  845. this.chk_Time.Location = new System.Drawing.Point(8, 16);
  846. this.chk_Time.Name = "chk_Time";
  847. this.chk_Time.Size = new System.Drawing.Size(46, 16);
  848. this.chk_Time.TabIndex = 151;
  849. this.chk_Time.TabStop = false;
  850. this.chk_Time.Text = "时间";
  851. this.chk_Time.CheckedChanged += new System.EventHandler(this.chk_Time_CheckedChanged);
  852. //
  853. // ultraGroupBox2
  854. //
  855. this.ultraGroupBox2.Controls.Add(this.ultraLabel4);
  856. this.ultraGroupBox2.Controls.Add(this.txt_DH);
  857. this.ultraGroupBox2.Controls.Add(this.txt_DHDate);
  858. this.ultraGroupBox2.Controls.Add(this.cmb_Buttress);
  859. this.ultraGroupBox2.Controls.Add(this.ultraLabel3);
  860. this.ultraGroupBox2.Controls.Add(this.cmb_CheckMan);
  861. this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
  862. this.ultraGroupBox2.Controls.Add(this.cmb_InMan);
  863. this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
  864. this.ultraGroupBox2.Controls.Add(this.cmb_ClassTeam);
  865. this.ultraGroupBox2.Controls.Add(this.ultraLabel10);
  866. this.ultraGroupBox2.Controls.Add(this.cmb_ClassOrder);
  867. this.ultraGroupBox2.Controls.Add(this.ultraLabel14);
  868. this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Right;
  869. this.ultraGroupBox2.Location = new System.Drawing.Point(672, 96);
  870. this.ultraGroupBox2.Name = "ultraGroupBox2";
  871. this.ultraGroupBox2.Size = new System.Drawing.Size(192, 650);
  872. this.ultraGroupBox2.SupportThemes = false;
  873. this.ultraGroupBox2.TabIndex = 2;
  874. this.ultraGroupBox2.Text = "编辑区域";
  875. //
  876. // ultraLabel4
  877. //
  878. this.ultraLabel4.Location = new System.Drawing.Point(16, 145);
  879. this.ultraLabel4.Name = "ultraLabel4";
  880. this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
  881. this.ultraLabel4.TabIndex = 584;
  882. this.ultraLabel4.Text = "板块吊号";
  883. //
  884. // txt_DH
  885. //
  886. appearance12.BackColor = System.Drawing.Color.LightCyan;
  887. this.txt_DH.Appearance = appearance12;
  888. this.txt_DH.AutoSize = true;
  889. this.txt_DH.FlatMode = true;
  890. this.txt_DH.Location = new System.Drawing.Point(120, 142);
  891. this.txt_DH.MaxLength = 3;
  892. this.txt_DH.Name = "txt_DH";
  893. this.txt_DH.Size = new System.Drawing.Size(56, 19);
  894. this.txt_DH.TabIndex = 6;
  895. this.txt_DH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
  896. //
  897. // txt_DHDate
  898. //
  899. appearance13.BackColor = System.Drawing.Color.LightCyan;
  900. this.txt_DHDate.Appearance = appearance13;
  901. this.txt_DHDate.AutoSize = true;
  902. this.txt_DHDate.FlatMode = true;
  903. this.txt_DHDate.Location = new System.Drawing.Point(72, 142);
  904. this.txt_DHDate.Name = "txt_DHDate";
  905. this.txt_DHDate.Size = new System.Drawing.Size(48, 19);
  906. this.txt_DHDate.TabIndex = 5;
  907. this.txt_DHDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
  908. //
  909. // cmb_Buttress
  910. //
  911. appearance14.BackColor = System.Drawing.Color.LightCyan;
  912. this.cmb_Buttress.Appearance = appearance14;
  913. this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  914. this.cmb_Buttress.DisplayMember = "";
  915. this.cmb_Buttress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
  916. this.cmb_Buttress.FlatMode = true;
  917. this.cmb_Buttress.Location = new System.Drawing.Point(72, 169);
  918. this.cmb_Buttress.Name = "cmb_Buttress";
  919. this.cmb_Buttress.Size = new System.Drawing.Size(104, 19);
  920. this.cmb_Buttress.TabIndex = 7;
  921. this.cmb_Buttress.Tag = "";
  922. this.cmb_Buttress.ValueMember = "";
  923. //
  924. // ultraLabel3
  925. //
  926. this.ultraLabel3.Location = new System.Drawing.Point(16, 171);
  927. this.ultraLabel3.Name = "ultraLabel3";
  928. this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
  929. this.ultraLabel3.TabIndex = 581;
  930. this.ultraLabel3.Text = "入库堆位";
  931. //
  932. // cmb_CheckMan
  933. //
  934. appearance15.BackColor = System.Drawing.Color.LightCyan;
  935. this.cmb_CheckMan.Appearance = appearance15;
  936. this.cmb_CheckMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  937. this.cmb_CheckMan.DisplayMember = "";
  938. this.cmb_CheckMan.FlatMode = true;
  939. this.cmb_CheckMan.Location = new System.Drawing.Point(72, 30);
  940. this.cmb_CheckMan.Name = "cmb_CheckMan";
  941. this.cmb_CheckMan.Size = new System.Drawing.Size(104, 19);
  942. this.cmb_CheckMan.TabIndex = 1;
  943. this.cmb_CheckMan.Tag = "";
  944. this.cmb_CheckMan.ValueMember = "";
  945. this.cmb_CheckMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
  946. //
  947. // ultraLabel2
  948. //
  949. this.ultraLabel2.Location = new System.Drawing.Point(16, 32);
  950. this.ultraLabel2.Name = "ultraLabel2";
  951. this.ultraLabel2.Size = new System.Drawing.Size(42, 16);
  952. this.ultraLabel2.TabIndex = 579;
  953. this.ultraLabel2.Text = "验收人";
  954. //
  955. // cmb_InMan
  956. //
  957. appearance16.BackColor = System.Drawing.Color.LightCyan;
  958. this.cmb_InMan.Appearance = appearance16;
  959. this.cmb_InMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  960. this.cmb_InMan.DisplayMember = "";
  961. this.cmb_InMan.FlatMode = true;
  962. this.cmb_InMan.Location = new System.Drawing.Point(72, 58);
  963. this.cmb_InMan.Name = "cmb_InMan";
  964. this.cmb_InMan.Size = new System.Drawing.Size(104, 19);
  965. this.cmb_InMan.TabIndex = 2;
  966. this.cmb_InMan.Tag = "";
  967. this.cmb_InMan.ValueMember = "";
  968. this.cmb_InMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
  969. //
  970. // ultraLabel1
  971. //
  972. this.ultraLabel1.Location = new System.Drawing.Point(16, 60);
  973. this.ultraLabel1.Name = "ultraLabel1";
  974. this.ultraLabel1.Size = new System.Drawing.Size(42, 16);
  975. this.ultraLabel1.TabIndex = 577;
  976. this.ultraLabel1.Text = "入库人";
  977. //
  978. // cmb_ClassTeam
  979. //
  980. appearance17.BackColor = System.Drawing.Color.LightCyan;
  981. this.cmb_ClassTeam.Appearance = appearance17;
  982. this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  983. this.cmb_ClassTeam.DisplayMember = "";
  984. this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
  985. this.cmb_ClassTeam.FlatMode = true;
  986. this.cmb_ClassTeam.Location = new System.Drawing.Point(72, 114);
  987. this.cmb_ClassTeam.Name = "cmb_ClassTeam";
  988. this.cmb_ClassTeam.Size = new System.Drawing.Size(104, 19);
  989. this.cmb_ClassTeam.TabIndex = 4;
  990. this.cmb_ClassTeam.Tag = "";
  991. this.cmb_ClassTeam.ValueMember = "";
  992. this.cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
  993. //
  994. // ultraLabel10
  995. //
  996. this.ultraLabel10.Location = new System.Drawing.Point(16, 116);
  997. this.ultraLabel10.Name = "ultraLabel10";
  998. this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
  999. this.ultraLabel10.TabIndex = 575;
  1000. this.ultraLabel10.Text = "入库班组";
  1001. //
  1002. // cmb_ClassOrder
  1003. //
  1004. appearance18.BackColor = System.Drawing.Color.LightCyan;
  1005. this.cmb_ClassOrder.Appearance = appearance18;
  1006. this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  1007. this.cmb_ClassOrder.DisplayMember = "";
  1008. this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
  1009. this.cmb_ClassOrder.FlatMode = true;
  1010. this.cmb_ClassOrder.Location = new System.Drawing.Point(72, 86);
  1011. this.cmb_ClassOrder.Name = "cmb_ClassOrder";
  1012. this.cmb_ClassOrder.Size = new System.Drawing.Size(104, 19);
  1013. this.cmb_ClassOrder.TabIndex = 3;
  1014. this.cmb_ClassOrder.Tag = "";
  1015. this.cmb_ClassOrder.ValueMember = "";
  1016. this.cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
  1017. //
  1018. // ultraLabel14
  1019. //
  1020. this.ultraLabel14.Location = new System.Drawing.Point(16, 88);
  1021. this.ultraLabel14.Name = "ultraLabel14";
  1022. this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
  1023. this.ultraLabel14.TabIndex = 574;
  1024. this.ultraLabel14.Text = "入库班次";
  1025. //
  1026. // panel2
  1027. //
  1028. this.panel2.Controls.Add(this.ultraGroupBox3);
  1029. this.panel2.Controls.Add(this.ultraExpandableGroupBox1);
  1030. this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
  1031. this.panel2.Location = new System.Drawing.Point(0, 96);
  1032. this.panel2.Name = "panel2";
  1033. this.panel2.Size = new System.Drawing.Size(672, 650);
  1034. this.panel2.TabIndex = 3;
  1035. //
  1036. // ultraGroupBox3
  1037. //
  1038. this.ultraGroupBox3.Controls.Add(this.gd_Source);
  1039. this.ultraGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
  1040. this.ultraGroupBox3.Location = new System.Drawing.Point(0, 0);
  1041. this.ultraGroupBox3.Name = "ultraGroupBox3";
  1042. this.ultraGroupBox3.Size = new System.Drawing.Size(672, 346);
  1043. this.ultraGroupBox3.SupportThemes = false;
  1044. this.ultraGroupBox3.TabIndex = 1;
  1045. this.ultraGroupBox3.Text = "来料信息";
  1046. //
  1047. // gd_Source
  1048. //
  1049. this.gd_Source.DataSource = this.DT_KCJ_SOURCE;
  1050. appearance19.BackColor = System.Drawing.Color.Ivory;
  1051. this.gd_Source.DisplayLayout.Appearance = appearance19;
  1052. ultraGridColumn1.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1053. appearance20.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1054. ultraGridColumn1.CellAppearance = appearance20;
  1055. ultraGridColumn1.Header.Caption = "序号";
  1056. ultraGridColumn1.Header.VisiblePosition = 0;
  1057. ultraGridColumn1.RowLayoutColumnInfo.OriginX = 5;
  1058. ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
  1059. ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(98, 26);
  1060. ultraGridColumn1.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1061. ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
  1062. ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
  1063. ultraGridColumn2.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1064. ultraGridColumn2.Header.Caption = "产线";
  1065. ultraGridColumn2.Header.VisiblePosition = 1;
  1066. ultraGridColumn2.RowLayoutColumnInfo.OriginX = 3;
  1067. ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
  1068. ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 26);
  1069. ultraGridColumn2.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1070. ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
  1071. ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
  1072. ultraGridColumn3.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1073. ultraGridColumn3.Header.Caption = "轧编号";
  1074. ultraGridColumn3.Header.VisiblePosition = 2;
  1075. ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4;
  1076. ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
  1077. ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 26);
  1078. ultraGridColumn3.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1079. ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
  1080. ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
  1081. ultraGridColumn4.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1082. appearance21.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1083. ultraGridColumn4.CellAppearance = appearance21;
  1084. ultraGridColumn4.Header.Caption = "炉号";
  1085. ultraGridColumn4.Header.VisiblePosition = 3;
  1086. ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6;
  1087. ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
  1088. ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 26);
  1089. ultraGridColumn4.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1090. ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
  1091. ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
  1092. ultraGridColumn5.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1093. appearance22.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1094. ultraGridColumn5.CellAppearance = appearance22;
  1095. ultraGridColumn5.Header.Caption = "计划号";
  1096. ultraGridColumn5.Header.VisiblePosition = 4;
  1097. ultraGridColumn5.RowLayoutColumnInfo.OriginX = 9;
  1098. ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
  1099. ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 26);
  1100. ultraGridColumn5.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1101. ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
  1102. ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
  1103. ultraGridColumn6.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1104. ultraGridColumn6.Header.Caption = "订单号";
  1105. ultraGridColumn6.Header.VisiblePosition = 5;
  1106. ultraGridColumn6.RowLayoutColumnInfo.OriginX = 11;
  1107. ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
  1108. ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(107, 26);
  1109. ultraGridColumn6.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1110. ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
  1111. ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
  1112. ultraGridColumn7.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1113. appearance23.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1114. ultraGridColumn7.CellAppearance = appearance23;
  1115. ultraGridColumn7.Header.Caption = "厚度";
  1116. ultraGridColumn7.Header.VisiblePosition = 6;
  1117. ultraGridColumn7.RowLayoutColumnInfo.OriginX = 12;
  1118. ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
  1119. ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 26);
  1120. ultraGridColumn7.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1121. ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
  1122. ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
  1123. ultraGridColumn8.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1124. ultraGridColumn8.Header.Caption = "宽度";
  1125. ultraGridColumn8.Header.VisiblePosition = 7;
  1126. ultraGridColumn8.RowLayoutColumnInfo.OriginX = 13;
  1127. ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
  1128. ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 26);
  1129. ultraGridColumn8.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1130. ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
  1131. ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
  1132. ultraGridColumn9.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1133. appearance24.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1134. ultraGridColumn9.CellAppearance = appearance24;
  1135. ultraGridColumn9.Header.Caption = "长度";
  1136. ultraGridColumn9.Header.VisiblePosition = 8;
  1137. ultraGridColumn9.RowLayoutColumnInfo.OriginX = 14;
  1138. ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
  1139. ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 26);
  1140. ultraGridColumn9.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1141. ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
  1142. ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
  1143. ultraGridColumn10.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1144. ultraGridColumn10.Header.Caption = "重量";
  1145. ultraGridColumn10.Header.VisiblePosition = 9;
  1146. ultraGridColumn10.RowLayoutColumnInfo.OriginX = 15;
  1147. ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
  1148. ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(0, 26);
  1149. ultraGridColumn10.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1150. ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
  1151. ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
  1152. ultraGridColumn11.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1153. appearance25.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1154. ultraGridColumn11.CellAppearance = appearance25;
  1155. ultraGridColumn11.Header.Caption = "表面质量";
  1156. ultraGridColumn11.Header.VisiblePosition = 10;
  1157. ultraGridColumn11.Hidden = true;
  1158. ultraGridColumn11.RowLayoutColumnInfo.OriginX = 17;
  1159. ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
  1160. ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 26);
  1161. ultraGridColumn11.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1162. ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
  1163. ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
  1164. ultraGridColumn12.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1165. ultraGridColumn12.Header.Caption = "牌号";
  1166. ultraGridColumn12.Header.VisiblePosition = 11;
  1167. ultraGridColumn12.RowLayoutColumnInfo.OriginX = 7;
  1168. ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
  1169. ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 26);
  1170. ultraGridColumn12.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1171. ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
  1172. ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
  1173. ultraGridColumn13.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1174. ultraGridColumn13.Header.Caption = "判定结果";
  1175. ultraGridColumn13.Header.VisiblePosition = 12;
  1176. ultraGridColumn13.RowLayoutColumnInfo.OriginX = 16;
  1177. ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
  1178. ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 26);
  1179. ultraGridColumn13.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1180. ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
  1181. ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
  1182. ultraGridColumn14.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
  1183. ultraGridColumn14.Header.Caption = "明细号";
  1184. ultraGridColumn14.Header.VisiblePosition = 13;
  1185. ultraGridColumn14.RowLayoutColumnInfo.OriginX = 2;
  1186. ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
  1187. ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 26);
  1188. ultraGridColumn14.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1189. ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
  1190. ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
  1191. ultraGridColumn15.Header.Caption = "";
  1192. ultraGridColumn15.Header.VisiblePosition = 14;
  1193. ultraGridColumn15.RowLayoutColumnInfo.OriginX = 0;
  1194. ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
  1195. ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 26);
  1196. ultraGridColumn15.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
  1197. ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
  1198. ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
  1199. ultraGridColumn15.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
  1200. ultraGridColumn16.Header.Caption = "发运时间";
  1201. ultraGridColumn16.Header.VisiblePosition = 15;
  1202. ultraGridColumn16.RowLayoutColumnInfo.OriginX = 17;
  1203. ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
  1204. ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
  1205. ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
  1206. ultraGridColumn17.Header.Caption = "认证机构";
  1207. ultraGridColumn17.Header.VisiblePosition = 16;
  1208. ultraGridColumn17.Hidden = true;
  1209. ultraGridColumn17.RowLayoutColumnInfo.OriginX = 16;
  1210. ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
  1211. ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
  1212. ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
  1213. ultraGridColumn18.Header.Caption = "客户订单号";
  1214. ultraGridColumn18.Header.VisiblePosition = 17;
  1215. ultraGridColumn18.Hidden = true;
  1216. ultraGridColumn18.RowLayoutColumnInfo.OriginX = 10;
  1217. ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
  1218. ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
  1219. ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
  1220. ultraGridColumn19.Header.Caption = "发运指示号";
  1221. ultraGridColumn19.Header.VisiblePosition = 18;
  1222. ultraGridColumn19.RowLayoutColumnInfo.OriginX = 1;
  1223. ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
  1224. ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
  1225. ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
  1226. ultraGridColumn20.EditorControl = this.uCmb_BuyCode;
  1227. ultraGridColumn20.Header.Caption = "客户名称";
  1228. ultraGridColumn20.Header.VisiblePosition = 19;
  1229. ultraGridColumn20.RowLayoutColumnInfo.OriginX = 8;
  1230. ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
  1231. ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
  1232. ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
  1233. ultraGridColumn21.Header.Caption = "合同号";
  1234. ultraGridColumn21.Header.VisiblePosition = 20;
  1235. ultraGridColumn21.RowLayoutColumnInfo.OriginX = 10;
  1236. ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
  1237. ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
  1238. ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
  1239. ultraGridBand1.Columns.AddRange(new object[] {
  1240. ultraGridColumn1,
  1241. ultraGridColumn2,
  1242. ultraGridColumn3,
  1243. ultraGridColumn4,
  1244. ultraGridColumn5,
  1245. ultraGridColumn6,
  1246. ultraGridColumn7,
  1247. ultraGridColumn8,
  1248. ultraGridColumn9,
  1249. ultraGridColumn10,
  1250. ultraGridColumn11,
  1251. ultraGridColumn12,
  1252. ultraGridColumn13,
  1253. ultraGridColumn14,
  1254. ultraGridColumn15,
  1255. ultraGridColumn16,
  1256. ultraGridColumn17,
  1257. ultraGridColumn18,
  1258. ultraGridColumn19,
  1259. ultraGridColumn20,
  1260. ultraGridColumn21});
  1261. appearance26.BackColor = System.Drawing.Color.LightSteelBlue;
  1262. ultraGridBand1.Header.Appearance = appearance26;
  1263. ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  1264. appearance27.TextHAlign = Infragistics.Win.HAlign.Right;
  1265. appearance27.TextVAlign = Infragistics.Win.VAlign.Middle;
  1266. summarySettings1.Appearance = appearance27;
  1267. summarySettings1.DisplayFormat = "{0}";
  1268. summarySettings1.GroupBySummaryValueAppearance = appearance28;
  1269. summarySettings1.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
  1270. appearance29.TextHAlign = Infragistics.Win.HAlign.Right;
  1271. appearance29.TextVAlign = Infragistics.Win.VAlign.Middle;
  1272. summarySettings2.Appearance = appearance29;
  1273. summarySettings2.DisplayFormat = "{0:.###}";
  1274. summarySettings2.GroupBySummaryValueAppearance = appearance30;
  1275. summarySettings2.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
  1276. ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
  1277. summarySettings1,
  1278. summarySettings2});
  1279. ultraGridBand1.UseRowLayout = true;
  1280. this.gd_Source.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
  1281. this.gd_Source.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  1282. appearance31.BackColor = System.Drawing.SystemColors.ActiveBorder;
  1283. appearance31.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1284. appearance31.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  1285. appearance31.BorderColor = System.Drawing.SystemColors.Window;
  1286. this.gd_Source.DisplayLayout.GroupByBox.Appearance = appearance31;
  1287. appearance32.ForeColor = System.Drawing.SystemColors.GrayText;
  1288. this.gd_Source.DisplayLayout.GroupByBox.BandLabelAppearance = appearance32;
  1289. this.gd_Source.DisplayLayout.GroupByBox.Hidden = true;
  1290. this.gd_Source.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
  1291. appearance33.BackColor = System.Drawing.SystemColors.Window;
  1292. appearance33.ForeColor = System.Drawing.SystemColors.ControlText;
  1293. this.gd_Source.DisplayLayout.Override.ActiveCellAppearance = appearance33;
  1294. appearance34.BackColor = System.Drawing.SystemColors.Highlight;
  1295. appearance34.ForeColor = System.Drawing.SystemColors.HighlightText;
  1296. this.gd_Source.DisplayLayout.Override.ActiveRowAppearance = appearance34;
  1297. appearance35.BorderColor = System.Drawing.Color.Black;
  1298. appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
  1299. this.gd_Source.DisplayLayout.Override.CellAppearance = appearance35;
  1300. this.gd_Source.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  1301. this.gd_Source.DisplayLayout.Override.CellPadding = 0;
  1302. appearance36.BackColor = System.Drawing.SystemColors.Control;
  1303. appearance36.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1304. appearance36.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  1305. appearance36.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  1306. appearance36.BorderColor = System.Drawing.SystemColors.Window;
  1307. appearance36.TextHAlign = Infragistics.Win.HAlign.Left;
  1308. appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
  1309. this.gd_Source.DisplayLayout.Override.GroupByRowAppearance = appearance36;
  1310. this.gd_Source.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
  1311. appearance37.BackColor = System.Drawing.Color.LightSteelBlue;
  1312. this.gd_Source.DisplayLayout.Override.HeaderAppearance = appearance37;
  1313. this.gd_Source.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
  1314. appearance38.BackColor = System.Drawing.SystemColors.Window;
  1315. appearance38.BorderColor = System.Drawing.Color.Black;
  1316. appearance38.TextVAlign = Infragistics.Win.VAlign.Middle;
  1317. this.gd_Source.DisplayLayout.Override.RowAppearance = appearance38;
  1318. appearance39.BackColor = System.Drawing.SystemColors.Window;
  1319. appearance39.BorderColor = System.Drawing.Color.Black;
  1320. appearance39.TextVAlign = Infragistics.Win.VAlign.Middle;
  1321. this.gd_Source.DisplayLayout.Override.RowPreviewAppearance = appearance39;
  1322. this.gd_Source.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
  1323. this.gd_Source.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
  1324. this.gd_Source.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  1325. appearance40.TextHAlign = Infragistics.Win.HAlign.Left;
  1326. appearance40.TextVAlign = Infragistics.Win.VAlign.Middle;
  1327. this.gd_Source.DisplayLayout.Override.SelectedRowAppearance = appearance40;
  1328. this.gd_Source.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
  1329. appearance41.BackColor = System.Drawing.SystemColors.Window;
  1330. this.gd_Source.DisplayLayout.Override.SummaryFooterAppearance = appearance41;
  1331. appearance42.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
  1332. appearance42.ForeColor = System.Drawing.Color.Red;
  1333. this.gd_Source.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance42;
  1334. this.gd_Source.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  1335. appearance43.BackColor = System.Drawing.Color.MistyRose;
  1336. appearance43.ForeColor = System.Drawing.Color.Blue;
  1337. appearance43.TextHAlign = Infragistics.Win.HAlign.Right;
  1338. appearance43.TextVAlign = Infragistics.Win.VAlign.Middle;
  1339. this.gd_Source.DisplayLayout.Override.SummaryValueAppearance = appearance43;
  1340. appearance44.BackColor = System.Drawing.SystemColors.ControlLight;
  1341. this.gd_Source.DisplayLayout.Override.TemplateAddRowAppearance = appearance44;
  1342. this.gd_Source.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  1343. this.gd_Source.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  1344. this.gd_Source.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  1345. this.gd_Source.Dock = System.Windows.Forms.DockStyle.Fill;
  1346. this.gd_Source.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  1347. this.gd_Source.Location = new System.Drawing.Point(3, 18);
  1348. this.gd_Source.Name = "gd_Source";
  1349. this.gd_Source.Size = new System.Drawing.Size(666, 325);
  1350. this.gd_Source.TabIndex = 0;
  1351. this.gd_Source.TabStop = false;
  1352. this.gd_Source.Text = "中厚板厂转运板加信息";
  1353. this.gd_Source.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gd_Source_CellChange);
  1354. //
  1355. // DT_KCJ_SOURCE
  1356. //
  1357. this.DT_KCJ_SOURCE.Columns.AddRange(new System.Data.DataColumn[] {
  1358. this.dataColumn1,
  1359. this.dataColumn2,
  1360. this.dataColumn3,
  1361. this.dataColumn5,
  1362. this.dataColumn6,
  1363. this.dataColumn7,
  1364. this.dataColumn8,
  1365. this.dataColumn9,
  1366. this.dataColumn10,
  1367. this.dataColumn11,
  1368. this.dataColumn12,
  1369. this.dataColumn22,
  1370. this.dataColumn14,
  1371. this.dataColumn15,
  1372. this.dataColumn16,
  1373. this.dataColumn18,
  1374. this.dataColumn50,
  1375. this.dataColumn52,
  1376. this.dataColumn4,
  1377. this.dataColumn13,
  1378. this.dataColumn17});
  1379. this.DT_KCJ_SOURCE.TableName = "KCJ_SOURCE";
  1380. //
  1381. // dataColumn1
  1382. //
  1383. this.dataColumn1.ColumnName = "BILLETID";
  1384. //
  1385. // dataColumn2
  1386. //
  1387. this.dataColumn2.ColumnName = "PRODUCTLINE";
  1388. //
  1389. // dataColumn3
  1390. //
  1391. this.dataColumn3.ColumnName = "ROLLNUMBER";
  1392. //
  1393. // dataColumn5
  1394. //
  1395. this.dataColumn5.ColumnName = "STOVENO";
  1396. //
  1397. // dataColumn6
  1398. //
  1399. this.dataColumn6.ColumnName = "PLANNO";
  1400. //
  1401. // dataColumn7
  1402. //
  1403. this.dataColumn7.ColumnName = "ORDERNO";
  1404. //
  1405. // dataColumn8
  1406. //
  1407. this.dataColumn8.ColumnName = "PLY";
  1408. this.dataColumn8.DataType = typeof(decimal);
  1409. //
  1410. // dataColumn9
  1411. //
  1412. this.dataColumn9.ColumnName = "WIDTH";
  1413. this.dataColumn9.DataType = typeof(decimal);
  1414. //
  1415. // dataColumn10
  1416. //
  1417. this.dataColumn10.ColumnName = "LENGTH";
  1418. this.dataColumn10.DataType = typeof(decimal);
  1419. //
  1420. // dataColumn11
  1421. //
  1422. this.dataColumn11.ColumnName = "THEORYWEIGHT";
  1423. this.dataColumn11.DataType = typeof(decimal);
  1424. //
  1425. // dataColumn12
  1426. //
  1427. this.dataColumn12.ColumnName = "FACEQUALITY";
  1428. //
  1429. // dataColumn22
  1430. //
  1431. this.dataColumn22.ColumnName = "DETERMINANTCARDNUMBER";
  1432. //
  1433. // dataColumn14
  1434. //
  1435. this.dataColumn14.ColumnName = "DETERMINANTRESULT";
  1436. //
  1437. // dataColumn15
  1438. //
  1439. this.dataColumn15.ColumnName = "SOURCEID";
  1440. //
  1441. // dataColumn16
  1442. //
  1443. this.dataColumn16.ColumnName = "FLAG";
  1444. //
  1445. // dataColumn18
  1446. //
  1447. this.dataColumn18.ColumnName = "SENDTIME";
  1448. //
  1449. // dataColumn50
  1450. //
  1451. this.dataColumn50.ColumnName = "ATTESTATIONORGAN";
  1452. //
  1453. // dataColumn52
  1454. //
  1455. this.dataColumn52.ColumnName = "ORDERBUYER";
  1456. //
  1457. // dataColumn4
  1458. //
  1459. this.dataColumn4.ColumnName = "PLANVEHICLEID";
  1460. //
  1461. // ultraExpandableGroupBox1
  1462. //
  1463. this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
  1464. this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
  1465. this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(672, 304);
  1466. this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 346);
  1467. this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
  1468. this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(672, 304);
  1469. this.ultraExpandableGroupBox1.SupportThemes = false;
  1470. this.ultraExpandableGroupBox1.TabIndex = 0;
  1471. this.ultraExpandableGroupBox1.Text = "原料接收入库信息";
  1472. //
  1473. // ultraExpandableGroupBoxPanel1
  1474. //
  1475. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.gd_Receive);
  1476. this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  1477. this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
  1478. this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
  1479. this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(666, 282);
  1480. this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
  1481. //
  1482. // gd_Receive
  1483. //
  1484. this.gd_Receive.DataSource = this.DT_KCJ_STORAGELIST;
  1485. appearance45.BackColor = System.Drawing.Color.Ivory;
  1486. this.gd_Receive.DisplayLayout.Appearance = appearance45;
  1487. appearance46.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1488. ultraGridColumn22.CellAppearance = appearance46;
  1489. ultraGridColumn22.Header.Caption = "序号";
  1490. ultraGridColumn22.Header.VisiblePosition = 0;
  1491. ultraGridColumn22.RowLayoutColumnInfo.OriginX = 2;
  1492. ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
  1493. ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 23);
  1494. ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
  1495. ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
  1496. appearance47.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1497. ultraGridColumn23.CellAppearance = appearance47;
  1498. ultraGridColumn23.Header.Caption = "产线";
  1499. ultraGridColumn23.Header.VisiblePosition = 2;
  1500. ultraGridColumn23.RowLayoutColumnInfo.OriginX = 4;
  1501. ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
  1502. ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 23);
  1503. ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
  1504. ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
  1505. ultraGridColumn24.Header.Caption = "轧编号";
  1506. ultraGridColumn24.Header.VisiblePosition = 3;
  1507. ultraGridColumn24.RowLayoutColumnInfo.OriginX = 5;
  1508. ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
  1509. ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 23);
  1510. ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
  1511. ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
  1512. ultraGridColumn25.Header.Caption = "母板号";
  1513. ultraGridColumn25.Header.VisiblePosition = 4;
  1514. ultraGridColumn25.Hidden = true;
  1515. ultraGridColumn25.RowLayoutColumnInfo.OriginX = 9;
  1516. ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
  1517. ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(0, 23);
  1518. ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
  1519. ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
  1520. appearance48.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1521. appearance48.TextHAlign = Infragistics.Win.HAlign.Center;
  1522. appearance48.TextVAlign = Infragistics.Win.VAlign.Middle;
  1523. ultraGridColumn26.CellAppearance = appearance48;
  1524. ultraGridColumn26.Header.Caption = "炉号";
  1525. ultraGridColumn26.Header.VisiblePosition = 1;
  1526. ultraGridColumn26.RowLayoutColumnInfo.OriginX = 6;
  1527. ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
  1528. ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 20);
  1529. ultraGridColumn26.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
  1530. ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
  1531. ultraGridColumn26.RowLayoutColumnInfo.SpanY = 2;
  1532. ultraGridColumn27.Header.Caption = "计划号";
  1533. ultraGridColumn27.Header.VisiblePosition = 6;
  1534. ultraGridColumn27.RowLayoutColumnInfo.OriginX = 7;
  1535. ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
  1536. ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 23);
  1537. ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
  1538. ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
  1539. appearance49.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1540. ultraGridColumn28.CellAppearance = appearance49;
  1541. ultraGridColumn28.Header.Caption = "订单号";
  1542. ultraGridColumn28.Header.VisiblePosition = 7;
  1543. ultraGridColumn28.RowLayoutColumnInfo.OriginX = 10;
  1544. ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
  1545. ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 23);
  1546. ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
  1547. ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
  1548. appearance50.TextHAlign = Infragistics.Win.HAlign.Center;
  1549. appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
  1550. ultraGridColumn29.CellAppearance = appearance50;
  1551. ultraGridColumn29.Header.Caption = "厚度";
  1552. ultraGridColumn29.Header.VisiblePosition = 5;
  1553. ultraGridColumn29.RowLayoutColumnInfo.OriginX = 11;
  1554. ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
  1555. ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(62, 23);
  1556. ultraGridColumn29.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
  1557. ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
  1558. ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
  1559. appearance51.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1560. ultraGridColumn30.CellAppearance = appearance51;
  1561. ultraGridColumn30.Header.Caption = "宽度";
  1562. ultraGridColumn30.Header.VisiblePosition = 9;
  1563. ultraGridColumn30.RowLayoutColumnInfo.OriginX = 12;
  1564. ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
  1565. ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 23);
  1566. ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
  1567. ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
  1568. ultraGridColumn31.Header.Caption = "长度";
  1569. ultraGridColumn31.Header.VisiblePosition = 10;
  1570. ultraGridColumn31.RowLayoutColumnInfo.OriginX = 13;
  1571. ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
  1572. ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 23);
  1573. ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
  1574. ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
  1575. appearance52.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1576. appearance52.TextHAlign = Infragistics.Win.HAlign.Center;
  1577. appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
  1578. ultraGridColumn32.CellAppearance = appearance52;
  1579. ultraGridColumn32.Header.Caption = "重量";
  1580. ultraGridColumn32.Header.VisiblePosition = 8;
  1581. ultraGridColumn32.RowLayoutColumnInfo.OriginX = 14;
  1582. ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
  1583. ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 23);
  1584. ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
  1585. ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
  1586. ultraGridColumn33.Header.Caption = "表面质量";
  1587. ultraGridColumn33.Header.VisiblePosition = 12;
  1588. ultraGridColumn33.RowLayoutColumnInfo.OriginX = 16;
  1589. ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
  1590. ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 23);
  1591. ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
  1592. ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
  1593. appearance53.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1594. appearance53.TextHAlign = Infragistics.Win.HAlign.Center;
  1595. appearance53.TextVAlign = Infragistics.Win.VAlign.Middle;
  1596. ultraGridColumn34.CellAppearance = appearance53;
  1597. ultraGridColumn34.Header.Caption = "缺陷类型";
  1598. ultraGridColumn34.Header.VisiblePosition = 13;
  1599. ultraGridColumn34.Hidden = true;
  1600. ultraGridColumn34.RowLayoutColumnInfo.OriginX = 21;
  1601. ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
  1602. ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 23);
  1603. ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
  1604. ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
  1605. ultraGridColumn35.Header.Caption = "牌号";
  1606. ultraGridColumn35.Header.VisiblePosition = 15;
  1607. ultraGridColumn35.RowLayoutColumnInfo.OriginX = 3;
  1608. ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
  1609. ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 23);
  1610. ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
  1611. ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
  1612. ultraGridColumn36.Header.Caption = "切边类型";
  1613. ultraGridColumn36.Header.VisiblePosition = 16;
  1614. ultraGridColumn36.Hidden = true;
  1615. ultraGridColumn36.RowLayoutColumnInfo.OriginX = 18;
  1616. ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
  1617. ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 23);
  1618. ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
  1619. ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
  1620. appearance54.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1621. appearance54.TextHAlign = Infragistics.Win.HAlign.Center;
  1622. appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
  1623. ultraGridColumn37.CellAppearance = appearance54;
  1624. ultraGridColumn37.Header.Caption = "判定结果";
  1625. ultraGridColumn37.Header.VisiblePosition = 11;
  1626. ultraGridColumn37.RowLayoutColumnInfo.OriginX = 15;
  1627. ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
  1628. ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 23);
  1629. ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
  1630. ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
  1631. ultraGridColumn38.Header.Caption = "来料明细号";
  1632. ultraGridColumn38.Header.VisiblePosition = 17;
  1633. ultraGridColumn38.RowLayoutColumnInfo.OriginX = 17;
  1634. ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
  1635. ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(91, 23);
  1636. ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
  1637. ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
  1638. appearance55.TextHAlign = Infragistics.Win.HAlign.Center;
  1639. appearance55.TextVAlign = Infragistics.Win.VAlign.Middle;
  1640. ultraGridColumn39.CellAppearance = appearance55;
  1641. ultraGridColumn39.Header.Caption = "入库时间";
  1642. ultraGridColumn39.Header.VisiblePosition = 14;
  1643. ultraGridColumn39.RowLayoutColumnInfo.OriginX = 0;
  1644. ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
  1645. ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 23);
  1646. ultraGridColumn39.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
  1647. ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
  1648. ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
  1649. appearance56.BackColor = System.Drawing.Color.LightGoldenrodYellow;
  1650. ultraGridColumn40.CellAppearance = appearance56;
  1651. ultraGridColumn40.Header.Caption = "吊号";
  1652. ultraGridColumn40.Header.VisiblePosition = 18;
  1653. ultraGridColumn40.RowLayoutColumnInfo.OriginX = 18;
  1654. ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
  1655. ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
  1656. ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
  1657. ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
  1658. ultraGridColumn41.Header.Caption = "验收人";
  1659. ultraGridColumn41.Header.VisiblePosition = 19;
  1660. ultraGridColumn41.RowLayoutColumnInfo.OriginX = 19;
  1661. ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
  1662. ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 0);
  1663. ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
  1664. ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
  1665. ultraGridColumn42.Header.Caption = "入库人";
  1666. ultraGridColumn42.Header.VisiblePosition = 20;
  1667. ultraGridColumn42.RowLayoutColumnInfo.OriginX = 20;
  1668. ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
  1669. ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
  1670. ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
  1671. ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
  1672. ultraGridColumn43.Header.Caption = "班次";
  1673. ultraGridColumn43.Header.VisiblePosition = 21;
  1674. ultraGridColumn43.RowLayoutColumnInfo.OriginX = 21;
  1675. ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
  1676. ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
  1677. ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
  1678. ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
  1679. ultraGridColumn44.Header.Caption = "班组";
  1680. ultraGridColumn44.Header.VisiblePosition = 22;
  1681. ultraGridColumn44.RowLayoutColumnInfo.OriginX = 22;
  1682. ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
  1683. ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
  1684. ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
  1685. ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
  1686. ultraGridColumn45.Header.Caption = "堆位";
  1687. ultraGridColumn45.Header.VisiblePosition = 23;
  1688. ultraGridColumn45.RowLayoutColumnInfo.OriginX = 1;
  1689. ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
  1690. ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
  1691. ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
  1692. ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
  1693. ultraGridColumn46.Header.Caption = "备注";
  1694. ultraGridColumn46.Header.VisiblePosition = 24;
  1695. ultraGridColumn46.RowLayoutColumnInfo.OriginX = 23;
  1696. ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
  1697. ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
  1698. ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
  1699. ultraGridColumn47.Header.Caption = "原计划号";
  1700. ultraGridColumn47.Header.VisiblePosition = 25;
  1701. ultraGridColumn47.Hidden = true;
  1702. ultraGridColumn47.RowLayoutColumnInfo.OriginX = 10;
  1703. ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
  1704. ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
  1705. ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
  1706. ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
  1707. ultraGridColumn47.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
  1708. ultraGridColumn48.Header.Caption = "原订单号";
  1709. ultraGridColumn48.Header.VisiblePosition = 26;
  1710. ultraGridColumn48.Hidden = true;
  1711. ultraGridColumn48.RowLayoutColumnInfo.OriginX = 11;
  1712. ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
  1713. ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
  1714. ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
  1715. ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
  1716. ultraGridColumn48.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
  1717. ultraGridColumn49.Header.Caption = "交货期";
  1718. ultraGridColumn49.Header.VisiblePosition = 27;
  1719. ultraGridColumn49.Hidden = true;
  1720. ultraGridColumn49.RowLayoutColumnInfo.OriginX = 16;
  1721. ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
  1722. ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
  1723. ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
  1724. ultraGridColumn50.Header.Caption = "认证机构";
  1725. ultraGridColumn50.Header.VisiblePosition = 28;
  1726. ultraGridColumn50.Hidden = true;
  1727. ultraGridColumn50.RowLayoutColumnInfo.OriginX = 17;
  1728. ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
  1729. ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
  1730. ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
  1731. ultraGridColumn51.Header.Caption = "客户订单号";
  1732. ultraGridColumn51.Header.VisiblePosition = 29;
  1733. ultraGridColumn51.Hidden = true;
  1734. ultraGridColumn51.RowLayoutColumnInfo.OriginX = 9;
  1735. ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
  1736. ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
  1737. ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
  1738. ultraGridColumn52.Header.Caption = "业务类型";
  1739. ultraGridColumn52.Header.VisiblePosition = 30;
  1740. ultraGridColumn52.Hidden = true;
  1741. ultraGridColumn52.RowLayoutColumnInfo.OriginX = 23;
  1742. ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
  1743. ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
  1744. ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
  1745. ultraGridColumn53.EditorControl = this.uCmb_BuyCode;
  1746. ultraGridColumn53.Header.Caption = "客户名称";
  1747. ultraGridColumn53.Header.VisiblePosition = 31;
  1748. ultraGridColumn53.RowLayoutColumnInfo.OriginX = 8;
  1749. ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
  1750. ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
  1751. ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
  1752. ultraGridColumn54.Header.Caption = "合同号";
  1753. ultraGridColumn54.Header.VisiblePosition = 32;
  1754. ultraGridColumn54.RowLayoutColumnInfo.OriginX = 9;
  1755. ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
  1756. ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
  1757. ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
  1758. ultraGridBand2.Columns.AddRange(new object[] {
  1759. ultraGridColumn22,
  1760. ultraGridColumn23,
  1761. ultraGridColumn24,
  1762. ultraGridColumn25,
  1763. ultraGridColumn26,
  1764. ultraGridColumn27,
  1765. ultraGridColumn28,
  1766. ultraGridColumn29,
  1767. ultraGridColumn30,
  1768. ultraGridColumn31,
  1769. ultraGridColumn32,
  1770. ultraGridColumn33,
  1771. ultraGridColumn34,
  1772. ultraGridColumn35,
  1773. ultraGridColumn36,
  1774. ultraGridColumn37,
  1775. ultraGridColumn38,
  1776. ultraGridColumn39,
  1777. ultraGridColumn40,
  1778. ultraGridColumn41,
  1779. ultraGridColumn42,
  1780. ultraGridColumn43,
  1781. ultraGridColumn44,
  1782. ultraGridColumn45,
  1783. ultraGridColumn46,
  1784. ultraGridColumn47,
  1785. ultraGridColumn48,
  1786. ultraGridColumn49,
  1787. ultraGridColumn50,
  1788. ultraGridColumn51,
  1789. ultraGridColumn52,
  1790. ultraGridColumn53,
  1791. ultraGridColumn54});
  1792. appearance57.BackColor = System.Drawing.Color.LightSteelBlue;
  1793. ultraGridBand2.Header.Appearance = appearance57;
  1794. ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  1795. appearance58.TextHAlign = Infragistics.Win.HAlign.Right;
  1796. appearance58.TextVAlign = Infragistics.Win.VAlign.Middle;
  1797. summarySettings3.Appearance = appearance58;
  1798. summarySettings3.DisplayFormat = "{0}";
  1799. summarySettings3.GroupBySummaryValueAppearance = appearance59;
  1800. summarySettings3.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
  1801. appearance60.TextHAlign = Infragistics.Win.HAlign.Right;
  1802. appearance60.TextVAlign = Infragistics.Win.VAlign.Middle;
  1803. summarySettings4.Appearance = appearance60;
  1804. summarySettings4.DisplayFormat = "{0:.###}";
  1805. summarySettings4.GroupBySummaryValueAppearance = appearance61;
  1806. summarySettings4.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
  1807. ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
  1808. summarySettings3,
  1809. summarySettings4});
  1810. ultraGridBand2.UseRowLayout = true;
  1811. this.gd_Receive.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
  1812. this.gd_Receive.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  1813. appearance62.BackColor = System.Drawing.SystemColors.ActiveBorder;
  1814. appearance62.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1815. appearance62.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  1816. appearance62.BorderColor = System.Drawing.SystemColors.Window;
  1817. this.gd_Receive.DisplayLayout.GroupByBox.Appearance = appearance62;
  1818. appearance63.ForeColor = System.Drawing.SystemColors.GrayText;
  1819. this.gd_Receive.DisplayLayout.GroupByBox.BandLabelAppearance = appearance63;
  1820. this.gd_Receive.DisplayLayout.GroupByBox.Hidden = true;
  1821. this.gd_Receive.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
  1822. appearance64.BackColor = System.Drawing.SystemColors.Window;
  1823. appearance64.ForeColor = System.Drawing.SystemColors.ControlText;
  1824. this.gd_Receive.DisplayLayout.Override.ActiveCellAppearance = appearance64;
  1825. appearance65.BackColor = System.Drawing.SystemColors.Highlight;
  1826. appearance65.ForeColor = System.Drawing.SystemColors.HighlightText;
  1827. this.gd_Receive.DisplayLayout.Override.ActiveRowAppearance = appearance65;
  1828. this.gd_Receive.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;
  1829. this.gd_Receive.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  1830. this.gd_Receive.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  1831. appearance66.BorderColor = System.Drawing.Color.Black;
  1832. appearance66.TextVAlign = Infragistics.Win.VAlign.Middle;
  1833. this.gd_Receive.DisplayLayout.Override.CellAppearance = appearance66;
  1834. this.gd_Receive.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  1835. this.gd_Receive.DisplayLayout.Override.CellPadding = 0;
  1836. appearance67.BackColor = System.Drawing.SystemColors.Control;
  1837. appearance67.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1838. appearance67.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  1839. appearance67.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  1840. appearance67.BorderColor = System.Drawing.SystemColors.Window;
  1841. appearance67.TextHAlign = Infragistics.Win.HAlign.Left;
  1842. appearance67.TextVAlign = Infragistics.Win.VAlign.Middle;
  1843. this.gd_Receive.DisplayLayout.Override.GroupByRowAppearance = appearance67;
  1844. this.gd_Receive.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
  1845. appearance68.BackColor = System.Drawing.Color.LightSteelBlue;
  1846. this.gd_Receive.DisplayLayout.Override.HeaderAppearance = appearance68;
  1847. this.gd_Receive.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
  1848. appearance69.BackColor = System.Drawing.SystemColors.Window;
  1849. appearance69.BorderColor = System.Drawing.Color.Black;
  1850. appearance69.TextVAlign = Infragistics.Win.VAlign.Middle;
  1851. this.gd_Receive.DisplayLayout.Override.RowAppearance = appearance69;
  1852. appearance70.BackColor = System.Drawing.SystemColors.Window;
  1853. appearance70.BorderColor = System.Drawing.Color.Black;
  1854. appearance70.TextVAlign = Infragistics.Win.VAlign.Middle;
  1855. this.gd_Receive.DisplayLayout.Override.RowPreviewAppearance = appearance70;
  1856. this.gd_Receive.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
  1857. this.gd_Receive.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
  1858. this.gd_Receive.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  1859. appearance71.TextHAlign = Infragistics.Win.HAlign.Left;
  1860. appearance71.TextVAlign = Infragistics.Win.VAlign.Middle;
  1861. this.gd_Receive.DisplayLayout.Override.SelectedRowAppearance = appearance71;
  1862. this.gd_Receive.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
  1863. appearance72.BackColor = System.Drawing.SystemColors.Window;
  1864. this.gd_Receive.DisplayLayout.Override.SummaryFooterAppearance = appearance72;
  1865. appearance73.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
  1866. appearance73.ForeColor = System.Drawing.Color.Red;
  1867. this.gd_Receive.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance73;
  1868. this.gd_Receive.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  1869. appearance74.BackColor = System.Drawing.Color.MistyRose;
  1870. appearance74.ForeColor = System.Drawing.Color.Blue;
  1871. appearance74.TextHAlign = Infragistics.Win.HAlign.Right;
  1872. appearance74.TextVAlign = Infragistics.Win.VAlign.Middle;
  1873. this.gd_Receive.DisplayLayout.Override.SummaryValueAppearance = appearance74;
  1874. appearance75.BackColor = System.Drawing.SystemColors.ControlLight;
  1875. this.gd_Receive.DisplayLayout.Override.TemplateAddRowAppearance = appearance75;
  1876. this.gd_Receive.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  1877. this.gd_Receive.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  1878. this.gd_Receive.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  1879. this.gd_Receive.Dock = System.Windows.Forms.DockStyle.Fill;
  1880. this.gd_Receive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  1881. this.gd_Receive.Location = new System.Drawing.Point(0, 0);
  1882. this.gd_Receive.Name = "gd_Receive";
  1883. this.gd_Receive.Size = new System.Drawing.Size(666, 282);
  1884. this.gd_Receive.TabIndex = 0;
  1885. this.gd_Receive.TabStop = false;
  1886. this.gd_Receive.Text = "板加接收中厚板厂入库信息";
  1887. //
  1888. // DT_KCJ_STORAGELIST
  1889. //
  1890. this.DT_KCJ_STORAGELIST.Columns.AddRange(new System.Data.DataColumn[] {
  1891. this.dataColumn19,
  1892. this.dataColumn23,
  1893. this.dataColumn24,
  1894. this.dataColumn25,
  1895. this.dataColumn26,
  1896. this.dataColumn27,
  1897. this.dataColumn28,
  1898. this.dataColumn29,
  1899. this.dataColumn30,
  1900. this.dataColumn31,
  1901. this.dataColumn32,
  1902. this.dataColumn33,
  1903. this.dataColumn34,
  1904. this.dataColumn35,
  1905. this.dataColumn36,
  1906. this.dataColumn37,
  1907. this.dataColumn38,
  1908. this.dataColumn39,
  1909. this.dataColumn40,
  1910. this.dataColumn41,
  1911. this.dataColumn42,
  1912. this.dataColumn43,
  1913. this.dataColumn44,
  1914. this.dataColumn45,
  1915. this.dataColumn46,
  1916. this.dataColumn47,
  1917. this.dataColumn48,
  1918. this.dataColumn49,
  1919. this.dataColumn51,
  1920. this.dataColumn53,
  1921. this.dataColumn55,
  1922. this.dataColumn20,
  1923. this.dataColumn21});
  1924. this.DT_KCJ_STORAGELIST.TableName = "KCJ_STORAGELIST";
  1925. //
  1926. // dataColumn19
  1927. //
  1928. this.dataColumn19.ColumnName = "BILLETID";
  1929. //
  1930. // dataColumn23
  1931. //
  1932. this.dataColumn23.ColumnName = "PRODUCTLINE";
  1933. //
  1934. // dataColumn24
  1935. //
  1936. this.dataColumn24.ColumnName = "ROLLNUMBER";
  1937. //
  1938. // dataColumn25
  1939. //
  1940. this.dataColumn25.ColumnName = "MOTHERBOARDNUMBER";
  1941. //
  1942. // dataColumn26
  1943. //
  1944. this.dataColumn26.ColumnName = "STOVENO";
  1945. //
  1946. // dataColumn27
  1947. //
  1948. this.dataColumn27.ColumnName = "PLANNO";
  1949. //
  1950. // dataColumn28
  1951. //
  1952. this.dataColumn28.ColumnName = "ORDERNO";
  1953. //
  1954. // dataColumn29
  1955. //
  1956. this.dataColumn29.ColumnName = "PLY";
  1957. this.dataColumn29.DataType = typeof(decimal);
  1958. //
  1959. // dataColumn30
  1960. //
  1961. this.dataColumn30.ColumnName = "WIDTH";
  1962. this.dataColumn30.DataType = typeof(decimal);
  1963. //
  1964. // dataColumn31
  1965. //
  1966. this.dataColumn31.ColumnName = "LENGTH";
  1967. this.dataColumn31.DataType = typeof(decimal);
  1968. //
  1969. // dataColumn32
  1970. //
  1971. this.dataColumn32.ColumnName = "THEORYWEIGHT";
  1972. this.dataColumn32.DataType = typeof(decimal);
  1973. //
  1974. // dataColumn33
  1975. //
  1976. this.dataColumn33.ColumnName = "FACEQUALITY";
  1977. //
  1978. // dataColumn34
  1979. //
  1980. this.dataColumn34.ColumnName = "BUGREASON";
  1981. //
  1982. // dataColumn35
  1983. //
  1984. this.dataColumn35.ColumnName = "DETERMINANTCARDNUMBER";
  1985. //
  1986. // dataColumn36
  1987. //
  1988. this.dataColumn36.ColumnName = "CLIPTYPEPROCESS";
  1989. //
  1990. // dataColumn37
  1991. //
  1992. this.dataColumn37.ColumnName = "DETERMINANTRESULT";
  1993. //
  1994. // dataColumn38
  1995. //
  1996. this.dataColumn38.ColumnName = "SOURCEID";
  1997. //
  1998. // dataColumn39
  1999. //
  2000. this.dataColumn39.ColumnName = "INTIME";
  2001. //
  2002. // dataColumn40
  2003. //
  2004. this.dataColumn40.ColumnName = "CONDOLENUMBER";
  2005. //
  2006. // dataColumn41
  2007. //
  2008. this.dataColumn41.ColumnName = "CHECKOPERATOR";
  2009. //
  2010. // dataColumn42
  2011. //
  2012. this.dataColumn42.ColumnName = "IN_MAN";
  2013. //
  2014. // dataColumn43
  2015. //
  2016. this.dataColumn43.ColumnName = "INCLASSORDER";
  2017. //
  2018. // dataColumn44
  2019. //
  2020. this.dataColumn44.ColumnName = "INCLASSTEAM";
  2021. //
  2022. // dataColumn45
  2023. //
  2024. this.dataColumn45.ColumnName = "BUTTRESS";
  2025. //
  2026. // dataColumn46
  2027. //
  2028. this.dataColumn46.ColumnName = "REMARK";
  2029. //
  2030. // dataColumn47
  2031. //
  2032. this.dataColumn47.ColumnName = "YPLANNO";
  2033. //
  2034. // dataColumn48
  2035. //
  2036. this.dataColumn48.ColumnName = "YORDERNO";
  2037. //
  2038. // dataColumn49
  2039. //
  2040. this.dataColumn49.ColumnName = "SENDBEGINDATE";
  2041. //
  2042. // dataColumn51
  2043. //
  2044. this.dataColumn51.ColumnName = "ATTESTATIONORGAN";
  2045. //
  2046. // dataColumn53
  2047. //
  2048. this.dataColumn53.ColumnName = "ORDERBUYER";
  2049. //
  2050. // dataColumn55
  2051. //
  2052. this.dataColumn55.ColumnName = "BUSINESS_CATEGORY";
  2053. //
  2054. // ds_All
  2055. //
  2056. this.ds_All.DataSetName = "NewDataSet";
  2057. this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN");
  2058. this.ds_All.Tables.AddRange(new System.Data.DataTable[] {
  2059. this.DT_KCJ_SOURCE,
  2060. this.DT_KCJ_STORAGELIST});
  2061. //
  2062. // dataColumn13
  2063. //
  2064. this.dataColumn13.ColumnName = "BUYERNAME";
  2065. //
  2066. // dataColumn17
  2067. //
  2068. this.dataColumn17.ColumnName = "PACTNO";
  2069. //
  2070. // uCmb_BuyCode
  2071. //
  2072. appearance1.BackColor = System.Drawing.Color.LightCyan;
  2073. this.uCmb_BuyCode.Appearance = appearance1;
  2074. this.uCmb_BuyCode.AutoSize = true;
  2075. this.uCmb_BuyCode.Enabled = false;
  2076. valueListItem1.DataValue = "0";
  2077. valueListItem1.DisplayText = "中厚板线";
  2078. valueListItem2.DataValue = "1";
  2079. valueListItem2.DisplayText = "线棒材";
  2080. valueListItem3.DataValue = "2";
  2081. valueListItem3.DisplayText = "卷板线";
  2082. this.uCmb_BuyCode.Items.Add(valueListItem1);
  2083. this.uCmb_BuyCode.Items.Add(valueListItem2);
  2084. this.uCmb_BuyCode.Items.Add(valueListItem3);
  2085. this.uCmb_BuyCode.Location = new System.Drawing.Point(768, 10);
  2086. this.uCmb_BuyCode.Name = "uCmb_BuyCode";
  2087. this.uCmb_BuyCode.Size = new System.Drawing.Size(98, 21);
  2088. this.uCmb_BuyCode.TabIndex = 212;
  2089. this.uCmb_BuyCode.Visible = false;
  2090. //
  2091. // dataColumn20
  2092. //
  2093. this.dataColumn20.ColumnName = "BUYERNAME";
  2094. //
  2095. // dataColumn21
  2096. //
  2097. this.dataColumn21.ColumnName = "PACTNO";
  2098. //
  2099. // Frm_ReceiveStuff
  2100. //
  2101. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  2102. this.ClientSize = new System.Drawing.Size(864, 746);
  2103. this.Controls.Add(this.panel2);
  2104. this.Controls.Add(this.ultraGroupBox2);
  2105. this.Controls.Add(this.ultraGroupBox1);
  2106. this.Controls.Add(this.panel1);
  2107. this.Name = "Frm_ReceiveStuff";
  2108. this.Text = "原料接收入库管理";
  2109. this.Load += new System.EventHandler(this.Frm_ReceiveStuff_Load);
  2110. this.panel1.ResumeLayout(false);
  2111. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
  2112. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
  2113. this.ultraGroupBox1.ResumeLayout(false);
  2114. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
  2115. ((System.ComponentModel.ISupportInitialize)(this.txt_SendList)).EndInit();
  2116. ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
  2117. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
  2118. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
  2119. ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
  2120. ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
  2121. ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).EndInit();
  2122. ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
  2123. ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
  2124. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
  2125. this.ultraGroupBox2.ResumeLayout(false);
  2126. ((System.ComponentModel.ISupportInitialize)(this.txt_DH)).EndInit();
  2127. ((System.ComponentModel.ISupportInitialize)(this.txt_DHDate)).EndInit();
  2128. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
  2129. ((System.ComponentModel.ISupportInitialize)(this.cmb_CheckMan)).EndInit();
  2130. ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).EndInit();
  2131. ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
  2132. ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
  2133. this.panel2.ResumeLayout(false);
  2134. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).EndInit();
  2135. this.ultraGroupBox3.ResumeLayout(false);
  2136. ((System.ComponentModel.ISupportInitialize)(this.gd_Source)).EndInit();
  2137. ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_SOURCE)).EndInit();
  2138. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
  2139. this.ultraExpandableGroupBox1.ResumeLayout(false);
  2140. this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
  2141. ((System.ComponentModel.ISupportInitialize)(this.gd_Receive)).EndInit();
  2142. ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_STORAGELIST)).EndInit();
  2143. ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit();
  2144. ((System.ComponentModel.ISupportInitialize)(this.uCmb_BuyCode)).EndInit();
  2145. this.ResumeLayout(false);
  2146. }
  2147. #endregion
  2148. public string strlx = "";
  2149. private void chk_Time_CheckedChanged(object sender, System.EventArgs e)
  2150. {
  2151. this.dte_BeginTime.Enabled = this.chk_Time.Checked;
  2152. this.dte_EndTime.Enabled = this.chk_Time.Checked;
  2153. }
  2154. private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
  2155. {
  2156. this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
  2157. }
  2158. private void chk_PlanID_CheckedChanged(object sender, System.EventArgs e)
  2159. {
  2160. txt_PlanID.Enabled=chk_PlanID.Checked;
  2161. }
  2162. private void chk_BilletID_CheckedChanged(object sender, System.EventArgs e)
  2163. {
  2164. txt_BilletID.Enabled = this.chk_BilletID.Checked;
  2165. }
  2166. private void chk_RollNum_CheckedChanged(object sender, System.EventArgs e)
  2167. {
  2168. txt_RollTop.Enabled = this.chk_RollNum.Checked;
  2169. txt_RollNOBegin.Enabled = this.chk_RollNum.Checked;
  2170. txt_RollNOEnd.Enabled = this.chk_RollNum.Checked;
  2171. }
  2172. private void chk_SendList_CheckedChanged(object sender, System.EventArgs e)
  2173. {
  2174. this.txt_SendList.Enabled = this.chk_SendList.Checked;
  2175. }
  2176. private void cmb_CheckMan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
  2177. {
  2178. try
  2179. {
  2180. if (e.KeyCode == Keys.Return)
  2181. System.Windows.Forms.SendKeys.Send("{Tab}");
  2182. }
  2183. catch(Exception ex)
  2184. {
  2185. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2186. }
  2187. }
  2188. private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
  2189. {
  2190. try
  2191. {
  2192. if(this.chk_AllowFilter.Checked)
  2193. {
  2194. this.gd_Source.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  2195. this.gd_Source.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
  2196. this.gd_Receive.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  2197. this.gd_Receive.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
  2198. }
  2199. else
  2200. {
  2201. this.gd_Source.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
  2202. this.gd_Source.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
  2203. if(this.gd_Source.DisplayLayout.Bands[0].ColumnFilters.Count>0)
  2204. {
  2205. for(int i=0;i<this.gd_Source.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
  2206. {
  2207. this.gd_Source.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
  2208. }
  2209. }
  2210. this.gd_Receive.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
  2211. this.gd_Receive.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
  2212. if(this.gd_Receive.DisplayLayout.Bands[0].ColumnFilters.Count>0)
  2213. {
  2214. for(int i=0;i<this.gd_Receive.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
  2215. {
  2216. this.gd_Receive.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
  2217. }
  2218. }
  2219. }
  2220. }
  2221. catch(System.Exception ex)
  2222. {
  2223. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2224. }
  2225. }
  2226. private void gd_Source_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
  2227. {
  2228. try
  2229. {
  2230. if(e.Cell.Column.Key == "FLAG")
  2231. {
  2232. e.Cell.Row.Update();
  2233. if(Comm.ObjToStr(e.Cell.Value).ToUpper() == "TRUE")
  2234. {
  2235. e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
  2236. }
  2237. else
  2238. {
  2239. e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
  2240. }
  2241. }
  2242. }
  2243. catch(System.Exception ex)
  2244. {
  2245. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2246. }
  2247. }
  2248. private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
  2249. {
  2250. try
  2251. {
  2252. Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gd_Source;
  2253. foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in tmpGrid.Rows)
  2254. {
  2255. if(!row.IsFilteredOut)
  2256. {
  2257. row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
  2258. row.Update();
  2259. }
  2260. }
  2261. }
  2262. catch(System.Exception ex)
  2263. {
  2264. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2265. }
  2266. }
  2267. private void Frm_ReceiveStuff_Load(object sender, System.EventArgs e)
  2268. {
  2269. this.dte_BeginTime.DateTime = System.DateTime.Now.Date;
  2270. this.dte_EndTime.DateTime = System.DateTime.Now.Date;
  2271. txt_DHDate.Text=System.DateTime.Now.ToString("yyMMdd");
  2272. if (this.Key.Split('@').Length > 1)
  2273. {
  2274. strlx = this.Key.Split('@')[1];
  2275. }
  2276. try
  2277. {
  2278. this.IniComb();
  2279. Comm.SetGridSumArea(this.gd_Source);
  2280. Comm.SetGridSumArea(this.gd_Receive);
  2281. }
  2282. catch(Exception ex)
  2283. {
  2284. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2285. }
  2286. }
  2287. private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
  2288. {
  2289. switch(e.Tool.Key)
  2290. {
  2291. case "RECEIVE":
  2292. this.Stuff_Receive();
  2293. break;
  2294. case "DEL_YL":
  2295. Del_Stuff_Receive();
  2296. break;
  2297. case "ImportYL":
  2298. Import_Table();
  2299. break;
  2300. case "REFRESH":
  2301. this.GetSendSource(this.GetWhere("SOURCE"), ClientCommon._UserInfo.UserRoleID.ToString());
  2302. break;
  2303. case "QUERY_RECEIVE":
  2304. this.GetInKC(this.GetWhere(""));
  2305. break;
  2306. case"RECEIVE_TO_EXCEL":
  2307. this.Export(this.gd_Receive,"板加接收中厚板厂转运入库信息");
  2308. break;
  2309. case"CLOSE":
  2310. this.Close();
  2311. break;
  2312. }
  2313. }
  2314. #region IniWindow
  2315. private void IniComb()
  2316. {
  2317. string strOut = "";
  2318. string sql = "";
  2319. DataSet ds;
  2320. try
  2321. {
  2322. //班次
  2323. sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
  2324. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  2325. ds.Tables[0].TableName="SCM_BASE_INFO";
  2326. Comm.Init_ComboControl(this.cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
  2327. //班组
  2328. sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
  2329. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  2330. ds.Tables[0].TableName="SCM_BASE_INFO";
  2331. Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);
  2332. sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '514004'";
  2333. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  2334. ds.Tables[0].TableName = "KCJ_BASEDATA";
  2335. Comm.Init_ComboControl(this.cmb_CheckMan, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
  2336. //入库人
  2337. sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '514003'";
  2338. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  2339. ds.Tables[0].TableName = "KCJ_BASEDATA";
  2340. Comm.Init_ComboControl(this.cmb_InMan, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
  2341. //堆位
  2342. if (strlx == "1")
  2343. {
  2344. sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(板材)' ORDER BY BUTTRESSCODE ";
  2345. }
  2346. else if (strlx == "2")
  2347. {
  2348. sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(棒线材)' ORDER BY BUTTRESSCODE ";
  2349. }
  2350. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  2351. ds.Tables[0].TableName = "KCJ_BUTTRESS";
  2352. Comm.Init_ComboControl(this.cmb_Buttress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
  2353. Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
  2354. sql = "SELECT A.BUYERCODE ID_,A.BUYERNAME NAME_ FROM SEL_BUYERBASEINFO A";
  2355. Object obj1 = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("TurnoffReport", "Core.XgMes.Server.TurnoffReport.TurnoffSCC_ZL",
  2356. "getData", new object[] { sql }, out strOut) as DataSet;
  2357. if (obj1 != null)
  2358. {
  2359. DataView dvw = ((DataSet)obj1).Tables[0].DefaultView;
  2360. for (int i = 0; i < dvw.Count; i++)
  2361. {
  2362. uCmb_BuyCode.Items.Add(dvw[i][0].ToString(), dvw[i][1].ToString());
  2363. }
  2364. }
  2365. }
  2366. catch(Exception ex)
  2367. {
  2368. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2369. }
  2370. }
  2371. #endregion
  2372. #region 查询
  2373. /// <summary>
  2374. /// 获取查询条件
  2375. /// </summary>
  2376. /// <param name=" _QueryType">查询类型</param>
  2377. /// <returns></returns>
  2378. private string GetWhere(string _QueryType)
  2379. {
  2380. string rtnStr="";
  2381. if (_QueryType == "SOURCE")
  2382. {
  2383. if (this.txt_SendList.Enabled && this.txt_SendList.Text.Trim().Length > 0)
  2384. {
  2385. rtnStr += " AND A.PLANVEHICLEID LIKE '" + this.txt_SendList.Text.Trim() + "%'";
  2386. }
  2387. else
  2388. {
  2389. return "";
  2390. }
  2391. }
  2392. else
  2393. {
  2394. if (this.dte_BeginTime.Enabled && this.dte_EndTime.Enabled)
  2395. {
  2396. rtnStr += " AND A.INTIME BETWEEN TO_DATE('" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "','yyyy-MM-dd') "
  2397. + " AND TO_DATE('" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + " 23:59:59','yyyy-MM-dd hh24:mi:ss') ";
  2398. }
  2399. if (this.txt_OrderNO.Enabled && this.txt_OrderNO.Text.Trim().Length > 0)
  2400. rtnStr += " AND A.ORDERNO LIKE '" + this.txt_OrderNO.Text.Trim() + "%'";
  2401. if (this.txt_PlanID.Enabled && this.txt_PlanID.Text.Trim().Length > 0)
  2402. rtnStr += " AND A.PLANNO LIKE '" + this.txt_PlanID.Text.Trim() + "%'";
  2403. if (this.txt_BilletID.Enabled && this.txt_BilletID.Text.Trim().Length > 0)
  2404. rtnStr += " AND A.BILLETID LIKE '" + this.txt_BilletID.Text.Trim() + "%'";
  2405. if (this.chk_RollNum.Checked)
  2406. {
  2407. rtnStr += " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='" + Comm.ObjToStr(this.txt_RollTop.Text.Trim()) + "' ";
  2408. if (this.txt_RollNOBegin.Text.Trim().Length == 5 && this.txt_RollNOEnd.Text.Trim().Length < 5)
  2409. {
  2410. rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='" + this.txt_RollNOBegin.Text.Trim() + "'";
  2411. }
  2412. if (this.txt_RollNOBegin.Text.Trim().Length < 5 && this.txt_RollNOEnd.Text.Trim().Length == 5)
  2413. {
  2414. rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='" + this.txt_RollNOEnd.Text.Trim() + "'";
  2415. }
  2416. if (this.txt_RollNOBegin.Text.Trim().Length == 5 && this.txt_RollNOEnd.Text.Trim().Length == 5)
  2417. {
  2418. rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='" + this.txt_RollNOEnd.Text.Trim() + "'"
  2419. + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='" + this.txt_RollNOBegin.Text.Trim() + "'";
  2420. }
  2421. }
  2422. if (strlx == "1")
  2423. {
  2424. rtnStr += " AND (A.ROLLNUMBER LIKE 'H%' OR A.ROLLNUMBER LIKE 'Z%' ) ";
  2425. }
  2426. if (strlx == "2")
  2427. {
  2428. rtnStr += " (A.ROLLNUMBER LIKE 'E%' OR A.ROLLNUMBER LIKE 'Y%' OR A.ROLLNUMBER LIKE 'B%' ) ";
  2429. }
  2430. if (this.txt_SendList.Enabled && this.txt_SendList.Text.Trim().Length > 0)
  2431. {
  2432. rtnStr += " AND A.PLANVEHICLEID LIKE '" + this.txt_SendList.Text.Trim() + "%'";
  2433. }
  2434. if (this.cmb_Buress.Enabled && this.cmb_Buress.Text.Trim().Length > 0)
  2435. {
  2436. rtnStr += "AND I.BUTTRESS='" + this.cmb_Buress.Text.Trim() + "'";
  2437. }
  2438. }
  2439. return rtnStr;
  2440. }
  2441. /// <summary>
  2442. /// 获取来料信息
  2443. /// </summary>
  2444. /// <param name=" _Condition">条件</param>
  2445. /// <returns></returns>
  2446. private void GetSendSource(string _Condition,string strName)
  2447. {
  2448. try
  2449. {
  2450. string strOut = "";
  2451. if (_Condition == "")
  2452. {
  2453. MessageBox.Show("请输入正确的发运号进行查询!!!!");
  2454. return;
  2455. }
  2456. this.ds_All.Tables["KCJ_SOURCE"].Clear();
  2457. DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
  2458. "GetSource", new object[] { _Condition, strName, strlx }, out strOut);
  2459. if(strOut == "")
  2460. this.ds_All.Merge(ds);
  2461. this.ds_All.Tables["KCJ_SOURCE"].AcceptChanges();
  2462. Comm.SetGridSumArea(this.gd_Source);
  2463. }
  2464. catch(Exception ex)
  2465. {
  2466. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2467. }
  2468. }
  2469. /// <summary>
  2470. /// 获取已导入来料信息
  2471. /// </summary>
  2472. /// <param name=" _Condition">条件</param>
  2473. /// <returns></returns>
  2474. private void GetSendSourceImport()
  2475. {
  2476. try
  2477. {
  2478. string strOut = "";
  2479. this.ds_All.Tables["KCJ_SOURCE"].Clear();
  2480. DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
  2481. "GetSourceImport", new object[] {strlx }, out strOut);
  2482. if (strOut == "")
  2483. this.ds_All.Merge(ds);
  2484. this.ds_All.Tables["KCJ_SOURCE"].AcceptChanges();
  2485. Comm.SetGridSumArea(this.gd_Source);
  2486. }
  2487. catch (Exception ex)
  2488. {
  2489. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2490. }
  2491. }
  2492. /// <summary>
  2493. /// 获取入库信息
  2494. /// </summary>
  2495. /// <param name=" _Condition">条件</param>
  2496. /// <returns></returns>
  2497. private void GetInKC(string _Condition)
  2498. {
  2499. try
  2500. {
  2501. string strOut = "";
  2502. this.ds_All.Tables["KCJ_STORAGELIST"].Clear();
  2503. DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
  2504. "GetInStorage",new object[]{_Condition},out strOut);
  2505. if(strOut == "")
  2506. this.ds_All.Merge(ds);
  2507. this.ds_All.Tables["KCJ_STORAGELIST"].AcceptChanges();
  2508. Comm.SetGridSumArea(this.gd_Receive);
  2509. }
  2510. catch(Exception ex)
  2511. {
  2512. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2513. }
  2514. }
  2515. #endregion
  2516. #region 入库
  2517. /// <summary>
  2518. /// 检查原料入库数据
  2519. /// </summary>
  2520. /// <returns></returns>
  2521. private bool CheckSource()
  2522. {
  2523. try
  2524. {
  2525. this.gd_Source.UpdateData();
  2526. System.Data.DataRow[] rows = this.ds_All.Tables["KCJ_SOURCE"].Select("FLAG='TRUE'");
  2527. if(rows.Length == 0)
  2528. {
  2529. MessageBox.Show("请您选择要接收入库的板块","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  2530. return false;
  2531. }
  2532. if(this.cmb_CheckMan.Text.Trim().Length == 0)
  2533. {
  2534. MessageBox.Show("验收人为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  2535. return false;
  2536. }
  2537. if(this.cmb_InMan.Text.Trim().Length == 0)
  2538. {
  2539. MessageBox.Show("入库人为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  2540. return false;
  2541. }
  2542. if(this.cmb_ClassOrder.Text.Trim().Length == 0)
  2543. {
  2544. MessageBox.Show("入库班次为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  2545. return false;
  2546. }
  2547. if(this.cmb_ClassTeam.Text.Trim().Length == 0)
  2548. {
  2549. MessageBox.Show("入库班组为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  2550. return false;
  2551. }
  2552. if(this.cmb_ClassTeam.Text.Trim().Length == 0)
  2553. {
  2554. MessageBox.Show("入库堆位为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  2555. return false;
  2556. }
  2557. if(this.txt_DH.Text.Trim().Length == 0)
  2558. {
  2559. MessageBox.Show("板块吊号为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
  2560. return false;
  2561. }
  2562. return true;
  2563. }
  2564. catch(System.Exception ex)
  2565. {
  2566. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2567. return false;
  2568. }
  2569. }
  2570. /// <summary>
  2571. /// 原料接收入库
  2572. /// </summary>
  2573. /// <returns></returns>
  2574. private void Stuff_Receive()
  2575. {
  2576. if(!this.CheckSource())
  2577. return;
  2578. try
  2579. {
  2580. System.Collections.ArrayList Billets = new ArrayList();
  2581. Billets = Comm.GetFieldValue(this.gd_Source,"FLAG","BILLETID");
  2582. System.Collections.ArrayList Others = new ArrayList();
  2583. Others.Add(this.cmb_CheckMan.Text.Trim());
  2584. Others.Add(this.cmb_InMan.Text.Trim());
  2585. Others.Add(Comm.ObjToStr(this.cmb_ClassOrder.Value));
  2586. Others.Add(Comm.ObjToStr(this.cmb_ClassTeam.Value));
  2587. Others.Add(Comm.ObjToStr(this.cmb_Buttress.Value));
  2588. Others.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
  2589. Others.Add(this.txt_DHDate.Text.Trim()+"-"+this.txt_DH.Text.Trim());
  2590. Others.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserRoleID);
  2591. string strOut = "";
  2592. object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
  2593. "Stuff_Receive",new object[]{Billets,Others },out strOut);
  2594. if(obj!=null && obj.ToString()=="1")
  2595. {
  2596. System.Data.DataRow[] rows = this.ds_All.Tables["KCJ_SOURCE"].Select("FLAG='TRUE'");
  2597. for(int i=0;i < rows.Length ;i++)
  2598. {
  2599. this.ds_All.Tables["KCJ_SOURCE"].Rows.Remove(rows[i]);
  2600. this.ds_All.Tables["KCJ_SOURCE"].AcceptChanges();
  2601. }
  2602. Comm.SetGridSumArea(this.gd_Source);
  2603. string rtnStr = " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='"+System.DateTime.Now.ToString("yyyy-MM-dd")+"' "
  2604. + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='"+System.DateTime.Now.ToString("yyyy-MM-dd")+"' ";
  2605. this.GetInKC(rtnStr);
  2606. }
  2607. else
  2608. {
  2609. MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
  2610. }
  2611. }
  2612. catch(Exception ex)
  2613. {
  2614. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2615. }
  2616. }
  2617. #endregion
  2618. #region 撤销入库
  2619. /// <summary>
  2620. /// 撤销原料接收入库
  2621. /// </summary>
  2622. /// <returns></returns>
  2623. private void Del_Stuff_Receive()
  2624. {
  2625. System.Collections.ArrayList Billets = new ArrayList();
  2626. string strOut = "";
  2627. try
  2628. {
  2629. //获取板块序号
  2630. foreach ( Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gd_Receive.Selected.Rows )
  2631. {
  2632. if (row.IsFilteredOut == true) continue;
  2633. Billets.Add(Comm.ObjToStr(row.Cells["BILLETID"].Value));
  2634. }
  2635. if(Billets.Count==0)
  2636. {
  2637. MessageBox.Show("请您选择要撤销的板块信息","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
  2638. return;
  2639. }
  2640. System.Collections.ArrayList Others = new ArrayList();
  2641. Others.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
  2642. object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
  2643. "Stuff_Del_Recevie",new object[]{Billets,Others},out strOut);
  2644. if(obj!=null && obj.ToString()=="1")
  2645. {
  2646. System.Data.DataRow [] rows;
  2647. for(int i=0 ; i< Billets.Count; i++)
  2648. {
  2649. rows = this.ds_All.Tables["KCJ_STORAGELIST"].Select("BILLETID='"+Convert.ToString(Billets[i])+"'");
  2650. this.ds_All.Tables["KCJ_STORAGELIST"].Rows.Remove(rows[0]);
  2651. this.ds_All.Tables["KCJ_STORAGELIST"].AcceptChanges();
  2652. }
  2653. Comm.SetGridSumArea(this.gd_Receive);
  2654. //this.GetSendSource("","");
  2655. }
  2656. else
  2657. {
  2658. MessageBox.Show(strOut,"提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);
  2659. }
  2660. }
  2661. catch(Exception ex)
  2662. {
  2663. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2664. }
  2665. }
  2666. #endregion
  2667. #region "导出"
  2668. private void Export(Infragistics.Win.UltraWinGrid.UltraGrid _gd,string _title)
  2669. {
  2670. try
  2671. {
  2672. string filename =_title+@".xls";
  2673. this.excelExporter.Export(_gd,filename);
  2674. System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
  2675. st.WindowStyle =System.Diagnostics.ProcessWindowStyle.Maximized ;
  2676. System.Diagnostics.Process.Start(st);
  2677. }
  2678. catch(System.Exception ex)
  2679. {
  2680. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2681. }
  2682. }
  2683. #endregion
  2684. private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
  2685. {
  2686. this.cmb_Buress.Enabled=this.Chk_Buttress.Checked;
  2687. }
  2688. private void Import_Table()
  2689. {
  2690. try
  2691. {
  2692. DataSet ds = new DataSet();
  2693. DataTable dt = null;
  2694. string FileName = "";
  2695. System.Windows.Forms.OpenFileDialog open = new OpenFileDialog();
  2696. open.Filter = "*.xls|";
  2697. open.Title = "导入原料数据";
  2698. open.ShowDialog();
  2699. if (open.FileName != "")
  2700. {
  2701. FileName = open.FileName;
  2702. FileStream fs = new FileStream(FileName, FileMode.Open, FileAccess.Read);
  2703. NPOI.HSSF.UserModel.HSSFWorkbook book = new NPOI.HSSF.UserModel.HSSFWorkbook(fs);
  2704. int sheetCount = book.NumberOfSheets;
  2705. for (int sheetIndex = 0; sheetIndex < sheetCount; sheetIndex++)
  2706. {
  2707. NPOI.SS.UserModel.ISheet sheet = book.GetSheetAt(sheetIndex);
  2708. if (sheet == null) continue;
  2709. NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
  2710. if (row == null) continue;
  2711. int firstCellNum = row.FirstCellNum;
  2712. int lastCellNum = row.LastCellNum;
  2713. if (firstCellNum == lastCellNum) continue;
  2714. dt = new DataTable(sheet.SheetName);
  2715. try
  2716. {
  2717. for (int i = firstCellNum; i < lastCellNum; i++)
  2718. {
  2719. if (row.GetCell(i) != null)
  2720. {
  2721. Type ty = row.GetCell(i).StringCellValue.GetType();
  2722. dt.Columns.Add(row.GetCell(i).StringCellValue, typeof(string));
  2723. }
  2724. }
  2725. }
  2726. catch (Exception ex)
  2727. {
  2728. }
  2729. for (int i = 1; i <= sheet.LastRowNum; i++)
  2730. {
  2731. DataRow newRow = dt.Rows.Add();
  2732. NPOI.SS.UserModel.IRow row1 = sheet.GetRow(i);
  2733. NPOI.SS.UserModel.ICellStyle cellStyle = null;
  2734. NPOI.SS.UserModel.ICell cell = null;
  2735. try
  2736. {
  2737. for (int j = firstCellNum; j < lastCellNum; j++)
  2738. {
  2739. if (row1 != null)
  2740. {
  2741. if (row.GetCell(i) != null)
  2742. {
  2743. cell = row.GetCell(j);
  2744. if (cell!=null)
  2745. {
  2746. if (cell.GetType() != null)
  2747. {
  2748. // NPOI.SS.UserModel.CellType celltype = sheet.GetRow(i).GetCell(j).CellType;
  2749. try
  2750. {
  2751. if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Numeric)
  2752. {
  2753. newRow[j] = row1.GetCell(j);
  2754. }
  2755. else if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Formula)
  2756. {
  2757. if (cell.CellType == NPOI.SS.UserModel.CellType.Error)
  2758. {
  2759. newRow[j] = "";
  2760. }
  2761. else
  2762. {
  2763. newRow[j] = row1.GetCell(j);
  2764. }
  2765. }
  2766. else
  2767. {
  2768. if (row1.GetCell(j) != null)
  2769. {
  2770. newRow[j] = row1.GetCell(j);
  2771. }
  2772. else
  2773. {
  2774. newRow[j] = row1.GetCell(j);
  2775. }
  2776. }
  2777. }
  2778. catch (Exception ex)
  2779. {
  2780. cellStyle = book.CreateCellStyle();
  2781. cellStyle.CloneStyleFrom(cellStyle);
  2782. cellStyle.FillForegroundColor = HSSFColor.Pink.Index;
  2783. cellStyle.FillPattern = NPOI.SS.UserModel.FillPattern.SolidForeground;
  2784. row1.GetCell(j).CellStyle = cellStyle;
  2785. using (FileStream fileStream2 = new FileStream(FileName, FileMode.Create, FileAccess.Write))
  2786. {
  2787. book.Write(fileStream2);
  2788. }
  2789. MessageBox.Show("格式错误" + ex, "错误提示");
  2790. return;
  2791. }
  2792. }
  2793. }
  2794. }
  2795. }
  2796. }
  2797. }
  2798. catch (Exception ee)
  2799. {
  2800. throw ee;
  2801. }
  2802. }
  2803. ds.Tables.Add(dt);
  2804. }
  2805. #region "处理数据"
  2806. if (ds.Tables.Count == 1 && ds.Tables[0].Rows.Count > 0)
  2807. {
  2808. //myDataSet.Tables[0].Rows.RemoveAt(0);
  2809. //myDataSet.Tables[0].AcceptChanges();
  2810. string err = "";
  2811. string MakeMan = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
  2812. object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
  2813. "Storginist_Imp", new object[] { ds.Tables[0], MakeMan }, out err);
  2814. if (obj.GetType() != typeof(System.DBNull))
  2815. {
  2816. MessageBox.Show("导入数据成功!", "消息提示");
  2817. GetSendSourceImport();
  2818. }
  2819. else
  2820. {
  2821. MessageBox.Show(err, "导入失败");
  2822. }
  2823. }
  2824. else
  2825. {
  2826. MessageBox.Show("未获取导入数据!", "消息提示");
  2827. }
  2828. #endregion
  2829. }
  2830. }
  2831. catch (System.Exception ex)
  2832. {
  2833. System.Diagnostics.Debug.WriteLine(ex.ToString());
  2834. MessageBox.Show("格式错误", "错误提示");
  2835. }
  2836. }
  2837. }
  2838. }