<{if count($sItem.po)}>
以下商品供应商缺货,待补货
<{else}>
供应商:<{$sItem.name}>采购单状态:未下单
<{/if}>
<{foreach from=$sItem.local item=localItem key=local_bn}> style="background-color:#CCEEDD;"<{elseif $localItem.stock_status===1}> style="background-color:#FFD850;"<{elseif $localItem.stock_status===2}> style="background-color:#FFA0A0;"<{elseif $localItem.stock_status===3}> style="background-color:#E8E8E8;color:#999999;"<{/if}>> <{if $localItem.status == 'deleted'}>货品删除 <{elseif $localItem.status == 'shelves'}>货品下架 <{else}> <{if $localItem.stock>0}><{$localItem.stock}><{elseif $localItem.stock===0}>无货<{elseif $localItem.stock===-1}>充足<{else}>请先询价<{/if}> <{/if}> <{/foreach}>
货号 商品名称 销售价格 采购价 购买量<{t}>修改<{/t}> 供应商库存 小计
<{$localItem.dealer_bn}> <{if $localItem.goods_id}><{$localItem.name}><{else}><{$localItem.name}><{/if}> <{$localItem.price|cur}> <{if $localItem.po_price!==NULL}>¥<{$localItem.po_price}><{else}>请先询价<{/if}> <{if $localItem.stock===null||$localItem.stock===''}>请先询价<{else}>¥<{$localItem.amount}><{/if}>
总计:<{if $sItem.total_amount}><{$sItem.total_amount|b2bcur:$supplier_id}><{/if}>
disabled="disabled"<{/if}> name="butsubmit" value="向供应商下单" class="but-local-makepo btn wd3"/>