/home/mjc1/public_html/onlinecs/mobile/buyWrite_new1.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<? 
include_once("./_common.php");
include(
"./header.php");
include(
"./commonST.php");


if(
$_GET['uid']==''){
    
$_SESSION['edit_start'] = null;
}

include(
"./buyWrite_lib.inc.php"); // 옵션설정이나 파라메터 정보를 처리함 여러페이지에서 사용해야되서 인클루드 처리함

?>
<div class="snb">
            <p class="txt">태성수산 발주등록<br>문의전화 : 055-222-0527</p>
        </div>

        <div class="tab_section">
<style>

</style>
<form name='new_basic_form' id='new_basic_form' method='post' onsubmit='return false;'>
    <input type='hidden' name='sel_del' value=''>

    <input name="uid" value="<?php  echo $uid;?>" type="hidden" >
    <input name="new" value="<?php  echo $new;?>" type="hidden" >
    <input name="ocopy" value="<?php  echo $ocopy;?>" type="hidden" >
    <input name="ocode" value="<?php  echo $sacode;?>" type="hidden" >
    <input name="ccode" value="<?php  echo $cuscode;?>" type="hidden" >
    <input name="time" value="<?php  echo $timenow;?>" type="hidden" >
    <input name="txtdate_hidden" value="<?php  echo $txtdate;?>" type="hidden" >
    <input name="txtdate2_hidden" value="<?php  echo $txtdate2;?>" type="hidden" >
    <input name="today" value="<?php  echo $today;?>" type="hidden" >
    <input name="ordstate" value="<?php  echo $Orow['ordstate'];?>" type="hidden">
    <input name="optlimit" value="<?php  echo $optlimit;?>" type="hidden">
    <input name="optsmoney" value="<?php  echo $optsmoney;?>" type="hidden">
    <input name="optregdate" value="<?php  echo $optregdate;?>" type="hidden">    
    <input type="hidden" name="unlimited" id="unlimited" value="<?php  echo $limit_amt;?>">
            <div class="search">
                <h2 class="screen_out">주문정보</h2>
                <div class="order odd">
                    <h3>주문일자</h3>    
                    <p><input type="text" class="it readonly_class" name='orddate' id='orddate' value='<?php  echo $orddate;?>' readonly></p>
                </div>
                <div class="order">
                    <h3>납품일자</h3>
                    <p><input type="text" class="it deldate_class" name='deldate' id='deldate' value='<?php  echo $deldate;?>'></p>
                </div>
                <div class="order_w">
                    <h3>미수잔액</h3>
                    <p><input type="text" class="it red cost readonly_class" value='<?php echo number_format($cuso['curn_baln_sale']);?>'></p>
                </div>
                <div class="order odd">
                    <h3>한도잔액</h3>    
                    <p>
                        <input name="limitbaln" id="limitbaln" type="hidden" value="<?php echo $Lrow['$limit_amt']?>" >
                        <input name="misu" type="hidden" value="<?php echo $Lrow['misu'];?>" >
                        <input type="text" class="it red cost readonly_class" value="<?php echo number_format("$defaultlimitmoney");?>">
                    </p>
                </div>
                <div class="order">
                    <h3>한도금액</h3>
                    <p><input type="text" class="it red cost readonly_class" value="<?php echo number_format($cuso['limitbaln']);?>"></p>
                </div>
                <div class="order_w">
                    <h3>결제계좌</h3>
                    <p><!--<input type="text" class="it readonly_class" value="<?php echo "{$bank_info['bankalias']} {$bank_info['acntnumber']} {$bank_info['accountholder']}";?>">--><input type="text" class="it readonly_class" value="<?php echo $cms_bank['bankalias']." ".$customer_row['cms_acntnumber']." ".$customer_row['cms_accountholder']; //echo "{$customer_row['code2']}";?>"></p>
                </div>
            </div><!-- 접수확인 -->
</form>

            <div class="btn_total">
                <span class="b2 b_blue saveorder_btn" style='width:30%;margin-left:33%;'><a class='order_start_class'>주문하러가기</a></span>
            </div>
            <br>
        </div><!-- //tab_section -->
<script>
$(function(){
    $(".order_start_class").click(function(){
        $form_obj = $("#new_basic_form");
        $form_obj.find("input[name='sel_del']").val("start_save");
        form_data = $form_obj.serialize();
        $.post("ajax.buyWrite_new_process.php",form_data,function(rtn){
            $("#modal_member_box").html(rtn);
        });
    });
});
</script>
<? include("./footer.php"); ?>
<?php
if($_SERVER['REMOTE_ADDR']=='58.151.27.172'){
    
//print_r($_POST); exit;
    //print_r($_SESSION);
}
?>
<link rel="stylesheet" type="text/css" href="js/jqueryui/jquery-ui.css" />
<div id="modal_member_box" title="거래처수정" style="display:none;width:100%; height:100%; padding-top:3px;padding-left:3px;background-color:#FFFFFF;position:relative;"></div>