蔡德晨 před 5 roky
rodič
revize
9b67f461dc

+ 7 - 13
src/main/webapp/webpage/modules/sg/free/wbslist.jsp

@@ -244,21 +244,15 @@
                 ,{width:178,  toolbar: '#barDemo',title:'操作'}
             ]]
             ,data:[
+            <c:if test="${ not empty map.list}">
+               <c:forEach items="${map.list2}" var="data" varStatus="index">
                 {
-                    "id":"1",
-                    "xmmc": "1",
-                    "fyje": "xx1"
+                    "id":"${data.id}",
+                    "xmmc": <c:if test="${data.type eq '1'}">"补增值税税率调整差额"</c:if><c:if test="${data.type eq '2'}">"扣减甲供材超供材料费"</c:if>,
+                    "fyje": "${data.fee}"
                 },
-                {
-                    "id":"2",
-                    "xmmc": "2",
-                    "fyje": "xx2"
-                },
-                {
-                    "id":"3",
-                    "xmmc": "3",
-                    "fyje": "xx3"
-                }
+                </c:forEach>
+                </c:if>
             ]
             ,page: false
         });