.bak_6.log 984 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703
  1. !SESSION 2018-06-21 08:47:35.535 -----------------------------------------------
  2. eclipse.buildId=4.4.2.M20150204-1700
  3. java.version=1.7.0_80
  4. java.vendor=Oracle Corporation
  5. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
  6. Framework arguments: -product org.eclipse.epp.package.jee.product
  7. Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
  8. This is a continuation of log file F:\zhcx\.metadata\.bak_5.log
  9. Created Time: 2018-06-21 09:23:35.170
  10. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:23:35.171
  11. !MESSAGE java.lang.NullPointerException
  12. !STACK 1
  13. JavaScript Model Exception: java.lang.NullPointerException
  14. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  15. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  16. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  17. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  18. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  19. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  20. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  21. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  22. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  23. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  24. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  25. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  26. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  27. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  28. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  29. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  30. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  31. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  32. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  33. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  34. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  35. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  36. Caused by: java.lang.NullPointerException
  37. Caused by: java.lang.NullPointerException
  38. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:23:35.171
  39. !MESSAGE java.lang.NullPointerException
  40. !STACK 0
  41. java.lang.NullPointerException
  42. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:35.566
  43. !MESSAGE Exception occurred during problem detection:
  44. ----------------------------------- SOURCE BEGIN -------------------------------------
  45. (function(){WdatePicker();})();
  46. (function(){WdatePicker();})();
  47. (function(){Data.get();})();
  48. (function(){Data.set();})();
  49. (function(){search();})();
  50. $(function(){
  51. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  52. getfp();
  53. });
  54. var Data = {
  55. "get" : function(){
  56. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  57. var tip = layer.load(2);
  58. var result="";
  59. var url = "getgyxml.do";
  60. $.ajax({
  61. "url" : url,
  62. "data" : {
  63. "start_date" : $("#dateBegin").val(),
  64. "end_date" : $("#dateEnd").val()
  65. },
  66. "type" : "POST",
  67. "dataType" : "json",
  68. "success" : function(data) {
  69. if(data != null && data != ""){
  70. if ( data.status =="success"){
  71. getfp();
  72. alert("获取成功!");
  73. }else {
  74. alert(data.status);
  75. }
  76. }else {
  77. alert("获取失败!");
  78. }
  79. },
  80. "complete": function(){
  81. layer.close(tip);
  82. }
  83. });
  84. }else {
  85. alert("请选择日期!");
  86. }
  87. },
  88. "set" : function(){
  89. if ( $("#fpid option:selected").text() !=""){
  90. var tip = layer.load(2);
  91. var gitem = $("#form1").serialize();
  92. var jrjc;
  93. if ($("#jrjc").prop('checked') == true){
  94. jrjc = $("#departmentId").val();
  95. }else {
  96. jrjc ='N'
  97. }
  98. var url = "saverk.do";
  99. $.ajax({
  100. "url" : url,
  101. "data" : {
  102. "gitem" : gitem,
  103. "jrjc" : jrjc
  104. },
  105. "type" : "POST",
  106. "dataType" : "json",
  107. "async" : true,
  108. "success" : function(data) {
  109. if(data.status ="success"){
  110. alert("入库成功!");
  111. window.location.reload();
  112. }else {
  113. alert(msg);
  114. }
  115. },
  116. "error": function(){
  117. alert("确认失败!");
  118. },
  119. "complete": function(){
  120. layer.close(tip);
  121. }
  122. });
  123. }else {
  124. alert("请选择发票!");
  125. }
  126. }
  127. }
  128. function getfp(){
  129. var tip = layer.load(2);
  130. var url = "getgyfp.do";
  131. $.ajax({
  132. "url" : url,
  133. "type" : "POST",
  134. "dataType" : "json",
  135. "async" : true,
  136. "success" : function(data) {
  137. if(data != null && data != ""){
  138. $("#fpid").empty();
  139. $("#fpid").append("_$tag_____________$tag____");
  140. for(var i = 0; i < data.length; i++){
  141. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  142. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  143. }
  144. }
  145. },
  146. "error" : function(msg){
  147. },
  148. "complete": function(){
  149. layer.close(tip);
  150. }
  151. });
  152. }
  153. $("#fpid").change(function(){
  154. var tip = layer.load(2);
  155. var url = "getgyrkxx.do";
  156. $.ajax({
  157. "url" : url,
  158. "data" : {
  159. "fpId" : $("#fpid").val()
  160. },
  161. "type" : "POST",
  162. "dataType" : "json",
  163. "async" : true,
  164. "success" : function(data) {
  165. $("#dataTable").html("");
  166. if(data != null && data != ""){
  167. var html = "";
  168. for(var i = 0; i < data.length; i++){
  169. var ID = data[i].id == null ? "" : data[i].id;
  170. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  171. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  172. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  173. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  174. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  175. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  176. var GOODS = data[i].goods == null ? "" : data[i].goods;
  177. var NAME = data[i].name == null ? "" : data[i].name;
  178. var SPEC = data[i].spec == null ? "" : data[i].spec;
  179. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  180. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  181. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  182. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  183. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  184. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  185. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  186. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  187. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  188. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  189. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  190. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  191. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  192. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  193. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  194. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  195. var invoice_type_cn =null;
  196. if (invoice_type =="00" ){
  197. invoice_type_cn="销售发票";
  198. }else if (invoice_type == "01") {
  199. invoice_type_cn="更正(对冲)发票";
  200. }else if (invoice_type == "02") {
  201. invoice_type_cn="其它类型发票";
  202. }
  203. html += "_$ta";
  204. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  205. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  206. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  207. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  208. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  209. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  210. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  211. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  212. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  213. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  214. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  215. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  216. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  217. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  218. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  219. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  220. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  221. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  222. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  223. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  224. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  225. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  226. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  227. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  228. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  229. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  230. html += "_$tag";
  231. }
  232. $("#dataTable").html(html);
  233. }else {
  234. $("#dataTable").html("");
  235. }
  236. },
  237. "error" : function(msg){
  238. },
  239. "complete": function(){
  240. layer.close(tip);
  241. }
  242. });
  243. });
  244. Date.prototype.Format = function (fmt) {
  245. var o = {
  246. "M+": this.getMonth() + 1, //月份
  247. "d+": this.getDate(), //日
  248. "h+": this.getHours(), //小时
  249. "m+": this.getMinutes(), //分
  250. "s+": this.getSeconds(), //秒
  251. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  252. "S": this.getMilliseconds() //毫秒
  253. };
  254. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  255. for (var k in o)
  256. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  257. return fmt;
  258. }
  259. $("#jrjc").change(function() {
  260. if ($("#jrjc").prop('checked') == true){
  261. $("#departmentId").removeAttr("disabled");
  262. }else {
  263. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  264. }
  265. });
  266. ----------------------------------- SOURCE END -------------------------------------
  267. !STACK 0
  268. java.lang.NullPointerException
  269. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:35.567
  270. !MESSAGE Error while processing working copy
  271. !STACK 1
  272. JavaScript Model Exception: java.lang.NullPointerException
  273. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  274. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  275. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  276. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  277. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  278. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  279. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  280. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  281. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  282. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  283. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  284. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  285. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  286. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  287. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  288. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  289. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  290. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  291. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  292. Caused by: java.lang.NullPointerException
  293. Caused by: java.lang.NullPointerException
  294. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:23:35.567
  295. !MESSAGE java.lang.NullPointerException
  296. !STACK 0
  297. java.lang.NullPointerException
  298. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:36.500
  299. !MESSAGE Exception occurred during problem detection:
  300. ----------------------------------- SOURCE BEGIN -------------------------------------
  301. (function(){WdatePicker();})();
  302. (function(){WdatePicker();})();
  303. (function(){Data.get();})();
  304. (function(){Data.set();})();
  305. (function(){search();})();
  306. $(function(){
  307. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  308. getfp();
  309. });
  310. var Data = {
  311. "get" : function(){
  312. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  313. var tip = layer.load(2);
  314. var result="";
  315. var url = "getgyxml.do";
  316. $.ajax({
  317. "url" : url,
  318. "data" : {
  319. "start_date" : $("#dateBegin").val(),
  320. "end_date" : $("#dateEnd").val()
  321. },
  322. "type" : "POST",
  323. "dataType" : "json",
  324. "success" : function(data) {
  325. if(data != null && data != ""){
  326. if ( data.status =="success"){
  327. getfp();
  328. alert("获取成功!");
  329. }else {
  330. alert(data.status);
  331. }
  332. }else {
  333. alert("获取失败!");
  334. }
  335. },
  336. "complete": function(){
  337. layer.close(tip);
  338. }
  339. });
  340. }else {
  341. alert("请选择日期!");
  342. }
  343. },
  344. "set" : function(){
  345. if ( $("#fpid option:selected").text() !=""){
  346. var tip = layer.load(2);
  347. var gitem = $("#form1").serialize();
  348. var jrjc;
  349. if ($("#jrjc").prop('checked') == true){
  350. jrjc = $("#departmentId").val();
  351. }else {
  352. jrjc ='N'
  353. }
  354. var url = "saverk.do";
  355. $.ajax({
  356. "url" : url,
  357. "data" : {
  358. "gitem" : gitem,
  359. "jrjc" : jrjc
  360. },
  361. "type" : "POST",
  362. "dataType" : "json",
  363. "async" : true,
  364. "success" : function(data) {
  365. if(data.status ="success"){
  366. alert("入库成功!");
  367. window.location.reload();
  368. }else {
  369. alert(msg);
  370. }
  371. },
  372. "error": function(){
  373. alert("确认失败!");
  374. },
  375. "complete": function(){
  376. layer.close(tip);
  377. }
  378. });
  379. }else {
  380. alert("请选择发票!");
  381. }
  382. }
  383. }
  384. function getfp(){
  385. var tip = layer.load(2);
  386. var url = "getgyfp.do";
  387. $.ajax({
  388. "url" : url,
  389. "type" : "POST",
  390. "dataType" : "json",
  391. "async" : true,
  392. "success" : function(data) {
  393. if(data != null && data != ""){
  394. $("#fpid").empty();
  395. $("#fpid").append("_$tag_____________$tag____");
  396. for(var i = 0; i < data.length; i++){
  397. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  398. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  399. }
  400. }
  401. },
  402. "error" : function(msg){
  403. },
  404. "complete": function(){
  405. layer.close(tip);
  406. }
  407. });
  408. }
  409. $("#fpid").change(function(){
  410. var tip = layer.load(2);
  411. var url = "getgyrkxx.do";
  412. $.ajax({
  413. "url" : url,
  414. "data" : {
  415. "fpId" : $("#fpid").val()
  416. },
  417. "type" : "POST",
  418. "dataType" : "json",
  419. "async" : true,
  420. "success" : function(data) {
  421. $("#dataTable").html("");
  422. if(data != null && data != ""){
  423. var html = "";
  424. for(var i = 0; i < data.length; i++){
  425. var ID = data[i].id == null ? "" : data[i].id;
  426. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  427. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  428. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  429. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  430. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  431. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  432. var GOODS = data[i].goods == null ? "" : data[i].goods;
  433. var NAME = data[i].name == null ? "" : data[i].name;
  434. var SPEC = data[i].spec == null ? "" : data[i].spec;
  435. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  436. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  437. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  438. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  439. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  440. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  441. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  442. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  443. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  444. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  445. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  446. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  447. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  448. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  449. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  450. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  451. var invoice_type_cn =null;
  452. if (invoice_type =="00" ){
  453. invoice_type_cn="销售发票";
  454. }else if (invoice_type == "01") {
  455. invoice_type_cn="更正(对冲)发票";
  456. }else if (invoice_type == "02") {
  457. invoice_type_cn="其它类型发票";
  458. }
  459. html += "_$ta";
  460. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  461. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  462. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  463. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  464. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  465. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  466. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  467. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  468. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  469. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  470. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  471. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  472. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  473. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  474. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  475. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  476. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  477. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  478. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  479. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  480. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  481. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  482. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  483. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  484. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  485. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  486. html += "_$tag";
  487. }
  488. $("#dataTable").html(html);
  489. }else {
  490. $("#dataTable").html("");
  491. }
  492. },
  493. "error" : function(msg){
  494. },
  495. "complete": function(){
  496. layer.close(tip);
  497. }
  498. });
  499. });
  500. Date.prototype.Format = function (fmt) {
  501. var o = {
  502. "M+": this.getMonth() + 1, //月份
  503. "d+": this.getDate(), //日
  504. "h+": this.getHours(), //小时
  505. "m+": this.getMinutes(), //分
  506. "s+": this.getSeconds(), //秒
  507. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  508. "S": this.getMilliseconds() //毫秒
  509. };
  510. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  511. for (var k in o)
  512. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  513. return fmt;
  514. }
  515. $("#jrjc").change(function() {
  516. if ($("#jrjc").prop('checked') == true){
  517. $("#departmentId").removeAttr("disabled");
  518. }else {
  519. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  520. }
  521. });
  522. ----------------------------------- SOURCE END -------------------------------------
  523. !STACK 0
  524. java.lang.NullPointerException
  525. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:39.674
  526. !MESSAGE Exception occurred during problem detection:
  527. ----------------------------------- SOURCE BEGIN -------------------------------------
  528. (function(){WdatePicker();})();
  529. (function(){WdatePicker();})();
  530. (function(){Data.get();})();
  531. (function(){Data.set();})();
  532. (function(){search();})();
  533. $(function(){
  534. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  535. getfp();
  536. });
  537. var Data = {
  538. "get" : function(){
  539. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  540. var tip = layer.load(2);
  541. var result="";
  542. var url = "getgyxml.do";
  543. $.ajax({
  544. "url" : url,
  545. "data" : {
  546. "start_date" : $("#dateBegin").val(),
  547. "end_date" : $("#dateEnd").val()
  548. },
  549. "type" : "POST",
  550. "dataType" : "json",
  551. "success" : function(data) {
  552. if(data != null && data != ""){
  553. if ( data.status =="success"){
  554. getfp();
  555. alert("获取成功!");
  556. }else {
  557. alert(data.status);
  558. }
  559. }else {
  560. alert("获取失败!");
  561. }
  562. },
  563. "complete": function(){
  564. layer.close(tip);
  565. }
  566. });
  567. }else {
  568. alert("请选择日期!");
  569. }
  570. },
  571. "set" : function(){
  572. if ( $("#fpid option:selected").text() !=""){
  573. var tip = layer.load(2);
  574. var gitem = $("#form1").serialize();
  575. var jrjc;
  576. if ($("#jrjc").prop('checked') == true){
  577. jrjc = $("#departmentId").val();
  578. }else {
  579. jrjc ='N'
  580. }
  581. var url = "saverk.do";
  582. $.ajax({
  583. "url" : url,
  584. "data" : {
  585. "gitem" : gitem,
  586. "jrjc" : jrjc
  587. },
  588. "type" : "POST",
  589. "dataType" : "json",
  590. "async" : true,
  591. "success" : function(data) {
  592. if(data.status ="success"){
  593. alert("入库成功!");
  594. window.location.reload();
  595. }else {
  596. alert(msg);
  597. }
  598. },
  599. "error": function(){
  600. alert("确认失败!");
  601. },
  602. "complete": function(){
  603. layer.close(tip);
  604. }
  605. });
  606. }else {
  607. alert("请选择发票!");
  608. }
  609. }
  610. }
  611. function getfp(){
  612. var tip = layer.load(2);
  613. var url = "getgyfp.do";
  614. $.ajax({
  615. "url" : url,
  616. "type" : "POST",
  617. "dataType" : "json",
  618. "async" : true,
  619. "success" : function(data) {
  620. if(data != null && data != ""){
  621. $("#fpid").empty();
  622. $("#fpid").append("_$tag_____________$tag____");
  623. for(var i = 0; i < data.length; i++){
  624. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  625. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  626. }
  627. }
  628. },
  629. "error" : function(msg){
  630. },
  631. "complete": function(){
  632. layer.close(tip);
  633. }
  634. });
  635. }
  636. $("#fpid").change(function(){
  637. var tip = layer.load(2);
  638. var url = "getgyrkxx.do";
  639. $.ajax({
  640. "url" : url,
  641. "data" : {
  642. "fpId" : $("#fpid").val()
  643. },
  644. "type" : "POST",
  645. "dataType" : "json",
  646. "async" : true,
  647. "success" : function(data) {
  648. $("#dataTable").html("");
  649. if(data != null && data != ""){
  650. var html = "";
  651. for(var i = 0; i < data.length; i++){
  652. var ID = data[i].id == null ? "" : data[i].id;
  653. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  654. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  655. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  656. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  657. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  658. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  659. var GOODS = data[i].goods == null ? "" : data[i].goods;
  660. var NAME = data[i].name == null ? "" : data[i].name;
  661. var SPEC = data[i].spec == null ? "" : data[i].spec;
  662. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  663. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  664. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  665. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  666. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  667. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  668. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  669. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  670. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  671. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  672. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  673. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  674. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  675. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  676. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  677. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  678. var invoice_type_cn =null;
  679. if (invoice_type =="00" ){
  680. invoice_type_cn="销售发票";
  681. }else if (invoice_type == "01") {
  682. invoice_type_cn="更正(对冲)发票";
  683. }else if (invoice_type == "02") {
  684. invoice_type_cn="其它类型发票";
  685. }
  686. html += "_$ta";
  687. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  688. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  689. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  690. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  691. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  692. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  693. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  694. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  695. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  696. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  697. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  698. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  699. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  700. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  701. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  702. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  703. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  704. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  705. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  706. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  707. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  708. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  709. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  710. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  711. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  712. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  713. html += "_$tag";
  714. }
  715. $("#dataTable").html(html);
  716. }else {
  717. $("#dataTable").html("");
  718. }
  719. },
  720. "error" : function(msg){
  721. },
  722. "complete": function(){
  723. layer.close(tip);
  724. }
  725. });
  726. });
  727. Date.prototype.Format = function (fmt) {
  728. var o = {
  729. "M+": this.getMonth() + 1, //月份
  730. "d+": this.getDate(), //日
  731. "h+": this.getHours(), //小时
  732. "m+": this.getMinutes(), //分
  733. "s+": this.getSeconds(), //秒
  734. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  735. "S": this.getMilliseconds() //毫秒
  736. };
  737. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  738. for (var k in o)
  739. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  740. return fmt;
  741. }
  742. $("#jrjc").change(function() {
  743. if ($("#jrjc").prop('checked') == true){
  744. $("#departmentId").removeAttr("disabled");
  745. }else {
  746. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  747. }
  748. });
  749. ----------------------------------- SOURCE END -------------------------------------
  750. !STACK 0
  751. java.lang.NullPointerException
  752. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:39.675
  753. !MESSAGE Error while processing working copy
  754. !STACK 1
  755. JavaScript Model Exception: java.lang.NullPointerException
  756. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  757. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  758. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  759. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  760. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  761. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  762. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  763. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  764. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  765. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  766. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  767. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  768. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  769. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  770. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  771. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  772. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  773. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  774. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  775. Caused by: java.lang.NullPointerException
  776. Caused by: java.lang.NullPointerException
  777. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:23:39.675
  778. !MESSAGE java.lang.NullPointerException
  779. !STACK 0
  780. java.lang.NullPointerException
  781. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:40.715
  782. !MESSAGE Exception occurred during problem detection:
  783. ----------------------------------- SOURCE BEGIN -------------------------------------
  784. (function(){WdatePicker();})();
  785. (function(){WdatePicker();})();
  786. (function(){Data.get();})();
  787. (function(){Data.set();})();
  788. (function(){search();})();
  789. $(function(){
  790. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  791. getfp();
  792. });
  793. var Data = {
  794. "get" : function(){
  795. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  796. var tip = layer.load(2);
  797. var result="";
  798. var url = "getgyxml.do";
  799. $.ajax({
  800. "url" : url,
  801. "data" : {
  802. "start_date" : $("#dateBegin").val(),
  803. "end_date" : $("#dateEnd").val()
  804. },
  805. "type" : "POST",
  806. "dataType" : "json",
  807. "success" : function(data) {
  808. if(data != null && data != ""){
  809. if ( data.status =="success"){
  810. getfp();
  811. alert("获取成功!");
  812. }else {
  813. alert(data.status);
  814. }
  815. }else {
  816. alert("获取失败!");
  817. }
  818. },
  819. "complete": function(){
  820. layer.close(tip);
  821. }
  822. });
  823. }else {
  824. alert("请选择日期!");
  825. }
  826. },
  827. "set" : function(){
  828. if ( $("#fpid option:selected").text() !=""){
  829. var tip = layer.load(2);
  830. var gitem = $("#form1").serialize();
  831. var jrjc;
  832. if ($("#jrjc").prop('checked') == true){
  833. jrjc = $("#departmentId").val();
  834. }else {
  835. jrjc ='N'
  836. }
  837. var url = "saverk.do";
  838. $.ajax({
  839. "url" : url,
  840. "data" : {
  841. "gitem" : gitem,
  842. "jrjc" : jrjc
  843. },
  844. "type" : "POST",
  845. "dataType" : "json",
  846. "async" : true,
  847. "success" : function(data) {
  848. if(data.status ="success"){
  849. alert("入库成功!");
  850. window.location.reload();
  851. }else {
  852. alert(msg);
  853. }
  854. },
  855. "error": function(){
  856. alert("确认失败!");
  857. },
  858. "complete": function(){
  859. layer.close(tip);
  860. }
  861. });
  862. }else {
  863. alert("请选择发票!");
  864. }
  865. }
  866. }
  867. function getfp(){
  868. var tip = layer.load(2);
  869. var url = "getgyfp.do";
  870. $.ajax({
  871. "url" : url,
  872. "type" : "POST",
  873. "dataType" : "json",
  874. "async" : true,
  875. "success" : function(data) {
  876. if(data != null && data != ""){
  877. $("#fpid").empty();
  878. $("#fpid").append("_$tag_____________$tag____");
  879. for(var i = 0; i < data.length; i++){
  880. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  881. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  882. }
  883. }
  884. },
  885. "error" : function(msg){
  886. },
  887. "complete": function(){
  888. layer.close(tip);
  889. }
  890. });
  891. }
  892. $("#fpid").change(function(){
  893. var tip = layer.load(2);
  894. var url = "getgyrkxx.do";
  895. $.ajax({
  896. "url" : url,
  897. "data" : {
  898. "fpId" : $("#fpid").val()
  899. },
  900. "type" : "POST",
  901. "dataType" : "json",
  902. "async" : true,
  903. "success" : function(data) {
  904. $("#dataTable").html("");
  905. if(data != null && data != ""){
  906. var html = "";
  907. for(var i = 0; i < data.length; i++){
  908. var ID = data[i].id == null ? "" : data[i].id;
  909. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  910. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  911. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  912. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  913. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  914. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  915. var GOODS = data[i].goods == null ? "" : data[i].goods;
  916. var NAME = data[i].name == null ? "" : data[i].name;
  917. var SPEC = data[i].spec == null ? "" : data[i].spec;
  918. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  919. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  920. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  921. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  922. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  923. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  924. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  925. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  926. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  927. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  928. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  929. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  930. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  931. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  932. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  933. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  934. var invoice_type_cn =null;
  935. if (invoice_type =="00" ){
  936. invoice_type_cn="销售发票";
  937. }else if (invoice_type == "01") {
  938. invoice_type_cn="更正(对冲)发票";
  939. }else if (invoice_type == "02") {
  940. invoice_type_cn="其它类型发票";
  941. }
  942. html += "_$ta";
  943. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  944. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  945. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  946. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  947. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  948. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  949. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  950. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  951. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  952. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  953. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  954. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  955. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  956. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  957. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  958. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  959. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  960. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  961. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  962. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  963. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  964. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  965. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  966. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  967. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  968. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  969. html += "_$tag";
  970. }
  971. $("#dataTable").html(html);
  972. }else {
  973. $("#dataTable").html("");
  974. }
  975. },
  976. "error" : function(msg){
  977. },
  978. "complete": function(){
  979. layer.close(tip);
  980. }
  981. });
  982. });
  983. Date.prototype.Format = function (fmt) {
  984. var o = {
  985. "M+": this.getMonth() + 1, //月份
  986. "d+": this.getDate(), //日
  987. "h+": this.getHours(), //小时
  988. "m+": this.getMinutes(), //分
  989. "s+": this.getSeconds(), //秒
  990. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  991. "S": this.getMilliseconds() //毫秒
  992. };
  993. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  994. for (var k in o)
  995. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  996. return fmt;
  997. }
  998. $("#jrjc").change(function() {
  999. if ($("#jrjc").prop('checked') == true){
  1000. $("#departmentId").removeAttr("disabled");
  1001. }else {
  1002. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1003. }
  1004. });
  1005. ----------------------------------- SOURCE END -------------------------------------
  1006. !STACK 0
  1007. java.lang.NullPointerException
  1008. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:42.372
  1009. !MESSAGE Exception occurred during problem detection:
  1010. ----------------------------------- SOURCE BEGIN -------------------------------------
  1011. (function(){WdatePicker();})();
  1012. (function(){WdatePicker();})();
  1013. (function(){Data.get();})();
  1014. (function(){Data.set();})();
  1015. (function(){search();})();
  1016. $(function(){
  1017. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1018. getfp();
  1019. });
  1020. var Data = {
  1021. "get" : function(){
  1022. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1023. var tip = layer.load(2);
  1024. var result="";
  1025. var url = "getgyxml.do";
  1026. $.ajax({
  1027. "url" : url,
  1028. "data" : {
  1029. "start_date" : $("#dateBegin").val(),
  1030. "end_date" : $("#dateEnd").val()
  1031. },
  1032. "type" : "POST",
  1033. "dataType" : "json",
  1034. "success" : function(data) {
  1035. if(data != null && data != ""){
  1036. if ( data.status =="success"){
  1037. getfp();
  1038. alert("获取成功!");
  1039. }else {
  1040. alert(data.status);
  1041. }
  1042. }else {
  1043. alert("获取失败!");
  1044. }
  1045. },
  1046. "complete": function(){
  1047. layer.close(tip);
  1048. }
  1049. });
  1050. }else {
  1051. alert("请选择日期!");
  1052. }
  1053. },
  1054. "set" : function(){
  1055. if ( $("#fpid option:selected").text() !=""){
  1056. var tip = layer.load(2);
  1057. var gitem = $("#form1").serialize();
  1058. var jrjc;
  1059. if ($("#jrjc").prop('checked') == true){
  1060. jrjc = $("#departmentId").val();
  1061. }else {
  1062. jrjc ='N'
  1063. }
  1064. var url = "saverk.do";
  1065. $.ajax({
  1066. "url" : url,
  1067. "data" : {
  1068. "gitem" : gitem,
  1069. "jrjc" : jrjc
  1070. },
  1071. "type" : "POST",
  1072. "dataType" : "json",
  1073. "async" : true,
  1074. "success" : function(data) {
  1075. if(data.status ="success"){
  1076. alert("入库成功!");
  1077. window.location.reload();
  1078. }else {
  1079. alert(msg);
  1080. }
  1081. },
  1082. "error": function(){
  1083. alert("确认失败!");
  1084. },
  1085. "complete": function(){
  1086. layer.close(tip);
  1087. }
  1088. });
  1089. }else {
  1090. alert("请选择发票!");
  1091. }
  1092. }
  1093. }
  1094. function getfp(){
  1095. var tip = layer.load(2);
  1096. var url = "getgyfp.do";
  1097. $.ajax({
  1098. "url" : url,
  1099. "type" : "POST",
  1100. "dataType" : "json",
  1101. "async" : true,
  1102. "success" : function(data) {
  1103. if(data != null && data != ""){
  1104. $("#fpid").empty();
  1105. $("#fpid").append("_$tag_____________$tag____");
  1106. for(var i = 0; i < data.length; i++){
  1107. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1108. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1109. }
  1110. }
  1111. },
  1112. "error" : function(msg){
  1113. },
  1114. "complete": function(){
  1115. layer.close(tip);
  1116. }
  1117. });
  1118. }
  1119. $("#fpid").change(function(){
  1120. var tip = layer.load(2);
  1121. var url = "getgyrkxx.do";
  1122. $.ajax({
  1123. "url" : url,
  1124. "data" : {
  1125. "fpId" : $("#fpid").val()
  1126. },
  1127. "type" : "POST",
  1128. "dataType" : "json",
  1129. "async" : true,
  1130. "success" : function(data) {
  1131. $("#dataTable").html("");
  1132. if(data != null && data != ""){
  1133. var html = "";
  1134. for(var i = 0; i < data.length; i++){
  1135. var ID = data[i].id == null ? "" : data[i].id;
  1136. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1137. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1138. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1139. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1140. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1141. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1142. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1143. var NAME = data[i].name == null ? "" : data[i].name;
  1144. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1145. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1146. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1147. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1148. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1149. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1150. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1151. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1152. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1153. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1154. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1155. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1156. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1157. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1158. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1159. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1160. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1161. var invoice_type_cn =null;
  1162. if (invoice_type =="00" ){
  1163. invoice_type_cn="销售发票";
  1164. }else if (invoice_type == "01") {
  1165. invoice_type_cn="更正(对冲)发票";
  1166. }else if (invoice_type == "02") {
  1167. invoice_type_cn="其它类型发票";
  1168. }
  1169. html += "_$ta";
  1170. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1171. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1172. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1173. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1174. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1175. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1176. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1177. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1178. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1179. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1180. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1181. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1182. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1183. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  1184. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1185. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1186. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1187. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1188. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1189. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1190. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1191. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1192. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  1193. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1194. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1195. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  1196. html += "_$tag";
  1197. }
  1198. $("#dataTable").html(html);
  1199. }else {
  1200. $("#dataTable").html("");
  1201. }
  1202. },
  1203. "error" : function(msg){
  1204. },
  1205. "complete": function(){
  1206. layer.close(tip);
  1207. }
  1208. });
  1209. });
  1210. Date.prototype.Format = function (fmt) {
  1211. var o = {
  1212. "M+": this.getMonth() + 1, //月份
  1213. "d+": this.getDate(), //日
  1214. "h+": this.getHours(), //小时
  1215. "m+": this.getMinutes(), //分
  1216. "s+": this.getSeconds(), //秒
  1217. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1218. "S": this.getMilliseconds() //毫秒
  1219. };
  1220. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1221. for (var k in o)
  1222. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1223. return fmt;
  1224. }
  1225. $("#jrjc").change(function() {
  1226. if ($("#jrjc").prop('checked') == true){
  1227. $("#departmentId").removeAttr("disabled");
  1228. }else {
  1229. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1230. }
  1231. });
  1232. ----------------------------------- SOURCE END -------------------------------------
  1233. !STACK 0
  1234. java.lang.NullPointerException
  1235. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:23:42.372
  1236. !MESSAGE java.lang.NullPointerException
  1237. !STACK 1
  1238. JavaScript Model Exception: java.lang.NullPointerException
  1239. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1240. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  1241. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1242. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1243. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  1244. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  1245. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  1246. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  1247. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  1248. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  1249. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  1250. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  1251. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  1252. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  1253. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  1254. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  1255. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  1256. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  1257. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  1258. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  1259. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  1260. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  1261. Caused by: java.lang.NullPointerException
  1262. Caused by: java.lang.NullPointerException
  1263. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:23:42.373
  1264. !MESSAGE java.lang.NullPointerException
  1265. !STACK 0
  1266. java.lang.NullPointerException
  1267. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:42.766
  1268. !MESSAGE Exception occurred during problem detection:
  1269. ----------------------------------- SOURCE BEGIN -------------------------------------
  1270. (function(){WdatePicker();})();
  1271. (function(){WdatePicker();})();
  1272. (function(){Data.get();})();
  1273. (function(){Data.set();})();
  1274. (function(){search();})();
  1275. $(function(){
  1276. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1277. getfp();
  1278. });
  1279. var Data = {
  1280. "get" : function(){
  1281. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1282. var tip = layer.load(2);
  1283. var result="";
  1284. var url = "getgyxml.do";
  1285. $.ajax({
  1286. "url" : url,
  1287. "data" : {
  1288. "start_date" : $("#dateBegin").val(),
  1289. "end_date" : $("#dateEnd").val()
  1290. },
  1291. "type" : "POST",
  1292. "dataType" : "json",
  1293. "success" : function(data) {
  1294. if(data != null && data != ""){
  1295. if ( data.status =="success"){
  1296. getfp();
  1297. alert("获取成功!");
  1298. }else {
  1299. alert(data.status);
  1300. }
  1301. }else {
  1302. alert("获取失败!");
  1303. }
  1304. },
  1305. "complete": function(){
  1306. layer.close(tip);
  1307. }
  1308. });
  1309. }else {
  1310. alert("请选择日期!");
  1311. }
  1312. },
  1313. "set" : function(){
  1314. if ( $("#fpid option:selected").text() !=""){
  1315. var tip = layer.load(2);
  1316. var gitem = $("#form1").serialize();
  1317. var jrjc;
  1318. if ($("#jrjc").prop('checked') == true){
  1319. jrjc = $("#departmentId").val();
  1320. }else {
  1321. jrjc ='N'
  1322. }
  1323. var url = "saverk.do";
  1324. $.ajax({
  1325. "url" : url,
  1326. "data" : {
  1327. "gitem" : gitem,
  1328. "jrjc" : jrjc
  1329. },
  1330. "type" : "POST",
  1331. "dataType" : "json",
  1332. "async" : true,
  1333. "success" : function(data) {
  1334. if(data.status ="success"){
  1335. alert("入库成功!");
  1336. window.location.reload();
  1337. }else {
  1338. alert(msg);
  1339. }
  1340. },
  1341. "error": function(){
  1342. alert("确认失败!");
  1343. },
  1344. "complete": function(){
  1345. layer.close(tip);
  1346. }
  1347. });
  1348. }else {
  1349. alert("请选择发票!");
  1350. }
  1351. }
  1352. }
  1353. function getfp(){
  1354. var tip = layer.load(2);
  1355. var url = "getgyfp.do";
  1356. $.ajax({
  1357. "url" : url,
  1358. "type" : "POST",
  1359. "dataType" : "json",
  1360. "async" : true,
  1361. "success" : function(data) {
  1362. if(data != null && data != ""){
  1363. $("#fpid").empty();
  1364. $("#fpid").append("_$tag_____________$tag____");
  1365. for(var i = 0; i < data.length; i++){
  1366. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1367. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1368. }
  1369. }
  1370. },
  1371. "error" : function(msg){
  1372. },
  1373. "complete": function(){
  1374. layer.close(tip);
  1375. }
  1376. });
  1377. }
  1378. $("#fpid").change(function(){
  1379. var tip = layer.load(2);
  1380. var url = "getgyrkxx.do";
  1381. $.ajax({
  1382. "url" : url,
  1383. "data" : {
  1384. "fpId" : $("#fpid").val()
  1385. },
  1386. "type" : "POST",
  1387. "dataType" : "json",
  1388. "async" : true,
  1389. "success" : function(data) {
  1390. $("#dataTable").html("");
  1391. if(data != null && data != ""){
  1392. var html = "";
  1393. for(var i = 0; i < data.length; i++){
  1394. var ID = data[i].id == null ? "" : data[i].id;
  1395. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1396. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1397. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1398. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1399. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1400. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1401. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1402. var NAME = data[i].name == null ? "" : data[i].name;
  1403. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1404. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1405. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1406. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1407. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1408. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1409. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1410. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1411. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1412. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1413. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1414. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1415. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1416. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1417. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1418. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1419. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1420. var invoice_type_cn =null;
  1421. if (invoice_type =="00" ){
  1422. invoice_type_cn="销售发票";
  1423. }else if (invoice_type == "01") {
  1424. invoice_type_cn="更正(对冲)发票";
  1425. }else if (invoice_type == "02") {
  1426. invoice_type_cn="其它类型发票";
  1427. }
  1428. html += "_$ta";
  1429. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1430. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1431. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1432. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1433. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1434. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1435. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1436. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1437. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1438. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1439. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1440. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1441. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1442. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  1443. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1444. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1445. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1446. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1447. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1448. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1449. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1450. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1451. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  1452. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1453. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1454. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  1455. html += "_$tag";
  1456. }
  1457. $("#dataTable").html(html);
  1458. }else {
  1459. $("#dataTable").html("");
  1460. }
  1461. },
  1462. "error" : function(msg){
  1463. },
  1464. "complete": function(){
  1465. layer.close(tip);
  1466. }
  1467. });
  1468. });
  1469. Date.prototype.Format = function (fmt) {
  1470. var o = {
  1471. "M+": this.getMonth() + 1, //月份
  1472. "d+": this.getDate(), //日
  1473. "h+": this.getHours(), //小时
  1474. "m+": this.getMinutes(), //分
  1475. "s+": this.getSeconds(), //秒
  1476. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1477. "S": this.getMilliseconds() //毫秒
  1478. };
  1479. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1480. for (var k in o)
  1481. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1482. return fmt;
  1483. }
  1484. $("#jrjc").change(function() {
  1485. if ($("#jrjc").prop('checked') == true){
  1486. $("#departmentId").removeAttr("disabled");
  1487. }else {
  1488. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1489. }
  1490. });
  1491. ----------------------------------- SOURCE END -------------------------------------
  1492. !STACK 0
  1493. java.lang.NullPointerException
  1494. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:42.766
  1495. !MESSAGE Error while processing working copy
  1496. !STACK 1
  1497. JavaScript Model Exception: java.lang.NullPointerException
  1498. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1499. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  1500. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1501. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1502. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  1503. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  1504. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  1505. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  1506. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  1507. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  1508. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  1509. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  1510. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  1511. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  1512. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  1513. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  1514. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  1515. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  1516. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  1517. Caused by: java.lang.NullPointerException
  1518. Caused by: java.lang.NullPointerException
  1519. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:23:42.766
  1520. !MESSAGE java.lang.NullPointerException
  1521. !STACK 0
  1522. java.lang.NullPointerException
  1523. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:43.709
  1524. !MESSAGE Exception occurred during problem detection:
  1525. ----------------------------------- SOURCE BEGIN -------------------------------------
  1526. (function(){WdatePicker();})();
  1527. (function(){WdatePicker();})();
  1528. (function(){Data.get();})();
  1529. (function(){Data.set();})();
  1530. (function(){search();})();
  1531. $(function(){
  1532. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1533. getfp();
  1534. });
  1535. var Data = {
  1536. "get" : function(){
  1537. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1538. var tip = layer.load(2);
  1539. var result="";
  1540. var url = "getgyxml.do";
  1541. $.ajax({
  1542. "url" : url,
  1543. "data" : {
  1544. "start_date" : $("#dateBegin").val(),
  1545. "end_date" : $("#dateEnd").val()
  1546. },
  1547. "type" : "POST",
  1548. "dataType" : "json",
  1549. "success" : function(data) {
  1550. if(data != null && data != ""){
  1551. if ( data.status =="success"){
  1552. getfp();
  1553. alert("获取成功!");
  1554. }else {
  1555. alert(data.status);
  1556. }
  1557. }else {
  1558. alert("获取失败!");
  1559. }
  1560. },
  1561. "complete": function(){
  1562. layer.close(tip);
  1563. }
  1564. });
  1565. }else {
  1566. alert("请选择日期!");
  1567. }
  1568. },
  1569. "set" : function(){
  1570. if ( $("#fpid option:selected").text() !=""){
  1571. var tip = layer.load(2);
  1572. var gitem = $("#form1").serialize();
  1573. var jrjc;
  1574. if ($("#jrjc").prop('checked') == true){
  1575. jrjc = $("#departmentId").val();
  1576. }else {
  1577. jrjc ='N'
  1578. }
  1579. var url = "saverk.do";
  1580. $.ajax({
  1581. "url" : url,
  1582. "data" : {
  1583. "gitem" : gitem,
  1584. "jrjc" : jrjc
  1585. },
  1586. "type" : "POST",
  1587. "dataType" : "json",
  1588. "async" : true,
  1589. "success" : function(data) {
  1590. if(data.status ="success"){
  1591. alert("入库成功!");
  1592. window.location.reload();
  1593. }else {
  1594. alert(msg);
  1595. }
  1596. },
  1597. "error": function(){
  1598. alert("确认失败!");
  1599. },
  1600. "complete": function(){
  1601. layer.close(tip);
  1602. }
  1603. });
  1604. }else {
  1605. alert("请选择发票!");
  1606. }
  1607. }
  1608. }
  1609. function getfp(){
  1610. var tip = layer.load(2);
  1611. var url = "getgyfp.do";
  1612. $.ajax({
  1613. "url" : url,
  1614. "type" : "POST",
  1615. "dataType" : "json",
  1616. "async" : true,
  1617. "success" : function(data) {
  1618. if(data != null && data != ""){
  1619. $("#fpid").empty();
  1620. $("#fpid").append("_$tag_____________$tag____");
  1621. for(var i = 0; i < data.length; i++){
  1622. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1623. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1624. }
  1625. }
  1626. },
  1627. "error" : function(msg){
  1628. },
  1629. "complete": function(){
  1630. layer.close(tip);
  1631. }
  1632. });
  1633. }
  1634. $("#fpid").change(function(){
  1635. var tip = layer.load(2);
  1636. var url = "getgyrkxx.do";
  1637. $.ajax({
  1638. "url" : url,
  1639. "data" : {
  1640. "fpId" : $("#fpid").val()
  1641. },
  1642. "type" : "POST",
  1643. "dataType" : "json",
  1644. "async" : true,
  1645. "success" : function(data) {
  1646. $("#dataTable").html("");
  1647. if(data != null && data != ""){
  1648. var html = "";
  1649. for(var i = 0; i < data.length; i++){
  1650. var ID = data[i].id == null ? "" : data[i].id;
  1651. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1652. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1653. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1654. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1655. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1656. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1657. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1658. var NAME = data[i].name == null ? "" : data[i].name;
  1659. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1660. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1661. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1662. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1663. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1664. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1665. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1666. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1667. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1668. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1669. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1670. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1671. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1672. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1673. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1674. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1675. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1676. var invoice_type_cn =null;
  1677. if (invoice_type =="00" ){
  1678. invoice_type_cn="销售发票";
  1679. }else if (invoice_type == "01") {
  1680. invoice_type_cn="更正(对冲)发票";
  1681. }else if (invoice_type == "02") {
  1682. invoice_type_cn="其它类型发票";
  1683. }
  1684. html += "_$ta";
  1685. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1686. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1687. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1688. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1689. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1690. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1691. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1692. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1693. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1694. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1695. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1696. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1697. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1698. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  1699. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1700. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1701. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1702. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1703. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1704. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1705. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1706. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1707. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  1708. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1709. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1710. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  1711. html += "_$tag";
  1712. }
  1713. $("#dataTable").html(html);
  1714. }else {
  1715. $("#dataTable").html("");
  1716. }
  1717. },
  1718. "error" : function(msg){
  1719. },
  1720. "complete": function(){
  1721. layer.close(tip);
  1722. }
  1723. });
  1724. });
  1725. Date.prototype.Format = function (fmt) {
  1726. var o = {
  1727. "M+": this.getMonth() + 1, //月份
  1728. "d+": this.getDate(), //日
  1729. "h+": this.getHours(), //小时
  1730. "m+": this.getMinutes(), //分
  1731. "s+": this.getSeconds(), //秒
  1732. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1733. "S": this.getMilliseconds() //毫秒
  1734. };
  1735. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1736. for (var k in o)
  1737. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1738. return fmt;
  1739. }
  1740. $("#jrjc").change(function() {
  1741. if ($("#jrjc").prop('checked') == true){
  1742. $("#departmentId").removeAttr("disabled");
  1743. }else {
  1744. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1745. }
  1746. });
  1747. ----------------------------------- SOURCE END -------------------------------------
  1748. !STACK 0
  1749. java.lang.NullPointerException
  1750. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:45.362
  1751. !MESSAGE Exception occurred during problem detection:
  1752. ----------------------------------- SOURCE BEGIN -------------------------------------
  1753. (function(){WdatePicker();})();
  1754. (function(){WdatePicker();})();
  1755. (function(){Data.get();})();
  1756. (function(){Data.set();})();
  1757. (function(){search();})();
  1758. $(function(){
  1759. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1760. getfp();
  1761. });
  1762. var Data = {
  1763. "get" : function(){
  1764. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  1765. var tip = layer.load(2);
  1766. var result="";
  1767. var url = "getgyxml.do";
  1768. $.ajax({
  1769. "url" : url,
  1770. "data" : {
  1771. "start_date" : $("#dateBegin").val(),
  1772. "end_date" : $("#dateEnd").val()
  1773. },
  1774. "type" : "POST",
  1775. "dataType" : "json",
  1776. "success" : function(data) {
  1777. if(data != null && data != ""){
  1778. if ( data.status =="success"){
  1779. getfp();
  1780. alert("获取成功!");
  1781. }else {
  1782. alert(data.status);
  1783. }
  1784. }else {
  1785. alert("获取失败!");
  1786. }
  1787. },
  1788. "complete": function(){
  1789. layer.close(tip);
  1790. }
  1791. });
  1792. }else {
  1793. alert("请选择日期!");
  1794. }
  1795. },
  1796. "set" : function(){
  1797. if ( $("#fpid option:selected").text() !=""){
  1798. var tip = layer.load(2);
  1799. var gitem = $("#form1").serialize();
  1800. var jrjc;
  1801. if ($("#jrjc").prop('checked') == true){
  1802. jrjc = $("#departmentId").val();
  1803. }else {
  1804. jrjc ='N'
  1805. }
  1806. var url = "saverk.do";
  1807. $.ajax({
  1808. "url" : url,
  1809. "data" : {
  1810. "gitem" : gitem,
  1811. "jrjc" : jrjc
  1812. },
  1813. "type" : "POST",
  1814. "dataType" : "json",
  1815. "async" : true,
  1816. "success" : function(data) {
  1817. if(data.status ="success"){
  1818. alert("入库成功!");
  1819. window.location.reload();
  1820. }else {
  1821. alert(msg);
  1822. }
  1823. },
  1824. "error": function(){
  1825. alert("确认失败!");
  1826. },
  1827. "complete": function(){
  1828. layer.close(tip);
  1829. }
  1830. });
  1831. }else {
  1832. alert("请选择发票!");
  1833. }
  1834. }
  1835. }
  1836. function getfp(){
  1837. var tip = layer.load(2);
  1838. var url = "getgyfp.do";
  1839. $.ajax({
  1840. "url" : url,
  1841. "type" : "POST",
  1842. "dataType" : "json",
  1843. "async" : true,
  1844. "success" : function(data) {
  1845. if(data != null && data != ""){
  1846. $("#fpid").empty();
  1847. $("#fpid").append("_$tag_____________$tag____");
  1848. for(var i = 0; i < data.length; i++){
  1849. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  1850. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  1851. }
  1852. }
  1853. },
  1854. "error" : function(msg){
  1855. },
  1856. "complete": function(){
  1857. layer.close(tip);
  1858. }
  1859. });
  1860. }
  1861. $("#fpid").change(function(){
  1862. var tip = layer.load(2);
  1863. var url = "getgyrkxx.do";
  1864. $.ajax({
  1865. "url" : url,
  1866. "data" : {
  1867. "fpId" : $("#fpid").val()
  1868. },
  1869. "type" : "POST",
  1870. "dataType" : "json",
  1871. "async" : true,
  1872. "success" : function(data) {
  1873. $("#dataTable").html("");
  1874. if(data != null && data != ""){
  1875. var html = "";
  1876. for(var i = 0; i < data.length; i++){
  1877. var ID = data[i].id == null ? "" : data[i].id;
  1878. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  1879. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  1880. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  1881. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  1882. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  1883. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  1884. var GOODS = data[i].goods == null ? "" : data[i].goods;
  1885. var NAME = data[i].name == null ? "" : data[i].name;
  1886. var SPEC = data[i].spec == null ? "" : data[i].spec;
  1887. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  1888. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  1889. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  1890. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  1891. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  1892. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  1893. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  1894. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  1895. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  1896. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  1897. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  1898. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  1899. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  1900. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  1901. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  1902. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  1903. var invoice_type_cn =null;
  1904. if (invoice_type =="00" ){
  1905. invoice_type_cn="销售发票";
  1906. }else if (invoice_type == "01") {
  1907. invoice_type_cn="更正(对冲)发票";
  1908. }else if (invoice_type == "02") {
  1909. invoice_type_cn="其它类型发票";
  1910. }
  1911. html += "_$ta";
  1912. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  1913. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1914. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1915. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1916. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1917. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  1918. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  1919. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1920. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1921. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  1922. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  1923. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1924. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  1925. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  1926. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1927. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1928. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1929. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1930. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1931. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  1932. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  1933. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  1934. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  1935. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  1936. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  1937. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  1938. html += "_$tag";
  1939. }
  1940. $("#dataTable").html(html);
  1941. }else {
  1942. $("#dataTable").html("");
  1943. }
  1944. },
  1945. "error" : function(msg){
  1946. },
  1947. "complete": function(){
  1948. layer.close(tip);
  1949. }
  1950. });
  1951. });
  1952. Date.prototype.Format = function (fmt) {
  1953. var o = {
  1954. "M+": this.getMonth() + 1, //月份
  1955. "d+": this.getDate(), //日
  1956. "h+": this.getHours(), //小时
  1957. "m+": this.getMinutes(), //分
  1958. "s+": this.getSeconds(), //秒
  1959. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1960. "S": this.getMilliseconds() //毫秒
  1961. };
  1962. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1963. for (var k in o)
  1964. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1965. return fmt;
  1966. }
  1967. $("#jrjc").change(function() {
  1968. if ($("#jrjc").prop('checked') == true){
  1969. $("#departmentId").removeAttr("disabled");
  1970. }else {
  1971. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  1972. }
  1973. });
  1974. ----------------------------------- SOURCE END -------------------------------------
  1975. !STACK 0
  1976. java.lang.NullPointerException
  1977. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:45.363
  1978. !MESSAGE Error while processing working copy
  1979. !STACK 1
  1980. JavaScript Model Exception: java.lang.NullPointerException
  1981. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  1982. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  1983. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  1984. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  1985. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  1986. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  1987. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  1988. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  1989. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  1990. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  1991. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  1992. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  1993. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  1994. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  1995. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  1996. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  1997. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  1998. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  1999. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  2000. Caused by: java.lang.NullPointerException
  2001. Caused by: java.lang.NullPointerException
  2002. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:23:45.363
  2003. !MESSAGE java.lang.NullPointerException
  2004. !STACK 0
  2005. java.lang.NullPointerException
  2006. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:46.410
  2007. !MESSAGE Exception occurred during problem detection:
  2008. ----------------------------------- SOURCE BEGIN -------------------------------------
  2009. (function(){WdatePicker();})();
  2010. (function(){WdatePicker();})();
  2011. (function(){Data.get();})();
  2012. (function(){Data.set();})();
  2013. (function(){search();})();
  2014. $(function(){
  2015. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2016. getfp();
  2017. });
  2018. var Data = {
  2019. "get" : function(){
  2020. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2021. var tip = layer.load(2);
  2022. var result="";
  2023. var url = "getgyxml.do";
  2024. $.ajax({
  2025. "url" : url,
  2026. "data" : {
  2027. "start_date" : $("#dateBegin").val(),
  2028. "end_date" : $("#dateEnd").val()
  2029. },
  2030. "type" : "POST",
  2031. "dataType" : "json",
  2032. "success" : function(data) {
  2033. if(data != null && data != ""){
  2034. if ( data.status =="success"){
  2035. getfp();
  2036. alert("获取成功!");
  2037. }else {
  2038. alert(data.status);
  2039. }
  2040. }else {
  2041. alert("获取失败!");
  2042. }
  2043. },
  2044. "complete": function(){
  2045. layer.close(tip);
  2046. }
  2047. });
  2048. }else {
  2049. alert("请选择日期!");
  2050. }
  2051. },
  2052. "set" : function(){
  2053. if ( $("#fpid option:selected").text() !=""){
  2054. var tip = layer.load(2);
  2055. var gitem = $("#form1").serialize();
  2056. var jrjc;
  2057. if ($("#jrjc").prop('checked') == true){
  2058. jrjc = $("#departmentId").val();
  2059. }else {
  2060. jrjc ='N'
  2061. }
  2062. var url = "saverk.do";
  2063. $.ajax({
  2064. "url" : url,
  2065. "data" : {
  2066. "gitem" : gitem,
  2067. "jrjc" : jrjc
  2068. },
  2069. "type" : "POST",
  2070. "dataType" : "json",
  2071. "async" : true,
  2072. "success" : function(data) {
  2073. if(data.status ="success"){
  2074. alert("入库成功!");
  2075. window.location.reload();
  2076. }else {
  2077. alert(msg);
  2078. }
  2079. },
  2080. "error": function(){
  2081. alert("确认失败!");
  2082. },
  2083. "complete": function(){
  2084. layer.close(tip);
  2085. }
  2086. });
  2087. }else {
  2088. alert("请选择发票!");
  2089. }
  2090. }
  2091. }
  2092. function getfp(){
  2093. var tip = layer.load(2);
  2094. var url = "getgyfp.do";
  2095. $.ajax({
  2096. "url" : url,
  2097. "type" : "POST",
  2098. "dataType" : "json",
  2099. "async" : true,
  2100. "success" : function(data) {
  2101. if(data != null && data != ""){
  2102. $("#fpid").empty();
  2103. $("#fpid").append("_$tag_____________$tag____");
  2104. for(var i = 0; i < data.length; i++){
  2105. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2106. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2107. }
  2108. }
  2109. },
  2110. "error" : function(msg){
  2111. },
  2112. "complete": function(){
  2113. layer.close(tip);
  2114. }
  2115. });
  2116. }
  2117. $("#fpid").change(function(){
  2118. var tip = layer.load(2);
  2119. var url = "getgyrkxx.do";
  2120. $.ajax({
  2121. "url" : url,
  2122. "data" : {
  2123. "fpId" : $("#fpid").val()
  2124. },
  2125. "type" : "POST",
  2126. "dataType" : "json",
  2127. "async" : true,
  2128. "success" : function(data) {
  2129. $("#dataTable").html("");
  2130. if(data != null && data != ""){
  2131. var html = "";
  2132. for(var i = 0; i < data.length; i++){
  2133. var ID = data[i].id == null ? "" : data[i].id;
  2134. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2135. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2136. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2137. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2138. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2139. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2140. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2141. var NAME = data[i].name == null ? "" : data[i].name;
  2142. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2143. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2144. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2145. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2146. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2147. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2148. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2149. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2150. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2151. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2152. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2153. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2154. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2155. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2156. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2157. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2158. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2159. var invoice_type_cn =null;
  2160. if (invoice_type =="00" ){
  2161. invoice_type_cn="销售发票";
  2162. }else if (invoice_type == "01") {
  2163. invoice_type_cn="更正(对冲)发票";
  2164. }else if (invoice_type == "02") {
  2165. invoice_type_cn="其它类型发票";
  2166. }
  2167. html += "_$ta";
  2168. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2169. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2170. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2171. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2172. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2173. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2174. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2175. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2176. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2177. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2178. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2179. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2180. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2181. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  2182. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2183. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2184. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2185. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2186. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2187. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2188. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2189. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2190. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  2191. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2192. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2193. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  2194. html += "_$tag";
  2195. }
  2196. $("#dataTable").html(html);
  2197. }else {
  2198. $("#dataTable").html("");
  2199. }
  2200. },
  2201. "error" : function(msg){
  2202. },
  2203. "complete": function(){
  2204. layer.close(tip);
  2205. }
  2206. });
  2207. });
  2208. Date.prototype.Format = function (fmt) {
  2209. var o = {
  2210. "M+": this.getMonth() + 1, //月份
  2211. "d+": this.getDate(), //日
  2212. "h+": this.getHours(), //小时
  2213. "m+": this.getMinutes(), //分
  2214. "s+": this.getSeconds(), //秒
  2215. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2216. "S": this.getMilliseconds() //毫秒
  2217. };
  2218. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2219. for (var k in o)
  2220. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2221. return fmt;
  2222. }
  2223. $("#jrjc").change(function() {
  2224. if ($("#jrjc").prop('checked') == true){
  2225. $("#departmentId").removeAttr("disabled");
  2226. }else {
  2227. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2228. }
  2229. });
  2230. ----------------------------------- SOURCE END -------------------------------------
  2231. !STACK 0
  2232. java.lang.NullPointerException
  2233. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:23:47.547
  2234. !MESSAGE Exception occurred during problem detection:
  2235. ----------------------------------- SOURCE BEGIN -------------------------------------
  2236. (function(){WdatePicker();})();
  2237. (function(){WdatePicker();})();
  2238. (function(){Data.get();})();
  2239. (function(){Data.set();})();
  2240. (function(){search();})();
  2241. $(function(){
  2242. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2243. getfp();
  2244. });
  2245. var Data = {
  2246. "get" : function(){
  2247. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2248. var tip = layer.load(2);
  2249. var result="";
  2250. var url = "getgyxml.do";
  2251. $.ajax({
  2252. "url" : url,
  2253. "data" : {
  2254. "start_date" : $("#dateBegin").val(),
  2255. "end_date" : $("#dateEnd").val()
  2256. },
  2257. "type" : "POST",
  2258. "dataType" : "json",
  2259. "success" : function(data) {
  2260. if(data != null && data != ""){
  2261. if ( data.status =="success"){
  2262. getfp();
  2263. alert("获取成功!");
  2264. }else {
  2265. alert(data.status);
  2266. }
  2267. }else {
  2268. alert("获取失败!");
  2269. }
  2270. },
  2271. "complete": function(){
  2272. layer.close(tip);
  2273. }
  2274. });
  2275. }else {
  2276. alert("请选择日期!");
  2277. }
  2278. },
  2279. "set" : function(){
  2280. if ( $("#fpid option:selected").text() !=""){
  2281. var tip = layer.load(2);
  2282. var gitem = $("#form1").serialize();
  2283. var jrjc;
  2284. if ($("#jrjc").prop('checked') == true){
  2285. jrjc = $("#departmentId").val();
  2286. }else {
  2287. jrjc ='N'
  2288. }
  2289. var url = "saverk.do";
  2290. $.ajax({
  2291. "url" : url,
  2292. "data" : {
  2293. "gitem" : gitem,
  2294. "jrjc" : jrjc
  2295. },
  2296. "type" : "POST",
  2297. "dataType" : "json",
  2298. "async" : true,
  2299. "success" : function(data) {
  2300. if(data.status ="success"){
  2301. alert("入库成功!");
  2302. window.location.reload();
  2303. }else {
  2304. alert(msg);
  2305. }
  2306. },
  2307. "error": function(){
  2308. alert("确认失败!");
  2309. },
  2310. "complete": function(){
  2311. layer.close(tip);
  2312. }
  2313. });
  2314. }else {
  2315. alert("请选择发票!");
  2316. }
  2317. }
  2318. }
  2319. function getfp(){
  2320. var tip = layer.load(2);
  2321. var url = "getgyfp.do";
  2322. $.ajax({
  2323. "url" : url,
  2324. "type" : "POST",
  2325. "dataType" : "json",
  2326. "async" : true,
  2327. "success" : function(data) {
  2328. if(data != null && data != ""){
  2329. $("#fpid").empty();
  2330. $("#fpid").append("_$tag_____________$tag____");
  2331. for(var i = 0; i < data.length; i++){
  2332. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2333. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2334. }
  2335. }
  2336. },
  2337. "error" : function(msg){
  2338. },
  2339. "complete": function(){
  2340. layer.close(tip);
  2341. }
  2342. });
  2343. }
  2344. $("#fpid").change(function(){
  2345. var tip = layer.load(2);
  2346. var url = "getgyrkxx.do";
  2347. $.ajax({
  2348. "url" : url,
  2349. "data" : {
  2350. "fpId" : $("#fpid").val()
  2351. },
  2352. "type" : "POST",
  2353. "dataType" : "json",
  2354. "async" : true,
  2355. "success" : function(data) {
  2356. $("#dataTable").html("");
  2357. if(data != null && data != ""){
  2358. var html = "";
  2359. for(var i = 0; i < data.length; i++){
  2360. var ID = data[i].id == null ? "" : data[i].id;
  2361. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2362. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2363. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2364. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2365. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2366. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2367. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2368. var NAME = data[i].name == null ? "" : data[i].name;
  2369. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2370. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2371. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2372. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2373. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2374. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2375. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2376. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2377. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2378. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2379. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2380. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2381. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2382. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2383. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2384. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2385. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2386. var invoice_type_cn =null;
  2387. if (invoice_type =="00" ){
  2388. invoice_type_cn="销售发票";
  2389. }else if (invoice_type == "01") {
  2390. invoice_type_cn="更正(对冲)发票";
  2391. }else if (invoice_type == "02") {
  2392. invoice_type_cn="其它类型发票";
  2393. }
  2394. html += "_$ta";
  2395. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2396. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2397. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2398. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2399. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2400. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2401. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2402. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2403. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2404. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2405. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2406. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2407. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2408. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  2409. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2410. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2411. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2412. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2413. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2414. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2415. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2416. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2417. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  2418. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2419. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2420. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  2421. html += "_$tag";
  2422. }
  2423. $("#dataTable").html(html);
  2424. }else {
  2425. $("#dataTable").html("");
  2426. }
  2427. },
  2428. "error" : function(msg){
  2429. },
  2430. "complete": function(){
  2431. layer.close(tip);
  2432. }
  2433. });
  2434. });
  2435. Date.prototype.Format = function (fmt) {
  2436. var o = {
  2437. "M+": this.getMonth() + 1, //月份
  2438. "d+": this.getDate(), //日
  2439. "h+": this.getHours(), //小时
  2440. "m+": this.getMinutes(), //分
  2441. "s+": this.getSeconds(), //秒
  2442. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2443. "S": this.getMilliseconds() //毫秒
  2444. };
  2445. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2446. for (var k in o)
  2447. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2448. return fmt;
  2449. }
  2450. $("#jrjc").change(function() {
  2451. if ($("#jrjc").prop('checked') == true){
  2452. $("#departmentId").removeAttr("disabled");
  2453. }else {
  2454. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2455. }
  2456. });
  2457. ----------------------------------- SOURCE END -------------------------------------
  2458. !STACK 0
  2459. java.lang.NullPointerException
  2460. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:23:47.548
  2461. !MESSAGE java.lang.NullPointerException
  2462. !STACK 1
  2463. JavaScript Model Exception: java.lang.NullPointerException
  2464. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  2465. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  2466. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  2467. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  2468. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  2469. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  2470. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  2471. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  2472. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  2473. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  2474. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  2475. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  2476. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  2477. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  2478. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  2479. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  2480. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  2481. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  2482. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  2483. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  2484. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  2485. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  2486. Caused by: java.lang.NullPointerException
  2487. Caused by: java.lang.NullPointerException
  2488. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:23:47.548
  2489. !MESSAGE java.lang.NullPointerException
  2490. !STACK 0
  2491. java.lang.NullPointerException
  2492. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:03.344
  2493. !MESSAGE Exception occurred during problem detection:
  2494. ----------------------------------- SOURCE BEGIN -------------------------------------
  2495. (function(){WdatePicker();})();
  2496. (function(){WdatePicker();})();
  2497. (function(){Data.get();})();
  2498. (function(){Data.set();})();
  2499. (function(){search();})();
  2500. $(function(){
  2501. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2502. getfp();
  2503. });
  2504. var Data = {
  2505. "get" : function(){
  2506. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2507. var tip = layer.load(2);
  2508. var result="";
  2509. var url = "getgyxml.do";
  2510. $.ajax({
  2511. "url" : url,
  2512. "data" : {
  2513. "start_date" : $("#dateBegin").val(),
  2514. "end_date" : $("#dateEnd").val()
  2515. },
  2516. "type" : "POST",
  2517. "dataType" : "json",
  2518. "success" : function(data) {
  2519. if(data != null && data != ""){
  2520. if ( data.status =="success"){
  2521. getfp();
  2522. alert("获取成功!");
  2523. }else {
  2524. alert(data.status);
  2525. }
  2526. }else {
  2527. alert("获取失败!");
  2528. }
  2529. },
  2530. "complete": function(){
  2531. layer.close(tip);
  2532. }
  2533. });
  2534. }else {
  2535. alert("请选择日期!");
  2536. }
  2537. },
  2538. "set" : function(){
  2539. if ( $("#fpid option:selected").text() !=""){
  2540. var tip = layer.load(2);
  2541. var gitem = $("#form1").serialize();
  2542. var jrjc;
  2543. if ($("#jrjc").prop('checked') == true){
  2544. jrjc = $("#departmentId").val();
  2545. }else {
  2546. jrjc ='N'
  2547. }
  2548. var url = "saverk.do";
  2549. $.ajax({
  2550. "url" : url,
  2551. "data" : {
  2552. "gitem" : gitem,
  2553. "jrjc" : jrjc
  2554. },
  2555. "type" : "POST",
  2556. "dataType" : "json",
  2557. "async" : true,
  2558. "success" : function(data) {
  2559. if(data.status ="success"){
  2560. alert("入库成功!");
  2561. window.location.reload();
  2562. }else {
  2563. alert(msg);
  2564. }
  2565. },
  2566. "error": function(){
  2567. alert("确认失败!");
  2568. },
  2569. "complete": function(){
  2570. layer.close(tip);
  2571. }
  2572. });
  2573. }else {
  2574. alert("请选择发票!");
  2575. }
  2576. }
  2577. }
  2578. function getfp(){
  2579. var tip = layer.load(2);
  2580. var url = "getgyfp.do";
  2581. $.ajax({
  2582. "url" : url,
  2583. "type" : "POST",
  2584. "dataType" : "json",
  2585. "async" : true,
  2586. "success" : function(data) {
  2587. if(data != null && data != ""){
  2588. $("#fpid").empty();
  2589. $("#fpid").append("_$tag_____________$tag____");
  2590. for(var i = 0; i < data.length; i++){
  2591. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2592. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2593. }
  2594. }
  2595. },
  2596. "error" : function(msg){
  2597. },
  2598. "complete": function(){
  2599. layer.close(tip);
  2600. }
  2601. });
  2602. }
  2603. $("#fpid").change(function(){
  2604. var tip = layer.load(2);
  2605. var url = "getgyrkxx.do";
  2606. $.ajax({
  2607. "url" : url,
  2608. "data" : {
  2609. "fpId" : $("#fpid").val()
  2610. },
  2611. "type" : "POST",
  2612. "dataType" : "json",
  2613. "async" : true,
  2614. "success" : function(data) {
  2615. $("#dataTable").html("");
  2616. if(data != null && data != ""){
  2617. var html = "";
  2618. for(var i = 0; i < data.length; i++){
  2619. var ID = data[i].id == null ? "" : data[i].id;
  2620. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2621. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2622. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2623. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2624. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2625. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2626. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2627. var NAME = data[i].name == null ? "" : data[i].name;
  2628. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2629. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2630. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2631. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2632. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2633. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2634. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2635. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2636. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2637. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2638. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2639. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2640. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2641. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2642. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2643. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2644. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2645. var invoice_type_cn =null;
  2646. if (invoice_type =="00" ){
  2647. invoice_type_cn="销售发票";
  2648. }else if (invoice_type == "01") {
  2649. invoice_type_cn="更正(对冲)发票";
  2650. }else if (invoice_type == "02") {
  2651. invoice_type_cn="其它类型发票";
  2652. }
  2653. html += "_$ta";
  2654. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2655. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2656. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2657. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2658. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2659. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2660. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2661. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2662. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2663. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2664. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2665. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2666. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2667. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  2668. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2669. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2670. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2671. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2672. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2673. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2674. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2675. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2676. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  2677. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2678. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2679. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  2680. html += "_$tag";
  2681. }
  2682. $("#dataTable").html(html);
  2683. }else {
  2684. $("#dataTable").html("");
  2685. }
  2686. },
  2687. "error" : function(msg){
  2688. },
  2689. "complete": function(){
  2690. layer.close(tip);
  2691. }
  2692. });
  2693. });
  2694. Date.prototype.Format = function (fmt) {
  2695. var o = {
  2696. "M+": this.getMonth() + 1, //月份
  2697. "d+": this.getDate(), //日
  2698. "h+": this.getHours(), //小时
  2699. "m+": this.getMinutes(), //分
  2700. "s+": this.getSeconds(), //秒
  2701. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2702. "S": this.getMilliseconds() //毫秒
  2703. };
  2704. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2705. for (var k in o)
  2706. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2707. return fmt;
  2708. }
  2709. $("#jrjc").change(function() {
  2710. if ($("#jrjc").prop('checked') == true){
  2711. $("#departmentId").removeAttr("disabled");
  2712. }else {
  2713. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2714. }
  2715. });
  2716. ----------------------------------- SOURCE END -------------------------------------
  2717. !STACK 0
  2718. java.lang.NullPointerException
  2719. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:03.344
  2720. !MESSAGE Error while processing working copy
  2721. !STACK 1
  2722. JavaScript Model Exception: java.lang.NullPointerException
  2723. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  2724. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  2725. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  2726. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  2727. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  2728. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  2729. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  2730. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  2731. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  2732. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  2733. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  2734. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  2735. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  2736. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  2737. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  2738. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  2739. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  2740. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  2741. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  2742. Caused by: java.lang.NullPointerException
  2743. Caused by: java.lang.NullPointerException
  2744. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:03.345
  2745. !MESSAGE java.lang.NullPointerException
  2746. !STACK 0
  2747. java.lang.NullPointerException
  2748. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:04.266
  2749. !MESSAGE Exception occurred during problem detection:
  2750. ----------------------------------- SOURCE BEGIN -------------------------------------
  2751. (function(){WdatePicker();})();
  2752. (function(){WdatePicker();})();
  2753. (function(){Data.get();})();
  2754. (function(){Data.set();})();
  2755. (function(){search();})();
  2756. $(function(){
  2757. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2758. getfp();
  2759. });
  2760. var Data = {
  2761. "get" : function(){
  2762. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2763. var tip = layer.load(2);
  2764. var result="";
  2765. var url = "getgyxml.do";
  2766. $.ajax({
  2767. "url" : url,
  2768. "data" : {
  2769. "start_date" : $("#dateBegin").val(),
  2770. "end_date" : $("#dateEnd").val()
  2771. },
  2772. "type" : "POST",
  2773. "dataType" : "json",
  2774. "success" : function(data) {
  2775. if(data != null && data != ""){
  2776. if ( data.status =="success"){
  2777. getfp();
  2778. alert("获取成功!");
  2779. }else {
  2780. alert(data.status);
  2781. }
  2782. }else {
  2783. alert("获取失败!");
  2784. }
  2785. },
  2786. "complete": function(){
  2787. layer.close(tip);
  2788. }
  2789. });
  2790. }else {
  2791. alert("请选择日期!");
  2792. }
  2793. },
  2794. "set" : function(){
  2795. if ( $("#fpid option:selected").text() !=""){
  2796. var tip = layer.load(2);
  2797. var gitem = $("#form1").serialize();
  2798. var jrjc;
  2799. if ($("#jrjc").prop('checked') == true){
  2800. jrjc = $("#departmentId").val();
  2801. }else {
  2802. jrjc ='N'
  2803. }
  2804. var url = "saverk.do";
  2805. $.ajax({
  2806. "url" : url,
  2807. "data" : {
  2808. "gitem" : gitem,
  2809. "jrjc" : jrjc
  2810. },
  2811. "type" : "POST",
  2812. "dataType" : "json",
  2813. "async" : true,
  2814. "success" : function(data) {
  2815. if(data.status ="success"){
  2816. alert("入库成功!");
  2817. window.location.reload();
  2818. }else {
  2819. alert(msg);
  2820. }
  2821. },
  2822. "error": function(){
  2823. alert("确认失败!");
  2824. },
  2825. "complete": function(){
  2826. layer.close(tip);
  2827. }
  2828. });
  2829. }else {
  2830. alert("请选择发票!");
  2831. }
  2832. }
  2833. }
  2834. function getfp(){
  2835. var tip = layer.load(2);
  2836. var url = "getgyfp.do";
  2837. $.ajax({
  2838. "url" : url,
  2839. "type" : "POST",
  2840. "dataType" : "json",
  2841. "async" : true,
  2842. "success" : function(data) {
  2843. if(data != null && data != ""){
  2844. $("#fpid").empty();
  2845. $("#fpid").append("_$tag_____________$tag____");
  2846. for(var i = 0; i < data.length; i++){
  2847. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  2848. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  2849. }
  2850. }
  2851. },
  2852. "error" : function(msg){
  2853. },
  2854. "complete": function(){
  2855. layer.close(tip);
  2856. }
  2857. });
  2858. }
  2859. $("#fpid").change(function(){
  2860. var tip = layer.load(2);
  2861. var url = "getgyrkxx.do";
  2862. $.ajax({
  2863. "url" : url,
  2864. "data" : {
  2865. "fpId" : $("#fpid").val()
  2866. },
  2867. "type" : "POST",
  2868. "dataType" : "json",
  2869. "async" : true,
  2870. "success" : function(data) {
  2871. $("#dataTable").html("");
  2872. if(data != null && data != ""){
  2873. var html = "";
  2874. for(var i = 0; i < data.length; i++){
  2875. var ID = data[i].id == null ? "" : data[i].id;
  2876. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  2877. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  2878. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  2879. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  2880. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  2881. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  2882. var GOODS = data[i].goods == null ? "" : data[i].goods;
  2883. var NAME = data[i].name == null ? "" : data[i].name;
  2884. var SPEC = data[i].spec == null ? "" : data[i].spec;
  2885. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  2886. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  2887. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  2888. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  2889. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  2890. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  2891. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  2892. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  2893. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  2894. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  2895. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  2896. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  2897. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  2898. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  2899. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  2900. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  2901. var invoice_type_cn =null;
  2902. if (invoice_type =="00" ){
  2903. invoice_type_cn="销售发票";
  2904. }else if (invoice_type == "01") {
  2905. invoice_type_cn="更正(对冲)发票";
  2906. }else if (invoice_type == "02") {
  2907. invoice_type_cn="其它类型发票";
  2908. }
  2909. html += "_$ta";
  2910. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  2911. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2912. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2913. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2914. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2915. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  2916. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  2917. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2918. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2919. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  2920. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  2921. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2922. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  2923. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  2924. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2925. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2926. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2927. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2928. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2929. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  2930. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  2931. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  2932. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  2933. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  2934. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  2935. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  2936. html += "_$tag";
  2937. }
  2938. $("#dataTable").html(html);
  2939. }else {
  2940. $("#dataTable").html("");
  2941. }
  2942. },
  2943. "error" : function(msg){
  2944. },
  2945. "complete": function(){
  2946. layer.close(tip);
  2947. }
  2948. });
  2949. });
  2950. Date.prototype.Format = function (fmt) {
  2951. var o = {
  2952. "M+": this.getMonth() + 1, //月份
  2953. "d+": this.getDate(), //日
  2954. "h+": this.getHours(), //小时
  2955. "m+": this.getMinutes(), //分
  2956. "s+": this.getSeconds(), //秒
  2957. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  2958. "S": this.getMilliseconds() //毫秒
  2959. };
  2960. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  2961. for (var k in o)
  2962. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  2963. return fmt;
  2964. }
  2965. $("#jrjc").change(function() {
  2966. if ($("#jrjc").prop('checked') == true){
  2967. $("#departmentId").removeAttr("disabled");
  2968. }else {
  2969. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2970. }
  2971. });
  2972. ----------------------------------- SOURCE END -------------------------------------
  2973. !STACK 0
  2974. java.lang.NullPointerException
  2975. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:05.580
  2976. !MESSAGE Exception occurred during problem detection:
  2977. ----------------------------------- SOURCE BEGIN -------------------------------------
  2978. (function(){WdatePicker();})();
  2979. (function(){WdatePicker();})();
  2980. (function(){Data.get();})();
  2981. (function(){Data.set();})();
  2982. (function(){search();})();
  2983. $(function(){
  2984. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  2985. getfp();
  2986. });
  2987. var Data = {
  2988. "get" : function(){
  2989. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  2990. var tip = layer.load(2);
  2991. var result="";
  2992. var url = "getgyxml.do";
  2993. $.ajax({
  2994. "url" : url,
  2995. "data" : {
  2996. "start_date" : $("#dateBegin").val(),
  2997. "end_date" : $("#dateEnd").val()
  2998. },
  2999. "type" : "POST",
  3000. "dataType" : "json",
  3001. "success" : function(data) {
  3002. if(data != null && data != ""){
  3003. if ( data.status =="success"){
  3004. getfp();
  3005. alert("获取成功!");
  3006. }else {
  3007. alert(data.status);
  3008. }
  3009. }else {
  3010. alert("获取失败!");
  3011. }
  3012. },
  3013. "complete": function(){
  3014. layer.close(tip);
  3015. }
  3016. });
  3017. }else {
  3018. alert("请选择日期!");
  3019. }
  3020. },
  3021. "set" : function(){
  3022. if ( $("#fpid option:selected").text() !=""){
  3023. var tip = layer.load(2);
  3024. var gitem = $("#form1").serialize();
  3025. var jrjc;
  3026. if ($("#jrjc").prop('checked') == true){
  3027. jrjc = $("#departmentId").val();
  3028. }else {
  3029. jrjc ='N'
  3030. }
  3031. var url = "saverk.do";
  3032. $.ajax({
  3033. "url" : url,
  3034. "data" : {
  3035. "gitem" : gitem,
  3036. "jrjc" : jrjc
  3037. },
  3038. "type" : "POST",
  3039. "dataType" : "json",
  3040. "async" : true,
  3041. "success" : function(data) {
  3042. if(data.status ="success"){
  3043. alert("入库成功!");
  3044. window.location.reload();
  3045. }else {
  3046. alert(msg);
  3047. }
  3048. },
  3049. "error": function(){
  3050. alert("确认失败!");
  3051. },
  3052. "complete": function(){
  3053. layer.close(tip);
  3054. }
  3055. });
  3056. }else {
  3057. alert("请选择发票!");
  3058. }
  3059. }
  3060. }
  3061. function getfp(){
  3062. var tip = layer.load(2);
  3063. var url = "getgyfp.do";
  3064. $.ajax({
  3065. "url" : url,
  3066. "type" : "POST",
  3067. "dataType" : "json",
  3068. "async" : true,
  3069. "success" : function(data) {
  3070. if(data != null && data != ""){
  3071. $("#fpid").empty();
  3072. $("#fpid").append("_$tag_____________$tag____");
  3073. for(var i = 0; i < data.length; i++){
  3074. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3075. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3076. }
  3077. }
  3078. },
  3079. "error" : function(msg){
  3080. },
  3081. "complete": function(){
  3082. layer.close(tip);
  3083. }
  3084. });
  3085. }
  3086. $("#fpid").change(function(){
  3087. var tip = layer.load(2);
  3088. var url = "getgyrkxx.do";
  3089. $.ajax({
  3090. "url" : url,
  3091. "data" : {
  3092. "fpId" : $("#fpid").val()
  3093. },
  3094. "type" : "POST",
  3095. "dataType" : "json",
  3096. "async" : true,
  3097. "success" : function(data) {
  3098. $("#dataTable").html("");
  3099. if(data != null && data != ""){
  3100. var html = "";
  3101. for(var i = 0; i < data.length; i++){
  3102. var ID = data[i].id == null ? "" : data[i].id;
  3103. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  3104. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  3105. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  3106. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  3107. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  3108. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  3109. var GOODS = data[i].goods == null ? "" : data[i].goods;
  3110. var NAME = data[i].name == null ? "" : data[i].name;
  3111. var SPEC = data[i].spec == null ? "" : data[i].spec;
  3112. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  3113. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  3114. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  3115. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  3116. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  3117. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  3118. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  3119. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  3120. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  3121. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  3122. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  3123. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  3124. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  3125. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  3126. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  3127. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  3128. var invoice_type_cn =null;
  3129. if (invoice_type =="00" ){
  3130. invoice_type_cn="销售发票";
  3131. }else if (invoice_type == "01") {
  3132. invoice_type_cn="更正(对冲)发票";
  3133. }else if (invoice_type == "02") {
  3134. invoice_type_cn="其它类型发票";
  3135. }
  3136. html += "_$ta";
  3137. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  3138. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3139. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3140. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3141. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3142. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3143. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  3144. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3145. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3146. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3147. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  3148. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3149. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3150. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  3151. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3152. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3153. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3154. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3155. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3156. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3157. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  3158. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3159. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  3160. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3161. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3162. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  3163. html += "_$tag";
  3164. }
  3165. $("#dataTable").html(html);
  3166. }else {
  3167. $("#dataTable").html("");
  3168. }
  3169. },
  3170. "error" : function(msg){
  3171. },
  3172. "complete": function(){
  3173. layer.close(tip);
  3174. }
  3175. });
  3176. });
  3177. Date.prototype.Format = function (fmt) {
  3178. var o = {
  3179. "M+": this.getMonth() + 1, //月份
  3180. "d+": this.getDate(), //日
  3181. "h+": this.getHours(), //小时
  3182. "m+": this.getMinutes(), //分
  3183. "s+": this.getSeconds(), //秒
  3184. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3185. "S": this.getMilliseconds() //毫秒
  3186. };
  3187. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3188. for (var k in o)
  3189. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3190. return fmt;
  3191. }
  3192. $("#jrjc").change(function() {
  3193. if ($("#jrjc").prop('checked') == true){
  3194. $("#departmentId").removeAttr("disabled");
  3195. }else {
  3196. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3197. }
  3198. });
  3199. ----------------------------------- SOURCE END -------------------------------------
  3200. !STACK 0
  3201. java.lang.NullPointerException
  3202. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:05.580
  3203. !MESSAGE Error while processing working copy
  3204. !STACK 1
  3205. JavaScript Model Exception: java.lang.NullPointerException
  3206. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3207. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  3208. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3209. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3210. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  3211. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  3212. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  3213. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  3214. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  3215. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  3216. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  3217. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  3218. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  3219. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  3220. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  3221. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  3222. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  3223. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  3224. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  3225. Caused by: java.lang.NullPointerException
  3226. Caused by: java.lang.NullPointerException
  3227. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:05.580
  3228. !MESSAGE java.lang.NullPointerException
  3229. !STACK 0
  3230. java.lang.NullPointerException
  3231. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:06.200
  3232. !MESSAGE Exception occurred during problem detection:
  3233. ----------------------------------- SOURCE BEGIN -------------------------------------
  3234. (function(){WdatePicker();})();
  3235. (function(){WdatePicker();})();
  3236. (function(){Data.get();})();
  3237. (function(){Data.set();})();
  3238. (function(){search();})();
  3239. $(function(){
  3240. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3241. getfp();
  3242. });
  3243. var Data = {
  3244. "get" : function(){
  3245. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3246. var tip = layer.load(2);
  3247. var result="";
  3248. var url = "getgyxml.do";
  3249. $.ajax({
  3250. "url" : url,
  3251. "data" : {
  3252. "start_date" : $("#dateBegin").val(),
  3253. "end_date" : $("#dateEnd").val()
  3254. },
  3255. "type" : "POST",
  3256. "dataType" : "json",
  3257. "success" : function(data) {
  3258. if(data != null && data != ""){
  3259. if ( data.status =="success"){
  3260. getfp();
  3261. alert("获取成功!");
  3262. }else {
  3263. alert(data.status);
  3264. }
  3265. }else {
  3266. alert("获取失败!");
  3267. }
  3268. },
  3269. "complete": function(){
  3270. layer.close(tip);
  3271. }
  3272. });
  3273. }else {
  3274. alert("请选择日期!");
  3275. }
  3276. },
  3277. "set" : function(){
  3278. if ( $("#fpid option:selected").text() !=""){
  3279. var tip = layer.load(2);
  3280. var gitem = $("#form1").serialize();
  3281. var jrjc;
  3282. if ($("#jrjc").prop('checked') == true){
  3283. jrjc = $("#departmentId").val();
  3284. }else {
  3285. jrjc ='N'
  3286. }
  3287. var url = "saverk.do";
  3288. $.ajax({
  3289. "url" : url,
  3290. "data" : {
  3291. "gitem" : gitem,
  3292. "jrjc" : jrjc
  3293. },
  3294. "type" : "POST",
  3295. "dataType" : "json",
  3296. "async" : true,
  3297. "success" : function(data) {
  3298. if(data.status ="success"){
  3299. alert("入库成功!");
  3300. window.location.reload();
  3301. }else {
  3302. alert(msg);
  3303. }
  3304. },
  3305. "error": function(){
  3306. alert("确认失败!");
  3307. },
  3308. "complete": function(){
  3309. layer.close(tip);
  3310. }
  3311. });
  3312. }else {
  3313. alert("请选择发票!");
  3314. }
  3315. }
  3316. }
  3317. function getfp(){
  3318. var tip = layer.load(2);
  3319. var url = "getgyfp.do";
  3320. $.ajax({
  3321. "url" : url,
  3322. "type" : "POST",
  3323. "dataType" : "json",
  3324. "async" : true,
  3325. "success" : function(data) {
  3326. if(data != null && data != ""){
  3327. $("#fpid").empty();
  3328. $("#fpid").append("_$tag_____________$tag____");
  3329. for(var i = 0; i < data.length; i++){
  3330. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3331. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3332. }
  3333. }
  3334. },
  3335. "error" : function(msg){
  3336. },
  3337. "complete": function(){
  3338. layer.close(tip);
  3339. }
  3340. });
  3341. }
  3342. $("#fpid").change(function(){
  3343. var tip = layer.load(2);
  3344. var url = "getgyrkxx.do";
  3345. $.ajax({
  3346. "url" : url,
  3347. "data" : {
  3348. "fpId" : $("#fpid").val()
  3349. },
  3350. "type" : "POST",
  3351. "dataType" : "json",
  3352. "async" : true,
  3353. "success" : function(data) {
  3354. $("#dataTable").html("");
  3355. if(data != null && data != ""){
  3356. var html = "";
  3357. for(var i = 0; i < data.length; i++){
  3358. var ID = data[i].id == null ? "" : data[i].id;
  3359. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  3360. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  3361. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  3362. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  3363. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  3364. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  3365. var GOODS = data[i].goods == null ? "" : data[i].goods;
  3366. var NAME = data[i].name == null ? "" : data[i].name;
  3367. var SPEC = data[i].spec == null ? "" : data[i].spec;
  3368. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  3369. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  3370. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  3371. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  3372. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  3373. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  3374. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  3375. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  3376. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  3377. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  3378. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  3379. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  3380. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  3381. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  3382. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  3383. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  3384. var invoice_type_cn =null;
  3385. if (invoice_type =="00" ){
  3386. invoice_type_cn="销售发票";
  3387. }else if (invoice_type == "01") {
  3388. invoice_type_cn="更正(对冲)发票";
  3389. }else if (invoice_type == "02") {
  3390. invoice_type_cn="其它类型发票";
  3391. }
  3392. html += "_$ta";
  3393. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  3394. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3395. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3396. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3397. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3398. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3399. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  3400. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3401. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3402. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3403. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  3404. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3405. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3406. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  3407. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3408. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3409. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3410. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3411. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3412. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3413. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  3414. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3415. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  3416. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3417. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3418. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  3419. html += "_$tag";
  3420. }
  3421. $("#dataTable").html(html);
  3422. }else {
  3423. $("#dataTable").html("");
  3424. }
  3425. },
  3426. "error" : function(msg){
  3427. },
  3428. "complete": function(){
  3429. layer.close(tip);
  3430. }
  3431. });
  3432. });
  3433. Date.prototype.Format = function (fmt) {
  3434. var o = {
  3435. "M+": this.getMonth() + 1, //月份
  3436. "d+": this.getDate(), //日
  3437. "h+": this.getHours(), //小时
  3438. "m+": this.getMinutes(), //分
  3439. "s+": this.getSeconds(), //秒
  3440. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3441. "S": this.getMilliseconds() //毫秒
  3442. };
  3443. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3444. for (var k in o)
  3445. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3446. return fmt;
  3447. }
  3448. $("#jrjc").change(function() {
  3449. if ($("#jrjc").prop('checked') == true){
  3450. $("#departmentId").removeAttr("disabled");
  3451. }else {
  3452. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3453. }
  3454. });
  3455. ----------------------------------- SOURCE END -------------------------------------
  3456. !STACK 0
  3457. java.lang.NullPointerException
  3458. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:07.470
  3459. !MESSAGE Exception occurred during problem detection:
  3460. ----------------------------------- SOURCE BEGIN -------------------------------------
  3461. (function(){WdatePicker();})();
  3462. (function(){WdatePicker();})();
  3463. (function(){Data.get();})();
  3464. (function(){Data.set();})();
  3465. (function(){search();})();
  3466. $(function(){
  3467. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3468. getfp();
  3469. });
  3470. var Data = {
  3471. "get" : function(){
  3472. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3473. var tip = layer.load(2);
  3474. var result="";
  3475. var url = "getgyxml.do";
  3476. $.ajax({
  3477. "url" : url,
  3478. "data" : {
  3479. "start_date" : $("#dateBegin").val(),
  3480. "end_date" : $("#dateEnd").val()
  3481. },
  3482. "type" : "POST",
  3483. "dataType" : "json",
  3484. "success" : function(data) {
  3485. if(data != null && data != ""){
  3486. if ( data.status =="success"){
  3487. getfp();
  3488. alert("获取成功!");
  3489. }else {
  3490. alert(data.status);
  3491. }
  3492. }else {
  3493. alert("获取失败!");
  3494. }
  3495. },
  3496. "complete": function(){
  3497. layer.close(tip);
  3498. }
  3499. });
  3500. }else {
  3501. alert("请选择日期!");
  3502. }
  3503. },
  3504. "set" : function(){
  3505. if ( $("#fpid option:selected").text() !=""){
  3506. var tip = layer.load(2);
  3507. var gitem = $("#form1").serialize();
  3508. var jrjc;
  3509. if ($("#jrjc").prop('checked') == true){
  3510. jrjc = $("#departmentId").val();
  3511. }else {
  3512. jrjc ='N'
  3513. }
  3514. var url = "saverk.do";
  3515. $.ajax({
  3516. "url" : url,
  3517. "data" : {
  3518. "gitem" : gitem,
  3519. "jrjc" : jrjc
  3520. },
  3521. "type" : "POST",
  3522. "dataType" : "json",
  3523. "async" : true,
  3524. "success" : function(data) {
  3525. if(data.status ="success"){
  3526. alert("入库成功!");
  3527. window.location.reload();
  3528. }else {
  3529. alert(msg);
  3530. }
  3531. },
  3532. "error": function(){
  3533. alert("确认失败!");
  3534. },
  3535. "complete": function(){
  3536. layer.close(tip);
  3537. }
  3538. });
  3539. }else {
  3540. alert("请选择发票!");
  3541. }
  3542. }
  3543. }
  3544. function getfp(){
  3545. var tip = layer.load(2);
  3546. var url = "getgyfp.do";
  3547. $.ajax({
  3548. "url" : url,
  3549. "type" : "POST",
  3550. "dataType" : "json",
  3551. "async" : true,
  3552. "success" : function(data) {
  3553. if(data != null && data != ""){
  3554. $("#fpid").empty();
  3555. $("#fpid").append("_$tag_____________$tag____");
  3556. for(var i = 0; i < data.length; i++){
  3557. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3558. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3559. }
  3560. }
  3561. },
  3562. "error" : function(msg){
  3563. },
  3564. "complete": function(){
  3565. layer.close(tip);
  3566. }
  3567. });
  3568. }
  3569. $("#fpid").change(function(){
  3570. var tip = layer.load(2);
  3571. var url = "getgyrkxx.do";
  3572. $.ajax({
  3573. "url" : url,
  3574. "data" : {
  3575. "fpId" : $("#fpid").val()
  3576. },
  3577. "type" : "POST",
  3578. "dataType" : "json",
  3579. "async" : true,
  3580. "success" : function(data) {
  3581. $("#dataTable").html("");
  3582. if(data != null && data != ""){
  3583. var html = "";
  3584. for(var i = 0; i < data.length; i++){
  3585. var ID = data[i].id == null ? "" : data[i].id;
  3586. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  3587. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  3588. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  3589. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  3590. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  3591. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  3592. var GOODS = data[i].goods == null ? "" : data[i].goods;
  3593. var NAME = data[i].name == null ? "" : data[i].name;
  3594. var SPEC = data[i].spec == null ? "" : data[i].spec;
  3595. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  3596. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  3597. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  3598. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  3599. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  3600. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  3601. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  3602. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  3603. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  3604. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  3605. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  3606. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  3607. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  3608. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  3609. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  3610. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  3611. var invoice_type_cn =null;
  3612. if (invoice_type =="00" ){
  3613. invoice_type_cn="销售发票";
  3614. }else if (invoice_type == "01") {
  3615. invoice_type_cn="更正(对冲)发票";
  3616. }else if (invoice_type == "02") {
  3617. invoice_type_cn="其它类型发票";
  3618. }
  3619. html += "_$ta";
  3620. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  3621. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3622. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3623. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3624. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3625. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3626. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  3627. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3628. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3629. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3630. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  3631. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3632. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3633. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  3634. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3635. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3636. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3637. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3638. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3639. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3640. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  3641. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3642. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  3643. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3644. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3645. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  3646. html += "_$tag";
  3647. }
  3648. $("#dataTable").html(html);
  3649. }else {
  3650. $("#dataTable").html("");
  3651. }
  3652. },
  3653. "error" : function(msg){
  3654. },
  3655. "complete": function(){
  3656. layer.close(tip);
  3657. }
  3658. });
  3659. });
  3660. Date.prototype.Format = function (fmt) {
  3661. var o = {
  3662. "M+": this.getMonth() + 1, //月份
  3663. "d+": this.getDate(), //日
  3664. "h+": this.getHours(), //小时
  3665. "m+": this.getMinutes(), //分
  3666. "s+": this.getSeconds(), //秒
  3667. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3668. "S": this.getMilliseconds() //毫秒
  3669. };
  3670. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3671. for (var k in o)
  3672. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3673. return fmt;
  3674. }
  3675. $("#jrjc").change(function() {
  3676. if ($("#jrjc").prop('checked') == true){
  3677. $("#departmentId").removeAttr("disabled");
  3678. }else {
  3679. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3680. }
  3681. });
  3682. ----------------------------------- SOURCE END -------------------------------------
  3683. !STACK 0
  3684. java.lang.NullPointerException
  3685. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:07.471
  3686. !MESSAGE Error while processing working copy
  3687. !STACK 1
  3688. JavaScript Model Exception: java.lang.NullPointerException
  3689. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  3690. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  3691. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  3692. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  3693. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  3694. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  3695. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  3696. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  3697. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  3698. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  3699. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  3700. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  3701. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  3702. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  3703. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  3704. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  3705. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  3706. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  3707. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  3708. Caused by: java.lang.NullPointerException
  3709. Caused by: java.lang.NullPointerException
  3710. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:07.471
  3711. !MESSAGE java.lang.NullPointerException
  3712. !STACK 0
  3713. java.lang.NullPointerException
  3714. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:08.379
  3715. !MESSAGE Exception occurred during problem detection:
  3716. ----------------------------------- SOURCE BEGIN -------------------------------------
  3717. (function(){WdatePicker();})();
  3718. (function(){WdatePicker();})();
  3719. (function(){Data.get();})();
  3720. (function(){Data.set();})();
  3721. (function(){search();})();
  3722. $(function(){
  3723. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3724. getfp();
  3725. });
  3726. var Data = {
  3727. "get" : function(){
  3728. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3729. var tip = layer.load(2);
  3730. var result="";
  3731. var url = "getgyxml.do";
  3732. $.ajax({
  3733. "url" : url,
  3734. "data" : {
  3735. "start_date" : $("#dateBegin").val(),
  3736. "end_date" : $("#dateEnd").val()
  3737. },
  3738. "type" : "POST",
  3739. "dataType" : "json",
  3740. "success" : function(data) {
  3741. if(data != null && data != ""){
  3742. if ( data.status =="success"){
  3743. getfp();
  3744. alert("获取成功!");
  3745. }else {
  3746. alert(data.status);
  3747. }
  3748. }else {
  3749. alert("获取失败!");
  3750. }
  3751. },
  3752. "complete": function(){
  3753. layer.close(tip);
  3754. }
  3755. });
  3756. }else {
  3757. alert("请选择日期!");
  3758. }
  3759. },
  3760. "set" : function(){
  3761. if ( $("#fpid option:selected").text() !=""){
  3762. var tip = layer.load(2);
  3763. var gitem = $("#form1").serialize();
  3764. var jrjc;
  3765. if ($("#jrjc").prop('checked') == true){
  3766. jrjc = $("#departmentId").val();
  3767. }else {
  3768. jrjc ='N'
  3769. }
  3770. var url = "saverk.do";
  3771. $.ajax({
  3772. "url" : url,
  3773. "data" : {
  3774. "gitem" : gitem,
  3775. "jrjc" : jrjc
  3776. },
  3777. "type" : "POST",
  3778. "dataType" : "json",
  3779. "async" : true,
  3780. "success" : function(data) {
  3781. if(data.status ="success"){
  3782. alert("入库成功!");
  3783. window.location.reload();
  3784. }else {
  3785. alert(msg);
  3786. }
  3787. },
  3788. "error": function(){
  3789. alert("确认失败!");
  3790. },
  3791. "complete": function(){
  3792. layer.close(tip);
  3793. }
  3794. });
  3795. }else {
  3796. alert("请选择发票!");
  3797. }
  3798. }
  3799. }
  3800. function getfp(){
  3801. var tip = layer.load(2);
  3802. var url = "getgyfp.do";
  3803. $.ajax({
  3804. "url" : url,
  3805. "type" : "POST",
  3806. "dataType" : "json",
  3807. "async" : true,
  3808. "success" : function(data) {
  3809. if(data != null && data != ""){
  3810. $("#fpid").empty();
  3811. $("#fpid").append("_$tag_____________$tag____");
  3812. for(var i = 0; i < data.length; i++){
  3813. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  3814. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  3815. }
  3816. }
  3817. },
  3818. "error" : function(msg){
  3819. },
  3820. "complete": function(){
  3821. layer.close(tip);
  3822. }
  3823. });
  3824. }
  3825. $("#fpid").change(function(){
  3826. var tip = layer.load(2);
  3827. var url = "getgyrkxx.do";
  3828. $.ajax({
  3829. "url" : url,
  3830. "data" : {
  3831. "fpId" : $("#fpid").val()
  3832. },
  3833. "type" : "POST",
  3834. "dataType" : "json",
  3835. "async" : true,
  3836. "success" : function(data) {
  3837. $("#dataTable").html("");
  3838. if(data != null && data != ""){
  3839. var html = "";
  3840. for(var i = 0; i < data.length; i++){
  3841. var ID = data[i].id == null ? "" : data[i].id;
  3842. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  3843. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  3844. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  3845. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  3846. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  3847. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  3848. var GOODS = data[i].goods == null ? "" : data[i].goods;
  3849. var NAME = data[i].name == null ? "" : data[i].name;
  3850. var SPEC = data[i].spec == null ? "" : data[i].spec;
  3851. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  3852. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  3853. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  3854. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  3855. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  3856. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  3857. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  3858. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  3859. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  3860. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  3861. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  3862. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  3863. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  3864. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  3865. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  3866. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  3867. var invoice_type_cn =null;
  3868. if (invoice_type =="00" ){
  3869. invoice_type_cn="销售发票";
  3870. }else if (invoice_type == "01") {
  3871. invoice_type_cn="更正(对冲)发票";
  3872. }else if (invoice_type == "02") {
  3873. invoice_type_cn="其它类型发票";
  3874. }
  3875. html += "_$ta";
  3876. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  3877. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3878. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3879. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3880. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3881. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  3882. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  3883. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3884. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3885. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  3886. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  3887. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3888. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  3889. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  3890. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3891. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3892. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3893. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3894. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3895. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  3896. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  3897. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  3898. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  3899. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  3900. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  3901. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  3902. html += "_$tag";
  3903. }
  3904. $("#dataTable").html(html);
  3905. }else {
  3906. $("#dataTable").html("");
  3907. }
  3908. },
  3909. "error" : function(msg){
  3910. },
  3911. "complete": function(){
  3912. layer.close(tip);
  3913. }
  3914. });
  3915. });
  3916. Date.prototype.Format = function (fmt) {
  3917. var o = {
  3918. "M+": this.getMonth() + 1, //月份
  3919. "d+": this.getDate(), //日
  3920. "h+": this.getHours(), //小时
  3921. "m+": this.getMinutes(), //分
  3922. "s+": this.getSeconds(), //秒
  3923. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  3924. "S": this.getMilliseconds() //毫秒
  3925. };
  3926. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  3927. for (var k in o)
  3928. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  3929. return fmt;
  3930. }
  3931. $("#jrjc").change(function() {
  3932. if ($("#jrjc").prop('checked') == true){
  3933. $("#departmentId").removeAttr("disabled");
  3934. }else {
  3935. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3936. }
  3937. });
  3938. ----------------------------------- SOURCE END -------------------------------------
  3939. !STACK 0
  3940. java.lang.NullPointerException
  3941. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:09.029
  3942. !MESSAGE Exception occurred during problem detection:
  3943. ----------------------------------- SOURCE BEGIN -------------------------------------
  3944. (function(){WdatePicker();})();
  3945. (function(){WdatePicker();})();
  3946. (function(){Data.get();})();
  3947. (function(){Data.set();})();
  3948. (function(){search();})();
  3949. $(function(){
  3950. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  3951. getfp();
  3952. });
  3953. var Data = {
  3954. "get" : function(){
  3955. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  3956. var tip = layer.load(2);
  3957. var result="";
  3958. var url = "getgyxml.do";
  3959. $.ajax({
  3960. "url" : url,
  3961. "data" : {
  3962. "start_date" : $("#dateBegin").val(),
  3963. "end_date" : $("#dateEnd").val()
  3964. },
  3965. "type" : "POST",
  3966. "dataType" : "json",
  3967. "success" : function(data) {
  3968. if(data != null && data != ""){
  3969. if ( data.status =="success"){
  3970. getfp();
  3971. alert("获取成功!");
  3972. }else {
  3973. alert(data.status);
  3974. }
  3975. }else {
  3976. alert("获取失败!");
  3977. }
  3978. },
  3979. "complete": function(){
  3980. layer.close(tip);
  3981. }
  3982. });
  3983. }else {
  3984. alert("请选择日期!");
  3985. }
  3986. },
  3987. "set" : function(){
  3988. if ( $("#fpid option:selected").text() !=""){
  3989. var tip = layer.load(2);
  3990. var gitem = $("#form1").serialize();
  3991. var jrjc;
  3992. if ($("#jrjc").prop('checked') == true){
  3993. jrjc = $("#departmentId").val();
  3994. }else {
  3995. jrjc ='N'
  3996. }
  3997. var url = "saverk.do";
  3998. $.ajax({
  3999. "url" : url,
  4000. "data" : {
  4001. "gitem" : gitem,
  4002. "jrjc" : jrjc
  4003. },
  4004. "type" : "POST",
  4005. "dataType" : "json",
  4006. "async" : true,
  4007. "success" : function(data) {
  4008. if(data.status ="success"){
  4009. alert("入库成功!");
  4010. window.location.reload();
  4011. }else {
  4012. alert(msg);
  4013. }
  4014. },
  4015. "error": function(){
  4016. alert("确认失败!");
  4017. },
  4018. "complete": function(){
  4019. layer.close(tip);
  4020. }
  4021. });
  4022. }else {
  4023. alert("请选择发票!");
  4024. }
  4025. }
  4026. }
  4027. function getfp(){
  4028. var tip = layer.load(2);
  4029. var url = "getgyfp.do";
  4030. $.ajax({
  4031. "url" : url,
  4032. "type" : "POST",
  4033. "dataType" : "json",
  4034. "async" : true,
  4035. "success" : function(data) {
  4036. if(data != null && data != ""){
  4037. $("#fpid").empty();
  4038. $("#fpid").append("_$tag_____________$tag____");
  4039. for(var i = 0; i < data.length; i++){
  4040. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  4041. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  4042. }
  4043. }
  4044. },
  4045. "error" : function(msg){
  4046. },
  4047. "complete": function(){
  4048. layer.close(tip);
  4049. }
  4050. });
  4051. }
  4052. $("#fpid").change(function(){
  4053. var tip = layer.load(2);
  4054. var url = "getgyrkxx.do";
  4055. $.ajax({
  4056. "url" : url,
  4057. "data" : {
  4058. "fpId" : $("#fpid").val()
  4059. },
  4060. "type" : "POST",
  4061. "dataType" : "json",
  4062. "async" : true,
  4063. "success" : function(data) {
  4064. $("#dataTable").html("");
  4065. if(data != null && data != ""){
  4066. var html = "";
  4067. for(var i = 0; i < data.length; i++){
  4068. var ID = data[i].id == null ? "" : data[i].id;
  4069. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4070. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4071. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4072. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4073. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4074. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4075. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4076. var NAME = data[i].name == null ? "" : data[i].name;
  4077. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4078. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4079. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4080. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4081. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4082. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4083. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4084. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4085. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4086. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4087. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4088. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4089. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4090. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4091. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4092. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4093. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4094. var invoice_type_cn =null;
  4095. if (invoice_type =="00" ){
  4096. invoice_type_cn="销售发票";
  4097. }else if (invoice_type == "01") {
  4098. invoice_type_cn="更正(对冲)发票";
  4099. }else if (invoice_type == "02") {
  4100. invoice_type_cn="其它类型发票";
  4101. }
  4102. html += "_$ta";
  4103. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4104. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4105. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4106. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4107. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4108. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4109. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4110. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4111. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4112. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4113. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4114. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4115. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4116. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  4117. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4118. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4119. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4120. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4121. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4122. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4123. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4124. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4125. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  4126. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4127. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4128. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  4129. html += "_$tag";
  4130. }
  4131. $("#dataTable").html(html);
  4132. }else {
  4133. $("#dataTable").html("");
  4134. }
  4135. },
  4136. "error" : function(msg){
  4137. },
  4138. "complete": function(){
  4139. layer.close(tip);
  4140. }
  4141. });
  4142. });
  4143. Date.prototype.Format = function (fmt) {
  4144. var o = {
  4145. "M+": this.getMonth() + 1, //月份
  4146. "d+": this.getDate(), //日
  4147. "h+": this.getHours(), //小时
  4148. "m+": this.getMinutes(), //分
  4149. "s+": this.getSeconds(), //秒
  4150. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4151. "S": this.getMilliseconds() //毫秒
  4152. };
  4153. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4154. for (var k in o)
  4155. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4156. return fmt;
  4157. }
  4158. $("#jrjc").change(function() {
  4159. if ($("#jrjc").prop('checked') == true){
  4160. $("#departmentId").removeAttr("disabled");
  4161. }else {
  4162. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4163. }
  4164. });
  4165. ----------------------------------- SOURCE END -------------------------------------
  4166. !STACK 0
  4167. java.lang.NullPointerException
  4168. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:09.029
  4169. !MESSAGE Error while processing working copy
  4170. !STACK 1
  4171. JavaScript Model Exception: java.lang.NullPointerException
  4172. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4173. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  4174. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4175. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4176. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  4177. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  4178. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  4179. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  4180. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  4181. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  4182. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  4183. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  4184. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  4185. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  4186. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  4187. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  4188. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  4189. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  4190. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  4191. Caused by: java.lang.NullPointerException
  4192. Caused by: java.lang.NullPointerException
  4193. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:09.029
  4194. !MESSAGE java.lang.NullPointerException
  4195. !STACK 0
  4196. java.lang.NullPointerException
  4197. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:09.637
  4198. !MESSAGE Exception occurred during problem detection:
  4199. ----------------------------------- SOURCE BEGIN -------------------------------------
  4200. (function(){WdatePicker();})();
  4201. (function(){WdatePicker();})();
  4202. (function(){Data.get();})();
  4203. (function(){Data.set();})();
  4204. (function(){search();})();
  4205. $(function(){
  4206. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4207. getfp();
  4208. });
  4209. var Data = {
  4210. "get" : function(){
  4211. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  4212. var tip = layer.load(2);
  4213. var result="";
  4214. var url = "getgyxml.do";
  4215. $.ajax({
  4216. "url" : url,
  4217. "data" : {
  4218. "start_date" : $("#dateBegin").val(),
  4219. "end_date" : $("#dateEnd").val()
  4220. },
  4221. "type" : "POST",
  4222. "dataType" : "json",
  4223. "success" : function(data) {
  4224. if(data != null && data != ""){
  4225. if ( data.status =="success"){
  4226. getfp();
  4227. alert("获取成功!");
  4228. }else {
  4229. alert(data.status);
  4230. }
  4231. }else {
  4232. alert("获取失败!");
  4233. }
  4234. },
  4235. "complete": function(){
  4236. layer.close(tip);
  4237. }
  4238. });
  4239. }else {
  4240. alert("请选择日期!");
  4241. }
  4242. },
  4243. "set" : function(){
  4244. if ( $("#fpid option:selected").text() !=""){
  4245. var tip = layer.load(2);
  4246. var gitem = $("#form1").serialize();
  4247. var jrjc;
  4248. if ($("#jrjc").prop('checked') == true){
  4249. jrjc = $("#departmentId").val();
  4250. }else {
  4251. jrjc ='N'
  4252. }
  4253. var url = "saverk.do";
  4254. $.ajax({
  4255. "url" : url,
  4256. "data" : {
  4257. "gitem" : gitem,
  4258. "jrjc" : jrjc
  4259. },
  4260. "type" : "POST",
  4261. "dataType" : "json",
  4262. "async" : true,
  4263. "success" : function(data) {
  4264. if(data.status ="success"){
  4265. alert("入库成功!");
  4266. window.location.reload();
  4267. }else {
  4268. alert(msg);
  4269. }
  4270. },
  4271. "error": function(){
  4272. alert("确认失败!");
  4273. },
  4274. "complete": function(){
  4275. layer.close(tip);
  4276. }
  4277. });
  4278. }else {
  4279. alert("请选择发票!");
  4280. }
  4281. }
  4282. }
  4283. function getfp(){
  4284. var tip = layer.load(2);
  4285. var url = "getgyfp.do";
  4286. $.ajax({
  4287. "url" : url,
  4288. "type" : "POST",
  4289. "dataType" : "json",
  4290. "async" : true,
  4291. "success" : function(data) {
  4292. if(data != null && data != ""){
  4293. $("#fpid").empty();
  4294. $("#fpid").append("_$tag_____________$tag____");
  4295. for(var i = 0; i < data.length; i++){
  4296. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  4297. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  4298. }
  4299. }
  4300. },
  4301. "error" : function(msg){
  4302. },
  4303. "complete": function(){
  4304. layer.close(tip);
  4305. }
  4306. });
  4307. }
  4308. $("#fpid").change(function(){
  4309. var tip = layer.load(2);
  4310. var url = "getgyrkxx.do";
  4311. $.ajax({
  4312. "url" : url,
  4313. "data" : {
  4314. "fpId" : $("#fpid").val()
  4315. },
  4316. "type" : "POST",
  4317. "dataType" : "json",
  4318. "async" : true,
  4319. "success" : function(data) {
  4320. $("#dataTable").html("");
  4321. if(data != null && data != ""){
  4322. var html = "";
  4323. for(var i = 0; i < data.length; i++){
  4324. var ID = data[i].id == null ? "" : data[i].id;
  4325. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4326. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4327. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4328. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4329. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4330. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4331. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4332. var NAME = data[i].name == null ? "" : data[i].name;
  4333. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4334. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4335. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4336. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4337. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4338. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4339. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4340. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4341. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4342. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4343. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4344. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4345. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4346. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4347. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4348. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4349. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4350. var invoice_type_cn =null;
  4351. if (invoice_type =="00" ){
  4352. invoice_type_cn="销售发票";
  4353. }else if (invoice_type == "01") {
  4354. invoice_type_cn="更正(对冲)发票";
  4355. }else if (invoice_type == "02") {
  4356. invoice_type_cn="其它类型发票";
  4357. }
  4358. html += "_$ta";
  4359. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4360. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4361. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4362. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4363. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4364. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4365. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4366. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4367. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  4368. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4369. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4370. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4371. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4372. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  4373. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4374. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4375. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4376. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4377. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4378. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4379. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4380. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4381. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  4382. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4383. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4384. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  4385. html += "_$tag";
  4386. }
  4387. $("#dataTable").html(html);
  4388. }else {
  4389. $("#dataTable").html("");
  4390. }
  4391. },
  4392. "error" : function(msg){
  4393. },
  4394. "complete": function(){
  4395. layer.close(tip);
  4396. }
  4397. });
  4398. });
  4399. Date.prototype.Format = function (fmt) {
  4400. var o = {
  4401. "M+": this.getMonth() + 1, //月份
  4402. "d+": this.getDate(), //日
  4403. "h+": this.getHours(), //小时
  4404. "m+": this.getMinutes(), //分
  4405. "s+": this.getSeconds(), //秒
  4406. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4407. "S": this.getMilliseconds() //毫秒
  4408. };
  4409. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4410. for (var k in o)
  4411. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4412. return fmt;
  4413. }
  4414. $("#jrjc").change(function() {
  4415. if ($("#jrjc").prop('checked') == true){
  4416. $("#departmentId").removeAttr("disabled");
  4417. }else {
  4418. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4419. }
  4420. });
  4421. ----------------------------------- SOURCE END -------------------------------------
  4422. !STACK 0
  4423. java.lang.NullPointerException
  4424. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:10.262
  4425. !MESSAGE Exception occurred during problem detection:
  4426. ----------------------------------- SOURCE BEGIN -------------------------------------
  4427. (function(){WdatePicker();})();
  4428. (function(){WdatePicker();})();
  4429. (function(){Data.get();})();
  4430. (function(){Data.set();})();
  4431. (function(){search();})();
  4432. $(function(){
  4433. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4434. getfp();
  4435. });
  4436. var Data = {
  4437. "get" : function(){
  4438. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  4439. var tip = layer.load(2);
  4440. var result="";
  4441. var url = "getgyxml.do";
  4442. $.ajax({
  4443. "url" : url,
  4444. "data" : {
  4445. "start_date" : $("#dateBegin").val(),
  4446. "end_date" : $("#dateEnd").val()
  4447. },
  4448. "type" : "POST",
  4449. "dataType" : "json",
  4450. "success" : function(data) {
  4451. if(data != null && data != ""){
  4452. if ( data.status =="success"){
  4453. getfp();
  4454. alert("获取成功!");
  4455. }else {
  4456. alert(data.status);
  4457. }
  4458. }else {
  4459. alert("获取失败!");
  4460. }
  4461. },
  4462. "complete": function(){
  4463. layer.close(tip);
  4464. }
  4465. });
  4466. }else {
  4467. alert("请选择日期!");
  4468. }
  4469. },
  4470. "set" : function(){
  4471. if ( $("#fpid option:selected").text() !=""){
  4472. var tip = layer.load(2);
  4473. var gitem = $("#form1").serialize();
  4474. var jrjc;
  4475. if ($("#jrjc").prop('checked') == true){
  4476. jrjc = $("#departmentId").val();
  4477. }else {
  4478. jrjc ='N'
  4479. }
  4480. var url = "saverk.do";
  4481. $.ajax({
  4482. "url" : url,
  4483. "data" : {
  4484. "gitem" : gitem,
  4485. "jrjc" : jrjc
  4486. },
  4487. "type" : "POST",
  4488. "dataType" : "json",
  4489. "async" : true,
  4490. "success" : function(data) {
  4491. if(data.status ="success"){
  4492. alert("入库成功!");
  4493. window.location.reload();
  4494. }else {
  4495. alert(msg);
  4496. }
  4497. },
  4498. "error": function(){
  4499. alert("确认失败!");
  4500. },
  4501. "complete": function(){
  4502. layer.close(tip);
  4503. }
  4504. });
  4505. }else {
  4506. alert("请选择发票!");
  4507. }
  4508. }
  4509. }
  4510. function getfp(){
  4511. var tip = layer.load(2);
  4512. var url = "getgyfp.do";
  4513. $.ajax({
  4514. "url" : url,
  4515. "type" : "POST",
  4516. "dataType" : "json",
  4517. "async" : true,
  4518. "success" : function(data) {
  4519. if(data != null && data != ""){
  4520. $("#fpid").empty();
  4521. $("#fpid").append("_$tag_____________$tag____");
  4522. for(var i = 0; i < data.length; i++){
  4523. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  4524. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  4525. }
  4526. }
  4527. },
  4528. "error" : function(msg){
  4529. },
  4530. "complete": function(){
  4531. layer.close(tip);
  4532. }
  4533. });
  4534. }
  4535. $("#fpid").change(function(){
  4536. var tip = layer.load(2);
  4537. var url = "getgyrkxx.do";
  4538. $.ajax({
  4539. "url" : url,
  4540. "data" : {
  4541. "fpId" : $("#fpid").val()
  4542. },
  4543. "type" : "POST",
  4544. "dataType" : "json",
  4545. "async" : true,
  4546. "success" : function(data) {
  4547. $("#dataTable").html("");
  4548. if(data != null && data != ""){
  4549. var html = "";
  4550. for(var i = 0; i < data.length; i++){
  4551. var ID = data[i].id == null ? "" : data[i].id;
  4552. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4553. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4554. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4555. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4556. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4557. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4558. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4559. var NAME = data[i].name == null ? "" : data[i].name;
  4560. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4561. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4562. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4563. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4564. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4565. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4566. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4567. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4568. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4569. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4570. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4571. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4572. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4573. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4574. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4575. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4576. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4577. var invoice_type_cn =null;
  4578. if (invoice_type =="00" ){
  4579. invoice_type_cn="销售发票";
  4580. }else if (invoice_type == "01") {
  4581. invoice_type_cn="更正(对冲)发票";
  4582. }else if (invoice_type == "02") {
  4583. invoice_type_cn="其它类型发票";
  4584. }
  4585. html += "_$ta";
  4586. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4587. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4588. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4589. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4590. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4591. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4592. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4593. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4594. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  4595. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4596. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4597. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4598. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4599. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  4600. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4601. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4602. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4603. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4604. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4605. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4606. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4607. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4608. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  4609. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4610. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4611. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  4612. html += "_$tag";
  4613. }
  4614. $("#dataTable").html(html);
  4615. }else {
  4616. $("#dataTable").html("");
  4617. }
  4618. },
  4619. "error" : function(msg){
  4620. },
  4621. "complete": function(){
  4622. layer.close(tip);
  4623. }
  4624. });
  4625. });
  4626. Date.prototype.Format = function (fmt) {
  4627. var o = {
  4628. "M+": this.getMonth() + 1, //月份
  4629. "d+": this.getDate(), //日
  4630. "h+": this.getHours(), //小时
  4631. "m+": this.getMinutes(), //分
  4632. "s+": this.getSeconds(), //秒
  4633. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4634. "S": this.getMilliseconds() //毫秒
  4635. };
  4636. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4637. for (var k in o)
  4638. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4639. return fmt;
  4640. }
  4641. $("#jrjc").change(function() {
  4642. if ($("#jrjc").prop('checked') == true){
  4643. $("#departmentId").removeAttr("disabled");
  4644. }else {
  4645. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4646. }
  4647. });
  4648. ----------------------------------- SOURCE END -------------------------------------
  4649. !STACK 0
  4650. java.lang.NullPointerException
  4651. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:24:10.263
  4652. !MESSAGE java.lang.NullPointerException
  4653. !STACK 1
  4654. JavaScript Model Exception: java.lang.NullPointerException
  4655. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4656. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  4657. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4658. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4659. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  4660. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  4661. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  4662. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  4663. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  4664. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  4665. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  4666. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  4667. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  4668. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  4669. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  4670. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  4671. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  4672. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  4673. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  4674. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  4675. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  4676. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  4677. Caused by: java.lang.NullPointerException
  4678. Caused by: java.lang.NullPointerException
  4679. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:10.263
  4680. !MESSAGE java.lang.NullPointerException
  4681. !STACK 0
  4682. java.lang.NullPointerException
  4683. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:15.391
  4684. !MESSAGE Exception occurred during problem detection:
  4685. ----------------------------------- SOURCE BEGIN -------------------------------------
  4686. (function(){WdatePicker();})();
  4687. (function(){WdatePicker();})();
  4688. (function(){Data.get();})();
  4689. (function(){Data.set();})();
  4690. (function(){search();})();
  4691. $(function(){
  4692. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4693. getfp();
  4694. });
  4695. var Data = {
  4696. "get" : function(){
  4697. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  4698. var tip = layer.load(2);
  4699. var result="";
  4700. var url = "getgyxml.do";
  4701. $.ajax({
  4702. "url" : url,
  4703. "data" : {
  4704. "start_date" : $("#dateBegin").val(),
  4705. "end_date" : $("#dateEnd").val()
  4706. },
  4707. "type" : "POST",
  4708. "dataType" : "json",
  4709. "success" : function(data) {
  4710. if(data != null && data != ""){
  4711. if ( data.status =="success"){
  4712. getfp();
  4713. alert("获取成功!");
  4714. }else {
  4715. alert(data.status);
  4716. }
  4717. }else {
  4718. alert("获取失败!");
  4719. }
  4720. },
  4721. "complete": function(){
  4722. layer.close(tip);
  4723. }
  4724. });
  4725. }else {
  4726. alert("请选择日期!");
  4727. }
  4728. },
  4729. "set" : function(){
  4730. if ( $("#fpid option:selected").text() !=""){
  4731. var tip = layer.load(2);
  4732. var gitem = $("#form1").serialize();
  4733. var jrjc;
  4734. if ($("#jrjc").prop('checked') == true){
  4735. jrjc = $("#departmentId").val();
  4736. }else {
  4737. jrjc ='N'
  4738. }
  4739. var url = "saverk.do";
  4740. $.ajax({
  4741. "url" : url,
  4742. "data" : {
  4743. "gitem" : gitem,
  4744. "jrjc" : jrjc
  4745. },
  4746. "type" : "POST",
  4747. "dataType" : "json",
  4748. "async" : true,
  4749. "success" : function(data) {
  4750. if(data.status ="success"){
  4751. alert("入库成功!");
  4752. window.location.reload();
  4753. }else {
  4754. alert(msg);
  4755. }
  4756. },
  4757. "error": function(){
  4758. alert("确认失败!");
  4759. },
  4760. "complete": function(){
  4761. layer.close(tip);
  4762. }
  4763. });
  4764. }else {
  4765. alert("请选择发票!");
  4766. }
  4767. }
  4768. }
  4769. function getfp(){
  4770. var tip = layer.load(2);
  4771. var url = "getgyfp.do";
  4772. $.ajax({
  4773. "url" : url,
  4774. "type" : "POST",
  4775. "dataType" : "json",
  4776. "async" : true,
  4777. "success" : function(data) {
  4778. if(data != null && data != ""){
  4779. $("#fpid").empty();
  4780. $("#fpid").append("_$tag_____________$tag____");
  4781. for(var i = 0; i < data.length; i++){
  4782. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  4783. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  4784. }
  4785. }
  4786. },
  4787. "error" : function(msg){
  4788. },
  4789. "complete": function(){
  4790. layer.close(tip);
  4791. }
  4792. });
  4793. }
  4794. $("#fpid").change(function(){
  4795. var tip = layer.load(2);
  4796. var url = "getgyrkxx.do";
  4797. $.ajax({
  4798. "url" : url,
  4799. "data" : {
  4800. "fpId" : $("#fpid").val()
  4801. },
  4802. "type" : "POST",
  4803. "dataType" : "json",
  4804. "async" : true,
  4805. "success" : function(data) {
  4806. $("#dataTable").html("");
  4807. if(data != null && data != ""){
  4808. var html = "";
  4809. for(var i = 0; i < data.length; i++){
  4810. var ID = data[i].id == null ? "" : data[i].id;
  4811. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  4812. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  4813. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  4814. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  4815. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  4816. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  4817. var GOODS = data[i].goods == null ? "" : data[i].goods;
  4818. var NAME = data[i].name == null ? "" : data[i].name;
  4819. var SPEC = data[i].spec == null ? "" : data[i].spec;
  4820. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  4821. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  4822. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  4823. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  4824. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  4825. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  4826. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  4827. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  4828. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  4829. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  4830. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  4831. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  4832. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  4833. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  4834. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  4835. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  4836. var invoice_type_cn =null;
  4837. if (invoice_type =="00" ){
  4838. invoice_type_cn="销售发票";
  4839. }else if (invoice_type == "01") {
  4840. invoice_type_cn="更正(对冲)发票";
  4841. }else if (invoice_type == "02") {
  4842. invoice_type_cn="其它类型发票";
  4843. }
  4844. html += "_$ta";
  4845. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  4846. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4847. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4848. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4849. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4850. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  4851. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  4852. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4853. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4854. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  4855. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  4856. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4857. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  4858. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  4859. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4860. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4861. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4862. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4863. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4864. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  4865. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  4866. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  4867. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  4868. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  4869. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  4870. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  4871. html += "_$tag";
  4872. }
  4873. $("#dataTable").html(html);
  4874. }else {
  4875. $("#dataTable").html("");
  4876. }
  4877. },
  4878. "error" : function(msg){
  4879. },
  4880. "complete": function(){
  4881. layer.close(tip);
  4882. }
  4883. });
  4884. });
  4885. Date.prototype.Format = function (fmt) {
  4886. var o = {
  4887. "M+": this.getMonth() + 1, //月份
  4888. "d+": this.getDate(), //日
  4889. "h+": this.getHours(), //小时
  4890. "m+": this.getMinutes(), //分
  4891. "s+": this.getSeconds(), //秒
  4892. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  4893. "S": this.getMilliseconds() //毫秒
  4894. };
  4895. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  4896. for (var k in o)
  4897. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  4898. return fmt;
  4899. }
  4900. $("#jrjc").change(function() {
  4901. if ($("#jrjc").prop('checked') == true){
  4902. $("#departmentId").removeAttr("disabled");
  4903. }else {
  4904. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4905. }
  4906. });
  4907. ----------------------------------- SOURCE END -------------------------------------
  4908. !STACK 0
  4909. java.lang.NullPointerException
  4910. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:24:15.392
  4911. !MESSAGE java.lang.NullPointerException
  4912. !STACK 1
  4913. JavaScript Model Exception: java.lang.NullPointerException
  4914. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  4915. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  4916. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  4917. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  4918. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  4919. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  4920. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  4921. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  4922. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  4923. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  4924. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  4925. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  4926. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  4927. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  4928. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  4929. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  4930. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  4931. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  4932. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  4933. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  4934. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  4935. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  4936. Caused by: java.lang.NullPointerException
  4937. Caused by: java.lang.NullPointerException
  4938. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:15.392
  4939. !MESSAGE java.lang.NullPointerException
  4940. !STACK 0
  4941. java.lang.NullPointerException
  4942. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:22.292
  4943. !MESSAGE Exception occurred during problem detection:
  4944. ----------------------------------- SOURCE BEGIN -------------------------------------
  4945. (function(){WdatePicker();})();
  4946. (function(){WdatePicker();})();
  4947. (function(){Data.get();})();
  4948. (function(){Data.set();})();
  4949. (function(){search();})();
  4950. $(function(){
  4951. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  4952. getfp();
  4953. });
  4954. var Data = {
  4955. "get" : function(){
  4956. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  4957. var tip = layer.load(2);
  4958. var result="";
  4959. var url = "getgyxml.do";
  4960. $.ajax({
  4961. "url" : url,
  4962. "data" : {
  4963. "start_date" : $("#dateBegin").val(),
  4964. "end_date" : $("#dateEnd").val()
  4965. },
  4966. "type" : "POST",
  4967. "dataType" : "json",
  4968. "success" : function(data) {
  4969. if(data != null && data != ""){
  4970. if ( data.status =="success"){
  4971. getfp();
  4972. alert("获取成功!");
  4973. }else {
  4974. alert(data.status);
  4975. }
  4976. }else {
  4977. alert("获取失败!");
  4978. }
  4979. },
  4980. "complete": function(){
  4981. layer.close(tip);
  4982. }
  4983. });
  4984. }else {
  4985. alert("请选择日期!");
  4986. }
  4987. },
  4988. "set" : function(){
  4989. if ( $("#fpid option:selected").text() !=""){
  4990. var tip = layer.load(2);
  4991. var gitem = $("#form1").serialize();
  4992. var jrjc;
  4993. if ($("#jrjc").prop('checked') == true){
  4994. jrjc = $("#departmentId").val();
  4995. }else {
  4996. jrjc ='N'
  4997. }
  4998. var url = "saverk.do";
  4999. $.ajax({
  5000. "url" : url,
  5001. "data" : {
  5002. "gitem" : gitem,
  5003. "jrjc" : jrjc
  5004. },
  5005. "type" : "POST",
  5006. "dataType" : "json",
  5007. "async" : true,
  5008. "success" : function(data) {
  5009. if(data.status ="success"){
  5010. alert("入库成功!");
  5011. window.location.reload();
  5012. }else {
  5013. alert(msg);
  5014. }
  5015. },
  5016. "error": function(){
  5017. alert("确认失败!");
  5018. },
  5019. "complete": function(){
  5020. layer.close(tip);
  5021. }
  5022. });
  5023. }else {
  5024. alert("请选择发票!");
  5025. }
  5026. }
  5027. }
  5028. function getfp(){
  5029. var tip = layer.load(2);
  5030. var url = "getgyfp.do";
  5031. $.ajax({
  5032. "url" : url,
  5033. "type" : "POST",
  5034. "dataType" : "json",
  5035. "async" : true,
  5036. "success" : function(data) {
  5037. if(data != null && data != ""){
  5038. $("#fpid").empty();
  5039. $("#fpid").append("_$tag_____________$tag____");
  5040. for(var i = 0; i < data.length; i++){
  5041. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  5042. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  5043. }
  5044. }
  5045. },
  5046. "error" : function(msg){
  5047. },
  5048. "complete": function(){
  5049. layer.close(tip);
  5050. }
  5051. });
  5052. }
  5053. $("#fpid").change(function(){
  5054. var tip = layer.load(2);
  5055. var url = "getgyrkxx.do";
  5056. $.ajax({
  5057. "url" : url,
  5058. "data" : {
  5059. "fpId" : $("#fpid").val()
  5060. },
  5061. "type" : "POST",
  5062. "dataType" : "json",
  5063. "async" : true,
  5064. "success" : function(data) {
  5065. $("#dataTable").html("");
  5066. if(data != null && data != ""){
  5067. var html = "";
  5068. for(var i = 0; i < data.length; i++){
  5069. var ID = data[i].id == null ? "" : data[i].id;
  5070. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  5071. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  5072. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  5073. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  5074. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  5075. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  5076. var GOODS = data[i].goods == null ? "" : data[i].goods;
  5077. var NAME = data[i].name == null ? "" : data[i].name;
  5078. var SPEC = data[i].spec == null ? "" : data[i].spec;
  5079. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  5080. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  5081. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  5082. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  5083. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  5084. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  5085. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  5086. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  5087. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  5088. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  5089. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  5090. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  5091. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  5092. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  5093. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  5094. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  5095. var invoice_type_cn =null;
  5096. if (invoice_type =="00" ){
  5097. invoice_type_cn="销售发票";
  5098. }else if (invoice_type == "01") {
  5099. invoice_type_cn="更正(对冲)发票";
  5100. }else if (invoice_type == "02") {
  5101. invoice_type_cn="其它类型发票";
  5102. }
  5103. html += "_$ta";
  5104. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  5105. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5106. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5107. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5108. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5109. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5110. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5111. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5112. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5113. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5114. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  5115. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5116. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5117. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  5118. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5119. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5120. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5121. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5122. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5123. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5124. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  5125. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5126. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  5127. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5128. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5129. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  5130. html += "_$tag";
  5131. }
  5132. $("#dataTable").html(html);
  5133. }else {
  5134. $("#dataTable").html("");
  5135. }
  5136. },
  5137. "error" : function(msg){
  5138. },
  5139. "complete": function(){
  5140. layer.close(tip);
  5141. }
  5142. });
  5143. });
  5144. Date.prototype.Format = function (fmt) {
  5145. var o = {
  5146. "M+": this.getMonth() + 1, //月份
  5147. "d+": this.getDate(), //日
  5148. "h+": this.getHours(), //小时
  5149. "m+": this.getMinutes(), //分
  5150. "s+": this.getSeconds(), //秒
  5151. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5152. "S": this.getMilliseconds() //毫秒
  5153. };
  5154. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5155. for (var k in o)
  5156. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5157. return fmt;
  5158. }
  5159. $("#jrjc").change(function() {
  5160. if ($("#jrjc").prop('checked') == true){
  5161. $("#departmentId").removeAttr("disabled");
  5162. }else {
  5163. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5164. }
  5165. });
  5166. ----------------------------------- SOURCE END -------------------------------------
  5167. !STACK 0
  5168. java.lang.NullPointerException
  5169. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:24:22.293
  5170. !MESSAGE java.lang.NullPointerException
  5171. !STACK 1
  5172. JavaScript Model Exception: java.lang.NullPointerException
  5173. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5174. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  5175. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5176. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5177. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  5178. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  5179. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  5180. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  5181. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  5182. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  5183. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  5184. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  5185. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  5186. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  5187. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  5188. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  5189. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  5190. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  5191. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  5192. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  5193. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  5194. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  5195. Caused by: java.lang.NullPointerException
  5196. Caused by: java.lang.NullPointerException
  5197. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:22.293
  5198. !MESSAGE java.lang.NullPointerException
  5199. !STACK 0
  5200. java.lang.NullPointerException
  5201. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:23.687
  5202. !MESSAGE Exception occurred during problem detection:
  5203. ----------------------------------- SOURCE BEGIN -------------------------------------
  5204. (function(){WdatePicker();})();
  5205. (function(){WdatePicker();})();
  5206. (function(){Data.get();})();
  5207. (function(){Data.set();})();
  5208. (function(){search();})();
  5209. $(function(){
  5210. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5211. getfp();
  5212. });
  5213. var Data = {
  5214. "get" : function(){
  5215. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  5216. var tip = layer.load(2);
  5217. var result="";
  5218. var url = "getgyxml.do";
  5219. $.ajax({
  5220. "url" : url,
  5221. "data" : {
  5222. "start_date" : $("#dateBegin").val(),
  5223. "end_date" : $("#dateEnd").val()
  5224. },
  5225. "type" : "POST",
  5226. "dataType" : "json",
  5227. "success" : function(data) {
  5228. if(data != null && data != ""){
  5229. if ( data.status =="success"){
  5230. getfp();
  5231. alert("获取成功!");
  5232. }else {
  5233. alert(data.status);
  5234. }
  5235. }else {
  5236. alert("获取失败!");
  5237. }
  5238. },
  5239. "complete": function(){
  5240. layer.close(tip);
  5241. }
  5242. });
  5243. }else {
  5244. alert("请选择日期!");
  5245. }
  5246. },
  5247. "set" : function(){
  5248. if ( $("#fpid option:selected").text() !=""){
  5249. var tip = layer.load(2);
  5250. var gitem = $("#form1").serialize();
  5251. var jrjc;
  5252. if ($("#jrjc").prop('checked') == true){
  5253. jrjc = $("#departmentId").val();
  5254. }else {
  5255. jrjc ='N'
  5256. }
  5257. var url = "saverk.do";
  5258. $.ajax({
  5259. "url" : url,
  5260. "data" : {
  5261. "gitem" : gitem,
  5262. "jrjc" : jrjc
  5263. },
  5264. "type" : "POST",
  5265. "dataType" : "json",
  5266. "async" : true,
  5267. "success" : function(data) {
  5268. if(data.status ="success"){
  5269. alert("入库成功!");
  5270. window.location.reload();
  5271. }else {
  5272. alert(msg);
  5273. }
  5274. },
  5275. "error": function(){
  5276. alert("确认失败!");
  5277. },
  5278. "complete": function(){
  5279. layer.close(tip);
  5280. }
  5281. });
  5282. }else {
  5283. alert("请选择发票!");
  5284. }
  5285. }
  5286. }
  5287. function getfp(){
  5288. var tip = layer.load(2);
  5289. var url = "getgyfp.do";
  5290. $.ajax({
  5291. "url" : url,
  5292. "type" : "POST",
  5293. "dataType" : "json",
  5294. "async" : true,
  5295. "success" : function(data) {
  5296. if(data != null && data != ""){
  5297. $("#fpid").empty();
  5298. $("#fpid").append("_$tag_____________$tag____");
  5299. for(var i = 0; i < data.length; i++){
  5300. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  5301. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  5302. }
  5303. }
  5304. },
  5305. "error" : function(msg){
  5306. },
  5307. "complete": function(){
  5308. layer.close(tip);
  5309. }
  5310. });
  5311. }
  5312. $("#fpid").change(function(){
  5313. var tip = layer.load(2);
  5314. var url = "getgyrkxx.do";
  5315. $.ajax({
  5316. "url" : url,
  5317. "data" : {
  5318. "fpId" : $("#fpid").val()
  5319. },
  5320. "type" : "POST",
  5321. "dataType" : "json",
  5322. "async" : true,
  5323. "success" : function(data) {
  5324. $("#dataTable").html("");
  5325. if(data != null && data != ""){
  5326. var html = "";
  5327. for(var i = 0; i < data.length; i++){
  5328. var ID = data[i].id == null ? "" : data[i].id;
  5329. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  5330. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  5331. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  5332. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  5333. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  5334. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  5335. var GOODS = data[i].goods == null ? "" : data[i].goods;
  5336. var NAME = data[i].name == null ? "" : data[i].name;
  5337. var SPEC = data[i].spec == null ? "" : data[i].spec;
  5338. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  5339. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  5340. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  5341. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  5342. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  5343. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  5344. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  5345. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  5346. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  5347. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  5348. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  5349. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  5350. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  5351. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  5352. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  5353. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  5354. var invoice_type_cn =null;
  5355. if (invoice_type =="00" ){
  5356. invoice_type_cn="销售发票";
  5357. }else if (invoice_type == "01") {
  5358. invoice_type_cn="更正(对冲)发票";
  5359. }else if (invoice_type == "02") {
  5360. invoice_type_cn="其它类型发票";
  5361. }
  5362. html += "_$ta";
  5363. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  5364. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5365. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5366. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5367. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5368. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5369. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  5370. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5371. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5372. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5373. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  5374. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5375. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5376. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  5377. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5378. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5379. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5380. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5381. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5382. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5383. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  5384. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5385. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  5386. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5387. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5388. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  5389. html += "_$tag";
  5390. }
  5391. $("#dataTable").html(html);
  5392. }else {
  5393. $("#dataTable").html("");
  5394. }
  5395. },
  5396. "error" : function(msg){
  5397. },
  5398. "complete": function(){
  5399. layer.close(tip);
  5400. }
  5401. });
  5402. });
  5403. Date.prototype.Format = function (fmt) {
  5404. var o = {
  5405. "M+": this.getMonth() + 1, //月份
  5406. "d+": this.getDate(), //日
  5407. "h+": this.getHours(), //小时
  5408. "m+": this.getMinutes(), //分
  5409. "s+": this.getSeconds(), //秒
  5410. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5411. "S": this.getMilliseconds() //毫秒
  5412. };
  5413. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5414. for (var k in o)
  5415. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5416. return fmt;
  5417. }
  5418. $("#jrjc").change(function() {
  5419. if ($("#jrjc").prop('checked') == true){
  5420. $("#departmentId").removeAttr("disabled");
  5421. }else {
  5422. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5423. }
  5424. });
  5425. ----------------------------------- SOURCE END -------------------------------------
  5426. !STACK 0
  5427. java.lang.NullPointerException
  5428. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:24:23.688
  5429. !MESSAGE java.lang.NullPointerException
  5430. !STACK 1
  5431. JavaScript Model Exception: java.lang.NullPointerException
  5432. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5433. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  5434. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5435. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5436. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  5437. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  5438. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  5439. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  5440. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  5441. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  5442. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  5443. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  5444. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  5445. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  5446. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  5447. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  5448. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  5449. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  5450. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  5451. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  5452. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  5453. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  5454. Caused by: java.lang.NullPointerException
  5455. Caused by: java.lang.NullPointerException
  5456. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:23.688
  5457. !MESSAGE java.lang.NullPointerException
  5458. !STACK 0
  5459. java.lang.NullPointerException
  5460. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:35.549
  5461. !MESSAGE Exception occurred during problem detection:
  5462. ----------------------------------- SOURCE BEGIN -------------------------------------
  5463. (function(){WdatePicker();})();
  5464. (function(){WdatePicker();})();
  5465. (function(){Data.get();})();
  5466. (function(){Data.set();})();
  5467. (function(){search();})();
  5468. $(function(){
  5469. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5470. getfp();
  5471. });
  5472. var Data = {
  5473. "get" : function(){
  5474. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  5475. var tip = layer.load(2);
  5476. var result="";
  5477. var url = "getgyxml.do";
  5478. $.ajax({
  5479. "url" : url,
  5480. "data" : {
  5481. "start_date" : $("#dateBegin").val(),
  5482. "end_date" : $("#dateEnd").val()
  5483. },
  5484. "type" : "POST",
  5485. "dataType" : "json",
  5486. "success" : function(data) {
  5487. if(data != null && data != ""){
  5488. if ( data.status =="success"){
  5489. getfp();
  5490. alert("获取成功!");
  5491. }else {
  5492. alert(data.status);
  5493. }
  5494. }else {
  5495. alert("获取失败!");
  5496. }
  5497. },
  5498. "complete": function(){
  5499. layer.close(tip);
  5500. }
  5501. });
  5502. }else {
  5503. alert("请选择日期!");
  5504. }
  5505. },
  5506. "set" : function(){
  5507. if ( $("#fpid option:selected").text() !=""){
  5508. var tip = layer.load(2);
  5509. var gitem = $("#form1").serialize();
  5510. var jrjc;
  5511. if ($("#jrjc").prop('checked') == true){
  5512. jrjc = $("#departmentId").val();
  5513. }else {
  5514. jrjc ='N'
  5515. }
  5516. var url = "saverk.do";
  5517. $.ajax({
  5518. "url" : url,
  5519. "data" : {
  5520. "gitem" : gitem,
  5521. "jrjc" : jrjc
  5522. },
  5523. "type" : "POST",
  5524. "dataType" : "json",
  5525. "async" : true,
  5526. "success" : function(data) {
  5527. if(data.status ="success"){
  5528. alert("入库成功!");
  5529. window.location.reload();
  5530. }else {
  5531. alert(msg);
  5532. }
  5533. },
  5534. "error": function(){
  5535. alert("确认失败!");
  5536. },
  5537. "complete": function(){
  5538. layer.close(tip);
  5539. }
  5540. });
  5541. }else {
  5542. alert("请选择发票!");
  5543. }
  5544. }
  5545. }
  5546. function getfp(){
  5547. var tip = layer.load(2);
  5548. var url = "getgyfp.do";
  5549. $.ajax({
  5550. "url" : url,
  5551. "type" : "POST",
  5552. "dataType" : "json",
  5553. "async" : true,
  5554. "success" : function(data) {
  5555. if(data != null && data != ""){
  5556. $("#fpid").empty();
  5557. $("#fpid").append("_$tag_____________$tag____");
  5558. for(var i = 0; i < data.length; i++){
  5559. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  5560. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  5561. }
  5562. }
  5563. },
  5564. "error" : function(msg){
  5565. },
  5566. "complete": function(){
  5567. layer.close(tip);
  5568. }
  5569. });
  5570. }
  5571. $("#fpid").change(function(){
  5572. var tip = layer.load(2);
  5573. var url = "getgyrkxx.do";
  5574. $.ajax({
  5575. "url" : url,
  5576. "data" : {
  5577. "fpId" : $("#fpid").val()
  5578. },
  5579. "type" : "POST",
  5580. "dataType" : "json",
  5581. "async" : true,
  5582. "success" : function(data) {
  5583. $("#dataTable").html("");
  5584. if(data != null && data != ""){
  5585. var html = "";
  5586. for(var i = 0; i < data.length; i++){
  5587. var ID = data[i].id == null ? "" : data[i].id;
  5588. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  5589. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  5590. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  5591. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  5592. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  5593. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  5594. var GOODS = data[i].goods == null ? "" : data[i].goods;
  5595. var NAME = data[i].name == null ? "" : data[i].name;
  5596. var SPEC = data[i].spec == null ? "" : data[i].spec;
  5597. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  5598. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  5599. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  5600. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  5601. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  5602. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  5603. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  5604. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  5605. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  5606. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  5607. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  5608. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  5609. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  5610. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  5611. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  5612. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  5613. var invoice_type_cn =null;
  5614. if (invoice_type =="00" ){
  5615. invoice_type_cn="销售发票";
  5616. }else if (invoice_type == "01") {
  5617. invoice_type_cn="更正(对冲)发票";
  5618. }else if (invoice_type == "02") {
  5619. invoice_type_cn="其它类型发票";
  5620. }
  5621. html += "_$ta";
  5622. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  5623. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5624. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5625. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5626. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5627. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5628. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  5629. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5630. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5631. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5632. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  5633. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5634. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5635. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  5636. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5637. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5638. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5639. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5640. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5641. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5642. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  5643. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  5644. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  5645. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5646. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5647. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  5648. html += "_$tag";
  5649. }
  5650. $("#dataTable").html(html);
  5651. }else {
  5652. $("#dataTable").html("");
  5653. }
  5654. },
  5655. "error" : function(msg){
  5656. },
  5657. "complete": function(){
  5658. layer.close(tip);
  5659. }
  5660. });
  5661. });
  5662. Date.prototype.Format = function (fmt) {
  5663. var o = {
  5664. "M+": this.getMonth() + 1, //月份
  5665. "d+": this.getDate(), //日
  5666. "h+": this.getHours(), //小时
  5667. "m+": this.getMinutes(), //分
  5668. "s+": this.getSeconds(), //秒
  5669. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5670. "S": this.getMilliseconds() //毫秒
  5671. };
  5672. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5673. for (var k in o)
  5674. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5675. return fmt;
  5676. }
  5677. $("#jrjc").change(function() {
  5678. if ($("#jrjc").prop('checked') == true){
  5679. $("#departmentId").removeAttr("disabled");
  5680. }else {
  5681. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5682. }
  5683. });
  5684. ----------------------------------- SOURCE END -------------------------------------
  5685. !STACK 0
  5686. java.lang.NullPointerException
  5687. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:24:35.549
  5688. !MESSAGE java.lang.NullPointerException
  5689. !STACK 1
  5690. JavaScript Model Exception: java.lang.NullPointerException
  5691. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5692. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  5693. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5694. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5695. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  5696. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  5697. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  5698. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  5699. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  5700. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  5701. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  5702. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  5703. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  5704. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  5705. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  5706. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  5707. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  5708. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  5709. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  5710. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  5711. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  5712. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  5713. Caused by: java.lang.NullPointerException
  5714. Caused by: java.lang.NullPointerException
  5715. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:35.550
  5716. !MESSAGE java.lang.NullPointerException
  5717. !STACK 0
  5718. java.lang.NullPointerException
  5719. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:53.174
  5720. !MESSAGE Exception occurred during problem detection:
  5721. ----------------------------------- SOURCE BEGIN -------------------------------------
  5722. (function(){WdatePicker();})();
  5723. (function(){WdatePicker();})();
  5724. (function(){Data.get();})();
  5725. (function(){Data.set();})();
  5726. (function(){search();})();
  5727. $(function(){
  5728. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5729. getfp();
  5730. });
  5731. var Data = {
  5732. "get" : function(){
  5733. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  5734. var tip = layer.load(2);
  5735. var result="";
  5736. var url = "getgyxml.do";
  5737. $.ajax({
  5738. "url" : url,
  5739. "data" : {
  5740. "start_date" : $("#dateBegin").val(),
  5741. "end_date" : $("#dateEnd").val()
  5742. },
  5743. "type" : "POST",
  5744. "dataType" : "json",
  5745. "success" : function(data) {
  5746. if(data != null && data != ""){
  5747. if ( data.status =="success"){
  5748. getfp();
  5749. alert("获取成功!");
  5750. }else {
  5751. alert(data.status);
  5752. }
  5753. }else {
  5754. alert("获取失败!");
  5755. }
  5756. },
  5757. "complete": function(){
  5758. layer.close(tip);
  5759. }
  5760. });
  5761. }else {
  5762. alert("请选择日期!");
  5763. }
  5764. },
  5765. "set" : function(){
  5766. if ( $("#fpid option:selected").text() !=""){
  5767. var tip = layer.load(2);
  5768. var gitem = $("#form1").serialize();
  5769. var jrjc;
  5770. if ($("#jrjc").prop('checked') == true){
  5771. jrjc = $("#departmentId").val();
  5772. }else {
  5773. jrjc ='N'
  5774. }
  5775. var url = "saverk.do";
  5776. $.ajax({
  5777. "url" : url,
  5778. "data" : {
  5779. "gitem" : gitem,
  5780. "jrjc" : jrjc
  5781. },
  5782. "type" : "POST",
  5783. "dataType" : "json",
  5784. "async" : true,
  5785. "success" : function(data) {
  5786. if(data.status ="success"){
  5787. alert("入库成功!");
  5788. window.location.reload();
  5789. }else {
  5790. alert(msg);
  5791. }
  5792. },
  5793. "error": function(){
  5794. alert("确认失败!");
  5795. },
  5796. "complete": function(){
  5797. layer.close(tip);
  5798. }
  5799. });
  5800. }else {
  5801. alert("请选择发票!");
  5802. }
  5803. }
  5804. }
  5805. function getfp(){
  5806. var tip = layer.load(2);
  5807. var url = "getgyfp.do";
  5808. $.ajax({
  5809. "url" : url,
  5810. "type" : "POST",
  5811. "dataType" : "json",
  5812. "async" : true,
  5813. "success" : function(data) {
  5814. if(data != null && data != ""){
  5815. $("#fpid").empty();
  5816. $("#fpid").append("_$tag_____________$tag____");
  5817. for(var i = 0; i < data.length; i++){
  5818. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  5819. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  5820. }
  5821. }
  5822. },
  5823. "error" : function(msg){
  5824. },
  5825. "complete": function(){
  5826. layer.close(tip);
  5827. }
  5828. });
  5829. }
  5830. $("#fpid").change(function(){
  5831. var tip = layer.load(2);
  5832. var url = "getgyrkxx.do";
  5833. $.ajax({
  5834. "url" : url,
  5835. "data" : {
  5836. "fpId" : $("#fpid").val()
  5837. },
  5838. "type" : "POST",
  5839. "dataType" : "json",
  5840. "async" : true,
  5841. "success" : function(data) {
  5842. $("#dataTable").html("");
  5843. if(data != null && data != ""){
  5844. var html = "";
  5845. for(var i = 0; i < data.length; i++){
  5846. var ID = data[i].id == null ? "" : data[i].id;
  5847. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  5848. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  5849. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  5850. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  5851. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  5852. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  5853. var GOODS = data[i].goods == null ? "" : data[i].goods;
  5854. var NAME = data[i].name == null ? "" : data[i].name;
  5855. var SPEC = data[i].spec == null ? "" : data[i].spec;
  5856. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  5857. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  5858. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  5859. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  5860. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  5861. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  5862. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  5863. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  5864. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  5865. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  5866. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  5867. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  5868. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  5869. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  5870. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  5871. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  5872. var invoice_type_cn =null;
  5873. if (invoice_type =="00" ){
  5874. invoice_type_cn="销售发票";
  5875. }else if (invoice_type == "01") {
  5876. invoice_type_cn="更正(对冲)发票";
  5877. }else if (invoice_type == "02") {
  5878. invoice_type_cn="其它类型发票";
  5879. }
  5880. html += "_$ta";
  5881. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  5882. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5883. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5884. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5885. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5886. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  5887. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  5888. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5889. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5890. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  5891. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  5892. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5893. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  5894. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  5895. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5896. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5897. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  5898. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5899. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5900. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  5901. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  5902. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  5903. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  5904. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  5905. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  5906. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  5907. html += "_$tag";
  5908. }
  5909. $("#dataTable").html(html);
  5910. }else {
  5911. $("#dataTable").html("");
  5912. }
  5913. },
  5914. "error" : function(msg){
  5915. },
  5916. "complete": function(){
  5917. layer.close(tip);
  5918. }
  5919. });
  5920. });
  5921. Date.prototype.Format = function (fmt) {
  5922. var o = {
  5923. "M+": this.getMonth() + 1, //月份
  5924. "d+": this.getDate(), //日
  5925. "h+": this.getHours(), //小时
  5926. "m+": this.getMinutes(), //分
  5927. "s+": this.getSeconds(), //秒
  5928. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  5929. "S": this.getMilliseconds() //毫秒
  5930. };
  5931. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  5932. for (var k in o)
  5933. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  5934. return fmt;
  5935. }
  5936. $("#jrjc").change(function() {
  5937. if ($("#jrjc").prop('checked') == true){
  5938. $("#departmentId").removeAttr("disabled");
  5939. }else {
  5940. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5941. }
  5942. });
  5943. ----------------------------------- SOURCE END -------------------------------------
  5944. !STACK 0
  5945. java.lang.NullPointerException
  5946. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:53.174
  5947. !MESSAGE Error while processing working copy
  5948. !STACK 1
  5949. JavaScript Model Exception: java.lang.NullPointerException
  5950. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  5951. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  5952. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  5953. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  5954. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  5955. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  5956. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  5957. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  5958. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  5959. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  5960. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  5961. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  5962. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  5963. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  5964. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  5965. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  5966. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  5967. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  5968. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  5969. Caused by: java.lang.NullPointerException
  5970. Caused by: java.lang.NullPointerException
  5971. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:24:53.175
  5972. !MESSAGE java.lang.NullPointerException
  5973. !STACK 0
  5974. java.lang.NullPointerException
  5975. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:24:53.833
  5976. !MESSAGE Exception occurred during problem detection:
  5977. ----------------------------------- SOURCE BEGIN -------------------------------------
  5978. (function(){WdatePicker();})();
  5979. (function(){WdatePicker();})();
  5980. (function(){Data.get();})();
  5981. (function(){Data.set();})();
  5982. (function(){search();})();
  5983. $(function(){
  5984. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  5985. getfp();
  5986. });
  5987. var Data = {
  5988. "get" : function(){
  5989. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  5990. var tip = layer.load(2);
  5991. var result="";
  5992. var url = "getgyxml.do";
  5993. $.ajax({
  5994. "url" : url,
  5995. "data" : {
  5996. "start_date" : $("#dateBegin").val(),
  5997. "end_date" : $("#dateEnd").val()
  5998. },
  5999. "type" : "POST",
  6000. "dataType" : "json",
  6001. "success" : function(data) {
  6002. if(data != null && data != ""){
  6003. if ( data.status =="success"){
  6004. getfp();
  6005. alert("获取成功!");
  6006. }else {
  6007. alert(data.status);
  6008. }
  6009. }else {
  6010. alert("获取失败!");
  6011. }
  6012. },
  6013. "complete": function(){
  6014. layer.close(tip);
  6015. }
  6016. });
  6017. }else {
  6018. alert("请选择日期!");
  6019. }
  6020. },
  6021. "set" : function(){
  6022. if ( $("#fpid option:selected").text() !=""){
  6023. var tip = layer.load(2);
  6024. var gitem = $("#form1").serialize();
  6025. var jrjc;
  6026. if ($("#jrjc").prop('checked') == true){
  6027. jrjc = $("#departmentId").val();
  6028. }else {
  6029. jrjc ='N'
  6030. }
  6031. var url = "saverk.do";
  6032. $.ajax({
  6033. "url" : url,
  6034. "data" : {
  6035. "gitem" : gitem,
  6036. "jrjc" : jrjc
  6037. },
  6038. "type" : "POST",
  6039. "dataType" : "json",
  6040. "async" : true,
  6041. "success" : function(data) {
  6042. if(data.status ="success"){
  6043. alert("入库成功!");
  6044. window.location.reload();
  6045. }else {
  6046. alert(msg);
  6047. }
  6048. },
  6049. "error": function(){
  6050. alert("确认失败!");
  6051. },
  6052. "complete": function(){
  6053. layer.close(tip);
  6054. }
  6055. });
  6056. }else {
  6057. alert("请选择发票!");
  6058. }
  6059. }
  6060. }
  6061. function getfp(){
  6062. var tip = layer.load(2);
  6063. var url = "getgyfp.do";
  6064. $.ajax({
  6065. "url" : url,
  6066. "type" : "POST",
  6067. "dataType" : "json",
  6068. "async" : true,
  6069. "success" : function(data) {
  6070. if(data != null && data != ""){
  6071. $("#fpid").empty();
  6072. $("#fpid").append("_$tag_____________$tag____");
  6073. for(var i = 0; i < data.length; i++){
  6074. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  6075. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  6076. }
  6077. }
  6078. },
  6079. "error" : function(msg){
  6080. },
  6081. "complete": function(){
  6082. layer.close(tip);
  6083. }
  6084. });
  6085. }
  6086. $("#fpid").change(function(){
  6087. var tip = layer.load(2);
  6088. var url = "getgyrkxx.do";
  6089. $.ajax({
  6090. "url" : url,
  6091. "data" : {
  6092. "fpId" : $("#fpid").val()
  6093. },
  6094. "type" : "POST",
  6095. "dataType" : "json",
  6096. "async" : true,
  6097. "success" : function(data) {
  6098. $("#dataTable").html("");
  6099. if(data != null && data != ""){
  6100. var html = "";
  6101. for(var i = 0; i < data.length; i++){
  6102. var ID = data[i].id == null ? "" : data[i].id;
  6103. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  6104. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  6105. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  6106. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  6107. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  6108. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  6109. var GOODS = data[i].goods == null ? "" : data[i].goods;
  6110. var NAME = data[i].name == null ? "" : data[i].name;
  6111. var SPEC = data[i].spec == null ? "" : data[i].spec;
  6112. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  6113. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  6114. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  6115. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  6116. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  6117. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  6118. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  6119. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  6120. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  6121. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  6122. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  6123. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  6124. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  6125. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  6126. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  6127. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  6128. var invoice_type_cn =null;
  6129. if (invoice_type =="00" ){
  6130. invoice_type_cn="销售发票";
  6131. }else if (invoice_type == "01") {
  6132. invoice_type_cn="更正(对冲)发票";
  6133. }else if (invoice_type == "02") {
  6134. invoice_type_cn="其它类型发票";
  6135. }
  6136. html += "_$ta";
  6137. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  6138. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6139. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6140. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6141. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6142. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6143. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  6144. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6145. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6146. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6147. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  6148. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6149. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6150. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  6151. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6152. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6153. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6154. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6155. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6156. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6157. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  6158. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  6159. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  6160. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6161. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6162. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  6163. html += "_$tag";
  6164. }
  6165. $("#dataTable").html(html);
  6166. }else {
  6167. $("#dataTable").html("");
  6168. }
  6169. },
  6170. "error" : function(msg){
  6171. },
  6172. "complete": function(){
  6173. layer.close(tip);
  6174. }
  6175. });
  6176. });
  6177. Date.prototype.Format = function (fmt) {
  6178. var o = {
  6179. "M+": this.getMonth() + 1, //月份
  6180. "d+": this.getDate(), //日
  6181. "h+": this.getHours(), //小时
  6182. "m+": this.getMinutes(), //分
  6183. "s+": this.getSeconds(), //秒
  6184. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6185. "S": this.getMilliseconds() //毫秒
  6186. };
  6187. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6188. for (var k in o)
  6189. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6190. return fmt;
  6191. }
  6192. $("#jrjc").change(function() {
  6193. if ($("#jrjc").prop('checked') == true){
  6194. $("#departmentId").removeAttr("disabled");
  6195. }else {
  6196. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6197. }
  6198. });
  6199. ----------------------------------- SOURCE END -------------------------------------
  6200. !STACK 0
  6201. java.lang.NullPointerException
  6202. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:01.434
  6203. !MESSAGE Exception occurred during problem detection:
  6204. ----------------------------------- SOURCE BEGIN -------------------------------------
  6205. (function(){WdatePicker();})();
  6206. (function(){WdatePicker();})();
  6207. (function(){Data.get();})();
  6208. (function(){Data.set();})();
  6209. (function(){search();})();
  6210. $(function(){
  6211. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6212. getfp();
  6213. });
  6214. var Data = {
  6215. "get" : function(){
  6216. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  6217. var tip = layer.load(2);
  6218. var result="";
  6219. var url = "getgyxml.do";
  6220. $.ajax({
  6221. "url" : url,
  6222. "data" : {
  6223. "start_date" : $("#dateBegin").val(),
  6224. "end_date" : $("#dateEnd").val()
  6225. },
  6226. "type" : "POST",
  6227. "dataType" : "json",
  6228. "success" : function(data) {
  6229. if(data != null && data != ""){
  6230. if ( data.status =="success"){
  6231. getfp();
  6232. alert("获取成功!");
  6233. }else {
  6234. alert(data.status);
  6235. }
  6236. }else {
  6237. alert("获取失败!");
  6238. }
  6239. },
  6240. "complete": function(){
  6241. layer.close(tip);
  6242. }
  6243. });
  6244. }else {
  6245. alert("请选择日期!");
  6246. }
  6247. },
  6248. "set" : function(){
  6249. if ( $("#fpid option:selected").text() !=""){
  6250. var tip = layer.load(2);
  6251. var gitem = $("#form1").serialize();
  6252. var jrjc;
  6253. if ($("#jrjc").prop('checked') == true){
  6254. jrjc = $("#departmentId").val();
  6255. }else {
  6256. jrjc ='N'
  6257. }
  6258. var url = "saverk.do";
  6259. $.ajax({
  6260. "url" : url,
  6261. "data" : {
  6262. "gitem" : gitem,
  6263. "jrjc" : jrjc
  6264. },
  6265. "type" : "POST",
  6266. "dataType" : "json",
  6267. "async" : true,
  6268. "success" : function(data) {
  6269. if(data.status ="success"){
  6270. alert("入库成功!");
  6271. window.location.reload();
  6272. }else {
  6273. alert(msg);
  6274. }
  6275. },
  6276. "error": function(){
  6277. alert("确认失败!");
  6278. },
  6279. "complete": function(){
  6280. layer.close(tip);
  6281. }
  6282. });
  6283. }else {
  6284. alert("请选择发票!");
  6285. }
  6286. }
  6287. }
  6288. function getfp(){
  6289. var tip = layer.load(2);
  6290. var url = "getgyfp.do";
  6291. $.ajax({
  6292. "url" : url,
  6293. "type" : "POST",
  6294. "dataType" : "json",
  6295. "async" : true,
  6296. "success" : function(data) {
  6297. if(data != null && data != ""){
  6298. $("#fpid").empty();
  6299. $("#fpid").append("_$tag_____________$tag____");
  6300. for(var i = 0; i < data.length; i++){
  6301. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  6302. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  6303. }
  6304. }
  6305. },
  6306. "error" : function(msg){
  6307. },
  6308. "complete": function(){
  6309. layer.close(tip);
  6310. }
  6311. });
  6312. }
  6313. $("#fpid").change(function(){
  6314. var tip = layer.load(2);
  6315. var url = "getgyrkxx.do";
  6316. $.ajax({
  6317. "url" : url,
  6318. "data" : {
  6319. "fpId" : $("#fpid").val()
  6320. },
  6321. "type" : "POST",
  6322. "dataType" : "json",
  6323. "async" : true,
  6324. "success" : function(data) {
  6325. $("#dataTable").html("");
  6326. if(data != null && data != ""){
  6327. var html = "";
  6328. for(var i = 0; i < data.length; i++){
  6329. var ID = data[i].id == null ? "" : data[i].id;
  6330. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  6331. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  6332. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  6333. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  6334. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  6335. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  6336. var GOODS = data[i].goods == null ? "" : data[i].goods;
  6337. var NAME = data[i].name == null ? "" : data[i].name;
  6338. var SPEC = data[i].spec == null ? "" : data[i].spec;
  6339. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  6340. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  6341. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  6342. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  6343. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  6344. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  6345. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  6346. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  6347. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  6348. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  6349. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  6350. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  6351. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  6352. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  6353. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  6354. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  6355. var invoice_type_cn =null;
  6356. if (invoice_type =="00" ){
  6357. invoice_type_cn="销售发票";
  6358. }else if (invoice_type == "01") {
  6359. invoice_type_cn="更正(对冲)发票";
  6360. }else if (invoice_type == "02") {
  6361. invoice_type_cn="其它类型发票";
  6362. }
  6363. html += "_$ta";
  6364. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  6365. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6366. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6367. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6368. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6369. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6370. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  6371. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6372. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6373. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6374. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  6375. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6376. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6377. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  6378. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6379. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6380. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6381. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6382. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6383. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6384. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  6385. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  6386. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  6387. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6388. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6389. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  6390. html += "_$tag";
  6391. }
  6392. $("#dataTable").html(html);
  6393. }else {
  6394. $("#dataTable").html("");
  6395. }
  6396. },
  6397. "error" : function(msg){
  6398. },
  6399. "complete": function(){
  6400. layer.close(tip);
  6401. }
  6402. });
  6403. });
  6404. Date.prototype.Format = function (fmt) {
  6405. var o = {
  6406. "M+": this.getMonth() + 1, //月份
  6407. "d+": this.getDate(), //日
  6408. "h+": this.getHours(), //小时
  6409. "m+": this.getMinutes(), //分
  6410. "s+": this.getSeconds(), //秒
  6411. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6412. "S": this.getMilliseconds() //毫秒
  6413. };
  6414. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6415. for (var k in o)
  6416. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6417. return fmt;
  6418. }
  6419. $("#jrjc").change(function() {
  6420. if ($("#jrjc").prop('checked') == true){
  6421. $("#departmentId").removeAttr("disabled");
  6422. }else {
  6423. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6424. }
  6425. });
  6426. ----------------------------------- SOURCE END -------------------------------------
  6427. !STACK 0
  6428. java.lang.NullPointerException
  6429. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:01.435
  6430. !MESSAGE Error while processing working copy
  6431. !STACK 1
  6432. JavaScript Model Exception: java.lang.NullPointerException
  6433. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  6434. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  6435. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6436. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6437. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  6438. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  6439. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  6440. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  6441. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  6442. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  6443. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  6444. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  6445. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  6446. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  6447. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  6448. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  6449. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  6450. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  6451. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  6452. Caused by: java.lang.NullPointerException
  6453. Caused by: java.lang.NullPointerException
  6454. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:25:01.435
  6455. !MESSAGE java.lang.NullPointerException
  6456. !STACK 0
  6457. java.lang.NullPointerException
  6458. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:02.061
  6459. !MESSAGE Exception occurred during problem detection:
  6460. ----------------------------------- SOURCE BEGIN -------------------------------------
  6461. (function(){WdatePicker();})();
  6462. (function(){WdatePicker();})();
  6463. (function(){Data.get();})();
  6464. (function(){Data.set();})();
  6465. (function(){search();})();
  6466. $(function(){
  6467. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6468. getfp();
  6469. });
  6470. var Data = {
  6471. "get" : function(){
  6472. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  6473. var tip = layer.load(2);
  6474. var result="";
  6475. var url = "getgyxml.do";
  6476. $.ajax({
  6477. "url" : url,
  6478. "data" : {
  6479. "start_date" : $("#dateBegin").val(),
  6480. "end_date" : $("#dateEnd").val()
  6481. },
  6482. "type" : "POST",
  6483. "dataType" : "json",
  6484. "success" : function(data) {
  6485. if(data != null && data != ""){
  6486. if ( data.status =="success"){
  6487. getfp();
  6488. alert("获取成功!");
  6489. }else {
  6490. alert(data.status);
  6491. }
  6492. }else {
  6493. alert("获取失败!");
  6494. }
  6495. },
  6496. "complete": function(){
  6497. layer.close(tip);
  6498. }
  6499. });
  6500. }else {
  6501. alert("请选择日期!");
  6502. }
  6503. },
  6504. "set" : function(){
  6505. if ( $("#fpid option:selected").text() !=""){
  6506. var tip = layer.load(2);
  6507. var gitem = $("#form1").serialize();
  6508. var jrjc;
  6509. if ($("#jrjc").prop('checked') == true){
  6510. jrjc = $("#departmentId").val();
  6511. }else {
  6512. jrjc ='N'
  6513. }
  6514. var url = "saverk.do";
  6515. $.ajax({
  6516. "url" : url,
  6517. "data" : {
  6518. "gitem" : gitem,
  6519. "jrjc" : jrjc
  6520. },
  6521. "type" : "POST",
  6522. "dataType" : "json",
  6523. "async" : true,
  6524. "success" : function(data) {
  6525. if(data.status ="success"){
  6526. alert("入库成功!");
  6527. window.location.reload();
  6528. }else {
  6529. alert(msg);
  6530. }
  6531. },
  6532. "error": function(){
  6533. alert("确认失败!");
  6534. },
  6535. "complete": function(){
  6536. layer.close(tip);
  6537. }
  6538. });
  6539. }else {
  6540. alert("请选择发票!");
  6541. }
  6542. }
  6543. }
  6544. function getfp(){
  6545. var tip = layer.load(2);
  6546. var url = "getgyfp.do";
  6547. $.ajax({
  6548. "url" : url,
  6549. "type" : "POST",
  6550. "dataType" : "json",
  6551. "async" : true,
  6552. "success" : function(data) {
  6553. if(data != null && data != ""){
  6554. $("#fpid").empty();
  6555. $("#fpid").append("_$tag_____________$tag____");
  6556. for(var i = 0; i < data.length; i++){
  6557. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  6558. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  6559. }
  6560. }
  6561. },
  6562. "error" : function(msg){
  6563. },
  6564. "complete": function(){
  6565. layer.close(tip);
  6566. }
  6567. });
  6568. }
  6569. $("#fpid").change(function(){
  6570. var tip = layer.load(2);
  6571. var url = "getgyrkxx.do";
  6572. $.ajax({
  6573. "url" : url,
  6574. "data" : {
  6575. "fpId" : $("#fpid").val()
  6576. },
  6577. "type" : "POST",
  6578. "dataType" : "json",
  6579. "async" : true,
  6580. "success" : function(data) {
  6581. $("#dataTable").html("");
  6582. if(data != null && data != ""){
  6583. var html = "";
  6584. for(var i = 0; i < data.length; i++){
  6585. var ID = data[i].id == null ? "" : data[i].id;
  6586. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  6587. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  6588. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  6589. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  6590. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  6591. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  6592. var GOODS = data[i].goods == null ? "" : data[i].goods;
  6593. var NAME = data[i].name == null ? "" : data[i].name;
  6594. var SPEC = data[i].spec == null ? "" : data[i].spec;
  6595. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  6596. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  6597. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  6598. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  6599. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  6600. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  6601. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  6602. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  6603. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  6604. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  6605. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  6606. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  6607. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  6608. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  6609. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  6610. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  6611. var invoice_type_cn =null;
  6612. if (invoice_type =="00" ){
  6613. invoice_type_cn="销售发票";
  6614. }else if (invoice_type == "01") {
  6615. invoice_type_cn="更正(对冲)发票";
  6616. }else if (invoice_type == "02") {
  6617. invoice_type_cn="其它类型发票";
  6618. }
  6619. html += "_$ta";
  6620. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  6621. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6622. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6623. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6624. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6625. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6626. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  6627. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6628. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6629. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6630. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  6631. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6632. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6633. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  6634. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6635. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6636. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6637. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6638. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6639. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6640. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  6641. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  6642. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  6643. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6644. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6645. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  6646. html += "_$tag";
  6647. }
  6648. $("#dataTable").html(html);
  6649. }else {
  6650. $("#dataTable").html("");
  6651. }
  6652. },
  6653. "error" : function(msg){
  6654. },
  6655. "complete": function(){
  6656. layer.close(tip);
  6657. }
  6658. });
  6659. });
  6660. Date.prototype.Format = function (fmt) {
  6661. var o = {
  6662. "M+": this.getMonth() + 1, //月份
  6663. "d+": this.getDate(), //日
  6664. "h+": this.getHours(), //小时
  6665. "m+": this.getMinutes(), //分
  6666. "s+": this.getSeconds(), //秒
  6667. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6668. "S": this.getMilliseconds() //毫秒
  6669. };
  6670. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6671. for (var k in o)
  6672. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6673. return fmt;
  6674. }
  6675. $("#jrjc").change(function() {
  6676. if ($("#jrjc").prop('checked') == true){
  6677. $("#departmentId").removeAttr("disabled");
  6678. }else {
  6679. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6680. }
  6681. });
  6682. ----------------------------------- SOURCE END -------------------------------------
  6683. !STACK 0
  6684. java.lang.NullPointerException
  6685. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:02.699
  6686. !MESSAGE Exception occurred during problem detection:
  6687. ----------------------------------- SOURCE BEGIN -------------------------------------
  6688. (function(){WdatePicker();})();
  6689. (function(){WdatePicker();})();
  6690. (function(){Data.get();})();
  6691. (function(){Data.set();})();
  6692. (function(){search();})();
  6693. $(function(){
  6694. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6695. getfp();
  6696. });
  6697. var Data = {
  6698. "get" : function(){
  6699. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  6700. var tip = layer.load(2);
  6701. var result="";
  6702. var url = "getgyxml.do";
  6703. $.ajax({
  6704. "url" : url,
  6705. "data" : {
  6706. "start_date" : $("#dateBegin").val(),
  6707. "end_date" : $("#dateEnd").val()
  6708. },
  6709. "type" : "POST",
  6710. "dataType" : "json",
  6711. "success" : function(data) {
  6712. if(data != null && data != ""){
  6713. if ( data.status =="success"){
  6714. getfp();
  6715. alert("获取成功!");
  6716. }else {
  6717. alert(data.status);
  6718. }
  6719. }else {
  6720. alert("获取失败!");
  6721. }
  6722. },
  6723. "complete": function(){
  6724. layer.close(tip);
  6725. }
  6726. });
  6727. }else {
  6728. alert("请选择日期!");
  6729. }
  6730. },
  6731. "set" : function(){
  6732. if ( $("#fpid option:selected").text() !=""){
  6733. var tip = layer.load(2);
  6734. var gitem = $("#form1").serialize();
  6735. var jrjc;
  6736. if ($("#jrjc").prop('checked') == true){
  6737. jrjc = $("#departmentId").val();
  6738. }else {
  6739. jrjc ='N'
  6740. }
  6741. var url = "saverk.do";
  6742. $.ajax({
  6743. "url" : url,
  6744. "data" : {
  6745. "gitem" : gitem,
  6746. "jrjc" : jrjc
  6747. },
  6748. "type" : "POST",
  6749. "dataType" : "json",
  6750. "async" : true,
  6751. "success" : function(data) {
  6752. if(data.status ="success"){
  6753. alert("入库成功!");
  6754. window.location.reload();
  6755. }else {
  6756. alert(msg);
  6757. }
  6758. },
  6759. "error": function(){
  6760. alert("确认失败!");
  6761. },
  6762. "complete": function(){
  6763. layer.close(tip);
  6764. }
  6765. });
  6766. }else {
  6767. alert("请选择发票!");
  6768. }
  6769. }
  6770. }
  6771. function getfp(){
  6772. var tip = layer.load(2);
  6773. var url = "getgyfp.do";
  6774. $.ajax({
  6775. "url" : url,
  6776. "type" : "POST",
  6777. "dataType" : "json",
  6778. "async" : true,
  6779. "success" : function(data) {
  6780. if(data != null && data != ""){
  6781. $("#fpid").empty();
  6782. $("#fpid").append("_$tag_____________$tag____");
  6783. for(var i = 0; i < data.length; i++){
  6784. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  6785. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  6786. }
  6787. }
  6788. },
  6789. "error" : function(msg){
  6790. },
  6791. "complete": function(){
  6792. layer.close(tip);
  6793. }
  6794. });
  6795. }
  6796. $("#fpid").change(function(){
  6797. var tip = layer.load(2);
  6798. var url = "getgyrkxx.do";
  6799. $.ajax({
  6800. "url" : url,
  6801. "data" : {
  6802. "fpId" : $("#fpid").val()
  6803. },
  6804. "type" : "POST",
  6805. "dataType" : "json",
  6806. "async" : true,
  6807. "success" : function(data) {
  6808. $("#dataTable").html("");
  6809. if(data != null && data != ""){
  6810. var html = "";
  6811. for(var i = 0; i < data.length; i++){
  6812. var ID = data[i].id == null ? "" : data[i].id;
  6813. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  6814. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  6815. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  6816. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  6817. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  6818. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  6819. var GOODS = data[i].goods == null ? "" : data[i].goods;
  6820. var NAME = data[i].name == null ? "" : data[i].name;
  6821. var SPEC = data[i].spec == null ? "" : data[i].spec;
  6822. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  6823. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  6824. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  6825. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  6826. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  6827. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  6828. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  6829. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  6830. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  6831. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  6832. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  6833. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  6834. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  6835. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  6836. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  6837. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  6838. var invoice_type_cn =null;
  6839. if (invoice_type =="00" ){
  6840. invoice_type_cn="销售发票";
  6841. }else if (invoice_type == "01") {
  6842. invoice_type_cn="更正(对冲)发票";
  6843. }else if (invoice_type == "02") {
  6844. invoice_type_cn="其它类型发票";
  6845. }
  6846. html += "_$ta";
  6847. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  6848. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6849. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6850. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6851. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6852. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  6853. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  6854. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6855. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6856. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  6857. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  6858. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6859. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  6860. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  6861. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6862. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6863. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  6864. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6865. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6866. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  6867. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  6868. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  6869. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  6870. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  6871. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  6872. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  6873. html += "_$tag";
  6874. }
  6875. $("#dataTable").html(html);
  6876. }else {
  6877. $("#dataTable").html("");
  6878. }
  6879. },
  6880. "error" : function(msg){
  6881. },
  6882. "complete": function(){
  6883. layer.close(tip);
  6884. }
  6885. });
  6886. });
  6887. Date.prototype.Format = function (fmt) {
  6888. var o = {
  6889. "M+": this.getMonth() + 1, //月份
  6890. "d+": this.getDate(), //日
  6891. "h+": this.getHours(), //小时
  6892. "m+": this.getMinutes(), //分
  6893. "s+": this.getSeconds(), //秒
  6894. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  6895. "S": this.getMilliseconds() //毫秒
  6896. };
  6897. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  6898. for (var k in o)
  6899. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  6900. return fmt;
  6901. }
  6902. $("#jrjc").change(function() {
  6903. if ($("#jrjc").prop('checked') == true){
  6904. $("#departmentId").removeAttr("disabled");
  6905. }else {
  6906. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6907. }
  6908. });
  6909. ----------------------------------- SOURCE END -------------------------------------
  6910. !STACK 0
  6911. java.lang.NullPointerException
  6912. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:02.699
  6913. !MESSAGE Error while processing working copy
  6914. !STACK 1
  6915. JavaScript Model Exception: java.lang.NullPointerException
  6916. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  6917. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  6918. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  6919. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  6920. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  6921. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  6922. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  6923. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  6924. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  6925. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  6926. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  6927. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  6928. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  6929. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  6930. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  6931. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  6932. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  6933. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  6934. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  6935. Caused by: java.lang.NullPointerException
  6936. Caused by: java.lang.NullPointerException
  6937. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:25:02.699
  6938. !MESSAGE java.lang.NullPointerException
  6939. !STACK 0
  6940. java.lang.NullPointerException
  6941. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:03.744
  6942. !MESSAGE Exception occurred during problem detection:
  6943. ----------------------------------- SOURCE BEGIN -------------------------------------
  6944. (function(){WdatePicker();})();
  6945. (function(){WdatePicker();})();
  6946. (function(){Data.get();})();
  6947. (function(){Data.set();})();
  6948. (function(){search();})();
  6949. $(function(){
  6950. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  6951. getfp();
  6952. });
  6953. var Data = {
  6954. "get" : function(){
  6955. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  6956. var tip = layer.load(2);
  6957. var result="";
  6958. var url = "getgyxml.do";
  6959. $.ajax({
  6960. "url" : url,
  6961. "data" : {
  6962. "start_date" : $("#dateBegin").val(),
  6963. "end_date" : $("#dateEnd").val()
  6964. },
  6965. "type" : "POST",
  6966. "dataType" : "json",
  6967. "success" : function(data) {
  6968. if(data != null && data != ""){
  6969. if ( data.status =="success"){
  6970. getfp();
  6971. alert("获取成功!");
  6972. }else {
  6973. alert(data.status);
  6974. }
  6975. }else {
  6976. alert("获取失败!");
  6977. }
  6978. },
  6979. "complete": function(){
  6980. layer.close(tip);
  6981. }
  6982. });
  6983. }else {
  6984. alert("请选择日期!");
  6985. }
  6986. },
  6987. "set" : function(){
  6988. if ( $("#fpid option:selected").text() !=""){
  6989. var tip = layer.load(2);
  6990. var gitem = $("#form1").serialize();
  6991. var jrjc;
  6992. if ($("#jrjc").prop('checked') == true){
  6993. jrjc = $("#departmentId").val();
  6994. }else {
  6995. jrjc ='N'
  6996. }
  6997. var url = "saverk.do";
  6998. $.ajax({
  6999. "url" : url,
  7000. "data" : {
  7001. "gitem" : gitem,
  7002. "jrjc" : jrjc
  7003. },
  7004. "type" : "POST",
  7005. "dataType" : "json",
  7006. "async" : true,
  7007. "success" : function(data) {
  7008. if(data.status ="success"){
  7009. alert("入库成功!");
  7010. window.location.reload();
  7011. }else {
  7012. alert(msg);
  7013. }
  7014. },
  7015. "error": function(){
  7016. alert("确认失败!");
  7017. },
  7018. "complete": function(){
  7019. layer.close(tip);
  7020. }
  7021. });
  7022. }else {
  7023. alert("请选择发票!");
  7024. }
  7025. }
  7026. }
  7027. function getfp(){
  7028. var tip = layer.load(2);
  7029. var url = "getgyfp.do";
  7030. $.ajax({
  7031. "url" : url,
  7032. "type" : "POST",
  7033. "dataType" : "json",
  7034. "async" : true,
  7035. "success" : function(data) {
  7036. if(data != null && data != ""){
  7037. $("#fpid").empty();
  7038. $("#fpid").append("_$tag_____________$tag____");
  7039. for(var i = 0; i < data.length; i++){
  7040. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  7041. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  7042. }
  7043. }
  7044. },
  7045. "error" : function(msg){
  7046. },
  7047. "complete": function(){
  7048. layer.close(tip);
  7049. }
  7050. });
  7051. }
  7052. $("#fpid").change(function(){
  7053. var tip = layer.load(2);
  7054. var url = "getgyrkxx.do";
  7055. $.ajax({
  7056. "url" : url,
  7057. "data" : {
  7058. "fpId" : $("#fpid").val()
  7059. },
  7060. "type" : "POST",
  7061. "dataType" : "json",
  7062. "async" : true,
  7063. "success" : function(data) {
  7064. $("#dataTable").html("");
  7065. if(data != null && data != ""){
  7066. var html = "";
  7067. for(var i = 0; i < data.length; i++){
  7068. var ID = data[i].id == null ? "" : data[i].id;
  7069. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  7070. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  7071. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  7072. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  7073. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  7074. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  7075. var GOODS = data[i].goods == null ? "" : data[i].goods;
  7076. var NAME = data[i].name == null ? "" : data[i].name;
  7077. var SPEC = data[i].spec == null ? "" : data[i].spec;
  7078. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  7079. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  7080. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  7081. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  7082. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  7083. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  7084. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  7085. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  7086. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  7087. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  7088. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  7089. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  7090. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  7091. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  7092. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  7093. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  7094. var invoice_type_cn =null;
  7095. if (invoice_type =="00" ){
  7096. invoice_type_cn="销售发票";
  7097. }else if (invoice_type == "01") {
  7098. invoice_type_cn="更正(对冲)发票";
  7099. }else if (invoice_type == "02") {
  7100. invoice_type_cn="其它类型发票";
  7101. }
  7102. html += "_$ta";
  7103. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  7104. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7105. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7106. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7107. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7108. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7109. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  7110. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7111. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7112. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7113. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  7114. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7115. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7116. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  7117. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7118. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7119. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7120. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7121. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7122. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7123. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  7124. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  7125. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  7126. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7127. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7128. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  7129. html += "_$tag";
  7130. }
  7131. $("#dataTable").html(html);
  7132. }else {
  7133. $("#dataTable").html("");
  7134. }
  7135. },
  7136. "error" : function(msg){
  7137. },
  7138. "complete": function(){
  7139. layer.close(tip);
  7140. }
  7141. });
  7142. });
  7143. Date.prototype.Format = function (fmt) {
  7144. var o = {
  7145. "M+": this.getMonth() + 1, //月份
  7146. "d+": this.getDate(), //日
  7147. "h+": this.getHours(), //小时
  7148. "m+": this.getMinutes(), //分
  7149. "s+": this.getSeconds(), //秒
  7150. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7151. "S": this.getMilliseconds() //毫秒
  7152. };
  7153. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7154. for (var k in o)
  7155. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7156. return fmt;
  7157. }
  7158. $("#jrjc").change(function() {
  7159. if ($("#jrjc").prop('checked') == true){
  7160. $("#departmentId").removeAttr("disabled");
  7161. }else {
  7162. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7163. }
  7164. });
  7165. ----------------------------------- SOURCE END -------------------------------------
  7166. !STACK 0
  7167. java.lang.NullPointerException
  7168. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:04.257
  7169. !MESSAGE Exception occurred during problem detection:
  7170. ----------------------------------- SOURCE BEGIN -------------------------------------
  7171. (function(){WdatePicker();})();
  7172. (function(){WdatePicker();})();
  7173. (function(){Data.get();})();
  7174. (function(){Data.set();})();
  7175. (function(){search();})();
  7176. $(function(){
  7177. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7178. getfp();
  7179. });
  7180. var Data = {
  7181. "get" : function(){
  7182. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  7183. var tip = layer.load(2);
  7184. var result="";
  7185. var url = "getgyxml.do";
  7186. $.ajax({
  7187. "url" : url,
  7188. "data" : {
  7189. "start_date" : $("#dateBegin").val(),
  7190. "end_date" : $("#dateEnd").val()
  7191. },
  7192. "type" : "POST",
  7193. "dataType" : "json",
  7194. "success" : function(data) {
  7195. if(data != null && data != ""){
  7196. if ( data.status =="success"){
  7197. getfp();
  7198. alert("获取成功!");
  7199. }else {
  7200. alert(data.status);
  7201. }
  7202. }else {
  7203. alert("获取失败!");
  7204. }
  7205. },
  7206. "complete": function(){
  7207. layer.close(tip);
  7208. }
  7209. });
  7210. }else {
  7211. alert("请选择日期!");
  7212. }
  7213. },
  7214. "set" : function(){
  7215. if ( $("#fpid option:selected").text() !=""){
  7216. var tip = layer.load(2);
  7217. var gitem = $("#form1").serialize();
  7218. var jrjc;
  7219. if ($("#jrjc").prop('checked') == true){
  7220. jrjc = $("#departmentId").val();
  7221. }else {
  7222. jrjc ='N'
  7223. }
  7224. var url = "saverk.do";
  7225. $.ajax({
  7226. "url" : url,
  7227. "data" : {
  7228. "gitem" : gitem,
  7229. "jrjc" : jrjc
  7230. },
  7231. "type" : "POST",
  7232. "dataType" : "json",
  7233. "async" : true,
  7234. "success" : function(data) {
  7235. if(data.status ="success"){
  7236. alert("入库成功!");
  7237. window.location.reload();
  7238. }else {
  7239. alert(msg);
  7240. }
  7241. },
  7242. "error": function(){
  7243. alert("确认失败!");
  7244. },
  7245. "complete": function(){
  7246. layer.close(tip);
  7247. }
  7248. });
  7249. }else {
  7250. alert("请选择发票!");
  7251. }
  7252. }
  7253. }
  7254. function getfp(){
  7255. var tip = layer.load(2);
  7256. var url = "getgyfp.do";
  7257. $.ajax({
  7258. "url" : url,
  7259. "type" : "POST",
  7260. "dataType" : "json",
  7261. "async" : true,
  7262. "success" : function(data) {
  7263. if(data != null && data != ""){
  7264. $("#fpid").empty();
  7265. $("#fpid").append("_$tag_____________$tag____");
  7266. for(var i = 0; i < data.length; i++){
  7267. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  7268. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  7269. }
  7270. }
  7271. },
  7272. "error" : function(msg){
  7273. },
  7274. "complete": function(){
  7275. layer.close(tip);
  7276. }
  7277. });
  7278. }
  7279. $("#fpid").change(function(){
  7280. var tip = layer.load(2);
  7281. var url = "getgyrkxx.do";
  7282. $.ajax({
  7283. "url" : url,
  7284. "data" : {
  7285. "fpId" : $("#fpid").val()
  7286. },
  7287. "type" : "POST",
  7288. "dataType" : "json",
  7289. "async" : true,
  7290. "success" : function(data) {
  7291. $("#dataTable").html("");
  7292. if(data != null && data != ""){
  7293. var html = "";
  7294. for(var i = 0; i < data.length; i++){
  7295. var ID = data[i].id == null ? "" : data[i].id;
  7296. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  7297. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  7298. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  7299. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  7300. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  7301. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  7302. var GOODS = data[i].goods == null ? "" : data[i].goods;
  7303. var NAME = data[i].name == null ? "" : data[i].name;
  7304. var SPEC = data[i].spec == null ? "" : data[i].spec;
  7305. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  7306. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  7307. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  7308. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  7309. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  7310. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  7311. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  7312. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  7313. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  7314. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  7315. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  7316. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  7317. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  7318. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  7319. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  7320. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  7321. var invoice_type_cn =null;
  7322. if (invoice_type =="00" ){
  7323. invoice_type_cn="销售发票";
  7324. }else if (invoice_type == "01") {
  7325. invoice_type_cn="更正(对冲)发票";
  7326. }else if (invoice_type == "02") {
  7327. invoice_type_cn="其它类型发票";
  7328. }
  7329. html += "_$ta";
  7330. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  7331. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7332. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7333. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7334. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7335. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7336. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  7337. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7338. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7339. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7340. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  7341. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7342. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7343. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  7344. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7345. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7346. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7347. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7348. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7349. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7350. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  7351. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  7352. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  7353. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7354. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7355. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  7356. html += "_$tag";
  7357. }
  7358. $("#dataTable").html(html);
  7359. }else {
  7360. $("#dataTable").html("");
  7361. }
  7362. },
  7363. "error" : function(msg){
  7364. },
  7365. "complete": function(){
  7366. layer.close(tip);
  7367. }
  7368. });
  7369. });
  7370. Date.prototype.Format = function (fmt) {
  7371. var o = {
  7372. "M+": this.getMonth() + 1, //月份
  7373. "d+": this.getDate(), //日
  7374. "h+": this.getHours(), //小时
  7375. "m+": this.getMinutes(), //分
  7376. "s+": this.getSeconds(), //秒
  7377. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7378. "S": this.getMilliseconds() //毫秒
  7379. };
  7380. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7381. for (var k in o)
  7382. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7383. return fmt;
  7384. }
  7385. $("#jrjc").change(function() {
  7386. if ($("#jrjc").prop('checked') == true){
  7387. $("#departmentId").removeAttr("disabled");
  7388. }else {
  7389. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7390. }
  7391. });
  7392. ----------------------------------- SOURCE END -------------------------------------
  7393. !STACK 0
  7394. java.lang.NullPointerException
  7395. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:04.258
  7396. !MESSAGE Error while processing working copy
  7397. !STACK 1
  7398. JavaScript Model Exception: java.lang.NullPointerException
  7399. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  7400. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  7401. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7402. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7403. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  7404. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  7405. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  7406. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  7407. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  7408. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  7409. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  7410. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  7411. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  7412. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  7413. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  7414. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  7415. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  7416. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  7417. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  7418. Caused by: java.lang.NullPointerException
  7419. Caused by: java.lang.NullPointerException
  7420. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:25:04.258
  7421. !MESSAGE java.lang.NullPointerException
  7422. !STACK 0
  7423. java.lang.NullPointerException
  7424. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:05.272
  7425. !MESSAGE Exception occurred during problem detection:
  7426. ----------------------------------- SOURCE BEGIN -------------------------------------
  7427. (function(){WdatePicker();})();
  7428. (function(){WdatePicker();})();
  7429. (function(){Data.get();})();
  7430. (function(){Data.set();})();
  7431. (function(){search();})();
  7432. $(function(){
  7433. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7434. getfp();
  7435. });
  7436. var Data = {
  7437. "get" : function(){
  7438. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  7439. var tip = layer.load(2);
  7440. var result="";
  7441. var url = "getgyxml.do";
  7442. $.ajax({
  7443. "url" : url,
  7444. "data" : {
  7445. "start_date" : $("#dateBegin").val(),
  7446. "end_date" : $("#dateEnd").val()
  7447. },
  7448. "type" : "POST",
  7449. "dataType" : "json",
  7450. "success" : function(data) {
  7451. if(data != null && data != ""){
  7452. if ( data.status =="success"){
  7453. getfp();
  7454. alert("获取成功!");
  7455. }else {
  7456. alert(data.status);
  7457. }
  7458. }else {
  7459. alert("获取失败!");
  7460. }
  7461. },
  7462. "complete": function(){
  7463. layer.close(tip);
  7464. }
  7465. });
  7466. }else {
  7467. alert("请选择日期!");
  7468. }
  7469. },
  7470. "set" : function(){
  7471. if ( $("#fpid option:selected").text() !=""){
  7472. var tip = layer.load(2);
  7473. var gitem = $("#form1").serialize();
  7474. var jrjc;
  7475. if ($("#jrjc").prop('checked') == true){
  7476. jrjc = $("#departmentId").val();
  7477. }else {
  7478. jrjc ='N'
  7479. }
  7480. var url = "saverk.do";
  7481. $.ajax({
  7482. "url" : url,
  7483. "data" : {
  7484. "gitem" : gitem,
  7485. "jrjc" : jrjc
  7486. },
  7487. "type" : "POST",
  7488. "dataType" : "json",
  7489. "async" : true,
  7490. "success" : function(data) {
  7491. if(data.status ="success"){
  7492. alert("入库成功!");
  7493. window.location.reload();
  7494. }else {
  7495. alert(msg);
  7496. }
  7497. },
  7498. "error": function(){
  7499. alert("确认失败!");
  7500. },
  7501. "complete": function(){
  7502. layer.close(tip);
  7503. }
  7504. });
  7505. }else {
  7506. alert("请选择发票!");
  7507. }
  7508. }
  7509. }
  7510. function getfp(){
  7511. var tip = layer.load(2);
  7512. var url = "getgyfp.do";
  7513. $.ajax({
  7514. "url" : url,
  7515. "type" : "POST",
  7516. "dataType" : "json",
  7517. "async" : true,
  7518. "success" : function(data) {
  7519. if(data != null && data != ""){
  7520. $("#fpid").empty();
  7521. $("#fpid").append("_$tag_____________$tag____");
  7522. for(var i = 0; i < data.length; i++){
  7523. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  7524. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  7525. }
  7526. }
  7527. },
  7528. "error" : function(msg){
  7529. },
  7530. "complete": function(){
  7531. layer.close(tip);
  7532. }
  7533. });
  7534. }
  7535. $("#fpid").change(function(){
  7536. var tip = layer.load(2);
  7537. var url = "getgyrkxx.do";
  7538. $.ajax({
  7539. "url" : url,
  7540. "data" : {
  7541. "fpId" : $("#fpid").val()
  7542. },
  7543. "type" : "POST",
  7544. "dataType" : "json",
  7545. "async" : true,
  7546. "success" : function(data) {
  7547. $("#dataTable").html("");
  7548. if(data != null && data != ""){
  7549. var html = "";
  7550. for(var i = 0; i < data.length; i++){
  7551. var ID = data[i].id == null ? "" : data[i].id;
  7552. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  7553. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  7554. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  7555. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  7556. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  7557. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  7558. var GOODS = data[i].goods == null ? "" : data[i].goods;
  7559. var NAME = data[i].name == null ? "" : data[i].name;
  7560. var SPEC = data[i].spec == null ? "" : data[i].spec;
  7561. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  7562. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  7563. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  7564. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  7565. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  7566. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  7567. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  7568. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  7569. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  7570. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  7571. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  7572. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  7573. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  7574. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  7575. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  7576. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  7577. var invoice_type_cn =null;
  7578. if (invoice_type =="00" ){
  7579. invoice_type_cn="销售发票";
  7580. }else if (invoice_type == "01") {
  7581. invoice_type_cn="更正(对冲)发票";
  7582. }else if (invoice_type == "02") {
  7583. invoice_type_cn="其它类型发票";
  7584. }
  7585. html += "_$ta";
  7586. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  7587. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7588. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7589. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7590. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7591. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7592. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  7593. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7594. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7595. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7596. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  7597. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7598. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7599. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  7600. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7601. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7602. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7603. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7604. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7605. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7606. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  7607. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  7608. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  7609. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7610. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7611. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  7612. html += "_$tag";
  7613. }
  7614. $("#dataTable").html(html);
  7615. }else {
  7616. $("#dataTable").html("");
  7617. }
  7618. },
  7619. "error" : function(msg){
  7620. },
  7621. "complete": function(){
  7622. layer.close(tip);
  7623. }
  7624. });
  7625. });
  7626. Date.prototype.Format = function (fmt) {
  7627. var o = {
  7628. "M+": this.getMonth() + 1, //月份
  7629. "d+": this.getDate(), //日
  7630. "h+": this.getHours(), //小时
  7631. "m+": this.getMinutes(), //分
  7632. "s+": this.getSeconds(), //秒
  7633. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7634. "S": this.getMilliseconds() //毫秒
  7635. };
  7636. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7637. for (var k in o)
  7638. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7639. return fmt;
  7640. }
  7641. $("#jrjc").change(function() {
  7642. if ($("#jrjc").prop('checked') == true){
  7643. $("#departmentId").removeAttr("disabled");
  7644. }else {
  7645. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7646. }
  7647. });
  7648. ----------------------------------- SOURCE END -------------------------------------
  7649. !STACK 0
  7650. java.lang.NullPointerException
  7651. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:25:14.293
  7652. !MESSAGE Exception occurred during problem detection:
  7653. ----------------------------------- SOURCE BEGIN -------------------------------------
  7654. (function(){WdatePicker();})();
  7655. (function(){WdatePicker();})();
  7656. (function(){Data.get();})();
  7657. (function(){Data.set();})();
  7658. (function(){search();})();
  7659. $(function(){
  7660. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7661. getfp();
  7662. });
  7663. var Data = {
  7664. "get" : function(){
  7665. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  7666. var tip = layer.load(2);
  7667. var result="";
  7668. var url = "getgyxml.do";
  7669. $.ajax({
  7670. "url" : url,
  7671. "data" : {
  7672. "start_date" : $("#dateBegin").val(),
  7673. "end_date" : $("#dateEnd").val()
  7674. },
  7675. "type" : "POST",
  7676. "dataType" : "json",
  7677. "success" : function(data) {
  7678. if(data != null && data != ""){
  7679. if ( data.status =="success"){
  7680. getfp();
  7681. alert("获取成功!");
  7682. }else {
  7683. alert(data.status);
  7684. }
  7685. }else {
  7686. alert("获取失败!");
  7687. }
  7688. },
  7689. "complete": function(){
  7690. layer.close(tip);
  7691. }
  7692. });
  7693. }else {
  7694. alert("请选择日期!");
  7695. }
  7696. },
  7697. "set" : function(){
  7698. if ( $("#fpid option:selected").text() !=""){
  7699. var tip = layer.load(2);
  7700. var gitem = $("#form1").serialize();
  7701. var jrjc;
  7702. if ($("#jrjc").prop('checked') == true){
  7703. jrjc = $("#departmentId").val();
  7704. }else {
  7705. jrjc ='N'
  7706. }
  7707. var url = "saverk.do";
  7708. $.ajax({
  7709. "url" : url,
  7710. "data" : {
  7711. "gitem" : gitem,
  7712. "jrjc" : jrjc
  7713. },
  7714. "type" : "POST",
  7715. "dataType" : "json",
  7716. "async" : true,
  7717. "success" : function(data) {
  7718. if(data.status ="success"){
  7719. alert("入库成功!");
  7720. window.location.reload();
  7721. }else {
  7722. alert(msg);
  7723. }
  7724. },
  7725. "error": function(){
  7726. alert("确认失败!");
  7727. },
  7728. "complete": function(){
  7729. layer.close(tip);
  7730. }
  7731. });
  7732. }else {
  7733. alert("请选择发票!");
  7734. }
  7735. }
  7736. }
  7737. function getfp(){
  7738. var tip = layer.load(2);
  7739. var url = "getgyfp.do";
  7740. $.ajax({
  7741. "url" : url,
  7742. "type" : "POST",
  7743. "dataType" : "json",
  7744. "async" : true,
  7745. "success" : function(data) {
  7746. if(data != null && data != ""){
  7747. $("#fpid").empty();
  7748. $("#fpid").append("_$tag_____________$tag____");
  7749. for(var i = 0; i < data.length; i++){
  7750. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  7751. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  7752. }
  7753. }
  7754. },
  7755. "error" : function(msg){
  7756. },
  7757. "complete": function(){
  7758. layer.close(tip);
  7759. }
  7760. });
  7761. }
  7762. $("#fpid").change(function(){
  7763. var tip = layer.load(2);
  7764. var url = "getgyrkxx.do";
  7765. $.ajax({
  7766. "url" : url,
  7767. "data" : {
  7768. "fpId" : $("#fpid").val()
  7769. },
  7770. "type" : "POST",
  7771. "dataType" : "json",
  7772. "async" : true,
  7773. "success" : function(data) {
  7774. $("#dataTable").html("");
  7775. if(data != null && data != ""){
  7776. var html = "";
  7777. for(var i = 0; i < data.length; i++){
  7778. var ID = data[i].id == null ? "" : data[i].id;
  7779. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  7780. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  7781. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  7782. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  7783. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  7784. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  7785. var GOODS = data[i].goods == null ? "" : data[i].goods;
  7786. var NAME = data[i].name == null ? "" : data[i].name;
  7787. var SPEC = data[i].spec == null ? "" : data[i].spec;
  7788. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  7789. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  7790. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  7791. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  7792. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  7793. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  7794. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  7795. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  7796. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  7797. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  7798. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  7799. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  7800. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  7801. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  7802. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  7803. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  7804. var invoice_type_cn =null;
  7805. if (invoice_type =="00" ){
  7806. invoice_type_cn="销售发票";
  7807. }else if (invoice_type == "01") {
  7808. invoice_type_cn="更正(对冲)发票";
  7809. }else if (invoice_type == "02") {
  7810. invoice_type_cn="其它类型发票";
  7811. }
  7812. html += "_$ta";
  7813. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  7814. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7815. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7816. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7817. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7818. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  7819. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  7820. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7821. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7822. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  7823. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  7824. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7825. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  7826. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  7827. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7828. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7829. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  7830. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7831. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7832. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  7833. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  7834. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  7835. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  7836. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  7837. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  7838. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  7839. html += "_$tag";
  7840. }
  7841. $("#dataTable").html(html);
  7842. }else {
  7843. $("#dataTable").html("");
  7844. }
  7845. },
  7846. "error" : function(msg){
  7847. },
  7848. "complete": function(){
  7849. layer.close(tip);
  7850. }
  7851. });
  7852. });
  7853. Date.prototype.Format = function (fmt) {
  7854. var o = {
  7855. "M+": this.getMonth() + 1, //月份
  7856. "d+": this.getDate(), //日
  7857. "h+": this.getHours(), //小时
  7858. "m+": this.getMinutes(), //分
  7859. "s+": this.getSeconds(), //秒
  7860. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  7861. "S": this.getMilliseconds() //毫秒
  7862. };
  7863. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  7864. for (var k in o)
  7865. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  7866. return fmt;
  7867. }
  7868. $("#jrjc").change(function() {
  7869. if ($("#jrjc").prop('checked') == true){
  7870. $("#departmentId").removeAttr("disabled");
  7871. }else {
  7872. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7873. }
  7874. });
  7875. ----------------------------------- SOURCE END -------------------------------------
  7876. !STACK 0
  7877. java.lang.NullPointerException
  7878. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:25:14.294
  7879. !MESSAGE java.lang.NullPointerException
  7880. !STACK 1
  7881. JavaScript Model Exception: java.lang.NullPointerException
  7882. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  7883. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  7884. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  7885. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  7886. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  7887. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  7888. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  7889. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  7890. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  7891. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  7892. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  7893. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  7894. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  7895. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  7896. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  7897. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  7898. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  7899. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  7900. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  7901. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  7902. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  7903. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  7904. Caused by: java.lang.NullPointerException
  7905. Caused by: java.lang.NullPointerException
  7906. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:25:14.294
  7907. !MESSAGE java.lang.NullPointerException
  7908. !STACK 0
  7909. java.lang.NullPointerException
  7910. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:01.126
  7911. !MESSAGE Exception occurred during problem detection:
  7912. ----------------------------------- SOURCE BEGIN -------------------------------------
  7913. (function(){WdatePicker();})();
  7914. (function(){WdatePicker();})();
  7915. (function(){Data.get();})();
  7916. (function(){Data.set();})();
  7917. (function(){search();})();
  7918. $(function(){
  7919. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  7920. getfp();
  7921. });
  7922. var Data = {
  7923. "get" : function(){
  7924. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  7925. var tip = layer.load(2);
  7926. var result="";
  7927. var url = "getgyxml.do";
  7928. $.ajax({
  7929. "url" : url,
  7930. "data" : {
  7931. "start_date" : $("#dateBegin").val(),
  7932. "end_date" : $("#dateEnd").val()
  7933. },
  7934. "type" : "POST",
  7935. "dataType" : "json",
  7936. "success" : function(data) {
  7937. if(data != null && data != ""){
  7938. if ( data.status =="success"){
  7939. getfp();
  7940. alert("获取成功!");
  7941. }else {
  7942. alert(data.status);
  7943. }
  7944. }else {
  7945. alert("获取失败!");
  7946. }
  7947. },
  7948. "complete": function(){
  7949. layer.close(tip);
  7950. }
  7951. });
  7952. }else {
  7953. alert("请选择日期!");
  7954. }
  7955. },
  7956. "set" : function(){
  7957. if ( $("#fpid option:selected").text() !=""){
  7958. var tip = layer.load(2);
  7959. var gitem = $("#form1").serialize();
  7960. var jrjc;
  7961. if ($("#jrjc").prop('checked') == true){
  7962. jrjc = $("#departmentId").val();
  7963. }else {
  7964. jrjc ='N'
  7965. }
  7966. var url = "saverk.do";
  7967. $.ajax({
  7968. "url" : url,
  7969. "data" : {
  7970. "gitem" : gitem,
  7971. "jrjc" : jrjc
  7972. },
  7973. "type" : "POST",
  7974. "dataType" : "json",
  7975. "async" : true,
  7976. "success" : function(data) {
  7977. if(data.status ="success"){
  7978. alert("入库成功!");
  7979. window.location.reload();
  7980. }else {
  7981. alert(msg);
  7982. }
  7983. },
  7984. "error": function(){
  7985. alert("确认失败!");
  7986. },
  7987. "complete": function(){
  7988. layer.close(tip);
  7989. }
  7990. });
  7991. }else {
  7992. alert("请选择发票!");
  7993. }
  7994. }
  7995. }
  7996. function getfp(){
  7997. var tip = layer.load(2);
  7998. var url = "getgyfp.do";
  7999. $.ajax({
  8000. "url" : url,
  8001. "type" : "POST",
  8002. "dataType" : "json",
  8003. "async" : true,
  8004. "success" : function(data) {
  8005. if(data != null && data != ""){
  8006. $("#fpid").empty();
  8007. $("#fpid").append("_$tag_____________$tag____");
  8008. for(var i = 0; i < data.length; i++){
  8009. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  8010. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  8011. }
  8012. }
  8013. },
  8014. "error" : function(msg){
  8015. },
  8016. "complete": function(){
  8017. layer.close(tip);
  8018. }
  8019. });
  8020. }
  8021. $("#fpid").change(function(){
  8022. var tip = layer.load(2);
  8023. var url = "getgyrkxx.do";
  8024. $.ajax({
  8025. "url" : url,
  8026. "data" : {
  8027. "fpId" : $("#fpid").val()
  8028. },
  8029. "type" : "POST",
  8030. "dataType" : "json",
  8031. "async" : true,
  8032. "success" : function(data) {
  8033. $("#dataTable").html("");
  8034. if(data != null && data != ""){
  8035. var html = "";
  8036. for(var i = 0; i < data.length; i++){
  8037. var ID = data[i].id == null ? "" : data[i].id;
  8038. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  8039. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  8040. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  8041. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  8042. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  8043. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  8044. var GOODS = data[i].goods == null ? "" : data[i].goods;
  8045. var NAME = data[i].name == null ? "" : data[i].name;
  8046. var SPEC = data[i].spec == null ? "" : data[i].spec;
  8047. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  8048. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  8049. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  8050. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  8051. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  8052. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  8053. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  8054. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  8055. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  8056. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  8057. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  8058. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  8059. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  8060. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  8061. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  8062. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  8063. var invoice_type_cn =null;
  8064. if (invoice_type =="00" ){
  8065. invoice_type_cn="销售发票";
  8066. }else if (invoice_type == "01") {
  8067. invoice_type_cn="更正(对冲)发票";
  8068. }else if (invoice_type == "02") {
  8069. invoice_type_cn="其它类型发票";
  8070. }
  8071. html += "_$ta";
  8072. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  8073. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8074. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8075. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8076. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8077. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8078. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  8079. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8080. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8081. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8082. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  8083. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8084. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8085. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  8086. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8087. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8088. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8089. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8090. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8091. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8092. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  8093. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  8094. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  8095. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8096. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8097. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  8098. html += "_$tag";
  8099. }
  8100. $("#dataTable").html(html);
  8101. }else {
  8102. $("#dataTable").html("");
  8103. }
  8104. },
  8105. "error" : function(msg){
  8106. },
  8107. "complete": function(){
  8108. layer.close(tip);
  8109. }
  8110. });
  8111. });
  8112. Date.prototype.Format = function (fmt) {
  8113. var o = {
  8114. "M+": this.getMonth() + 1, //月份
  8115. "d+": this.getDate(), //日
  8116. "h+": this.getHours(), //小时
  8117. "m+": this.getMinutes(), //分
  8118. "s+": this.getSeconds(), //秒
  8119. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8120. "S": this.getMilliseconds() //毫秒
  8121. };
  8122. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8123. for (var k in o)
  8124. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8125. return fmt;
  8126. }
  8127. $("#jrjc").change(function() {
  8128. if ($("#jrjc").prop('checked') == true){
  8129. $("#departmentId").removeAttr("disabled");
  8130. }else {
  8131. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  8132. }
  8133. });
  8134. ----------------------------------- SOURCE END -------------------------------------
  8135. !STACK 0
  8136. java.lang.NullPointerException
  8137. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:01.127
  8138. !MESSAGE Error while processing working copy
  8139. !STACK 1
  8140. JavaScript Model Exception: java.lang.NullPointerException
  8141. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  8142. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  8143. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8144. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8145. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  8146. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  8147. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  8148. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  8149. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  8150. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  8151. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  8152. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  8153. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  8154. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  8155. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  8156. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  8157. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  8158. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  8159. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  8160. Caused by: java.lang.NullPointerException
  8161. Caused by: java.lang.NullPointerException
  8162. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:01.127
  8163. !MESSAGE java.lang.NullPointerException
  8164. !STACK 0
  8165. java.lang.NullPointerException
  8166. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:02.172
  8167. !MESSAGE Exception occurred during problem detection:
  8168. ----------------------------------- SOURCE BEGIN -------------------------------------
  8169. (function(){WdatePicker();})();
  8170. (function(){WdatePicker();})();
  8171. (function(){Data.get();})();
  8172. (function(){Data.set();})();
  8173. (function(){search();})();
  8174. $(function(){
  8175. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  8176. getfp();
  8177. });
  8178. var Data = {
  8179. "get" : function(){
  8180. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  8181. var tip = layer.load(2);
  8182. var result="";
  8183. var url = "getgyxml.do";
  8184. $.ajax({
  8185. "url" : url,
  8186. "data" : {
  8187. "start_date" : $("#dateBegin").val(),
  8188. "end_date" : $("#dateEnd").val()
  8189. },
  8190. "type" : "POST",
  8191. "dataType" : "json",
  8192. "success" : function(data) {
  8193. if(data != null && data != ""){
  8194. if ( data.status =="success"){
  8195. getfp();
  8196. alert("获取成功!");
  8197. }else {
  8198. alert(data.status);
  8199. }
  8200. }else {
  8201. alert("获取失败!");
  8202. }
  8203. },
  8204. "complete": function(){
  8205. layer.close(tip);
  8206. }
  8207. });
  8208. }else {
  8209. alert("请选择日期!");
  8210. }
  8211. },
  8212. "set" : function(){
  8213. if ( $("#fpid option:selected").text() !=""){
  8214. var tip = layer.load(2);
  8215. var gitem = $("#form1").serialize();
  8216. var jrjc;
  8217. if ($("#jrjc").prop('checked') == true){
  8218. jrjc = $("#departmentId").val();
  8219. }else {
  8220. jrjc ='N'
  8221. }
  8222. var url = "saverk.do";
  8223. $.ajax({
  8224. "url" : url,
  8225. "data" : {
  8226. "gitem" : gitem,
  8227. "jrjc" : jrjc
  8228. },
  8229. "type" : "POST",
  8230. "dataType" : "json",
  8231. "async" : true,
  8232. "success" : function(data) {
  8233. if(data.status ="success"){
  8234. alert("入库成功!");
  8235. window.location.reload();
  8236. }else {
  8237. alert(msg);
  8238. }
  8239. },
  8240. "error": function(){
  8241. alert("确认失败!");
  8242. },
  8243. "complete": function(){
  8244. layer.close(tip);
  8245. }
  8246. });
  8247. }else {
  8248. alert("请选择发票!");
  8249. }
  8250. }
  8251. }
  8252. function getfp(){
  8253. var tip = layer.load(2);
  8254. var url = "getgyfp.do";
  8255. $.ajax({
  8256. "url" : url,
  8257. "type" : "POST",
  8258. "dataType" : "json",
  8259. "async" : true,
  8260. "success" : function(data) {
  8261. if(data != null && data != ""){
  8262. $("#fpid").empty();
  8263. $("#fpid").append("_$tag_____________$tag____");
  8264. for(var i = 0; i < data.length; i++){
  8265. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  8266. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  8267. }
  8268. }
  8269. },
  8270. "error" : function(msg){
  8271. },
  8272. "complete": function(){
  8273. layer.close(tip);
  8274. }
  8275. });
  8276. }
  8277. $("#fpid").change(function(){
  8278. var tip = layer.load(2);
  8279. var url = "getgyrkxx.do";
  8280. $.ajax({
  8281. "url" : url,
  8282. "data" : {
  8283. "fpId" : $("#fpid").val()
  8284. },
  8285. "type" : "POST",
  8286. "dataType" : "json",
  8287. "async" : true,
  8288. "success" : function(data) {
  8289. $("#dataTable").html("");
  8290. if(data != null && data != ""){
  8291. var html = "";
  8292. for(var i = 0; i < data.length; i++){
  8293. var ID = data[i].id == null ? "" : data[i].id;
  8294. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  8295. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  8296. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  8297. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  8298. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  8299. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  8300. var GOODS = data[i].goods == null ? "" : data[i].goods;
  8301. var NAME = data[i].name == null ? "" : data[i].name;
  8302. var SPEC = data[i].spec == null ? "" : data[i].spec;
  8303. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  8304. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  8305. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  8306. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  8307. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  8308. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  8309. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  8310. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  8311. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  8312. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  8313. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  8314. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  8315. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  8316. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  8317. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  8318. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  8319. var invoice_type_cn =null;
  8320. if (invoice_type =="00" ){
  8321. invoice_type_cn="销售发票";
  8322. }else if (invoice_type == "01") {
  8323. invoice_type_cn="更正(对冲)发票";
  8324. }else if (invoice_type == "02") {
  8325. invoice_type_cn="其它类型发票";
  8326. }
  8327. html += "_$ta";
  8328. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  8329. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8330. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8331. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8332. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8333. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8334. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  8335. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8336. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8337. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8338. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  8339. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8340. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8341. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  8342. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8343. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8344. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8345. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8346. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8347. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8348. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  8349. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  8350. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  8351. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8352. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8353. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  8354. html += "_$tag";
  8355. }
  8356. $("#dataTable").html(html);
  8357. }else {
  8358. $("#dataTable").html("");
  8359. }
  8360. },
  8361. "error" : function(msg){
  8362. },
  8363. "complete": function(){
  8364. layer.close(tip);
  8365. }
  8366. });
  8367. });
  8368. Date.prototype.Format = function (fmt) {
  8369. var o = {
  8370. "M+": this.getMonth() + 1, //月份
  8371. "d+": this.getDate(), //日
  8372. "h+": this.getHours(), //小时
  8373. "m+": this.getMinutes(), //分
  8374. "s+": this.getSeconds(), //秒
  8375. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8376. "S": this.getMilliseconds() //毫秒
  8377. };
  8378. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8379. for (var k in o)
  8380. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8381. return fmt;
  8382. }
  8383. $("#jrjc").change(function() {
  8384. if ($("#jrjc").prop('checked') == true){
  8385. $("#departmentId").removeAttr("disabled");
  8386. }else {
  8387. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  8388. }
  8389. });
  8390. ----------------------------------- SOURCE END -------------------------------------
  8391. !STACK 0
  8392. java.lang.NullPointerException
  8393. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:09.697
  8394. !MESSAGE Exception occurred during problem detection:
  8395. ----------------------------------- SOURCE BEGIN -------------------------------------
  8396. (function(){WdatePicker();})();
  8397. (function(){WdatePicker();})();
  8398. (function(){Data.get();})();
  8399. (function(){Data.set();})();
  8400. (function(){search();})();
  8401. $(function(){
  8402. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  8403. getfp();
  8404. });
  8405. var Data = {
  8406. "get" : function(){
  8407. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  8408. var tip = layer.load(2);
  8409. var result="";
  8410. var url = "getgyxml.do";
  8411. $.ajax({
  8412. "url" : url,
  8413. "data" : {
  8414. "start_date" : $("#dateBegin").val(),
  8415. "end_date" : $("#dateEnd").val()
  8416. },
  8417. "type" : "POST",
  8418. "dataType" : "json",
  8419. "success" : function(data) {
  8420. if(data != null && data != ""){
  8421. if ( data.status =="success"){
  8422. getfp();
  8423. alert("获取成功!");
  8424. }else {
  8425. alert(data.status);
  8426. }
  8427. }else {
  8428. alert("获取失败!");
  8429. }
  8430. },
  8431. "complete": function(){
  8432. layer.close(tip);
  8433. }
  8434. });
  8435. }else {
  8436. alert("请选择日期!");
  8437. }
  8438. },
  8439. "set" : function(){
  8440. if ( $("#fpid option:selected").text() !=""){
  8441. var tip = layer.load(2);
  8442. var gitem = $("#form1").serialize();
  8443. var jrjc;
  8444. if ($("#jrjc").prop('checked') == true){
  8445. jrjc = $("#departmentId").val();
  8446. }else {
  8447. jrjc ='N'
  8448. }
  8449. var url = "saverk.do";
  8450. $.ajax({
  8451. "url" : url,
  8452. "data" : {
  8453. "gitem" : gitem,
  8454. "jrjc" : jrjc
  8455. },
  8456. "type" : "POST",
  8457. "dataType" : "json",
  8458. "async" : true,
  8459. "success" : function(data) {
  8460. if(data.status ="success"){
  8461. alert("入库成功!");
  8462. window.location.reload();
  8463. }else {
  8464. alert(msg);
  8465. }
  8466. },
  8467. "error": function(){
  8468. alert("确认失败!");
  8469. },
  8470. "complete": function(){
  8471. layer.close(tip);
  8472. }
  8473. });
  8474. }else {
  8475. alert("请选择发票!");
  8476. }
  8477. }
  8478. }
  8479. function getfp(){
  8480. var tip = layer.load(2);
  8481. var url = "getgyfp.do";
  8482. $.ajax({
  8483. "url" : url,
  8484. "type" : "POST",
  8485. "dataType" : "json",
  8486. "async" : true,
  8487. "success" : function(data) {
  8488. if(data != null && data != ""){
  8489. $("#fpid").empty();
  8490. $("#fpid").append("_$tag_____________$tag____");
  8491. for(var i = 0; i < data.length; i++){
  8492. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  8493. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  8494. }
  8495. }
  8496. },
  8497. "error" : function(msg){
  8498. },
  8499. "complete": function(){
  8500. layer.close(tip);
  8501. }
  8502. });
  8503. }
  8504. $("#fpid").change(function(){
  8505. var tip = layer.load(2);
  8506. var url = "getgyrkxx.do";
  8507. $.ajax({
  8508. "url" : url,
  8509. "data" : {
  8510. "fpId" : $("#fpid").val()
  8511. },
  8512. "type" : "POST",
  8513. "dataType" : "json",
  8514. "async" : true,
  8515. "success" : function(data) {
  8516. $("#dataTable").html("");
  8517. if(data != null && data != ""){
  8518. var html = "";
  8519. for(var i = 0; i < data.length; i++){
  8520. var ID = data[i].id == null ? "" : data[i].id;
  8521. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  8522. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  8523. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  8524. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  8525. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  8526. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  8527. var GOODS = data[i].goods == null ? "" : data[i].goods;
  8528. var NAME = data[i].name == null ? "" : data[i].name;
  8529. var SPEC = data[i].spec == null ? "" : data[i].spec;
  8530. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  8531. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  8532. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  8533. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  8534. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  8535. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  8536. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  8537. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  8538. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  8539. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  8540. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  8541. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  8542. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  8543. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  8544. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  8545. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  8546. var invoice_type_cn =null;
  8547. if (invoice_type =="00" ){
  8548. invoice_type_cn="销售发票";
  8549. }else if (invoice_type == "01") {
  8550. invoice_type_cn="更正(对冲)发票";
  8551. }else if (invoice_type == "02") {
  8552. invoice_type_cn="其它类型发票";
  8553. }
  8554. html += "_$ta";
  8555. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  8556. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8557. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8558. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8559. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8560. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8561. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  8562. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8563. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8564. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8565. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  8566. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8567. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8568. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  8569. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8570. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8571. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8572. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8573. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8574. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8575. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  8576. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  8577. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  8578. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8579. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8580. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  8581. html += "_$tag";
  8582. }
  8583. $("#dataTable").html(html);
  8584. }else {
  8585. $("#dataTable").html("");
  8586. }
  8587. },
  8588. "error" : function(msg){
  8589. },
  8590. "complete": function(){
  8591. layer.close(tip);
  8592. }
  8593. });
  8594. });
  8595. Date.prototype.Format = function (fmt) {
  8596. var o = {
  8597. "M+": this.getMonth() + 1, //月份
  8598. "d+": this.getDate(), //日
  8599. "h+": this.getHours(), //小时
  8600. "m+": this.getMinutes(), //分
  8601. "s+": this.getSeconds(), //秒
  8602. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8603. "S": this.getMilliseconds() //毫秒
  8604. };
  8605. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8606. for (var k in o)
  8607. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8608. return fmt;
  8609. }
  8610. $("#jrjc").change(function() {
  8611. if ($("#jrjc").prop('checked') == true){
  8612. $("#departmentId").removeAttr("disabled");
  8613. }else {
  8614. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  8615. }
  8616. });
  8617. ----------------------------------- SOURCE END -------------------------------------
  8618. !STACK 0
  8619. java.lang.NullPointerException
  8620. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:09.697
  8621. !MESSAGE java.lang.NullPointerException
  8622. !STACK 1
  8623. JavaScript Model Exception: java.lang.NullPointerException
  8624. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  8625. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8626. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8627. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8628. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8629. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8630. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8631. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8632. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8633. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8634. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8635. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8636. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8637. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8638. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8639. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8640. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8641. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8642. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8643. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8644. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8645. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8646. Caused by: java.lang.NullPointerException
  8647. Caused by: java.lang.NullPointerException
  8648. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:09.697
  8649. !MESSAGE java.lang.NullPointerException
  8650. !STACK 0
  8651. java.lang.NullPointerException
  8652. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:23.245
  8653. !MESSAGE Exception occurred during problem detection:
  8654. ----------------------------------- SOURCE BEGIN -------------------------------------
  8655. (function(){WdatePicker();})();
  8656. (function(){WdatePicker();})();
  8657. (function(){Data.get();})();
  8658. (function(){Data.set();})();
  8659. (function(){search();})();
  8660. $(function(){
  8661. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  8662. getfp();
  8663. });
  8664. var Data = {
  8665. "get" : function(){
  8666. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  8667. var tip = layer.load(2);
  8668. var result="";
  8669. var url = "getgyxml.do";
  8670. $.ajax({
  8671. "url" : url,
  8672. "data" : {
  8673. "start_date" : $("#dateBegin").val(),
  8674. "end_date" : $("#dateEnd").val()
  8675. },
  8676. "type" : "POST",
  8677. "dataType" : "json",
  8678. "success" : function(data) {
  8679. if(data != null && data != ""){
  8680. if ( data.status =="success"){
  8681. getfp();
  8682. alert("获取成功!");
  8683. }else {
  8684. alert(data.status);
  8685. }
  8686. }else {
  8687. alert("获取失败!");
  8688. }
  8689. },
  8690. "complete": function(){
  8691. layer.close(tip);
  8692. }
  8693. });
  8694. }else {
  8695. alert("请选择日期!");
  8696. }
  8697. },
  8698. "set" : function(){
  8699. if ( $("#fpid option:selected").text() !=""){
  8700. var tip = layer.load(2);
  8701. var gitem = $("#form1").serialize();
  8702. var jrjc;
  8703. if ($("#jrjc").prop('checked') == true){
  8704. jrjc = $("#departmentId").val();
  8705. }else {
  8706. jrjc ='N'
  8707. }
  8708. var url = "saverk.do";
  8709. $.ajax({
  8710. "url" : url,
  8711. "data" : {
  8712. "gitem" : gitem,
  8713. "jrjc" : jrjc
  8714. },
  8715. "type" : "POST",
  8716. "dataType" : "json",
  8717. "async" : true,
  8718. "success" : function(data) {
  8719. if(data.status ="success"){
  8720. alert("入库成功!");
  8721. window.location.reload();
  8722. }else {
  8723. alert(msg);
  8724. }
  8725. },
  8726. "error": function(){
  8727. alert("确认失败!");
  8728. },
  8729. "complete": function(){
  8730. layer.close(tip);
  8731. }
  8732. });
  8733. }else {
  8734. alert("请选择发票!");
  8735. }
  8736. }
  8737. }
  8738. function getfp(){
  8739. var tip = layer.load(2);
  8740. var url = "getgyfp.do";
  8741. $.ajax({
  8742. "url" : url,
  8743. "type" : "POST",
  8744. "dataType" : "json",
  8745. "async" : true,
  8746. "success" : function(data) {
  8747. if(data != null && data != ""){
  8748. $("#fpid").empty();
  8749. $("#fpid").append("_$tag_____________$tag____");
  8750. for(var i = 0; i < data.length; i++){
  8751. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  8752. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  8753. }
  8754. }
  8755. },
  8756. "error" : function(msg){
  8757. },
  8758. "complete": function(){
  8759. layer.close(tip);
  8760. }
  8761. });
  8762. }
  8763. $("#fpid").change(function(){
  8764. var tip = layer.load(2);
  8765. var url = "getgyrkxx.do";
  8766. var sum_total
  8767. $.ajax({
  8768. "url" : url,
  8769. "data" : {
  8770. "fpId" : $("#fpid").val()
  8771. },
  8772. "type" : "POST",
  8773. "dataType" : "json",
  8774. "async" : true,
  8775. "success" : function(data) {
  8776. $("#dataTable").html("");
  8777. if(data != null && data != ""){
  8778. var html = "";
  8779. for(var i = 0; i < data.length; i++){
  8780. var ID = data[i].id == null ? "" : data[i].id;
  8781. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  8782. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  8783. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  8784. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  8785. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  8786. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  8787. var GOODS = data[i].goods == null ? "" : data[i].goods;
  8788. var NAME = data[i].name == null ? "" : data[i].name;
  8789. var SPEC = data[i].spec == null ? "" : data[i].spec;
  8790. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  8791. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  8792. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  8793. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  8794. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  8795. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  8796. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  8797. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  8798. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  8799. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  8800. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  8801. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  8802. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  8803. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  8804. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  8805. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  8806. var invoice_type_cn =null;
  8807. if (invoice_type =="00" ){
  8808. invoice_type_cn="销售发票";
  8809. }else if (invoice_type == "01") {
  8810. invoice_type_cn="更正(对冲)发票";
  8811. }else if (invoice_type == "02") {
  8812. invoice_type_cn="其它类型发票";
  8813. }
  8814. html += "_$ta";
  8815. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  8816. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8817. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8818. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8819. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8820. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  8821. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  8822. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8823. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8824. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  8825. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  8826. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8827. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  8828. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  8829. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8830. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8831. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  8832. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8833. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8834. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  8835. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  8836. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  8837. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  8838. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  8839. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  8840. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  8841. html += "_$tag";
  8842. }
  8843. $("#dataTable").html(html);
  8844. }else {
  8845. $("#dataTable").html("");
  8846. }
  8847. },
  8848. "error" : function(msg){
  8849. },
  8850. "complete": function(){
  8851. layer.close(tip);
  8852. }
  8853. });
  8854. });
  8855. Date.prototype.Format = function (fmt) {
  8856. var o = {
  8857. "M+": this.getMonth() + 1, //月份
  8858. "d+": this.getDate(), //日
  8859. "h+": this.getHours(), //小时
  8860. "m+": this.getMinutes(), //分
  8861. "s+": this.getSeconds(), //秒
  8862. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  8863. "S": this.getMilliseconds() //毫秒
  8864. };
  8865. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  8866. for (var k in o)
  8867. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  8868. return fmt;
  8869. }
  8870. $("#jrjc").change(function() {
  8871. if ($("#jrjc").prop('checked') == true){
  8872. $("#departmentId").removeAttr("disabled");
  8873. }else {
  8874. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  8875. }
  8876. });
  8877. ----------------------------------- SOURCE END -------------------------------------
  8878. !STACK 0
  8879. java.lang.NullPointerException
  8880. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8881. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8882. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8883. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8884. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8885. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8886. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8887. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  8888. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8889. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8890. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8891. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8892. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8893. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8894. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8895. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8896. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8897. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8898. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8899. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8900. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8901. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8902. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8903. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8904. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  8905. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  8906. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  8907. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  8908. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8909. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8910. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8911. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8912. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8913. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  8914. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  8915. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8916. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8917. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8918. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8919. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8920. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8921. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  8922. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  8923. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  8924. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8925. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8926. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  8927. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  8928. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  8929. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  8930. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  8931. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  8932. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  8933. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  8934. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  8935. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  8936. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  8937. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  8938. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  8939. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  8940. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  8941. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  8942. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  8943. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  8944. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8945. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8946. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8947. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8948. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8949. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8950. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8951. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8952. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8953. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8954. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8955. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8956. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8957. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8958. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8959. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8960. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8961. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8962. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8963. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8964. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8965. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:23.246
  8966. !MESSAGE java.lang.NullPointerException
  8967. !STACK 1
  8968. JavaScript Model Exception: java.lang.NullPointerException
  8969. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  8970. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  8971. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  8972. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  8973. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  8974. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  8975. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  8976. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  8977. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  8978. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  8979. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  8980. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  8981. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  8982. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  8983. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  8984. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  8985. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  8986. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  8987. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  8988. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  8989. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  8990. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  8991. Caused by: java.lang.NullPointerException
  8992. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  8993. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  8994. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  8995. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  8996. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  8997. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  8998. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  8999. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9000. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9001. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9002. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9003. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9004. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9005. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9006. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9007. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9008. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9009. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9010. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9011. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9012. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9013. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9014. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9015. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9016. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9017. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9018. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9019. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9020. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9021. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9022. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9023. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9024. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9025. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9026. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9027. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9028. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9029. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9030. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9031. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9032. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9033. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9034. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9035. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9036. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9037. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9038. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9039. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9040. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9041. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9042. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9043. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9044. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9045. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9046. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9047. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9048. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9049. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9050. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9051. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9052. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9053. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9054. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9055. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9056. ... 21 more
  9057. Caused by: java.lang.NullPointerException
  9058. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9059. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9060. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9061. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9062. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9063. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9064. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9065. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9066. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9067. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9068. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9069. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9070. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9071. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9072. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9073. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9074. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9075. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9076. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9077. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9078. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9079. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9080. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9081. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9082. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9083. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9084. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9085. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9086. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9087. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9088. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9089. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9090. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9091. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9092. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9093. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9094. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9095. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9096. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9097. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9098. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9099. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9100. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9101. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9102. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9103. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9104. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9105. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9106. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9107. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9108. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9109. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9110. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9111. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9112. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9113. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9114. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9115. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9116. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9117. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9118. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9119. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9120. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9121. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9122. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9123. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9124. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9125. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9126. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9127. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9128. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9129. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9130. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9131. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9132. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9133. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9134. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9135. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9136. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9137. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9138. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9139. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9140. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9141. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9142. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9143. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:23.247
  9144. !MESSAGE java.lang.NullPointerException
  9145. !STACK 0
  9146. java.lang.NullPointerException
  9147. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9148. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9149. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9150. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9151. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9152. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9153. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9154. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9155. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9156. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9157. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9158. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9159. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9160. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9161. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9162. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9163. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9164. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9165. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9166. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9167. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9168. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9169. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9170. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9171. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9172. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9173. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9174. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9175. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9176. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9177. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9178. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9179. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9180. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9181. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9182. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9183. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9184. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9185. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9186. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9187. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9188. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9189. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9190. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9191. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9192. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9193. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9194. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9195. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9196. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9197. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9198. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9199. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9200. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9201. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9202. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9203. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9204. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9205. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9206. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9207. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9208. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9209. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9210. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9211. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9212. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9213. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9214. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9215. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9216. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9217. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9218. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9219. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9220. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9221. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9222. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9223. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9224. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9225. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9226. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9227. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9228. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9229. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9230. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9231. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9232. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:24.700
  9233. !MESSAGE Exception occurred during problem detection:
  9234. ----------------------------------- SOURCE BEGIN -------------------------------------
  9235. (function(){WdatePicker();})();
  9236. (function(){WdatePicker();})();
  9237. (function(){Data.get();})();
  9238. (function(){Data.set();})();
  9239. (function(){search();})();
  9240. $(function(){
  9241. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  9242. getfp();
  9243. });
  9244. var Data = {
  9245. "get" : function(){
  9246. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  9247. var tip = layer.load(2);
  9248. var result="";
  9249. var url = "getgyxml.do";
  9250. $.ajax({
  9251. "url" : url,
  9252. "data" : {
  9253. "start_date" : $("#dateBegin").val(),
  9254. "end_date" : $("#dateEnd").val()
  9255. },
  9256. "type" : "POST",
  9257. "dataType" : "json",
  9258. "success" : function(data) {
  9259. if(data != null && data != ""){
  9260. if ( data.status =="success"){
  9261. getfp();
  9262. alert("获取成功!");
  9263. }else {
  9264. alert(data.status);
  9265. }
  9266. }else {
  9267. alert("获取失败!");
  9268. }
  9269. },
  9270. "complete": function(){
  9271. layer.close(tip);
  9272. }
  9273. });
  9274. }else {
  9275. alert("请选择日期!");
  9276. }
  9277. },
  9278. "set" : function(){
  9279. if ( $("#fpid option:selected").text() !=""){
  9280. var tip = layer.load(2);
  9281. var gitem = $("#form1").serialize();
  9282. var jrjc;
  9283. if ($("#jrjc").prop('checked') == true){
  9284. jrjc = $("#departmentId").val();
  9285. }else {
  9286. jrjc ='N'
  9287. }
  9288. var url = "saverk.do";
  9289. $.ajax({
  9290. "url" : url,
  9291. "data" : {
  9292. "gitem" : gitem,
  9293. "jrjc" : jrjc
  9294. },
  9295. "type" : "POST",
  9296. "dataType" : "json",
  9297. "async" : true,
  9298. "success" : function(data) {
  9299. if(data.status ="success"){
  9300. alert("入库成功!");
  9301. window.location.reload();
  9302. }else {
  9303. alert(msg);
  9304. }
  9305. },
  9306. "error": function(){
  9307. alert("确认失败!");
  9308. },
  9309. "complete": function(){
  9310. layer.close(tip);
  9311. }
  9312. });
  9313. }else {
  9314. alert("请选择发票!");
  9315. }
  9316. }
  9317. }
  9318. function getfp(){
  9319. var tip = layer.load(2);
  9320. var url = "getgyfp.do";
  9321. $.ajax({
  9322. "url" : url,
  9323. "type" : "POST",
  9324. "dataType" : "json",
  9325. "async" : true,
  9326. "success" : function(data) {
  9327. if(data != null && data != ""){
  9328. $("#fpid").empty();
  9329. $("#fpid").append("_$tag_____________$tag____");
  9330. for(var i = 0; i < data.length; i++){
  9331. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  9332. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  9333. }
  9334. }
  9335. },
  9336. "error" : function(msg){
  9337. },
  9338. "complete": function(){
  9339. layer.close(tip);
  9340. }
  9341. });
  9342. }
  9343. $("#fpid").change(function(){
  9344. var tip = layer.load(2);
  9345. var url = "getgyrkxx.do";
  9346. var sum_total;
  9347. $.ajax({
  9348. "url" : url,
  9349. "data" : {
  9350. "fpId" : $("#fpid").val()
  9351. },
  9352. "type" : "POST",
  9353. "dataType" : "json",
  9354. "async" : true,
  9355. "success" : function(data) {
  9356. $("#dataTable").html("");
  9357. if(data != null && data != ""){
  9358. var html = "";
  9359. for(var i = 0; i < data.length; i++){
  9360. var ID = data[i].id == null ? "" : data[i].id;
  9361. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  9362. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  9363. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  9364. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  9365. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  9366. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  9367. var GOODS = data[i].goods == null ? "" : data[i].goods;
  9368. var NAME = data[i].name == null ? "" : data[i].name;
  9369. var SPEC = data[i].spec == null ? "" : data[i].spec;
  9370. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  9371. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  9372. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  9373. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  9374. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  9375. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  9376. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  9377. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  9378. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  9379. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  9380. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  9381. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  9382. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  9383. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  9384. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  9385. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  9386. var invoice_type_cn =null;
  9387. if (invoice_type =="00" ){
  9388. invoice_type_cn="销售发票";
  9389. }else if (invoice_type == "01") {
  9390. invoice_type_cn="更正(对冲)发票";
  9391. }else if (invoice_type == "02") {
  9392. invoice_type_cn="其它类型发票";
  9393. }
  9394. html += "_$ta";
  9395. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  9396. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9397. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9398. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  9399. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  9400. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  9401. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  9402. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  9403. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  9404. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  9405. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  9406. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  9407. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  9408. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  9409. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  9410. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  9411. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  9412. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  9413. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9414. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9415. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  9416. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  9417. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  9418. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  9419. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  9420. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  9421. html += "_$tag";
  9422. }
  9423. $("#dataTable").html(html);
  9424. }else {
  9425. $("#dataTable").html("");
  9426. }
  9427. },
  9428. "error" : function(msg){
  9429. },
  9430. "complete": function(){
  9431. layer.close(tip);
  9432. }
  9433. });
  9434. });
  9435. Date.prototype.Format = function (fmt) {
  9436. var o = {
  9437. "M+": this.getMonth() + 1, //月份
  9438. "d+": this.getDate(), //日
  9439. "h+": this.getHours(), //小时
  9440. "m+": this.getMinutes(), //分
  9441. "s+": this.getSeconds(), //秒
  9442. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  9443. "S": this.getMilliseconds() //毫秒
  9444. };
  9445. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  9446. for (var k in o)
  9447. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  9448. return fmt;
  9449. }
  9450. $("#jrjc").change(function() {
  9451. if ($("#jrjc").prop('checked') == true){
  9452. $("#departmentId").removeAttr("disabled");
  9453. }else {
  9454. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  9455. }
  9456. });
  9457. ----------------------------------- SOURCE END -------------------------------------
  9458. !STACK 0
  9459. java.lang.NullPointerException
  9460. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9461. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9462. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9463. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9464. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9465. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9466. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9467. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9468. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9469. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9470. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9471. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9472. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9473. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9474. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9475. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9476. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9477. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9478. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9479. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9480. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9481. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9482. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9483. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9484. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9485. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9486. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9487. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9488. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9489. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9490. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9491. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9492. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9493. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9494. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9495. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9496. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9497. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9498. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9499. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9500. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9501. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9502. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9503. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9504. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9505. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9506. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9507. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9508. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9509. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9510. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9511. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9512. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9513. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9514. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9515. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9516. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9517. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9518. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9519. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9520. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9521. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9522. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9523. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9524. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9525. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9526. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9527. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9528. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9529. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9530. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9531. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9532. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9533. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9534. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9535. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9536. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9537. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9538. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9539. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9540. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9541. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9542. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9543. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9544. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9545. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:24.701
  9546. !MESSAGE java.lang.NullPointerException
  9547. !STACK 1
  9548. JavaScript Model Exception: java.lang.NullPointerException
  9549. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  9550. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9551. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9552. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9553. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9554. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9555. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9556. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9557. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9558. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9559. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9560. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9561. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9562. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9563. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9564. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9565. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9566. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9567. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9568. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9569. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9570. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9571. Caused by: java.lang.NullPointerException
  9572. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9573. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9574. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9575. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9576. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9577. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9578. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9579. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9580. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9581. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9582. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9583. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9584. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9585. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9586. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9587. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9588. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9589. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9590. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9591. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9592. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9593. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9594. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9595. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9596. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9597. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9598. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9599. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9600. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9601. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9602. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9603. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9604. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9605. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9606. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9607. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9608. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9609. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9610. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9611. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9612. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9613. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9614. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9615. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9616. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9617. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9618. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9619. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9620. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9621. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9622. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9623. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9624. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9625. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9626. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9627. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9628. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9629. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9630. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9631. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9632. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9633. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9634. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9635. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9636. ... 21 more
  9637. Caused by: java.lang.NullPointerException
  9638. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9639. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9640. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9641. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9642. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9643. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9644. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9645. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9646. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9647. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9648. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9649. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9650. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9651. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9652. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9653. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9654. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9655. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9656. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9657. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9658. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9659. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9660. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9661. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9662. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9663. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9664. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9665. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9666. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9667. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9668. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9669. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9670. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9671. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9672. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9673. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9674. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9675. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9676. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9677. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9678. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9679. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9680. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9681. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9682. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9683. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9684. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9685. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9686. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9687. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9688. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9689. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9690. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9691. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9692. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9693. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9694. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9695. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9696. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9697. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9698. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9699. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9700. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9701. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9702. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9703. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9704. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9705. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9706. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9707. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9708. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9709. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9710. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9711. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9712. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9713. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9714. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9715. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9716. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9717. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9718. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9719. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9720. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9721. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9722. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9723. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:24.702
  9724. !MESSAGE java.lang.NullPointerException
  9725. !STACK 0
  9726. java.lang.NullPointerException
  9727. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  9728. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  9729. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  9730. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  9731. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  9732. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  9733. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  9734. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  9735. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9736. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9737. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9738. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9739. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9740. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9741. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9742. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9743. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9744. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9745. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9746. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9747. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9748. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9749. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9750. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9751. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  9752. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  9753. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  9754. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  9755. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9756. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9757. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9758. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9759. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9760. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  9761. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  9762. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9763. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9764. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9765. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9766. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9767. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9768. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  9769. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  9770. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  9771. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9772. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9773. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  9774. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  9775. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  9776. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  9777. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  9778. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  9779. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  9780. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  9781. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  9782. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  9783. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  9784. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  9785. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  9786. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  9787. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  9788. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  9789. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  9790. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  9791. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  9792. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  9793. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  9794. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  9795. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  9796. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  9797. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  9798. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  9799. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  9800. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  9801. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  9802. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  9803. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  9804. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  9805. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  9806. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  9807. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  9808. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  9809. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  9810. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  9811. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  9812. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:25.535
  9813. !MESSAGE Exception occurred during problem detection:
  9814. ----------------------------------- SOURCE BEGIN -------------------------------------
  9815. (function(){WdatePicker();})();
  9816. (function(){WdatePicker();})();
  9817. (function(){Data.get();})();
  9818. (function(){Data.set();})();
  9819. (function(){search();})();
  9820. $(function(){
  9821. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  9822. getfp();
  9823. });
  9824. var Data = {
  9825. "get" : function(){
  9826. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  9827. var tip = layer.load(2);
  9828. var result="";
  9829. var url = "getgyxml.do";
  9830. $.ajax({
  9831. "url" : url,
  9832. "data" : {
  9833. "start_date" : $("#dateBegin").val(),
  9834. "end_date" : $("#dateEnd").val()
  9835. },
  9836. "type" : "POST",
  9837. "dataType" : "json",
  9838. "success" : function(data) {
  9839. if(data != null && data != ""){
  9840. if ( data.status =="success"){
  9841. getfp();
  9842. alert("获取成功!");
  9843. }else {
  9844. alert(data.status);
  9845. }
  9846. }else {
  9847. alert("获取失败!");
  9848. }
  9849. },
  9850. "complete": function(){
  9851. layer.close(tip);
  9852. }
  9853. });
  9854. }else {
  9855. alert("请选择日期!");
  9856. }
  9857. },
  9858. "set" : function(){
  9859. if ( $("#fpid option:selected").text() !=""){
  9860. var tip = layer.load(2);
  9861. var gitem = $("#form1").serialize();
  9862. var jrjc;
  9863. if ($("#jrjc").prop('checked') == true){
  9864. jrjc = $("#departmentId").val();
  9865. }else {
  9866. jrjc ='N'
  9867. }
  9868. var url = "saverk.do";
  9869. $.ajax({
  9870. "url" : url,
  9871. "data" : {
  9872. "gitem" : gitem,
  9873. "jrjc" : jrjc
  9874. },
  9875. "type" : "POST",
  9876. "dataType" : "json",
  9877. "async" : true,
  9878. "success" : function(data) {
  9879. if(data.status ="success"){
  9880. alert("入库成功!");
  9881. window.location.reload();
  9882. }else {
  9883. alert(msg);
  9884. }
  9885. },
  9886. "error": function(){
  9887. alert("确认失败!");
  9888. },
  9889. "complete": function(){
  9890. layer.close(tip);
  9891. }
  9892. });
  9893. }else {
  9894. alert("请选择发票!");
  9895. }
  9896. }
  9897. }
  9898. function getfp(){
  9899. var tip = layer.load(2);
  9900. var url = "getgyfp.do";
  9901. $.ajax({
  9902. "url" : url,
  9903. "type" : "POST",
  9904. "dataType" : "json",
  9905. "async" : true,
  9906. "success" : function(data) {
  9907. if(data != null && data != ""){
  9908. $("#fpid").empty();
  9909. $("#fpid").append("_$tag_____________$tag____");
  9910. for(var i = 0; i < data.length; i++){
  9911. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  9912. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  9913. }
  9914. }
  9915. },
  9916. "error" : function(msg){
  9917. },
  9918. "complete": function(){
  9919. layer.close(tip);
  9920. }
  9921. });
  9922. }
  9923. $("#fpid").change(function(){
  9924. var tip = layer.load(2);
  9925. var url = "getgyrkxx.do";
  9926. var sum_total;
  9927. $.ajax({
  9928. "url" : url,
  9929. "data" : {
  9930. "fpId" : $("#fpid").val()
  9931. },
  9932. "type" : "POST",
  9933. "dataType" : "json",
  9934. "async" : true,
  9935. "success" : function(data) {
  9936. $("#dataTable").html("");
  9937. if(data != null && data != ""){
  9938. var html = "";
  9939. for(var i = 0; i < data.length; i++){
  9940. var ID = data[i].id == null ? "" : data[i].id;
  9941. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  9942. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  9943. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  9944. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  9945. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  9946. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  9947. var GOODS = data[i].goods == null ? "" : data[i].goods;
  9948. var NAME = data[i].name == null ? "" : data[i].name;
  9949. var SPEC = data[i].spec == null ? "" : data[i].spec;
  9950. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  9951. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  9952. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  9953. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  9954. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  9955. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  9956. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  9957. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  9958. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  9959. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  9960. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  9961. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  9962. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  9963. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  9964. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  9965. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  9966. var invoice_type_cn =null;
  9967. if (invoice_type =="00" ){
  9968. invoice_type_cn="销售发票";
  9969. }else if (invoice_type == "01") {
  9970. invoice_type_cn="更正(对冲)发票";
  9971. }else if (invoice_type == "02") {
  9972. invoice_type_cn="其它类型发票";
  9973. }
  9974. html += "_$ta";
  9975. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  9976. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9977. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9978. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  9979. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  9980. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  9981. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  9982. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  9983. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  9984. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  9985. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  9986. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  9987. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  9988. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  9989. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  9990. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  9991. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  9992. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  9993. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9994. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  9995. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  9996. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  9997. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  9998. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  9999. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  10000. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  10001. html += "_$tag";
  10002. }
  10003. $("#dataTable").html(html);
  10004. }else {
  10005. $("#dataTable").html("");
  10006. }
  10007. },
  10008. "error" : function(msg){
  10009. },
  10010. "complete": function(){
  10011. layer.close(tip);
  10012. }
  10013. });
  10014. });
  10015. Date.prototype.Format = function (fmt) {
  10016. var o = {
  10017. "M+": this.getMonth() + 1, //月份
  10018. "d+": this.getDate(), //日
  10019. "h+": this.getHours(), //小时
  10020. "m+": this.getMinutes(), //分
  10021. "s+": this.getSeconds(), //秒
  10022. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  10023. "S": this.getMilliseconds() //毫秒
  10024. };
  10025. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  10026. for (var k in o)
  10027. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  10028. return fmt;
  10029. }
  10030. $("#jrjc").change(function() {
  10031. if ($("#jrjc").prop('checked') == true){
  10032. $("#departmentId").removeAttr("disabled");
  10033. }else {
  10034. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  10035. }
  10036. });
  10037. ----------------------------------- SOURCE END -------------------------------------
  10038. !STACK 0
  10039. java.lang.NullPointerException
  10040. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10041. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10042. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10043. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10044. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10045. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10046. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10047. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10048. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10049. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10050. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10051. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10052. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10053. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10054. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10055. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10056. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10057. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10058. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10059. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10060. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10061. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10062. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10063. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10064. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10065. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10066. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10067. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10068. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10069. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10070. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10071. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10072. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10073. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10074. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10075. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10076. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10077. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10078. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10079. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10080. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10081. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10082. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10083. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10084. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10085. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10086. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10087. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10088. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10089. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10090. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10091. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10092. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10093. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10094. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10095. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10096. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10097. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10098. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10099. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10100. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10101. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10102. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10103. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10104. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  10105. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10106. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10107. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  10108. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  10109. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  10110. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  10111. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  10112. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  10113. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  10114. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  10115. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  10116. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  10117. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  10118. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  10119. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  10120. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  10121. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  10122. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:25.536
  10123. !MESSAGE Error while processing working copy
  10124. !STACK 1
  10125. JavaScript Model Exception: java.lang.NullPointerException
  10126. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  10127. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  10128. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10129. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10130. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  10131. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  10132. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  10133. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  10134. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  10135. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  10136. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  10137. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  10138. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  10139. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  10140. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  10141. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  10142. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  10143. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  10144. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  10145. Caused by: java.lang.NullPointerException
  10146. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10147. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10148. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10149. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10150. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10151. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10152. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10153. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10154. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10155. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10156. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10157. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10158. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10159. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10160. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10161. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10162. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10163. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10164. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10165. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10166. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10167. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10168. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10169. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10170. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10171. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10172. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10173. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10174. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10175. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10176. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10177. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10178. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10179. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10180. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10181. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10182. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10183. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10184. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10185. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10186. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10187. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10188. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10189. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10190. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10191. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10192. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10193. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10194. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10195. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10196. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10197. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10198. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10199. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10200. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10201. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10202. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10203. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10204. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10205. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10206. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10207. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10208. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10209. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10210. ... 18 more
  10211. Caused by: java.lang.NullPointerException
  10212. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10213. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10214. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10215. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10216. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10217. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10218. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10219. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10220. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10221. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10222. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10223. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10224. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10225. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10226. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10227. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10228. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10229. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10230. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10231. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10232. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10233. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10234. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10235. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10236. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10237. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10238. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10239. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10240. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10241. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10242. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10243. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10244. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10245. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10246. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10247. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10248. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10249. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10250. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10251. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10252. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10253. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10254. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10255. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10256. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10257. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10258. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10259. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10260. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10261. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10262. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10263. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10264. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10265. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10266. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10267. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10268. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10269. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10270. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10271. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10272. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10273. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10274. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10275. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10276. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  10277. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10278. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10279. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  10280. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  10281. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  10282. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  10283. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  10284. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  10285. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  10286. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  10287. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  10288. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  10289. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  10290. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  10291. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  10292. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  10293. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  10294. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:25.537
  10295. !MESSAGE java.lang.NullPointerException
  10296. !STACK 0
  10297. java.lang.NullPointerException
  10298. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10299. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10300. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10301. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10302. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10303. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10304. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10305. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10306. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10307. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10308. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10309. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10310. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10311. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10312. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10313. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10314. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10315. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10316. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10317. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10318. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10319. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10320. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10321. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10322. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10323. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10324. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10325. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10326. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10327. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10328. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10329. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10330. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10331. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10332. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10333. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10334. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10335. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10336. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10337. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10338. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10339. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10340. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10341. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10342. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10343. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10344. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10345. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10346. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10347. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10348. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10349. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10350. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10351. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10352. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10353. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10354. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10355. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10356. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10357. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10358. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10359. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10360. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10361. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10362. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
  10363. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10364. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10365. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
  10366. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
  10367. at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
  10368. at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
  10369. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
  10370. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
  10371. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
  10372. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
  10373. at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
  10374. at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
  10375. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
  10376. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
  10377. at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
  10378. at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
  10379. at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
  10380. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:44.908
  10381. !MESSAGE Exception occurred during problem detection:
  10382. ----------------------------------- SOURCE BEGIN -------------------------------------
  10383. (function(){WdatePicker();})();
  10384. (function(){WdatePicker();})();
  10385. (function(){Data.get();})();
  10386. (function(){Data.set();})();
  10387. (function(){search();})();
  10388. $(function(){
  10389. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  10390. getfp();
  10391. });
  10392. var Data = {
  10393. "get" : function(){
  10394. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  10395. var tip = layer.load(2);
  10396. var result="";
  10397. var url = "getgyxml.do";
  10398. $.ajax({
  10399. "url" : url,
  10400. "data" : {
  10401. "start_date" : $("#dateBegin").val(),
  10402. "end_date" : $("#dateEnd").val()
  10403. },
  10404. "type" : "POST",
  10405. "dataType" : "json",
  10406. "success" : function(data) {
  10407. if(data != null && data != ""){
  10408. if ( data.status =="success"){
  10409. getfp();
  10410. alert("获取成功!");
  10411. }else {
  10412. alert(data.status);
  10413. }
  10414. }else {
  10415. alert("获取失败!");
  10416. }
  10417. },
  10418. "complete": function(){
  10419. layer.close(tip);
  10420. }
  10421. });
  10422. }else {
  10423. alert("请选择日期!");
  10424. }
  10425. },
  10426. "set" : function(){
  10427. if ( $("#fpid option:selected").text() !=""){
  10428. var tip = layer.load(2);
  10429. var gitem = $("#form1").serialize();
  10430. var jrjc;
  10431. if ($("#jrjc").prop('checked') == true){
  10432. jrjc = $("#departmentId").val();
  10433. }else {
  10434. jrjc ='N'
  10435. }
  10436. var url = "saverk.do";
  10437. $.ajax({
  10438. "url" : url,
  10439. "data" : {
  10440. "gitem" : gitem,
  10441. "jrjc" : jrjc
  10442. },
  10443. "type" : "POST",
  10444. "dataType" : "json",
  10445. "async" : true,
  10446. "success" : function(data) {
  10447. if(data.status ="success"){
  10448. alert("入库成功!");
  10449. window.location.reload();
  10450. }else {
  10451. alert(msg);
  10452. }
  10453. },
  10454. "error": function(){
  10455. alert("确认失败!");
  10456. },
  10457. "complete": function(){
  10458. layer.close(tip);
  10459. }
  10460. });
  10461. }else {
  10462. alert("请选择发票!");
  10463. }
  10464. }
  10465. }
  10466. function getfp(){
  10467. var tip = layer.load(2);
  10468. var url = "getgyfp.do";
  10469. $.ajax({
  10470. "url" : url,
  10471. "type" : "POST",
  10472. "dataType" : "json",
  10473. "async" : true,
  10474. "success" : function(data) {
  10475. if(data != null && data != ""){
  10476. $("#fpid").empty();
  10477. $("#fpid").append("_$tag_____________$tag____");
  10478. for(var i = 0; i < data.length; i++){
  10479. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  10480. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  10481. }
  10482. }
  10483. },
  10484. "error" : function(msg){
  10485. },
  10486. "complete": function(){
  10487. layer.close(tip);
  10488. }
  10489. });
  10490. }
  10491. $("#fpid").change(function(){
  10492. var tip = layer.load(2);
  10493. var url = "getgyrkxx.do";
  10494. var sum_total;
  10495. $.ajax({
  10496. "url" : url,
  10497. "data" : {
  10498. "fpId" : $("#fpid").val()
  10499. },
  10500. "type" : "POST",
  10501. "dataType" : "json",
  10502. "async" : true,
  10503. "success" : function(data) {
  10504. $("#dataTable").html("");
  10505. if(data != null && data != ""){
  10506. var html = "";
  10507. for(var i = 0; i < data.length; i++){
  10508. var ID = data[i].id == null ? "" : data[i].id;
  10509. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  10510. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  10511. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  10512. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  10513. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  10514. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  10515. var GOODS = data[i].goods == null ? "" : data[i].goods;
  10516. var NAME = data[i].name == null ? "" : data[i].name;
  10517. var SPEC = data[i].spec == null ? "" : data[i].spec;
  10518. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  10519. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  10520. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  10521. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  10522. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  10523. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  10524. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  10525. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  10526. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  10527. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  10528. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  10529. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  10530. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  10531. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  10532. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  10533. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  10534. var invoice_type_cn =null;
  10535. if (invoice_type =="00" ){
  10536. invoice_type_cn="销售发票";
  10537. }else if (invoice_type == "01") {
  10538. invoice_type_cn="更正(对冲)发票";
  10539. }else if (invoice_type == "02") {
  10540. invoice_type_cn="其它类型发票";
  10541. }
  10542. html += "_$ta";
  10543. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  10544. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  10545. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  10546. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  10547. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  10548. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  10549. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  10550. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  10551. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  10552. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  10553. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  10554. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  10555. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  10556. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  10557. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  10558. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  10559. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  10560. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  10561. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  10562. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  10563. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  10564. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  10565. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  10566. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  10567. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  10568. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  10569. html += "_$tag";
  10570. }
  10571. $("#dataTable").html(html);
  10572. }else {
  10573. $("#dataTable").html("");
  10574. }
  10575. },
  10576. "error" : function(msg){
  10577. },
  10578. "complete": function(){
  10579. layer.close(tip);
  10580. }
  10581. });
  10582. });
  10583. Date.prototype.Format = function (fmt) {
  10584. var o = {
  10585. "M+": this.getMonth() + 1, //月份
  10586. "d+": this.getDate(), //日
  10587. "h+": this.getHours(), //小时
  10588. "m+": this.getMinutes(), //分
  10589. "s+": this.getSeconds(), //秒
  10590. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  10591. "S": this.getMilliseconds() //毫秒
  10592. };
  10593. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  10594. for (var k in o)
  10595. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  10596. return fmt;
  10597. }
  10598. $("#jrjc").change(function() {
  10599. if ($("#jrjc").prop('checked') == true){
  10600. $("#departmentId").removeAttr("disabled");
  10601. }else {
  10602. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  10603. }
  10604. });
  10605. ----------------------------------- SOURCE END -------------------------------------
  10606. !STACK 0
  10607. java.lang.NullPointerException
  10608. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10609. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10610. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10611. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10612. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10613. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10614. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10615. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10616. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10617. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10618. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10619. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10620. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10621. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10622. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10623. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10624. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10625. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10626. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10627. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10628. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10629. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10630. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10631. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10632. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10633. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10634. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10635. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10636. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10637. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10638. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10639. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10640. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10641. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10642. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10643. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10644. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10645. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10646. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10647. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10648. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10649. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10650. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10651. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10652. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10653. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10654. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10655. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10656. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10657. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10658. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10659. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10660. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10661. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10662. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10663. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10664. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10665. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10666. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10667. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10668. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10669. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10670. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10671. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10672. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10673. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10674. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10675. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10676. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10677. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10678. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10679. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10680. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10681. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10682. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10683. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10684. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10685. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10686. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10687. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10688. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10689. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10690. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10691. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10692. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10693. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:44.909
  10694. !MESSAGE java.lang.NullPointerException
  10695. !STACK 1
  10696. JavaScript Model Exception: java.lang.NullPointerException
  10697. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  10698. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10699. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10700. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10701. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10702. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10703. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10704. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10705. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10706. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10707. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10708. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10709. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10710. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10711. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10712. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10713. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10714. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10715. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10716. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10717. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10718. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10719. Caused by: java.lang.NullPointerException
  10720. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10721. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10722. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10723. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10724. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10725. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10726. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10727. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10728. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10729. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10730. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10731. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10732. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10733. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10734. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10735. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10736. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10737. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10738. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10739. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10740. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10741. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10742. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10743. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10744. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10745. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10746. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10747. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10748. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10749. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10750. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10751. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10752. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10753. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10754. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10755. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10756. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10757. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10758. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10759. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10760. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10761. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10762. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10763. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10764. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10765. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10766. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10767. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10768. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10769. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10770. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10771. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10772. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10773. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10774. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10775. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10776. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10777. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10778. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10779. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10780. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10781. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10782. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10783. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10784. ... 21 more
  10785. Caused by: java.lang.NullPointerException
  10786. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10787. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10788. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10789. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10790. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10791. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10792. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10793. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10794. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10795. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10796. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10797. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10798. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10799. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10800. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10801. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10802. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10803. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10804. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10805. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10806. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10807. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10808. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10809. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10810. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10811. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10812. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10813. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10814. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10815. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10816. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10817. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10818. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10819. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10820. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10821. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10822. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10823. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10824. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10825. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10826. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10827. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10828. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10829. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10830. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10831. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10832. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10833. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10834. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10835. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10836. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10837. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10838. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10839. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10840. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10841. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10842. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10843. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10844. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10845. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10846. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10847. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10848. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10849. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10850. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10851. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10852. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10853. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10854. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10855. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10856. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10857. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10858. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10859. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10860. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10861. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10862. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10863. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10864. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10865. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10866. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10867. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10868. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10869. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10870. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10871. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:44.909
  10872. !MESSAGE java.lang.NullPointerException
  10873. !STACK 0
  10874. java.lang.NullPointerException
  10875. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  10876. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  10877. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  10878. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  10879. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  10880. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  10881. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  10882. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  10883. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10884. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10885. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10886. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10887. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10888. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10889. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10890. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10891. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10892. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10893. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10894. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10895. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10896. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10897. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10898. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10899. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  10900. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  10901. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  10902. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  10903. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10904. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10905. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10906. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10907. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10908. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  10909. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  10910. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10911. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10912. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10913. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10914. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10915. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10916. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  10917. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  10918. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  10919. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10920. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10921. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  10922. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  10923. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  10924. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  10925. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  10926. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  10927. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  10928. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  10929. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  10930. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  10931. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  10932. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  10933. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  10934. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  10935. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  10936. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  10937. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  10938. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  10939. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  10940. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  10941. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  10942. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  10943. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  10944. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  10945. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  10946. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  10947. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  10948. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  10949. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  10950. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  10951. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  10952. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  10953. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  10954. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  10955. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  10956. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  10957. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  10958. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  10959. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  10960. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:48.076
  10961. !MESSAGE Exception occurred during problem detection:
  10962. ----------------------------------- SOURCE BEGIN -------------------------------------
  10963. (function(){WdatePicker();})();
  10964. (function(){WdatePicker();})();
  10965. (function(){Data.get();})();
  10966. (function(){Data.set();})();
  10967. (function(){search();})();
  10968. $(function(){
  10969. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  10970. getfp();
  10971. });
  10972. var Data = {
  10973. "get" : function(){
  10974. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  10975. var tip = layer.load(2);
  10976. var result="";
  10977. var url = "getgyxml.do";
  10978. $.ajax({
  10979. "url" : url,
  10980. "data" : {
  10981. "start_date" : $("#dateBegin").val(),
  10982. "end_date" : $("#dateEnd").val()
  10983. },
  10984. "type" : "POST",
  10985. "dataType" : "json",
  10986. "success" : function(data) {
  10987. if(data != null && data != ""){
  10988. if ( data.status =="success"){
  10989. getfp();
  10990. alert("获取成功!");
  10991. }else {
  10992. alert(data.status);
  10993. }
  10994. }else {
  10995. alert("获取失败!");
  10996. }
  10997. },
  10998. "complete": function(){
  10999. layer.close(tip);
  11000. }
  11001. });
  11002. }else {
  11003. alert("请选择日期!");
  11004. }
  11005. },
  11006. "set" : function(){
  11007. if ( $("#fpid option:selected").text() !=""){
  11008. var tip = layer.load(2);
  11009. var gitem = $("#form1").serialize();
  11010. var jrjc;
  11011. if ($("#jrjc").prop('checked') == true){
  11012. jrjc = $("#departmentId").val();
  11013. }else {
  11014. jrjc ='N'
  11015. }
  11016. var url = "saverk.do";
  11017. $.ajax({
  11018. "url" : url,
  11019. "data" : {
  11020. "gitem" : gitem,
  11021. "jrjc" : jrjc
  11022. },
  11023. "type" : "POST",
  11024. "dataType" : "json",
  11025. "async" : true,
  11026. "success" : function(data) {
  11027. if(data.status ="success"){
  11028. alert("入库成功!");
  11029. window.location.reload();
  11030. }else {
  11031. alert(msg);
  11032. }
  11033. },
  11034. "error": function(){
  11035. alert("确认失败!");
  11036. },
  11037. "complete": function(){
  11038. layer.close(tip);
  11039. }
  11040. });
  11041. }else {
  11042. alert("请选择发票!");
  11043. }
  11044. }
  11045. }
  11046. function getfp(){
  11047. var tip = layer.load(2);
  11048. var url = "getgyfp.do";
  11049. $.ajax({
  11050. "url" : url,
  11051. "type" : "POST",
  11052. "dataType" : "json",
  11053. "async" : true,
  11054. "success" : function(data) {
  11055. if(data != null && data != ""){
  11056. $("#fpid").empty();
  11057. $("#fpid").append("_$tag_____________$tag____");
  11058. for(var i = 0; i < data.length; i++){
  11059. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  11060. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  11061. }
  11062. }
  11063. },
  11064. "error" : function(msg){
  11065. },
  11066. "complete": function(){
  11067. layer.close(tip);
  11068. }
  11069. });
  11070. }
  11071. $("#fpid").change(function(){
  11072. var tip = layer.load(2);
  11073. var url = "getgyrkxx.do";
  11074. var sum_total;
  11075. $.ajax({
  11076. "url" : url,
  11077. "data" : {
  11078. "fpId" : $("#fpid").val()
  11079. },
  11080. "type" : "POST",
  11081. "dataType" : "json",
  11082. "async" : true,
  11083. "success" : function(data) {
  11084. $("#dataTable").html("");
  11085. if(data != null && data != ""){
  11086. var html = "";
  11087. for(var i = 0; i < data.length; i++){
  11088. var ID = data[i].id == null ? "" : data[i].id;
  11089. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  11090. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  11091. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  11092. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  11093. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  11094. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  11095. var GOODS = data[i].goods == null ? "" : data[i].goods;
  11096. var NAME = data[i].name == null ? "" : data[i].name;
  11097. var SPEC = data[i].spec == null ? "" : data[i].spec;
  11098. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  11099. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  11100. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  11101. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  11102. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  11103. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  11104. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  11105. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  11106. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  11107. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  11108. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  11109. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  11110. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  11111. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  11112. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  11113. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  11114. sum_total =
  11115. var invoice_type_cn =null;
  11116. if (invoice_type =="00" ){
  11117. invoice_type_cn="销售发票";
  11118. }else if (invoice_type == "01") {
  11119. invoice_type_cn="更正(对冲)发票";
  11120. }else if (invoice_type == "02") {
  11121. invoice_type_cn="其它类型发票";
  11122. }
  11123. html += "_$ta";
  11124. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  11125. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11126. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11127. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  11128. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  11129. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  11130. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  11131. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  11132. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  11133. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  11134. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  11135. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  11136. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  11137. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  11138. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  11139. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  11140. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  11141. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  11142. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11143. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11144. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  11145. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  11146. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  11147. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  11148. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  11149. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  11150. html += "_$tag";
  11151. }
  11152. $("#dataTable").html(html);
  11153. }else {
  11154. $("#dataTable").html("");
  11155. }
  11156. },
  11157. "error" : function(msg){
  11158. },
  11159. "complete": function(){
  11160. layer.close(tip);
  11161. }
  11162. });
  11163. });
  11164. Date.prototype.Format = function (fmt) {
  11165. var o = {
  11166. "M+": this.getMonth() + 1, //月份
  11167. "d+": this.getDate(), //日
  11168. "h+": this.getHours(), //小时
  11169. "m+": this.getMinutes(), //分
  11170. "s+": this.getSeconds(), //秒
  11171. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  11172. "S": this.getMilliseconds() //毫秒
  11173. };
  11174. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  11175. for (var k in o)
  11176. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  11177. return fmt;
  11178. }
  11179. $("#jrjc").change(function() {
  11180. if ($("#jrjc").prop('checked') == true){
  11181. $("#departmentId").removeAttr("disabled");
  11182. }else {
  11183. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  11184. }
  11185. });
  11186. ----------------------------------- SOURCE END -------------------------------------
  11187. !STACK 0
  11188. java.lang.NullPointerException
  11189. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11190. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11191. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11192. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11193. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11194. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11195. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11196. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11197. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11198. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11199. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11200. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11201. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11202. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11203. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11204. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11205. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11206. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11207. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11208. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11209. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11210. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11211. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11212. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11213. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11214. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11215. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11216. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11217. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11218. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11219. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11220. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11221. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11222. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11223. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11224. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11225. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11226. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11227. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11228. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11229. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11230. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11231. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11232. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11233. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11234. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11235. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11236. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11237. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11238. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11239. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11240. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11241. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11242. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11243. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11244. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11245. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11246. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11247. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11248. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11249. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11250. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11251. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11252. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11253. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11254. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11255. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11256. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11257. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11258. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11259. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11260. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11261. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11262. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11263. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11264. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11265. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11266. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11267. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11268. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11269. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11270. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11271. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11272. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11273. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11274. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:48.077
  11275. !MESSAGE java.lang.NullPointerException
  11276. !STACK 1
  11277. JavaScript Model Exception: java.lang.NullPointerException
  11278. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  11279. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11280. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11281. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11282. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11283. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11284. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11285. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11286. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11287. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11288. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11289. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11290. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11291. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11292. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11293. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11294. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11295. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11296. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11297. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11298. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11299. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11300. Caused by: java.lang.NullPointerException
  11301. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11302. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11303. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11304. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11305. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11306. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11307. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11308. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11309. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11310. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11311. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11312. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11313. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11314. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11315. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11316. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11317. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11318. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11319. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11320. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11321. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11322. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11323. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11324. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11325. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11326. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11327. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11328. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11329. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11330. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11331. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11332. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11333. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11334. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11335. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11336. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11337. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11338. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11339. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11340. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11341. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11342. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11343. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11344. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11345. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11346. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11347. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11348. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11349. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11350. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11351. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11352. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11353. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11354. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11355. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11356. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11357. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11358. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11359. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11360. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11361. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11362. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11363. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11364. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11365. ... 21 more
  11366. Caused by: java.lang.NullPointerException
  11367. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11368. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11369. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11370. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11371. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11372. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11373. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11374. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11375. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11376. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11377. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11378. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11379. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11380. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11381. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11382. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11383. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11384. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11385. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11386. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11387. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11388. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11389. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11390. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11391. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11392. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11393. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11394. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11395. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11396. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11397. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11398. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11399. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11400. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11401. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11402. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11403. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11404. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11405. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11406. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11407. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11408. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11409. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11410. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11411. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11412. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11413. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11414. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11415. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11416. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11417. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11418. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11419. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11420. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11421. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11422. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11423. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11424. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11425. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11426. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11427. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11428. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11429. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11430. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11431. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11432. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11433. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11434. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11435. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11436. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11437. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11438. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11439. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11440. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11441. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11442. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11443. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11444. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11445. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11446. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11447. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11448. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11449. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11450. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11451. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11452. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:48.077
  11453. !MESSAGE java.lang.NullPointerException
  11454. !STACK 0
  11455. java.lang.NullPointerException
  11456. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11457. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11458. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11459. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11460. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11461. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11462. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11463. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11464. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11465. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11466. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11467. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11468. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11469. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11470. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11471. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11472. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11473. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11474. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11475. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11476. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11477. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11478. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11479. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11480. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11481. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11482. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11483. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11484. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11485. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11486. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11487. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11488. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11489. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11490. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11491. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11492. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11493. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11494. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11495. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11496. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11497. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11498. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11499. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11500. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11501. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11502. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11503. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11504. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11505. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11506. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11507. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11508. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11509. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11510. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11511. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11512. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11513. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11514. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11515. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11516. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11517. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11518. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11519. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11520. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11521. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11522. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11523. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11524. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11525. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11526. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11527. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11528. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11529. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11530. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11531. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11532. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11533. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11534. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11535. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11536. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11537. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11538. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11539. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11540. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11541. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:51.991
  11542. !MESSAGE Exception occurred during problem detection:
  11543. ----------------------------------- SOURCE BEGIN -------------------------------------
  11544. (function(){WdatePicker();})();
  11545. (function(){WdatePicker();})();
  11546. (function(){Data.get();})();
  11547. (function(){Data.set();})();
  11548. (function(){search();})();
  11549. $(function(){
  11550. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  11551. getfp();
  11552. });
  11553. var Data = {
  11554. "get" : function(){
  11555. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  11556. var tip = layer.load(2);
  11557. var result="";
  11558. var url = "getgyxml.do";
  11559. $.ajax({
  11560. "url" : url,
  11561. "data" : {
  11562. "start_date" : $("#dateBegin").val(),
  11563. "end_date" : $("#dateEnd").val()
  11564. },
  11565. "type" : "POST",
  11566. "dataType" : "json",
  11567. "success" : function(data) {
  11568. if(data != null && data != ""){
  11569. if ( data.status =="success"){
  11570. getfp();
  11571. alert("获取成功!");
  11572. }else {
  11573. alert(data.status);
  11574. }
  11575. }else {
  11576. alert("获取失败!");
  11577. }
  11578. },
  11579. "complete": function(){
  11580. layer.close(tip);
  11581. }
  11582. });
  11583. }else {
  11584. alert("请选择日期!");
  11585. }
  11586. },
  11587. "set" : function(){
  11588. if ( $("#fpid option:selected").text() !=""){
  11589. var tip = layer.load(2);
  11590. var gitem = $("#form1").serialize();
  11591. var jrjc;
  11592. if ($("#jrjc").prop('checked') == true){
  11593. jrjc = $("#departmentId").val();
  11594. }else {
  11595. jrjc ='N'
  11596. }
  11597. var url = "saverk.do";
  11598. $.ajax({
  11599. "url" : url,
  11600. "data" : {
  11601. "gitem" : gitem,
  11602. "jrjc" : jrjc
  11603. },
  11604. "type" : "POST",
  11605. "dataType" : "json",
  11606. "async" : true,
  11607. "success" : function(data) {
  11608. if(data.status ="success"){
  11609. alert("入库成功!");
  11610. window.location.reload();
  11611. }else {
  11612. alert(msg);
  11613. }
  11614. },
  11615. "error": function(){
  11616. alert("确认失败!");
  11617. },
  11618. "complete": function(){
  11619. layer.close(tip);
  11620. }
  11621. });
  11622. }else {
  11623. alert("请选择发票!");
  11624. }
  11625. }
  11626. }
  11627. function getfp(){
  11628. var tip = layer.load(2);
  11629. var url = "getgyfp.do";
  11630. $.ajax({
  11631. "url" : url,
  11632. "type" : "POST",
  11633. "dataType" : "json",
  11634. "async" : true,
  11635. "success" : function(data) {
  11636. if(data != null && data != ""){
  11637. $("#fpid").empty();
  11638. $("#fpid").append("_$tag_____________$tag____");
  11639. for(var i = 0; i < data.length; i++){
  11640. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  11641. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  11642. }
  11643. }
  11644. },
  11645. "error" : function(msg){
  11646. },
  11647. "complete": function(){
  11648. layer.close(tip);
  11649. }
  11650. });
  11651. }
  11652. $("#fpid").change(function(){
  11653. var tip = layer.load(2);
  11654. var url = "getgyrkxx.do";
  11655. var sum_total;
  11656. $.ajax({
  11657. "url" : url,
  11658. "data" : {
  11659. "fpId" : $("#fpid").val()
  11660. },
  11661. "type" : "POST",
  11662. "dataType" : "json",
  11663. "async" : true,
  11664. "success" : function(data) {
  11665. $("#dataTable").html("");
  11666. if(data != null && data != ""){
  11667. var html = "";
  11668. for(var i = 0; i < data.length; i++){
  11669. var ID = data[i].id == null ? "" : data[i].id;
  11670. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  11671. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  11672. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  11673. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  11674. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  11675. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  11676. var GOODS = data[i].goods == null ? "" : data[i].goods;
  11677. var NAME = data[i].name == null ? "" : data[i].name;
  11678. var SPEC = data[i].spec == null ? "" : data[i].spec;
  11679. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  11680. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  11681. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  11682. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  11683. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  11684. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  11685. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  11686. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  11687. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  11688. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  11689. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  11690. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  11691. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  11692. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  11693. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  11694. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  11695. sum_total = sum_total +
  11696. var invoice_type_cn =null;
  11697. if (invoice_type =="00" ){
  11698. invoice_type_cn="销售发票";
  11699. }else if (invoice_type == "01") {
  11700. invoice_type_cn="更正(对冲)发票";
  11701. }else if (invoice_type == "02") {
  11702. invoice_type_cn="其它类型发票";
  11703. }
  11704. html += "_$ta";
  11705. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  11706. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11707. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11708. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  11709. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  11710. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  11711. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  11712. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  11713. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  11714. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  11715. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  11716. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  11717. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  11718. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  11719. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  11720. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  11721. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  11722. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  11723. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11724. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  11725. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  11726. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  11727. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  11728. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  11729. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  11730. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  11731. html += "_$tag";
  11732. }
  11733. $("#dataTable").html(html);
  11734. }else {
  11735. $("#dataTable").html("");
  11736. }
  11737. },
  11738. "error" : function(msg){
  11739. },
  11740. "complete": function(){
  11741. layer.close(tip);
  11742. }
  11743. });
  11744. });
  11745. Date.prototype.Format = function (fmt) {
  11746. var o = {
  11747. "M+": this.getMonth() + 1, //月份
  11748. "d+": this.getDate(), //日
  11749. "h+": this.getHours(), //小时
  11750. "m+": this.getMinutes(), //分
  11751. "s+": this.getSeconds(), //秒
  11752. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  11753. "S": this.getMilliseconds() //毫秒
  11754. };
  11755. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  11756. for (var k in o)
  11757. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  11758. return fmt;
  11759. }
  11760. $("#jrjc").change(function() {
  11761. if ($("#jrjc").prop('checked') == true){
  11762. $("#departmentId").removeAttr("disabled");
  11763. }else {
  11764. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  11765. }
  11766. });
  11767. ----------------------------------- SOURCE END -------------------------------------
  11768. !STACK 0
  11769. java.lang.NullPointerException
  11770. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11771. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11772. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11773. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11774. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11775. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11776. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11777. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11778. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11779. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11780. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11781. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11782. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11783. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11784. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11785. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11786. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11787. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11788. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11789. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11790. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11791. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11792. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11793. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11794. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11795. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11796. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11797. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11798. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11799. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11800. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11801. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11802. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11803. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11804. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11805. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11806. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11807. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11808. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11809. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11810. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11811. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11812. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11813. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11814. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11815. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11816. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11817. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11818. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11819. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11820. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11821. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11822. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11823. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11824. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11825. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11826. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11827. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11828. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11829. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11830. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11831. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11832. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11833. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11834. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11835. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11836. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11837. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11838. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11839. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11840. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11841. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11842. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11843. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11844. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11845. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11846. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11847. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11848. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11849. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11850. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11851. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11852. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11853. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11854. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11855. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:51.992
  11856. !MESSAGE java.lang.NullPointerException
  11857. !STACK 1
  11858. JavaScript Model Exception: java.lang.NullPointerException
  11859. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  11860. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  11861. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  11862. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  11863. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  11864. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  11865. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  11866. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  11867. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  11868. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  11869. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  11870. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  11871. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  11872. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  11873. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  11874. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  11875. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  11876. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  11877. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  11878. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  11879. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  11880. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  11881. Caused by: java.lang.NullPointerException
  11882. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11883. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11884. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11885. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11886. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11887. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11888. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11889. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11890. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11891. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11892. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11893. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11894. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11895. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11896. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11897. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11898. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11899. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11900. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11901. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11902. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11903. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11904. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11905. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11906. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11907. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11908. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11909. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11910. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11911. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11912. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11913. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11914. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11915. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11916. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11917. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11918. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11919. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11920. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11921. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11922. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11923. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11924. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11925. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11926. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11927. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11928. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11929. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11930. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11931. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11932. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11933. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11934. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11935. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11936. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11937. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11938. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11939. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  11940. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  11941. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  11942. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  11943. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  11944. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  11945. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  11946. ... 21 more
  11947. Caused by: java.lang.NullPointerException
  11948. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  11949. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  11950. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  11951. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  11952. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  11953. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  11954. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  11955. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  11956. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11957. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11958. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11959. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11960. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11961. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11962. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11963. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11964. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11965. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11966. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11967. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11968. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11969. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11970. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11971. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11972. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  11973. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  11974. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  11975. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  11976. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11977. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11978. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  11979. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11980. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11981. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  11982. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  11983. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  11984. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  11985. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  11986. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11987. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11988. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11989. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  11990. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  11991. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  11992. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  11993. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  11994. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  11995. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  11996. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  11997. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  11998. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  11999. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12000. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12001. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12002. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12003. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12004. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12005. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12006. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12007. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12008. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12009. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  12010. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  12011. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  12012. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  12013. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12014. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12015. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  12016. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  12017. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  12018. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  12019. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  12020. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  12021. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  12022. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  12023. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  12024. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  12025. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  12026. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  12027. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  12028. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  12029. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  12030. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  12031. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  12032. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  12033. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:51.993
  12034. !MESSAGE java.lang.NullPointerException
  12035. !STACK 0
  12036. java.lang.NullPointerException
  12037. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12038. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12039. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12040. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12041. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12042. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12043. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12044. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12045. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12046. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12047. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12048. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12049. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12050. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12051. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12052. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12053. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12054. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12055. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12056. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12057. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12058. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12059. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12060. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12061. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12062. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12063. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12064. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12065. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12066. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12067. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12068. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12069. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12070. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12071. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12072. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12073. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12074. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12075. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12076. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12077. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12078. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12079. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12080. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12081. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12082. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12083. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12084. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12085. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12086. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12087. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12088. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12089. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12090. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12091. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12092. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12093. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12094. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12095. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12096. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12097. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12098. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
  12099. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
  12100. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
  12101. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  12102. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12103. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12104. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  12105. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  12106. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  12107. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  12108. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  12109. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  12110. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  12111. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  12112. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  12113. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  12114. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  12115. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  12116. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  12117. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  12118. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  12119. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  12120. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  12121. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  12122. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:53.479
  12123. !MESSAGE Exception occurred during problem detection:
  12124. ----------------------------------- SOURCE BEGIN -------------------------------------
  12125. (function(){WdatePicker();})();
  12126. (function(){WdatePicker();})();
  12127. (function(){Data.get();})();
  12128. (function(){Data.set();})();
  12129. (function(){search();})();
  12130. $(function(){
  12131. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  12132. getfp();
  12133. });
  12134. var Data = {
  12135. "get" : function(){
  12136. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  12137. var tip = layer.load(2);
  12138. var result="";
  12139. var url = "getgyxml.do";
  12140. $.ajax({
  12141. "url" : url,
  12142. "data" : {
  12143. "start_date" : $("#dateBegin").val(),
  12144. "end_date" : $("#dateEnd").val()
  12145. },
  12146. "type" : "POST",
  12147. "dataType" : "json",
  12148. "success" : function(data) {
  12149. if(data != null && data != ""){
  12150. if ( data.status =="success"){
  12151. getfp();
  12152. alert("获取成功!");
  12153. }else {
  12154. alert(data.status);
  12155. }
  12156. }else {
  12157. alert("获取失败!");
  12158. }
  12159. },
  12160. "complete": function(){
  12161. layer.close(tip);
  12162. }
  12163. });
  12164. }else {
  12165. alert("请选择日期!");
  12166. }
  12167. },
  12168. "set" : function(){
  12169. if ( $("#fpid option:selected").text() !=""){
  12170. var tip = layer.load(2);
  12171. var gitem = $("#form1").serialize();
  12172. var jrjc;
  12173. if ($("#jrjc").prop('checked') == true){
  12174. jrjc = $("#departmentId").val();
  12175. }else {
  12176. jrjc ='N'
  12177. }
  12178. var url = "saverk.do";
  12179. $.ajax({
  12180. "url" : url,
  12181. "data" : {
  12182. "gitem" : gitem,
  12183. "jrjc" : jrjc
  12184. },
  12185. "type" : "POST",
  12186. "dataType" : "json",
  12187. "async" : true,
  12188. "success" : function(data) {
  12189. if(data.status ="success"){
  12190. alert("入库成功!");
  12191. window.location.reload();
  12192. }else {
  12193. alert(msg);
  12194. }
  12195. },
  12196. "error": function(){
  12197. alert("确认失败!");
  12198. },
  12199. "complete": function(){
  12200. layer.close(tip);
  12201. }
  12202. });
  12203. }else {
  12204. alert("请选择发票!");
  12205. }
  12206. }
  12207. }
  12208. function getfp(){
  12209. var tip = layer.load(2);
  12210. var url = "getgyfp.do";
  12211. $.ajax({
  12212. "url" : url,
  12213. "type" : "POST",
  12214. "dataType" : "json",
  12215. "async" : true,
  12216. "success" : function(data) {
  12217. if(data != null && data != ""){
  12218. $("#fpid").empty();
  12219. $("#fpid").append("_$tag_____________$tag____");
  12220. for(var i = 0; i < data.length; i++){
  12221. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  12222. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  12223. }
  12224. }
  12225. },
  12226. "error" : function(msg){
  12227. },
  12228. "complete": function(){
  12229. layer.close(tip);
  12230. }
  12231. });
  12232. }
  12233. $("#fpid").change(function(){
  12234. var tip = layer.load(2);
  12235. var url = "getgyrkxx.do";
  12236. var sum_total;
  12237. $.ajax({
  12238. "url" : url,
  12239. "data" : {
  12240. "fpId" : $("#fpid").val()
  12241. },
  12242. "type" : "POST",
  12243. "dataType" : "json",
  12244. "async" : true,
  12245. "success" : function(data) {
  12246. $("#dataTable").html("");
  12247. if(data != null && data != ""){
  12248. var html = "";
  12249. for(var i = 0; i < data.length; i++){
  12250. var ID = data[i].id == null ? "" : data[i].id;
  12251. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  12252. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  12253. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  12254. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  12255. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  12256. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  12257. var GOODS = data[i].goods == null ? "" : data[i].goods;
  12258. var NAME = data[i].name == null ? "" : data[i].name;
  12259. var SPEC = data[i].spec == null ? "" : data[i].spec;
  12260. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  12261. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  12262. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  12263. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  12264. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  12265. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  12266. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  12267. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  12268. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  12269. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  12270. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  12271. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  12272. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  12273. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  12274. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  12275. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  12276. sum_total = sum_total +
  12277. var invoice_type_cn =null;
  12278. if (invoice_type =="00" ){
  12279. invoice_type_cn="销售发票";
  12280. }else if (invoice_type == "01") {
  12281. invoice_type_cn="更正(对冲)发票";
  12282. }else if (invoice_type == "02") {
  12283. invoice_type_cn="其它类型发票";
  12284. }
  12285. html += "_$ta";
  12286. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  12287. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12288. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12289. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  12290. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  12291. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  12292. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  12293. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  12294. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  12295. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  12296. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  12297. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  12298. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  12299. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  12300. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  12301. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  12302. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  12303. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  12304. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12305. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12306. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  12307. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  12308. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  12309. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  12310. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  12311. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  12312. html += "_$tag";
  12313. }
  12314. $("#dataTable").html(html);
  12315. }else {
  12316. $("#dataTable").html("");
  12317. }
  12318. },
  12319. "error" : function(msg){
  12320. },
  12321. "complete": function(){
  12322. layer.close(tip);
  12323. }
  12324. });
  12325. });
  12326. Date.prototype.Format = function (fmt) {
  12327. var o = {
  12328. "M+": this.getMonth() + 1, //月份
  12329. "d+": this.getDate(), //日
  12330. "h+": this.getHours(), //小时
  12331. "m+": this.getMinutes(), //分
  12332. "s+": this.getSeconds(), //秒
  12333. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  12334. "S": this.getMilliseconds() //毫秒
  12335. };
  12336. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  12337. for (var k in o)
  12338. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  12339. return fmt;
  12340. }
  12341. $("#jrjc").change(function() {
  12342. if ($("#jrjc").prop('checked') == true){
  12343. $("#departmentId").removeAttr("disabled");
  12344. }else {
  12345. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  12346. }
  12347. });
  12348. ----------------------------------- SOURCE END -------------------------------------
  12349. !STACK 0
  12350. java.lang.NullPointerException
  12351. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12352. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12353. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12354. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12355. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12356. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12357. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12358. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12359. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12360. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12361. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12362. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12363. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12364. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12365. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12366. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12367. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12368. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12369. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12370. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12371. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12372. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12373. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12374. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12375. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12376. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12377. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12378. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12379. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12380. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12381. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12382. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12383. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12384. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12385. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12386. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12387. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12388. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12389. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12390. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12391. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12392. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12393. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12394. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12395. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12396. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12397. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12398. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12399. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12400. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12401. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12402. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12403. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12404. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12405. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12406. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12407. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12408. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12409. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12410. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12411. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12412. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:454)
  12413. at org.eclipse.wst.jsdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:596)
  12414. at org.eclipse.wst.jsdt.internal.compiler.Compiler.beginToCompile(Compiler.java:339)
  12415. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:651)
  12416. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:710)
  12417. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:263)
  12418. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:335)
  12419. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:197)
  12420. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  12421. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  12422. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  12423. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  12424. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  12425. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  12426. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  12427. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  12428. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  12429. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  12430. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  12431. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  12432. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  12433. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  12434. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  12435. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  12436. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:53.480
  12437. !MESSAGE java.lang.NullPointerException
  12438. !STACK 1
  12439. JavaScript Model Exception: java.lang.NullPointerException
  12440. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  12441. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:335)
  12442. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:197)
  12443. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  12444. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  12445. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  12446. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  12447. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  12448. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  12449. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  12450. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  12451. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  12452. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  12453. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  12454. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  12455. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  12456. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  12457. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  12458. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  12459. Caused by: java.lang.NullPointerException
  12460. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12461. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12462. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12463. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12464. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12465. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12466. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12467. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12468. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12469. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12470. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12471. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12472. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12473. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12474. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12475. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12476. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12477. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12478. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12479. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12480. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12481. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12482. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12483. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12484. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12485. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12486. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12487. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12488. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12489. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12490. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12491. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12492. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12493. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12494. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12495. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12496. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12497. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12498. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12499. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12500. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12501. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12502. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12503. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12504. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12505. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12506. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12507. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12508. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12509. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12510. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12511. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12512. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12513. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12514. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12515. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12516. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12517. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12518. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12519. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12520. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12521. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:454)
  12522. at org.eclipse.wst.jsdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:596)
  12523. at org.eclipse.wst.jsdt.internal.compiler.Compiler.beginToCompile(Compiler.java:339)
  12524. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:651)
  12525. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:710)
  12526. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:263)
  12527. ... 18 more
  12528. Caused by: java.lang.NullPointerException
  12529. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12530. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12531. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12532. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12533. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12534. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12535. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12536. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12537. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12538. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12539. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12540. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12541. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12542. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12543. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12544. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12545. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12546. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12547. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12548. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12549. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12550. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12551. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12552. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12553. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12554. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12555. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12556. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12557. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12558. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12559. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12560. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12561. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12562. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12563. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12564. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12565. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12566. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12567. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12568. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12569. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12570. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12571. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12572. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12573. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12574. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12575. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12576. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12577. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12578. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12579. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12580. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12581. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12582. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12583. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12584. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12585. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12586. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12587. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12588. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12589. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12590. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:454)
  12591. at org.eclipse.wst.jsdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:596)
  12592. at org.eclipse.wst.jsdt.internal.compiler.Compiler.beginToCompile(Compiler.java:339)
  12593. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:651)
  12594. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:710)
  12595. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:263)
  12596. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:335)
  12597. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:197)
  12598. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  12599. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  12600. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  12601. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  12602. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  12603. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  12604. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  12605. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  12606. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  12607. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  12608. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  12609. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  12610. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  12611. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  12612. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  12613. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  12614. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:53.480
  12615. !MESSAGE java.lang.NullPointerException
  12616. !STACK 0
  12617. java.lang.NullPointerException
  12618. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
  12619. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
  12620. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
  12621. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
  12622. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
  12623. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
  12624. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
  12625. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
  12626. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12627. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12628. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12629. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12630. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12631. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12632. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12633. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12634. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12635. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12636. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12637. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12638. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12639. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12640. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12641. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12642. at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
  12643. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
  12644. at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
  12645. at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
  12646. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12647. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12648. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12649. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12650. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12651. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
  12652. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
  12653. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12654. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12655. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12656. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12657. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12658. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12659. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
  12660. at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
  12661. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
  12662. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12663. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12664. at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
  12665. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
  12666. at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
  12667. at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
  12668. at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
  12669. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
  12670. at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
  12671. at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
  12672. at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
  12673. at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
  12674. at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
  12675. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
  12676. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
  12677. at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
  12678. at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
  12679. at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:454)
  12680. at org.eclipse.wst.jsdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:596)
  12681. at org.eclipse.wst.jsdt.internal.compiler.Compiler.beginToCompile(Compiler.java:339)
  12682. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:651)
  12683. at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:710)
  12684. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:263)
  12685. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:335)
  12686. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:197)
  12687. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  12688. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  12689. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  12690. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  12691. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  12692. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  12693. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  12694. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  12695. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  12696. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  12697. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  12698. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  12699. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  12700. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  12701. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  12702. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  12703. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:27:56.693
  12704. !MESSAGE Exception occurred during problem detection:
  12705. ----------------------------------- SOURCE BEGIN -------------------------------------
  12706. (function(){WdatePicker();})();
  12707. (function(){WdatePicker();})();
  12708. (function(){Data.get();})();
  12709. (function(){Data.set();})();
  12710. (function(){search();})();
  12711. $(function(){
  12712. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  12713. getfp();
  12714. });
  12715. var Data = {
  12716. "get" : function(){
  12717. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  12718. var tip = layer.load(2);
  12719. var result="";
  12720. var url = "getgyxml.do";
  12721. $.ajax({
  12722. "url" : url,
  12723. "data" : {
  12724. "start_date" : $("#dateBegin").val(),
  12725. "end_date" : $("#dateEnd").val()
  12726. },
  12727. "type" : "POST",
  12728. "dataType" : "json",
  12729. "success" : function(data) {
  12730. if(data != null && data != ""){
  12731. if ( data.status =="success"){
  12732. getfp();
  12733. alert("获取成功!");
  12734. }else {
  12735. alert(data.status);
  12736. }
  12737. }else {
  12738. alert("获取失败!");
  12739. }
  12740. },
  12741. "complete": function(){
  12742. layer.close(tip);
  12743. }
  12744. });
  12745. }else {
  12746. alert("请选择日期!");
  12747. }
  12748. },
  12749. "set" : function(){
  12750. if ( $("#fpid option:selected").text() !=""){
  12751. var tip = layer.load(2);
  12752. var gitem = $("#form1").serialize();
  12753. var jrjc;
  12754. if ($("#jrjc").prop('checked') == true){
  12755. jrjc = $("#departmentId").val();
  12756. }else {
  12757. jrjc ='N'
  12758. }
  12759. var url = "saverk.do";
  12760. $.ajax({
  12761. "url" : url,
  12762. "data" : {
  12763. "gitem" : gitem,
  12764. "jrjc" : jrjc
  12765. },
  12766. "type" : "POST",
  12767. "dataType" : "json",
  12768. "async" : true,
  12769. "success" : function(data) {
  12770. if(data.status ="success"){
  12771. alert("入库成功!");
  12772. window.location.reload();
  12773. }else {
  12774. alert(msg);
  12775. }
  12776. },
  12777. "error": function(){
  12778. alert("确认失败!");
  12779. },
  12780. "complete": function(){
  12781. layer.close(tip);
  12782. }
  12783. });
  12784. }else {
  12785. alert("请选择发票!");
  12786. }
  12787. }
  12788. }
  12789. function getfp(){
  12790. var tip = layer.load(2);
  12791. var url = "getgyfp.do";
  12792. $.ajax({
  12793. "url" : url,
  12794. "type" : "POST",
  12795. "dataType" : "json",
  12796. "async" : true,
  12797. "success" : function(data) {
  12798. if(data != null && data != ""){
  12799. $("#fpid").empty();
  12800. $("#fpid").append("_$tag_____________$tag____");
  12801. for(var i = 0; i < data.length; i++){
  12802. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  12803. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  12804. }
  12805. }
  12806. },
  12807. "error" : function(msg){
  12808. },
  12809. "complete": function(){
  12810. layer.close(tip);
  12811. }
  12812. });
  12813. }
  12814. $("#fpid").change(function(){
  12815. var tip = layer.load(2);
  12816. var url = "getgyrkxx.do";
  12817. var sum_total=0;
  12818. $.ajax({
  12819. "url" : url,
  12820. "data" : {
  12821. "fpId" : $("#fpid").val()
  12822. },
  12823. "type" : "POST",
  12824. "dataType" : "json",
  12825. "async" : true,
  12826. "success" : function(data) {
  12827. $("#dataTable").html("");
  12828. if(data != null && data != ""){
  12829. var html = "";
  12830. for(var i = 0; i < data.length; i++){
  12831. var ID = data[i].id == null ? "" : data[i].id;
  12832. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  12833. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  12834. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  12835. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  12836. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  12837. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  12838. var GOODS = data[i].goods == null ? "" : data[i].goods;
  12839. var NAME = data[i].name == null ? "" : data[i].name;
  12840. var SPEC = data[i].spec == null ? "" : data[i].spec;
  12841. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  12842. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  12843. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  12844. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  12845. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  12846. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  12847. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  12848. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  12849. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  12850. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  12851. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  12852. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  12853. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  12854. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  12855. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  12856. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  12857. sum_total = sum_total +
  12858. var invoice_type_cn =null;
  12859. if (invoice_type =="00" ){
  12860. invoice_type_cn="销售发票";
  12861. }else if (invoice_type == "01") {
  12862. invoice_type_cn="更正(对冲)发票";
  12863. }else if (invoice_type == "02") {
  12864. invoice_type_cn="其它类型发票";
  12865. }
  12866. html += "_$ta";
  12867. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  12868. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12869. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12870. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  12871. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  12872. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  12873. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  12874. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  12875. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  12876. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  12877. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  12878. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  12879. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  12880. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  12881. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  12882. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  12883. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  12884. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  12885. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12886. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  12887. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  12888. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  12889. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  12890. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  12891. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  12892. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  12893. html += "_$tag";
  12894. }
  12895. $("#dataTable").html(html);
  12896. }else {
  12897. $("#dataTable").html("");
  12898. }
  12899. },
  12900. "error" : function(msg){
  12901. },
  12902. "complete": function(){
  12903. layer.close(tip);
  12904. }
  12905. });
  12906. });
  12907. Date.prototype.Format = function (fmt) {
  12908. var o = {
  12909. "M+": this.getMonth() + 1, //月份
  12910. "d+": this.getDate(), //日
  12911. "h+": this.getHours(), //小时
  12912. "m+": this.getMinutes(), //分
  12913. "s+": this.getSeconds(), //秒
  12914. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  12915. "S": this.getMilliseconds() //毫秒
  12916. };
  12917. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  12918. for (var k in o)
  12919. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  12920. return fmt;
  12921. }
  12922. $("#jrjc").change(function() {
  12923. if ($("#jrjc").prop('checked') == true){
  12924. $("#departmentId").removeAttr("disabled");
  12925. }else {
  12926. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  12927. }
  12928. });
  12929. ----------------------------------- SOURCE END -------------------------------------
  12930. !STACK 0
  12931. java.lang.NullPointerException
  12932. !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2018-06-21 09:27:56.693
  12933. !MESSAGE java.lang.NullPointerException
  12934. !STACK 1
  12935. JavaScript Model Exception: java.lang.NullPointerException
  12936. at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
  12937. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
  12938. at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
  12939. at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
  12940. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
  12941. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
  12942. at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
  12943. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
  12944. at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
  12945. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
  12946. at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
  12947. at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
  12948. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
  12949. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
  12950. at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
  12951. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
  12952. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
  12953. at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
  12954. at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
  12955. at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
  12956. at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
  12957. at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
  12958. Caused by: java.lang.NullPointerException
  12959. Caused by: java.lang.NullPointerException
  12960. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2018-06-21 09:27:56.693
  12961. !MESSAGE java.lang.NullPointerException
  12962. !STACK 0
  12963. java.lang.NullPointerException
  12964. !ENTRY org.eclipse.wst.jsdt.core 4 4 2018-06-21 09:28:42.053
  12965. !MESSAGE Exception occurred during problem detection:
  12966. ----------------------------------- SOURCE BEGIN -------------------------------------
  12967. (function(){WdatePicker();})();
  12968. (function(){WdatePicker();})();
  12969. (function(){Data.get();})();
  12970. (function(){Data.set();})();
  12971. (function(){search();})();
  12972. $(function(){
  12973. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  12974. getfp();
  12975. });
  12976. var Data = {
  12977. "get" : function(){
  12978. if ( $("#dateBegin").val() !="" && $("#dateEnd").val() !="" ){
  12979. var tip = layer.load(2);
  12980. var result="";
  12981. var url = "getgyxml.do";
  12982. $.ajax({
  12983. "url" : url,
  12984. "data" : {
  12985. "start_date" : $("#dateBegin").val(),
  12986. "end_date" : $("#dateEnd").val()
  12987. },
  12988. "type" : "POST",
  12989. "dataType" : "json",
  12990. "success" : function(data) {
  12991. if(data != null && data != ""){
  12992. if ( data.status =="success"){
  12993. getfp();
  12994. alert("获取成功!");
  12995. }else {
  12996. alert(data.status);
  12997. }
  12998. }else {
  12999. alert("获取失败!");
  13000. }
  13001. },
  13002. "complete": function(){
  13003. layer.close(tip);
  13004. }
  13005. });
  13006. }else {
  13007. alert("请选择日期!");
  13008. }
  13009. },
  13010. "set" : function(){
  13011. if ( $("#fpid option:selected").text() !=""){
  13012. var tip = layer.load(2);
  13013. var gitem = $("#form1").serialize();
  13014. var jrjc;
  13015. if ($("#jrjc").prop('checked') == true){
  13016. jrjc = $("#departmentId").val();
  13017. }else {
  13018. jrjc ='N'
  13019. }
  13020. var url = "saverk.do";
  13021. $.ajax({
  13022. "url" : url,
  13023. "data" : {
  13024. "gitem" : gitem,
  13025. "jrjc" : jrjc
  13026. },
  13027. "type" : "POST",
  13028. "dataType" : "json",
  13029. "async" : true,
  13030. "success" : function(data) {
  13031. if(data.status ="success"){
  13032. alert("入库成功!");
  13033. window.location.reload();
  13034. }else {
  13035. alert(msg);
  13036. }
  13037. },
  13038. "error": function(){
  13039. alert("确认失败!");
  13040. },
  13041. "complete": function(){
  13042. layer.close(tip);
  13043. }
  13044. });
  13045. }else {
  13046. alert("请选择发票!");
  13047. }
  13048. }
  13049. }
  13050. function getfp(){
  13051. var tip = layer.load(2);
  13052. var url = "getgyfp.do";
  13053. $.ajax({
  13054. "url" : url,
  13055. "type" : "POST",
  13056. "dataType" : "json",
  13057. "async" : true,
  13058. "success" : function(data) {
  13059. if(data != null && data != ""){
  13060. $("#fpid").empty();
  13061. $("#fpid").append("_$tag_____________$tag____");
  13062. for(var i = 0; i < data.length; i++){
  13063. var invoiceno = data[i].INVOICENO == null ? "" : data[i].INVOICENO;
  13064. $("#fpid").append("_$tag_________________________"+invoiceno+"_$tag____");
  13065. }
  13066. }
  13067. },
  13068. "error" : function(msg){
  13069. },
  13070. "complete": function(){
  13071. layer.close(tip);
  13072. }
  13073. });
  13074. }
  13075. $("#fpid").change(function(){
  13076. var tip = layer.load(2);
  13077. var url = "getgyrkxx.do";
  13078. var sum_total=0;
  13079. $.ajax({
  13080. "url" : url,
  13081. "data" : {
  13082. "fpId" : $("#fpid").val()
  13083. },
  13084. "type" : "POST",
  13085. "dataType" : "json",
  13086. "async" : true,
  13087. "success" : function(data) {
  13088. $("#dataTable").html("");
  13089. if(data != null && data != ""){
  13090. var html = "";
  13091. for(var i = 0; i < data.length; i++){
  13092. var ID = data[i].id == null ? "" : data[i].id;
  13093. var INVOICENO = data[i].invoiceno == null ? "" : data[i].invoiceno;
  13094. var INVOICEID = data[i].invoiceid == null ? "" : data[i].invoiceid;
  13095. var INVOICEDATE = data[i].invoicedate == null ? "" : new Date(data[i].invoicedate).Format("yyyy-MM-dd");
  13096. var HOSDEPTCODE = data[i].hosdeptcode == null ? "" : data[i].hosdeptcode;
  13097. var DEALHOSCODE = data[i].dealhoscode == null ? "" : data[i].dealhoscode;
  13098. var DEALHOSNAME = data[i].dealhosname == null ? "" : data[i].dealhosname;
  13099. var GOODS = data[i].goods == null ? "" : data[i].goods;
  13100. var NAME = data[i].name == null ? "" : data[i].name;
  13101. var SPEC = data[i].spec == null ? "" : data[i].spec;
  13102. var PRODUCER = data[i].producer == null ? "" : data[i].producer;
  13103. var MSUNITNO = data[i].msunitno == null ? "" : data[i].msunitno;
  13104. var DBILLQTY = data[i].dbillqty == null ? "" : data[i].dbillqty;
  13105. var DPRC = data[i].dprc == null ? "" : data[i].dprc;
  13106. var TRDPRC = data[i].trdprc == null ? "" : data[i].trdprc;
  13107. var RTLPRC = data[i].rtlprc == null ? "" : data[i].rtlprc;
  13108. var LOTNO = data[i].lotno == null ? "" : data[i].lotno;
  13109. var ENDDATE = data[i].enddate == null ? "" : new Date(data[i].enddate).Format("yyyy-MM-dd");
  13110. var DSUMVALUE = data[i].dsumvalue == null ? "" : data[i].dsumvalue;
  13111. var CREATE_DT = data[i].create_dt == null ? "" : data[i].create_dt;
  13112. var SALEBILLID = data[i].salebillid == null ? "" : data[i].salebillid;
  13113. var GRPNO = data[i].grpno == null ? "" : data[i].grpno;
  13114. var DEALHOSCODEZY = data[i].dealhoscodezy == null ? "" : data[i].dealhoscodezy;
  13115. var PROADD = data[i].proadd == null ? "" : data[i].proadd;
  13116. var PT_CODE = data[i].pt_code == null ? "" : data[i].pt_code;
  13117. var invoice_type = data[i].invoice_type == null ? "" : data[i].invoice_type;
  13118. sum_total = sum_total + DPRC
  13119. var invoice_type_cn =null;
  13120. if (invoice_type =="00" ){
  13121. invoice_type_cn="销售发票";
  13122. }else if (invoice_type == "01") {
  13123. invoice_type_cn="更正(对冲)发票";
  13124. }else if (invoice_type == "02") {
  13125. invoice_type_cn="其它类型发票";
  13126. }
  13127. html += "_$ta";
  13128. html += "_$tag_____________$tag________________________________________________________________________________________________________________$tag";
  13129. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  13130. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  13131. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  13132. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  13133. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________$tag";
  13134. html += "_$tag_____________$tag___________________________________________________________________________________________________________________________________$tag";
  13135. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  13136. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  13137. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________$tag";
  13138. html += "_$tag_____________$tag_____________________________________________________________________________________________________________________________$tag";
  13139. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  13140. html += "_$tag_____________$tag____________________________________________________________________________________________________________________________$tag";
  13141. html += "_$tag_____________$tag____________________________________________________________________________________________________________________$tag";
  13142. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  13143. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  13144. html += "_$tag_____________$tag______________________________________________________________________________________________________________________$tag";
  13145. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  13146. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  13147. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________$tag";
  13148. html += "_$tag_____________$tag________________________________________________________________________________________________________________________________$tag";
  13149. html += "_$tag_____________$tag_______________________________________________________________________________________________________________________$tag";
  13150. html += "_$tag_____________$tag______________________________________________________________________________________________________________________________________$tag";
  13151. html += "_$tag_____________$tag________________________________________________________________________________________________________________________$tag";
  13152. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________$tag";
  13153. html += "_$tag_____________$tag__________________________________________________________________________________________________________________________________________$tag";
  13154. html += "_$tag";
  13155. }
  13156. $("#dataTable").html(html);
  13157. }else {
  13158. $("#dataTable").html("");
  13159. }
  13160. },
  13161. "error" : function(msg){
  13162. },
  13163. "complete": function(){
  13164. layer.close(tip);
  13165. }
  13166. });
  13167. });
  13168. Date.prototype.Format = function (fmt) {
  13169. var o = {
  13170. "M+": this.getMonth() + 1, //月份
  13171. "d+": this.getDate(), //日
  13172. "h+": this.getHours(), //小时
  13173. "m+": this.getMinutes(), //分
  13174. "s+": this.getSeconds(), //秒
  13175. "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  13176. "S": this.getMilliseconds() //毫秒
  13177. };
  13178. if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  13179. for (var k in o)
  13180. if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  13181. return fmt;
  13182. }
  13183. $("#jrjc").change(function() {
  13184. if ($("#jrjc").prop('checked') == true){
  13185. $("#departmentId").removeAttr("disabled");
  13186. }else {
  13187. $("#departmentId").attr("disabled","disabled").css("background-color","#EEEEEE;");
  13188. }
  13189. });
  13190. ----------------------------------- SOURCE END -------------------------------------
  13191. !STACK 0
  13192. java.lang.NullPointerException