MES.Service/Dto/webApi/ErpCAA.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MES.Service/Dto/webApi/ErpCAB.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MES.Service/Modes/Womcaa.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MES.Service/Modes/Womcab.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MES.Service/service/WomcaaManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
MES.Service/Dto/webApi/ErpCAA.cs
@@ -43,4 +43,6 @@ public string? PLAN_NUM { get; set; } public string? FPrdOrgId { get; set; } public string? FEnTrustOrgId { get; set; } public string? Btbz { get; set; } } MES.Service/Dto/webApi/ErpCAB.cs
@@ -13,7 +13,7 @@ public string? FMTONO { get; set; } public string? FLot { get; set; } public string? FStockID { get; set; } public string? FIssueType { get; set; } public string? FIssueType { get; set; } public string? FUnitID { get; set; } public string? FSupplyType { get; set; } public string? FStdQty { get; set; } @@ -21,9 +21,9 @@ public string? FNumerator { get; set; } public string? FDenominator { get; set; } public string? FENTRYID { get; set; } public string? PID { get; set; } public string Id { get; set; } public string? FSeq { get; set; } @@ -31,4 +31,9 @@ public string? FFixScrapQty { get; set; } public string? FScrapRate { get; set; } public string? FReplaceGroup { get; set; } public string? FUseRate { get; set; } public string? FMaterialType { get; set; } public string? FMustQty { get; set; } } MES.Service/Modes/Womcaa.cs
@@ -399,14 +399,8 @@ public string? Fpurorderentryseq { get; set; } /// <summary> /// 电气产品型号 /// 备注(表体) /// </summary> [SugarColumn(ColumnName = "ELECTRICAL_PRODUCT_MODEL")] public string? ElectricalProductModel { get; set; } /// <summary> /// 电气产品名称 /// </summary> [SugarColumn(ColumnName = "ELECTRICAL_PRODUCT_NAME")] public string? ElectricalProductName { get; set; } [SugarColumn(ColumnName = "Btbz")] public string? Btbz { get; set; } } MES.Service/Modes/Womcab.cs
@@ -48,7 +48,7 @@ /// 已领用量 /// </summary> [SugarColumn(ColumnName = "CAB007")] public int? Cab007 { get; set; } public decimal? Cab007 { get; set; } /// <summary> /// 工艺 @@ -228,4 +228,22 @@ /// </summary> [SugarColumn(ColumnName = "FUNITID")] public string? Funitid { get; set; } /// <summary> /// 应发数量 /// </summary> [SugarColumn(ColumnName = "Must_Qty")] public decimal? MustQty { get; set; } /// <summary> /// 使用比例(%) /// </summary> [SugarColumn(ColumnName = "Use_Rate")] public decimal? UseRate { get; set; } /// <summary> /// 子项类型 1标准件 2返还件 3替代件 /// </summary> [SugarColumn(ColumnName = "Material_Type")] public string? MaterialType { get; set; } } MES.Service/service/WomcaaManager.cs
@@ -65,7 +65,7 @@ var baOrUpdate = db.Insertable(mesWomcabs).PageSize(1) .IgnoreColumnsNull() .ExecuteCommand() > 0; if (orUpdate && baOrUpdate) return true; throw new NotImplementedException("插入或更新失败"); } @@ -133,6 +133,7 @@ //Caa015 = dto.F_UNW_Text_xsddh, /// 销售订单号 ErpSczz = Convert.ToInt32(dto.FPrdOrgId), /// 生产组织ID ErpWtzz = Convert.ToInt32(dto.FEnTrustOrgId), /// 委托组织ID Btbz = dto.Btbz, /// 委托组织ID //Caa015Head = dto.F_XIFG_Integer_tzk, /// 销售订单行号 //MainProductNo = dto.F_XIFG_Base_w5c, /// 主产品编码 // MainProductQty = @@ -189,7 +190,11 @@ Eid = Convert.ToInt32(dto.Id), /// ERP ID Scrapqty = dto.FFixScrapQty, /// 固定损耗 Scraprate = dto.FScrapRate /// 变动损耗率 Scraprate = dto.FScrapRate, /// 变动损耗率 Freplacegroup = dto.FReplaceGroup, UseRate = Convert.ToDecimal(dto.FUseRate), MaterialType = dto.FMaterialType, MustQty = Convert.ToDecimal(dto.FMustQty) // Fsaleorderno = dto.FSALEORDERNO, /// 销售订单 // // CustomerItemNumber = dto.F_XIFG_Text_re5, /// 客户货号