add.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <form id="form" action="{:url('order/add')}">
  2. <div class="titlebar"><i class="iconfont icon-text_icon"></i>增加订单</div>
  3. <table class="formtable">
  4. <tr>
  5. <th>用户:</th>
  6. <td>
  7. <input readonly="readonly" id="uid" class="readonly input w100" type="text" name="uid" value="0"/>
  8. <button url="{:url('system/passport.user/selectUser')}" data="uid" type="button" class="selectid button">
  9. <i class="iconfont icon-my_icon"></i>选择用户
  10. </button>
  11. </td>
  12. </tr>
  13. <tr>
  14. <th>产品:</th>
  15. <td>
  16. <input readonly="readonly" id="product_id" class="readonly input w100" type="text" name="product_id" value="0"/>
  17. <button url="{:url('order/selectProduct')}" data="product_id" type="button" class="selectid button">
  18. <i class="iconfont icon-my_icon"></i>选择产品
  19. </button>
  20. </td>
  21. </tr>
  22. <tr>
  23. <th>标题:</th>
  24. <td><input class="input w400" datatype="*" type="text" name="title"/></td>
  25. </tr>
  26. <tr>
  27. <th>问题:</th>
  28. <td><input class="input w400" datatype="*" type="text" name="question"/></td>
  29. </tr>
  30. <tr>
  31. <th>姓名:</th>
  32. <td><input class="input w100" datatype="*" type="text" name="realname"/></td>
  33. </tr>
  34. <tr>
  35. <th>电话:</th>
  36. <td><input class="input w120" datatype="*" type="text" name="phone"/></td>
  37. </tr>
  38. <tr>
  39. <th>住址:</th>
  40. <td><input class="input w400" datatype="*" type="text" name="address"/></td>
  41. </tr>
  42. <tr>
  43. <th>紧急程度:</th>
  44. <td>
  45. <select class="select w200" datatype="*" name="urgent" class="select">
  46. <option value="0">一般</option>
  47. <option value="1">中等</option>
  48. <option value="2">危险</option>
  49. <option value="3">超急</option>
  50. </select>
  51. </td>
  52. </tr>
  53. <tr>
  54. <th>
  55. <input type="hidden" name="img" id="img_index"/>
  56. <button url="{:url('system/passport.common/upload')}" type="button" class="button selectid"><i class="iconfont icon-pic"></i>选择图片
  57. </button>
  58. </th>
  59. <td id="imgbox"></td>
  60. </tr>
  61. <tr>
  62. <th></th>
  63. <td>
  64. <input type="submit" value="确定" class="button button-blue submit" />
  65. <input type="reset" value="重置" class="button button-blank"/>
  66. </td>
  67. </tr>
  68. </table>
  69. </div>
  70. </form>
  71. <script type="text/javascript">
  72. Do('base','layer','form','date',function () {
  73. $('#form').isForm();
  74. $(".selectid").win();
  75. })
  76. </script>