Browse Source

任务书页面UI 显示优化

ly 9 months ago
parent
commit
3d189e8211

+ 6 - 6
src/main/java/com/liang/controller/StaBudgetapprovalController.java

@@ -994,16 +994,17 @@ public class StaBudgetapprovalController extends BaseController {
994 994
     @RequestMapping(value = "/list_allApply", method = RequestMethod.POST)
995 995
     public BaseResult list_allApply(@RequestParam("page") Integer pageNum,
996 996
                                     @RequestParam("limit") Integer pageSize,
997
-                                    @RequestParam(required = false, defaultValue = "", value = "bh") String bh,
997
+                                    @RequestParam(required = false, defaultValue = "", value = "xmmc") String xmmc,
998 998
                                     @RequestParam(required = false, defaultValue = "", value = "erpbh") String erpbh,
999
-                                    @RequestParam(required = false, defaultValue = "", value = "xmlx") String xmlx,
999
+                                    @RequestParam(required = false, defaultValue = "", value = "bh") String bh,
1000
+                                    @RequestParam(required = false, defaultValue = "", value = "nf") String nf,
1001
+                                    @RequestParam(required = false, defaultValue = "", value = "spzt") String spzt,
1000 1002
                                     @RequestParam(required = false, defaultValue = "", value = "fylb") String fylb,
1003
+                                    @RequestParam(required = false, defaultValue = "", value = "xmlx") String xmlx,
1001 1004
                                     @RequestParam(required = false, defaultValue = "", value = "sqr") String sqr,
1002 1005
                                     @RequestParam(required = false, defaultValue = "", value = "sfbyj") String sfbyj,
1003
-                                    @RequestParam(required = false, defaultValue = "", value = "xmmc") String xmmc,
1006
+
1004 1007
                                     @RequestParam(required = false, defaultValue = "", value = "ssbmmc") String ssbmmc,
1005
-                                    @RequestParam(required = false, defaultValue = "", value = "nf") String nf,
1006
-                                    @RequestParam(required = false, defaultValue = "", value = "spzt") String spzt,
1007 1008
                                     @RequestParam(required = false, defaultValue = "", value = "sfbz") String sfbz,
1008 1009
                                     @RequestParam(required = false, defaultValue = "", value = "sfth") String sfth,
1009 1010
                                     @RequestParam(required = false, defaultValue = "", value = "dkyfzr") String dkyfzr,
@@ -1056,7 +1057,6 @@ public class StaBudgetapprovalController extends BaseController {
1056 1057
         paraMap.put("sqr", sqr);
1057 1058
 
1058 1059
         List<StaBudgetapproval> list = staBudgetapprovalService.getAllApplyList(paraMap);
1059
-
1060 1060
         PageInfo<StaBudgetapproval> pageinfo = new PageInfo<>(list);
1061 1061
         //取出查询结果
1062 1062
         List<StaBudgetapproval> rows = pageinfo.getList();

+ 16 - 3
src/main/java/com/liang/controller/StaReimbursementController.java

@@ -155,14 +155,21 @@ public class StaReimbursementController extends BaseController {
155 155
     public BaseResult list(@RequestParam("page") Integer pageNum,
156 156
                            @RequestParam("limit") Integer pageSize,
157 157
                            @RequestParam(required = false, defaultValue = "", value = "fysqbh") String fysqbh,
158
-                           @RequestParam(required = false, defaultValue = "", value = "spzt") String spzt,
159 158
                            @RequestParam(required = false, defaultValue = "", value = "mc") String mc,
160 159
                            @RequestParam(required = false, defaultValue = "", value = "sortName") String sortName,
161 160
                            @RequestParam(required = false, defaultValue = "", value = "bzr") String bzr,
162 161
                            @RequestParam(required = false, defaultValue = "", value = "sortOrder") String sortOrder,
163
-                           @RequestParam(required = false, defaultValue = "", value = "nf") String nf,
162
+
163
+
164 164
                            @RequestParam(required = false, defaultValue = "", value = "xmmc")String xmmc,
165
-                           @RequestParam(required = false, defaultValue = "", value = "erpbh")String erpbh) {
165
+                           @RequestParam(required = false, defaultValue = "", value = "erpbh")String erpbh,
166
+                           @RequestParam(required = false, defaultValue = "", value = "bh")String bh,
167
+                           @RequestParam(required = false, defaultValue = "", value = "nf") String nf,
168
+                           @RequestParam(required = false, defaultValue = "", value = "spzt") String spzt,
169
+                           @RequestParam(required = false, defaultValue = "", value = "fylb")String fylb,
170
+                           @RequestParam(required = false, defaultValue = "", value = "xmlx")String xmlx,
171
+                           @RequestParam(required = false, defaultValue = "", value = "sqr")String sqr,
172
+                           @RequestParam(required = false, defaultValue = "", value = "sfbyj")String sfbyj) {
166 173
         PageHelper.startPage(pageNum, pageSize);
167 174
         Map<String, String> paraMap = new HashMap<>();
168 175
 
@@ -186,8 +193,14 @@ public class StaReimbursementController extends BaseController {
186 193
         paraMap.put("spzt", spzt);
187 194
         paraMap.put("mc", mc);
188 195
         paraMap.put("bzr", bzr);
196
+
189 197
         paraMap.put("xmmc",xmmc);
190 198
         paraMap.put("erpbh",erpbh);
199
+        paraMap.put("bh",bh);
200
+        paraMap.put("fylb",fylb);
201
+        paraMap.put("xmlx",xmlx);
202
+        paraMap.put("bzr",bzr);
203
+        paraMap.put("sfbyj",sfbyj);
191 204
 
192 205
         List<StaReimbursement> list = staReimbursementService.getReimburseList(paraMap);
193 206
 

+ 10 - 177
src/main/java/com/liang/entity/StaReimbursement.java

@@ -1,5 +1,7 @@
1 1
 package com.liang.entity;
2 2
 
3
+import lombok.Data;
4
+
3 5
 import java.sql.Date;
4 6
 import java.io.Serializable;
5 7
 
@@ -9,6 +11,8 @@ import java.io.Serializable;
9 11
  * @author makejava
10 12
  * @since 2023-05-16 13:06:38
11 13
  */
14
+
15
+@Data
12 16
 public class StaReimbursement implements Serializable {
13 17
     private static final long serialVersionUID = -15614819846705555L;
14 18
 
@@ -87,188 +91,17 @@ public class StaReimbursement implements Serializable {
87 91
 
88 92
     private Integer fysqid;
89 93
 
90
-    public Integer getFysqid() {
91
-        return fysqid;
92
-    }
93
-
94
-    public void setFysqid(Integer fysqid) {
95
-        this.fysqid = fysqid;
96
-    }
97
-
98
-    public String getErpbh() {
99
-        return erpbh;
100
-    }
101
-
102
-    public void setErpbh(String erpbh) {
103
-        this.erpbh = erpbh;
104
-    }
105
-
106
-    public String getNf() {
107
-        return nf;
108
-    }
109
-
110
-    public void setNf(String nf) {
111
-        this.nf = nf;
112
-    }
113
-
114
-    public String getSfbyj() {
115
-        return sfbyj;
116
-    }
117
-
118
-    public void setSfbyj(String sfbyj) {
119
-        this.sfbyj = sfbyj;
120
-    }
121
-
122
-    public Integer getId() {
123
-        return id;
124
-    }
125
-
126
-    public void setId(Integer id) {
127
-        this.id = id;
128
-    }
129
-
130
-    public String getBxpz() {
131
-        return bxpz;
132
-    }
133
-
134
-    public void setBxpz(String bxpz) {
135
-        this.bxpz = bxpz;
136
-    }
137
-
138
-    public Integer getFysq() {
139
-        return fysq;
140
-    }
141
-
142
-    public void setFysq(Integer fysq) {
143
-        this.fysq = fysq;
144
-    }
145
-
146
-    public Double getBzje() {
147
-        return bzje;
148
-    }
149
-
150
-    public void setBzje(Double bzje) {
151
-        this.bzje = bzje;
152
-    }
153
-
154
-    public Double getBhsje() {
155
-        return bhsje;
156
-    }
157
-
158
-    public void setBhsje(Double bhsje) {
159
-        this.bhsje = bhsje;
160
-    }
161
-
162
-    public Double getSf() {
163
-        return sf;
164
-    }
165
-
166
-    public void setSf(Double sf) {
167
-        this.sf = sf;
168
-    }
169
-
170
-    public Integer getBzr() {
171
-        return bzr;
172
-    }
173
-
174
-    public void setBzr(Integer bzr) {
175
-        this.bzr = bzr;
176
-    }
177
-
178
-    public Date getCjsj() {
179
-        return cjsj;
180
-    }
181
-
182
-    public void setCjsj(Date cjsj) {
183
-        this.cjsj = cjsj;
184
-    }
185
-
186
-    public String getMc() {
187
-        return mc;
188
-    }
189
-
190
-    public void setMc(String mc) {
191
-        this.mc = mc;
192
-    }
193
-
194
-    public String getSpzt() {
195
-        return spzt;
196
-    }
197
-
198
-    public void setSpzt(String spzt) {
199
-        this.spzt = spzt;
200
-    }
201
-
202
-    public String getFysqmc() {
203
-        return fysqmc;
204
-    }
205
-
206
-    public void setFysqmc(String fysqmc) {
207
-        this.fysqmc = fysqmc;
208
-    }
209
-
210
-    public String getFysqbh() {
211
-        return fysqbh;
212
-    }
213
-
214
-    public void setFysqbh(String fysqbh) {
215
-        this.fysqbh = fysqbh;
216
-    }
217
-
218
-    public String getBzrxm() {
219
-        return bzrxm;
220
-    }
221
-
222
-    public void setBzrxm(String bzrxm) {
223
-        this.bzrxm = bzrxm;
224
-    }
225
-
226
-    public Integer getXmid() {
227
-        return xmid;
228
-    }
229
-
230
-    public void setXmid(Integer xmid) {
231
-        this.xmid = xmid;
232
-    }
233
-
234
-    public String getXmmc() {
235
-        return xmmc;
236
-    }
237
-
238
-    public void setXmmc(String xmmc) {
239
-        this.xmmc = xmmc;
240
-    }
241
-
242
-    public Integer getFylb() {
243
-        return fylb;
244
-    }
245
-
246
-    public void setFylb(Integer fylb) {
247
-        this.fylb = fylb;
248
-    }
94
+    private String sqrxm;
249 95
 
250
-    public String getFylbmc() {
251
-        return fylbmc;
252
-    }
96
+    private String ssbmmc;
253 97
 
254
-    public void setFylbmc(String fylbmc) {
255
-        this.fylbmc = fylbmc;
256
-    }
98
+    private String bh;
257 99
 
258
-    public Double getSqje() {
259
-        return sqje;
260
-    }
100
+    private String dkyfzr;
261 101
 
262
-    public void setSqje(Double sqje) {
263
-        this.sqje = sqje;
264
-    }
102
+    private String xmlx;
265 103
 
266
-    public Double getSl() {
267
-        return sl;
268
-    }
104
+    private Integer sfbyjs;
269 105
 
270
-    public void setSl(Double sl) {
271
-        this.sl = sl;
272
-    }
273 106
 }
274 107
 

+ 0 - 1
src/main/resources/mapper/StaBudgetapprovalDao.xml

@@ -665,7 +665,6 @@
665 665
         g.FYMC AS FYLBMC,
666 666
         r.XM AS XMFZRXM,
667 667
         CASE
668
-
669 668
         WHEN b.SFBYJ = 1 THEN
670 669
         '是' ELSE '否'
671 670
         END AS SFBYJMC,

+ 40 - 1
src/main/resources/mapper/StaReimbursementDao.xml

@@ -18,6 +18,16 @@
18 18
         <result property="nf" column="NF" jdbcType="VARCHAR"/>
19 19
         <result property="erpbh" column="ERPBH" jdbcType="VARCHAR"/>
20 20
         <result property="fysqid" column="FYSQID" jdbcType="INTEGER"/>
21
+        <result property="fylbmc" column="FYLBMC" jdbcType="VARCHAR"/>
22
+        <result property="sqrxm" column="SQR" jdbcType="VARCHAR"/>
23
+        <result property="ssbmmc" column="SSBMMC" jdbcType="VARCHAR"/>
24
+        <result property="fysqmc" column="FYSQMC" jdbcType="VARCHAR"/>
25
+        <result property="bh" column="FYSQBH" jdbcType="VARCHAR"/>
26
+        <result property="dkyfzr" column="DKYFZR" jdbcType="VARCHAR"/>
27
+        <result property="sqje" column="SQJE" jdbcType="VARCHAR"/>
28
+        <result property="fysqmc" column="SQMC" jdbcType="VARCHAR"/>
29
+        <result property="xmlx" column="XMLX" jdbcType="VARCHAR"/>
30
+        <result property="sfbyjs" column="SFBYJS" jdbcType="VARCHAR"/>
21 31
     </resultMap>
22 32
 
23 33
     <!--id查询单个-->
@@ -179,12 +189,20 @@
179 189
         r.*,
180 190
         a.BH AS FYSQBH,
181 191
         a.SQMC AS FYSQMC,
182
-        u.name AS BZRXM,
183 192
         a.XMID,
184 193
         a.XMMC,
185 194
         a.NF,
186 195
         a.ERPBH,
187 196
         a.ID AS FYSQID,
197
+        a.SQJE,
198
+        a.SQMC,
199
+        c.XM AS DKYFZR,
200
+        g.FYMC AS FYLBMC,
201
+        u.NAME AS SQR,
202
+        u.name AS BZRXM,
203
+        d.DEPT_NAME AS SSBMMC,
204
+        t.XMLXMC AS XMLX,
205
+        a.SFBYJ AS SFBYJS,
188 206
         CASE
189 207
 
190 208
         WHEN a.SFBYJ = 1 THEN
@@ -194,8 +212,14 @@
194 212
         sta_Reimbursement r
195 213
         LEFT JOIN sta_BudgetApproval a ON a.ID = r.FYSQ
196 214
         LEFT JOIN sys_user_info u ON u.user_id = r.BZR
215
+        LEFT JOIN prj_AnnualBudgetDetail g on a.FYLB = g.ID
216
+        LEFT JOIN sys_dept_info d ON d.dept_id = a.SSBM
217
+        LEFT JOIN base_Person c ON c.ID = a.XMFZR
218
+        LEFT JOIN base_ProjectType t ON t.XMLX = a.XMLX
197 219
         WHERE
198 220
         1 = 1
221
+          AND  r.SPZT IS NOT NULL
222
+          and r.SPZT !=  ''
199 223
         <if test="nf != null and nf != ''">
200 224
             and a.NF = #{nf}
201 225
         </if>
@@ -223,6 +247,21 @@
223 247
         <if test="fysq != null and fysq != ''">
224 248
         and r.FYSQ = #{fysq}
225 249
         </if>
250
+        <if test="sfbyj != null and sfbyj != ''">
251
+            AND a.SFBYJ = #{sfbyj}
252
+        </if>
253
+        <if test="bh != null and bh != ''">
254
+            and a.BH like '%'+#{bh}+'%'
255
+        </if>
256
+        <if test="fylb != null and fylb != ''">
257
+            and g.FYMC = #{fylb}
258
+        </if>
259
+        <if test="xmlx != null and xmlx != ''">
260
+            and t.XMLXMC = #{xmlx}
261
+        </if>
262
+        <if test="bzr != null and bzr != ''">
263
+            and u.NAME like '%'+#{bzr}+'%'
264
+        </if>
226 265
         <choose>
227 266
             <when test="sortName != null and sortName != '' and sortOrder != null and sortOrder != ''">
228 267
                 order by ${sortName} ${sortOrder}

+ 16 - 1
src/main/resources/templates/basecompany/list.html

@@ -76,6 +76,21 @@
76 76
         </script>
77 77
     </div>
78 78
 </div>
79
+
80
+<script>
81
+    // 获取所有需要去除空格的输入框
82
+    const inputs = [
83
+        document.getElementById('MC'),
84
+        document.getElementById('DWQC')
85
+    ];
86
+    // 为每个输入框添加事件监听
87
+    inputs.forEach(input => {
88
+        input.addEventListener('input', function() {
89
+            this.value = this.value.replace(/\s+/g, ''); // 去除空格
90
+        });
91
+    });
92
+</script>
93
+
79 94
 <script th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}" charset="utf-8"></script>
80 95
 <script th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
81 96
 <script th:src="@{/lib/coco-message/coco-message.js}" charset="utf-8"></script>
@@ -97,7 +112,7 @@
97 112
             cols: [
98 113
                 [
99 114
                     {type: "checkbox", fixed: 'left'},
100
-                    {type: 'numbers', align: 'center'},
115
+                    {type: 'numbers', align: 'center',title: '序号'},
101 116
                     {field: 'mc', width: '20%', title: '名称', align: 'left'},
102 117
                     {field: 'dwqc', width: '25%', title: '单位全称', align: 'left'},
103 118
                     {field: 'szd', width: '25%', title: '所在地', align: 'left'},

+ 17 - 3
src/main/resources/templates/baseperson/list.html

@@ -20,19 +20,19 @@
20 20
                         <div class="layui-inline">
21 21
                             <label class="layui-form-label" style="width: 60px">公司/单位</label>
22 22
                             <div class="layui-input-inline" style="width: 300px">
23
-                                <input type="text" name="dwmc" autocomplete="off" class="layui-input">
23
+                                <input type="text" name="dwmc" id="dwmc" autocomplete="off" class="layui-input">
24 24
                             </div>
25 25
                         </div>
26 26
                         <div class="layui-inline">
27 27
                             <label class="layui-form-label" style="width: 40px">姓名</label>
28 28
                             <div class="layui-input-inline">
29
-                                <input type="text" name="xm" autocomplete="off" class="layui-input">
29
+                                <input type="text" name="xm" id="xm" autocomplete="off" class="layui-input">
30 30
                             </div>
31 31
                         </div>
32 32
                         <div class="layui-inline">
33 33
                             <label class="layui-form-label" style="width: 40px">部门</label>
34 34
                             <div class="layui-input-inline">
35
-                                <input type="text" name="bmmc" autocomplete="off" class="layui-input">
35
+                                <input type="text" name="bmmc" id="bmmc" autocomplete="off" class="layui-input">
36 36
                             </div>
37 37
                         </div>
38 38
                         <div class="layui-inline" style="margin-left: 0px">
@@ -83,6 +83,20 @@
83 83
         </script>
84 84
     </div>
85 85
 </div>
86
+<script>
87
+    // 获取所有需要去除空格的输入框
88
+    const inputs = [
89
+        document.getElementById('dwmc'),
90
+        document.getElementById('xm'),
91
+        document.getElementById('bmmc')
92
+    ];
93
+    // 为每个输入框添加事件监听
94
+    inputs.forEach(input => {
95
+        input.addEventListener('input', function() {
96
+            this.value = this.value.replace(/\s+/g, ''); // 去除空格
97
+        });
98
+    });
99
+</script>
86 100
 <script th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}" charset="utf-8"></script>
87 101
 <script th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
88 102
 <script th:src="@{/lib/coco-message/coco-message.js}" charset="utf-8"></script>

+ 15 - 2
src/main/resources/templates/lsuserinfo/list.html

@@ -20,7 +20,7 @@
20 20
                         <div class="layui-inline">
21 21
                             <label class="layui-form-label" style="width: 40px;">姓名</label>
22 22
                             <div class="layui-input-inline">
23
-                                <input type="text" name="xm" autocomplete="off" class="layui-input">
23
+                                <input type="text" name="xm" id="xm" autocomplete="off" class="layui-input">
24 24
                             </div>
25 25
                         </div>
26 26
                         <div class="layui-inline">
@@ -37,7 +37,7 @@
37 37
                         <div class="layui-inline">
38 38
                             <label class="layui-form-label" style="width: 80px;">身份证号</label>
39 39
                             <div class="layui-input-inline">
40
-                                <input type="text" name="sfzh" autocomplete="off" class="layui-input">
40
+                                <input type="text" name="sfzh" id="sfzh" autocomplete="off" class="layui-input">
41 41
                             </div>
42 42
                         </div>
43 43
                         <div class="layui-inline">
@@ -102,6 +102,19 @@
102 102
         </script>
103 103
     </div>
104 104
 </div>
105
+<script>
106
+    // 获取所有需要去除空格的输入框
107
+    const inputs = [
108
+        document.getElementById('xm'),
109
+        document.getElementById('sfzh'),
110
+    ];
111
+    // 为每个输入框添加事件监听
112
+    inputs.forEach(input => {
113
+        input.addEventListener('input', function() {
114
+            this.value = this.value.replace(/\s+/g, ''); // 去除空格
115
+        });
116
+    });
117
+</script>
105 118
 <script th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}" charset="utf-8"></script>
106 119
 <script th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
107 120
 <script th:src="@{/lib/coco-message/coco-message.js}" charset="utf-8"></script>

+ 64 - 58
src/main/resources/templates/prjproject/add.html

@@ -33,14 +33,14 @@
33 33
                 <form class="layui-form" action="" lay-filter="formDemo">
34 34
                     <div class="layui-form layuimini-form" style="padding-bottom: 100px">
35 35
                         <div class="layui-form-item layui-inline" style="width: 100%">
36
-                            <label class="layui-form-label required" style="width: 80px">中文名称</label>
37
-                            <div class="layui-input-inline" style="width: 460px">
36
+                            <label class="layui-form-label required" style="width: 10%">中文名称</label>
37
+                            <div class="layui-input-inline" style="width: 35%">
38 38
                                 <input type="hidden" id="id" name="id">
39 39
                                 <input type="text" id="zwmc" name="zwmc" lay-verify="required" lay-reqtext="中文名称不能为空"
40 40
                                        placeholder="项目名称(中文)不能超过30字(含字符)" autocomplete="off" class="layui-input">
41 41
                             </div>
42
-                            <label class="layui-form-label" style="width: 115px">学科分类1</label>
43
-                            <div class="layui-input-inline" style="width: 300px">
42
+                            <label class="layui-form-label" style="width: 15%">学科分类1</label>
43
+                            <div class="layui-input-inline" style="width: 25%">
44 44
                                 <select name="xkfl1" id="xkfl1" lay-filter="xkfl">
45 45
                                     <option value="">[无]</option>
46 46
                                     <option value="-1">[浏览]</option>
@@ -48,13 +48,13 @@
48 48
                             </div>
49 49
                         </div>
50 50
                         <div class="layui-form-item layui-inline" style="width: 100%">
51
-                            <label class="layui-form-label" style="width: 80px">英文名称</label>
52
-                            <div class="layui-input-inline" style="width: 460px">
51
+                            <label class="layui-form-label" style="width: 10%">英文名称</label>
52
+                            <div class="layui-input-inline" style="width: 35%">
53 53
                                 <input type="text" id="ywmc" name="ywmc" placeholder="项目名称(英文)不能超过30字(含字符)"
54 54
                                        autocomplete="off" class="layui-input">
55 55
                             </div>
56
-                            <label class="layui-form-label" style="width: 115px">学科分类2</label>
57
-                            <div class="layui-input-inline" style="width: 300px">
56
+                            <label class="layui-form-label" style="width: 15%">学科分类2</label>
57
+                            <div class="layui-input-inline" style="width: 25%">
58 58
                                 <select name="xkfl2" id="xkfl2" lay-filter="xkfl">
59 59
                                     <option value="">[无]</option>
60 60
                                     <option value="-1">[浏览]</option>
@@ -62,13 +62,13 @@
62 62
                             </div>
63 63
                         </div>
64 64
                         <div class="layui-form-item layui-inline" style="width: 100%">
65
-                            <label class="layui-form-label required" style="width: 80px">ERP编号</label>
66
-                            <div class="layui-input-inline" style="width: 460px">
65
+                            <label class="layui-form-label required" style="width: 10%">ERP编号</label>
66
+                            <div class="layui-input-inline" style="width: 35%">
67 67
                                 <input type="text" id="erpbh" name="erpbh" autocomplete="off" class="layui-input"
68 68
                                        lay-verify="required" lay-reqtext="ERP编号不能为空">
69 69
                             </div>
70
-                            <label class="layui-form-label" style="width: 115px">学科分类3</label>
71
-                            <div class="layui-input-inline" style="width: 300px">
70
+                            <label class="layui-form-label" style="width: 15%">学科分类3</label>
71
+                            <div class="layui-input-inline" style="width: 25%">
72 72
                                 <select name="xkfl3" id="xkfl3" lay-filter="xkfl">
73 73
                                     <option value="">[无]</option>
74 74
                                     <option value="-1">[浏览]</option>
@@ -76,8 +76,8 @@
76 76
                             </div>
77 77
                         </div>
78 78
                         <div class="layui-form-item layui-inline" style="width: 100%">
79
-                            <label class="layui-form-label required" style="width: 80px">项目类型</label>
80
-                            <div class="layui-input-inline" style="width: 460px">
79
+                            <label class="layui-form-label required" style="width: 10%">项目类型</label>
80
+                            <div class="layui-input-inline" style="width: 35%">
81 81
                                 <select name="xmlx" id="xmlx" lay-filter="xmlx" lay-verify="required"
82 82
                                         lay-reqtext="项目类型不能为空">
83 83
                                     <option value="">-- 请选择 --</option>
@@ -86,8 +86,8 @@
86 86
                                 </select>
87 87
                                 <tip>此项只能新建时修改</tip>
88 88
                             </div>
89
-                            <label class="layui-form-label" style="width: 115px">所属国民经济行业</label>
90
-                            <div class="layui-input-inline" style="width: 300px">
89
+                            <label class="layui-form-label" style="width: 15%">所属国民经济行业</label>
90
+                            <div class="layui-input-inline" style="width: 25%">
91 91
                                 <select name="ssgmjjhy" id="ssgmjjhy" lay-filter="gmjjhy">
92 92
                                     <option value="">[无]</option>
93 93
                                     <option value="-1">[浏览]</option>
@@ -95,8 +95,8 @@
95 95
                             </div>
96 96
                         </div>
97 97
                         <div class="layui-form-item layui-inline" style="width: 100%">
98
-                            <label class="layui-form-label" style="width: 80px">可研报告</label>
99
-                            <div class="layui-input-inline" style="width: 460px">
98
+                            <label class="layui-form-label" style="width: 10%">可研报告</label>
99
+                            <div class="layui-input-inline" style="width: 35%">
100 100
                                 <input type="hidden" id="bm" name="bm" class="layui-input">
101 101
                                 <input type="hidden" id="kybgmc" name="kybgmc" class="layui-input">
102 102
                                 <select name="kybg" id="kybg" lay-filter="kybg">
@@ -104,17 +104,17 @@
104 104
                                     <option value="-1">[浏览]</option>
105 105
                                 </select>
106 106
                             </div>
107
-                            <label class="layui-form-label" style="width: 143px">是否国家秘密技术项目</label>
107
+                            <label class="layui-form-label" style="width: 15%">是否国家秘密技术项目</label>
108 108
                             <div class="layui-input-inline">
109 109
                                 <input type="checkbox" name="sfgjmmjsxm" lay-skin="primary">
110 110
                             </div>
111 111
                         </div>
112 112
                         <div class="layui-form-item layui-inline" style="width: 100%">
113
-                            <label class="layui-form-label" style="width: 80px">费用来源</label>
114
-                            <div class="layui-input-inline" style="width: 460px">
113
+                            <label class="layui-form-label" style="width: 10%">费用来源</label>
114
+                            <div class="layui-input-inline" style="width: 35%">
115 115
                                 <input type="text" id="fyly" name="fyly" autocomplete="off" class="layui-input">
116 116
                             </div>
117
-                            <label class="layui-form-label required" style="width: 90px">项目起止时间</label>
117
+                            <label class="layui-form-label required" style="width: 15%">项目起止时间</label>
118 118
                             <div class="layui-form-item layui-inline" style="width: auto">
119 119
                                 <div class="layui-input-inline" style="width: 100px">
120 120
                                     <input type="text" name="qs" id="qs" lay-verify="required|date" placeholder="开始日期"
@@ -131,9 +131,9 @@
131 131
 
132 132
                         </div>
133 133
                         <div class="layui-form-item layui-inline" style="width: 100%">
134
-                            <label class="layui-form-label">项目总预算(万)</label>
135
-                            <div class="layui-input-inline" style="width: 100px">
136
-                                <input type="text" id="rwsys2" name="rwsys2" style="width: 460px; margin-left: -1px"
134
+                            <label class="layui-form-label" style="width: 10%">项目总预算(万)</label>
135
+                            <div class="layui-input-inline" style="width: 35%">
136
+                                <input type="text" id="rwsys2" name="rwsys2"
137 137
                                        class="layui-input" th:value="${rwsys}" readonly>
138 138
                             </div>
139 139
                         </div>
@@ -147,7 +147,7 @@
147 147
                                 <!--主要完成人开始-->
148 148
                                 <div class="layui-tab-item layui-show">
149 149
                                     <div class="layuimini-container">
150
-                                        <div class="layui-btn-group" style="margin-bottom: -8px">
150
+                                        <div class="layui-btn-group" style="margin-bottom: 0.5%">
151 151
                                             <button type="button"
152 152
                                                     class="layui-btn  layui-btn-primary layui-btn-sm upload"
153 153
                                                     lay-filter="subImport1" lay-data="{fileType:'memberFile'}"><i
@@ -179,7 +179,7 @@
179 179
                                 <!--主要完成单位开始-->
180 180
                                 <div class="layui-tab-item">
181 181
                                     <div class="layuimini-container">
182
-                                        <div class="layui-btn-group" style="margin-bottom: -8px">
182
+                                        <div class="layui-btn-group" style="margin-bottom: 0.5%">
183 183
                                             <button type="button" class="layui-btn  layui-btn-primary layui-btn-sm"
184 184
                                                     lay-filter="subAdd2"><i class="layui-icon"></i>新建
185 185
                                             </button>
@@ -203,31 +203,37 @@
203 203
                         </div>
204 204
 
205 205
                         <div class="layui-form-item layui-inline" style="width: 100%">
206
-                            <label class="layui-form-label" style="width: 90px">总人数</label>
207
-                            <div class="layui-input-inline" style="width: 120px">
206
+                            <label class="layui-form-label" style="width: 10%">总人数</label>
207
+                            <div class="layui-input-inline" style="width: 18%">
208 208
                                 <input type="text" id="zrs" name="zrs" class="layui-input" readonly>
209 209
                             </div>
210
-                            <label class="layui-form-label">高级职称</label>
211
-                            <div class="layui-input-inline" style="width: 120px">
210
+                            <label class="layui-form-label" style="width: 10%">高级职称</label>
211
+                            <div class="layui-input-inline" style="width: 18%">
212 212
                                 <input type="text" id="gjzc" name="gjzc" class="layui-input" readonly>
213 213
                             </div>
214
-                            <label class="layui-form-label">中级职称</label>
215
-                            <div class="layui-input-inline" style="width: 120px">
214
+                            <label class="layui-form-label" style="width: 10% ">中级职称</label>
215
+                            <div class="layui-input-inline" style="width: 18%">
216 216
                                 <input type="text" id="zjzc" name="zjzc" class="layui-input" readonly>
217 217
                             </div>
218 218
                         </div>
219 219
                         <div class="layui-form-item layui-inline" style="width: 100%">
220
-                            <label class="layui-form-label" style="width: 220px"></label>
221
-                            <label class="layui-form-label">初级职称</label>
222
-                            <div class="layui-input-inline" style="width: 120px">
220
+                            <label class="layui-form-label" style="width: 10%">所属部门</label>
221
+                            <div class="layui-input-inline" style="width: 18%">
222
+                                <input type="hidden" id="ssbm" name="ssbm" class="layui-input"
223
+                                       th:value="${userInfo.deptId}">
224
+                                <input type="text" id="ssbmmc" name="ssbmmc" class="layui-input"
225
+                                       th:value="${userInfo.deptName}" readonly>
226
+                            </div>
227
+                            <label class="layui-form-label" style="width: 10%;">初级职称</label>
228
+                            <div class="layui-input-inline" style="width: 18%">
223 229
                                 <input type="text" id="cjzc" name="cjzc" class="layui-input" readonly>
224 230
                             </div>
225
-                            <label class="layui-form-label">研究生</label>
226
-                            <div class="layui-input-inline" style="width: 120px">
231
+                            <label class="layui-form-label" style="width: 10%">研究生</label>
232
+                            <div class="layui-input-inline" style="width: 18%">
227 233
                                 <input type="text" id="yjs" name="yjs" class="layui-input" readonly>
228 234
                             </div>
229 235
                         </div>
230
-                        <div class="layui-form-item">
236
+<!--                        <div class="layui-form-item">
231 237
                             <label class="layui-form-label" style="width: 90px">所属部门</label>
232 238
                             <div class="layui-input-inline" style="width: 600px">
233 239
                                 <input type="hidden" id="ssbm" name="ssbm" class="layui-input"
@@ -235,10 +241,10 @@
235 241
                                 <input type="text" id="ssbmmc" name="ssbmmc" class="layui-input"
236 242
                                        th:value="${userInfo.deptName}" readonly>
237 243
                             </div>
238
-                        </div>
239
-                        <div class="layui-form-item">
240
-                            <label class="layui-form-label" style="width: 90px">电科院负责人</label>
241
-                            <div class="layui-input-inline" style="width: 600px">
244
+                        </div>-->
245
+                        <div class="layui-form-item" style="width: 100%">
246
+                            <label class="layui-form-label" style="width: 10%">电科院负责人</label>
247
+                            <div class="layui-input-inline" style="width: 18%">
242 248
                                 <input type="hidden" id="dkyfzr" name="dkyfzr" class="layui-input">
243 249
                                 <input type="text" id="dkyfzrxm" name="dkyfzrxm" placeholder="可多选" autocomplete="off"
244 250
                                        class="layui-input" lay-verify="required" lay-reqtext="电科院负责人不能为空" readonly>
@@ -263,8 +269,8 @@
263 269
                 <form class="layui-form" action="" lay-filter="formDemo">
264 270
                     <div class="layui-form layuimini-form" style="padding-bottom: 100px">
265 271
                         <div class="layui-form-item layui-inline" style="width: 100%">
266
-                            <label class="layui-form-label" style="width: 65px">填写说明</label>
267
-                            <div class="layui-input-inline" style="width: 930px">
272
+                            <label class="layui-form-label" style="width: 10%">填写说明</label>
273
+                            <div class="layui-input-inline" style="width: 70%">
268 274
                                 <textarea id="txsm" name="txsm" class="layui-textarea"
269 275
                                           style="width: 100%;height: 510px"></textarea>
270 276
                             </div>
@@ -287,7 +293,7 @@
287 293
             <div class="layui-tab-item" style="min-height: 565px; padding-left: 30px; padding-right: 30px">
288 294
                 <form class="layui-form" action="" lay-filter="formDemo">
289 295
                     <div class="layui-form layuimini-form" style="padding-bottom: 100px">
290
-                        <div class="layui-btn-group" style="margin-bottom: -8px">
296
+                        <div class="layui-btn-group" style="margin-bottom: 0.5%">
291 297
                             <button type="button" class="layui-btn  layui-btn-primary layui-btn-sm"
292 298
                                     lay-filter="btnAdd3"><i class="layui-icon"></i>新建
293 299
                             </button>
@@ -329,8 +335,8 @@
329 335
                 <form class="layui-form" action="" lay-filter="formDemo">
330 336
                     <div class="layui-form layuimini-form" style="padding-bottom: 100px">
331 337
                         <div class="layui-form-item layui-inline" style="width: 100%">
332
-                            <label class="layui-form-label" style="width: 75px">研究内容及<br>考核指标</label>
333
-                            <div class="layui-input-inline" style="width: 920px">
338
+                            <label class="layui-form-label" style="width:10%">研究内容及<br>考核指标</label>
339
+                            <div class="layui-input-inline" style="width: 70%">
334 340
                                 <textarea id="yjnrjkhzb" name="yjnrjkhzb" class="layui-textarea"
335 341
                                           style="width: 100%;height: 510px"></textarea>
336 342
                             </div>
@@ -387,7 +393,7 @@
387 393
             <div class="layui-tab-item" style="min-height: 565px; padding-left: 30px; padding-right: 30px">
388 394
                 <form class="layui-form" action="" lay-filter="formDemo">
389 395
                     <div class="layuimini-form" style="padding-bottom: 100px">
390
-                        <div class="layui-btn-group" style="margin-bottom: -8px">
396
+                        <div class="layui-btn-group" style="margin-bottom: 0.5%">
391 397
                             <button type="button" class="layui-btn  layui-btn-primary layui-btn-sm"
392 398
                                     lay-filter="btnAdd6"><i class="layui-icon"></i>新建
393 399
                             </button>
@@ -429,8 +435,8 @@
429 435
                 <form class="layui-form" action="" lay-filter="formDemo">
430 436
                     <div class="layui-form layuimini-form" style="padding-bottom: 100px">
431 437
                         <div class="layui-form-item layui-inline" style="width: 100%">
432
-                            <label class="layui-form-label" style="width: 90px">有关问题说明</label>
433
-                            <div class="layui-input-inline" style="width: 905px">
438
+                            <label class="layui-form-label" style="width: 10%">有关问题说明</label>
439
+                            <div class="layui-input-inline" style="width: 70%">
434 440
                                 <textarea id="ygwtsm" name="ygwtsm" class="layui-textarea"
435 441
                                           style="width: 100%;height: 510px"></textarea>
436 442
                             </div>
@@ -453,7 +459,7 @@
453 459
             <div class="layui-tab-item" style="min-height: 565px; padding-left: 30px; padding-right: 30px">
454 460
                 <form class="layui-form" action="" lay-filter="formDemo">
455 461
                     <div class="layuimini-form" style="padding-bottom: 100px">
456
-                        <div class="layui-btn-group" style="margin-bottom: -8px">
462
+                        <div class="layui-btn-group" style="margin-bottom:0.5%">
457 463
                             <button type="button" class="layui-btn  layui-btn-primary layui-btn-sm"
458 464
                                     lay-filter="btnAdd8"><i class="layui-icon"></i>新建
459 465
                             </button>
@@ -484,7 +490,7 @@
484 490
                 <form class="layui-form" action="" lay-filter="formDemo">
485 491
                     <div class="layuimini-form" style="padding-bottom: 100px">
486 492
                         <input type="hidden" id="fj" name="fj" class="layui-input">
487
-                        <div class="layui-btn-group" style="margin-bottom: -8px">
493
+                        <div class="layui-btn-group" style="margin-bottom: 0.5%">
488 494
                             <button type="button" class="layui-btn  layui-btn-primary layui-btn-sm upload"
489 495
                                     lay-filter="upLoad" lay-data="{fileType:'project'}"><i class="layui-icon"></i>上传
490 496
                             </button>
@@ -658,13 +664,13 @@
658 664
             cols: [
659 665
                 [
660 666
                     {type: "checkbox"},
661
-                    {type: 'numbers', align: 'center'},
667
+                    {type: 'numbers', align: 'center',title: '序号',width: '15%'},
662 668
                     {field: 'ryxm', width: '10%', title: '人员', align: 'left'},
663 669
                     {field: 'xmjsmc', width: '15%', title: '项目角色', align: 'left'},
664 670
                     {field: 'bxmfg', width: '20%', title: '本项目分工', align: 'left'},
665 671
                     {field: 'trgzzys', width: '15%', title: '投入工作总月数', align: 'center'},
666 672
                     {field: 'sxbh', width: '10%', title: '顺序编号', align: 'center'},
667
-                    {field: 'dwmc', title: '单位', align: 'left'}
673
+                    {field: 'dwmc', title: '单位', align: 'left',width: '20%'}
668 674
                 ]
669 675
             ],
670 676
             autoSort: true,
@@ -906,7 +912,7 @@
906 912
             cols: [
907 913
                 [
908 914
                     {type: "checkbox"},
909
-                    {type: 'numbers', align: 'center'},
915
+                    {type: 'numbers', align: 'center',title: '序号',width: '15%'},
910 916
                     {field: 'dwmc', width: '30%', title: '单位', align: 'left'},
911 917
                     {field: 'dwqc', width: '30%', title: '单位全称', align: 'left'},
912 918
                     {field: 'sxbh', width: '10%', title: '顺序编号', align: 'center'},
@@ -1151,7 +1157,7 @@
1151 1157
                 cols: [
1152 1158
                     [
1153 1159
                         {type: "checkbox", fixed: 'left'},
1154
-                        {type: 'numbers', align: 'center'},
1160
+                        {type: 'numbers', align: 'center',title: '序号',width: '15%'},
1155 1161
                         {field: 'xm', width: '15%', title: '姓名', align: 'left'},
1156 1162
                         {field: 'dwmc', title: '公司/单位', align: 'left'}
1157 1163
                     ]
@@ -1352,7 +1358,7 @@
1352 1358
                 [
1353 1359
                     {type: "checkbox"},
1354 1360
 // {type: 'numbers', align: 'center'},
1355
-                    {field: 'xh', title: '序号', width: '8%', align: 'center'},
1361
+                    {field: 'xh', title: '序号', width: '15%', align: 'center'},
1356 1362
                     {field: 'ktmc', title: '课题名称', width: '30%'},
1357 1363
                     {field: 'fzrxm', title: '负责人', width: '10%'},
1358 1364
                     {field: 'fzrszdwmc', title: '负责人所在单位', width: '25%'},

+ 6 - 6
src/main/resources/templates/prjsubtopic/add.html

@@ -218,10 +218,10 @@
218 218
                 url: AjaxUtil.ctx + 'prjMember/rylist/' + xmId,
219 219
                 cols: [
220 220
                     [
221
-                        {type: "radio", fixed: 'left'},
222
-                        {type: 'numbers', align: 'center'},
221
+                        {type: "radio", fixed: 'left',title: '😊'},
222
+                        {type: 'numbers', align: 'center',title: '序号',width: '10%'},
223 223
                         {field: 'ryxm', width: '15%', title: '姓名', align: 'left'},
224
-                        {field: 'dwmc', title: '公司/单位'}
224
+                        {field: 'dwmc', title: '公司/单位',width: '25%'}
225 225
                     ]
226 226
                 ],
227 227
                 done: function (res, curr, count) {
@@ -256,10 +256,10 @@
256 256
                 url: AjaxUtil.ctx + 'prjMember/rylist/' + xmId,
257 257
                 cols: [
258 258
                     [
259
-                        {type: "radio", fixed: 'left'},
260
-                        {type: 'numbers', align: 'center'},
259
+                        {type: "radio", fixed: 'left',title: '😊'},
260
+                        {type: 'numbers', align: 'center',title: '序号',width: '10%'},
261 261
                         {field: 'ryxm', width: '15%', title: '姓名', align: 'left'},
262
-                        {field: 'dwmc', title: '公司/单位'}
262
+                        {field: 'dwmc', title: '公司/单位',width: '25%'}
263 263
                     ]
264 264
                 ],
265 265
                 done: function (res, curr, count) {

+ 33 - 9
src/main/resources/templates/reimburse/list.html

@@ -33,7 +33,7 @@
33 33
                         <div class="layui-inline">
34 34
                             <label class="layui-form-label" style="width: 100px;">科研编号</label>
35 35
                             <div class="layui-input-inline" style="width: 140px;">
36
-                                <input type="text" name="fysqbh" id="fysqbh" autocomplete="off" class="layui-input">
36
+                                <input type="text" name="bh" id="bh" autocomplete="off" class="layui-input">
37 37
                             </div>
38 38
                         </div>
39 39
 
@@ -67,9 +67,19 @@
67 67
                         </div>
68 68
 
69 69
                         <div class="layui-inline">
70
-                            <label class="layui-form-label" style="width: 70px;">报账人</label>
70
+                            <label class="layui-form-label" style="width: 70px;">申请人</label>
71 71
                             <div class="layui-input-inline" style="width: 140px;">
72
-                                <input type="text" name="bzr" id="bzr" autocomplete="off" class="layui-input">
72
+                                <input type="text" name="sqr" id="sqr" autocomplete="off" class="layui-input">
73
+                            </div>
74
+                        </div>
75
+                        <div class="layui-inline">
76
+                            <label class="layui-form-label" style="width: 70px">是否备用金</label>
77
+                            <div class="layui-input-inline" style="width: 140px">
78
+                                <select name="sfbyj" id="sfbyj" lay-filter="status">
79
+                                    <option value="">全部</option>
80
+                                    <option value="1">是</option>
81
+                                    <option value="0">否</option>
82
+                                </select>
73 83
                             </div>
74 84
                         </div>
75 85
 
@@ -185,21 +195,33 @@
185 195
             // defaultToolbar: ['filter', 'print'],
186 196
             cols: [
187 197
                 [
188
-                    {type: "radio", fixed: 'left'},
198
+                    {type: "radio", fixed: 'left',title: '😊'},
189 199
                     {type: 'numbers', fixed: 'left',title: '序号'},
190 200
                     {field: 'spzt', width: '10%',title: '审批状态',fixed: 'left'},
191 201
                     {field: 'xmmc', width: '20%', title: '项目名称', fixed: 'left'},
202
+
192 203
                     {field: 'mc', width: '20%', title: '报账名称', fixed: 'left'},
193
-                    {field: 'fysqbh', width: '10%',title: '科研编号'},
204
+
205
+                    {field: 'bh', width: '10%',title: '科研编号'},
194 206
                     {field: 'nf',title: '年份',width: '10%'},
207
+                    {
208
+                        field: 'sfbyjs', width: '8%', title: '是否备用金', align: 'center', templet: function (d) {
209
+                            if (1 == d.sfbyjs) {
210
+                                return '<span class="layui-badge layui-bg-blue">是</span>';
211
+                            } else {
212
+                                return '<span class="layui-badge layui-bg-orange">否</span>';
213
+                            }
214
+                        }
215
+                    },
195 216
                     {field: 'erpbh', width: '10%',title: 'ERP编号'},
196 217
                     {field: 'bzje', width: '8%', title: '报账金额(元)'},
218
+                    {field: 'sqje', width: '7%', title: '申请金额(元)'},
197 219
                     {field: 'bhsje', width: '8%', title: '不含税金额(元)'},
198 220
                     {field: 'sf', width: '6%', title: '税费(元)'},
199
-                    {field: 'bzrxm', width: '7%', title: '报账人'},
221
+                    {field: 'sqrxm', width: '7%', title: '申请人'},
200 222
                     {field: 'cjsj', width: '8%', title: '创建时间', align: 'center'},
201
-                    {field: 'fysqmc', title: '费用申请'},
202
-                    {field: 'sfbyj', title: '是否备用金',width: '6%'},
223
+                    {field: 'fysqmc', title: '费用申请',width: '25%'}
224
+
203 225
 
204 226
                 ]
205 227
             ],
@@ -246,7 +268,9 @@
246 268
                 "cjsj1":'',
247 269
                 "cjsj2":'',
248 270
                 "mc":'',
249
-                "bzr":''
271
+                "bzr":'',
272
+                "sqr":'',
273
+                "sfbyj":''
250 274
             });
251 275
             // 执行搜索重载
252 276
             currTable.reload({

+ 16 - 10
src/main/resources/templates/reimburse/mylist.html

@@ -211,7 +211,7 @@
211 211
         var userId = $("#userId").val();
212 212
         var currTable = table.render({
213 213
             elem: '#currentTableId',
214
-            url: AjaxUtil.ctx + 'staBudgetapproval/list_allApply?sfbz='+1+'&dlr='+0,
214
+            url: AjaxUtil.ctx + 'staReimbursement/list',
215 215
             method: 'post',
216 216
             toolbar: '#toolbarDemo',
217 217
             // defaultToolbar: ['filter', 'print'],
@@ -234,29 +234,31 @@
234 234
                     {type: "radio", fixed: 'left',title: '😊'},
235 235
                     {type: 'numbers', align: 'center', fixed: 'left',title: '序号'},
236 236
                     {field: 'xmmc', width: '20%', title: '项目名称',fixed: "left"},
237
-                    {field: 'spzt', width: '9%', title: '审批状态'},
238
-                    {field: 'bh', width: '8%', title: '科研费号'},
239
-                    {field: 'sqmc', width: '25%', title: '申请名称'},
237
+                    {field: 'spzt', width: '15%', title: '审批状态'},
238
+                    {field: 'bh', width: '13%', title: '科研费号'},
239
+                    {field: 'fysqmc', width: '25%', title: '申请名称'},
240 240
                     {field: 'erpbh', width: '9%', title: 'ERP编号'},
241
-                    {field: 'xmlxmc', width: '10%', title: '项目类型'},
241
+                    {field: 'xmlx', width: '10%', title: '项目类型'},
242 242
                     {field: 'fylbmc', width: '7%', title: '费用类别'},
243 243
                     {field: 'sqje', width: '7%', title: '申请金额(元)'},
244 244
                     {field: 'bzje', width: '7%', title: '报账金额(元)'},
245 245
                     {field: 'bhsje', width: '7%', title: '不含税金额(元)'},
246
+                    {field: 'sf', width: '6%', title: '税费(元)'},
246 247
                     {
247
-                        field: 'sfbyj', width: '8%', title: '是否备用金', align: 'center', templet: function (d) {
248
-                            if (1 == d.sfbyj) {
248
+                        field: 'sfbyjs', width: '8%', title: '是否备用金', align: 'center', templet: function (d) {
249
+                            if (1 == d.sfbyjs) {
249 250
                                 return '<span class="layui-badge layui-bg-blue">是</span>';
250 251
                             } else {
251 252
                                 return '<span class="layui-badge layui-bg-orange">否</span>';
252 253
                             }
253 254
                         }
254 255
                     },
256
+                    /*{field: 'sfbyj', width: '8%', title: '是否备用金', align: 'center'},*/
255 257
                     {field: 'sqrxm', width: '5%', title: '申请人'},
256
-                    {field: 'dkyfzrxm', width: '8%', title: '电科院负责人'},
258
+                    {field: 'dkyfzr', width: '8%', title: '电科院负责人'},
257 259
                     {field: 'ssbmmc', width: '8%', title: '所属部门'},
258 260
                     {field: 'nf', width: '5%', title: '年份'},
259
-                    {field: 'sqsj', width: '8%', title: '申请时间', align: 'center'}
261
+                    {field: 'cjsj', width: '8%', title: '申请时间', align: 'center'}
260 262
                 ]
261 263
             ],
262 264
             autoSort: false,
@@ -302,7 +304,11 @@
302 304
                 "cjsj1":'',
303 305
                 "cjsj2":'',
304 306
                 "mc":'',
305
-                "bzr":''
307
+                "bzr":'',
308
+                "sfbyj":'',
309
+                "xmlx":'',
310
+                "fylb":'',
311
+                "sqr":''
306 312
             });
307 313
             // 执行搜索重载
308 314
             currTable.reload({

+ 1 - 1
src/main/resources/templates/stabudgetapproval/add.html

@@ -534,7 +534,7 @@
534 534
 </form>
535 535
 
536 536
 <script th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}" charset="utf-8"></script>
537
-<script th:src="@{/lib/layui-v2.6.3/layui.js}" charset="utf-8"></script>
537
+<script th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
538 538
 <script th:src="@{/lib/coco-message/coco-message.js}" charset="utf-8"></script>
539 539
 <script th:src="@{/lib/xm-select-v1.2.2/xm-select.js}" charset="utf-8"></script>
540 540
 <script th:src="@{/js/lay-config.js}" charset="utf-8"></script>