w_subject_audit.srw 120 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831
  1. $PBExportHeader$w_subject_audit.srw
  2. forward
  3. global type w_subject_audit from w_publ_easyq
  4. end type
  5. type st_2 from statictext within w_subject_audit
  6. end type
  7. type st_5 from statictext within w_subject_audit
  8. end type
  9. type ddlb_status from dropdownlistbox within w_subject_audit
  10. end type
  11. type tab_1 from tab within w_subject_audit
  12. end type
  13. type tabpage_1 from userobject within tab_1
  14. end type
  15. type dw_outware_sale from u_dw_rbtnfilter within tabpage_1
  16. end type
  17. type tabpage_1 from userobject within tab_1
  18. dw_outware_sale dw_outware_sale
  19. end type
  20. type tabpage_2 from userobject within tab_1
  21. end type
  22. type dw_outware_sale_th from u_dw_rbtnfilter within tabpage_2
  23. end type
  24. type tabpage_2 from userobject within tab_1
  25. dw_outware_sale_th dw_outware_sale_th
  26. end type
  27. type tabpage_3 from userobject within tab_1
  28. end type
  29. type dw_cus_reissue_bj from u_dw_rbtnfilter within tabpage_3
  30. end type
  31. type tabpage_3 from userobject within tab_1
  32. dw_cus_reissue_bj dw_cus_reissue_bj
  33. end type
  34. type tabpage_4 from userobject within tab_1
  35. end type
  36. type dw_cus_reissue from u_dw_rbtnfilter within tabpage_4
  37. end type
  38. type tabpage_4 from userobject within tab_1
  39. dw_cus_reissue dw_cus_reissue
  40. end type
  41. type tabpage_5 from userobject within tab_1
  42. end type
  43. type dw_cus_giveback from u_dw_rbtnfilter within tabpage_5
  44. end type
  45. type tabpage_5 from userobject within tab_1
  46. dw_cus_giveback dw_cus_giveback
  47. end type
  48. type tabpage_6 from userobject within tab_1
  49. end type
  50. type dw_inware_buy from u_dw_rbtnfilter within tabpage_6
  51. end type
  52. type tabpage_6 from userobject within tab_1
  53. dw_inware_buy dw_inware_buy
  54. end type
  55. type tabpage_7 from userobject within tab_1
  56. end type
  57. type dw_inware_buy_th from u_dw_rbtnfilter within tabpage_7
  58. end type
  59. type tabpage_7 from userobject within tab_1
  60. dw_inware_buy_th dw_inware_buy_th
  61. end type
  62. type tabpage_8 from userobject within tab_1
  63. end type
  64. type dw_spt_amerce from u_dw_rbtnfilter within tabpage_8
  65. end type
  66. type tabpage_8 from userobject within tab_1
  67. dw_spt_amerce dw_spt_amerce
  68. end type
  69. type tabpage_9 from userobject within tab_1
  70. end type
  71. type dw_spt_reissue from u_dw_rbtnfilter within tabpage_9
  72. end type
  73. type tabpage_9 from userobject within tab_1
  74. dw_spt_reissue dw_spt_reissue
  75. end type
  76. type tabpage_10 from userobject within tab_1
  77. end type
  78. type dw_outware_wfjg from u_dw_rbtnfilter within tabpage_10
  79. end type
  80. type tabpage_10 from userobject within tab_1
  81. dw_outware_wfjg dw_outware_wfjg
  82. end type
  83. type tabpage_11 from userobject within tab_1
  84. end type
  85. type dw_outware_wfjg_th from u_dw_rbtnfilter within tabpage_11
  86. end type
  87. type tabpage_11 from userobject within tab_1
  88. dw_outware_wfjg_th dw_outware_wfjg_th
  89. end type
  90. type tabpage_12 from userobject within tab_1
  91. end type
  92. type dw_inware_wfjg from u_dw_rbtnfilter within tabpage_12
  93. end type
  94. type tabpage_12 from userobject within tab_1
  95. dw_inware_wfjg dw_inware_wfjg
  96. end type
  97. type tabpage_13 from userobject within tab_1
  98. end type
  99. type dw_inware_wfjg_th from u_dw_rbtnfilter within tabpage_13
  100. end type
  101. type tabpage_13 from userobject within tab_1
  102. dw_inware_wfjg_th dw_inware_wfjg_th
  103. end type
  104. type tabpage_14 from userobject within tab_1
  105. end type
  106. type dw_outware_scll from u_dw_rbtnfilter within tabpage_14
  107. end type
  108. type tabpage_14 from userobject within tab_1
  109. dw_outware_scll dw_outware_scll
  110. end type
  111. type tabpage_15 from userobject within tab_1
  112. end type
  113. type dw_outware_other from u_dw_rbtnfilter within tabpage_15
  114. end type
  115. type tabpage_15 from userobject within tab_1
  116. dw_outware_other dw_outware_other
  117. end type
  118. type tabpage_16 from userobject within tab_1
  119. end type
  120. type dw_outware_pk from u_dw_rbtnfilter within tabpage_16
  121. end type
  122. type tabpage_16 from userobject within tab_1
  123. dw_outware_pk dw_outware_pk
  124. end type
  125. type tabpage_17 from userobject within tab_1
  126. end type
  127. type dw_inware_cp from u_dw_rbtnfilter within tabpage_17
  128. end type
  129. type tabpage_17 from userobject within tab_1
  130. dw_inware_cp dw_inware_cp
  131. end type
  132. type tabpage_18 from userobject within tab_1
  133. end type
  134. type dw_inware_other from u_dw_rbtnfilter within tabpage_18
  135. end type
  136. type tabpage_18 from userobject within tab_1
  137. dw_inware_other dw_inware_other
  138. end type
  139. type tabpage_19 from userobject within tab_1
  140. end type
  141. type dw_inware_py from u_dw_rbtnfilter within tabpage_19
  142. end type
  143. type tabpage_19 from userobject within tab_1
  144. dw_inware_py dw_inware_py
  145. end type
  146. type tabpage_20 from userobject within tab_1
  147. end type
  148. type dw_outware_gj from u_dw_rbtnfilter within tabpage_20
  149. end type
  150. type tabpage_20 from userobject within tab_1
  151. dw_outware_gj dw_outware_gj
  152. end type
  153. type tabpage_21 from userobject within tab_1
  154. end type
  155. type dw_outware_move from u_dw_rbtnfilter within tabpage_21
  156. end type
  157. type tabpage_21 from userobject within tab_1
  158. dw_outware_move dw_outware_move
  159. end type
  160. type tabpage_22 from userobject within tab_1
  161. end type
  162. type dw_update_cost from u_dw_rbtnfilter within tabpage_22
  163. end type
  164. type tabpage_22 from userobject within tab_1
  165. dw_update_cost dw_update_cost
  166. end type
  167. type tabpage_23 from userobject within tab_1
  168. end type
  169. type dw_outware_installout from u_dw_rbtnfilter within tabpage_23
  170. end type
  171. type tabpage_23 from userobject within tab_1
  172. dw_outware_installout dw_outware_installout
  173. end type
  174. type tabpage_24 from userobject within tab_1
  175. end type
  176. type dw_inware_installin from u_dw_rbtnfilter within tabpage_24
  177. end type
  178. type tabpage_24 from userobject within tab_1
  179. dw_inware_installin dw_inware_installin
  180. end type
  181. type tabpage_25 from userobject within tab_1
  182. end type
  183. type dw_cusamt_edit from u_dw_rbtnfilter within tabpage_25
  184. end type
  185. type tabpage_25 from userobject within tab_1
  186. dw_cusamt_edit dw_cusamt_edit
  187. end type
  188. type tabpage_26 from userobject within tab_1
  189. end type
  190. type dw_msttake_other from u_dw_rbtnfilter within tabpage_26
  191. end type
  192. type tabpage_26 from userobject within tab_1
  193. dw_msttake_other dw_msttake_other
  194. end type
  195. type tabpage_27 from userobject within tab_1
  196. end type
  197. type dw_cusamt_other from u_dw_rbtnfilter within tabpage_27
  198. end type
  199. type tabpage_27 from userobject within tab_1
  200. dw_cusamt_other dw_cusamt_other
  201. end type
  202. type tabpage_28 from userobject within tab_1
  203. end type
  204. type dw_sptamt_edit from u_dw_rbtnfilter within tabpage_28
  205. end type
  206. type tabpage_28 from userobject within tab_1
  207. dw_sptamt_edit dw_sptamt_edit
  208. end type
  209. type tabpage_29 from userobject within tab_1
  210. end type
  211. type dw_mstpay_other from u_dw_rbtnfilter within tabpage_29
  212. end type
  213. type tabpage_29 from userobject within tab_1
  214. dw_mstpay_other dw_mstpay_other
  215. end type
  216. type tabpage_30 from userobject within tab_1
  217. end type
  218. type dw_sptamt_other from u_dw_rbtnfilter within tabpage_30
  219. end type
  220. type tabpage_30 from userobject within tab_1
  221. dw_sptamt_other dw_sptamt_other
  222. end type
  223. type tabpage_31 from userobject within tab_1
  224. end type
  225. type dw_income_expenses from u_dw_rbtnfilter within tabpage_31
  226. end type
  227. type tabpage_31 from userobject within tab_1
  228. dw_income_expenses dw_income_expenses
  229. end type
  230. type tabpage_32 from userobject within tab_1
  231. end type
  232. type dw_income_expenses_out from u_dw_rbtnfilter within tabpage_32
  233. end type
  234. type tabpage_32 from userobject within tab_1
  235. dw_income_expenses_out dw_income_expenses_out
  236. end type
  237. type tabpage_33 from userobject within tab_1
  238. end type
  239. type dw_rap_money_transfer from u_dw_rbtnfilter within tabpage_33
  240. end type
  241. type tabpage_33 from userobject within tab_1
  242. dw_rap_money_transfer dw_rap_money_transfer
  243. end type
  244. type tabpage_34 from userobject within tab_1
  245. end type
  246. type dw_bmstamt_edit from u_dw_rbtnfilter within tabpage_34
  247. end type
  248. type tabpage_34 from userobject within tab_1
  249. dw_bmstamt_edit dw_bmstamt_edit
  250. end type
  251. type tabpage_35 from userobject within tab_1
  252. end type
  253. type dw_bmstamt_spt from u_dw_rbtnfilter within tabpage_35
  254. end type
  255. type tabpage_35 from userobject within tab_1
  256. dw_bmstamt_spt dw_bmstamt_spt
  257. end type
  258. type tabpage_36 from userobject within tab_1
  259. end type
  260. type dw_gz_loanwage from u_dw_rbtnfilter within tabpage_36
  261. end type
  262. type tabpage_36 from userobject within tab_1
  263. dw_gz_loanwage dw_gz_loanwage
  264. end type
  265. type tabpage_37 from userobject within tab_1
  266. end type
  267. type dw_gz_award_punish from u_dw_rbtnfilter within tabpage_37
  268. end type
  269. type tabpage_37 from userobject within tab_1
  270. dw_gz_award_punish dw_gz_award_punish
  271. end type
  272. type tabpage_180 from userobject within tab_1
  273. end type
  274. type dw_inware_rec from u_dw_rbtnfilter within tabpage_180
  275. end type
  276. type tabpage_180 from userobject within tab_1
  277. dw_inware_rec dw_inware_rec
  278. end type
  279. type tabpage_340 from userobject within tab_1
  280. end type
  281. type tabpage_340 from userobject within tab_1
  282. end type
  283. type tab_1 from tab within w_subject_audit
  284. tabpage_1 tabpage_1
  285. tabpage_2 tabpage_2
  286. tabpage_3 tabpage_3
  287. tabpage_4 tabpage_4
  288. tabpage_5 tabpage_5
  289. tabpage_6 tabpage_6
  290. tabpage_7 tabpage_7
  291. tabpage_8 tabpage_8
  292. tabpage_9 tabpage_9
  293. tabpage_10 tabpage_10
  294. tabpage_11 tabpage_11
  295. tabpage_12 tabpage_12
  296. tabpage_13 tabpage_13
  297. tabpage_14 tabpage_14
  298. tabpage_15 tabpage_15
  299. tabpage_16 tabpage_16
  300. tabpage_17 tabpage_17
  301. tabpage_18 tabpage_18
  302. tabpage_19 tabpage_19
  303. tabpage_20 tabpage_20
  304. tabpage_21 tabpage_21
  305. tabpage_22 tabpage_22
  306. tabpage_23 tabpage_23
  307. tabpage_24 tabpage_24
  308. tabpage_25 tabpage_25
  309. tabpage_26 tabpage_26
  310. tabpage_27 tabpage_27
  311. tabpage_28 tabpage_28
  312. tabpage_29 tabpage_29
  313. tabpage_30 tabpage_30
  314. tabpage_31 tabpage_31
  315. tabpage_32 tabpage_32
  316. tabpage_33 tabpage_33
  317. tabpage_34 tabpage_34
  318. tabpage_35 tabpage_35
  319. tabpage_36 tabpage_36
  320. tabpage_37 tabpage_37
  321. tabpage_180 tabpage_180
  322. tabpage_340 tabpage_340
  323. end type
  324. type cb_auditing from uo_imflatbutton within w_subject_audit
  325. end type
  326. type cb_auditing_cancel from uo_imflatbutton within w_subject_audit
  327. end type
  328. type cb_allc from commandbutton within w_subject_audit
  329. end type
  330. type cb_allc_not from commandbutton within w_subject_audit
  331. end type
  332. type cbx_inout from checkbox within w_subject_audit
  333. end type
  334. type dw_mx from u_dw_rbtnfilter within w_subject_audit
  335. end type
  336. type st_1 from statictext within w_subject_audit
  337. end type
  338. type ddlb_cmonth from dropdownlistbox within w_subject_audit
  339. end type
  340. type ddlb_scid from uo_ddlb_scid_notall within w_subject_audit
  341. end type
  342. type st_6 from statictext within w_subject_audit
  343. end type
  344. type dw_index from u_dw_rbtnfilter within w_subject_audit
  345. end type
  346. end forward
  347. global type w_subject_audit from w_publ_easyq
  348. integer x = 9
  349. integer y = 12
  350. integer width = 5728
  351. integer height = 2664
  352. string title = "单据总账审核"
  353. st_2 st_2
  354. st_5 st_5
  355. ddlb_status ddlb_status
  356. tab_1 tab_1
  357. cb_auditing cb_auditing
  358. cb_auditing_cancel cb_auditing_cancel
  359. cb_allc cb_allc
  360. cb_allc_not cb_allc_not
  361. cbx_inout cbx_inout
  362. dw_mx dw_mx
  363. st_1 st_1
  364. ddlb_cmonth ddlb_cmonth
  365. ddlb_scid ddlb_scid
  366. st_6 st_6
  367. dw_index dw_index
  368. end type
  369. global w_subject_audit w_subject_audit
  370. type variables
  371. Int cur_flag = 0
  372. Long cur_scid_arr[],cur_scid
  373. Long cur_cmonth
  374. DateTime first_date,end_date
  375. uo_bill_cwaudit uo_cwaudit
  376. end variables
  377. forward prototypes
  378. public subroutine wf_retr ()
  379. public subroutine wf_retr_mx (long arg_scid, long arg_billid)
  380. public subroutine wf_do (integer arg_type)
  381. end prototypes
  382. public subroutine wf_retr ();Long ll_row,ll_credid
  383. f_rst_cmonth_date(cur_cmonth,first_date,end_date)
  384. ll_row = dw_index.GetRow()
  385. IF ll_row <= 0 THEN
  386. tab_1.Visible = False
  387. ELSE
  388. tab_1.Visible = True
  389. ll_credid = dw_index.Object.credid[ll_row]
  390. END IF
  391. tab_1.SetRedraw(False)
  392. tab_1.tabpage_1.Visible = (ll_credid = 1)
  393. tab_1.tabpage_2.Visible = (ll_credid = 2)
  394. tab_1.tabpage_3.Visible = (ll_credid = 3)
  395. tab_1.tabpage_4.Visible = (ll_credid = 4)
  396. tab_1.tabpage_5.Visible = (ll_credid = 5)
  397. tab_1.tabpage_6.Visible = (ll_credid = 6)
  398. tab_1.tabpage_7.Visible = (ll_credid = 7)
  399. tab_1.tabpage_8.Visible = (ll_credid = 8)
  400. tab_1.tabpage_9.Visible = (ll_credid = 9)
  401. tab_1.tabpage_10.Visible = (ll_credid = 10)
  402. tab_1.tabpage_11.Visible = (ll_credid = 11)
  403. tab_1.tabpage_12.Visible = (ll_credid = 12)
  404. tab_1.tabpage_13.Visible = (ll_credid = 13)
  405. tab_1.tabpage_14.Visible = (ll_credid = 14)
  406. tab_1.tabpage_15.Visible = (ll_credid = 15)
  407. tab_1.tabpage_16.Visible = (ll_credid = 16)
  408. tab_1.tabpage_17.Visible = (ll_credid = 17)
  409. tab_1.tabpage_18.Visible = (ll_credid = 18)
  410. tab_1.tabpage_19.Visible = (ll_credid = 19)
  411. tab_1.tabpage_20.Visible = (ll_credid = 20)
  412. tab_1.tabpage_21.Visible = (ll_credid = 21)
  413. tab_1.tabpage_22.Visible = (ll_credid = 22)
  414. tab_1.tabpage_23.Visible = (ll_credid = 23)
  415. tab_1.tabpage_24.Visible = (ll_credid = 24)
  416. tab_1.tabpage_25.Visible = (ll_credid = 25)
  417. tab_1.tabpage_26.Visible = (ll_credid = 26)
  418. tab_1.tabpage_27.Visible = (ll_credid = 27)
  419. tab_1.tabpage_28.Visible = (ll_credid = 28)
  420. tab_1.tabpage_29.Visible = (ll_credid = 29)
  421. tab_1.tabpage_30.Visible = (ll_credid = 30)
  422. tab_1.tabpage_31.Visible = (ll_credid = 31)
  423. tab_1.tabpage_32.Visible = (ll_credid = 32)
  424. tab_1.tabpage_33.Visible = (ll_credid = 33)
  425. tab_1.tabpage_34.Visible = (ll_credid = 34)
  426. tab_1.tabpage_35.Visible = (ll_credid = 35)
  427. tab_1.selecttab(ll_credid)
  428. //tab_1.SelectedTab = ll_credid
  429. tab_1.SetRedraw(True)
  430. CHOOSE CASE ll_credid
  431. CASE 1 //销售发货单
  432. tab_1.tabpage_1.dw_outware_sale.Retrieve(cur_scid_arr,cur_flag,first_date,end_date,0)
  433. CASE 2 //销售退货单
  434. tab_1.tabpage_2.dw_outware_sale_th.Retrieve(cur_scid_arr,cur_flag,first_date,end_date,1)
  435. CASE 3 //客户补件单
  436. tab_1.tabpage_3.dw_cus_reissue_bj.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  437. CASE 4 //客户费用单
  438. tab_1.tabpage_4.dw_cus_reissue.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  439. CASE 5 //客户返利单
  440. tab_1.tabpage_5.dw_cus_giveback.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  441. CASE 6 //采购收货单
  442. tab_1.tabpage_6.dw_inware_buy.Retrieve(cur_scid_arr,cur_flag,first_date,end_date,0)
  443. CASE 7 //采购退货单
  444. tab_1.tabpage_7.dw_inware_buy_th.Retrieve(cur_scid_arr,cur_flag,first_date,end_date,1)
  445. CASE 8 //供应商罚款单
  446. tab_1.tabpage_8.dw_spt_amerce.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  447. CASE 9 //供应商费用单
  448. tab_1.tabpage_9.dw_spt_reissue.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  449. CASE 10 //外协发出单
  450. //tab_1.tabpage_10.dw_outware_wfjg.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  451. CASE 11 //外协退回单
  452. //tab_1.tabpage_11.dw_outware_wfjg.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  453. CASE 12 //外协收货单
  454. //tab_1.tabpage_12.dw_inware_wfjg.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  455. CASE 13 //外协返工单
  456. //tab_1.tabpage_13.dw_inware_wfjg_th.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  457. CASE 14 //领料出仓单
  458. tab_1.tabpage_14.dw_outware_scll.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  459. CASE 15 //其他出仓单
  460. tab_1.tabpage_15.dw_outware_other.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  461. CASE 16 //盘亏单
  462. tab_1.tabpage_16.dw_outware_pk.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  463. CASE 17 //生产进仓单
  464. tab_1.tabpage_17.dw_inware_cp.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  465. CASE 18 //其他进仓单
  466. tab_1.tabpage_18.dw_inware_other.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  467. CASE 19 //盘盈单
  468. tab_1.tabpage_19.dw_inware_py.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  469. CASE 20 //扣费品领用单
  470. tab_1.tabpage_20.dw_outware_gj.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  471. CASE 21 //调拨单
  472. tab_1.tabpage_21.dw_outware_move.Retrieve(cur_flag,first_date,end_date)
  473. CASE 22
  474. //tab_1.tabpage_22.dw_update_cost.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  475. CASE 23
  476. //tab_1.tabpage_23.dw_outware_installout.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  477. CASE 24
  478. //tab_1.tabpage_24.dw_inware_installin.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  479. CASE 25 //客户收款单
  480. tab_1.tabpage_25.dw_cusamt_edit.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  481. CASE 26 //其它应收单
  482. tab_1.tabpage_26.dw_msttake_other.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  483. CASE 27 //其它收款单
  484. tab_1.tabpage_27.dw_cusamt_other.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  485. CASE 28 //供应商付款单
  486. tab_1.tabpage_28.dw_sptamt_edit.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  487. CASE 29 //其它应付单
  488. tab_1.tabpage_29.dw_mstpay_other.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  489. tab_1.tabpage_29.Text = '' + '(' + String(tab_1.tabpage_29.dw_mstpay_other.Describe("Evaluate('no_flag',0)")) + ')'
  490. CASE 30 //其它付款单
  491. tab_1.tabpage_30.dw_sptamt_other.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  492. CASE 31 //其它收入单
  493. tab_1.tabpage_31.dw_income_expenses.Retrieve(cur_scid_arr,cur_flag,first_date,end_date,1)
  494. CASE 32 //其它支出单
  495. tab_1.tabpage_32.dw_income_expenses_out.Retrieve(cur_scid_arr,cur_flag,first_date,end_date,-1)
  496. CASE 33 //转账单
  497. tab_1.tabpage_33.dw_rap_money_transfer.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  498. CASE 34 //客户收款结算单
  499. tab_1.tabpage_34.dw_bmstamt_edit.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  500. CASE 35 //供应商付款结算单
  501. tab_1.tabpage_35.dw_bmstamt_spt.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  502. //工资
  503. CASE 38
  504. //tab_1.tabpage_21.dw_gz_loanwage.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  505. //tab_1.tabpage_21.Text = '借支单' + '(' + String(tab_1.tabpage_21.dw_gz_loanwage.Describe("Evaluate('no_flag',0)")) + ')'
  506. CASE 39
  507. //tab_1.tabpage_22.dw_gz_award_punish.Retrieve(cur_scid_arr,cur_flag,first_date,end_date)
  508. //tab_1.tabpage_22.Text = '奖罚单' + '(' + String(tab_1.tabpage_22.dw_gz_award_punish.Describe("Evaluate('no_flag',0)")) + ')'
  509. END CHOOSE
  510. end subroutine
  511. public subroutine wf_retr_mx (long arg_scid, long arg_billid);IF cbx_inout.Checked = False THEN RETURN
  512. CHOOSE CASE tab_1.SelectedTab
  513. CASE 1
  514. dw_mx.Retrieve(arg_scid,arg_billid)
  515. CASE 2
  516. dw_mx.Retrieve(arg_scid,arg_billid)
  517. CASE 3
  518. dw_mx.Retrieve(arg_scid,arg_billid)
  519. CASE 4
  520. dw_mx.Retrieve(arg_scid,arg_billid)
  521. CASE 5
  522. dw_mx.Retrieve(arg_scid,arg_billid)
  523. CASE 6
  524. dw_mx.Retrieve(arg_scid,arg_billid)
  525. CASE 7
  526. dw_mx.Retrieve(arg_scid,arg_billid)
  527. CASE 8
  528. dw_mx.Retrieve(arg_scid,arg_billid)
  529. CASE 9
  530. dw_mx.Retrieve(arg_scid,arg_billid)
  531. CASE 10
  532. dw_mx.Retrieve(arg_scid,arg_billid)
  533. CASE 11
  534. dw_mx.Retrieve(arg_scid,arg_billid)
  535. CASE 12
  536. dw_mx.Retrieve(arg_scid,arg_billid)
  537. CASE 13
  538. dw_mx.Retrieve(arg_scid,arg_billid)
  539. CASE 14
  540. dw_mx.Retrieve(arg_scid,arg_billid)
  541. CASE 15
  542. dw_mx.Retrieve(arg_scid,arg_billid)
  543. CASE 16
  544. dw_mx.Retrieve(arg_scid,arg_billid)
  545. CASE 17
  546. dw_mx.Retrieve(arg_scid,arg_billid)
  547. CASE 18
  548. dw_mx.Retrieve(arg_scid,arg_billid)
  549. CASE 19
  550. dw_mx.DataObject = ''
  551. CASE 20
  552. dw_mx.DataObject = ''
  553. CASE 21
  554. dw_mx.DataObject = ''
  555. CASE 22
  556. dw_mx.DataObject = ''
  557. CASE 23
  558. dw_mx.DataObject = ''
  559. CASE 24
  560. dw_mx.DataObject = ''
  561. CASE 25
  562. dw_mx.Retrieve(arg_billid)
  563. CASE 26
  564. dw_mx.DataObject = ''
  565. CASE 27
  566. dw_mx.DataObject = ''
  567. CASE 28
  568. dw_mx.DataObject = ''
  569. END CHOOSE
  570. end subroutine
  571. public subroutine wf_do (integer arg_type);String arg_msg
  572. Long i,ch
  573. Long ll_billid_array[]
  574. String ls_billcode_array[]
  575. String ls_billname
  576. Long ll_row,ll_credid
  577. ll_row = dw_index.GetRow()
  578. IF ll_row <= 0 THEN
  579. return
  580. ELSE
  581. ll_credid = dw_index.Object.credid[ll_row]
  582. END IF
  583. CHOOSE CASE ll_credid
  584. CASE 1 //销售发货单
  585. ls_billname = '销售发货单'
  586. tab_1.tabpage_1.dw_outware_sale.AcceptText()
  587. FOR i = 1 To tab_1.tabpage_1.dw_outware_sale.RowCount()
  588. IF tab_1.tabpage_1.dw_outware_sale.Object.ch[i] = 1 THEN
  589. ch++
  590. ll_billid_array[ch] = tab_1.tabpage_1.dw_outware_sale.Object.u_outware_outwareid[i]
  591. ls_billcode_array[ch] = tab_1.tabpage_1.dw_outware_sale.Object.u_outware_outwarecode[i]
  592. END IF
  593. NEXT
  594. CASE 2 //销售退货单
  595. ls_billname = '销售退货单'
  596. tab_1.tabpage_2.dw_outware_sale_th.AcceptText()
  597. FOR i = 1 To tab_1.tabpage_2.dw_outware_sale_th.RowCount()
  598. IF tab_1.tabpage_2.dw_outware_sale_th.Object.ch[i] = 1 THEN
  599. ch++
  600. ll_billid_array[ch] = tab_1.tabpage_2.dw_outware_sale_th.Object.u_outware_outwareid[i]
  601. ls_billcode_array[ch] = tab_1.tabpage_2.dw_outware_sale_th.Object.u_outware_outwarecode[i]
  602. END IF
  603. NEXT
  604. CASE 3 //客户补件单
  605. ls_billname = '客户补件单'
  606. tab_1.tabpage_3.dw_cus_reissue_bj.AcceptText()
  607. FOR i = 1 To tab_1.tabpage_3.dw_cus_reissue_bj.RowCount()
  608. IF tab_1.tabpage_3.dw_cus_reissue_bj.Object.ch[i] = 1 THEN
  609. ch++
  610. ll_billid_array[ch] = tab_1.tabpage_3.dw_cus_reissue_bj.Object.reissueid[i]
  611. ls_billcode_array[ch] = tab_1.tabpage_3.dw_cus_reissue_bj.Object.reissuecode[i]
  612. END IF
  613. NEXT
  614. CASE 4 //客户费用单
  615. ls_billname = '客户费用单'
  616. tab_1.tabpage_4.dw_cus_reissue.AcceptText()
  617. FOR i = 1 To tab_1.tabpage_4.dw_cus_reissue.RowCount()
  618. IF tab_1.tabpage_4.dw_cus_reissue.Object.ch[i] = 1 THEN
  619. ch++
  620. ll_billid_array[ch] = tab_1.tabpage_4.dw_cus_reissue.Object.reissueid[i]
  621. ls_billcode_array[ch] = tab_1.tabpage_4.dw_cus_reissue.Object.reissuecode[i]
  622. END IF
  623. NEXT
  624. CASE 5 //客户返利单
  625. ls_billname = '客户返利单'
  626. tab_1.tabpage_5.dw_cus_giveback.AcceptText()
  627. FOR i = 1 To tab_1.tabpage_5.dw_cus_giveback.RowCount()
  628. IF tab_1.tabpage_5.dw_cus_giveback.Object.ch[i] = 1 THEN
  629. ch++
  630. ll_billid_array[ch] = tab_1.tabpage_5.dw_cus_giveback.Object.u_giveback_givebackid[i]
  631. ls_billcode_array[ch] = tab_1.tabpage_5.dw_cus_giveback.Object.u_giveback_givebackcode[i]
  632. END IF
  633. NEXT
  634. CASE 6 //采购收货单
  635. ls_billname = '采购收货单'
  636. tab_1.tabpage_6.dw_inware_buy.AcceptText()
  637. FOR i = 1 To tab_1.tabpage_6.dw_inware_buy.RowCount()
  638. IF tab_1.tabpage_6.dw_inware_buy.Object.ch[i] = 1 THEN
  639. ch++
  640. ll_billid_array[ch] = tab_1.tabpage_6.dw_inware_buy.Object.inwareid[i]
  641. ls_billcode_array[ch] = tab_1.tabpage_6.dw_inware_buy.Object.inwarecode[i]
  642. END IF
  643. NEXT
  644. CASE 7 //采购退货单
  645. ls_billname = '采购退货单'
  646. tab_1.tabpage_7.dw_inware_buy_th.AcceptText()
  647. FOR i = 1 To tab_1.tabpage_7.dw_inware_buy_th.RowCount()
  648. IF tab_1.tabpage_7.dw_inware_buy_th.Object.ch[i] = 1 THEN
  649. ch++
  650. ll_billid_array[ch] = tab_1.tabpage_7.dw_inware_buy_th.Object.inwareid[i]
  651. ls_billcode_array[ch] = tab_1.tabpage_7.dw_inware_buy_th.Object.inwarecode[i]
  652. END IF
  653. NEXT
  654. CASE 8 //供应商罚款单
  655. ls_billname = '供应商罚款单'
  656. tab_1.tabpage_8.dw_spt_amerce.AcceptText()
  657. FOR i = 1 To tab_1.tabpage_8.dw_spt_amerce.RowCount()
  658. IF tab_1.tabpage_8.dw_spt_amerce.Object.ch[i] = 1 THEN
  659. ch++
  660. ll_billid_array[ch] = tab_1.tabpage_8.dw_spt_amerce.Object.u_spt_amerce_billid[i]
  661. ls_billcode_array[ch] = tab_1.tabpage_8.dw_spt_amerce.Object.u_spt_amerce_billcode[i]
  662. END IF
  663. NEXT
  664. CASE 9 //供应商费用单
  665. ls_billname = '供应商费用单'
  666. tab_1.tabpage_9.dw_spt_reissue.AcceptText()
  667. FOR i = 1 To tab_1.tabpage_9.dw_spt_reissue.RowCount()
  668. IF tab_1.tabpage_9.dw_spt_reissue.Object.ch[i] = 1 THEN
  669. ch++
  670. ll_billid_array[ch] = tab_1.tabpage_9.dw_spt_reissue.Object.reissueid[i]
  671. ls_billcode_array[ch] = tab_1.tabpage_9.dw_spt_reissue.Object.reissuecode[i]
  672. END IF
  673. NEXT
  674. CASE 10 //外协发出单
  675. // ls_billname = '外协发出单'
  676. // tab_1.tabpage_4.dw_outware_wfjg.AcceptText()
  677. // FOR i = 1 To tab_1.tabpage_4.dw_outware_wfjg.RowCount()
  678. // IF tab_1.tabpage_4.dw_outware_wfjg.Object.ch[i] = 1 THEN
  679. // ch++
  680. // ll_billid_array[ch] = tab_1.tabpage_4.dw_outware_wfjg.Object.u_outware_outwareid[i] //
  681. // END IF
  682. // NEXT
  683. CASE 11 //外协退回单
  684. // ls_billname = '外协退回单'
  685. // tab_1.tabpage_4.dw_outware_wfjg.AcceptText()
  686. // FOR i = 1 To tab_1.tabpage_4.dw_outware_wfjg.RowCount()
  687. // IF tab_1.tabpage_4.dw_outware_wfjg.Object.ch[i] = 1 THEN
  688. // ch++
  689. // ll_billid_array[ch] = tab_1.tabpage_4.dw_outware_wfjg.Object.u_outware_outwareid[i] //
  690. // END IF
  691. // NEXT
  692. CASE 12 //外协收货单
  693. // ls_billname = '外协收货单'
  694. // tab_1.tabpage_13.dw_inware_wfjg.AcceptText()
  695. // FOR i = 1 To tab_1.tabpage_13.dw_inware_wfjg.RowCount()
  696. // IF tab_1.tabpage_13.dw_inware_wfjg.Object.ch[i] = 1 THEN
  697. // ch++
  698. // ll_billid_array[ch] = tab_1.tabpage_13.dw_inware_wfjg.Object.u_outware_outwareid[i] //
  699. // END IF
  700. // NEXT
  701. CASE 13 //外协返工单
  702. // ls_billname = '外协收货单'
  703. // tab_1.tabpage_13.dw_inware_wfjg.AcceptText()
  704. // FOR i = 1 To tab_1.tabpage_13.dw_inware_wfjg.RowCount()
  705. // IF tab_1.tabpage_13.dw_inware_wfjg.Object.ch[i] = 1 THEN
  706. // ch++
  707. // ll_billid_array[ch] = tab_1.tabpage_13.dw_inware_wfjg.Object.u_outware_outwareid[i] //
  708. // END IF
  709. // NEXT
  710. CASE 14 //领料出仓单
  711. ls_billname = '领料出仓单'
  712. tab_1.tabpage_14.dw_outware_scll.AcceptText()
  713. FOR i = 1 To tab_1.tabpage_14.dw_outware_scll.RowCount()
  714. IF tab_1.tabpage_14.dw_outware_scll.Object.ch[i] = 1 THEN
  715. ch++
  716. ll_billid_array[ch] = tab_1.tabpage_14.dw_outware_scll.Object.u_outware_outwareid[i]
  717. ls_billcode_array[ch] = tab_1.tabpage_14.dw_outware_scll.Object.u_outware_outwarecode[i]
  718. END IF
  719. NEXT
  720. CASE 15 //其它出仓单
  721. ls_billname = '其它出仓单'
  722. tab_1.tabpage_15.dw_outware_other.AcceptText()
  723. FOR i = 1 To tab_1.tabpage_15.dw_outware_other.RowCount()
  724. IF tab_1.tabpage_15.dw_outware_other.Object.ch[i] = 1 THEN
  725. ch++
  726. ll_billid_array[ch] = tab_1.tabpage_15.dw_outware_other.Object.u_outware_outwareid[i]
  727. ls_billcode_array[ch] = tab_1.tabpage_15.dw_outware_other.Object.u_outware_outwarecode[i]
  728. END IF
  729. NEXT
  730. CASE 16 //盘亏单
  731. ls_billname = '盘亏单'
  732. tab_1.tabpage_16.dw_outware_pk.AcceptText()
  733. FOR i = 1 To tab_1.tabpage_16.dw_outware_pk.RowCount()
  734. IF tab_1.tabpage_16.dw_outware_pk.Object.ch[i] = 1 THEN
  735. ch++
  736. ll_billid_array[ch] = tab_1.tabpage_16.dw_outware_pk.Object.u_outware_outwareid[i]
  737. ls_billcode_array[ch] = tab_1.tabpage_16.dw_outware_pk.Object.u_outware_outwarecode[i]
  738. END IF
  739. NEXT
  740. CASE 17 //生产进仓单
  741. ls_billname = '生产进仓单'
  742. tab_1.tabpage_17.dw_inware_cp.AcceptText()
  743. FOR i = 1 To tab_1.tabpage_17.dw_inware_cp.RowCount()
  744. IF tab_1.tabpage_17.dw_inware_cp.Object.ch[i] = 1 THEN
  745. ch++
  746. ll_billid_array[ch] = tab_1.tabpage_17.dw_inware_cp.Object.inwareid[i]
  747. ls_billcode_array[ch] = tab_1.tabpage_17.dw_inware_cp.Object.inwarecode[i]
  748. END IF
  749. NEXT
  750. CASE 18 //其它进仓单
  751. ls_billname = '其它进仓单'
  752. tab_1.tabpage_18.dw_inware_other.AcceptText()
  753. FOR i = 1 To tab_1.tabpage_18.dw_inware_other.RowCount()
  754. IF tab_1.tabpage_18.dw_inware_other.Object.ch[i] = 1 THEN
  755. ch++
  756. ll_billid_array[ch] = tab_1.tabpage_18.dw_inware_other.Object.inwareid[i]
  757. ls_billcode_array[ch] = tab_1.tabpage_18.dw_inware_other.Object.inwarecode[i]
  758. END IF
  759. NEXT
  760. CASE 19 //盘盈单
  761. ls_billname = '盘盈单'
  762. tab_1.tabpage_19.dw_inware_py.AcceptText()
  763. FOR i = 1 To tab_1.tabpage_19.dw_inware_py.RowCount()
  764. IF tab_1.tabpage_19.dw_inware_py.Object.ch[i] = 1 THEN
  765. ch++
  766. ll_billid_array[ch] = tab_1.tabpage_19.dw_inware_py.Object.inwareid[i]
  767. ls_billcode_array[ch] = tab_1.tabpage_19.dw_inware_py.Object.inwarecode[i]
  768. END IF
  769. NEXT
  770. CASE 20 //扣费品领用单
  771. ls_billname = '扣费品领用单'
  772. tab_1.tabpage_20.dw_outware_gj.AcceptText()
  773. FOR i = 1 To tab_1.tabpage_20.dw_outware_gj.RowCount()
  774. IF tab_1.tabpage_20.dw_outware_gj.Object.ch[i] = 1 THEN
  775. ch++
  776. ll_billid_array[ch] = tab_1.tabpage_20.dw_outware_gj.Object.u_outware_outwareid[i]
  777. ls_billcode_array[ch] = tab_1.tabpage_20.dw_outware_gj.Object.u_outware_outwarecode[i]
  778. END IF
  779. NEXT
  780. CASE 21 //调拨单
  781. ls_billname = '调拨单'
  782. tab_1.tabpage_21.dw_outware_move.AcceptText()
  783. FOR i = 1 To tab_1.tabpage_21.dw_outware_move.RowCount()
  784. IF tab_1.tabpage_21.dw_outware_move.Object.ch[i] = 1 THEN
  785. ch++
  786. ll_billid_array[ch] = tab_1.tabpage_21.dw_outware_move.Object.u_outware_move_outwareid[i]
  787. ls_billcode_array[ch] = tab_1.tabpage_21.dw_outware_move.Object.u_outware_move_outwarecode[i]
  788. END IF
  789. NEXT
  790. CASE 22 //拆装单
  791. CASE 23 //库存成本价调整单
  792. CASE 24 //库存配置调整单
  793. CASE 25 //客户收款单
  794. ls_billname = '客户收款单'
  795. tab_1.tabpage_25.dw_cusamt_edit.AcceptText()
  796. FOR i = 1 To tab_1.tabpage_25.dw_cusamt_edit.RowCount()
  797. IF tab_1.tabpage_25.dw_cusamt_edit.Object.ch[i] = 1 THEN
  798. ch++
  799. ll_billid_array[ch] = tab_1.tabpage_25.dw_cusamt_edit.Object.u_cusamt_cusmonid[i]
  800. ls_billcode_array[ch] = tab_1.tabpage_25.dw_cusamt_edit.Object.u_cusamt_cusmoncode[i]
  801. END IF
  802. NEXT
  803. CASE 26 //其它应收单
  804. ls_billname = '其它应收单'
  805. tab_1.tabpage_26.dw_msttake_other.AcceptText()
  806. FOR i = 1 To tab_1.tabpage_26.dw_msttake_other.RowCount()
  807. IF tab_1.tabpage_26.dw_msttake_other.Object.ch[i] = 1 THEN
  808. ch++
  809. ll_billid_array[ch] = tab_1.tabpage_26.dw_msttake_other.Object.u_income_expenses_billid[i]
  810. ls_billcode_array[ch] = tab_1.tabpage_26.dw_msttake_other.Object.u_income_expenses_billcode[i]
  811. END IF
  812. NEXT
  813. CASE 27 //其它收款单
  814. ls_billname = '其它收款单'
  815. tab_1.tabpage_27.dw_cusamt_other.AcceptText()
  816. FOR i = 1 To tab_1.tabpage_27.dw_cusamt_other.RowCount()
  817. IF tab_1.tabpage_27.dw_cusamt_other.Object.ch[i] = 1 THEN
  818. ch++
  819. ll_billid_array[ch] = tab_1.tabpage_27.dw_cusamt_other.Object.u_bmstamt_baid[i]
  820. ls_billcode_array[ch] = tab_1.tabpage_27.dw_cusamt_other.Object.u_bmstamt_bacode[i]
  821. END IF
  822. NEXT
  823. CASE 28 //供应商付款单
  824. ls_billname = '供应商付款单'
  825. tab_1.tabpage_28.dw_sptamt_edit.AcceptText()
  826. FOR i = 1 To tab_1.tabpage_28.dw_sptamt_edit.RowCount()
  827. IF tab_1.tabpage_28.dw_sptamt_edit.Object.ch[i] = 1 THEN
  828. ch++
  829. ll_billid_array[ch] = tab_1.tabpage_28.dw_sptamt_edit.Object.u_cusamt_cusmonid[i]
  830. ls_billcode_array[ch] = tab_1.tabpage_28.dw_sptamt_edit.Object.u_cusamt_cusmoncode[i]
  831. END IF
  832. NEXT
  833. CASE 29 //其它应付单
  834. ls_billname = '其它应付单'
  835. tab_1.tabpage_29.dw_mstpay_other.AcceptText()
  836. FOR i = 1 To tab_1.tabpage_29.dw_mstpay_other.RowCount()
  837. IF tab_1.tabpage_29.dw_mstpay_other.Object.ch[i] = 1 THEN
  838. ch++
  839. ll_billid_array[ch] = tab_1.tabpage_29.dw_mstpay_other.Object.u_income_expenses_billid[i]
  840. ls_billcode_array[ch] = tab_1.tabpage_29.dw_mstpay_other.Object.u_income_expenses_billcode[i]
  841. END IF
  842. NEXT
  843. CASE 30 //其它付款单
  844. ls_billname = '其它付款单'
  845. tab_1.tabpage_30.dw_sptamt_other.AcceptText()
  846. FOR i = 1 To tab_1.tabpage_30.dw_sptamt_other.RowCount()
  847. IF tab_1.tabpage_30.dw_sptamt_other.Object.ch[i] = 1 THEN
  848. ch++
  849. ll_billid_array[ch] = tab_1.tabpage_30.dw_sptamt_other.Object.u_bmstamt_baid[i]
  850. ls_billcode_array[ch] = tab_1.tabpage_30.dw_sptamt_other.Object.u_bmstamt_bacode[i]
  851. END IF
  852. NEXT
  853. CASE 31 //其它收入单
  854. ls_billname = '其它收入单'
  855. tab_1.tabpage_31.dw_income_expenses.AcceptText()
  856. FOR i = 1 To tab_1.tabpage_31.dw_income_expenses.RowCount()
  857. IF tab_1.tabpage_31.dw_income_expenses.Object.ch[i] = 1 THEN
  858. ch++
  859. ll_billid_array[ch] = tab_1.tabpage_31.dw_income_expenses.Object.u_income_expenses_billid[i]
  860. ls_billcode_array[ch] = tab_1.tabpage_31.dw_income_expenses.Object.u_income_expenses_billcode[i]
  861. END IF
  862. NEXT
  863. CASE 32 //其它支出单
  864. ls_billname = '其它支出单'
  865. tab_1.tabpage_32.dw_income_expenses_out.AcceptText()
  866. FOR i = 1 To tab_1.tabpage_32.dw_income_expenses_out.RowCount()
  867. IF tab_1.tabpage_32.dw_income_expenses_out.Object.ch[i] = 1 THEN
  868. ch++
  869. ll_billid_array[ch] = tab_1.tabpage_32.dw_income_expenses_out.Object.u_income_expenses_billid[i]
  870. ls_billcode_array[ch] = tab_1.tabpage_32.dw_income_expenses_out.Object.u_income_expenses_billcode[i]
  871. END IF
  872. NEXT
  873. CASE 33 //转帐单
  874. ls_billname = '转帐单'
  875. tab_1.tabpage_33.dw_rap_money_transfer.AcceptText()
  876. FOR i = 1 To tab_1.tabpage_33.dw_rap_money_transfer.RowCount()
  877. IF tab_1.tabpage_33.dw_rap_money_transfer.Object.ch[i] = 1 THEN
  878. ch++
  879. ll_billid_array[ch] = tab_1.tabpage_33.dw_rap_money_transfer.Object.billid[i]
  880. ls_billcode_array[ch] = tab_1.tabpage_33.dw_rap_money_transfer.Object.billcode[i]
  881. END IF
  882. NEXT
  883. CASE 34 //客户收款结算单
  884. ls_billname = '客户收款结算单'
  885. tab_1.tabpage_34.dw_bmstamt_edit.AcceptText()
  886. FOR i = 1 To tab_1.tabpage_34.dw_bmstamt_edit.RowCount()
  887. IF tab_1.tabpage_34.dw_bmstamt_edit.Object.ch[i] = 1 THEN
  888. ch++
  889. ll_billid_array[ch] = tab_1.tabpage_34.dw_bmstamt_edit.Object.u_bmstamt_baid[i]
  890. ls_billcode_array[ch] = tab_1.tabpage_34.dw_bmstamt_edit.Object.u_bmstamt_bacode[i]
  891. END IF
  892. NEXT
  893. CASE 35 //供应商付款结算单
  894. ls_billname = '供应商付款结算单'
  895. tab_1.tabpage_35.dw_bmstamt_spt.AcceptText()
  896. FOR i = 1 To tab_1.tabpage_35.dw_bmstamt_spt.RowCount()
  897. IF tab_1.tabpage_35.dw_bmstamt_spt.Object.ch[i] = 1 THEN
  898. ch++
  899. ll_billid_array[ch] = tab_1.tabpage_35.dw_bmstamt_spt.Object.u_bmstamt_baid[i]
  900. ls_billcode_array[ch] = tab_1.tabpage_35.dw_bmstamt_spt.Object.u_bmstamt_bacode[i]
  901. END IF
  902. NEXT
  903. CASE 38 //借支单
  904. CASE 39 //奖罚单
  905. END CHOOSE
  906. IF ch = 0 THEN
  907. MessageBox('提示','请选择 '+ls_billname)
  908. RETURN
  909. END IF
  910. IF arg_type = 1 THEN
  911. IF MessageBox ("询问","是否确定要会计审核已选择单据?",question!,yesno! ) = 2 THEN RETURN
  912. IF uo_cwaudit.uof_cwaudit_cred1(ll_credid,cur_scid,ll_billid_array,ls_billcode_array,publ_operator,arg_msg,True) = 0 THEN
  913. OpenWithParm(w_message_err,arg_msg)
  914. RETURN
  915. END IF
  916. ELSE
  917. IF MessageBox ("询问","是否确定要会计撤审已选择单据?",question!,yesno! ) = 2 THEN RETURN
  918. IF uo_cwaudit.uof_cwaudit_cred0(ll_credid,cur_scid,ll_billid_array,ls_billcode_array,arg_msg,True) = 0 THEN
  919. OpenWithParm(w_message_err,arg_msg)
  920. RETURN
  921. END IF
  922. END IF
  923. MessageBox('提示','操作成功')
  924. wf_retr()
  925. end subroutine
  926. on w_subject_audit.create
  927. int iCurrent
  928. call super::create
  929. this.st_2=create st_2
  930. this.st_5=create st_5
  931. this.ddlb_status=create ddlb_status
  932. this.tab_1=create tab_1
  933. this.cb_auditing=create cb_auditing
  934. this.cb_auditing_cancel=create cb_auditing_cancel
  935. this.cb_allc=create cb_allc
  936. this.cb_allc_not=create cb_allc_not
  937. this.cbx_inout=create cbx_inout
  938. this.dw_mx=create dw_mx
  939. this.st_1=create st_1
  940. this.ddlb_cmonth=create ddlb_cmonth
  941. this.ddlb_scid=create ddlb_scid
  942. this.st_6=create st_6
  943. this.dw_index=create dw_index
  944. iCurrent=UpperBound(this.Control)
  945. this.Control[iCurrent+1]=this.st_2
  946. this.Control[iCurrent+2]=this.st_5
  947. this.Control[iCurrent+3]=this.ddlb_status
  948. this.Control[iCurrent+4]=this.tab_1
  949. this.Control[iCurrent+5]=this.cb_auditing
  950. this.Control[iCurrent+6]=this.cb_auditing_cancel
  951. this.Control[iCurrent+7]=this.cb_allc
  952. this.Control[iCurrent+8]=this.cb_allc_not
  953. this.Control[iCurrent+9]=this.cbx_inout
  954. this.Control[iCurrent+10]=this.dw_mx
  955. this.Control[iCurrent+11]=this.st_1
  956. this.Control[iCurrent+12]=this.ddlb_cmonth
  957. this.Control[iCurrent+13]=this.ddlb_scid
  958. this.Control[iCurrent+14]=this.st_6
  959. this.Control[iCurrent+15]=this.dw_index
  960. end on
  961. on w_subject_audit.destroy
  962. call super::destroy
  963. destroy(this.st_2)
  964. destroy(this.st_5)
  965. destroy(this.ddlb_status)
  966. destroy(this.tab_1)
  967. destroy(this.cb_auditing)
  968. destroy(this.cb_auditing_cancel)
  969. destroy(this.cb_allc)
  970. destroy(this.cb_allc_not)
  971. destroy(this.cbx_inout)
  972. destroy(this.dw_mx)
  973. destroy(this.st_1)
  974. destroy(this.ddlb_cmonth)
  975. destroy(this.ddlb_scid)
  976. destroy(this.st_6)
  977. destroy(this.dw_index)
  978. end on
  979. event resize;call super::resize;dw_index.Height = This.Height - dw_index.Y - 160
  980. IF cbx_inout.Checked = False THEN
  981. dw_mx.Visible = False
  982. tab_1.Width = This.Width - tab_1.X - 40
  983. tab_1.Height = This.Height - tab_1.Y - 160
  984. ELSE
  985. dw_mx.Visible = True
  986. tab_1.Width = This.Width - tab_1.X - 40
  987. tab_1.Height = (This.Height - tab_1.Y ) / 5 * 3
  988. dw_mx.X = tab_1.X
  989. dw_mx.Width = tab_1.Width
  990. dw_mx.Y = tab_1.Y + tab_1.Height + 10
  991. dw_mx.Height = (This.Height - tab_1.Y ) / 5 * 2 - 160
  992. END IF
  993. Long ll_dft_height = 1948 - 30 - 200
  994. long ll_width1,ll_height1
  995. ll_width1 = tab_1.tabpage_1.width - 50
  996. ll_height1 = tab_1.tabpage_1.Height
  997. //销售
  998. tab_1.tabpage_1.dw_outware_sale.Width = ll_width1
  999. tab_1.tabpage_1.dw_outware_sale.Height = ll_height1
  1000. tab_1.tabpage_2.dw_outware_sale_th.Width = ll_width1
  1001. tab_1.tabpage_2.dw_outware_sale_th.Height = ll_height1
  1002. tab_1.tabpage_3.dw_cus_reissue_bj.Width = ll_width1
  1003. tab_1.tabpage_3.dw_cus_reissue_bj.Height = ll_height1
  1004. tab_1.tabpage_4.dw_cus_reissue.Width = ll_width1
  1005. tab_1.tabpage_4.dw_cus_reissue.Height = ll_height1
  1006. tab_1.tabpage_5.dw_cus_giveback.Width = ll_width1
  1007. tab_1.tabpage_5.dw_cus_giveback.Height = ll_height1
  1008. //采购
  1009. tab_1.tabpage_6.dw_inware_buy.Width = ll_width1
  1010. tab_1.tabpage_6.dw_inware_buy.Height = ll_height1
  1011. tab_1.tabpage_7.dw_inware_buy_th.Width = ll_width1
  1012. tab_1.tabpage_7.dw_inware_buy_th.Height = ll_height1
  1013. tab_1.tabpage_8.dw_spt_amerce.Width = ll_width1
  1014. tab_1.tabpage_8.dw_spt_amerce.Height = ll_height1
  1015. tab_1.tabpage_9.dw_spt_reissue.Width = ll_width1
  1016. tab_1.tabpage_9.dw_spt_reissue.Height = ll_height1
  1017. //外协
  1018. //tab_1.tabpage_4.dw_outware_wfjg.Width = ll_width1
  1019. //tab_1.tabpage_4.dw_outware_wfjg.Height = ll_height1
  1020. //
  1021. //tab_1.tabpage_13.dw_inware_wfjg.Width = ll_width1
  1022. //tab_1.tabpage_13.dw_inware_wfjg.Height = ll_height1
  1023. //仓库
  1024. tab_1.tabpage_14.dw_outware_scll.Width = ll_width1
  1025. tab_1.tabpage_14.dw_outware_scll.Height = ll_height1
  1026. tab_1.tabpage_15.dw_outware_other.Width = ll_width1
  1027. tab_1.tabpage_15.dw_outware_other.Height = ll_height1
  1028. tab_1.tabpage_16.dw_outware_pk.Width = ll_width1
  1029. tab_1.tabpage_16.dw_outware_pk.Height = ll_height1
  1030. tab_1.tabpage_17.dw_inware_cp.Width = ll_width1
  1031. tab_1.tabpage_17.dw_inware_cp.Height = ll_height1
  1032. tab_1.tabpage_18.dw_inware_other.Width = ll_width1
  1033. tab_1.tabpage_18.dw_inware_other.Height = ll_height1
  1034. tab_1.tabpage_19.dw_inware_py.Width = ll_width1
  1035. tab_1.tabpage_19.dw_inware_py.Height = ll_height1
  1036. tab_1.tabpage_20.dw_outware_gj.Width = ll_width1
  1037. tab_1.tabpage_20.dw_outware_gj.Height = ll_height1
  1038. tab_1.tabpage_21.dw_outware_move.Width = ll_width1
  1039. tab_1.tabpage_21.dw_outware_move.Height = ll_height1
  1040. //tab_1.tabpage_9.dw_outware_installout.Width = ll_width1
  1041. //tab_1.tabpage_9.dw_outware_installout.Height = ll_height1
  1042. //tab_1.tabpage_16.dw_inware_movein.Width = ll_width1
  1043. //tab_1.tabpage_16.dw_inware_movein.Height = ll_height1
  1044. //
  1045. //tab_1.tabpage_17.dw_inware_installin.Width = ll_width1
  1046. //tab_1.tabpage_17.dw_inware_installin.Height = ll_height1
  1047. //
  1048. //tab_1.tabpage_18.dw_inware_rec.Width = ll_width1
  1049. //tab_1.tabpage_18.dw_inware_rec.Height = ll_height1
  1050. //财务
  1051. tab_1.tabpage_25.dw_cusamt_edit.Width = ll_width1
  1052. tab_1.tabpage_25.dw_cusamt_edit.Height = ll_height1
  1053. tab_1.tabpage_26.dw_msttake_other.Width = ll_width1
  1054. tab_1.tabpage_26.dw_msttake_other.Height = ll_height1
  1055. tab_1.tabpage_27.dw_cusamt_other.Width = ll_width1
  1056. tab_1.tabpage_27.dw_cusamt_other.Height = ll_height1
  1057. tab_1.tabpage_28.dw_sptamt_edit.Width = ll_width1
  1058. tab_1.tabpage_28.dw_sptamt_edit.Height = ll_height1
  1059. tab_1.tabpage_29.dw_mstpay_other.Width = ll_width1
  1060. tab_1.tabpage_29.dw_mstpay_other.Height = ll_height1
  1061. tab_1.tabpage_30.dw_sptamt_other.Width = ll_width1
  1062. tab_1.tabpage_30.dw_sptamt_other.Height = ll_height1
  1063. tab_1.tabpage_31.dw_income_expenses.Width = ll_width1
  1064. tab_1.tabpage_31.dw_income_expenses.Height = ll_height1
  1065. tab_1.tabpage_32.dw_income_expenses_out.Width = ll_width1
  1066. tab_1.tabpage_32.dw_income_expenses_out.Height = ll_height1
  1067. tab_1.tabpage_33.dw_rap_money_transfer.Width = ll_width1
  1068. tab_1.tabpage_33.dw_rap_money_transfer.Height = ll_height1
  1069. tab_1.tabpage_34.dw_bmstamt_edit.Width = ll_width1
  1070. tab_1.tabpage_34.dw_bmstamt_edit.Height = ll_height1
  1071. tab_1.tabpage_35.dw_bmstamt_spt.Width = ll_width1
  1072. tab_1.tabpage_35.dw_bmstamt_spt.Height = ll_height1
  1073. //工资
  1074. //tab_1.tabpage_21.dw_gz_loanwage.Width = ll_width1
  1075. //tab_1.tabpage_21.dw_gz_loanwage.Height = ll_height1
  1076. //
  1077. //tab_1.tabpage_22.dw_gz_award_punish.Width = ll_width1
  1078. //tab_1.tabpage_22.dw_gz_award_punish.Height = ll_height1
  1079. end event
  1080. event ue_before_open;call super::ue_before_open;dw_index.SetTransObject(sqlca)
  1081. cur_cmonth = sys_curyearmon
  1082. if dw_index.retrieve(sys_version_type,cur_cmonth) > 0 then
  1083. dw_index.selectrow(0,false)
  1084. dw_index.setrow(1)
  1085. dw_index.selectrow(1,true)
  1086. end if
  1087. dw_mx.SetTransObject(sqlca)
  1088. //销售
  1089. tab_1.tabpage_1.dw_outware_sale.SetTransObject(sqlca)
  1090. tab_1.tabpage_2.dw_outware_sale_th.SetTransObject(sqlca)
  1091. tab_1.tabpage_3.dw_cus_reissue_bj.SetTransObject(sqlca)
  1092. tab_1.tabpage_4.dw_cus_reissue.SetTransObject(sqlca)
  1093. tab_1.tabpage_5.dw_cus_giveback.SetTransObject(sqlca)
  1094. //采购
  1095. tab_1.tabpage_6.dw_inware_buy.SetTransObject(sqlca)
  1096. tab_1.tabpage_7.dw_inware_buy_th.SetTransObject(sqlca)
  1097. tab_1.tabpage_8.dw_spt_amerce.SetTransObject(sqlca)
  1098. tab_1.tabpage_9.dw_spt_reissue.SetTransObject(sqlca)
  1099. //外协
  1100. //tab_1.tabpage_10.dw_outware_wfjg.SetTransObject(sqlca)
  1101. //tab_1.tabpage_11.dw_outware_wfjg_th.SetTransObject(sqlca)
  1102. //tab_1.tabpage_12.dw_inware_wfjg.SetTransObject(sqlca)
  1103. //tab_1.tabpage_13.dw_inware_wfjg_th.SetTransObject(sqlca)
  1104. //仓库
  1105. tab_1.tabpage_14.dw_outware_scll.SetTransObject(sqlca)
  1106. tab_1.tabpage_15.dw_outware_other.SetTransObject(sqlca)
  1107. tab_1.tabpage_16.dw_outware_pk.SetTransObject(sqlca)
  1108. tab_1.tabpage_17.dw_inware_cp.SetTransObject(sqlca)
  1109. tab_1.tabpage_18.dw_inware_other.SetTransObject(sqlca)
  1110. tab_1.tabpage_19.dw_inware_py.SetTransObject(sqlca)
  1111. tab_1.tabpage_20.dw_outware_gj.SetTransObject(sqlca)
  1112. tab_1.tabpage_21.dw_outware_move.SetTransObject(sqlca)
  1113. //tab_1.tabpage_22.dw_update_cost.SetTransObject(sqlca)
  1114. //tab_1.tabpage_23.dw_outware_installout.SetTransObject(sqlca)
  1115. //tab_1.tabpage_24.dw_inware_installin.SetTransObject(sqlca)
  1116. //财务
  1117. tab_1.tabpage_25.dw_cusamt_edit.SetTransObject(sqlca)
  1118. tab_1.tabpage_26.dw_msttake_other.SetTransObject(sqlca)
  1119. tab_1.tabpage_27.dw_cusamt_other.SetTransObject(sqlca)
  1120. tab_1.tabpage_34.dw_bmstamt_edit.SetTransObject(sqlca)
  1121. tab_1.tabpage_28.dw_sptamt_edit.SetTransObject(sqlca)
  1122. tab_1.tabpage_29.dw_mstpay_other.SetTransObject(sqlca)
  1123. tab_1.tabpage_30.dw_sptamt_other.SetTransObject(sqlca)
  1124. tab_1.tabpage_35.dw_bmstamt_spt.SetTransObject(sqlca)
  1125. tab_1.tabpage_31.dw_income_expenses.SetTransObject(sqlca)
  1126. tab_1.tabpage_32.dw_income_expenses_out.SetTransObject(sqlca)
  1127. tab_1.tabpage_33.dw_rap_money_transfer.SetTransObject(sqlca)
  1128. //工资
  1129. //tab_1.tabpage_21.dw_gz_loanwage.SetTransObject(sqlca)
  1130. //tab_1.tabpage_22.dw_gz_award_punish.SetTransObject(sqlca)
  1131. end event
  1132. event open;this.triggerevent('ue_before_open')
  1133. wf_movetocenter()
  1134. uo_cwaudit = create uo_bill_cwaudit
  1135. end event
  1136. event close;call super::close;destroy uo_cwaudit
  1137. end event
  1138. type cb_func from w_publ_easyq`cb_func within w_subject_audit
  1139. boolean visible = false
  1140. integer x = 4082
  1141. integer y = 1012
  1142. end type
  1143. type cb_exit from w_publ_easyq`cb_exit within w_subject_audit
  1144. integer x = 1774
  1145. end type
  1146. type cb_2 from w_publ_easyq`cb_2 within w_subject_audit
  1147. boolean visible = false
  1148. integer x = 3648
  1149. integer y = 1012
  1150. boolean bringtotop = true
  1151. end type
  1152. type cb_psetup from w_publ_easyq`cb_psetup within w_subject_audit
  1153. boolean visible = false
  1154. integer x = 3849
  1155. integer y = 1012
  1156. boolean bringtotop = true
  1157. end type
  1158. type cb_1 from w_publ_easyq`cb_1 within w_subject_audit
  1159. integer x = 818
  1160. boolean bringtotop = true
  1161. end type
  1162. event cb_1::clicked;call super::clicked;wf_retr()
  1163. //wf_retr_all()
  1164. end event
  1165. type st_3 from w_publ_easyq`st_3 within w_subject_audit
  1166. boolean visible = false
  1167. integer x = 645
  1168. integer y = 808
  1169. end type
  1170. type st_4 from w_publ_easyq`st_4 within w_subject_audit
  1171. boolean visible = false
  1172. integer x = 2062
  1173. integer y = 824
  1174. end type
  1175. type em_1 from w_publ_easyq`em_1 within w_subject_audit
  1176. boolean visible = false
  1177. integer x = 1536
  1178. integer y = 808
  1179. end type
  1180. type em_2 from w_publ_easyq`em_2 within w_subject_audit
  1181. boolean visible = false
  1182. integer x = 1344
  1183. integer y = 848
  1184. end type
  1185. type ddlb_yl from w_publ_easyq`ddlb_yl within w_subject_audit
  1186. boolean visible = false
  1187. integer x = 3904
  1188. integer y = 580
  1189. end type
  1190. type cbx_yl from w_publ_easyq`cbx_yl within w_subject_audit
  1191. boolean visible = false
  1192. integer x = 3685
  1193. integer y = 584
  1194. end type
  1195. event cbx_yl::clicked;call super::clicked;IF THIS.Checked THEN
  1196. dw_1.SelectRow(0,FALSE)
  1197. END IF
  1198. end event
  1199. type dw_1 from w_publ_easyq`dw_1 within w_subject_audit
  1200. boolean visible = false
  1201. integer x = 3973
  1202. integer y = 756
  1203. integer width = 270
  1204. integer height = 200
  1205. end type
  1206. event dw_1::doubleclicked;call super::doubleclicked;
  1207. IF row > 0 THEN
  1208. String ls_code
  1209. Long ll_scid
  1210. ll_scid = This.Object.scid[row]
  1211. ls_code = This.Object.reissuecode[row]
  1212. f_open_win(ll_scid,ls_code)
  1213. END IF
  1214. end event
  1215. type sle_mtrl from w_publ_easyq`sle_mtrl within w_subject_audit
  1216. integer x = 818
  1217. integer y = 792
  1218. end type
  1219. type sle_cust from w_publ_easyq`sle_cust within w_subject_audit
  1220. integer x = 3154
  1221. integer y = 880
  1222. end type
  1223. type st_mtrl from w_publ_easyq`st_mtrl within w_subject_audit
  1224. integer x = 567
  1225. integer y = 552
  1226. end type
  1227. type st_cust from w_publ_easyq`st_cust within w_subject_audit
  1228. integer x = 3255
  1229. integer y = 980
  1230. end type
  1231. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_subject_audit
  1232. integer x = 3685
  1233. integer y = 668
  1234. end type
  1235. type pb_em1 from w_publ_easyq`pb_em1 within w_subject_audit
  1236. boolean visible = false
  1237. integer x = 1943
  1238. integer y = 808
  1239. end type
  1240. type pb_em2 from w_publ_easyq`pb_em2 within w_subject_audit
  1241. boolean visible = false
  1242. integer x = 2583
  1243. integer y = 808
  1244. end type
  1245. type pb_2 from w_publ_easyq`pb_2 within w_subject_audit
  1246. boolean visible = false
  1247. integer x = 2693
  1248. integer y = 808
  1249. end type
  1250. type cb_help from w_publ_easyq`cb_help within w_subject_audit
  1251. boolean visible = false
  1252. integer x = 3799
  1253. integer y = 1012
  1254. end type
  1255. type cb_copyself from w_publ_easyq`cb_copyself within w_subject_audit
  1256. integer x = 1518
  1257. end type
  1258. type gb_1 from w_publ_easyq`gb_1 within w_subject_audit
  1259. integer x = 2418
  1260. integer y = 560
  1261. integer width = 87
  1262. integer height = 172
  1263. end type
  1264. type ln_bar from w_publ_easyq`ln_bar within w_subject_audit
  1265. integer beginy = 168
  1266. integer endy = 168
  1267. end type
  1268. type ln_bar2 from w_publ_easyq`ln_bar2 within w_subject_audit
  1269. integer beginy = 172
  1270. integer endy = 172
  1271. end type
  1272. type r_bar from w_publ_easyq`r_bar within w_subject_audit
  1273. integer x = 3648
  1274. end type
  1275. type ln_1 from w_publ_easyq`ln_1 within w_subject_audit
  1276. end type
  1277. type ln_2 from w_publ_easyq`ln_2 within w_subject_audit
  1278. end type
  1279. type ln_3 from w_publ_easyq`ln_3 within w_subject_audit
  1280. boolean visible = false
  1281. end type
  1282. type ln_4 from w_publ_easyq`ln_4 within w_subject_audit
  1283. boolean visible = false
  1284. end type
  1285. type st_2 from statictext within w_subject_audit
  1286. integer x = 137
  1287. integer y = 64
  1288. integer width = 137
  1289. integer height = 48
  1290. boolean bringtotop = true
  1291. integer textsize = -9
  1292. integer weight = 400
  1293. fontcharset fontcharset = gb2312charset!
  1294. fontpitch fontpitch = variable!
  1295. string facename = "宋体"
  1296. long textcolor = 33554432
  1297. long backcolor = 134217739
  1298. string text = "分部"
  1299. alignment alignment = right!
  1300. boolean focusrectangle = false
  1301. end type
  1302. event constructor;this.backcolor = 14215660
  1303. end event
  1304. type st_5 from statictext within w_subject_audit
  1305. integer x = 805
  1306. integer y = 208
  1307. integer width = 146
  1308. integer height = 52
  1309. boolean bringtotop = true
  1310. integer textsize = -9
  1311. integer weight = 400
  1312. fontcharset fontcharset = gb2312charset!
  1313. fontpitch fontpitch = variable!
  1314. string facename = "宋体"
  1315. long textcolor = 33554432
  1316. long backcolor = 134217739
  1317. string text = "状态"
  1318. alignment alignment = right!
  1319. boolean focusrectangle = false
  1320. end type
  1321. type ddlb_status from dropdownlistbox within w_subject_audit
  1322. integer x = 965
  1323. integer y = 192
  1324. integer width = 480
  1325. integer height = 692
  1326. integer taborder = 20
  1327. boolean bringtotop = true
  1328. integer textsize = -9
  1329. integer weight = 400
  1330. fontcharset fontcharset = gb2312charset!
  1331. fontpitch fontpitch = variable!
  1332. string facename = "宋体"
  1333. long textcolor = 33554432
  1334. string text = "会计未审核"
  1335. boolean sorted = false
  1336. string item[] = {"[全部]","会计未审核","会计已审核"}
  1337. borderstyle borderstyle = stylelowered!
  1338. end type
  1339. event selectionchanged;IF Index = 1 THEN
  1340. cur_flag = -1
  1341. ELSEIF Index = 2 THEN
  1342. cur_flag = 0
  1343. ELSEIF Index = 3 THEN
  1344. cur_flag = 1
  1345. END IF
  1346. cb_1.TriggerEvent(Clicked!)
  1347. end event
  1348. type tab_1 from tab within w_subject_audit
  1349. integer x = 2158
  1350. integer y = 296
  1351. integer width = 3049
  1352. integer height = 1440
  1353. integer taborder = 90
  1354. boolean bringtotop = true
  1355. integer textsize = -9
  1356. integer weight = 400
  1357. fontcharset fontcharset = gb2312charset!
  1358. fontpitch fontpitch = variable!
  1359. string facename = "宋体"
  1360. long backcolor = 134217739
  1361. boolean multiline = true
  1362. boolean raggedright = true
  1363. boolean focusonbuttondown = true
  1364. boolean showpicture = false
  1365. integer selectedtab = 1
  1366. tabpage_1 tabpage_1
  1367. tabpage_2 tabpage_2
  1368. tabpage_3 tabpage_3
  1369. tabpage_4 tabpage_4
  1370. tabpage_5 tabpage_5
  1371. tabpage_6 tabpage_6
  1372. tabpage_7 tabpage_7
  1373. tabpage_8 tabpage_8
  1374. tabpage_9 tabpage_9
  1375. tabpage_10 tabpage_10
  1376. tabpage_11 tabpage_11
  1377. tabpage_12 tabpage_12
  1378. tabpage_13 tabpage_13
  1379. tabpage_14 tabpage_14
  1380. tabpage_15 tabpage_15
  1381. tabpage_16 tabpage_16
  1382. tabpage_17 tabpage_17
  1383. tabpage_18 tabpage_18
  1384. tabpage_19 tabpage_19
  1385. tabpage_20 tabpage_20
  1386. tabpage_21 tabpage_21
  1387. tabpage_22 tabpage_22
  1388. tabpage_23 tabpage_23
  1389. tabpage_24 tabpage_24
  1390. tabpage_25 tabpage_25
  1391. tabpage_26 tabpage_26
  1392. tabpage_27 tabpage_27
  1393. tabpage_28 tabpage_28
  1394. tabpage_29 tabpage_29
  1395. tabpage_30 tabpage_30
  1396. tabpage_31 tabpage_31
  1397. tabpage_32 tabpage_32
  1398. tabpage_33 tabpage_33
  1399. tabpage_34 tabpage_34
  1400. tabpage_35 tabpage_35
  1401. tabpage_36 tabpage_36
  1402. tabpage_37 tabpage_37
  1403. tabpage_180 tabpage_180
  1404. tabpage_340 tabpage_340
  1405. end type
  1406. on tab_1.create
  1407. this.tabpage_1=create tabpage_1
  1408. this.tabpage_2=create tabpage_2
  1409. this.tabpage_3=create tabpage_3
  1410. this.tabpage_4=create tabpage_4
  1411. this.tabpage_5=create tabpage_5
  1412. this.tabpage_6=create tabpage_6
  1413. this.tabpage_7=create tabpage_7
  1414. this.tabpage_8=create tabpage_8
  1415. this.tabpage_9=create tabpage_9
  1416. this.tabpage_10=create tabpage_10
  1417. this.tabpage_11=create tabpage_11
  1418. this.tabpage_12=create tabpage_12
  1419. this.tabpage_13=create tabpage_13
  1420. this.tabpage_14=create tabpage_14
  1421. this.tabpage_15=create tabpage_15
  1422. this.tabpage_16=create tabpage_16
  1423. this.tabpage_17=create tabpage_17
  1424. this.tabpage_18=create tabpage_18
  1425. this.tabpage_19=create tabpage_19
  1426. this.tabpage_20=create tabpage_20
  1427. this.tabpage_21=create tabpage_21
  1428. this.tabpage_22=create tabpage_22
  1429. this.tabpage_23=create tabpage_23
  1430. this.tabpage_24=create tabpage_24
  1431. this.tabpage_25=create tabpage_25
  1432. this.tabpage_26=create tabpage_26
  1433. this.tabpage_27=create tabpage_27
  1434. this.tabpage_28=create tabpage_28
  1435. this.tabpage_29=create tabpage_29
  1436. this.tabpage_30=create tabpage_30
  1437. this.tabpage_31=create tabpage_31
  1438. this.tabpage_32=create tabpage_32
  1439. this.tabpage_33=create tabpage_33
  1440. this.tabpage_34=create tabpage_34
  1441. this.tabpage_35=create tabpage_35
  1442. this.tabpage_36=create tabpage_36
  1443. this.tabpage_37=create tabpage_37
  1444. this.tabpage_180=create tabpage_180
  1445. this.tabpage_340=create tabpage_340
  1446. this.Control[]={this.tabpage_1,&
  1447. this.tabpage_2,&
  1448. this.tabpage_3,&
  1449. this.tabpage_4,&
  1450. this.tabpage_5,&
  1451. this.tabpage_6,&
  1452. this.tabpage_7,&
  1453. this.tabpage_8,&
  1454. this.tabpage_9,&
  1455. this.tabpage_10,&
  1456. this.tabpage_11,&
  1457. this.tabpage_12,&
  1458. this.tabpage_13,&
  1459. this.tabpage_14,&
  1460. this.tabpage_15,&
  1461. this.tabpage_16,&
  1462. this.tabpage_17,&
  1463. this.tabpage_18,&
  1464. this.tabpage_19,&
  1465. this.tabpage_20,&
  1466. this.tabpage_21,&
  1467. this.tabpage_22,&
  1468. this.tabpage_23,&
  1469. this.tabpage_24,&
  1470. this.tabpage_25,&
  1471. this.tabpage_26,&
  1472. this.tabpage_27,&
  1473. this.tabpage_28,&
  1474. this.tabpage_29,&
  1475. this.tabpage_30,&
  1476. this.tabpage_31,&
  1477. this.tabpage_32,&
  1478. this.tabpage_33,&
  1479. this.tabpage_34,&
  1480. this.tabpage_35,&
  1481. this.tabpage_36,&
  1482. this.tabpage_37,&
  1483. this.tabpage_180,&
  1484. this.tabpage_340}
  1485. end on
  1486. on tab_1.destroy
  1487. destroy(this.tabpage_1)
  1488. destroy(this.tabpage_2)
  1489. destroy(this.tabpage_3)
  1490. destroy(this.tabpage_4)
  1491. destroy(this.tabpage_5)
  1492. destroy(this.tabpage_6)
  1493. destroy(this.tabpage_7)
  1494. destroy(this.tabpage_8)
  1495. destroy(this.tabpage_9)
  1496. destroy(this.tabpage_10)
  1497. destroy(this.tabpage_11)
  1498. destroy(this.tabpage_12)
  1499. destroy(this.tabpage_13)
  1500. destroy(this.tabpage_14)
  1501. destroy(this.tabpage_15)
  1502. destroy(this.tabpage_16)
  1503. destroy(this.tabpage_17)
  1504. destroy(this.tabpage_18)
  1505. destroy(this.tabpage_19)
  1506. destroy(this.tabpage_20)
  1507. destroy(this.tabpage_21)
  1508. destroy(this.tabpage_22)
  1509. destroy(this.tabpage_23)
  1510. destroy(this.tabpage_24)
  1511. destroy(this.tabpage_25)
  1512. destroy(this.tabpage_26)
  1513. destroy(this.tabpage_27)
  1514. destroy(this.tabpage_28)
  1515. destroy(this.tabpage_29)
  1516. destroy(this.tabpage_30)
  1517. destroy(this.tabpage_31)
  1518. destroy(this.tabpage_32)
  1519. destroy(this.tabpage_33)
  1520. destroy(this.tabpage_34)
  1521. destroy(this.tabpage_35)
  1522. destroy(this.tabpage_36)
  1523. destroy(this.tabpage_37)
  1524. destroy(this.tabpage_180)
  1525. destroy(this.tabpage_340)
  1526. end on
  1527. event selectionchanged;//wf_retr()
  1528. end event
  1529. type tabpage_1 from userobject within tab_1
  1530. integer x = 18
  1531. integer y = 416
  1532. integer width = 3013
  1533. integer height = 1008
  1534. long backcolor = 134217739
  1535. string text = "销售发货单"
  1536. long tabtextcolor = 134217856
  1537. long tabbackcolor = 134217739
  1538. long picturemaskcolor = 536870912
  1539. dw_outware_sale dw_outware_sale
  1540. end type
  1541. on tabpage_1.create
  1542. this.dw_outware_sale=create dw_outware_sale
  1543. this.Control[]={this.dw_outware_sale}
  1544. end on
  1545. on tabpage_1.destroy
  1546. destroy(this.dw_outware_sale)
  1547. end on
  1548. type dw_outware_sale from u_dw_rbtnfilter within tabpage_1
  1549. integer width = 3506
  1550. integer height = 1000
  1551. integer taborder = 30
  1552. string dataobject = "dw_subject_outware_sale_index"
  1553. boolean hscrollbar = true
  1554. boolean vscrollbar = true
  1555. boolean hsplitscroll = true
  1556. boolean rbutton_filter_use = true
  1557. boolean titleclick_sort_use = true
  1558. end type
  1559. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1560. THIS.SelectRow(0,FALSE)
  1561. THIS.SelectRow(currentrow,TRUE)
  1562. END IF
  1563. end event
  1564. event clicked;call super::clicked;Long ll_scid,ll_billid
  1565. IF row > 0 THEN
  1566. This.SelectRow(0,False)
  1567. This.SelectRow(row,True)
  1568. This.SetRow(row)
  1569. ll_scid = This.Object.u_outware_scid[row]
  1570. ll_billid = This.Object.u_outware_outwareid[row]
  1571. wf_retr_mx(ll_scid,ll_billid)
  1572. END IF
  1573. end event
  1574. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1575. IF dwo.Name = 'u_outware_outwarecode' THEN
  1576. String ls_code
  1577. Long ll_scid
  1578. ll_scid = This.Object.u_outware_scid[row]
  1579. ls_code = This.Object.u_outware_outwarecode[row]
  1580. f_open_win(ll_scid,ls_code)
  1581. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  1582. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  1583. f_open_cred(This.Object.credid[row])
  1584. END IF
  1585. END IF
  1586. end event
  1587. type tabpage_2 from userobject within tab_1
  1588. integer x = 18
  1589. integer y = 416
  1590. integer width = 3013
  1591. integer height = 1008
  1592. long backcolor = 134217739
  1593. string text = "销售退货单"
  1594. long tabtextcolor = 134217856
  1595. long tabbackcolor = 134217739
  1596. long picturemaskcolor = 536870912
  1597. dw_outware_sale_th dw_outware_sale_th
  1598. end type
  1599. on tabpage_2.create
  1600. this.dw_outware_sale_th=create dw_outware_sale_th
  1601. this.Control[]={this.dw_outware_sale_th}
  1602. end on
  1603. on tabpage_2.destroy
  1604. destroy(this.dw_outware_sale_th)
  1605. end on
  1606. type dw_outware_sale_th from u_dw_rbtnfilter within tabpage_2
  1607. integer width = 3506
  1608. integer height = 1000
  1609. integer taborder = 110
  1610. string dataobject = "dw_subject_outware_sale_index"
  1611. boolean hscrollbar = true
  1612. boolean vscrollbar = true
  1613. boolean hsplitscroll = true
  1614. boolean rbutton_filter_use = true
  1615. boolean titleclick_sort_use = true
  1616. end type
  1617. event clicked;call super::clicked;Long ll_scid,ll_billid
  1618. IF row > 0 THEN
  1619. This.SelectRow(0,False)
  1620. This.SelectRow(row,True)
  1621. This.SetRow(row)
  1622. ll_scid = This.Object.u_outware_scid[row]
  1623. ll_billid = This.Object.u_outware_outwareid[row]
  1624. wf_retr_mx(ll_scid,ll_billid)
  1625. END IF
  1626. end event
  1627. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1628. THIS.SelectRow(0,FALSE)
  1629. THIS.SelectRow(currentrow,TRUE)
  1630. END IF
  1631. end event
  1632. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1633. IF dwo.Name = 'u_outware_outwarecode' THEN
  1634. String ls_code
  1635. Long ll_scid
  1636. ll_scid = This.Object.u_outware_scid[row]
  1637. ls_code = This.Object.u_outware_outwarecode[row]
  1638. f_open_win(ll_scid,ls_code)
  1639. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  1640. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  1641. f_open_cred(This.Object.credid[row])
  1642. END IF
  1643. END IF
  1644. end event
  1645. type tabpage_3 from userobject within tab_1
  1646. event create ( )
  1647. event destroy ( )
  1648. integer x = 18
  1649. integer y = 416
  1650. integer width = 3013
  1651. integer height = 1008
  1652. long backcolor = 134217739
  1653. string text = "客户补件单"
  1654. long tabtextcolor = 134217856
  1655. long tabbackcolor = 134217739
  1656. long picturemaskcolor = 536870912
  1657. dw_cus_reissue_bj dw_cus_reissue_bj
  1658. end type
  1659. on tabpage_3.create
  1660. this.dw_cus_reissue_bj=create dw_cus_reissue_bj
  1661. this.Control[]={this.dw_cus_reissue_bj}
  1662. end on
  1663. on tabpage_3.destroy
  1664. destroy(this.dw_cus_reissue_bj)
  1665. end on
  1666. type dw_cus_reissue_bj from u_dw_rbtnfilter within tabpage_3
  1667. integer width = 3506
  1668. integer height = 1000
  1669. integer taborder = 120
  1670. string dataobject = "dw_subject_cus_reissue_index_bj"
  1671. boolean hscrollbar = true
  1672. boolean vscrollbar = true
  1673. boolean hsplitscroll = true
  1674. boolean rbutton_filter_use = true
  1675. boolean titleclick_sort_use = true
  1676. end type
  1677. event clicked;call super::clicked;IF row > 0 THEN
  1678. THIS.SelectRow(0,FALSE)
  1679. THIS.SelectRow(row,TRUE)
  1680. THIS.setrow(row)
  1681. END IF
  1682. end event
  1683. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1684. String ls_code
  1685. Long ll_scid
  1686. ll_scid = THIS.Object.scid[row]
  1687. ls_code = THIS.Object.reissuecode[row]
  1688. f_open_win(ll_scid,ls_code)
  1689. END IF
  1690. end event
  1691. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1692. THIS.SelectRow(0,FALSE)
  1693. THIS.SelectRow(currentrow,TRUE)
  1694. END IF
  1695. end event
  1696. type tabpage_4 from userobject within tab_1
  1697. integer x = 18
  1698. integer y = 416
  1699. integer width = 3013
  1700. integer height = 1008
  1701. long backcolor = 134217739
  1702. string text = "客户费用单"
  1703. long tabtextcolor = 134217856
  1704. long tabbackcolor = 134217739
  1705. long picturemaskcolor = 536870912
  1706. dw_cus_reissue dw_cus_reissue
  1707. end type
  1708. on tabpage_4.create
  1709. this.dw_cus_reissue=create dw_cus_reissue
  1710. this.Control[]={this.dw_cus_reissue}
  1711. end on
  1712. on tabpage_4.destroy
  1713. destroy(this.dw_cus_reissue)
  1714. end on
  1715. type dw_cus_reissue from u_dw_rbtnfilter within tabpage_4
  1716. integer width = 3506
  1717. integer height = 1000
  1718. integer taborder = 140
  1719. string dataobject = "dw_subject_cus_reissue_index"
  1720. boolean hscrollbar = true
  1721. boolean vscrollbar = true
  1722. boolean hsplitscroll = true
  1723. boolean rbutton_filter_use = true
  1724. boolean titleclick_sort_use = true
  1725. end type
  1726. event clicked;call super::clicked;IF row > 0 THEN
  1727. THIS.SelectRow(0,FALSE)
  1728. THIS.SelectRow(row,TRUE)
  1729. THIS.setrow(row)
  1730. END IF
  1731. end event
  1732. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1733. String ls_code
  1734. Long ll_scid
  1735. ll_scid = THIS.Object.scid[row]
  1736. ls_code = THIS.Object.reissuecode[row]
  1737. f_open_win(ll_scid,ls_code)
  1738. END IF
  1739. end event
  1740. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1741. THIS.SelectRow(0,FALSE)
  1742. THIS.SelectRow(currentrow,TRUE)
  1743. END IF
  1744. end event
  1745. type tabpage_5 from userobject within tab_1
  1746. event create ( )
  1747. event destroy ( )
  1748. integer x = 18
  1749. integer y = 416
  1750. integer width = 3013
  1751. integer height = 1008
  1752. long backcolor = 134217739
  1753. string text = "客户返利单"
  1754. long tabtextcolor = 134217856
  1755. long tabbackcolor = 134217739
  1756. long picturemaskcolor = 536870912
  1757. dw_cus_giveback dw_cus_giveback
  1758. end type
  1759. on tabpage_5.create
  1760. this.dw_cus_giveback=create dw_cus_giveback
  1761. this.Control[]={this.dw_cus_giveback}
  1762. end on
  1763. on tabpage_5.destroy
  1764. destroy(this.dw_cus_giveback)
  1765. end on
  1766. type dw_cus_giveback from u_dw_rbtnfilter within tabpage_5
  1767. integer width = 3506
  1768. integer height = 1000
  1769. integer taborder = 120
  1770. string dataobject = "dw_subject_cus_giveback_index"
  1771. boolean hscrollbar = true
  1772. boolean vscrollbar = true
  1773. boolean hsplitscroll = true
  1774. boolean rbutton_filter_use = true
  1775. boolean titleclick_sort_use = true
  1776. end type
  1777. event clicked;call super::clicked;IF row > 0 THEN
  1778. THIS.SelectRow(0,FALSE)
  1779. THIS.SelectRow(row,TRUE)
  1780. THIS.setrow(row)
  1781. END IF
  1782. end event
  1783. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1784. String ls_code
  1785. Long ll_scid
  1786. ll_scid = THIS.Object.scid[row]
  1787. ls_code = THIS.Object.reissuecode[row]
  1788. f_open_win(ll_scid,ls_code)
  1789. END IF
  1790. end event
  1791. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1792. THIS.SelectRow(0,FALSE)
  1793. THIS.SelectRow(currentrow,TRUE)
  1794. END IF
  1795. end event
  1796. type tabpage_6 from userobject within tab_1
  1797. integer x = 18
  1798. integer y = 416
  1799. integer width = 3013
  1800. integer height = 1008
  1801. long backcolor = 134217739
  1802. string text = "采购收货单"
  1803. long tabtextcolor = 32896
  1804. long tabbackcolor = 134217739
  1805. long picturemaskcolor = 536870912
  1806. dw_inware_buy dw_inware_buy
  1807. end type
  1808. on tabpage_6.create
  1809. this.dw_inware_buy=create dw_inware_buy
  1810. this.Control[]={this.dw_inware_buy}
  1811. end on
  1812. on tabpage_6.destroy
  1813. destroy(this.dw_inware_buy)
  1814. end on
  1815. type dw_inware_buy from u_dw_rbtnfilter within tabpage_6
  1816. integer width = 3506
  1817. integer height = 1000
  1818. integer taborder = 130
  1819. string dataobject = "dw_subject_inware_buy_index"
  1820. boolean hscrollbar = true
  1821. boolean vscrollbar = true
  1822. boolean hsplitscroll = true
  1823. boolean rbutton_filter_use = true
  1824. boolean titleclick_sort_use = true
  1825. end type
  1826. event clicked;call super::clicked;Long ll_scid,ll_billid
  1827. IF row > 0 THEN
  1828. This.SelectRow(0,False)
  1829. This.SelectRow(row,True)
  1830. This.SetRow(row)
  1831. ll_scid = This.Object.u_inware_scid[row]
  1832. ll_billid = This.Object.inwareid[row]
  1833. wf_retr_mx(ll_scid,ll_billid)
  1834. END IF
  1835. end event
  1836. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1837. IF dwo.Name = 'inwarecode' THEN
  1838. String ls_code
  1839. Long ll_scid
  1840. ll_scid = This.Object.u_inware_scid[row]
  1841. ls_code = This.Object.inwarecode[row]
  1842. f_open_win(ll_scid,ls_code)
  1843. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  1844. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  1845. f_open_cred(This.Object.credid[row])
  1846. END IF
  1847. END IF
  1848. end event
  1849. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1850. THIS.SelectRow(0,FALSE)
  1851. THIS.SelectRow(currentrow,TRUE)
  1852. END IF
  1853. end event
  1854. type tabpage_7 from userobject within tab_1
  1855. integer x = 18
  1856. integer y = 416
  1857. integer width = 3013
  1858. integer height = 1008
  1859. long backcolor = 134217739
  1860. string text = "采购退货单"
  1861. long tabtextcolor = 32896
  1862. long tabbackcolor = 134217739
  1863. long picturemaskcolor = 536870912
  1864. dw_inware_buy_th dw_inware_buy_th
  1865. end type
  1866. on tabpage_7.create
  1867. this.dw_inware_buy_th=create dw_inware_buy_th
  1868. this.Control[]={this.dw_inware_buy_th}
  1869. end on
  1870. on tabpage_7.destroy
  1871. destroy(this.dw_inware_buy_th)
  1872. end on
  1873. type dw_inware_buy_th from u_dw_rbtnfilter within tabpage_7
  1874. integer width = 3506
  1875. integer height = 1000
  1876. integer taborder = 130
  1877. boolean bringtotop = true
  1878. string dataobject = "dw_subject_inware_buy_index"
  1879. boolean hscrollbar = true
  1880. boolean vscrollbar = true
  1881. boolean hsplitscroll = true
  1882. boolean rbutton_filter_use = true
  1883. boolean titleclick_sort_use = true
  1884. end type
  1885. event clicked;call super::clicked;Long ll_scid,ll_billid
  1886. IF row > 0 THEN
  1887. This.SelectRow(0,False)
  1888. This.SelectRow(row,True)
  1889. This.SetRow(row)
  1890. ll_scid = This.Object.u_inware_scid[row]
  1891. ll_billid = This.Object.inwareid[row]
  1892. wf_retr_mx(ll_scid,ll_billid)
  1893. END IF
  1894. end event
  1895. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1896. IF dwo.Name = 'inwarecode' THEN
  1897. String ls_code
  1898. Long ll_scid
  1899. ll_scid = This.Object.u_inware_scid[row]
  1900. ls_code = This.Object.inwarecode[row]
  1901. f_open_win(ll_scid,ls_code)
  1902. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  1903. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  1904. f_open_cred(This.Object.credid[row])
  1905. END IF
  1906. END IF
  1907. end event
  1908. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1909. THIS.SelectRow(0,FALSE)
  1910. THIS.SelectRow(currentrow,TRUE)
  1911. END IF
  1912. end event
  1913. type tabpage_8 from userobject within tab_1
  1914. event create ( )
  1915. event destroy ( )
  1916. integer x = 18
  1917. integer y = 416
  1918. integer width = 3013
  1919. integer height = 1008
  1920. long backcolor = 134217739
  1921. string text = "供应商罚款单"
  1922. long tabtextcolor = 32896
  1923. long tabbackcolor = 134217739
  1924. long picturemaskcolor = 536870912
  1925. dw_spt_amerce dw_spt_amerce
  1926. end type
  1927. on tabpage_8.create
  1928. this.dw_spt_amerce=create dw_spt_amerce
  1929. this.Control[]={this.dw_spt_amerce}
  1930. end on
  1931. on tabpage_8.destroy
  1932. destroy(this.dw_spt_amerce)
  1933. end on
  1934. type dw_spt_amerce from u_dw_rbtnfilter within tabpage_8
  1935. integer width = 3506
  1936. integer height = 1000
  1937. string dataobject = "dw_subject_spt_amerce_index"
  1938. boolean hscrollbar = true
  1939. boolean vscrollbar = true
  1940. boolean hsplitscroll = true
  1941. boolean rbutton_filter_use = true
  1942. boolean titleclick_sort_use = true
  1943. end type
  1944. event clicked;call super::clicked;IF row > 0 THEN
  1945. THIS.SelectRow(0,FALSE)
  1946. THIS.SelectRow(row,TRUE)
  1947. THIS.setrow(row)
  1948. END IF
  1949. end event
  1950. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  1951. IF dwo.Name = 'u_spt_amerce_billcode' THEN
  1952. String ls_code
  1953. Long ll_scid
  1954. ll_scid = This.Object.u_spt_amerce_scid[row]
  1955. ls_code = This.Object.u_spt_amerce_billcode[row]
  1956. f_open_win(ll_scid,ls_code)
  1957. ELSEIF dwo.Name = 'u_spt_amerce_credtype' Or dwo.Name = 'credno' THEN
  1958. IF This.Object.u_spt_amerce_cwauditingflag[row] = 0 THEN RETURN
  1959. f_open_cred(This.Object.u_spt_amerce_credid[row])
  1960. END IF
  1961. END IF
  1962. end event
  1963. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  1964. THIS.SelectRow(0,FALSE)
  1965. THIS.SelectRow(currentrow,TRUE)
  1966. END IF
  1967. end event
  1968. type tabpage_9 from userobject within tab_1
  1969. integer x = 18
  1970. integer y = 416
  1971. integer width = 3013
  1972. integer height = 1008
  1973. long backcolor = 134217739
  1974. string text = "供应商费用单"
  1975. long tabtextcolor = 32896
  1976. long tabbackcolor = 134217739
  1977. long picturemaskcolor = 536870912
  1978. dw_spt_reissue dw_spt_reissue
  1979. end type
  1980. on tabpage_9.create
  1981. this.dw_spt_reissue=create dw_spt_reissue
  1982. this.Control[]={this.dw_spt_reissue}
  1983. end on
  1984. on tabpage_9.destroy
  1985. destroy(this.dw_spt_reissue)
  1986. end on
  1987. type dw_spt_reissue from u_dw_rbtnfilter within tabpage_9
  1988. integer width = 3506
  1989. integer height = 1000
  1990. integer taborder = 140
  1991. string dataobject = "dw_subject_spt_reissue_index"
  1992. boolean hscrollbar = true
  1993. boolean vscrollbar = true
  1994. boolean hsplitscroll = true
  1995. boolean rbutton_filter_use = true
  1996. boolean titleclick_sort_use = true
  1997. end type
  1998. event clicked;call super::clicked;IF row > 0 THEN
  1999. THIS.SelectRow(0,FALSE)
  2000. THIS.SelectRow(row,TRUE)
  2001. THIS.setrow(row)
  2002. END IF
  2003. end event
  2004. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2005. IF dwo.Name = 'reissuecode' THEN
  2006. String ls_code
  2007. Long ll_scid
  2008. ll_scid = This.Object.scid[row]
  2009. ls_code = This.Object.reissuecode[row]
  2010. f_open_win(ll_scid,ls_code)
  2011. ELSEIF dwo.Name = 'u_reissue_credtype' Or dwo.Name = 'credno' THEN
  2012. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2013. f_open_cred(This.Object.u_reissue_credid[row])
  2014. END IF
  2015. END IF
  2016. end event
  2017. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2018. THIS.SelectRow(0,FALSE)
  2019. THIS.SelectRow(currentrow,TRUE)
  2020. END IF
  2021. end event
  2022. type tabpage_10 from userobject within tab_1
  2023. integer x = 18
  2024. integer y = 416
  2025. integer width = 3013
  2026. integer height = 1008
  2027. long backcolor = 134217739
  2028. string text = "外协发出单"
  2029. long tabtextcolor = 134217858
  2030. long tabbackcolor = 134217739
  2031. long picturemaskcolor = 536870912
  2032. dw_outware_wfjg dw_outware_wfjg
  2033. end type
  2034. on tabpage_10.create
  2035. this.dw_outware_wfjg=create dw_outware_wfjg
  2036. this.Control[]={this.dw_outware_wfjg}
  2037. end on
  2038. on tabpage_10.destroy
  2039. destroy(this.dw_outware_wfjg)
  2040. end on
  2041. type dw_outware_wfjg from u_dw_rbtnfilter within tabpage_10
  2042. integer width = 3506
  2043. integer height = 1000
  2044. integer taborder = 120
  2045. string dataobject = "dw_subject_outware_wfjg_index"
  2046. boolean hscrollbar = true
  2047. boolean vscrollbar = true
  2048. boolean hsplitscroll = true
  2049. boolean rbutton_filter_use = true
  2050. boolean titleclick_sort_use = true
  2051. end type
  2052. event clicked;call super::clicked;Long ll_scid,ll_billid
  2053. IF row > 0 THEN
  2054. This.SelectRow(0,False)
  2055. This.SelectRow(row,True)
  2056. This.SetRow(row)
  2057. ll_scid = This.Object.u_outware_scid[row]
  2058. ll_billid = This.Object.u_outware_outwareid[row]
  2059. wf_retr_mx(ll_scid,ll_billid)
  2060. END IF
  2061. end event
  2062. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2063. THIS.SelectRow(0,FALSE)
  2064. THIS.SelectRow(currentrow,TRUE)
  2065. END IF
  2066. end event
  2067. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2068. String ls_code
  2069. Long ll_scid
  2070. ll_scid = THIS.Object.u_outware_scid[row]
  2071. ls_code = THIS.Object.u_outware_outwarecode[row]
  2072. f_open_win(ll_scid,ls_code)
  2073. END IF
  2074. end event
  2075. type tabpage_11 from userobject within tab_1
  2076. integer x = 18
  2077. integer y = 416
  2078. integer width = 3013
  2079. integer height = 1008
  2080. long backcolor = 134217739
  2081. string text = "外协退回单"
  2082. long tabtextcolor = 134217858
  2083. long tabbackcolor = 134217739
  2084. long picturemaskcolor = 536870912
  2085. dw_outware_wfjg_th dw_outware_wfjg_th
  2086. end type
  2087. on tabpage_11.create
  2088. this.dw_outware_wfjg_th=create dw_outware_wfjg_th
  2089. this.Control[]={this.dw_outware_wfjg_th}
  2090. end on
  2091. on tabpage_11.destroy
  2092. destroy(this.dw_outware_wfjg_th)
  2093. end on
  2094. type dw_outware_wfjg_th from u_dw_rbtnfilter within tabpage_11
  2095. integer width = 3506
  2096. integer height = 1000
  2097. string dataobject = "dw_subject_outware_wfjg_index"
  2098. boolean hscrollbar = true
  2099. boolean vscrollbar = true
  2100. boolean hsplitscroll = true
  2101. boolean rbutton_filter_use = true
  2102. boolean titleclick_sort_use = true
  2103. end type
  2104. event clicked;call super::clicked;Long ll_scid,ll_billid
  2105. IF row > 0 THEN
  2106. This.SelectRow(0,False)
  2107. This.SelectRow(row,True)
  2108. This.SetRow(row)
  2109. ll_scid = This.Object.u_outware_scid[row]
  2110. ll_billid = This.Object.u_outware_outwareid[row]
  2111. wf_retr_mx(ll_scid,ll_billid)
  2112. END IF
  2113. end event
  2114. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2115. String ls_code
  2116. Long ll_scid
  2117. ll_scid = THIS.Object.u_outware_scid[row]
  2118. ls_code = THIS.Object.u_outware_outwarecode[row]
  2119. f_open_win(ll_scid,ls_code)
  2120. END IF
  2121. end event
  2122. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2123. THIS.SelectRow(0,FALSE)
  2124. THIS.SelectRow(currentrow,TRUE)
  2125. END IF
  2126. end event
  2127. type tabpage_12 from userobject within tab_1
  2128. integer x = 18
  2129. integer y = 416
  2130. integer width = 3013
  2131. integer height = 1008
  2132. long backcolor = 134217739
  2133. string text = "外协收货单"
  2134. long tabtextcolor = 134217858
  2135. long tabbackcolor = 134217739
  2136. long picturemaskcolor = 536870912
  2137. dw_inware_wfjg dw_inware_wfjg
  2138. end type
  2139. on tabpage_12.create
  2140. this.dw_inware_wfjg=create dw_inware_wfjg
  2141. this.Control[]={this.dw_inware_wfjg}
  2142. end on
  2143. on tabpage_12.destroy
  2144. destroy(this.dw_inware_wfjg)
  2145. end on
  2146. type dw_inware_wfjg from u_dw_rbtnfilter within tabpage_12
  2147. integer width = 3506
  2148. integer height = 1000
  2149. integer taborder = 130
  2150. string dataobject = "dw_subject_inware_wfjg_index"
  2151. boolean hscrollbar = true
  2152. boolean vscrollbar = true
  2153. boolean hsplitscroll = true
  2154. boolean rbutton_filter_use = true
  2155. boolean titleclick_sort_use = true
  2156. end type
  2157. event clicked;call super::clicked;Long ll_scid,ll_billid
  2158. IF row > 0 THEN
  2159. This.SelectRow(0,False)
  2160. This.SelectRow(row,True)
  2161. This.SetRow(row)
  2162. ll_scid = This.Object.u_inware_scid[row]
  2163. ll_billid = This.Object.inwareid[row]
  2164. wf_retr_mx(ll_scid,ll_billid)
  2165. END IF
  2166. end event
  2167. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2168. String ls_code
  2169. Long ll_scid
  2170. ll_scid = THIS.Object.u_inware_scid[row]
  2171. ls_code = THIS.Object.inwarecode[row]
  2172. f_open_win(ll_scid,ls_code)
  2173. END IF
  2174. end event
  2175. event rowfocuschanged;call super::rowfocuschanged;//Long ll_scid,ll_billid
  2176. //
  2177. //IF row > 0 THEN
  2178. // This.SelectRow(0,False)
  2179. // This.SelectRow(row,True)
  2180. // This.SetRow(row)
  2181. //
  2182. // ll_scid = This.Object.u_inware_scid[row]
  2183. // ll_billid = This.Object.inwareid[row]
  2184. //
  2185. //
  2186. // wf_retr_mx(ll_scid,ll_billid)
  2187. //END IF
  2188. //
  2189. //
  2190. end event
  2191. type tabpage_13 from userobject within tab_1
  2192. integer x = 18
  2193. integer y = 416
  2194. integer width = 3013
  2195. integer height = 1008
  2196. long backcolor = 134217739
  2197. string text = "外协返工单"
  2198. long tabtextcolor = 134217858
  2199. long tabbackcolor = 134217739
  2200. long picturemaskcolor = 536870912
  2201. dw_inware_wfjg_th dw_inware_wfjg_th
  2202. end type
  2203. on tabpage_13.create
  2204. this.dw_inware_wfjg_th=create dw_inware_wfjg_th
  2205. this.Control[]={this.dw_inware_wfjg_th}
  2206. end on
  2207. on tabpage_13.destroy
  2208. destroy(this.dw_inware_wfjg_th)
  2209. end on
  2210. type dw_inware_wfjg_th from u_dw_rbtnfilter within tabpage_13
  2211. integer width = 3506
  2212. integer height = 1000
  2213. string dataobject = "dw_subject_inware_wfjg_index"
  2214. boolean hscrollbar = true
  2215. boolean vscrollbar = true
  2216. boolean hsplitscroll = true
  2217. boolean rbutton_filter_use = true
  2218. boolean titleclick_sort_use = true
  2219. end type
  2220. event clicked;call super::clicked;Long ll_scid,ll_billid
  2221. IF row > 0 THEN
  2222. This.SelectRow(0,False)
  2223. This.SelectRow(row,True)
  2224. This.SetRow(row)
  2225. ll_scid = This.Object.u_inware_scid[row]
  2226. ll_billid = This.Object.inwareid[row]
  2227. wf_retr_mx(ll_scid,ll_billid)
  2228. END IF
  2229. end event
  2230. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2231. String ls_code
  2232. Long ll_scid
  2233. ll_scid = THIS.Object.u_inware_scid[row]
  2234. ls_code = THIS.Object.inwarecode[row]
  2235. f_open_win(ll_scid,ls_code)
  2236. END IF
  2237. end event
  2238. event rowfocuschanged;call super::rowfocuschanged;//Long ll_scid,ll_billid
  2239. //
  2240. //IF row > 0 THEN
  2241. // This.SelectRow(0,False)
  2242. // This.SelectRow(row,True)
  2243. // This.SetRow(row)
  2244. //
  2245. // ll_scid = This.Object.u_inware_scid[row]
  2246. // ll_billid = This.Object.inwareid[row]
  2247. //
  2248. //
  2249. // wf_retr_mx(ll_scid,ll_billid)
  2250. //END IF
  2251. //
  2252. //
  2253. end event
  2254. type tabpage_14 from userobject within tab_1
  2255. integer x = 18
  2256. integer y = 416
  2257. integer width = 3013
  2258. integer height = 1008
  2259. long backcolor = 134217739
  2260. string text = "领料出仓单"
  2261. long tabtextcolor = 32768
  2262. long tabbackcolor = 134217739
  2263. long picturemaskcolor = 536870912
  2264. dw_outware_scll dw_outware_scll
  2265. end type
  2266. on tabpage_14.create
  2267. this.dw_outware_scll=create dw_outware_scll
  2268. this.Control[]={this.dw_outware_scll}
  2269. end on
  2270. on tabpage_14.destroy
  2271. destroy(this.dw_outware_scll)
  2272. end on
  2273. type dw_outware_scll from u_dw_rbtnfilter within tabpage_14
  2274. integer width = 3506
  2275. integer height = 1000
  2276. integer taborder = 120
  2277. string dataobject = "dw_subject_outware_scll_index"
  2278. boolean hscrollbar = true
  2279. boolean vscrollbar = true
  2280. boolean hsplitscroll = true
  2281. boolean rbutton_filter_use = true
  2282. boolean titleclick_sort_use = true
  2283. end type
  2284. event clicked;call super::clicked;Long ll_scid,ll_billid
  2285. IF row > 0 THEN
  2286. This.SelectRow(0,False)
  2287. This.SelectRow(row,True)
  2288. This.SetRow(row)
  2289. ll_scid = This.Object.u_outware_scid[row]
  2290. ll_billid = This.Object.u_outware_outwareid[row]
  2291. wf_retr_mx(ll_scid,ll_billid)
  2292. END IF
  2293. end event
  2294. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2295. THIS.SelectRow(0,FALSE)
  2296. THIS.SelectRow(currentrow,TRUE)
  2297. END IF
  2298. end event
  2299. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2300. IF dwo.Name = 'u_outware_outwarecode' THEN
  2301. String ls_code
  2302. Long ll_scid
  2303. ll_scid = This.Object.u_outware_scid[row]
  2304. ls_code = This.Object.u_outware_outwarecode[row]
  2305. f_open_win(ll_scid,ls_code)
  2306. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  2307. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2308. f_open_cred(This.Object.credid[row])
  2309. END IF
  2310. END IF
  2311. end event
  2312. type tabpage_15 from userobject within tab_1
  2313. integer x = 18
  2314. integer y = 416
  2315. integer width = 3013
  2316. integer height = 1008
  2317. long backcolor = 134217739
  2318. string text = "其他出仓单"
  2319. long tabtextcolor = 32768
  2320. long tabbackcolor = 134217739
  2321. long picturemaskcolor = 536870912
  2322. dw_outware_other dw_outware_other
  2323. end type
  2324. on tabpage_15.create
  2325. this.dw_outware_other=create dw_outware_other
  2326. this.Control[]={this.dw_outware_other}
  2327. end on
  2328. on tabpage_15.destroy
  2329. destroy(this.dw_outware_other)
  2330. end on
  2331. type dw_outware_other from u_dw_rbtnfilter within tabpage_15
  2332. integer width = 3506
  2333. integer height = 1000
  2334. integer taborder = 120
  2335. string dataobject = "dw_subject_outware_other_index"
  2336. boolean hscrollbar = true
  2337. boolean vscrollbar = true
  2338. boolean hsplitscroll = true
  2339. boolean rbutton_filter_use = true
  2340. boolean titleclick_sort_use = true
  2341. end type
  2342. event clicked;call super::clicked;Long ll_scid,ll_billid
  2343. IF row > 0 THEN
  2344. This.SelectRow(0,False)
  2345. This.SelectRow(row,True)
  2346. This.SetRow(row)
  2347. ll_scid = This.Object.u_outware_scid[row]
  2348. ll_billid = This.Object.u_outware_outwareid[row]
  2349. wf_retr_mx(ll_scid,ll_billid)
  2350. END IF
  2351. end event
  2352. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2353. THIS.SelectRow(0,FALSE)
  2354. THIS.SelectRow(currentrow,TRUE)
  2355. END IF
  2356. end event
  2357. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2358. IF dwo.Name = 'u_outware_outwarecode' THEN
  2359. String ls_code
  2360. Long ll_scid
  2361. ll_scid = This.Object.u_outware_scid[row]
  2362. ls_code = This.Object.u_outware_outwarecode[row]
  2363. f_open_win(ll_scid,ls_code)
  2364. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  2365. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2366. f_open_cred(This.Object.credid[row])
  2367. END IF
  2368. END IF
  2369. end event
  2370. type tabpage_16 from userobject within tab_1
  2371. integer x = 18
  2372. integer y = 416
  2373. integer width = 3013
  2374. integer height = 1008
  2375. long backcolor = 134217739
  2376. string text = "盘亏单"
  2377. long tabtextcolor = 32768
  2378. long tabbackcolor = 134217739
  2379. long picturemaskcolor = 536870912
  2380. dw_outware_pk dw_outware_pk
  2381. end type
  2382. on tabpage_16.create
  2383. this.dw_outware_pk=create dw_outware_pk
  2384. this.Control[]={this.dw_outware_pk}
  2385. end on
  2386. on tabpage_16.destroy
  2387. destroy(this.dw_outware_pk)
  2388. end on
  2389. type dw_outware_pk from u_dw_rbtnfilter within tabpage_16
  2390. integer width = 3506
  2391. integer height = 1000
  2392. integer taborder = 120
  2393. string dataobject = "dw_subject_outware_pk_index"
  2394. boolean hscrollbar = true
  2395. boolean vscrollbar = true
  2396. boolean hsplitscroll = true
  2397. boolean rbutton_filter_use = true
  2398. boolean titleclick_sort_use = true
  2399. end type
  2400. event clicked;call super::clicked;Long ll_scid,ll_billid
  2401. IF row > 0 THEN
  2402. This.SelectRow(0,False)
  2403. This.SelectRow(row,True)
  2404. This.SetRow(row)
  2405. ll_scid = This.Object.u_outware_scid[row]
  2406. ll_billid = This.Object.u_outware_outwareid[row]
  2407. wf_retr_mx(ll_scid,ll_billid)
  2408. END IF
  2409. end event
  2410. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2411. THIS.SelectRow(0,FALSE)
  2412. THIS.SelectRow(currentrow,TRUE)
  2413. END IF
  2414. end event
  2415. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2416. IF dwo.Name = 'u_outware_outwarecode' THEN
  2417. String ls_code
  2418. Long ll_scid
  2419. ll_scid = This.Object.u_outware_scid[row]
  2420. ls_code = This.Object.u_outware_outwarecode[row]
  2421. f_open_win(ll_scid,ls_code)
  2422. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  2423. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2424. f_open_cred(This.Object.credid[row])
  2425. END IF
  2426. END IF
  2427. end event
  2428. type tabpage_17 from userobject within tab_1
  2429. integer x = 18
  2430. integer y = 416
  2431. integer width = 3013
  2432. integer height = 1008
  2433. long backcolor = 134217739
  2434. string text = "生产进仓单"
  2435. long tabtextcolor = 32768
  2436. long tabbackcolor = 134217739
  2437. long picturemaskcolor = 536870912
  2438. dw_inware_cp dw_inware_cp
  2439. end type
  2440. on tabpage_17.create
  2441. this.dw_inware_cp=create dw_inware_cp
  2442. this.Control[]={this.dw_inware_cp}
  2443. end on
  2444. on tabpage_17.destroy
  2445. destroy(this.dw_inware_cp)
  2446. end on
  2447. type dw_inware_cp from u_dw_rbtnfilter within tabpage_17
  2448. integer width = 3506
  2449. integer height = 1000
  2450. integer taborder = 130
  2451. string dataobject = "dw_subject_inware_cp_index"
  2452. boolean hscrollbar = true
  2453. boolean vscrollbar = true
  2454. boolean hsplitscroll = true
  2455. boolean rbutton_filter_use = true
  2456. boolean titleclick_sort_use = true
  2457. end type
  2458. event clicked;call super::clicked;Long ll_scid,ll_billid
  2459. IF row > 0 THEN
  2460. This.SelectRow(0,False)
  2461. This.SelectRow(row,True)
  2462. This.SetRow(row)
  2463. ll_scid = This.Object.u_inware_scid[row]
  2464. ll_billid = This.Object.inwareid[row]
  2465. wf_retr_mx(ll_scid,ll_billid)
  2466. END IF
  2467. end event
  2468. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2469. IF dwo.Name = 'inwarecode' THEN
  2470. String ls_code
  2471. Long ll_scid
  2472. ll_scid = This.Object.u_inware_scid[row]
  2473. ls_code = This.Object.inwarecode[row]
  2474. f_open_win(ll_scid,ls_code)
  2475. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  2476. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2477. f_open_cred(This.Object.credid[row])
  2478. END IF
  2479. END IF
  2480. end event
  2481. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2482. THIS.SelectRow(0,FALSE)
  2483. THIS.SelectRow(currentrow,TRUE)
  2484. END IF
  2485. end event
  2486. type tabpage_18 from userobject within tab_1
  2487. integer x = 18
  2488. integer y = 416
  2489. integer width = 3013
  2490. integer height = 1008
  2491. long backcolor = 134217739
  2492. string text = "其他进仓单"
  2493. long tabtextcolor = 32768
  2494. long tabbackcolor = 134217739
  2495. long picturemaskcolor = 536870912
  2496. dw_inware_other dw_inware_other
  2497. end type
  2498. on tabpage_18.create
  2499. this.dw_inware_other=create dw_inware_other
  2500. this.Control[]={this.dw_inware_other}
  2501. end on
  2502. on tabpage_18.destroy
  2503. destroy(this.dw_inware_other)
  2504. end on
  2505. type dw_inware_other from u_dw_rbtnfilter within tabpage_18
  2506. integer width = 3506
  2507. integer height = 1000
  2508. integer taborder = 130
  2509. string dataobject = "dw_subject_inware_other_index"
  2510. boolean hscrollbar = true
  2511. boolean vscrollbar = true
  2512. boolean hsplitscroll = true
  2513. boolean rbutton_filter_use = true
  2514. boolean titleclick_sort_use = true
  2515. end type
  2516. event clicked;call super::clicked;Long ll_scid,ll_billid
  2517. IF row > 0 THEN
  2518. This.SelectRow(0,False)
  2519. This.SelectRow(row,True)
  2520. This.SetRow(row)
  2521. ll_scid = This.Object.u_inware_scid[row]
  2522. ll_billid = This.Object.inwareid[row]
  2523. wf_retr_mx(ll_scid,ll_billid)
  2524. END IF
  2525. end event
  2526. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2527. IF dwo.Name = 'inwarecode' THEN
  2528. String ls_code
  2529. Long ll_scid
  2530. ll_scid = This.Object.u_inware_scid[row]
  2531. ls_code = This.Object.inwarecode[row]
  2532. f_open_win(ll_scid,ls_code)
  2533. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  2534. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2535. f_open_cred(This.Object.credid[row])
  2536. END IF
  2537. END IF
  2538. end event
  2539. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2540. THIS.SelectRow(0,FALSE)
  2541. THIS.SelectRow(currentrow,TRUE)
  2542. END IF
  2543. end event
  2544. type tabpage_19 from userobject within tab_1
  2545. integer x = 18
  2546. integer y = 416
  2547. integer width = 3013
  2548. integer height = 1008
  2549. long backcolor = 134217739
  2550. string text = "盘盈单"
  2551. long tabtextcolor = 32768
  2552. long tabbackcolor = 134217739
  2553. long picturemaskcolor = 536870912
  2554. dw_inware_py dw_inware_py
  2555. end type
  2556. on tabpage_19.create
  2557. this.dw_inware_py=create dw_inware_py
  2558. this.Control[]={this.dw_inware_py}
  2559. end on
  2560. on tabpage_19.destroy
  2561. destroy(this.dw_inware_py)
  2562. end on
  2563. type dw_inware_py from u_dw_rbtnfilter within tabpage_19
  2564. integer width = 3506
  2565. integer height = 1000
  2566. integer taborder = 130
  2567. string dataobject = "dw_subject_inware_py_index"
  2568. boolean hscrollbar = true
  2569. boolean vscrollbar = true
  2570. boolean hsplitscroll = true
  2571. boolean rbutton_filter_use = true
  2572. boolean titleclick_sort_use = true
  2573. end type
  2574. event clicked;call super::clicked;Long ll_scid,ll_billid
  2575. IF row > 0 THEN
  2576. This.SelectRow(0,False)
  2577. This.SelectRow(row,True)
  2578. This.SetRow(row)
  2579. ll_scid = This.Object.u_inware_scid[row]
  2580. ll_billid = This.Object.inwareid[row]
  2581. wf_retr_mx(ll_scid,ll_billid)
  2582. END IF
  2583. end event
  2584. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2585. IF dwo.Name = 'inwarecode' THEN
  2586. String ls_code
  2587. Long ll_scid
  2588. ll_scid = This.Object.u_inware_scid[row]
  2589. ls_code = This.Object.inwarecode[row]
  2590. f_open_win(ll_scid,ls_code)
  2591. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  2592. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2593. f_open_cred(This.Object.credid[row])
  2594. END IF
  2595. END IF
  2596. end event
  2597. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2598. THIS.SelectRow(0,FALSE)
  2599. THIS.SelectRow(currentrow,TRUE)
  2600. END IF
  2601. end event
  2602. type tabpage_20 from userobject within tab_1
  2603. integer x = 18
  2604. integer y = 416
  2605. integer width = 3013
  2606. integer height = 1008
  2607. long backcolor = 134217739
  2608. string text = "扣费品领用单"
  2609. long tabtextcolor = 32768
  2610. long tabbackcolor = 134217739
  2611. long picturemaskcolor = 536870912
  2612. dw_outware_gj dw_outware_gj
  2613. end type
  2614. on tabpage_20.create
  2615. this.dw_outware_gj=create dw_outware_gj
  2616. this.Control[]={this.dw_outware_gj}
  2617. end on
  2618. on tabpage_20.destroy
  2619. destroy(this.dw_outware_gj)
  2620. end on
  2621. type dw_outware_gj from u_dw_rbtnfilter within tabpage_20
  2622. integer width = 3506
  2623. integer height = 1000
  2624. integer taborder = 120
  2625. string dataobject = "dw_subject_outware_gj_index"
  2626. boolean hscrollbar = true
  2627. boolean vscrollbar = true
  2628. boolean hsplitscroll = true
  2629. boolean rbutton_filter_use = true
  2630. boolean titleclick_sort_use = true
  2631. end type
  2632. event clicked;call super::clicked;Long ll_scid,ll_billid
  2633. IF row > 0 THEN
  2634. This.SelectRow(0,False)
  2635. This.SelectRow(row,True)
  2636. This.SetRow(row)
  2637. ll_scid = This.Object.u_outware_scid[row]
  2638. ll_billid = This.Object.u_outware_outwareid[row]
  2639. wf_retr_mx(ll_scid,ll_billid)
  2640. END IF
  2641. end event
  2642. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2643. THIS.SelectRow(0,FALSE)
  2644. THIS.SelectRow(currentrow,TRUE)
  2645. END IF
  2646. end event
  2647. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2648. IF dwo.Name = 'u_outware_outwarecode' THEN
  2649. String ls_code
  2650. Long ll_scid
  2651. ll_scid = This.Object.u_outware_scid[row]
  2652. ls_code = This.Object.u_outware_outwarecode[row]
  2653. f_open_win(ll_scid,ls_code)
  2654. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  2655. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2656. f_open_cred(This.Object.credid[row])
  2657. END IF
  2658. END IF
  2659. end event
  2660. type tabpage_21 from userobject within tab_1
  2661. integer x = 18
  2662. integer y = 416
  2663. integer width = 3013
  2664. integer height = 1008
  2665. long backcolor = 134217739
  2666. string text = "调拨单"
  2667. long tabtextcolor = 32768
  2668. long tabbackcolor = 134217739
  2669. long picturemaskcolor = 536870912
  2670. dw_outware_move dw_outware_move
  2671. end type
  2672. on tabpage_21.create
  2673. this.dw_outware_move=create dw_outware_move
  2674. this.Control[]={this.dw_outware_move}
  2675. end on
  2676. on tabpage_21.destroy
  2677. destroy(this.dw_outware_move)
  2678. end on
  2679. type dw_outware_move from u_dw_rbtnfilter within tabpage_21
  2680. integer width = 3506
  2681. integer height = 1000
  2682. integer taborder = 20
  2683. string dataobject = "dw_subject_outware_move_index"
  2684. boolean hscrollbar = true
  2685. boolean vscrollbar = true
  2686. boolean hsplitscroll = true
  2687. boolean rbutton_filter_use = true
  2688. boolean titleclick_sort_use = true
  2689. end type
  2690. event clicked;call super::clicked;Long ll_scid,ll_billid
  2691. IF row > 0 THEN
  2692. This.SelectRow(0,False)
  2693. This.SelectRow(row,True)
  2694. This.SetRow(row)
  2695. ll_scid = This.Object.u_outware_scid[row]
  2696. ll_billid = This.Object.u_outware_outwareid[row]
  2697. wf_retr_mx(ll_scid,ll_billid)
  2698. END IF
  2699. end event
  2700. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2701. THIS.SelectRow(0,FALSE)
  2702. THIS.SelectRow(currentrow,TRUE)
  2703. END IF
  2704. end event
  2705. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2706. String ls_code
  2707. Long ll_scid
  2708. ll_scid = THIS.Object.u_outware_scid[row]
  2709. ls_code = THIS.Object.u_outware_part[row]
  2710. f_open_win(ll_scid,ls_code)
  2711. END IF
  2712. end event
  2713. type tabpage_22 from userobject within tab_1
  2714. boolean visible = false
  2715. integer x = 18
  2716. integer y = 416
  2717. integer width = 3013
  2718. integer height = 1008
  2719. long backcolor = 134217739
  2720. string text = "库存成本价调整单"
  2721. long tabtextcolor = 32768
  2722. long tabbackcolor = 134217739
  2723. long picturemaskcolor = 536870912
  2724. dw_update_cost dw_update_cost
  2725. end type
  2726. on tabpage_22.create
  2727. this.dw_update_cost=create dw_update_cost
  2728. this.Control[]={this.dw_update_cost}
  2729. end on
  2730. on tabpage_22.destroy
  2731. destroy(this.dw_update_cost)
  2732. end on
  2733. type dw_update_cost from u_dw_rbtnfilter within tabpage_22
  2734. integer width = 3506
  2735. integer height = 1000
  2736. integer taborder = 130
  2737. string dataobject = "dw_subject_inware_movein_index"
  2738. boolean hscrollbar = true
  2739. boolean vscrollbar = true
  2740. boolean hsplitscroll = true
  2741. boolean rbutton_filter_use = true
  2742. boolean titleclick_sort_use = true
  2743. end type
  2744. event clicked;call super::clicked;Long ll_scid,ll_billid
  2745. IF row > 0 THEN
  2746. This.SelectRow(0,False)
  2747. This.SelectRow(row,True)
  2748. This.SetRow(row)
  2749. ll_scid = This.Object.u_inware_scid[row]
  2750. ll_billid = This.Object.inwareid[row]
  2751. wf_retr_mx(ll_scid,ll_billid)
  2752. END IF
  2753. end event
  2754. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2755. String ls_code
  2756. Long ll_scid
  2757. ll_scid = THIS.Object.u_inware_scid[row]
  2758. ls_code = THIS.Object.part[row]
  2759. f_open_win(ll_scid,ls_code)
  2760. END IF
  2761. end event
  2762. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2763. THIS.SelectRow(0,FALSE)
  2764. THIS.SelectRow(currentrow,TRUE)
  2765. END IF
  2766. end event
  2767. type tabpage_23 from userobject within tab_1
  2768. boolean visible = false
  2769. integer x = 18
  2770. integer y = 416
  2771. integer width = 3013
  2772. integer height = 1008
  2773. long backcolor = 134217739
  2774. string text = "拆装单-拆"
  2775. long tabtextcolor = 32768
  2776. long tabbackcolor = 134217739
  2777. long picturemaskcolor = 536870912
  2778. dw_outware_installout dw_outware_installout
  2779. end type
  2780. on tabpage_23.create
  2781. this.dw_outware_installout=create dw_outware_installout
  2782. this.Control[]={this.dw_outware_installout}
  2783. end on
  2784. on tabpage_23.destroy
  2785. destroy(this.dw_outware_installout)
  2786. end on
  2787. type dw_outware_installout from u_dw_rbtnfilter within tabpage_23
  2788. integer width = 3506
  2789. integer height = 1000
  2790. integer taborder = 120
  2791. string dataobject = "dw_subject_outware_installout_index"
  2792. boolean hscrollbar = true
  2793. boolean vscrollbar = true
  2794. boolean hsplitscroll = true
  2795. boolean rbutton_filter_use = true
  2796. boolean titleclick_sort_use = true
  2797. end type
  2798. event clicked;call super::clicked;Long ll_scid,ll_billid
  2799. IF row > 0 THEN
  2800. This.SelectRow(0,False)
  2801. This.SelectRow(row,True)
  2802. This.SetRow(row)
  2803. ll_scid = This.Object.u_outware_scid[row]
  2804. ll_billid = This.Object.u_outware_outwareid[row]
  2805. wf_retr_mx(ll_scid,ll_billid)
  2806. END IF
  2807. end event
  2808. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2809. THIS.SelectRow(0,FALSE)
  2810. THIS.SelectRow(currentrow,TRUE)
  2811. END IF
  2812. end event
  2813. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2814. String ls_code
  2815. Long ll_scid
  2816. ll_scid = THIS.Object.u_outware_scid[row]
  2817. ls_code = THIS.Object.u_outware_part[row]
  2818. f_open_win(ll_scid,ls_code)
  2819. END IF
  2820. end event
  2821. type tabpage_24 from userobject within tab_1
  2822. boolean visible = false
  2823. integer x = 18
  2824. integer y = 416
  2825. integer width = 3013
  2826. integer height = 1008
  2827. long backcolor = 134217739
  2828. string text = "拆装单-装"
  2829. long tabtextcolor = 32768
  2830. long tabbackcolor = 134217739
  2831. long picturemaskcolor = 536870912
  2832. dw_inware_installin dw_inware_installin
  2833. end type
  2834. on tabpage_24.create
  2835. this.dw_inware_installin=create dw_inware_installin
  2836. this.Control[]={this.dw_inware_installin}
  2837. end on
  2838. on tabpage_24.destroy
  2839. destroy(this.dw_inware_installin)
  2840. end on
  2841. type dw_inware_installin from u_dw_rbtnfilter within tabpage_24
  2842. integer width = 3506
  2843. integer height = 1000
  2844. integer taborder = 130
  2845. string dataobject = "dw_subject_inware_installin_index"
  2846. boolean hscrollbar = true
  2847. boolean vscrollbar = true
  2848. boolean hsplitscroll = true
  2849. boolean rbutton_filter_use = true
  2850. boolean titleclick_sort_use = true
  2851. end type
  2852. event clicked;call super::clicked;Long ll_scid,ll_billid
  2853. IF row > 0 THEN
  2854. This.SelectRow(0,False)
  2855. This.SelectRow(row,True)
  2856. This.SetRow(row)
  2857. ll_scid = This.Object.u_inware_scid[row]
  2858. ll_billid = This.Object.inwareid[row]
  2859. wf_retr_mx(ll_scid,ll_billid)
  2860. END IF
  2861. end event
  2862. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2863. String ls_code
  2864. Long ll_scid
  2865. ll_scid = THIS.Object.u_inware_scid[row]
  2866. ls_code = THIS.Object.part[row]
  2867. f_open_win(ll_scid,ls_code)
  2868. END IF
  2869. end event
  2870. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2871. THIS.SelectRow(0,FALSE)
  2872. THIS.SelectRow(currentrow,TRUE)
  2873. END IF
  2874. end event
  2875. type tabpage_25 from userobject within tab_1
  2876. integer x = 18
  2877. integer y = 416
  2878. integer width = 3013
  2879. integer height = 1008
  2880. long backcolor = 134217739
  2881. string text = "客户收款单"
  2882. long tabtextcolor = 33554432
  2883. long tabbackcolor = 134217739
  2884. long picturemaskcolor = 536870912
  2885. dw_cusamt_edit dw_cusamt_edit
  2886. end type
  2887. on tabpage_25.create
  2888. this.dw_cusamt_edit=create dw_cusamt_edit
  2889. this.Control[]={this.dw_cusamt_edit}
  2890. end on
  2891. on tabpage_25.destroy
  2892. destroy(this.dw_cusamt_edit)
  2893. end on
  2894. type dw_cusamt_edit from u_dw_rbtnfilter within tabpage_25
  2895. integer width = 3506
  2896. integer height = 1000
  2897. integer taborder = 150
  2898. string dataobject = "dw_subject_cusamt_edit_index"
  2899. boolean hscrollbar = true
  2900. boolean vscrollbar = true
  2901. boolean hsplitscroll = true
  2902. boolean rbutton_filter_use = true
  2903. boolean titleclick_sort_use = true
  2904. end type
  2905. event clicked;call super::clicked;IF row > 0 THEN
  2906. THIS.SelectRow(0,FALSE)
  2907. THIS.SelectRow(row,TRUE)
  2908. THIS.setrow(row)
  2909. // wf_retr_mx
  2910. END IF
  2911. end event
  2912. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2913. IF dwo.Name = 'u_cusamt_cusmoncode' THEN
  2914. String ls_code
  2915. Long ll_scid
  2916. ll_scid = This.Object.u_cusamt_scid[row]
  2917. ls_code = This.Object.u_cusamt_cusmoncode[row]
  2918. f_open_win(ll_scid,ls_code)
  2919. ELSEIF dwo.Name = 'u_cusamt_credtype' Or dwo.Name = 'u_cusamt_credno' THEN
  2920. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  2921. f_open_cred(This.Object.u_cusamt_credid[row])
  2922. END IF
  2923. END IF
  2924. end event
  2925. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2926. THIS.SelectRow(0,FALSE)
  2927. THIS.SelectRow(currentrow,TRUE)
  2928. END IF
  2929. end event
  2930. type tabpage_26 from userobject within tab_1
  2931. integer x = 18
  2932. integer y = 416
  2933. integer width = 3013
  2934. integer height = 1008
  2935. long backcolor = 134217739
  2936. string text = "其它应收单"
  2937. long tabtextcolor = 33554432
  2938. long tabbackcolor = 134217739
  2939. long picturemaskcolor = 536870912
  2940. dw_msttake_other dw_msttake_other
  2941. end type
  2942. on tabpage_26.create
  2943. this.dw_msttake_other=create dw_msttake_other
  2944. this.Control[]={this.dw_msttake_other}
  2945. end on
  2946. on tabpage_26.destroy
  2947. destroy(this.dw_msttake_other)
  2948. end on
  2949. type dw_msttake_other from u_dw_rbtnfilter within tabpage_26
  2950. integer width = 3506
  2951. integer height = 1000
  2952. integer taborder = 120
  2953. string dataobject = "dw_subject_msttake_other_index"
  2954. boolean hscrollbar = true
  2955. boolean vscrollbar = true
  2956. boolean hsplitscroll = true
  2957. boolean rbutton_filter_use = true
  2958. boolean titleclick_sort_use = true
  2959. end type
  2960. event clicked;call super::clicked;IF row > 0 THEN
  2961. THIS.SelectRow(0,FALSE)
  2962. THIS.SelectRow(row,TRUE)
  2963. THIS.setrow(row)
  2964. END IF
  2965. end event
  2966. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  2967. String ls_code
  2968. Long ll_scid
  2969. ll_scid = THIS.Object.u_bmstamt_scid[row]
  2970. ls_code = THIS.Object.u_bmstamt_bacode[row]
  2971. f_open_win(ll_scid,ls_code)
  2972. END IF
  2973. end event
  2974. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  2975. THIS.SelectRow(0,FALSE)
  2976. THIS.SelectRow(currentrow,TRUE)
  2977. END IF
  2978. end event
  2979. type tabpage_27 from userobject within tab_1
  2980. integer x = 18
  2981. integer y = 416
  2982. integer width = 3013
  2983. integer height = 1008
  2984. long backcolor = 134217739
  2985. string text = "其它收款单"
  2986. long tabtextcolor = 33554432
  2987. long tabbackcolor = 134217739
  2988. long picturemaskcolor = 536870912
  2989. dw_cusamt_other dw_cusamt_other
  2990. end type
  2991. on tabpage_27.create
  2992. this.dw_cusamt_other=create dw_cusamt_other
  2993. this.Control[]={this.dw_cusamt_other}
  2994. end on
  2995. on tabpage_27.destroy
  2996. destroy(this.dw_cusamt_other)
  2997. end on
  2998. type dw_cusamt_other from u_dw_rbtnfilter within tabpage_27
  2999. integer width = 3506
  3000. integer height = 1000
  3001. integer taborder = 120
  3002. string dataobject = "dw_subject_cusamt_other_index"
  3003. boolean hscrollbar = true
  3004. boolean vscrollbar = true
  3005. boolean hsplitscroll = true
  3006. boolean rbutton_filter_use = true
  3007. boolean titleclick_sort_use = true
  3008. end type
  3009. event clicked;call super::clicked;IF row > 0 THEN
  3010. THIS.SelectRow(0,FALSE)
  3011. THIS.SelectRow(row,TRUE)
  3012. THIS.setrow(row)
  3013. END IF
  3014. end event
  3015. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3016. String ls_code
  3017. Long ll_scid
  3018. ll_scid = THIS.Object.u_bmstamt_scid[row]
  3019. ls_code = THIS.Object.u_bmstamt_bacode[row]
  3020. f_open_win(ll_scid,ls_code)
  3021. END IF
  3022. end event
  3023. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3024. THIS.SelectRow(0,FALSE)
  3025. THIS.SelectRow(currentrow,TRUE)
  3026. END IF
  3027. end event
  3028. type tabpage_28 from userobject within tab_1
  3029. integer x = 18
  3030. integer y = 416
  3031. integer width = 3013
  3032. integer height = 1008
  3033. long backcolor = 134217739
  3034. string text = "供应商付款单"
  3035. long tabtextcolor = 33554432
  3036. long tabbackcolor = 134217739
  3037. long picturemaskcolor = 536870912
  3038. dw_sptamt_edit dw_sptamt_edit
  3039. end type
  3040. on tabpage_28.create
  3041. this.dw_sptamt_edit=create dw_sptamt_edit
  3042. this.Control[]={this.dw_sptamt_edit}
  3043. end on
  3044. on tabpage_28.destroy
  3045. destroy(this.dw_sptamt_edit)
  3046. end on
  3047. type dw_sptamt_edit from u_dw_rbtnfilter within tabpage_28
  3048. integer width = 3506
  3049. integer height = 1000
  3050. integer taborder = 150
  3051. string dataobject = "dw_subject_sptamt_edit_index"
  3052. boolean hscrollbar = true
  3053. boolean vscrollbar = true
  3054. boolean hsplitscroll = true
  3055. boolean rbutton_filter_use = true
  3056. boolean titleclick_sort_use = true
  3057. end type
  3058. event clicked;call super::clicked;IF row > 0 THEN
  3059. THIS.SelectRow(0,FALSE)
  3060. THIS.SelectRow(row,TRUE)
  3061. THIS.setrow(row)
  3062. END IF
  3063. end event
  3064. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3065. IF dwo.Name = 'u_cusamt_cusmoncode' THEN
  3066. String ls_code
  3067. Long ll_scid
  3068. ll_scid = This.Object.u_cusamt_scid[row]
  3069. ls_code = This.Object.u_cusamt_cusmoncode[row]
  3070. f_open_win(ll_scid,ls_code)
  3071. ELSEIF dwo.Name = 'u_cusamt_credtype' Or dwo.Name = 'u_cusamt_credno' THEN
  3072. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  3073. f_open_cred(This.Object.u_cusamt_credid[row])
  3074. END IF
  3075. END IF
  3076. end event
  3077. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3078. THIS.SelectRow(0,FALSE)
  3079. THIS.SelectRow(currentrow,TRUE)
  3080. END IF
  3081. end event
  3082. type tabpage_29 from userobject within tab_1
  3083. integer x = 18
  3084. integer y = 416
  3085. integer width = 3013
  3086. integer height = 1008
  3087. long backcolor = 134217739
  3088. string text = "其它应付单"
  3089. long tabtextcolor = 33554432
  3090. long tabbackcolor = 134217739
  3091. long picturemaskcolor = 536870912
  3092. dw_mstpay_other dw_mstpay_other
  3093. end type
  3094. on tabpage_29.create
  3095. this.dw_mstpay_other=create dw_mstpay_other
  3096. this.Control[]={this.dw_mstpay_other}
  3097. end on
  3098. on tabpage_29.destroy
  3099. destroy(this.dw_mstpay_other)
  3100. end on
  3101. type dw_mstpay_other from u_dw_rbtnfilter within tabpage_29
  3102. integer width = 3506
  3103. integer height = 1000
  3104. integer taborder = 120
  3105. string dataobject = "dw_subject_mstpay_other_index"
  3106. boolean hscrollbar = true
  3107. boolean vscrollbar = true
  3108. boolean hsplitscroll = true
  3109. boolean rbutton_filter_use = true
  3110. boolean titleclick_sort_use = true
  3111. end type
  3112. event clicked;call super::clicked;IF row > 0 THEN
  3113. THIS.SelectRow(0,FALSE)
  3114. THIS.SelectRow(row,TRUE)
  3115. THIS.setrow(row)
  3116. END IF
  3117. end event
  3118. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3119. String ls_code
  3120. Long ll_scid
  3121. ll_scid = THIS.Object.u_bmstamt_scid[row]
  3122. ls_code = THIS.Object.u_bmstamt_bacode[row]
  3123. f_open_win(ll_scid,ls_code)
  3124. END IF
  3125. end event
  3126. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3127. THIS.SelectRow(0,FALSE)
  3128. THIS.SelectRow(currentrow,TRUE)
  3129. END IF
  3130. end event
  3131. type tabpage_30 from userobject within tab_1
  3132. integer x = 18
  3133. integer y = 416
  3134. integer width = 3013
  3135. integer height = 1008
  3136. long backcolor = 134217739
  3137. string text = "其它付款单"
  3138. long tabtextcolor = 33554432
  3139. long tabbackcolor = 134217739
  3140. long picturemaskcolor = 536870912
  3141. dw_sptamt_other dw_sptamt_other
  3142. end type
  3143. on tabpage_30.create
  3144. this.dw_sptamt_other=create dw_sptamt_other
  3145. this.Control[]={this.dw_sptamt_other}
  3146. end on
  3147. on tabpage_30.destroy
  3148. destroy(this.dw_sptamt_other)
  3149. end on
  3150. type dw_sptamt_other from u_dw_rbtnfilter within tabpage_30
  3151. integer width = 3506
  3152. integer height = 1000
  3153. integer taborder = 120
  3154. string dataobject = "dw_subject_sptamt_other_index"
  3155. boolean hscrollbar = true
  3156. boolean vscrollbar = true
  3157. boolean hsplitscroll = true
  3158. boolean rbutton_filter_use = true
  3159. boolean titleclick_sort_use = true
  3160. end type
  3161. event clicked;call super::clicked;IF row > 0 THEN
  3162. THIS.SelectRow(0,FALSE)
  3163. THIS.SelectRow(row,TRUE)
  3164. THIS.setrow(row)
  3165. END IF
  3166. end event
  3167. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3168. String ls_code
  3169. Long ll_scid
  3170. ll_scid = THIS.Object.u_bmstamt_scid[row]
  3171. ls_code = THIS.Object.u_bmstamt_bacode[row]
  3172. f_open_win(ll_scid,ls_code)
  3173. END IF
  3174. end event
  3175. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3176. THIS.SelectRow(0,FALSE)
  3177. THIS.SelectRow(currentrow,TRUE)
  3178. END IF
  3179. end event
  3180. type tabpage_31 from userobject within tab_1
  3181. integer x = 18
  3182. integer y = 416
  3183. integer width = 3013
  3184. integer height = 1008
  3185. long backcolor = 134217739
  3186. string text = "其它收入单"
  3187. long tabtextcolor = 33554432
  3188. long tabbackcolor = 134217739
  3189. long picturemaskcolor = 536870912
  3190. dw_income_expenses dw_income_expenses
  3191. end type
  3192. on tabpage_31.create
  3193. this.dw_income_expenses=create dw_income_expenses
  3194. this.Control[]={this.dw_income_expenses}
  3195. end on
  3196. on tabpage_31.destroy
  3197. destroy(this.dw_income_expenses)
  3198. end on
  3199. type dw_income_expenses from u_dw_rbtnfilter within tabpage_31
  3200. integer width = 3506
  3201. integer height = 1000
  3202. integer taborder = 150
  3203. string dataobject = "dw_subject_income_expenses_index"
  3204. boolean hscrollbar = true
  3205. boolean vscrollbar = true
  3206. boolean hsplitscroll = true
  3207. boolean rbutton_filter_use = true
  3208. boolean titleclick_sort_use = true
  3209. end type
  3210. event clicked;call super::clicked;
  3211. Long ll_scid,ll_billid
  3212. IF row > 0 THEN
  3213. This.SelectRow(0,False)
  3214. This.SelectRow(row,True)
  3215. This.SetRow(row)
  3216. ll_scid = This.Object.scid[row]
  3217. ll_billid = This.Object.u_income_expenses_billid[row]
  3218. wf_retr_mx(ll_scid,ll_billid)
  3219. END IF
  3220. end event
  3221. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3222. String ls_code
  3223. Long ll_scid
  3224. ll_scid = THIS.Object.scid[row]
  3225. ls_code = THIS.Object.u_income_expenses_billcode[row]
  3226. f_open_win(ll_scid,ls_code)
  3227. END IF
  3228. end event
  3229. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3230. THIS.SelectRow(0,FALSE)
  3231. THIS.SelectRow(currentrow,TRUE)
  3232. END IF
  3233. end event
  3234. type tabpage_32 from userobject within tab_1
  3235. integer x = 18
  3236. integer y = 416
  3237. integer width = 3013
  3238. integer height = 1008
  3239. long backcolor = 134217739
  3240. string text = "其它支出单"
  3241. long tabtextcolor = 33554432
  3242. long tabbackcolor = 134217739
  3243. long picturemaskcolor = 536870912
  3244. dw_income_expenses_out dw_income_expenses_out
  3245. end type
  3246. on tabpage_32.create
  3247. this.dw_income_expenses_out=create dw_income_expenses_out
  3248. this.Control[]={this.dw_income_expenses_out}
  3249. end on
  3250. on tabpage_32.destroy
  3251. destroy(this.dw_income_expenses_out)
  3252. end on
  3253. type dw_income_expenses_out from u_dw_rbtnfilter within tabpage_32
  3254. integer width = 3506
  3255. integer height = 1000
  3256. integer taborder = 120
  3257. string dataobject = "dw_subject_income_expenses_index"
  3258. boolean hscrollbar = true
  3259. boolean vscrollbar = true
  3260. boolean hsplitscroll = true
  3261. boolean rbutton_filter_use = true
  3262. boolean titleclick_sort_use = true
  3263. end type
  3264. event clicked;call super::clicked;
  3265. Long ll_scid,ll_billid
  3266. IF row > 0 THEN
  3267. This.SelectRow(0,False)
  3268. This.SelectRow(row,True)
  3269. This.SetRow(row)
  3270. ll_scid = This.Object.scid[row]
  3271. ll_billid = This.Object.u_income_expenses_billid[row]
  3272. wf_retr_mx(ll_scid,ll_billid)
  3273. END IF
  3274. end event
  3275. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3276. String ls_code
  3277. Long ll_scid
  3278. ll_scid = THIS.Object.scid[row]
  3279. ls_code = THIS.Object.u_income_expenses_billcode[row]
  3280. f_open_win(ll_scid,ls_code)
  3281. END IF
  3282. end event
  3283. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3284. THIS.SelectRow(0,FALSE)
  3285. THIS.SelectRow(currentrow,TRUE)
  3286. END IF
  3287. end event
  3288. type tabpage_33 from userobject within tab_1
  3289. integer x = 18
  3290. integer y = 416
  3291. integer width = 3013
  3292. integer height = 1008
  3293. long backcolor = 134217739
  3294. string text = "转账单"
  3295. long tabtextcolor = 33554432
  3296. long tabbackcolor = 134217739
  3297. long picturemaskcolor = 536870912
  3298. dw_rap_money_transfer dw_rap_money_transfer
  3299. end type
  3300. on tabpage_33.create
  3301. this.dw_rap_money_transfer=create dw_rap_money_transfer
  3302. this.Control[]={this.dw_rap_money_transfer}
  3303. end on
  3304. on tabpage_33.destroy
  3305. destroy(this.dw_rap_money_transfer)
  3306. end on
  3307. type dw_rap_money_transfer from u_dw_rbtnfilter within tabpage_33
  3308. integer width = 3506
  3309. integer height = 1000
  3310. integer taborder = 150
  3311. string dataobject = "dw_subject_rap_money_transfer_index"
  3312. boolean hscrollbar = true
  3313. boolean vscrollbar = true
  3314. boolean hsplitscroll = true
  3315. boolean rbutton_filter_use = true
  3316. boolean titleclick_sort_use = true
  3317. end type
  3318. event clicked;call super::clicked;IF row > 0 THEN
  3319. THIS.SelectRow(0,FALSE)
  3320. THIS.SelectRow(row,TRUE)
  3321. THIS.setrow(row)
  3322. // wf_retr_mx
  3323. END IF
  3324. end event
  3325. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3326. IF dwo.Name = 'billcode' THEN
  3327. String ls_code
  3328. Long ll_scid
  3329. ll_scid = 0
  3330. ls_code = This.Object.billcode[row]
  3331. f_open_win(ll_scid,ls_code)
  3332. ELSEIF dwo.Name = 'credtype' Or dwo.Name = 'credno' THEN
  3333. IF This.Object.cwauditingflag[row] = 0 THEN RETURN
  3334. f_open_cred(This.Object.credid[row])
  3335. END IF
  3336. END IF
  3337. end event
  3338. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3339. THIS.SelectRow(0,FALSE)
  3340. THIS.SelectRow(currentrow,TRUE)
  3341. END IF
  3342. end event
  3343. type tabpage_34 from userobject within tab_1
  3344. integer x = 18
  3345. integer y = 416
  3346. integer width = 3013
  3347. integer height = 1008
  3348. long backcolor = 134217739
  3349. string text = "客户收款结算单"
  3350. long tabtextcolor = 33554432
  3351. long tabbackcolor = 134217739
  3352. long picturemaskcolor = 536870912
  3353. dw_bmstamt_edit dw_bmstamt_edit
  3354. end type
  3355. on tabpage_34.create
  3356. this.dw_bmstamt_edit=create dw_bmstamt_edit
  3357. this.Control[]={this.dw_bmstamt_edit}
  3358. end on
  3359. on tabpage_34.destroy
  3360. destroy(this.dw_bmstamt_edit)
  3361. end on
  3362. type dw_bmstamt_edit from u_dw_rbtnfilter within tabpage_34
  3363. integer width = 3506
  3364. integer height = 1000
  3365. integer taborder = 150
  3366. string dataobject = "dw_subject_bmstamt_edit_index"
  3367. boolean hscrollbar = true
  3368. boolean vscrollbar = true
  3369. boolean hsplitscroll = true
  3370. boolean rbutton_filter_use = true
  3371. boolean titleclick_sort_use = true
  3372. end type
  3373. event clicked;call super::clicked;IF row > 0 THEN
  3374. THIS.SelectRow(0,FALSE)
  3375. THIS.SelectRow(row,TRUE)
  3376. THIS.setrow(row)
  3377. END IF
  3378. end event
  3379. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3380. String ls_code
  3381. Long ll_scid
  3382. ll_scid = THIS.Object.u_bmstamt_scid[row]
  3383. ls_code = THIS.Object.u_bmstamt_bacode[row]
  3384. f_open_win(ll_scid,ls_code)
  3385. END IF
  3386. end event
  3387. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3388. THIS.SelectRow(0,FALSE)
  3389. THIS.SelectRow(currentrow,TRUE)
  3390. END IF
  3391. end event
  3392. type tabpage_35 from userobject within tab_1
  3393. integer x = 18
  3394. integer y = 416
  3395. integer width = 3013
  3396. integer height = 1008
  3397. long backcolor = 134217739
  3398. string text = "供应商付款结算单"
  3399. long tabtextcolor = 33554432
  3400. long tabbackcolor = 134217739
  3401. long picturemaskcolor = 536870912
  3402. dw_bmstamt_spt dw_bmstamt_spt
  3403. end type
  3404. on tabpage_35.create
  3405. this.dw_bmstamt_spt=create dw_bmstamt_spt
  3406. this.Control[]={this.dw_bmstamt_spt}
  3407. end on
  3408. on tabpage_35.destroy
  3409. destroy(this.dw_bmstamt_spt)
  3410. end on
  3411. type dw_bmstamt_spt from u_dw_rbtnfilter within tabpage_35
  3412. integer width = 3506
  3413. integer height = 1000
  3414. integer taborder = 150
  3415. string dataobject = "dw_subject_bmstamt_spt_index"
  3416. boolean hscrollbar = true
  3417. boolean vscrollbar = true
  3418. boolean hsplitscroll = true
  3419. boolean rbutton_filter_use = true
  3420. boolean titleclick_sort_use = true
  3421. end type
  3422. event clicked;call super::clicked;IF row > 0 THEN
  3423. THIS.SelectRow(0,FALSE)
  3424. THIS.SelectRow(row,TRUE)
  3425. THIS.setrow(row)
  3426. END IF
  3427. end event
  3428. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3429. String ls_code
  3430. Long ll_scid
  3431. ll_scid = THIS.Object.u_bmstamt_scid[row]
  3432. ls_code = THIS.Object.u_bmstamt_bacode[row]
  3433. f_open_win(ll_scid,ls_code)
  3434. END IF
  3435. end event
  3436. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3437. THIS.SelectRow(0,FALSE)
  3438. THIS.SelectRow(currentrow,TRUE)
  3439. END IF
  3440. end event
  3441. type tabpage_36 from userobject within tab_1
  3442. boolean visible = false
  3443. integer x = 18
  3444. integer y = 416
  3445. integer width = 3013
  3446. integer height = 1008
  3447. long backcolor = 134217739
  3448. string text = "借支单"
  3449. long tabtextcolor = 8388736
  3450. long tabbackcolor = 134217739
  3451. long picturemaskcolor = 536870912
  3452. dw_gz_loanwage dw_gz_loanwage
  3453. end type
  3454. on tabpage_36.create
  3455. this.dw_gz_loanwage=create dw_gz_loanwage
  3456. this.Control[]={this.dw_gz_loanwage}
  3457. end on
  3458. on tabpage_36.destroy
  3459. destroy(this.dw_gz_loanwage)
  3460. end on
  3461. type dw_gz_loanwage from u_dw_rbtnfilter within tabpage_36
  3462. integer width = 3506
  3463. integer height = 1000
  3464. integer taborder = 150
  3465. string dataobject = "dw_subject_gz_loanwage_index"
  3466. boolean hscrollbar = true
  3467. boolean vscrollbar = true
  3468. boolean hsplitscroll = true
  3469. boolean rbutton_filter_use = true
  3470. boolean titleclick_sort_use = true
  3471. end type
  3472. event clicked;call super::clicked;IF row > 0 THEN
  3473. THIS.SelectRow(0,FALSE)
  3474. THIS.SelectRow(row,TRUE)
  3475. THIS.setrow(row)
  3476. END IF
  3477. end event
  3478. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3479. String ls_code
  3480. Long ll_scid
  3481. // ll_scid = THIS.Object.u_inware_scid[row]
  3482. ls_code = THIS.Object.u_gz_loanwage_billcode[row]
  3483. f_open_win(ll_scid,ls_code)
  3484. END IF
  3485. end event
  3486. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3487. THIS.SelectRow(0,FALSE)
  3488. THIS.SelectRow(currentrow,TRUE)
  3489. END IF
  3490. end event
  3491. type tabpage_37 from userobject within tab_1
  3492. boolean visible = false
  3493. integer x = 18
  3494. integer y = 416
  3495. integer width = 3013
  3496. integer height = 1008
  3497. long backcolor = 134217739
  3498. string text = "奖罚单"
  3499. long tabtextcolor = 8388736
  3500. long tabbackcolor = 134217739
  3501. long picturemaskcolor = 536870912
  3502. dw_gz_award_punish dw_gz_award_punish
  3503. end type
  3504. on tabpage_37.create
  3505. this.dw_gz_award_punish=create dw_gz_award_punish
  3506. this.Control[]={this.dw_gz_award_punish}
  3507. end on
  3508. on tabpage_37.destroy
  3509. destroy(this.dw_gz_award_punish)
  3510. end on
  3511. type dw_gz_award_punish from u_dw_rbtnfilter within tabpage_37
  3512. integer width = 3506
  3513. integer height = 1000
  3514. integer taborder = 150
  3515. string dataobject = "dw_subject_gz_award_punish_index"
  3516. boolean hscrollbar = true
  3517. boolean vscrollbar = true
  3518. boolean hsplitscroll = true
  3519. boolean rbutton_filter_use = true
  3520. boolean titleclick_sort_use = true
  3521. end type
  3522. event clicked;call super::clicked;IF row > 0 THEN
  3523. THIS.SelectRow(0,FALSE)
  3524. THIS.SelectRow(row,TRUE)
  3525. THIS.setrow(row)
  3526. END IF
  3527. end event
  3528. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3529. String ls_code
  3530. Long ll_scid
  3531. // ll_scid = THIS.Object.u_inware_scid[row]
  3532. ls_code = THIS.Object.u_gz_award_punish_billcode[row]
  3533. f_open_win(ll_scid,ls_code)
  3534. END IF
  3535. end event
  3536. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3537. THIS.SelectRow(0,FALSE)
  3538. THIS.SelectRow(currentrow,TRUE)
  3539. END IF
  3540. end event
  3541. type tabpage_180 from userobject within tab_1
  3542. boolean visible = false
  3543. integer x = 18
  3544. integer y = 416
  3545. integer width = 3013
  3546. integer height = 1008
  3547. long backcolor = 134217739
  3548. string text = "来料加工收料进仓单"
  3549. long tabtextcolor = 32768
  3550. long tabbackcolor = 134217739
  3551. long picturemaskcolor = 536870912
  3552. dw_inware_rec dw_inware_rec
  3553. end type
  3554. on tabpage_180.create
  3555. this.dw_inware_rec=create dw_inware_rec
  3556. this.Control[]={this.dw_inware_rec}
  3557. end on
  3558. on tabpage_180.destroy
  3559. destroy(this.dw_inware_rec)
  3560. end on
  3561. type dw_inware_rec from u_dw_rbtnfilter within tabpage_180
  3562. integer width = 3506
  3563. integer height = 1000
  3564. integer taborder = 130
  3565. string dataobject = "dw_subject_inware_rec_index"
  3566. boolean hscrollbar = true
  3567. boolean vscrollbar = true
  3568. boolean hsplitscroll = true
  3569. boolean rbutton_filter_use = true
  3570. boolean titleclick_sort_use = true
  3571. end type
  3572. event clicked;call super::clicked;Long ll_scid,ll_billid
  3573. IF row > 0 THEN
  3574. This.SelectRow(0,False)
  3575. This.SelectRow(row,True)
  3576. This.SetRow(row)
  3577. ll_scid = This.Object.u_inware_scid[row]
  3578. ll_billid = This.Object.inwareid[row]
  3579. wf_retr_mx(ll_scid,ll_billid)
  3580. END IF
  3581. end event
  3582. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3583. String ls_code
  3584. Long ll_scid
  3585. ll_scid = THIS.Object.u_inware_scid[row]
  3586. ls_code = THIS.Object.inwarecode[row]
  3587. f_open_win(ll_scid,ls_code)
  3588. END IF
  3589. end event
  3590. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3591. THIS.SelectRow(0,FALSE)
  3592. THIS.SelectRow(currentrow,TRUE)
  3593. END IF
  3594. end event
  3595. type tabpage_340 from userobject within tab_1
  3596. boolean visible = false
  3597. integer x = 18
  3598. integer y = 416
  3599. integer width = 3013
  3600. integer height = 1008
  3601. long backcolor = 134217739
  3602. string text = "来产加工发货出仓单"
  3603. long tabtextcolor = 32768
  3604. long tabbackcolor = 134217739
  3605. long picturemaskcolor = 536870912
  3606. end type
  3607. type cb_auditing from uo_imflatbutton within w_subject_audit
  3608. integer x = 969
  3609. integer width = 274
  3610. integer height = 164
  3611. integer taborder = 60
  3612. boolean bringtotop = true
  3613. string text = "会计审核"
  3614. string normalpicname = "audit.bmp"
  3615. integer picsize = 16
  3616. toolbaralignment pic_align = alignattop!
  3617. boolean border = false
  3618. end type
  3619. event clicked;call super::clicked;wf_do(1)
  3620. end event
  3621. type cb_auditing_cancel from uo_imflatbutton within w_subject_audit
  3622. integer x = 1243
  3623. integer width = 274
  3624. integer height = 164
  3625. integer taborder = 70
  3626. boolean bringtotop = true
  3627. string text = "会计撤审"
  3628. string normalpicname = "caudit.bmp"
  3629. integer picsize = 16
  3630. toolbaralignment pic_align = alignattop!
  3631. boolean border = false
  3632. end type
  3633. event clicked;call super::clicked;wf_do(0)
  3634. end event
  3635. type cb_allc from commandbutton within w_subject_audit
  3636. integer x = 2162
  3637. integer y = 196
  3638. integer width = 206
  3639. integer height = 84
  3640. integer taborder = 30
  3641. boolean bringtotop = true
  3642. integer textsize = -9
  3643. integer weight = 400
  3644. fontcharset fontcharset = gb2312charset!
  3645. fontpitch fontpitch = variable!
  3646. string facename = "宋体"
  3647. string text = "全选"
  3648. end type
  3649. event clicked;Long ll_row,ll_credid
  3650. datawindow datadw
  3651. Long i
  3652. ll_row = dw_index.GetRow()
  3653. IF ll_row <= 0 THEN
  3654. RETURN
  3655. ELSE
  3656. ll_credid = dw_index.Object.credid[ll_row]
  3657. END IF
  3658. CHOOSE CASE ll_credid
  3659. CASE 1 //销售发货单
  3660. datadw = tab_1.tabpage_1.dw_outware_sale
  3661. CASE 2 //销售退货单
  3662. datadw = tab_1.tabpage_2.dw_outware_sale_th
  3663. CASE 3 //客户补件单
  3664. datadw = tab_1.tabpage_3.dw_cus_reissue_bj
  3665. CASE 4 //客户费用单
  3666. datadw = tab_1.tabpage_4.dw_cus_reissue
  3667. CASE 5 //客户返利单
  3668. datadw = tab_1.tabpage_5.dw_cus_giveback
  3669. CASE 6 //采购收货单
  3670. datadw = tab_1.tabpage_6.dw_inware_buy
  3671. CASE 7 //采购退货单
  3672. datadw = tab_1.tabpage_7.dw_inware_buy_th
  3673. CASE 8 //供应商罚款单
  3674. datadw = tab_1.tabpage_8.dw_spt_amerce
  3675. CASE 9 //供应商费用单
  3676. datadw = tab_1.tabpage_9.dw_spt_reissue
  3677. CASE 10 //外协发出单
  3678. //datadw = tab_1.tabpage_.dw_spt_reissue
  3679. CASE 11 //外协退回单
  3680. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3681. CASE 12 //外协收货单
  3682. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3683. CASE 13 //外协返工单
  3684. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3685. CASE 14 //领料出仓单
  3686. datadw = tab_1.tabpage_14.dw_outware_scll
  3687. CASE 15 //其它出仓单
  3688. datadw = tab_1.tabpage_15.dw_outware_other
  3689. CASE 16 //盘亏单
  3690. datadw = tab_1.tabpage_16.dw_outware_pk
  3691. CASE 17 //生产进仓单
  3692. datadw = tab_1.tabpage_17.dw_inware_cp
  3693. CASE 18 //其它进仓单
  3694. datadw = tab_1.tabpage_18.dw_inware_other
  3695. CASE 19 //盘盈单
  3696. datadw = tab_1.tabpage_19.dw_inware_py
  3697. CASE 20 //扣费品领用单
  3698. datadw = tab_1.tabpage_20.dw_outware_gj
  3699. CASE 21 //调拨单
  3700. datadw = tab_1.tabpage_21.dw_outware_move
  3701. CASE 22 //拆装单
  3702. //datadw = tab_1.tabpage_22.dw_spt_reissue
  3703. CASE 23 //库存成本价调整单
  3704. //datadw = tab_1.tabpage_23.dw_spt_reissue
  3705. CASE 24 //库存配置调整单
  3706. //datadw = tab_1.tabpage_24.dw_spt_reissue
  3707. CASE 25 //客户收款单
  3708. datadw = tab_1.tabpage_25.dw_cusamt_edit
  3709. CASE 26 //其它应收单
  3710. datadw = tab_1.tabpage_26.dw_msttake_other
  3711. CASE 27 //其它收款单
  3712. datadw = tab_1.tabpage_27.dw_cusamt_other
  3713. CASE 28 //供应商付款单
  3714. datadw = tab_1.tabpage_28.dw_sptamt_edit
  3715. CASE 29 //其它应付单
  3716. datadw = tab_1.tabpage_29.dw_mstpay_other
  3717. CASE 30 //其它付款单
  3718. datadw = tab_1.tabpage_30.dw_sptamt_other
  3719. CASE 31 //其它收入单
  3720. datadw = tab_1.tabpage_31.dw_income_expenses
  3721. CASE 32 //其它支出单
  3722. datadw = tab_1.tabpage_32.dw_income_expenses_out
  3723. CASE 33 //转帐单
  3724. datadw = tab_1.tabpage_33.dw_rap_money_transfer
  3725. CASE 34 //客户收款结算单
  3726. datadw = tab_1.tabpage_34.dw_bmstamt_edit
  3727. CASE 35 //供应商付款结算单
  3728. datadw = tab_1.tabpage_35.dw_bmstamt_spt
  3729. CASE 38 //借支单
  3730. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3731. CASE 39 //奖罚单
  3732. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3733. END CHOOSE
  3734. datadw.SetRedraw (False)
  3735. FOR i = 1 To datadw.RowCount()
  3736. datadw.Object.ch[i] = 1
  3737. NEXT
  3738. datadw.SetRedraw (True)
  3739. end event
  3740. type cb_allc_not from commandbutton within w_subject_audit
  3741. integer x = 2368
  3742. integer y = 196
  3743. integer width = 219
  3744. integer height = 84
  3745. integer taborder = 40
  3746. boolean bringtotop = true
  3747. integer textsize = -9
  3748. integer weight = 400
  3749. fontcharset fontcharset = gb2312charset!
  3750. fontpitch fontpitch = variable!
  3751. string facename = "宋体"
  3752. string text = "全不选"
  3753. end type
  3754. event clicked;Long ll_row,ll_credid
  3755. datawindow datadw
  3756. Long i
  3757. ll_row = dw_index.GetRow()
  3758. IF ll_row <= 0 THEN
  3759. RETURN
  3760. ELSE
  3761. ll_credid = dw_index.Object.credid[ll_row]
  3762. END IF
  3763. CHOOSE CASE ll_credid
  3764. CASE 1 //销售发货单
  3765. datadw = tab_1.tabpage_1.dw_outware_sale
  3766. CASE 2 //销售退货单
  3767. datadw = tab_1.tabpage_2.dw_outware_sale_th
  3768. CASE 3 //客户补件单
  3769. datadw = tab_1.tabpage_3.dw_cus_reissue_bj
  3770. CASE 4 //客户费用单
  3771. datadw = tab_1.tabpage_4.dw_cus_reissue
  3772. CASE 5 //客户返利单
  3773. datadw = tab_1.tabpage_5.dw_cus_giveback
  3774. CASE 6 //采购收货单
  3775. datadw = tab_1.tabpage_6.dw_inware_buy
  3776. CASE 7 //采购退货单
  3777. datadw = tab_1.tabpage_7.dw_inware_buy_th
  3778. CASE 8 //供应商罚款单
  3779. datadw = tab_1.tabpage_8.dw_spt_amerce
  3780. CASE 9 //供应商费用单
  3781. datadw = tab_1.tabpage_9.dw_spt_reissue
  3782. CASE 10 //外协发出单
  3783. //datadw = tab_1.tabpage_.dw_spt_reissue
  3784. CASE 11 //外协退回单
  3785. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3786. CASE 12 //外协收货单
  3787. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3788. CASE 13 //外协返工单
  3789. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3790. CASE 14 //领料出仓单
  3791. datadw = tab_1.tabpage_14.dw_outware_scll
  3792. CASE 15 //其它出仓单
  3793. datadw = tab_1.tabpage_15.dw_outware_other
  3794. CASE 16 //盘亏单
  3795. datadw = tab_1.tabpage_16.dw_outware_pk
  3796. CASE 17 //生产进仓单
  3797. datadw = tab_1.tabpage_17.dw_inware_cp
  3798. CASE 18 //其它进仓单
  3799. datadw = tab_1.tabpage_18.dw_inware_other
  3800. CASE 19 //盘盈单
  3801. datadw = tab_1.tabpage_19.dw_inware_py
  3802. CASE 20 //扣费品领用单
  3803. datadw = tab_1.tabpage_20.dw_outware_gj
  3804. CASE 21 //调拨单
  3805. datadw = tab_1.tabpage_21.dw_outware_move
  3806. CASE 22 //拆装单
  3807. //datadw = tab_1.tabpage_22.dw_spt_reissue
  3808. CASE 23 //库存成本价调整单
  3809. //datadw = tab_1.tabpage_23.dw_spt_reissue
  3810. CASE 24 //库存配置调整单
  3811. //datadw = tab_1.tabpage_24.dw_spt_reissue
  3812. CASE 25 //客户收款单
  3813. datadw = tab_1.tabpage_25.dw_cusamt_edit
  3814. CASE 26 //其它应收单
  3815. datadw = tab_1.tabpage_26.dw_msttake_other
  3816. CASE 27 //其它收款单
  3817. datadw = tab_1.tabpage_27.dw_cusamt_other
  3818. CASE 28 //供应商付款单
  3819. datadw = tab_1.tabpage_28.dw_sptamt_edit
  3820. CASE 29 //其它应付单
  3821. datadw = tab_1.tabpage_29.dw_mstpay_other
  3822. CASE 30 //其它付款单
  3823. datadw = tab_1.tabpage_30.dw_sptamt_other
  3824. CASE 31 //其它收入单
  3825. datadw = tab_1.tabpage_31.dw_income_expenses
  3826. CASE 32 //其它支出单
  3827. datadw = tab_1.tabpage_32.dw_income_expenses_out
  3828. CASE 33 //转帐单
  3829. datadw = tab_1.tabpage_33.dw_rap_money_transfer
  3830. CASE 34 //客户收款结算单
  3831. datadw = tab_1.tabpage_34.dw_bmstamt_edit
  3832. CASE 35 //供应商付款结算单
  3833. datadw = tab_1.tabpage_35.dw_bmstamt_spt
  3834. CASE 38 //借支单
  3835. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3836. CASE 39 //奖罚单
  3837. //datadw = tab_1.tabpage_20.dw_spt_reissue
  3838. END CHOOSE
  3839. datadw.SetRedraw (False)
  3840. FOR i = 1 To datadw.RowCount()
  3841. datadw.Object.ch[i] = 0
  3842. NEXT
  3843. datadw.SetRedraw (True)
  3844. end event
  3845. type cbx_inout from checkbox within w_subject_audit
  3846. boolean visible = false
  3847. integer x = 1975
  3848. integer y = 52
  3849. integer width = 402
  3850. integer height = 60
  3851. boolean bringtotop = true
  3852. integer textsize = -9
  3853. integer weight = 400
  3854. fontcharset fontcharset = gb2312charset!
  3855. fontpitch fontpitch = variable!
  3856. string facename = "宋体"
  3857. long textcolor = 33554432
  3858. long backcolor = 134217739
  3859. string text = "显示明细"
  3860. end type
  3861. event clicked;Int if_inout
  3862. IF This.Checked THEN
  3863. if_inout = 1
  3864. ELSE
  3865. if_inout = 0
  3866. END IF
  3867. f_SetProfileString (sys_empid,dw_1.DataObject, "if_inout", String(if_inout))
  3868. Parent.TriggerEvent(Resize!)
  3869. Parent.TriggerEvent("ue_retrieve_inoutmx")
  3870. end event
  3871. event constructor;this.backcolor = 14215660
  3872. Int if_inout
  3873. if_inout = Integer(f_ProfileString (sys_empid,dw_1.DataObject, "if_inout", '0'))
  3874. IF if_inout = 0 THEN
  3875. This.Checked = False
  3876. ELSE
  3877. This.Checked = True
  3878. END IF
  3879. end event
  3880. type dw_mx from u_dw_rbtnfilter within w_subject_audit
  3881. integer x = 2158
  3882. integer y = 1748
  3883. integer width = 3049
  3884. integer height = 808
  3885. integer taborder = 140
  3886. boolean bringtotop = true
  3887. string dataobject = "dw_rp_subject_audit_inwareall"
  3888. boolean hscrollbar = true
  3889. boolean vscrollbar = true
  3890. boolean hsplitscroll = true
  3891. boolean rbutton_filter_use = true
  3892. boolean titleclick_sort_use = true
  3893. end type
  3894. event clicked;call super::clicked;IF row > 0 THEN
  3895. THIS.SelectRow(0,FALSE)
  3896. THIS.SelectRow(row,TRUE)
  3897. THIS.setrow(row)
  3898. END IF
  3899. end event
  3900. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  3901. String ls_code
  3902. Long ll_scid
  3903. ll_scid = THIS.Object.u_inware_scid[row]
  3904. ls_code = THIS.Object.inwarecode[row]
  3905. f_open_win(ll_scid,ls_code)
  3906. END IF
  3907. end event
  3908. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  3909. THIS.SelectRow(0,FALSE)
  3910. THIS.SelectRow(currentrow,TRUE)
  3911. END IF
  3912. end event
  3913. type st_1 from statictext within w_subject_audit
  3914. integer x = 41
  3915. integer y = 204
  3916. integer width = 233
  3917. integer height = 48
  3918. boolean bringtotop = true
  3919. integer textsize = -9
  3920. integer weight = 400
  3921. fontcharset fontcharset = gb2312charset!
  3922. fontpitch fontpitch = variable!
  3923. string facename = "宋体"
  3924. long textcolor = 33554432
  3925. long backcolor = 134217739
  3926. string text = "会计期间"
  3927. alignment alignment = right!
  3928. boolean focusrectangle = false
  3929. end type
  3930. type ddlb_cmonth from dropdownlistbox within w_subject_audit
  3931. integer x = 302
  3932. integer y = 188
  3933. integer width = 480
  3934. integer height = 2044
  3935. integer taborder = 140
  3936. boolean bringtotop = true
  3937. integer textsize = -9
  3938. integer weight = 400
  3939. fontcharset fontcharset = gb2312charset!
  3940. fontpitch fontpitch = variable!
  3941. string facename = "宋体"
  3942. long textcolor = 33554432
  3943. boolean sorted = false
  3944. boolean vscrollbar = true
  3945. borderstyle borderstyle = stylelowered!
  3946. end type
  3947. event constructor;Long ll_cmonth
  3948. DECLARE cur_month CURSOR FOR
  3949. SELECT cw_calendar.cmonth
  3950. FROM cw_calendar
  3951. WHERE cw_calendar.cmonth <= :sys_curyearmon
  3952. Order By cw_calendar.cmonth Desc;
  3953. OPEN cur_month;
  3954. FETCH cur_month Into :ll_cmonth;
  3955. DO WHILE sqlca.SQLCode = 0
  3956. This.AddItem(String(ll_cmonth))
  3957. FETCH cur_month Into :ll_cmonth;
  3958. LOOP
  3959. CLOSE cur_month;
  3960. This.Text = string(sys_curyearmon)
  3961. cur_cmonth = sys_curyearmon
  3962. end event
  3963. event selectionchanged;cur_cmonth = Long(This.Text)
  3964. cb_1.TriggerEvent(clicked!)
  3965. end event
  3966. type ddlb_scid from uo_ddlb_scid_notall within w_subject_audit
  3967. integer x = 302
  3968. integer y = 44
  3969. integer width = 480
  3970. integer height = 1120
  3971. integer taborder = 20
  3972. boolean bringtotop = true
  3973. end type
  3974. event constructor;call super::constructor;cur_scid_arr[1] = THIS.uo_scid
  3975. cur_scid = THIS.uo_scid
  3976. end event
  3977. event selectionchanged;call super::selectionchanged;cur_scid_arr[1] = THIS.uo_scid
  3978. cur_scid = THIS.uo_scid
  3979. cb_1.TriggerEvent(Clicked!)
  3980. end event
  3981. type st_6 from statictext within w_subject_audit
  3982. integer x = 2642
  3983. integer y = 212
  3984. integer width = 1193
  3985. integer height = 48
  3986. boolean bringtotop = true
  3987. integer textsize = -9
  3988. integer weight = 700
  3989. fontcharset fontcharset = gb2312charset!
  3990. fontpitch fontpitch = variable!
  3991. string facename = "宋体"
  3992. long textcolor = 16711680
  3993. long backcolor = 134217739
  3994. string text = "双击单号查看单据,双击凭证字/凭证号查看凭语"
  3995. boolean focusrectangle = false
  3996. end type
  3997. type dw_index from u_dw_rbtnfilter within w_subject_audit
  3998. integer y = 300
  3999. integer width = 2158
  4000. integer height = 2056
  4001. integer taborder = 20
  4002. boolean bringtotop = true
  4003. string dataobject = "dw_subject_audit_credport_index"
  4004. boolean hscrollbar = true
  4005. boolean vscrollbar = true
  4006. boolean rbutton_filter_use = true
  4007. boolean titleclick_sort_use = true
  4008. end type
  4009. event clicked;call super::clicked;IF row > 0 THEN
  4010. dw_1.SelectRow(0,False)
  4011. dw_1.SelectRow(row,True)
  4012. END IF
  4013. end event
  4014. event rowfocuschanged;call super::rowfocuschanged;IF currentrow > 0 THEN
  4015. This.SelectRow(0,False)
  4016. This.SelectRow(currentrow,True)
  4017. END IF
  4018. wf_retr()
  4019. end event