north-glass-erp/northglass-erp/src/views/sd/order/OrderProductSummaryReport.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
north-glass-erp/src/main/java/com/example/erp/dto/sd/OrderDTO.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
north-glass-erp/src/main/java/com/example/erp/dto/sd/OrderDetailProductDTO.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
north-glass-erp/northglass-erp/src/views/sd/order/OrderProductSummaryReport.vue
@@ -48,7 +48,7 @@ ],//表格表头字段 data:[],//表格数据 url :'/order/getOrderProductSummary', exportUrl :'/order/exportOrderReport', exportUrl :'/order/exportOrderReportProduct', exportName:t('order.orderDetailsSummaryReport'), footList:['quantity','grossArea','computeGrossArea','perimeter','price','grossAmount'] }) north-glass-erp/src/main/java/com/example/erp/dto/sd/OrderDTO.java
@@ -1,5 +1,6 @@ package com.example.erp.dto.sd; import com.alibaba.excel.annotation.ExcelProperty; import com.baomidou.mybatisplus.annotation.TableField; import com.example.erp.entity.sd.Order; import lombok.Data; @@ -8,22 +9,40 @@ @EqualsAndHashCode(callSuper = true) @Data public class OrderDTO extends Order { @ExcelProperty("产品Id") private Integer productId; @ExcelProperty("产品名称") private String productName; @ExcelProperty("订单序号") private Integer orderNumber; @ExcelProperty("宽") private Double width; @ExcelProperty("高") private Double height; @ExcelProperty("数量") private Long quantity; @ExcelProperty("弯钢弧度") private Integer bendRadius; @ExcelProperty("实际总面积") private Double grossArea; @ExcelProperty("结算总面积") private Double computeGrossArea; @ExcelProperty("形状") private String shape; @ExcelProperty("磨边类型") private String edgingType; @ExcelProperty("备注") private String remarks; @ExcelProperty("周长") private Double perimeter; @ExcelProperty("单价") private Double price; @ExcelProperty("总金额") private Long grossAmount; @ExcelProperty("一级类别") private String levelOne; @ExcelProperty("二级类别") private String levelTwo; @ExcelProperty("总厚度") private String totalThickness; } north-glass-erp/src/main/java/com/example/erp/dto/sd/OrderDetailProductDTO.java
New file @@ -0,0 +1,39 @@ package com.example.erp.dto.sd; import com.alibaba.excel.annotation.ExcelProperty; import com.example.erp.entity.sd.Order; import lombok.Data; import lombok.EqualsAndHashCode; @EqualsAndHashCode(callSuper = true) @Data public class OrderDetailProductDTO extends Order { @ExcelProperty("订单编号") private String orderId; @ExcelProperty("客户名称") private String customerName; @ExcelProperty("产品Id") private Integer productId; @ExcelProperty("产品名称") private String productName; @ExcelProperty("数量") private Long quantity; @ExcelProperty("实际总面积") private Double grossArea; @ExcelProperty("结算总面积") private Double computeGrossArea; @ExcelProperty("形状") private String shape; @ExcelProperty("弯钢弧度") private Integer bendRadius; @ExcelProperty("磨边类型") private String edgingType; @ExcelProperty("备注") private String remarks; @ExcelProperty("周长") private Double perimeter; @ExcelProperty("单价") private Double price; @ExcelProperty("总金额") private Long grossAmount; } north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java
@@ -20,43 +20,81 @@ private String orderId; @ExcelProperty("项目名称") private String project; @ExcelProperty("客户编号") private Integer customerId; @ExcelProperty("客户名称") private String customerName; @ExcelProperty("订单类型") private String orderType; @ExcelProperty("订单分类") private String orderClassify; @ExcelProperty("商标") private String icon; @ExcelProperty("包装方式") private String packType; @ExcelProperty("发货名称") private LocalDate deliveryDate; @ExcelProperty("批次") private String batch; @ExcelProperty("计算方式") private Integer calculateType; @ExcelProperty("销售人员id") private Integer salesmanId; @ExcelProperty("销售员") private String salesman; @ExcelProperty("铝条方式") private String alType; @ExcelProperty("金额") private Double money; @ExcelProperty("合同编号") private String contractId; @ExcelProperty("客户批次") private String customerBatch; @ExcelProperty("联系人") private String contacts; @ExcelProperty("联系电话") private String contactNumber; @ExcelProperty("发货地址") private String deliveryAddress; @ExcelProperty("其他金额") private Double otherMoney; @ExcelProperty("其他金额备注") private String otherMoneyRemarks; @ExcelProperty("加工要求") private String processingNote; @ExcelProperty("其他备注") private String otherRemarks; @ExcelProperty("面积") private Double area; @ExcelProperty("订单总数") private Long quantity; @ExcelProperty("订单周长") private Double perimeter; @ExcelProperty("审核人id") private String verifierId; @ExcelProperty("审核人") private String verifier; @ExcelProperty("创建人id") private String creatorId; @ExcelProperty("创建人") private String creator; @ExcelProperty("下单") private Integer createOrder; @ExcelProperty("工艺审核") private Integer processReview; @ExcelProperty("订单审核") private Integer orderReview; @ExcelProperty("生产订单") private Integer productionOrder; @ExcelProperty("流程卡") private Integer processingCard; @ExcelProperty("入库") private Integer warehousing; @ExcelProperty("发货") private Integer delivery; @ExcelProperty("创建日期") private LocalDate createTime; @ExcelProperty("修改日期") private LocalDate updateTime; @TableField(select = false,exist = false) private Integer goodsQuantity;