feat(contract): 新增合同发票管理功能
实现合同发票的增删改查功能,包括: 1. 添加ContractInvoiceVo实体类及相关ViewModel 2. 创建合同发票数据库表CONTRACT_INVOICE 3. 实现前后端发票管理服务ContractInvoiceService 4. 开发发票管理界面及标签页 5. 添加发票表格单元格组件 6. 完善销售订单表结构,增加客户联系人字段 7. 更新pom.xml版本至0.0.122-SNAPSHOT 修复销售订单界面搜索字段命名不一致问题
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
<parent>
|
||||
<groupId>com.ecep.contract</groupId>
|
||||
<artifactId>Contract-Manager</artifactId>
|
||||
<version>0.0.102-SNAPSHOT</version>
|
||||
<version>0.0.122-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.ecep.contract</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
<version>0.0.102-SNAPSHOT</version>
|
||||
<version>0.0.122-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.ecep.contract.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
import com.ecep.contract.model.IdentityEntity;
|
||||
import com.ecep.contract.model.NamedEntity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ContractInvoiceVo implements IdentityEntity, NamedEntity, ContractBasedVo, Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Integer id;
|
||||
private String code;
|
||||
private String name;
|
||||
/**
|
||||
* 关联的合同对象, Contract
|
||||
*/
|
||||
private Integer contractId;
|
||||
/**
|
||||
* 关联的发票对象, Invoice
|
||||
*/
|
||||
private Integer invoiceId;
|
||||
/**
|
||||
* 发票金额
|
||||
*/
|
||||
private Double amount;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private Integer setupPersonId;
|
||||
/**
|
||||
* 提交日期
|
||||
*/
|
||||
private LocalDate setupDate;
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private Integer updatePersonId;
|
||||
/**
|
||||
* 更新日期
|
||||
*/
|
||||
private LocalDate updateDate;
|
||||
}
|
||||
@@ -25,6 +25,7 @@ public class SalesOrderVo implements IdentityEntity, ContractBasedVo, Serializab
|
||||
private Integer refId;
|
||||
private float taxRate;
|
||||
private Integer customerId;
|
||||
private Integer customerPersonId;
|
||||
private String customerAddress;
|
||||
private Integer modifierId;
|
||||
private LocalDate modifierDate;
|
||||
|
||||
Reference in New Issue
Block a user