1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <form id="form" action="{:url('order/add')}">
- <div class="titlebar"><i class="iconfont icon-text_icon"></i>增加订单</div>
- <table class="formtable">
- <tr>
- <th>用户:</th>
- <td>
- <input readonly="readonly" id="uid" class="readonly input w100" type="text" name="uid" value="0"/>
- <button url="{:url('system/passport.user/selectUser')}" data="uid" type="button" class="selectid button">
- <i class="iconfont icon-my_icon"></i>选择用户
- </button>
- </td>
- </tr>
- <tr>
- <th>产品:</th>
- <td>
- <input readonly="readonly" id="product_id" class="readonly input w100" type="text" name="product_id" value="0"/>
- <button url="{:url('order/selectProduct')}" data="product_id" type="button" class="selectid button">
- <i class="iconfont icon-my_icon"></i>选择产品
- </button>
- </td>
- </tr>
- <tr>
- <th>标题:</th>
- <td><input class="input w400" datatype="*" type="text" name="title"/></td>
- </tr>
- <tr>
- <th>问题:</th>
- <td><input class="input w400" datatype="*" type="text" name="question"/></td>
- </tr>
- <tr>
- <th>姓名:</th>
- <td><input class="input w100" datatype="*" type="text" name="realname"/></td>
- </tr>
- <tr>
- <th>电话:</th>
- <td><input class="input w120" datatype="*" type="text" name="phone"/></td>
- </tr>
- <tr>
- <th>住址:</th>
- <td><input class="input w400" datatype="*" type="text" name="address"/></td>
- </tr>
- <tr>
- <th>紧急程度:</th>
- <td>
- <select class="select w200" datatype="*" name="urgent" class="select">
- <option value="0">一般</option>
- <option value="1">中等</option>
- <option value="2">危险</option>
- <option value="3">超急</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>
- <input type="hidden" name="img" id="img_index"/>
- <button url="{:url('system/passport.common/upload')}" type="button" class="button selectid"><i class="iconfont icon-pic"></i>选择图片
- </button>
- </th>
- <td id="imgbox"></td>
- </tr>
- <tr>
- <th></th>
- <td>
- <input type="submit" value="确定" class="button button-blue submit" />
- <input type="reset" value="重置" class="button button-blank"/>
- </td>
- </tr>
- </table>
- </div>
- </form>
- <script type="text/javascript">
- Do('base','layer','form','date',function () {
- $('#form').isForm();
- $(".selectid").win();
- })
- </script>
|