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