feat(erp): 添加应付账款和应收账款业务日期字段
- 在Accounting结构体中新增GenPayableFlag字段用于标识是否生成应付账款 - 在常量定义中新增InvoiceSerial排序字段支持发票序列号排序 - 在Payable结构体中新增BusinessDate字段记录业务日期 - 在ReceivableItem结构体中新增BusinessDate字段记录业务日期 - 完善了财务模块的数据结构以支持更精确的业务日期管理
This commit is contained in:
@@ -39,6 +39,7 @@ type ReceivableCount struct {
|
||||
type ReceivableItem struct {
|
||||
Id int64 `json:"id"`
|
||||
ReceivableSerial string `json:"receivableSerial"`
|
||||
BusinessDate *time.Time `json:"businessDate"`
|
||||
CustomName string `json:"customName"`
|
||||
InvoiceSerial string `json:"invoiceSerial"`
|
||||
ReceivableAmount decimal.Decimal `json:"receivableAmount"`
|
||||
|
||||
Reference in New Issue
Block a user