schangxiang@126.com
2025-09-17 ff43ddf18764629ff875478e4e47a7281cbd230a
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
//using Admin.NET.Core;
//using System.Security.AccessControl;
//namespace Admin.NET.Application.Entity;
 
///// 此视图已废弃,要使用 v_wms_stock_quan_group  【Editby shaocx,2024-07-28】
///// <summary>
///// --物料汇总库存
/////可用库存、总库存、锁定库存、库位、库区、物料、跟踪码等
/////查询条件: 库存状态=3(已上架)且库存质检状态=2(合格)【add by liuwq, 2024/06/14】
///// </summary>
//[MySugarTableViewAttribute("v_wms_stock_quan_use_group", "物料可用汇总库存")]
//public class v_wms_stock_quan_use_group
//{
 
//    /// <summary>
//    /// 物料编码
//    /// </summary>
//    [Required]
//    [SugarColumn(ColumnName = "MaterialCode", ColumnDescription = "物料编码", Length = 50)]
 
//    public string MaterialCode { get; set; }
 
 
//    /// <summary>
//    /// 物料名称
//    /// </summary>
//    [SugarColumn(ColumnName = "MaterialName", ColumnDescription = "物料名称", Length = 50)]
 
//    public string? MaterialName { get; set; }
 
//    /// <summary>
//    /// 库存单位
//    /// </summary>
//    [SugarColumn(ColumnName = "MaterialUnit", ColumnDescription = "库存单位", Length = 50)]
 
//    public string? MaterialUnit { get; set; }
 
//    /// <summary>
//    /// 采购单位
//    /// </summary>
//    [SugarColumn(ColumnName = "POUnit", ColumnDescription = "采购单位", Length = 50)]
 
//    public string? POUnit { get; set; }
 
 
 
 
 
//    /// <summary>
//    ///实物总库存
//    /// </summary>
//    [Required]
//    [SugarColumn(ColumnName = "AllQuantity", ColumnDescription = "实物总库存", Length = 10, DecimalDigits = 3)]
//    public decimal AllQuantity { get; set; }
 
 
//    /// <summary>
//    ///最终可用库存(已扣减预配锁定数)
//    ///NotPredetermineLockedQtyAvailableQty-PredetermineLockedQty
//    /// </summary>
//    [Required]
//    [SugarColumn(ColumnName = "RealAvailableQty", ColumnDescription = "最终可用库存(已扣减预配锁定数)", Length = 10, DecimalDigits = 3)]
//    public decimal RealAvailableQty { get; set; }
 
 
//    /// <summary>
//    ///未扣减掉预配锁定数的可用库存
//    /// </summary>
//    [Required]
//    [SugarColumn(ColumnName = "NotPredetermineLockedQtyAvailableQty", ColumnDescription = "未扣减掉预配锁定数的可用库存", Length = 10, DecimalDigits = 3)]
//    public decimal NotPredetermineLockedQtyAvailableQty { get; set; }
 
 
 
 
//    /// <summary>
//    /// 预配锁定数
//    /// </summary>
//    [Required]
//    [SugarColumn(ColumnName = "PredetermineLockedQty", ColumnDescription = "预配锁定数", Length = 10, DecimalDigits = 3)]
//    public decimal PredetermineLockedQty { get; set; }
 
//    /// <summary>
//    /// 跟踪码实物物料锁定数
//    /// </summary>
//    [Required]
//    [SugarColumn(ColumnName = "SNLockedQty", ColumnDescription = "跟踪码实物物料锁定数", Length = 10, DecimalDigits = 3)]
//    public decimal SNLockedQty { get; set; }
 
 
 
 
 
 
//}