报价单打印

2016-07-07 16:02 来源:www.chinab4c.com 作者:ecshop专家



如何打印如图所示的报价单
需要三栏位或四栏位



<table width="100%" cellspacing="0" cellpadding="6">
<!--{foreach from=$goods_list item=goods}-->
<!--笨方法用三个-->
<tr>
<td align="center"><img src="{$goods.goods_thumb}" width="60" height="60"></td>
<td>{$goods.goods_name}<br/>
{$lang.goods_number}{$goods.goods_number}<br/>
{$lang.cost_price}{$goods.cost_price}<br/>
<!--{if $goods.promote_price neq "" }-->
{$lang.market_price}{$goods.promote_price}<br/>
<!--{else}-->
{$lang.shop_price}{$goods.shop_price}<br/>
<!--{/if}-->
<!--{foreach from=$extend_rank[$goods.goods_key] item=ext_rank}-->
{$lang.ext_rank_price}{$ext_rank.price}</td>
<!--{/foreach}-->

<td align="center"><img src="{$goods.goods_thumb}" width="60" height="60"></td>
<td>{$goods.goods_name}<br/>
{$lang.goods_number}{$goods.goods_number}<br/>
{$lang.cost_price}{$goods.cost_price}<br/>
<!--{if $goods.promote_price neq "" }-->
{$lang.market_price}{$goods.promote_price}<br/>
<!--{else}-->
{$lang.shop_price}{$goods.shop_price}<br/>
<!--{/if}-->
<!--{foreach from=$extend_rank[$goods.goods_key] item=ext_rank}-->
{$lang.ext_rank_price}{$ext_rank.price}</td>
<!--{/foreach}-->
<td align="center"><img src="{$goods.goods_thumb}" width="60" height="60"></td>
<td>{$goods.goods_name}<br/>
{$lang.goods_number}{$goods.goods_number}<br/>
{$lang.cost_price}{$goods.cost_price}<br/>
<!--{if $goods.promote_price neq "" }-->
{$lang.market_price}{$goods.promote_price}<br/>
<!--{else}-->
{$lang.shop_price}{$goods.shop_price}<br/>
<!--{/if}-->
<!--{foreach from=$extend_rank[$goods.goods_key] item=ext_rank}-->
{$lang.ext_rank_price}{$ext_rank.price}</td>
<!--{/foreach}-->
</tr>
<!--{/foreach}-->
</table><br/>

回答:
都沒人會?自己頂一下



都沉下去了还没有人会解
这样也不对/data/quotation_print.html

Snap5.jpg


<table width="100%" cellspacing="0" cellpadding="6">

<tr>
<!--{foreach from=$goods_list item=goods}-->
<!--{if $smarty.foreach.goods_list.iteration <3 }-->
<td align="center"><img src="{$goods.goods_thumb}" width="60" height="60"></td>
<td>{$goods.goods_name}<br/>
{$lang.goods_number}{$goods.goods_number}<br/>
{$lang.cost_price}{$goods.cost_price}<br/>
<!--{if $goods.promote_price neq "" }-->
{$lang.market_price}{$goods.promote_price}<br/>
<!--{else}-->
{$lang.shop_price}{$goods.shop_price}<br/>
<!--{/if}-->
<!--{foreach from=$extend_rank[$goods.goods_key] item=ext_rank}-->
{$lang.ext_rank_price}{$ext_rank.price}</td>
<!--{/foreach}-->
<!--{else}-->
<!--{/if}-->
<!--{/foreach}-->

</tr>

</table><br/>

路过支持一下,同求答案

我只有学习的份了,支持下。

不错,顶给需要的人!!!!

路过支持一下,同求答案

努力发帖。。。赚取积分~~,管理员别封我,我也不容易!

积分达到180分,阅读权限倒30,会员等级升级到高级会员才能下载,努力赚积分中....