更新修改单
This commit is contained in:
		
							parent
							
								
									344bdade70
								
							
						
					
					
						commit
						aabc5d4378
					
				
							
								
								
									
										10
									
								
								erp/sale.go
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								erp/sale.go
									
									
									
									
									
								
							| @ -315,3 +315,13 @@ func (s *sale) History(ctx context.Context, args ArgsSaleHistory) (reply ReplySa | ||||
| 	err = xClient.Call(ctx, "History", args, &reply) | ||||
| 	return | ||||
| } | ||||
| 
 | ||||
| // Cancel @TITLE 作废采购合同 | ||||
| func (s *sale) Cancel(ctx context.Context, saleId int64) (err error) { | ||||
| 	xClient, err := client.GetClient(s) | ||||
| 	if err != nil { | ||||
| 		return | ||||
| 	} | ||||
| 	reply := 0 | ||||
| 	return xClient.Call(ctx, "Cancel", saleId, &reply) | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user