diff --git a/erp/accounting.go b/erp/accounting.go index 0abf2f8..da10969 100644 --- a/erp/accounting.go +++ b/erp/accounting.go @@ -29,6 +29,7 @@ type AccountingSearch struct { StaffIds []int64 // 业务员 AccountingIds []int64 // 做账id BanFlag int64 // 是否有效 + HasGenPayable int64 // 是否生成应付 } type ReplyAccountingList struct { @@ -48,7 +49,7 @@ type AccountingItem struct { WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` BanFlag int64 `json:"banFlag"` - GenPayableFlag bool `json:"genPayableFlag"` + HasGenPayable int64 `json:"hasGenPayable"` TotalBoxCount int64 `json:"totalBoxCount"` TotalAmount decimal.Decimal `json:"totalAmount"` TotalVolume decimal.Decimal `json:"totalVolume"` @@ -139,6 +140,7 @@ type ReplyAccountingInfo struct { WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` BanFlag int64 `json:"banFlag"` + HasGenPayable int64 `json:"hasGenPayable"` CreatedStaffId int64 `json:"createdStaffId"` CreatedAt *time.Time `json:"createdAt"` TotalBoxCount int64 `json:"totalBoxCount"` @@ -146,7 +148,6 @@ type ReplyAccountingInfo struct { TotalVolume decimal.Decimal `json:"totalVolume"` TotalGrossWeight decimal.Decimal `json:"totalGrossWeight"` TotalNetWeight decimal.Decimal `json:"totalNetWeight"` - GenPayableFlag bool `json:"genPayableFlag"` } // Info @TITLE 详情