和系统调试发现的问题的修改

This commit is contained in:
hehaibing-1996
2025-01-17 17:17:45 +08:00
parent de682b3884
commit 04b5e04300
6 changed files with 15 additions and 12 deletions

View File

@ -78,7 +78,7 @@ namespace WCS.BLL.DbModels
public Guid Guid { get; set; }
/// <summary>
/// 任务模式:入库模式 = 0, 出库模式 = 1, 盘点模式 = 2
/// 任务模式:入库模式 = 1, 出库模式 = 2, 盘点模式 = 3
/// </summary>
[SugarColumn(ColumnName = "task_mode", IsNullable = false, ColumnDescription = "任务模式:入库模式 = 0, 出库模式 = 1, 盘点模式 = 2")]
public TaskModeEnum TaskMode { get; set; }

View File

@ -559,6 +559,7 @@ namespace WCS.BLL.HardWare
MatBatch = task.MatBatch,
MatSN = task.MatSN,
CreateTime = task.CreateTime,
Qty = task.Qty,
FinishQty = finishQty,
FinishTime = DateTime.Now,
};
@ -617,6 +618,7 @@ namespace WCS.BLL.HardWare
MatBatch = task.MatBatch,
MatSN = task.MatSN,
CreateTime = task.CreateTime,
Qty= task.Qty,
FinishQty = finishQty,
FinishTime = DateTime.Now,
};
@ -675,6 +677,7 @@ namespace WCS.BLL.HardWare
MatBatch = task.MatBatch,
MatSN = task.MatSN,
CreateTime = task.CreateTime,
Qty = task.Qty,
FinishQty = finishQty,
FinishTime = DateTime.Now,
};

View File

@ -75,8 +75,8 @@ namespace WCS.BLL.Manager
matSN = finishedTask.MatSN,
orderNumber = finishedTask.OrderNumber,
orderType = (int)finishedTask.TaskMode,
storeCode = finishedTask.StoreCode,
qty = finishedTask.Qty,
storeCode = finishedTask.ModuleCode,
qty = finishedTask.FinishQty,
};
var result = ApiHelp.GetDataFromHttp<SysOrderResponse>(@"http://10.41.235.10:18989/ztwcs/stockBillBack", request, "POST", true);
if (result != null && (result.code == 200))

View File

@ -104,7 +104,7 @@ namespace WCS.BLL.Services.Service
ButtonColor = DbModels.Task.ButtonColorEnum.绿,
MatCode = orderDetail.MatCode,
MatName = orderDetail.MatName,
MatSpec = orderDetail.MatSpec,
MatSpec = string.IsNullOrEmpty(orderDetail.MatSpec) ? "-" : orderDetail.MatSpec,
MatBatch = orderDetail.MatBatch,
MatSN = orderDetail.MatSN,
Qty = orderDetail.Qty

View File

@ -49,22 +49,22 @@ namespace WCS.Model.ApiModel.MXL4
/// <summary>
/// 物料编码
/// </summary>
public string MatCode { get; set; } = string.Empty;
public string MatCode { get; set; } = "-";
/// <summary>
/// 物料名称
/// </summary>
public string MatName { get; set; } = string.Empty;
public string MatName { get; set; } = "-";
/// <summary>
/// 物料规格
/// </summary>
public string MatSpec { get; set; } = string.Empty;
public string MatSpec { get; set; } = "-";
/// <summary>
/// 物料批次
/// </summary>
public string MatBatch { get; set; } = string.Empty;
public string MatBatch { get; set; } = "-";
/// <summary>
/// 物料SN

View File

@ -22,9 +22,9 @@ namespace WCS.BLL.DbModels.Task
public enum TaskModeEnum
{
= 0,
= 1,
= 2,
= 3
= 1,
= 2,
= 3,
= 0
}
}