<!--if($vd['totlerow'] == 0) {-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right" colspan="20">无任何记录</td>
  </tr>
</table>
<!--}-->
<form id="cform" name="form" method="post" action="index.php?m=mod_b2b&c=customer&a=ItemDeal" onsubmit="return Check();">
<table id="tbody"  border="0" cellspacing="0" cellpadding="0">
  <!--foreach($vd['items'] as $item) {-->
  <tr onmouseover="setoverbg(this)" onmouseout="setoutbg(this)">
    <td width="30px">
      <input type="checkbox" name="id[]" id="idchk_{$item['ordid']}" class="checkbox" value="{$item['ordid']}" onclick="CheckThis(this)" onFocus='this.blur()'></input>
    </td>
<!--//tbody-->
<td width="90px"><a href="index.php?m=mod_b2b&c=order&comefrom={$item['comefrom']}&by=1&inrecycle={$vd['inrecycle']}" onclick="loadDisp(1)">{#ComeFrom($item['comefrom'])}</a>(<a href="index.php?m=mod_b2b&c=order&aid={$item['aid']}&comefrom={$item['comefrom']}&by=1&inrecycle={$vd['inrecycle']}" onclick="loadDisp(1)"><font color="#ff0000">{#DisplayCode($item['aid'])}</font></a>)</td>
<td width="135px"><a href="index.php?m=mod_b2b&c=order&a=detail&ubzordno={$item['ordno']}" title="查看订单" onFocus="this.blur()" onclick="loadDisp(1)">{$item['ordno']}</a></td>
<td width="160px"><nobr><samp title="{$item['pname']}">{$item['pname']}</samp></nobr></td>
<td width="80px">{#ProductType($item['ptype'])}</td>
<td width="40px">{$item['qty']}</td>
<td width="140px">{$item['orddate']}</td>
<td width="95px">{#OrderState($item['ordstate'], $item['ptype'])}</td>
<td width="22px"><a href="index.php?m=mod_b2b&c=order&a=detail&ubzordno={$item['ordno']}" title="查看订单" onFocus="this.blur()" onclick="loadDisp(1)"><img src="{$vd['sc']}images/icon_view.gif"/></a></td>
<!--//endtbody-->
    <td width="22px">
      <!--if($vd['inrecycle']==0){-->
      <img src="{$vd['sc']}images/icon_trash.gif" onclick="delSubmit({$item['ordid']},'delitems')" alt="删除用户,可以从回收恢复" style="cursor:pointer"/>
      <!--}else{-->
      <img src="{$vd['sc']}images/destroy.gif" onclick="delSubmit({$item['ordid']},'destroyitems')" alt="销毁用户,相关信息也会被销毁,无法恢复" style="cursor:pointer"/>
      <!--}-->
    </td>
    <td class="endtd"></td>
  </tr>
  <!--}-->
  
</table>
</form>
<input type="hidden" value="{$vd['totlepage']}" id="totlePage"/>
<input type="hidden" value="{$vd['thispage']}" id="thisPage"/>
<!--if($vd['inrecycle']==0){-->
<input type="hidden" value="{$vd['recycle_num']}" id="recycle_num"/>
<!--}-->