bill_pay.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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_bill}</h3>
  7. </div>
  8. {include file="public/admin_items" /}
  9. </div>
  10. </div>
  11. <div class="fixed-empty"></div>
  12. <form method="post" name="form1" id="form1" action="{:url('Bill/bill_pay',['ob_no'=>$Request.param.ob_no])}">
  13. <table class="ds-default-table">
  14. <tbody>
  15. <tr class="noborder">
  16. <td colspan="2" class="required"><label>{$Think.lang.bill_ob_no}{$Think.lang.ds_colon}</label></td>
  17. </tr>
  18. <tr class="noborder">
  19. <td class="vatop rowform">{$Request.param.ob_no}</td>
  20. <td class="vatop tips"></td>
  21. </tr>
  22. <tr>
  23. <td colspan="2" class="required">{$Think.lang.bill_pay_date} {$Think.lang.ds_colon}</td>
  24. </tr>
  25. <tr class="noborder">
  26. <td class="vatop rowform"><input readonly id="pay_date" class="" name="pay_date" value="" type="text" /></td>
  27. <td class="vatop tips"></td>
  28. </tr>
  29. <tr>
  30. <td colspan="2" class="required"><label for="pay_content">{$Think.lang.bill_pay_remark}{$Think.lang.ds_colon}</label></td>
  31. </tr>
  32. <tr class="noborder">
  33. <td class="vatop rowform"><textarea name="pay_content" rows="6" class="tarea" id="pay_content"></textarea></td>
  34. <td class="vatop tips"><span class="vatop rowform">{$Think.lang.bill_pay_payment_voucher}</span></td>
  35. </tr>
  36. </tbody>
  37. <tfoot id="submit-holder">
  38. <tr class="tfoot">
  39. <td colspan="2" ><a href="JavaScript:void(0);" id="dssubmit" class="btn"><span>{$Think.lang.ds_submit}</span></a></td>
  40. </tr>
  41. </tfoot>
  42. </table>
  43. </form>
  44. </div>
  45. <script type="text/javascript">
  46. $(function() {
  47. $('#pay_date').datepicker({dateFormat:'yy-mm-dd', maxDate: '{$Think.TIMESTAMP|date="Y-m-d"}'});
  48. $('#dssubmit').click(function() {
  49. if ($('#pay_date').val() == '')
  50. return false;
  51. layer.confirm("{$Think.lang.bill_submit_notice}", {
  52. btn: ['{$Think.lang.ds_ok}', '{$Think.lang.ds_cancel}'],
  53. title: false,
  54. }, function () {
  55. $('#form1').submit();
  56. });
  57. });
  58. });
  59. </script>