...
|
...
|
@@ -38,21 +38,21 @@ |
|
|
<ul class="row list-inline plupload-preview" id="p-images"></ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Spec_type')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
|
|
<select id="c-spec_type" data-rule="required" class="form-control selectpicker" name="row[spec_type]">
|
|
|
{foreach name="specTypeList" item="vo"}
|
|
|
<option value="{$key}" {in name="key" value="$row.spec_type"}selected{/in}>{$vo}</option>
|
|
|
{/foreach}
|
|
|
</select>
|
|
|
<!-- <div class="form-group">-->
|
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">{:__('Spec_type')}:</label>-->
|
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
|
<!-- -->
|
|
|
<!-- <select id="c-spec_type" data-rule="required" class="form-control selectpicker" name="row[spec_type]">-->
|
|
|
<!-- {foreach name="specTypeList" item="vo"}-->
|
|
|
<!-- <option value="{$key}" {in name="key" value="$row.spec_type"}selected{/in}>{$vo}</option>-->
|
|
|
<!-- {/foreach}-->
|
|
|
<!-- </select>-->
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
|
|
|
|
<!-- 商品规格属性 start -->
|
|
|
<div class="goods-spec-many form-group" style="display: <?= $row['spec_type'] === '20' ? 'block' : 'none' ?>;" >
|
|
|
<div class="goods-spec-many form-group" style="display: block;" >
|
|
|
<!-- <label class="control-label col-xs-12 col-sm-2"></label>-->
|
|
|
<div class="goods-spec-box col-xs-12 col-sm-11" style="background-color: white;">
|
|
|
<!-- 规格属性 -->
|
...
|
...
|
@@ -118,38 +118,38 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="goods-spec-single" style="display: <?= $row['spec_type'] === '10' ? 'block' : 'none' ?>;">
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">商品编码:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-goods_no" class="form-control form-control" name="spec[goods_no]" type="text" value="{$row.spec.0.goods_no}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">商品价格:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-goods_price" data-rule="required" class="form-control form-control" name="spec[goods_price]" type="number" value="{$row.spec.0.goods_price}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">商品划线价:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-line_price" class="form-control form-control" name="spec[line_price]" type="number" value="{$row.spec.0.line_price}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">当前库存数量:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-stock_num" class="form-control form-control" name="spec[stock_num]" type="number" value="{$row.spec.0.stock_num}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- <div class="goods-spec-single" style="display: <?= $row['spec_type'] === '10' ? 'block' : 'none' ?>;"> -->
|
|
|
<!-- <div class="form-group">-->
|
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">商品编码:</label>-->
|
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
|
<!-- <input id="c-goods_no" class="form-control form-control" name="spec[goods_no]" type="text" value="{$row.spec.0.goods_no}">-->
|
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
|
<!-- <div class="form-group">-->
|
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">商品价格:</label>-->
|
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
|
<!-- <input id="c-goods_price" data-rule="required" class="form-control form-control" name="spec[goods_price]" type="number" value="{$row.spec.0.goods_price}">-->
|
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
|
<!-- <div class="form-group">-->
|
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">商品划线价:</label>-->
|
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
|
<!-- <input id="c-line_price" class="form-control form-control" name="spec[line_price]" type="number" value="{$row.spec.0.line_price}">-->
|
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
|
<!-- <div class="form-group">-->
|
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">当前库存数量:</label>-->
|
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
|
<!-- <input id="c-stock_num" class="form-control form-control" name="spec[stock_num]" type="number" value="{$row.spec.0.stock_num}">-->
|
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
|
<!-- <div class="form-group">-->
|
|
|
<!-- <label class="control-label col-xs-12 col-sm-2">商品重量(Kg):</label>-->
|
|
|
<!-- <div class="col-xs-12 col-sm-8">-->
|
|
|
<!-- <input id="c-goods_weight" class="form-control form-control" name="spec[goods_weight]" type="number" value="{$row.spec.0.goods_weight}">-->
|
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
|
</div>
|
|
|
<!-- </div>-->
|
|
|
<!-- 商品规格属性 end -->
|
|
|
|
|
|
<!-- <div class="form-group">-->
|
...
|
...
|
|