浏览代码

编辑更改

lchao 6 月之前
父节点
当前提交
e69ab0c097

+ 4 - 0
qmjszx-admin/src/main/resources/templates/system/session/session.html

@@ -89,6 +89,10 @@
                     title: '时段'
                 },
                 {
+                    field: 'sort',
+                    title: '排序'
+                },
+                {
                     field: 'price',
                     title: '价格'
                 },

+ 4 - 4
qmjszx-admin/src/main/resources/templates/system/site/edit.html

@@ -50,12 +50,11 @@
             <div class="form-group">
                 <label class="col-sm-3 control-label is-required">场馆名称:</label>
                 <div class="col-sm-8">
-                    <!-- 添加 value 属性绑定到 beilvSession.venueId -->
-                    <select name="venueId" class="form-control" th:value="${beilvSession.venueId}">
+                    <select name="venueId" class="form-control" th:value="${beilvSite.venueId}">
                         <option th:each="post:${beilvSitesList}"
                                 th:value="${post.id}"
                                 th:text="${post.venueName}"
-                                th:selected="${post.id == beilvSession.venueId}">
+                                th:selected="${post.id == beilvSite.venueId}">
                         </option>
                     </select>
                 </div>
@@ -84,8 +83,9 @@
     </form>
 </div>
 <th:block th:include="include :: footer"/>
-<th:block th:include="include :: summernote-js"/>
+<th:block th:include="include :: datetimepicker-js"/>
 <th:block th:include="include :: bootstrap-fileinput-js"/>
+<th:block th:include="include :: summernote-js"/>
 <script th:inline="javascript">
     var prefix = ctx + "system/site";
     $("#form-site-edit").validate({