<!-- $Id: booking_info.htm 8024 2007-04-09 06:26:44Z wj $ -->
{include file="pageheader.htm"}
<div class="list-div">
<table width="100%" cellpadding="3" cellspacing="1" >
  <tr>
    <th colspan="4">{$lang.booking}</th>
  <tr>
  <tr>
    <td align="right" class="first-cell" >{$lang.user_name}：</td>
    <td>{$booking.user_name}</td>
    <td align="right" class="first-cell" >{$lang.booking_time}：</td>
    <td>{$booking.booking_time}</td>
  </tr>
  <tr>
    <td align="right" class="first-cell" >{$lang.goods_name}：</td>
    <td><a href="../goods.php?id={$booking.goods_id}" target="_blank" title="{$lang.view}">{$booking.goods_name}</a></td>
    <td align="right" class="first-cell" >{$lang.number}：</td>
    <td>{$booking.goods_number}</td>
  </tr>
  <tr>
    <td align="right" class="first-cell" >{$lang.desc}：</td>
    <td colspan="3">{$booking.goods_desc}</td>
  </tr>
  <tr>
    <td align="right" class="first-cell" >{$lang.link_man}：</td>
    <td>{$booking.link_man} {if $booking.email}<{$booking.email}>{/if} </td>
    <td align="right" class="first-cell" >{$lang.tel}：</td>
    <td>{$booking.tel}</td>
  </tr>
  {if $booking.is_dispose}
  <tr>
    <th colspan="4" >{$lang.dispose_info}</th>
  </tr>
  <tr>
    <td align="right" class="first-cell">{$lang.dispose_user}：</td><td>{$booking.dispose_user}</td>
    <td align="right" class="first-cell">{$lang.dispose_time}：</td><td>{$booking.dispose_time}</td>
  </tr>
  <tr>
    <td align="right" class="first-cell">{$lang.note}：</td><td colspan="3">{$booking.dispose_note}</td>
  </tr>
  {/if}
</table>
</div>
<br />
<div class="form-div">
<form name='theForm' method="post" action="goods_booking.php" onsubmit="return validate()">
  {$lang.note}:&nbsp;&nbsp;<input type="text" name="dispose_note" size="55" value="{$booking.dispose_note}" />&nbsp;<input type ="hidden" name="act" value="update" /><input type="hidden" name="rec_id" value="{$booking.rec_id}" ><input type="submit" value="{$lang.i_dispose}" class="button">
</form>
</div>

{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['dispose_note'].focus();

onload = function()
{
    // 开始检查订单
    startCheckOrder();
}

/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required("dispose_note", no_note);
    return validator.passed();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}