浏览代码

付款申请页面加入申请编号

ly 11 月之前
父节点
当前提交
86bd983640

+ 8 - 0
src/main/java/com/liang/entity/StaPayapproval.java

@@ -78,7 +78,15 @@ public class StaPayapproval implements Serializable {
78
      * @return
78
      * @return
79
      */
79
      */
80
     private String sqmc;
80
     private String sqmc;
81
+    private String bh;
81
 
82
 
83
+    public String getBh() {
84
+        return bh;
85
+    }
86
+
87
+    public void setBh(String bh) {
88
+        this.bh = bh;
89
+    }
82
 
90
 
83
     public Integer getId() {
91
     public Integer getId() {
84
         return id;
92
         return id;

+ 2 - 1
src/main/resources/mapper/StaPayapprovalDao.xml

@@ -15,6 +15,7 @@
15
         <result property="yszl" column="YSZL" jdbcType="VARCHAR"/>
15
         <result property="yszl" column="YSZL" jdbcType="VARCHAR"/>
16
         <result property="fkjh" column="FKJH" jdbcType="INTEGER"/>
16
         <result property="fkjh" column="FKJH" jdbcType="INTEGER"/>
17
         <result property="sqmc" column="SQMC" jdbcType="VARCHAR"/>
17
         <result property="sqmc" column="SQMC" jdbcType="VARCHAR"/>
18
+        <result property="bh" column="BH" jdbcType="VARCHAR"/>
18
     </resultMap>
19
     </resultMap>
19
 
20
 
20
     <!--查询单个-->
21
     <!--查询单个-->
@@ -201,7 +202,7 @@
201
 
202
 
202
     <!--获取付款申请列表-->
203
     <!--获取付款申请列表-->
203
     <select id="getFksqList" resultMap="StaPayapprovalMap" parameterType="map">
204
     <select id="getFksqList" resultMap="StaPayapprovalMap" parameterType="map">
204
-        select b.*, u.name as CJRXM, FORMAT(b.CJSJ, 'yyyy-MM-dd') as CJRQ, c.HTMC, c.WJ as HTWJ, p.JHMC as FKJHMC,
205
+        select b.*,g.bh, u.name as CJRXM, FORMAT(b.CJSJ, 'yyyy-MM-dd') as CJRQ, c.HTMC, c.WJ as HTWJ, p.JHMC as FKJHMC,
205
         g.SQMC as FYSQMC, g.XMMC as RWSMC
206
         g.SQMC as FYSQMC, g.XMMC as RWSMC
206
         from sta_PayApproval b
207
         from sta_PayApproval b
207
         left join prj_PayPlan p on p.ID = b.FKJH
208
         left join prj_PayPlan p on p.ID = b.FKJH

+ 3 - 2
src/main/resources/templates/payapply/list.html

@@ -25,7 +25,7 @@
25
                         <div class="layui-input-inline"  style="width: 200px">
25
                         <div class="layui-input-inline"  style="width: 200px">
26
                             <input type="text" name="erpbh" autocomplete="off" class="layui-input">
26
                             <input type="text" name="erpbh" autocomplete="off" class="layui-input">
27
                         </div>
27
                         </div>
28
-                        <label class="layui-form-label" style="width: 60px;left: 5px">申请编号</label>
28
+                        <label class="layui-form-label" style="width: 90px;left: 5px">费用申请编号</label>
29
                         <div class="layui-input-inline"  style="width: 225px">
29
                         <div class="layui-input-inline"  style="width: 225px">
30
                             <input type="text" name="bh" autocomplete="off" class="layui-input">
30
                             <input type="text" name="bh" autocomplete="off" class="layui-input">
31
                         </div>
31
                         </div>
@@ -51,7 +51,7 @@
51
 
51
 
52
 
52
 
53
                             <div class="layui-inline">
53
                             <div class="layui-inline">
54
-                                <label class="layui-form-label" style="width: 60px">创建时间</label>
54
+                                <label class="layui-form-label" style="width: 90px">创建时间</label>
55
                                 <div class="layui-input-inline" style="width: 100px">
55
                                 <div class="layui-input-inline" style="width: 100px">
56
                                     <input type="text" name="cjsj1" id="cjsj1" placeholder="开始日期" class="layui-input" readonly>
56
                                     <input type="text" name="cjsj1" id="cjsj1" placeholder="开始日期" class="layui-input" readonly>
57
                                 </div>
57
                                 </div>
@@ -146,6 +146,7 @@
146
                     {type: 'numbers', fixed: 'left'},
146
                     {type: 'numbers', fixed: 'left'},
147
                     {field: 'spzt', width: '11%',title: '审批状态', fixed: 'left'},
147
                     {field: 'spzt', width: '11%',title: '审批状态', fixed: 'left'},
148
                     {field: 'rwsmc', width: '11%', title: '项目名称'},
148
                     {field: 'rwsmc', width: '11%', title: '项目名称'},
149
+                    {field: 'bh', width: '11%', title: '费用申请编号'},
149
                     {field: 'htmc', width: '11%', title: '合同'},
150
                     {field: 'htmc', width: '11%', title: '合同'},
150
                     {field: 'fysqmc', width: '15%',title: '费用申请'},
151
                     {field: 'fysqmc', width: '15%',title: '费用申请'},
151
                     {field: 'bcfkje', width: '10%', title: '本次付款金额(万元)'},
152
                     {field: 'bcfkje', width: '10%', title: '本次付款金额(万元)'},