{$cfg_title}
采购订单

供应商:{$row.vendor_name} 日期:{$row.create_date|date_format:'%Y年%m月%d日'} 单据编号:{$row.list_no|default:''}
交货地点:{$row.shipto} 交货日期:{$row.shipdate}  
摘要:{$row.description|default:''}
{foreach from=$dataitem item=ditem} {math equation="x+y" x=$total_amount|default:0 y=$ditem.number*$ditem.price*$ditem.discount|default:0 assign="total_amount"} {math equation="x+y" x=$total_number|default:0 y=$ditem.number|default:0 assign="total_number"} {/foreach}
编号 名称 型号 规格 品牌 数量 单位 单价 金额 备注
{$ditem.stock_no|default:' '} {$ditem.name|default:' '} {$ditem.model|default:' '} {$ditem.specify|default:' '} {$ditem.brand|default:' '} {$ditem.number|default:' '} {$ditem.unit|default:' '} ¥{$ditem.price*$ditem.discount|string_format:"%.02f"|default:' '} ¥{$ditem.number*$ditem.price*$ditem.discount|string_format:"%.02f"|default:' '} {$ditem.memo|default:' '}
合计 {$total_number}     ¥{$total_amount|string_format:"%.02f"}  
合计(大写)  {number2chinese value="$total_amount" default=" "}
制单:{$row.creator} 经办:{$row.handler} 审核:{$row.checker}