edit_storage.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <div class="eject_con">
  2. <div id="warning" class="alert alert-error"></div>
  3. <form method="post" action="{:url('Sellergoodsonline/edit_storage')}" id="jingle_form" onsubmit="ds_ajaxpost('jingle_form');return false;">
  4. <input type="hidden" name="commonid" value="{$Request.param.commonid}" />
  5. <table border="0" cellpadding="0" cellspacing="0" class="spec_table">
  6. <thead>
  7. <th class="w200">{$Think.lang.store_goods_index_goods_name}</th>
  8. <th class="w100">{$Think.lang.market_price}</th>
  9. <th class="w100"><span class="red">*</span>{$Think.lang.store_goods_index_price}</th>
  10. <th class="w60">{$Think.lang.store_goods_index_weight}</th>
  11. <th class="w60"><span class="red">*</span>{$Think.lang.store_goods_index_stock}</th>
  12. <th class="w70">{$Think.lang.warning_value}</th>
  13. <th class="w100">{$Think.lang.store_goods_index_goods_no}</th>
  14. </thead>
  15. <tbody>
  16. {foreach name='goods_list' item='goods'}
  17. <tr>
  18. <td>{$goods.goods_name}</td>
  19. <td><input class="text price valid"{if $goodscommon_info.goods_lock} readonly="readonly"{/if} type="text" name="spec[{$goods.goods_id}][marketprice]" value="{$goods.goods_marketprice}"><em class="add-on"><i class="iconfont">&#xe65c;</i></em></td>
  20. <td><input class="text price"{if $goodscommon_info.goods_lock} readonly="readonly"{/if} type="text" name="spec[{$goods.goods_id}][price]" value="{$goods.goods_price}"><em class="add-on"><i class="iconfont">&#xe65c;</i></em></td>
  21. <td><input class="text stock" type="text" name="spec[{$goods.goods_id}][goods_weight]" value="{$goods.goods_weight}"></td>
  22. <td><input class="text stock" type="text" name="spec[{$goods.goods_id}][stock]" value="{$goods.goods_storage}"></td>
  23. <td><input class="text stock" type="text" name="spec[{$goods.goods_id}][alarm]" value="{$goods.goods_storage_alarm}"></td>
  24. <td><input class="text sku" type="text" name="spec[{$goods.goods_id}][sku]" value="{$goods.goods_serial}"></td>
  25. </tr>
  26. {/foreach}
  27. </tbody>
  28. </table>
  29. <div class="bottom">
  30. <input type="submit" class="submit" value="{$Think.lang.ds_submit}"/>
  31. </div>
  32. </form>
  33. </div>