{template '_header'}
{ifp 'goods.add'} 添加商品 {/if}

商品管理

{if count($list)>0 && cv('goods.main')} {if $goodsfrom!='cycle'} {/if} {loop $list $item} {if $goodsfrom!='cycle'} {/if} {/loop}
排序 商品   价格 库存 销量状态操作
{ifp 'goods.edit'} {$item['displayorder']} {else} {$item['displayorder']} {/if} {if !empty($item['newgoods'])}
{/if}
{if !empty($category[$item['pcate']])} [{$category[$item['pcate']]['name']}] {/if} {if !empty($category[$item['ccate']])} [{$category[$item['ccate']]['name']}] {/if} {if !empty($category[$item['tcate']]) && intval($shopset['catlevel'])==3} [{$category[$item['tcate']]['name']}] {/if}
{ifp 'goods.edit'} {$item['title']} {else} {$item['title']} {/if}
{if $item['hasoption']==1} {ifp 'goods.edit'} {$item['marketprice']} {else} {$item['marketprice']} {/if} {else} {ifp 'goods.edit'} {$item['marketprice']} {else} {$item['marketprice']} {/if}{/if} {if !empty($item['hoteldaystock'])} {$item['hoteldaystock']}/日 {else if $item['hasoption']==1} {ifp 'goods.edit'} {$item['total']} {else} {$item['total']} {/if} {else} {ifp 'goods.edit'} {$item['total']} {else} {$item['total']} {/if} {/if} {$item['salesreal']} {if $item['status']==2}赠品{else} 1,'id'=>$item['id']))}' data-switch-value1='1|上架|label label-success|{php echo webUrl('goods/status',array('status'=>0,'id'=>$item['id']))}' {/if} > {if $item['status']==1}上架{else}下架{/if} {/if} {if !empty($item['merchid'])}
0,'id'=>$item['id']))}' data-switch-value0='0|通过|label label-success|{php echo webUrl('goods/checked',array('checked'=>1,'id'=>$item['id']))}' {/if} > {if $item['checked']==0}通过{else}审核中{/if} {/if}
{ifp 'goods.edit|goods.view'} {/if} {if $_GPC['goodsfrom']=='cycle'} {ifp 'goods.restore'} {/if} {ifp 'goods.delete1'} {/if} {else} {ifp 'goods.delete'} {/if} {/if} {if $_GPC['goodsfrom']!='cycle'} 复制链接 {/if}
{if !empty($item['merchname']) && $item['merchid'] > 0} 商户名称:{$item['merchname']} {/if} 'new', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo webUrl('goods/property',array('type'=>'new','data'=>0,'id'=>$item['id']))}' {/if} >新品 'hot', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo webUrl('goods/property',array('type'=>'hot','data'=>0,'id'=>$item['id']))}' {/if} >热卖 'recommand', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo webUrl('goods/property',array('type'=>'recommand','data'=>0,'id'=>$item['id']))}' {/if} >推荐 'discount', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo webUrl('goods/property',array('type'=>'discount','data'=>0,'id'=>$item['id']))}' {/if} >促销 'sendfree', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo webUrl('goods/property',array('type'=>'sendfree','data'=>0,'id'=>$item['id']))}' {/if} >包邮 'time', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo webUrl('goods/property',array('type'=>'time','data'=>0,'id'=>$item['id']))}' {/if} >限时卖 'nodiscount', 'data'=>1,'id'=>$item['id']))}' data-switch-value1='1||text-danger|{php echo webUrl('goods/property',array('type'=>'nodiscount','data'=>0,'id'=>$item['id']))}' {/if} >不参与折扣
{$pager} {else}
暂时没有任何商品!
{/if} {template '_footer'}