| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960 |
- using System;
- using System.Drawing;
- using System.Collections;
- using System.ComponentModel;
- using System.Windows.Forms;
- using Core.Mes.ClientFrameWork;
- using Core.Mes.IBaseInterface;
- using System.Data;
- using Infragistics.Win.UltraWinGrid;
- using System.Collections.Generic;
- namespace Core.XgMes.Client.JGKC.RollManager
- {
- /// <summary>
- /// Frm_ProduceManage 的摘要说明。
- /// </summary>
- public class Frm_ProduceManage : Mes.ClientFrameWork.FrmBase
- {
- private System.Windows.Forms.Panel panel1;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
- private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
- private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
- private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
- private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
- private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
- private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
- private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
- private Infragistics.Win.Misc.UltraLabel Lab_To;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
- private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
- private Infragistics.Win.Misc.UltraLabel ultraLabel1;
- private Infragistics.Win.Misc.UltraLabel ultraLabel2;
- private Infragistics.Win.Misc.UltraLabel ultraLabel4;
- private Infragistics.Win.Misc.UltraLabel ultraLabel5;
- private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
- private Infragistics.Win.Misc.UltraLabel ultraLabel7;
- private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
- private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
- private Infragistics.Win.Misc.UltraLabel lab_cd;
- private Infragistics.Win.Misc.UltraLabel ultraLabel17;
- private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
- private Infragistics.Win.Misc.UltraLabel ultraLabel12;
- private Infragistics.Win.Misc.UltraLabel ultraLabel8;
- private Infragistics.Win.Misc.UltraLabel ultraLabel3;
- private Infragistics.Win.Misc.UltraLabel ultraLabel6;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PaiHao;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
- private Infragistics.Win.UltraWinGrid.UltraGrid gb_Press;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PanPi;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_COIL_NO_ID;
- private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassStrem;
- private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOredre;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangHao;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Plact;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Sleen;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
- private Infragistics.Win.Misc.UltraButton btn_Prod;
- private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
- private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
- private Infragistics.Win.Misc.UltraLabel ultraLabel10;
- private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
- private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcL;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
- private Infragistics.Win.Misc.UltraLabel ultraLabel9;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Ramark;
- private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcLine;
- private Infragistics.Win.Misc.UltraLabel ultraLabel11;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_fjh;
- private Infragistics.Win.Misc.UltraButton ultraButton1;
- private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_XJZL;
- private Infragistics.Win.Misc.UltraLabel ultraLabel13;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Count;
- private DataSet ds_All;
- private DataTable X;
- private DataColumn dataColumn1;
- private DataColumn dataColumn2;
- private DataColumn dataColumn3;
- private DataTable dataTable1;
- private DataColumn dataColumn5;
- private DataColumn dataColumn6;
- private DataColumn dataColumn7;
- private DataColumn dataColumn8;
- private DataColumn dataColumn9;
- private DataColumn dataColumn10;
- private DataColumn dataColumn11;
- private DataColumn dataColumn12;
- private DataColumn dataColumn13;
- private DataColumn dataColumn15;
- private DataColumn dataColumn16;
- private DataColumn dataColumn17;
- private DataColumn dataColumn18;
- private UltraGrid gb_PlanState;
- private UltraGrid ultraGrid1;
- private Infragistics.Win.Misc.UltraButton ultraButton2;
- private DataColumn dataColumn14;
- private DataColumn dataColumn19;
- private UltraCombo cmb_Buress;
- private Infragistics.Win.Misc.UltraLabel ultraLabel14;
- private System.ComponentModel.IContainer components;
- public Frm_ProduceManage()
- {
- //
- // Windows 窗体设计器支持所必需的
- //
- InitializeComponent();
- //
- // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
- //
- }
- /// <summary>
- /// 清理所有正在使用的资源。
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if( disposing )
- {
- if(components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
- #region Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要使用代码编辑器修改
- /// 此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PRC");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("BOOKIN");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_BOOKIN");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DC");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PRC");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("BOOKIN");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_BOOKIN");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DC");
- Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSORDER");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSTEAM");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFJH");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
- Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 8, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 8, true);
- Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
- Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("XF-1", -1);
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("Relation1");
- Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Relation1", 0);
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NUM");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETAIL_TIME");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BC");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BZ");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CHK", 0);
- this.cmb_ClassOredre = new Infragistics.Win.UltraWinGrid.UltraCombo();
- this.cmb_ClassStrem = new Infragistics.Win.UltraWinGrid.UltraCombo();
- this.cmb_ProcLine = new Infragistics.Win.UltraWinGrid.UltraCombo();
- this.panel1 = new System.Windows.Forms.Panel();
- this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
- this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
- this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
- this.ultraButton2 = new Infragistics.Win.Misc.UltraButton();
- this.cmb_ProcL = new Infragistics.Win.UltraWinGrid.UltraCombo();
- this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
- this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
- this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
- this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
- this.chk_PaiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_COIL_NO_ID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.chk_PanPi = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.chk_BanHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
- this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
- this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
- this.txt_Count = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.txt_XJZL = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
- this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
- this.chk_fjh = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_Ramark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
- this.btn_Prod = new Infragistics.Win.Misc.UltraButton();
- this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
- this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
- this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
- this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
- this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_Plact = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_Sleen = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_GangHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
- this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
- this.gb_Press = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
- this.gb_PlanState = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.ds_All = new System.Data.DataSet();
- this.X = new System.Data.DataTable();
- this.dataColumn1 = new System.Data.DataColumn();
- this.dataColumn2 = new System.Data.DataColumn();
- this.dataColumn3 = new System.Data.DataColumn();
- this.dataColumn14 = new System.Data.DataColumn();
- this.dataColumn19 = new System.Data.DataColumn();
- this.dataTable1 = new System.Data.DataTable();
- this.dataColumn5 = new System.Data.DataColumn();
- this.dataColumn6 = new System.Data.DataColumn();
- this.dataColumn7 = new System.Data.DataColumn();
- this.dataColumn8 = new System.Data.DataColumn();
- this.dataColumn9 = new System.Data.DataColumn();
- this.dataColumn10 = new System.Data.DataColumn();
- this.dataColumn11 = new System.Data.DataColumn();
- this.dataColumn12 = new System.Data.DataColumn();
- this.dataColumn13 = new System.Data.DataColumn();
- this.dataColumn15 = new System.Data.DataColumn();
- this.dataColumn16 = new System.Data.DataColumn();
- this.dataColumn17 = new System.Data.DataColumn();
- this.dataColumn18 = new System.Data.DataColumn();
- this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
- this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
- this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOredre)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStrem)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcLine)).BeginInit();
- this.panel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
- this.ultraGroupBox1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_COIL_NO_ID)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
- this.ultraExpandableGroupBox1.SuspendLayout();
- this.ultraExpandableGroupBoxPanel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Count)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_XJZL)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Ramark)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Sleen)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_GangHao)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
- this.ultraExpandableGroupBox2.SuspendLayout();
- this.ultraExpandableGroupBoxPanel2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
- this.ultraGroupBox2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.X)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
- this.SuspendLayout();
- //
- // cmb_ClassOredre
- //
- this.cmb_ClassOredre.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
- this.cmb_ClassOredre.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_ClassOredre.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_ClassOredre.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_ClassOredre.DisplayLayout.MaxColScrollRegions = 1;
- this.cmb_ClassOredre.DisplayLayout.MaxRowScrollRegions = 1;
- this.cmb_ClassOredre.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_ClassOredre.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_ClassOredre.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.cmb_ClassOredre.DisplayLayout.Override.CellPadding = 0;
- this.cmb_ClassOredre.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.cmb_ClassOredre.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
- this.cmb_ClassOredre.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_ClassOredre.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.cmb_ClassOredre.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.cmb_ClassOredre.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.cmb_ClassOredre.DisplayMember = "";
- this.cmb_ClassOredre.Location = new System.Drawing.Point(300, 28);
- this.cmb_ClassOredre.Name = "cmb_ClassOredre";
- this.cmb_ClassOredre.Size = new System.Drawing.Size(86, 21);
- this.cmb_ClassOredre.TabIndex = 7;
- this.cmb_ClassOredre.ValueMember = "";
- this.cmb_ClassOredre.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- this.cmb_ClassOredre.Enter += new System.EventHandler(this.txt_Count_Enter);
- //
- // cmb_ClassStrem
- //
- this.cmb_ClassStrem.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
- this.cmb_ClassStrem.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_ClassStrem.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_ClassStrem.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_ClassStrem.DisplayLayout.MaxColScrollRegions = 1;
- this.cmb_ClassStrem.DisplayLayout.MaxRowScrollRegions = 1;
- this.cmb_ClassStrem.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_ClassStrem.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_ClassStrem.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.cmb_ClassStrem.DisplayLayout.Override.CellPadding = 0;
- this.cmb_ClassStrem.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.cmb_ClassStrem.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
- this.cmb_ClassStrem.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_ClassStrem.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.cmb_ClassStrem.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.cmb_ClassStrem.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.cmb_ClassStrem.DisplayMember = "";
- this.cmb_ClassStrem.Location = new System.Drawing.Point(300, 52);
- this.cmb_ClassStrem.Name = "cmb_ClassStrem";
- this.cmb_ClassStrem.Size = new System.Drawing.Size(86, 21);
- this.cmb_ClassStrem.TabIndex = 8;
- this.cmb_ClassStrem.ValueMember = "";
- this.cmb_ClassStrem.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- this.cmb_ClassStrem.Enter += new System.EventHandler(this.txt_Count_Enter);
- //
- // cmb_ProcLine
- //
- this.cmb_ProcLine.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
- this.cmb_ProcLine.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_ProcLine.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_ProcLine.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_ProcLine.DisplayLayout.MaxColScrollRegions = 1;
- this.cmb_ProcLine.DisplayLayout.MaxRowScrollRegions = 1;
- this.cmb_ProcLine.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_ProcLine.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_ProcLine.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.cmb_ProcLine.DisplayLayout.Override.CellPadding = 0;
- this.cmb_ProcLine.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.cmb_ProcLine.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
- this.cmb_ProcLine.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_ProcLine.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.cmb_ProcLine.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.cmb_ProcLine.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.cmb_ProcLine.DisplayMember = "";
- this.cmb_ProcLine.Location = new System.Drawing.Point(751, 29);
- this.cmb_ProcLine.Name = "cmb_ProcLine";
- this.cmb_ProcLine.Size = new System.Drawing.Size(100, 21);
- this.cmb_ProcLine.TabIndex = 649;
- this.cmb_ProcLine.ValueMember = "";
- //
- // panel1
- //
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
- this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel1.Location = new System.Drawing.Point(0, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1164, 26);
- this.panel1.TabIndex = 0;
- //
- // _panel1_Toolbars_Dock_Area_Left
- //
- this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
- this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
- this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
- this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
- this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 2);
- this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // ultraToolbarsManager1
- //
- this.ultraToolbarsManager1.DesignerFlags = 1;
- this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
- this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
- this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
- ultraToolbar1.DockedColumn = 0;
- ultraToolbar1.DockedRow = 0;
- ultraToolbar1.Text = "工具栏";
- buttonTool1.InstanceProps.IsFirstInGroup = true;
- buttonTool2.InstanceProps.IsFirstInGroup = true;
- ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
- buttonTool1,
- buttonTool2,
- buttonTool3,
- buttonTool4,
- buttonTool5,
- buttonTool6});
- this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
- ultraToolbar1});
- this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
- buttonTool7.SharedProps.Caption = "关闭";
- buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
- buttonTool8.SharedProps.Caption = "查询计划";
- buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
- buttonTool9.SharedProps.Caption = "查询生产实绩";
- buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
- buttonTool10.SharedProps.Caption = "登记生产实绩";
- buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
- buttonTool11.SharedProps.Caption = "撤销生产实绩";
- buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
- buttonTool12.SharedProps.Caption = "导出";
- buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
- this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
- buttonTool7,
- buttonTool8,
- buttonTool9,
- buttonTool10,
- buttonTool11,
- buttonTool12});
- this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
- //
- // _panel1_Toolbars_Dock_Area_Right
- //
- this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
- this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
- this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1164, 24);
- this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
- this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 2);
- this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // _panel1_Toolbars_Dock_Area_Top
- //
- this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
- this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
- this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
- this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
- this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1164, 24);
- this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // _panel1_Toolbars_Dock_Area_Bottom
- //
- this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
- this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
- this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
- this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
- this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 26);
- this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
- this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1164, 0);
- this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // ultraGroupBox1
- //
- this.ultraGroupBox1.Controls.Add(this.ultraButton2);
- this.ultraGroupBox1.Controls.Add(this.cmb_ProcL);
- this.ultraGroupBox1.Controls.Add(this.chk_ProcLine);
- this.ultraGroupBox1.Controls.Add(this.ultraLabel10);
- this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
- this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
- this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
- this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
- this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
- this.ultraGroupBox1.Controls.Add(this.chk_PaiHao);
- this.ultraGroupBox1.Controls.Add(this.txt_COIL_NO_ID);
- this.ultraGroupBox1.Controls.Add(this.chk_PanPi);
- this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
- this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
- this.ultraGroupBox1.Controls.Add(this.txt_GangP);
- this.ultraGroupBox1.Controls.Add(this.chk_BanHao);
- this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
- this.ultraGroupBox1.Controls.Add(this.chk_RollHao);
- this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
- this.ultraGroupBox1.Controls.Add(this.chk_PactID);
- this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
- this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
- this.ultraGroupBox1.Controls.Add(this.Lab_To);
- this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
- this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
- this.ultraGroupBox1.Location = new System.Drawing.Point(0, 26);
- this.ultraGroupBox1.Name = "ultraGroupBox1";
- this.ultraGroupBox1.Size = new System.Drawing.Size(1164, 56);
- this.ultraGroupBox1.SupportThemes = false;
- this.ultraGroupBox1.TabIndex = 1;
- //
- // ultraButton2
- //
- this.ultraButton2.Location = new System.Drawing.Point(942, 5);
- this.ultraButton2.Name = "ultraButton2";
- this.ultraButton2.Size = new System.Drawing.Size(87, 31);
- this.ultraButton2.TabIndex = 646;
- this.ultraButton2.Text = "钢包号生成";
- this.ultraButton2.Click += new System.EventHandler(this.ultraButton2_Click);
- //
- // cmb_ProcL
- //
- this.cmb_ProcL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
- this.cmb_ProcL.DisplayMember = "";
- this.cmb_ProcL.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
- this.cmb_ProcL.Enabled = false;
- this.cmb_ProcL.FlatMode = true;
- this.cmb_ProcL.Location = new System.Drawing.Point(746, 30);
- this.cmb_ProcL.Name = "cmb_ProcL";
- this.cmb_ProcL.Size = new System.Drawing.Size(90, 19);
- this.cmb_ProcL.TabIndex = 260;
- this.cmb_ProcL.Tag = "";
- this.cmb_ProcL.ValueMember = "";
- //
- // chk_ProcLine
- //
- this.chk_ProcLine.Location = new System.Drawing.Point(690, 32);
- this.chk_ProcLine.Name = "chk_ProcLine";
- this.chk_ProcLine.Size = new System.Drawing.Size(64, 16);
- this.chk_ProcLine.TabIndex = 259;
- this.chk_ProcLine.TabStop = false;
- this.chk_ProcLine.Text = "开平线";
- this.chk_ProcLine.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
- //
- // ultraLabel10
- //
- this.ultraLabel10.BackColor = System.Drawing.SystemColors.Control;
- this.ultraLabel10.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.ultraLabel10.Location = new System.Drawing.Point(840, 32);
- this.ultraLabel10.Name = "ultraLabel10";
- this.ultraLabel10.Size = new System.Drawing.Size(96, 16);
- this.ultraLabel10.TabIndex = 258;
- this.ultraLabel10.Text = "成品已被入库";
- //
- // dte_EndTime
- //
- this.dte_EndTime.Enabled = false;
- this.dte_EndTime.FlatMode = true;
- this.dte_EndTime.Location = new System.Drawing.Point(68, 30);
- this.dte_EndTime.Name = "dte_EndTime";
- this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
- this.dte_EndTime.TabIndex = 257;
- //
- // dte_BeginTime
- //
- this.dte_BeginTime.Enabled = false;
- this.dte_BeginTime.FlatMode = true;
- this.dte_BeginTime.Location = new System.Drawing.Point(68, 6);
- this.dte_BeginTime.Name = "dte_BeginTime";
- this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
- this.dte_BeginTime.TabIndex = 256;
- //
- // txt_BNumber
- //
- this.txt_BNumber.AutoSize = true;
- this.txt_BNumber.Enabled = false;
- this.txt_BNumber.FlatMode = true;
- this.txt_BNumber.Location = new System.Drawing.Point(746, 6);
- this.txt_BNumber.Name = "txt_BNumber";
- this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
- this.txt_BNumber.TabIndex = 255;
- this.txt_BNumber.TabStop = false;
- this.txt_BNumber.Tag = "";
- //
- // chk_BNumber
- //
- this.chk_BNumber.Location = new System.Drawing.Point(690, 8);
- this.chk_BNumber.Name = "chk_BNumber";
- this.chk_BNumber.Size = new System.Drawing.Size(48, 16);
- this.chk_BNumber.TabIndex = 254;
- this.chk_BNumber.TabStop = false;
- this.chk_BNumber.Text = "批号";
- this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
- //
- // cmb_Sleen
- //
- this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
- this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
- this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
- this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
- this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
- this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
- this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
- this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
- this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.cmb_Sleen.DisplayMember = "";
- this.cmb_Sleen.Enabled = false;
- this.cmb_Sleen.FlatMode = true;
- this.cmb_Sleen.Location = new System.Drawing.Point(600, 30);
- this.cmb_Sleen.Name = "cmb_Sleen";
- this.cmb_Sleen.Size = new System.Drawing.Size(84, 19);
- this.cmb_Sleen.TabIndex = 253;
- this.cmb_Sleen.ValueMember = "";
- //
- // chk_PaiHao
- //
- this.chk_PaiHao.Location = new System.Drawing.Point(540, 32);
- this.chk_PaiHao.Name = "chk_PaiHao";
- this.chk_PaiHao.Size = new System.Drawing.Size(48, 16);
- this.chk_PaiHao.TabIndex = 252;
- this.chk_PaiHao.TabStop = false;
- this.chk_PaiHao.Text = "牌号";
- this.chk_PaiHao.CheckedChanged += new System.EventHandler(this.chk_PaiHao_CheckedChanged);
- //
- // txt_COIL_NO_ID
- //
- this.txt_COIL_NO_ID.AutoSize = true;
- this.txt_COIL_NO_ID.Enabled = false;
- this.txt_COIL_NO_ID.FlatMode = true;
- this.txt_COIL_NO_ID.Location = new System.Drawing.Point(430, 30);
- this.txt_COIL_NO_ID.Name = "txt_COIL_NO_ID";
- this.txt_COIL_NO_ID.Size = new System.Drawing.Size(104, 19);
- this.txt_COIL_NO_ID.TabIndex = 251;
- this.txt_COIL_NO_ID.TabStop = false;
- this.txt_COIL_NO_ID.Tag = "";
- //
- // chk_PanPi
- //
- this.chk_PanPi.Location = new System.Drawing.Point(358, 32);
- this.chk_PanPi.Name = "chk_PanPi";
- this.chk_PanPi.Size = new System.Drawing.Size(72, 16);
- this.chk_PanPi.TabIndex = 250;
- this.chk_PanPi.TabStop = false;
- this.chk_PanPi.Text = "卷板批号";
- this.chk_PanPi.CheckedChanged += new System.EventHandler(this.chk_PanPi_CheckedChanged);
- //
- // chk_SelectAll
- //
- this.chk_SelectAll.FlatMode = true;
- this.chk_SelectAll.Location = new System.Drawing.Point(886, 8);
- this.chk_SelectAll.Name = "chk_SelectAll";
- this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
- this.chk_SelectAll.TabIndex = 249;
- this.chk_SelectAll.Text = "全选";
- this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
- //
- // chk_AllowFilter
- //
- this.chk_AllowFilter.Location = new System.Drawing.Point(836, 8);
- this.chk_AllowFilter.Name = "chk_AllowFilter";
- this.chk_AllowFilter.Size = new System.Drawing.Size(48, 16);
- this.chk_AllowFilter.TabIndex = 248;
- this.chk_AllowFilter.TabStop = false;
- this.chk_AllowFilter.Text = "过滤";
- this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
- //
- // txt_GangP
- //
- this.txt_GangP.AutoSize = true;
- this.txt_GangP.Enabled = false;
- this.txt_GangP.FlatMode = true;
- this.txt_GangP.Location = new System.Drawing.Point(600, 6);
- this.txt_GangP.Name = "txt_GangP";
- this.txt_GangP.Size = new System.Drawing.Size(86, 19);
- this.txt_GangP.TabIndex = 243;
- this.txt_GangP.TabStop = false;
- this.txt_GangP.Tag = "";
- //
- // chk_BanHao
- //
- this.chk_BanHao.Location = new System.Drawing.Point(540, 8);
- this.chk_BanHao.Name = "chk_BanHao";
- this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
- this.chk_BanHao.TabIndex = 242;
- this.chk_BanHao.TabStop = false;
- this.chk_BanHao.Text = "板坯号";
- this.chk_BanHao.CheckedChanged += new System.EventHandler(this.chk_BanHao_CheckedChanged);
- //
- // txt_RollHao
- //
- this.txt_RollHao.AutoSize = true;
- this.txt_RollHao.Enabled = false;
- this.txt_RollHao.FlatMode = true;
- this.txt_RollHao.Location = new System.Drawing.Point(430, 6);
- this.txt_RollHao.Name = "txt_RollHao";
- this.txt_RollHao.Size = new System.Drawing.Size(104, 19);
- this.txt_RollHao.TabIndex = 241;
- this.txt_RollHao.TabStop = false;
- this.txt_RollHao.Tag = "";
- //
- // chk_RollHao
- //
- this.chk_RollHao.Location = new System.Drawing.Point(358, 10);
- this.chk_RollHao.Name = "chk_RollHao";
- this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
- this.chk_RollHao.TabIndex = 240;
- this.chk_RollHao.TabStop = false;
- this.chk_RollHao.Text = "钢卷号";
- this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
- //
- // txt_PlanID
- //
- this.txt_PlanID.AutoSize = true;
- this.txt_PlanID.Enabled = false;
- this.txt_PlanID.FlatMode = true;
- this.txt_PlanID.Location = new System.Drawing.Point(248, 30);
- this.txt_PlanID.Name = "txt_PlanID";
- this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
- this.txt_PlanID.TabIndex = 239;
- this.txt_PlanID.TabStop = false;
- this.txt_PlanID.Tag = "";
- //
- // chk_PactID
- //
- this.chk_PactID.Location = new System.Drawing.Point(190, 34);
- this.chk_PactID.Name = "chk_PactID";
- this.chk_PactID.Size = new System.Drawing.Size(60, 16);
- this.chk_PactID.TabIndex = 238;
- this.chk_PactID.TabStop = false;
- this.chk_PactID.Text = "合同号";
- this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
- //
- // txt_OrderNO
- //
- this.txt_OrderNO.AutoSize = true;
- this.txt_OrderNO.Enabled = false;
- this.txt_OrderNO.FlatMode = true;
- this.txt_OrderNO.Location = new System.Drawing.Point(248, 6);
- this.txt_OrderNO.Name = "txt_OrderNO";
- this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
- this.txt_OrderNO.TabIndex = 237;
- this.txt_OrderNO.TabStop = false;
- this.txt_OrderNO.Tag = "";
- //
- // chk_OrderNO
- //
- this.chk_OrderNO.Location = new System.Drawing.Point(190, 10);
- this.chk_OrderNO.Name = "chk_OrderNO";
- this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
- this.chk_OrderNO.TabIndex = 236;
- this.chk_OrderNO.TabStop = false;
- this.chk_OrderNO.Text = "订单号";
- this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
- //
- // Lab_To
- //
- this.Lab_To.FlatMode = true;
- this.Lab_To.Location = new System.Drawing.Point(48, 32);
- this.Lab_To.Name = "Lab_To";
- this.Lab_To.Size = new System.Drawing.Size(17, 16);
- this.Lab_To.TabIndex = 235;
- this.Lab_To.Text = "到";
- //
- // chk_CollectTime
- //
- this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
- this.chk_CollectTime.Location = new System.Drawing.Point(20, 8);
- this.chk_CollectTime.Name = "chk_CollectTime";
- this.chk_CollectTime.Size = new System.Drawing.Size(48, 16);
- this.chk_CollectTime.TabIndex = 234;
- this.chk_CollectTime.TabStop = false;
- this.chk_CollectTime.Text = "时间";
- this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
- //
- // ultraExpandableGroupBox1
- //
- this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
- this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(918, 104);
- this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 522);
- this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
- this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1164, 104);
- this.ultraExpandableGroupBox1.SupportThemes = false;
- this.ultraExpandableGroupBox1.TabIndex = 1;
- this.ultraExpandableGroupBox1.Text = "编辑区";
- //
- // ultraExpandableGroupBoxPanel1
- //
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_Buress);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel14);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Count);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_XJZL);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel13);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraButton1);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.chk_fjh);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ProcLine);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel11);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Ramark);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel9);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.btn_Prod);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassStrem);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassOredre);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel6);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel3);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_WEIGHT);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Width);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Length);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.lab_cd);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Ply);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel12);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel5);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Plact);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Sleen);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GangHao);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_End_Y);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Begin_Y);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Top_Y);
- this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
- this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
- this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1158, 82);
- this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
- //
- // txt_Count
- //
- this.txt_Count.AutoSize = true;
- this.txt_Count.Location = new System.Drawing.Point(591, 3);
- this.txt_Count.Name = "txt_Count";
- this.txt_Count.Size = new System.Drawing.Size(112, 21);
- this.txt_Count.TabIndex = 654;
- this.txt_Count.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Count.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // txt_XJZL
- //
- this.txt_XJZL.FlatMode = true;
- this.txt_XJZL.Location = new System.Drawing.Point(591, 49);
- this.txt_XJZL.MaskInput = "nnnnn.nnn";
- this.txt_XJZL.Name = "txt_XJZL";
- this.txt_XJZL.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
- this.txt_XJZL.PromptChar = ' ';
- this.txt_XJZL.Size = new System.Drawing.Size(112, 19);
- this.txt_XJZL.TabIndex = 652;
- //
- // ultraLabel13
- //
- this.ultraLabel13.Location = new System.Drawing.Point(538, 53);
- this.ultraLabel13.Name = "ultraLabel13";
- this.ultraLabel13.Size = new System.Drawing.Size(54, 16);
- this.ultraLabel13.TabIndex = 653;
- this.ultraLabel13.Text = "小件重量";
- //
- // ultraButton1
- //
- this.ultraButton1.Location = new System.Drawing.Point(857, 0);
- this.ultraButton1.Name = "ultraButton1";
- this.ultraButton1.Size = new System.Drawing.Size(76, 24);
- this.ultraButton1.TabIndex = 651;
- this.ultraButton1.Text = "单卷撤消";
- this.ultraButton1.Visible = false;
- this.ultraButton1.Click += new System.EventHandler(this.ultraButton1_Click);
- //
- // chk_fjh
- //
- this.chk_fjh.Location = new System.Drawing.Point(814, 57);
- this.chk_fjh.Name = "chk_fjh";
- this.chk_fjh.Size = new System.Drawing.Size(90, 16);
- this.chk_fjh.TabIndex = 650;
- this.chk_fjh.TabStop = false;
- this.chk_fjh.Text = "是否非计划";
- this.chk_fjh.Visible = false;
- //
- // ultraLabel11
- //
- this.ultraLabel11.Location = new System.Drawing.Point(707, 33);
- this.ultraLabel11.Name = "ultraLabel11";
- this.ultraLabel11.Size = new System.Drawing.Size(42, 16);
- this.ultraLabel11.TabIndex = 648;
- this.ultraLabel11.Text = "开平线";
- //
- // txt_Ramark
- //
- this.txt_Ramark.AutoSize = true;
- this.txt_Ramark.Location = new System.Drawing.Point(751, 56);
- this.txt_Ramark.Multiline = true;
- this.txt_Ramark.Name = "txt_Ramark";
- this.txt_Ramark.Size = new System.Drawing.Size(182, 29);
- this.txt_Ramark.TabIndex = 647;
- //
- // ultraLabel9
- //
- this.ultraLabel9.Location = new System.Drawing.Point(707, 54);
- this.ultraLabel9.Name = "ultraLabel9";
- this.ultraLabel9.Size = new System.Drawing.Size(50, 18);
- this.ultraLabel9.TabIndex = 646;
- this.ultraLabel9.Text = "备注";
- //
- // btn_Prod
- //
- this.btn_Prod.Location = new System.Drawing.Point(746, 1);
- this.btn_Prod.Name = "btn_Prod";
- this.btn_Prod.Size = new System.Drawing.Size(105, 24);
- this.btn_Prod.TabIndex = 645;
- this.btn_Prod.Text = "单卷已生产完成";
- this.btn_Prod.Click += new System.EventHandler(this.btn_Prod_Click);
- //
- // ultraLabel6
- //
- this.ultraLabel6.Location = new System.Drawing.Point(242, 56);
- this.ultraLabel6.Name = "ultraLabel6";
- this.ultraLabel6.Size = new System.Drawing.Size(58, 16);
- this.ultraLabel6.TabIndex = 644;
- this.ultraLabel6.Text = "生产班组";
- //
- // ultraLabel3
- //
- this.ultraLabel3.Location = new System.Drawing.Point(242, 32);
- this.ultraLabel3.Name = "ultraLabel3";
- this.ultraLabel3.Size = new System.Drawing.Size(58, 16);
- this.ultraLabel3.TabIndex = 643;
- this.ultraLabel3.Text = "生产班次";
- //
- // ultraLabel8
- //
- this.ultraLabel8.Location = new System.Drawing.Point(559, 8);
- this.ultraLabel8.Name = "ultraLabel8";
- this.ultraLabel8.Size = new System.Drawing.Size(29, 16);
- this.ultraLabel8.TabIndex = 641;
- this.ultraLabel8.Text = "数量";
- //
- // txt_WEIGHT
- //
- this.txt_WEIGHT.FlatMode = true;
- this.txt_WEIGHT.Location = new System.Drawing.Point(591, 28);
- this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
- this.txt_WEIGHT.Name = "txt_WEIGHT";
- this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
- this.txt_WEIGHT.PromptChar = ' ';
- this.txt_WEIGHT.Size = new System.Drawing.Size(112, 19);
- this.txt_WEIGHT.TabIndex = 13;
- this.txt_WEIGHT.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // ultraLabel7
- //
- this.ultraLabel7.Location = new System.Drawing.Point(538, 30);
- this.ultraLabel7.Name = "ultraLabel7";
- this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
- this.ultraLabel7.TabIndex = 639;
- this.ultraLabel7.Text = "理论重量";
- //
- // txt_Width
- //
- this.txt_Width.FlatMode = true;
- this.txt_Width.Location = new System.Drawing.Point(422, 28);
- this.txt_Width.MaskInput = "nnnn.nn";
- this.txt_Width.Name = "txt_Width";
- this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
- this.txt_Width.PromptChar = ' ';
- this.txt_Width.Size = new System.Drawing.Size(112, 19);
- this.txt_Width.TabIndex = 10;
- this.txt_Width.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // txt_Length
- //
- this.txt_Length.FlatMode = true;
- this.txt_Length.Location = new System.Drawing.Point(422, 50);
- this.txt_Length.MaskInput = "nnnnnnn";
- this.txt_Length.Name = "txt_Length";
- this.txt_Length.PromptChar = ' ';
- this.txt_Length.Size = new System.Drawing.Size(112, 19);
- this.txt_Length.TabIndex = 11;
- this.txt_Length.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Length_KeyDown);
- //
- // lab_cd
- //
- this.lab_cd.Location = new System.Drawing.Point(392, 54);
- this.lab_cd.Name = "lab_cd";
- this.lab_cd.Size = new System.Drawing.Size(29, 16);
- this.lab_cd.TabIndex = 638;
- this.lab_cd.Text = "长度";
- //
- // ultraLabel17
- //
- this.ultraLabel17.Location = new System.Drawing.Point(392, 30);
- this.ultraLabel17.Name = "ultraLabel17";
- this.ultraLabel17.Size = new System.Drawing.Size(29, 16);
- this.ultraLabel17.TabIndex = 637;
- this.ultraLabel17.Text = "宽度";
- //
- // txt_Ply
- //
- this.txt_Ply.FlatMode = true;
- this.txt_Ply.Location = new System.Drawing.Point(422, 6);
- this.txt_Ply.MaskInput = "nnn.nnn";
- this.txt_Ply.Name = "txt_Ply";
- this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
- this.txt_Ply.PromptChar = ' ';
- this.txt_Ply.Size = new System.Drawing.Size(112, 19);
- this.txt_Ply.TabIndex = 9;
- this.txt_Ply.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // ultraLabel12
- //
- this.ultraLabel12.Location = new System.Drawing.Point(392, 8);
- this.ultraLabel12.Name = "ultraLabel12";
- this.ultraLabel12.Size = new System.Drawing.Size(29, 16);
- this.ultraLabel12.TabIndex = 633;
- this.ultraLabel12.Text = "厚度";
- //
- // ultraLabel5
- //
- this.ultraLabel5.Location = new System.Drawing.Point(24, 54);
- this.ultraLabel5.Name = "ultraLabel5";
- this.ultraLabel5.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel5.TabIndex = 629;
- this.ultraLabel5.Text = "合同号";
- //
- // txt_Plact
- //
- this.txt_Plact.AutoSize = true;
- this.txt_Plact.Location = new System.Drawing.Point(80, 52);
- this.txt_Plact.Name = "txt_Plact";
- this.txt_Plact.Size = new System.Drawing.Size(156, 21);
- this.txt_Plact.TabIndex = 5;
- this.txt_Plact.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Plact.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // ultraLabel4
- //
- this.ultraLabel4.Location = new System.Drawing.Point(242, 8);
- this.ultraLabel4.Name = "ultraLabel4";
- this.ultraLabel4.Size = new System.Drawing.Size(30, 16);
- this.ultraLabel4.TabIndex = 627;
- this.ultraLabel4.Text = "牌号";
- //
- // txt_Sleen
- //
- this.txt_Sleen.AutoSize = true;
- this.txt_Sleen.Location = new System.Drawing.Point(274, 4);
- this.txt_Sleen.Name = "txt_Sleen";
- this.txt_Sleen.Size = new System.Drawing.Size(112, 21);
- this.txt_Sleen.TabIndex = 6;
- this.txt_Sleen.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Sleen.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // ultraLabel2
- //
- this.ultraLabel2.Location = new System.Drawing.Point(24, 32);
- this.ultraLabel2.Name = "ultraLabel2";
- this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel2.TabIndex = 623;
- this.ultraLabel2.Text = "钢卷号";
- //
- // txt_GangHao
- //
- this.txt_GangHao.AutoSize = true;
- this.txt_GangHao.Location = new System.Drawing.Point(80, 28);
- this.txt_GangHao.Name = "txt_GangHao";
- this.txt_GangHao.Size = new System.Drawing.Size(156, 21);
- this.txt_GangHao.TabIndex = 4;
- this.txt_GangHao.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_GangHao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // ultraLabel1
- //
- this.ultraLabel1.Location = new System.Drawing.Point(24, 8);
- this.ultraLabel1.Name = "ultraLabel1";
- this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel1.TabIndex = 621;
- this.ultraLabel1.Text = "卷板包号";
- //
- // txt_Scid_End_Y
- //
- this.txt_Scid_End_Y.AutoSize = true;
- this.txt_Scid_End_Y.Location = new System.Drawing.Point(200, 4);
- this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
- this.txt_Scid_End_Y.Size = new System.Drawing.Size(36, 21);
- this.txt_Scid_End_Y.TabIndex = 3;
- this.txt_Scid_End_Y.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Scid_End_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // txt_Scid_Begin_Y
- //
- this.txt_Scid_Begin_Y.AutoSize = true;
- this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(120, 4);
- this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
- this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(80, 21);
- this.txt_Scid_Begin_Y.TabIndex = 2;
- this.txt_Scid_Begin_Y.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Scid_Begin_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // txt_Scid_Top_Y
- //
- this.txt_Scid_Top_Y.AutoSize = true;
- this.txt_Scid_Top_Y.Location = new System.Drawing.Point(80, 4);
- this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
- this.txt_Scid_Top_Y.Size = new System.Drawing.Size(41, 21);
- this.txt_Scid_Top_Y.TabIndex = 1;
- this.txt_Scid_Top_Y.Enter += new System.EventHandler(this.txt_Count_Enter);
- this.txt_Scid_Top_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
- //
- // ultraExpandableGroupBox2
- //
- this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
- this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(944, 262);
- this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 272);
- this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
- this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(1164, 250);
- this.ultraExpandableGroupBox2.SupportThemes = false;
- this.ultraExpandableGroupBox2.TabIndex = 3;
- this.ultraExpandableGroupBox2.Text = "生产实绩信息";
- //
- // ultraExpandableGroupBoxPanel2
- //
- this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_Press);
- this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(3, 19);
- this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
- this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(1158, 228);
- this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
- //
- // gb_Press
- //
- ultraGridColumn1.Header.Caption = "出库单号";
- ultraGridColumn1.Header.VisiblePosition = 0;
- ultraGridColumn1.Hidden = true;
- ultraGridColumn1.RowLayoutColumnInfo.OriginX = 26;
- ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
- ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn2.Header.Caption = "钢卷号";
- ultraGridColumn2.Header.VisiblePosition = 1;
- ultraGridColumn2.RowLayoutColumnInfo.OriginX = 3;
- ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
- ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn3.Header.Caption = "板坯号";
- ultraGridColumn3.Header.VisiblePosition = 2;
- ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4;
- ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
- ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn4.Header.Caption = "合同号";
- ultraGridColumn4.Header.VisiblePosition = 3;
- ultraGridColumn4.RowLayoutColumnInfo.OriginX = 8;
- ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
- ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn5.Header.Caption = "订单号";
- ultraGridColumn5.Header.VisiblePosition = 4;
- ultraGridColumn5.RowLayoutColumnInfo.OriginX = 11;
- ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
- ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn6.Header.Caption = "交货期";
- ultraGridColumn6.Header.VisiblePosition = 5;
- ultraGridColumn6.RowLayoutColumnInfo.OriginX = 25;
- ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn7.Header.Caption = "宽度";
- ultraGridColumn7.Header.VisiblePosition = 6;
- ultraGridColumn7.RowLayoutColumnInfo.OriginX = 17;
- ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
- ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn8.Header.Caption = "长度";
- ultraGridColumn8.Header.VisiblePosition = 7;
- ultraGridColumn8.RowLayoutColumnInfo.OriginX = 18;
- ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
- ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn9.Header.Caption = "数量";
- ultraGridColumn9.Header.VisiblePosition = 8;
- ultraGridColumn9.RowLayoutColumnInfo.OriginX = 20;
- ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
- ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn10.Header.Caption = "重量";
- ultraGridColumn10.Header.VisiblePosition = 9;
- ultraGridColumn10.RowLayoutColumnInfo.OriginX = 19;
- ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 0);
- ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn11.Header.Caption = "牌号";
- ultraGridColumn11.Header.VisiblePosition = 10;
- ultraGridColumn11.RowLayoutColumnInfo.OriginX = 13;
- ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
- ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn12.Header.Caption = "综合判定";
- ultraGridColumn12.Header.VisiblePosition = 11;
- ultraGridColumn12.RowLayoutColumnInfo.OriginX = 22;
- ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
- ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn13.Header.Caption = "特记事项";
- ultraGridColumn13.Header.VisiblePosition = 12;
- ultraGridColumn13.RowLayoutColumnInfo.OriginX = 24;
- ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn14.Header.Caption = "车辆号";
- ultraGridColumn14.Header.VisiblePosition = 13;
- ultraGridColumn14.Hidden = true;
- ultraGridColumn14.RowLayoutColumnInfo.OriginX = 23;
- ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
- ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn15.Header.Caption = "质保书编号";
- ultraGridColumn15.Header.VisiblePosition = 14;
- ultraGridColumn15.RowLayoutColumnInfo.OriginX = 23;
- ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
- ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn16.Header.Caption = "垛位";
- ultraGridColumn16.Header.VisiblePosition = 15;
- ultraGridColumn16.RowLayoutColumnInfo.OriginX = 12;
- ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
- ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn17.Header.Caption = "登记人";
- ultraGridColumn17.Header.VisiblePosition = 16;
- ultraGridColumn17.RowLayoutColumnInfo.OriginX = 30;
- ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn18.Header.Caption = "登记时间";
- ultraGridColumn18.Header.VisiblePosition = 17;
- ultraGridColumn18.RowLayoutColumnInfo.OriginX = 31;
- ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn19.Header.Caption = "生产班次";
- ultraGridColumn19.Header.VisiblePosition = 18;
- ultraGridColumn19.RowLayoutColumnInfo.OriginX = 26;
- ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
- ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn20.Header.Caption = "生产班组";
- ultraGridColumn20.Header.VisiblePosition = 19;
- ultraGridColumn20.RowLayoutColumnInfo.OriginX = 27;
- ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
- ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn21.Header.Caption = "工单号";
- ultraGridColumn21.Header.VisiblePosition = 20;
- ultraGridColumn21.RowLayoutColumnInfo.OriginX = 6;
- ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
- ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn22.Header.Caption = "卷板包号";
- ultraGridColumn22.Header.VisiblePosition = 22;
- ultraGridColumn22.RowLayoutColumnInfo.OriginX = 1;
- ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(136, 0);
- ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn23.Header.Caption = "生产时间";
- ultraGridColumn23.Header.VisiblePosition = 21;
- ultraGridColumn23.RowLayoutColumnInfo.OriginX = 29;
- ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
- ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn24.Header.VisiblePosition = 23;
- ultraGridColumn24.Hidden = true;
- ultraGridColumn24.RowLayoutColumnInfo.OriginX = 29;
- ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn25.Header.Caption = "";
- ultraGridColumn25.Header.VisiblePosition = 25;
- ultraGridColumn25.RowLayoutColumnInfo.OriginX = 0;
- ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 0);
- ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn25.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
- ultraGridColumn26.Header.Caption = "厚度";
- ultraGridColumn26.Header.VisiblePosition = 27;
- ultraGridColumn26.RowLayoutColumnInfo.OriginX = 16;
- ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
- ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn27.Header.Caption = "卷板总包号";
- ultraGridColumn27.Header.VisiblePosition = 29;
- ultraGridColumn27.Hidden = true;
- ultraGridColumn27.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
- ultraGridColumn27.RowLayoutColumnInfo.OriginX = 1;
- ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(125, 0);
- ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn28.Header.Caption = "开平线";
- ultraGridColumn28.Header.VisiblePosition = 30;
- ultraGridColumn28.RowLayoutColumnInfo.OriginX = 9;
- ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
- ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn29.Header.Caption = "订单厚度";
- ultraGridColumn29.Header.VisiblePosition = 24;
- ultraGridColumn29.RowLayoutColumnInfo.OriginX = 14;
- ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
- ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn30.Header.Caption = "订单宽度";
- ultraGridColumn30.Header.VisiblePosition = 26;
- ultraGridColumn30.RowLayoutColumnInfo.OriginX = 15;
- ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
- ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn31.Header.Caption = "订单类型";
- ultraGridColumn31.Header.VisiblePosition = 28;
- ultraGridColumn31.RowLayoutColumnInfo.OriginX = 21;
- ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
- ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn32.Header.Caption = "是否非计划";
- ultraGridColumn32.Header.VisiblePosition = 31;
- ultraGridColumn32.RowLayoutColumnInfo.OriginX = 28;
- ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn33.Header.Caption = "工艺类型";
- ultraGridColumn33.Header.VisiblePosition = 32;
- ultraGridColumn33.RowLayoutColumnInfo.OriginX = 10;
- ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn34.Header.Caption = "炉号";
- ultraGridColumn34.Header.VisiblePosition = 33;
- ultraGridColumn34.RowLayoutColumnInfo.OriginX = 5;
- ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
- ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn35.Header.Caption = "批号";
- ultraGridColumn35.Header.VisiblePosition = 34;
- ultraGridColumn35.RowLayoutColumnInfo.OriginX = 2;
- ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
- ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn36.Header.Caption = "执行标准";
- ultraGridColumn36.Header.VisiblePosition = 35;
- ultraGridColumn36.RowLayoutColumnInfo.OriginX = 7;
- ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
- ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
- ultraGridBand1.Columns.AddRange(new object[] {
- ultraGridColumn1,
- ultraGridColumn2,
- ultraGridColumn3,
- ultraGridColumn4,
- ultraGridColumn5,
- ultraGridColumn6,
- ultraGridColumn7,
- ultraGridColumn8,
- ultraGridColumn9,
- ultraGridColumn10,
- ultraGridColumn11,
- ultraGridColumn12,
- ultraGridColumn13,
- ultraGridColumn14,
- ultraGridColumn15,
- ultraGridColumn16,
- ultraGridColumn17,
- ultraGridColumn18,
- ultraGridColumn19,
- ultraGridColumn20,
- ultraGridColumn21,
- ultraGridColumn22,
- ultraGridColumn23,
- ultraGridColumn24,
- ultraGridColumn25,
- ultraGridColumn26,
- ultraGridColumn27,
- ultraGridColumn28,
- ultraGridColumn29,
- ultraGridColumn30,
- ultraGridColumn31,
- ultraGridColumn32,
- ultraGridColumn33,
- ultraGridColumn34,
- ultraGridColumn35,
- ultraGridColumn36});
- ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
- summarySettings1.DisplayFormat = "{0}块";
- summarySettings1.GroupBySummaryValueAppearance = appearance1;
- summarySettings2.DisplayFormat = "{0}吨";
- summarySettings2.GroupBySummaryValueAppearance = appearance2;
- ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
- summarySettings1,
- summarySettings2});
- ultraGridBand1.UseRowLayout = true;
- this.gb_Press.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
- this.gb_Press.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.gb_Press.DisplayLayout.GroupByBox.Hidden = true;
- this.gb_Press.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
- this.gb_Press.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.gb_Press.DisplayLayout.Override.CellPadding = 0;
- this.gb_Press.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
- this.gb_Press.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.gb_Press.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
- this.gb_Press.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
- this.gb_Press.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
- this.gb_Press.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
- this.gb_Press.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
- this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.gb_Press.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.gb_Press.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.gb_Press.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.gb_Press.Dock = System.Windows.Forms.DockStyle.Fill;
- this.gb_Press.Location = new System.Drawing.Point(0, 0);
- this.gb_Press.Name = "gb_Press";
- this.gb_Press.Size = new System.Drawing.Size(1158, 228);
- this.gb_Press.TabIndex = 12;
- this.gb_Press.Text = "ultraGrid1";
- this.gb_Press.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Press_CellChange);
- //
- // ultraGroupBox2
- //
- this.ultraGroupBox2.Controls.Add(this.gb_PlanState);
- this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraGroupBox2.Location = new System.Drawing.Point(0, 82);
- this.ultraGroupBox2.Name = "ultraGroupBox2";
- this.ultraGroupBox2.Size = new System.Drawing.Size(1164, 190);
- this.ultraGroupBox2.SupportThemes = false;
- this.ultraGroupBox2.TabIndex = 4;
- this.ultraGroupBox2.Text = "计划信息";
- //
- // gb_PlanState
- //
- this.gb_PlanState.DataMember = "XF-1";
- this.gb_PlanState.DataSource = this.ds_All;
- ultraGridColumn37.Header.VisiblePosition = 0;
- ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(42, 0);
- ultraGridColumn37.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
- ultraGridColumn38.Header.VisiblePosition = 1;
- ultraGridColumn39.Header.VisiblePosition = 2;
- ultraGridColumn40.Header.VisiblePosition = 3;
- ultraGridColumn40.Hidden = true;
- ultraGridColumn41.Header.VisiblePosition = 4;
- ultraGridColumn41.Hidden = true;
- ultraGridColumn42.Header.VisiblePosition = 5;
- ultraGridBand2.Columns.AddRange(new object[] {
- ultraGridColumn37,
- ultraGridColumn38,
- ultraGridColumn39,
- ultraGridColumn40,
- ultraGridColumn41,
- ultraGridColumn42});
- ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
- ultraGridBand2.UseRowLayout = true;
- ultraGridColumn43.Header.VisiblePosition = 0;
- ultraGridColumn43.RowLayoutColumnInfo.OriginX = 2;
- ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn43.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn43.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn44.Header.VisiblePosition = 2;
- ultraGridColumn44.RowLayoutColumnInfo.OriginX = 4;
- ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn44.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn44.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn44.Width = 134;
- ultraGridColumn45.Header.VisiblePosition = 3;
- ultraGridColumn45.RowLayoutColumnInfo.OriginX = 6;
- ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn45.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn45.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn46.Header.VisiblePosition = 4;
- ultraGridColumn46.RowLayoutColumnInfo.OriginX = 8;
- ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn46.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn46.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn47.Header.VisiblePosition = 5;
- ultraGridColumn47.RowLayoutColumnInfo.OriginX = 10;
- ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn47.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn47.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn48.Header.VisiblePosition = 6;
- ultraGridColumn48.RowLayoutColumnInfo.OriginX = 12;
- ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn48.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn48.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn49.Header.VisiblePosition = 7;
- ultraGridColumn49.RowLayoutColumnInfo.OriginX = 14;
- ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn49.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn49.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn50.Header.VisiblePosition = 8;
- ultraGridColumn50.RowLayoutColumnInfo.OriginX = 16;
- ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn50.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn50.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn51.Header.VisiblePosition = 9;
- ultraGridColumn51.RowLayoutColumnInfo.OriginX = 18;
- ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn51.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn51.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn52.Header.VisiblePosition = 10;
- ultraGridColumn52.RowLayoutColumnInfo.OriginX = 20;
- ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn52.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn52.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn53.Header.VisiblePosition = 11;
- ultraGridColumn53.RowLayoutColumnInfo.OriginX = 22;
- ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn53.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn53.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn54.Header.VisiblePosition = 12;
- ultraGridColumn54.Hidden = true;
- ultraGridColumn55.Header.VisiblePosition = 13;
- ultraGridColumn55.Hidden = true;
- ultraGridColumn56.DataType = typeof(bool);
- ultraGridColumn56.Header.Caption = "";
- ultraGridColumn56.Header.VisiblePosition = 1;
- ultraGridColumn56.RowLayoutColumnInfo.OriginX = 0;
- ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn56.RowLayoutColumnInfo.SpanX = 2;
- ultraGridColumn56.RowLayoutColumnInfo.SpanY = 2;
- ultraGridColumn56.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
- ultraGridBand3.Columns.AddRange(new object[] {
- ultraGridColumn43,
- ultraGridColumn44,
- ultraGridColumn45,
- ultraGridColumn46,
- ultraGridColumn47,
- ultraGridColumn48,
- ultraGridColumn49,
- ultraGridColumn50,
- ultraGridColumn51,
- ultraGridColumn52,
- ultraGridColumn53,
- ultraGridColumn54,
- ultraGridColumn55,
- ultraGridColumn56});
- ultraGridBand3.UseRowLayout = true;
- this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
- this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
- this.gb_PlanState.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.gb_PlanState.DisplayLayout.GroupByBox.Hidden = true;
- this.gb_PlanState.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
- this.gb_PlanState.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.TemplateOnBottom;
- this.gb_PlanState.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.gb_PlanState.DisplayLayout.Override.CellPadding = 0;
- this.gb_PlanState.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
- this.gb_PlanState.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
- this.gb_PlanState.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
- this.gb_PlanState.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
- this.gb_PlanState.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
- this.gb_PlanState.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
- this.gb_PlanState.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.gb_PlanState.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.gb_PlanState.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.gb_PlanState.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.gb_PlanState.Dock = System.Windows.Forms.DockStyle.Fill;
- this.gb_PlanState.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.gb_PlanState.Location = new System.Drawing.Point(3, 18);
- this.gb_PlanState.Name = "gb_PlanState";
- this.gb_PlanState.Size = new System.Drawing.Size(1158, 169);
- this.gb_PlanState.TabIndex = 5;
- this.gb_PlanState.TabStop = false;
- this.gb_PlanState.Text = "中厚板厂转运板加信息";
- this.gb_PlanState.DoubleClickCell += new Infragistics.Win.UltraWinGrid.DoubleClickCellEventHandler(this.gb_PlanState_DoubleClickCell);
- //
- // ds_All
- //
- this.ds_All.DataSetName = "NewDataSet";
- this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN");
- this.ds_All.Relations.AddRange(new System.Data.DataRelation[] {
- new System.Data.DataRelation("Relation1", "XF-1", "XF-2", new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID",
- "ORD_NO",
- "STL_GRD"}, new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID",
- "ORD_NO",
- "STL_GRD"}, false)});
- this.ds_All.Tables.AddRange(new System.Data.DataTable[] {
- this.X,
- this.dataTable1});
- //
- // X
- //
- this.X.Columns.AddRange(new System.Data.DataColumn[] {
- this.dataColumn1,
- this.dataColumn2,
- this.dataColumn3,
- this.dataColumn14,
- this.dataColumn19});
- this.X.Constraints.AddRange(new System.Data.Constraint[] {
- new System.Data.UniqueConstraint("Constraint1", new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID"}, false),
- new System.Data.UniqueConstraint("Constraint2", new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID",
- "ORD_NO",
- "STL_GRD"}, false)});
- this.X.TableName = "XF-1";
- //
- // dataColumn1
- //
- this.dataColumn1.Caption = "";
- this.dataColumn1.ColumnName = "FLAG";
- //
- // dataColumn2
- //
- this.dataColumn2.Caption = "钢卷号";
- this.dataColumn2.ColumnName = "OLD_SAMPL_NO";
- //
- // dataColumn3
- //
- this.dataColumn3.Caption = "工单号";
- this.dataColumn3.ColumnName = "WORKORDER_ID";
- //
- // dataColumn14
- //
- this.dataColumn14.Caption = "合同号";
- this.dataColumn14.ColumnName = "ORD_NO";
- //
- // dataColumn19
- //
- this.dataColumn19.Caption = "牌号";
- this.dataColumn19.ColumnName = "STL_GRD";
- //
- // dataTable1
- //
- this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {
- this.dataColumn5,
- this.dataColumn6,
- this.dataColumn7,
- this.dataColumn8,
- this.dataColumn9,
- this.dataColumn10,
- this.dataColumn11,
- this.dataColumn12,
- this.dataColumn13,
- this.dataColumn15,
- this.dataColumn16,
- this.dataColumn17,
- this.dataColumn18});
- this.dataTable1.Constraints.AddRange(new System.Data.Constraint[] {
- new System.Data.ForeignKeyConstraint("Relation1", "XF-1", new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID"}, new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID"}, System.Data.AcceptRejectRule.None, System.Data.Rule.Cascade, System.Data.Rule.Cascade),
- new System.Data.ForeignKeyConstraint("Constraint1", "XF-1", new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID",
- "ORD_NO",
- "STL_GRD"}, new string[] {
- "OLD_SAMPL_NO",
- "WORKORDER_ID",
- "ORD_NO",
- "STL_GRD"}, System.Data.AcceptRejectRule.None, System.Data.Rule.Cascade, System.Data.Rule.Cascade)});
- this.dataTable1.TableName = "XF-2";
- //
- // dataColumn5
- //
- this.dataColumn5.Caption = "钢卷号";
- this.dataColumn5.ColumnName = "OLD_SAMPL_NO";
- //
- // dataColumn6
- //
- this.dataColumn6.Caption = "钢包号";
- this.dataColumn6.ColumnName = "COIL_NO_ID";
- //
- // dataColumn7
- //
- this.dataColumn7.Caption = "合同号";
- this.dataColumn7.ColumnName = "ORD_NO";
- //
- // dataColumn8
- //
- this.dataColumn8.Caption = "牌号";
- this.dataColumn8.ColumnName = "STL_GRD";
- //
- // dataColumn9
- //
- this.dataColumn9.Caption = "厚度";
- this.dataColumn9.ColumnName = "COIL_THK";
- this.dataColumn9.DataType = typeof(decimal);
- //
- // dataColumn10
- //
- this.dataColumn10.Caption = "宽度";
- this.dataColumn10.ColumnName = "COIL_WTH";
- this.dataColumn10.DataType = typeof(decimal);
- //
- // dataColumn11
- //
- this.dataColumn11.Caption = "长度";
- this.dataColumn11.ColumnName = "COIL_LEN";
- this.dataColumn11.DataType = typeof(decimal);
- //
- // dataColumn12
- //
- this.dataColumn12.Caption = "数量";
- this.dataColumn12.ColumnName = "COIL_NUM";
- //
- // dataColumn13
- //
- this.dataColumn13.Caption = "理论重量";
- this.dataColumn13.ColumnName = "WEIGHT";
- this.dataColumn13.DataType = typeof(decimal);
- //
- // dataColumn15
- //
- this.dataColumn15.Caption = "工单号";
- this.dataColumn15.ColumnName = "WORKORDER_ID";
- //
- // dataColumn16
- //
- this.dataColumn16.Caption = "时间";
- this.dataColumn16.ColumnName = "DETAIL_TIME";
- this.dataColumn16.DataType = typeof(System.DateTime);
- //
- // dataColumn17
- //
- this.dataColumn17.Caption = "班次";
- this.dataColumn17.ColumnName = "BC";
- //
- // dataColumn18
- //
- this.dataColumn18.Caption = "班组";
- this.dataColumn18.ColumnName = "BZ";
- //
- // ultraGrid1
- //
- this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true;
- this.ultraGrid1.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
- this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
- this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
- this.ultraGrid1.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
- this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
- this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
- this.ultraGrid1.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
- this.ultraGrid1.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
- this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
- this.ultraGrid1.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
- this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.ultraGrid1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraGrid1.Location = new System.Drawing.Point(0, 0);
- this.ultraGrid1.Name = "ultraGrid1";
- this.ultraGrid1.Size = new System.Drawing.Size(938, 240);
- this.ultraGrid1.TabIndex = 12;
- this.ultraGrid1.Text = "ultraGrid1";
- //
- // cmb_Buress
- //
- this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
- this.cmb_Buress.DisplayMember = "";
- this.cmb_Buress.Location = new System.Drawing.Point(933, 27);
- this.cmb_Buress.Name = "cmb_Buress";
- this.cmb_Buress.Size = new System.Drawing.Size(116, 21);
- this.cmb_Buress.TabIndex = 684;
- this.cmb_Buress.ValueMember = "";
- //
- // ultraLabel14
- //
- this.ultraLabel14.Location = new System.Drawing.Point(879, 31);
- this.ultraLabel14.Name = "ultraLabel14";
- this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
- this.ultraLabel14.TabIndex = 685;
- this.ultraLabel14.Text = "入库垛位";
- //
- // Frm_ProduceManage
- //
- this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
- this.ClientSize = new System.Drawing.Size(1164, 626);
- this.Controls.Add(this.ultraGroupBox2);
- this.Controls.Add(this.ultraExpandableGroupBox2);
- this.Controls.Add(this.ultraExpandableGroupBox1);
- this.Controls.Add(this.ultraGroupBox1);
- this.Controls.Add(this.panel1);
- this.Name = "Frm_ProduceManage";
- this.Text = "卷板开平生产管理";
- this.Load += new System.EventHandler(this.Frm_ProduceManage_Load);
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOredre)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStrem)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcLine)).EndInit();
- this.panel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
- this.ultraGroupBox1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_COIL_NO_ID)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
- this.ultraExpandableGroupBox1.ResumeLayout(false);
- this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.txt_Count)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_XJZL)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Ramark)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Sleen)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_GangHao)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
- this.ultraExpandableGroupBox2.ResumeLayout(false);
- this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
- this.ultraGroupBox2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.X)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
- this.ResumeLayout(false);
- }
- #endregion
- #region 查询
- private string GetWhere()
- {
- string strSql="";
- if(this.chk_CollectTime.Checked)
- {
- strSql += " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
- + " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
- }
- if(this.chk_OrderNO.Checked)
- {
- strSql+=" AND A.ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
- }
- if(this.chk_PactID.Checked)
- {
- strSql += " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
- }
- if(this.chk_RollHao.Checked)
- {
- strSql+=" AND A.OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
- }
- if(this.chk_BanHao.Checked)
- {
- strSql+=" AND A.SLAB_NO='"+this.txt_GangP.Text+"'";
- }
- if(this.chk_PaiHao.Checked)
- {
- strSql+=" AND A.STL_GRD="+this.cmb_Sleen.Value+"'";
- }
- if(this.chk_BNumber.Checked)
- {
- strSql+="AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '"+this.txt_BNumber.Text+"'";
- }
- if(this.chk_ProcLine.Checked)
- {
- strSql+=" AND A.STOCKTYPE='"+this.cmb_ProcL.Value.ToString()+"'";
- }
- return strSql;
- }
- private void PlanQuery(string _Conntion)
- {
- try
- {
- ds_All.Clear();
- string strOut="";
- DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Plan_XF_Qery", new object[] { _Conntion }, out strOut);
- /*ds.Tables["dtXF_Detail"].Columns["WORKORDER_ID"].Caption = "工单号";
- ds.Tables["dtXF_Detail"].Columns["OLD_SAMPL_NO"].Caption = "钢卷号";
- ds.Tables["dtXF_Detail"].Columns["ORD_NO"].Caption = "合同号";
- ds.Tables["dtXF_Detail"].Columns["STL_GRD"].Caption = "牌号";
- ds.Tables["dtXF_Detail"].Columns["COIL_THK"].Caption = "厚";
- ds.Tables["dtXF_Detail"].Columns["COIL_WTH"].Caption = "宽";
- ds.Tables["dtXF_Detail"].Columns["COIL_LEN"].Caption = "长";
- ds.Tables["dtXF_Detail"].Columns["COIL_NUM"].Caption = "数量";
- ds.Tables["dtXF_Detail"].Columns["WEIGHT"].Caption = "理论重量";
- ds.Tables["dtXF_Detail"].Columns["BC"].Caption = "班次";
- ds.Tables["dtXF_Detail"].Columns["BZ"].Caption = "班组";
- ds.Tables["dtXF_Detail"].Columns["CHK"].Caption = "";
- ds.Tables["dtXF_Detail"].Columns["COIL_NO_ID"].Caption = "钢包号";
- ds.Tables["dtXF_Detail"].Columns["DETAIL_TIME"].Caption = "时间";*/
- //this.gb_PlanState.DataSource=ds;
- this.ds_All.Merge(ds);
- this.ds_All.Tables["XF-1"].AcceptChanges();
- this.ds_All.Tables["XF-2"].AcceptChanges();
- this.gb_PlanState.UpdateData();
- //Comm.SetGridSumArea(this.gb_PlanState);
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private string PGetWhere()
- {
- string strSql="";
- if(this.chk_CollectTime.Checked)
- {
- strSql += " AND TO_CHAR(A.PCTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
- + " AND TO_CHAR(A.PCTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
- }
- if(this.chk_OrderNO.Checked)
- {
- strSql+=" AND A.ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
- }
- if(this.chk_PactID.Checked)
- {
- strSql += " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
- }
- if(this.chk_RollHao.Checked)
- {
- strSql+=" AND A.OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
- }
- if(this.chk_BanHao.Checked)
- {
- strSql+=" AND A.SLAB_NO='"+this.txt_GangP.Text+"'";
- }
- if(this.chk_PaiHao.Checked)
- {
- strSql+=" AND A.STL_GRD='"+this.cmb_Sleen.Value+"'";
- }
- if(this.chk_PanPi.Checked)
- {
- strSql+=" AND A.COIL_NO_ID='"+this.txt_COIL_NO_ID.Text+"'";
- }
- if(this.chk_BNumber.Checked)
- {
- strSql+="AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '"+this.txt_BNumber.Text+"'";
- }
- if(this.chk_ProcLine.Checked)
- {
- strSql+=" AND A.STOCKTYPE='"+this.cmb_ProcL.Value.ToString()+"'";
- }
- return strSql;
- }
- private void Procde_Query(string _Conntion)
- {
- try
- {
- string strOut="";
- DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
- this.gb_Press.DataSource=ds;
- this.gb_Press.UpdateData();
- Comm.SetGridSumArea(this.gb_Press);
- foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Press.Rows)
- {
- if(row.Cells["TURNOFFCOLLECT_LOG"].Value.ToString()=="1")
- {
- row.Appearance.ForeColor = System.Drawing.Color.Red;
- }
- else
- {
- row.Appearance.ForeColor = System.Drawing.Color.Black;
- }
- }
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- #endregion
- #region 生产登记
- private System.Collections.ArrayList GetFieldValue(Infragistics.Win.UltraWinGrid.UltraGrid _SelectGrid,string _Select,string _FieldValue,string _FieldValue1)
- {
- System.Collections.ArrayList resultArray = new System.Collections.ArrayList();
-
- foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in _SelectGrid.Rows)
- {
- if(row.Cells[_Select].Value.ToString().ToUpper() == "TRUE")
- resultArray.Add(row.Cells[_FieldValue].Value.ToString()+";"+row.Cells[_FieldValue1].Value.ToString());
-
- }
- return resultArray;
- }
- /*private bool Check_Press()
- {
- if(this.txt_Scid_End_Y.Text.Trim().Length==0)
- {
- MessageBox.Show("钢卷批号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
- return false ;
- }
- if(this.cmb_ClassOredre.Text.Trim().Length==0&&this.cmb_ClassStrem.Text.Trim().Length==0)
- {
- MessageBox.Show("班次,班组不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
- return false ;
- }
- if (this.cmb_ProcLine.Text.Trim().Length == 0 )
- {
- MessageBox.Show("产线不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return false;
- }
- return true;
- }*/
- private bool Check_Press()
- {
- if (this.txt_Scid_End_Y.Text.Trim().Length == 0)
- {
- MessageBox.Show("钢卷批号不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return false;
- }
- if (this.cmb_ClassOredre.Text.Trim().Length == 0 && this.cmb_ClassStrem.Text.Trim().Length == 0)
- {
- MessageBox.Show("班次,班组不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return false;
- }
- if (this.cmb_ProcLine.Text.Trim().Length == 0)
- {
- MessageBox.Show("产线不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return false;
- }
- return true;
- }
- private bool Check()
- {
- foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState.Rows)
- {
- if(row.Cells["FLAG"].Text.ToUpper()=="TRUE"&&!row.IsFilteredOut)
- {
- if(row.Cells["OLD_SAMPL_NO"].Value.ToString()!=this.txt_Scid_Top_Y.Text+this.txt_Scid_Begin_Y.Text)
- {
- MessageBox.Show("你所选中的行与卷板包号前两格不相符,请查看!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
- return false ;
- }
- }
- }
- return true;
- }
- private void Press_Add()
- {
- /*if(!Check_Press())
- {
- return;
- }
- try
- {
- string strOut="";
- string isfjh = "";//是否非计划
- ArrayList array=new ArrayList();
- array.Add(this.txt_GangHao.Text);
- //array=Comm.GetFieldValue(this.gb_PlanState,"FLAG","OLD_SAMPL_NO");
- if(array.Count==0)
- {
- MessageBox.Show("请您选择你要生产的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
- return ;
- }
- ArrayList Other=new ArrayList();
- if (chk_fjh.Checked == true)
- {
- isfjh = "1";
- }
- else
- {
- isfjh = "0";
- }
- Other.Add(this.txt_Scid_Top_Y.Text+this.txt_Scid_Begin_Y.Text+"-"+this.txt_Scid_End_Y.Text);
- Other.Add(this.cmb_ClassOredre.Value.ToString());
- Other.Add(this.cmb_ClassStrem.Value.ToString());
- Other.Add(this.txt_Length.Value.ToString());
- Other.Add(this.txt_Count.Text);
- Other.Add(this.txt_WEIGHT.Value.ToString());
- Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
- Other.Add(this.txt_Ply.Value.ToString());
- Other.Add(this.txt_Width.Value.ToString());
- Other.Add(this.txt_Ramark.Text);
- Other.Add(this.cmb_ProcLine.Value.ToString());
- Other.Add(isfjh);
- Other.Add(this.txt_XJZL.Value.ToString());
- /*if(!Check())
- {
- return;
- }*/
- /*object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Press_Set", new object[] { array, Other }, out strOut);
- if(obj!=null&&obj.ToString()=="1")
- {
- // DataSet ds=(DataSet)this.gb_PlanState.DataSource;
- // System.Data.DataRow[] row=ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
- // for(int i=0;i<row.Length;i++)
- // {
- // ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
- // ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
- // }
- string strSql=" AND A.COIL_NO_ID='"+this.txt_Scid_Top_Y.Text+this.txt_Scid_Begin_Y.Text+"-"+this.txt_Scid_End_Y.Text+"'";
- this.Procde_Query(strSql);
- Comm.SetGridSumArea(this.gb_PlanState);
- Comm.SetGridSumArea(this.gb_Press);
- }
- else
- {
- MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
- }
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }*/
- //20240110修改逻辑为多选登记
- /*if(!Check_Press())
- {
- return;
- }*/
- try
- {
- string strOut="";
- string isfjh = "";//是否非计划
- List<UltraGridRow> lists = new List<UltraGridRow>();
- foreach (UltraGridRow ugrs in this.gb_PlanState.Rows)
- {
- foreach (UltraGridRow ugr1 in ugrs.ChildBands[0].Rows)
- {
-
- if (ugr1.Cells["CHK"].Text.ToString() == "True")
- {
- ArrayList array = new ArrayList();
- array.Add(ugr1.Cells["OLD_SAMPL_NO"].Text.ToString());
- if (array.Count == 0)
- {
- MessageBox.Show("请您选择你要生产的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- if (ugr1.Cells["COIL_NO_ID"].Text.ToString().Length == 0)
- {
- MessageBox.Show("钢卷批号不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return ;
- }
- if (this.cmb_ClassOredre.Value.ToString().Length == 0 && this.cmb_ClassStrem.Value.ToString().Length == 0)
- {
- MessageBox.Show("班次,班组不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return ;
- }
- if (this.cmb_ProcLine.Value.ToString().Length == 0)
- {
- MessageBox.Show("产线不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return ;
- }
- ArrayList Other = new ArrayList();
- if (chk_fjh.Checked == true)
- {
- isfjh = "1";
- }
- else
- {
- isfjh = "0";
- }
- Other.Add(ugr1.Cells["COIL_NO_ID"].Text.ToString().Trim());//钢包号
-
- Other.Add(this.cmb_ClassOredre.Value.ToString());
- Other.Add(this.cmb_ClassStrem.Value.ToString());
- Other.Add(ugr1.Cells["COIL_LEN"].Text.ToString().Trim());//COIL_LEN
- Other.Add(ugr1.Cells["COIL_NUM"].Text.ToString().Trim());
- Other.Add(ugr1.Cells["WEIGHT"].Text.ToString().Trim().TrimEnd('0'));
- Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
- Other.Add(ugr1.Cells["COIL_THK"].Text.ToString().Trim());//COIL_THK
- Other.Add(ugr1.Cells["COIL_WTH"].Text.ToString().Trim());
- Other.Add(this.txt_Ramark.Text);
- Other.Add(this.cmb_ProcLine.Value.ToString());
- Other.Add(isfjh);
- Other.Add(this.txt_XJZL.Value.ToString().Trim());//小件重量
- Other.Add(this.cmb_Buress.Text.ToString().Trim());
- /*if(!Check())
- {
- return;
- }*/
- object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Press_Set", new object[] { array, Other }, out strOut);
- lists.Add(ugr1);
- /*if (obj != null && obj.ToString() == "1")
- {
- // DataSet ds=(DataSet)this.gb_PlanState.DataSource;
- // System.Data.DataRow[] row=ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
- // for(int i=0;i<row.Length;i++)
- // {
- // ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
- // ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
- // }
- string strSql = " AND A.COIL_NO_ID='" + ugrs.Cells["COIL_NO_ID"].Text.ToString().Trim() + "'";
- this.Procde_Query(strSql);
- Comm.SetGridSumArea(this.gb_PlanState);
- Comm.SetGridSumArea(this.gb_Press);
- }
- else
- {
- MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
- }*/
- }
- }
- //array=Comm.GetFieldValue(this.gb_PlanState,"FLAG","OLD_SAMPL_NO");
- }
- string swhere = "(";
- for (int i = 0; i < lists.Count; i++)
- {
- swhere += "'"+lists[i].Cells["COIL_NO_ID"].Value.ToString()+"',";
- }
- swhere = swhere.Substring(0, swhere.Length - 1) + ")";
- for (int i = 0; i < lists.Count; i++)
- {
-
- lists[i].Delete(false);
-
- }
- string strSql = " AND A.COIL_NO_ID in " + swhere;
- this.Procde_Query(strSql);
- MessageBox.Show("登记成功", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
- //string strSql = " AND A.COIL_NO_ID='" + ugrs.Cells["COIL_NO_ID"].Text.ToString().Trim() + "'";
- //string strSql = " AND A.OLD_SAMPL_NO like '" + this.txt_RollHao.Text + "'";
- this.Procde_Query(this.PGetWhere());
- /*Comm.SetGridSumArea(this.gb_PlanState);
- Comm.SetGridSumArea(this.gb_Press);*/
- this.gb_PlanState.UpdateData();
-
-
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- #endregion
- #region 撤消生产登记
- private void Press_Delete()
- {
- try
- {
- string strOut="";
- ArrayList array=new ArrayList();
- array=this.GetFieldValue(this.gb_Press,"FLAG","COIL_NO_ID","OLD_SAMPL_NO");
- if(array.Count==0)
- {
- MessageBox.Show("请您选择你要撤消的生产信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
- return ;
- }
- object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Press_Del", new object[] { array }, out strOut);
- if(obj!=null&&obj.ToString()=="1")
- {
- DataSet ds=(DataSet)this.gb_Press.DataSource;
- System.Data.DataRow [] row=ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("FLAG='TRUE'");
- for(int i=0;i<row.Length;i++)
- {
- ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
- ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
- }
- this.PlanQuery("");
- Comm.SetGridSumArea(this.gb_Press);
- Comm.SetGridSumArea(this.gb_PlanState);
- }
- else
- {
- MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
- }
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- #endregion
- #region EVENT
- private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
- {
- switch(e.Tool.Key)
- {
- case "QUERY_PLAN":
- this.PlanQuery(this.GetWhere());
- break;
- case "QUERY_PRC":
- this.Procde_Query(this.PGetWhere());
- break;
- case "BOOKIN":
- this.Press_Add();
- break;
- case "DEL_BOOKIN":
- this.Press_Delete();
- break;
- case "Close":
- this.Close();
- break;
- case "DC":
- ExportButtressInfo();
- break;
- }
- }
- private void gb_PlanState_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
- {
- try
- {
- if(e.Cell.Column.Key == "FLAG")
- {
- e.Cell.Row.Update();
- if(e.Cell.Value.ToString().ToUpper() == "TRUE")
- {
- e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
- }
- else
- {
- e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
- }
- }
- }
- catch(System.Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void gb_Press_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
- {
- try
- {
- if(e.Cell.Column.Key == "FLAG")
- {
- e.Cell.Row.Update();
- if(e.Cell.Value.ToString().ToUpper() == "TRUE")
- {
- e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
- }
- else
- {
- e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
- }
- }
- }
- catch(System.Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
- {
- this.dte_BeginTime.Enabled=this.chk_CollectTime.Checked;
- this.dte_EndTime.Enabled=this.chk_CollectTime.Checked;
- }
- private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
- {
- this.txt_OrderNO.Enabled=this.chk_OrderNO.Checked;
- }
- private void chk_PactID_CheckedChanged(object sender, System.EventArgs e)
- {
- this.txt_PlanID.Enabled=this.chk_PactID.Checked;
- }
- private void chk_RollHao_CheckedChanged(object sender, System.EventArgs e)
- {
- this.txt_RollHao.Enabled=this.chk_RollHao.Checked;
- }
- private void chk_PanPi_CheckedChanged(object sender, System.EventArgs e)
- {
- this.txt_COIL_NO_ID.Enabled=this.chk_PanPi.Checked;
- }
- private void chk_BanHao_CheckedChanged(object sender, System.EventArgs e)
- {
- this.txt_GangP.Enabled=this.chk_BanHao.Checked;
- }
- private void chk_PaiHao_CheckedChanged(object sender, System.EventArgs e)
- {
- this.cmb_Sleen.Enabled=this.chk_PaiHao.Checked;
- }
- private void gb_PlanState_AfterRowActivate(object sender, System.EventArgs e)
- {
- if (gb_PlanState.ActiveRow.Band.Key == "Relation1")
- {
- this.txt_Scid_Top_Y.Text = this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString().Substring(0, 3);
- this.txt_Scid_Begin_Y.Text = this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString().Substring(3);
- this.txt_GangHao.Text = this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString();
- this.txt_Plact.Text = this.gb_PlanState.ActiveRow.Cells["ORD_NO"].Value.ToString();
- this.txt_Sleen.Text = this.gb_PlanState.ActiveRow.Cells["STL_GRD"].Value.ToString();
- this.txt_Ply.Value = this.gb_PlanState.ActiveRow.Cells["COIL_THK"].Value;
- this.txt_Width.Value = this.gb_PlanState.ActiveRow.Cells["COIL_WTH"].Value;
- this.txt_Length.Value = this.gb_PlanState.ActiveRow.Cells["COIL_LEN"].Value;
- this.txt_Count.Text = this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Value.ToString();
- }
- }
- private void Frm_ProduceManage_Load(object sender, System.EventArgs e)
- {
- Comm.SetGridSumArea(this.gb_PlanState);
- Comm.SetGridSumArea(this.gb_Press);
- string strOut="";
- string sql="";
- DataSet ds;
- //班次
- sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
- ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
- ds.Tables[0].TableName="SCM_BASE_INFO";
- Comm.Init_ComboControl(this.cmb_ClassOredre,"SCM_BASE_INFO","NAME_","ID_",ref ds);
- //班组
- sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
- ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
- ds.Tables[0].TableName="SCM_BASE_INFO";
- Comm.Init_ComboControl(this.cmb_ClassStrem,"SCM_BASE_INFO","NAME_","ID_",ref ds);
- sql ="SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8055'" ;
- ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
- ds.Tables[0].TableName="KCJ_BASEDATA";
- Comm.Init_ComboControl(this.cmb_ProcL,"KCJ_BASEDATA","NAME_","ID_",ref ds);
- sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE ID_ IN( '8055001','8055002','8055004')";
- ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
- ds.Tables[0].TableName = "KCJ_BASEDATA";
- Comm.Init_ComboControl(this.cmb_ProcLine,"KCJ_BASEDATA","NAME_","ID_",ref ds);
- sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
- ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
- ds.Tables[0].TableName = "KCJ_BUTTRESS";
- Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
- }
- private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
- {
- try
- {
- if(this.chk_AllowFilter.Checked)
- {
- this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
- //this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
- this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
- //this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
- }
- else
- {
- this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
- //this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
- if(this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count>0)
- {
- for(int i=0;i<this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
- {
- this.gb_Press.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
- }
- }
- this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
- //this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
- if(this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count>0)
- {
- for(int i=0;i<this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
- {
- this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
- }
- }
-
- }
- }
- catch(System.Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
- {
-
- try
- {
- Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_PlanState;
- foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState.Rows)
- {
- if(!row.IsFilteredOut)
- {
- row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
- row.Update();
- }
- }
- /*foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState)
- {
- if (!row.IsFilteredOut)
- {
- row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
- row.Update();
- }
- }*/
- Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Press;
- foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Press.Rows)
- {
- if(!row.IsFilteredOut)
- {
- row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
- row.Update();
- }
- }
- }
- catch(System.Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- #endregion
- private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
- {
- this.txt_BNumber.Enabled=this.chk_BNumber.Checked;
- }
- private void txt_Count_Enter(object sender, System.EventArgs e)
- {
- try
- {
- if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
- {
- ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
- }
- if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
- {
- ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
- }
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void txt_Count_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
- {
- try
- {
- if(e.KeyData == Keys.Return)
- {
- if (this.txt_Count.Text.Trim() == "" || this.txt_Count.Text.Trim() == "0")
- {
- MessageBox.Show("数量不能为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- if (this.txt_Count.Text.Trim() == "余开" || this.txt_Count.Text.Trim() == "全开")
- {
- MessageBox.Show("余开等请输入具体数量以获取理论重量", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- this.txt_WEIGHT.Value = ((Comm.ObjToInt(this.txt_Width.Value) * Comm.ObjToDouble(this.txt_Ply.Value) * Comm.ObjToInt(this.txt_Length.Value) * Comm.ObjToInt(this.txt_Count.Value)) * 0.00000000785);
- System.Windows.Forms.SendKeys.Send("{TAB}");
- }
-
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void btn_Prod_Click(object sender, System.EventArgs e)
- {
- try
- {
- string strOut="";
- ArrayList array=new ArrayList();
- array=Comm.GetFieldValue(this.gb_PlanState,"FLAG","OLD_SAMPL_NO");
- if(array.Count==0)
- {
- MessageBox.Show("请您选择你要计划信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
- return ;
- }
- object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Press_QUEREN", new object[] { array }, out strOut);
- if(obj!=null&&obj.ToString()=="1")
- {
- DataSet ds=(DataSet)this.gb_PlanState.DataSource;
- /*System.Data.DataRow[] row = ds.Tables["dtXF_Main"].Select("FLAG='TRUE'");
- for(int i=0;i<row.Length;i++)
- {
- ds.Tables["dtXF_Main"].Rows.Remove(row[i]);
- ds.Tables["dtXF_Main"].AcceptChanges();
- }*/
- System.Data.DataRow[] row = ds.Tables["XF-1"].Select("FLAG='TRUE'");
- for (int i = 0; i < row.Length; i++)
- {
- ds.Tables["XF-1"].Rows.Remove(row[i]);
- ds.Tables["XF-1"].AcceptChanges();
- }
- }
- else
- {
- MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
- }
- }
- catch(Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void ExportButtressInfo()
- {
- if(this.gb_Press.Rows.Count > 0)
- {
- Comm.ExPortExcel(this.gb_Press,this.excelExporter);
- }
- else
- {
- MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
- }
- }
- private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
- {
- this.cmb_ProcL.Enabled=this.chk_ProcLine.Checked;
- }
- private void ultraButton1_Click(object sender, EventArgs e)
- {
- try
- {
- string strOut = "";
- ArrayList array = new ArrayList();
- array = Comm.GetFieldValue(this.gb_PlanState, "FLAG", "OLD_SAMPL_NO");
- if (array.Count == 0)
- {
- MessageBox.Show("请您选择你要计划信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.ProduceManage", "Press_QUERENDEL", new object[] { array }, out strOut);
- if (obj != null && obj.ToString() == "1")
- {
- DataSet ds = (DataSet)this.gb_PlanState.DataSource;
- System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
- for (int i = 0; i < row.Length; i++)
- {
- ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
- ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
- }
- }
- else
- {
- MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
- }
- }
- catch (Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void txt_Length_KeyDown(object sender, KeyEventArgs e)
- {
- try
- {
- if (e.KeyData == Keys.Return)
- {
- txt_Count.Focus();
- }
- }
- catch (Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void gb_PlanState_InitializeRow(object sender, InitializeRowEventArgs e)
- {
- foreach (UltraGridRow ugrs in this.gb_PlanState.Rows)
- {
- foreach (UltraGridRow ugr1 in ugrs.ChildBands[0].Rows)
- {
- ugr1.Cells["IN"].Value = "插入";
- }
- }
- }
- private void gb_PlanState_ClickCellButton(object sender, CellEventArgs e)
- {
-
- //DataSet ds = (DataSet)this.gb_PlanState.DataSource;
- /*System.Data.DataRow[] row = ds.Tables["dtXF_Main"].Select("FLAG='TRUE'");
- for(int i=0;i<row.Length;i++)
- {
- ds.Tables["dtXF_Main"].Rows.Remove(row[i]);
- ds.Tables["dtXF_Main"].AcceptChanges();
- }*/
- /*ystem.Data.DataRow[] row = ds.Tables["XF-2"].Select("CHK='True'");
- for (int i = 0; i < row.Length; i++)
- {
- ds.Tables["XF-2"].Rows.Add(row[i]);
- ds.Tables["XF-2"].AcceptChanges();
- }*/
- }
- private void ultraButton2_Click(object sender, EventArgs e)
- {
- //暂时只能考虑写入计划表再重新查询数据
- DataSet ds = (DataSet)this.gb_PlanState.DataSource;
- /*System.Data.DataRow[] row = ds.Tables["dtXF_Main"].Select("FLAG='TRUE'");
- for(int i=0;i<row.Length;i++)
- {
- ds.Tables["dtXF_Main"].Rows.Remove(row[i]);
- ds.Tables["dtXF_Main"].AcceptChanges();
- }*/
- //ds.Tables["XF-2"].Columns["OLD_SAMPL_NO"].
- /*System.Data.DataRow[] row = ds.Tables["XF-2"].Select("CHK='True'");
- for (int i = 0; i < row.Length; i++)
- {
- ds.Tables["XF-2"].Rows.Add(row[i]);
- this.ds_All.Merge(ds);
- this.ds_All.Tables["XF-1"].AcceptChanges();
- this.ds_All.Tables["XF-2"].AcceptChanges();
- this.gb_PlanState.UpdateData();
- //ds.Tables["XF-2"].AcceptChanges();
- }*/
- foreach (UltraGridRow ugrs in this.gb_PlanState.Rows)
- {
- int i = 0,j=0;
- for (i = 0;i < ugrs.ChildBands[0].Rows.Count;i++)
- {
- UltraGridRow ugr1 = ugrs.ChildBands[0].Rows[i];
- if (ugr1.Cells["CHK"].Text.ToString() == "True")
- {
- ugr1.Cells["COIL_NO_ID"].Value = ugr1.Cells["OLD_SAMPL_NO"].Text.ToString().Trim() + "-B" + (j + 1).ToString().PadLeft(2, '0');
- j = j + 1;
- }
-
-
- }
- }
- }
- private void gb_PlanState_MouseEnter(object sender, EventArgs e)
- {
- /*if (gb_PlanState.ActiveRow.Band.Key == "Relation1")
- {
- //this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString().Sub
- if (this.gb_PlanState.ActiveCell.Column.Key == "COIL_NUM")
- {
- if (this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "" || this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "0")
- {
- MessageBox.Show("数量不能为空", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- if (this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "余开" || this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "全开")
- {
- MessageBox.Show("余开等请输入具体数量以获取理论重量", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- //this.txt_Ply.Value = this.gb_PlanState.ActiveRow.Cells["COIL_THK"].Value;
- //this.txt_Width.Value = this.gb_PlanState.ActiveRow.Cells["COIL_WTH"].Value;
- //this.txt_Length.Value = this.gb_PlanState.ActiveRow.Cells["COIL_LEN"].Value;
- this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Value = ((Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_WTH"].Text) *
- Comm.ObjToDouble(this.gb_PlanState.ActiveRow.Cells["COIL_THK"].Text) *
- Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text) *
- Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text) * 0.00000000785));
- }
- }*/
- }
- private void gb_PlanState_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.KeyCode != Keys.Enter)
- return; //只对回车事件操作
- if (gb_PlanState.ActiveRow.Band.Key == "Relation1")
- {
- //this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString().Sub
- if (this.gb_PlanState.ActiveCell.Column.Key == "COIL_NUM")
- {
- if (this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "" || this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "0")
- {
- MessageBox.Show("数量不能为空", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- if (this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "余开" || this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "全开")
- {
- MessageBox.Show("余开等请输入具体数量以获取理论重量", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- //this.txt_Ply.Value = this.gb_PlanState.ActiveRow.Cells["COIL_THK"].Value;
- //this.txt_Width.Value = this.gb_PlanState.ActiveRow.Cells["COIL_WTH"].Value;
- //this.txt_Length.Value = this.gb_PlanState.ActiveRow.Cells["COIL_LEN"].Value;
- this.gb_PlanState.ActiveRow.Cells["WEIGHT"].Value = ((Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_WTH"].Text) *
- Comm.ObjToDouble(this.gb_PlanState.ActiveRow.Cells["COIL_THK"].Text) *
- Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text) *
- Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text) * 0.00000000785));
- }
- }
- }
- private void gb_PlanState_DoubleClickCell(object sender, DoubleClickCellEventArgs e)
- {
- if (gb_PlanState.ActiveRow.Band.Key == "Relation1")
- {
- //this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString().Sub
- if (this.gb_PlanState.ActiveCell.Column.Key == "COIL_NUM")
- {
- if (this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "" || this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "0")
- {
- MessageBox.Show("数量不能为空", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- if (this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "余开" || this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text.ToString() == "全开")
- {
- MessageBox.Show("余开等请输入具体数量以获取理论重量", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
- return;
- }
- //this.txt_Ply.Value = this.gb_PlanState.ActiveRow.Cells["COIL_THK"].Value;
- //this.txt_Width.Value = this.gb_PlanState.ActiveRow.Cells["COIL_WTH"].Value;
- //this.txt_Length.Value = this.gb_PlanState.ActiveRow.Cells["COIL_LEN"].Value;
- this.gb_PlanState.ActiveRow.Cells["WEIGHT"].Value = Math.Round(((Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_WTH"].Text) *
- Comm.ObjToDouble(this.gb_PlanState.ActiveRow.Cells["COIL_THK"].Text) *
- Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text) *
- Comm.ObjToInt(this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text) * 0.00000000785)),3);
- }
- }
- }
- }
- }
|