部署
This commit is contained in:
parent
3838a43615
commit
2d96fdfe3b
@ -158,3 +158,14 @@ func (p *purchase) Edit(ctx context.Context, args ArgsPurchaseEdit) (err error)
|
|||||||
err = xClient.Call(ctx, "Edit", args, &reply)
|
err = xClient.Call(ctx, "Edit", args, &reply)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Cancel @TITLE 作废采购合同
|
||||||
|
func (p *purchase) Cancel(ctx context.Context, purchaseId int64) (err error) {
|
||||||
|
xClient, err := client.GetClient(p)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
err = xClient.Call(ctx, "Cancel", purchaseId, &reply)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
@ -81,6 +81,8 @@ type SaleItem struct {
|
|||||||
WorkflowId int64 `json:"workflowId"`
|
WorkflowId int64 `json:"workflowId"`
|
||||||
WorkflowStatus int64 `json:"workflowStatus"`
|
WorkflowStatus int64 `json:"workflowStatus"`
|
||||||
HasPurchase int64 `json:"hasPurchase"`
|
HasPurchase int64 `json:"hasPurchase"`
|
||||||
|
PurchaseStatus int64 `json:"purchaseStatus"`
|
||||||
|
ShipmentStatus int64 `json:"shipmentStatus"`
|
||||||
CreatedStaffId int64 `json:"createdStaffId"`
|
CreatedStaffId int64 `json:"createdStaffId"`
|
||||||
CreatedAt *time.Time `json:"createdAt"`
|
CreatedAt *time.Time `json:"createdAt"`
|
||||||
UpdatedAt *time.Time `json:"updatedAt"`
|
UpdatedAt *time.Time `json:"updatedAt"`
|
||||||
|
Loading…
Reference in New Issue
Block a user