Commit a48a471e406e43daa3f28166c0cfe86873f46f04

Authored by 房远帅
1 parent d2951706

1:合同、订货单打印模板调整;2:报表导出日期格式调整;

@@ -444,6 +444,7 @@ public class PurchaseOrderInfoController extends DefaultBaseController { @@ -444,6 +444,7 @@ public class PurchaseOrderInfoController extends DefaultBaseController {
444 dataMap.put("supplyUnit", supplyUnitDicItem == null ? "" : supplyUnitDicItem.getName()); 444 dataMap.put("supplyUnit", supplyUnitDicItem == null ? "" : supplyUnitDicItem.getName());
445 dataMap.put("orderNo", data.getOrderNo()); 445 dataMap.put("orderNo", data.getOrderNo());
446 dataMap.put("orderingUnitName", data.getOrderingUnitName()); 446 dataMap.put("orderingUnitName", data.getOrderingUnitName());
  447 + dataMap.put("workshopName", data.getWorkshopName());
447 dataMap.put("customerTier", data.getCustomerTier()); 448 dataMap.put("customerTier", data.getCustomerTier());
448 dataMap.put("orderDate", data.getOrderDate() == null ? "" : data.getOrderDate().format(dateFormatter)); 449 dataMap.put("orderDate", data.getOrderDate() == null ? "" : data.getOrderDate().format(dateFormatter));
449 450
@@ -39,7 +39,7 @@ public class OrderDetailStatisticsModel implements ExcelModel { @@ -39,7 +39,7 @@ public class OrderDetailStatisticsModel implements ExcelModel {
39 * 订货日期 39 * 订货日期
40 */ 40 */
41 @ExcelProperty("订货日期") 41 @ExcelProperty("订货日期")
42 - @DateTimeFormat("yyyy/MM/dd") 42 + @DateTimeFormat("yyyy/M/d")
43 private Date orderDate1; 43 private Date orderDate1;
44 44
45 /** 45 /**
@@ -64,7 +64,7 @@ public class OrderDetailStatisticsModel implements ExcelModel { @@ -64,7 +64,7 @@ public class OrderDetailStatisticsModel implements ExcelModel {
64 * 订货日期 64 * 订货日期
65 */ 65 */
66 @ExcelProperty("订货日期") 66 @ExcelProperty("订货日期")
67 - @DateTimeFormat("yyyy/MM/dd") 67 + @DateTimeFormat("yyyy/M/d")
68 private Date orderDate; 68 private Date orderDate;
69 69
70 /** 70 /**
@@ -167,7 +167,7 @@ public class OrderDetailStatisticsModel implements ExcelModel { @@ -167,7 +167,7 @@ public class OrderDetailStatisticsModel implements ExcelModel {
167 * 发货日期 167 * 发货日期
168 */ 168 */
169 @ExcelProperty("发货日期") 169 @ExcelProperty("发货日期")
170 - @DateTimeFormat("yyyy/MM/dd") 170 + @DateTimeFormat("yyyy/M/d")
171 private Date deliveryDate; 171 private Date deliveryDate;
172 172
173 /** 173 /**
@@ -27,7 +27,7 @@ public class QualityOrderDetailStatisticsModel implements ExcelModel { @@ -27,7 +27,7 @@ public class QualityOrderDetailStatisticsModel implements ExcelModel {
27 * 订货日期 27 * 订货日期
28 */ 28 */
29 @ExcelProperty("订货日期") 29 @ExcelProperty("订货日期")
30 - @DateTimeFormat("yyyy/MM/dd") 30 + @DateTimeFormat("yyyy/M/d")
31 private Date orderDate; 31 private Date orderDate;
32 32
33 /** 33 /**
@@ -124,7 +124,7 @@ public class QualityOrderDetailStatisticsModel implements ExcelModel { @@ -124,7 +124,7 @@ public class QualityOrderDetailStatisticsModel implements ExcelModel {
124 * 发货日期 124 * 发货日期
125 */ 125 */
126 @ExcelProperty("发货日期") 126 @ExcelProperty("发货日期")
127 - @DateTimeFormat("yyyy/MM/dd") 127 + @DateTimeFormat("yyyy/M/d")
128 private Date deliveryDate; 128 private Date deliveryDate;
129 129
130 /** 130 /**
@@ -24,7 +24,7 @@ public class StockInOrderDetailReportModel implements ExcelModel { @@ -24,7 +24,7 @@ public class StockInOrderDetailReportModel implements ExcelModel {
24 private String customerShortName; 24 private String customerShortName;
25 25
26 @ExcelProperty(value = "订货日期", index = 3) 26 @ExcelProperty(value = "订货日期", index = 3)
27 - @DateTimeFormat("yyyy/MM/dd") 27 + @DateTimeFormat("yyyy/M/d")
28 private Date orderDate; 28 private Date orderDate;
29 29
30 @ExcelProperty(value = "生产厂", index = 4) 30 @ExcelProperty(value = "生产厂", index = 4)
@@ -76,7 +76,7 @@ public class StockInOrderDetailReportModel implements ExcelModel { @@ -76,7 +76,7 @@ public class StockInOrderDetailReportModel implements ExcelModel {
76 private BigDecimal suggestedPrice; 76 private BigDecimal suggestedPrice;
77 77
78 @ExcelProperty(value = "交货日期", index = 20) 78 @ExcelProperty(value = "交货日期", index = 20)
79 - @DateTimeFormat("yyyy/MM/dd") 79 + @DateTimeFormat("yyyy/M/d")
80 private Date deliveryDate; 80 private Date deliveryDate;
81 81
82 @ExcelProperty(value = "超价协调价", index = 21) 82 @ExcelProperty(value = "超价协调价", index = 21)
@@ -15,7 +15,7 @@ import java.util.Date; @@ -15,7 +15,7 @@ import java.util.Date;
15 public class StockInboundOrderDetailReportModel implements ExcelModel { 15 public class StockInboundOrderDetailReportModel implements ExcelModel {
16 16
17 @ExcelProperty(value = "日期", index = 0) 17 @ExcelProperty(value = "日期", index = 0)
18 - @DateTimeFormat("yyyy/MM/dd") 18 + @DateTimeFormat("yyyy/M/d")
19 private Date date; 19 private Date date;
20 20
21 @ExcelProperty(value = "订单编号", index = 1) 21 @ExcelProperty(value = "订单编号", index = 1)
@@ -28,7 +28,7 @@ public class StockInboundOrderDetailReportModel implements ExcelModel { @@ -28,7 +28,7 @@ public class StockInboundOrderDetailReportModel implements ExcelModel {
28 private String customerShortName; 28 private String customerShortName;
29 29
30 @ExcelProperty(value = "订货日期", index = 4) 30 @ExcelProperty(value = "订货日期", index = 4)
31 - @DateTimeFormat("yyyy/MM/dd") 31 + @DateTimeFormat("yyyy/M/d")
32 private Date orderDate; 32 private Date orderDate;
33 33
34 @ExcelProperty(value = "生产厂", index = 5) 34 @ExcelProperty(value = "生产厂", index = 5)
@@ -80,7 +80,7 @@ public class StockInboundOrderDetailReportModel implements ExcelModel { @@ -80,7 +80,7 @@ public class StockInboundOrderDetailReportModel implements ExcelModel {
80 private BigDecimal suggestedPrice; 80 private BigDecimal suggestedPrice;
81 81
82 @ExcelProperty(value = "交货日期", index = 21) 82 @ExcelProperty(value = "交货日期", index = 21)
83 - @DateTimeFormat("yyyy/MM/dd") 83 + @DateTimeFormat("yyyy/M/d")
84 private Date deliveryDate; 84 private Date deliveryDate;
85 85
86 @ExcelProperty(value = "超价协调价", index = 22) 86 @ExcelProperty(value = "超价协调价", index = 22)