feat(purchase): 添加采购合同备注字段
- 在 PurchaseSearch 结构体中添加 Remark 字段,用于筛选备注信息 - 在返回结果中添加 remark 字段,显示备注信息 - 在编辑采购合同时添加 remark 参数,允许修改备注信息
This commit is contained in:
parent
ee7f3e6211
commit
f1e7ce20ce
@ -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 // 工厂联系人
|
||||
|
Loading…
x
Reference in New Issue
Block a user