diff --git a/erp/purchase.go b/erp/purchase.go index a43d4f0..bb0898d 100644 --- a/erp/purchase.go +++ b/erp/purchase.go @@ -19,6 +19,7 @@ type ArgsPurchaseList struct { type PurchaseSearch struct { PiSerial string // 采购合同编号 PoSerial string // po + Remark string // 备注 CustomId int64 // 客户id CustomShortName string // 客户简称 CreatedStaffIds []int64 // 创建人筛选 @@ -38,6 +39,7 @@ type PurchaseItem struct { SaleId int64 `json:"saleId"` PiSerial string `json:"piSerial"` PoSerial string `json:"poSerial"` + Remark string `json:"remark"` CustomName string `json:"customName"` CustomShortName string `json:"customShortName"` DeliveryDate *time.Time `json:"deliveryDate"` @@ -105,6 +107,7 @@ type ReplyPurchaseInfo struct { AdvancePayment *decimal.Decimal `json:"advancePayment"` PoSerial string `json:"poSerial"` PiSerial string `json:"piSerial"` + Remark string `json:"remark"` WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` @@ -137,6 +140,7 @@ func (p *purchase) Info(ctx context.Context, purchaseId int64) (reply ReplyPurch type ArgsPurchaseEdit struct { PurchaseId int64 // 采购合同id PoSerial string // PoSerial + Remark string // 备注 OrderDate *time.Time // 下单日期 FactoryAddress string // 工厂地址 FactoryContact string // 工厂联系人