verify_remark.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {include file="public/header" /}
  2. <form method="post" name="remark_form" id="remark_form" action="{:url('Goods/goods_verify')}">
  3. <input type="hidden" value="{$commonids}" name="commonids">
  4. <table class="ds-default-table nobdb">
  5. <tbody>
  6. <tr class="noborder">
  7. <td colspan="2" class="required"><label>{$Think.lang.verify_state}:</label></td>
  8. </tr>
  9. <tr class="noborder">
  10. <td class="vatop rowform onoff">
  11. <label for="rewrite_enabled_1" class="cb-enable selected" title="{$Think.lang.ds_yes}>"><span>{$Think.lang.ds_yes}</span></label>
  12. <label for="rewrite_disabled_2" class="cb-disable" title="{$Think.lang.ds_no}"><span>{$Think.lang.ds_no}</span></label>
  13. <input id="rewrite_enabled_1" name="verify_state" value="1" type="radio" checked="checked">
  14. <input id="rewrite_disabled_2" name="verify_state" value="0" type="radio">
  15. </td>
  16. </tr>
  17. <tr dstype="reason" style="display: none;">
  18. <td colspan="2" class="required"><label for="verify_reason">{$Think.lang.verify_reason}:</label></td>
  19. </tr>
  20. <tr class="noborder" dstype="reason" style="display :none;">
  21. <td class="vatop rowform"><textarea rows="6" class="tarea" cols="60" name="verify_reason" id="verify_reason"></textarea></td>
  22. </tr>
  23. </tbody>
  24. <tfoot>
  25. <tr class="tfoot">
  26. <td colspan="2">
  27. <input class="btn" type="submit" value="{$Think.lang.ds_submit}"/>
  28. </td>
  29. </tr>
  30. </tfoot>
  31. </table>
  32. </form>
  33. <script>
  34. $(function() {
  35. $('input[name="verify_state"]').click(function() {
  36. if ($(this).val() == 1) {
  37. $('tr[dstype="reason"]').hide();
  38. } else {
  39. $('tr[dstype="reason"]').show();
  40. }
  41. });
  42. });
  43. </script>