SMLPJ00900_육안검사의사일괄변경.xfdl 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPJ00900" position="absolute 0 0 1197 761" titletext="육안검사의사 일괄변경" oninit="SMLPJ00900_oninit" onload="SMLPJ00900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="육안검사의사 일괄변경" class="tit_1" position="absolute 0 0 174 25" anchor="left top"/>
  8. <Button id="button4" taborder="1" text="육안변경" class="btn4" position="absolute 1113 1 1193 23" onclick="button4_onclick" anchor="top right"/>
  9. <Button id="button1" taborder="2" text="관련번호변경" class="btn4" position="absolute 1007 1 1111 23" onclick="button1_onclick" anchor="top right"/>
  10. <Static id="caption12" text="판독의사" class="cell_1" position="absolute 507 83 612 106" anchor="default"/>
  11. <Div id="grp_sea" taborder="3" position="absolute 0 25 1194 60" class="div_SA" anchor="left top right">
  12. <Layouts>
  13. <Layout>
  14. <Static id="caption2" text="접수일자 :" position="absolute 372 10 430 26" anchor="left top"/>
  15. <Static id="caption4" text="육안검사의 :" position="absolute 813 10 882 26" anchor="top right"/>
  16. <Static id="caption5" text="~" class="search_no_b" position="absolute 537 12 549 29" anchor="left top"/>
  17. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 7 1110 29" anchor="top right"/>
  18. <Calendar id="ipt_acptddfrom" taborder="12" class="input_s_essential" position="absolute 432 9 534 28" anchor="left top"/>
  19. <Calendar id="ipt_acptddto" taborder="13" class="input_s_essential" position="absolute 551 9 653 28" anchor="left top" onkeyup="grp_sea_ipt_acptddto_onkeyup"/>
  20. <Static id="caption1" text="병리사 :" position="absolute 971 10 1020 27" anchor="top right"/>
  21. <Button id="btn_sea" taborder="14" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  22. <Combo id="cmb_grosdrid" taborder="15" innerdataset="ds_init_cmb_grosdrid" codecolumn="userid" datacolumn="usernm" class="combo_search" position="absolute 894 9 959 28" anchor="top right"/>
  23. <Combo id="cmb_grosplgyid" taborder="16" innerdataset="ds_init_cmb_grosplgyid" codecolumn="userid" datacolumn="usernm" class="combo_search" position="absolute 1026 9 1091 28" anchor="top right"/>
  24. <Combo id="cbo_ptnocd" taborder="17" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" position="absolute 81 9 172 28" anchor="left top"/>
  25. <Edit id="ipt_fromptno" taborder="18" class="text_center" position="absolute 205 9 255 28" anchor="left top"/>
  26. <Static id="caption9" text="병리번호 :" position="absolute 15 10 72 26" anchor="left top"/>
  27. <Static id="caption10" text="~" class="search_no_b" position="absolute 258 11 270 28" anchor="left top"/>
  28. <Edit id="input1" taborder="19" class="text_center" position="absolute 303 9 353 28" anchor="left top"/>
  29. <Edit id="ipt_toyear" taborder="20" class="text_center" position="absolute 273 9 300 28" anchor="left top"/>
  30. <Edit id="ipt_fromyear" taborder="21" class="text_center" position="absolute 175 9 202 28" anchor="left top"/>
  31. <Static id="caption11" text="등록번호 :" position="absolute 660 11 719 27" anchor="top right"/>
  32. <Edit id="ipt_pid" taborder="22" position="absolute 723 9 803 28" anchor="top right" onkeyup="grp_sea_ipt_pid_onkeyup"/>
  33. </Layout>
  34. </Layouts>
  35. </Div>
  36. <Shape id="line8" linetype="horizontal" class="line_1" position="absolute 0 141 1194 147" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  37. <Static id="caption22" text="검체접수목록" class="tit_2" position="absolute 1 122 114 144"/>
  38. <Grid id="grd_ptnolist" class="datagrid2" taborder="4" binddataset="ds_grd_ptnolist" useinputpanel="false" position="absolute 0 145 1194 758" oncellclick="grd_ptnolist_oncellclick" anchor="all" autofittype="col" cellsizingtype="col" oncloseup="grd_ptnolist_oncloseup">
  39. <Formats>
  40. <Format id="default">
  41. <Columns>
  42. <Column size="25"/>
  43. <Column size="26"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="88"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="80"/>
  50. <Column size="20"/>
  51. <Column size="80"/>
  52. <Column size="60"/>
  53. <Column size="70"/>
  54. <Column size="70"/>
  55. <Column size="60"/>
  56. <Column size="0"/>
  57. <Column size="80"/>
  58. <Column size="68"/>
  59. <Column size="0"/>
  60. <Column size="84"/>
  61. <Column size="60"/>
  62. <Column size="100"/>
  63. <Column size="59"/>
  64. <Column size="60"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="217"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. </Columns>
  71. <Rows>
  72. <Row size="28" band="head"/>
  73. <Row size="24"/>
  74. </Rows>
  75. <Band id="head">
  76. <Cell/>
  77. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  78. <Cell col="2" text="기관코드"/>
  79. <Cell col="3" text="ptno"/>
  80. <Cell col="4" text="병리번호"/>
  81. <Cell col="5" text="relaptno"/>
  82. <Cell col="6" text="orgrelaptno"/>
  83. <Cell col="7" text="관련병리번호"/>
  84. <Cell col="8" displaytype="image"/>
  85. <Cell col="9" text="접수일자"/>
  86. <Cell col="10" text="접수시간"/>
  87. <Cell col="11" text="접수자"/>
  88. <Cell col="12" text="등록번호"/>
  89. <Cell col="13" text="환자명"/>
  90. <Cell col="14" text="bfgrosdrid"/>
  91. <Cell col="15" text="육안검사의사"/>
  92. <Cell col="16" text="변경&#10;의사"/>
  93. <Cell col="17" text="bfgrosplgyid"/>
  94. <Cell col="18" text="육안검사&#10;병리사"/>
  95. <Cell col="19" text="변경&#10;병리사"/>
  96. <Cell col="20" text="육안검사일"/>
  97. <Cell col="21" text="판독의사"/>
  98. <Cell col="22" text="변경&#10;판독의사"/>
  99. <Cell col="23" text="육안검사시간"/>
  100. <Cell col="24" text="caption1"/>
  101. <Cell col="25" text="변경사유"/>
  102. <Cell col="26" text="caption2"/>
  103. <Cell col="27" text="caption3"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell celltype="head" expr="currow + 1 "/>
  107. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:choi" expr="expr:choi == '1' || choi == 'true' ? '1' : '0'"/>
  108. <Cell col="2" text="bind:instcd"/>
  109. <Cell col="3" text="bind:ptno"/>
  110. <Cell col="4" style="align:left middle;" text="bind:dispptno"/>
  111. <Cell col="5" text="bind:relaptno"/>
  112. <Cell col="6" text="bind:orgrelaptno"/>
  113. <Cell col="7" style="align:left middle;" text="bind:disprelaptno"/>
  114. <Cell col="8" displaytype="normal" edittype="normal" style="backgroundimage:URL('theme://images\theme_violet\icon_glassSearch4_N.PNG');" class="icon_search" text="bind:relaptnoref" expandshow="hide" expandimage="URL('theme://images\theme_violet\icon_glassSearch4_N.PNG')"/>
  115. <Cell col="9" displaytype="date" edittype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
  116. <Cell col="10" text="bind:acpttm"/>
  117. <Cell col="11" text="bind:acptnm"/>
  118. <Cell col="12" text="bind:pid"/>
  119. <Cell col="13" text="bind:patnm"/>
  120. <Cell col="14" text="bind:bfgrosdrid"/>
  121. <Cell col="15" text="bind:bfgrosdrnm"/>
  122. <Cell col="16" displaytype="combo" edittype="combo" style="align:center;" text="bind:bfgrosdrid" combodataset="ds_cmb_grosdrid" combocodecol="userid" combodatacol="usernm"/>
  123. <Cell col="17" text="bind:bfgrosplgyid"/>
  124. <Cell col="18" text="bind:bfgrosplgynm"/>
  125. <Cell col="19" displaytype="combo" edittype="combo" style="align:center;" text="bind:bfgrosplgyid" combodataset="ds_cmb_grosplgyid" combocodecol="userid" combodatacol="usernm"/>
  126. <Cell col="20" displaytype="date" edittype="date" text="bind:grostestdd" mask="yyyy-MM-dd"/>
  127. <Cell col="21" text="bind:bfreaddrnm"/>
  128. <Cell col="22" displaytype="combo" edittype="combo" style="align:center;" text="bind:afreaddrid" combodataset="ds_cmb_grosdrid" combocodecol="userid" combodatacol="usernm"/>
  129. <Cell col="23" text="bind:grostesttm" mask="hh:nn:ss"/>
  130. <Cell col="24" text="bind:updtflagcd"/>
  131. <Cell col="25" displaytype="combo" edittype="combo" text="bind:updtresncd" combodataset="ds_init_cmb_resncd" combocodecol="resncd" combodatacol="resncnts"/>
  132. <Cell col="26" text="bind:readdd"/>
  133. <Cell col="27" text="bind:bfreaddrid"/>
  134. </Band>
  135. </Format>
  136. </Formats>
  137. </Grid>
  138. <Static id="caption24" text="육안검사의사" class="cell_1" position="absolute 0 83 90 106"/>
  139. <Static id="caption3" text="육안검사정보 재설정" class="tit_2" position="absolute 3 65 151 82"/>
  140. <Static id="caption7" text="육안검사 병리사" class="cell_1" position="absolute 246 83 351 106"/>
  141. <Static id="caption8" text="변경사유" class="cell_1" position="absolute 768 83 873 106" anchor="default"/>
  142. <Combo id="cmb_afgrosdrid" taborder="5" innerdataset="ds_init_cmb_afgrosdrid" codecolumn="userid" datacolumn="usernm" class="combo_default" position="absolute 93 84 243 103" onitemclick="cmb_afgrosdrid_onitemclick" onitemchanged="cmb_afgrosdrid_onitemchanged"/>
  143. <Combo id="cmb_afgrosplgyid" taborder="6" innerdataset="ds_init_cmb_afgrosplgyid" codecolumn="userid" datacolumn="usernm" class="combo_default" position="absolute 354 84 504 103" onitemchanged="cmb_afgrosplgyid_onitemchanged"/>
  144. <Combo id="cmb_resncd" taborder="7" innerdataset="ds_init_cmb_resncd" codecolumn="resncd" datacolumn="resncnts" class="combo_default" position="absolute 875 84 1194 103" onitemchanged="cmb_resncd_onitemchanged" anchor="default"/>
  145. <Combo id="combo1" taborder="8" innerdataset="ds_init_combo1" codecolumn="userid" datacolumn="usernm" class="combo_default" position="absolute 615 84 765 103" onitemchanged="combo1_onitemchanged" anchor="default"/>
  146. </Layout>
  147. </Layouts>
  148. <Objects>
  149. <Dataset id="ds_init_cmb_grosdrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  150. <ColumnInfo>
  151. <Column id="usernm" type="STRING"/>
  152. <Column id="userid" type="STRING"/>
  153. </ColumnInfo>
  154. </Dataset>
  155. <Dataset id="ds_init_cmb_grosplgyid" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  156. <ColumnInfo>
  157. <Column id="usernm" type="STRING"/>
  158. <Column id="userid" type="STRING"/>
  159. </ColumnInfo>
  160. </Dataset>
  161. <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  162. <ColumnInfo>
  163. <Column id="ptnonm" type="STRING"/>
  164. <Column id="ptnocd" type="STRING"/>
  165. </ColumnInfo>
  166. </Dataset>
  167. <Dataset id="ds_grd_ptnolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_ptnolist_oncolumnchanged">
  168. <ColumnInfo>
  169. <Column id="choi" type="STRING"/>
  170. <Column id="instcd" type="STRING"/>
  171. <Column id="ptno" type="STRING"/>
  172. <Column id="dispptno" type="STRING"/>
  173. <Column id="relaptno" type="STRING"/>
  174. <Column id="orgrelaptno" type="STRING"/>
  175. <Column id="disprelaptno" type="STRING"/>
  176. <Column id="relaptnoref" type="STRING"/>
  177. <Column id="acptdd" type="STRING"/>
  178. <Column id="acpttm" type="STRING"/>
  179. <Column id="acptnm" type="STRING"/>
  180. <Column id="pid" type="STRING"/>
  181. <Column id="patnm" type="STRING"/>
  182. <Column id="bfgrosdrid" type="STRING"/>
  183. <Column id="bfgrosdrnm" type="STRING"/>
  184. <Column id="afgrosdrid" type="STRING"/>
  185. <Column id="bfgrosplgyid" type="STRING"/>
  186. <Column id="bfgrosplgynm" type="STRING"/>
  187. <Column id="afgrosplgyid" type="STRING"/>
  188. <Column id="grostestdd" type="STRING"/>
  189. <Column id="bfreaddrnm" type="STRING"/>
  190. <Column id="afreaddrid" type="STRING"/>
  191. <Column id="grostesttm" type="STRING"/>
  192. <Column id="updtflagcd" type="STRING"/>
  193. <Column id="updtresncd" type="STRING"/>
  194. <Column id="readdd" type="STRING"/>
  195. <Column id="bfreaddrid" type="STRING"/>
  196. </ColumnInfo>
  197. </Dataset>
  198. <Dataset id="ds_init_cmb_afgrosdrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  199. <ColumnInfo>
  200. <Column id="usernm" type="STRING"/>
  201. <Column id="userid" type="STRING"/>
  202. </ColumnInfo>
  203. </Dataset>
  204. <Dataset id="ds_init_cmb_afgrosplgyid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  205. <ColumnInfo>
  206. <Column id="usernm" type="STRING"/>
  207. <Column id="userid" type="STRING"/>
  208. </ColumnInfo>
  209. </Dataset>
  210. <Dataset id="ds_init_cmb_resncd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  211. <ColumnInfo>
  212. <Column id="resncnts" type="STRING"/>
  213. <Column id="resncd" type="STRING"/>
  214. </ColumnInfo>
  215. </Dataset>
  216. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  217. <ColumnInfo>
  218. <Column id="usernm" type="STRING"/>
  219. <Column id="userid" type="STRING"/>
  220. </ColumnInfo>
  221. </Dataset>
  222. <Dataset id="ds_resncdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  223. <ColumnInfo>
  224. <Column id="choi" type="STRING" size="256"/>
  225. <Column id="instcd" type="STRING" size="256"/>
  226. <Column id="baseflagcd" type="STRING" size="256"/>
  227. <Column id="resncd" type="STRING" size="256"/>
  228. <Column id="resncnts" type="STRING" size="256"/>
  229. </ColumnInfo>
  230. </Dataset>
  231. <Dataset id="ds_hosoenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  232. <ColumnInfo>
  233. <Column id="instcd" type="STRING" size="256"/>
  234. <Column id="lendrtnterm" type="STRING" size="256"/>
  235. <Column id="recvqualmthdcd" type="STRING" size="256"/>
  236. <Column id="plgydeptcd" type="STRING" size="256"/>
  237. <Column id="plgyteamcd" type="STRING" size="256"/>
  238. <Column id="doctjobgradcd" type="STRING" size="256"/>
  239. <Column id="teamjobgradcd" type="STRING" size="256"/>
  240. </ColumnInfo>
  241. <Rows>
  242. <Row/>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  246. <ColumnInfo>
  247. <Column id="choi" type="STRING" size="256" sumtext="선택"/>
  248. <Column id="dutplceinstcd" type="STRING" size="256" sumtext="기관코드"/>
  249. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  250. <Column id="usernm" type="STRING" size="256" sumtext="사용자명"/>
  251. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종구분코드"/>
  252. <Column id="userabbr" type="STRING" size="256" sumtext="직종구분코드"/>
  253. <Column id="mpphonno" type="STRING" size="256" sumtext="직종구분코드"/>
  254. </ColumnInfo>
  255. <Rows>
  256. <Row/>
  257. </Rows>
  258. </Dataset>
  259. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  260. <ColumnInfo>
  261. <Column id="sysdd" type="STRING" size="256"/>
  262. <Column id="systm" type="STRING" size="256"/>
  263. </ColumnInfo>
  264. </Dataset>
  265. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  266. <ColumnInfo>
  267. <Column id="acptfromdd" type="STRING" size="256"/>
  268. <Column id="acpttodd" type="STRING" size="256"/>
  269. <Column id="grosdrid" type="STRING" size="256"/>
  270. <Column id="grosplgyid" type="STRING" size="256"/>
  271. <Column id="ptnocode" type="STRING" size="256"/>
  272. <Column id="fromyear" type="STRING" size="256"/>
  273. <Column id="fromptno" type="STRING" size="256"/>
  274. <Column id="toyear" type="STRING" size="256"/>
  275. <Column id="toptno" type="STRING" size="256"/>
  276. <Column id="pid" type="STRING" size="256"/>
  277. <Column id="sysdt" type="STRING" size="256"/>
  278. <Column id="userinfo" type="STRING" size="256"/>
  279. <Column id="resncd" type="STRING" size="256"/>
  280. <Column id="hospenv" type="STRING" size="256"/>
  281. <Column id="afgrosdrid" type="STRING" size="256"/>
  282. <Column id="afgrosplgyid" type="STRING" size="256"/>
  283. <Column id="updtresncd" type="STRING" size="256"/>
  284. <Column id="ptnocd" type="STRING" size="256"/>
  285. <Column id="afreaddrid" type="STRING" size="256"/>
  286. <Column id="popupmenus" type="STRING" size="256"/>
  287. </ColumnInfo>
  288. <Rows>
  289. <Row>
  290. <Col id="popupmenus">item</Col>
  291. </Row>
  292. </Rows>
  293. </Dataset>
  294. <Dataset id="ds_tempFilterDs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  295. <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  296. <ColumnInfo>
  297. <Column id="resultmsg" type="STRING" size="256"/>
  298. </ColumnInfo>
  299. <Rows>
  300. <Row/>
  301. </Rows>
  302. </Dataset>
  303. </Objects>
  304. <Bind>
  305. <BindItem id="item7" compid="grp_sea.ipt_acptddto" propid="value" datasetid="ds_init" columnid="acpttodd"/>
  306. <BindItem id="item0" compid="cmb_resncd" propid="value" datasetid="ds_init" columnid="updtresncd"/>
  307. <BindItem id="item1" compid="combo1" propid="value" datasetid="ds_init" columnid="afreaddrid"/>
  308. <BindItem id="item2" compid="cmb_afgrosplgyid" propid="value" datasetid="ds_init" columnid="afgrosplgyid"/>
  309. <BindItem id="item3" compid="cmb_afgrosdrid" propid="value" datasetid="ds_init" columnid="afgrosdrid"/>
  310. <BindItem id="item4" compid="grp_sea.cmb_grosplgyid" propid="value" datasetid="ds_init" columnid="grosplgyid"/>
  311. <BindItem id="item5" compid="grp_sea.cmb_grosdrid" propid="value" datasetid="ds_init" columnid="grosdrid"/>
  312. <BindItem id="item6" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_init" columnid="pid"/>
  313. <BindItem id="item8" compid="grp_sea.ipt_acptddfrom" propid="value" datasetid="ds_init" columnid="acptfromdd"/>
  314. <BindItem id="item9" compid="grp_sea.input1" propid="value" datasetid="ds_init" columnid="toptno"/>
  315. <BindItem id="item10" compid="grp_sea.ipt_toyear" propid="value" datasetid="ds_init" columnid="toyear"/>
  316. <BindItem id="item11" compid="grp_sea.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
  317. <BindItem id="item12" compid="grp_sea.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
  318. <BindItem id="item13" compid="grp_sea.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
  319. </Bind>
  320. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  321. * System Name :
  322. * Job Name :
  323. * Creator :
  324. * Make Date : 2015-11-13
  325. * Description :
  326. *---------------------------------------------------------------------------------------
  327. * Modify Date Modifier Modify Description
  328. *---------------------------------------------------------------------------------------
  329. * 2015-11-13 Live Converter TF->XP
  330. *
  331. *---------------------------------------------------------------------------------------
  332. ****************************************************************************************/
  333. include "com_commonxp::comm_main.xjs";
  334. include "lis_commonxp::LPZ001.xjs";
  335. function SMLPJ00900_oninit(obj:Form, e:InitEventInfo)
  336. {
  337. frmf_initForm(obj);
  338. }
  339. function SMLPJ00900_onload(obj:Form, e:LoadEventInfo)
  340. {
  341. grdf_initGrid(grd_ptnolist);
  342. //grdf_setRowTypeIcon(grd_ptnolist, 0);
  343. fExeInitialize();
  344. }
  345. function fExeInitialize()
  346. {
  347. var iMaxCnt = 0;
  348. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
  349. var oParam = {};
  350. oParam.id = "TRLPZ00102";
  351. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  352. oParam.method = "reqGetSystemDateTimeInformation";
  353. oParam.inds = "refData=ds_send";
  354. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  355. oParam.async = false;
  356. //oParam.callback = "cf_TRLPZ00102";
  357. tranf_submit(oParam);
  358. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  359. ,{col : "refflagcd", val : "0"}]);
  360. var oParam = {};
  361. oParam.id = "TRLPZ00109";
  362. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  363. oParam.method = "reqGetPtNoCdList";
  364. oParam.inds = "refdata=ds_send";
  365. oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
  366. oParam.async = false;
  367. //oParam.callback = "cf_TRLPZ00109";
  368. tranf_submit(oParam);
  369. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  370. ,{col : "baseflagcd", val : "40"}]);
  371. var oParam = {};
  372. oParam.id = "TRLPZ00103";
  373. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  374. oParam.method = "reqGetReasonCodeList";
  375. oParam.inds = "refData=ds_send";
  376. oParam.outds = "ds_init_cmb_resncd=refrslt";
  377. oParam.async = false;
  378. //oParam.callback = "cf_TRLPZ00103";
  379. tranf_submit(oParam);
  380. var oParam = {};
  381. oParam.id = "TRLPZ00101";
  382. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  383. oParam.method = "reqGetHospitalEnvironmentSetInfo";
  384. oParam.inds = "refData=ds_send";
  385. oParam.outds = "ds_hosoenvinfo=hospenvinfo";
  386. oParam.async = false;
  387. //oParam.callback = "cf_TRLPZ00101";
  388. tranf_submit(oParam);
  389. var userdeptcd = sysf_getUserInfo("dutplcecd");
  390. var doctjobgradcd = ds_hosoenvinfo.getColumn(0, "doctjobgradcd");
  391. var teamjobgradcd = ds_hosoenvinfo.getColumn(0, "teamjobgradcd");
  392. dsf_createDsRow("ds_send" ,[{col: "instcd", val:sysf_getUserInfo("dutplceinstcd")}
  393. ,{col: "userdeptcd", val:userdeptcd }
  394. ,{col: "doctjobgradcd", val:doctjobgradcd }
  395. ,{col: "teamjobgradcd", val:teamjobgradcd }]);
  396. var oParam = {};
  397. oParam.id = "TRLPZ00105";
  398. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  399. oParam.method = "reqGetUserInfoList";
  400. oParam.inds = "refdata=ds_send";
  401. oParam.outds = "ds_userinfolist=reflist";
  402. oParam.async = false;
  403. //oParam.callback = "cf_TRLPZ00105";
  404. tranf_submit(oParam);
  405. var iMaxRow = ds_userinfolist.insertRow(0);
  406. ds_userinfolist.setColumn(iMaxRow,"userid","-");
  407. ds_userinfolist.setColumn(iMaxRow,"usernm","전체");
  408. ds_userinfolist.setColumn(iMaxRow,"jobkindcd","9");
  409. var iMaxRow2 = ds_userinfolist.insertRow(0);
  410. ds_userinfolist.setColumn(iMaxRow2,"userid","-");
  411. ds_userinfolist.setColumn(iMaxRow2,"usernm","전체");
  412. ds_userinfolist.setColumn(iMaxRow2,"jobkindcd","1");
  413. var sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
  414. ds_init.setColumn(0, "acptfromdd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
  415. ds_init.setColumn(0, "acpttodd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
  416. ds_init.setColumn(0, "grosdrid", "-");
  417. ds_init.setColumn(0, "grosplgyid", "-");
  418. ds_init.setColumn(0, "afgrosdrid", "-");
  419. ds_init.setColumn(0, "afgrosplgyid", "-");
  420. ds_init.setColumn(0, "afreaddrid", "-");
  421. ds_init.setColumn(0, "updtresncd", "-");
  422. ds_init.setColumn(0, "ptnocode", "-");
  423. ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
  424. ds_init.setColumn(0, "toyear", sCurDate.substr(2,2));
  425. ds_init.setColumn(0, "fromptno", "");
  426. ds_init.setColumn(0, "toptno", "");
  427. ds_init.setColumn(0, "pid", "");
  428. fdsf_createDsFilter("ds_cmb_grosdrid", "ds_userinfolist", "jobkindcd=='1'");
  429. //육안검사의
  430. grp_sea.cmb_grosdrid.innerdataset=ds_cmb_grosdrid;
  431. grp_sea.cmb_grosdrid.codecolumn="userid";
  432. grp_sea.cmb_grosdrid.datacolumn="usernm";
  433. cmb_afgrosdrid.innerdataset = ds_cmb_grosdrid;
  434. cmb_afgrosdrid.codecolumn="userid";
  435. cmb_afgrosdrid.datacolumn="usernm";
  436. combo1.innerdataset = ds_cmb_grosdrid;
  437. combo1.codecolumn="userid";
  438. combo1.datacolumn="usernm";
  439. //접수자 데이터셋필터 jobkindcd가 9인 의사만 나오도록
  440. fdsf_createDsFilter("ds_cmb_grosplgyid", "ds_userinfolist", "jobkindcd=='9'");
  441. grp_sea.cmb_grosplgyid.innerdataset=ds_cmb_grosplgyid;
  442. grp_sea.cmb_grosplgyid.codecolumn="userid";
  443. grp_sea.cmb_grosplgyid.datacolumn="usernm";
  444. cmb_afgrosplgyid.innerdataset=ds_cmb_grosplgyid;
  445. cmb_afgrosplgyid.codecolumn="userid";
  446. cmb_afgrosplgyid.datacolumn="usernm";
  447. }
  448. function fGetGrosUpdtList()
  449. {
  450. var sTemp = "";
  451. var sFromDD = ds_init.getColumn(0, "acptfromdd");
  452. var sToDD = ds_init.getColumn(0, "acpttodd");
  453. if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
  454. {
  455. if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
  456. {
  457. ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
  458. }
  459. else
  460. {
  461. sTemp = ds_init.getColumn(0, "fromyear");
  462. ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
  463. }
  464. if( !utlf_isNull(ds_init.getColumn(0, "toyear")))
  465. {
  466. ds_init.setColumn(0, "toyear", sToDD.substr(2,2));
  467. }
  468. else
  469. {
  470. sTemp = ds_init.getColumn(0, "toyear");
  471. ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
  472. }
  473. if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
  474. {
  475. ds_init.setColumn(0, "fromptno", "000000");
  476. }
  477. else
  478. {
  479. sTemp = ds_init.getColumn(0, "fromptno");
  480. ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
  481. }
  482. if( utlf_isNull(ds_init.getColumn(0, "toptno")))
  483. {
  484. ds_init.setColumn(0, "toptno", "999999");
  485. }
  486. else
  487. {
  488. sTemp = ds_init.getColumn(0, "toptno");
  489. ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
  490. }
  491. }
  492. sTemp = ds_init.getColumn(0, "ptnocode");
  493. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  494. ,{col : "grosdrid", val : ds_init.getColumn(0, "grosdrid")}
  495. ,{col : "grosplgyid", val : ds_init.getColumn(0, "grosplgyid")}
  496. ,{col : "acptfromdd", val : ds_init.getColumn(0, "acptfromdd")}
  497. ,{col : "acpttodd", val : ds_init.getColumn(0, "acpttodd")}
  498. ,{col : "ptnocode", val : sTemp.replace("-", "")}
  499. ,{col : "fromyear", val : ds_init.getColumn(0, "fromyear")}
  500. ,{col : "fromptno", val : ds_init.getColumn(0, "fromptno")}
  501. ,{col : "toyear", val : ds_init.getColumn(0, "toyear")}
  502. ,{col : "toptno", val : ds_init.getColumn(0, "toptno")}
  503. ,{col : "pid", val : ds_init.getColumn(0, "pid")}]);
  504. var oParam = {};
  505. oParam.id = "TRLPJ00901";
  506. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  507. oParam.method = "reqGetGrosUpdtList";
  508. oParam.inds = "refData=ds_send";
  509. oParam.outds = "ds_grd_ptnolist=refrslt";
  510. oParam.async = false;
  511. //oParam.callback = "cf_TRLPJ00901";
  512. tranf_submit(oParam);
  513. for(var iNo = 0; iNo < ds_grd_ptnolist.rowcount; iNo++)
  514. {
  515. if( utlf_isNull(ds_grd_ptnolist.getColumn(iNo, "readdd")) || ds_grd_ptnolist.getColumn(iNo, "readdd") == "-")
  516. {
  517. //ds_grd_ptnolist.setColumn(iNo, "afreaddrid") = false;
  518. }
  519. else
  520. {
  521. //ds_grd_ptnolist.setColumn(iNo, "afreaddrid") = true;
  522. }
  523. }
  524. }
  525. function fExeGrosInfoUpdt(pFlagCd)
  526. {
  527. var sSrcNode = ds_grd_ptnolist;
  528. var iRowNumber = ds_grd_ptnolist.findRow("choi", 1);
  529. trace("iRowNumber="+iRowNumber);
  530. if(iRowNumber <= -1)
  531. {
  532. sysf_messageBox("변경 할 검사를 ", "C002");
  533. return false;
  534. }
  535. for(var iNo = 0; iNo < ds_grd_ptnolist.rowcount; iNo++)
  536. {
  537. if(ds_grd_ptnolist.getColumn(iNo, "choi") == "1" || ds_grd_ptnolist.getColumn(iNo, "choi") == "true")
  538. {
  539. if ( pFlagCd == "G" ) //육안변경
  540. {
  541. if( utlf_isNull(ds_grd_ptnolist.getColumn(iNo, "updtresncd")) || ds_grd_ptnolist.getColumn(iNo, "updtresncd") =="A")
  542. {
  543. sysf_messageBox("변경사유를 ", "C002");
  544. return false;
  545. }
  546. ds_grd_ptnolist.setColumn(iNo, "updtflagcd", "40");
  547. }
  548. else
  549. {
  550. trace("else");
  551. ds_grd_ptnolist.setColumn(iNo, "updtflagcd", "ZZ");
  552. }
  553. //ds_grd_ptnolist.setRowType(iNo, "U");
  554. }
  555. }
  556. ds_grd_ptnolist.filterstr = "choi == '1'";
  557. ds_tempFilterDs.copyData(ds_grd_ptnolist, true);
  558. ds_grd_ptnolist.filterstr = "";
  559. var oParam = {};
  560. oParam.id = "TXLPJ00901";
  561. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  562. oParam.method = "reqExeGrosInfoUpdt";
  563. //oParam.inds = "groslist=ds_grd_ptnolist:U";
  564. oParam.inds = "groslist=ds_tempFilterDs";
  565. oParam.async = false;
  566. //oParam.callback = "cf_TXLPJ00901";
  567. tranf_submit(oParam);
  568. fGetGrosUpdtList();
  569. }
  570. function fExeResnChange()
  571. {
  572. for(var iNo = 0; iNo < ds_grd_ptnolist.rowcount; iNo++)
  573. {
  574. if(ds_grd_ptnolist.getColumn(iNo, "choi") == "1")
  575. {
  576. ds_grd_ptnolist.setColumn(iNo, "updtresncd", ds_init.getColumn(0, "updtresncd"));
  577. }
  578. }
  579. }
  580. function fExeGrosDrChange()
  581. {
  582. var jobkind = ds_cmb_grosplgyid.getColumn(0, "jobkindcd");
  583. var userid = ds_init.getColumn(0, "afgrosdrid");
  584. var instcode = ds_hosoenvinfo.getColumn(0, "instcd");
  585. dsf_createDsRow("ds_temp_send", [{col : "userid", val : userid}
  586. ,{col : "instcd", val : instcode}]);
  587. var oParam = {};
  588. //oParam.id = "TRLPJ00308";
  589. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  590. oParam.method = "reqGetDrSchedule2";
  591. oParam.inds = "refData=ds_temp_send";
  592. oParam.outds = "ds_result=result";
  593. oParam.async = false;
  594. //oParam.callback = "cf_TRLPJ00308";
  595. tranf_submit(oParam);
  596. if(ds_result.getColumn(0, "resultmsg") == "N")
  597. {
  598. alert("퇴직처리 되어있으므로 선택할 수 없습니다.");
  599. ds_init.setColumn(0, "afgrosdrid", "-");
  600. return;
  601. }
  602. else if ( ds_result.getColumn(0, "resultmsg") == "M")
  603. {
  604. alert("휴직처리 되어있으므로 선택할 수 없습니다.");
  605. ds_init.setColumn(0, "afgrosdrid", "-");
  606. return;
  607. }
  608. else if ( ds_result.getColumn(0, "resultmsg") == "S")
  609. {
  610. alert("현재 휴진상태이므로 선택할 수 없습니다.");
  611. ds_init.setColumn(0, "afgrosdrid", "-");
  612. return;
  613. }
  614. for(var iNo = 0; iNo < ds_grd_ptnolist.rowcount; iNo++)
  615. {
  616. if(ds_grd_ptnolist.getColumn(iNo, "choi") == "1")
  617. {
  618. ds_grd_ptnolist.setColumn(iNo, "afgrosdrid", ds_init.getColumn(0, "afgrosdrid"));
  619. ds_grd_ptnolist.setColumn(iNo, "bfgrosdrid", ds_init.getColumn(0, "afgrosdrid"));
  620. //ds_grd_ptnolist.updateToDataset();
  621. }
  622. }
  623. }
  624. function fExeGrosPlgyChange()
  625. {
  626. for(var iNo = 0; iNo < ds_grd_ptnolist.rowcount; iNo++)
  627. {
  628. if(ds_grd_ptnolist.getColumn(iNo, "choi") == "1")
  629. {
  630. ds_grd_ptnolist.setColumn(iNo, "afgrosplgyid", ds_init.getColumn(0, "afgrosplgyid"));
  631. ds_grd_ptnolist.setColumn(iNo, "bfgrosplgyid", ds_init.getColumn(0, "afgrosplgyid"));
  632. }
  633. }
  634. }
  635. function fExeReadDrChange()
  636. {
  637. for(var iNo = 0; iNo < ds_grd_ptnolist.rowcount; iNo++)
  638. {
  639. if(ds_grd_ptnolist.getColumn(iNo, "choi") == "1")
  640. {
  641. if( utlf_isNull(ds_grd_ptnolist.getColumn(iNo, "readdd"))||ds_grd_ptnolist.getColumn(iNo, "readdd") == "-")
  642. {
  643. ds_grd_ptnolist.setColumn(iNo, "afreaddrid", ds_init.getColumn(0, "afreaddrid"));
  644. //ds_grd_ptnolist.setColumn(iNo, "bfreaddrid", ds_init.getColumn(0, "afreaddrid"));
  645. }
  646. }
  647. }
  648. }
  649. function fExePtNoPopupCall()
  650. {
  651. var sNode = ds_grd_ptnolist;
  652. var col = grd_ptnolist.currentcol;
  653. if(ds_grd_ptnolist.rowposition > -1)
  654. {
  655. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  656. ,{col : "pid", val : ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "pid")}
  657. ,{col : "dispptno", val : ""}
  658. ,{col : "ptno", val : ""}
  659. ,{col : "path", val : ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "relaptno")}]);
  660. switch(col)
  661. {
  662. case grd_ptnolist.getBindCellIndex("body", "relaptnoref") :
  663. var objArg = new Object();
  664. objArg.arg_ds_send = ds_send;
  665. frmf_clearParameter("ptno");
  666. frmf_modal("SPLPJ02100", "SPLPJ02100", objArg, null, null, null, null, null, null, null, null, null, "M"); // 병리번호리스트 팝업창 표시
  667. if(!utlf_isNull(frmf_getParameter("ptno")))
  668. {
  669. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "relaptno", frmf_getParameter("ptno"));
  670. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "disprelaptno", frmf_getParameter("dispptno"));
  671. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "choi", "1");
  672. }
  673. break;
  674. }
  675. }
  676. }
  677. //조회
  678. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  679. {
  680. fGetGrosUpdtList();
  681. }
  682. //조회
  683. function grp_sea_ipt_acptddto_onkeyup(obj:Calendar, e:KeyEventInfo)
  684. {
  685. if(e.keycode == 13)
  686. {
  687. fGetGrosUpdtList();
  688. }
  689. }
  690. //관리번호변경
  691. function button1_onclick(obj:Button, e:ClickEventInfo)
  692. {
  693. fExeGrosInfoUpdt("P");
  694. }
  695. //육안변경
  696. function button4_onclick(obj:Button, e:ClickEventInfo)
  697. {
  698. fExeGrosInfoUpdt("G");
  699. }
  700. //변경사유 선택 시 처리 함수
  701. function cmb_resncd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  702. {
  703. fExeResnChange();
  704. }
  705. //육안검사의서 선택 시 처리 함수
  706. function cmb_afgrosdrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  707. {
  708. fExeGrosDrChange();
  709. }
  710. //육안검사 병리사 선택 시 처리 함수
  711. function cmb_afgrosplgyid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  712. {
  713. fExeGrosPlgyChange();
  714. }
  715. //판독의사 선택 시 처리 함수
  716. function combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  717. {
  718. fExeReadDrChange();
  719. }
  720. function grd_ptnolist_oncellclick(obj:Grid, e:GridClickEventInfo)
  721. {
  722. if(obj.currentcol == 8)
  723. {
  724. fExePtNoPopupCall();
  725. }
  726. }
  727. function ds_grd_ptnolist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  728. {
  729. grd_ptnolist.updateToDataset();
  730. trace("====");
  731. trace("e.columnid = " + e.columnid);
  732. trace("rowpo = " +ds_grd_ptnolist.rowposition);
  733. grd_ptnolist.updateToDataset();
  734. if(e.columnid == "bfgrosdrid")
  735. {
  736. var jobkind = ds_cmb_grosplgyid.getColumn(0, "jobkindcd");
  737. var userid = e.newvalue; //DS 값변경
  738. var instcode = ds_hosoenvinfo.getColumn(0, "instcd");
  739. dsf_createDsRow("ds_temp_send", [{col : "userid", val : userid}
  740. ,{col : "instcd", val : instcode}]);
  741. var oParam = {};
  742. //oParam.id = "TRLPJ00308";
  743. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  744. oParam.method = "reqGetDrSchedule2";
  745. oParam.inds = "refData=ds_temp_send";
  746. oParam.outds = "ds_result=result";
  747. oParam.async = false;
  748. //oParam.callback = "cf_TRLPJ00308";
  749. tranf_submit(oParam);
  750. if(ds_result.getColumn(0, "resultmsg") == "N")
  751. {
  752. alert("퇴직처리 되어있으므로 선택할 수 없습니다.");
  753. obj.setColumn(e.row, e.columnid, e.oldvalue);
  754. return;
  755. }
  756. else if ( ds_result.getColumn(0, "resultmsg") == "M")
  757. {
  758. alert("휴직처리 되어있으므로 선택할 수 없습니다.");
  759. obj.setColumn(e.row, e.columnid, e.oldvalue);
  760. return;
  761. }
  762. else if ( ds_result.getColumn(0, "resultmsg") == "S")
  763. {
  764. alert("현재 휴진상태이므로 선택할 수 없습니다.");
  765. obj.setColumn(e.row, e.columnid, e.oldvalue);
  766. return;
  767. }
  768. else
  769. {
  770. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "afgrosdrid", ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "bfgrosdrid"));
  771. trace("afgroisdrid = " + ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "afgrosdrid"));
  772. }
  773. }
  774. if(e.columnid == "bfgrosplgyid")
  775. {
  776. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "afgrosplgyid", ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "bfgrosplgyid"));
  777. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "bfgrosplgyid", ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "bfgrosplgyid"));
  778. }
  779. if(e.columnid == "afreaddrid")
  780. {
  781. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "afreaddrid", ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "afreaddrid"));
  782. }
  783. if(e.columnid == "updtresncd")
  784. {
  785. ds_grd_ptnolist.setColumn(ds_grd_ptnolist.rowposition, "updtresncd", ds_grd_ptnolist.getColumn(ds_grd_ptnolist.rowposition, "updtresncd"));
  786. }
  787. }
  788. function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  789. {
  790. if(e.keycode == 13)
  791. {
  792. ds_init.setColumn(0, "pid", grp_sea.ipt_pid.value);
  793. fGetGrosUpdtList();
  794. }
  795. }
  796. function grd_ptnolist_oncloseup(obj:Grid, e:GridEditEventInfo)
  797. {
  798. trace("focus");
  799. cmb_afgrosdrid.setFocus();
  800. grd_ptnolist.setFocus();
  801. }
  802. ]]></Script>
  803. </Form>
  804. </FDL>