12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
- use backend\assets\AppAsset;
- AppAsset::addScript($this, Yii::$app->request->baseUrl . '/js/housenumber/housenumber.js')
- ?>
- <style>
- .layui_w_t {
- margin: 25px auto 0;
- width: 70%;
- }
- </style>
- <form class="layui-form layui-form-pane" id="signupForm">
- <div class="layui_w_t">
- <div class="layui-form-item">
- <div class="layui-inline">
- <label class="layui-form-label"><span style="color:red">*</span>楼盘号码</label>
- <div class="layui-input-block" style="width:270px;">
- <input type="text" name="number" value="<?= $model['number']; ?>"
- lay-verify="required" placeholder="多个号码以英文逗号,隔开" autocomplete="off" class="layui-input">
- </div>
- </div>
- </div>
- <div class="layui-form-item">
- <div class="layui-inline">
- <label class="layui-form-label"><span style="color:red">*</span>号码说明</label>
- <div class="layui-input-block" style="width:270px;">
- <input type="text" name="explain"
- value="<?= $model['explain']; ?>"
- lay-verify="required" placeholder="请输入号码说明" autocomplete="off" class="layui-input">
- </div>
- </div>
- </div>
- <div style="height:20px"></div>
- <div class="layui-form-item">
- <div class="layui-inline">
- <a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属楼盘</a>
- </div>
- </div>
- <div id="feng_houseall"> <!-- ;楼盘容器 -->
- <?php if (!empty($house)): ?>
- <table class="layui-table">
- <colgroup>
- <col width="150">
- <col width="50">
- <col>
- </colgroup>
- <thead>
- <tr>
- <th>楼盘名称</th>
- <th>操作</th>
- </tr>
- <?php foreach ($house as $val): ?>
- <tr>
- <tr>
- <td><?= $val['name'] ?><input type="hidden" name="hid[]" value="<?= $val['id'] ?>"></td>
- <td class="feng_houseallnamedel"><a class="layui-btn layui-btn-danger layui-btn-xs">删除</a>
- </td>
- </tr>
- </tr>
- <?php endforeach; ?>
- </thead>
- <tbody>
- </tbody>
- </table>
- <?php endif; ?>
- </div>
- <div class="layui-form-item">
- <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 0;text-align:center;">
- <input type="hidden" name="id" value="<?= $model['id'] ?>">
- <button class="layui-btn" lay-submit="" lay-filter="edittel">提 交</button>
- </div>
- </div>
- </div>
- </form>
|