inc_ViewBtn_02.php 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. <div class="tbl_wrap">
  2. <table class="tbl_list2">
  3. <colgroup>
  4. <col width="12%">
  5. <col width="88%">
  6. </colgroup>
  7. <form id="frmFormGuide" name="frmForm" method="post" enctype="multipart/form-data">
  8. <input type="hidden" name="cd_car" id="cd_car" value="<?=$cd_car?>"/>
  9. <input type="hidden" name="mode" id="mode" value="Guide"/>
  10. <tr>
  11. <th>담당자코멘트</th>
  12. <td><textarea name="nm_guide" id="nm_guide"><?=$nm_guide?></textarea></td>
  13. </tr>
  14. </form>
  15. </table>
  16. </div>
  17. <div class="btn_right">
  18. <a href="#" class="rnd_btn ty2 blue" id="btn_guide">저장</a>
  19. <a href="./<?=$list_url?>?PageNo=<?=$ListPageNo?>" class="rnd_btn ty2 gray">목록</a>
  20. <a href="#" class="rnd_btn ty2 blue" style="width:105px;" onclick="viewPopup('history');return false;">보험처리이력</a>
  21. <a href="#" class="rnd_btn ty2 gray" id="btn_confirm">승인</a>
  22. <a href="#" class="rnd_btn ty2 black" onclick="viewPopup('return');return false;">반려</a>
  23. </div>
  24. <!-- layer popup1 -->
  25. <div class="layer_popup history_popup">
  26. <div class="close">팝업닫기</div>
  27. <h3>중고차 보험처리 이력정보 보고서</h3>
  28. <div class="scr_cont">
  29. <h4>중고차 사고이력 요약 정보</h4>
  30. <form id="frmForm" name="frmForm" method="post" enctype="multipart/form-data">
  31. <input type="hidden" name="cd_car" id="cd_car" value="<?=$cd_car?>"/>
  32. <input type="hidden" name="mode" id="mode" value="AddActIns"/>
  33. <input type="hidden" name="nm_act_yn" id="nm_act_yn" value="<?=$nm_act_yn?>"/>
  34. <table class="tbl_data">
  35. <colgroup>
  36. <col width="35%">
  37. <col width="*">
  38. </colgroup>
  39. <tr>
  40. <th>자동차 일반사양</th>
  41. <td><input type="text" class="inp_txt" style="width:98%;" name="nm_act_general_spec" id="nm_act_general_spec" value="<?=$nm_act_general_spec?>"></td>
  42. </tr>
  43. <tr>
  44. <th>자동차 용도이력</th>
  45. <td><input type="text" class="inp_txt" style="width:98%;" name="nm_act_use_record" id="nm_act_use_record" value="<?=$nm_act_use_record?>"></td>
  46. </tr>
  47. <tr>
  48. <th>자동차 번호 / 소유자 변경횟수</th>
  49. <td><input type="text" class="inp_txt" style="width:80px;" name="nm_act_chgno" id="nm_act_chgno" value="<?=$nm_act_chgno?>"> 회 / <input type="text" class="inp_txt" style="width:80px;" name="nm_act_chgnm" id="nm_act_chgnm" value="<?=$nm_act_chgnm?>"> 회</td>
  50. </tr>
  51. <tr>
  52. <th>자동차보험 특수 사고이력(전손, 침수, 도난)</th>
  53. <td>전손 : <input type="text" class="inp_txt" style="width:80px;" name="nm_act_s1" id="nm_act_s1" value="<?=$nm_act_s1?>">, 도난 : <input type="text" class="inp_txt" style="width:80px;" name="nm_act_s4" id="nm_act_s4" value="<?=$nm_act_s4?>">, 침수(전손 : <input type="text" class="inp_txt" style="width:80px;" name="nm_act_s2" id="nm_act_s2" value="<?=$nm_act_s2?>">, 분손 : <input type="text" class="inp_txt" style="width:80px;" name="nm_act_s3" id="nm_act_s3" value="<?=$nm_act_s3?>"> )</td>
  54. </tr>
  55. <tr>
  56. <th>보험사고이력(내차 피해)</th>
  57. <td><input type="text" class="inp_txt" style="width:80px;" name="nm_act_my" id="nm_act_my" value="<?=$nm_act_my?>"> 회, <input type="text" class="inp_txt" style="width:150px;" name="nm_act_my_amt" id="nm_act_my_amt" value="<?=$nm_act_my_amt?>"> 원</td>
  58. </tr>
  59. <tr>
  60. <th>보험사고이력(타차 피해)</th>
  61. <td><input type="text" class="inp_txt" style="width:80px;" name="nm_act_other" id="nm_act_other" value="<?=$nm_act_other?>"> 회, <input type="text" class="inp_txt" style="width:150px;" name="nm_act_other_amt" id="nm_act_other_amt" value="<?=$nm_act_other_amt?>"> 원</td>
  62. </tr>
  63. </table>
  64. <p class="notice01">자동차보험 사고기록이 없었다고 해서 반드시 무사고라고 할 수는 없습니다.</p>
  65. <h5>1. 자동차 용도 이력정보</h5>
  66. <table class="tbl_data">
  67. <colgroup>
  68. <col width="35%">
  69. <col width="*">
  70. </colgroup>
  71. <tr>
  72. <th>대여용도 사용이력(렌터카)</th>
  73. <td><input type="text" class="inp_txt" style="width:290px;" name="nm_act_use_record_lend" id="nm_act_use_record_lend" value="<?=$nm_act_use_record_lend?>"></td>
  74. </tr>
  75. <tr>
  76. <th>영업용도 사용이력</th>
  77. <td><input type="text" class="inp_txt" style="width:290px;" name="nm_act_use_record_biz" id="nm_act_use_record_biz" value="<?=$nm_act_use_record_biz?>"></td>
  78. </tr>
  79. <tr>
  80. <th>관용용도 사용이력</th>
  81. <td><input type="text" class="inp_txt" style="width:290px;" name="nm_act_use_record_official" id="nm_act_use_record_official" value="<?=$nm_act_use_record_official?>"></td>
  82. </tr>
  83. </table>
  84. <p class="notice02">과거 자동차번호 변경기록을 모두 검색하여 제공하는 것으로 대여용(렌트카), 영업용(택시 등)으로 사용된 적이 있는지 확인할 수 있습니다.</p>
  85. <h5>2. 자동차보험 특수 사고 이력 정보</h5>
  86. <table class="tbl_data">
  87. <colgroup>
  88. <col width="35%">
  89. <col width="*">
  90. </colgroup>
  91. <tr>
  92. <th>전손 보험사고</th>
  93. <td><input type="text" class="inp_txt" style="width:290px;" name="nm_act_ins_loss" id="nm_act_ins_loss" value="<?=$nm_act_ins_loss?>"></td>
  94. </tr>
  95. <tr>
  96. <th>침수 보험사고</th>
  97. <td><input type="text" class="inp_txt" style="width:290px;" name="nm_act_ins_wet" id="nm_act_ins_wet" value="<?=$nm_act_ins_wet?>"></td>
  98. </tr>
  99. <tr>
  100. <th>도난 보험사고</th>
  101. <td><input type="text" class="inp_txt" style="width:290px;" name="nm_act_ins_robbery" id="nm_act_ins_robbery" value="<?=$nm_act_ins_robbery?>"></td>
  102. </tr>
  103. </table>
  104. <h5>3. 보험사고 이력정보 : 내차 피해</h5>
  105. <table class="tbl_data2">
  106. <colgroup>
  107. <col width="20%">
  108. <col width="20%">
  109. <col width="20%">
  110. <col width="20%">
  111. <col width="20%">
  112. </colgroup>
  113. <thead>
  114. <tr>
  115. <th>사고일자</th>
  116. <th>부품</th>
  117. <th>공임</th>
  118. <th>도장</th>
  119. <th>총 수리비용</th>
  120. </tr>
  121. </thead>
  122. <tbody>
  123. <tr>
  124. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_01" id="ds_g1_01" value="<?=$ds_g1_01?>"></th>
  125. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_02" id="ds_g1_02" value="<?=$ds_g1_02?>">원</td>
  126. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_03" id="ds_g1_03" value="<?=$ds_g1_03?>">원</td>
  127. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_04" id="ds_g1_04" value="<?=$ds_g1_04?>">원</td>
  128. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_05" id="ds_g1_05" value="<?=$ds_g1_05?>">원</td>
  129. </tr>
  130. <tr>
  131. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_01" id="ds_g2_01" value="<?=$ds_g2_01?>"></th>
  132. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_02" id="ds_g2_02" value="<?=$ds_g2_02?>">원</td>
  133. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_03" id="ds_g2_03" value="<?=$ds_g2_03?>">원</td>
  134. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_04" id="ds_g2_04" value="<?=$ds_g2_04?>">원</td>
  135. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_05" id="ds_g2_05" value="<?=$ds_g2_05?>">원</td>
  136. </tr>
  137. <tr>
  138. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_01" id="ds_g3_01" value="<?=$ds_g3_01?>"></th>
  139. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_02" id="ds_g3_02" value="<?=$ds_g3_02?>">원</td>
  140. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_03" id="ds_g3_03" value="<?=$ds_g3_03?>">원</td>
  141. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_04" id="ds_g3_04" value="<?=$ds_g3_04?>">원</td>
  142. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_05" id="ds_g3_05" value="<?=$ds_g3_05?>">원</td>
  143. </tr>
  144. <tr>
  145. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  146. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  147. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  148. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  149. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  150. </tr>
  151. </tbody>
  152. </table>
  153. <h5>4. 자동차번호/소유 변경이력 정보</h5>
  154. <table class="tbl_data2">
  155. <colgroup>
  156. <col width="25%">
  157. <col width="25%">
  158. <col width="25%">
  159. <col width="25%">
  160. </colgroup>
  161. <thead>
  162. <tr>
  163. <th>변경등록일</th>
  164. <th>변경</th>
  165. <th>차량번호</th>
  166. <th>차량용도</th>
  167. </tr>
  168. </thead>
  169. <tbody>
  170. <tr>
  171. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_01" id="ds_g1_01" value="<?=$ds_g1_01?>"></th>
  172. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_02" id="ds_g1_02" value="<?=$ds_g1_02?>"></td>
  173. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_03" id="ds_g1_03" value="<?=$ds_g1_03?>"></td>
  174. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_04" id="ds_g1_04" value="<?=$ds_g1_04?>"></td>
  175. </tr>
  176. <tr>
  177. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_01" id="ds_g2_01" value="<?=$ds_g2_01?>"></th>
  178. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_02" id="ds_g2_02" value="<?=$ds_g2_02?>"></td>
  179. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_03" id="ds_g2_03" value="<?=$ds_g2_03?>"></td>
  180. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_04" id="ds_g2_04" value="<?=$ds_g2_04?>"></td>
  181. </tr>
  182. <tr>
  183. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_01" id="ds_g3_01" value="<?=$ds_g3_01?>"></th>
  184. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_02" id="ds_g3_02" value="<?=$ds_g3_02?>"></td>
  185. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_03" id="ds_g3_03" value="<?=$ds_g3_03?>"></td>
  186. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_04" id="ds_g3_04" value="<?=$ds_g3_04?>"></td>
  187. </tr>
  188. <tr>
  189. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  190. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>"></td>
  191. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>"></td>
  192. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>"></td>
  193. </tr>
  194. <tr>
  195. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  196. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>"></td>
  197. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>"></td>
  198. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>"></td>
  199. </tr>
  200. <tr>
  201. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  202. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>"></td>
  203. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>"></td>
  204. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>"></td>
  205. </tr>
  206. <tr>
  207. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  208. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>"></td>
  209. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>"></td>
  210. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>"></td>
  211. </tr>
  212. <tr>
  213. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  214. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>"></td>
  215. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>"></td>
  216. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>"></td>
  217. </tr>
  218. <tr>
  219. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  220. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>"></td>
  221. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>"></td>
  222. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>"></td>
  223. </tr>
  224. <tr>
  225. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  226. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>"></td>
  227. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>"></td>
  228. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>"></td>
  229. </tr>
  230. </tbody>
  231. </table>
  232. <h5>5. 자동차 특수 사고 이력 정보</h5>
  233. <table class="tbl_data">
  234. <colgroup>
  235. <col width="35%">
  236. <col width="*">
  237. </colgroup>
  238. <tr>
  239. <td><input type="text" class="inp_txt" style="width:500px;" name="nm_act_ins_loss" id="nm_act_ins_loss" value="<?=$nm_act_ins_loss?>"></td>
  240. </tr>
  241. </table>
  242. <h5>6. 보험사고이력 상세 정보 : 상대차 사고 발생</h5>
  243. <table class="tbl_data2">
  244. <colgroup>
  245. <col width="20%">
  246. <col width="20%">
  247. <col width="20%">
  248. <col width="20%">
  249. <col width="20%">
  250. </colgroup>
  251. <thead>
  252. <tr>
  253. <th>사고일자</th>
  254. <th>부품</th>
  255. <th>공임</th>
  256. <th>도장</th>
  257. <th>총 수리비용</th>
  258. </tr>
  259. </thead>
  260. <tbody>
  261. <tr>
  262. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_01" id="ds_g1_01" value="<?=$ds_g1_01?>"></th>
  263. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_02" id="ds_g1_02" value="<?=$ds_g1_02?>">원</td>
  264. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_03" id="ds_g1_03" value="<?=$ds_g1_03?>">원</td>
  265. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_04" id="ds_g1_04" value="<?=$ds_g1_04?>">원</td>
  266. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g1_05" id="ds_g1_05" value="<?=$ds_g1_05?>">원</td>
  267. </tr>
  268. <tr>
  269. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_01" id="ds_g2_01" value="<?=$ds_g2_01?>"></th>
  270. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_02" id="ds_g2_02" value="<?=$ds_g2_02?>">원</td>
  271. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_03" id="ds_g2_03" value="<?=$ds_g2_03?>">원</td>
  272. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_04" id="ds_g2_04" value="<?=$ds_g2_04?>">원</td>
  273. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g2_05" id="ds_g2_05" value="<?=$ds_g2_05?>">원</td>
  274. </tr>
  275. <tr>
  276. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_01" id="ds_g3_01" value="<?=$ds_g3_01?>"></th>
  277. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_02" id="ds_g3_02" value="<?=$ds_g3_02?>">원</td>
  278. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_03" id="ds_g3_03" value="<?=$ds_g3_03?>">원</td>
  279. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_04" id="ds_g3_04" value="<?=$ds_g3_04?>">원</td>
  280. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g3_05" id="ds_g3_05" value="<?=$ds_g3_05?>">원</td>
  281. </tr>
  282. <tr>
  283. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  284. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  285. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  286. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  287. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  288. </tr>
  289. <tr>
  290. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  291. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  292. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  293. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  294. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  295. </tr>
  296. <tr>
  297. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  298. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  299. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  300. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  301. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  302. </tr>
  303. <tr>
  304. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  305. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  306. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  307. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  308. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  309. </tr>
  310. <tr>
  311. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  312. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  313. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  314. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  315. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  316. </tr>
  317. <tr>
  318. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  319. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  320. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  321. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  322. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  323. </tr>
  324. <tr>
  325. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  326. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  327. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  328. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  329. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  330. </tr>
  331. <tr>
  332. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  333. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  334. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  335. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  336. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  337. </tr>
  338. <tr>
  339. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  340. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  341. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  342. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  343. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  344. </tr>
  345. <tr>
  346. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  347. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  348. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  349. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  350. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  351. </tr>
  352. <tr>
  353. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  354. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  355. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  356. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  357. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  358. </tr>
  359. <tr>
  360. <th><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_01" id="ds_g4_01" value="<?=$ds_g4_01?>"></th>
  361. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_02" id="ds_g4_02" value="<?=$ds_g4_02?>">원</td>
  362. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_03" id="ds_g4_03" value="<?=$ds_g4_03?>">원</td>
  363. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_04" id="ds_g4_04" value="<?=$ds_g4_04?>">원</td>
  364. <td><input type="text" class="inp_txt" style="width:150px;" name="ds_g4_05" id="ds_g4_05" value="<?=$ds_g4_05?>">원</td>
  365. </tr>
  366. </tbody>
  367. </table>
  368. </form>
  369. </div>
  370. <div class="btn_center">
  371. <a href="#" class="rnd_btn ty2 black" id="btn_write">등록</a>
  372. </div>
  373. </div>
  374. <!-- // layer popup1 -->
  375. <!-- layer popup2 -->
  376. <div class="layer_popup return_popup">
  377. <div class="close">팝업닫기</div>
  378. <div class="tit">반려사유</div>
  379. <form id="frmFormReturn" name="frmForm" method="post" enctype="multipart/form-data">
  380. <input type="hidden" name="cd_sale" id="cd_sale" value="<?=$cd_sale?>"/>
  381. <input type="hidden" name="mode" id="mode" value="Return"/>
  382. <div class="cont">
  383. <p class="return_msg"><textarea name="nm_cont_return" id="nm_cont_return"><?=$nm_cont_return_sale?></textarea></p>
  384. </div>
  385. </form>
  386. <div class="btn_center">
  387. <a href="#" class="rnd_btn ty2 black" id="btn_write_return">전송</a>
  388. </div>
  389. </div>
  390. <!-- // layer popup2 -->
  391. <form id="frmFormConfirm" name="delFrm" method="post" action="/sell/proc.php">
  392. <input type="hidden" name="mode" id="mode" value="Confirm"/>
  393. <input type="hidden" name="cd_sale" id="cd_sale" value="<?=$cd_sale?>"/>
  394. </form>
  395. <script>
  396. // 담당자코멘트 저장
  397. function sendFormGuide(){
  398. var sdata = new FormData();
  399. $("#frmFormGuide input, #frmFormGuide select, #frmFormGuide textarea").each(function(idx, item){
  400. var _inputName = $(this).attr("name");
  401. var _inputVale = $(this).val();
  402. var _inputType = $(this).attr("type");
  403. if(_inputType == "radio" || _inputType == "checkbox"){
  404. console.log(_inputName);
  405. console.log(_inputVale);
  406. _inputVale = $("[name="+_inputName+"]:checked").val();
  407. if($(this).prop("checked")){
  408. sdata.append(_inputName, _inputVale);
  409. }
  410. }else{
  411. sdata.append(_inputName, _inputVale);
  412. }
  413. });
  414. var url = "/sell/proc.php";
  415. $.ajax({
  416. url: url,
  417. type: 'post',
  418. data: sdata,
  419. //dataType: 'json',
  420. processData: false,
  421. contentType: false,
  422. success: function(res) {
  423. if(res == "200"){
  424. alert("정상처리 되었습니다.");
  425. }else{
  426. alert("실패하였습니다. 다시 시도해 주세요.");
  427. }
  428. }
  429. });
  430. }
  431. // 보험이력 저장
  432. function sendForm(){
  433. var sdata = new FormData();
  434. $("#frmForm input, #frmForm select, #frmForm textarea").each(function(idx, item){
  435. var _inputName = $(this).attr("name");
  436. var _inputVale = $(this).val();
  437. var _inputType = $(this).attr("type");
  438. if(_inputType == "radio" || _inputType == "checkbox"){
  439. console.log(_inputName);
  440. console.log(_inputVale);
  441. _inputVale = $("[name="+_inputName+"]:checked").val();
  442. if($(this).prop("checked")){
  443. sdata.append(_inputName, _inputVale);
  444. }
  445. }else{
  446. sdata.append(_inputName, _inputVale);
  447. }
  448. });
  449. var url = "/sell/proc.php";
  450. $.ajax({
  451. url: url,
  452. type: 'post',
  453. data: sdata,
  454. //dataType: 'json',
  455. processData: false,
  456. contentType: false,
  457. success: function(res) {
  458. if(res == "200"){
  459. alert("정상처리 되었습니다.");
  460. $('#nm_act_yn').val("Y");
  461. closePopup("history");
  462. }else{
  463. alert("실패하였습니다. 다시 시도해 주세요.");
  464. }
  465. }
  466. });
  467. }
  468. // 반려 사유 저장
  469. function sendFormReturn(){
  470. var sdata = new FormData();
  471. $("#frmFormReturn input, #frmFormReturn select, #frmFormReturn textarea").each(function(idx, item){
  472. var _inputName = $(this).attr("name");
  473. var _inputVale = $(this).val();
  474. var _inputType = $(this).attr("type");
  475. if(_inputType == "radio" || _inputType == "checkbox"){
  476. console.log(_inputName);
  477. console.log(_inputVale);
  478. _inputVale = $("[name="+_inputName+"]:checked").val();
  479. if($(this).prop("checked")){
  480. sdata.append(_inputName, _inputVale);
  481. }
  482. }else{
  483. sdata.append(_inputName, _inputVale);
  484. }
  485. });
  486. var url = "/sell/proc.php";
  487. $.ajax({
  488. url: url,
  489. type: 'post',
  490. data: sdata,
  491. //dataType: 'json',
  492. processData: false,
  493. contentType: false,
  494. success: function(res) {
  495. if(res == "200"){
  496. alert("정상처리 되었습니다.");
  497. // $('#nm_act_yn').val("Y");
  498. closePopup("return");
  499. }else{
  500. alert("실패하였습니다. 다시 시도해 주세요.");
  501. }
  502. }
  503. });
  504. }
  505. // 승인
  506. function sendFormConfirm(){
  507. var sdata = new FormData();
  508. $("#frmFormConfirm input, #frmFormConfirm select, #frmFormConfirm textarea").each(function(idx, item){
  509. var _inputName = $(this).attr("name");
  510. var _inputVale = $(this).val();
  511. var _inputType = $(this).attr("type");
  512. if(_inputType == "radio" || _inputType == "checkbox"){
  513. console.log(_inputName);
  514. console.log(_inputVale);
  515. _inputVale = $("[name="+_inputName+"]:checked").val();
  516. if($(this).prop("checked")){
  517. sdata.append(_inputName, _inputVale);
  518. }
  519. }else{
  520. sdata.append(_inputName, _inputVale);
  521. }
  522. });
  523. var url = "/sell/proc.php";
  524. $.ajax({
  525. url: url,
  526. type: 'post',
  527. data: sdata,
  528. //dataType: 'json',
  529. processData: false,
  530. contentType: false,
  531. success: function(res) {
  532. if(res == "200"){
  533. alert("정상처리 되었습니다.");
  534. }else{
  535. alert("실패하였습니다. 다시 시도해 주세요.");
  536. }
  537. }
  538. });
  539. }
  540. </script>
  541. <script language="javascript" type="text/javascript">
  542. $(document).ready(function() {
  543. $("#btn_guide").bind("click",function(){
  544. var fieldlist = [["nm_guide","담당자코멘트"]] ;
  545. if (!fnCheckForm(fieldlist)){
  546. return false;
  547. }
  548. var c = confirm("처리하시겠습니까?");
  549. if(c){
  550. sendFormGuide();
  551. }else{
  552. return false;
  553. }
  554. });
  555. $("#btn_write").bind("click",function(){
  556. var fieldlist = [["nm_act_general_spec","자동차 일반사양"],["nm_act_use_record","자동차 용도이력"],["nm_act_chgno","자동차 번호 변경횟수"],["nm_act_chgnm","자동차 소유자 변경횟수"],["nm_act_s1","자동차보험 특수 사고이력(전손)"],["nm_act_s4","자동차보험 특수 사고이력(도난)"],["nm_act_s2","자동차보험 특수 사고이력(침수)"],["nm_act_s3","자동차보험 특수 사고이력(침수)"],["nm_act_my","보험사고이력(내차 피해)"],["nm_act_my_amt","보험사고이력(내차 피해)"],["nm_act_other","보험사고이력(타차 피해)"],["nm_act_other_amt","보험사고이력(타차 피해)"],["nm_act_use_record_lend","대여용도 사용이력(렌터카)"],["nm_act_use_record_biz","영업용도 사용이력"],["nm_act_use_record_official","관용용도 사용이력"],["nm_act_ins_loss","전손 보험사고"],["nm_act_ins_wet","침수 보험사고"],["nm_act_ins_robbery","도난 보험사고"]] ;
  557. // var fieldlist = [["nm_act_general_spec","자동차 일반사양"]] ;
  558. if (!fnCheckForm(fieldlist)){
  559. return false;
  560. }
  561. var c = confirm("처리하시겠습니까?");
  562. if(c){
  563. sendForm();
  564. }else{
  565. return false;
  566. }
  567. });
  568. $("#btn_write_return").bind("click",function(){
  569. var fieldlist = [["nm_cont_return","반려 사유"]] ;
  570. if (!fnCheckForm(fieldlist)){
  571. return false;
  572. }
  573. var c = confirm("처리하시겠습니까?");
  574. if(c){
  575. sendFormReturn();
  576. }else{
  577. return false;
  578. }
  579. });
  580. $("#btn_confirm").bind("click",function(){
  581. if ($('#nm_act_yn').val() != "Y"){
  582. alert("보험처리 이력정보를 등록해 주십시요.");
  583. return false;
  584. }
  585. var c = confirm("처리하시겠습니까?");
  586. if(c){
  587. sendFormConfirm();
  588. }else{
  589. return false;
  590. }
  591. });
  592. });
  593. </script>