添加客户管理

修改入库页面
修改 库存 物料 工序等页面
This commit is contained in:
zhougf committed 2025-07-25 04:35:31 +08:00
1 parent 2435176f77
commit c2b039ea47
41 files changed
+977 -160

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WalkingTec.Mvvm.Core;
namespace HHWMS.Web.Models
{
[Table("Customer")]
public class Customer : BasePoco
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public new int ID { get; set; }
[Display(Name = "Customer.Code", Description = "编码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string Code { get; set; }
[Display(Name = "Customer.Type", Description = "类型")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string Type { get; set; }
[Display(Name = "Customer.Name", Description = "名称")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string Name { get; set; }
}
}
+1 -1
View File
@@ -45,7 +45,7 @@ namespace HHWMS.Web.Models
public string CompanyCode { get; set; }
[Display(Name = "Inventory.SupplierCode", Description = "供应商")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
[StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
public string SupplierCode { get; set; }
[Display(Name = "Inventory.Qty", Description = "数量")]
@@ -27,6 +27,10 @@ namespace HHWMS.Web.Models
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string ProcessCode { get; set; }
[Display(Name = "MaterialProcess.Weight", Description = "毛重")]
[Required]
public int? Weight { get; set; }
[Display(Name = "MaterialProcess.Description", Description = "工序描述")]
[StringLength(500, ErrorMessage = "Validate.{0}stringmax{1}")]
public string Description { get; set; }
+1 -1
View File
@@ -63,7 +63,7 @@ namespace HHWMS.Web.Models
public string CompanyCode { get; set; }
[Display(Name = "Inventory.SupplierCode", Description = "供应商")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
[StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
public string SupplierCode { get; set; }
[Display(Name = "Inventory.TaskQty", Description = "任务数量")]
@@ -67,7 +67,7 @@ namespace HHWMS.Web.Models
public string CompanyCode { get; set; }
[Display(Name = "Inventory.SupplierCode", Description = "供应商")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
[StringLength(100, ErrorMessage = "Validate.{0}stringmax{1}")]
public string SupplierCode { get; set; }
[Display(Name = "Inventory.Qty", Description = "数量")]