mgdiscount_goods.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_promotion_mgdiscount}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch" id="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.ds_store_name}</dt>
  16. <dd><input type="text" value="{$Request.param.store_name}" name="store_name" id="store_name" class="txt"></dd>
  17. </dl>
  18. <div class="btn_group">
  19. <input type="submit" class="btn" value="{$Think.lang.ds_search}">
  20. <a href="{:url('Store/store')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  21. </div>
  22. </div>
  23. </form>
  24. <table class="ds-default-table">
  25. <thead>
  26. <tr class="thead">
  27. <th class="w200">{$Think.lang.ds_goods_name}</th>
  28. <th class="w120">{$Think.lang.goods_mgdiscount_arr}</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. {notempty name="goods_list"}
  33. {foreach name="goods_list" item="goods" key="k" }
  34. <tr class="hover edit">
  35. <td>
  36. {$goods.goods_name}
  37. </td>
  38. <td
  39. {foreach name="$goods.goods_mgdiscount_arr" item="goods_mgdiscount"}
  40. <br/>
  41. {$goods_mgdiscount.level_name}/{$goods_mgdiscount.level_discount}{$Think.lang.level_discount}
  42. {/foreach}
  43. </td>
  44. </tr>
  45. {/foreach}
  46. {else /}
  47. <tr class="no_data">
  48. <td colspan="15">{$Think.lang.ds_no_record}</td>
  49. </tr>
  50. {/notempty}
  51. </tbody>
  52. </table>
  53. {$show_page|raw}
  54. </div>