Sfoglia il codice sorgente

查看报销凭证优化

ly 10 mesi fa
parent
commit
e3c9ec9d51

+ 1 - 1
src/main/resources/templates/annualbudget/update_annualbudget.html

@@ -575,7 +575,7 @@
575 575
                 return false;
576 576
             }
577 577
             if ( ysje < ndczje){
578
-                Message.error("预算金额不能小于年度经费!",1500);
578
+                Message.error("预算金额“”?:“”/不能小于年度经费!",1500);
579 579
                 return false;
580 580
             }
581 581
             if (rwsys == "") {

+ 8 - 0
src/main/resources/templates/payapply/mylist.html

@@ -58,6 +58,9 @@
58 58
 
59 59
         <script type="text/html" id="toolbarDemo">
60 60
             <div class="layui-btn-container">
61
+                <button class="layui-btn layui-btn-sm data-add-btn" lay-event="payRequest">
62
+                    <i class="layui-icon layui-icon-edit" style="font-size: 10px;"></i>新建
63
+                </button>
61 64
                 <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="edit">
62 65
                     <i class="layui-icon layui-icon-edit" style="font-size: 10px;"></i>编辑
63 66
                 </button>
@@ -452,6 +455,11 @@
452 455
                         });
453 456
                     });
454 457
                 }
458
+            }else if (obj.event === 'payRequest'){
459
+
460
+                // 新建付款申请
461
+
462
+
455 463
             }
456 464
         });
457 465
 

+ 2 - 7
src/main/resources/templates/reimburse/view.html

@@ -238,18 +238,13 @@
238 238
                 success: function (res) {
239 239
                     console.log(res)
240 240
                     layer.tab({
241
-                        title:'查看报销凭证',
242
-                        area: ['1150px', '750px'],
241
+                        area: ['100%', '100%'],
243 242
                         tab: res.data,
244 243
                         maxmin: true,
245 244
                         shadeClose: true,
246 245
                         success: function (index, layero) {//打开tab后的执行的内容
247 246
                             //你的代码
248
-                            $(".layui-layer-title").attr("style", "width: 1150px; height: 85px; overflow-y: scroll;  white-space: nowrap; border: 1px solid #ccc;");
249
-                            // $(".layui-layer-title::-webkit-scrollbar-track-piece").attr("style", "background-color: rgba(0, 0, 0, 0); border-left: 1px solid rgba(0, 0, 0, 0);");
250
-                            // $(".layui-layer-title::-webkit-scrollbar").attr("style", "display: block; width: 5px; height: 10px; -webkit-margin-bottom-collapse: 12px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;");
251
-                            // $(".layui-layer-title::-webkit-scrollbar-thumb").attr("style", "background-color: #03bf7f; background-clip: padding-box; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; min-height: 28px;");
252
-                            // $(".layui-layer-title::-webkit-scrollbar-thumb:hover").attr("style", "-moz-border-radius: 5px; border-radius: 5px; -webkit-border-radius: 5px; background-color: #e6e6e6;");
247
+                            $(".layui-layer-title").attr("style", "width: 100%; height: 10%; overflow-y: scroll;  white-space: nowrap; border: 1px solid #ccc;");
253 248
                             $("div>span").attr("style", "padding: 10px; display: inline-block;");
254 249
                         }
255 250
                     })

+ 1 - 1
src/main/resources/templates/statistical/outPay.html

@@ -141,7 +141,7 @@
141 141
                 [
142 142
                     {type: "checkbox", fixed: 'left'},
143 143
                     {type: 'numbers', align: 'center'},
144
-                    {field: 'XMBH', width: '7%', title: '项目编码'},
144
+                    {field: 'XMBH', width: '7%', title: '科研费号'},
145 145
                     {field: 'BM', width: '15%', title: '所属部门', sort: true},
146 146
                     {field: 'XMMC', width: '10%', title: '项目名称'},
147 147
                     {field: 'NF', width: '7%', title: '年份'},