bklLiudl
2024-09-07 b9246f8f943730b9e027e06ecbbed6c0677e69ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using Model.InterFaceModel;
using Model.ModelDto.BllAsnDto;
using Model.ModelVm.BllAsnVm;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
 
namespace WMS.IBLL.IBllAsnServer
{
    public interface IProcurePlanServer
    {
        /// <summary>
        /// 获取采购单信息
        /// </summary>
        /// <param name="model"></param>
        /// <param name="count"></param>
        /// <returns></returns>
        Task <List<ProcurePlanNoticeDto>> GetProcurePlanNoticeList(ProcurePlanNoticeVm model, RefAsync<int> count);
 
        /// <summary>
        /// 获取采购单明细信息
        /// </summary>
        /// <param name="model"></param>
        /// <param name="count"></param>
        /// <returns></returns>
        Task <List<ProcurePlanNoticeDetailDto>> GetProcurePlanNoticeDetailList(ProcurePlanNoticeDetailVm model, RefAsync<int> count);
 
        /// <summary>
        /// 通过采购单生成入库单据
        /// </summary>
        /// <param name="planDetailId"></param>
        /// <param name="userId"></param>
        public void CreateAsnByProcurePlan(int planDetailId, int userId);
 
        /// <summary>
        /// 关闭采购单据
        /// </summary>
        /// <param name="Id"></param>
        /// <param name="userId"></param>
        public void CloseProcurePlan(int Id, int userId);
 
        /// <summary>
        /// 上游系统下发创建采购单
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public ErpModel CreateProcurePlan(ProcurePlanInfo model);
    }
}