feat(erp): 添加应付账款业务日期字段

- 在 ReplyPayableInfo 结构体中新增 businessDate 字段
- 该字段用于记录应付账款的业务发生日期
- 字段类型为 time.Time 指针,支持 JSON 序列化
This commit is contained in:
2026-06-30 15:00:24 +08:00
parent d26dfa6e20
commit 4ab88b2650

View File

@@ -72,6 +72,7 @@ func (p *payable) Gen(ctx context.Context, accountingId int64) (err error) {
type ReplyPayableInfo struct { type ReplyPayableInfo struct {
Id int64 `json:"id"` Id int64 `json:"id"`
PayableSerial string `json:"payableSerial"` PayableSerial string `json:"payableSerial"`
BusinessDate *time.Time `json:"businessDate"`
AccountingSerial string `json:"accountingSerial"` AccountingSerial string `json:"accountingSerial"`
InvoiceSerial string `json:"invoiceSerial"` InvoiceSerial string `json:"invoiceSerial"`
Amount decimal.Decimal `json:"amount"` Amount decimal.Decimal `json:"amount"`