Commit 24b78b3b14cedc95c8a707fbcc304717e3c32f71
1 parent
6e4eb5c9
d多种格式导出修改
Showing
3 changed files
with
2 additions
and
5 deletions
src/main/java/com/huaheng/pc/jasper/JasperController.java
... | ... | @@ -86,7 +86,7 @@ public class JasperController { |
86 | 86 | |
87 | 87 | parameters = parameters == null ? new HashMap<>() : parameters; |
88 | 88 | String jasperPath ="C:/Users/Administrator/JaspersoftWorkspace/MyReports/" + reportName + ".jasper"; |
89 | - String docType="xml"; | |
89 | + String docType="pdf"; | |
90 | 90 | DocType type = DocTypeUtil.getEnumDocType(docType); |
91 | 91 | String fileName =reportName; |
92 | 92 | List list =new ArrayList(); |
... | ... |
src/main/resources/templates/config/shipmentType/edit.html
... | ... | @@ -48,7 +48,7 @@ |
48 | 48 | <div class="form-group"> |
49 | 49 | <label class="col-sm-3 control-label">出库流程:</label> |
50 | 50 | <div class="col-sm-8"> |
51 | - <select id="receiptFlow" name="shipmentFlow" class="form-control" th:with="statusFlowList=${@StatusFlow.flowList()}" th:field="*{receiptFlow}"> | |
51 | + <select id="shipmentFlow" name="shipmentFlow" class="form-control" th:with="statusFlowList=${@StatusFlow.flowList('shippingFlow')}" th:field="*{shipmentFlow}"> | |
52 | 52 | <option th:each="flow : ${statusFlowList}" th:text="${flow['name']}" th:value="${flow['code']}"></option> |
53 | 53 | </select> |
54 | 54 | </div> |
... | ... |
src/main/resources/templates/shipment/shipmentContainerHeader/shipmentContainerHeader.html