来料加工订单

This commit is contained in:
潘荣晟
2026-01-23 18:31:07 +08:00
parent 7e08ec9ec4
commit d2b814bb7d
32 changed files with 2375 additions and 42 deletions

View File

@@ -1,5 +1,6 @@
package com.zt.plat.module.contractorder.controller.admin.entrustorder.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
@@ -17,6 +18,9 @@ public class EntrustOrderDetailPageReqVO extends PageParam {
@Schema(description = "收货工厂名称", example = "赵六")
private String receiveFactoryName;
@Schema(description = "订单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8625")
private Long orderId;
@Schema(description = "收货工厂编码")
private String receiveFactoryNumber;
@@ -59,4 +63,27 @@ public class EntrustOrderDetailPageReqVO extends PageParam {
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
private LocalDateTime[] createTime;
@Schema(description = "税码")
private String taxNumber;
//科目类别
@Schema(description = "科目类别")
private String accountingItemType;
//MTRL_CPNT_NUM 物料组
@Schema(description = "物料组")
private String materialGroup;
//RET_ITM 退货标识
@Schema(description = "退货标识")
private String returnItem;
//免费标识FREE_ITM
@Schema(description = "免费标识")
private String freeItem;
//VNDB 外部行号
@Schema(description = "外部行号")
private String externalLineNumber;
//ACTS_CTGR_DTL 科目分配
@Schema(description = "科目分配")
private String accountingItemAllocation;
@Schema(description = "备注")
private String remark;
}

View File

@@ -17,6 +17,8 @@ public class EntrustOrderDetailRespVO {
@ExcelProperty("主键ID")
private Long id;
@Schema(description = "订单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8625")
private Long orderId;
@Schema(description = "收货工厂名称", example = "赵六")
@ExcelProperty("收货工厂名称")
private String receiveFactoryName;
@@ -73,4 +75,35 @@ public class EntrustOrderDetailRespVO {
@ExcelProperty("创建时间")
private LocalDateTime createTime;
@Schema(description = "税码")
@ExcelProperty("税码")
private String taxNumber;
//科目类别
@Schema(description = "科目类别")
@ExcelProperty("科目类别")
private String accountingItemType;
//MTRL_CPNT_NUM 物料组
@Schema(description = "物料组")
@ExcelProperty("物料组")
private String materialGroup;
//RET_ITM 退货标识
@Schema(description = "退货标识")
@ExcelProperty("退货标识")
private String returnItem;
//免费标识FREE_ITM
@Schema(description = "免费标识")
@ExcelProperty("免费标识")
private String freeItem;
//VNDB 外部行号
@Schema(description = "外部行号")
@ExcelProperty("外部行号")
private String externalLineNumber;
//ACTS_CTGR_DTL 科目分配
@Schema(description = "科目分配")
@ExcelProperty("科目分配")
private String accountingItemAllocation;
@Schema(description = "备注")
@ExcelProperty("备注")
private String remark;
}

View File

@@ -12,9 +12,13 @@ import java.time.LocalDateTime;
@Data
public class EntrustOrderDetailSaveReqVO {
@Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8625")
private Long id;
@Schema(description = "订单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8625")
private Long orderId;
@Schema(description = "收货工厂名称", example = "赵六")
private String receiveFactoryName;
@@ -54,4 +58,27 @@ public class EntrustOrderDetailSaveReqVO {
@Schema(description = "短文本")
private String shortText;
@Schema(description = "税码")
private String taxNumber;
//科目类别
@Schema(description = "科目类别")
private String accountingItemType;
//MTRL_CPNT_NUM 物料组
@Schema(description = "物料组")
private String materialGroup;
//RET_ITM 退货标识
@Schema(description = "退货标识")
private String returnItem;
//免费标识FREE_ITM
@Schema(description = "免费标识")
private String freeItem;
//VNDB 外部行号
@Schema(description = "外部行号")
private String externalLineNumber;
//ACTS_CTGR_DTL 科目分配
@Schema(description = "科目分配")
private String accountingItemAllocation;
@Schema(description = "备注")
private String remark;
}

View File

@@ -20,7 +20,7 @@ public class EntrustOrderOrderPageReqVO extends PageParam {
private String systemOrderNumber;
@Schema(description = "公司编码;推送ERP必须")
private String companyNumber;
private String cpName;
@Schema(description = "客商编码;推送ERP必须")
private String supplierNumber;

View File

@@ -5,6 +5,8 @@ import lombok.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import com.alibaba.excel.annotation.*;
@Schema(description = "管理后台 - 采购订单 Response VO")
@@ -26,7 +28,7 @@ public class EntrustOrderOrderRespVO {
@Schema(description = "公司编码;推送ERP必须", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("公司编码;推送ERP必须")
private String companyNumber;
private String cpName;
@Schema(description = "客商编码;推送ERP必须", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("客商编码;推送ERP必须")
@@ -160,4 +162,8 @@ public class EntrustOrderOrderRespVO {
@ExcelProperty("采购组名称")
private String purchaseGroupName;
@Schema(description = "委托加工订单明细")
@ExcelProperty("委托加工订单明细")
private List<EntrustOrderDetailRespVO> entrustOrderDetails;
}

View File

@@ -23,7 +23,7 @@ public class EntrustOrderOrderSaveReqVO {
@Schema(description = "公司编码;推送ERP必须", requiredMode = Schema.RequiredMode.REQUIRED)
//@NotEmpty(message = "公司编码;推送ERP必须不能为空")
private String companyNumber;
private String cpName;
@Schema(description = "客商编码;推送ERP必须", requiredMode = Schema.RequiredMode.REQUIRED)
//@NotEmpty(message = "客商编码;推送ERP必须不能为空")

Some files were not shown because too many files have changed in this diff Show More