Commit 24b78b3b14cedc95c8a707fbcc304717e3c32f71

Authored by pengcheng
1 parent 6e4eb5c9

d多种格式导出修改

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
... ... @@ -18,9 +18,6 @@
18 18 <div class="select-list">
19 19 <ul>
20 20 <li>
21   - 出库单号:<input type="text" name="shipmentCode"/>
22   - </li>
23   - <li>
24 21 容器编号:<input type="text" name="containerCode"/>
25 22 </li>
26 23 <li>
... ...