{extend name="./layout"}

{block name="content"}

<div class="choose-item">
    <div class="choose-left">商品分类：</div>
    <div class="choose-right">
        <select class="text" name="cateid" id="cateid" onchange="selectcateid()">
            <option value="">请选择分类</option>
            {foreach $categorys as $v}
            <option value="{$v.id}">{$v.name}</option>
            {/foreach}
        </select>
    </div>
</div>

<div class="choose-item">
    <div class="choose-left">商品名称：</div>
    <div class="choose-right">
        <select class="text" name="goodid" id="goodid" onchange="selectgoodid()">
            <option value="">请选择商品</option>
        </select>
        <span style="float: none;" class="tip" id="goodInvent"></span>
    </div>
</div>
{/block}