浏览代码

后台控制打印状态

lxp 1 年之前
父节点
当前提交
f082bfad73

+ 1 - 1
yinet-admin/src/main/resources/templates/rlzy/apply/apply.html

@@ -153,7 +153,7 @@
         }
         function show(id){
             $.modal.open("查看","/rlzy/apply/edit/"+id,1020,760);
-            $('.layui-layer-btn0').attr("style","display: none;");
+            $('.layui-layer-btn0').text("保存");
             $('.layui-layer-btn1').text("关闭")
         }
     </script>

+ 24 - 0
yinet-admin/src/main/resources/templates/rlzy/apply/edit.html

@@ -171,6 +171,30 @@
                     </div>
                 </div>
             </div>
+            <div class="row">
+                <div class="col-sm-6">
+                    <div class="form-group">
+                        <label class="col-sm-4 control-label">打印正本:</label>
+                        <div class="col-sm-8">
+                            <div class="radio-box" th:each="dict : ${@dict.getType('sys_dy')}">
+                                <input type="radio" th:field="*{iszprint}" th:id="${dict.dictCode}" name="iszprint" th:value="${dict.dictValue}" th:checked="${dict.default}">
+                                <label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="col-sm-6">
+                    <div class="form-group">
+                        <label class="col-sm-4 control-label">打印副本:</label>
+                        <div class="col-sm-8">
+                            <div class="radio-box" th:each="dict : ${@dict.getType('sys_dy')}">
+                                <input type="radio" th:field="*{isfprint}" th:id="${dict.dictCode}" name="isfprint" th:value="${dict.dictValue}" th:checked="${dict.default}">
+                                <label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
         </form>
     </div>