SMABC00300_세포보관및해동현황.xfdl 153 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMABC00300" position="absolute 0 0 1200 791" titletext="조혈모세포보관 및 해동 Result입력" oninit="SMABC00300_oninit" onload="SMABC00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption19" text="조혈모세포보관 및 해동 Result 입력" class="tit_1" position="absolute 0 0 300 23"/>
  8. <Button id="button9" taborder="1" text="보관위치" class="btn3" position="absolute 0 26 80 48" onclick="button9_onclick"/>
  9. <Button id="button1" taborder="2" text="폐기현황" class="btn3" position="absolute 83 26 167 48" onclick="button1_onclick"/>
  10. <Button id="btn_sea" taborder="3" text="조회" class="btn4" position="absolute 1008 26 1064 48" anchor="top right" onclick="btn_sea_onclick"/>
  11. <Button id="btn_save" taborder="4" text="저장" class="btn4" enable="false" position="absolute 1068 26 1124 48" anchor="top right" onclick="btn_save_onclick"/>
  12. <Button id="btn_cle" taborder="5" text="초기화" class="btn4" position="absolute 1126 26 1194 48" anchor="top right" onclick="btn_cle_onclick"/>
  13. <Static id="caption2" text="보관 및 처방내역" class="tit_2" position="absolute 0 131 136 152"/>
  14. <Shape id="line6" class="line_10" position="absolute 0 147 1194 153" anchor="left top right"/>
  15. <Grid id="grd_detail" class="datagrid2" taborder="6" binddataset="ds_main_cellresultinfo_detailinfo" useinputpanel="false" position="absolute 0 152 1194 287" anchor="left top right" cellsizingtype="col" oncelldblclick="grd_detail_oncelldblclick">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="23"/>
  20. <Column size="98"/>
  21. <Column size="43"/>
  22. <Column size="100"/>
  23. <Column size="92"/>
  24. <Column size="81"/>
  25. <Column size="70"/>
  26. <Column size="58"/>
  27. <Column size="71"/>
  28. <Column size="63"/>
  29. <Column size="95"/>
  30. <Column size="62"/>
  31. <Column size="95"/>
  32. <Column size="57"/>
  33. <Column size="78"/>
  34. <Column size="61"/>
  35. <Column size="75"/>
  36. <Column size="81"/>
  37. <Column size="81"/>
  38. <Column size="83"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="100"/>
  46. <Column size="100"/>
  47. <Column size="100"/>
  48. <Column size="100"/>
  49. <Column size="79"/>
  50. <Column size="87"/>
  51. <Column size="100"/>
  52. <Column size="76"/>
  53. <Column size="83"/>
  54. <Column size="100"/>
  55. <Column size="100"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="76"/>
  59. <Column size="100"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="34"/>
  66. <Column size="70"/>
  67. <Column size="41"/>
  68. <Column size="34"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="0"/>
  72. <Column size="0"/>
  73. </Columns>
  74. <Rows>
  75. <Row size="33" band="head"/>
  76. <Row size="24"/>
  77. <Row size="24" band="summ"/>
  78. </Rows>
  79. <Band id="head">
  80. <Cell/>
  81. <Cell col="1" text="바코드번호"/>
  82. <Cell col="2" text="상태"/>
  83. <Cell col="3" text="보관일자"/>
  84. <Cell col="4" text="적용일자"/>
  85. <Cell col="5" text="Stem Cell&#10;Source"/>
  86. <Cell col="6" text="보관&#10;Bag수"/>
  87. <Cell col="7" text="체중(㎏)"/>
  88. <Cell col="8" text="처방&#10;Bag수"/>
  89. <Cell col="9" text="TNC&#10;(10^8)"/>
  90. <Cell col="10" text="TNC&#10;(10^8/㎏)"/>
  91. <Cell col="11" text="MNC&#10;(10^8)"/>
  92. <Cell col="12" text="MNC&#10;(10^8/㎏)"/>
  93. <Cell col="13" text="Lympo&#10;(10^8)"/>
  94. <Cell col="14" text="Lympo&#10;(10^8/kg)"/>
  95. <Cell col="15" text="CD34(%)"/>
  96. <Cell col="16" text="CD34+&#10;(10^6)"/>
  97. <Cell col="17" text="CD34+&#10;(10^6/㎏)"/>
  98. <Cell col="18" text="CD3(%)"/>
  99. <Cell col="19" text="CD3+(10^6)"/>
  100. <Cell col="20" text="CD3+(10^6/㎏)"/>
  101. <Cell col="21" text="CD4(%)"/>
  102. <Cell col="22" text="CD4(10^6)"/>
  103. <Cell col="23" text="CD4(10^6/㎏)"/>
  104. <Cell col="24" text="CD8(%)"/>
  105. <Cell col="25" text="CD8(10^6)"/>
  106. <Cell col="26" text="CD8(10^6/㎏)"/>
  107. <Cell col="27" text="CD19(%)"/>
  108. <Cell col="28" text="CD19(10^6)"/>
  109. <Cell col="29" text="CD19(10^6/㎏)"/>
  110. <Cell col="30" text="NK+(%)"/>
  111. <Cell col="31" text="NK+(10^6)"/>
  112. <Cell col="32" text="NK+(10^6/㎏)"/>
  113. <Cell col="33" text="TNK+(%)"/>
  114. <Cell col="34" text="TNK+(10^6)"/>
  115. <Cell col="35" text="TNK+(10^6/㎏)"/>
  116. <Cell col="36" text="nRBC(10^8)"/>
  117. <Cell col="37" text="Purity(%)"/>
  118. <Cell col="38" text="Yield(%)"/>
  119. <Cell col="39" text="Viability(%)"/>
  120. <Cell col="40" text="처방일자"/>
  121. <Cell col="41" text="prcpdd"/>
  122. <Cell col="42" text="caption2"/>
  123. <Cell col="43" text="caption3"/>
  124. <Cell col="44" text="caption4"/>
  125. <Cell col="45" text="caption5"/>
  126. <Cell col="46" text="Tank"/>
  127. <Cell col="47" text="Sess"/>
  128. <Cell col="48" text="Frame"/>
  129. <Cell col="49" text="Pos"/>
  130. <Cell col="50" text="caption9"/>
  131. <Cell col="51" text="caption10"/>
  132. <Cell col="52" text="caption11"/>
  133. <Cell col="53" text="caption1"/>
  134. </Band>
  135. <Band id="body">
  136. <Cell celltype="head" expr="currow+1"/>
  137. <Cell col="1" text="bind:cellbcno"/>
  138. <Cell col="2" displaytype="combo" edittype="combo" text="bind:status" combodataset="ds_cmb_status" combocodecol="value" combodatacol="label" enable="false"/>
  139. <Cell col="3" displaytype="date" text="bind:cellprcpdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  140. <Cell col="4" displaytype="date" text="bind:prcphopedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  141. <Cell col="5" displaytype="combo" edittype="combo" text="bind:scs" combodataset="ds_init_cmbinfo_stemcellsource_A0159" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  142. <Cell col="6" text="bind:bbagcnt"/>
  143. <Cell col="7" text="bind:bdwt"/>
  144. <Cell col="8" text="bind:cbagcnt"/>
  145. <Cell col="9" text="bind:tncqty"/>
  146. <Cell col="10" text="bind:tnckgqty"/>
  147. <Cell col="11" text="bind:mncqty"/>
  148. <Cell col="12" text="bind:mnckgqty"/>
  149. <Cell col="13" text="bind:lympoqty"/>
  150. <Cell col="14" text="bind:lympokgqty"/>
  151. <Cell col="15" text="bind:cd34per"/>
  152. <Cell col="16" text="bind:cd34qty"/>
  153. <Cell col="17" text="bind:cd34kgqty"/>
  154. <Cell col="18" text="bind:cd3per"/>
  155. <Cell col="19" text="bind:cd3qty"/>
  156. <Cell col="20" text="bind:cd3kgqty"/>
  157. <Cell col="21" text="bind:cd4per"/>
  158. <Cell col="22" text="bind:cd4qty"/>
  159. <Cell col="23" text="bind:cd4kgqty"/>
  160. <Cell col="24" text="bind:cd8per"/>
  161. <Cell col="25" text="bind:cd8qty"/>
  162. <Cell col="26" text="bind:cd8kgqty"/>
  163. <Cell col="27" text="bind:cd19per"/>
  164. <Cell col="28" text="bind:cd19qty"/>
  165. <Cell col="29" text="bind:cd19kgqty"/>
  166. <Cell col="30" text="bind:nkper"/>
  167. <Cell col="31" text="bind:nkqty"/>
  168. <Cell col="32" text="bind:nkkgqty"/>
  169. <Cell col="33" text="bind:nktper"/>
  170. <Cell col="34" text="bind:nktqty"/>
  171. <Cell col="35" text="bind:nktkgqty"/>
  172. <Cell col="36" text="bind:nrbcqty"/>
  173. <Cell col="37" text="bind:purityper"/>
  174. <Cell col="38" text="bind:yieldper"/>
  175. <Cell col="39" text="bind:viabper"/>
  176. <Cell col="40" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  177. <Cell col="41" text="bind:prcpdd" mask="yyyy-mm-dd"/>
  178. <Cell col="42" text="bind:execprcpuniqno"/>
  179. <Cell col="43" text="bind:tretvol"/>
  180. <Cell col="44" text="bind:infsvol"/>
  181. <Cell col="45" text="bind:cellhct"/>
  182. <Cell col="46" text="bind:tankflag"/>
  183. <Cell col="47" displaytype="combo" edittype="combo" text="bind:sesnflag" combodataset="ds_init_cmbinfo_sesnflag_A0395" combocodecol="cdid" combodatacol="cdnm"/>
  184. <Cell col="48" text="bind:frameflag"/>
  185. <Cell col="49" text="bind:keeppos"/>
  186. <Cell col="50" text="bind:keepdd"/>
  187. <Cell col="51" text="bind:cellprcpdd"/>
  188. <Cell col="52" text="bind:addseqno"/>
  189. <Cell col="53" text="bind:pid"/>
  190. </Band>
  191. <Band id="summary">
  192. <Cell/>
  193. <Cell col="1"/>
  194. <Cell col="2"/>
  195. <Cell col="3"/>
  196. <Cell col="4"/>
  197. <Cell col="5"/>
  198. <Cell col="6" text="total"/>
  199. <Cell col="7"/>
  200. <Cell col="8" displaytype="number" text="expr:getSum('cbagcnt')"/>
  201. <Cell col="9" displaytype="number" text="expr:getSum('tncqty')"/>
  202. <Cell col="10" displaytype="number" text="expr:getSum('tnckgqty')"/>
  203. <Cell col="11" displaytype="number" text="expr:getSum('mncqty')"/>
  204. <Cell col="12" displaytype="number" text="expr:getSum('mnckgqty')"/>
  205. <Cell col="13" displaytype="number" text="expr:getSum('lympoqty')"/>
  206. <Cell col="14" displaytype="number" text="expr:getSum('lympokgqty')"/>
  207. <Cell col="15"/>
  208. <Cell col="16" displaytype="number" text="expr:getSum('cd34qty')"/>
  209. <Cell col="17" displaytype="number" text="expr:getSum('cd34kgqty')"/>
  210. <Cell col="18"/>
  211. <Cell col="19" displaytype="number" text="expr:getSum('cd3qty')"/>
  212. <Cell col="20" displaytype="number" text="expr:getSum('cd3kgqty')"/>
  213. <Cell col="21"/>
  214. <Cell col="22" displaytype="number" text="expr:getSum('cd4qty')"/>
  215. <Cell col="23" displaytype="number" text="expr:getSum('cd4kgqty')"/>
  216. <Cell col="24"/>
  217. <Cell col="25" displaytype="number" text="expr:getSum('cd8qty')"/>
  218. <Cell col="26" displaytype="number" text="expr:getSum('cd8kgqty')"/>
  219. <Cell col="27"/>
  220. <Cell col="28" displaytype="number" text="expr:getSum('cd19qty')"/>
  221. <Cell col="29" displaytype="number" text="expr:getSum('cd19kgqty')"/>
  222. <Cell col="30"/>
  223. <Cell col="31" displaytype="number" text="expr:getSum('nkqty')"/>
  224. <Cell col="32" displaytype="number" text="expr:getSum('nkkgqty')"/>
  225. <Cell col="33"/>
  226. <Cell col="34" displaytype="number" text="expr:getSum('nktqty')"/>
  227. <Cell col="35" displaytype="number" text="expr:getSum('nktkgqty')"/>
  228. <Cell col="36" displaytype="number" text="expr:getSum('nrbcqty')"/>
  229. <Cell col="37"/>
  230. <Cell col="38"/>
  231. <Cell col="39"/>
  232. <Cell col="40"/>
  233. <Cell col="41"/>
  234. <Cell col="42"/>
  235. <Cell col="43"/>
  236. <Cell col="44"/>
  237. <Cell col="45"/>
  238. <Cell col="46"/>
  239. <Cell col="47"/>
  240. <Cell col="48"/>
  241. <Cell col="49"/>
  242. <Cell col="50"/>
  243. <Cell col="51"/>
  244. <Cell col="52"/>
  245. <Cell col="53"/>
  246. </Band>
  247. </Format>
  248. </Formats>
  249. </Grid>
  250. <Shape id="line1" class="line_10" position="absolute 0 311 1194 317" anchor="left top right"/>
  251. <Static id="caption6" text="세포주입 Result" class="tit_2" position="absolute 0 295 128 316"/>
  252. <Grid id="grd_infs" class="datagrid2" taborder="7" binddataset="ds_main_cellresultinfo_infsinfo" useinputpanel="false" position="absolute 0 344 1194 464" anchor="left top right" cellsizingtype="col" oncelldblclick="grd_infs_oncelldblclick">
  253. <Formats>
  254. <Format id="default">
  255. <Columns>
  256. <Column size="26"/>
  257. <Column size="98"/>
  258. <Column size="84"/>
  259. <Column size="84"/>
  260. <Column size="84"/>
  261. <Column size="70"/>
  262. <Column size="70"/>
  263. <Column size="72"/>
  264. <Column size="70"/>
  265. <Column size="70"/>
  266. <Column size="70"/>
  267. <Column size="70"/>
  268. <Column size="78"/>
  269. <Column size="70"/>
  270. <Column size="70"/>
  271. <Column size="70"/>
  272. <Column size="70"/>
  273. <Column size="70"/>
  274. <Column size="72"/>
  275. <Column size="100"/>
  276. <Column size="100"/>
  277. <Column size="100"/>
  278. <Column size="100"/>
  279. <Column size="100"/>
  280. <Column size="100"/>
  281. <Column size="100"/>
  282. <Column size="100"/>
  283. <Column size="100"/>
  284. <Column size="70"/>
  285. <Column size="70"/>
  286. <Column size="70"/>
  287. <Column size="70"/>
  288. <Column size="70"/>
  289. <Column size="70"/>
  290. <Column size="100"/>
  291. <Column size="0"/>
  292. <Column size="0"/>
  293. <Column size="77"/>
  294. <Column size="81"/>
  295. <Column size="81"/>
  296. <Column size="0"/>
  297. <Column size="0"/>
  298. <Column size="0"/>
  299. <Column size="0"/>
  300. <Column size="0"/>
  301. <Column size="0"/>
  302. <Column size="0"/>
  303. <Column size="36"/>
  304. <Column size="36"/>
  305. <Column size="41"/>
  306. <Column size="34"/>
  307. <Column size="0"/>
  308. <Column size="0"/>
  309. <Column size="0"/>
  310. <Column size="0"/>
  311. <Column size="0"/>
  312. </Columns>
  313. <Rows>
  314. <Row size="30" band="head"/>
  315. <Row size="24"/>
  316. <Row size="24" band="summ"/>
  317. </Rows>
  318. <Band id="head">
  319. <Cell/>
  320. <Cell col="1" text="바코드번호"/>
  321. <Cell col="2" text="주입일자"/>
  322. <Cell col="3" text="보관일자"/>
  323. <Cell col="4" text="Stem Cell&#10;Source"/>
  324. <Cell col="5" text="해동 Bag수"/>
  325. <Cell col="6" text="체중 (㎏)"/>
  326. <Cell col="7" text="TNC (10^8)"/>
  327. <Cell col="8" text="TNC &#13;&#10;(10^8/㎏)"/>
  328. <Cell col="9" text="MNC &#13;&#10;(10^8)"/>
  329. <Cell col="10" text="MNC &#13;&#10;(10^8/㎏)"/>
  330. <Cell col="11" text="Lympo &#13;&#10;(10^8)"/>
  331. <Cell col="12" text="Lympo&#10;(10^8/kg)"/>
  332. <Cell col="13" text="CD34 (%)"/>
  333. <Cell col="14" text="CD34+ &#13;&#10;(10^6)"/>
  334. <Cell col="15" text="CD34+ &#13;&#10;(10^6/㎏)"/>
  335. <Cell col="16" text="CD3 (%)"/>
  336. <Cell col="17" text="CD3+ &#13;&#10;(10^6)"/>
  337. <Cell col="18" text="CD3+ &#13;&#10;(10^6/㎏)"/>
  338. <Cell col="19" text="CD4(%)"/>
  339. <Cell col="20" text="CD4(10^6)"/>
  340. <Cell col="21" text="CD4(10^6/㎏)"/>
  341. <Cell col="22" text="CD8(%)"/>
  342. <Cell col="23" text="CD8(10^6)"/>
  343. <Cell col="24" text="CD8(10^6/㎏)"/>
  344. <Cell col="25" text="CD19(%)"/>
  345. <Cell col="26" text="CD19(10^6)"/>
  346. <Cell col="27" text="CD19(10^6/㎏)"/>
  347. <Cell col="28" text="NK+ (%)"/>
  348. <Cell col="29" text="NK+ &#13;&#10;(10^6)"/>
  349. <Cell col="30" text="NK+ &#13;&#10;(10^6/㎏)"/>
  350. <Cell col="31" text="TNK+ (%)"/>
  351. <Cell col="32" text="TNK+ &#13;&#10;(10^6)"/>
  352. <Cell col="33" text="TNK+&#13;&#10;(10^6/㎏)"/>
  353. <Cell col="34" text="nRBC(10^8)"/>
  354. <Cell col="35" text="Purity (%)"/>
  355. <Cell col="36" text="Yield (%)"/>
  356. <Cell col="37" text="Viability(%)"/>
  357. <Cell col="38" text="적용일자"/>
  358. <Cell col="39" text="처방일자"/>
  359. <Cell col="40" text="caption1"/>
  360. <Cell col="41" text="caption2"/>
  361. <Cell col="42" text="caption4"/>
  362. <Cell col="43" text="caption5"/>
  363. <Cell col="44" text="caption6"/>
  364. <Cell col="45" text="caption7"/>
  365. <Cell col="46" text="caption8"/>
  366. <Cell col="47" text="Tank"/>
  367. <Cell col="48" text="Sess"/>
  368. <Cell col="49" text="Frame"/>
  369. <Cell col="50" text="Pos"/>
  370. <Cell col="51" text="caption12"/>
  371. <Cell col="52" text="caption13"/>
  372. <Cell col="53" text="caption15"/>
  373. <Cell col="54" text="caption3"/>
  374. <Cell col="55" text="cell34vol"/>
  375. </Band>
  376. <Band id="body">
  377. <Cell celltype="head" expr="currow+1"/>
  378. <Cell col="1" text="bind:cellbcno"/>
  379. <Cell col="2" displaytype="date" text="bind:infsdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  380. <Cell col="3" displaytype="date" text="bind:cellprcpdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  381. <Cell col="4" displaytype="combo" edittype="combo" text="bind:scs" enable="false"/>
  382. <Cell col="5" text="bind:infsbagqty"/>
  383. <Cell col="6" displaytype="text" edittype="text" text="bind:bdwt"/>
  384. <Cell col="7" text="bind:tncqty"/>
  385. <Cell col="8" text="bind:tnckgqty"/>
  386. <Cell col="9" text="bind:mncqty"/>
  387. <Cell col="10" text="bind:mnckgqty"/>
  388. <Cell col="11" text="bind:lympoqty"/>
  389. <Cell col="12" text="bind:lympokgqty"/>
  390. <Cell col="13" text="bind:cd34per"/>
  391. <Cell col="14" text="bind:cd34qty"/>
  392. <Cell col="15" text="bind:cd34kgqty"/>
  393. <Cell col="16" text="bind:cd3per"/>
  394. <Cell col="17" text="bind:cd3qty"/>
  395. <Cell col="18" text="bind:cd3kgqty"/>
  396. <Cell col="19" text="bind:cd4per"/>
  397. <Cell col="20" text="bind:cd4qty"/>
  398. <Cell col="21" text="bind:cd4kgqty"/>
  399. <Cell col="22" text="bind:cd8per"/>
  400. <Cell col="23" text="bind:cd8qty"/>
  401. <Cell col="24" text="bind:cd8kgqty"/>
  402. <Cell col="25" text="bind:cd19per"/>
  403. <Cell col="26" text="bind:cd19qty"/>
  404. <Cell col="27" text="bind:cd19kgqty"/>
  405. <Cell col="28" text="bind:nkper"/>
  406. <Cell col="29" text="bind:nkqty"/>
  407. <Cell col="30" text="bind:nkkgqty"/>
  408. <Cell col="31" text="bind:nktper"/>
  409. <Cell col="32" text="bind:nktqty"/>
  410. <Cell col="33" text="bind:nktkgqty"/>
  411. <Cell col="34" text="bind:nrbcqty"/>
  412. <Cell col="35" text="bind:purityper"/>
  413. <Cell col="36" text="bind:yieldper"/>
  414. <Cell col="37" displaytype="text" edittype="text" text="bind:viabper"/>
  415. <Cell col="38" displaytype="date" text="bind:prcphopedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  416. <Cell col="39" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  417. <Cell col="40" text="bind:prcpdd"/>
  418. <Cell col="41" text="bind:execprcpuniqno"/>
  419. <Cell col="42" text="bind:abnyn"/>
  420. <Cell col="43" text="bind:cellvol"/>
  421. <Cell col="44" text="bind:tretvol"/>
  422. <Cell col="45" text="bind:infsvol"/>
  423. <Cell col="46" text="bind:cellhct"/>
  424. <Cell col="47" text="bind:tankflag"/>
  425. <Cell col="48" text="bind:sesnflag"/>
  426. <Cell col="49" text="bind:frameflag"/>
  427. <Cell col="50" text="bind:keeppos"/>
  428. <Cell col="51" text="bind:keepdd"/>
  429. <Cell col="52" text="bind:pid"/>
  430. <Cell col="53" text="bind:addseqno"/>
  431. <Cell col="54" text="bind:keepflag"/>
  432. <Cell col="55" text="bind:cell34vol"/>
  433. </Band>
  434. <Band id="summary">
  435. <Cell/>
  436. <Cell col="1"/>
  437. <Cell col="2"/>
  438. <Cell col="3"/>
  439. <Cell col="4"/>
  440. <Cell col="5" text="total"/>
  441. <Cell col="6"/>
  442. <Cell col="7" displaytype="number" text="expr:getSum('tncqty')"/>
  443. <Cell col="8" displaytype="number" text="expr:getSum('tnckgqty')"/>
  444. <Cell col="9" displaytype="number" text="expr:getSum('mncqty')"/>
  445. <Cell col="10" displaytype="number" text="expr:getSum('mnckgqty')"/>
  446. <Cell col="11" displaytype="number" text="expr:getSum('lympoqty')"/>
  447. <Cell col="12" displaytype="number" text="expr:getSum('lympokgqty')"/>
  448. <Cell col="13"/>
  449. <Cell col="14" displaytype="number" text="expr:getSum('cd34qty')"/>
  450. <Cell col="15" displaytype="number" text="expr:getSum('cd34kgqty')"/>
  451. <Cell col="16"/>
  452. <Cell col="17" displaytype="number" text="expr:getSum('cd3qty')"/>
  453. <Cell col="18" displaytype="number" text="expr:getSum('cd3kgqty')"/>
  454. <Cell col="19"/>
  455. <Cell col="20" displaytype="number" text="expr:getSum('cd4qty')"/>
  456. <Cell col="21" displaytype="number" text="expr:getSum('cd4kgqty')"/>
  457. <Cell col="22"/>
  458. <Cell col="23" displaytype="number" text="expr:getSum('cd8qty')"/>
  459. <Cell col="24" displaytype="number" text="expr:getSum('cd8kgqty')"/>
  460. <Cell col="25"/>
  461. <Cell col="26" displaytype="number" text="expr:getSum('cd19qty')"/>
  462. <Cell col="27" displaytype="number" text="expr:getSum('cd19kgqty')"/>
  463. <Cell col="28"/>
  464. <Cell col="29" displaytype="number" text="expr:getSum('nkqty')"/>
  465. <Cell col="30" displaytype="number" text="expr:getSum('nkkgqty')"/>
  466. <Cell col="31"/>
  467. <Cell col="32" displaytype="number" text="expr:getSum('nktqty')"/>
  468. <Cell col="33" displaytype="number" text="expr:getSum('nktkgqty')"/>
  469. <Cell col="34" displaytype="number" text="expr:getSum('nrbcqty')"/>
  470. <Cell col="35"/>
  471. <Cell col="36"/>
  472. <Cell col="37"/>
  473. <Cell col="38"/>
  474. <Cell col="39"/>
  475. <Cell col="40"/>
  476. <Cell col="41"/>
  477. <Cell col="42"/>
  478. <Cell col="43"/>
  479. <Cell col="44"/>
  480. <Cell col="45"/>
  481. <Cell col="46"/>
  482. <Cell col="47"/>
  483. <Cell col="48"/>
  484. <Cell col="49"/>
  485. <Cell col="50"/>
  486. <Cell col="51"/>
  487. <Cell col="52"/>
  488. <Cell col="53"/>
  489. <Cell col="54"/>
  490. <Cell col="55"/>
  491. </Band>
  492. </Format>
  493. </Formats>
  494. </Grid>
  495. <Shape id="line3" class="line_10" position="absolute 0 639 1194 645" anchor="left top right"/>
  496. <Static id="caption8" text="남아있는 Cell수" class="tit_2" position="absolute 0 623 128 644"/>
  497. <Static id="caption33" text="해동일자" class="cell_1" position="absolute 0 316 120 339"/>
  498. <Calendar id="input4" taborder="8" class="input_default" position="absolute 123 317 243 336" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  499. <Combo id="combo1" taborder="9" innerdataset="ds_init_combo1" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 145 471 345 490"/>
  500. <Shape id="line4" class="line_3" position="absolute 0 338 1194 344" anchor="left top right"/>
  501. <Shape id="line5" class="line_10" position="absolute 0 491 1194 497" anchor="left top right"/>
  502. <Static id="caption5" text="세포폐기 Result" class="tit_2" position="absolute 0 475 120 496"/>
  503. <Static id="caption9" text="환자정보" class="tit_2" position="absolute 0 54 85 75"/>
  504. <Shape id="line7" class="line_10" position="absolute 0 70 1194 76" anchor="left top right"/>
  505. <Button id="button2" taborder="10" class="icon_search" position="absolute 196 77 212 93" onclick="button2_onclick"/>
  506. <Edit id="output1" taborder="11" readonly="true" position="absolute 319 100 586 119"/>
  507. <Edit id="output6" taborder="12" readonly="true" position="absolute 548 76 587 95"/>
  508. <Edit id="output7" taborder="13" readonly="true" position="absolute 515 76 544 95"/>
  509. <Edit id="output3" taborder="14" readonly="true" position="absolute 319 76 399 95"/>
  510. <Edit id="output11" taborder="15" readonly="true" position="absolute 692 76 802 95"/>
  511. <Shape id="line8" linetype="vertical" class="line_2" position="absolute 0 94 1194 100"/>
  512. <Grid id="grd_abn" class="datagrid2" taborder="16" binddataset="ds_main_cellresultinfo_abninfo" useinputpanel="false" position="absolute 0 496 1194 616" anchor="left top right" cellsizingtype="col">
  513. <Formats>
  514. <Format id="default">
  515. <Columns>
  516. <Column size="23"/>
  517. <Column size="98"/>
  518. <Column size="84"/>
  519. <Column size="0"/>
  520. <Column size="81"/>
  521. <Column size="70"/>
  522. <Column size="70"/>
  523. <Column size="70"/>
  524. <Column size="70"/>
  525. <Column size="70"/>
  526. <Column size="70"/>
  527. <Column size="70"/>
  528. <Column size="78"/>
  529. <Column size="70"/>
  530. <Column size="70"/>
  531. <Column size="70"/>
  532. <Column size="70"/>
  533. <Column size="70"/>
  534. <Column size="70"/>
  535. <Column size="100"/>
  536. <Column size="100"/>
  537. <Column size="100"/>
  538. <Column size="100"/>
  539. <Column size="100"/>
  540. <Column size="100"/>
  541. <Column size="100"/>
  542. <Column size="100"/>
  543. <Column size="100"/>
  544. <Column size="70"/>
  545. <Column size="70"/>
  546. <Column size="70"/>
  547. <Column size="70"/>
  548. <Column size="70"/>
  549. <Column size="70"/>
  550. <Column size="100"/>
  551. <Column size="0"/>
  552. <Column size="0"/>
  553. <Column size="83"/>
  554. <Column size="0"/>
  555. <Column size="0"/>
  556. <Column size="0"/>
  557. <Column size="0"/>
  558. <Column size="0"/>
  559. <Column size="0"/>
  560. <Column size="36"/>
  561. <Column size="36"/>
  562. <Column size="41"/>
  563. <Column size="34"/>
  564. <Column size="0"/>
  565. <Column size="0"/>
  566. <Column size="0"/>
  567. <Column size="0"/>
  568. <Column size="0"/>
  569. <Column size="0"/>
  570. </Columns>
  571. <Rows>
  572. <Row size="32" band="head"/>
  573. <Row size="24"/>
  574. <Row size="24" band="summ"/>
  575. </Rows>
  576. <Band id="head">
  577. <Cell/>
  578. <Cell col="1" text="바코드번호"/>
  579. <Cell col="2" text="폐기일자"/>
  580. <Cell col="3" text="적용일자"/>
  581. <Cell col="4" text="Stem Cell&#10;Source"/>
  582. <Cell col="5" text="폐기 Bag수"/>
  583. <Cell col="6" text="체중 (㎏)"/>
  584. <Cell col="7" text="TNC &#13;&#10;(10^8)"/>
  585. <Cell col="8" text="TNC &#13;&#10;(10^8/㎏)"/>
  586. <Cell col="9" text="MNC &#13;&#10;(10^8)"/>
  587. <Cell col="10" text="MNC &#13;&#10;(10^8/㎏)"/>
  588. <Cell col="11" text="Lympo &#13;&#10;(10^8)"/>
  589. <Cell col="12" text="Lympo&#10;(10^8/kg)"/>
  590. <Cell col="13" text="CD34 (%)"/>
  591. <Cell col="14" text="CD34+ &#13;&#10;(10^6)"/>
  592. <Cell col="15" text="CD34+ &#13;&#10;(10^6/㎏)"/>
  593. <Cell col="16" text="CD3 (%)"/>
  594. <Cell col="17" text="CD3+ &#13;&#10;(10^6)"/>
  595. <Cell col="18" text="CD3+ &#13;&#10;(10^6/㎏)"/>
  596. <Cell col="19" text="CD4(%)"/>
  597. <Cell col="20" text="CD4(10^6)"/>
  598. <Cell col="21" text="CD4(10^6/㎏)"/>
  599. <Cell col="22" text="CD8(%)"/>
  600. <Cell col="23" text="CD8(10^6)"/>
  601. <Cell col="24" text="CD8(10^6/㎏)"/>
  602. <Cell col="25" text="CD19(%)"/>
  603. <Cell col="26" text="CD19(10^6)"/>
  604. <Cell col="27" text="CD19(10^6/㎏)"/>
  605. <Cell col="28" text="NK+ (%)"/>
  606. <Cell col="29" text="NK+ &#13;&#10;(10^6)"/>
  607. <Cell col="30" text="NK+ &#13;&#10;(10^6/㎏)"/>
  608. <Cell col="31" text="TNK+ (%)"/>
  609. <Cell col="32" text="TNK+&#13;&#10;(10^6)"/>
  610. <Cell col="33" text="TNK+ &#13;&#10;(10^6/㎏)"/>
  611. <Cell col="34" text="nRBC(10^8)"/>
  612. <Cell col="35" text="Purity (%)"/>
  613. <Cell col="36" text="Yield (%)"/>
  614. <Cell col="37" text="Viability(%)"/>
  615. <Cell col="38" text="caption1"/>
  616. <Cell col="39" text="caption2"/>
  617. <Cell col="40" text="caption4"/>
  618. <Cell col="41" text="caption5"/>
  619. <Cell col="42" text="caption6"/>
  620. <Cell col="43" text="caption7"/>
  621. <Cell col="44" text="Tank"/>
  622. <Cell col="45" text="Sess"/>
  623. <Cell col="46" text="Frame"/>
  624. <Cell col="47" text="Pos"/>
  625. <Cell col="48" text="caption11"/>
  626. <Cell col="49" text="caption12"/>
  627. <Cell col="50" text="caption13"/>
  628. <Cell col="51" text="caption14"/>
  629. <Cell col="52" text="caption3"/>
  630. <Cell col="53" text="caption8"/>
  631. </Band>
  632. <Band id="body">
  633. <Cell celltype="head" expr="currow+1"/>
  634. <Cell col="1" text="bind:cellbcno"/>
  635. <Cell col="2" displaytype="date" text="bind:abndd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  636. <Cell col="3" text="bind:prcphopedd" mask="yyyy-mm-dd"/>
  637. <Cell col="4" displaytype="combo" edittype="combo" text="bind:scs" combodataset="ds_init_cmbinfo_stemcellsource_A0159" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  638. <Cell col="5" text="bind:abnbagqty"/>
  639. <Cell col="6" text="bind:bdwt"/>
  640. <Cell col="7" text="bind:tncqty"/>
  641. <Cell col="8" text="bind:tnckgqty"/>
  642. <Cell col="9" text="bind:mncqty"/>
  643. <Cell col="10" text="bind:mnckgqty"/>
  644. <Cell col="11" text="bind:lympoqty"/>
  645. <Cell col="12" text="bind:lympokgqty"/>
  646. <Cell col="13" text="bind:cd34per"/>
  647. <Cell col="14" text="bind:cd34qty"/>
  648. <Cell col="15" text="bind:cd34kgqty"/>
  649. <Cell col="16" text="bind:cd3per"/>
  650. <Cell col="17" text="bind:cd3qty"/>
  651. <Cell col="18" text="bind:cd3kgqty"/>
  652. <Cell col="19" text="bind:cd4per"/>
  653. <Cell col="20" text="bind:cd4qty"/>
  654. <Cell col="21" text="bind:cd4kgqty"/>
  655. <Cell col="22" text="bind:cd8per"/>
  656. <Cell col="23" text="bind:cd8qty"/>
  657. <Cell col="24" text="bind:cd8kgqty"/>
  658. <Cell col="25" text="bind:cd19per"/>
  659. <Cell col="26" text="bind:cd19qty"/>
  660. <Cell col="27" text="bind:cd19kgqty"/>
  661. <Cell col="28" text="bind:nkper"/>
  662. <Cell col="29" text="bind:nkqty"/>
  663. <Cell col="30" text="bind:nkkgqty"/>
  664. <Cell col="31" text="bind:nktper"/>
  665. <Cell col="32" text="bind:nktqty"/>
  666. <Cell col="33" text="bind:nktkgqty"/>
  667. <Cell col="34" text="bind:nrbcqty"/>
  668. <Cell col="35" text="bind:purityper"/>
  669. <Cell col="36" text="bind:yieldper"/>
  670. <Cell col="37" text="bind:viabper"/>
  671. <Cell col="38" text="bind:prcpdd"/>
  672. <Cell col="39" text="bind:execprcpuniqno"/>
  673. <Cell col="40" text="bind:abnresn"/>
  674. <Cell col="41" text="bind:tretvol"/>
  675. <Cell col="42" text="bind:infsvol"/>
  676. <Cell col="43" text="bind:cellhct"/>
  677. <Cell col="44" text="bind:tankflag"/>
  678. <Cell col="45" text="bind:sesnflag"/>
  679. <Cell col="46" text="bind:frameflag"/>
  680. <Cell col="47" text="bind:keeppos"/>
  681. <Cell col="48" text="bind:keepdd"/>
  682. <Cell col="49" text="bind:pid"/>
  683. <Cell col="50" text="bind:cellprcpdd"/>
  684. <Cell col="51" text="bind:addseqno"/>
  685. <Cell col="52" text="bind:keepflag"/>
  686. <Cell col="53" text="bind:cellvolcheckyn"/>
  687. </Band>
  688. <Band id="summary">
  689. <Cell/>
  690. <Cell col="1"/>
  691. <Cell col="2"/>
  692. <Cell col="3"/>
  693. <Cell col="4"/>
  694. <Cell col="5" text="total"/>
  695. <Cell col="6"/>
  696. <Cell col="7" displaytype="number" text="expr:getSum('tncqty')"/>
  697. <Cell col="8" displaytype="number" text="expr:getSum('tnckgqty')"/>
  698. <Cell col="9" displaytype="number" text="expr:getSum('mncqty')"/>
  699. <Cell col="10" displaytype="number" text="expr:getSum('mnckgqty')"/>
  700. <Cell col="11" displaytype="number" text="expr:getSum('lympoqty')"/>
  701. <Cell col="12" displaytype="number" text="expr:getSum('lympokgqty')"/>
  702. <Cell col="13"/>
  703. <Cell col="14" displaytype="number" text="expr:getSum('cd34qty')"/>
  704. <Cell col="15" displaytype="number" text="expr:getSum('cd34kgqty')"/>
  705. <Cell col="16"/>
  706. <Cell col="17" displaytype="number" text="expr:getSum('cd3qty')"/>
  707. <Cell col="18" displaytype="number" text="expr:getSum('cd3kgqty')"/>
  708. <Cell col="19"/>
  709. <Cell col="20" displaytype="number" text="expr:getSum('cd4qty')"/>
  710. <Cell col="21" displaytype="number" text="expr:getSum('cd4kgqty')"/>
  711. <Cell col="22"/>
  712. <Cell col="23" displaytype="number" text="expr:getSum('cd8qty')"/>
  713. <Cell col="24" displaytype="number" text="expr:getSum('cd8kgqty')"/>
  714. <Cell col="25"/>
  715. <Cell col="26" displaytype="number" text="expr:getSum('cd19qty')"/>
  716. <Cell col="27" displaytype="number" text="expr:getSum('cd19kgqty')"/>
  717. <Cell col="28"/>
  718. <Cell col="29" displaytype="number" text="expr:getSum('nkqty')"/>
  719. <Cell col="30" displaytype="number" text="expr:getSum('nkkgqty')"/>
  720. <Cell col="31"/>
  721. <Cell col="32" displaytype="number" text="expr:getSum('nktqty')"/>
  722. <Cell col="33" displaytype="number" text="expr:getSum('nktkgqty')"/>
  723. <Cell col="34" displaytype="number" text="expr:getSum('nrbcqty')"/>
  724. <Cell col="35"/>
  725. <Cell col="36"/>
  726. <Cell col="37"/>
  727. <Cell col="38"/>
  728. <Cell col="39"/>
  729. <Cell col="40"/>
  730. <Cell col="41"/>
  731. <Cell col="42"/>
  732. <Cell col="43"/>
  733. <Cell col="44"/>
  734. <Cell col="45"/>
  735. <Cell col="46"/>
  736. <Cell col="47"/>
  737. <Cell col="48"/>
  738. <Cell col="49"/>
  739. <Cell col="50"/>
  740. <Cell col="51"/>
  741. <Cell col="52"/>
  742. <Cell col="53"/>
  743. </Band>
  744. </Format>
  745. </Formats>
  746. </Grid>
  747. <Grid id="grd_rest" class="datagrid2" taborder="17" binddataset="ds_main_cellresultinfo_restinfo" useinputpanel="false" position="absolute 0 644 1194 787" anchor="all" cellsizingtype="col">
  748. <Formats>
  749. <Format id="default">
  750. <Columns>
  751. <Column size="25"/>
  752. <Column size="98"/>
  753. <Column size="84"/>
  754. <Column size="84"/>
  755. <Column size="81"/>
  756. <Column size="70"/>
  757. <Column size="70"/>
  758. <Column size="70"/>
  759. <Column size="70"/>
  760. <Column size="70"/>
  761. <Column size="70"/>
  762. <Column size="70"/>
  763. <Column size="78"/>
  764. <Column size="70"/>
  765. <Column size="70"/>
  766. <Column size="70"/>
  767. <Column size="70"/>
  768. <Column size="70"/>
  769. <Column size="70"/>
  770. <Column size="100"/>
  771. <Column size="100"/>
  772. <Column size="100"/>
  773. <Column size="100"/>
  774. <Column size="100"/>
  775. <Column size="100"/>
  776. <Column size="100"/>
  777. <Column size="100"/>
  778. <Column size="100"/>
  779. <Column size="70"/>
  780. <Column size="70"/>
  781. <Column size="70"/>
  782. <Column size="70"/>
  783. <Column size="70"/>
  784. <Column size="70"/>
  785. <Column size="100"/>
  786. <Column size="0"/>
  787. <Column size="0"/>
  788. <Column size="83"/>
  789. <Column size="84"/>
  790. </Columns>
  791. <Rows>
  792. <Row size="30" band="head"/>
  793. <Row size="24"/>
  794. <Row size="24" band="summ"/>
  795. </Rows>
  796. <Band id="head">
  797. <Cell/>
  798. <Cell col="1" text="바코드번호"/>
  799. <Cell col="2" text="보관일자"/>
  800. <Cell col="3" text="적용일자"/>
  801. <Cell col="4" text="Stem Cell&#10;Source"/>
  802. <Cell col="5" text="남은 Bag수"/>
  803. <Cell col="6" text="체중 (㎏)"/>
  804. <Cell col="7" text="TNC &#13;&#10;(10^8)"/>
  805. <Cell col="8" text="TNC &#13;&#10;(10^8/㎏)"/>
  806. <Cell col="9" text="MNC &#13;&#10;(10^8)"/>
  807. <Cell col="10" text="MNC &#13;&#10;(10^8/㎏)"/>
  808. <Cell col="11" text="Lympo &#13;&#10;(10^8)"/>
  809. <Cell col="12" text="Lympo&#10;(10^8/kg)"/>
  810. <Cell col="13" text="CD34 (%)"/>
  811. <Cell col="14" text="CD34+ &#13;&#10;(10^6)"/>
  812. <Cell col="15" text="CD34+ &#13;&#10;(10^6/㎏)"/>
  813. <Cell col="16" text="CD3 (%)"/>
  814. <Cell col="17" text="CD3+&#13;&#10; (10^6)"/>
  815. <Cell col="18" text="CD3+ (10^6/㎏)"/>
  816. <Cell col="19" text="CD4(%)"/>
  817. <Cell col="20" text="CD4(10^6)"/>
  818. <Cell col="21" text="CD4(10^6/㎏)"/>
  819. <Cell col="22" text="CD8(%)"/>
  820. <Cell col="23" text="CD8(10^6)"/>
  821. <Cell col="24" text="CD8(10^6/㎏)"/>
  822. <Cell col="25" text="CD19(%)"/>
  823. <Cell col="26" text="CD19(10^6)"/>
  824. <Cell col="27" text="CD19(10^6/㎏)"/>
  825. <Cell col="28" text="NK+ (%)"/>
  826. <Cell col="29" text="NK+ (10^6)"/>
  827. <Cell col="30" text="NK+ (10^6/㎏)"/>
  828. <Cell col="31" text="TNK+ (%)"/>
  829. <Cell col="32" text="TNK+ (10^6)"/>
  830. <Cell col="33" text="TNK+ (10^6/㎏)"/>
  831. <Cell col="34" text="nRBC(10^8)"/>
  832. <Cell col="35" text="Purity (%)"/>
  833. <Cell col="36" text="Yield (%)"/>
  834. <Cell col="37" text="Viability(%)"/>
  835. <Cell col="38" text="처방일자"/>
  836. </Band>
  837. <Band id="body">
  838. <Cell celltype="head" expr="currow+1"/>
  839. <Cell col="1" text="bind:cellbcno"/>
  840. <Cell col="2" displaytype="date" text="bind:cellprcpdd" mask="yyyy-MM-dd"/>
  841. <Cell col="3" displaytype="date" text="bind:prcphopedd" mask="yyyy-MM-dd"/>
  842. <Cell col="4" displaytype="combo" edittype="combo" text="bind:scs" combodataset="ds_init_cmbinfo_stemcellsource_A0159" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  843. <Cell col="5" text="bind:restbagcnt"/>
  844. <Cell col="6" text="bind:bdwt"/>
  845. <Cell col="7" text="bind:tncqty"/>
  846. <Cell col="8" text="bind:tnckgqty"/>
  847. <Cell col="9" text="bind:mncqty"/>
  848. <Cell col="10" text="bind:mnckgqty"/>
  849. <Cell col="11" text="bind:lympoqty"/>
  850. <Cell col="12" text="bind:lympokgqty"/>
  851. <Cell col="13" text="bind:cd34per"/>
  852. <Cell col="14" text="bind:cd34qty"/>
  853. <Cell col="15" text="bind:cd34kgqty"/>
  854. <Cell col="16" text="bind:cd3per"/>
  855. <Cell col="17" text="bind:cd3qty"/>
  856. <Cell col="18" text="bind:cd3kgqty"/>
  857. <Cell col="19" text="bind:cd4per"/>
  858. <Cell col="20" text="bind:cd4qty"/>
  859. <Cell col="21" text="bind:cd4kgqty"/>
  860. <Cell col="22" text="bind:cd8per"/>
  861. <Cell col="23" text="bind:cd8qty"/>
  862. <Cell col="24" text="bind:cd8kgqty"/>
  863. <Cell col="25" text="bind:cd19per"/>
  864. <Cell col="26" text="bind:cd19qty"/>
  865. <Cell col="27" text="bind:cd19kgqty"/>
  866. <Cell col="28" text="bind:nkper"/>
  867. <Cell col="29" text="bind:nkqty"/>
  868. <Cell col="30" text="bind:nkkgqty"/>
  869. <Cell col="31" text="bind:nktper"/>
  870. <Cell col="32" text="bind:nktqty"/>
  871. <Cell col="33" text="bind:nktkgqty"/>
  872. <Cell col="34" text="bind:nrbcqty"/>
  873. <Cell col="35" text="bind:purityper"/>
  874. <Cell col="36" text="bind:yieldper"/>
  875. <Cell col="37" text="bind:viabper"/>
  876. <Cell col="38" text="bind:fstrgstdt"/>
  877. </Band>
  878. <Band id="summary">
  879. <Cell/>
  880. <Cell col="1"/>
  881. <Cell col="2"/>
  882. <Cell col="3"/>
  883. <Cell col="4"/>
  884. <Cell col="5" text="total"/>
  885. <Cell col="6"/>
  886. <Cell col="7" displaytype="number" text="expr:getSum('tncqty')"/>
  887. <Cell col="8" displaytype="number" text="expr:getSum('tnckgqty')"/>
  888. <Cell col="9" displaytype="number" text="expr:getSum('mncqty')"/>
  889. <Cell col="10" displaytype="number" text="expr:getSum('mnckgqty')"/>
  890. <Cell col="11" displaytype="number" text="expr:getSum('lympoqty')"/>
  891. <Cell col="12" displaytype="number" text="expr:getSum('lympokgqty')"/>
  892. <Cell col="13"/>
  893. <Cell col="14" displaytype="number" text="expr:getSum('cd34qty')"/>
  894. <Cell col="15" displaytype="number" text="expr:getSum('cd34kgqty')"/>
  895. <Cell col="16"/>
  896. <Cell col="17" displaytype="number" text="expr:getSum('cd3qty')"/>
  897. <Cell col="18" displaytype="number" text="expr:getSum('cd3kgqty')"/>
  898. <Cell col="19"/>
  899. <Cell col="20" displaytype="number" text="expr:getSum('cd4qty')"/>
  900. <Cell col="21" displaytype="number" text="expr:getSum('cd4kgqty')"/>
  901. <Cell col="22"/>
  902. <Cell col="23" displaytype="number" text="expr:getSum('cd8qty')"/>
  903. <Cell col="24" displaytype="number" text="expr:getSum('cd8kgqty')"/>
  904. <Cell col="25"/>
  905. <Cell col="26" displaytype="number" text="expr:getSum('cd19qty')"/>
  906. <Cell col="27" displaytype="number" text="expr:getSum('cd19kgqty')"/>
  907. <Cell col="28"/>
  908. <Cell col="29" displaytype="number" text="expr:getSum('nkqty')"/>
  909. <Cell col="30" displaytype="number" text="expr:getSum('nkkgqty')"/>
  910. <Cell col="31"/>
  911. <Cell col="32" displaytype="number" text="expr:getSum('nktqty')"/>
  912. <Cell col="33" displaytype="number" text="expr:getSum('nktkgqty')"/>
  913. <Cell col="34" displaytype="number" text="expr:getSum('nrbcqty')"/>
  914. <Cell col="35"/>
  915. <Cell col="36"/>
  916. <Cell col="37"/>
  917. <Cell col="38"/>
  918. </Band>
  919. </Format>
  920. </Formats>
  921. </Grid>
  922. <Edit id="output8" taborder="18" readonly="true" position="absolute 908 76 998 95"/>
  923. <Edit id="output9" taborder="19" readonly="true" position="absolute 1104 76 1194 95"/>
  924. <Edit id="output10" taborder="20" readonly="true" position="absolute 1104 100 1194 119"/>
  925. <Static id="caption7" text="담당의" class="cell_1" position="absolute 1001 75 1101 98"/>
  926. <Static id="caption16" text="체중" class="cell_1" position="absolute 1001 99 1101 122"/>
  927. <Static id="caption10" text="등록번호" class="cell_1" position="absolute 0 75 100 98"/>
  928. <Static id="caption11" text="진료형태" class="cell_1" position="absolute 0 99 100 122"/>
  929. <Static id="caption12" text="환자정보" class="cell_1" position="absolute 216 75 316 98"/>
  930. <Static id="caption3" text="주치의" class="cell_1" position="absolute 805 75 905 98"/>
  931. <Static id="caption13" text="진단명" class="cell_1" position="absolute 216 99 316 122"/>
  932. <Static id="caption14" text="진료과" class="cell_1" position="absolute 589 75 689 98"/>
  933. <Shape id="line9" class="line_3" position="absolute 0 121 1194 127" anchor="left top right"/>
  934. <Button id="button4" taborder="21" text="일괄폐기" class="btn2" enable="false" visible="false" position="absolute 1070 471 1134 490" anchor="top right" onclick="button4_onclick"/>
  935. <Edit id="input1" taborder="22" class="input_default" position="absolute 625 317 680 336" autoselect="true"/>
  936. <Static id="caption4" text="10^6/Kg" position="absolute 683 317 747 337"/>
  937. <Button id="btn_del" taborder="23" text="삭제" class="btn4" position="absolute 1138 316 1194 338" anchor="top right" onclick="btn_del_onclick"/>
  938. <Button id="btn_del2" taborder="24" text="삭제" class="btn4" position="absolute 1139 469 1195 491" anchor="top right" onclick="btn_del2_onclick"/>
  939. <Static id="caption17" text="바코드" class="cell_1" position="absolute 250 316 370 339"/>
  940. <Edit id="input3" taborder="25" position="absolute 374 317 509 336" autoselect="true" onkeyup="input3_onkeyup"/>
  941. <Static id="caption18" text="바코드" class="cell_1" position="absolute 355 468 475 491"/>
  942. <Edit id="input5" taborder="26" position="absolute 477 471 612 490" autoselect="true" onkeyup="input5_onkeyup"/>
  943. <Edit id="input23" taborder="27" readonly="true" position="absolute 457 76 512 95"/>
  944. <Static id="caption78" text="-" position="absolute 448 76 458 96"/>
  945. <Edit id="input36" taborder="28" readonly="true" position="absolute 401 76 448 95"/>
  946. <Static id="caption31" text="UNIT/병실" class="cell_1" position="absolute 589 99 689 122"/>
  947. <Edit id="output15" taborder="29" readonly="true" position="absolute 692 100 997 119"/>
  948. <Button id="button3" taborder="30" text="적용" class="btn2" position="absolute 618 471 661 490" onclick="button3_onclick"/>
  949. <Button id="button5" taborder="31" text="적용" class="btn2" position="absolute 515 317 568 336" onclick="button5_onclick"/>
  950. <Button id="button6" taborder="32" text="주입적용" class="btn2" position="absolute 735 317 799 336" onclick="button6_onclick"/>
  951. <Edit id="input2" taborder="33" class="input_s_button" position="absolute 103 76 194 95" autoselect="true" onkeyup="input2_onkeyup"/>
  952. <Combo id="combo2" taborder="34" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" enable="false" position="absolute 103 100 213 119">
  953. <Dataset id="innerdataset">
  954. <ColumnInfo>
  955. <Column id="codecolumn"/>
  956. <Column id="datacolumn"/>
  957. </ColumnInfo>
  958. <Rows>
  959. <Row>
  960. <Col id="codecolumn">I</Col>
  961. <Col id="datacolumn">입원</Col>
  962. </Row>
  963. <Row>
  964. <Col id="codecolumn">O</Col>
  965. <Col id="datacolumn">외래</Col>
  966. </Row>
  967. </Rows>
  968. </Dataset>
  969. </Combo>
  970. <Static id="caption1" text="CD3 :" position="absolute 590 317 625 337"/>
  971. <Static id="caption15" text="CD34 :" position="absolute 880 317 919 337"/>
  972. <Static id="caption20" text="10^6/Kg" position="absolute 978 317 1042 337"/>
  973. <Edit id="input6" taborder="35" class="input_default" position="absolute 920 317 975 336" autoselect="true"/>
  974. <Button id="button7" taborder="36" text="주입적용" class="btn2" position="absolute 1030 317 1094 336" onclick="button7_onclick"/>
  975. <Button id="btn_ipt" taborder="37" position="absolute 178 79 192 92" onclick="btn_ipt_onclick"/>
  976. </Layout>
  977. </Layouts>
  978. <Objects>
  979. <Dataset id="ds_send_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  980. <ColumnInfo>
  981. <Column id="pid" type="STRING" size="256"/>
  982. <Column id="cellbcno" type="STRING" size="256"/>
  983. <Column id="prcpdd" type="STRING" size="256"/>
  984. <Column id="execprcpuniqno" type="STRING" size="256"/>
  985. <Column id="fstrgstdt" type="STRING" size="256"/>
  986. <Column id="prcphopedd" type="STRING" size="256"/>
  987. </ColumnInfo>
  988. <Rows>
  989. <Row>
  990. <Col id="pid"/>
  991. <Col id="cellbcno"/>
  992. <Col id="prcpdd"/>
  993. <Col id="execprcpuniqno"/>
  994. <Col id="fstrgstdt"/>
  995. <Col id="prcphopedd"/>
  996. </Row>
  997. </Rows>
  998. </Dataset>
  999. <Dataset id="ds_main_cellresultinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1000. <ColumnInfo>
  1001. <Column id="hngnm" type="STRING" size="256"/>
  1002. <Column id="rrgstno1" type="STRING" size="256"/>
  1003. <Column id="rrgstno2" type="STRING" size="256"/>
  1004. <Column id="sex" type="STRING" size="256"/>
  1005. <Column id="age" type="STRING" size="256"/>
  1006. <Column id="atdoctid" type="STRING" size="256"/>
  1007. <Column id="docdamid" type="STRING" size="256"/>
  1008. <Column id="ordtype" type="STRING" size="256"/>
  1009. <Column id="orddeptcd" type="STRING" size="256"/>
  1010. <Column id="diagcd1" type="STRING" size="256"/>
  1011. <Column id="trnptinwardcd" type="STRING" size="256"/>
  1012. <Column id="patbdwt" type="STRING" size="256"/>
  1013. </ColumnInfo>
  1014. <Rows>
  1015. <Row>
  1016. <Col id="hngnm"/>
  1017. <Col id="rrgstno1"/>
  1018. <Col id="rrgstno2"/>
  1019. <Col id="sex"/>
  1020. <Col id="age"/>
  1021. <Col id="atdoctid"/>
  1022. <Col id="docdamid"/>
  1023. <Col id="ordtype"/>
  1024. <Col id="orddeptcd"/>
  1025. <Col id="diagcd1"/>
  1026. <Col id="trnptinwardcd"/>
  1027. <Col id="patbdwt"/>
  1028. </Row>
  1029. </Rows>
  1030. </Dataset>
  1031. <Dataset id="ds_cmb_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1032. <ColumnInfo>
  1033. <Column id="label" type="STRING" size="256"/>
  1034. <Column id="value" type="STRING" size="256"/>
  1035. </ColumnInfo>
  1036. <Rows>
  1037. <Row>
  1038. <Col id="label">보관</Col>
  1039. <Col id="value">K</Col>
  1040. </Row>
  1041. <Row>
  1042. <Col id="label">주입</Col>
  1043. <Col id="value">I</Col>
  1044. </Row>
  1045. <Row>
  1046. <Col id="label">폐기</Col>
  1047. <Col id="value">A</Col>
  1048. </Row>
  1049. <Row>
  1050. <Col id="label">당일</Col>
  1051. <Col id="value">D</Col>
  1052. </Row>
  1053. </Rows>
  1054. </Dataset>
  1055. <Dataset id="ds_init_cmbinfo_stemcellsource_A0159" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1056. <ColumnInfo>
  1057. <Column id="cdid" type="STRING" size="256"/>
  1058. <Column id="cdnm" type="STRING" size="256"/>
  1059. </ColumnInfo>
  1060. </Dataset>
  1061. <Dataset id="ds_init_cmbinfo_sesnflag_A0395" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1062. <ColumnInfo>
  1063. <Column id="cdnm" type="STRING" size="256"/>
  1064. <Column id="cdid" type="STRING" size="256"/>
  1065. </ColumnInfo>
  1066. </Dataset>
  1067. <Dataset id="ds_main_cellresultinfo_detailinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1068. <ColumnInfo>
  1069. <Column id="cellbcno" type="STRING" size="256" sumtext="바코드"/>
  1070. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  1071. <Column id="cellprcpdd" type="STRING" size="256" sumtext="세포처리일자"/>
  1072. <Column id="scs" type="STRING" size="256" sumtext="Stem Cell Source"/>
  1073. <Column id="bbagcnt" type="STRING" size="256" sumtext="보관백수"/>
  1074. <Column id="bdwt" type="STRING" size="256" sumtext="체중"/>
  1075. <Column id="cbagcnt" type="STRING" size="256" sumtext="처방백수"/>
  1076. <Column id="tncqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8)"/>
  1077. <Column id="tnckgqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8/kg)"/>
  1078. <Column id="mncqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8)"/>
  1079. <Column id="mnckgqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8/kg)"/>
  1080. <Column id="lympokgqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10^8/kg)"/>
  1081. <Column id="lympoqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10~8)"/>
  1082. <Column id="cd34per" type="BIGDECIMAL" size="256" sumtext="CD34+(%)"/>
  1083. <Column id="cd34qty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6)"/>
  1084. <Column id="cd34kgqty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6/kg)"/>
  1085. <Column id="cd3per" type="BIGDECIMAL" size="256" sumtext="CD3+(%)"/>
  1086. <Column id="cd3qty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6)"/>
  1087. <Column id="cd3kgqty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6/kg)"/>
  1088. <Column id="cd4per" type="BIGDECIMAL" size="256" sumtext="CD4+(%)"/>
  1089. <Column id="cd4qty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6)"/>
  1090. <Column id="cd4kgqty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6/kg)"/>
  1091. <Column id="cd8per" type="BIGDECIMAL" size="256" sumtext="CD8+(%)"/>
  1092. <Column id="cd8qty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6)"/>
  1093. <Column id="cd8kgqty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6/kg)"/>
  1094. <Column id="cd19per" type="BIGDECIMAL" size="256" sumtext="CD19+(%)"/>
  1095. <Column id="cd19qty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6)"/>
  1096. <Column id="cd19kgqty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6/kg)"/>
  1097. <Column id="nkper" type="BIGDECIMAL" size="256" sumtext="NK+(%)"/>
  1098. <Column id="nkqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6)"/>
  1099. <Column id="nkkgqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6/kg)"/>
  1100. <Column id="nktper" type="BIGDECIMAL" size="256" sumtext="NKT+(%)"/>
  1101. <Column id="nktqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6)"/>
  1102. <Column id="nktkgqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6/kg)"/>
  1103. <Column id="nrbcqty" type="BIGDECIMAL" size="256" sumtext="nRBC(10^6)"/>
  1104. <Column id="purityper" type="BIGDECIMAL" size="256" sumtext="purityper"/>
  1105. <Column id="yieldper" type="BIGDECIMAL" size="256" sumtext="yieldper"/>
  1106. <Column id="viabper" type="BIGDECIMAL" size="256" sumtext="viabper"/>
  1107. <Column id="prcpdd" type="STRING" size="256" sumtext="적용일자"/>
  1108. <Column id="execprcpuniqno" type="INT" size="256" sumtext="처방유일번호"/>
  1109. <Column id="tretvol" type="BIGDECIMAL" size="256" sumtext="채집량"/>
  1110. <Column id="infsvol" type="BIGDECIMAL" size="256" sumtext="주입량"/>
  1111. <Column id="cellhct" type="BIGDECIMAL" size="256" sumtext="Cell Hct"/>
  1112. <Column id="tankflag" type="STRING" size="256" sumtext="탱크구분"/>
  1113. <Column id="sesnflag" type="STRING" size="256" sumtext="보관프레임번호"/>
  1114. <Column id="frameflag" type="STRING" size="256" sumtext="보관stage번호"/>
  1115. <Column id="keeppos" type="STRING" size="256" sumtext="보관위치"/>
  1116. <Column id="keepdd" type="STRING" size="256" sumtext="보관일자"/>
  1117. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
  1118. <Column id="addseqno" type="STRING" size="256" sumtext="보관일자"/>
  1119. <Column id="fstrgstdt" type="STRING" size="256" sumtext="처방입력일시"/>
  1120. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1121. </ColumnInfo>
  1122. </Dataset>
  1123. <Dataset id="ds_main_cellresultinfo_infsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cellresultinfo_infsinfo_oncolumnchanged">
  1124. <ColumnInfo>
  1125. <Column id="cellbcno" type="STRING" size="256" sumtext="바코드"/>
  1126. <Column id="infsdd" type="STRING" size="256" sumtext="주입일자"/>
  1127. <Column id="cellprcpdd" type="STRING" size="256" sumtext="세포처리일자"/>
  1128. <Column id="scs" type="STRING" size="256" sumtext="Stem Cell Source"/>
  1129. <Column id="infsbagqty" type="STRING" size="256" sumtext="해동백수"/>
  1130. <Column id="bdwt" type="STRING" size="256" sumtext="체중"/>
  1131. <Column id="tncqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8)"/>
  1132. <Column id="tnckgqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8/kg)"/>
  1133. <Column id="mncqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8)"/>
  1134. <Column id="mnckgqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8/kg)"/>
  1135. <Column id="lympoqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10~8)"/>
  1136. <Column id="lympokgqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10^8/kg)"/>
  1137. <Column id="cd34per" type="BIGDECIMAL" size="256" sumtext="CD34+(%)"/>
  1138. <Column id="cd34qty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6)"/>
  1139. <Column id="cd34kgqty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6/kg)"/>
  1140. <Column id="cd3per" type="BIGDECIMAL" size="256" sumtext="CD3+(%)"/>
  1141. <Column id="cd3qty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6)"/>
  1142. <Column id="cd3kgqty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6/kg)"/>
  1143. <Column id="cd4per" type="BIGDECIMAL" size="256" sumtext="CD4+(%)"/>
  1144. <Column id="cd4qty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6)"/>
  1145. <Column id="cd4kgqty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6/kg)"/>
  1146. <Column id="cd8per" type="BIGDECIMAL" size="256" sumtext="CD8+(%)"/>
  1147. <Column id="cd8qty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6)"/>
  1148. <Column id="cd8kgqty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6/kg)"/>
  1149. <Column id="cd19per" type="BIGDECIMAL" size="256" sumtext="CD19+(%)"/>
  1150. <Column id="cd19qty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6)"/>
  1151. <Column id="cd19kgqty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6/kg)"/>
  1152. <Column id="nkper" type="BIGDECIMAL" size="256" sumtext="NK+(%)"/>
  1153. <Column id="nkqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6)"/>
  1154. <Column id="nkkgqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6/kg)"/>
  1155. <Column id="nktper" type="BIGDECIMAL" size="256" sumtext="NKT+(%)"/>
  1156. <Column id="nktqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6)"/>
  1157. <Column id="nktkgqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6/kg)"/>
  1158. <Column id="nrbcqty" type="BIGDECIMAL" size="256" sumtext="nRBC+(10^6)"/>
  1159. <Column id="purityper" type="BIGDECIMAL" size="256" sumtext="purityper"/>
  1160. <Column id="yieldper" type="BIGDECIMAL" size="256" sumtext="yieldper"/>
  1161. <Column id="viabper" type="BIGDECIMAL" size="256" sumtext="viabper"/>
  1162. <Column id="prcpdd" type="STRING" size="256" sumtext="적용일자"/>
  1163. <Column id="execprcpuniqno" type="INT" size="256" sumtext="처방유일번호"/>
  1164. <Column id="abnyn" type="STRING" size="256" sumtext="폐기여부"/>
  1165. <Column id="cellvol" type="BIGDECIMAL" size="256" sumtext="세포량"/>
  1166. <Column id="tretvol" type="BIGDECIMAL" size="256" sumtext="채집량"/>
  1167. <Column id="infsvol" type="BIGDECIMAL" size="256" sumtext="주입량"/>
  1168. <Column id="cellhct" type="BIGDECIMAL" size="256" sumtext="Cell Hct"/>
  1169. <Column id="tankflag" type="STRING" size="256" sumtext="탱크구분"/>
  1170. <Column id="sesnflag" type="STRING" size="256" sumtext="보관프레임번호"/>
  1171. <Column id="frameflag" type="STRING" size="256" sumtext="보관stage번호"/>
  1172. <Column id="keeppos" type="STRING" size="256" sumtext="보관위치"/>
  1173. <Column id="keepdd" type="STRING" size="256" sumtext="보관일자"/>
  1174. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1175. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
  1176. <Column id="addseqno" type="INT" size="256" sumtext="보관일자"/>
  1177. <Column id="fstrgstdt" type="STRING" size="256" sumtext="처방입력일자"/>
  1178. <Column id="keepflag" type="STRING" size="256" sumtext="탱크의 셀 존재 여부"/>
  1179. </ColumnInfo>
  1180. </Dataset>
  1181. <Dataset id="ds_main_cellresultinfo_abninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1182. <ColumnInfo>
  1183. <Column id="cellbcno" type="STRING" size="256" sumtext="바코드"/>
  1184. <Column id="abndd" type="STRING" size="256" sumtext="폐기일자"/>
  1185. <Column id="cellprcpdd" type="STRING" size="256" sumtext="세포처리일자"/>
  1186. <Column id="scs" type="STRING" size="256" sumtext="Stem Cell Source"/>
  1187. <Column id="abnbagqty" type="STRING" size="256" sumtext="폐기백수"/>
  1188. <Column id="bdwt" type="STRING" size="256" sumtext="체중"/>
  1189. <Column id="tncqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8)"/>
  1190. <Column id="tnckgqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8/kg)"/>
  1191. <Column id="mncqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8)"/>
  1192. <Column id="mnckgqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8/kg)"/>
  1193. <Column id="lympoqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10~8)"/>
  1194. <Column id="lympokgqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10^8/kg)"/>
  1195. <Column id="cd34per" type="BIGDECIMAL" size="256" sumtext="CD34+(%)"/>
  1196. <Column id="cd34qty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6)"/>
  1197. <Column id="cd34kgqty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6/kg)"/>
  1198. <Column id="cd3per" type="BIGDECIMAL" size="256" sumtext="CD3+(%)"/>
  1199. <Column id="cd3qty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6)"/>
  1200. <Column id="cd3kgqty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6/kg)"/>
  1201. <Column id="cd4per" type="BIGDECIMAL" size="256" sumtext="CD4+(%)"/>
  1202. <Column id="cd4qty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6)"/>
  1203. <Column id="cd4kgqty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6/kg)"/>
  1204. <Column id="cd8per" type="BIGDECIMAL" size="256" sumtext="CD8+(%)"/>
  1205. <Column id="cd8qty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6)"/>
  1206. <Column id="cd8kgqty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6/kg)"/>
  1207. <Column id="cd19per" type="BIGDECIMAL" size="256" sumtext="CD19+(%)"/>
  1208. <Column id="cd19qty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6)"/>
  1209. <Column id="cd19kgqty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6/kg)"/>
  1210. <Column id="nkper" type="BIGDECIMAL" size="256" sumtext="NK+(%)"/>
  1211. <Column id="nkqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6)"/>
  1212. <Column id="nkkgqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6/kg)"/>
  1213. <Column id="nktper" type="BIGDECIMAL" size="256" sumtext="NKT+(%)"/>
  1214. <Column id="nktqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6)"/>
  1215. <Column id="nktkgqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6/kg)"/>
  1216. <Column id="nrbcqty" type="BIGDECIMAL" size="256" sumtext="nRBC(10^6)"/>
  1217. <Column id="purityper" type="BIGDECIMAL" size="256" sumtext="purityper"/>
  1218. <Column id="yieldper" type="BIGDECIMAL" size="256" sumtext="yieldper"/>
  1219. <Column id="viabper" type="BIGDECIMAL" size="256" sumtext="viabper"/>
  1220. <Column id="prcpdd" type="STRING" size="256" sumtext="적용일자"/>
  1221. <Column id="execprcpuniqno" type="INT" size="256" sumtext="처방유일번호"/>
  1222. <Column id="abnresn" type="STRING" size="256" sumtext="폐기사유"/>
  1223. <Column id="tretvol" type="BIGDECIMAL" size="256" sumtext="채집량"/>
  1224. <Column id="infsvol" type="BIGDECIMAL" size="256" sumtext="주입량"/>
  1225. <Column id="cellhct" type="BIGDECIMAL" size="256" sumtext="Cell Hct"/>
  1226. <Column id="tankflag" type="STRING" size="256" sumtext="탱크구분"/>
  1227. <Column id="sesnflag" type="STRING" size="256" sumtext="보관프레임번호"/>
  1228. <Column id="frameflag" type="STRING" size="256" sumtext="보관stage번호"/>
  1229. <Column id="keeppos" type="STRING" size="256" sumtext="보관위치"/>
  1230. <Column id="keepdd" type="STRING" size="256" sumtext="보관일자"/>
  1231. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1232. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
  1233. <Column id="addseqno" type="INT" size="256" sumtext="보관일자"/>
  1234. <Column id="keepflag" type="STRING" size="256" sumtext="탱크의 셀 존재 여부"/>
  1235. <Column id="cellvolcheckyn" type="STRING" size="256" sumtext="주입여부적용여부"/>
  1236. </ColumnInfo>
  1237. </Dataset>
  1238. <Dataset id="ds_main_cellresultinfo_restinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1239. <ColumnInfo>
  1240. <Column id="cellbcno" type="STRING" size="256" sumtext="바코드"/>
  1241. <Column id="cellprcpdd" type="STRING" size="256" sumtext="세포처리일자"/>
  1242. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  1243. <Column id="scs" type="STRING" size="256" sumtext="Stem Cell Source"/>
  1244. <Column id="bbagcnt" type="STRING" size="256" sumtext="남은백수"/>
  1245. <Column id="bdwt" type="STRING" size="256" sumtext="체중"/>
  1246. <Column id="tncqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8)"/>
  1247. <Column id="tnckgqty" type="BIGDECIMAL" size="256" sumtext="TNC(10^8/kg)"/>
  1248. <Column id="mncqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8)"/>
  1249. <Column id="mnckgqty" type="BIGDECIMAL" size="256" sumtext="MNC(10^8/kg)"/>
  1250. <Column id="lympoqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10~8)"/>
  1251. <Column id="lympokgqty" type="BIGDECIMAL" size="256" sumtext="LYMPO(10^8/kg)"/>
  1252. <Column id="cd34per" type="BIGDECIMAL" size="256" sumtext="CD34+(%)"/>
  1253. <Column id="cd34qty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6)"/>
  1254. <Column id="cd34kgqty" type="BIGDECIMAL" size="256" sumtext="CD34+(10^6/kg)"/>
  1255. <Column id="cd3per" type="BIGDECIMAL" size="256" sumtext="CD3+(%)"/>
  1256. <Column id="cd3qty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6)"/>
  1257. <Column id="cd3kgqty" type="BIGDECIMAL" size="256" sumtext="CD3+(10^6/kg)"/>
  1258. <Column id="cd4per" type="BIGDECIMAL" size="256" sumtext="CD4+(%)"/>
  1259. <Column id="cd4qty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6)"/>
  1260. <Column id="cd4kgqty" type="BIGDECIMAL" size="256" sumtext="CD4+(10^6/kg)"/>
  1261. <Column id="cd8per" type="BIGDECIMAL" size="256" sumtext="CD8+(%)"/>
  1262. <Column id="cd8qty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6)"/>
  1263. <Column id="cd8kgqty" type="BIGDECIMAL" size="256" sumtext="CD8+(10^6/kg)"/>
  1264. <Column id="cd19per" type="BIGDECIMAL" size="256" sumtext="CD19+(%)"/>
  1265. <Column id="cd19qty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6)"/>
  1266. <Column id="cd19kgqty" type="BIGDECIMAL" size="256" sumtext="CD19+(10^6/kg)"/>
  1267. <Column id="nkper" type="BIGDECIMAL" size="256" sumtext="NK+(%)"/>
  1268. <Column id="nkqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6)"/>
  1269. <Column id="nkkgqty" type="BIGDECIMAL" size="256" sumtext="NK+(10^6/kg)"/>
  1270. <Column id="nktper" type="BIGDECIMAL" size="256" sumtext="NKT+(%)"/>
  1271. <Column id="nktqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6)"/>
  1272. <Column id="nktkgqty" type="BIGDECIMAL" size="256" sumtext="NKT+(10^6/kg)"/>
  1273. <Column id="nrbcqty" type="BIGDECIMAL" size="256" sumtext="nRBC(10^6)"/>
  1274. <Column id="purityper" type="BIGDECIMAL" size="256" sumtext="purityper"/>
  1275. <Column id="yieldper" type="BIGDECIMAL" size="256" sumtext="yieldper"/>
  1276. <Column id="viabper" type="BIGDECIMAL" size="256" sumtext="viabper"/>
  1277. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
  1278. <Column id="fstrgstdt" type="STRING" size="256" sumtext="처방입력일자"/>
  1279. </ColumnInfo>
  1280. </Dataset>
  1281. <Dataset id="ds_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1282. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1283. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1284. <ColumnInfo>
  1285. <Column id="popupendflag" type="STRING" size="256"/>
  1286. </ColumnInfo>
  1287. <Rows>
  1288. <Row/>
  1289. </Rows>
  1290. </Dataset>
  1291. <Dataset id="ds_temp_bmtpatientinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1292. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1293. </Objects>
  1294. <Bind>
  1295. <BindItem id="item0" compid="input2" propid="value" datasetid="ds_send_baseinfo" columnid="pid"/>
  1296. <BindItem id="item1" compid="output3" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="hngnm"/>
  1297. <BindItem id="item2" compid="input36" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="rrgstno1"/>
  1298. <BindItem id="item3" compid="input23" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="rrgstno2"/>
  1299. <BindItem id="item4" compid="output7" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="sex"/>
  1300. <BindItem id="item5" compid="output6" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="age"/>
  1301. <BindItem id="item6" compid="output11" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="orddeptcd"/>
  1302. <BindItem id="item7" compid="output8" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="atdoctid"/>
  1303. <BindItem id="item8" compid="output9" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="docdamid"/>
  1304. <BindItem id="item9" compid="combo2" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="ordtype"/>
  1305. <BindItem id="item10" compid="output1" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="diagcd1"/>
  1306. <BindItem id="item11" compid="output15" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="trnptinwardcd"/>
  1307. <BindItem id="item12" compid="output10" propid="value" datasetid="ds_main_cellresultinfo_patinfolist" columnid="patbdwt"/>
  1308. </Bind>
  1309. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1310. * System Name :
  1311. * Job Name :
  1312. * Creator :
  1313. * Make Date : 2015-11-13
  1314. * Description :
  1315. *---------------------------------------------------------------------------------------
  1316. * Modify Date Modifier Modify Description
  1317. *---------------------------------------------------------------------------------------
  1318. * 2015-11-13 Live Converter TF->XP
  1319. *
  1320. *---------------------------------------------------------------------------------------
  1321. ****************************************************************************************/
  1322. include "com_commonxp::comm_main.xjs";
  1323. function SMABC00300_oninit(obj:Form, e:InitEventInfo)
  1324. {
  1325. frmf_initForm(obj);
  1326. }
  1327. function SMABC00300_onload(obj:Form, e:LoadEventInfo)
  1328. {
  1329. grdf_initGrid(grd_abn);
  1330. grdf_initGrid(grd_detail);
  1331. grdf_initGrid(grd_infs);
  1332. grdf_initGrid(grd_rest);
  1333. var arrParam = [{dsNm: "ds_init_cmbinfo_stemcellsource_A0159", cdGrpId: "A0159"}
  1334. , {dsNm: "ds_init_cmbinfo_sesnflag_A0395", cdGrpId: "A0395"}
  1335. , {dsNm: "ds_init_cmbinfo_abnresn_A0155", cdGrpId: "A0155"}]
  1336. appf_getCodeList(arrParam);
  1337. if (frmf_checkOpener())
  1338. {
  1339. var param = opener.frmf_getParameter("opener_parameter_id");
  1340. if(!utlf_isNull(param))
  1341. {
  1342. condarray = param.split("▦");
  1343. ds_send_baseinfo.setColumn(0, "pid", condarray[0]);
  1344. ds_send_baseinfo.setColumn(0, "prcpdd", condarray[1]);
  1345. ds_send_baseinfo.setColumn(0, "execprcpuniqno", condarray[2]);
  1346. ds_send_baseinfo.setColumn(0, "prcphopedd", condarray[3]);
  1347. ds_send_baseinfo.setColumn(0, "fstrgstdt", condarray[4]);
  1348. btn_sea_onclick();
  1349. }
  1350. else
  1351. {
  1352. var paminfo = sysf_getGlobalVariable("paminfo");
  1353. if(!utlf_isNull(paminfo))
  1354. {
  1355. dsf_setCSVToDs("ds_paminfo_list", paminfo);
  1356. ds_send_baseinfo.setColumn(0, "pid", ds_paminfo_list.getColumn(0, "pid"));
  1357. btn_sea_onclick();
  1358. }
  1359. }
  1360. }
  1361. else
  1362. {
  1363. var paminfo = sysf_getGlobalVariable("paminfo");
  1364. if ( !utlf_isNull(paminfo))
  1365. {
  1366. dsf_setCSVToDs("ds_paminfo_list", paminfo);
  1367. ds_send_baseinfo.setColumn(0, "pid", ds_paminfo_list.getColumn(0, "pid"));
  1368. btn_sea_onclick();
  1369. }
  1370. }
  1371. btn_save.enable = frmf_checkAuth("X");
  1372. }
  1373. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  1374. {
  1375. if (utlf_isNull(ds_send_baseinfo.getColumn(0, "pid")))
  1376. {
  1377. sysf_messageBox("환자번호는 필수 선택 또는 입력항목 입니다", "E999", "");
  1378. return;
  1379. }
  1380. fGetPatientInfo();
  1381. }
  1382. function fGetPatientInfo()
  1383. {
  1384. ds_main_cellresultinfo_abninfo.clearData();
  1385. ds_main_cellresultinfo_detailinfo.clearData();
  1386. ds_main_cellresultinfo_patinfolist.clearData();
  1387. ds_main_cellresultinfo_restinfo.clearData();
  1388. ds_main_cellresultinfo_infsinfo.clearData();
  1389. ds_send_reqdata.clearData();
  1390. ds_send_reqdata.addRow();
  1391. if(utlf_isNull(ds_send_baseinfo.getColumn(0, "pid")))
  1392. {
  1393. ds_main_cellresultinfo_patinfolist.clearData();
  1394. return;
  1395. }
  1396. var oParam = {};
  1397. oParam.id = "TRABC00301";
  1398. oParam.service = "hsctstemcellapp.StemCellTreat";
  1399. oParam.method = "reqGetCellKeepInfsInfo";
  1400. oParam.inds = "req=ds_send_baseinfo";
  1401. oParam.outds = "ds_main_cellresultinfo_patinfolist=patinfolist ds_main_cellresultinfo_detailinfo=detailinfo ds_main_cellresultinfo_infsinfo=infsinfo ds_main_cellresultinfo_abninfo=abninfo ds_main_cellresultinfo_restinfo=restinfo";
  1402. oParam.async = false;
  1403. //oParam.callback = "cf_TRABC00301";
  1404. tranf_submit(oParam);
  1405. dsf_setDefaultVal(ds_main_cellresultinfo_detailinfo, "cbagcnt:1");
  1406. if(utlf_isNull(ds_main_cellresultinfo_detailinfo.getColumn(0, "prcphopedd")))
  1407. {
  1408. ds_main_cellresultinfo_detailinfo.clearData();
  1409. btn_save.enable = false;
  1410. }
  1411. else
  1412. {
  1413. btn_save.enable = true;
  1414. }
  1415. if(utlf_isNull(ds_main_cellresultinfo_infsinfo.getColumn(0, "prcphopedd")))
  1416. {
  1417. ds_main_cellresultinfo_infsinfo.clearData();
  1418. btn_save.enable = false;
  1419. }
  1420. else
  1421. {
  1422. btn_save.enable = true;
  1423. }
  1424. if(utlf_isNull(ds_main_cellresultinfo_abninfo.getColumn(0, "prcphopedd")) && utlf_isNull(ds_main_cellresultinfo_abninfo.getColumn(0, "cellbcno")))
  1425. {
  1426. ds_main_cellresultinfo_abninfo.clearData();
  1427. btn_save.enable = false;
  1428. }
  1429. else
  1430. {
  1431. btn_save.enable = true;
  1432. }
  1433. if(utlf_isNull(ds_main_cellresultinfo_restinfo.getColumn(0, "prcphopedd")))
  1434. {
  1435. ds_main_cellresultinfo_restinfo.clearData();
  1436. }
  1437. ds_send_reqdata.setColumn(0, "infsdd", utlf_getCurrentDate());
  1438. //fGetPrcpTotalSum();
  1439. //fGetInfsTotalSum();
  1440. //fGetCabnTotalSum();
  1441. //fGetRestCellTotalSum();
  1442. }
  1443. function button9_onclick(obj:Button, e:ClickEventInfo)
  1444. {
  1445. var pid = ds_send_baseinfo.getColumn(0, "pid");
  1446. var sflag = pid;
  1447. frmf_setParameter("opener_parameter_id", sflag);
  1448. frmf_modal("SMABC00400", "SMABC00400", "", "", "", "", "", "", "", "", "", "", "M");
  1449. }
  1450. function button1_onclick(obj:Button, e:ClickEventInfo)
  1451. {
  1452. frmf_modal("SMABC01300", "SMABC01300", "", "", "", "", "", "", "", "", "", "", "M");
  1453. }
  1454. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  1455. {
  1456. fExecSave();
  1457. }
  1458. function fExecSave()
  1459. {
  1460. var oParam = {};
  1461. oParam.id = "TXABC00301";
  1462. oParam.service = "hsctstemcellapp.StemCellTreat";
  1463. oParam.method = "reqExeCellInfsAbn";
  1464. oParam.inds = "infsinfo=ds_main_cellresultinfo_infsinfo:U abninfo=ds_main_cellresultinfo_abninfo:U";
  1465. oParam.outds = "ds_=item";
  1466. oParam.async = false;
  1467. oParam.callback = "cf_TXABC00301";
  1468. tranf_submit(oParam);
  1469. }
  1470. function cf_TXABC00301(sSvcId, nErrorCode, sErrorMsg)
  1471. {
  1472. if(nErrorCode < 0)
  1473. {
  1474. sysf_messageBox(sErrorMsg, "E999", "");
  1475. return;
  1476. }
  1477. else
  1478. {
  1479. fGetPatientInfo();
  1480. }
  1481. }
  1482. function btn_cle_onclick(obj:Button, e:ClickEventInfo)
  1483. {
  1484. ds_main_cellresultinfo_detailinfo.clearData();
  1485. ds_main_cellresultinfo_infsinfo.clearData();
  1486. ds_main_cellresultinfo_abninfo.clearData();
  1487. ds_main_cellresultinfo_restinfo.clearData();
  1488. ds_send_baseinfo.clearData();
  1489. ds_send_baseinfo.addRow();
  1490. ds_send_reqdata.clearData();
  1491. ds_send_reqdata.addRow();
  1492. }
  1493. function input2_onkeyup(obj:Edit, e:KeyEventInfo)
  1494. {
  1495. if(e.keycode == 13)
  1496. {
  1497. fGetPatientInfo();
  1498. }
  1499. }
  1500. function button2_onclick(obj:Button, e:ClickEventInfo)
  1501. {
  1502. frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
  1503. if(ds_main.getColumn(0, "popupendflag") == "cancel" || utlf_isNull(ds_main.getColumn(0, "popupendflag")))
  1504. {
  1505. }
  1506. else
  1507. {
  1508. ds_send_baseinfo.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
  1509. ds_main_cellresultinfo_patinfolist.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
  1510. ds_main_cellresultinfo_patinfolist.setColumn(0, "rrgstno1", ds_patinfolist.getColumn(0, "rrgstno1"));
  1511. ds_main_cellresultinfo_patinfolist.setColumn(0, "rrgstno2", ds_patinfolist.getColumn(0, "rrgstno2"));
  1512. ds_main_cellresultinfo_patinfolist.setColumn(0, "sex", ds_patinfolist.getColumn(0, "sex"));
  1513. ds_main_cellresultinfo_patinfolist.setColumn(0, "age", ds_patinfolist.getColumn(0, "age"));
  1514. fGetPatientInfo();
  1515. }
  1516. }
  1517. function btn_ipt_onclick(obj:Button, e:ClickEventInfo)
  1518. {
  1519. frmf_modal("SPABO61300", "SPABO61300", "", "", "", "", "", "", "", "", "", "", "M");
  1520. if(ds_main.getColumn(0, "popupendflag") == "ok")
  1521. {
  1522. var spid = ds_temp_bmtpatientinfo.getColumn(0, "pid");
  1523. if(utlf_isNull(spid) || spid == "" || spid == " ")
  1524. {
  1525. return false;
  1526. }
  1527. ds_send_baseinfo.setColumn(0, "pid", ds_temp_bmtpatientinfo.getColumn(0, "pid"));
  1528. fGetPatientInfo();
  1529. }
  1530. }
  1531. function isDate(str)
  1532. {
  1533. if(utlf_isNull(str))
  1534. {
  1535. return true;
  1536. }
  1537. if (utlf_isNull(trim(str)))
  1538. {
  1539. return true; // 빈건 체크안함
  1540. }
  1541. if (isNaN(parseInt(str)))
  1542. {
  1543. return false; // 숫자가 아니면 fals
  1544. }
  1545. if (str.length != 8)
  1546. {
  1547. return false;
  1548. }
  1549. var yy = new Number(str.substr(0, 4));
  1550. var mm = new Number(str.substr(4, 2));
  1551. var dd = new Number(str.substr(6, 2));
  1552. var date = new Date(yy, mm, dd);
  1553. if (yy != date.getFullYear() || mm != date.getMonth() || dd != date.getDate())
  1554. {
  1555. return false; // 존재하지 않는 날짜
  1556. }
  1557. return true; // 존재하는 날짜
  1558. }
  1559. function trim(data)
  1560. { // 문자에 대한 TRIM 작업
  1561. return data.replace(/(^\s*)|(\s*$)/g, "");
  1562. }
  1563. function grd_detail_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1564. {
  1565. if (utlf_isNull(ds_send_baseinfo.getColumn(0, "execprcpuniqno")) || utlf_isNull(ds_send_baseinfo.getColumn(0, "prcpdd")))
  1566. {
  1567. sysf_messageBox("해동처리를 위해서는 처방관리화면에서 해동처방이 먼저 선택되어야 합니다.", "E999", "");
  1568. return;
  1569. }
  1570. if (utlf_isNull(ds_send_reqdata.getColumn(0, "infsdd")))
  1571. {
  1572. sysf_messageBox("해동일자를 입력한 후 처리하시기 바랍니다.", "E999", "");
  1573. return;
  1574. }
  1575. if (isDate(ds_send_reqdata.getColumn(0, "infsdd")) == false)
  1576. {
  1577. sysf_messageBox("해동일자의 날짜 형식이 잘 못 입력되었습니다.", "E999", "");
  1578. return;
  1579. }
  1580. if(e.row > -1)
  1581. {
  1582. scellbcno = ds_main_cellresultinfo_detailinfo.getColumn(ds_main_cellresultinfo_detailinfo.rowposition, "cellbcno");
  1583. var irow1 = ds_main_cellresultinfo_infsinfo.findRow(1, scellbcno);
  1584. var irow3 = ds_main_cellresultinfo_abninfo.findRow(1, scellbcno);
  1585. if (irow1 > -1 || irow3 > -1)
  1586. {
  1587. sysf_messageBox("이미 선택된 자료입니다.", "E999", "");
  1588. return;
  1589. }
  1590. else
  1591. {
  1592. var irow2 = ds_main_cellresultinfo_restinfo.findRow(1, scellbcno);
  1593. if (irow2 > -1)
  1594. {
  1595. ds_main_cellresultinfo_restinfo.deleteRow(irow2);
  1596. }
  1597. }
  1598. grow = ds_main_cellresultinfo_detailinfo.rowposition;
  1599. detailtoinfs(grow);
  1600. }
  1601. }
  1602. function detailtoinfs(grow)
  1603. {
  1604. ds_main_cellresultinfo_infsinfo.deleteRow(ds_main_cellresultinfo_infsinfo.rowposition);
  1605. var irow = ds_main_cellresultinfo_infsinfo.addRow();
  1606. ds_main_cellresultinfo_infsinfo.setColumn(irow, "infsdd", ds_send_reqdata.getColumn(0, "infsdd"));
  1607. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cellprcpdd", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cellprcpdd"));
  1608. ds_main_cellresultinfo_infsinfo.setColumn(irow, "scs", ds_main_cellresultinfo_detailinfo.getColumn(grow, "scs"));
  1609. ds_main_cellresultinfo_infsinfo.setColumn(irow, "infsbagqty", "1");
  1610. ds_main_cellresultinfo_infsinfo.setColumn(irow, "bdwt", ds_main_cellresultinfo_detailinfo.getColumn(grow, "bdwt"));
  1611. ds_main_cellresultinfo_infsinfo.setColumn(irow, "tncqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tncqty"));
  1612. ds_main_cellresultinfo_infsinfo.setColumn(irow, "tnckgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tnckgqty"));
  1613. ds_main_cellresultinfo_infsinfo.setColumn(irow, "mncqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "mncqty"));
  1614. ds_main_cellresultinfo_infsinfo.setColumn(irow, "mnckgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "mnckgqty"));
  1615. ds_main_cellresultinfo_infsinfo.setColumn(irow, "lympoqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "lympoqty"));
  1616. ds_main_cellresultinfo_infsinfo.setColumn(irow, "lympokgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "lympokgqty"));
  1617. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd34per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd34per"));
  1618. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd34qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd34qty"));
  1619. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd34kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd34kgqty"));
  1620. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd3per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd3per"));
  1621. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd3qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd3qty"));
  1622. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd3kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd3kgqty"));
  1623. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd4per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd4per"));
  1624. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd4qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd4qty"));
  1625. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd4kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd4kgqty"));
  1626. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd8per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd8per"));
  1627. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd8qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd8qty"));
  1628. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd8kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd8kgqty"));
  1629. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd19per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd19per"));
  1630. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd19qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd19qty"));
  1631. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd19kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd19kgqty"));
  1632. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nkper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nkper"));
  1633. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nkqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nkqty"));
  1634. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nkkgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nkkgqty"));
  1635. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nktper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nktper"));
  1636. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nktqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nktqty"));
  1637. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nktkgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nktkgqty"));
  1638. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nrbcqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nrbcqty"));
  1639. ds_main_cellresultinfo_infsinfo.setColumn(irow, "purityper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "purityper"));
  1640. ds_main_cellresultinfo_infsinfo.setColumn(irow, "yieldper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "yieldper"));
  1641. ds_main_cellresultinfo_infsinfo.setColumn(irow, "viabper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "viabper"));
  1642. ds_main_cellresultinfo_infsinfo.setColumn(irow, "prcpdd", ds_send_baseinfo.getColumn(0, "prcpdd"));
  1643. ds_main_cellresultinfo_infsinfo.setColumn(irow, "execprcpuniqno", ds_send_baseinfo.getColumn(grow, "execprcpuniqno"));
  1644. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cellbcno", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cellbcno"));
  1645. ds_main_cellresultinfo_infsinfo.setColumn(irow, "abnyn", "N");
  1646. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cellvol", "0");
  1647. ds_main_cellresultinfo_infsinfo.setColumn(irow, "tretvol", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tretvol"));
  1648. ds_main_cellresultinfo_infsinfo.setColumn(irow, "infsvol", ds_main_cellresultinfo_detailinfo.getColumn(grow, "infsvol"));
  1649. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cellhct", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cellhct"));
  1650. ds_main_cellresultinfo_infsinfo.setColumn(irow, "tankflag", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tankflag"));
  1651. ds_main_cellresultinfo_infsinfo.setColumn(irow, "sesnflag", ds_main_cellresultinfo_detailinfo.getColumn(grow, "sesnflag"));
  1652. ds_main_cellresultinfo_infsinfo.setColumn(irow, "frameflag", ds_main_cellresultinfo_detailinfo.getColumn(grow, "frameflag"));
  1653. ds_main_cellresultinfo_infsinfo.setColumn(irow, "keeppos", ds_main_cellresultinfo_detailinfo.getColumn(grow, "keeppos"));
  1654. ds_main_cellresultinfo_infsinfo.setColumn(irow, "keepdd", ds_main_cellresultinfo_detailinfo.getColumn(grow, "keepdd"));
  1655. ds_main_cellresultinfo_infsinfo.setColumn(irow, "pid", ds_send_baseinfo.getColumn(0, "pid"));
  1656. ds_main_cellresultinfo_infsinfo.setColumn(irow, "prcphopedd", ds_send_baseinfo.getColumn(0, "prcphopedd"));
  1657. ds_main_cellresultinfo_infsinfo.setColumn(irow, "addseqno", ds_main_cellresultinfo_detailinfo.getColumn(grow, "addseqno"));
  1658. ds_main_cellresultinfo_infsinfo.setColumn(irow, "fstrgstdt", ds_send_baseinfo.getColumn(grow, "fstrgstdt"));
  1659. ds_main_cellresultinfo_infsinfo.updatecontrol = false
  1660. ds_main_cellresultinfo_infsinfo.setRowType(irow, "i");
  1661. ds_main_cellresultinfo_infsinfo.updatecontrol = true;
  1662. btn_del.enable = true;
  1663. }
  1664. function infstoabn2(grow)
  1665. {
  1666. var irow = ds_main_cellresultinfo_abninfo.addRow();
  1667. ds_main_cellresultinfo_abninfo.setColumn(irow, "abndd", utlf_getCurrentDate());
  1668. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellprcpdd", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cellprcpdd"));
  1669. ds_main_cellresultinfo_abninfo.setColumn(irow, "scs", ds_main_cellresultinfo_detailinfo.getColumn(grow, "scs"));
  1670. ds_main_cellresultinfo_abninfo.setColumn(irow, "abnbagqty", "1");
  1671. ds_main_cellresultinfo_abninfo.setColumn(irow, "bdwt", ds_main_cellresultinfo_detailinfo.getColumn(grow, "bdwt"));
  1672. ds_main_cellresultinfo_abninfo.setColumn(irow, "tncqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tncqty"));
  1673. ds_main_cellresultinfo_abninfo.setColumn(irow, "tnckgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tnckgqty"));
  1674. ds_main_cellresultinfo_abninfo.setColumn(irow, "mncqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "mncqty"));
  1675. ds_main_cellresultinfo_abninfo.setColumn(irow, "mnckgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "mnckgqty"));
  1676. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympoqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "lympoqty"));
  1677. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympokgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "lympokgqty"));
  1678. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd34per"));
  1679. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd34qty"));
  1680. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd34kgqty"));
  1681. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd3per"));
  1682. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd3qty"));
  1683. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd3kgqty"));
  1684. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd4per"));
  1685. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd4qty"));
  1686. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd4kgqty"));
  1687. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd8per"));
  1688. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd8qty"));
  1689. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19per", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd19per"));
  1690. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19qty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd19qty"));
  1691. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19kgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cd19kgqty"));
  1692. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nkper"));
  1693. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nkqty"));
  1694. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkkgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nkkgqty"));
  1695. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nktper"));
  1696. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nktqty"));
  1697. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktkgqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nktkgqty"));
  1698. ds_main_cellresultinfo_abninfo.setColumn(irow, "nrbcqty", ds_main_cellresultinfo_detailinfo.getColumn(grow, "nrbcqty"));
  1699. ds_main_cellresultinfo_abninfo.setColumn(irow, "purityper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "purityper"));
  1700. ds_main_cellresultinfo_abninfo.setColumn(irow, "yieldper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "yieldper"));
  1701. ds_main_cellresultinfo_abninfo.setColumn(irow, "viabper", ds_main_cellresultinfo_detailinfo.getColumn(grow, "viabper"));
  1702. ds_main_cellresultinfo_abninfo.setColumn(irow, "prcpdd", ds_main_cellresultinfo_detailinfo.getColumn(grow, "prcpdd"));
  1703. ds_main_cellresultinfo_abninfo.setColumn(irow, "execprcpuniqno", ds_main_cellresultinfo_detailinfo.getColumn(grow, "execprcpuniqno"));
  1704. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellbcno", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cellbcno"));
  1705. ds_main_cellresultinfo_abninfo.setColumn(irow, "abnresn", ds_send_reqdata.getColumn(grow, "abnresn"));
  1706. ds_main_cellresultinfo_abninfo.setColumn(irow, "tretvol", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tretvol"));
  1707. ds_main_cellresultinfo_abninfo.setColumn(irow, "infsvol", ds_main_cellresultinfo_detailinfo.getColumn(grow, "infsvol"));
  1708. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellhct", ds_main_cellresultinfo_detailinfo.getColumn(grow, "cellhct"));
  1709. ds_main_cellresultinfo_abninfo.setColumn(irow, "tankflag", ds_main_cellresultinfo_detailinfo.getColumn(grow, "tankflag"));
  1710. ds_main_cellresultinfo_abninfo.setColumn(irow, "sesnflag", ds_main_cellresultinfo_detailinfo.getColumn(grow, "sesnflag"));
  1711. ds_main_cellresultinfo_abninfo.setColumn(irow, "frameflag", ds_main_cellresultinfo_detailinfo.getColumn(grow, "frameflag"));
  1712. ds_main_cellresultinfo_abninfo.setColumn(irow, "keeppos", ds_main_cellresultinfo_detailinfo.getColumn(grow, "keeppos"));
  1713. ds_main_cellresultinfo_abninfo.setColumn(irow, "keepdd", ds_main_cellresultinfo_detailinfo.getColumn(grow, "keepdd"));
  1714. ds_main_cellresultinfo_abninfo.setColumn(irow, "pid", ds_send_baseinfo.getColumn(grow, "pid"));
  1715. ds_main_cellresultinfo_abninfo.updatecontrol = false;
  1716. ds_main_cellresultinfo_abninfo.setRowType(irow, "i");
  1717. ds_main_cellresultinfo_abninfo.updatecontrol = true;
  1718. btn_del.enable = true;
  1719. }
  1720. function input3_onkeyup(obj:Edit, e:KeyEventInfo)
  1721. {
  1722. infsfunc();
  1723. }
  1724. function button5_onclick(obj:Button, e:ClickEventInfo)
  1725. {
  1726. infsfunc();
  1727. }
  1728. function infsfunc()
  1729. {
  1730. scellbcno = ds_send_reqdata.getColumn(0, "cellbcno");
  1731. if (utlf_isNull(scellbcno))
  1732. {
  1733. return;
  1734. }
  1735. if(ds_send_baseinfo.getColumn(0, "execprcpuniqno") || utlf_isNull(ds_send_baseinfo.getColumn(0, "prcpdd")))
  1736. {
  1737. sysf_messageBox("해동처리를 위해서는 처방관리화면에서 해동처방이 먼저 선택되어야 합니다.", "E999", "");
  1738. return;
  1739. }
  1740. if (utlf_isNull(ds_send_reqdata.getColumn(0, "infsdd")))
  1741. {
  1742. sysf_messageBox("해동일자를 입력한 후 처리하시기 바랍니다.", "E999", "");
  1743. return;
  1744. }
  1745. if (isDate(ds_send_reqdata.getColumn(0, "infsdd")) == false)
  1746. {
  1747. sysf_messageBox("해동일자의 날짜 형식이 잘 못 입력되었습니다.", "E999", "");
  1748. return;
  1749. }
  1750. var irow1 = ds_main_cellresultinfo_infsinfo.findRow(1, scellbcno)
  1751. if (irow1 > -1)
  1752. {
  1753. sysf_messageBox("이미 선택된 자료입니다.", "E999", "");
  1754. return;
  1755. }
  1756. else
  1757. {
  1758. var irow3 = ds_main_cellresultinfo_detailinfo.findRow(1, scellbcno);
  1759. if (irow3 > -1)
  1760. {
  1761. detailtoinfs(irow3);
  1762. var irow4 = ds_main_cellresultinfo_restinfo.findRow(1, scellbcno);
  1763. if (irow4 > -1)
  1764. {
  1765. ds_main_cellresultinfo_restinfo.deleteRow(irow4);
  1766. }
  1767. }
  1768. else
  1769. {
  1770. sysf_messageBox("해당 바코드가 존재하지 않습니다.", "E999", "");
  1771. return;
  1772. }
  1773. }
  1774. ds_send_reqdata.setColumn(0, "cellbcno", "");
  1775. }
  1776. function cabnfunc()
  1777. {
  1778. scellbcno = ds_send_reqdata.getColumn(0, "cellbcno2");
  1779. if (utlf_isNull(scellbcno))
  1780. {
  1781. return;
  1782. }
  1783. if (utlf_isNull(ds_send_reqdata.getColumn(0, "abnresn")))
  1784. {
  1785. sysf_messageBox("폐기사유를 선택한 후 처리하시기 바랍니다.", "E999", "");
  1786. return;
  1787. }
  1788. var irow1 = ds_main_cellresultinfo_abninfo.findRow(1,scellbcno);
  1789. var irow2 = ds_main_cellresultinfo_infsinfo.findRow(1,scellbcno);
  1790. if (irow1 > -1 || irow2 > -1)
  1791. {
  1792. sysf_messageBox("이미 선택된 자료입니다.", "E999", "");
  1793. return;
  1794. }
  1795. else
  1796. {
  1797. var irow3 = ds_main_cellresultinfo_detailinfo.findRow(1,scellbcno);
  1798. if (irow3 > -1)
  1799. {
  1800. infstoabn2(irow3);
  1801. var irow4 = ds_main_cellresultinfo_restinfo.findRow(1, scellbcno);
  1802. if (irow4 > -1)
  1803. {
  1804. ds_main_cellresultinfo_restinfo.deleteRow(irow4);
  1805. }
  1806. }
  1807. else
  1808. {
  1809. sysf_messageBox("해당 바코드가 존재하지 않습니다.", "E999", "");
  1810. return;
  1811. }
  1812. }
  1813. ds_send_reqdata.setColumn(0, "cellbcno2", "");
  1814. }
  1815. function button6_onclick(obj:Button, e:ClickEventInfo)
  1816. {
  1817. if (ds_main_cellresultinfo_infsinfo.rowposition < 0)
  1818. {
  1819. sysf_messageBox("세포주입 Result에서 적용할 행을 선택한 후 처리하시기 바랍니다.", "E999", "");
  1820. return;
  1821. }
  1822. ds_send_reqdata.setColumn(0, "abnresn", "7");
  1823. if (ds_main_cellresultinfo_infsinfo.rowposition > -1)
  1824. {
  1825. scellbcno = ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "cellbcno");
  1826. var irow1 = ds_main_cellresultinfo_abninfo.findRow(1, scellbcno);
  1827. if (irow1 > -1)
  1828. {
  1829. sysf_messageBox("이미 선택된 자료입니다.", "E999", "");
  1830. return;
  1831. }
  1832. }
  1833. if (utlf_isNull(ds_send_reqdata.getColumn(0, "cellvol")) || ds_send_reqdata.getColumn(0, "cellvol") == "0")
  1834. {
  1835. sysf_messageBox("적용할 세포량을 입력한 후 처리하시기 바랍니다.", "E999", "");
  1836. return;
  1837. }
  1838. var scd3kgqty = ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "cd3kgqty");
  1839. if (utlf_isNull(scd3kgqty) || scd3kgqty == "0")
  1840. {
  1841. sysf_messageBox("CD3(10^6)의 양이 Zero여서 처리할 수 없습니다.", "E999", "");
  1842. return;
  1843. }
  1844. var scellvol = ds_send_reqdata.getColumn(0, "cellvol");
  1845. if (parseFloat(scellvol) > parseFloat(scd3kgqty))
  1846. {
  1847. sysf_messageBox("적용할 세포량이 CD3(10^6/kg)의 양보다 커서 처리할 수 없습니다.", "E999", "");
  1848. return;
  1849. }
  1850. var sper1 = parseFloat(scellvol) / parseFloat(scd3kgqty);
  1851. var sper = Math.round(sper1 * 10000) / 10000;
  1852. ds_main_cellresultinfo_abninfo.deleteRow(ds_main_cellresultinfo_abninfo.rowposition);
  1853. var irow = ds_main_cellresultinfo_abninfo.addRow();
  1854. var grow = ds_main_cellresultinfo_infsinfo.rowposition;
  1855. ds_main_cellresultinfo_infsinfo.setColumn(0, "cellvol", scellvol);
  1856. ds_main_cellresultinfo_abninfo.setColumn(irow, "abndd", utlf_getCurrentDate());
  1857. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellprcpdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellprcpdd"));
  1858. ds_main_cellresultinfo_abninfo.setColumn(irow, "scs", ds_main_cellresultinfo_infsinfo.getColumn(grow, "scs"));
  1859. ds_main_cellresultinfo_abninfo.setColumn(irow, "abnbagqty", "0");
  1860. ds_main_cellresultinfo_abninfo.setColumn(irow, "bdwt", ds_main_cellresultinfo_infsinfo.getColumn(grow, "bdwt"));
  1861. ds_main_cellresultinfo_abninfo.setColumn(irow, "prcpdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "prcpdd"));
  1862. ds_main_cellresultinfo_abninfo.setColumn(irow, "execprcpuniqno", ds_main_cellresultinfo_infsinfo.getColumn(grow, "execprcpuniqno"));
  1863. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellbcno", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellbcno"));
  1864. ds_main_cellresultinfo_abninfo.setColumn(irow, "abnresn", ds_send_reqdata.getColumn(0, "abnresn"));
  1865. ds_main_cellresultinfo_abninfo.setColumn(irow, "tankflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "tankflag"));
  1866. ds_main_cellresultinfo_abninfo.setColumn(irow, "sesnflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "sesnflag"));
  1867. ds_main_cellresultinfo_abninfo.setColumn(irow, "frameflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "frameflag"));
  1868. ds_main_cellresultinfo_abninfo.setColumn(irow, "keeppos", ds_main_cellresultinfo_infsinfo.getColumn(grow, "keeppos"));
  1869. ds_main_cellresultinfo_abninfo.setColumn(irow, "keepdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "keepdd"));
  1870. ds_main_cellresultinfo_abninfo.setColumn(irow, "prcphopedd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "prcphopedd"));
  1871. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellvolcheckyn", "Y");
  1872. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "tncqty");
  1873. if(utlf_isNull(sqty))
  1874. {
  1875. ds_main_cellresultinfo_abninfo.setColumn(irow, "tncqty", "");
  1876. }
  1877. else
  1878. {
  1879. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1880. ds_main_cellresultinfo_abninfo.setColumn(irow, "tncqty", parseFloat(sqty) - parseFloat(sqty1));
  1881. ds_main_cellresultinfo_infsinfo.setColumn(grow, "tncqty", sqty1);
  1882. }
  1883. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "tnckgqty");
  1884. if(utlf_isNull(sqty))
  1885. {
  1886. ds_main_cellresultinfo_abninfo.setColumn(irow, "tnckgqty", "");
  1887. }
  1888. else
  1889. {
  1890. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1891. ds_main_cellresultinfo_abninfo.setColumn(irow, "tnckgqty", parseFloat(sqty) - parseFloat(sqty1));
  1892. ds_main_cellresultinfo_infsinfo.setColumn(grow, "tnckgqty", sqty1);
  1893. }
  1894. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "mncqty");
  1895. if(utlf_isNull(sqty))
  1896. {
  1897. ds_main_cellresultinfo_abninfo.setColumn(irow, "mncqty", "");
  1898. }
  1899. else
  1900. {
  1901. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1902. ds_main_cellresultinfo_abninfo.setColumn(irow, "mncqty", parseFloat(sqty) - parseFloat(sqty1));
  1903. ds_main_cellresultinfo_infsinfo.setColumn(grow, "mncqty", sqty1);
  1904. }
  1905. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "mnckgqty");
  1906. if(utlf_isNull(sqty))
  1907. {
  1908. ds_main_cellresultinfo_abninfo.setColumn(irow, "mnckgqty", "");
  1909. }
  1910. else
  1911. {
  1912. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1913. ds_main_cellresultinfo_abninfo.setColumn(irow, "mnckgqty", parseFloat(sqty) - parseFloat(sqty1));
  1914. ds_main_cellresultinfo_infsinfo.setColumn(grow, "mnckgqty", sqty1);
  1915. }
  1916. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "lympoqty");
  1917. if(utlf_isNull(sqty))
  1918. {
  1919. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympoqty", "");
  1920. }
  1921. else
  1922. {
  1923. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1924. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympoqty", parseFloat(sqty) - parseFloat(sqty1));
  1925. ds_main_cellresultinfo_infsinfo.setColumn(grow, "lympoqty", sqty1);
  1926. }
  1927. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "lympokgqty");
  1928. if(utlf_isNull(sqty))
  1929. {
  1930. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympokgqty", "");
  1931. }
  1932. else
  1933. {
  1934. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1935. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympokgqty", parseFloat(sqty) - parseFloat(sqty1));
  1936. ds_main_cellresultinfo_infsinfo.setColumn(grow, "lympokgqty", sqty1);
  1937. }
  1938. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34per");
  1939. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34per", sqty);
  1940. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34qty");
  1941. if(utlf_isNull(sqty))
  1942. {
  1943. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34qty", "");
  1944. }
  1945. else
  1946. {
  1947. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1948. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34qty", parseFloat(sqty) - parseFloat(sqty1));
  1949. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd34qty", sqty1);
  1950. }
  1951. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34kgqty");
  1952. if(utlf_isNull(sqty))
  1953. {
  1954. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34kgqty", "");
  1955. }
  1956. else
  1957. {
  1958. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1959. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34kgqty", parseFloat(sqty) - parseFloat(sqty1));
  1960. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd34kgqty", sqty1);
  1961. }
  1962. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3per");
  1963. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3per", sqty);
  1964. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3qty");
  1965. if(utlf_isNull(sqty))
  1966. {
  1967. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3qty", "");
  1968. }
  1969. else
  1970. {
  1971. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1972. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3qty", parseFloat(sqty) - parseFloat(sqty1));
  1973. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd3qty", sqty1);
  1974. }
  1975. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3kgqty");
  1976. if(utlf_isNull(sqty))
  1977. {
  1978. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3kgqty", "");
  1979. }
  1980. else
  1981. {
  1982. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1983. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3kgqty", parseFloat(sqty) - parseFloat(sqty1));
  1984. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd3kgqty", sqty1);
  1985. }
  1986. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4per");
  1987. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4per", sqty);
  1988. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4qty");
  1989. if(utlf_isNull(sqty))
  1990. {
  1991. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4qty", "");
  1992. }
  1993. else
  1994. {
  1995. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  1996. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4qty", parseFloat(sqty) - parseFloat(sqty1));
  1997. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd4qty", sqty1);
  1998. }
  1999. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4kgqty");
  2000. if(utlf_isNull(sqty))
  2001. {
  2002. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4kgqty", "");
  2003. }
  2004. else
  2005. {
  2006. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2007. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2008. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd4kgqty", sqty1);
  2009. }
  2010. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8per");
  2011. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8per", sqty);
  2012. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8qty");
  2013. if(utlf_isNull(sqty))
  2014. {
  2015. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8qty", "");
  2016. }
  2017. else
  2018. {
  2019. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2020. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8qty", parseFloat(sqty) - parseFloat(sqty1));
  2021. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd8qty", sqty1);
  2022. }
  2023. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8kgqty");
  2024. if(utlf_isNull(sqty))
  2025. {
  2026. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8kgqty", "");
  2027. }
  2028. else
  2029. {
  2030. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2031. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2032. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd8kgqty", sqty1);
  2033. }
  2034. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19per");
  2035. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19per", sqty);
  2036. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19qty");
  2037. if(utlf_isNull(sqty))
  2038. {
  2039. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19qty", "");
  2040. }
  2041. else
  2042. {
  2043. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2044. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19qty", parseFloat(sqty) - parseFloat(sqty1));
  2045. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd19qty", sqty1);
  2046. }
  2047. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19kgqty");
  2048. if(utlf_isNull(sqty))
  2049. {
  2050. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19kgqty", "");
  2051. }
  2052. else
  2053. {
  2054. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2055. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2056. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd19kgqty", sqty1);
  2057. }
  2058. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkper");
  2059. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkper", sqty);
  2060. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkqty");
  2061. if(utlf_isNull(sqty))
  2062. {
  2063. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkqty", "");
  2064. }
  2065. else
  2066. {
  2067. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2068. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkqty", parseFloat(sqty) - parseFloat(sqty1));
  2069. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nkqty", sqty1);
  2070. }
  2071. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkkgqty");
  2072. if(utlf_isNull(sqty))
  2073. {
  2074. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkkgqty", "");
  2075. }
  2076. else
  2077. {
  2078. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2079. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkkgqty", parseFloat(sqty) - parseFloat(sqty1));
  2080. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nkkgqty", sqty1);
  2081. }
  2082. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktper");
  2083. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktper", sqty);
  2084. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktqty");
  2085. if(utlf_isNull(sqty))
  2086. {
  2087. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktqty", "");
  2088. }
  2089. else
  2090. {
  2091. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2092. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktqty", parseFloat(sqty) - parseFloat(sqty1));
  2093. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nktqty", sqty1);
  2094. }
  2095. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktkgqty");
  2096. if(utlf_isNull(sqty))
  2097. {
  2098. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktkgqty", "");
  2099. }
  2100. else
  2101. {
  2102. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2103. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktkgqty", parseFloat(sqty) - parseFloat(sqty1));
  2104. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nktkgqty", sqty1);
  2105. }
  2106. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nrbcqty");
  2107. if(utlf_isNull(sqty))
  2108. {
  2109. ds_main_cellresultinfo_abninfo.setColumn(irow, "nrbcqty", "");
  2110. }
  2111. else
  2112. {
  2113. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2114. ds_main_cellresultinfo_abninfo.setColumn(irow, "nrbcqty", parseFloat(sqty) - parseFloat(sqty1));
  2115. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nrbcqty", sqty1);
  2116. }
  2117. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "purityper");
  2118. ds_main_cellresultinfo_abninfo.setColumn(irow, "purityper", sqty);
  2119. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "yieldper");
  2120. ds_main_cellresultinfo_abninfo.setColumn(irow, "yieldper", sqty);
  2121. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "viabper");
  2122. ds_main_cellresultinfo_abninfo.setColumn(irow, "viabper", sqty);
  2123. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "tretvol");
  2124. if(utlf_isNull(sqty))
  2125. {
  2126. ds_main_cellresultinfo_abninfo.setColumn(irow, "tretvol", "");
  2127. }
  2128. else
  2129. {
  2130. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2131. ds_main_cellresultinfo_abninfo.setColumn(irow, "tretvol", parseFloat(sqty) - parseFloat(sqty1));
  2132. ds_main_cellresultinfo_infsinfo.setColumn(grow, "tretvol", sqty1);
  2133. }
  2134. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "infsvol");
  2135. if(utlf_isNull(sqty))
  2136. {
  2137. ds_main_cellresultinfo_abninfo.setColumn(irow, "infsvol", "");
  2138. }
  2139. else
  2140. {
  2141. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2142. ds_main_cellresultinfo_abninfo.setColumn(irow, "infsvol", parseFloat(sqty) - parseFloat(sqty1));
  2143. ds_main_cellresultinfo_infsinfo.setColumn(grow, "infsvol", sqty1);
  2144. }
  2145. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellhct");
  2146. if(utlf_isNull(sqty))
  2147. {
  2148. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellhct", "");
  2149. }
  2150. else
  2151. {
  2152. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2153. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellhct", parseFloat(sqty) - parseFloat(sqty1));
  2154. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cellhct", sqty1);
  2155. }
  2156. ds_main_cellresultinfo_abninfo.updatecontrol = false;
  2157. ds_main_cellresultinfo_abninfo.setRowType(irow, "i");
  2158. ds_main_cellresultinfo_abninfo.updatecontrol = true;
  2159. }
  2160. function button7_onclick(obj:Button, e:ClickEventInfo)
  2161. {
  2162. if (ds_main_cellresultinfo_infsinfo.rowposition < 0)
  2163. {
  2164. sysf_messageBox("세포주입 Result에서 적용할 행을 선택한 후 처리하시기 바랍니다.", "E999", "");
  2165. return;
  2166. }
  2167. if (ds_main_cellresultinfo_infsinfo.rowposition > -1)
  2168. {
  2169. scellbcno = ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "cellbcno");
  2170. var irow1 = ds_main_cellresultinfo_abninfo.findRow(1, scellbcno);
  2171. if (irow1 > -1)
  2172. {
  2173. sysf_messageBox("이미 선택된 자료입니다.", "E999", "");
  2174. return;
  2175. }
  2176. }
  2177. if (utlf_isNull(ds_send_reqdata.getColumn(0, "cell34vol")) || ds_send_reqdata.getColumn(0, "cell34vol")== "0")
  2178. {
  2179. sysf_messageBox("적용할 세포량을 입력한 후 처리하시기 바랍니다.", "E999", "");
  2180. return;
  2181. }
  2182. var scd34kgqty = ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "cd34kgqty");
  2183. if (utlf_isNull(scd34kgqty) || scd34kgqty == "0")
  2184. {
  2185. sysf_messageBox("CD34(10^6)의 양이 Zero여서 처리할 수 없습니다.", "E999", "");
  2186. return;
  2187. }
  2188. var scell34vol = ds_send_reqdata.getColumn(0, "cell34vol");
  2189. if (parseFloat(scell34vol) > parseFloat(scd34kgqty))
  2190. {
  2191. sysf_messageBox("적용할 세포량이 CD34(10^6/kg)의 양보다 커서 처리할 수 없습니다.", "E999", "");
  2192. return;
  2193. }
  2194. var sper1 = parseFloat(scell34vol) / parseFloat(scd34kgqty);
  2195. var sper = Math.round(sper1 * 10000) / 10000;
  2196. //ds_main_cellresultinfo_abninfo.deleteRow(ds_main_cellresultinfo_abninfo.rowcount-1);
  2197. var irow = ds_main_cellresultinfo_abninfo.addRow();
  2198. var grow = ds_main_cellresultinfo_infsinfo.rowposition;
  2199. ds_main_cellresultinfo_abninfo.setColumn(0, "cellvol", scell34vol);
  2200. ds_main_cellresultinfo_abninfo.setColumn(0, "abndd", utlf_getCurrentDate());
  2201. ds_main_cellresultinfo_abninfo.setColumn(0, "cellprcpdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellprcpdd"));
  2202. ds_main_cellresultinfo_abninfo.setColumn(0, "scs", ds_main_cellresultinfo_infsinfo.getColumn(grow, "scs"));
  2203. ds_main_cellresultinfo_abninfo.setColumn(0, "abnbagqty", "0");
  2204. ds_main_cellresultinfo_abninfo.setColumn(0, "bdwt", ds_main_cellresultinfo_infsinfo.getColumn(grow, "bdwt"));
  2205. ds_main_cellresultinfo_abninfo.setColumn(0, "prcpdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "prcpdd"));
  2206. ds_main_cellresultinfo_abninfo.setColumn(0, "execprcpuniqno", ds_main_cellresultinfo_infsinfo.getColumn(grow, "execprcpuniqno"));
  2207. ds_main_cellresultinfo_abninfo.setColumn(0, "cellbcno", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellbcno"));
  2208. ds_main_cellresultinfo_abninfo.setColumn(0, "abnresn", ds_send_reqdata.getColumn(0, "abnresn"));
  2209. ds_main_cellresultinfo_abninfo.setColumn(0, "tankflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "tankflag"));
  2210. ds_main_cellresultinfo_abninfo.setColumn(0, "sesnflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "sesnflag"));
  2211. ds_main_cellresultinfo_abninfo.setColumn(0, "frameflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "frameflag"));
  2212. ds_main_cellresultinfo_abninfo.setColumn(0, "keeppos", ds_main_cellresultinfo_infsinfo.getColumn(grow, "keeppos"));
  2213. ds_main_cellresultinfo_abninfo.setColumn(0, "keepdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "keepdd"));
  2214. ds_main_cellresultinfo_abninfo.setColumn(0, "prcphopedd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "prcphopedd"));
  2215. ds_main_cellresultinfo_abninfo.setColumn(0, "cellvolcheckyn", "Y");
  2216. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "tncqty");
  2217. if(utlf_isNull(sqty))
  2218. {
  2219. ds_main_cellresultinfo_abninfo.setColumn(irow, "tncqty", "");
  2220. }
  2221. else
  2222. {
  2223. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2224. ds_main_cellresultinfo_abninfo.setColumn(irow, "tncqty", parseFloat(sqty) - parseFloat(sqty1));
  2225. ds_main_cellresultinfo_infsinfo.setColumn(grow, "tncqty", sqty1);
  2226. }
  2227. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "tnckgqty");
  2228. if(utlf_isNull(sqty))
  2229. {
  2230. ds_main_cellresultinfo_abninfo.setColumn(irow, "tnckgqty", "");
  2231. }
  2232. else
  2233. {
  2234. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2235. ds_main_cellresultinfo_abninfo.setColumn(irow, "tnckgqty", parseFloat(sqty) - parseFloat(sqty1));
  2236. ds_main_cellresultinfo_infsinfo.setColumn(grow, "tnckgqty", sqty1);
  2237. }
  2238. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "mncqty");
  2239. if(utlf_isNull(sqty))
  2240. {
  2241. ds_main_cellresultinfo_abninfo.setColumn(irow, "mncqty", "");
  2242. }
  2243. else
  2244. {
  2245. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2246. ds_main_cellresultinfo_abninfo.setColumn(irow, "mncqty", parseFloat(sqty) - parseFloat(sqty1));
  2247. ds_main_cellresultinfo_infsinfo.setColumn(grow, "mncqty", sqty1);
  2248. }
  2249. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "mnckgqty");
  2250. if(utlf_isNull(sqty))
  2251. {
  2252. ds_main_cellresultinfo_abninfo.setColumn(irow, "mnckgqty", "");
  2253. }
  2254. else
  2255. {
  2256. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2257. ds_main_cellresultinfo_abninfo.setColumn(irow, "mnckgqty", parseFloat(sqty) - parseFloat(sqty1));
  2258. ds_main_cellresultinfo_infsinfo.setColumn(grow, "mnckgqty", sqty1);
  2259. }
  2260. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "lympoqty");
  2261. if(utlf_isNull(sqty))
  2262. {
  2263. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympoqty", "");
  2264. }
  2265. else
  2266. {
  2267. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2268. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympoqty", parseFloat(sqty) - parseFloat(sqty1));
  2269. ds_main_cellresultinfo_infsinfo.setColumn(grow, "lympoqty", sqty1);
  2270. }
  2271. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "lympokgqty");
  2272. if(utlf_isNull(sqty))
  2273. {
  2274. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympokgqty", "");
  2275. }
  2276. else
  2277. {
  2278. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2279. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympokgqty", parseFloat(sqty) - parseFloat(sqty1));
  2280. ds_main_cellresultinfo_infsinfo.setColumn(grow, "lympokgqty", sqty1);
  2281. }
  2282. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34per");
  2283. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34per", sqty);
  2284. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34qty");
  2285. if(utlf_isNull(sqty))
  2286. {
  2287. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34qty", "");
  2288. }
  2289. else
  2290. {
  2291. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2292. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34qty", parseFloat(sqty) - parseFloat(sqty1));
  2293. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd34qty", sqty1);
  2294. }
  2295. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34kgqty");
  2296. if(utlf_isNull(sqty))
  2297. {
  2298. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34kgqty", "");
  2299. }
  2300. else
  2301. {
  2302. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2303. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2304. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd34kgqty", sqty1);
  2305. }
  2306. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3per");
  2307. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3per", sqty);
  2308. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3qty");
  2309. if(utlf_isNull(sqty))
  2310. {
  2311. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3qty", "");
  2312. }
  2313. else
  2314. {
  2315. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2316. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3qty", parseFloat(sqty) - parseFloat(sqty1));
  2317. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd3qty", sqty1);
  2318. }
  2319. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3kgqty");
  2320. if(utlf_isNull(sqty))
  2321. {
  2322. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3kgqty", "");
  2323. }
  2324. else
  2325. {
  2326. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2327. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2328. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd3kgqty", sqty1);
  2329. }
  2330. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4per");
  2331. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4per", sqty);
  2332. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4qty");
  2333. if(utlf_isNull(sqty))
  2334. {
  2335. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4qty", "");
  2336. }
  2337. else
  2338. {
  2339. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2340. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4qty", parseFloat(sqty) - parseFloat(sqty1));
  2341. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd4qty", sqty1);
  2342. }
  2343. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4kgqty");
  2344. if(utlf_isNull(sqty))
  2345. {
  2346. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4kgqty", "");
  2347. }
  2348. else
  2349. {
  2350. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2351. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2352. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd4kgqty", sqty1);
  2353. }
  2354. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8per");
  2355. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8per", sqty);
  2356. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8qty");
  2357. if(utlf_isNull(sqty))
  2358. {
  2359. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8qty", "");
  2360. }
  2361. else
  2362. {
  2363. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2364. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8qty", parseFloat(sqty) - parseFloat(sqty1));
  2365. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd8qty", sqty1);
  2366. }
  2367. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8kgqty");
  2368. if(utlf_isNull(sqty))
  2369. {
  2370. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8kgqty", "");
  2371. }
  2372. else
  2373. {
  2374. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2375. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2376. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd8kgqty", sqty1);
  2377. }
  2378. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19per");
  2379. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19per", sqty);
  2380. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19qty");
  2381. if(utlf_isNull(sqty))
  2382. {
  2383. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19qty", "");
  2384. }
  2385. else
  2386. {
  2387. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2388. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19qty", parseFloat(sqty) - parseFloat(sqty1));
  2389. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd19qty", sqty1);
  2390. }
  2391. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19kgqty");
  2392. if(utlf_isNull(sqty))
  2393. {
  2394. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19kgqty", "");
  2395. }
  2396. else
  2397. {
  2398. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2399. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19kgqty", parseFloat(sqty) - parseFloat(sqty1));
  2400. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cd19kgqty", sqty1);
  2401. }
  2402. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkper");
  2403. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkper", sqty);
  2404. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkqty");
  2405. if(utlf_isNull(sqty))
  2406. {
  2407. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkqty", "");
  2408. }
  2409. else
  2410. {
  2411. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2412. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkqty", parseFloat(sqty) - parseFloat(sqty1));
  2413. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nkqty", sqty1);
  2414. }
  2415. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkkgqty");
  2416. if(utlf_isNull(sqty))
  2417. {
  2418. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkkgqty", "");
  2419. }
  2420. else
  2421. {
  2422. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2423. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkkgqty", parseFloat(sqty) - parseFloat(sqty1));
  2424. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nkkgqty", sqty1);
  2425. }
  2426. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktper");
  2427. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktper", sqty);
  2428. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktqty");
  2429. if(utlf_isNull(sqty))
  2430. {
  2431. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktqty", "");
  2432. }
  2433. else
  2434. {
  2435. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2436. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktqty", parseFloat(sqty) - parseFloat(sqty1));
  2437. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nktqty", sqty1);
  2438. }
  2439. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktkgqty");
  2440. if(utlf_isNull(sqty))
  2441. {
  2442. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktkgqty", "");
  2443. }
  2444. else
  2445. {
  2446. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2447. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktkgqty", parseFloat(sqty) - parseFloat(sqty1));
  2448. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nktkgqty", sqty1);
  2449. }
  2450. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "nrbcqty");
  2451. if(utlf_isNull(sqty))
  2452. {
  2453. ds_main_cellresultinfo_abninfo.setColumn(irow, "nrbcqty", "");
  2454. }
  2455. else
  2456. {
  2457. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2458. ds_main_cellresultinfo_abninfo.setColumn(irow, "nrbcqty", parseFloat(sqty) - parseFloat(sqty1));
  2459. ds_main_cellresultinfo_infsinfo.setColumn(grow, "nrbcqty", sqty1);
  2460. }
  2461. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "purityper");
  2462. ds_main_cellresultinfo_abninfo.setColumn(irow, "purityper", sqty);
  2463. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "yieldper");
  2464. ds_main_cellresultinfo_abninfo.setColumn(irow, "yieldper", sqty);
  2465. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "viabper");
  2466. ds_main_cellresultinfo_abninfo.setColumn(irow, "viabper", sqty);
  2467. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "tretvol");
  2468. if(utlf_isNull(sqty))
  2469. {
  2470. ds_main_cellresultinfo_abninfo.setColumn(irow, "tretvol", "");
  2471. }
  2472. else
  2473. {
  2474. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2475. ds_main_cellresultinfo_abninfo.setColumn(irow, "tretvol", parseFloat(sqty) - parseFloat(sqty1));
  2476. ds_main_cellresultinfo_infsinfo.setColumn(grow, "tretvol", sqty1);
  2477. }
  2478. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "infsvol");
  2479. if(utlf_isNull(sqty))
  2480. {
  2481. ds_main_cellresultinfo_abninfo.setColumn(irow, "infsvol", "");
  2482. }
  2483. else
  2484. {
  2485. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2486. ds_main_cellresultinfo_abninfo.setColumn(irow, "infsvol", parseFloat(sqty) - parseFloat(sqty1));
  2487. ds_main_cellresultinfo_infsinfo.setColumn(grow, "infsvol", sqty1);
  2488. }
  2489. var sqty = ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellhct");
  2490. if(utlf_isNull(sqty))
  2491. {
  2492. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellhct", "");
  2493. }
  2494. else
  2495. {
  2496. var sqty1 = Math.round((sqty * sper) * 10000) / 10000;
  2497. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellhct", parseFloat(sqty) - parseFloat(sqty1));
  2498. ds_main_cellresultinfo_infsinfo.setColumn(grow, "cellhct", sqty1);
  2499. }
  2500. ds_main_cellresultinfo_abninfo.updatecontrol = false;
  2501. ds_main_cellresultinfo_abninfo.setRowType(irow, "i");
  2502. ds_main_cellresultinfo_abninfo.updatecontrol = true;
  2503. }
  2504. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  2505. {
  2506. if (ds_main_cellresultinfo_infsinfo.rowposition < 0)
  2507. {
  2508. sysf_messageBox("세포주입 Result에서 삭제할 행을 선택한 후 처리하시기 바랍니다.", "E999", "");
  2509. return;
  2510. }
  2511. if(ds_main_cellresultinfo_abninfo.findRow(1, ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "cellbcno")) > 0)
  2512. {
  2513. sysf_messageBox("DLI폐기된 셀 입니다. 폐기Result를 먼저 삭제하여 주세요.", "E999", "");
  2514. return;
  2515. }
  2516. if(!utlf_isNull(ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "keepflag")))
  2517. {
  2518. if( sysf_messageBox("탱크 보관내역을 자동으로 복원할 수 없습니다. 수동으로 복원 하셔야 됩니다." , "Q003" ) != 6 )
  2519. {
  2520. return;
  2521. }
  2522. }
  2523. ds_send_baseinfo.setColumn(0, "cellbcno", ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "cellbcno"));
  2524. ds_main_cellresultinfo_infsinfo.deleteRow(ds_main_cellresultinfo_infsinfo.rowposition);
  2525. fExecSave();
  2526. }
  2527. function grd_infs_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2528. {
  2529. if((e.col != obj.getBindCellIndex("Body", "bdwt")) && (e.col != obj.getBindCellIndex("Body", "viabper")))
  2530. {
  2531. if (utlf_isNull(ds_send_reqdata.getColumn(0, "abnresn")))
  2532. {
  2533. sysf_messageBox("폐기사유를 선택한 후 처리하시기 바랍니다.", "E999", "");
  2534. return;
  2535. }
  2536. if(e.row > -1)
  2537. {
  2538. scellbcno = ds_main_cellresultinfo_infsinfo.getColumn(ds_main_cellresultinfo_infsinfo.rowposition, "cellbcno");
  2539. var irow1 = ds_main_cellresultinfo_abninfo.findRow(1,scellbcno);
  2540. if (irow1 > -1)
  2541. {
  2542. sysf_messageBox("이미 선택된 자료입니다.", "E999", "");
  2543. return;
  2544. }
  2545. grow = e.row;
  2546. infstoabn(grow);
  2547. ds_main_cellresultinfo_infsinfo.deleteRow(ds_main_cellresultinfo_infsinfo.rowposition);
  2548. //ds_main_cellresultinfo_infsinfo.deleteRow(ds_main_cellresultinfo_infsinfo.rowcount-1);
  2549. }
  2550. }
  2551. }
  2552. function infstoabn(grow)
  2553. {
  2554. ds_main_cellresultinfo_abninfo.deleteRow(ds_main_cellresultinfo_abninfo.rowcount-1);// grd_abn.deleteRow(grd_abn.rows-1);
  2555. var irow = ds_main_cellresultinfo_abninfo.addRow();
  2556. ds_main_cellresultinfo_abninfo.setColumn(irow, "abndd", utlf_getCurrentDate());
  2557. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellprcpdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellprcpdd"));
  2558. ds_main_cellresultinfo_abninfo.setColumn(irow, "scs", ds_main_cellresultinfo_infsinfo.getColumn(grow, "scs"));
  2559. ds_main_cellresultinfo_abninfo.setColumn(irow, "abnbagqty", "1");
  2560. ds_main_cellresultinfo_abninfo.setColumn(irow, "bdwt", ds_main_cellresultinfo_infsinfo.getColumn(grow, "bdwt"));
  2561. ds_main_cellresultinfo_abninfo.setColumn(irow, "tncqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "tncqty"));
  2562. ds_main_cellresultinfo_abninfo.setColumn(irow, "tnckgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "tnckgqty"));
  2563. ds_main_cellresultinfo_abninfo.setColumn(irow, "mncqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "mncqty"));
  2564. ds_main_cellresultinfo_abninfo.setColumn(irow, "mnckgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "mnckgqty"));
  2565. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympoqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "lympoqty"));
  2566. ds_main_cellresultinfo_abninfo.setColumn(irow, "lympokgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "lympokgqty"));
  2567. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34per", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34per"));
  2568. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34qty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34qty"));
  2569. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd34kgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd34kgqty"));
  2570. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3per", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3per"));
  2571. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3qty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3qty"));
  2572. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd3kgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd3kgqty"));
  2573. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4per", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4per"));
  2574. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4qty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4qty"));
  2575. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd4kgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd4kgqty"));
  2576. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8per", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8per"));
  2577. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8qty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8qty"));
  2578. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd8kgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd8kgqty"));
  2579. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19per", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19per"));
  2580. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19qty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19qty"));
  2581. ds_main_cellresultinfo_abninfo.setColumn(irow, "cd19kgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cd19kgqty"));
  2582. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkper", ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkper"));
  2583. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkqty"));
  2584. ds_main_cellresultinfo_abninfo.setColumn(irow, "nkkgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "nkkgqty"));
  2585. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktper", ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktper"));
  2586. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktqty"));
  2587. ds_main_cellresultinfo_abninfo.setColumn(irow, "nktkgqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "nktkgqty"));
  2588. ds_main_cellresultinfo_abninfo.setColumn(irow, "nrbcqty", ds_main_cellresultinfo_infsinfo.getColumn(grow, "nrbcqty"));
  2589. ds_main_cellresultinfo_abninfo.setColumn(irow, "purityper", ds_main_cellresultinfo_infsinfo.getColumn(grow, "purityper"));
  2590. ds_main_cellresultinfo_abninfo.setColumn(irow, "yieldper", ds_main_cellresultinfo_infsinfo.getColumn(grow, "yieldper"));
  2591. ds_main_cellresultinfo_abninfo.setColumn(irow, "viabper", ds_main_cellresultinfo_infsinfo.getColumn(grow, "viabper"));
  2592. ds_main_cellresultinfo_abninfo.setColumn(irow, "prcpdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "prcpdd"));
  2593. ds_main_cellresultinfo_abninfo.setColumn(irow, "execprcpuniqno", ds_main_cellresultinfo_infsinfo.getColumn(grow, "execprcpuniqno"));
  2594. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellbcno", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellbcno"));
  2595. ds_main_cellresultinfo_abninfo.setColumn(irow, "abnresn", ds_send_reqdata.getColumn(grow, "abnresn"));
  2596. ds_main_cellresultinfo_abninfo.setColumn(irow, "tretvol", ds_main_cellresultinfo_infsinfo.getColumn(grow, "tretvol"));
  2597. ds_main_cellresultinfo_abninfo.setColumn(irow, "infsvol", ds_main_cellresultinfo_infsinfo.getColumn(grow, "infsvol"));
  2598. ds_main_cellresultinfo_abninfo.setColumn(irow, "cellhct", ds_main_cellresultinfo_infsinfo.getColumn(grow, "cellhct"));
  2599. ds_main_cellresultinfo_abninfo.setColumn(irow, "tankflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "tankflag"));
  2600. ds_main_cellresultinfo_abninfo.setColumn(irow, "sesnflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "sesnflag"));
  2601. ds_main_cellresultinfo_abninfo.setColumn(irow, "frameflag", ds_main_cellresultinfo_infsinfo.getColumn(grow, "frameflag"));
  2602. ds_main_cellresultinfo_abninfo.setColumn(irow, "keeppos", ds_main_cellresultinfo_infsinfo.getColumn(grow, "keeppos"));
  2603. ds_main_cellresultinfo_abninfo.setColumn(irow, "keepdd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "keepdd"));
  2604. ds_main_cellresultinfo_abninfo.setColumn(irow, "prcphopedd", ds_main_cellresultinfo_infsinfo.getColumn(grow, "prcphopedd"));
  2605. ds_main_cellresultinfo_abninfo.setColumn(irow, "addseqno", ds_main_cellresultinfo_infsinfo.getColumn(grow, "addseqno"));
  2606. ds_main_cellresultinfo_abninfo.setColumn(irow, "pid", ds_send_baseinfo.getColumn(0, "pid"));
  2607. ds_main_cellresultinfo_abninfo.updatecontrol = false
  2608. ds_main_cellresultinfo_abninfo.setRowType(irow, "i");
  2609. ds_main_cellresultinfo_abninfo.updatecontrol = true;
  2610. btn_del.enable = true;
  2611. }
  2612. function ds_main_cellresultinfo_infsinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2613. {
  2614. if (e.columnid == "bdwt")
  2615. {
  2616. var vbdwt = obj.getColumn(e.row, "bdwt");
  2617. if (utlf_isNull(vbdwt) || vbdwt == "0" )
  2618. {
  2619. return;
  2620. }
  2621. var vtncqty = obj.getColumn(e.row, "tncqty");
  2622. var vmncqty = obj.getColumn(e.row, "mncqty");
  2623. var vcd34per = obj.getColumn(e.row, "cd34per");
  2624. var vnkper = obj.getColumn(e.row, "nkper");
  2625. var vnktper = obj.getColumn(e.row, "nktper");
  2626. if(utlf_isNull(obj.getColumn(e.row, "tncqty")))
  2627. {
  2628. obj.setColumn(e.row, "tnckgqty", "");
  2629. }
  2630. else
  2631. {
  2632. var vtnckgqty = parseFloat(obj.getColumn(e.row, "tncqty")) / vbdwt;
  2633. obj.setColumn(e.row, "tnckgqty", (Math.round(vtnckgqty * 10000) / 10000));
  2634. }
  2635. if(utlf_isNull(obj.getColumn(e.row, "mncqty")))
  2636. {
  2637. obj.setColumn(e.row, "mnckgqty", "");
  2638. }
  2639. else
  2640. {
  2641. var vmnckgqty = parseFloat(obj.getColumn(e.row, "mncqty")) / vbdwt;
  2642. obj.setColumn(e.row, "mnckgqty", (Math.round(vmnckgqty * 10000) / 10000));
  2643. }
  2644. if(utlf_isNull(obj.getColumn(e.row, "mncqty")) || utlf_isNull(obj.getColumn(e.row, "cd34per")))
  2645. {
  2646. obj.setColumn(e.row, "cd34qty", "");
  2647. obj.setColumn(e.row, "cd34kgqty", "");
  2648. }
  2649. else
  2650. {
  2651. var vcd34qty = parseFloat(obj.getColumn(e.row, "mncqty")) * parseFloat(obj.getColumn(e.row, "cd34per"));
  2652. var vcd34kgqty = vcd34qty / vbdwt;
  2653. obj.setColumn(e.row, "cd34qty", (Math.round(vcd34qty * 10000) / 10000));
  2654. obj.setColumn(e.row, "cd34kgqty", (Math.round(vcd34kgqty * 10000) / 10000));
  2655. }
  2656. var dLympoQty = obj.getColumn(e.row, "lympoqty");
  2657. if(utlf_isNull(dLympoQty) || parseFloat(dLympoQty) == 0)
  2658. {
  2659. obj.setColumn(e.row, "lympokgqty", dLympoQty);
  2660. }
  2661. else
  2662. {
  2663. var dLympoKgQty = parseFloat(dLympoQty) / parseFloat(vbdwt);
  2664. obj.setColumn(e.row, "lympokgqty", (Math.round(dLympoKgQty * 10000) / 10000));
  2665. }
  2666. var dCd3Qty = obj.getColumn(e.row, "cd3qty");
  2667. if (utlf_isNull(dCd3Qty)|| parseFloat(dCd3Qty) == 0)
  2668. {
  2669. obj.setColumn(e.row, "cd3kgqty", dCd3Qty);
  2670. }
  2671. else
  2672. {
  2673. var dCd3KgQty = parseFloat(dCd3Qty) / parseFloat(vbdwt);
  2674. obj.setColumn(e.row, "cd3kgqty", (Math.round(dCd3KgQty * 10000) / 10000));
  2675. }
  2676. var dcd4Qty = obj.getColumn(e.row, "cd4qty");
  2677. if (utlf_isNull(dcd4Qty) || parseFloat(dcd4Qty) == 0)
  2678. {
  2679. obj.setColumn(e.row, "cd4kgqty", dcd4Qty);
  2680. }
  2681. else
  2682. {
  2683. var dcd4KgQty = parseFloat(dcd4Qty) / parseFloat(vbdwt);
  2684. obj.setColumn(e.row, "cd4kgqty", (Math.round(dcd4KgQty * 10000) / 10000));
  2685. }
  2686. var dcd8Qty = obj.getColumn(e.row, "cd8qty");
  2687. if (utlf_isNull(dcd8Qty) || parseFloat(dcd8Qty) == 0)
  2688. {
  2689. obj.setColumn(e.row, "cd8kgqty", dcd8Qty);
  2690. }
  2691. else
  2692. {
  2693. var dcd8KgQty = parseFloat(dcd8Qty) / parseFloat(vbdwt);
  2694. obj.setColumn(e.row, "cd8kgqty", (Math.round(dcd8KgQty * 10000) / 10000));
  2695. }
  2696. var dcd19Qty = obj.getColumn(e.row, "cd19qty");
  2697. if (utlf_isNull(dcd19Qty) || parseFloat(dcd19Qty) == 0)
  2698. {
  2699. obj.setColumn(e.row, "cd19kgqty", dcd19Qty);
  2700. }
  2701. else
  2702. {
  2703. var dcd19KgQty = parseFloat(dcd19Qty) / parseFloat(vbdwt);
  2704. obj.setColumn(e.row, "cd19kgqty", (Math.round(dcd19KgQty * 10000) / 10000));
  2705. }
  2706. var dnkQty = obj.getColumn(e.row, "nkqty");
  2707. if (utlf_isNull(dnkQty) || parseFloat(dnkQty) == 0)
  2708. {
  2709. obj.setColumn(e.row, "nkkgqty", dnkQty);
  2710. }
  2711. else
  2712. {
  2713. var dnkKgQty = parseFloat(dnkQty) / parseFloat(vbdwt);
  2714. obj.setColumn(e.row, "nkkgqty", (Math.round(dnkKgQty * 10000) / 10000));
  2715. }
  2716. var dnktQty = obj.getColumn(e.row, "nktqty");
  2717. if (utlf_isNull(dnktQty) || parseFloat(dnktQty) == 0)
  2718. {
  2719. obj.setColumn(e.row, "nktkgqty", dnktQty);
  2720. }
  2721. else
  2722. {
  2723. var dnktKgQty = parseFloat(dnktQty) / parseFloat(vbdwt);
  2724. obj.setColumn(e.row, "nktkgqty", (Math.round(dnktKgQty * 10000) / 10000));
  2725. }
  2726. }
  2727. }
  2728. function input5_onkeyup(obj:Edit, e:KeyEventInfo)
  2729. {
  2730. if(e.keycode == 13)
  2731. {
  2732. cabnfunc();
  2733. }
  2734. }
  2735. function cabnfunc()
  2736. {
  2737. scellbcno = ds_send_reqdata.getColumn(0, "cellbcno2");
  2738. if (utlf_isNull(scellbcno))
  2739. {
  2740. return;
  2741. }
  2742. if(utlf_isNull(ds_send_reqdata.getColumn(0, "abnresn")))
  2743. {
  2744. sysf_messageBox("폐기사유를 선택한 후 처리하시기 바랍니다.", "E999", "");
  2745. return;
  2746. }
  2747. var irow1 = ds_main_cellresultinfo_abninfo.findRow(1, scellbcno);
  2748. var irow2 = ds_main_cellresultinfo_infsinfo.findRow(1, scellbcno);
  2749. if (irow1 > -1 || irow2 > -1)
  2750. {
  2751. sysf_messageBox("이미 선택된 자료입니다.", "E999", "");
  2752. return;
  2753. }
  2754. else
  2755. {
  2756. var irow3 = ds_main_cellresultinfo_detailinfo.findRow(1, scellbcno);
  2757. if (irow3 > -1)
  2758. {
  2759. infstoabn2(irow3);
  2760. var irow4 = ds_main_cellresultinfo_restinfo.findRow(1,scellbcno);
  2761. if (irow4 > -1)
  2762. {
  2763. ds_main_cellresultinfo_restinfo.deleteRow(irow4);
  2764. }
  2765. }
  2766. else
  2767. {
  2768. sysf_messageBox("해당 바코드가 존재하지 않습니다.", "E999", "");
  2769. return;
  2770. }
  2771. }
  2772. ds_send_reqdata.setColumn(0, "cellbcno2", "");
  2773. }
  2774. function button3_onclick(obj:Button, e:ClickEventInfo)
  2775. {
  2776. cabnfunc();
  2777. }
  2778. function button4_onclick(obj:Button, e:ClickEventInfo)
  2779. {
  2780. fOpenCellAllAbn();
  2781. }
  2782. function fOpenCellAllAbn()
  2783. {
  2784. frmf_modal("SMABC00700", "SMABC00700", "", "", "", "", "", "", "", "", "", "", "M");
  2785. }
  2786. function btn_del2_onclick(obj:Button, e:ClickEventInfo)
  2787. {
  2788. if (ds_main_cellresultinfo_abninfo.rowposition < 0)
  2789. {
  2790. sysf_messageBox("세포폐기 Result에서 삭제할 행을 선택한 후 처리하시기 바랍니다.", "E999", "");
  2791. return;
  2792. }
  2793. if(!utlf_isNull(ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "keepflag")))
  2794. {
  2795. if( sysf_messageBox("탱크 보관내역을 자동으로 복원할 수 없습니다. 수동으로 복원 하셔야 됩니다." , "Q003" ) != 6 )
  2796. {
  2797. return;
  2798. }
  2799. }
  2800. var sbagqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "abnbagqty");
  2801. var sbacno = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cellbcno");
  2802. if (sbagqty == "0")
  2803. {
  2804. var irow = ds_main_cellresultinfo_infsinfo.findRow(1,sbacno);
  2805. if (irow > -1)
  2806. {
  2807. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "tncqty");
  2808. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "tncqty");
  2809. if(!utlf_isNull(sqty))
  2810. {
  2811. ds_main_cellresultinfo_infsinfo.setColumn(irow, "tncqty", parseFloat(sqty) + parseFloat(sqty1));
  2812. }
  2813. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "tnckgqty");
  2814. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "tnckgqty");
  2815. if(!utlf_isNull(sqty))
  2816. {
  2817. ds_main_cellresultinfo_infsinfo.setColumn(irow, "tnckgqty", parseFloat(sqty) + parseFloat(sqty1));
  2818. }
  2819. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "mncqty");
  2820. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "mncqty");
  2821. if(!utlf_isNull(sqty))
  2822. {
  2823. ds_main_cellresultinfo_infsinfo.setColumn(irow, "mncqty", parseFloat(sqty) + parseFloat(sqty1));
  2824. }
  2825. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "mnckgqty");
  2826. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "mnckgqty");
  2827. if(!utlf_isNull(sqty))
  2828. {
  2829. ds_main_cellresultinfo_infsinfo.setColumn(irow, "mnckgqty", parseFloat(sqty) + parseFloat(sqty1));
  2830. }
  2831. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "lympoqty");
  2832. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "lympoqty");
  2833. if(!utlf_isNull(sqty))
  2834. {
  2835. ds_main_cellresultinfo_infsinfo.setColumn(irow, "lympoqty", parseFloat(sqty) + parseFloat(sqty1));
  2836. }
  2837. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "lympokgqty");
  2838. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "lympokgqty");
  2839. if(!utlf_isNull(sqty))
  2840. {
  2841. ds_main_cellresultinfo_infsinfo.setColumn(irow, "lympokgqty", parseFloat(sqty) + parseFloat(sqty1));
  2842. }
  2843. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd34per");
  2844. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd34per", sqty);
  2845. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd34qty");
  2846. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd34qty");
  2847. if(!utlf_isNull(sqty))
  2848. {
  2849. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd34qty", parseFloat(sqty) + parseFloat(sqty1));
  2850. }
  2851. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd34kgqty");
  2852. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd34kgqty");
  2853. if(!utlf_isNull(sqty))
  2854. {
  2855. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd34kgqty", parseFloat(sqty) + parseFloat(sqty1));
  2856. }
  2857. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd3per");
  2858. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd3per", sqty);
  2859. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd3qty");
  2860. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd3qty");
  2861. if(!utlf_isNull(sqty))
  2862. {
  2863. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd3qty", parseFloat(sqty) + parseFloat(sqty1));
  2864. }
  2865. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd3kgqty");
  2866. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd3kgqty");
  2867. if(!utlf_isNull(sqty))
  2868. {
  2869. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd3kgqty", parseFloat(sqty) + parseFloat(sqty1));
  2870. }
  2871. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd4per");
  2872. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd4per", sqty);
  2873. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd4qty");
  2874. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd4qty");
  2875. if(!utlf_isNull(sqty))
  2876. {
  2877. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd4qty", parseFloat(sqty) + parseFloat(sqty1));
  2878. }
  2879. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd4kgqty");
  2880. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd4kgqty");
  2881. if(!utlf_isNull(sqty))
  2882. {
  2883. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd4kgqty", parseFloat(sqty) + parseFloat(sqty1));
  2884. }
  2885. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd8per");
  2886. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd8per", sqty);
  2887. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd8qty");
  2888. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd8qty");
  2889. if(!utlf_isNull(sqty))
  2890. {
  2891. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd8qty", parseFloat(sqty) + parseFloat(sqty1));
  2892. }
  2893. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd8kgqty");
  2894. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd8kgqty");
  2895. if(!utlf_isNull(sqty))
  2896. {
  2897. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd8kgqty", parseFloat(sqty) + parseFloat(sqty1));
  2898. }
  2899. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd19per");
  2900. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd19per", sqty);
  2901. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd19qty");
  2902. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd19qty");
  2903. if(!utlf_isNull(sqty))
  2904. {
  2905. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd19qty", parseFloat(sqty) + parseFloat(sqty1));
  2906. }
  2907. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cd19kgqty");
  2908. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cd19kgqty");
  2909. if(!utlf_isNull(sqty))
  2910. {
  2911. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cd19kgqty", parseFloat(sqty) + parseFloat(sqty1));
  2912. }
  2913. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "nkper");
  2914. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nkper", sqty);
  2915. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "nkqty");
  2916. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "nkqty");
  2917. if(!utlf_isNull(sqty))
  2918. {
  2919. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nkqty", parseFloat(sqty) + parseFloat(sqty1));
  2920. }
  2921. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "nkkgqty");
  2922. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "nkkgqty");
  2923. if(!utlf_isNull(sqty))
  2924. {
  2925. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nkkgqty", parseFloat(sqty) + parseFloat(sqty1));
  2926. }
  2927. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "nktper");
  2928. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nktper", sqty);
  2929. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "nktqty");
  2930. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "nktqty");
  2931. if(!utlf_isNull(sqty))
  2932. {
  2933. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nktqty", parseFloat(sqty) + parseFloat(sqty1));
  2934. }
  2935. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "nktkgqty");
  2936. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "nktkgqty");
  2937. if(!utlf_isNull(sqty))
  2938. {
  2939. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nktkgqty", parseFloat(sqty) + parseFloat(sqty1));
  2940. }
  2941. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "nrbcqty");
  2942. ds_main_cellresultinfo_infsinfo.setColumn(irow, "nrbcqty", sqty);
  2943. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "purityper");
  2944. ds_main_cellresultinfo_infsinfo.setColumn(irow, "purityper", sqty);
  2945. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "yieldper");
  2946. ds_main_cellresultinfo_infsinfo.setColumn(irow, "yieldper", sqty);
  2947. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "viabper");
  2948. ds_main_cellresultinfo_infsinfo.setColumn(irow, "viabper", sqty);
  2949. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "tretvol");
  2950. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "tretvol");
  2951. if(!utlf_isNull(sqty))
  2952. {
  2953. ds_main_cellresultinfo_infsinfo.setColumn(irow, "tretvol", parseFloat(sqty) + parseFloat(sqty1));
  2954. }
  2955. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "infsvol");
  2956. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "infsvol");
  2957. if(!utlf_isNull(sqty))
  2958. {
  2959. ds_main_cellresultinfo_infsinfo.setColumn(irow, "infsvol", parseFloat(sqty) + parseFloat(sqty1));
  2960. }
  2961. var sqty = ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cellhct");
  2962. var sqty1 = ds_main_cellresultinfo_infsinfo.getColumn(irow, "cellhct");
  2963. if(!utlf_isNull(sqty))
  2964. {
  2965. ds_main_cellresultinfo_infsinfo.setColumn(irow, "cellhct", parseFloat(sqty) + parseFloat(sqty1));
  2966. }
  2967. ds_main_cellresultinfo_infsinfo.updatecontrol = false
  2968. ds_main_cellresultinfo_infsinfo.setRowType(irow, "u");
  2969. ds_main_cellresultinfo_infsinfo.updatecontrol = true;
  2970. }
  2971. ds_main_cellresultinfo_abninfo.deleteRow(ds_main_cellresultinfo_abninfo.rowposition);
  2972. //ds_main_cellresultinfo_abninfo.deleteRow(ds_main_cellresultinfo_abninfo.rowcount-1) //grd_abn.deleteRow(grd_abn.rows-1);
  2973. fExecSave();
  2974. }
  2975. else
  2976. {
  2977. ds_send_baseinfo.setColumn(0, "cellbcno", ds_main_cellresultinfo_abninfo.getColumn(ds_main_cellresultinfo_abninfo.rowposition, "cellbcno"));
  2978. ds_main_cellresultinfo_abninfo.deleteRow(ds_main_cellresultinfo_abninfo.rowposition);
  2979. //ds_main_cellresultinfo_abninfo.deleteRow(ds_main_cellresultinfo_abninfo.rowcount-1);
  2980. fExecSave();
  2981. }
  2982. }
  2983. ]]></Script>
  2984. </Form>
  2985. </FDL>