已添加13个文件
已重命名240个文件
已修改33个文件
已复制12个文件
已删除3个文件
| | |
| | | //è®°å½ä»»å¡ |
| | | var _id = Yitter.IdGenerator.YitIdHelper.NextId(); |
| | | var plcTaskNo = BusinessHelper.CreatePlcTaskIdForSrmTask(); |
| | | var putpakegecode = new mes_PushPackageCode() |
| | | var putpakegecode = new mes_push_packagecode() |
| | | { |
| | | Id = _id, |
| | | PackageCode=upiObj.PackageCode, |
| | |
| | | }; |
| | | |
| | | wmsDB.wms_rbline_task.Add(task); |
| | | wmsDB.mes_PushPackageCode.Add(putpakegecode); |
| | | wmsDB.mes_push_packagecode.Add(putpakegecode); |
| | | using (StationServiceClient client = new StationServiceClient()) |
| | | { |
| | | |
| | |
| | | Thread.Sleep(2000); |
| | | using (WmsDBModel edm = new WmsDBModel()) |
| | | { |
| | | var value = edm.mes_PushPackageCode.Where(x => x.PushStatus == 0 || x.PushStatus == 1).FirstOrDefault(); |
| | | var value = edm.mes_push_packagecode.Where(x => x.PushStatus == 0 || x.PushStatus == 1).FirstOrDefault(); |
| | | if (value != null) |
| | | { |
| | | PushPackageCodeInput input = new PushPackageCodeInput(); |
| | |
| | | return PlaceType; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ ¹æ®å®é
æ
åµè½¬æ¢é¿å宽 |
| | | /// </summary> |
| | | /// <param name="UpiInfo"></param> |
| | | /// <param name="PhysicalLength">ç©çé¿åº¦</param> |
| | | /// <param name="PhysicalWidth">ç©ç宽度</param> |
| | | private static void GetPhysicalWidthLength(mes_batchOrderUPI_new UpiInfo, ref double PhysicalLength, ref double PhysicalWidth) |
| | | { |
| | | if (UpiInfo.Rotation > 0) |
| | | {//妿æ¯åé¢é»ï¼ç©çé¿åå®½å¯¹è° |
| | | PhysicalWidth = UpiInfo.Length; |
| | | PhysicalLength = UpiInfo.Width; |
| | | } |
| | | else |
| | | { |
| | | PhysicalLength = UpiInfo.Length; |
| | | PhysicalWidth = UpiInfo.Width; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/V_EmptyStation.cs
copy to CC/iWareSql/WmsDBModel/V_Station_Quan.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/V_EmptyStation.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class V_EmptyStation |
| | | public partial class V_Station_Quan |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | |
| | | [StringLength(50)] |
| | | public string PlaceTypeName { get; set; } |
| | | |
| | | public decimal? Length { get; set; } |
| | | public decimal? stationLength { get; set; } |
| | | |
| | | public decimal? Width { get; set; } |
| | | |
| | |
| | | [Key] |
| | | [Column(Order = 7)] |
| | | public bool IsDelete { get; set; } |
| | | |
| | | public DateTime? InTime { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string Upi { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string DetailName { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | public double? Length { get; set; } |
| | | |
| | | public double? Thk { get; set; } |
| | | |
| | | public int? StockStatus { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string StockStatusName { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string OperReason { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OperUser { get; set; } |
| | | |
| | | public DateTime? OperTime { get; set; } |
| | | |
| | | public int? LockStatus { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string LockReason { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string LockUser { get; set; } |
| | | |
| | | public DateTime? LockTime { get; set; } |
| | | } |
| | | } |
| | |
| | | : base("name=WmsDBModel") |
| | | { |
| | | } |
| | | public virtual DbSet<mes_batchOrderUPI_new> mes_batchOrderUPI_new { get; set; } |
| | | public virtual DbSet<mes_PushPackageCode> mes_PushPackageCode { get; set; } |
| | | |
| | | public virtual DbSet<ApprovalFlow> ApprovalFlow { get; set; } |
| | | public virtual DbSet<DingTalkUser> DingTalkUser { get; set; } |
| | | public virtual DbSet<GoViewPro> GoViewPro { get; set; } |
| | | public virtual DbSet<GoViewProData> GoViewProData { get; set; } |
| | | public virtual DbSet<mes_batchOrderUPI_new> mes_batchOrderUPI_new { get; set; } |
| | | public virtual DbSet<mes_package_gather> mes_package_gather { get; set; } |
| | | public virtual DbSet<mes_package_linequeue> mes_package_linequeue { get; set; } |
| | | public virtual DbSet<mes_package_unline_record> mes_package_unline_record { get; set; } |
| | | public virtual DbSet<mes_push_packagecode> mes_push_packagecode { get; set; } |
| | | public virtual DbSet<mes_push_papercut> mes_push_papercut { get; set; } |
| | | public virtual DbSet<SysCodeGen> SysCodeGen { get; set; } |
| | | public virtual DbSet<SysCodeGenConfig> SysCodeGenConfig { get; set; } |
| | | public virtual DbSet<SysConfig> SysConfig { get; set; } |
| | |
| | | public virtual DbSet<zero_interface_list> zero_interface_list { get; set; } |
| | | public virtual DbSet<zero_user_info> zero_user_info { get; set; } |
| | | public virtual DbSet<V_EmptyStation> V_EmptyStation { get; set; } |
| | | public virtual DbSet<V_Station_Quan> V_Station_Quan { get; set; } |
| | | |
| | | protected override void OnModelCreating(DbModelBuilder modelBuilder) |
| | | { |
| | |
| | | .Property(e => e.Height) |
| | | .HasPrecision(10, 3); |
| | | |
| | | |
| | | |
| | | modelBuilder.Entity<wms_record_trans>() |
| | | .Property(e => e.SourceQuantity) |
| | | .HasPrecision(10, 3); |
| | |
| | | modelBuilder.Entity<V_EmptyStation>() |
| | | .Property(e => e.Thick) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.stationLength) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Width) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Height) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Thick) |
| | | .HasPrecision(10, 3); |
| | | } |
| | | } |
| | | } |
| | |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string UPI { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string UPI { get; set; } |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | |
| | | |
| | | public double Thk { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Matgrid { get; set; } |
| | | |
| | | public int? IsEB { get; set; } |
| | | |
| | | public int? DRNum { get; set; } |
| | | |
| | | public int? IsPA { get; set; } |
| | | |
| | | public int? MaterialIndeX { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | |
| | | |
| | | public int? Shelf { get; set; } |
| | | |
| | | public double? Rotation { get; set; } |
| | | |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
| | | public DateTime? UpdateTime { get; set; } |
| | | |
| | | public long? CreateUserId { get; set; } |
| | | |
| | | [StringLength(64)] |
| | | public string CreateUserName { get; set; } |
| | | |
| | | public long? UpdateUserId { get; set; } |
| | | |
| | | [StringLength(64)] |
| | | public string UpdateUserName { get; set; } |
| | | |
| | | public bool IsDelete { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | |
| | | [StringLength(60)] |
| | | public string Info17 { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
| | | public DateTime? UpdateTime { get; set; } |
| | | |
| | | public long? CreateUserId { get; set; } |
| | | |
| | | [StringLength(64)] |
| | | public string CreateUserName { get; set; } |
| | | |
| | | public long? UpdateUserId { get; set; } |
| | | |
| | | [StringLength(64)] |
| | | public string UpdateUserName { get; set; } |
| | | |
| | | public bool IsDelete { get; set; } |
| | | } |
| | | } |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs
copy to CC/iWareSql/WmsDBModel/mes_package_gather.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class wms_record_print |
| | | public partial class mes_package_gather |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int PrintType { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | public int PrintSource { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | |
| | | [StringLength(60)] |
| | | public string Info13 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info14 { get; set; } |
| | | |
| | | public int? Info15 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info16 { get; set; } |
| | | |
| | | public int PrintSheetNum { get; set; } |
| | | |
| | | public int PrintNum { get; set; } |
| | | |
| | | public int PrintStatus { get; set; } |
| | | |
| | | public bool IsAllowPrint { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string Remarks { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs
copy to CC/iWareSql/WmsDBModel/mes_package_linequeue.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class wms_record_print |
| | | public partial class mes_package_linequeue |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int PrintType { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | public int PrintSource { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | |
| | | [StringLength(60)] |
| | | public string Info13 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info14 { get; set; } |
| | | |
| | | public int? Info15 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info16 { get; set; } |
| | | |
| | | public int PrintSheetNum { get; set; } |
| | | |
| | | public int PrintNum { get; set; } |
| | | |
| | | public int PrintStatus { get; set; } |
| | | |
| | | public bool IsAllowPrint { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string Remarks { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs
copy to CC/iWareSql/WmsDBModel/mes_package_unline_record.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class wms_record_print |
| | | public partial class mes_package_unline_record |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int PrintType { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | public int PrintSource { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | public string Info13 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info14 { get; set; } |
| | | |
| | | public int? Info15 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info16 { get; set; } |
| | | |
| | | public int PrintSheetNum { get; set; } |
| | | |
| | | public int PrintNum { get; set; } |
| | | |
| | | public int PrintStatus { get; set; } |
| | | |
| | | public bool IsAllowPrint { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string Remarks { get; set; } |
| | | public string OpRemark { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_PushPackageCode.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class mes_PushPackageCode |
| | | public partial class mes_push_packagecode |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | |
| | | |
| | | public int PushStatus { get; set; } |
| | | |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | public int PushNum { get; set; } |
| | | |
| | | [Required] |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_PushPackageCode.cs
copy to CC/iWareSql/WmsDBModel/mes_push_papercut.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_PushPackageCode.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class mes_PushPackageCode |
| | | public partial class mes_push_papercut |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | public int PushStatus { get; set; } |
| | | |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | public int PushNum { get; set; } |
| | | |
| | | [Required] |
| | |
| | | |
| | | public bool IsDelete { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¸ä¸æ¬¡ç åç¼å· |
| | | /// </summary> |
| | | [StringLength(50)] |
| | | public string PalletizingUPI { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¸ä¸æ¬¡ç åç«ç¹ |
| | | /// </summary> |
| | | public int? PalletizingStation { get; set; } |
| | | } |
| | | } |
| | |
| | | <Compile Include="WmsDBModel\GoViewPro.cs" /> |
| | | <Compile Include="WmsDBModel\GoViewProData.cs" /> |
| | | <Compile Include="WmsDBModel\mes_batchOrderUPI_new.cs" /> |
| | | <Compile Include="WmsDBModel\mes_PushPackageCode.cs" /> |
| | | <Compile Include="WmsDBModel\mes_package_gather.cs" /> |
| | | <Compile Include="WmsDBModel\mes_package_linequeue.cs" /> |
| | | <Compile Include="WmsDBModel\mes_package_unline_record.cs" /> |
| | | <Compile Include="WmsDBModel\mes_push_packagecode.cs" /> |
| | | <Compile Include="WmsDBModel\mes_push_papercut.cs" /> |
| | | <Compile Include="WmsDBModel\SysCodeGen.cs" /> |
| | | <Compile Include="WmsDBModel\SysCodeGenConfig.cs" /> |
| | | <Compile Include="WmsDBModel\SysConfig.cs" /> |
| | |
| | | <Compile Include="WmsDBModel\Test_Student.cs" /> |
| | | <Compile Include="WmsDBModel\Test_Teachert.cs" /> |
| | | <Compile Include="WmsDBModel\V_EmptyStation.cs" /> |
| | | <Compile Include="WmsDBModel\V_Station_Quan.cs" /> |
| | | <Compile Include="WmsDBModel\WmsDBModel.cs" /> |
| | | <Compile Include="WmsDBModel\wms_adapter_categories.cs" /> |
| | | <Compile Include="WmsDBModel\wms_adapter_management.cs" /> |
| | |
| | | </entityFramework> |
| | | <connectionStrings> |
| | | <!--æ¬å°--> |
| | | <add name="MyDbContext" connectionString="data source=.;initial catalog=WHMY_Prod_Test;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> |
| | | <add name="WmsDBModel" connectionString="data source=localhost;initial catalog=LA24030_LuLiPackageLine;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> |
| | | </connectionStrings> |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> |
| | | </startup> |
| | | <system.serviceModel> |
| | | <bindings> |
| | | <basicHttpBinding> |
| | | <binding name="BasicHttpBinding_IPrintWcfService" /> |
| | | </basicHttpBinding> |
| | | </bindings> |
| | | <client> |
| | | <endpoint address="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" |
| | | binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPrintWcfService" |
| | | contract="PrintBaseService.IPrintWcfService" name="BasicHttpBinding_IPrintWcfService" /> |
| | | </client> |
| | | </system.serviceModel> |
| | | </configuration> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <configuration> |
| | | <configSections> |
| | | <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> |
| | | <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/> |
| | | </configSections> |
| | | <entityFramework> |
| | | <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> |
| | | <parameters> |
| | | <parameter value="mssqllocaldb"/> |
| | | </parameters> |
| | | </defaultConnectionFactory> |
| | | <providers> |
| | | <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/> |
| | | </providers> |
| | | </entityFramework> |
| | | <connectionStrings> |
| | | <add name="WmsDBModel" connectionString="data source=172.17.1.111;initial catalog=LA24030_LuLiPackageLine;persist security info=True;user id=sa;password=admin@123;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> |
| | | </connectionStrings> |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> |
| | | </startup> |
| | | <system.serviceModel> |
| | | <bindings> |
| | | <basicHttpBinding> |
| | | <binding name="BasicHttpBinding_IPrintWcfService" /> |
| | | </basicHttpBinding> |
| | | </bindings> |
| | | <client> |
| | | <endpoint address="http://localhost:8735/Design_Time_Addresses/Express_printer.wcf/PrintWcfService/" |
| | | binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPrintWcfService" |
| | | contract="PrintBaseService.IPrintWcfService" name="BasicHttpBinding_IPrintWcfService" /> |
| | | </client> |
| | | </system.serviceModel> |
| | | </configuration> |
| | |
| | | </providers> |
| | | </entityFramework> |
| | | <connectionStrings> |
| | | <!--æ¬å°--> |
| | | <add name="WmsDBModel" connectionString="data source=localhost;initial catalog=LA24030_LuLiPackageLine;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> |
| | | <add name="WmsDBModel" connectionString="data source=172.17.1.111;initial catalog=LA24030_LuLiPackageLine;persist security info=True;user id=sa;password=admin@123;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient"/> |
| | | </connectionStrings> |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> |
| | |
| | | using iWareSql; |
| | | using iWareSql.DataAccess; |
| | | using iWareSql.MyDbContext; |
| | | using iWareSql.WmsDBModel; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | |
| | | data.Add("Info13", item.Info13 ?? "");//å½åå
é¢ç§¯ |
| | | data.Add("printTime", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); |
| | | |
| | | //mycontext.mes |
| | | data.Add("leijisaomiaomj", item.Info13 ?? "");//ç´¯è®¡æ«æé¢ç§¯ |
| | | |
| | | //æ¥è¯¢ä¸ å
æ°æ® |
| | | var mylist = mycontext.mes_batchOrderUPI_new.Where(x => x.PackageCode == item.PackageCode).ToList(); |
| | | var gg = mylist.GroupBy(x => x.DetailName); |
| | |
| | | <DependentUpon>Resources.resx</DependentUpon> |
| | | <DesignTime>True</DesignTime> |
| | | </Compile> |
| | | <None Include="App - æ£å¼.config" /> |
| | | <None Include="App - æ¬æº.config" /> |
| | | <None Include="Connected Services\PrintBaseService\item.xsd"> |
| | | <SubType>Designer</SubType> |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/ApprovalFlow.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/DingTalkUser.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/GoViewPro.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/GoViewProData.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysCodeGen.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysCodeGenConfig.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysConfig.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysDictData.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysDictType.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysFile.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysJobCluster.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysJobDetail.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysJobTrigger.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysJobTriggerRecord.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysLdap.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysLogDiff.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysLogEx.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysLogOp.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysLogVis.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysMenu.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysNotice.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysNoticeUser.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysOnlineUser.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysOpenAccess.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysOrg.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysPlugin.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysPos.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysPrint.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysRegion.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysRole.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysRoleMenu.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysRoleOrg.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysTenant.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysUser.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysUserExtOrg.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysUserLdap.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysUserRole.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysWechatPay.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/SysWechatUser.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/Test_Student.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/Test_Teachert.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/V_EmptyStation.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/V_EmptyStation.cs
copy to LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel/V_Station_Quan.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/V_EmptyStation.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class V_EmptyStation |
| | | public partial class V_Station_Quan |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | |
| | | [StringLength(50)] |
| | | public string PlaceTypeName { get; set; } |
| | | |
| | | public decimal? Length { get; set; } |
| | | public decimal? stationLength { get; set; } |
| | | |
| | | public decimal? Width { get; set; } |
| | | |
| | |
| | | [Key] |
| | | [Column(Order = 7)] |
| | | public bool IsDelete { get; set; } |
| | | |
| | | public DateTime? InTime { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string Upi { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string DetailName { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | public double? Length { get; set; } |
| | | |
| | | public double? Thk { get; set; } |
| | | |
| | | public int? StockStatus { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string StockStatusName { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string OperReason { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OperUser { get; set; } |
| | | |
| | | public DateTime? OperTime { get; set; } |
| | | |
| | | public int? LockStatus { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string LockReason { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string LockUser { get; set; } |
| | | |
| | | public DateTime? LockTime { get; set; } |
| | | } |
| | | } |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel.cs ÐÞ¸Ä |
| | |
| | | using System.Data.Entity; |
| | | using System.Linq; |
| | | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | public partial class WmsDBModel : DbContext |
| | | { |
| | |
| | | public virtual DbSet<GoViewPro> GoViewPro { get; set; } |
| | | public virtual DbSet<GoViewProData> GoViewProData { get; set; } |
| | | public virtual DbSet<mes_batchOrderUPI_new> mes_batchOrderUPI_new { get; set; } |
| | | public virtual DbSet<mes_PushPackageCode> mes_PushPackageCode { get; set; } |
| | | public virtual DbSet<mes_package_gather> mes_package_gather { get; set; } |
| | | public virtual DbSet<mes_package_linequeue> mes_package_linequeue { get; set; } |
| | | public virtual DbSet<mes_package_unline_record> mes_package_unline_record { get; set; } |
| | | public virtual DbSet<mes_push_packagecode> mes_push_packagecode { get; set; } |
| | | public virtual DbSet<mes_push_papercut> mes_push_papercut { get; set; } |
| | | public virtual DbSet<SysCodeGen> SysCodeGen { get; set; } |
| | | public virtual DbSet<SysCodeGenConfig> SysCodeGenConfig { get; set; } |
| | | public virtual DbSet<SysConfig> SysConfig { get; set; } |
| | |
| | | public virtual DbSet<zero_interface_list> zero_interface_list { get; set; } |
| | | public virtual DbSet<zero_user_info> zero_user_info { get; set; } |
| | | public virtual DbSet<V_EmptyStation> V_EmptyStation { get; set; } |
| | | public virtual DbSet<V_Station_Quan> V_Station_Quan { get; set; } |
| | | |
| | | protected override void OnModelCreating(DbModelBuilder modelBuilder) |
| | | { |
| | |
| | | modelBuilder.Entity<V_EmptyStation>() |
| | | .Property(e => e.Thick) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.stationLength) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Width) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Height) |
| | | .HasPrecision(10, 3); |
| | | |
| | | modelBuilder.Entity<V_Station_Quan>() |
| | | .Property(e => e.Thick) |
| | | .HasPrecision(10, 3); |
| | | } |
| | | } |
| | | } |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_batchOrderUPI_new.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string UPI { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string UPI { get; set; } |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | |
| | | |
| | | public double Thk { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Matgrid { get; set; } |
| | | |
| | | public int? IsEB { get; set; } |
| | | |
| | | public int? DRNum { get; set; } |
| | | |
| | | public int? IsPA { get; set; } |
| | | |
| | | public int? MaterialIndeX { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | |
| | | |
| | | public int? Shelf { get; set; } |
| | | |
| | | public double? Rotation { get; set; } |
| | | |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | [StringLength(60)] |
| | | public string Info16 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info17 { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
| | | public DateTime? UpdateTime { get; set; } |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs
copy to LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel/mes_package_gather.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class wms_record_print |
| | | public partial class mes_package_gather |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int PrintType { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | public int PrintSource { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | |
| | | [StringLength(60)] |
| | | public string Info13 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info14 { get; set; } |
| | | |
| | | public int? Info15 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info16 { get; set; } |
| | | |
| | | public int PrintSheetNum { get; set; } |
| | | |
| | | public int PrintNum { get; set; } |
| | | |
| | | public int PrintStatus { get; set; } |
| | | |
| | | public bool IsAllowPrint { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string Remarks { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs
copy to LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel/mes_package_linequeue.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class wms_record_print |
| | | public partial class mes_package_linequeue |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int PrintType { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | public int PrintSource { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | public int? AreaCode { get; set; } |
| | | |
| | | public int UpiStatus { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | |
| | | [StringLength(60)] |
| | | public string Info13 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info14 { get; set; } |
| | | |
| | | public int? Info15 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info16 { get; set; } |
| | | |
| | | public int PrintSheetNum { get; set; } |
| | | |
| | | public int PrintNum { get; set; } |
| | | |
| | | public int PrintStatus { get; set; } |
| | | |
| | | public bool IsAllowPrint { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string Remarks { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs
copy to LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel/mes_package_unline_record.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class wms_record_print |
| | | public partial class mes_package_unline_record |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | | |
| | | public int PrintType { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | public int PrintSource { get; set; } |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info4 { get; set; } |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info5 { get; set; } |
| | | public string Info4 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info6 { get; set; } |
| | |
| | | public string Info13 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info14 { get; set; } |
| | | |
| | | public int? Info15 { get; set; } |
| | | |
| | | [StringLength(60)] |
| | | public string Info16 { get; set; } |
| | | |
| | | public int PrintSheetNum { get; set; } |
| | | |
| | | public int PrintNum { get; set; } |
| | | |
| | | public int PrintStatus { get; set; } |
| | | |
| | | public bool IsAllowPrint { get; set; } |
| | | |
| | | [StringLength(255)] |
| | | public string Remarks { get; set; } |
| | | public string OpRemark { get; set; } |
| | | |
| | | public DateTime? CreateTime { get; set; } |
| | | |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_PushPackageCode.cs
copy to LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel/mes_push_packagecode.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_PushPackageCode.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class mes_PushPackageCode |
| | | public partial class mes_push_packagecode |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | |
| | | |
| | | public int PushStatus { get; set; } |
| | | |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | public int PushNum { get; set; } |
| | | |
| | | [Required] |
copy from LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_PushPackageCode.cs
copy to LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/WmsDBModel/mes_push_papercut.cs
Îļþ´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/mes_PushPackageCode.cs ¸´ÖÆ |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class mes_PushPackageCode |
| | | public partial class mes_push_papercut |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public long Id { get; set; } |
| | |
| | | [StringLength(50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | public double? Info1 { get; set; } |
| | | |
| | | public double? Info2 { get; set; } |
| | | |
| | | public double? Info3 { get; set; } |
| | | |
| | | public int PushStatus { get; set; } |
| | | |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | public int PushNum { get; set; } |
| | | |
| | | [Required] |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/test_place.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_adapter_categories.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_adapter_management.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_adapter_record.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_base_area.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_base_factory.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_base_material.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_base_material_type.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_base_place.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_base_warehouse.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_config_no_rule.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_config_print.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_config_serial_rule.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_config_serial_sn.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_config_sncode_rule.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_log_action.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_rbline_runmode.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_rbline_task.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_print.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_record_trans.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_stock_quan.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_sys_basic_data.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_sys_help_doc.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_sys_pda_menu.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_sys_pda_role_menu.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/wms_task.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/zero_database_info.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/zero_entity_column_info.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/zero_entity_info.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/zero_interface_category.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/zero_interface_list.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Print/LA24030_LuLiPackageLine_PrintService/iWareSql/zero_user_info.cs ÐÞ¸Ä |
| | |
| | | namespace iWareSql |
| | | namespace iWareSql.WmsDBModel |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | <Reference Include="System.Xml" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <Compile Include="ApprovalFlow.cs" /> |
| | | <Compile Include="DataAccess\ContainerHandler.cs" /> |
| | | <Compile Include="DataAccess\PurchaseOrderHandler.cs" /> |
| | | <Compile Include="DataAccess\SapHandler.cs" /> |
| | | <Compile Include="DataAccess\SysDictDataHandler.cs" /> |
| | | <Compile Include="DataAccess\BasicDataSetHandler.cs" /> |
| | | <Compile Include="DataAccess\ClearDataHandler.cs" /> |
| | | <Compile Include="DingTalkUser.cs" /> |
| | | <Compile Include="Entity\ExtendEntity\MatModel.cs" /> |
| | | <Compile Include="Entity\ExtendEntity\SyncStockToMesEntity.cs" /> |
| | | <Compile Include="Entity\ExtendEntity\UDT_SYS_ExceptionInfo_Extend.cs" /> |
| | |
| | | <Compile Include="Entity\ViewMode\BoardLoadMaterialView.cs" /> |
| | | <Compile Include="Entity\ViewMode\MatStockCollectView.cs" /> |
| | | <Compile Include="Entity\ViewMode\PlaceLocationView.cs" /> |
| | | <Compile Include="GoViewPro.cs" /> |
| | | <Compile Include="GoViewProData.cs" /> |
| | | <Compile Include="mes_batchOrderUPI_new.cs" /> |
| | | <Compile Include="mes_PushPackageCode.cs" /> |
| | | <Compile Include="MyDbContext\Base_BasicDataSet.cs" /> |
| | | <Compile Include="MyDbContext\basic_customer_info.cs" /> |
| | | <Compile Include="MyDbContext\basic_express_info.cs" /> |
| | |
| | | <Compile Include="MyDbContext\ware_views_detail.cs" /> |
| | | <Compile Include="MyDbContext\ware_workflow.cs" /> |
| | | <Compile Include="Properties\AssemblyInfo.cs" /> |
| | | <Compile Include="SysCodeGen.cs" /> |
| | | <Compile Include="SysCodeGenConfig.cs" /> |
| | | <Compile Include="SysConfig.cs" /> |
| | | <Compile Include="SysDictData.cs" /> |
| | | <Compile Include="SysDictType.cs" /> |
| | | <Compile Include="SysFile.cs" /> |
| | | <Compile Include="SysJobCluster.cs" /> |
| | | <Compile Include="SysJobDetail.cs" /> |
| | | <Compile Include="SysJobTrigger.cs" /> |
| | | <Compile Include="SysJobTriggerRecord.cs" /> |
| | | <Compile Include="SysLdap.cs" /> |
| | | <Compile Include="SysLogDiff.cs" /> |
| | | <Compile Include="SysLogEx.cs" /> |
| | | <Compile Include="SysLogOp.cs" /> |
| | | <Compile Include="SysLogVis.cs" /> |
| | | <Compile Include="SysMenu.cs" /> |
| | | <Compile Include="SysNotice.cs" /> |
| | | <Compile Include="SysNoticeUser.cs" /> |
| | | <Compile Include="SysOnlineUser.cs" /> |
| | | <Compile Include="SysOpenAccess.cs" /> |
| | | <Compile Include="SysOrg.cs" /> |
| | | <Compile Include="SysPlugin.cs" /> |
| | | <Compile Include="SysPos.cs" /> |
| | | <Compile Include="SysPrint.cs" /> |
| | | <Compile Include="SysRegion.cs" /> |
| | | <Compile Include="SysRole.cs" /> |
| | | <Compile Include="SysRoleMenu.cs" /> |
| | | <Compile Include="SysRoleOrg.cs" /> |
| | | <Compile Include="SysTenant.cs" /> |
| | | <Compile Include="SysUser.cs" /> |
| | | <Compile Include="SysUserExtOrg.cs" /> |
| | | <Compile Include="SysUserLdap.cs" /> |
| | | <Compile Include="SysUserRole.cs" /> |
| | | <Compile Include="SysWechatPay.cs" /> |
| | | <Compile Include="SysWechatUser.cs" /> |
| | | <Compile Include="TestMyDbContext\Model1.cs" /> |
| | | <Compile Include="test_place.cs" /> |
| | | <Compile Include="Test_Student.cs" /> |
| | | <Compile Include="Test_Teachert.cs" /> |
| | | <Compile Include="V_EmptyStation.cs" /> |
| | | <Compile Include="WmsDBModel.cs" /> |
| | | <Compile Include="wms_adapter_categories.cs" /> |
| | | <Compile Include="wms_adapter_management.cs" /> |
| | | <Compile Include="wms_adapter_record.cs" /> |
| | | <Compile Include="wms_base_area.cs" /> |
| | | <Compile Include="wms_base_factory.cs" /> |
| | | <Compile Include="wms_base_material.cs" /> |
| | | <Compile Include="wms_base_material_type.cs" /> |
| | | <Compile Include="wms_base_place.cs" /> |
| | | <Compile Include="wms_base_warehouse.cs" /> |
| | | <Compile Include="wms_config_no_rule.cs" /> |
| | | <Compile Include="wms_config_print.cs" /> |
| | | <Compile Include="wms_config_serial_rule.cs" /> |
| | | <Compile Include="wms_config_serial_sn.cs" /> |
| | | <Compile Include="wms_config_sncode_rule.cs" /> |
| | | <Compile Include="wms_log_action.cs" /> |
| | | <Compile Include="wms_rbline_runmode.cs" /> |
| | | <Compile Include="wms_rbline_task.cs" /> |
| | | <Compile Include="wms_record_print.cs" /> |
| | | <Compile Include="wms_record_trans.cs" /> |
| | | <Compile Include="wms_stock_quan.cs" /> |
| | | <Compile Include="wms_sys_basic_data.cs" /> |
| | | <Compile Include="wms_sys_help_doc.cs" /> |
| | | <Compile Include="wms_sys_pda_menu.cs" /> |
| | | <Compile Include="wms_sys_pda_role_menu.cs" /> |
| | | <Compile Include="wms_task.cs" /> |
| | | <Compile Include="zero_database_info.cs" /> |
| | | <Compile Include="zero_entity_column_info.cs" /> |
| | | <Compile Include="zero_entity_info.cs" /> |
| | | <Compile Include="zero_interface_category.cs" /> |
| | | <Compile Include="zero_interface_list.cs" /> |
| | | <Compile Include="zero_user_info.cs" /> |
| | | <Compile Include="WmsDBModel\ApprovalFlow.cs" /> |
| | | <Compile Include="WmsDBModel\DingTalkUser.cs" /> |
| | | <Compile Include="WmsDBModel\GoViewPro.cs" /> |
| | | <Compile Include="WmsDBModel\GoViewProData.cs" /> |
| | | <Compile Include="WmsDBModel\mes_batchOrderUPI_new.cs" /> |
| | | <Compile Include="WmsDBModel\mes_package_gather.cs" /> |
| | | <Compile Include="WmsDBModel\mes_package_linequeue.cs" /> |
| | | <Compile Include="WmsDBModel\mes_package_unline_record.cs" /> |
| | | <Compile Include="WmsDBModel\mes_push_packagecode.cs" /> |
| | | <Compile Include="WmsDBModel\mes_push_papercut.cs" /> |
| | | <Compile Include="WmsDBModel\SysCodeGen.cs" /> |
| | | <Compile Include="WmsDBModel\SysCodeGenConfig.cs" /> |
| | | <Compile Include="WmsDBModel\SysConfig.cs" /> |
| | | <Compile Include="WmsDBModel\SysDictData.cs" /> |
| | | <Compile Include="WmsDBModel\SysDictType.cs" /> |
| | | <Compile Include="WmsDBModel\SysFile.cs" /> |
| | | <Compile Include="WmsDBModel\SysJobCluster.cs" /> |
| | | <Compile Include="WmsDBModel\SysJobDetail.cs" /> |
| | | <Compile Include="WmsDBModel\SysJobTrigger.cs" /> |
| | | <Compile Include="WmsDBModel\SysJobTriggerRecord.cs" /> |
| | | <Compile Include="WmsDBModel\SysLdap.cs" /> |
| | | <Compile Include="WmsDBModel\SysLogDiff.cs" /> |
| | | <Compile Include="WmsDBModel\SysLogEx.cs" /> |
| | | <Compile Include="WmsDBModel\SysLogOp.cs" /> |
| | | <Compile Include="WmsDBModel\SysLogVis.cs" /> |
| | | <Compile Include="WmsDBModel\SysMenu.cs" /> |
| | | <Compile Include="WmsDBModel\SysNotice.cs" /> |
| | | <Compile Include="WmsDBModel\SysNoticeUser.cs" /> |
| | | <Compile Include="WmsDBModel\SysOnlineUser.cs" /> |
| | | <Compile Include="WmsDBModel\SysOpenAccess.cs" /> |
| | | <Compile Include="WmsDBModel\SysOrg.cs" /> |
| | | <Compile Include="WmsDBModel\SysPlugin.cs" /> |
| | | <Compile Include="WmsDBModel\SysPos.cs" /> |
| | | <Compile Include="WmsDBModel\SysPrint.cs" /> |
| | | <Compile Include="WmsDBModel\SysRegion.cs" /> |
| | | <Compile Include="WmsDBModel\SysRole.cs" /> |
| | | <Compile Include="WmsDBModel\SysRoleMenu.cs" /> |
| | | <Compile Include="WmsDBModel\SysRoleOrg.cs" /> |
| | | <Compile Include="WmsDBModel\SysTenant.cs" /> |
| | | <Compile Include="WmsDBModel\SysUser.cs" /> |
| | | <Compile Include="WmsDBModel\SysUserExtOrg.cs" /> |
| | | <Compile Include="WmsDBModel\SysUserLdap.cs" /> |
| | | <Compile Include="WmsDBModel\SysUserRole.cs" /> |
| | | <Compile Include="WmsDBModel\SysWechatPay.cs" /> |
| | | <Compile Include="WmsDBModel\SysWechatUser.cs" /> |
| | | <Compile Include="WmsDBModel\test_place.cs" /> |
| | | <Compile Include="WmsDBModel\Test_Student.cs" /> |
| | | <Compile Include="WmsDBModel\Test_Teachert.cs" /> |
| | | <Compile Include="WmsDBModel\V_EmptyStation.cs" /> |
| | | <Compile Include="WmsDBModel\V_Station_Quan.cs" /> |
| | | <Compile Include="WmsDBModel\WmsDBModel.cs" /> |
| | | <Compile Include="WmsDBModel\wms_adapter_categories.cs" /> |
| | | <Compile Include="WmsDBModel\wms_adapter_management.cs" /> |
| | | <Compile Include="WmsDBModel\wms_adapter_record.cs" /> |
| | | <Compile Include="WmsDBModel\wms_base_area.cs" /> |
| | | <Compile Include="WmsDBModel\wms_base_factory.cs" /> |
| | | <Compile Include="WmsDBModel\wms_base_material.cs" /> |
| | | <Compile Include="WmsDBModel\wms_base_material_type.cs" /> |
| | | <Compile Include="WmsDBModel\wms_base_place.cs" /> |
| | | <Compile Include="WmsDBModel\wms_base_warehouse.cs" /> |
| | | <Compile Include="WmsDBModel\wms_config_no_rule.cs" /> |
| | | <Compile Include="WmsDBModel\wms_config_print.cs" /> |
| | | <Compile Include="WmsDBModel\wms_config_serial_rule.cs" /> |
| | | <Compile Include="WmsDBModel\wms_config_serial_sn.cs" /> |
| | | <Compile Include="WmsDBModel\wms_config_sncode_rule.cs" /> |
| | | <Compile Include="WmsDBModel\wms_log_action.cs" /> |
| | | <Compile Include="WmsDBModel\wms_rbline_runmode.cs" /> |
| | | <Compile Include="WmsDBModel\wms_rbline_task.cs" /> |
| | | <Compile Include="WmsDBModel\wms_record_print.cs" /> |
| | | <Compile Include="WmsDBModel\wms_record_trans.cs" /> |
| | | <Compile Include="WmsDBModel\wms_stock_quan.cs" /> |
| | | <Compile Include="WmsDBModel\wms_sys_basic_data.cs" /> |
| | | <Compile Include="WmsDBModel\wms_sys_help_doc.cs" /> |
| | | <Compile Include="WmsDBModel\wms_sys_pda_menu.cs" /> |
| | | <Compile Include="WmsDBModel\wms_sys_pda_role_menu.cs" /> |
| | | <Compile Include="WmsDBModel\wms_task.cs" /> |
| | | <Compile Include="WmsDBModel\zero_database_info.cs" /> |
| | | <Compile Include="WmsDBModel\zero_entity_column_info.cs" /> |
| | | <Compile Include="WmsDBModel\zero_entity_info.cs" /> |
| | | <Compile Include="WmsDBModel\zero_interface_category.cs" /> |
| | | <Compile Include="WmsDBModel\zero_interface_list.cs" /> |
| | | <Compile Include="WmsDBModel\zero_user_info.cs" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <None Include="App.config"> |
| | |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| | | <link rel="stylesheet" type="text/css" media="print" href="/print-lock.css" /> |
| | | <link rel="icon" href="/favicon.ico" /> |
| | | <title>æ åååææåº</title> |
| | | <title>é²ä¸½æ¨ä¸å
è£
线</title> |
| | | </head> |
| | | <body> |
| | | <div id="app"></div> |
| | |
| | | "pinia": "^2.1.7", |
| | | "print-js": "^1.6.0", |
| | | "push.js": "^1.0.12", |
| | | "qrcode": "^1.5.4", |
| | | "qrcodejs2-fixes": "^0.0.2", |
| | | "qs": "^6.12.1", |
| | | "relation-graph": "^2.2.0", |
| | |
| | | "VITE_PUBLIC_PATH": "", |
| | | "VITE_SM_PUBLIC_KEY": "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312", |
| | | "VITE_API_URL": "http://localhost:5005" |
| | | //"VITE_API_URL": "http://172.17.1.111:5005" //æ£å¼å°å |
| | | } |
| | |
| | | AddWmsStockQuan = '/api/wmsStockQuan/add', |
| | | DeleteWmsStockQuan = '/api/wmsStockQuan/delete', |
| | | UpdateWmsStockQuan = '/api/wmsStockQuan/update', |
| | | PageWmsStockQuan = '/api/wmsStockQuan/page', //888 |
| | | PageWmsStockQuan = '/api/wmsStockQuan/page', |
| | | ShortagePage = '/api/wmsStockQuan/ShortagePage', |
| | | |
| | | ShortagePageGroupByInfo5 = '/api/wmsStockQuan/ShortagePageGroupByInfo5', |
| | | ShortageList = '/api/wmsStockQuan/ShortageList', |
| | | |
| | | PageStockQuanForUse= '/api/wmsStockQuan/getStockQuanPageForUse', |
| | | ListWmsStockQuan = '/api/wmsStockQuan/list', |
| | | DetailWmsStockQuan = '/api/wmsStockQuan/detail', |
| | |
| | | data: params |
| | | }); |
| | | |
| | | |
| | | export const ShortagePageGroupByInfo5 = (params?: any) => |
| | | request({ |
| | | url: Api.ShortagePageGroupByInfo5, |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | // å页æ¥è¯¢å®æ¶åºå |
| | | export const ShortageList = (params?: any) => |
| | | request({ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '/@/utils/request'; |
| | | enum Api { |
| | | AddMesPushPackageCode = '/api/mesPushPackageCode/add', |
| | | DeleteMesPushPackageCode = '/api/mesPushPackageCode/delete', |
| | | UpdateMesPushPackageCode = '/api/mesPushPackageCode/update', |
| | | PageMesPushPackageCode = '/api/mesPushPackageCode/page', |
| | | ListMesPushPackageCode = '/api/mesPushPackageCode/list', |
| | | DetailMesPushPackageCode = '/api/mesPushPackageCode/detail', |
| | | ImportExcelMesPushPackageCode = '/api/mesPushPackageCode/importExcel', |
| | | DownloadExcelTemplateMesPushPackageCode = '/api/mesPushPackageCode/downloadExcelTemplate', |
| | | } |
| | | |
| | | // å¢å å
è£
å®æå¯¹æ¥ |
| | | export const addMesPushPackageCode = (params?: any) => |
| | | request({ |
| | | url: Api.AddMesPushPackageCode, |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | |
| | | // å é¤å
è£
å®æå¯¹æ¥ |
| | | export const deleteMesPushPackageCode = (params?: any) => |
| | | request({ |
| | | url: Api.DeleteMesPushPackageCode, |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | |
| | | // ç¼è¾å
è£
å®æå¯¹æ¥ |
| | | export const updateMesPushPackageCode = (params?: any) => |
| | | request({ |
| | | url: Api.UpdateMesPushPackageCode, |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | |
| | | // 导å
¥å
è£
å®æå¯¹æ¥ |
| | | export const importExcelMesPushPackageCode = (params?: any) => |
| | | request({ |
| | | url: Api.ImportExcelMesPushPackageCode, |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | |
| | | // ä¸è½½å¯¼å
¥å
è£
å®æå¯¹æ¥æ¨¡æ¿ |
| | | export const downloadExcelTemplateMesPushPackageCode = (params?: any) => |
| | | request({ |
| | | url: Api.DownloadExcelTemplateMesPushPackageCode, |
| | | method: 'get', |
| | | data: params, |
| | | responseType: 'blob' |
| | | }); |
| | | |
| | | |
| | | // å页æ¥è¯¢å
è£
å®æå¯¹æ¥ |
| | | export const pageMesPushPackageCode = (params?: any) => |
| | | request({ |
| | | url: Api.PageMesPushPackageCode, |
| | | method: 'post', |
| | | data: params |
| | | }); |
| | | |
| | | // ä¸å页æ¥è¯¢å
è£
å®æå¯¹æ¥ |
| | | export const listMesPushPackageCode = (params?: any) => |
| | | request({ |
| | | url: Api.ListMesPushPackageCode, |
| | | method: 'get', |
| | | data: params |
| | | }); |
| | | |
| | | // 详æ
å
è£
å®æå¯¹æ¥ |
| | | export const detailMesPushPackageCode = (id: any) => |
| | | request({ |
| | | url: Api.DetailMesPushPackageCode, |
| | | method: 'get', |
| | | data: { id } |
| | | }); |
| | | |
| | |
| | | <!--æå°å
容 --> |
| | | <template> |
| | | <div id="printContent" class="printContent"> |
| | | |
| | | |
| | | <div class="ermbox"> |
| | | <div class="t40"> |
| | | éå®è®¢åå·ï¼<span>{{ itemTitle.info16 }}</span> |
| | | </div> |
| | | <div class="imgL"> |
| | | <canvas ref="qrcodeCanvas"></canvas> |
| | | </div> |
| | | <div class="t41"> |
| | | ç产订åå·ï¼<span>{{ itemTitle.info5 }}</span> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="printWp" v-for="(itemW, indexW) in deltailList" :key="indexW"> |
| | | <!-- <div class="t1">{{Name[0]}} {{Name[1]}} {{Name[2]}}</div> --> |
| | | <div class="t1">{{ Name }}</div> |
| | | <div class="header_pt"> |
| | | <div class="box1"> |
| | | <img class="imgL" src="http://localhost:8888/src/assets/logo-mini.png" alt="" /> |
| | | |
| | | |
| | | <!-- <img class="imgL" src="http://localhost:8888/src/assets/logo-mini.png" alt="" /> --> |
| | | <!-- <img class="imgL" src="@/assets/logo.png" alt="" /> --> |
| | | <div class="t2"> |
| | | <p class="text1"> |
| | | é²ä¸½æ¨ä¸è¡ä»½æéå
¬å¸ |
| | | </p> |
| | | </div> |
| | | <!-- <div class="t2"> |
| | | <p class="text1">é²ä¸½æ¨ä¸è¡ä»½æéå
¬å¸</p> |
| | | </div> --> |
| | | </div> |
| | | <div class="box-t1"> |
| | | <div> |
| | | åå·ï¼<span>{{ itemTitle.orderNo }}</span> |
| | | æå°æ¶é´ï¼<span>{{ DateToday }}</span> |
| | | </div> |
| | | <div> |
| | | <div> |
| | | <span> {{ DateToday }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="t4"> |
| | | ç¼ºææ»æ°éï¼<span>{{ deltailList.length }}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <table cellspacing="0" cellpadding="0"> |
| | | <tr class="middle_first"> |
| | | <td class="middle_tree">ç¼å·</td> |
| | | <td class="middle_one">æ¹æ¬¡</td> |
| | | <td class="middle_two">订åå·</td> |
| | | <td class="middle_four">å
è£
å·</td> |
| | | <td class="middle_one">ææ</td> |
| | | <td class="middle_two">é¨ä»¶åç§°</td> |
| | | <td class="middle_four">尺寸</td> |
| | | <td class="middle_one">é¨ä»¶æ¡ç </td> |
| | | </tr> |
| | | <tr class="middle_first" v-for="(item, index) in itemW" :key="index"> |
| | |
| | | |
| | | <td class="middle_one"> |
| | | <div> |
| | | {{ item.planNo }} |
| | | <!-- {{ item.planNo }} --> |
| | | </div> |
| | | </td> |
| | | <td class="middle_two"> |
| | | <div> |
| | | {{ item.orderId }} |
| | | {{ item.detailName }} |
| | | </div> |
| | | </td> |
| | | <td class="middle_four"> |
| | | <div> |
| | | {{ item.packageCode }} |
| | | {{ item.info16 }} |
| | | </div> |
| | | </td> |
| | | <td class="middle_one"> |
| | |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | <!-- <br /> <br /> --> |
| | | <!-- <div class="box-t2"> |
| | | <div>ä¾è´§æ¹ç¡®è®¤ï¼ç§é汽车è£
å¤ï¼æ¦æ±ï¼æéå
¬å¸ </div> |
| | | <div> ç¾æ¶äººï¼ä»£æ¶äººï¼ï¼ </div> |
| | | </div> --> |
| | | <!-- å§å çµè¯ å°å --> |
| | | <!-- <div class="box-t2"> |
| | | <div>å§å&çµè¯ï¼</div> |
| | | <div> æ¥æï¼ </div> |
| | | </div> --> |
| | | <!-- <div class="box-t2 box-t2R"> |
| | | <div>å°åï¼</div> |
| | | </div> --> |
| | | <span class="pageNum">{{ indexW + 1 }}</span> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import { ref, nextTick, computed, defineExpose, defineEmits, markRaw, defineProps } from 'vue'; |
| | | import { ref, nextTick, computed, defineExpose, defineEmits, markRaw, defineProps, onMounted } from 'vue'; |
| | | import printJS from 'print-js'; |
| | | // import { formatUtcToData } from "@/utils/formate"; |
| | | |
| | | import QRCode from 'qrcode'; |
| | | const Name = ref([]); |
| | | const DateToday = ref(''); |
| | | const itemTitle: any = ref({}); |
| | |
| | | } |
| | | return data; |
| | | }; |
| | | |
| | | const qrcodeCanvas = ref<HTMLCanvasElement | null>(null); |
| | | |
| | | // }; |
| | | const printHd = (name: string, itemSubTitle: any, deltailListArr: any) => { |
| | | console.log('æå°æ¡æ°8888==' + deltailListArr.length); |
| | | Name.value = name; |
| | | debugger; |
| | | |
| | | // if(itemSubTitle && itemSubTitle.length>0){ |
| | | // itemTitle.value = itemSubTitle[0] |
| | | // } |
| | | itemTitle.value.orderNo = deltailListArr[0].orderNo; |
| | | itemTitle.value.info5 = deltailListArr[0].info5; |
| | | itemTitle.value.info16 = deltailListArr[0].info16; |
| | | |
| | | deltailListArr.forEach((item, index) => { |
| | | item.num = index + 1; |
| | | }); |
| | |
| | | |
| | | // console.log(itemSubTitle) |
| | | // console.log(deltailListArr) |
| | | if (deltailListArr[0].info5) { |
| | | debugger |
| | | nextTick(() => { |
| | | QRCode.toCanvas(qrcodeCanvas.value, deltailListArr[0].info5, { width: 150 }); |
| | | });// å¨ç»ä»¶æè½½æ¶çæäºç»´ç |
| | | } |
| | | |
| | | nextTick(() => { |
| | | printJS({ |
| | | printable: 'printContent', // è¦æå°çå
ç´ ç ID |
| | |
| | | position: relative; |
| | | } |
| | | |
| | | .imgL { |
| | | width: 140px; |
| | | } |
| | | |
| | | .t1 { |
| | | text-align: center; |
| | | font-size: 30px !important; |
| | | font-size: 20px !important; |
| | | font-weight: bold; |
| | | border: 1px solid transparent; |
| | | padding-bottom: 119px; |
| | | } |
| | | |
| | | .ermbox { |
| | | position: absolute; |
| | | top: 10px; |
| | | left: 20px; |
| | | } |
| | | |
| | | .imgL { |
| | | |
| | | } |
| | | .printContent { |
| | | position: relative; |
| | | z-index: -1; |
| | | z-index: 999; |
| | | font-size: 12px; |
| | | } |
| | | |
| | |
| | | display: block; |
| | | } |
| | | |
| | | .printContent .t4 { |
| | | text-align: right; |
| | | .ermbox span { |
| | | font-weight: 700; |
| | | } |
| | | |
| | | .t40 { |
| | | font-size: 12px; |
| | | } |
| | | .t41 { |
| | | font-size: 16px; |
| | | } |
| | | .printContent table { |
| | | padding: 10px 0; |
| | | } |
| | |
| | | bottom: 0; |
| | | } |
| | | |
| | | |
| | | `, |
| | | scanStyles: false, // æ¯å¦æ«æå½åç CSS æ ·å¼ |
| | | }); |
| | | }); |
| | | |
| | | |
| | | }; |
| | | |
| | | |
| | | |
| | | // onMounted(async () => { |
| | | // if (qrcodeCanvas.value) { |
| | | // try { |
| | | // await QRCode.toCanvas(qrcodeCanvas.value, "7777", { width: 100 }); |
| | | // } catch (err) { |
| | | // console.error('çæäºç»´ç åºé:', err); |
| | | // } |
| | | // } else { |
| | | // console.error('qrcodeCanvasæªå®ä¹'); |
| | | // } |
| | | // }); |
| | | |
| | | // æ´é²æ¹æ³ |
| | | defineExpose({ printHd }); |
| | |
| | | position: relative; |
| | | } |
| | | |
| | | .imgL { |
| | | width: 140px; |
| | | } |
| | | |
| | | .t1 { |
| | | text-align: center; |
| | | font-size: 30px !important; |
| | | font-size: 20px !important; |
| | | font-weight: bold; |
| | | border: 1px solid transparent; |
| | | padding-bottom: 119px; |
| | | } |
| | | |
| | | .ermbox { |
| | | position: absolute; |
| | | top: 10px; |
| | | left: 20px; |
| | | } |
| | | |
| | | .imgL { |
| | | |
| | | } |
| | | .printContent { |
| | | position: relative; |
| | | z-index: -1; |
| | | z-index: -999; |
| | | font-size: 12px; |
| | | } |
| | | |
| | |
| | | display: block; |
| | | } |
| | | |
| | | .printContent .t4 { |
| | | text-align: right; |
| | | .ermbox span { |
| | | font-weight: 700; |
| | | } |
| | | |
| | | .t40 { |
| | | font-size: 12px; |
| | | } |
| | | .t41 { |
| | | font-size: 16px; |
| | | } |
| | | .printContent table { |
| | | padding: 10px 0; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="mesPushPackageCode-container"> |
| | | <el-dialog v-model="isShowDialog" :width="800" draggable="" :close-on-click-modal="false"> |
| | | <template #header> |
| | | <div style="color: #fff"> |
| | | <!--<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>--> |
| | | <span>{{ props.title }}</span> |
| | | </div> |
| | | </template> |
| | | <el-form :model="ruleForm" ref="ruleFormRef" label-width="auto" :rules="rules" v-loading="loading"> |
| | | <el-row :gutter="35"> |
| | | <el-form-item v-show="false"> |
| | | <el-input v-model="ruleForm.id" /> |
| | | </el-form-item> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="å
è£
å·" prop="packageCode"> |
| | | <el-input v-model="ruleForm.packageCode" placeholder="请è¾å
¥å
è£
å·" maxlength="50" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¨éç¶æ" prop="pushStatus"> |
| | | <el-select clearable v-model="ruleForm.pushStatus" placeholder="è¯·éæ©æ¨éç¶æ"> |
| | | <el-option v-for="(item,index) in getEnumPushStatusData" :key="index" :value="item.value" :label="`${item.describe}`"></el-option> |
| | | |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¨éæ¶é´" prop="pushTime"> |
| | | <el-date-picker v-model="ruleForm.pushTime" type="date" placeholder="æ¨éæ¶é´" /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¨é次æ°" prop="pushNum"> |
| | | <el-input-number v-model="ruleForm.pushNum" placeholder="请è¾å
¥æ¨é次æ°" clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¥å£è¿ååæ°" prop="apiMessage"> |
| | | <el-input v-model="ruleForm.apiMessage" placeholder="请è¾å
¥æ¥å£è¿ååæ°" maxlength="50" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="å建è
é¨é¨åç§°" prop="createOrgName"> |
| | | <el-input v-model="ruleForm.createOrgName" placeholder="请è¾å
¥å建è
é¨é¨åç§°" maxlength="64" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="cancel">å æ¶</el-button> |
| | | <el-button type="primary" @click="submit" :disabled="disabled_btn">ç¡® å®</el-button> |
| | | </span> |
| | | </template> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | <style scoped> |
| | | :deep(.el-select), |
| | | :deep(.el-input-number) { |
| | | width: 100%; |
| | | } |
| | | </style> |
| | | <script lang="ts" setup> |
| | | import { ref,onMounted } from "vue"; |
| | | import { getDictDataItem as di, getDictDataList as dl } from '/@/utils/dict-utils'; |
| | | import { ElMessage } from "element-plus"; |
| | | import type { FormRules } from "element-plus"; |
| | | import { addMesPushPackageCode, updateMesPushPackageCode, detailMesPushPackageCode } from "/@/api/main/ThirdInterFace/mesPushPackageCode"; |
| | | import { getAPI } from '/@/utils/axios-utils'; |
| | | import { SysEnumApi } from '/@/api-services/api'; |
| | | |
| | | const getEnumPushStatusData = ref<any>([]); |
| | | //ç¶çº§ä¼ 鿥çåæ° |
| | | var props = defineProps({ |
| | | title: { |
| | | type: String, |
| | | default: "", |
| | | }, |
| | | }); |
| | | //ç¶çº§ä¼ 鿥ç彿°ï¼ç¨äºåè° |
| | | const emit = defineEmits(["reloadTable"]); |
| | | const ruleFormRef = ref(); |
| | | const isShowDialog = ref(false); |
| | | const loading = ref(false); |
| | | const disabled_btn = ref(false); |
| | | const ruleForm = ref<any>({}); |
| | | //èªè¡æ·»å å
¶ä»è§å |
| | | const rules = ref<FormRules>({ |
| | | packageCode: [{required: true, message: '请è¾å
¥å
è£
å·ï¼', trigger: 'blur',},], |
| | | pushStatus: [{required: true, message: 'è¯·éæ©æ¨éç¶æï¼', trigger: 'change',},], |
| | | pushNum: [{required: true, message: '请è¾å
¥æ¨é次æ°ï¼', trigger: 'blur',},], |
| | | apiMessage: [{required: true, message: '请è¾å
¥æ¥å£è¿ååæ°ï¼', trigger: 'blur',},], |
| | | createOrgName: [{required: true, message: '请è¾å
¥å建è
é¨é¨åç§°ï¼', trigger: 'blur',},], |
| | | isDelete: [{required: true, message: 'è¯·éæ©è½¯å é¤ï¼', trigger: 'change',},], |
| | | }); |
| | | |
| | | /* |
| | | * æå¼å¼¹çª |
| | | * @param flag æ è®°ï¼1æ°å¢ 2ç¼è¾ 3æ¥çï¼ |
| | | * @param row è¡æ°æ® |
| | | */ |
| | | const openDialog = async (flag: number,row: any) => { |
| | | // ruleForm.value = JSON.parse(JSON.stringify(row)); |
| | | // æ¹ç¨detailè·åææ°æ°æ®æ¥ç¼è¾ |
| | | let rowData = JSON.parse(JSON.stringify(row)); |
| | | if (rowData.id) |
| | | ruleForm.value = (await detailMesPushPackageCode(rowData.id)).data.result; |
| | | else { |
| | | ruleForm.value = rowData; |
| | | } |
| | | isShowDialog.value = true; |
| | | }; |
| | | |
| | | // å
³éå¼¹çª |
| | | const closeDialog = () => { |
| | | emit("reloadTable"); |
| | | isShowDialog.value = false; |
| | | }; |
| | | |
| | | // åæ¶ |
| | | const cancel = () => { |
| | | isShowDialog.value = false; |
| | | }; |
| | | |
| | | // æäº¤ |
| | | const submit = async () => { |
| | | disabled_btn.value = true; |
| | | ruleFormRef.value.validate(async (isValid: boolean, fields?: any) => { |
| | | if (isValid) { |
| | | loading.value = true; |
| | | let values = ruleForm.value; |
| | | let ret={}; |
| | | let title='æ°å¢'; |
| | | if (ruleForm.value.id == undefined || ruleForm.value.id == null || ruleForm.value.id == "" || ruleForm.value.id == 0) { |
| | | ret = await addMesPushPackageCode(values); |
| | | } else { |
| | | title='ç¼è¾'; |
| | | ret = await updateMesPushPackageCode(values); |
| | | } |
| | | loading.value = false; |
| | | disabled_btn.value = false; |
| | | if(ret.data.type=="success"){ |
| | | ElMessage.success(title+'æå'); |
| | | closeDialog(); |
| | | } |
| | | } else { |
| | | disabled_btn.value = false; |
| | | ElMessage({ |
| | | message: `表åæ${Object.keys(fields).length}å¤éªè¯å¤±è´¥ï¼è¯·ä¿®æ¹ååæäº¤`, |
| | | type: "error", |
| | | }); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // 页é¢å è½½æ¶ |
| | | onMounted(async () => { |
| | | getEnumPushStatusData.value = (await getAPI(SysEnumApi).apiSysEnumEnumDataListGet('PushStatusEnum')).data.result ?? []; |
| | | }); |
| | | |
| | | //å°å±æ§æè
彿°æ´é²ç»ç¶ç»ä»¶ |
| | | defineExpose({ openDialog }); |
| | | </script> |
| | | |
| | | |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="mesPushPackageCode-container"> |
| | | <el-card shadow="hover" :body-style="{ paddingBottom: '0' }"> |
| | | <el-form :model="queryParamsMesPushPackageCode" ref="queryForm" labelWidth="90"> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10"> |
| | | <el-form-item label="å
³é®å"> |
| | | <el-input v-model="queryParamsMesPushPackageCode.searchKey" clearable="" placeholder="å
è£
å·,æ¥å£è¿ååæ°,å建è
é¨é¨åç§°,å建人,ä¿®æ¹äºº"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMesPushPackageCode"> |
| | | <el-form-item label="å
è£
å·"> |
| | | <el-input v-model="queryParamsMesPushPackageCode.packageCode" clearable="" placeholder="请è¾å
¥å
è£
å·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMesPushPackageCode"> |
| | | <el-form-item label="æ¨éç¶æ"> |
| | | <el-select clearable="" v-model="queryParamsMesPushPackageCode.pushStatus" placeholder="è¯·éæ©æ¨éç¶æ"> |
| | | <el-option v-for="(item,index) in getEnumPushStatusData_Index" :key="index" :value="item.value" :label="`${item.describe}`" /> |
| | | |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMesPushPackageCode"> |
| | | <el-form-item label="æ¨éæ¶é´"> |
| | | <el-date-picker placeholder="è¯·éæ©æ¨éæ¶é´" value-format="YYYY/MM/DD" type="daterange" v-model="queryParamsMesPushPackageCode.pushTimeRange" /> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMesPushPackageCode"> |
| | | <el-form-item label="æ¨é次æ°"> |
| | | <el-input-number v-model="queryParamsMesPushPackageCode.pushNum" clearable="" placeholder="请è¾å
¥æ¨é次æ°"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMesPushPackageCode"> |
| | | <el-form-item label="æ¥å£è¿ååæ°"> |
| | | <el-input v-model="queryParamsMesPushPackageCode.apiMessage" clearable="" placeholder="请è¾å
¥æ¥å£è¿ååæ°"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMesPushPackageCode"> |
| | | <el-form-item label="å建è
é¨é¨åç§°"> |
| | | <el-input v-model="queryParamsMesPushPackageCode.createOrgName" clearable="" placeholder="请è¾å
¥å建è
é¨é¨åç§°"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" class="mb10"> |
| | | <el-form-item> |
| | | <el-button-group style="display: flex; align-items: center;"> |
| | | <el-button type="primary" icon="ele-Search" @click="handleQueryMesPushPackageCode" v-auth="'mesPushPackageCode:page'" :disabled="disabled_btnMesPushPackageCode"> æ¥è¯¢ </el-button> |
| | | <el-button icon="ele-Refresh" @click="resetMesPushPackageCode"> éç½® </el-button> |
| | | <el-button icon="ele-ZoomIn" @click="changeAdvanceQueryUIMesPushPackageCode" v-if="!showAdvanceQueryUIMesPushPackageCode" style="margin-left:5px;"> é«çº§æ¥è¯¢ </el-button> |
| | | <el-button icon="ele-ZoomOut" @click="changeAdvanceQueryUIMesPushPackageCode" v-if="showAdvanceQueryUIMesPushPackageCode" style="margin-left:5px;"> éè </el-button> |
| | | <el-button type="primary" style="margin-left:5px;" icon="ele-Plus" @click="openAddMesPushPackageCode" v-auth="'mesPushPackageCode:add'"> æ°å¢ </el-button> |
| | | <el-button type="primary" style="margin-left:5px;" icon="ele-Download" @click="handleExportExcelMesPushPackageCode" v-auth="'mesPushPackageCode:exportExcel'" > å¯¼åº </el-button> |
| | | </el-button-group> |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </el-card> |
| | | <el-card class="full-table" shadow="hover" style="margin-top: 5px"> |
| | | <el-table |
| | | ref="tableRefMesPushPackageCode" |
| | | :data="tableDataMesPushPackageCode" |
| | | style="width: 100%" |
| | | v-loading="loadingMesPushPackageCode" |
| | | tooltip-effect="light" |
| | | row-key="id" |
| | | @sort-change="sortChangeMesPushPackageCode" |
| | | border=""> |
| | | <el-table-column type="index" label="åºå·" width="55" align="center"/> |
| | | <el-table-column prop="packageCode" label="å
è£
å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="pushStatus" label="æ¨éç¶æ" show-overflow-tooltip="" > |
| | | <template #default="scope"> |
| | | <el-tag>{{ getEnumDesc(scope.row.pushStatus, getEnumPushStatusData_Index)}}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="pushTime" label="æ¨éæ¶é´" width="80" :formatter="formatDate_T_Date" show-overflow-tooltip="" /> |
| | | <el-table-column prop="pushNum" label="æ¨é次æ°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="apiMessage" label="æ¥å£è¿ååæ°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="createOrgName" label="å建è
é¨é¨åç§°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="createTime" label="å建æ¶é´" width="130" :formatter="formatDate_T_Time" show-overflow-tooltip="" /> |
| | | <el-table-column prop="updateTime" label="ä¿®æ¹æ¶é´" width="130" :formatter="formatDate_T_Time" show-overflow-tooltip="" /> |
| | | <el-table-column prop="createUserName" label="å建人" show-overflow-tooltip="" /> |
| | | <el-table-column prop="updateUserName" label="ä¿®æ¹äºº" show-overflow-tooltip="" /> |
| | | <el-table-column label="æä½" width="140" align="center" fixed="right" show-overflow-tooltip="" v-if="auth('mesPushPackageCode:update') || auth('mesPushPackageCode:delete')"> |
| | | <template #default="scope"> |
| | | <el-button icon="ele-Edit" size="small" text="" type="primary" @click="openEditMesPushPackageCode(scope.row)" v-auth="'mesPushPackageCode:update'"> ç¼è¾ </el-button> |
| | | <el-button icon="ele-Delete" size="small" text="" type="primary" @click="delMesPushPackageCode(scope.row)" v-auth="'mesPushPackageCode:delete'"> å é¤ </el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-pagination |
| | | v-model:currentPage="tableParamsMesPushPackageCode.page" |
| | | v-model:page-size="tableParamsMesPushPackageCode.pageSize" |
| | | :total="tableParamsMesPushPackageCode.total" |
| | | :page-sizes="[10, 20, 50, 100, 200, 500]" |
| | | small="" |
| | | background="" |
| | | @size-change="handleSizeChangeMesPushPackageCode" |
| | | @current-change="handleCurrentChangeMesPushPackageCode" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | /> |
| | | <printDialogMesPushPackageCode |
| | | ref="printDialogRefMesPushPackageCode" |
| | | :title="printMesPushPackageCodeTitle" |
| | | @reloadTable="handleQueryMesPushPackageCode" /> |
| | | <editDialogMesPushPackageCode |
| | | ref="editDialogRefMesPushPackageCode" |
| | | :title="editMesPushPackageCodeTitle" |
| | | @reloadTable="handleQueryMesPushPackageCode" |
| | | /> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script lang="ts" setup="" name="mesPushPackageCode"> |
| | | import { ref,onMounted } from "vue"; |
| | | import { ElMessageBox, ElMessage } from "element-plus"; |
| | | import { auth } from '/@/utils/authFunction'; |
| | | import { getDictDataItem as di, getDictDataList as dl } from '/@/utils/dict-utils'; |
| | | import { formatDate,formatDate_T_Date,formatDate_T_Time,defaultTimeRange } from '/@/utils/formatTime'; |
| | | import { exportPageExcel } from '/@/utils/exportPageExcel' //å¼å
¥å¯¼åºæ¹æ³ |
| | | |
| | | |
| | | import printDialogMesPushPackageCode from '/@/views/system/print/component/hiprint/preview.vue' |
| | | import editDialogMesPushPackageCode from '/@/views/main/ThirdInterFace/mesPushPackageCode/component/editDialog.vue' |
| | | import { pageMesPushPackageCode, deleteMesPushPackageCode,importExcelMesPushPackageCode,downloadExcelTemplateMesPushPackageCode } from '/@/api/main/ThirdInterFace/mesPushPackageCode'; |
| | | import { getAPI } from '/@/utils/axios-utils'; |
| | | import { SysEnumApi } from '/@/api-services/api'; |
| | | import commonFunction from '/@/utils/commonFunction'; |
| | | |
| | | const getEnumPushStatusData_Index = ref<any>([]); |
| | | |
| | | const { getEnumDesc } = commonFunction(); |
| | | |
| | | /***************************************************[å
è£
å®æå¯¹æ¥æä½]å¼å§***************************************************/ |
| | | const showAdvanceQueryUIMesPushPackageCode = ref(false); |
| | | const tableRefMesPushPackageCode = ref(null); |
| | | const printDialogRefMesPushPackageCode = ref(); |
| | | const editDialogRefMesPushPackageCode = ref(); |
| | | const loadingMesPushPackageCode = ref(false); |
| | | const disabled_btnMesPushPackageCode = ref(false); |
| | | const tableDataMesPushPackageCode = ref<any>([]); |
| | | const queryParamsMesPushPackageCode = ref<any>({}); |
| | | const tableParamsMesPushPackageCode = ref({ |
| | | page: 1, |
| | | pageSize: 10, |
| | | total: 0, |
| | | }); |
| | | |
| | | const printMesPushPackageCodeTitle = ref(""); |
| | | const editMesPushPackageCodeTitle = ref(""); |
| | | |
| | | // æ¹åé«çº§æ¥è¯¢çæ§ä»¶æ¾ç¤ºç¶æ |
| | | const changeAdvanceQueryUIMesPushPackageCode = () => { |
| | | showAdvanceQueryUIMesPushPackageCode.value = !showAdvanceQueryUIMesPushPackageCode.value; |
| | | } |
| | | |
| | | // æ¥è¯¢å
è£
å®æå¯¹æ¥ |
| | | const handleQueryMesPushPackageCode = async () => { |
| | | loadingMesPushPackageCode.value = true; |
| | | disabled_btnMesPushPackageCode.value = true; |
| | | var res = await pageMesPushPackageCode(Object.assign(queryParamsMesPushPackageCode.value, tableParamsMesPushPackageCode.value)); |
| | | if(res.data.type=="success"){ |
| | | tableDataMesPushPackageCode.value = res.data.result?.items ?? []; |
| | | tableParamsMesPushPackageCode.value.total = res.data.result?.total; |
| | | } |
| | | loadingMesPushPackageCode.value = false; |
| | | disabled_btnMesPushPackageCode.value = false; |
| | | }; |
| | | |
| | | // éç½®å
è£
å®æå¯¹æ¥æ¥è¯¢ |
| | | const resetMesPushPackageCode = async () => { |
| | | queryParamsMesPushPackageCode.value = {} |
| | | }; |
| | | |
| | | // å
è£
宿坹æ¥åæåº |
| | | const sortChangeMesPushPackageCode = async (column: any) => { |
| | | queryParamsMesPushPackageCode.value.field = column.prop; |
| | | queryParamsMesPushPackageCode.value.order = column.order; |
| | | await handleQueryMesPushPackageCode(); |
| | | }; |
| | | |
| | | // æå¼æ°å¢å
è£
宿坹æ¥é¡µé¢ |
| | | const openAddMesPushPackageCode = () => { |
| | | editMesPushPackageCodeTitle.value = 'æ·»å å
è£
宿坹æ¥'; |
| | | editDialogRefMesPushPackageCode.value.openDialog(1,{}); |
| | | }; |
| | | |
| | | // æå¼æå°å
è£
宿坹æ¥é¡µé¢ |
| | | const openPrintMesPushPackageCode = async (row: any) => { |
| | | printMesPushPackageCodeTitle.value = 'æå°å
è£
宿坹æ¥'; |
| | | } |
| | | |
| | | // æå¼ç¼è¾å
è£
宿坹æ¥é¡µé¢ |
| | | const openEditMesPushPackageCode = (row: any) => { |
| | | editMesPushPackageCodeTitle.value = 'ç¼è¾å
è£
宿坹æ¥'; |
| | | editDialogRefMesPushPackageCode.value.openDialog(2,row); |
| | | }; |
| | | |
| | | // å é¤å
è£
å®æå¯¹æ¥ |
| | | const delMesPushPackageCode = (row: any) => { |
| | | ElMessageBox.confirm(`ç¡®å®è¦å é¤å?`, "æç¤º", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning", |
| | | }) |
| | | .then(async () => { |
| | | loadingMesPushPackageCode.value = true; |
| | | var ret = await deleteMesPushPackageCode(row); |
| | | if(ret.data.type=="success"){ |
| | | ElMessage.success("å 餿å"); |
| | | } |
| | | loadingMesPushPackageCode.value = false; |
| | | handleQueryMesPushPackageCode(); |
| | | }) |
| | | .catch(() => {}); |
| | | }; |
| | | |
| | | // æ¹åå
è£
宿坹æ¥é¡µé¢å®¹é |
| | | const handleSizeChangeMesPushPackageCode = (val: number) => { |
| | | tableParamsMesPushPackageCode.value.pageSize = val; |
| | | handleQueryMesPushPackageCode(); |
| | | }; |
| | | |
| | | // æ¹åå
è£
宿坹æ¥é¡µç åºå· |
| | | const handleCurrentChangeMesPushPackageCode = (val: number) => { |
| | | tableParamsMesPushPackageCode.value.page = val; |
| | | handleQueryMesPushPackageCode(); |
| | | }; |
| | | |
| | | /***************************************************[å
è£
å®æå¯¹æ¥æä½]ç»æ***************************************************/ |
| | | /***************************************************[å
è£
宿坹æ¥å¯¼åº]å¼å§***************************************************/ |
| | | //å®ä¹å½å页é¢çæ¹æ³ç» |
| | | const functionMapMesPushPackageCode = { |
| | | getEnumPushStatusData_Index, |
| | | formatDate_T_Date, |
| | | formatDate_T_Time |
| | | }; |
| | | //ç¹å»å¯¼åºæé® |
| | | const handleExportExcelMesPushPackageCode = async (formData:Blob) => { |
| | | loadingMesPushPackageCode.value = true; |
| | | disabled_btnMesPushPackageCode.value = true; |
| | | var new_tableParamsMesPushPackageCode=JSON.parse(JSON.stringify(tableParamsMesPushPackageCode.value)); |
| | | new_tableParamsMesPushPackageCode.page = 1; |
| | | new_tableParamsMesPushPackageCode.pageSize = 100000; |
| | | var res = await pageMesPushPackageCode(Object.assign(queryParamsMesPushPackageCode.value, new_tableParamsMesPushPackageCode)); |
| | | if(res.data.type=="success"){ |
| | | exportExcelMesPushPackageCode(res.data.result?.items ?? []); |
| | | } |
| | | loadingMesPushPackageCode.value = false; |
| | | disabled_btnMesPushPackageCode.value = false; |
| | | }; |
| | | //å¯¼åº |
| | | const exportExcelMesPushPackageCode = async (exportDataList:Array) => { |
| | | exportPageExcel(exportDataList, tableRefMesPushPackageCode,"å
è£
宿坹æ¥",functionMapMesPushPackageCode); |
| | | }; |
| | | /***************************************************[å
è£
宿坹æ¥å¯¼åº]ç»æ***************************************************/ |
| | | // å
è£
宿坹æ¥é¡µé¢å è½½æ¶ |
| | | onMounted(async () => { |
| | | getEnumPushStatusData_Index.value = (await getAPI(SysEnumApi).apiSysEnumEnumDataListGet('PushStatusEnum')).data.result ?? []; |
| | | }); |
| | | |
| | | handleQueryMesPushPackageCode(); |
| | | </script> |
| | | <style scoped> |
| | | :deep(.el-input), |
| | | :deep(.el-select), |
| | | :deep(.el-input-number) { |
| | | width: 100%; |
| | | } |
| | | </style> |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="wmsSubstituteGood-container"> |
| | | <el-dialog v-model="isShowDialog" :width="800" draggable="" :close-on-click-modal="false"> |
| | | <template #header> |
| | | <div style="color: #fff"> |
| | | <!--<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>--> |
| | | <span>{{ props.title }}</span> |
| | | </div> |
| | | </template> |
| | | <el-form :model="ruleForm" ref="ruleFormRef" label-width="auto" :rules="rules"> |
| | | <el-row :gutter="35"> |
| | | <el-form-item v-show="false"> |
| | | <el-input v-model="ruleForm.id" /> |
| | | </el-form-item> |
| | | </el-row> |
| | | </el-form> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="cancel">å æ¶</el-button> |
| | | <el-button type="primary" @click="submit">ç¡® å®</el-button> |
| | | </span> |
| | | </template> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | <style scoped> |
| | | :deep(.el-select), |
| | | :deep(.el-input-number) { |
| | | width: 100%; |
| | | } |
| | | </style> |
| | | <script lang="ts" setup> |
| | | import { ref,onMounted } from "vue"; |
| | | import { getDictDataItem as di, getDictDataList as dl } from '/@/utils/dict-utils'; |
| | | import { ElMessage } from "element-plus"; |
| | | import type { FormRules } from "element-plus"; |
| | | import { addWmsSubstituteGood, updateWmsSubstituteGood, detailWmsSubstituteGood } from "/@/api/main/WmsBase/wmsSubstituteGood"; |
| | | |
| | | //ç¶çº§ä¼ 鿥çåæ° |
| | | var props = defineProps({ |
| | | title: { |
| | | type: String, |
| | | default: "", |
| | | }, |
| | | }); |
| | | //ç¶çº§ä¼ 鿥ç彿°ï¼ç¨äºåè° |
| | | const emit = defineEmits(["reloadTable"]); |
| | | const ruleFormRef = ref(); |
| | | const isShowDialog = ref(false); |
| | | const ruleForm = ref<any>({}); |
| | | //èªè¡æ·»å å
¶ä»è§å |
| | | const rules = ref<FormRules>({ |
| | | substituteCode: [{required: true, message: '请è¾å
¥æ¿ä»£ç¼å·ï¼', trigger: 'blur',},], |
| | | materialCode: [{required: true, message: 'è¯·éæ©ç©æç¼å·ï¼', trigger: 'change',},], |
| | | materialName: [{required: true, message: '请è¾å
¥ç©æåç§°ï¼', trigger: 'blur',},], |
| | | substituteMaterialCode: [{required: true, message: '请è¾å
¥æ¿ä»£åç©æç¼å·ï¼', trigger: 'blur',},], |
| | | substituteMaterialName: [{required: true, message: '请è¾å
¥æ¿ä»£åç©æåç§°ï¼', trigger: 'blur',},], |
| | | substituteIndex: [{required: true, message: '请è¾å
¥æ¿ä»£æ¬¡åºï¼', trigger: 'blur',},], |
| | | }); |
| | | |
| | | // æå¼å¼¹çª |
| | | const openDialog = async (row: any) => { |
| | | // ruleForm.value = JSON.parse(JSON.stringify(row)); |
| | | // æ¹ç¨detailè·åææ°æ°æ®æ¥ç¼è¾ |
| | | let rowData = JSON.parse(JSON.stringify(row)); |
| | | if (rowData.id) |
| | | ruleForm.value = (await detailWmsSubstituteGood(rowData.id)).data.result; |
| | | else |
| | | ruleForm.value = rowData; |
| | | isShowDialog.value = true; |
| | | }; |
| | | |
| | | // å
³éå¼¹çª |
| | | const closeDialog = () => { |
| | | emit("reloadTable"); |
| | | isShowDialog.value = false; |
| | | }; |
| | | |
| | | // åæ¶ |
| | | const cancel = () => { |
| | | isShowDialog.value = false; |
| | | }; |
| | | |
| | | // æäº¤ |
| | | const submit = async () => { |
| | | ruleFormRef.value.validate(async (isValid: boolean, fields?: any) => { |
| | | if (isValid) { |
| | | let values = ruleForm.value; |
| | | if (ruleForm.value.id == undefined || ruleForm.value.id == null || ruleForm.value.id == "" || ruleForm.value.id == 0) { |
| | | await addWmsSubstituteGood(values); |
| | | } else { |
| | | await updateWmsSubstituteGood(values); |
| | | } |
| | | closeDialog(); |
| | | } else { |
| | | ElMessage({ |
| | | message: `表åæ${Object.keys(fields).length}å¤éªè¯å¤±è´¥ï¼è¯·ä¿®æ¹ååæäº¤`, |
| | | type: "error", |
| | | }); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // 页é¢å è½½æ¶ |
| | | onMounted(async () => { |
| | | }); |
| | | |
| | | //å°å±æ§æè
彿°æ´é²ç»ç¶ç»ä»¶ |
| | | defineExpose({ openDialog }); |
| | | </script> |
| | | |
| | | |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div class="wmsSubstituteGood-container"> |
| | | <el-card class="full-table" shadow="hover" style="margin-top: 5px"> |
| | | <el-form :model="queryParams" @submit.native.prevent ref="queryForm" labelWidth="100"> |
| | | <el-row> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="10" :xl="4" class="mb10"> |
| | | <el-form-item label="é¨ä»¶æ¡ç " size="large"> |
| | | <el-input |
| | | size="large" |
| | | v-model="queryParams.upi" |
| | | ref="materialCodeInput" |
| | | clearable="" |
| | | placeholder="请æ«é¨ä»¶æ¡ç " |
| | | @input="handleChange" |
| | | @keyup.enter.prevent="handleEnter" |
| | | @confirm.enter.prevent="handleEnter" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" class="mb10"> |
| | | <el-form-item> |
| | | <el-button-group style="display: flex; align-items: center"> |
| | | <el-button size="large" type="primary" icon="ele-Search" @click="handleQuery"> æ¥è¯¢ </el-button> |
| | | <el-button size="large" icon="ele-Refresh" @click="() => (queryParams = {})"> éç½® </el-button> |
| | | <!-- |
| | | <el-button icon="ele-ZoomIn" @click="changeAdvanceQueryUI" v-if="!showAdvanceQueryUI" style="margin-left:5px;"> é«çº§æ¥è¯¢ </el-button> |
| | | <el-button icon="ele-ZoomOut" @click="changeAdvanceQueryUI" v-if="showAdvanceQueryUI" style="margin-left:5px;"> éè </el-button> --> |
| | | <!-- <el-button type="primary" style="margin-left:5px;" icon="ele-Plus" @click="openAddWmsSubstituteGood" v-auth="'wmsSubstituteGood:add'"> æ°å¢ </el-button> --> |
| | | </el-button-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <br /> |
| | | <div class="detailBox"> |
| | | <ul> |
| | | <!-- <li> |
| | | <span class="text_left">æ¯å¦é½å
:</span> |
| | | <span class="text_rt"></span> |
| | | </li> |
| | | <li> |
| | | <span class="text_left">æ¯å¦é½å¥:</span> |
| | | <span class="text_rt"></span> |
| | | </li> --> |
| | | |
| | | <li> |
| | | <span class="text_left">é¨ä»¶æ¡ç :</span> |
| | | <span class="text_rt">{{ tableData.upi }}</span> |
| | | </li> |
| | | |
| | | <li> |
| | | <span class="text_left">é¨ä»¶åç§°:</span> |
| | | <span class="text_rt">{{ tableData.detailName }}</span> |
| | | </li> |
| | | |
| | | <li> |
| | | <span class="text_left">æ¹æ¬¡å·:</span> |
| | | <span class="text_rt">{{ tableData.planNo }}</span> |
| | | </li> |
| | | <li> |
| | | <span class="text_left">订åå·:</span> |
| | | <span class="text_rt">{{ tableData.orderId }}</span> |
| | | </li> |
| | | <br /> <br /> <br /> <br /> <br /> <br /> |
| | | <br /> <br /> <br /> <br /> <br /> |
| | | <br /> <br /> <br /> <br /> <br /> <br /> |
| | | |
| | | |
| | | <!-- <li> |
| | | <span class="text_left">客æ·åç§°:</span> |
| | | <span class="text_rt">{{ tableData.Info10 }}</span> |
| | | </li> --> |
| | | |
| | | <!-- <li> |
| | | <span class="text_left">é¿:</span> |
| | | <span class="text_rt">{{ tableData.length }}</span> |
| | | </li> |
| | | <li> |
| | | <span class="text_left">宽:</span> |
| | | <span class="text_rt">{{ tableData.width }}</span> |
| | | </li> |
| | | <li> |
| | | <span class="text_left">å:</span> |
| | | <span class="text_rt">{{ tableData.thk }}</span> |
| | | </li> |
| | | <li> |
| | | <span class="text_left">é¨ä»¶çº¹ç:</span> |
| | | <span class="text_rt">{{ tableData.matgrid }}</span> |
| | | </li> |
| | | <li> |
| | | <span class="text_left">æ¯å¦å°è¾¹:</span> |
| | | <span class="text_rt">{{ tableData.isEB }}</span> |
| | | </li> |
| | | <li> |
| | | <span class="text_left">æå设å¤ç¼å·:</span> |
| | | <span class="text_rt">{{ tableData.dRNum }}</span> |
| | | </li> --> |
| | | </ul> |
| | | </div> |
| | | <!-- çæform é½å¥ é½å
设置ngå
--> |
| | | <!-- çæform é½å¥ é½å
设置ngå
--> |
| | | <!-- <el-form :model="ruleForm" ref="ruleFormRef" label-width="auto" :rules="rules"> |
| | | <el-row :gutter="35"> |
| | | <el-form-item v-show="false"> |
| | | <el-input v-model="ruleForm.id" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="é½å¥" prop="completeSet"> |
| | | <el-select v-model="ruleForm.completeSet" placeholder="è¯·éæ©é½å¥"> |
| | | <el-option label="é项1" value="option1"></el-option> |
| | | <el-option label="é项2" value="option2"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="é½å
" prop="packageSetup"> |
| | | <el-input v-model="ruleForm.packageSetup" placeholder="请è¾å
¥é½å
设置"></el-input> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="ngå
" prop="ngPackage"> |
| | | <el-input v-model="ruleForm.ngPackage" placeholder="请è¾å
¥ngå
"></el-input> |
| | | </el-form-item> |
| | | |
| | | </el-row> |
| | | </el-form> --> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script lang="ts" setup="" name="wmsSubstituteGood"> |
| | | import { onMounted, ref } from 'vue'; |
| | | import { ElMessageBox, ElMessage } from 'element-plus'; |
| | | import { auth } from '/@/utils/authFunction'; |
| | | import { getDictDataItem as di, getDictDataList as dl } from '/@/utils/dict-utils'; |
| | | import { formatDate } from '/@/utils/formatTime'; |
| | | import { listMes_BatchOrderUPI_New, deleteMes_BatchOrderUPI_New, importExcelMes_BatchOrderUPI_New, downloadExcelTemplateMes_BatchOrderUPI_New } from '/@/api/main/WmsOrder/mes_BatchOrderUPI_New'; |
| | | import printDialog from '/@/views/system/print/component/hiprint/preview.vue'; |
| | | import editDialog from '/@/views/main/WmsBase/wmsSubstituteGood/component/editDialog.vue'; |
| | | import { pageWmsSubstituteGood, deleteWmsSubstituteGood } from '/@/api/main/WmsBase/wmsSubstituteGood'; |
| | | import { ShortageList } from '/@/api/main/ReportCenter/wmsStockQuan'; |
| | | |
| | | const showAdvanceQueryUI = ref(false); |
| | | const printDialogRef = ref(); |
| | | const editDialogRef = ref(); |
| | | const loading = ref(false); |
| | | const tableData = ref<any>([]); |
| | | const queryParams = ref<any>({ |
| | | upi: '', |
| | | }); |
| | | const tableParams = ref({ |
| | | page: 1, |
| | | pageSize: 10, |
| | | total: 0, |
| | | }); |
| | | const getIsDisabledData = [ |
| | | { |
| | | value: true, |
| | | text: 'æ¯', |
| | | }, |
| | | { |
| | | value: false, |
| | | text: 'å¦', |
| | | }, |
| | | ]; |
| | | const printWmsSubstituteGoodTitle = ref(''); |
| | | const editWmsSubstituteGoodTitle = ref(''); |
| | | |
| | | // æ¹åé«çº§æ¥è¯¢çæ§ä»¶æ¾ç¤ºç¶æ |
| | | const changeAdvanceQueryUI = () => { |
| | | showAdvanceQueryUI.value = !showAdvanceQueryUI.value; |
| | | }; |
| | | // ç¨äºå¼ç¨è¾å
¥æ¡ |
| | | const materialCodeInput = ref(null); |
| | | |
| | | onMounted(() => { |
| | | // å¨ç»ä»¶æè½½åè¿è¡èç¦ |
| | | materialCodeInput.value.$el.querySelector('input').focus(); |
| | | }); |
| | | |
| | | // æ¥è¯¢æä½ 888888888 |
| | | const handleQuery = async () => { |
| | | console.log('8888888è¿å
¥æ¹æ³', queryParams.value); |
| | | if (!queryParams.value.upi) { |
| | | return; |
| | | } |
| | | console.log('æ¥è¯¢'); |
| | | loading.value = true; |
| | | var res = await ShortageList(Object.assign(queryParams.value, tableParams.value)); |
| | | if (res.data.result.length != 1) { |
| | | ElMessage.warning('æ¤æ¡ç ä¸å卿ä¸å¨ç¼ºææ¸
åä¸ï¼'); |
| | | tableData.value = []; |
| | | return; |
| | | } |
| | | tableData.value = res.data.result[0] ?? []; |
| | | loading.value = false; |
| | | }; |
| | | |
| | | // åæåº |
| | | const sortChange = async (column: any) => { |
| | | queryParams.value.field = column.prop; |
| | | queryParams.value.order = column.order; |
| | | await handleQuery(); |
| | | }; |
| | | |
| | | // æå¼æ°å¢é¡µé¢ |
| | | const openAddWmsSubstituteGood = () => { |
| | | editWmsSubstituteGoodTitle.value = 'æ·»å æ¿ä»£å管ç'; |
| | | editDialogRef.value.openDialog({}); |
| | | }; |
| | | |
| | | // æå¼æå°é¡µé¢ |
| | | const openPrintWmsSubstituteGood = async (row: any) => { |
| | | printWmsSubstituteGoodTitle.value = 'æå°æ¿ä»£å管ç'; |
| | | }; |
| | | |
| | | // æå¼ç¼è¾é¡µé¢ |
| | | const openEditWmsSubstituteGood = (row: any) => { |
| | | editWmsSubstituteGoodTitle.value = 'ç¼è¾æ¿ä»£å管ç'; |
| | | editDialogRef.value.openDialog(row); |
| | | }; |
| | | |
| | | // å é¤ |
| | | const delWmsSubstituteGood = (row: any) => { |
| | | ElMessageBox.confirm(`ç¡®å®è¦å é¤å?`, 'æç¤º', { |
| | | confirmButtonText: 'ç¡®å®', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning', |
| | | }) |
| | | .then(async () => { |
| | | var ret = await deleteWmsSubstituteGood(row); |
| | | if (ret.data.type == 'success') { |
| | | handleQuery(); |
| | | ElMessage.success('å 餿å'); |
| | | } |
| | | }) |
| | | .catch(() => {}); |
| | | }; |
| | | |
| | | // æ¹å页é¢å®¹é |
| | | const handleSizeChange = (val: number) => { |
| | | tableParams.value.pageSize = val; |
| | | handleQuery(); |
| | | }; |
| | | |
| | | // æ¹å页ç åºå· |
| | | const handleCurrentChange = (val: number) => { |
| | | tableParams.value.page = val; |
| | | handleQuery(); |
| | | }; |
| | | |
| | | // handleQuery(); |
| | | |
| | | const rules = { |
| | | // è¿éå®ä¹è¡¨åéªè¯è§å |
| | | completeSet: [{ required: true, message: 'è¯·éæ©é½å¥', trigger: 'change' }], |
| | | packageSetup: [{ required: true, message: '请è¾å
¥é½å
设置', trigger: 'blur' }], |
| | | ngPackage: [{ required: true, message: '请è¾å
¥ngå
', trigger: 'blur' }], |
| | | }; |
| | | |
| | | const ruleForm = ref({ |
| | | id: '', |
| | | completeSet: '', |
| | | packageSetup: '', |
| | | ngPackage: '', |
| | | }); |
| | | |
| | | const sourceEnum: any = ref([ |
| | | { |
| | | value: 'id', |
| | | text: 'ID', |
| | | }, |
| | | ]); |
| | | |
| | | const handleChange = (event: Event) => { |
| | | console.log('77777777777'); |
| | | handleQuery(); |
| | | }; |
| | | |
| | | const handleEnter = (event: Event) => { |
| | | event.preventDefault(); // 黿¢é»è®¤äºä»¶ |
| | | handleQuery(); |
| | | }; |
| | | </script> |
| | | <style scoped> |
| | | :deep(.el-input), |
| | | :deep(.el-select), |
| | | :deep(.el-input-number) { |
| | | width: 100%; |
| | | } |
| | | |
| | | .detailBox { |
| | | width: 90%; |
| | | margin: 0 auto; |
| | | display: block; |
| | | padding-bottom: 10px; |
| | | ul { |
| | | margin: 0; |
| | | padding: 0; |
| | | li { |
| | | display: block; |
| | | line-height: 30px; |
| | | text-align: left; |
| | | list-style-type: none; |
| | | width: 25%; |
| | | word-wrap: break-word; |
| | | } |
| | | } |
| | | } |
| | | .text_left { |
| | | font-weight: 700; |
| | | } |
| | | </style> |
| | |
| | | <el-input v-model="ruleForm.id" /> |
| | | </el-form-item> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æå¨åºå" prop="areaCode"> |
| | | <el-select clearable v-model="ruleForm.areaCode" placeholder="è¯·éæ©æå¨åºå"> |
| | | <el-option v-for="(item,index) in getEnumAreaCodeData" :key="index" :value="item.value" :label="`${item.describe}`"></el-option> |
| | | |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¿æç¶æ" prop="upiStatus"> |
| | | <el-select clearable v-model="ruleForm.upiStatus" placeholder="è¯·éæ©æ¿æç¶æ"> |
| | | <el-option v-for="(item,index) in getEnumUpiStatusData" :key="index" :value="item.value" :label="`${item.describe}`"></el-option> |
| | | |
| | | </el-select> |
| | | <el-form-item label="é¨ä»¶æ¡ç " prop="upi"> |
| | | <el-input v-model="ruleForm.upi" placeholder="请è¾å
¥é¨ä»¶æ¡ç " maxlength="50" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="é¨ä»¶æ¡ç " prop="upi"> |
| | | <el-input v-model="ruleForm.upi" placeholder="请è¾å
¥é¨ä»¶æ¡ç " maxlength="50" show-word-limit clearable /> |
| | | <el-form-item label="ç产åå·" prop="info5"> |
| | | <el-input v-model="ruleForm.info5" placeholder="请è¾å
¥ç产åå·" maxlength="60" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æå¨åºå" prop="areaCode"> |
| | | <el-select clearable v-model="ruleForm.areaCode" placeholder="è¯·éæ©æå¨åºå"> |
| | | <el-option v-for="(item,index) in getEnumAreaCodeData" :key="index" :value="item.value" :label="`${item.describe}`"></el-option> |
| | | |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¿æç¶æ" prop="upiStatus"> |
| | | <el-select clearable v-model="ruleForm.upiStatus" placeholder="è¯·éæ©æ¿æç¶æ"> |
| | | <el-option v-for="(item,index) in getEnumUpiStatusData" :key="index" :value="item.value" :label="`${item.describe}`"></el-option> |
| | | |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | |
| | |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="é¨ä»¶çº¹ç" prop="matgrid"> |
| | | <el-input v-model="ruleForm.matgrid" placeholder="请è¾å
¥é¨ä»¶çº¹ç" maxlength="50" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¯å¦å°è¾¹" prop="isEB"> |
| | | <el-input-number v-model="ruleForm.isEB" placeholder="请è¾å
¥æ¯å¦å°è¾¹" clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æå设å¤ç¼å·" prop="dRNum"> |
| | | <el-input-number v-model="ruleForm.dRNum" placeholder="请è¾å
¥æå设å¤ç¼å·" clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æ¯å¦ä¼åå
è£
" prop="isPA"> |
| | | <el-input-number v-model="ruleForm.isPA" placeholder="请è¾å
¥æ¯å¦ä¼åå
è£
" clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="é¯åå¾å·" prop="materialIndeX"> |
| | | <el-input-number v-model="ruleForm.materialIndeX" placeholder="请è¾å
¥é¯åå¾å·" clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="转åè§åº¦" prop="rotation"> |
| | | <el-input v-model="ruleForm.rotation" placeholder="请è¾å
¥è½¬åè§åº¦" maxlength="53" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="纸箱é¿" prop="info1"> |
| | | <el-input v-model="ruleForm.info1" placeholder="请è¾å
¥çº¸ç®±é¿" maxlength="53" show-word-limit clearable /> |
| | | |
| | |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="éå®åååå·" prop="info4"> |
| | | <el-input v-model="ruleForm.info4" placeholder="请è¾å
¥éå®åååå·" maxlength="60" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="ç产åå·" prop="info5"> |
| | | <el-input v-model="ruleForm.info5" placeholder="请è¾å
¥ç产åå·" maxlength="60" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20"> |
| | | <el-form-item label="æºæ¢°èæ¯å¦æè½¬" prop="info17"> |
| | | <el-input v-model="ruleForm.info17" placeholder="请è¾å
¥æºæ¢°èæ¯å¦æè½¬" maxlength="60" show-word-limit clearable /> |
| | | |
| | | </el-form-item> |
| | | |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <template #footer> |
| | |
| | | const ruleForm = ref<any>({}); |
| | | //èªè¡æ·»å å
¶ä»è§å |
| | | const rules = ref<FormRules>({ |
| | | upiStatus: [{required: true, message: 'è¯·éæ©æ¿æç¶æï¼', trigger: 'change',},], |
| | | upi: [{required: true, message: '请è¾å
¥é¨ä»¶æ¡ç ï¼', trigger: 'blur',},], |
| | | planNo: [{required: true, message: '请è¾å
¥æ¹æ¬¡å·ï¼', trigger: 'blur',},], |
| | | orderId: [{required: true, message: '请è¾å
¥è®¢åå·ï¼', trigger: 'blur',},], |
| | | upi: [{required: true, message: '请è¾å
¥é¨ä»¶æ¡ç ï¼', trigger: 'blur',},], |
| | | upiStatus: [{required: true, message: 'è¯·éæ©æ¿æç¶æï¼', trigger: 'change',},], |
| | | detailName: [{required: true, message: '请è¾å
¥é¨ä»¶åç§°ï¼', trigger: 'blur',},], |
| | | length: [{required: true, message: '请è¾å
¥é¿ï¼', trigger: 'blur',},], |
| | | width: [{required: true, message: '请è¾å
¥å®½ï¼', trigger: 'blur',},], |
| | |
| | | <el-row> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10"> |
| | | <el-form-item label="å
³é®å"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.searchKey" clearable="" placeholder="æ¹æ¬¡å·,订åå·,é¨ä»¶æ¡ç ,é¨ä»¶åç§°,é¨ä»¶çº¹ç,å
è£
å·,éå®åååå·,ç产åå·,第å å
,ç»éåºåç§°,产ååç§°,客æ·åç§°,å
è£
ç¼ç ,èªæoråè´§,å
è£
é¨ä»¶æ»æ°é,å
è£
é¢ç§¯,é¨ä»¶åç§°,é¨ä»¶å°ºå¯¸,å建人,ä¿®æ¹äºº"/> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.searchKey" clearable="" placeholder="é¨ä»¶æ¡ç ,æ¹æ¬¡å·,订åå·,ç产åå·,é¨ä»¶åç§°,å
è£
å·,éå®åååå·,第å å
,ç»éåºåç§°,产ååç§°,客æ·åç§°,å
è£
ç¼ç ,èªæoråè´§,å
è£
é¨ä»¶æ»æ°é,å
è£
é¢ç§¯,é¨ä»¶åç§°,é¨ä»¶å°ºå¯¸,æºæ¢°èæ¯å¦æè½¬,å建人,ä¿®æ¹äºº"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="é¨ä»¶æ¡ç "> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.upi" clearable="" placeholder="请è¾å
¥é¨ä»¶æ¡ç "/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="æ¹æ¬¡å·"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.planNo" clearable="" placeholder="请è¾å
¥æ¹æ¬¡å·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="订åå·"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.orderId" clearable="" placeholder="请è¾å
¥è®¢åå·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="ç产åå·"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.info5" clearable="" placeholder="请è¾å
¥ç产åå·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-option v-for="(item,index) in getEnumUpiStatusData_Index" :key="index" :value="item.value" :label="`${item.describe}`" /> |
| | | |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="æ¹æ¬¡å·"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.planNo" clearable="" placeholder="请è¾å
¥æ¹æ¬¡å·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="订åå·"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.orderId" clearable="" placeholder="请è¾å
¥è®¢åå·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="é¨ä»¶æ¡ç "> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.upi" clearable="" placeholder="请è¾å
¥é¨ä»¶æ¡ç "/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="é¨ä»¶çº¹ç"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.matgrid" clearable="" placeholder="请è¾å
¥é¨ä»¶çº¹ç"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="æ¯å¦å°è¾¹"> |
| | | <el-input-number v-model="queryParamsMes_BatchOrderUPI_New.isEB" clearable="" placeholder="请è¾å
¥æ¯å¦å°è¾¹"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="æå设å¤ç¼å·"> |
| | | <el-input-number v-model="queryParamsMes_BatchOrderUPI_New.dRNum" clearable="" placeholder="请è¾å
¥æå设å¤ç¼å·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="æ¯å¦ä¼åå
è£
"> |
| | | <el-input-number v-model="queryParamsMes_BatchOrderUPI_New.isPA" clearable="" placeholder="请è¾å
¥æ¯å¦ä¼åå
è£
"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="é¯åå¾å·"> |
| | | <el-input-number v-model="queryParamsMes_BatchOrderUPI_New.materialIndeX" clearable="" placeholder="请è¾å
¥é¯åå¾å·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="转åè§åº¦"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.rotation" clearable="" placeholder="请è¾å
¥è½¬åè§åº¦"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="纸箱é¿"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.info1" clearable="" placeholder="请è¾å
¥çº¸ç®±é¿"/> |
| | | |
| | |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="éå®åååå·"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.info4" clearable="" placeholder="请è¾å
¥éå®åååå·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="ç产åå·"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.info5" clearable="" placeholder="请è¾å
¥ç产åå·"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIMes_BatchOrderUPI_New"> |
| | | <el-form-item label="æºæ¢°èæ¯å¦æè½¬"> |
| | | <el-input v-model="queryParamsMes_BatchOrderUPI_New.info17" clearable="" placeholder="请è¾å
¥æºæ¢°èæ¯å¦æè½¬"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" class="mb10"> |
| | | <el-form-item> |
| | | <el-button-group style="display: flex; align-items: center;"> |
| | |
| | | @sort-change="sortChangeMes_BatchOrderUPI_New" |
| | | border=""> |
| | | <el-table-column type="index" label="åºå·" width="55" align="center"/> |
| | | <el-table-column prop="upi" label="é¨ä»¶æ¡ç " show-overflow-tooltip="" /> |
| | | <el-table-column prop="planNo" label="æ¹æ¬¡å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="orderId" label="订åå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info5" label="ç产åå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="areaCode" label="æå¨åºå" show-overflow-tooltip="" > |
| | | <template #default="scope"> |
| | | <el-tag>{{ getEnumDesc(scope.row.areaCode, getEnumAreaCodeData_Index)}}</el-tag> |
| | |
| | | <el-tag>{{ getEnumDesc(scope.row.upiStatus, getEnumUpiStatusData_Index)}}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="planNo" label="æ¹æ¬¡å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="orderId" label="订åå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="upi" label="é¨ä»¶æ¡ç " show-overflow-tooltip="" /> |
| | | <el-table-column prop="detailName" label="é¨ä»¶åç§°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="length" label="é¿" show-overflow-tooltip="" /> |
| | | <el-table-column prop="width" label="宽" show-overflow-tooltip="" /> |
| | | <el-table-column prop="thk" label="å" show-overflow-tooltip="" /> |
| | | <el-table-column prop="matgrid" label="é¨ä»¶çº¹ç" show-overflow-tooltip="" /> |
| | | <el-table-column prop="isEB" label="æ¯å¦å°è¾¹" show-overflow-tooltip="" /> |
| | | <el-table-column prop="dRNum" label="æå设å¤ç¼å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="isPA" label="æ¯å¦ä¼åå
è£
" show-overflow-tooltip="" /> |
| | | <el-table-column prop="materialIndeX" label="é¯åå¾å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="packageCode" label="å
è£
å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="machineXCenter" label="å
è£
Xåæ " show-overflow-tooltip="" /> |
| | | <el-table-column prop="machineYCenter" label="å
è£
Yåæ " show-overflow-tooltip="" /> |
| | | <el-table-column prop="machineZCenter" label="å
è£
Zåæ " show-overflow-tooltip="" /> |
| | | <el-table-column prop="sequence" label="屿°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="shelf" label="次åº" show-overflow-tooltip="" /> |
| | | <el-table-column prop="rotation" label="转åè§åº¦" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info1" label="纸箱é¿" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info2" label="纸箱宽" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info3" label="纸箱é«" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info4" label="éå®åååå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info5" label="ç产åå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info6" label="第å å
" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info7" label="ç»éåºåç§°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info8" label="产ååç§°" show-overflow-tooltip="" /> |
| | |
| | | <el-table-column prop="info14" label="é¨ä»¶åç§°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info15" label="é¨ä»¶æ°é" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info16" label="é¨ä»¶å°ºå¯¸" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info17" label="æºæ¢°èæ¯å¦æè½¬" show-overflow-tooltip="" /> |
| | | <el-table-column prop="createTime" label="å建æ¶é´" width="130" :formatter="formatDate_T_Time" show-overflow-tooltip="" /> |
| | | <el-table-column prop="updateTime" label="ä¿®æ¹æ¶é´" width="130" :formatter="formatDate_T_Time" show-overflow-tooltip="" /> |
| | | <el-table-column prop="createUserName" label="å建人" show-overflow-tooltip="" /> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <!-- å详æ
--> |
| | | <el-drawer v-model="drawerVisible" :title="`${detailForm.poId}详æ
`" direction="rtl" size="80%" @close="handleDrawerClose"> |
| | | <template #title> |
| | | <div class="slot_title"> |
| | | <div class="title_orderNo">{{ title }}</div> |
| | | <div>详æ
</div> |
| | | </div> |
| | | </template> |
| | | |
| | | <div class="detailBoxWrap"> |
| | | <!-- 详æ
ç»ä»¶ --> |
| | | <open-details ref="propDetailRef"></open-details> |
| | | <div class="msi-form"> |
| | | <el-form :model="detailForm"> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="é¨ä»¶åç§°"> |
| | | <el-input v-model="detailForm.detailName" clearable placeholder="请è¾å
¥é¨ä»¶åç§°" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <el-form-item label-width="20px"> |
| | | <el-button type="primary" icon="el-icon-search" @click="getDetail">æ¥è¯¢</el-button> |
| | | <!-- <el-button type="primary" icon="ele-Printer" @click="getPrint">æå°</el-button> --> |
| | | <el-button type="primary" style="margin-left: 5px" icon="ele-Printer" @click="handleHtmlPrint"> æå° </el-button> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | </div> |
| | | <div class="msi-content"> |
| | | <!-- <p style="margin-bottom: 10px">ç©ææç»</p> --> |
| | | <el-table :data="drawerList" border striped :max-height="480"> |
| | | <el-table-column fixed="left" type="index" label="åºå·" width="55" align="center" /> |
| | | |
| | | <el-table-column prop="planNo" label="æ¹æ¬¡" show-overflow-tooltip="" /> |
| | | |
| | | <el-table-column prop="orderId" label="订åå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="info5" label="ç产åå·" show-overflow-tooltip="" /> |
| | | |
| | | <el-table-column prop="packageCode" label="å
è£
å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="upi" label="é¨ä»¶æ¡ç " show-overflow-tooltip="" /> |
| | | <el-table-column prop="detailName" label="é¨ä»¶åç§°" show-overflow-tooltip="" /> |
| | | |
| | | <!-- <el-table-column prop="placeCode" label="åºä½ç¼ç " show-overflow-tooltip="" /> |
| | | <el-table-column prop="inTime" label="è¿å
¥æ¶é´" width="80" :formatter="formatDate_T_Date" show-overflow-tooltip="" /> |
| | | <el-table-column prop="upi" label="é¨ä»¶æ¡ç " show-overflow-tooltip="" /> |
| | | <el-table-column prop="detailName" label="é¨ä»¶åç§°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="planNo" label="æ¹æ¬¡" show-overflow-tooltip="" /> |
| | | <el-table-column prop="orderId" label="订åå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="packageCode" label="å
è£
å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="length" label="é¿" show-overflow-tooltip="" /> |
| | | <el-table-column prop="width" label="宽" show-overflow-tooltip="" /> |
| | | <el-table-column prop="thk" label="å" show-overflow-tooltip="" /> |
| | | <el-table-column prop="stockStatus" label="åºåç¶æ" show-overflow-tooltip=""> |
| | | <template #default="scope"> |
| | | <el-tag>{{ getEnumDesc(scope.row.stockStatus, getEnumStockStatusData_Index) }}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="stockStatusName" label="åºåç¶æåç§°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="operReason" label="æä½åå " show-overflow-tooltip="" /> |
| | | <el-table-column prop="operUser" label="æä½äºº" show-overflow-tooltip="" /> |
| | | <el-table-column prop="operTime" label="æä½æ¶é´" width="80" :formatter="formatDate_T_Date" show-overflow-tooltip="" /> |
| | | <el-table-column prop="lockStatus" label="éå®ç¶æ" show-overflow-tooltip=""> |
| | | <template #default="scope"> |
| | | <el-tag>{{ getEnumDesc(scope.row.lockStatus, getEnumLockStatusData_Index) }}</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="lockReason" label="éå®åå " show-overflow-tooltip="" /> |
| | | <el-table-column prop="lockUser" label="éå®äºº" show-overflow-tooltip="" /> |
| | | <el-table-column prop="lockTime" label="é宿¶é´" width="80" :formatter="formatDate_T_Date" show-overflow-tooltip="" /> |
| | | <el-table-column prop="remarks" label="夿³¨" show-overflow-tooltip="" /> |
| | | <el-table-column prop="createTime" label="å建æ¶é´" width="130" :formatter="formatDate_T_Time" show-overflow-tooltip="" /> |
| | | <el-table-column prop="updateTime" label="ä¿®æ¹æ¶é´" width="130" :formatter="formatDate_T_Time" show-overflow-tooltip="" /> |
| | | <el-table-column prop="createUserName" label="å建人" show-overflow-tooltip="" /> |
| | | <el-table-column prop="updateUserName" label="ä¿®æ¹äºº" show-overflow-tooltip="" /> --> |
| | | </el-table> |
| | | <Pagination :total="detailCount" v-model:page="detailForm.Page" v-model:limit="detailForm.PageSize" @pagination="getDetail" style="margin-top: 20px; text-align: center"></Pagination> |
| | | |
| | | <div></div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- æå° --> |
| | | <print-table-ckd ref="printTableRef"></print-table-ckd> |
| | | </el-drawer> |
| | | |
| | | </div> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import Pagination from '/@/components/Pagination/index.vue'; |
| | | import { ElMessage, ElMessageBox } from 'element-plus'; |
| | | import { ref, nextTick, computed, getCurrentInstance, watch, defineExpose, defineProps, onMounted } from 'vue'; |
| | | import { getAPI } from '/@/utils/axios-utils'; |
| | | import { SysEnumApi } from '/@/api-services/api'; |
| | | import printJS from 'print-js'; |
| | | import { addWmsOrderPurchase, updateWmsOrderPurchase, detailWmsOrderPurchase } from '/@/api/main/WmsOrder/wmsOrderPurchase'; |
| | | import OpenDetails from '/@/components/openDetails/openDetails.vue'; |
| | | import { pageBaseCustomer } from '/@/api/main/WmsBase/baseCustomer'; |
| | | import { listWmsOrderPurchaseDetails, pageWmsOrderPurchaseDetails } from '/@/api/main/WmsOrder/wmsOrderPurchaseDetails'; |
| | | import commonFunction from '/@/utils/commonFunction'; |
| | | import { handleSlectDataWmsBusinessType } from '/@/utils/selectData'; |
| | | import printTableCkd from '/@/components/printTableCkd.vue'; |
| | | // æ¨è设置æä½ width 为 200 |
| | | import { hiprint } from 'vue-plugin-hiprint'; |
| | | import { SysPrintApi } from '/@/api-services/api'; |
| | | import { SysPrint } from '/@/api-services/models'; |
| | | import { ShortagePage } from '/@/api/main/ReportCenter/wmsStockQuan'; |
| | | |
| | | const moveType = 10; //ç§»å¨ç±»å å
¥åº |
| | | const { proxy }: any = getCurrentInstance(); // 访é®å®ä¾ä¸ä¸æ proxyåæ¶æ¯æå¼å 线ä¸ç¯å¢ |
| | | const getEnumOrderTypeData = ref<any>([]); |
| | | |
| | | const getEnumDockData = ref<any>([]); |
| | | const getBusinessTypeData_Index = ref<any>([]); //ä¸å¡ç±»å create by liuwq |
| | | const getEnumPoStatusData = ref<any>([]); |
| | | const { getEnumDesc } = commonFunction(); |
| | | const emits = defineEmits(['getTabelData']); |
| | | const getEnumPoDetailStatusData_Index = ref<any>([]); |
| | | const getEnumOrderTypeData_Index = ref<any>([]); |
| | | |
| | | const props = defineProps({ |
| | | titleAuthor: { |
| | | type: Number, |
| | | required: true, |
| | | }, |
| | | hexiao: { |
| | | type: Number, |
| | | default: 1, |
| | | required: true, |
| | | }, |
| | | }); |
| | | //æ§å¶è®¢åç±»å - 䏿èå |
| | | const titleAuthor = computed(() => props.titleAuthor); |
| | | // æ¯å¦æ¾ç¤ºæ ¸éæé® |
| | | const hexiao = computed(() => props.hexiao); |
| | | const loading = ref(false); |
| | | |
| | | const getEnumStockStatusData_Index = ref<any>([]); |
| | | const getEnumLockStatusData_Index = ref<any>([]); |
| | | |
| | | // form表åå±å¼ |
| | | |
| | | const orderType = ref(''); |
| | | const orderDoRuType = ref(); // ç¨äºå¯¼å
¥çåé |
| | | const itemBtn = ref(1); |
| | | // æ§å¶bomç©ææé |
| | | const isShowBomBtn = ref(0); |
| | | |
| | | // ç¦æ¢ä¹åçæ¥æ |
| | | const disabledDate = (time: Date) => { |
| | | return time.getTime() + 3600 * 1000 * 24 < Date.now(); |
| | | }; |
| | | // ä¸ä¼ çªå£ |
| | | const uploadVisible = ref(false); |
| | | |
| | | //------------sapè·åPOå |
| | | const outVisible2 = ref(false); |
| | | const outerForm2 = ref({ |
| | | purchaseNo: '', |
| | | }); |
| | | const getSapOrderPO = (param?: number) => { |
| | | if (param && param == 1) { |
| | | outVisible2.value = true; |
| | | return; |
| | | } |
| | | if (outerForm2.value.purchaseNo == '') { |
| | | ElMessage.warning('请è¾å
¥åå·'); |
| | | return; |
| | | } |
| | | }; |
| | | //å
³éåºåºçªå£çåè° |
| | | const closeOutDialog2 = () => { |
| | | outerForm2.value.purchaseNo = ''; |
| | | }; |
| | | |
| | | //------------sapè·åPOå |
| | | |
| | | // --------------------POåå表----------------------------------- |
| | | //æ¥è¯¢ |
| | | const formModel = ref({ |
| | | WareMaterialCode: '', |
| | | WareMaterialName: '', |
| | | PurchaseNo: '', |
| | | CreatedUserName: '', |
| | | CreatedTimeBegin: '', |
| | | CreatedTimeEnd: '', |
| | | CreateDate: [], |
| | | IssueTimeBegin: '', |
| | | IssueTimeEnd: '', |
| | | IssueDate: [], |
| | | MaterialTypeStaus: '', |
| | | SourceBy: '', |
| | | WriteOffState: '', |
| | | signStatus: '', |
| | | status: '', |
| | | freeOrderType: '', |
| | | IsQueryAll: false, //æ¯å¦æ¾ç¤ºå
¨é¨æ°æ® |
| | | // LoginUserID: LoginUserID, //ç¨æ·id |
| | | OrderMenuType: '', //夿æ¯åªä¸ªèåå
¥åº |
| | | Page: 1, |
| | | PageSize: 10, |
| | | poApprovalStatus: '', |
| | | keyCode: '', |
| | | IsDisable: '', //æ¯å¦ä½åº |
| | | }); |
| | | |
| | | //å
¥åºååè¡¨æ°æ® |
| | | let tableData = ref([]); |
| | | const tableRef = ref(); |
| | | |
| | | //åè¡¨çæ°æ®æ¡æ° |
| | | const totalItems = ref<number>(0); |
| | | |
| | | // //ç¼åæä¸¾ |
| | | // const enumList: any = cache.getCache('enumList'); |
| | | // console.log(enumList.inEnumOrderType); |
| | | |
| | | //è·åPOåå表 |
| | | const getTabelData = () => { |
| | | //夿å建æ¶é´æ¯å¦æéæ© |
| | | if (formModel.value.CreateDate && formModel.value.CreateDate.length > 0) { |
| | | formModel.value.CreatedTimeBegin = formModel.value.CreateDate[0]; |
| | | formModel.value.CreatedTimeEnd = ''; //addDate(formModel.value.CreateDate[1], 1); //æ¥ææ¥è¯¢ ç»ææ¶é´ éè¦å ä¸å¤© |
| | | } else { |
| | | // æ¥åæ¸
空 åæ¥è¯¢bug |
| | | if (formModel.value.CreatedTimeBegin || formModel.value.CreatedTimeEnd) { |
| | | formModel.value.CreatedTimeBegin = ''; |
| | | formModel.value.CreatedTimeEnd = ''; |
| | | } |
| | | } |
| | | //夿ä¸åæ¶é´æ¯å¦æéæ© |
| | | if (formModel.value.IssueDate && formModel.value.IssueDate.length > 0) { |
| | | formModel.value.IssueTimeBegin = formModel.value.IssueDate[0]; |
| | | formModel.value.IssueTimeEnd = formModel.value.IssueDate[1]; |
| | | } else { |
| | | // æ¥åæ¸
空 åæ¥è¯¢bug |
| | | if (formModel.value.IssueTimeBegin || formModel.value.IssueTimeEnd) { |
| | | formModel.value.IssueTimeBegin = ''; |
| | | formModel.value.IssueTimeEnd = ''; |
| | | } |
| | | } |
| | | }; |
| | | getTabelData(); |
| | | |
| | | //éç½®æç´¢ |
| | | const resetForm = () => { |
| | | formModel.value = { |
| | | WareMaterialCode: '', |
| | | WareMaterialName: '', |
| | | PurchaseNo: '', |
| | | CreatedUserName: '', |
| | | CreatedTimeBegin: '', |
| | | CreatedTimeEnd: '', |
| | | CreateDate: [], |
| | | IssueTimeBegin: '', |
| | | IssueTimeEnd: '', |
| | | IssueDate: [], |
| | | MaterialTypeStaus: '', |
| | | SourceBy: '', |
| | | WriteOffState: '', |
| | | signStatus: '', |
| | | status: '', |
| | | freeOrderType: '', |
| | | IsQueryAll: false, //æ¯å¦æ¾ç¤ºå
¨é¨æ°æ® |
| | | // LoginUserID: LoginUserID, //ç¨æ·id |
| | | OrderMenuType: '', //夿æ¯åªä¸ªèåå
¥åº |
| | | Page: 1, |
| | | PageSize: 10, |
| | | poApprovalStatus: '', |
| | | keyCode: '', |
| | | IsDisable: '', //æ¯å¦ä½åº |
| | | }; |
| | | getTabelData(); |
| | | }; |
| | | // -----------------å é¤ãå¯¼åºæä½-------------------------- |
| | | //éä¸çè¡ |
| | | const checkRows = ref<{ id: number }[]>([]); |
| | | // éæ© |
| | | const handleSelectionChange = (val: any) => { |
| | | checkRows.value = val; |
| | | }; |
| | | |
| | | // -------------------è·åPOåä¸ç©æè¯¦æ
----------------------------------- |
| | | //å
¥åºåä¸ç©æè¯¦æ
è¯·æ± |
| | | const detailForm = ref({ |
| | | detailName: '', |
| | | packageCode: '', |
| | | Page: 1, |
| | | PageSize: 10, |
| | | }); |
| | | |
| | | // ç©æè¯¦æ
æ½å± |
| | | const drawerVisible = ref(false); |
| | | const drawerType = ref('drawerAll'); |
| | | // const |
| | | //åå· |
| | | const purchaseNo = ref(''); |
| | | const IsKitting = ref(false); |
| | | //æå¼æ½å± |
| | | const openDrawer = async (type: number, scope: any = {}, entozhExcell?: any) => { |
| | | detailForm.value.Page = 1; //bug:ç¹ç¼è¾-åç¹è¯¦æ
|
| | | detailForm.value.PageSize = 10; //bug:ç¹ç¼è¾-åç¹è¯¦æ
|
| | | if (scope.info5) { |
| | | title.value = `${scope.info5}`; |
| | | } |
| | | drawerType.value = 'drawerAll'; |
| | | drawerVisible.value = true; |
| | | detailForm.value.info5 = scope.info5; |
| | | purchaseNo.value = scope.info5; |
| | | debugger; |
| | | //è·åç©æå表 |
| | | if (detailForm.value.info5 == '') { |
| | | drawerList.value = []; |
| | | detailCount.value = 0; |
| | | return; |
| | | } |
| | | //------------------è·åç©æåè¡¨ç©ææç» |
| | | getDetail(); |
| | | //------------------è·åç©æåè¡¨ç©ææç» |
| | | getEnumStockStatusData_Index.value = (await getAPI(SysEnumApi).apiSysEnumEnumDataListGet('StockStatusEnum')).data.result ?? []; |
| | | getEnumLockStatusData_Index.value = (await getAPI(SysEnumApi).apiSysEnumEnumDataListGet('LockStatusEnum')).data.result ?? []; |
| | | |
| | | //----------------ç©ææç» |
| | | // æ ¹æ®ç¶æè½¬ä¸æ ä¿ç3ä½å°æ° |
| | | let scopetrans = JSON.parse(JSON.stringify(scope)); |
| | | // scopetrans.totalquantity = Number(scopetrans.totalquantity).toFixed(3); |
| | | nextTick(() => { |
| | | scopetrans.poStatus = getEnumDesc(scopetrans.poStatus, getEnumPoDetailStatusData_Index.value); |
| | | scopetrans.businessType = getEnumDesc(scopetrans.businessType, getBusinessTypeData_Index.value); |
| | | scopetrans.orderType = getEnumDesc(scopetrans.orderType, getEnumOrderTypeData_Index.value); |
| | | proxy.$refs['propDetailRef'].openADialog(scopetrans, entozhExcell); |
| | | }); |
| | | }; |
| | | |
| | | //å
³éæ½å± |
| | | const handleDrawerClose = () => { |
| | | detailForm.value = { |
| | | detailName: '', |
| | | packageCode: '', |
| | | Page: 1, |
| | | PageSize: 10, |
| | | }; |
| | | deltailList.value = []; |
| | | detailCount.value = 0; |
| | | drawerList.value = []; |
| | | detailCount.value = 0; |
| | | }; |
| | | |
| | | //ç©æè¯¦æ
ç±»å |
| | | interface DetailType { |
| | | id: number; |
| | | } |
| | | |
| | | //å
¥åºå详æ
å表 |
| | | const deltailList = ref<DetailType[]>([]); |
| | | //å¼¹åºå±æ°æ® |
| | | const drawerList = ref<DetailType[]>([]); |
| | | |
| | | //å
¥åºå详æ
åè¡¨æ°æ®æ¡æ° |
| | | const detailCount = ref(0); |
| | | |
| | | //å¼¹åºå±æ é¢ |
| | | let title = ref(''); |
| | | //è·åå
¥åºåä¸ç©æè¯¦æ
|
| | | const getDetail = async (callback?: any) => { |
| | | loading.value = true; |
| | | |
| | | var res = await ShortagePage(Object.assign(detailForm.value)); |
| | | if (callback == 1) { |
| | | //ç¼è¾å
¥å£ |
| | | warehousOrderDetails.value = res.data.result?.items ?? []; |
| | | detailCount.value = res.data.result?.total; |
| | | } else { |
| | | drawerList.value = res.data.result?.items ?? []; |
| | | detailCount.value = res.data.result?.total; |
| | | } |
| | | loading.value = false; |
| | | }; |
| | | // ----------------æ°å¢ãç¼è¾------------------------------- |
| | | //çªå£ç±»å |
| | | const dialogType = ref('add'); |
| | | |
| | | const dialogVisible = ref(false); |
| | | |
| | | //æ·»å ç¼è¾è¡¨åref |
| | | const dialogRef = ref(); |
| | | |
| | | //æ·»å /ç¼è¾åæ° |
| | | let addForm = ref({ |
| | | createdTime: '', |
| | | updatedTime: '', |
| | | createdUserName: '', |
| | | createdUserId: '', |
| | | purchaseNo: '', |
| | | purchaserUserId: 0, |
| | | basicExpressInfoCode: null, |
| | | materialType: '', //5 |
| | | status: 0, |
| | | supplierCode: '', |
| | | supplierName: '', |
| | | remark: '', |
| | | deliveryType: 1, |
| | | EstimatedDate: '', |
| | | purchaseOrderDetails: [] as any[], |
| | | dI_NO: '', |
| | | sJ_NO: '', |
| | | machineToolTypeName: '', |
| | | machineToolNo: '', |
| | | freeOrderType: '', |
| | | }); |
| | | |
| | | //rules |
| | | const formRules = { |
| | | businessType: [{ required: true, message: 'è¯·éæ©ä¸å¡ç±»åï¼', trigger: 'change' }], |
| | | supplierCode: [{ required: true, message: '请è¾å
¥ä¾åºåï¼', trigger: 'blur' }], |
| | | purchaseNo: [{ required: true, message: '请è¾å
¥POåå·ï¼', trigger: 'blur' }], |
| | | orderTypeName: [{ required: true, message: '请è¾å
¥è®¢åç±»ååç§°ï¼', trigger: 'blur' }], |
| | | }; |
| | | //æå¼æ°å¢ãç¼è¾çªå£ |
| | | const openDialog = async (type: number, scope: any = {}) => { |
| | | handleQueryTdp(); |
| | | getEnumOrderTypeData.value = (await getAPI(SysEnumApi).apiSysEnumEnumDataListGet('OrderTypeEnum')).data.result ?? []; |
| | | getBusinessTypeData_Index.value = await handleSlectDataWmsBusinessType(moveType); //ä¸æè¯»åä¸å¡ç±»åæ¥å£ create by liuwq |
| | | getEnumPoStatusData.value = (await getAPI(SysEnumApi).apiSysEnumEnumDataListGet('OrderStatusEnum')).data.result ?? []; |
| | | |
| | | getEnumDockData.value = (await getAPI(SysEnumApi).apiSysEnumEnumDataListGet('DockEnum')).data.result ?? []; |
| | | |
| | | if (type == 1) { |
| | | detailForm.value.PageSize = 10; |
| | | dialogType.value = 'add'; |
| | | } else { |
| | | dialogType.value = 'edit'; |
| | | detailForm.value.PageSize = 1000; |
| | | addForm.value = { ...scope }; |
| | | |
| | | console.log(addForm.value); |
| | | detailForm.value.poId = scope.id; |
| | | //è·åç©æ - åè°å½æ°æ¿æ¢å®æ¶å¨ |
| | | |
| | | //------------------è·åç©æåè¡¨ç©ææç» |
| | | getDetail(1); |
| | | //----------------ç©ææç» |
| | | } |
| | | dialogVisible.value = true; |
| | | load.value = false; |
| | | //æ¸
é¤éä¸é¡¹ |
| | | nextTick(() => { |
| | | if (dialogRef.value) { |
| | | dialogRef.value.clearValidate(); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | //ç©æè¯¦æ
çtable ref |
| | | const detailRef = ref(); |
| | | const setRowKey = (row: any) => { |
| | | return row.id + row.poLineNumber; |
| | | }; |
| | | //å
³éçªå£ |
| | | const closeDialog = () => { |
| | | load.value = false; |
| | | addForm.value = { |
| | | createdTime: '', |
| | | updatedTime: '', |
| | | createdUserName: '', |
| | | createdUserId: '', |
| | | purchaseNo: '', |
| | | purchaserUserId: 0, |
| | | basicExpressInfoCode: null, |
| | | materialType: '', //5 |
| | | status: 0, |
| | | supplierCode: '', |
| | | supplierName: '', |
| | | remark: '', |
| | | deliveryType: 1, |
| | | EstimatedDate: '', |
| | | purchaseOrderDetails: [] as any[], |
| | | dI_NO: '', |
| | | sJ_NO: '', |
| | | machineToolTypeName: '', |
| | | machineToolNo: '', |
| | | freeOrderType: '', |
| | | }; |
| | | warehousOrderDetails.value = []; |
| | | checkedDetails.value = []; |
| | | deltailList.value = []; |
| | | detailCount.value = 0; |
| | | detailRef.value.clearSelection(); |
| | | }; |
| | | |
| | | //æ·»å ç¼è¾çªå£ç©æå表 |
| | | const warehousOrderDetails = ref<any[]>([]); |
| | | |
| | | //ç©æè¯¦æ
å表éä¸çç©æ |
| | | const checkedDetails = ref<any[]>([]); |
| | | |
| | | //ç©æè¯¦æ
å表ä¸å¾éäºä»¶ |
| | | const detailsCheckChange = (val: any) => { |
| | | checkedDetails.value = val; |
| | | }; |
| | | |
| | | //å é¤éä¸çç©æè¯¦æ
|
| | | const delCheckedDetails = () => { |
| | | ElMessageBox.confirm('æ¯å¦ç¡®è®¤å é¤ï¼', 'æç¤º', { |
| | | confirmButtonText: '确认', |
| | | cancelButtonText: 'åæ¶', |
| | | type: 'warning', |
| | | }) |
| | | .then(() => { |
| | | let arr = []; |
| | | if (checkedDetails.value[0].diRelationID) { |
| | | checkedDetails.value.forEach((item) => { |
| | | console.log(item); |
| | | let index = warehousOrderDetails.value.findIndex((detail) => detail.code == item.code && detail.diRelationID == item.diRelationID); |
| | | if (index > -1) { |
| | | warehousOrderDetails.value.splice(index, 1); |
| | | } |
| | | }); |
| | | } else { |
| | | checkedDetails.value.forEach((item) => { |
| | | let index = warehousOrderDetails.value.findIndex((detail) => detail.code == item.code && detail.poLineNumber == item.poLineNumber); |
| | | warehousOrderDetails.value.splice(index, 1); |
| | | }); |
| | | } |
| | | arr = warehousOrderDetails.value; |
| | | warehousOrderDetails.value = []; |
| | | //bug ç¸åç©æ ä¸åBom |
| | | nextTick(() => { |
| | | warehousOrderDetails.value = arr; |
| | | checkedDetails.value = []; |
| | | detailRef.value.clearSelection(); |
| | | }); |
| | | }) |
| | | .catch(() => ElMessage.info('已忶å é¤')); |
| | | }; |
| | | |
| | | const load = ref(false); |
| | | //ç¼è¾ãæ·»å æäº¤ |
| | | const confirm = () => { |
| | | dialogRef.value.validate(async (vali: any) => { |
| | | if (vali) { |
| | | console.log('确认'); |
| | | if (warehousOrderDetails.value.length < 0) { |
| | | ElMessage.warning('è¯·éæ©ç©æ'); |
| | | return; |
| | | } |
| | | let idx = warehousOrderDetails.value.findIndex((v) => v.poLineNumber == '' || v.poLineNumber == undefined); |
| | | if (idx > -1) { |
| | | ElMessage.warning('请è¾å
¥è¡å·'); |
| | | return; |
| | | } |
| | | let isNext = ''; |
| | | warehousOrderDetails.value.forEach((item) => { |
| | | const arr: any = warehousOrderDetails.value.filter((detail) => detail.poLineNumber == item.poLineNumber); |
| | | if (arr.length > 1) { |
| | | isNext = `è¡å·ï¼${arr[0].poLineNumber}ä¸è½ç¸å`; |
| | | return; |
| | | } |
| | | }); |
| | | if (isNext != '') { |
| | | ElMessage.warning(isNext); |
| | | return; |
| | | } |
| | | |
| | | let idx2 = warehousOrderDetails.value.findIndex((v) => v.quantity == '' || v.quantity == undefined || v.quantity <= 0); |
| | | if (idx2 > -1) { |
| | | ElMessage.warning('æ°éä¸åè§èï¼'); |
| | | return; |
| | | } |
| | | addForm.value.purchaseOrderDetails = []; |
| | | warehousOrderDetails.value.forEach((item) => { |
| | | const obj = { |
| | | poId: item.poId || 0, |
| | | materialCode: item.materialCode, |
| | | materialName: item.materialName, |
| | | id: item.id || '', |
| | | quantity: item.quantity, |
| | | barNo: item.barNo, |
| | | remark: addForm.value.remark, |
| | | poLineNumber: item.poLineNumber, |
| | | materialType: item.deliveryType, |
| | | clientCode: item.diCustomCode || '', |
| | | clientChinaName: item.diCustomChinaName || '', |
| | | plannedStartTime: item.plannedStartTime, |
| | | plannedEndTime: item.plannedEndTime, |
| | | projectNo: item.projectNo, |
| | | erpCode: item.erpCode, |
| | | supplierBatch: item.supplierBatch, |
| | | unit: item.unit, |
| | | }; |
| | | addForm.value.purchaseOrderDetails.push(obj); |
| | | }); |
| | | load.value = true; |
| | | //æ·»å |
| | | if (dialogType.value == 'add') { |
| | | load.value = true; |
| | | let res = await addWmsOrderPurchase(addForm.value); |
| | | if (res.data && res.data.code == 200) { |
| | | ElMessage.success('æ·»å æå'); |
| | | dialogVisible.value = false; |
| | | emits('getTabelData'); |
| | | } |
| | | load.value = false; |
| | | } else { |
| | | load.value = true; |
| | | let res = await updateWmsOrderPurchase(addForm.value); |
| | | if (res.data && res.data.code == 200) { |
| | | ElMessage.success('ç¼è¾æå'); |
| | | dialogVisible.value = false; |
| | | emits('getTabelData'); |
| | | } |
| | | load.value = false; |
| | | } |
| | | } else { |
| | | ElMessage.warning('表åéªè¯å¤±è´¥'); |
| | | } |
| | | }); |
| | | }; |
| | | // -----------------æ·»å ç©ææä½------------------------- |
| | | //ç©æåºç¡æ°æ®çªå£ |
| | | const addMaterialVisible = ref(false); |
| | | |
| | | //ç©æåºç¡æ°æ®å表 |
| | | const materialList = ref([]); |
| | | |
| | | //ç©æåºç¡æ°æ®æ¡æ° |
| | | const materialTotal = ref(0); |
| | | |
| | | //ç©æåºç¡æ°æ®form |
| | | const materialForm = ref({ |
| | | MaterialTypeId: '', |
| | | Code: '', |
| | | MaterialCode: '', |
| | | // MaterialType: 1, |
| | | Page: 1, |
| | | PageSize: 10, |
| | | }); |
| | | |
| | | //è·åç©æåºç¡å表 |
| | | const getMaterialList = async () => { |
| | | loading.value = true; |
| | | // var res = await pageWmsMaterial(Object.assign(queryParams.value, tableParams.value)); |
| | | var res = await pageWmsMaterial(Object.assign(materialForm.value)); |
| | | |
| | | materialList.value = res.data.result?.items ?? []; |
| | | //tableParams.value.total = res.data.result?.total; |
| | | materialTotal.value = res.data.result?.total; |
| | | loading.value = false; |
| | | }; |
| | | |
| | | //éç½®ç©æ |
| | | const resetMaterialForm = () => { |
| | | materialForm.value = { |
| | | MaterialTypeId: '', |
| | | Code: '', |
| | | MaterialCode: '', |
| | | Page: 1, |
| | | // MaterialType: 1, |
| | | PageSize: 10, |
| | | }; |
| | | getMaterialList(); |
| | | }; |
| | | |
| | | //éä¸çåºç¡ç©ææ°æ® |
| | | const checkedMaterial = ref<any[]>([]); |
| | | |
| | | //ç©æåºç¡æ°æ®å¾é |
| | | const materialSelectionChange = (val: any) => { |
| | | checkedMaterial.value = val; |
| | | }; |
| | | |
| | | //æå¼æ°å¢ç©æçªå£ |
| | | const addMaterialDialog = () => { |
| | | // if ( addForm.value.freeOrderType && isShowBomBtn.value ) { |
| | | // ElMessage.warning("å
è´¹ä»¶ç±»åæ¯PR2ï¼åªè½æ°å¢DIç»´æ¤çç©æï¼"); |
| | | // return; |
| | | // } |
| | | getMaterialList(); |
| | | addMaterialVisible.value = true; |
| | | }; |
| | | |
| | | //åºç¡ç©ætableçref对象 |
| | | const materialRef = ref(); |
| | | |
| | | //ç¡®è®¤æ·»å ææ |
| | | const confirmAddMaterial = () => { |
| | | //ç©æåè¡¨æ²¡æ°æ®ï¼ç´æ¥æ·»å |
| | | if (warehousOrderDetails.value.length == 0) { |
| | | // èªå¨ç»è¡å·å¤å¼ |
| | | checkedMaterial.value.forEach((item, index) => { |
| | | item.unit = item.poUnit; |
| | | if (!item.poLineNumber) { |
| | | item.poLineNumber = index + 1 + warehousOrderDetails.value.length; |
| | | } |
| | | }); |
| | | |
| | | warehousOrderDetails.value.push(...checkedMaterial.value); |
| | | } else { |
| | | for (let i = 0; i < checkedMaterial.value.length; i++) { |
| | | let idx = warehousOrderDetails.value.findIndex( |
| | | (item: { poLineNumber: any; code: any }) => item.code == checkedMaterial.value[i].code && item.poLineNumber == checkedMaterial.value[i].poLineNumber |
| | | ); |
| | | if (idx > -1) { |
| | | return ElMessage.warning(`ç©æç¼å·${checkedMaterial.value[i].code}ï¼è¡å·ï¼${checkedMaterial.value[i].poLineNumber || ''}å¨ç©æå表ä¸å·²åå¨,请å»é¤å¾é`); |
| | | } |
| | | } |
| | | |
| | | // èªå¨ç»è¡å·å¤å¼ |
| | | checkedMaterial.value.forEach((item, index) => { |
| | | item.unit = item.poUnit; |
| | | if (!item.poLineNumber) { |
| | | item.poLineNumber = index + 1 + warehousOrderDetails.value.length; |
| | | } |
| | | }); |
| | | warehousOrderDetails.value.push(...checkedMaterial.value); |
| | | } |
| | | |
| | | addMaterialVisible.value = false; |
| | | }; |
| | | |
| | | //å
³éæ°å¢ç©æçªå£ |
| | | const closeMaterialDialog = () => { |
| | | materialForm.value = { |
| | | MaterialTypeId: '', |
| | | Code: '', |
| | | Page: 1, |
| | | // MaterialType: 1, |
| | | PageSize: 10, |
| | | }; |
| | | materialList.value = []; |
| | | checkedMaterial.value = []; |
| | | materialRef.value.clearSelection(); |
| | | }; |
| | | |
| | | // 页é¢å è½½æ¶ |
| | | onMounted(async () => {}); |
| | | |
| | | // æå° |
| | | let itemSubTitle = ref<any[]>([]); |
| | | const handleHtmlPrint = () => { |
| | | proxy.$refs['printTableRef'].printHd('缺件æ¸
å', {}, drawerList.value); //deltailList |
| | | |
| | | // proxy.$refs['printTableRef'].printHd('缺件æ¸
å', itemSubTitle.value, drawerList.value); //deltailList |
| | | }; |
| | | |
| | | // æ´é²æ¹æ³ |
| | | defineExpose({ openDialog, openDrawer }); |
| | | </script> |
| | | <style lang="less" scoped> |
| | | .detailBoxWrap { |
| | | margin: 10px; |
| | | } |
| | | |
| | | .msi-form { |
| | | margin-top: 10px; |
| | | } |
| | | .msi-form { |
| | | margin-bottom: 10px; |
| | | } |
| | | .slot_title { |
| | | display: flex; |
| | | align-items: center; |
| | | // margin-left: 20px; |
| | | .title_orderNo { |
| | | font-size: 18px; |
| | | color: #f18201; |
| | | font-weight: bold; |
| | | margin-right: 5px; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <!-- <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIWmsStockQuan"> |
| | | <el-form-item label="ç©æåç§°"> |
| | | <el-input v-model="queryParamsWmsStockQuan.materialName" clearable="" placeholder="请è¾å
¥ç©æåç§°"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIWmsStockQuan"> |
| | | <el-form-item label="åºåç¶æ"> |
| | | <el-select clearable="" v-model="queryParamsWmsStockQuan.stockStatus" placeholder="è¯·éæ©åºåç¶æ"> |
| | | <el-option v-for="(item,index) in getEnumStockStatusData_Index" :key="index" :value="item.value" :label="`${item.describe}`" /> |
| | | |
| | | </el-select> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIWmsStockQuan"> |
| | | <el-form-item label="ä¾åºåæ¹æ¬¡"> |
| | | <el-input v-model="queryParamsWmsStockQuan.supplierBatch" clearable="" placeholder="请è¾å
¥ä¾åºåæ¹æ¬¡"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4" class="mb10" v-if="showAdvanceQueryUIWmsStockQuan"> |
| | | <el-form-item label="æ¹æ¬¡"> |
| | | <el-input v-model="queryParamsWmsStockQuan.batch" clearable="" placeholder="请è¾å
¥æ¹æ¬¡"/> |
| | | |
| | | </el-form-item> |
| | | </el-col> --> |
| | | |
| | | <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" class="mb10"> |
| | | <el-form-item> |
| | | <el-button-group style="display: flex; align-items: center"> |
| | |
| | | <el-button type="primary" style="margin-left: 5px" icon="ele-Plus" @click="openAddWmsStockQuan" v-auth="'wmsStockQuan:add'"> æ°å¢ </el-button> |
| | | <el-button type="primary" style="margin-left: 5px" icon="ele-Download" @click="handleExportExcelWmsStockQuan" v-auth="'wmsStockQuan:exportExcel'"> å¯¼åº </el-button> |
| | | |
| | | <el-button type="primary" style="margin-left: 5px" icon="ele-Printer" @click="handleHtmlPrint" v-auth="'wmsStockQuan:exportExcel'" :disabled="checkRows.length == 0"> æå° </el-button> |
| | | <!-- <el-button type="primary" style="margin-left: 5px" icon="ele-Printer" @click="handleHtmlPrint" v-auth="'wmsStockQuan:exportExcel'" :disabled="checkRows.length == 0"> æå° </el-button> --> |
| | | <!-- |
| | | <el-button type="primary" style="margin-left: 5px" icon="ele-Printer" v-print="print" plain @click="handleHtmlPrint">æå°</el-button> --> |
| | | </el-button-group> |
| | |
| | | @selection-change="handleSelectionChange" |
| | | border="" |
| | | > |
| | | <el-table-column align="center" width="60" type="selection" /> |
| | | <!-- <el-table-column align="center" width="60" type="selection" /> --> |
| | | <el-table-column type="index" label="åºå·" width="55" align="center" /> |
| | | |
| | | <el-table-column label="ç产åå·" prop="packageCode" width="150" align="left" show-overflow-tooltip> |
| | | <template #default="scope"> |
| | | <span class="under_line" @click="openDrawer(1, scope.row)"> |
| | | {{ scope.row.info5 }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <!-- <el-table-column prop="info5" label="ç产åå·" show-overflow-tooltip="" /> --> |
| | | <el-table-column prop="shortageCount" label="缺件æ°é" show-overflow-tooltip="" /> |
| | | |
| | | <!-- |
| | | <el-table-column prop="planNo" label="æ¹æ¬¡" show-overflow-tooltip="" /> |
| | | <el-table-column prop="orderId" label="订åå·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="packageCode" label="å
è£
å·" show-overflow-tooltip="" /> |
| | | <el-table-column prop="upi" label="é¨ä»¶æ¡ç " show-overflow-tooltip="" /> |
| | | <el-table-column prop="detailName" label="é¨ä»¶åç§°" show-overflow-tooltip="" /> |
| | | <el-table-column prop="detailName" label="é¨ä»¶åç§°" show-overflow-tooltip="" /> --> |
| | | |
| | | <!-- <el-table-column prop="totalCount" label="æ»æ°é" show-overflow-tooltip="" /> |
| | | <el-table-column prop="hasCount" label="ç¼å岿°é" show-overflow-tooltip="" /> |
| | | <el-table-column prop="shortageCount" label="ç¼ºææ°é" show-overflow-tooltip="" /> --> |
| | |
| | | <editDialogWmsStockQuan ref="editDialogRefWmsStockQuan" :title="editWmsStockQuanTitle" @reloadTable="handleQueryWmsStockQuan" /> |
| | | </el-card> |
| | | |
| | | <!-- ææå¼¹æ¡ ï¼æ°å¢ ç¼è¾ 详æ
--> |
| | | <open-allprop titleAuthor="1" hexiao="0" ref="propALlProp"></open-allprop> |
| | | <!-- æå° --> |
| | | <print-table-ckd ref="printTableRef"></print-table-ckd> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import { getDictDataItem as di, getDictDataList as dl } from '/@/utils/dict-utils'; |
| | | import { formatDate, formatDate_T_Date, formatDate_T_Time, defaultTimeRange } from '/@/utils/formatTime'; |
| | | import { exportPageExcel } from '/@/utils/exportPageExcel'; //å¼å
¥å¯¼åºæ¹æ³ |
| | | |
| | | import printJS from 'print-js'; |
| | | import printDialogWmsStockQuan from '/@/views/system/print/component/hiprint/preview.vue'; |
| | | import { ShortagePage, deleteWmsStockQuan, importExcelWmsStockQuan, downloadExcelTemplateWmsStockQuan } from '/@/api/main/ReportCenter/wmsStockQuan'; |
| | | import { ShortagePage, deleteWmsStockQuan, importExcelWmsStockQuan, downloadExcelTemplateWmsStockQuan, ShortagePageGroupByInfo5 } from '/@/api/main/ReportCenter/wmsStockQuan'; |
| | | import { getAPI } from '/@/utils/axios-utils'; |
| | | import { SysEnumApi } from '/@/api-services/api'; |
| | | import commonFunction from '/@/utils/commonFunction'; |
| | | import { addWmsRecordSncodePrint } from '/@/api/main/PrintCenter/wmsRecordSncodePrint'; |
| | | import printTableCkd from '/@/components/printTableCkd.vue'; |
| | | import OpenAllprop from './component/openAllprop.vue'; |
| | | |
| | | const { proxy }: any = getCurrentInstance(); // 访é®å®ä¾ä¸ä¸æ proxyåæ¶æ¯æå¼å 线ä¸ç¯å¢ |
| | | import printJs from 'print-js'; |
| | | |
| | |
| | | const handleQueryWmsStockQuan = async () => { |
| | | loadingWmsStockQuan.value = true; |
| | | disabled_btnWmsStockQuan.value = true; |
| | | var res = await ShortagePage(Object.assign(queryParamsWmsStockQuan.value, tableParamsWmsStockQuan.value)); |
| | | var res = await ShortagePageGroupByInfo5(Object.assign(queryParamsWmsStockQuan.value, tableParamsWmsStockQuan.value)); |
| | | if (res.data.type == 'success') { |
| | | tableDataWmsStockQuan.value = res.data.result?.items ?? []; |
| | | tableParamsWmsStockQuan.value.total = res.data.result?.total; |
| | |
| | | |
| | | // æå° |
| | | let itemSubTitle = ref<any[]>([]); |
| | | const handleHtmlPrint = () => { |
| | | proxy.$refs['printTableRef'].printHd('缺å
æ¸
å', itemSubTitle.value, checkRows.value); //deltailList |
| | | const handleHtmlPrint = (dataList: any) => { |
| | | debugger; |
| | | proxy.$refs['printTableRef'].printHd('缺å
æ¸
å', itemSubTitle.value, dataList); //deltailList |
| | | // proxy.$refs['printTableRef'].printHd('缺å
æ¸
å', itemSubTitle.value, checkRows.value); //deltailList |
| | | }; |
| | | // //æå° |
| | | // const print = ref({ |
| | | // id: 'printContent', |
| | | // popTitle: ' ', |
| | | // //extraCss: "https://cdn.bootcdn.net/ajax/libs/animate.css/4.1.1/animate.compat.css, https://cdn.bootcdn.net/ajax/libs/hover.css/2.3.1/css/hover-min.css", |
| | | // extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>', |
| | | // }) |
| | | |
| | | // ---------------详æ
----------------------- |
| | | const openDrawer = (type: number, item?: any) => { |
| | | proxy.$refs['propALlProp'].openDrawer(type, item, {}); |
| | | }; |
| | | </script> |
| | | <style scoped> |
| | | :deep(.el-input), |
| | |
| | | :deep(.el-input-number) { |
| | | width: 100%; |
| | | } |
| | | |
| | | .under_line { |
| | | color: #f18201; |
| | | text-decoration: underline; |
| | | cursor: pointer; |
| | | } |
| | | </style> |
| | |
| | | //"ConfigId": "1300000000001", // é»è®¤åºæ è¯-ç¦æ¢ä¿®æ¹ |
| | | "DbType": "SqlServer", // MySqlãSqlServerãSqliteãOracleãPostgreSQLãDmãKdbndpãOscarãMySqlConnectorãAccessãOpenGaussãQuestDBãHGãClickHouseãGBaseãOdbcãCustom |
| | | // "ConnectionString": "Server=.;Database=iWare_RawMaterialWarehouse_Wms;User=sa;Password=123456;MultipleActiveResultSets=True;", // åºè¿æ¥å符串 |
| | | "ConnectionString": "Server=.;Database=LA24030_LuLiPackageLine;User=sa;Password=123abc.com;MultipleActiveResultSets=True;", // åºè¿æ¥å符串 |
| | | "ConnectionString": "Server=172.17.1.111;Database=LA24030_LuLiPackageLine;User=sa;Password=admin@123;MultipleActiveResultSets=True;", // åºè¿æ¥å符串 |
| | | //"SlaveConnectionConfigs": [ // 读åå离/ä¸»ä» |
| | | // { |
| | | // "HitRate": 10, |
| | |
| | | //], |
| | | "DbSettings": { |
| | | "EnableInitDb": true, // å¯ç¨åºåå§å |
| | | "EnableDiffLog": true, // å¯ç¨åºè¡¨å·®å¼æ¥å¿ |
| | | "EnableDiffLog": false, // å¯ç¨åºè¡¨å·®å¼æ¥å¿ |
| | | "EnableUnderLine": false // å¯ç¨é©¼å³°è½¬ä¸å线 |
| | | }, |
| | | "TableSettings": { |
| | |
| | | "EnableIncreTable": false // å¯ç¨è¡¨å¢éæ´æ°-ç¹æ§[IncreTable] |
| | | }, |
| | | "SeedSettings": { |
| | | "EnableInitSeed": false, // å¯ç¨ç§ååå§å |
| | | "EnableInitSeed": true, // å¯ç¨ç§ååå§å |
| | | "EnableIncreSeed": false // å¯ç¨ç§åå¢éæ´æ°-ç¹æ§[IncreSeed] |
| | | } |
| | | } |
| | |
| | | public const string WmsStockSnapshotDetailsGroupName = "åºåå¿«ç
§ç®¡ç"; |
| | | public const string printCenterGroupName = "æå°ä¸å¿"; |
| | | |
| | | |
| | | public const string ThirdInterFaceServiceGroupName = "ç¬¬ä¸æ¹æå¡æ¥å£ç®¡ç"; |
| | | public const string ThirdInterFaceGroupName = "ç¬¬ä¸æ¹æå¡æ¥å£ç®¡ç2"; |
| | | |
| | | |
| | | } |
| | |
| | | using Admin.NET.Core; |
| | | using Admin.NET.Core.Enum; |
| | | |
| | | namespace Admin.NET.Application.Entity; |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·è¡¨ |
| | | /// </summary> |
| | | [SugarTable("mes_PushPackageCode", "æ¨émeså
è£
å·è¡¨")] |
| | | [SugarTable("mes_push_packagecode", "æ¨émeså
è£
å·è¡¨")] |
| | | public class MesPushPackageCode : EntityBase |
| | | { |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PushStatus", ColumnDescription = "æ¨éç¶æ")] |
| | | public int PushStatus { get; set; } |
| | | public PushStatusEnum PushStatus { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "PushTime", ColumnDescription = "æ¨éæ¶é´")] |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¬¡æ° |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Admin.NET.Core; |
| | | using Admin.NET.Core.Enum; |
| | | |
| | | namespace Admin.NET.Application.Entity; |
| | | |
| | | /// <summary> |
| | | /// æ¨émesè£çº¸æºæ¥å£ |
| | | /// </summary> |
| | | [SugarTable("mes_push_papercut", "æ¨émesè£çº¸æºæ¥å£")] |
| | | public class MesPushPaperCut : EntityBase |
| | | { |
| | | #region æ¨éåæ° |
| | | |
| | | /// <summary> |
| | | /// å
è£
å· |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PackageCode", ColumnDescription = "å
è£
å·", Length = 50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info1", ColumnDescription = "纸箱é¿", Length = 50)] |
| | | public float? Info1 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info2", ColumnDescription = "纸箱宽", Length = 50)] |
| | | public float? Info2 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info3", ColumnDescription = "纸箱é«", Length = 50)] |
| | | public float? Info3 { get; set; } |
| | | |
| | | #endregion |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¨éç¶æ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PushStatus", ColumnDescription = "æ¨éç¶æ")] |
| | | public PushStatusEnum PushStatus { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "PushTime", ColumnDescription = "æ¨éæ¶é´")] |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¬¡æ° |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PushNum", ColumnDescription = "æ¨é次æ°")] |
| | | public int PushNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥å£è¿ååæ° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "ApiMessage", ColumnDescription = "æ¥å£è¿ååæ°", Length = 50)] |
| | | public string ApiMessage { get; set; } |
| | | |
| | | } |
| | |
| | | [SugarTable("mes_batchOrderUPI_new", "æ¹æ¬¡æ°æ®")] |
| | | public class Mes_BatchOrderUPI_New : EntityBase |
| | | { |
| | | #region wmsæ°å¢å段 ãEditby shaocx,2024-11-20ã |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AreaCode", ColumnDescription = "æå¨åºå")] |
| | | public AreaCodeEnum? AreaCode { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "UpiStatus", ColumnDescription = "æ¿æç¶æ")] |
| | | public UpiStatusEnum UpiStatus { get; set; } |
| | | |
| | | #endregion |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "UPI", ColumnDescription = "é¨ä»¶æ¡ç ", Length = 50)] |
| | | public string UPI { get; set; } |
| | | |
| | | |
| | | [Required] |
| | |
| | | [SugarColumn(ColumnName = "OrderId", ColumnDescription = "订åå·", Length = 50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info5", ColumnDescription = "ç产åå·", Length = 60)] |
| | | public string? Info5 { get; set; } |
| | | |
| | | |
| | | #region wmsæ°å¢å段 ãEditby shaocx,2024-11-20ã |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AreaCode", ColumnDescription = "æå¨åºå")] |
| | | public AreaCodeEnum? AreaCode { get; set; } = AreaCodeEnum.æ åºå; |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "UPI", ColumnDescription = "é¨ä»¶æ¡ç ", Length = 50)] |
| | | public string UPI { get; set; } |
| | | [SugarColumn(ColumnName = "UpiStatus", ColumnDescription = "æ¿æç¶æ")] |
| | | public UpiStatusEnum UpiStatus { get; set; } = UpiStatusEnum.åå§; |
| | | |
| | | #endregion |
| | | |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "DetailName", ColumnDescription = "é¨ä»¶åç§°", Length = 50)] |
| | |
| | | [SugarColumn(ColumnName = "Thk", ColumnDescription = "å")] |
| | | public float Thk { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Matgrid", ColumnDescription = "é¨ä»¶çº¹ç", Length = 50)] |
| | | public string? Matgrid { get; set; } |
| | | //[SugarColumn(ColumnName = "Matgrid", ColumnDescription = "é¨ä»¶çº¹ç", Length = 50)] |
| | | //public string? Matgrid { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "IsEB", ColumnDescription = "æ¯å¦å°è¾¹")] |
| | | public int? IsEB { get; set; } |
| | | //[SugarColumn(ColumnName = "IsEB", ColumnDescription = "æ¯å¦å°è¾¹")] |
| | | //public int? IsEB { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå设å¤ç¼å· ãEditBy shaocx,2022-05-28ã |
| | | /// 0ï¼ä¸æå |
| | | /// 1ï¼åé¢é» |
| | | /// 2ï¼è±ªè¿å
é¢é» |
| | | /// 5ï¼åå
´å
é¢é» |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DRNum", ColumnDescription = "æå设å¤ç¼å·")] |
| | | public int? DRNum { get; set; } |
| | | ///// <summary> |
| | | ///// æå设å¤ç¼å· ãEditBy shaocx,2022-05-28ã |
| | | ///// 0ï¼ä¸æå |
| | | ///// 1ï¼åé¢é» |
| | | ///// 2ï¼è±ªè¿å
é¢é» |
| | | ///// 5ï¼åå
´å
é¢é» |
| | | ///// </summary> |
| | | //[SugarColumn(ColumnName = "DRNum", ColumnDescription = "æå设å¤ç¼å·")] |
| | | //public int? DRNum { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "IsPA", ColumnDescription = "æ¯å¦ä¼åå
è£
")] |
| | | public int? IsPA { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¯åå¾å· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MaterialIndeX", ColumnDescription = "é¯åå¾å·")] |
| | | public int? MaterialIndeX { get; set; } |
| | | ///// <summary> |
| | | ///// é¯åå¾å· |
| | | ///// </summary> |
| | | //[SugarColumn(ColumnName = "MaterialIndeX", ColumnDescription = "é¯åå¾å·")] |
| | | //public int? MaterialIndeX { get; set; } |
| | | |
| | | |
| | | #region å
è£
线æå
³ |
| | |
| | | #endregion |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦è½¬å |
| | | /// 0ï¼ä¸è½¬å |
| | | /// 1ï¼è½¬å |
| | | /// ç®ååªæåé¢é»æè½è½¬å |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "Rotation", ColumnDescription = "转åè§åº¦", Length = 50)] |
| | | public float? Rotation { get; set; } |
| | | ///// <summary> |
| | | ///// æ¯å¦è½¬å |
| | | ///// 0ï¼ä¸è½¬å |
| | | ///// 1ï¼è½¬å |
| | | ///// ç®ååªæåé¢é»æè½è½¬å |
| | | ///// </summary> |
| | | //[Required] |
| | | //[SugarColumn(ColumnName = "Rotation", ColumnDescription = "转åè§åº¦", Length = 50)] |
| | | //public float? Rotation { get; set; } |
| | | |
| | | |
| | | |
| | |
| | | [SugarColumn(ColumnName = "Info4", ColumnDescription = "éå®åååå·", Length = 60)] |
| | | public string? Info4 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info5", ColumnDescription = "ç产åå·", Length = 60)] |
| | | public string? Info5 { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 第å å
|
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Admin.NET.Core; |
| | | |
| | | /* |
| | | * @author : åæå¥ |
| | | * @date : 2024/5/29ä¸å10:26:39 |
| | | * @desc : è°åº¦ä»»å¡ |
| | | */ |
| | | namespace Admin.NET.Application.Entity |
| | | { |
| | | /// <summary> |
| | | /// å
æ±æ»æ°æ® |
| | | /// </summary> |
| | | [SugarTable("mes_package_gather", "å
æ±æ»æ°æ®")] |
| | | public class Mes_Package_Gather : EntityBase |
| | | { |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PlanNo", ColumnDescription = "æ¹æ¬¡å·", Length = 50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "OrderId", ColumnDescription = "订åå·", Length = 50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info5", ColumnDescription = "ç产åå·", Length = 60)] |
| | | public string? Info5 { get; set; } |
| | | |
| | | |
| | | #region wmsæ°å¢å段 ãEditby shaocx,2024-11-20ã |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AreaCode", ColumnDescription = "æå¨åºå")] |
| | | public AreaCodeEnum? AreaCode { get; set; } = AreaCodeEnum.æ åºå; |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "UpiStatus", ColumnDescription = "æ¿æç¶æ")] |
| | | public UpiStatusEnum UpiStatus { get; set; } = UpiStatusEnum.åå§; |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region å
è£
线æå
³ |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PackageCode", ColumnDescription = "å
è£
å·", Length = 50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Info1", ColumnDescription = "纸箱é¿", Length = 50)] |
| | | public float? Info1 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info2", ColumnDescription = "纸箱宽", Length = 50)] |
| | | public float? Info2 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info3", ColumnDescription = "纸箱é«", Length = 50)] |
| | | public float? Info3 { get; set; } |
| | | /// <summary> |
| | | /// éå®åååå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info4", ColumnDescription = "éå®åååå·", Length = 60)] |
| | | public string? Info4 { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 第å å
|
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info6", ColumnDescription = "第å å
", Length = 60)] |
| | | public string? Info6 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç»éåºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info7", ColumnDescription = "ç»éåºåç§°", Length = 60)] |
| | | public string? Info7 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产ååç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info8", ColumnDescription = "产ååç§°", Length = 60)] |
| | | public string? Info8 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 客æ·åç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info10", ColumnDescription = "客æ·åç§°", Length = 60)] |
| | | public string? Info10 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
ç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info9", ColumnDescription = "å
è£
ç¼ç ", Length = 60)] |
| | | public string? Info9 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èªæoråè´§ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info11", ColumnDescription = "èªæoråè´§", Length = 60)] |
| | | public string? Info11 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
é¨ä»¶æ»æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info12", ColumnDescription = "å
è£
é¨ä»¶æ»æ°é", Length = 60)] |
| | | public string? Info12 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
é¢ç§¯ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info13", ColumnDescription = "å
è£
é¢ç§¯", Length = 60)] |
| | | public string? Info13 { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Admin.NET.Core; |
| | | |
| | | /* |
| | | * @author : åæå¥ |
| | | * @date : 2024/5/29ä¸å10:26:39 |
| | | * @desc : è°åº¦ä»»å¡ |
| | | */ |
| | | namespace Admin.NET.Application.Entity |
| | | { |
| | | /// <summary> |
| | | /// å
产线éåæ°æ® |
| | | /// </summary> |
| | | [SugarTable("mes_package_linequeue", "å
产线éåæ°æ®")] |
| | | public class Mes_Package_LineQueue : EntityBase |
| | | { |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PlanNo", ColumnDescription = "æ¹æ¬¡å·", Length = 50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "OrderId", ColumnDescription = "订åå·", Length = 50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info5", ColumnDescription = "ç产åå·", Length = 60)] |
| | | public string? Info5 { get; set; } |
| | | |
| | | |
| | | #region wmsæ°å¢å段 ãEditby shaocx,2024-11-20ã |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "AreaCode", ColumnDescription = "æå¨åºå")] |
| | | public AreaCodeEnum? AreaCode { get; set; } = AreaCodeEnum.æ åºå; |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "UpiStatus", ColumnDescription = "æ¿æç¶æ")] |
| | | public UpiStatusEnum UpiStatus { get; set; } = UpiStatusEnum.åå§; |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region å
è£
线æå
³ |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PackageCode", ColumnDescription = "å
è£
å·", Length = 50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Info1", ColumnDescription = "纸箱é¿", Length = 50)] |
| | | public float? Info1 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info2", ColumnDescription = "纸箱宽", Length = 50)] |
| | | public float? Info2 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info3", ColumnDescription = "纸箱é«", Length = 50)] |
| | | public float? Info3 { get; set; } |
| | | /// <summary> |
| | | /// éå®åååå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info4", ColumnDescription = "éå®åååå·", Length = 60)] |
| | | public string? Info4 { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 第å å
|
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info6", ColumnDescription = "第å å
", Length = 60)] |
| | | public string? Info6 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç»éåºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info7", ColumnDescription = "ç»éåºåç§°", Length = 60)] |
| | | public string? Info7 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产ååç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info8", ColumnDescription = "产ååç§°", Length = 60)] |
| | | public string? Info8 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 客æ·åç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info10", ColumnDescription = "客æ·åç§°", Length = 60)] |
| | | public string? Info10 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
ç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info9", ColumnDescription = "å
è£
ç¼ç ", Length = 60)] |
| | | public string? Info9 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èªæoråè´§ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info11", ColumnDescription = "èªæoråè´§", Length = 60)] |
| | | public string? Info11 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
é¨ä»¶æ»æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info12", ColumnDescription = "å
è£
é¨ä»¶æ»æ°é", Length = 60)] |
| | | public string? Info12 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
é¢ç§¯ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info13", ColumnDescription = "å
è£
é¢ç§¯", Length = 60)] |
| | | public string? Info13 { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Admin.NET.Core; |
| | | |
| | | /* |
| | | * @author : åæå¥ |
| | | * @date : 2024/5/29ä¸å10:26:39 |
| | | * @desc : è°åº¦ä»»å¡ |
| | | */ |
| | | namespace Admin.NET.Application.Entity |
| | | { |
| | | /// <summary> |
| | | /// å
产线ä¸çº¿è®°å½æ°æ® |
| | | /// </summary> |
| | | [SugarTable("mes_package_unline_record", "å
产线ä¸çº¿è®°å½æ°æ®")] |
| | | public class Mes_Package_UnLine_Record : EntityBase |
| | | { |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PlanNo", ColumnDescription = "æ¹æ¬¡å·", Length = 50)] |
| | | public string PlanNo { get; set; } |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "OrderId", ColumnDescription = "订åå·", Length = 50)] |
| | | public string OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info5", ColumnDescription = "ç产åå·", Length = 60)] |
| | | public string? Info5 { get; set; } |
| | | |
| | | |
| | | #region å
è£
线æå
³ |
| | | |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PackageCode", ColumnDescription = "å
è£
å·", Length = 50)] |
| | | public string PackageCode { get; set; } |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Info1", ColumnDescription = "纸箱é¿", Length = 50)] |
| | | public float? Info1 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info2", ColumnDescription = "纸箱宽", Length = 50)] |
| | | public float? Info2 { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Info3", ColumnDescription = "纸箱é«", Length = 50)] |
| | | public float? Info3 { get; set; } |
| | | /// <summary> |
| | | /// éå®åååå· |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info4", ColumnDescription = "éå®åååå·", Length = 60)] |
| | | public string? Info4 { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 第å å
|
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info6", ColumnDescription = "第å å
", Length = 60)] |
| | | public string? Info6 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç»éåºåç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info7", ColumnDescription = "ç»éåºåç§°", Length = 60)] |
| | | public string? Info7 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产ååç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info8", ColumnDescription = "产ååç§°", Length = 60)] |
| | | public string? Info8 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 客æ·åç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info10", ColumnDescription = "客æ·åç§°", Length = 60)] |
| | | public string? Info10 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
ç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info9", ColumnDescription = "å
è£
ç¼ç ", Length = 60)] |
| | | public string? Info9 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èªæoråè´§ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info11", ColumnDescription = "èªæoråè´§", Length = 60)] |
| | | public string? Info11 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
é¨ä»¶æ»æ°é |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info12", ColumnDescription = "å
è£
é¨ä»¶æ»æ°é", Length = 60)] |
| | | public string? Info12 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
é¢ç§¯ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Info13", ColumnDescription = "å
è£
é¢ç§¯", Length = 60)] |
| | | public string? Info13 { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OpRemark", ColumnDescription = "夿³¨", Length = 60)] |
| | | public string? OpRemark { get; set; } |
| | | } |
| | | } |
| | |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace Admin.NET.Core.Enum; |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¨éç¶æ |
| | | /// </summary> |
| | | [Description("æ¨éç¶æ")] |
| | | public enum PushStatusEnum |
| | | { |
| | | /// <summary> |
| | |
| | |  |
| | | |
| | | using System.ComponentModel; |
| | | |
| | | namespace Admin.NET.Application; |
| | | |
| | | /// <summary> |
| | |
| | | å·²é½å
= 2, |
| | | |
| | | /// <summary> |
| | | /// ç åä¸ |
| | | /// </summary> |
| | | [Description("ç åä¸")] |
| | | ç åä¸ = 3, |
| | | |
| | | |
| | | /// <summary> |
| | | /// å·²ç å |
| | | /// </summary> |
| | | [Description("å·²ç å")] |
| | | å·²ç å = 3, |
| | | å·²ç å = 4, |
| | | |
| | | /// <summary> |
| | | /// å·²åå
|
| | | /// </summary> |
| | | [Description("å·²åå
")] |
| | | å·²åå
= 4, |
| | | |
| | | /// <summary> |
| | | /// å·²ç å |
| | | /// å·²åå
|
| | | /// </summary> |
| | | [Description("ç åä¸")] |
| | | ç åä¸ = 5, |
| | | [Description("å·²åå
")] |
| | | å·²åå
= 5, |
| | | |
| | | /// <summary> |
| | | /// å·²ä¸çº¿ |
| | | /// </summary> |
| | | [Description("å·²ä¸çº¿")] |
| | | å·²ä¸çº¿ = 6 |
| | | |
| | | } |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Wms/Admin.NET.Application/Service/WmsOrder/MesPushPackageCode/Dto/MesPushPackageCodeInput.cs ÐÞ¸Ä |
| | |
| | | namespace Admin.NET.Application; |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·åºç¡è¾å
¥åæ° |
| | | /// å
è£
宿坹æ¥åºç¡è¾å
¥åæ° |
| | | /// </summary> |
| | | public class MesPushPackageCodeBaseInput |
| | | { |
| | |
| | | /// <summary> |
| | | /// æ¨éç¶æ |
| | | /// </summary> |
| | | public virtual int PushStatus { get; set; } |
| | | public virtual Admin.NET.Core.Enum.PushStatusEnum PushStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¶é´ |
| | | /// </summary> |
| | | public virtual DateTime? PushTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¬¡æ° |
| | |
| | | /// æ¥å£è¿ååæ° |
| | | /// </summary> |
| | | public virtual string ApiMessage { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨Id |
| | | /// </summary> |
| | | public virtual long? CreateOrgId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨åç§° |
| | | /// </summary> |
| | | public virtual string CreateOrgName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | |
| | | public virtual string UpdateUserName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨Id |
| | | /// </summary> |
| | | public virtual long? CreateOrgId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨åç§° |
| | | /// </summary> |
| | | public virtual string CreateOrgName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 软å é¤ |
| | | /// </summary> |
| | | public virtual bool IsDelete { get; set; } |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·å页æ¥è¯¢è¾å
¥åæ° |
| | | /// å
è£
宿坹æ¥å页æ¥è¯¢è¾å
¥åæ° |
| | | /// </summary> |
| | | public class MesPushPackageCodeInput : BasePageInput |
| | | { |
| | |
| | | /// <summary> |
| | | /// æ¨éç¶æ |
| | | /// </summary> |
| | | public int? PushStatus { get; set; } |
| | | public Admin.NET.Core.Enum.PushStatusEnum? PushStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¶é´ |
| | | /// </summary> |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¶é´èå´ |
| | | /// </summary> |
| | | public List<DateTime?> PushTimeRange { get; set; } |
| | | /// <summary> |
| | | /// æ¨éæ¬¡æ° |
| | | /// </summary> |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·å¢å è¾å
¥åæ° |
| | | /// å
è£
宿坹æ¥å¢å è¾å
¥åæ° |
| | | /// </summary> |
| | | public class AddMesPushPackageCodeInput : MesPushPackageCodeBaseInput |
| | | { |
| | |
| | | /// æ¨éç¶æ |
| | | /// </summary> |
| | | [Required(ErrorMessage = "æ¨éç¶æä¸è½ä¸ºç©º")] |
| | | public override int PushStatus { get; set; } |
| | | public override Admin.NET.Core.Enum.PushStatusEnum PushStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¬¡æ° |
| | | /// </summary> |
| | | [Required(ErrorMessage = "æ¨é次æ°ä¸è½ä¸ºç©º")] |
| | | public override int PushNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥å£è¿ååæ° |
| | | /// </summary> |
| | | [Required(ErrorMessage = "æ¥å£è¿ååæ°ä¸è½ä¸ºç©º")] |
| | | public override string ApiMessage { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨åç§° |
| | | /// </summary> |
| | | [Required(ErrorMessage = "å建è
é¨é¨åç§°ä¸è½ä¸ºç©º")] |
| | | public override string CreateOrgName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 软å é¤ |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·å é¤è¾å
¥åæ° |
| | | /// å
è£
宿坹æ¥å é¤è¾å
¥åæ° |
| | | /// </summary> |
| | | public class DeleteMesPushPackageCodeInput : BaseIdInput |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·æ´æ°è¾å
¥åæ° |
| | | /// å
è£
å®æå¯¹æ¥æ´æ°è¾å
¥åæ° |
| | | /// </summary> |
| | | public class UpdateMesPushPackageCodeInput : AddMesPushPackageCodeInput |
| | | { |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·ä¸»é®æ¥è¯¢è¾å
¥åæ° |
| | | /// å
è£
宿坹æ¥ä¸»é®æ¥è¯¢è¾å
¥åæ° |
| | | /// </summary> |
| | | public class QueryByIdMesPushPackageCodeInput : DeleteMesPushPackageCodeInput |
| | | { |
| | | |
| | | } |
| | | public class PushPackageCodeInput |
| | | { |
| | | public string PackageCode { get; set; } |
| | | } |
ÎļþÃû´Ó LA24030_LuLiPackageLine_Wms/Admin.NET.Application/Service/WmsOrder/MesPushPackageCode/Dto/MesPushPackageCodeOutput.cs ÐÞ¸Ä |
| | |
| | | namespace Admin.NET.Application; |
| | | |
| | | /// <summary> |
| | | /// æ¨émeså
è£
å·è¾åºåæ° |
| | | /// å
è£
宿坹æ¥è¾åºåæ° |
| | | /// </summary> |
| | | public class MesPushPackageCodeOutput |
| | | { |
| | |
| | | /// <summary> |
| | | /// æ¨éç¶æ |
| | | /// </summary> |
| | | public int PushStatus { get; set; } |
| | | public Admin.NET.Core.Enum.PushStatusEnum PushStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¶é´ |
| | | /// </summary> |
| | | public DateTime? PushTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæ¬¡æ° |
| | |
| | | /// æ¥å£è¿ååæ° |
| | | /// </summary> |
| | | public string ApiMessage { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨Id |
| | | /// </summary> |
| | | public long? CreateOrgId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨åç§° |
| | | /// </summary> |
| | | public string CreateOrgName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | |
| | | public string UpdateUserName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨Id |
| | | /// </summary> |
| | | public long? CreateOrgId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建è
é¨é¨åç§° |
| | | /// </summary> |
| | | public string CreateOrgName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 软å é¤ |
| | | /// </summary> |
| | | public bool IsDelete { get; set; } |
| | | |
| | | } |
| | | public class Respone |
| | | { |
| | | public int iState; |
| | | public string message; |
| | | public object result; |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Admin.NET.Core.Service; |
| | | using Admin.NET.Application.Entity; |
| | | using Microsoft.AspNetCore.Http; |
| | | using System.Data; |
| | | using System.Web; |
| | | using System.Text; |
| | | namespace Admin.NET.Application; |
| | | /// <summary> |
| | | /// å
è£
å®æå¯¹æ¥æå¡ |
| | | /// </summary> |
| | | [ApiDescriptionSettings(ApplicationConst.ThirdInterFaceGroupName, Order = 100)] |
| | | public class MesPushPackageCodeService : IDynamicApiController, ITransient |
| | | { |
| | | private readonly SqlSugarRepository<MesPushPackageCode> _rep; |
| | | public MesPushPackageCodeService(SqlSugarRepository<MesPushPackageCode> rep) |
| | | { |
| | | _rep = rep; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å页æ¥è¯¢å
è£
å®æå¯¹æ¥ |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "Page")] |
| | | [Description("MesPushPackageCode/Page")] |
| | | public async Task<SqlSugarPagedList<MesPushPackageCodeOutput>> Page(MesPushPackageCodeInput input) |
| | | { |
| | | var query = CommonPageFilter(input); |
| | | return await query.OrderBuilder(input, "", "Id").ToPagedListAsync(input.Page, input.PageSize); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸å页æ¥è¯¢å
è£
å®æå¯¹æ¥ |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | [ApiDescriptionSettings(Name = "List")] |
| | | [Description("MesPushPackageCode/List")] |
| | | public async Task<List<MesPushPackageCodeOutput>> List([FromQuery] MesPushPackageCodeInput input) |
| | | { |
| | | var query = CommonPageFilter(input); |
| | | return await query.OrderBuilder(input, "", "Id").Select<MesPushPackageCodeOutput>().ToListAsync(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¢å å
è£
å®æå¯¹æ¥ |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "Add")] |
| | | [Description("MesPushPackageCode/Add")] |
| | | public async Task<long> Add(AddMesPushPackageCodeInput input) |
| | | { |
| | | var entity = input.Adapt<MesPushPackageCode>(); |
| | | |
| | | //é夿§éªè¯ |
| | | await CheckExist(entity); |
| | | |
| | | await _rep.InsertAsync(entity); |
| | | return entity.Id; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤å
è£
å®æå¯¹æ¥ |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "Delete")] |
| | | [Description("MesPushPackageCode/Delete")] |
| | | public async Task Delete(DeleteMesPushPackageCodeInput input) |
| | | { |
| | | var entity = await _rep.GetFirstAsync(u => u.Id == input.Id) ?? throw Oops.Oh(ErrorCodeEnum.D1002); |
| | | //await _rep.FakeDeleteAsync(entity); //åå é¤ |
| | | await _rep.DeleteAsync(entity); //çå é¤ |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ´æ°å
è£
å®æå¯¹æ¥ |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "Update")] |
| | | [Description("MesPushPackageCode/Update")] |
| | | public async Task Update(UpdateMesPushPackageCodeInput input) |
| | | { |
| | | var entity = input.Adapt<MesPushPackageCode>(); |
| | | |
| | | //é夿§éªè¯ |
| | | await CheckExist(entity,true); |
| | | |
| | | await _rep.AsUpdateable(entity).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommandAsync(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åå
è£
å®æå¯¹æ¥ |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | [ApiDescriptionSettings(Name = "Detail")] |
| | | [Description("MesPushPackageCode/Detail")] |
| | | public async Task<MesPushPackageCode> Detail([FromQuery] QueryByIdMesPushPackageCodeInput input) |
| | | { |
| | | return await _rep.GetFirstAsync(u => u.Id == input.Id); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | #region ç§ææ¹æ³ |
| | | |
| | | /// <summary> |
| | | /// å
Œ
±æ¥è¯¢å
è£
å®æå¯¹æ¥æ¡ä»¶ |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | private ISugarQueryable<MesPushPackageCodeOutput> CommonPageFilter(MesPushPackageCodeInput input) |
| | | { |
| | | var query = _rep.AsQueryable() |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.SearchKey), u => |
| | | u.PackageCode.Contains(input.SearchKey.Trim()) |
| | | || u.ApiMessage.Contains(input.SearchKey.Trim()) |
| | | || u.CreateOrgName.Contains(input.SearchKey.Trim()) |
| | | || u.CreateUserName.Contains(input.SearchKey.Trim()) |
| | | || u.UpdateUserName.Contains(input.SearchKey.Trim()) |
| | | ) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.PackageCode), u => u.PackageCode.Contains(input.PackageCode.Trim())) |
| | | .WhereIF(input.PushStatus.HasValue, u => u.PushStatus == input.PushStatus) |
| | | .WhereIF(input.PushNum>0, u => u.PushNum == input.PushNum) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.ApiMessage), u => u.ApiMessage.Contains(input.ApiMessage.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.CreateOrgName), u => u.CreateOrgName.Contains(input.CreateOrgName.Trim())) |
| | | .Select<MesPushPackageCodeOutput>(); |
| | | if(input.PushTimeRange != null && input.PushTimeRange.Count >0) |
| | | { |
| | | DateTime? start= input.PushTimeRange[0].Value.AddDays(-1); |
| | | query = query.WhereIF(start.HasValue, u => u.PushTime > start); |
| | | if (input.PushTimeRange.Count >1 && input.PushTimeRange[1].HasValue) |
| | | { |
| | | var end = input.PushTimeRange[1].Value.AddDays(1); |
| | | query = query.Where(u => u.PushTime < end); |
| | | } |
| | | } |
| | | return query; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// é夿§éªè¯ |
| | | /// </summary> |
| | | /// <param name="input">éªè¯å¯¹è±¡</param> |
| | | /// <param name="isEdit">æ¯å¦æ¯ç¼è¾</param> |
| | | /// <returns></returns> |
| | | private async Task CheckExist( MesPushPackageCode input,bool isEdit=false) |
| | | { |
| | | |
| | | |
| | | |
| | | //没æé
ç½®ç»åæ ¡éªï¼ä¸éè¦éªé |
| | | |
| | | |
| | | //没æé
ç½®åç¬æ ¡éªï¼ä¸éè¦éªé |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ ¹æ®ç»åæ ¡éªååç¬æ ¡éªéªè¯æ°æ®æ¯å¦å·²åå¨-导å
¥æ¶éªè¯ |
| | | /// </summary> |
| | | /// <param name="inputs"></param> |
| | | /// <returns></returns> |
| | | private async Task CheckExisitForImport(List<MesPushPackageCode> inputs) |
| | | { |
| | | if (inputs?.Count <= 0) |
| | | { |
| | | throw Oops.Oh($"导å
¥æ°æ®ä¸è½ä¸ºç©º"); |
| | | } |
| | | //æ ¹æ®ç»åæ ¡éªéªè¯è¡¨æ ¼ä¸ä¸æ¯å¦å·²åå¨ç¸åæ°æ® |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //æ ¹æ®åç¬æ ¡éªéªè¯è¡¨æ ¼ä¸ä¸æ¯å¦å·²åå¨ç¸åæ°æ® |
| | | |
| | | |
| | | |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Admin.NET.Core.Service; |
| | | using Admin.NET.Application.Entity; |
| | | using Microsoft.AspNetCore.Http; |
| | | using System.Data; |
| | | using System.Web; |
| | | using System.Text; |
| | | using Furion.DatabaseAccessor; |
| | | using Admin.NET.Application.Service.WmsOrder.Mes_BatchOrderUPI_New.Dto; |
| | | |
| | | namespace Admin.NET.Application; |
| | | /// <summary> |
| | | /// ç¬¬ä¸æ¹æ¥å£æå¡ |
| | | /// </summary> |
| | | [ApiDescriptionSettings(ApplicationConst.ThirdInterFaceServiceGroupName, Order = 100)] |
| | | public class ThirdInterFaceService : IDynamicApiController, ITransient |
| | | { |
| | | private readonly SqlSugarRepository<Mes_BatchOrderUPI_New> _rep; |
| | | private readonly SqlSugarRepository<Mes_Package_Gather> _mes_Package_Gather_Rep; |
| | | public ThirdInterFaceService(SqlSugarRepository<Mes_BatchOrderUPI_New> rep, |
| | | SqlSugarRepository<Mes_Package_Gather> mes_Package_Gather_Rep |
| | | ) |
| | | { |
| | | _rep = rep; |
| | | _mes_Package_Gather_Rep = mes_Package_Gather_Rep; |
| | | } |
| | | |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "GetBatchOrderUPIList")] |
| | | [UnitOfWork] |
| | | [AllowAnonymous] |
| | | public async Task GetBatchOrderUPIList(List<Mes_BatchOrderUPI_New> input) |
| | | { |
| | | if (input?.Count <= 0) |
| | | { |
| | | throw Oops.Oh($"æ°æ®ä¸è½ä¸ºç©º"); |
| | | } |
| | | //æ ¡éªupiæ¯å¦éå¤ ãEditby shaocx,2022-12-13ã |
| | | var myList = input.Select(x => x.UPI).ToList(); |
| | | var result = myList.GroupBy(x => x) |
| | | .Where(g => g.Count() > 1) |
| | | .ToDictionary(x => x.Key, x => x.Count()); |
| | | if (result != null && result.Count > 0) |
| | | { |
| | | var dit = result.First(); |
| | | throw Oops.Oh("æ¬æ¬¡æéå¤çUPIï¼éå¤å·ä¸º:" + dit.Key + ",é夿¡æ°:" + dit.Value); |
| | | } |
| | | |
| | | List<string> packageList = new List<string>(); |
| | | input.ForEach(x => packageList.Add(x.PackageCode));//upisæ¯ä¼ è¿æ¥çupiåæ®µéå |
| | | |
| | | var batchOrderUPIs = await _rep.AsQueryable().Where(x => packageList.Contains(x.PackageCode)).ToListAsync();//batchOrderUPIsæ¯éå¤çupiéå |
| | | //æ¹éå é¤ |
| | | await _rep.DeleteAsync(batchOrderUPIs); |
| | | |
| | | //æ¹éå é¤ |
| | | await _mes_Package_Gather_Rep.DeleteAsync(x => packageList.Contains(x.PackageCode)); |
| | | |
| | | foreach (var item in input) |
| | | { |
| | | item.AreaCode = AreaCodeEnum.æ åºå; |
| | | item.UpiStatus = UpiStatusEnum.åå§; |
| | | } |
| | | List<Mes_Package_Gather> addGatherList = new List<Mes_Package_Gather>(); |
| | | var groups = input.GroupBy(x => x.PackageCode); |
| | | foreach (var group in groups) |
| | | { |
| | | var first = group.ToList().First(); |
| | | Mes_Package_Gather newGather = first.Adapt<Mes_Package_Gather>(); |
| | | newGather.AreaCode = AreaCodeEnum.æ åºå; |
| | | newGather.UpiStatus = UpiStatusEnum.åå§; |
| | | addGatherList.Add(newGather); |
| | | } |
| | | await _mes_Package_Gather_Rep.InsertRangeAsync(addGatherList); |
| | | |
| | | await _rep.InsertRangeAsync(input); |
| | | } |
| | | |
| | | } |
| | | |
| | |
| | | public class Mes_BatchOrderUPI_NewBaseInput |
| | | { |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// é¨ä»¶æ¡ç |
| | | /// </summary> |
| | | public virtual Admin.NET.Application.AreaCodeEnum? AreaCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | public virtual Admin.NET.Application.UpiStatusEnum UpiStatus { get; set; } |
| | | public virtual string UPI { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· |
| | |
| | | public virtual string OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶æ¡ç |
| | | /// ç产åå· |
| | | /// </summary> |
| | | public virtual string UPI { get; set; } |
| | | public virtual string Info5 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// </summary> |
| | | public virtual Admin.NET.Application.AreaCodeEnum? AreaCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | public virtual Admin.NET.Application.UpiStatusEnum UpiStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶åç§° |
| | |
| | | public virtual float Thk { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶çº¹ç |
| | | /// </summary> |
| | | public virtual string Matgrid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å°è¾¹ |
| | | /// </summary> |
| | | public virtual int? IsEB { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå设å¤ç¼å· |
| | | /// </summary> |
| | | public virtual int? DRNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦ä¼åå
è£
|
| | | /// </summary> |
| | | public virtual int? IsPA { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¯åå¾å· |
| | | /// </summary> |
| | | public virtual int? MaterialIndeX { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
å· |
| | |
| | | public virtual int? Shelf { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 转åè§åº¦ |
| | | /// </summary> |
| | | public virtual float? Rotation { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çº¸ç®±é¿ |
| | | /// </summary> |
| | | public virtual float? Info1 { get; set; } |
| | |
| | | /// éå®åååå· |
| | | /// </summary> |
| | | public virtual string Info4 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | public virtual string Info5 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 第å å
|
| | |
| | | public virtual string Info16 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æºæ¢°èæ¯å¦æè½¬ |
| | | /// </summary> |
| | | public virtual string Info17 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | public virtual DateTime? CreateTime { get; set; } |
| | |
| | | public string? SearchKey { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// é¨ä»¶æ¡ç |
| | | /// </summary> |
| | | public Admin.NET.Application.AreaCodeEnum? AreaCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | public Admin.NET.Application.UpiStatusEnum? UpiStatus { get; set; } |
| | | public string? UPI { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· |
| | |
| | | public string? OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶æ¡ç |
| | | /// ç产åå· |
| | | /// </summary> |
| | | public string? UPI { get; set; } |
| | | public string? Info5 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// </summary> |
| | | public Admin.NET.Application.AreaCodeEnum? AreaCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | public Admin.NET.Application.UpiStatusEnum? UpiStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶åç§° |
| | |
| | | public float? Thk { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶çº¹ç |
| | | /// </summary> |
| | | public string? Matgrid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å°è¾¹ |
| | | /// </summary> |
| | | public int? IsEB { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå设å¤ç¼å· |
| | | /// </summary> |
| | | public int? DRNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦ä¼åå
è£
|
| | | /// </summary> |
| | | public int? IsPA { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¯åå¾å· |
| | | /// </summary> |
| | | public int? MaterialIndeX { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
å· |
| | |
| | | public int? Shelf { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 转åè§åº¦ |
| | | /// </summary> |
| | | public float? Rotation { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çº¸ç®±é¿ |
| | | /// </summary> |
| | | public float? Info1 { get; set; } |
| | |
| | | /// éå®åååå· |
| | | /// </summary> |
| | | public string? Info4 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | public string? Info5 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 第å å
|
| | |
| | | /// </summary> |
| | | public string? Info16 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æºæ¢°èæ¯å¦æè½¬ |
| | | /// </summary> |
| | | public string? Info17 { get; set; } |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public class AddMes_BatchOrderUPI_NewInput : Mes_BatchOrderUPI_NewBaseInput |
| | | { |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// é¨ä»¶æ¡ç |
| | | /// </summary> |
| | | [Required(ErrorMessage = "æ¿æç¶æä¸è½ä¸ºç©º")] |
| | | public override Admin.NET.Application.UpiStatusEnum UpiStatus { get; set; } |
| | | [Required(ErrorMessage = "é¨ä»¶æ¡ç ä¸è½ä¸ºç©º")] |
| | | public override string UPI { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· |
| | |
| | | public override string OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶æ¡ç |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | [Required(ErrorMessage = "é¨ä»¶æ¡ç ä¸è½ä¸ºç©º")] |
| | | public override string UPI { get; set; } |
| | | [Required(ErrorMessage = "æ¿æç¶æä¸è½ä¸ºç©º")] |
| | | public override Admin.NET.Application.UpiStatusEnum UpiStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶åç§° |
| | |
| | | public long? Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// é¨ä»¶æ¡ç |
| | | /// </summary> |
| | | public Admin.NET.Application.AreaCodeEnum? AreaCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | public Admin.NET.Application.UpiStatusEnum UpiStatus { get; set; } |
| | | public string UPI { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¹æ¬¡å· |
| | |
| | | public string OrderId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶æ¡ç |
| | | /// ç产åå· |
| | | /// </summary> |
| | | public string UPI { get; set; } |
| | | public string Info5 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå¨åºå |
| | | /// </summary> |
| | | public Admin.NET.Application.AreaCodeEnum? AreaCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¿æç¶æ |
| | | /// </summary> |
| | | public Admin.NET.Application.UpiStatusEnum UpiStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶åç§° |
| | |
| | | public float Thk { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨ä»¶çº¹ç |
| | | /// </summary> |
| | | public string Matgrid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å°è¾¹ |
| | | /// </summary> |
| | | public int? IsEB { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå设å¤ç¼å· |
| | | /// </summary> |
| | | public int? DRNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦ä¼åå
è£
|
| | | /// </summary> |
| | | public int? IsPA { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¯åå¾å· |
| | | /// </summary> |
| | | public int? MaterialIndeX { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
è£
å· |
| | |
| | | public int? Shelf { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 转åè§åº¦ |
| | | /// </summary> |
| | | public float? Rotation { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çº¸ç®±é¿ |
| | | /// </summary> |
| | | public float? Info1 { get; set; } |
| | |
| | | /// éå®åååå· |
| | | /// </summary> |
| | | public string Info4 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå· |
| | | /// </summary> |
| | | public string Info5 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 第å å
|
| | |
| | | public string Info16 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æºæ¢°èæ¯å¦æè½¬ |
| | | /// </summary> |
| | | public string Info17 { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | public DateTime? CreateTime { get; set; } |
| | |
| | | using System.Data; |
| | | using System.Web; |
| | | using System.Text; |
| | | using Furion.DatabaseAccessor; |
| | | using Admin.NET.Application.Service.WmsOrder.Mes_BatchOrderUPI_New.Dto; |
| | | |
| | | namespace Admin.NET.Application; |
| | | /// <summary> |
| | | /// æ¹æ¬¡æ°æ®æå¡ |
| | |
| | | |
| | | var addItem = new Mes_BatchOrderUPI_New(); |
| | | #region å®ä¹åé |
| | | var _AreaCode = "";//æå¨åºå |
| | | var _UpiStatus = "";//æ¿æç¶æ |
| | | var _UPI = "";//é¨ä»¶æ¡ç |
| | | var _PlanNo = "";//æ¹æ¬¡å· |
| | | var _OrderId = "";//订åå· |
| | | var _UPI = "";//é¨ä»¶æ¡ç |
| | | var _Info5 = "";//ç产åå· |
| | | var _AreaCode = "";//æå¨åºå |
| | | var _UpiStatus = "";//æ¿æç¶æ |
| | | var _DetailName = "";//é¨ä»¶åç§° |
| | | var _Length = "";//é¿ |
| | | var _Width = "";//宽 |
| | | var _Thk = "";//å |
| | | var _Matgrid = "";//é¨ä»¶çº¹ç |
| | | var _IsEB = "";//æ¯å¦å°è¾¹ |
| | | var _DRNum = "";//æå设å¤ç¼å· |
| | | var _IsPA = "";//æ¯å¦ä¼åå
è£
|
| | | var _MaterialIndeX = "";//é¯åå¾å· |
| | | var _PackageCode = "";//å
è£
å· |
| | | var _MachineXCenter = "";//å
è£
Xåæ |
| | | var _MachineYCenter = "";//å
è£
Yåæ |
| | | var _MachineZCenter = "";//å
è£
Zåæ |
| | | var _Sequence = "";//屿° |
| | | var _Shelf = "";//æ¬¡åº |
| | | var _Rotation = "";//转åè§åº¦ |
| | | var _Info1 = "";//çº¸ç®±é¿ |
| | | var _Info2 = "";//纸箱宽 |
| | | var _Info3 = "";//çº¸ç®±é« |
| | | var _Info4 = "";//éå®åååå· |
| | | var _Info5 = "";//ç产åå· |
| | | var _Info6 = "";//第å å
|
| | | var _Info7 = "";//ç»éåºåç§° |
| | | var _Info8 = "";//产ååç§° |
| | |
| | | var _Info14 = "";//é¨ä»¶åç§° |
| | | var _Info15 = "";//é¨ä»¶æ°é |
| | | var _Info16 = "";//é¨ä»¶å°ºå¯¸ |
| | | var _Info17 = "";//æºæ¢°èæ¯å¦æè½¬ |
| | | #endregion |
| | | |
| | | |
| | | #region åå¼ |
| | | _AreaCode = row["æå¨åºå"]?.ToString() ; |
| | | _UpiStatus = row["æ¿æç¶æ"]?.ToString() ; |
| | | _UPI = row["é¨ä»¶æ¡ç "]?.ToString() ; |
| | | _PlanNo = row["æ¹æ¬¡å·"]?.ToString() ; |
| | | _OrderId = row["订åå·"]?.ToString() ; |
| | | _UPI = row["é¨ä»¶æ¡ç "]?.ToString() ; |
| | | _Info5 = row["ç产åå·"]?.ToString() ; |
| | | _AreaCode = row["æå¨åºå"]?.ToString() ; |
| | | _UpiStatus = row["æ¿æç¶æ"]?.ToString() ; |
| | | _DetailName = row["é¨ä»¶åç§°"]?.ToString() ; |
| | | _Length = row["é¿"]?.ToString() ; |
| | | _Width = row["宽"]?.ToString() ; |
| | | _Thk = row["å"]?.ToString() ; |
| | | _Matgrid = row["é¨ä»¶çº¹ç"]?.ToString() ; |
| | | _IsEB = row["æ¯å¦å°è¾¹"]?.ToString() ; |
| | | _DRNum = row["æå设å¤ç¼å·"]?.ToString() ; |
| | | _IsPA = row["æ¯å¦ä¼åå
è£
"]?.ToString() ; |
| | | _MaterialIndeX = row["é¯åå¾å·"]?.ToString() ; |
| | | _PackageCode = row["å
è£
å·"]?.ToString() ; |
| | | _MachineXCenter = row["å
è£
Xåæ "]?.ToString() ; |
| | | _MachineYCenter = row["å
è£
Yåæ "]?.ToString() ; |
| | | _MachineZCenter = row["å
è£
Zåæ "]?.ToString() ; |
| | | _Sequence = row["屿°"]?.ToString() ; |
| | | _Shelf = row["次åº"]?.ToString() ; |
| | | _Rotation = row["转åè§åº¦"]?.ToString() ; |
| | | _Info1 = row["纸箱é¿"]?.ToString() ; |
| | | _Info2 = row["纸箱宽"]?.ToString() ; |
| | | _Info3 = row["纸箱é«"]?.ToString() ; |
| | | _Info4 = row["éå®åååå·"]?.ToString() ; |
| | | _Info5 = row["ç产åå·"]?.ToString() ; |
| | | _Info6 = row["第å å
"]?.ToString() ; |
| | | _Info7 = row["ç»éåºåç§°"]?.ToString() ; |
| | | _Info8 = row["产ååç§°"]?.ToString() ; |
| | |
| | | _Info14 = row["é¨ä»¶åç§°"]?.ToString() ; |
| | | _Info15 = row["é¨ä»¶æ°é"]?.ToString() ; |
| | | _Info16 = row["é¨ä»¶å°ºå¯¸"]?.ToString() ; |
| | | _Info17 = row["æºæ¢°èæ¯å¦æè½¬"]?.ToString() ; |
| | | #endregion |
| | | |
| | | |
| | | #region éªè¯ |
| | | |
| | | if (string.IsNullOrEmpty(_UPI)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[é¨ä»¶æ¡ç ]{_UPI}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | if(!string.IsNullOrEmpty(_UPI)) |
| | | { |
| | | addItem.UPI = (string)(_UPI.Trim()); |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(_PlanNo)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[æ¹æ¬¡å·]{_PlanNo}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | if(!string.IsNullOrEmpty(_PlanNo)) |
| | | { |
| | | addItem.PlanNo = (string)(_PlanNo.Trim()); |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(_OrderId)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[订åå·]{_OrderId}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | if(!string.IsNullOrEmpty(_OrderId)) |
| | | { |
| | | addItem.OrderId = (string)(_OrderId.Trim()); |
| | | } |
| | | if(!string.IsNullOrEmpty(_Info5)) |
| | | { |
| | | addItem.Info5 = (string)(_Info5.Trim()); |
| | | } |
| | | if(!string.IsNullOrEmpty(_AreaCode)) |
| | | { |
| | | Admin.NET.Application.AreaCodeEnum enumAreaCode = default(Admin.NET.Application.AreaCodeEnum); |
| | |
| | | |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(_PlanNo)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[æ¹æ¬¡å·]{_PlanNo}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | if(!string.IsNullOrEmpty(_PlanNo)) |
| | | { |
| | | addItem.PlanNo = (string)(_PlanNo.Trim()); |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(_OrderId)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[订åå·]{_OrderId}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | if(!string.IsNullOrEmpty(_OrderId)) |
| | | { |
| | | addItem.OrderId = (string)(_OrderId.Trim()); |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(_UPI)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[é¨ä»¶æ¡ç ]{_UPI}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | if(!string.IsNullOrEmpty(_UPI)) |
| | | { |
| | | addItem.UPI = (string)(_UPI.Trim()); |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(_DetailName)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[é¨ä»¶åç§°]{_DetailName}ä¸è½ä¸ºç©ºï¼"); |
| | |
| | | throw Oops.Oh($"第{index}è¡[é¿]{_Length}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | //if(!string.IsNullOrEmpty(_Length)) |
| | | //{ |
| | | // addItem.Length = (float)(_Length.Trim()); |
| | | // } |
| | | |
| | | //if (string.IsNullOrEmpty(_Width)) |
| | | //{ |
| | | // throw Oops.Oh($"第{index}è¡[宽]{_Width}ä¸è½ä¸ºç©ºï¼"); |
| | | //} |
| | | |
| | | //if(!string.IsNullOrEmpty(_Width)) |
| | | //{ |
| | | // addItem.Width = (float)(_Width.Trim()); |
| | | // } |
| | | |
| | | //if (string.IsNullOrEmpty(_Thk)) |
| | | //{ |
| | | // throw Oops.Oh($"第{index}è¡[å]{_Thk}ä¸è½ä¸ºç©ºï¼"); |
| | | //} |
| | | |
| | | //if(!string.IsNullOrEmpty(_Thk)) |
| | | //{ |
| | | // addItem.Thk = (float)(_Thk.Trim()); |
| | | // } |
| | | if(!string.IsNullOrEmpty(_Matgrid)) |
| | | if (string.IsNullOrEmpty(_Thk)) |
| | | { |
| | | addItem.Matgrid = (string)(_Matgrid.Trim()); |
| | | } |
| | | if(!string.IsNullOrEmpty(_IsEB)) |
| | | { |
| | | if (!int.TryParse(_IsEB, out int outIsEB)&&!string.IsNullOrEmpty(_IsEB)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[æ¯å¦å°è¾¹]{_IsEB}å¼ä¸æ£ç¡®ï¼"); |
| | | } |
| | | if (outIsEB <= 0&&!string.IsNullOrEmpty(_IsEB)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[æ¯å¦å°è¾¹]{_IsEB}å¼ä¸è½å°äºçäº0ï¼"); |
| | | } |
| | | else |
| | | { |
| | | addItem.IsEB = outIsEB; |
| | | throw Oops.Oh($"第{index}è¡[å]{_Thk}ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | } |
| | | if(!string.IsNullOrEmpty(_DRNum)) |
| | | { |
| | | if (!int.TryParse(_DRNum, out int outDRNum)&&!string.IsNullOrEmpty(_DRNum)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[æå设å¤ç¼å·]{_DRNum}å¼ä¸æ£ç¡®ï¼"); |
| | | } |
| | | if (outDRNum <= 0&&!string.IsNullOrEmpty(_DRNum)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[æå设å¤ç¼å·]{_DRNum}å¼ä¸è½å°äºçäº0ï¼"); |
| | | } |
| | | else |
| | | { |
| | | addItem.DRNum = outDRNum; |
| | | } |
| | | |
| | | } |
| | | if(!string.IsNullOrEmpty(_IsPA)) |
| | | { |
| | | if (!int.TryParse(_IsPA, out int outIsPA)&&!string.IsNullOrEmpty(_IsPA)) |
| | |
| | | else |
| | | { |
| | | addItem.IsPA = outIsPA; |
| | | } |
| | | |
| | | } |
| | | if(!string.IsNullOrEmpty(_MaterialIndeX)) |
| | | { |
| | | if (!int.TryParse(_MaterialIndeX, out int outMaterialIndeX)&&!string.IsNullOrEmpty(_MaterialIndeX)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[é¯åå¾å·]{_MaterialIndeX}å¼ä¸æ£ç¡®ï¼"); |
| | | } |
| | | if (outMaterialIndeX <= 0&&!string.IsNullOrEmpty(_MaterialIndeX)) |
| | | { |
| | | throw Oops.Oh($"第{index}è¡[é¯åå¾å·]{_MaterialIndeX}å¼ä¸è½å°äºçäº0ï¼"); |
| | | } |
| | | else |
| | | { |
| | | addItem.MaterialIndeX = outMaterialIndeX; |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | if(!string.IsNullOrEmpty(_Info4)) |
| | | { |
| | | addItem.Info4 = (string)(_Info4.Trim()); |
| | | } |
| | | if(!string.IsNullOrEmpty(_Info5)) |
| | | { |
| | | addItem.Info5 = (string)(_Info5.Trim()); |
| | | } |
| | | if(!string.IsNullOrEmpty(_Info6)) |
| | | { |
| | | addItem.Info6 = (string)(_Info6.Trim()); |
| | | } |
| | | if(!string.IsNullOrEmpty(_Info7)) |
| | | { |
| | | addItem.Info7 = (string)(_Info7.Trim()); |
| | |
| | | { |
| | | addItem.Info16 = (string)(_Info16.Trim()); |
| | | } |
| | | if(!string.IsNullOrEmpty(_Info17)) |
| | | { |
| | | addItem.Info17 = (string)(_Info17.Trim()); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | |
| | | { |
| | | var query = _rep.AsQueryable() |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.SearchKey), u => |
| | | u.PlanNo.Contains(input.SearchKey.Trim()) |
| | | u.UPI.Contains(input.SearchKey.Trim()) |
| | | || u.PlanNo.Contains(input.SearchKey.Trim()) |
| | | || u.OrderId.Contains(input.SearchKey.Trim()) |
| | | || u.UPI.Contains(input.SearchKey.Trim()) |
| | | || u.Info5.Contains(input.SearchKey.Trim()) |
| | | || u.DetailName.Contains(input.SearchKey.Trim()) |
| | | || u.Matgrid.Contains(input.SearchKey.Trim()) |
| | | || u.PackageCode.Contains(input.SearchKey.Trim()) |
| | | || u.Info4.Contains(input.SearchKey.Trim()) |
| | | || u.Info5.Contains(input.SearchKey.Trim()) |
| | | || u.Info6.Contains(input.SearchKey.Trim()) |
| | | || u.Info7.Contains(input.SearchKey.Trim()) |
| | | || u.Info8.Contains(input.SearchKey.Trim()) |
| | |
| | | || u.Info13.Contains(input.SearchKey.Trim()) |
| | | || u.Info14.Contains(input.SearchKey.Trim()) |
| | | || u.Info16.Contains(input.SearchKey.Trim()) |
| | | || u.Info17.Contains(input.SearchKey.Trim()) |
| | | || u.CreateUserName.Contains(input.SearchKey.Trim()) |
| | | || u.UpdateUserName.Contains(input.SearchKey.Trim()) |
| | | ) |
| | | .WhereIF(input.AreaCode.HasValue, u => u.AreaCode == input.AreaCode) |
| | | .WhereIF(input.UpiStatus.HasValue, u => u.UpiStatus == input.UpiStatus) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.UPI), u => u.UPI.Contains(input.UPI.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.PlanNo), u => u.PlanNo.Contains(input.PlanNo.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.OrderId), u => u.OrderId.Contains(input.OrderId.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.UPI), u => u.UPI.Contains(input.UPI.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info5), u => u.Info5.Contains(input.Info5.Trim())) |
| | | .WhereIF(input.AreaCode.HasValue, u => u.AreaCode == input.AreaCode) |
| | | .WhereIF(input.UpiStatus.HasValue, u => u.UpiStatus == input.UpiStatus) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.DetailName), u => u.DetailName.Contains(input.DetailName.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Matgrid), u => u.Matgrid.Contains(input.Matgrid.Trim())) |
| | | .WhereIF(input.IsEB>0, u => u.IsEB == input.IsEB) |
| | | .WhereIF(input.DRNum>0, u => u.DRNum == input.DRNum) |
| | | .WhereIF(input.IsPA>0, u => u.IsPA == input.IsPA) |
| | | .WhereIF(input.MaterialIndeX>0, u => u.MaterialIndeX == input.MaterialIndeX) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.PackageCode), u => u.PackageCode.Contains(input.PackageCode.Trim())) |
| | | .WhereIF(input.Sequence>0, u => u.Sequence == input.Sequence) |
| | | .WhereIF(input.Shelf>0, u => u.Shelf == input.Shelf) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info4), u => u.Info4.Contains(input.Info4.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info5), u => u.Info5.Contains(input.Info5.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info6), u => u.Info6.Contains(input.Info6.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info7), u => u.Info7.Contains(input.Info7.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info8), u => u.Info8.Contains(input.Info8.Trim())) |
| | |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info14), u => u.Info14.Contains(input.Info14.Trim())) |
| | | .WhereIF(input.Info15>0, u => u.Info15 == input.Info15) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info16), u => u.Info16.Contains(input.Info16.Trim())) |
| | | .WhereIF(!string.IsNullOrWhiteSpace(input.Info17), u => u.Info17.Contains(input.Info17.Trim())) |
| | | .Select<Mes_BatchOrderUPI_NewOutput>(); |
| | | return query; |
| | | } |
| | |
| | | |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "GetBatchOrderUPIList")] |
| | | [UnitOfWork] |
| | | [AllowAnonymous] |
| | | public async Task GetBatchOrderUPIList(List<GetBatchOrderUPIInput> input) |
| | | { |
| | | List<Mes_BatchOrderUPI_New> list = new List<Mes_BatchOrderUPI_New>(); |
| | | foreach (var item in input) |
| | | { |
| | | Mes_BatchOrderUPI_New task = new Mes_BatchOrderUPI_New(); |
| | | task = item.Adapt<Mes_BatchOrderUPI_New>(); |
| | | task.AreaCode = AreaCodeEnum.æ åºå; |
| | | task.UpiStatus = UpiStatusEnum.åå§; |
| | | list.Add(task); |
| | | } |
| | | await _rep.InsertRangeAsync(list); |
| | | } |
| | | |
| | | } |
| | | |
| | |
| | | /// é¨ä»¶åç§° |
| | | /// </summary> |
| | | public string DetailName { get; set; } |
| | | |
| | | public string? Info5 { get; set; } |
| | | public string? Info16 { get; set; } |
| | | |
| | | } |
| | |
| | | }; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// å页æ¥è¯¢ç¼ºææ¸
å ä¸é½å
-æç
§ç产åå·åç» |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "ShortagePageGroupByInfo5")] |
| | | [Description("WmsStockQuan/ShortagePageGroupByInfo5")] |
| | | public async Task<SqlSugarPagedList<WmsShortageListOutput>> ShortagePageGroupByInfo5(KittingListInput input) |
| | | { |
| | | var listRes = await GetShortageListCore(input); |
| | | |
| | | // æç
§å段 Info5 åç» |
| | | var groupedList = listRes |
| | | .GroupBy(x => x.Info5) // æ ¹æ® Info5 åæ®µè¿è¡åç» |
| | | .Select(g => new WmsShortageListOutput // å设æ¨å°åç»åçç»æè½¬æ¢ä¸º WmsShortageListOutput |
| | | { |
| | | Info5 = g.Key, |
| | | ShortageCount = g.Count(), |
| | | }) |
| | | .ToList(); |
| | | |
| | | // è¿è¡å页å¤ç |
| | | var totalCount = groupedList.Count; // è·åæ»æ° |
| | | var pagedList = groupedList |
| | | //.OrderBy(x => x.Id) // æ ¹æ®éè¦è¿è¡æåº |
| | | .Skip((input.Page - 1) * input.PageSize) |
| | | .Take(input.PageSize) |
| | | .ToList(); |
| | | |
| | | // æé å¹¶è¿ååé¡µç»æ |
| | | return new SqlSugarPagedList<WmsShortageListOutput> |
| | | { |
| | | Page = input.Page, |
| | | PageSize = input.PageSize, |
| | | Total = totalCount, |
| | | TotalPages = (int)Math.Ceiling((double)totalCount / input.PageSize), |
| | | Items = pagedList, |
| | | HasPrevPage = input.Page > 1, |
| | | HasNextPage = input.Page < ((int)Math.Ceiling((double)totalCount / input.PageSize)) |
| | | }; |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 缺å
æ°æ® |
| | | /// </summary> |
| | |
| | | PackageCode = item.PackageCode, |
| | | DetailName = item.DetailName, |
| | | OrderId = item.OrderId, |
| | | PlanNo = item.PlanNo |
| | | PlanNo = item.PlanNo, |
| | | Info5= item.Info5, |
| | | Info16 = item.Info16, |
| | | }); |
| | | } |
| | | } |
ÎļþÃû´Ó makino-bigScreen/css/style_new20241126.css ÐÞ¸Ä |
| | |
| | | } |
| | | |
| | | .box-center .center-top { |
| | | padding-top: 11px; |
| | | padding-bottom: 30px; |
| | | width: 100%; |
| | | height: 8.8%; |
| | | height: 9%; |
| | | position: relative; |
| | | background: url(../images/title_border.png) center center no-repeat; |
| | | } |
| | |
| | | margin: 0 auto; |
| | | height: 110px; |
| | | width: 98%; |
| | | margin-top: 5%; |
| | | margin-top: 4%; |
| | | margin-bottom: 25px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | |
| | | .con_div .con_div_text { |
| | | height: 100%; |
| | | background-color: #034c6a; |
| | | width: 20%; |
| | | width: 24%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | |
| | | } |
| | | |
| | | .text01_div p:nth-child(1) { |
| | | font-size: 13px; |
| | | font-size: 18px; |
| | | font-weight: 600; |
| | | color: #ffffff; |
| | | } |
| | | |
| | | .text01_div p:nth-child(2) { |
| | | font-size: 28px; |
| | | font-size: 35px; |
| | | color: #ffff43; |
| | | font-weight: 600; |
| | | |
| | |
| | | top: -15px; |
| | | color: #ffffff; |
| | | font-weight: bold; |
| | | font-size: 16px; |
| | | font-size: 18px; |
| | | text-align: center; |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | } |
| | | |
| | | .table_p .dowebok{ |
| | | height: 300px; |
| | | /* border: 1px solid red; */ |
| | | height: 420px; |
| | | color: #ffffff; |
| | | font-size: 13px; |
| | | /* border: 1px solid red; */ |
| | |
| | | width:14.28%; |
| | | } |
| | | |
| | | @media screen and (max-height: 610px) {} |
| | | |
| | | .box_up{ |
| | | width: 98%; |
| | | margin-top: 10px; |
| | | margin-left: 1%; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | | .box_up_left{ |
| | | width: 49%; |
| | | } |
| | | .box_up_right{ |
| | | width: 49%; |
| | | |
| | | } |
| | | .div_any_child.div_any_child2 { |
| | | width: 100%; |
| | | } |
| | | .table_p.table_p_my3 .dowebok{ |
| | | height: 60px; |
| | | } |
| | | .titleHt{ |
| | | color: white; |
| | | position: absolute; |
| | | position: absolute; |
| | | top: 12px; |
| | | font-size: 15px; |
| | | } |
| | | .titleHt span{ |
| | | font-weight: 700; |
| | | } |
| | | .title_lt{ |
| | | left: 10px; |
| | | } |
| | | .title_rt{ |
| | | right: 10px; |
| | | } |
ÎļþÃû´Ó makino-bigScreen/index3.html ÐÞ¸Ä |
| | |
| | | <link rel="stylesheet" href="./css//font/icomoon/style.css"> |
| | | <link rel="stylesheet" href="./css/liMarquee.css"> |
| | | <link rel="stylesheet" href="./css/style_new20241126.css"> |
| | | <title>ç§éæ¦æ±æºåºå¤ä»¶ä¸å¿-é¦é¡µ</title> |
| | | <title>é²ä¸½æ¨ä¸å
è£
线</title> |
| | | </head> |
| | | |
| | | <body> |
| | | <div class="container-flex" tabindex="0" hidefocus="true"> |
| | | <div class="box-center"> |
| | | <p class="titleHt title_lt">å½åç»é人: åå·¥</p> |
| | | <p class="titleHt title_rt">ç»å½æ¶é´: 2024-01-05</p> |
| | | <div class="center-top"> |
| | | <h1>ç§éæ¦æ±æºåºå¤ä»¶ä¸å¿</h1> |
| | | <h1>é²ä¸½æ¨ä¸å
è£
线</h1> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="box_up"> |
| | | <div class="box_up_left"> |
| | | <!--æ°æ®æ»æ¦--> |
| | | <div class="con_div"> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_1.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>å½åç»é人</p> |
| | | <p>12356</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>ç»å½æ¶é´</p> |
| | | <p>12356</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_1.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>æ»è®¢åæ°</p> |
| | | <p>12356</p> |
| | | <p>55</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>å½åä»¶å·</p> |
| | | <p>12356</p> |
| | | <p>æ»é¢ç§¯æ°</p> |
| | | <p>55</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>æ»å
æ°</p> |
| | | <p>66</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>工使¶é¿(h)</p> |
| | | <p>44</p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="box_up_right"> |
| | | <div class=" div_table_box"> |
| | | <div class="div_any_child div_any_child2"> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">å½å产线工件å表 </div> |
| | | <div class="table_p table_p_my3"> |
| | | <div class="tt"> |
| | | <span>订åå·</span> |
| | | <span>工件æ°</span> |
| | | <span>è¿å·®æ°</span> |
| | | <span>ä¸çº¿æ°</span> |
| | | <span>æ»é¢ç§¯</span> |
| | | <span>å½åé¢ç§¯</span> |
| | | <span>ä¸çº¿é¢ç§¯</span> |
| | | </div> |
| | | <div class="dowebok"> |
| | | <ul> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <!-- è¡¨æ ¼ --> |
| | | <div class="div_table"> |
| | | |
| | | <div class=" div_table_box"> |
| | | <div class="div_any_child"> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">è¡é©¶éç¨æåå5ä½ </div> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">åå²äº§çº¿å·¥ä»¶å表 </div> |
| | | <div class="table_p"> |
| | | |
| | | |
| | |
| | | </div> |
| | | |
| | | <div class="div_any_child"> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">è¡é©¶éç¨æåå5ä½ </div> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">计å产线件å·å表 </div> |
| | | <div class="table_p"> |
| | | |
| | | |
| | |
| | | <script> |
| | | $(function () { |
| | | $('.dowebok1').liMarquee({ |
| | | direction: 'up' |
| | | direction: 'up', |
| | | scrollamount:20 |
| | | }); |
| | | |
| | | $('.dowebok2').liMarquee({ |
| | | direction: 'up' |
| | | direction: 'up', |
| | | scrollamount:20 |
| | | }); |
| | | }); |
| | | </script> |
copy from makino-bigScreen/index3.html
copy to LuLiScreen/index3.html
Îļþ´Ó makino-bigScreen/index3.html ¸´ÖÆ |
| | |
| | | <link rel="stylesheet" href="./css//font/icomoon/style.css"> |
| | | <link rel="stylesheet" href="./css/liMarquee.css"> |
| | | <link rel="stylesheet" href="./css/style_new20241126.css"> |
| | | <title>ç§éæ¦æ±æºåºå¤ä»¶ä¸å¿-é¦é¡µ</title> |
| | | <title>é²ä¸½æ¨ä¸å
è£
线</title> |
| | | </head> |
| | | |
| | | <body> |
| | | <div class="container-flex" tabindex="0" hidefocus="true"> |
| | | <div class="box-center"> |
| | | <p class="titleHt title_lt">å½åç»é人: |
| | | <span>åå·¥ </span> |
| | | |
| | | </p> |
| | | <p class="titleHt title_rt">ç»å½æ¶é´: |
| | | <span> 2024-01-05 </span> |
| | | |
| | | |
| | | </p> |
| | | <div class="center-top"> |
| | | <h1>ç§éæ¦æ±æºåºå¤ä»¶ä¸å¿</h1> |
| | | <h1>é²ä¸½æ¨ä¸å
è£
线</h1> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="box_up"> |
| | | <div class="box_up_left"> |
| | | <!--æ°æ®æ»æ¦--> |
| | | <div class="con_div"> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_1.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>å½åç»é人</p> |
| | | <p>12356</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>ç»å½æ¶é´</p> |
| | | <p>12356</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_1.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>æ»è®¢åæ°</p> |
| | | <p>12356</p> |
| | | <p>55</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>å½åä»¶å·</p> |
| | | <p>12356</p> |
| | | <p>æ»é¢ç§¯æ°</p> |
| | | <p>55</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>æ»å
æ°</p> |
| | | <p>66</p> |
| | | </div> |
| | | </div> |
| | | <div class="con_div_text"> |
| | | <img src="./images/img/info_2.png" class=" text01_img"> |
| | | <div class=" text01_div"> |
| | | <p>工使¶é¿(h)</p> |
| | | <p>44</p> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="box_up_right"> |
| | | <div class=" div_table_box"> |
| | | <div class="div_any_child div_any_child2"> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">å½å产线工件å表 </div> |
| | | <div class="table_p table_p_my3"> |
| | | <div class="tt"> |
| | | <span>订åå·</span> |
| | | <span>工件æ°</span> |
| | | <span>è¿å·®æ°</span> |
| | | <span>ä¸çº¿æ°</span> |
| | | <span>æ»é¢ç§¯</span> |
| | | <span>å½åé¢ç§¯</span> |
| | | <span>ä¸çº¿é¢ç§¯</span> |
| | | </div> |
| | | <div class="dowebok"> |
| | | <ul> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <!-- è¡¨æ ¼ --> |
| | | <div class="div_table"> |
| | | |
| | | <div class=" div_table_box"> |
| | | <div class="div_any_child"> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">è¡é©¶éç¨æåå5ä½ </div> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">åå²äº§çº¿å·¥ä»¶å表 </div> |
| | | <div class="table_p"> |
| | | |
| | | |
| | |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="div_any_child"> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">è¡é©¶éç¨æåå5ä½ </div> |
| | | <div class="div_any_title"><img src="./images/img/title_4.png">计å产线件å·å表 </div> |
| | | <div class="table_p"> |
| | | |
| | | |
| | |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | <li> |
| | | <span>订åå·11</span> |
| | | <span>工件æ°22</span> |
| | | <span>è¿å·®æ°33</span> |
| | | <span>ä¸çº¿æ°44</span> |
| | | <span>æ»é¢ç§¯55</span> |
| | | <span>å½åé¢ç§¯66</span> |
| | | <span>ä¸çº¿é¢ç§¯77</span> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | |
| | | <script> |
| | | $(function () { |
| | | $('.dowebok1').liMarquee({ |
| | | direction: 'up' |
| | | direction: 'up', |
| | | scrollamount:20, |
| | | runshort: false |
| | | }); |
| | | |
| | | $('.dowebok2').liMarquee({ |
| | | direction: 'up' |
| | | direction: 'up', |
| | | scrollamount:20, |
| | | runshort: false |
| | | }); |
| | | }); |
| | | </script> |