| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421 |
- 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 System.Runtime.InteropServices;
- using Core.XgMes.Client.JGKC.TurnoffSendManager;
- namespace Core.XgMes.Client.JGKC.MaterialManager
- {
- /// <summary>
- /// FrmMeterialCoce 的摘要说明。
- /// </summary>
- public class FrmMeterialCoce : 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 System.Windows.Forms.Panel panel2;
- private Infragistics.Win.UltraWinGrid.UltraGrid gd_WZ;
- private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_LKC;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_XF;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_FC;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Spec;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Spec;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzmc;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzmc;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzdm;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzdm;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DM;
- private Infragistics.Win.Misc.UltraLabel ultraLabel4;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_LB;
- private Infragistics.Win.Misc.UltraLabel ultraLabel8;
- private Infragistics.Win.Misc.UltraLabel ultraLabel7;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_CZ;
- private Infragistics.Win.Misc.UltraLabel ultraLabel2;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GG;
- private Infragistics.Win.Misc.UltraLabel ultraLabel1;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MC;
- private Infragistics.Win.Misc.UltraLabel ultraLabel3;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
- private Infragistics.Win.Misc.UltraLabel ultraLabel5;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
- private Infragistics.Win.Misc.UltraLabel ultraLabel6;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
- private Infragistics.Win.Misc.UltraLabel ultraLabel14;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanPrice;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1;
- private Infragistics.Win.Misc.UltraLabel ultraLabel9;
- private Infragistics.Win.Misc.UltraLabel ultraLabel10;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
- private Infragistics.Win.Misc.UltraLabel ultraLabel11;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5;
- private Infragistics.Win.Misc.UltraLabel ultraLabel12;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6;
- private Infragistics.Win.Misc.UltraLabel ultraLabel13;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7;
- private Infragistics.Win.Misc.UltraLabel ultraLabel28;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ZQ;
- private Infragistics.Win.Misc.UltraLabel ultraLabel27;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DW;
- private Infragistics.Win.Misc.UltraLabel ultraLabel17;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DZ;
- private Infragistics.Win.Misc.UltraLabel ultraLabel16;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ZGXJ;
- private Infragistics.Win.Misc.UltraLabel ultraLabel15;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_YGJ;
- private Infragistics.Win.Misc.UltraLabel ultraLabel18;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor9;
- private Infragistics.Win.Misc.UltraLabel ultraLabel19;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor10;
- private Infragistics.Win.Misc.UltraLabel ultraLabel20;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor11;
- private Infragistics.Win.Misc.UltraLabel ultraLabel21;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor12;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
- private Infragistics.Win.Misc.UltraLabel ultraLabel22;
- private Infragistics.Win.Misc.UltraLabel ultraLabel23;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor13;
- private Infragistics.Win.Misc.UltraLabel ultraLabel24;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor14;
- private Infragistics.Win.Misc.UltraLabel ultraLabel25;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor15;
- private Infragistics.Win.Misc.UltraLabel ultraLabel26;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor16;
- private Infragistics.Win.Misc.UltraLabel ultraLabel29;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_FC;
- private Infragistics.Win.Misc.UltraLabel ultraLabel31;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_FS;
- private Infragistics.Win.Misc.UltraLabel ultraLabel30;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_LKC;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_ZB;
- private Infragistics.Win.Misc.UltraLabel ultraLabel35;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_XF;
- private Infragistics.Win.Misc.UltraLabel ultraLabel34;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_AZ;
- private Infragistics.Win.Misc.UltraLabel ultraLabel33;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_BK;
- private Infragistics.Win.Misc.UltraLabel ultraLabel32;
- private Infragistics.Win.Misc.UltraLabel ultraLabel37;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
- private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_HX;
- private Infragistics.Win.Misc.UltraLabel ultraLabel36;
- private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
- private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Code;
- private System.ComponentModel.IContainer components;
- public FrmMeterialCoce()
- {
- //
- // 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.Appearance appearance1 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem13 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem14 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem15 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem16 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem17 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem18 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem19 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem20 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem21 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem22 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem23 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem24 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem25 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem26 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem27 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem28 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem29 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem30 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem31 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem32 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem33 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem34 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
- Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
- Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
- Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_CODE");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_NAME");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SUBSTANCE");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_LB");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_PRICE");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ESTIMATE_PRICE");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CEILING_PRICE");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MANUFACRING_CYCLE");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISLKC");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFSFL");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFCWZ");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISBKWZ");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISAZ");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISXH");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISZBWZ");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISHX");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RECODER");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIME_");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
- Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SORT_CODE");
- Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem35 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem36 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem37 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem38 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
- Infragistics.Win.ValueListItem valueListItem39 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem40 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem41 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.ValueListItem valueListItem42 = new Infragistics.Win.ValueListItem();
- Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
- Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
- this.Cmb_LB = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_LKC = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_FS = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_FC = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_BK = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_AZ = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_XF = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_ZB = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.cmb_HX = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- 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.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.Chk_LKC = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.Chk_XF = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.Chk_FC = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_Spec = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.Chk_Spec = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_wzmc = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.Chk_Wzmc = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.txt_wzdm = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.Chk_Wzdm = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
- this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
- this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
- this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel36 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel35 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel34 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel33 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel32 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel31 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel30 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel29 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel28 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_ZQ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_DW = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_DZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_ZGXJ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_YGJ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_PlanPrice = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_CZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_GG = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_MC = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
- this.txt_DM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.panel2 = new System.Windows.Forms.Panel();
- this.gd_WZ = new Infragistics.Win.UltraWinGrid.UltraGrid();
- this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
- this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor9 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor10 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor11 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor12 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
- this.ultraLabel22 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraLabel23 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor13 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor14 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor15 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.ultraLabel26 = new Infragistics.Win.Misc.UltraLabel();
- this.ultraTextEditor16 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- this.txt_Code = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
- ((System.ComponentModel.ISupportInitialize)(this.Cmb_LB)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_LKC)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_FS)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_FC)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_BK)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_AZ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_XF)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ZB)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_HX)).BeginInit();
- this.panel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
- this.ultraGroupBox1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Spec)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
- this.ultraExpandableGroupBox1.SuspendLayout();
- this.ultraExpandableGroupBoxPanel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_ZQ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_ZGXJ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_YGJ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_PlanPrice)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).BeginInit();
- this.panel2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Code)).BeginInit();
- this.SuspendLayout();
- //
- // Cmb_LB
- //
- appearance1.BackColor = System.Drawing.Color.LightCyan;
- this.Cmb_LB.Appearance = appearance1;
- this.Cmb_LB.AutoSize = true;
- valueListItem1.DataValue = "1";
- valueListItem1.DisplayText = "涂料";
- valueListItem2.DataValue = "10";
- valueListItem2.DisplayText = "劳保、消防";
- valueListItem3.DataValue = "11";
- valueListItem3.DisplayText = "钢带";
- valueListItem4.DataValue = "12";
- valueListItem4.DisplayText = "轴承";
- valueListItem5.DataValue = "13";
- valueListItem5.DisplayText = "维修电机";
- valueListItem6.DataValue = "14";
- valueListItem6.DisplayText = "钢丸";
- valueListItem7.DataValue = "15";
- valueListItem7.DisplayText = "刀片";
- valueListItem8.DataValue = "16";
- valueListItem8.DisplayText = "行车";
- valueListItem9.DataValue = "17";
- valueListItem9.DisplayText = "空压机";
- valueListItem10.DataValue = "18";
- valueListItem10.DisplayText = "油缸";
- valueListItem11.DataValue = "2";
- valueListItem11.DisplayText = "辅助材料";
- valueListItem12.DataValue = "3";
- valueListItem12.DisplayText = "电气";
- valueListItem13.DataValue = "4";
- valueListItem13.DisplayText = "加工备件";
- valueListItem14.DataValue = "5";
- valueListItem14.DisplayText = "抛丸备件";
- valueListItem15.DataValue = "6";
- valueListItem15.DisplayText = "横垫木";
- valueListItem16.DataValue = "7";
- valueListItem16.DisplayText = "等离子切割机";
- valueListItem17.DataValue = "8";
- valueListItem17.DisplayText = "喷涂配件";
- valueListItem18.DataValue = "9";
- valueListItem18.DisplayText = "电机、减速机";
- this.Cmb_LB.Items.Add(valueListItem1);
- this.Cmb_LB.Items.Add(valueListItem2);
- this.Cmb_LB.Items.Add(valueListItem3);
- this.Cmb_LB.Items.Add(valueListItem4);
- this.Cmb_LB.Items.Add(valueListItem5);
- this.Cmb_LB.Items.Add(valueListItem6);
- this.Cmb_LB.Items.Add(valueListItem7);
- this.Cmb_LB.Items.Add(valueListItem8);
- this.Cmb_LB.Items.Add(valueListItem9);
- this.Cmb_LB.Items.Add(valueListItem10);
- this.Cmb_LB.Items.Add(valueListItem11);
- this.Cmb_LB.Items.Add(valueListItem12);
- this.Cmb_LB.Items.Add(valueListItem13);
- this.Cmb_LB.Items.Add(valueListItem14);
- this.Cmb_LB.Items.Add(valueListItem15);
- this.Cmb_LB.Items.Add(valueListItem16);
- this.Cmb_LB.Items.Add(valueListItem17);
- this.Cmb_LB.Items.Add(valueListItem18);
- this.Cmb_LB.Location = new System.Drawing.Point(346, 5);
- this.Cmb_LB.Name = "Cmb_LB";
- this.Cmb_LB.Size = new System.Drawing.Size(86, 21);
- this.Cmb_LB.TabIndex = 369;
- this.Cmb_LB.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.Cmb_LB.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_LKC
- //
- appearance2.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_LKC.Appearance = appearance2;
- this.cmb_LKC.AutoSize = true;
- valueListItem19.DataValue = "0";
- valueListItem19.DisplayText = "非零库存物资";
- valueListItem20.DataValue = "1";
- valueListItem20.DisplayText = "零库存物资";
- this.cmb_LKC.Items.Add(valueListItem19);
- this.cmb_LKC.Items.Add(valueListItem20);
- this.cmb_LKC.Location = new System.Drawing.Point(550, 28);
- this.cmb_LKC.Name = "cmb_LKC";
- this.cmb_LKC.Size = new System.Drawing.Size(128, 21);
- this.cmb_LKC.TabIndex = 384;
- this.cmb_LKC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_LKC.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_FS
- //
- appearance3.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_FS.Appearance = appearance3;
- this.cmb_FS.AutoSize = true;
- valueListItem21.DataValue = "0";
- valueListItem21.DisplayText = "不允许负数发";
- valueListItem22.DataValue = "1";
- valueListItem22.DisplayText = "允许负数发料";
- this.cmb_FS.Items.Add(valueListItem21);
- this.cmb_FS.Items.Add(valueListItem22);
- this.cmb_FS.Location = new System.Drawing.Point(584, 52);
- this.cmb_FS.Name = "cmb_FS";
- this.cmb_FS.Size = new System.Drawing.Size(94, 21);
- this.cmb_FS.TabIndex = 386;
- this.cmb_FS.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_FS.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_FC
- //
- appearance4.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_FC.Appearance = appearance4;
- this.cmb_FC.AutoSize = true;
- valueListItem23.DataValue = "0";
- valueListItem23.DisplayText = "正在使用的物资";
- valueListItem24.DataValue = "1";
- valueListItem24.DisplayText = "已废除的物资";
- this.cmb_FC.Items.Add(valueListItem23);
- this.cmb_FC.Items.Add(valueListItem24);
- this.cmb_FC.Location = new System.Drawing.Point(584, 76);
- this.cmb_FC.Name = "cmb_FC";
- this.cmb_FC.Size = new System.Drawing.Size(94, 21);
- this.cmb_FC.TabIndex = 388;
- this.cmb_FC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_FC.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_BK
- //
- appearance5.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_BK.Appearance = appearance5;
- this.cmb_BK.AutoSize = true;
- valueListItem25.DataValue = "0";
- valueListItem25.DisplayText = "非备库物资";
- valueListItem26.DataValue = "1";
- valueListItem26.DisplayText = "备库物资";
- this.cmb_BK.Items.Add(valueListItem25);
- this.cmb_BK.Items.Add(valueListItem26);
- this.cmb_BK.Location = new System.Drawing.Point(760, 3);
- this.cmb_BK.Name = "cmb_BK";
- this.cmb_BK.Size = new System.Drawing.Size(120, 21);
- this.cmb_BK.TabIndex = 390;
- this.cmb_BK.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_BK.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_AZ
- //
- appearance6.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_AZ.Appearance = appearance6;
- this.cmb_AZ.AutoSize = true;
- valueListItem27.DataValue = "0";
- valueListItem27.DisplayText = "不包安装";
- valueListItem28.DataValue = "1";
- valueListItem28.DisplayText = "包安装";
- this.cmb_AZ.Items.Add(valueListItem27);
- this.cmb_AZ.Items.Add(valueListItem28);
- this.cmb_AZ.Location = new System.Drawing.Point(760, 26);
- this.cmb_AZ.Name = "cmb_AZ";
- this.cmb_AZ.Size = new System.Drawing.Size(120, 21);
- this.cmb_AZ.TabIndex = 392;
- this.cmb_AZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_AZ.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_XF
- //
- appearance7.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_XF.Appearance = appearance7;
- this.cmb_XF.AutoSize = true;
- valueListItem29.DataValue = "0";
- valueListItem29.DisplayText = "非修复物资";
- valueListItem30.DataValue = "1";
- valueListItem30.DisplayText = "修复物资";
- this.cmb_XF.Items.Add(valueListItem29);
- this.cmb_XF.Items.Add(valueListItem30);
- this.cmb_XF.Location = new System.Drawing.Point(760, 49);
- this.cmb_XF.Name = "cmb_XF";
- this.cmb_XF.Size = new System.Drawing.Size(120, 21);
- this.cmb_XF.TabIndex = 394;
- this.cmb_XF.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_XF.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_ZB
- //
- appearance8.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_ZB.Appearance = appearance8;
- this.cmb_ZB.AutoSize = true;
- valueListItem31.DataValue = "0";
- valueListItem31.DisplayText = "非招标物资";
- valueListItem32.DataValue = "1";
- valueListItem32.DisplayText = "招标物资";
- this.cmb_ZB.Items.Add(valueListItem31);
- this.cmb_ZB.Items.Add(valueListItem32);
- this.cmb_ZB.Location = new System.Drawing.Point(760, 73);
- this.cmb_ZB.Name = "cmb_ZB";
- this.cmb_ZB.Size = new System.Drawing.Size(120, 21);
- this.cmb_ZB.TabIndex = 396;
- this.cmb_ZB.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_ZB.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // cmb_HX
- //
- appearance9.BackColor = System.Drawing.Color.LightCyan;
- this.cmb_HX.Appearance = appearance9;
- this.cmb_HX.AutoSize = true;
- valueListItem33.DataValue = "0";
- valueListItem33.DisplayText = "非以旧换新";
- valueListItem34.DataValue = "1";
- valueListItem34.DisplayText = "以旧换新";
- this.cmb_HX.Items.Add(valueListItem33);
- this.cmb_HX.Items.Add(valueListItem34);
- this.cmb_HX.Location = new System.Drawing.Point(962, 2);
- this.cmb_HX.Name = "cmb_HX";
- this.cmb_HX.Size = new System.Drawing.Size(120, 21);
- this.cmb_HX.TabIndex = 398;
- this.cmb_HX.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.cmb_HX.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // 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(1028, 32);
- 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, 8);
- 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;
- buttonTool4.InstanceProps.IsFirstInGroup = true;
- buttonTool5.InstanceProps.IsFirstInGroup = true;
- buttonTool6.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(1028, 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, 8);
- 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(1028, 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, 32);
- this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
- this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1028, 0);
- this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
- //
- // ultraGroupBox1
- //
- appearance10.BackColor = System.Drawing.Color.LightCyan;
- this.ultraGroupBox1.Appearance = appearance10;
- this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
- this.ultraGroupBox1.Controls.Add(this.Chk_LKC);
- this.ultraGroupBox1.Controls.Add(this.Chk_XF);
- this.ultraGroupBox1.Controls.Add(this.Chk_FC);
- this.ultraGroupBox1.Controls.Add(this.txt_Spec);
- this.ultraGroupBox1.Controls.Add(this.Chk_Spec);
- this.ultraGroupBox1.Controls.Add(this.txt_wzmc);
- this.ultraGroupBox1.Controls.Add(this.Chk_Wzmc);
- this.ultraGroupBox1.Controls.Add(this.txt_wzdm);
- this.ultraGroupBox1.Controls.Add(this.Chk_Wzdm);
- this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
- this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
- this.ultraGroupBox1.Name = "ultraGroupBox1";
- this.ultraGroupBox1.Size = new System.Drawing.Size(1028, 35);
- this.ultraGroupBox1.SupportThemes = false;
- this.ultraGroupBox1.TabIndex = 1;
- //
- // chk_AllowFilter
- //
- this.chk_AllowFilter.Location = new System.Drawing.Point(919, 8);
- this.chk_AllowFilter.Name = "chk_AllowFilter";
- this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20);
- this.chk_AllowFilter.TabIndex = 131;
- this.chk_AllowFilter.TabStop = false;
- this.chk_AllowFilter.Text = "允许过滤";
- this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
- //
- // Chk_LKC
- //
- this.Chk_LKC.FlatMode = true;
- this.Chk_LKC.Location = new System.Drawing.Point(774, 7);
- this.Chk_LKC.Name = "Chk_LKC";
- this.Chk_LKC.Size = new System.Drawing.Size(145, 20);
- this.Chk_LKC.TabIndex = 116;
- this.Chk_LKC.Text = "只显示零库存的物资";
- //
- // Chk_XF
- //
- this.Chk_XF.FlatMode = true;
- this.Chk_XF.Location = new System.Drawing.Point(648, 8);
- this.Chk_XF.Name = "Chk_XF";
- this.Chk_XF.Size = new System.Drawing.Size(127, 20);
- this.Chk_XF.TabIndex = 115;
- this.Chk_XF.Text = "只显示修复的物资";
- //
- // Chk_FC
- //
- this.Chk_FC.Checked = true;
- this.Chk_FC.CheckState = System.Windows.Forms.CheckState.Checked;
- this.Chk_FC.FlatMode = true;
- this.Chk_FC.Location = new System.Drawing.Point(524, 6);
- this.Chk_FC.Name = "Chk_FC";
- this.Chk_FC.Size = new System.Drawing.Size(126, 23);
- this.Chk_FC.TabIndex = 114;
- this.Chk_FC.Text = "不显示废除的物资";
- //
- // txt_Spec
- //
- appearance11.BackColor = System.Drawing.Color.LightCyan;
- this.txt_Spec.Appearance = appearance11;
- this.txt_Spec.AutoSize = true;
- this.txt_Spec.Enabled = false;
- this.txt_Spec.FlatMode = true;
- this.txt_Spec.Location = new System.Drawing.Point(422, 5);
- this.txt_Spec.Name = "txt_Spec";
- this.txt_Spec.Size = new System.Drawing.Size(96, 19);
- this.txt_Spec.TabIndex = 113;
- this.txt_Spec.Tag = "";
- //
- // Chk_Spec
- //
- this.Chk_Spec.FlatMode = true;
- this.Chk_Spec.Location = new System.Drawing.Point(353, 8);
- this.Chk_Spec.Name = "Chk_Spec";
- this.Chk_Spec.Size = new System.Drawing.Size(75, 17);
- this.Chk_Spec.TabIndex = 112;
- this.Chk_Spec.Text = "规格型号";
- this.Chk_Spec.CheckedChanged += new System.EventHandler(this.Chk_Spec_CheckedChanged);
- //
- // txt_wzmc
- //
- appearance12.BackColor = System.Drawing.Color.LightCyan;
- this.txt_wzmc.Appearance = appearance12;
- this.txt_wzmc.AutoSize = true;
- this.txt_wzmc.Enabled = false;
- this.txt_wzmc.FlatMode = true;
- this.txt_wzmc.Location = new System.Drawing.Point(251, 6);
- this.txt_wzmc.Name = "txt_wzmc";
- this.txt_wzmc.Size = new System.Drawing.Size(96, 19);
- this.txt_wzmc.TabIndex = 111;
- this.txt_wzmc.Tag = "";
- //
- // Chk_Wzmc
- //
- this.Chk_Wzmc.FlatMode = true;
- this.Chk_Wzmc.Location = new System.Drawing.Point(179, 8);
- this.Chk_Wzmc.Name = "Chk_Wzmc";
- this.Chk_Wzmc.Size = new System.Drawing.Size(76, 16);
- this.Chk_Wzmc.TabIndex = 110;
- this.Chk_Wzmc.Text = "物资名称";
- this.Chk_Wzmc.CheckedChanged += new System.EventHandler(this.Chk_Wzmc_CheckedChanged);
- //
- // txt_wzdm
- //
- appearance13.BackColor = System.Drawing.Color.LightCyan;
- this.txt_wzdm.Appearance = appearance13;
- this.txt_wzdm.AutoSize = true;
- this.txt_wzdm.Enabled = false;
- this.txt_wzdm.FlatMode = true;
- this.txt_wzdm.Location = new System.Drawing.Point(77, 5);
- this.txt_wzdm.Name = "txt_wzdm";
- this.txt_wzdm.Size = new System.Drawing.Size(96, 19);
- this.txt_wzdm.TabIndex = 109;
- this.txt_wzdm.Tag = "";
- //
- // Chk_Wzdm
- //
- this.Chk_Wzdm.FlatMode = true;
- this.Chk_Wzdm.Location = new System.Drawing.Point(6, 6);
- this.Chk_Wzdm.Name = "Chk_Wzdm";
- this.Chk_Wzdm.Size = new System.Drawing.Size(85, 16);
- this.Chk_Wzdm.TabIndex = 108;
- this.Chk_Wzdm.Text = "物资代码";
- this.Chk_Wzdm.CheckedChanged += new System.EventHandler(this.Chk_Wzdm_CheckedChanged);
- //
- // ultraExpandableGroupBox1
- //
- this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
- this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(200, 185);
- this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 380);
- this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
- this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1028, 138);
- this.ultraExpandableGroupBox1.SupportThemes = false;
- this.ultraExpandableGroupBox1.TabIndex = 4;
- this.ultraExpandableGroupBox1.Text = "物资详情";
- this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
- //
- // ultraExpandableGroupBoxPanel1
- //
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Code);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel37);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_HX);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel36);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ZB);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel35);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_XF);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel34);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_AZ);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel33);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_BK);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel32);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_FC);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel31);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_FS);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel30);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_LKC);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel29);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel28);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_ZQ);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel27);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DW);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DZ);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel16);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_ZGXJ);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel15);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_YGJ);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel14);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_PlanPrice);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Cmb_LB);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_CZ);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GG);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_MC);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
- this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DM);
- this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
- this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
- this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1024, 116);
- this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
- //
- // ultraLabel37
- //
- this.ultraLabel37.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel37.Location = new System.Drawing.Point(886, 31);
- this.ultraLabel37.Name = "ultraLabel37";
- this.ultraLabel37.Size = new System.Drawing.Size(35, 20);
- this.ultraLabel37.TabIndex = 400;
- this.ultraLabel37.Text = "备注";
- //
- // txt_Remark
- //
- appearance15.BackColor = System.Drawing.Color.LightCyan;
- this.txt_Remark.Appearance = appearance15;
- this.txt_Remark.AutoSize = true;
- this.txt_Remark.FlatMode = true;
- this.txt_Remark.Location = new System.Drawing.Point(927, 28);
- this.txt_Remark.Multiline = true;
- this.txt_Remark.Name = "txt_Remark";
- this.txt_Remark.Size = new System.Drawing.Size(173, 85);
- this.txt_Remark.TabIndex = 399;
- this.txt_Remark.Tag = "";
- this.txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_Remark.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel36
- //
- this.ultraLabel36.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel36.Location = new System.Drawing.Point(886, 5);
- this.ultraLabel36.Name = "ultraLabel36";
- this.ultraLabel36.Size = new System.Drawing.Size(89, 20);
- this.ultraLabel36.TabIndex = 397;
- this.ultraLabel36.Text = "是否以旧换新";
- //
- // ultraLabel35
- //
- this.ultraLabel35.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel35.Location = new System.Drawing.Point(684, 76);
- this.ultraLabel35.Name = "ultraLabel35";
- this.ultraLabel35.Size = new System.Drawing.Size(89, 20);
- this.ultraLabel35.TabIndex = 395;
- this.ultraLabel35.Text = "是否招标物资";
- //
- // ultraLabel34
- //
- this.ultraLabel34.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel34.Location = new System.Drawing.Point(684, 52);
- this.ultraLabel34.Name = "ultraLabel34";
- this.ultraLabel34.Size = new System.Drawing.Size(89, 20);
- this.ultraLabel34.TabIndex = 393;
- this.ultraLabel34.Text = "是否修复物资";
- //
- // ultraLabel33
- //
- this.ultraLabel33.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel33.Location = new System.Drawing.Point(684, 29);
- this.ultraLabel33.Name = "ultraLabel33";
- this.ultraLabel33.Size = new System.Drawing.Size(89, 20);
- this.ultraLabel33.TabIndex = 391;
- this.ultraLabel33.Text = "是否包安装";
- //
- // ultraLabel32
- //
- this.ultraLabel32.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel32.Location = new System.Drawing.Point(684, 6);
- this.ultraLabel32.Name = "ultraLabel32";
- this.ultraLabel32.Size = new System.Drawing.Size(89, 20);
- this.ultraLabel32.TabIndex = 389;
- this.ultraLabel32.Text = "是否备库物资";
- //
- // ultraLabel31
- //
- this.ultraLabel31.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel31.Location = new System.Drawing.Point(482, 79);
- this.ultraLabel31.Name = "ultraLabel31";
- this.ultraLabel31.Size = new System.Drawing.Size(117, 18);
- this.ultraLabel31.TabIndex = 387;
- this.ultraLabel31.Text = "是否废除的物资";
- //
- // ultraLabel30
- //
- this.ultraLabel30.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel30.Location = new System.Drawing.Point(482, 55);
- this.ultraLabel30.Name = "ultraLabel30";
- this.ultraLabel30.Size = new System.Drawing.Size(117, 18);
- this.ultraLabel30.TabIndex = 385;
- this.ultraLabel30.Text = "是否允许负数发料";
- //
- // ultraLabel29
- //
- this.ultraLabel29.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel29.Location = new System.Drawing.Point(482, 31);
- this.ultraLabel29.Name = "ultraLabel29";
- this.ultraLabel29.Size = new System.Drawing.Size(66, 20);
- this.ultraLabel29.TabIndex = 383;
- this.ultraLabel29.Text = "是否零库存";
- //
- // ultraLabel28
- //
- this.ultraLabel28.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel28.Location = new System.Drawing.Point(482, 8);
- this.ultraLabel28.Name = "ultraLabel28";
- this.ultraLabel28.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel28.TabIndex = 381;
- this.ultraLabel28.Text = "制造周期";
- //
- // txt_ZQ
- //
- appearance16.BackColor = System.Drawing.Color.LightCyan;
- this.txt_ZQ.Appearance = appearance16;
- this.txt_ZQ.AutoSize = true;
- this.txt_ZQ.FlatMode = true;
- this.txt_ZQ.Location = new System.Drawing.Point(550, 5);
- this.txt_ZQ.Name = "txt_ZQ";
- this.txt_ZQ.Size = new System.Drawing.Size(128, 19);
- this.txt_ZQ.TabIndex = 380;
- this.txt_ZQ.Tag = "";
- this.txt_ZQ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_ZQ.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel27
- //
- this.ultraLabel27.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel27.Location = new System.Drawing.Point(110, 99);
- this.ultraLabel27.Name = "ultraLabel27";
- this.ultraLabel27.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel27.TabIndex = 379;
- this.ultraLabel27.Text = "计量单位";
- //
- // txt_DW
- //
- appearance17.BackColor = System.Drawing.Color.LightCyan;
- this.txt_DW.Appearance = appearance17;
- this.txt_DW.AutoSize = true;
- this.txt_DW.FlatMode = true;
- this.txt_DW.Location = new System.Drawing.Point(167, 96);
- this.txt_DW.Name = "txt_DW";
- this.txt_DW.Size = new System.Drawing.Size(84, 19);
- this.txt_DW.TabIndex = 378;
- this.txt_DW.Tag = "";
- this.txt_DW.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_DW.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel17
- //
- this.ultraLabel17.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel17.Location = new System.Drawing.Point(3, 99);
- this.ultraLabel17.Name = "ultraLabel17";
- this.ultraLabel17.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel17.TabIndex = 377;
- this.ultraLabel17.Text = "单重";
- //
- // txt_DZ
- //
- appearance18.BackColor = System.Drawing.Color.LightCyan;
- this.txt_DZ.Appearance = appearance18;
- this.txt_DZ.AutoSize = true;
- this.txt_DZ.FlatMode = true;
- this.txt_DZ.Location = new System.Drawing.Point(60, 96);
- this.txt_DZ.Name = "txt_DZ";
- this.txt_DZ.Size = new System.Drawing.Size(44, 19);
- this.txt_DZ.TabIndex = 376;
- this.txt_DZ.Tag = "";
- this.txt_DZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_DZ.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel16
- //
- this.ultraLabel16.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel16.Location = new System.Drawing.Point(289, 97);
- this.ultraLabel16.Name = "ultraLabel16";
- this.ultraLabel16.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel16.TabIndex = 375;
- this.ultraLabel16.Text = "最高限价";
- //
- // txt_ZGXJ
- //
- appearance19.BackColor = System.Drawing.Color.LightCyan;
- this.txt_ZGXJ.Appearance = appearance19;
- this.txt_ZGXJ.AutoSize = true;
- this.txt_ZGXJ.FlatMode = true;
- this.txt_ZGXJ.Location = new System.Drawing.Point(346, 94);
- this.txt_ZGXJ.Name = "txt_ZGXJ";
- this.txt_ZGXJ.Size = new System.Drawing.Size(84, 19);
- this.txt_ZGXJ.TabIndex = 374;
- this.txt_ZGXJ.Tag = "";
- this.txt_ZGXJ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_ZGXJ.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel15
- //
- this.ultraLabel15.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel15.Location = new System.Drawing.Point(289, 68);
- this.ultraLabel15.Name = "ultraLabel15";
- this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel15.TabIndex = 373;
- this.ultraLabel15.Text = "预估价";
- //
- // txt_YGJ
- //
- appearance20.BackColor = System.Drawing.Color.LightCyan;
- this.txt_YGJ.Appearance = appearance20;
- this.txt_YGJ.AutoSize = true;
- this.txt_YGJ.FlatMode = true;
- this.txt_YGJ.Location = new System.Drawing.Point(346, 65);
- this.txt_YGJ.Name = "txt_YGJ";
- this.txt_YGJ.Size = new System.Drawing.Size(84, 19);
- this.txt_YGJ.TabIndex = 372;
- this.txt_YGJ.Tag = "";
- this.txt_YGJ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_YGJ.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel14
- //
- this.ultraLabel14.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel14.Location = new System.Drawing.Point(289, 38);
- this.ultraLabel14.Name = "ultraLabel14";
- this.ultraLabel14.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel14.TabIndex = 371;
- this.ultraLabel14.Text = "计划价";
- //
- // txt_PlanPrice
- //
- appearance21.BackColor = System.Drawing.Color.LightCyan;
- this.txt_PlanPrice.Appearance = appearance21;
- this.txt_PlanPrice.AutoSize = true;
- this.txt_PlanPrice.FlatMode = true;
- this.txt_PlanPrice.Location = new System.Drawing.Point(346, 35);
- this.txt_PlanPrice.Name = "txt_PlanPrice";
- this.txt_PlanPrice.Size = new System.Drawing.Size(84, 19);
- this.txt_PlanPrice.TabIndex = 370;
- this.txt_PlanPrice.Tag = "";
- this.txt_PlanPrice.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_PlanPrice.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel8
- //
- this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel8.Location = new System.Drawing.Point(289, 8);
- this.ultraLabel8.Name = "ultraLabel8";
- this.ultraLabel8.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel8.TabIndex = 368;
- this.ultraLabel8.Text = "物资类别";
- //
- // ultraLabel7
- //
- this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel7.Location = new System.Drawing.Point(3, 77);
- this.ultraLabel7.Name = "ultraLabel7";
- this.ultraLabel7.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel7.TabIndex = 367;
- this.ultraLabel7.Text = "材质";
- //
- // txt_CZ
- //
- appearance22.BackColor = System.Drawing.Color.LightCyan;
- this.txt_CZ.Appearance = appearance22;
- this.txt_CZ.AutoSize = true;
- this.txt_CZ.FlatMode = true;
- this.txt_CZ.Location = new System.Drawing.Point(60, 74);
- this.txt_CZ.Multiline = true;
- this.txt_CZ.Name = "txt_CZ";
- this.txt_CZ.Size = new System.Drawing.Size(191, 19);
- this.txt_CZ.TabIndex = 366;
- this.txt_CZ.Tag = "";
- this.txt_CZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_CZ.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel2
- //
- this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel2.Location = new System.Drawing.Point(3, 55);
- this.ultraLabel2.Name = "ultraLabel2";
- this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel2.TabIndex = 365;
- this.ultraLabel2.Text = "规格型号";
- //
- // txt_GG
- //
- appearance23.BackColor = System.Drawing.Color.LightCyan;
- this.txt_GG.Appearance = appearance23;
- this.txt_GG.AutoSize = true;
- this.txt_GG.FlatMode = true;
- this.txt_GG.Location = new System.Drawing.Point(60, 52);
- this.txt_GG.Multiline = true;
- this.txt_GG.Name = "txt_GG";
- this.txt_GG.Size = new System.Drawing.Size(191, 19);
- this.txt_GG.TabIndex = 364;
- this.txt_GG.Tag = "";
- this.txt_GG.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_GG.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel1
- //
- this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel1.Location = new System.Drawing.Point(3, 31);
- this.ultraLabel1.Name = "ultraLabel1";
- this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel1.TabIndex = 363;
- this.ultraLabel1.Text = "物资名称";
- //
- // txt_MC
- //
- appearance24.BackColor = System.Drawing.Color.LightCyan;
- this.txt_MC.Appearance = appearance24;
- this.txt_MC.AutoSize = true;
- this.txt_MC.FlatMode = true;
- this.txt_MC.Location = new System.Drawing.Point(60, 28);
- this.txt_MC.Multiline = true;
- this.txt_MC.Name = "txt_MC";
- this.txt_MC.Size = new System.Drawing.Size(191, 19);
- this.txt_MC.TabIndex = 362;
- this.txt_MC.Tag = "";
- this.txt_MC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_MC.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // ultraLabel4
- //
- this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel4.Location = new System.Drawing.Point(3, 8);
- this.ultraLabel4.Name = "ultraLabel4";
- this.ultraLabel4.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel4.TabIndex = 361;
- this.ultraLabel4.Text = "物资代码";
- //
- // txt_DM
- //
- appearance25.BackColor = System.Drawing.Color.LightCyan;
- this.txt_DM.Appearance = appearance25;
- this.txt_DM.AutoSize = true;
- this.txt_DM.FlatMode = true;
- this.txt_DM.Location = new System.Drawing.Point(60, 5);
- this.txt_DM.Name = "txt_DM";
- this.txt_DM.Size = new System.Drawing.Size(84, 19);
- this.txt_DM.TabIndex = 358;
- this.txt_DM.Tag = "";
- this.txt_DM.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
- this.txt_DM.Enter += new System.EventHandler(this.txt_DM_Enter);
- //
- // panel2
- //
- this.panel2.Controls.Add(this.gd_WZ);
- this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel2.Location = new System.Drawing.Point(0, 67);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(1028, 313);
- this.panel2.TabIndex = 5;
- //
- // gd_WZ
- //
- appearance26.BackColor = System.Drawing.Color.Ivory;
- this.gd_WZ.DisplayLayout.Appearance = appearance26;
- ultraGridColumn1.Header.Caption = "物资代码";
- ultraGridColumn1.Header.VisiblePosition = 0;
- ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
- ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn2.Header.Caption = "物资名称";
- ultraGridColumn2.Header.VisiblePosition = 1;
- ultraGridColumn2.RowLayoutColumnInfo.OriginX = 1;
- ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn3.Header.Caption = "规格型号";
- ultraGridColumn3.Header.VisiblePosition = 2;
- ultraGridColumn3.RowLayoutColumnInfo.OriginX = 2;
- ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn4.Header.Caption = "材质";
- ultraGridColumn4.Header.VisiblePosition = 3;
- ultraGridColumn4.RowLayoutColumnInfo.OriginX = 3;
- ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
- ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn5.Header.Caption = "单重";
- ultraGridColumn5.Header.VisiblePosition = 4;
- ultraGridColumn5.RowLayoutColumnInfo.OriginX = 5;
- ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
- ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn6.Header.Caption = "计量单位";
- ultraGridColumn6.Header.VisiblePosition = 5;
- ultraGridColumn6.RowLayoutColumnInfo.OriginX = 4;
- ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
- ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn7.EditorControl = this.Cmb_LB;
- ultraGridColumn7.Header.Caption = "物资类型";
- ultraGridColumn7.Header.VisiblePosition = 6;
- ultraGridColumn7.RowLayoutColumnInfo.OriginX = 9;
- ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
- ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn8.Header.Caption = "计划价";
- ultraGridColumn8.Header.VisiblePosition = 7;
- ultraGridColumn8.RowLayoutColumnInfo.OriginX = 6;
- ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
- ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn9.Header.Caption = "预估价";
- ultraGridColumn9.Header.VisiblePosition = 8;
- ultraGridColumn9.RowLayoutColumnInfo.OriginX = 7;
- ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
- ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn10.Header.Caption = "最高价";
- ultraGridColumn10.Header.VisiblePosition = 9;
- ultraGridColumn10.RowLayoutColumnInfo.OriginX = 8;
- ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
- ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn11.Header.Caption = "制造周期";
- ultraGridColumn11.Header.VisiblePosition = 10;
- ultraGridColumn11.RowLayoutColumnInfo.OriginX = 10;
- ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
- ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn12.EditorControl = this.cmb_LKC;
- ultraGridColumn12.Header.Caption = "是否零库存";
- ultraGridColumn12.Header.VisiblePosition = 11;
- ultraGridColumn12.RowLayoutColumnInfo.OriginX = 11;
- ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
- ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn13.EditorControl = this.cmb_FS;
- ultraGridColumn13.Header.Caption = "是否允许负数发料";
- ultraGridColumn13.Header.VisiblePosition = 12;
- ultraGridColumn13.RowLayoutColumnInfo.OriginX = 12;
- ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
- ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn14.EditorControl = this.cmb_FC;
- ultraGridColumn14.Header.Caption = "是否废除的物资";
- ultraGridColumn14.Header.VisiblePosition = 13;
- ultraGridColumn14.RowLayoutColumnInfo.OriginX = 13;
- ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
- ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn15.EditorControl = this.cmb_BK;
- ultraGridColumn15.Header.Caption = "是否备库的物资";
- ultraGridColumn15.Header.VisiblePosition = 14;
- ultraGridColumn15.RowLayoutColumnInfo.OriginX = 14;
- ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
- ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn16.EditorControl = this.cmb_AZ;
- ultraGridColumn16.Header.Caption = "是否安装";
- ultraGridColumn16.Header.VisiblePosition = 15;
- ultraGridColumn16.RowLayoutColumnInfo.OriginX = 15;
- ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
- ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn17.EditorControl = this.cmb_XF;
- ultraGridColumn17.Header.Caption = "是否修复物资";
- ultraGridColumn17.Header.VisiblePosition = 16;
- ultraGridColumn17.RowLayoutColumnInfo.OriginX = 16;
- ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0);
- ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn18.EditorControl = this.cmb_ZB;
- ultraGridColumn18.Header.Caption = "是否招标物资";
- ultraGridColumn18.Header.VisiblePosition = 17;
- ultraGridColumn18.RowLayoutColumnInfo.OriginX = 17;
- ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
- ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn19.EditorControl = this.cmb_HX;
- ultraGridColumn19.Header.Caption = "是否以旧换新";
- ultraGridColumn19.Header.VisiblePosition = 18;
- ultraGridColumn19.RowLayoutColumnInfo.OriginX = 18;
- ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
- ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn20.Header.Caption = "记录人";
- ultraGridColumn20.Header.VisiblePosition = 19;
- ultraGridColumn20.RowLayoutColumnInfo.OriginX = 19;
- ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
- ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn21.Header.Caption = "记录时间";
- ultraGridColumn21.Header.VisiblePosition = 20;
- ultraGridColumn21.RowLayoutColumnInfo.OriginX = 20;
- ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
- ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn22.Header.Caption = "备注";
- ultraGridColumn22.Header.VisiblePosition = 21;
- ultraGridColumn22.RowLayoutColumnInfo.OriginX = 21;
- ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
- ultraGridColumn23.Header.VisiblePosition = 22;
- ultraGridColumn23.Hidden = true;
- ultraGridColumn23.RowLayoutColumnInfo.OriginX = 22;
- ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
- ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
- ultraGridColumn23.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});
- ultraGridBand1.UseRowLayout = true;
- this.gd_WZ.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
- this.gd_WZ.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- this.gd_WZ.DisplayLayout.GroupByBox.Hidden = true;
- this.gd_WZ.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域!";
- appearance27.BorderColor = System.Drawing.Color.Black;
- appearance27.TextVAlign = Infragistics.Win.VAlign.Middle;
- this.gd_WZ.DisplayLayout.Override.CellAppearance = appearance27;
- this.gd_WZ.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
- this.gd_WZ.DisplayLayout.Override.CellPadding = 0;
- appearance28.BackColor = System.Drawing.SystemColors.Control;
- appearance28.BackColor2 = System.Drawing.SystemColors.ControlDark;
- appearance28.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
- appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
- appearance28.BorderColor = System.Drawing.SystemColors.Window;
- appearance28.TextHAlign = Infragistics.Win.HAlign.Left;
- appearance28.TextVAlign = Infragistics.Win.VAlign.Middle;
- this.gd_WZ.DisplayLayout.Override.GroupByRowAppearance = appearance28;
- this.gd_WZ.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)";
- this.gd_WZ.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
- appearance29.BackColor = System.Drawing.Color.LightSteelBlue;
- this.gd_WZ.DisplayLayout.Override.HeaderAppearance = appearance29;
- this.gd_WZ.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle;
- this.gd_WZ.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
- appearance30.BackColor = System.Drawing.SystemColors.Window;
- appearance30.BorderColor = System.Drawing.Color.Black;
- appearance30.TextVAlign = Infragistics.Win.VAlign.Middle;
- this.gd_WZ.DisplayLayout.Override.RowAppearance = appearance30;
- appearance31.BackColor = System.Drawing.SystemColors.Window;
- appearance31.BorderColor = System.Drawing.Color.Black;
- appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
- this.gd_WZ.DisplayLayout.Override.RowPreviewAppearance = appearance31;
- this.gd_WZ.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
- this.gd_WZ.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
- this.gd_WZ.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
- appearance32.TextHAlign = Infragistics.Win.HAlign.Left;
- appearance32.TextVAlign = Infragistics.Win.VAlign.Middle;
- this.gd_WZ.DisplayLayout.Override.SelectedRowAppearance = appearance32;
- this.gd_WZ.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
- appearance33.BackColor = System.Drawing.SystemColors.Window;
- this.gd_WZ.DisplayLayout.Override.SummaryFooterAppearance = appearance33;
- appearance34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
- appearance34.ForeColor = System.Drawing.Color.Red;
- this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance34;
- this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
- appearance35.BackColor = System.Drawing.Color.MistyRose;
- appearance35.ForeColor = System.Drawing.Color.Blue;
- appearance35.TextHAlign = Infragistics.Win.HAlign.Right;
- appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
- this.gd_WZ.DisplayLayout.Override.SummaryValueAppearance = appearance35;
- appearance36.BackColor = System.Drawing.SystemColors.ControlLight;
- this.gd_WZ.DisplayLayout.Override.TemplateAddRowAppearance = appearance36;
- this.gd_WZ.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
- this.gd_WZ.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
- this.gd_WZ.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
- this.gd_WZ.Dock = System.Windows.Forms.DockStyle.Fill;
- this.gd_WZ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.gd_WZ.Location = new System.Drawing.Point(0, 0);
- this.gd_WZ.Name = "gd_WZ";
- this.gd_WZ.Size = new System.Drawing.Size(1028, 313);
- this.gd_WZ.TabIndex = 1;
- this.gd_WZ.Text = "原料垛位信息";
- this.gd_WZ.AfterRowActivate += new System.EventHandler(this.gd_WZ_AfterRowActivate);
- //
- // ultraLabel3
- //
- this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel3.Location = new System.Drawing.Point(3, 55);
- this.ultraLabel3.Name = "ultraLabel3";
- this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel3.TabIndex = 365;
- this.ultraLabel3.Text = "规格型号";
- //
- // ultraTextEditor1
- //
- appearance37.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor1.Appearance = appearance37;
- this.ultraTextEditor1.AutoSize = true;
- this.ultraTextEditor1.Enabled = false;
- this.ultraTextEditor1.FlatMode = true;
- this.ultraTextEditor1.Location = new System.Drawing.Point(60, 52);
- this.ultraTextEditor1.Multiline = true;
- this.ultraTextEditor1.Name = "ultraTextEditor1";
- this.ultraTextEditor1.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor1.TabIndex = 364;
- this.ultraTextEditor1.Tag = "";
- //
- // ultraLabel5
- //
- this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel5.Location = new System.Drawing.Point(3, 31);
- this.ultraLabel5.Name = "ultraLabel5";
- this.ultraLabel5.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel5.TabIndex = 363;
- this.ultraLabel5.Text = "物资名称";
- //
- // ultraTextEditor2
- //
- appearance38.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor2.Appearance = appearance38;
- this.ultraTextEditor2.AutoSize = true;
- this.ultraTextEditor2.Enabled = false;
- this.ultraTextEditor2.FlatMode = true;
- this.ultraTextEditor2.Location = new System.Drawing.Point(60, 28);
- this.ultraTextEditor2.Multiline = true;
- this.ultraTextEditor2.Name = "ultraTextEditor2";
- this.ultraTextEditor2.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor2.TabIndex = 362;
- this.ultraTextEditor2.Tag = "";
- //
- // ultraLabel6
- //
- this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel6.Location = new System.Drawing.Point(3, 8);
- this.ultraLabel6.Name = "ultraLabel6";
- this.ultraLabel6.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel6.TabIndex = 361;
- this.ultraLabel6.Text = "物资代码";
- //
- // ultraTextEditor3
- //
- appearance39.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor3.Appearance = appearance39;
- this.ultraTextEditor3.AutoSize = true;
- this.ultraTextEditor3.Enabled = false;
- this.ultraTextEditor3.FlatMode = true;
- this.ultraTextEditor3.Location = new System.Drawing.Point(60, 5);
- this.ultraTextEditor3.Name = "ultraTextEditor3";
- this.ultraTextEditor3.Size = new System.Drawing.Size(84, 19);
- this.ultraTextEditor3.TabIndex = 358;
- this.ultraTextEditor3.Tag = "";
- //
- // ultraComboEditor1
- //
- appearance40.BackColor = System.Drawing.Color.LightCyan;
- this.ultraComboEditor1.Appearance = appearance40;
- this.ultraComboEditor1.AutoSize = true;
- valueListItem35.DataValue = "0";
- valueListItem36.DataValue = "A";
- valueListItem36.DisplayText = "A";
- valueListItem37.DataValue = "B";
- valueListItem37.DisplayText = "B";
- valueListItem38.DataValue = "C";
- valueListItem38.DisplayText = "C";
- this.ultraComboEditor1.Items.Add(valueListItem35);
- this.ultraComboEditor1.Items.Add(valueListItem36);
- this.ultraComboEditor1.Items.Add(valueListItem37);
- this.ultraComboEditor1.Items.Add(valueListItem38);
- this.ultraComboEditor1.Location = new System.Drawing.Point(340, 5);
- this.ultraComboEditor1.Name = "ultraComboEditor1";
- this.ultraComboEditor1.Size = new System.Drawing.Size(86, 21);
- this.ultraComboEditor1.TabIndex = 369;
- //
- // ultraLabel9
- //
- this.ultraLabel9.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel9.Location = new System.Drawing.Point(289, 8);
- this.ultraLabel9.Name = "ultraLabel9";
- this.ultraLabel9.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel9.TabIndex = 368;
- this.ultraLabel9.Text = "物资类别";
- //
- // ultraLabel10
- //
- this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel10.Location = new System.Drawing.Point(3, 77);
- this.ultraLabel10.Name = "ultraLabel10";
- this.ultraLabel10.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel10.TabIndex = 367;
- this.ultraLabel10.Text = "材质";
- //
- // ultraTextEditor4
- //
- appearance41.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor4.Appearance = appearance41;
- this.ultraTextEditor4.AutoSize = true;
- this.ultraTextEditor4.Enabled = false;
- this.ultraTextEditor4.FlatMode = true;
- this.ultraTextEditor4.Location = new System.Drawing.Point(60, 74);
- this.ultraTextEditor4.Multiline = true;
- this.ultraTextEditor4.Name = "ultraTextEditor4";
- this.ultraTextEditor4.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor4.TabIndex = 366;
- this.ultraTextEditor4.Tag = "";
- //
- // ultraLabel11
- //
- this.ultraLabel11.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel11.Location = new System.Drawing.Point(3, 55);
- this.ultraLabel11.Name = "ultraLabel11";
- this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel11.TabIndex = 365;
- this.ultraLabel11.Text = "规格型号";
- //
- // ultraTextEditor5
- //
- appearance42.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor5.Appearance = appearance42;
- this.ultraTextEditor5.AutoSize = true;
- this.ultraTextEditor5.Enabled = false;
- this.ultraTextEditor5.FlatMode = true;
- this.ultraTextEditor5.Location = new System.Drawing.Point(60, 52);
- this.ultraTextEditor5.Multiline = true;
- this.ultraTextEditor5.Name = "ultraTextEditor5";
- this.ultraTextEditor5.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor5.TabIndex = 364;
- this.ultraTextEditor5.Tag = "";
- //
- // ultraLabel12
- //
- this.ultraLabel12.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel12.Location = new System.Drawing.Point(3, 31);
- this.ultraLabel12.Name = "ultraLabel12";
- this.ultraLabel12.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel12.TabIndex = 363;
- this.ultraLabel12.Text = "物资名称";
- //
- // ultraTextEditor6
- //
- appearance43.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor6.Appearance = appearance43;
- this.ultraTextEditor6.AutoSize = true;
- this.ultraTextEditor6.Enabled = false;
- this.ultraTextEditor6.FlatMode = true;
- this.ultraTextEditor6.Location = new System.Drawing.Point(60, 28);
- this.ultraTextEditor6.Multiline = true;
- this.ultraTextEditor6.Name = "ultraTextEditor6";
- this.ultraTextEditor6.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor6.TabIndex = 362;
- this.ultraTextEditor6.Tag = "";
- //
- // ultraLabel13
- //
- this.ultraLabel13.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel13.Location = new System.Drawing.Point(3, 8);
- this.ultraLabel13.Name = "ultraLabel13";
- this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel13.TabIndex = 361;
- this.ultraLabel13.Text = "物资代码";
- //
- // ultraTextEditor7
- //
- appearance44.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor7.Appearance = appearance44;
- this.ultraTextEditor7.AutoSize = true;
- this.ultraTextEditor7.Enabled = false;
- this.ultraTextEditor7.FlatMode = true;
- this.ultraTextEditor7.Location = new System.Drawing.Point(60, 5);
- this.ultraTextEditor7.Name = "ultraTextEditor7";
- this.ultraTextEditor7.Size = new System.Drawing.Size(84, 19);
- this.ultraTextEditor7.TabIndex = 358;
- this.ultraTextEditor7.Tag = "";
- //
- // ultraLabel18
- //
- this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel18.Location = new System.Drawing.Point(3, 99);
- this.ultraLabel18.Name = "ultraLabel18";
- this.ultraLabel18.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel18.TabIndex = 377;
- this.ultraLabel18.Text = "最高限价";
- //
- // ultraTextEditor9
- //
- appearance45.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor9.Appearance = appearance45;
- this.ultraTextEditor9.AutoSize = true;
- this.ultraTextEditor9.Enabled = false;
- this.ultraTextEditor9.FlatMode = true;
- this.ultraTextEditor9.Location = new System.Drawing.Point(60, 96);
- this.ultraTextEditor9.Name = "ultraTextEditor9";
- this.ultraTextEditor9.Size = new System.Drawing.Size(84, 19);
- this.ultraTextEditor9.TabIndex = 376;
- this.ultraTextEditor9.Tag = "";
- //
- // ultraLabel19
- //
- this.ultraLabel19.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel19.Location = new System.Drawing.Point(289, 77);
- this.ultraLabel19.Name = "ultraLabel19";
- this.ultraLabel19.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel19.TabIndex = 375;
- this.ultraLabel19.Text = "最高限价";
- //
- // ultraTextEditor10
- //
- appearance46.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor10.Appearance = appearance46;
- this.ultraTextEditor10.AutoSize = true;
- this.ultraTextEditor10.Enabled = false;
- this.ultraTextEditor10.FlatMode = true;
- this.ultraTextEditor10.Location = new System.Drawing.Point(346, 74);
- this.ultraTextEditor10.Name = "ultraTextEditor10";
- this.ultraTextEditor10.Size = new System.Drawing.Size(84, 19);
- this.ultraTextEditor10.TabIndex = 374;
- this.ultraTextEditor10.Tag = "";
- //
- // ultraLabel20
- //
- this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel20.Location = new System.Drawing.Point(289, 55);
- this.ultraLabel20.Name = "ultraLabel20";
- this.ultraLabel20.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel20.TabIndex = 373;
- this.ultraLabel20.Text = "预估价";
- //
- // ultraTextEditor11
- //
- appearance47.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor11.Appearance = appearance47;
- this.ultraTextEditor11.AutoSize = true;
- this.ultraTextEditor11.Enabled = false;
- this.ultraTextEditor11.FlatMode = true;
- this.ultraTextEditor11.Location = new System.Drawing.Point(346, 52);
- this.ultraTextEditor11.Name = "ultraTextEditor11";
- this.ultraTextEditor11.Size = new System.Drawing.Size(84, 19);
- this.ultraTextEditor11.TabIndex = 372;
- this.ultraTextEditor11.Tag = "";
- //
- // ultraLabel21
- //
- this.ultraLabel21.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel21.Location = new System.Drawing.Point(289, 33);
- this.ultraLabel21.Name = "ultraLabel21";
- this.ultraLabel21.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel21.TabIndex = 371;
- this.ultraLabel21.Text = "计划价";
- //
- // ultraTextEditor12
- //
- appearance48.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor12.Appearance = appearance48;
- this.ultraTextEditor12.AutoSize = true;
- this.ultraTextEditor12.Enabled = false;
- this.ultraTextEditor12.FlatMode = true;
- this.ultraTextEditor12.Location = new System.Drawing.Point(346, 30);
- this.ultraTextEditor12.Name = "ultraTextEditor12";
- this.ultraTextEditor12.Size = new System.Drawing.Size(84, 19);
- this.ultraTextEditor12.TabIndex = 370;
- this.ultraTextEditor12.Tag = "";
- //
- // ultraComboEditor2
- //
- appearance49.BackColor = System.Drawing.Color.LightCyan;
- this.ultraComboEditor2.Appearance = appearance49;
- this.ultraComboEditor2.AutoSize = true;
- valueListItem39.DataValue = "0";
- valueListItem40.DataValue = "A";
- valueListItem40.DisplayText = "A";
- valueListItem41.DataValue = "B";
- valueListItem41.DisplayText = "B";
- valueListItem42.DataValue = "C";
- valueListItem42.DisplayText = "C";
- this.ultraComboEditor2.Items.Add(valueListItem39);
- this.ultraComboEditor2.Items.Add(valueListItem40);
- this.ultraComboEditor2.Items.Add(valueListItem41);
- this.ultraComboEditor2.Items.Add(valueListItem42);
- this.ultraComboEditor2.Location = new System.Drawing.Point(346, 5);
- this.ultraComboEditor2.Name = "ultraComboEditor2";
- this.ultraComboEditor2.Size = new System.Drawing.Size(86, 21);
- this.ultraComboEditor2.TabIndex = 369;
- //
- // ultraLabel22
- //
- this.ultraLabel22.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel22.Location = new System.Drawing.Point(289, 8);
- this.ultraLabel22.Name = "ultraLabel22";
- this.ultraLabel22.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel22.TabIndex = 368;
- this.ultraLabel22.Text = "物资类别";
- //
- // ultraLabel23
- //
- this.ultraLabel23.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel23.Location = new System.Drawing.Point(3, 77);
- this.ultraLabel23.Name = "ultraLabel23";
- this.ultraLabel23.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel23.TabIndex = 367;
- this.ultraLabel23.Text = "材质";
- //
- // ultraTextEditor13
- //
- appearance50.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor13.Appearance = appearance50;
- this.ultraTextEditor13.AutoSize = true;
- this.ultraTextEditor13.Enabled = false;
- this.ultraTextEditor13.FlatMode = true;
- this.ultraTextEditor13.Location = new System.Drawing.Point(60, 74);
- this.ultraTextEditor13.Multiline = true;
- this.ultraTextEditor13.Name = "ultraTextEditor13";
- this.ultraTextEditor13.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor13.TabIndex = 366;
- this.ultraTextEditor13.Tag = "";
- //
- // ultraLabel24
- //
- this.ultraLabel24.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel24.Location = new System.Drawing.Point(3, 55);
- this.ultraLabel24.Name = "ultraLabel24";
- this.ultraLabel24.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel24.TabIndex = 365;
- this.ultraLabel24.Text = "规格型号";
- //
- // ultraTextEditor14
- //
- appearance51.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor14.Appearance = appearance51;
- this.ultraTextEditor14.AutoSize = true;
- this.ultraTextEditor14.Enabled = false;
- this.ultraTextEditor14.FlatMode = true;
- this.ultraTextEditor14.Location = new System.Drawing.Point(60, 52);
- this.ultraTextEditor14.Multiline = true;
- this.ultraTextEditor14.Name = "ultraTextEditor14";
- this.ultraTextEditor14.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor14.TabIndex = 364;
- this.ultraTextEditor14.Tag = "";
- //
- // ultraLabel25
- //
- this.ultraLabel25.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel25.Location = new System.Drawing.Point(3, 31);
- this.ultraLabel25.Name = "ultraLabel25";
- this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel25.TabIndex = 363;
- this.ultraLabel25.Text = "物资名称";
- //
- // ultraTextEditor15
- //
- appearance52.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor15.Appearance = appearance52;
- this.ultraTextEditor15.AutoSize = true;
- this.ultraTextEditor15.Enabled = false;
- this.ultraTextEditor15.FlatMode = true;
- this.ultraTextEditor15.Location = new System.Drawing.Point(60, 28);
- this.ultraTextEditor15.Multiline = true;
- this.ultraTextEditor15.Name = "ultraTextEditor15";
- this.ultraTextEditor15.Size = new System.Drawing.Size(191, 19);
- this.ultraTextEditor15.TabIndex = 362;
- this.ultraTextEditor15.Tag = "";
- //
- // ultraLabel26
- //
- this.ultraLabel26.BackColor = System.Drawing.Color.Transparent;
- this.ultraLabel26.Location = new System.Drawing.Point(3, 8);
- this.ultraLabel26.Name = "ultraLabel26";
- this.ultraLabel26.Size = new System.Drawing.Size(56, 16);
- this.ultraLabel26.TabIndex = 361;
- this.ultraLabel26.Text = "物资代码";
- //
- // ultraTextEditor16
- //
- appearance53.BackColor = System.Drawing.Color.LightCyan;
- this.ultraTextEditor16.Appearance = appearance53;
- this.ultraTextEditor16.AutoSize = true;
- this.ultraTextEditor16.Enabled = false;
- this.ultraTextEditor16.FlatMode = true;
- this.ultraTextEditor16.Location = new System.Drawing.Point(60, 5);
- this.ultraTextEditor16.Name = "ultraTextEditor16";
- this.ultraTextEditor16.Size = new System.Drawing.Size(84, 19);
- this.ultraTextEditor16.TabIndex = 358;
- this.ultraTextEditor16.Tag = "";
- //
- // txt_Code
- //
- appearance14.BackColor = System.Drawing.Color.LightCyan;
- this.txt_Code.Appearance = appearance14;
- this.txt_Code.AutoSize = true;
- this.txt_Code.FlatMode = true;
- this.txt_Code.Location = new System.Drawing.Point(494, 94);
- this.txt_Code.Name = "txt_Code";
- this.txt_Code.Size = new System.Drawing.Size(84, 19);
- this.txt_Code.TabIndex = 401;
- this.txt_Code.Tag = "";
- this.txt_Code.Visible = false;
- //
- // FrmMeterialCoce
- //
- this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
- this.ClientSize = new System.Drawing.Size(1028, 518);
- this.Controls.Add(this.panel2);
- this.Controls.Add(this.ultraExpandableGroupBox1);
- this.Controls.Add(this.ultraGroupBox1);
- this.Controls.Add(this.panel1);
- this.Name = "FrmMeterialCoce";
- this.Text = "物资代码管理";
- this.Load += new System.EventHandler(this.FrmMeterialCoce_Load);
- ((System.ComponentModel.ISupportInitialize)(this.Cmb_LB)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_LKC)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_FS)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_FC)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_BK)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_AZ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_XF)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_ZB)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.cmb_HX)).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.txt_Spec)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
- this.ultraExpandableGroupBox1.ResumeLayout(false);
- this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_ZQ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_ZGXJ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_YGJ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_PlanPrice)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).EndInit();
- this.panel2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.txt_Code)).EndInit();
- this.ResumeLayout(false);
- }
- #endregion
-
-
- private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
- {
- if (this.chk_AllowFilter.Checked)
- {
- this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
- }
- else
- {
- this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
-
- }
- }
- private void DoQuery()
- {
- string where = "";
- string sql = "";
- string err = "";
- if (this.txt_wzdm.Enabled && this.txt_wzdm.Text.Trim().Length > 0)
- {
- where += " AND MATERIAL_CODE LIKE '" + this.txt_wzdm.Text.Trim().ToString() + "%'";
- }
- if (this.txt_wzmc.Enabled && this.txt_wzmc.Text.Trim().Length > 0)
- {
- where += " AND MATERIAL_NAME LIKE '" + this.txt_wzmc.Text.Trim().ToString() + "%'";
- }
- if (this.txt_Spec.Enabled && this.txt_Spec.Text.Trim().Length > 0)
- {
- where += " AND SPEC LIKE '" + this.txt_Spec.Text.Trim().ToString() + "%'";
- }
- if (Chk_FC.Checked)
- {
- where += " AND ISFCWZ='0'";
- }
- if (Chk_XF.Checked)
- {
- where += " AND ISXH ='1'";
- }
- if (Chk_LKC.Checked)
- {
- where += " AND ISLKC ='1'";
- }
- sql = "SELECT MATERIAL_CODE,MATERIAL_NAME,SPEC,MATERIAL,SUBSTANCE,UNITS,MATERIAL_LB,PLAN_PRICE,ESTIMATE_PRICE,CEILING_PRICE,MANUFACRING_CYCLE,"
- + "CASE WHEN ISLKC='1' THEN '是' ELSE '' END ISLKC ,"
- + "CASE WHEN ISFSFL='1' THEN '是' ELSE '' END ISFSFL,"
- + "CASE WHEN ISFCWZ='1' THEN '是' ELSE '' END ISFCWZ,"
- + "CASE WHEN ISBKWZ='1' THEN '是' ELSE '' END ISBKWZ,"
- + "CASE WHEN ISAZ='1' THEN '是' ELSE '' END ISAZ,"
- + "CASE WHEN ISXH='1' THEN '是' ELSE '' END ISXH,"
- + "CASE WHEN ISZBWZ='1' THEN '是' ELSE '' END ISZBWZ,"
- + "CASE WHEN ISHX='1' THEN '是' ELSE '' END ISHX,"
- + "RECODER,TO_CHAR(TIME_,'YYYY-MM-DD HH24:MI:SS')TIME_,REMARK,SORT_CODE FROM MATERIAL_CODE_MANAGE WHERE 1=1 " + where + " ORDER BY TO_NUMBER(SORT_CODE) ASC "
- ;
- DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
- if (err == "")
- {
- gd_WZ.DataSource = ds;
- }
-
- }
- private void Export()
- {
- if (this.gd_WZ.Rows.Count > 0)
- {
- Comm.ExPortExcel(this.gd_WZ, this.excelExporter);
- }
- else
- {
- MessageBox.Show("无物资信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
- }
- }
- private void Add(string strMode)
- {
- try
- {
- string strerr = "";
-
- System.Collections.ArrayList MetarilInfo = new ArrayList();
- if (strMode == "UPDATE")
- {
- if (txt_DM.Text.Trim().ToString() == "")
- {
- MessageBox.Show("物资代码不能为空");
- return;
- }
- }
- MetarilInfo.Add(Comm.ObjToStr(this.txt_MC.Text.Trim().ToString()));//1 物资名称
- MetarilInfo.Add(Comm.ObjToStr(this.txt_GG.Text.Trim().ToString()));//2 规格型号
- MetarilInfo.Add(Comm.ObjToStr(this.txt_CZ.Text.Trim().ToString()));//3 材质
- MetarilInfo.Add(Comm.ObjToStr(this.txt_DZ.Text.Trim().ToString()));//4 单重
- MetarilInfo.Add(Comm.ObjToStr(this.txt_DW.Text.Trim().ToString()));//5 计量单位
- if (System.Text.RegularExpressions.Regex.IsMatch(this.Cmb_LB.Value.ToString(), @"[\u4e00-\u9fbb]+$"))
- {
- MetarilInfo.Add(Comm.ObjToStr(this.txt_Code.Text.ToString().Trim()));//6 物资类别
- }
- else
- {
- MetarilInfo.Add(Comm.ObjToStr(this.Cmb_LB.Value));//6 物资类别
- }
- MetarilInfo.Add(Comm.ObjToStr(this.txt_PlanPrice.Text.Trim().ToString()));//7 计划价
- MetarilInfo.Add(Comm.ObjToStr(this.txt_YGJ.Text.Trim().ToString()));//8 预估价
- MetarilInfo.Add(Comm.ObjToStr(this.txt_ZGXJ.Text.Trim().ToString()));//9 最高限价
- MetarilInfo.Add(Comm.ObjToStr(this.txt_ZQ.Text.Trim().ToString()));//10 制造周期
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_LKC.Value));//11 是否零库存
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_FS.Value));//12 是否允许负数发料
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_FC.Value));//13 是否废除的物资
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_BK.Value));//14 是否备库物资
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_AZ.Value));//15 是否包安装
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_XF.Value));//16 是否修复物资
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_ZB.Value));//17 是否招标物资
- MetarilInfo.Add(Comm.ObjToStr(this.cmb_HX.Value));//18 是否以旧换新
- MetarilInfo.Add(Comm.ObjToStr(this.txt_Remark.Text.Trim().ToString()));//19 备注
- MetarilInfo.Add(ClientCommon._UserInfo.UserName.ToString());//20 操作人
- MetarilInfo.Add(strMode);//21 操作模式
- MetarilInfo.Add(Comm.ObjToStr(this.txt_DM.Text.Trim().ToString()));
- MetarilInfo.Add(Comm.ObjToStr(this.Cmb_LB.Text.Trim().ToString()));//23 物资名称
- object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial",
- "MetarilAdd", new object[] { MetarilInfo}, out strerr);
- if (obj != null && obj.ToString() == "1")
- {
- MessageBox.Show("新增成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
- DoQuery();
- }
- else
- {
- MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
- }
- }
- catch (Exception ex)
- {
- }
- }
- private void FrmMeterialCoce_Load(object sender, System.EventArgs e)
- {
-
- cmb_LKC.Value = "0";
- cmb_FS.Value = "0";
- cmb_FC.Value = "0";
- cmb_BK.Value = "0";
- cmb_AZ.Value = "0";
- cmb_XF.Value = "0";
- cmb_ZB.Value = "0";
- cmb_HX.Value = "0";
- }
-
-
- private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
- {
- switch (e.Tool.Key)
- {
- case "Add":
- Add("ADD");
- break;
- case "Del":
- Add("Del");
- break;
- case "UPDATE":
- Add("UPDATE");
- break;
- case "Query":
- DoQuery();
- break;
- case "Export":
- Export();
- break;
- case "Close":
- this.Close();
- break;
- }
- }
-
- private void txt_DM_Enter(object sender, EventArgs e)
- {
- 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();
- }
- }
- private void txt_DM_KeyDown(object sender, KeyEventArgs e)
- {
- //string dh = "";
- try
- {
- if (e.KeyData == System.Windows.Forms.Keys.Return)
- {
- if (((System.Windows.Forms.Control)sender).Name == "txt_CZ")
- {
- txt_DZ.Focus();
- txt_DZ.SelectAll();
- }
- if (((System.Windows.Forms.Control)sender).Name == "txt_DZ")
- {
- txt_DW.Focus();
- txt_DW.SelectAll();
- }
- if (((System.Windows.Forms.Control)sender).Name == "txt_DW")
- {
- Cmb_LB.Focus();
- Cmb_LB.SelectAll();
- }
- if (((System.Windows.Forms.Control)sender).Name == "Cmb_LB")
- {
- txt_PlanPrice.Focus();
- txt_PlanPrice.SelectAll();
- }
- if (((System.Windows.Forms.Control)sender).Name == "txt_Remark")
- {
- System.Windows.Forms.DialogResult result = DialogResult.No;
- result = MessageBox.Show("是否新增?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
- if (result == DialogResult.Yes)
- {
- this.Add("ADD");
- }
- else
- {
- this.Add("UPDATE");
- }
- this.txt_MC.Focus();
- this.txt_MC.SelectAll();
- return;
- }
- System.Windows.Forms.SendKeys.Send("{TAB}");
- }
- }
- catch (Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
- private void Chk_Wzdm_CheckedChanged(object sender, EventArgs e)
- {
- txt_wzdm.Enabled = Chk_Wzdm.Checked;
- }
- private void Chk_Wzmc_CheckedChanged(object sender, EventArgs e)
- {
- txt_wzmc.Enabled = Chk_Wzmc.Checked;
- }
- private void Chk_Spec_CheckedChanged(object sender, EventArgs e)
- {
- txt_Spec.Enabled = Chk_Spec.Checked;
- }
- private void gd_WZ_AfterRowActivate(object sender, EventArgs e)
- {
- try
- {
- if (this.gd_WZ.Rows.Count > 0)
- {
- this.txt_DM.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_CODE"].Value);
- txt_MC.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_NAME"].Value);
- txt_GG.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SPEC"].Value);
- txt_CZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL"].Value);
- txt_DZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SUBSTANCE"].Value);
- txt_DW.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["UNITS"].Value);
- Cmb_LB.Value = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_LB"].Value);
- txt_PlanPrice.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["PLAN_PRICE"].Value);
- txt_YGJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ESTIMATE_PRICE"].Value);
- txt_ZGXJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["CEILING_PRICE"].Value);
- txt_ZQ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MANUFACRING_CYCLE"].Value);
- txt_Code.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SORT_CODE"].Value);
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISLKC"].Value) == "是")
- {
- cmb_LKC.Value ="1";
- }
- else
- {
- cmb_LKC.Value = "0";
- }
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFSFL"].Value) == "是")
- {
- cmb_FS.Value = "1";
- }
- else
- {
- cmb_FS.Value = "0";
- }
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFCWZ"].Value) == "是")
- {
- cmb_FC.Value = "1";
- }
- else
- {
- cmb_FC.Value = "0";
- }
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISBKWZ"].Value) == "是")
- {
- cmb_BK.Value = "1";
- }
- else
- {
- cmb_BK.Value = "0";
- }
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISAZ"].Value) == "是")
- {
- cmb_AZ.Value = "1";
- }
- else
- {
- cmb_AZ.Value = "0";
- }
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISXH"].Value) == "是")
- {
- cmb_XF.Value = "1";
- }
- else
- {
- cmb_XF.Value = "0";
- }
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISZBWZ"].Value) == "是")
- {
- cmb_ZB.Value = "1";
- }
- else
- {
- cmb_ZB.Value = "0";
- }
- if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISHX"].Value) == "是")
- {
- cmb_HX.Value = "1";
- }
- else
- {
- cmb_HX.Value = "0";
- }
-
-
-
-
- txt_Remark.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["REMARK"].Value);
-
-
- }
- }
- catch (Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex.ToString());
- }
- }
-
-
-
-
-
-
-
-
-
-
-
- }
- }
|