已删除9个文件
已修改22个文件
已添加13个文件
| | |
| | | } |
| | | }, |
| | | { |
| | | name: "ä»»å¡å®æ", |
| | | name: "æ å¨ å® æ", |
| | | icon: '', |
| | | class: '', |
| | | value: 'TaskCompleted', |
| | | type: 'primary', |
| | | value: 'TaskHandCompleted', |
| | | onClick: function () { |
| | | } |
| | | }, |
| | | { |
| | | name: "ä»»å¡åæ¶", |
| | | name: "å æ¶ ä»» å¡", |
| | | icon: '', |
| | | class: '', |
| | | value: 'TaskCancel', |
| | | type: 'danger', |
| | | value: 'TaskHandCancel', |
| | | onClick: function () { |
| | | } |
| | | }, |
| | |
| | | //ä¸é¢è¿äºæ¹æ³å¯ä»¥ä¿çä¹å¯ä»¥å é¤ |
| | | onInit() { |
| | | // this.$Notice.success({ title: this.detailOptions.cnName + ',æ¥è¯¢ç»æ', desc: 'è¿åç对象ï¼' + JSON.stringify(data) }); |
| | | let TaskHandCancelBtn = this.buttons.find(x => x.value == 'TaskHandCancel'); |
| | | if (TaskHandCancelBtn) { |
| | | TaskHandCancelBtn.onClick = function () { |
| | | let rows = this.$refs.table.getSelected(); |
| | | if (rows.length == 0) return this.$error("è¯·éæ©æ°æ®!"); |
| | | if (rows.length > 1) return this.$error("è¯·éæ©ä¸æ¡æ°æ®!"); |
| | | var param = rows[0].taskNum; |
| | | this.http |
| | | .post("api/Task/TaskCancel?taskNum=" + param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('ä»»å¡åæ¶æå.'); |
| | | this.refresh(); |
| | | } else { |
| | | return this.$error(x.message); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | let TaskHandCompletedBtn = this.buttons.find(x => x.value == 'TaskHandCompleted'); |
| | | if (TaskHandCompletedBtn) { |
| | | TaskHandCompletedBtn.onClick = function () { |
| | | let rows = this.$refs.table.getSelected(); |
| | | if (rows.length == 0) return this.$error("è¯·éæ©æ°æ®!"); |
| | | if (rows.length > 1) return this.$error("è¯·éæ©ä¸æ¡æ°æ®!"); |
| | | var param = rows[0].taskNum; |
| | | this.http |
| | | .post("api/Task/StackCraneTaskCompleted?taskNum=" + param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('任塿å¨å®æ'); |
| | | this.refresh(); |
| | | } else { |
| | | return this.$error(x.message); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | |
| | | var previousButton = this.buttons.find((x) => x.value == "Previous"); |
| | | if (previousButton) previousButton.hidden = true; |
| | |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "depth", |
| | | title: "深度", |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "grade", |
| | | title: "ä¼å
级", |
| | | type: "int", |
| | |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "depth", |
| | | title: "深度", |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "grade", |
| | | title: "ä¼å
级", |
| | | type: "int", |
| | |
| | | /// ä¼å
级 |
| | | /// </summary> |
| | | public int Grade { get; set; } |
| | | public int Depth { get; set; } |
| | | } |
| | | } |
| | |
| | | WebResponseContent StackCraneTaskCompleted(int taskNum); |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡åæ¶ |
| | | /// </summary> |
| | | /// <param name="taskNum">ä»»å¡ç¼å·</param> |
| | | /// <returns>è¿åå¤çç»æ</returns> |
| | | WebResponseContent TaskCancel(int taskNum); |
| | | |
| | | /// <summary> |
| | | /// æ¢å¤æèµ·ä»»å¡ |
| | | /// </summary> |
| | | /// <param name="taskNum">ä»»å¡å·</param> |
| | |
| | | public string? ExceptionMessage { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 深度 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "深度")] |
| | | [ExporterHeader(DisplayName = "深度")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "深度")] |
| | | public int Depth { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¼å
级 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ä¼å
级")] |
| | |
| | | public string? ExceptionMessage { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 深度 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "深度")] |
| | | [ExporterHeader(DisplayName = "深度")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "深度")] |
| | | public int Depth { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¼å
级 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ä¼å
级")] |
| | |
| | | { |
| | | return Service.RollbackTaskStatusToLast(taskNum); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("StackCraneTaskCompleted"),AllowAnonymous] |
| | | public WebResponseContent StackCraneTaskCompleted(int taskNum) |
| | | { |
| | | return Service.StackCraneTaskCompleted(taskNum); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("TaskCancel"),AllowAnonymous] |
| | | public WebResponseContent TaskCancel(int taskNum) |
| | | { |
| | | return Service.TaskCancel(taskNum); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2024/11/4 16:11:06.462 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":468,"æ¥æ¶æ¥æ":"","é误":"The operation has timed out."} |
| | | ------------------------------- |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2024/11/4 16:01:24.644 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":468,"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:02:28.243 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":468,"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:06:59.981 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":468,"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:10:01.759 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":468,"æ¥æ¶æ¥æ":"","é误":"The remote server returned an error: (404) Not Found."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:22:28.173 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":"","æ¥æ¶æ¥æ":"","é误":"The operation has timed out."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:32:07.425 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":"","æ¥æ¶æ¥æ":"","é误":"The operation has timed out."} |
| | | ------------------------------- |
| | | |
| | |
| | | /// </summary> |
| | | /// <param name="taskDTOs">WMSä»»å¡å¯¹è±¡éå</param> |
| | | /// <returns>è¿åå¤çç»æ</returns> |
| | | public WebResponseContent ReceiveWMSTask([NotNull]List<WMSTaskDTO> taskDTOs) |
| | | public WebResponseContent ReceiveWMSTask([NotNull] List<WMSTaskDTO> taskDTOs) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | |
| | | } |
| | | BaseDal.AddData(tasks); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(tasks.Select(x => x.TaskNum).ToList(), "æ¥æ¶WMSä»»å¡"); |
| | | content = WebResponseContent.Instance.OK($"æ·»å 任塿å"); |
| | | _unitOfWorkManage.CommitTran(); |
| | | } |
| | | catch (Exception ex) |
| | |
| | | { |
| | | TaskNum = Convert.ToInt32(DateTime.Now.ToString("HHmmss")), |
| | | Grade = 1, |
| | | Depth = 1, |
| | | PalletCode = palletCode, |
| | | RoadWay = "SC01", |
| | | SourceAddress = sourceAddress, |
| | | TargetAddress = "SC01", |
| | | TaskStatus = TaskInStatusEnum.InNew.ObjToInt(), |
| | | TaskStatus = (int)TaskInStatusEnum.InNew, |
| | | Id = 0, |
| | | TaskType = TaskInboundTypeEnum.Inbound.ObjToInt() |
| | | TaskType = (int)TaskInboundTypeEnum.Inbound |
| | | }; |
| | | |
| | | content = ReceiveWMSTask(new List<WMSTaskDTO> { taskDTO }); |
| | |
| | | /// <returns></returns> |
| | | public Dt_Task QueryConveyorLineTask(string deviceNo, string currentAddress) |
| | | { |
| | | return BaseDal.QueryFirst(x => (TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.SC_OutFinish.ObjToInt()) && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => (TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.SC_OutFinish) && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <returns></returns> |
| | | public Dt_Task QueryExecutingConveyorLineTask(int taskNum, string nextAddress) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.NextAddress == nextAddress && (x.TaskStatus == TaskInStatusEnum.Line_InExecuting.ObjToInt() || x.TaskStatus == TaskOutStatusEnum.Line_OutExecuting.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.NextAddress == nextAddress && (x.TaskStatus == (int)TaskInStatusEnum.Line_InExecuting || x.TaskStatus == (int)TaskOutStatusEnum.Line_OutExecuting), TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <returns></returns> |
| | | public Dt_Task QueryCompletedConveyorLineTask(int taskNum, string currentAddress) |
| | | { |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.CurrentAddress == currentAddress && (x.TaskStatus == TaskInStatusEnum.Line_InFinish.ObjToInt() || x.TaskStatus == TaskOutStatusEnum.Line_OutFinish.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.CurrentAddress == currentAddress && (x.TaskStatus == (int)TaskInStatusEnum.Line_InFinish || x.TaskStatus == (int)TaskOutStatusEnum.Line_OutFinish), TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public Dt_Task? QuertStackerCraneTask(string deviceNo, TaskTypeGroup? taskTypeGroup = null) |
| | | { |
| | | if(taskTypeGroup == null) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.Line_InFinish.ObjToInt() || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.Line_InFinish || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew), TaskOrderBy); |
| | | if(taskTypeGroup.Value == TaskTypeGroup.InboundGroup) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.Line_InFinish.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.Line_InFinish, TaskOrderBy); |
| | | if(taskTypeGroup.Value == TaskTypeGroup.OutbondGroup) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); |
| | | return null; |
| | | } |
| | | |
| | |
| | | else |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskTypeEnums.Contains(x.TaskType) && (x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() || x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt())), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskTypeEnums.Contains(x.TaskType) && (x.TaskStatus == (int)TaskInStatusEnum.InNew || x.TaskStatus == (int)TaskOutStatusEnum.OutNew)), TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && x.CurrentAddress == currentAddress && (TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.Line_InFinish || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt()), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && x.CurrentAddress == currentAddress && (TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.Line_InFinish || TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew), TaskOrderBy); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | else |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew, TaskOrderBy); |
| | | if (task != null && tasks == null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else if (task == null && tasks != null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew, TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew, TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | } |
| | | } |
| | |
| | | public Dt_Task QueryStackerCraneRelocationTask(string deviceNo, string currentAddress = "") |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | } |
| | | else |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); |
| | | Dt_Task tasks = BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew, TaskOrderBy); |
| | | if (task != null && tasks == null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else if (task == null && tasks != null) |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew, TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskInStatusEnum.InNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskInStatusEnum.InNew && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | else |
| | | { |
| | | if (string.IsNullOrEmpty(currentAddress)) |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt(), TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); |
| | | else |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew && x.CurrentAddress == currentAddress, TaskOrderBy); |
| | | } |
| | | |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | return BaseDal.QueryData(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == TaskOutStatusEnum.OutNew.ObjToInt() && x.TargetAddress == outStationCodes, TaskOrderBy); |
| | | return BaseDal.QueryData(x => x.Roadway == deviceNo && TaskTypeEnums.Contains(x.TaskType) && x.TaskStatus == (int)TaskOutStatusEnum.OutNew && x.TargetAddress == outStationCodes, TaskOrderBy); |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | if (task.TaskType == (int)TaskTypeEnum.Outbound || task.TaskType == (int)TaskTypeEnum.PalletOutbound) |
| | | { |
| | | task.TaskStatus = OutTaskStatusEnum.OutException.ObjToInt(); |
| | | task.TaskStatus = (int)OutTaskStatusEnum.OutException; |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | else if (task.TaskType == (int)TaskTypeEnum.Inbound || task.TaskType == (int)TaskTypeEnum.PalletInbound) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.InException.ObjToInt(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.InException; |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | else if (task.TaskType == (int)TaskTypeEnum.Relocation) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.RelocationException.ObjToInt(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.RelocationException; |
| | | } |
| | | |
| | | task.ExceptionMessage = message; |
| | |
| | | try |
| | | { |
| | | int oldState = task.TaskStatus; |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt()|| task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | if (task.TaskType == (int)TaskTypeEnum.Outbound|| task.TaskType == (int)TaskTypeEnum.PalletOutbound) |
| | | { |
| | | task.TaskStatus = OutTaskStatusEnum.SC_OutExecuting.ObjToInt(); |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | else if (task.TaskType == (int)TaskTypeEnum.Inbound || task.TaskType == (int)TaskTypeEnum.PalletInbound) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.SC_InExecuting.ObjToInt(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.SC_InExecuting; |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | else if (task.TaskType == (int)TaskTypeEnum.Relocation) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.RelocationExecuting.ObjToInt(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.RelocationExecuting; |
| | | } |
| | | else |
| | | { |
| | |
| | | { |
| | | return content = WebResponseContent.Instance.Error($"该任å¡ç¶æä¸å¯è·³è½¬å°ä¸ä¸æ¥,ä»»å¡å·:ã{task.TaskNum}ã,ä»»å¡ç¶æ:ã{task.TaskStatus}ã"); |
| | | } |
| | | _unitOfWorkManage.BeginTran(); |
| | | task.Dispatchertime = DateTime.Now; |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.UpdateData(task); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "UpdateTaskStatus?", task.TaskNum, "å
¥åºä»»å¡ä¸å"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "UpdateTaskStatus?taskNum=" + task.TaskNum, "", "æ´æ°ä»»å¡ç¶æ"); |
| | | if (!response.Status) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | } |
| | | _unitOfWorkManage.CommitTran(); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, App.User.UserId > 0 ? $"人工æå¨å°ä»»å¡ç¶æä»ã{oldState}ã跳转å°ã{task.TaskStatus}ã" : $"ç³»ç»èªå¨æµç¨ï¼ä»»å¡ç¶æä»ã{oldState}ã转å°ã{task.TaskStatus}ã"); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | content = WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | return content; |
| | |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | if (task.TaskType == (int)TaskTypeEnum.Outbound || task.TaskType == (int)TaskTypeEnum.PalletOutbound) |
| | | { |
| | | task.TaskStatus = OutTaskStatusEnum.OutFinish.ObjToInt(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | task.TaskStatus = (int)OutTaskStatusEnum.OutFinish; |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | | _task_HtyService.AddTaskHty(task); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"å åæºåºåºå®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskComplete?", task.TaskNum, "ä»»å¡å®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskCompleted?taskNum="+task.TaskNum,"" , "ä»»å¡å®æ"); |
| | | if (response.Status) |
| | | { |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content.OK(); |
| | | } |
| | | else |
| | | { |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Inbound.ObjToInt() || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | else if (task.TaskType == (int)TaskTypeEnum.Inbound || task.TaskType == (int)TaskTypeEnum.PalletInbound) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.InFinish.ObjToInt(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.InFinish; |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | | _task_HtyService.AddTaskHty(task); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"å åæºå
¥åºå®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskComplete?", task.TaskNum, "ä»»å¡å®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskCompleted?taskNum="+ task.TaskNum,"", "ä»»å¡å®æ"); |
| | | if (response.Status) |
| | | { |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content.OK(); |
| | | } |
| | | else |
| | | { |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if (task.TaskType==TaskTypeEnum.Relocation.ObjToInt()) |
| | | else if (task.TaskType== (int)TaskTypeEnum.Relocation) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.RelocationFinish.ObjToInt(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.RelocationFinish; |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | | _task_HtyService.AddTaskHty(task); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"å åæºç§»åºå®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskComplete?", task.TaskNum, "ä»»å¡å®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskCompleted?taskNum=" + task.TaskNum, "", "ä»»å¡å®æ"); |
| | | if (response.Status) |
| | | { |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content.OK(); |
| | | } |
| | | else |
| | | { |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | throw new Exception($"ä»»å¡ç±»åé误,æªæ¾å°è¯¥ä»»å¡ç±»å,ä»»å¡å·:ã{taskNum}ã,ä»»å¡ç±»å:ã{task.TaskType}ã"); |
| | | } |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | content = WebResponseContent.Instance.Error($"ä»»å¡å®æå¼å¸¸,ä»»å¡å·:ã{taskNum}ã,å¼å¸¸ä¿¡æ¯ï¼{ex.Message}"); |
| | | } |
| | | finally |
| | |
| | | Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); |
| | | if (task == null) return WebResponseContent.Instance.Error($"æªæ¾å°è¯¥ä»»å¡ä¿¡æ¯,ä»»å¡å·:ã{taskNum}ã"); |
| | | |
| | | if ((task.TaskType == TaskTypeEnum.Outbound.ObjToInt() && task.TaskStatus == OutTaskStatusEnum.SC_OutExecuting.ObjToInt()) || task.TaskType == TaskTypeEnum.PalletOutbound.ObjToInt()) |
| | | if (task.TaskType == (int)TaskTypeEnum.Outbound || task.TaskType == (int)TaskTypeEnum.PalletOutbound) |
| | | { |
| | | task.TaskStatus = OutTaskStatusEnum.OutCancel.ObjToInt(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | task.TaskStatus = (int)OutTaskStatusEnum.OutCancel; |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | | _task_HtyService.AddTaskHty(task); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"å åæºåºåºåæ¶"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskComplete?", task.TaskNum, "ä»»å¡å®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskCancel?taskNum=" + task.TaskNum, "", "ä»»å¡åæ¶"); |
| | | if (response.Status) |
| | | { |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content.OK(); |
| | | } |
| | | else |
| | | { |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if ((task.TaskType == TaskTypeEnum.Inbound.ObjToInt() && task.TaskStatus == InTaskStatusEnum.SC_InExecuting.ObjToInt()) || task.TaskType == TaskTypeEnum.PalletInbound.ObjToInt()) |
| | | else if (task.TaskType == (int)TaskTypeEnum.Inbound || task.TaskType == (int)TaskTypeEnum.PalletInbound) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.InCancel.ObjToInt(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.InCancel; |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | | _task_HtyService.AddTaskHty(task); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"å åæºå
¥åºåæ¶"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskComplete?", task.TaskNum, "ä»»å¡å®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskCancel?taskNum=" + task.TaskNum, "", "ä»»å¡åæ¶"); |
| | | if (response.Status) |
| | | { |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content.OK(); |
| | | } |
| | | else |
| | | { |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else if (task.TaskType == TaskTypeEnum.Relocation.ObjToInt()) |
| | | else if (task.TaskType == (int)TaskTypeEnum.Relocation) |
| | | { |
| | | task.TaskStatus = InTaskStatusEnum.RelocationCancel.ObjToInt(); |
| | | _unitOfWorkManage.BeginTran(); |
| | | task.TaskStatus = (int)InTaskStatusEnum.RelocationCancel; |
| | | task.ModifyDate = DateTime.Now; |
| | | task.Modifier = "System"; |
| | | BaseDal.DeleteData(task); |
| | | _task_HtyService.AddTaskHty(task); |
| | | _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"å åæºç§»åºåæ¶"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskComplete?", task.TaskNum, "ä»»å¡å®æ"); |
| | | var response = HttpHelpers.Post<WebResponseContent>(url + "TaskCancel?taskNum=" + task.TaskNum, "", "ä»»å¡åæ¶"); |
| | | if (response.Status) |
| | | { |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content.OK(); |
| | | } |
| | | else |
| | | { |
| | | content = WebResponseContent.Instance.Error(response.Message); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error(response.Message); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | throw new Exception($"ä»»å¡ç±»åé误,æªæ¾å°è¯¥ä»»å¡ç±»å,ä»»å¡å·:ã{taskNum}ã,ä»»å¡ç±»å:ã{task.TaskType}ã"); |
| | | } |
| | | content = WebResponseContent.Instance.OK(); |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content.Error(ex.Message); |
| | | } |
| | | finally |
| | | { |
| | | WriteLog.GetLog("åæ¶ä»»å¡").Write(JsonConvert.SerializeObject(content), "åæ¶ä»»å¡"); |
| | | } |
| | | return content; |
| | | } |
| | | /// <summary> |
| | | /// æ¢å¤æèµ·ä»»å¡ |
| | |
| | | public WebResponseContent AddTaskHty(Dt_Task task) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | //Dt_Task_Hty task_Hty = new Dt_Task_Hty() |
| | | //{ |
| | | // TaskNum=task.TaskNum, |
| | | // PalletCode=task.PalletCode, |
| | | // Roadway=task.Roadway, |
| | | // TaskType=task.TaskType, |
| | | // TaskState= task.TaskState, |
| | | // SourceAddress= task.SourceAddress, |
| | | // TargetAddress= task.TargetAddress, |
| | | // CurrentAddress = task.CurrentAddress, |
| | | // NextAddress = task.NextAddress, |
| | | // ExceptionMessage = task.ExceptionMessage, |
| | | // Grade = task.Grade, |
| | | // WMSId = task.WMSId, |
| | | // Creater=task.Creater, |
| | | // TaskId=task.TaskId, |
| | | // CreateDate=task.CreateDate, |
| | | // Dispatchertime = task.Dispatchertime, |
| | | // Remark = task.Remark, |
| | | // Modifier = task.Modifier, |
| | | // ModifyDate = DateTime.Now, |
| | | //}; |
| | | Dt_Task_Hty task_hty = _mapper.Map<Dt_Task_Hty>(task); |
| | | task_hty.Modifier = task.Modifier == "" ? App.User.UserName : task.Modifier; |
| | | task_hty.ModifyDate = DateTime.Now; |
| | | BaseDal.AddData(task_hty); |
| | | Dt_Task_Hty task_Hty = new Dt_Task_Hty() |
| | | { |
| | | TaskNum = task.TaskNum, |
| | | PalletCode = task.PalletCode, |
| | | Roadway = task.Roadway, |
| | | TaskType = task.TaskType, |
| | | TaskStatus = task.TaskStatus, |
| | | SourceAddress = task.SourceAddress, |
| | | TargetAddress = task.TargetAddress, |
| | | CurrentAddress = task.CurrentAddress, |
| | | NextAddress = task.NextAddress, |
| | | ExceptionMessage = task.ExceptionMessage, |
| | | Grade = task.Grade, |
| | | WMSId = task.WMSId, |
| | | Creater = task.Creater, |
| | | TaskId = task.TaskId, |
| | | CreateDate = task.CreateDate, |
| | | Dispatchertime = task.Dispatchertime, |
| | | Depth=task.Depth, |
| | | Remark = task.Remark, |
| | | Modifier = task.Modifier == "" ? App.User.UserName : task.Modifier, |
| | | ModifyDate = DateTime.Now, |
| | | }; |
| | | BaseDal.AddData(task_Hty); |
| | | return content; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <vol-box v-model="showDetialBox" :lazy="true" width="1500px" :padding="15" title="å
¥åºåæ®æç»"> |
| | | <div class="box-table" style="margin-top: 1%"> |
| | | <el-table ref="singleTable" :data="tableData" style="width: 100%; height: 100%" highlight-current-row |
| | | @row-click="handleRowClick" height="500px" @selection-change="handleSelectionChange"> |
| | | > |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | | <el-table-column label="åºå·" type="index" fixed="left" width="55" align="center"></el-table-column> |
| | | <el-table-column v-for="(item, index) in tableColumns.filter((x) => !x.hidden)" :key="index" |
| | | :prop="item.field" :label="item.title" :width="item.width" align="center"> |
| | | <template #default="scoped" v-if="item.type == 'icon'"> |
| | | <el-tooltip class="item" effect="dark" :content="item.title" placement="bottom"><el-button |
| | | type="text" @click="tableButtonClick(scoped.row, item)"><i :class="item.icon" |
| | | style="font-size: 22px"></i></el-button></el-tooltip> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </vol-box> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import VolBox from "@/components/basic/VolBox.vue"; |
| | | export default { |
| | | components: { VolBox }, |
| | | data() { |
| | | return { |
| | | showDetialBox: false, |
| | | row: {}, |
| | | tableData: [], |
| | | tableColumns: [ |
| | | { |
| | | field: "locationId", |
| | | title: "è´§ä½ä¸»é®", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "locationCode", |
| | | title: "è´§ä½ç¼å·", |
| | | type: "string", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "beforeStatus", |
| | | title: "åå¨åè´§ä½ç¶æ", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | bindKey: "locationStatusEnum" |
| | | }, |
| | | { |
| | | field: "afterStatus", |
| | | title: "åå¨åè´§ä½ç¶æ", |
| | | type: "decimal", |
| | | width: 150, |
| | | align: "left", |
| | | bindKey: "locationStatusEnum" |
| | | }, |
| | | { |
| | | field: "changeType", |
| | | title: "åå¨ç±»å", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | bindKey: "stockChangeType", |
| | | }, |
| | | { |
| | | field: "orderId", |
| | | title: "忮䏻é®", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "orderNo", |
| | | title: "åæ®ç¼å·", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "orderDetailId", |
| | | title: "åæ®æç»ä¸»é®", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "taskNum", |
| | | title: "ä»»å¡å·", |
| | | type: "string", |
| | | width: 180, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "createDate", |
| | | title: "å建æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "modifier", |
| | | title: "ä¿®æ¹äºº", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "modifyDate", |
| | | title: "ä¿®æ¹æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | ], |
| | | }; |
| | | }, |
| | | methods: { |
| | | open(row) { |
| | | this.row = row; |
| | | this.showDetialBox = true; |
| | | this.getDetailData(); |
| | | getDictionaryData(); |
| | | }, |
| | | getDetailData() { |
| | | this.http |
| | | .post( |
| | | "/api/LocationStatusChangeRecord/GetLocationState?id=" + this.row.id, |
| | | {}, |
| | | true |
| | | ) |
| | | .then((x) => { |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.tableData = x.data; |
| | | console.log(this.tableData); |
| | | }); |
| | | }, |
| | | getDictionaryData() { |
| | | if (this.dictionaryList) { |
| | | return; |
| | | } |
| | | var param = []; |
| | | this.tableColumns.forEach((x) => { |
| | | if (x.type == "tag" && x.bindKey != "") { |
| | | param.push(x.bindKey); |
| | | } |
| | | }); |
| | | this.http |
| | | .post("api/Sys_Dictionary/GetVueDictionary", param, "æ¥è¯¢ä¸") |
| | | .then((x) => { |
| | | if (x.length > 0) { |
| | | this.dictionaryList = x; |
| | | } |
| | | }); |
| | | }, |
| | | getDictionary(row, column) { |
| | | if (this.dictionaryList) { |
| | | var item = this.dictionaryList.find((x) => x.dicNo == column.bindKey); |
| | | if (item) { |
| | | var dicItem = item.data.find((x) => x.key == row[column.prop]); |
| | | if (dicItem) { |
| | | return dicItem.value; |
| | | } else { |
| | | return row[column.prop]; |
| | | } |
| | | } else { |
| | | return row[column.prop]; |
| | | } |
| | | } |
| | | }, |
| | | tableRowClassName({ row, rowIndex }) { |
| | | if (row.isNormal) { |
| | | |
| | | } else if (row.isManual) { |
| | | return "success-row"; |
| | | } |
| | | |
| | | }, |
| | | }, |
| | | |
| | | |
| | | created() { }, |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .el-col { |
| | | border-radius: 4px; |
| | | } |
| | | |
| | | .grid-content { |
| | | border-radius: 4px; |
| | | min-height: 36px; |
| | | } |
| | | |
| | | .content-text { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | |
| | | .right-text { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | } |
| | | </style> |
| | | <style> |
| | | .el-table .warning-row { |
| | | background: #e6a23c; |
| | | } |
| | | |
| | | .el-table .success-row { |
| | | background: #f0f9eb; |
| | | } |
| | | |
| | | .el-table .error-row { |
| | | background: #f56c6c; |
| | | } |
| | | </style> |
| | |
| | | |
| | | //æ¤jsæä»¶æ¯ç¨æ¥èªå®ä¹æ©å±ä¸å¡ä»£ç ï¼å¯ä»¥æ©å±ä¸äºèªå®ä¹é¡µé¢æè
éæ°é
ç½®çæç代ç |
| | | |
| | | import gridBody from './extend/GetLocationStatus.vue' |
| | | let extension = { |
| | | components: { |
| | | //æ¥è¯¢ç颿©å±ç»ä»¶ |
| | | gridHeader: '', |
| | | gridBody: '', |
| | | gridBody: gridBody, |
| | | gridFooter: '', |
| | | //æ°å»ºãç¼è¾å¼¹åºæ¡æ©å±ç»ä»¶ |
| | | modelHeader: '', |
| | |
| | | <template> |
| | | <div> |
| | | <vol-box |
| | | v-model="showDetialBox" |
| | | :lazy="true" |
| | | width="75%" |
| | | :padding="15" |
| | | title="åæ®æç»ä¿¡æ¯" |
| | | > |
| | | <vol-box v-model="showDetialBox" :lazy="true" width="75%" :padding="15" title="åæ®æç»ä¿¡æ¯"> |
| | | <div class="box-head"> |
| | | <el-alert :closable="false" style="width: 100%"> |
| | | <el-row> |
| | |
| | | <span>å·²éä¸ {{ selection.length }} 项</span> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-link |
| | | type="primary" |
| | | size="small" |
| | | style="float: right; height: 20px" |
| | | @click="lockstocks" |
| | | >éå®åºå</el-link |
| | | > |
| | | <el-link |
| | | type="primary" |
| | | size="small" |
| | | style="float: right; height: 20px; margin-right: 10px" |
| | | @click="outbound" |
| | | >ç´æ¥åºåº</el-link |
| | | > |
| | | <el-link |
| | | type="primary" |
| | | size="small" |
| | | style="float: right; height: 20px; margin-right: 10px" |
| | | @click="getData" |
| | | >å·æ°</el-link |
| | | ></el-col |
| | | > |
| | | <el-link type="primary" size="small" style="float: right; height: 20px" @click="lockstocks">éå®åºå</el-link> |
| | | <el-link type="primary" size="small" style="float: right; height: 20px; margin-right: 10px" |
| | | @click="outbound">ç´æ¥åºåº</el-link> |
| | | <el-link type="primary" size="small" style="float: right; height: 20px; margin-right: 10px" |
| | | @click="getData">å·æ°</el-link></el-col> |
| | | </el-row> |
| | | </el-alert> |
| | | </div> |
| | | <div class="box-table" style="margin-top: 1%"> |
| | | <el-table |
| | | ref="singleTable" |
| | | :data="tableData" |
| | | style="width: 100%; height: 100%" |
| | | highlight-current-row |
| | | @current-change="handleCurrentChange" |
| | | height="500px" |
| | | @row-click="handleRowClick" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table ref="singleTable" :data="tableData" style="width: 100%; height: 100%" highlight-current-row |
| | | @current-change="handleCurrentChange" height="500px" @row-click="handleRowClick" |
| | | @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | | <el-table-column |
| | | label="åºå·" |
| | | type="index" |
| | | fixed="left" |
| | | width="55" |
| | | align="center" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | v-for="(item, index) in tableColumns.filter((x) => !x.hidden)" |
| | | :key="index" |
| | | :prop="item.prop" |
| | | :label="item.title" |
| | | :width="item.width" |
| | | align="center" |
| | | > |
| | | <el-table-column label="åºå·" type="index" fixed="left" width="55" align="center"></el-table-column> |
| | | <el-table-column v-for="(item, index) in tableColumns.filter((x) => !x.hidden)" :key="index" :prop="item.prop" |
| | | :label="item.title" :width="item.width" align="center"> |
| | | <template #default="scoped"> |
| | | <div v-if="item.type == 'icon'"> |
| | | <el-tooltip |
| | | class="item" |
| | | effect="dark" |
| | | :content="item.title" |
| | | placement="bottom" |
| | | ><el-link |
| | | type="primary" |
| | | :disabled="getButtonEnable(item.prop, scoped.row)" |
| | | @click="tableButtonClick(scoped.row, item)" |
| | | ><i :class="item.icon" style="font-size: 22px"></i></el-link |
| | | ></el-tooltip> |
| | | <el-tooltip class="item" effect="dark" :content="item.title" placement="bottom"><el-link type="primary" |
| | | :disabled="getButtonEnable(item.prop, scoped.row)" @click="tableButtonClick(scoped.row, item)"><i |
| | | :class="item.icon" style="font-size: 22px"></i></el-link></el-tooltip> |
| | | </div> |
| | | |
| | | <div v-else-if="item.type == 'tag'"> |
| | |
| | | </div> |
| | | </vol-box> |
| | | <stock-select ref="child" @parentCall="parentCall"></stock-select> |
| | | <selected-stock |
| | | ref="selectedStock" |
| | | @parentCall="parentCall" |
| | | ></selected-stock> |
| | | <selected-stock ref="selectedStock" @parentCall="parentCall"></selected-stock> |
| | | </div> |
| | | </template> |
| | | <script> |
| | |
| | | title: "订åæç»ç¶æ", |
| | | type: "tag", |
| | | width: 180, |
| | | bindKey:"orderDetailStatusEnum" |
| | | bindKey: "orderDetailStatusEnum" |
| | | }, |
| | | { |
| | | prop: "assignStock", |
| | |
| | | .text-button:hover { |
| | | background-color: #f0f9eb !important; |
| | | } |
| | | |
| | | .el-table .warning-row { |
| | | background: oldlace; |
| | | } |
| | | .box-table .el-table tbody tr:hover > td { |
| | | |
| | | .box-table .el-table tbody tr:hover>td { |
| | | background-color: #d8e0d4 !important; |
| | | /* color: #ffffff; */ |
| | | } |
| | | |
| | | .box-table .el-table tbody tr.current-row > td { |
| | | .box-table .el-table tbody tr.current-row>td { |
| | | background-color: #f0f9eb !important; |
| | | /* color: #ffffff; */ |
| | | } |
| | |
| | | TaskHandCancelBtn.onClick = function () { |
| | | let rows = this.$refs.table.getSelected(); |
| | | if (rows.length == 0) return this.$error("è¯·éæ©æ°æ®!"); |
| | | if (rows.length > 1) return this.$error("è¯·éæ©ä¸æ¡æ°æ®!"); |
| | | var param = rows[0].taskNum; |
| | | this.http |
| | | .post("api/Task/TaskCancel?taskNum="+param, "æ°æ®å¤çä¸...") |
| | | .post("api/Task/TaskHandCancel?taskNum="+param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('ä»»å¡åæ¶æå.'); |
| | |
| | | TaskHandCompletedBtn.onClick = function () { |
| | | let rows = this.$refs.table.getSelected(); |
| | | if (rows.length == 0) return this.$error("è¯·éæ©æ°æ®!"); |
| | | if (rows.length > 1) return this.$error("è¯·éæ©ä¸æ¡æ°æ®!"); |
| | | var param = rows[0].taskNum; |
| | | this.http |
| | | .post("api/Task/TaskCompleted?taskNum="+param, "æ°æ®å¤çä¸...") |
| | | .post("api/Task/TaskHandCompleted?taskNum="+param, "æ°æ®å¤çä¸...") |
| | | .then((x) => { |
| | | if (x.status) { |
| | | this.$Message.success('任塿å¨å®æ'); |
| | |
| | | { |
| | | try |
| | | { |
| | | Dt_LocationInfo result = isDepth(locations); |
| | | int beforeStatusEnd = 0; |
| | | if (black) |
| | | { |
| | | (Dt_LocationInfo?, int?) result = isDepth(locations); |
| | | if (result.Item1 != null && (result.Item2 == LocationStatusEnum.Free.ObjToInt()|| result.Item2 == LocationStatusEnum.Lock.ObjToInt())) |
| | | if (result != null && (result.LocationStatus == LocationStatusEnum.Free.ObjToInt()|| result.LocationStatus == LocationStatusEnum.Lock.ObjToInt())) |
| | | { |
| | | int beforeStatusEnd = result.Item1.LocationStatus; |
| | | beforeStatusEnd = result.LocationStatus; |
| | | |
| | | result.Item1.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | result.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | |
| | | BaseDal.UpdateData(result.Item1); |
| | | BaseDal.UpdateData(result); |
| | | |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(result.Item1, beforeStatusEnd, changType, "", TaskNum); |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(result, beforeStatusEnd, changType, "", TaskNum); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | (Dt_LocationInfo?, int?) result = isDepth(locations); |
| | | if (result.Item1 != null && result.Item2 == LocationStatusEnum.Free.ObjToInt()) |
| | | if (result != null && result.LocationStatus == LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | int beforeStatusEnd = result.Item1.LocationStatus; |
| | | beforeStatusEnd = result.LocationStatus; |
| | | |
| | | result.Item1.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | result.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | |
| | | BaseDal.UpdateData(result.Item1); |
| | | BaseDal.UpdateData(result); |
| | | |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(result.Item1, beforeStatusEnd, changType, "", TaskNum); |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(result, beforeStatusEnd, changType, "", TaskNum); |
| | | } |
| | | } |
| | | |
| | |
| | | { |
| | | try |
| | | { |
| | | (Dt_LocationInfo?, int?) result = isDepth(locations); |
| | | if (result.Item1 != null) |
| | | Dt_LocationInfo result = isDepth(locations); |
| | | if (result != null) |
| | | { |
| | | int beforeStatusEnd = result.Item1.LocationStatus; |
| | | int beforeStatusEnd = result.LocationStatus; |
| | | |
| | | result.Item1.LocationStatus = LocationStatusEnum.Free.ObjToInt(); |
| | | result.LocationStatus = LocationStatusEnum.Free.ObjToInt(); |
| | | |
| | | BaseDal.UpdateData(result.Item1); |
| | | BaseDal.UpdateData(result); |
| | | |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(result.Item1, beforeStatusEnd, changType, "", TaskNum); |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(result, beforeStatusEnd, changType, "", TaskNum); |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | |
| | | } |
| | | |
| | | } |
| | | public (Dt_LocationInfo?,int?) isDepth(Dt_LocationInfo locationInfo) |
| | | public Dt_LocationInfo isDepth(Dt_LocationInfo locationInfo) |
| | | { |
| | | if (locationInfo.Depth == 2) |
| | | { |
| | |
| | | { |
| | | Dt_LocationInfo dt_LocationInfo = BaseDal.QueryFirst(x => x.Row == locationInfo.Row + 1 && x.Layer == locationInfo.Layer && x.Column == locationInfo.Column && x.RoadwayNo == locationInfo.RoadwayNo); |
| | | |
| | | if (dt_LocationInfo != null&& dt_LocationInfo.LocationStatus==LocationStatusEnum.InStock.ObjToInt()) |
| | | if (dt_LocationInfo != null) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.InStock.ObjToInt()); |
| | | return dt_LocationInfo; |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Free.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Lock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Lock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.PalletLock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.PalletLock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Pallet.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Pallet.ObjToInt()); |
| | | } |
| | | |
| | | } |
| | | else if (locationInfo.Row == 4 || locationInfo.Row == 8) |
| | | { |
| | | Dt_LocationInfo dt_LocationInfo = BaseDal.QueryFirst(x => x.Row == locationInfo.Row + 1 && x.Layer == locationInfo.Layer && x.Column == locationInfo.Column && x.RoadwayNo == locationInfo.RoadwayNo); |
| | | |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.InStock.ObjToInt()) |
| | | if (dt_LocationInfo != null) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.InStock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Free.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Lock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Lock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.PalletLock.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.PalletLock.ObjToInt()); |
| | | } |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.Pallet.ObjToInt()) |
| | | { |
| | | return (dt_LocationInfo, LocationStatusEnum.Pallet.ObjToInt()); |
| | | return dt_LocationInfo; |
| | | } |
| | | } |
| | | } |
| | | return (null, LocationStatusEnum.Free.ObjToInt()); |
| | | return null; |
| | | } |
| | | public void RelocationLock(Dt_LocationInfo locationInfo, Dt_LocationInfo locationInfos, int TaskNum) |
| | | { |
| | |
| | | void UpdateLocationLock(Dt_LocationInfo locationInfo,int task, int changType,bool black); |
| | | void UpdateLocationFree(Dt_LocationInfo locationInfo, int task, int changType, bool black); |
| | | |
| | | //(Dt_LocationInfo?,int) isDepth(Dt_LocationInfo locationInfo); |
| | | Dt_LocationInfo isDepth(Dt_LocationInfo locationInfo); |
| | | |
| | | void RelocationLock(Dt_LocationInfo locationInfo, Dt_LocationInfo locationInfos,int TaskNum); |
| | | void RelocationFree(Dt_LocationInfo locations, int TaskNum); |
| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_IRecordRepository; |
| | | using WIDESEA_Model.Models; |
| | |
| | | void AddLocationStatusChangeRecord(Dt_LocationInfo locationInfo, int lastStatus, int changeType, string orderNo, int? taskNum); |
| | | |
| | | void AddLocationStatusChangeRecord(List<Dt_LocationInfo> locationInfos, int newStatus, int changeType, string? orderNo, List<int>? taskNums); |
| | | |
| | | WebResponseContent GetLocationState(int id); |
| | | } |
| | | } |
| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_Core.DB; |
| | | using WIDESEA_Core.Enums; |
| | | using WIDESEA_Core.Seed; |
| | | using WIDESEA_IRecordRepository; |
| | | using WIDESEA_IRecordService; |
| | |
| | | { |
| | | public void AddLocationStatusChangeRecord(Dt_LocationInfo locationInfo, int lastStatus, int changeType, string? orderNo, int? taskNum) |
| | | { |
| | | Dt_LocationStatusChangeRecord locationStatusChangeRecord = new Dt_LocationStatusChangeRecord() |
| | | try |
| | | { |
| | | AfterStatus = locationInfo.LocationStatus, |
| | | BeforeStatus = lastStatus, |
| | | ChangeType = changeType, |
| | | LocationCode = locationInfo.LocationCode, |
| | | LocationId = locationInfo.Id, |
| | | TaskNum = taskNum, |
| | | OrderNo = orderNo ?? "" |
| | | }; |
| | | |
| | | BaseDal.AddData(locationStatusChangeRecord); |
| | | } |
| | | |
| | | public void AddLocationStatusChangeRecord(List<Dt_LocationInfo> locationInfos, int newStatus, int changeType, string? orderNo, List<int>? taskNums) |
| | | { |
| | | List< Dt_LocationStatusChangeRecord > records = new List<Dt_LocationStatusChangeRecord> (); |
| | | for (int i = 0; i < locationInfos.Count; i++) |
| | | { |
| | | Dt_LocationInfo locationInfo = locationInfos[i]; |
| | | int? taskNum = (taskNums != null && taskNums.Count > 0 && taskNums.Count == locationInfos.Count) ? taskNums[i] : null; |
| | | Dt_LocationStatusChangeRecord locationStatusChangeRecord = new Dt_LocationStatusChangeRecord() |
| | | { |
| | | AfterStatus = newStatus, |
| | | BeforeStatus = locationInfo.LocationStatus, |
| | | AfterStatus = locationInfo.LocationStatus, |
| | | BeforeStatus = lastStatus, |
| | | ChangeType = changeType, |
| | | LocationCode = locationInfo.LocationCode, |
| | | LocationId = locationInfo.Id, |
| | | TaskNum = taskNum, |
| | | OrderNo = orderNo ?? "" |
| | | OrderNo = orderNo ?? "", |
| | | Creater = App.User.UserId == 0 ? "" : "WCS", |
| | | CreateDate = App.User.UserId == 0 ? DateTime.Now : DateTime.Now, |
| | | }; |
| | | records.Add(locationStatusChangeRecord); |
| | | } |
| | | |
| | | |
| | | BaseDal.AddData(records); |
| | | BaseDal.AddData(locationStatusChangeRecord); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | throw new Exception($"{ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | public void AddLocationStatusChangeRecord(List<Dt_LocationInfo> locationInfos, int newStatus, int changeType, string? orderNo, List<int>? taskNums) |
| | | { |
| | | try |
| | | { |
| | | List<Dt_LocationStatusChangeRecord> records = new List<Dt_LocationStatusChangeRecord>(); |
| | | for (int i = 0; i < locationInfos.Count; i++) |
| | | { |
| | | Dt_LocationInfo locationInfo = locationInfos[i]; |
| | | int? taskNum = (taskNums != null && taskNums.Count > 0 && taskNums.Count == locationInfos.Count) ? taskNums[i] : null; |
| | | Dt_LocationStatusChangeRecord locationStatusChangeRecord = new Dt_LocationStatusChangeRecord() |
| | | { |
| | | AfterStatus = newStatus, |
| | | BeforeStatus = locationInfo.LocationStatus, |
| | | ChangeType = changeType, |
| | | LocationCode = locationInfo.LocationCode, |
| | | LocationId = locationInfo.Id, |
| | | TaskNum = taskNum, |
| | | OrderNo = orderNo ?? "" |
| | | }; |
| | | records.Add(locationStatusChangeRecord); |
| | | } |
| | | |
| | | |
| | | BaseDal.AddData(records); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | throw new Exception($"{ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | public WebResponseContent GetLocationState(int id) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | | { |
| | | List<Dt_LocationStatusChangeRecord> location=BaseDal.QueryData(x=>x.LocationId== id).ToList(); |
| | | |
| | | return content = WebResponseContent.Instance.OK(data: location); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return content = WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | TargetAddress = locationInfo.LocationCode, |
| | | TaskStatus = InTaskStatusEnum.InNew.ObjToInt(), |
| | | TaskType = taskType, |
| | | Depth= locationInfo.Depth, |
| | | }; |
| | | BaseDal.AddData(task); |
| | | int beforeStatus = locationInfo.LocationStatus; |
| | |
| | | var response = HttpHelper.Post<WebResponseContent>(url + "ReceiveTask/", tasks, "å
¥åºä»»å¡ä¸å"); |
| | | if (!response.Status) |
| | | { |
| | | return content = WebResponseContent.Instance.Error("ä»»å¡ä¸åå¼å¸¸"); |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error($"{response.Message}"); |
| | | } |
| | | _unitOfWorkManage.CommitTran(); |
| | | return content = WebResponseContent.Instance.OK(); |
| | |
| | | using System.Reflection.Metadata; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.RefAndLookup; |
| | | using SkiaSharp; |
| | | using System.Collections; |
| | | |
| | | namespace WIDESEA_TaskInfoService |
| | | { |
| | |
| | | _unitOfWorkManage.BeginTran(); |
| | | //å¤æç§»åº |
| | | (List<Dt_Task>?, List<Dt_Task>?) result=RelocationTasks(tasks.OrderBy(x=>x.Depth).ToList()); |
| | | |
| | | if(result.Item1 != null) |
| | | if (result.Item1 != null && result.Item1.Count >0) |
| | | { |
| | | |
| | | AddData(result.Item1); |
| | | var response = HttpHelper.Post<WebResponseContent>(url + "ReceiveTask/", result.Item1, "å
¥åºä»»å¡ä¸å"); |
| | | if (!response.Status) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error($"{response.Message}"); |
| | | } |
| | | } |
| | | for (int i = 0; i < result.Item2.Count; i++) |
| | | if(result.Item2 != null&&result.Item2.Count>0) |
| | | { |
| | | |
| | | for (int i = 0; i < result.Item2.Count; i++) |
| | | { |
| | | Dt_LocationInfo location = _basicService.LocationInfoService.Repository.QueryFirst(x => x.LocationCode == result.Item2[i].SourceAddress && x.RoadwayNo == result.Item2[i].Roadway); |
| | | _basicService.LocationInfoService.UpdateLocationLock(location, result.Item2[i].TaskNum, StockChangeType.Outbound.ObjToInt(), false); |
| | | |
| | | } |
| | | AddData(result.Item2); |
| | | var response = HttpHelper.Post<WebResponseContent>(url + "ReceiveTask/", result.Item2, "å
¥åºä»»å¡ä¸å"); |
| | | if (!response.Status) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return content = WebResponseContent.Instance.Error($"{response.Message}"); |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | int befoStatus=location.LocationStatus.ObjToInt(); |
| | | if (location != null) |
| | | { |
| | | Dt_LocationInfo result = isDepth(location); |
| | | if (result != null && result.LocationStatus == LocationStatusEnum.Lock.ObjToInt() && result.LocationStatus != LocationStatusEnum.PalletLock.ObjToInt() && result.LocationStatus != LocationStatusEnum.Free.ObjToInt()) |
| | | Dt_LocationInfo result = _basicService.LocationInfoService.isDepth(location); |
| | | if (result != null && result.LocationStatus != LocationStatusEnum.Lock.ObjToInt() && result.LocationStatus != LocationStatusEnum.PalletLock.ObjToInt() && result.LocationStatus != LocationStatusEnum.Free.ObjToInt()) |
| | | { |
| | | int sum = 0; |
| | | for (int j = 0; j < task.Count; j++) |
| | |
| | | { |
| | | Dt_Task relocariontask = RelocationTask(result); |
| | | task[i].Grade=1; |
| | | tasks.Add(task[i]); |
| | | relocationList.Add(relocariontask); |
| | | relocationList.Add(task[i]); |
| | | } |
| | | else |
| | | { |
| | |
| | | break; |
| | | } |
| | | } |
| | | return (tasks, relocationList); |
| | | return (relocationList,tasks); |
| | | } |
| | | else |
| | | { |
| | |
| | | TargetAddress = locationInfos.LocationCode, |
| | | TaskStatus = InTaskStatusEnum.RelocationNew.ObjToInt(), |
| | | TaskType = TaskTypeEnum.Relocation.ObjToInt(), |
| | | Depth= location.Depth, |
| | | TaskNum = BaseDal.GetTaskNum(nameof(SequenceEnum.SeqTaskNum)) |
| | | }; |
| | | _basicService.LocationInfoService.RelocationLock(location, locationInfos, tasks.TaskNum); |
| | | stockInfo.StockStatus= StockStatusEmun.ç§»åºéå®.ObjToInt(); |
| | | _stockService.StockInfoService.Repository.UpdateData(stockInfo); |
| | | return tasks; |
| | | } |
| | | else |
| | |
| | | TaskType = TaskTypeEnum.PalletOutbound.ObjToInt(), |
| | | Depth = locationInfo.Depth, |
| | | TaskNum = BaseDal.GetTaskNum(nameof(SequenceEnum.SeqTaskNum)) |
| | | |
| | | }; |
| | | int beforeStatus = locationInfo.LocationStatus; |
| | | _unitOfWorkManage.BeginTran(); |
| | | stockInfo.StockStatus = StockStatusEmun.åºåºéå®.ObjToInt(); |
| | | locationInfo.LocationStatus = LocationStatusEnum.Lock.ObjToInt(); |
| | | BaseDal.AddData(task); |
| | | List<Dt_Task> tasks=new List<Dt_Task>(); |
| | | tasks.Add(task); |
| | | (List<Dt_Task>?, List<Dt_Task>?) result = RelocationTasks(tasks.OrderBy(x => x.Depth).ToList()); |
| | | if (result.Item1 != null && result.Item1.Count > 0) |
| | | { |
| | | AddData(result.Item1); |
| | | var response = HttpHelper.Post<WebResponseContent>(url + "ReceiveTask/", result.Item1, "å
¥åºä»»å¡ä¸å"); |
| | | if (!response.Status) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return WebResponseContent.Instance.Error($"{response.Message}"); |
| | | } |
| | | } |
| | | if (result.Item2 != null && result.Item2.Count > 0) |
| | | { |
| | | for (int i = 0; i < result.Item2.Count; i++) |
| | | { |
| | | Dt_LocationInfo location = _basicService.LocationInfoService.Repository.QueryFirst(x => x.LocationCode == result.Item2[i].SourceAddress && x.RoadwayNo == result.Item2[i].Roadway); |
| | | _basicService.LocationInfoService.UpdateLocationLock(location, result.Item2[i].TaskNum, StockChangeType.Outbound.ObjToInt(), false); |
| | | |
| | | } |
| | | AddData(result.Item2); |
| | | var response = HttpHelper.Post<WebResponseContent>(url + "ReceiveTask/", result.Item2, "å
¥åºä»»å¡ä¸å"); |
| | | if (!response.Status) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | return WebResponseContent.Instance.Error($"{response.Message}"); |
| | | } |
| | | } |
| | | _stockService.StockInfoService.UpdateData(stockInfo); |
| | | |
| | | _basicService.LocationInfoService.UpdateData(locationInfo); |
| | | |
| | | _basicService.LocationInfoService.UpdateLocationLock(locationInfo, task.TaskNum, StockChangeType.Outbound.ObjToInt(), false); |
| | | _recordService.LocationStatusChangeRecordSetvice.AddLocationStatusChangeRecord(locationInfo, beforeStatus, StockChangeType.Outbound.ObjToInt(), "", task.TaskNum); |
| | | |
| | | _unitOfWorkManage.CommitTran(); |
| | | return WebResponseContent.Instance.OK(); |
| | | } |
| | |
| | | { |
| | | return WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | } |
| | | |
| | | public Dt_LocationInfo isDepth(Dt_LocationInfo locationInfo) |
| | | { |
| | | if (locationInfo.Depth == 2) |
| | | { |
| | | if (locationInfo.Row == 1 || locationInfo.Row == 5) |
| | | { |
| | | Dt_LocationInfo dt_LocationInfo = _basicService.LocationInfoService.Repository.QueryFirst(x => x.Row == locationInfo.Row + 1 && x.Layer == locationInfo.Layer && x.Column == locationInfo.Column && x.RoadwayNo == locationInfo.RoadwayNo); |
| | | |
| | | if (dt_LocationInfo != null) |
| | | { |
| | | return dt_LocationInfo; |
| | | } |
| | | |
| | | } |
| | | else if (locationInfo.Row == 4 || locationInfo.Row == 8) |
| | | { |
| | | Dt_LocationInfo dt_LocationInfo = _basicService.LocationInfoService.Repository.QueryFirst(x => x.Row == locationInfo.Row + 1 && x.Layer == locationInfo.Layer && x.Column == locationInfo.Column && x.RoadwayNo == locationInfo.RoadwayNo); |
| | | |
| | | if (dt_LocationInfo != null && dt_LocationInfo.LocationStatus == LocationStatusEnum.InStock.ObjToInt()) |
| | | { |
| | | return dt_LocationInfo; |
| | | } |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | PalletCode = task.PalletCode, |
| | | LocationCode = task.TargetAddress, |
| | | StockStatus = StockStatusEmun.å·²å
¥åº.ObjToInt() |
| | | StockStatus = StockStatusEmun.å·²å
¥åº.ObjToInt(), |
| | | Creater = App.User.UserId == 0 ? "" : "WCS", |
| | | CreateDate = App.User.UserId == 0 ? DateTime.Now : DateTime.Now, |
| | | }; |
| | | Dt_LocationInfo locationInfo = _basicService.LocationInfoService.Repository.QueryFirst(x => x.LocationCode == task.TargetAddress); |
| | | |
| | |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_IRecordService; |
| | | using WIDESEA_Model.Models; |
| | |
| | | public LocationStatusChangeRecordController(ILocationStatusChangeRecordSetvice service) : base(service) |
| | | { |
| | | } |
| | | [HttpPost, HttpGet,Route("GetLocationState")] |
| | | public WebResponseContent GetLocationState(int id) |
| | | { |
| | | return Service.GetLocationState(id); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2024/11/4 9:53:57.186 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"","é误":"ç±äºç®æ è®¡ç®æºç§¯ææç»ï¼æ æ³è¿æ¥ã [::ffff:127.0.0.1]:9291 (localhost:9291)"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 9:54:12.384 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"","é误":"ç±äºç®æ è®¡ç®æºç§¯ææç»ï¼æ æ³è¿æ¥ã [::ffff:127.0.0.1]:9291 (localhost:9291)"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 9:55:52.71 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 9:56:20.133 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 9:56:50.817 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 9:57:26.66 |
| | | 请æ±å¼å¸¸ |
| | | {"è¯·æ±æ¥æ":[],"æ¥æ¶æ¥æ":"","é误":"The operation has timed out."} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:19:50.583 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":415,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:19:49.2440976+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":413,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:19:49.2473686+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":416,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:19:49.2496615+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":414,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:19:49.2518787+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:20:51.349 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":419,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:20:51.2850466+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":417,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:20:51.2887037+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":420,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:20:51.2917218+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":418,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:20:51.2950052+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:21:26.449 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":423,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:21:26.3802505+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":421,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:21:26.3815239+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":424,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:21:26.3825181+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":422,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:21:26.384303+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:22:29.166 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":427,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:22:26.8088437+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":425,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:22:26.810592+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":428,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:22:26.8123729+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":426,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:22:26.8152624+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:23:09.928 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":431,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:23:09.7956154+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":429,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:23:09.7979905+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":432,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:23:09.7990715+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":430,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:23:09.8006488+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:24:13.65 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":435,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:24:12.4011388+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":433,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:24:12.4030226+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":436,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:24:12.4048304+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":434,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:24:12.4066698+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:25:15.736 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":439,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:25:15.221733+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":437,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:25:15.2227163+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":440,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:25:15.2236295+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":438,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:25:15.2245199+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":null,\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:26:46.895 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":443,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:26:43.2786121+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":441,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:26:43.2807654+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":444,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:26:43.2823247+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":442,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:26:43.2837437+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:27:42.373 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":447,"PalletCode":"A00004","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:27:38.0597215+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":445,"PalletCode":"A00001","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:27:38.0616766+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":448,"PalletCode":"A00003","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:27:38.0650421+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":446,"PalletCode":"A00002","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:27:38.0686934+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:42:12.190 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":451,"PalletCode":"A0001","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-003-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":2,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:42:11.3328194+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:43:34.153 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":452,"PalletCode":"A0002","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-002-001-003-01","CurrentAddress":"001-001-001","NextAddress":"R01-002-001-003-01","Depth":0,"OrderNo":null,"Grade":2,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:43:33.6068981+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:47:16.953 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":456,"PalletCode":"A0002","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:47:16.2321019+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":455,"PalletCode":"A00003","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:47:16.2356252+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:48:14.895 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":458,"PalletCode":"A0002","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-002-01","TargetAddress":"R01-001-001-003-02","CurrentAddress":"R01-002-001-002-01","NextAddress":"R01-001-001-003-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:48:14.7744432+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":457,"PalletCode":"A00003","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:48:14.7779773+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 10:55:08.381 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":461,"PalletCode":"A0001","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-002-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-002-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:55:08.0746923+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":460,"PalletCode":"A00004","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T10:55:08.0758474+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 11:02:53.632 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":463,"PalletCode":"A0001","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-002-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-002-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T11:02:53.3624628+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":462,"PalletCode":"A00004","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T11:02:53.3652376+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":false,\"code\":0,\"message\":\"æéå¤ä»»å¡\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 11:03:16.303 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":465,"PalletCode":"A0001","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-002-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-002-02","Depth":0,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T11:03:16.2160819+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":464,"PalletCode":"A00004","Roadway":"R01","TaskType":100,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"004-000-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"004-000-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T11:03:16.2207375+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 11:28:28.372 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":468,"PalletCode":"A0002","Roadway":"R01","TaskType":104,"TaskStatus":100,"SourceAddress":"R01-002-001-002-01","TargetAddress":"001-001-001","CurrentAddress":"R01-002-001-002-01","NextAddress":"001-001-001","Depth":1,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T11:28:27.6082459+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:27:01.259 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":469,"PalletCode":"A0001","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-001-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-001-02","Depth":0,"OrderNo":null,"Grade":2,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:26:59.6557172+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:28:30.236 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":470,"PalletCode":"A0001","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-002-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-002-02","Depth":0,"OrderNo":null,"Grade":2,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:28:29.5755898+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:32:28.529 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":471,"PalletCode":"A0001","Roadway":"R01","TaskType":104,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"001-001-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"001-001-001","Depth":2,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:32:28.28661+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:32:45.23 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":472,"PalletCode":"A0001","Roadway":"R01","TaskType":104,"TaskStatus":100,"SourceAddress":"R01-001-001-002-02","TargetAddress":"001-001-001","CurrentAddress":"R01-001-001-002-02","NextAddress":"001-001-001","Depth":2,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:32:44.9920731+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:33:46.684 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":473,"PalletCode":"A0001","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-001-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-001-02","Depth":0,"OrderNo":null,"Grade":2,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:33:45.8679764+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:35:21.776 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":474,"PalletCode":"A0001","Roadway":"R01","TaskType":104,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"001-001-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"001-001-001","Depth":2,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:35:21.7027708+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:42:04.526 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":475,"PalletCode":"A0001","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-001-001-001-02","CurrentAddress":"001-001-001","NextAddress":"R01-001-001-001-02","Depth":2,"OrderNo":null,"Grade":2,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:41:59.7002876+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:44:23.860 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":476,"PalletCode":"A0002","Roadway":"R01","TaskType":204,"TaskStatus":200,"SourceAddress":"001-001-001","TargetAddress":"R01-002-001-001-01","CurrentAddress":"001-001-001","NextAddress":"R01-002-001-001-01","Depth":1,"OrderNo":null,"Grade":2,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:44:23.0728179+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |
| | | 2024/11/4 16:44:57.981 |
| | | è¯·æ±æå |
| | | {"è¯·æ±æ¥æ":[{"TaskId":0,"TaskNum":478,"PalletCode":"A0002","Roadway":"R01","TaskType":300,"TaskStatus":300,"SourceAddress":"R01-002-001-001-01","TargetAddress":"R01-001-001-002-02","CurrentAddress":"R01-002-001-001-01","NextAddress":"R01-001-001-002-02","Depth":1,"OrderNo":null,"Grade":0,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:44:57.8328644+08:00","Modifier":null,"ModifyDate":null},{"TaskId":0,"TaskNum":477,"PalletCode":"A0001","Roadway":"R01","TaskType":104,"TaskStatus":100,"SourceAddress":"R01-001-001-001-02","TargetAddress":"001-001-001","CurrentAddress":"R01-001-001-001-02","NextAddress":"001-001-001","Depth":2,"OrderNo":null,"Grade":1,"SourceKey":0,"Dispatchertime":null,"Remark":null,"Creater":"admin","CreateDate":"2024-11-04T16:44:57.8376349+08:00","Modifier":null,"ModifyDate":null}],"æ¥æ¶æ¥æ":"{\"status\":true,\"code\":0,\"message\":\"æ·»å 任塿å\",\"data\":null,\"devMessage\":null}"} |
| | | ------------------------------- |
| | | |