Commit 19e0b3ff by xin.yang

fix bug

parent c1b2f006
...@@ -444,7 +444,7 @@ export default { ...@@ -444,7 +444,7 @@ export default {
return false; return false;
} }
this.type = 2; this.type = 2;
this.parentType = [];//工装类型 清空 this.parentType = this.detailobj.categoryids;//工装类型 清空
this.parentTypeid = this.detailobj.categoryid; this.parentTypeid = this.detailobj.categoryid;
this.addfrockid = this.detailobj.fixturetoolid;//工装id this.addfrockid = this.detailobj.fixturetoolid;//工装id
this.addproductid = this.detailobj.productid;//产品 this.addproductid = this.detailobj.productid;//产品
......
...@@ -569,8 +569,8 @@ export default { ...@@ -569,8 +569,8 @@ export default {
this.initFrockType();//工装类型 this.initFrockType();//工装类型
this.parentType = this.detailobj.categoryIds;//工装类型 this.parentType = this.detailobj.categoryIds;//工装类型
let categoryIds = this.detailobj.categoryIds; let categoryIds = this.detailobj.categoryIds;
this.parentTypeid = this.detailobj.categoryId;
if(Array.isArray(categoryIds)&& categoryIds.length){ if(Array.isArray(categoryIds)&& categoryIds.length){
this.parentTypeid = categoryIds[categoryIds.length -1];
this.getFrocksChange(); this.getFrocksChange();
} }
this.addfrockid = this.detailobj.fixturetoolid;//工装id this.addfrockid = this.detailobj.fixturetoolid;//工装id
......
...@@ -57,7 +57,8 @@ namespace Siger.Middlelayer.AccRepository.Repositories ...@@ -57,7 +57,8 @@ namespace Siger.Middlelayer.AccRepository.Repositories
sn = m.sn ?? "", sn = m.sn ?? "",
route = r.name ?? "", route = r.name ?? "",
routenumber = r == null ? "" : r.serialNumber.ToString(), routenumber = r == null ? "" : r.serialNumber.ToString(),
cate_guid = c.guid ?? "" cate_guid = c.guid ?? "",
categoryId = c == null ? 0 : c.id
}; };
Expression<Func<ResponseAutomationLocation, bool>> wavehouseidExpression = f => true; Expression<Func<ResponseAutomationLocation, bool>> wavehouseidExpression = f => true;
if (wavehouseid > 0) if (wavehouseid > 0)
......
...@@ -20,6 +20,7 @@ namespace Siger.Middlelayer.AccRepository.Response ...@@ -20,6 +20,7 @@ namespace Siger.Middlelayer.AccRepository.Response
/// </summary> /// </summary>
public int fixturetoolid { get; set; } public int fixturetoolid { get; set; }
public string fixturetool { get; set; } public string fixturetool { get; set; }
public int categoryId { get; set; }
public string category { get; set; } public string category { get; set; }
public string code { get; set; } public string code { get; set; }
public string specfication { get; set; } public string specfication { get; set; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment