hao
2025-09-16 18b4c6b6060d09e51382024a6e61fe9ef8f18a8c
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
52
53
54
55
using System.Collections.Generic;
 
namespace MES.Service.Dto.webApi
{
    /// <summary>
    /// ERP 传输的制造拆卸单(主表 + 明细集合)
    /// </summary>
    public class ERPZZCXD
    {
        public ERPZZCXA ERPZZCXA { get; set; } = new ERPZZCXA();
        public List<ERPZZCXB> ERPZZCXB { get; set; } = new List<ERPZZCXB>();
    }
 
    /// <summary>
    /// ERP 制造拆卸单 主表 DTO
    /// </summary>
    public class ERPZZCXA
    {
        public string? bill_no { get; set; }   // 单据编码
        public string? dj_lx { get; set; }     // 单据类型
        public string? kc_zz { get; set; }     // 库存组织
        public string? sw_lx { get; set; }     // 事务类型
        public string? time { get; set; }      // 日期
        public string? bm { get; set; }        // 部门
        public string? cgy { get; set; }       // 仓管员
        public string? kcz { get; set; }       // 库存组
        public string? dj_zt { get; set; }     // 单据状态
        public string? memo { get; set; }      // 备注
        public string? cphzlx { get; set; }    // 成品货主类型
        public string? cphz { get; set; }      // 成品货主
        public string? zjhzlx { get; set; }    // 子件货主类型
        public string? zjhz { get; set; }      // 子件货主
        public string? item_id { get; set; }   // 物料编码id
        public string? qty { get; set; }       // 数量
        public string? unit { get; set; }      // 单位
        public string? depot_id { get; set; }  // 仓库
        public string? erpid { get; set; }     // ERP 主表id
        public string? type { get; set; }      
    }
 
    /// <summary>
    /// ERP 制造拆卸单 明细 DTO
    /// </summary>
    public class ERPZZCXB
    {
        public string? erpid { get; set; }     // ERP 主表id
        public string? eid { get; set; }       // ERP 单据头id
        public string? item_id { get; set; }   // 物料编码id
        public string? qty { get; set; }       // 数量
        public string? unit { get; set; }      // 单位
        public string? depot_id { get; set; }  // 仓库
        public string? lot_no { get; set; }    // 批号
        public string? memo { get; set; }      // 备注
    }
}