更改接口灭灯功能
This commit is contained in:
@ -595,7 +595,7 @@ namespace Epost.BLL
|
||||
{
|
||||
var nowmodel = nowJoblist.FirstOrDefault();
|
||||
|
||||
#region 点亮任务标s签
|
||||
#region 点亮任务标签
|
||||
foreach (JobModel item in nowJoblist.ToArray())
|
||||
{
|
||||
List<JobModel> isshowList = jobList.FindAll(p => p.Address == item.Address && p.ControlIP == item.ControlIP && p.State == 1);
|
||||
@ -628,7 +628,12 @@ namespace Epost.BLL
|
||||
|
||||
|
||||
lamodel.Title = item.genericname;
|
||||
lamodel.Content = "" + item.Sku.Substring(item.Sku.Length - 4, 4) + " " + item.Spec + "\r" + item.GoodsName + "\r批号" + item.batchno + " " + item.manufactname.Substring(0, 4) + "";
|
||||
string manufactname = string.Empty;
|
||||
if (!string.IsNullOrEmpty(item.manufactname) && item.manufactname.Length > 4)
|
||||
{
|
||||
manufactname = item.manufactname.Substring(0, 4);
|
||||
}
|
||||
lamodel.Content = "" + item.Sku.Substring(item.Sku.Length - 4, 4) + "\\t" + item.Spec + "\r" + item.GoodsName + "\r批号" + item.batchno + " " + manufactname + "";
|
||||
var aryloc = item.Tolocation.Split('-');
|
||||
lamodel.Loc = "" + aryloc[0].ToString() + "-" + aryloc[1].ToString() + "";
|
||||
lamodel.W_quantity = aryloc[2].ToString();
|
||||
|
Reference in New Issue
Block a user