| | |
| | | require: true, |
| | | }, |
| | | ], |
| | | [ |
| | | [{ |
| | | title: "便¹ä»£ç ", |
| | | field: "supplierCode", |
| | | type: "input", |
| | | width: 200, |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "主é®ID", |
| | | field: "id", |
| | |
| | | boxingNo: "", // æµæ°´å·æ¥è¯¢å段 |
| | | creater: "", |
| | | createDate: "", |
| | | supplierCode: "", |
| | | }); |
| | | |
| | | const searchFormOptions = ref([ |
| | |
| | | { title: "æµæ°´å·", field: "boxingNo", type: "like" }, |
| | | ], |
| | | [ |
| | | { title: "便¹ä»£ç ", field: "supplierCode", type: "like" }, |
| | | { title: "å建人", field: "creater", type: "like" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | ], |
| | |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "supplierCode", |
| | | title: "便¹ä»£ç ", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | // æ°å¢ï¼æµæ°´å·è¡¨æ ¼åï¼å®½åº¦åå
¶ä»ç¼å·ä¿æ200ï¼å¯æ ¹æ®éæ±è°æ´ï¼ |
| | | { |
| | | field: "boxingNo", |
| | |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Text.RegularExpressions; |
| | | using System.Threading.Tasks; |
| | | using WIDESEAWCS_Common; |
| | | using WIDESEAWCS_Common.PLCEnum; |
| | |
| | | { |
| | | return WebResponseContent.Instance.Error("æäº¤åæ°ä¸è½ä¸ºç©º"); |
| | | } |
| | | string productCode = toolingBoardSubmitDto.FinishedProductCode?.Trim(); |
| | | string productCode = toolingBoardSubmitDto.FinishedProductCode.Trim(); |
| | | |
| | | string proCode = string.Empty; |
| | | string proOther = string.Empty; |
| | | string supplierCode = string.Empty; |
| | | |
| | | if (!string.IsNullOrWhiteSpace(productCode)) |
| | | { |
| | | |
| | | var proCodeMatch = System.Text.RegularExpressions.Regex.Match(productCode, @"TX(\d+)(?=\s|\||$)", System.Text.RegularExpressions.RegexOptions.IgnoreCase); |
| | | var proCodeMatch = Regex.Match(productCode, @"TX(\d+)(?=\s|\||$)", RegexOptions.IgnoreCase); |
| | | if (proCodeMatch.Success) |
| | | { |
| | | proCode = $"TX{proCodeMatch.Groups[1].Value.Trim()}"; |
| | | } |
| | | |
| | | // æ£å2ï¼å¹é
è¿ç»ç10ä½çº¯æ°åï¼å
¨å±å¹é
ï¼å第ä¸ä¸ªç¬¦åçå³å¯ï¼ |
| | | var proOtherMatch = System.Text.RegularExpressions.Regex.Match(productCode, @"\d{10}"); |
| | | var proOtherMatch = Regex.Match(productCode, @"\d{10}"); |
| | | if (proOtherMatch.Success) |
| | | { |
| | | proOther = proOtherMatch.Value.Trim(); |
| | | } |
| | | var supplierCodeMatch = Regex.Match(productCode, @"[A-Z]+$", RegexOptions.IgnoreCase); |
| | | if (supplierCodeMatch.Success) |
| | | { |
| | | supplierCode = supplierCodeMatch.Value.Trim(); |
| | | } |
| | | toolingBoardSubmitDto.PartsList = toolingBoardSubmitDto.PartsList.Where(code => !string.IsNullOrEmpty(code)).ToList(); |
| | | // 2. æ¥è¯¢æåé
æ¹ä¿¡æ¯ |
| | |
| | | existBoxinModel.PalletCode = PalletCode; |
| | | existBoxinModel.ProductCode = proCode; |
| | | existBoxinModel.BoxingNo = proOther; |
| | | existBoxinModel.SupplierCode = supplierCode; |
| | | |
| | | int id = _boxingService.Repository.AddData(existBoxinModel); |
| | | |
| | |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æµæ°´å·")] |
| | | public string BoxingNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 便¹ä»£ç |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "便¹ä»£ç ")] |
| | | public string SupplierCode { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)]//ä¸å䏿°æ®åºæ å°ï¼æµè¯ä½¿ç¨ |
| | | [Navigate(NavigateType.OneToMany, nameof(Dt_BoxingDetail.BoxingId), nameof(Id))] |
| | | public List<Dt_BoxingDetail> Details { get; set; } |
| | |
| | | </ItemGroup> |
| | | |
| | | <ItemGroup> |
| | | <ProjectReference Include="..\WIDESEAWCS_IProductRecordServer\WIDESEAWCS_IProductRecordService.csproj" /> |
| | | <ProjectReference Include="..\WIDESEAWCS_SystemServices\WIDESEAWCS_SystemServices.csproj" /> |
| | | <ProjectReference Include="..\WIDESEAWCs_TaskInfoService\WIDESEAWCs_TaskInfoService.csproj" /> |
| | | <ProjectReference Include="..\WIDESEAWCS_Tasks\WIDESEAWCS_Tasks.csproj" /> |
| | |
| | | //5.PostgreSQL |
| | | "DBType": "SqlServer", |
| | | //è¿æ¥å符串 |
| | | "ConnectionString": "Data Source=.;Initial Catalog=WIDESEAWCS_FDJ;User ID=sa;Password=123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | "ConnectionString": "Data Source=.;Initial Catalog=WIDESEAWCS_FDJ;User ID=sa;Password=P@ssw0rd;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | //è·¨å |
| | | "Cors": { |
| | | "PolicyName": "CorsIpAccess", //çç¥åç§° |
| | |
| | | "QuartzJobAutoStart": true, |
| | | "DBSeedEnable": false, |
| | | "QuartzDBSeedEnable": false, |
| | | "LogDeubgEnable": true, //æ¯å¦è®°å½è°è¯æ¥å¿ |
| | | "LogDeubgEnable": false, //æ¯å¦è®°å½è°è¯æ¥å¿ |
| | | "PrintSql": false, //æå°SQLè¯å¥ |
| | | "LogAOPEnable": true, //æ¯å¦è®°å½AOPæ¥å¿ |
| | | "LogAOPEnable": false, //æ¯å¦è®°å½AOPæ¥å¿ |
| | | "WebSocketEnable": true, //æ¯å¦å¼å¯WebSocketæå¡ |
| | | "WebSocketPort": 9296 //WebSocketæå¡ç«¯å£ |
| | | } |
| | |
| | | [assembly: System.Reflection.AssemblyCompanyAttribute("WIDESEAWCS_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] |
| | | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] |
| | | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8aa5f0e094e6ff51aa7c47d5b4e8331a16eb09ff")] |
| | | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+891207469b41c23d22805876a4e179d75832572f")] |
| | | [assembly: System.Reflection.AssemblyProductAttribute("WIDESEAWCS_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyTitleAttribute("WIDESEAWCS_TaskInfoService")] |
| | | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] |
| | |
| | | c97e13df12cbbd7b4f052106b0c5e3e54606d4e7d7c3571cbd36adfdc2f442d8 |
| | | 6e5d0f7bae4a31644ed3011f2065b7b7f697034e95b5b9af19f796b67aef9540 |
| | |
| | | build_property.EnforceExtendedAnalyzerRules = |
| | | build_property._SupportedPlatformList = Linux,macOS,Windows |
| | | build_property.RootNamespace = WIDESEAWCS_TaskInfoService |
| | | build_property.ProjectDir = E:\gsxm\FaDianJi\代ç 管ç\WIDESEAWCS_Server\WIDESEAWCS_Server\WIDESEAWCS_TaskInfoService\ |
| | | build_property.ProjectDir = E:\项ç®é\FaDianJi\代ç 管ç\WIDESEAWCS_Server\WIDESEAWCS_Server\WIDESEAWCS_TaskInfoService\ |
| | | build_property.EnableComHosting = |
| | | build_property.EnableGeneratedComInterfaceComImportInterop = |
| | | build_property.EffectiveAnalysisLevelStyle = 6.0 |
| | | build_property.EnableCodeStyleSeverity = |