Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo
| | |
| | | <template v-slot:footer> |
| | | <view class="bottom-btns-row"> |
| | | <template> |
| | | <div class="btn-frame"><u-button type="primary" text="ç» æ" @click="onSubmit"></u-button></div> |
| | | <div class="btn-frame"><u-button type="primary" text="忣å
¥åº" @click="addInBound"></u-button></div> |
| | | <div class="btn-frame"><u-button type="primary" text="ç¡® 认 å æ£" @click="onSubmit"></u-button></div> |
| | | <!-- <div class="btn-frame"><u-button type="primary" text="忣å
¥åº" @click="addInBound"></u-button></div> --> |
| | | </template> |
| | | </view> |
| | | </template> |
| | |
| | | var firstWorkPlans = await workPlanAppService.GetListByFilterAsync(x => x.PipeSpecCode == input.PipeSpecCode); |
| | | |
| | | var firstWorkPlan = await workPlanAppService.GetSingleByFilterAsync(x => x.PipeSpecCode == input.PipeSpecCode); |
| | | var rawPipe_DataIdentifier = await materialProvider.FindByNameAsync("忣åæç®¡æ è¯"); |
| | | var rawPipe_MaterialMode = await materialProvider.FindByNameAsync("忣åæç®¡åå·"); |
| | | var rawPipe_DataIdentifier = await materialProvider.FindByNameAsync("åæç®¡æ è¯"); |
| | | var rawPipe_MaterialMode = await materialProvider.FindByNameAsync("åæç®¡åå·"); |
| | | var rawPipe_Batch = await materialProvider.FindByNameAsync("åæç®¡æ¹æ¬¡"); |
| | | List<TraceMaterialModel> _MaterialParams = new List<TraceMaterialModel>(); |
| | | foreach (var item in workSection.MaterialParameters) |
| | | { |
| | | if (item.Name == "忣åæç®¡åå·") |
| | | if (item.Name == "åæç®¡åå·") |
| | | { |
| | | _MaterialParams.Add(new TraceMaterialModel() |
| | | { |
| | |
| | | |
| | | }); |
| | | } |
| | | if (item.Name == "忣åæç®¡æ è¯") |
| | | if (item.Name == "åæç®¡æ è¯") |
| | | { |
| | | _MaterialParams.Add(new TraceMaterialModel() |
| | | { |
| | |
| | | |
| | | }); |
| | | } |
| | | if (item.Name == "åæç®¡æ¹æ¬¡") |
| | | { |
| | | _MaterialParams.Add(new TraceMaterialModel() |
| | | { |
| | | Key = item.Key, |
| | | Quantity = 1, |
| | | MaterialId = rawPipe_Batch.MaterialId, |
| | | MaterialDetailId = rawPipe_Batch.MaterialDetails.First().Id, |
| | | Value = "111",//æ¹æ¬¡ææ¶åæ» |
| | | |
| | | }); |
| | | } |
| | | }; |
| | | |
| | | //é
ç½®è¿ç¨åæ°(ééåæ°ãé
æ¹åæ°) |
| | |
| | | updateObj.ProductCode = input.ProductCode; |
| | | updateObj.WorkstationCode = input.WorkstationCode; |
| | | updateObj.EquipmentCode = input.EquipmentCode; |
| | | updateObj.WorkpieceName = input.WorkpieceName; |
| | | |
| | | updateObj.ProcessName = input.ProcessName; |
| | | updateObj.PipeFittingCode = input.PipeFittingCode; |
| | | updateObj.PreSerialNumber = input.PreSerialNumber; |
| | |
| | | /// </summary> |
| | | public string EquipmentCode { get; set; } |
| | | |
| | | ///// <summary> |
| | | ///// 工件åç§° |
| | | ///// </summary> |
| | | //public string WorkpieceName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工件åç§° |
| | | /// 产线ç¼ç |
| | | /// </summary> |
| | | public string WorkpieceName { get; set; } |
| | | public string ProdLineCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¹å· |
| | | /// </summary> |
| | | public string ShipNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 项ç®å· |
| | | /// </summary> |
| | | public string ProjectNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å·¥åºåç§° |
| | |
| | | b.Property(x => x.ProductCode).HasMaxLength(256).HasComment("产å代ç "); |
| | | b.Property(x => x.WorkstationCode).HasMaxLength(256).HasComment("å·¥ä½ä»£ç "); |
| | | b.Property(x => x.EquipmentCode).HasMaxLength(256).HasComment("设å¤ä»£ç "); |
| | | b.Property(x => x.WorkpieceName).HasMaxLength(256).HasComment("工件åç§°"); |
| | | b.Property(x => x.ProdLineCode).HasMaxLength(256).HasComment("产线ç¼ç "); |
| | | b.Property(x => x.ShipNumber).HasMaxLength(256).HasComment("è¹å·"); |
| | | b.Property(x => x.ProjectNumber).HasMaxLength(256).HasComment("项ç®å·"); |
| | | |
| | | b.Property(x => x.ProcessName).HasMaxLength(256).HasComment("å·¥åºåç§°"); |
| | | b.Property(x => x.PipeFittingCode).HasMaxLength(256).HasComment("管件ç¼ç "); |
| | | b.Property(x => x.PreSerialNumber).HasMaxLength(256).HasComment("顺åºå·"); |
ÎļþÃû´Ó PipeLineLems/server/src/CMS.Plugin.PipeLineLems.MySQL/Migrations/20250511041027_Update1.Designer.cs ÐÞ¸Ä |
| | |
| | | namespace CMS.Plugin.PipeLineLems.MySQL.Migrations |
| | | { |
| | | [DbContext(typeof(CMSPluginDbContext))] |
| | | [Migration("20250511041027_Update1")] |
| | | [Migration("20250515064954_Update1")] |
| | | partial class Update1 |
| | | { |
| | | protected override void BuildTargetModel(ModelBuilder modelBuilder) |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("DataIdentifier") |
| | | .IsUnique(); |
| | | b.HasIndex("DataIdentifier"); |
| | | |
| | | b.ToTable("scms_callmaterialorderrecords", (string)null); |
| | | |
| | |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("å·¥èºæµåç¼å·"); |
| | | |
| | | b.Property<string>("ProdLineCode") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("产线ç¼ç "); |
| | | |
| | | b.Property<string>("ProductCode") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("产å代ç "); |
| | | |
| | | b.Property<string>("ProjectNumber") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("项ç®å·"); |
| | | |
| | | b.Property<int>("Quantity") |
| | | .HasColumnType("int") |
| | |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("夿³¨"); |
| | | |
| | | b.Property<string>("ShipNumber") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("è¹å·"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .ValueGeneratedOnAdd() |
| | |
| | | b.Property<int>("WorkPlanStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("计åç¶æ"); |
| | | |
| | | b.Property<string>("WorkpieceName") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("工件åç§°"); |
| | | |
| | | b.Property<string>("WorkstationCode") |
| | | .HasMaxLength(256) |
ÎļþÃû´Ó PipeLineLems/server/src/CMS.Plugin.PipeLineLems.MySQL/Migrations/20250511041027_Update1.cs ÐÞ¸Ä |
| | |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | EquipmentCode = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "设å¤ä»£ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | WorkpieceName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "工件åç§°") |
| | | ProdLineCode = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "产线ç¼ç ") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ShipNumber = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "è¹å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ProjectNumber = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "项ç®å·") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | | ProcessName = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "å·¥åºåç§°") |
| | | .Annotation("MySql:CharSet", "utf8mb4"), |
| | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_callmaterialorderrecords_DataIdentifier", |
| | | table: "scms_callmaterialorderrecords", |
| | | column: "DataIdentifier", |
| | | unique: true); |
| | | column: "DataIdentifier"); |
| | | |
| | | migrationBuilder.CreateIndex( |
| | | name: "IX_scms_callmaterialorders_DataIdentifier", |
| | |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("DataIdentifier") |
| | | .IsUnique(); |
| | | b.HasIndex("DataIdentifier"); |
| | | |
| | | b.ToTable("scms_callmaterialorderrecords", (string)null); |
| | | |
| | |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("å·¥èºæµåç¼å·"); |
| | | |
| | | b.Property<string>("ProdLineCode") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("产线ç¼ç "); |
| | | |
| | | b.Property<string>("ProductCode") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("产å代ç "); |
| | | |
| | | b.Property<string>("ProjectNumber") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("项ç®å·"); |
| | | |
| | | b.Property<int>("Quantity") |
| | | .HasColumnType("int") |
| | |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("夿³¨"); |
| | | |
| | | b.Property<string>("ShipNumber") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("è¹å·"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .ValueGeneratedOnAdd() |
| | |
| | | b.Property<int>("WorkPlanStatus") |
| | | .HasColumnType("int") |
| | | .HasComment("计åç¶æ"); |
| | | |
| | | b.Property<string>("WorkpieceName") |
| | | .HasMaxLength(256) |
| | | .HasColumnType("varchar(256)") |
| | | .HasComment("工件åç§°"); |
| | | |
| | | b.Property<string>("WorkstationCode") |
| | | .HasMaxLength(256) |