Commit f4713769 by xin.yang

fix bug

parent ce96a085
...@@ -703,8 +703,8 @@ export default { ...@@ -703,8 +703,8 @@ export default {
code:res.data.data.code, code:res.data.data.code,
} }
]; ];
this.qrcode = res.data.data.sn;
this.product = this.productList[0]; this.product = this.productList[0];
this.qrcode = res.data.data.sn;
this.initmaterial(this.product.id, stationid); this.initmaterial(this.product.id, stationid);
this.inititems(); this.inititems();
} else { } else {
......
...@@ -162,4 +162,16 @@ namespace Siger.Middlelayer.AccRepository.Response ...@@ -162,4 +162,16 @@ namespace Siger.Middlelayer.AccRepository.Response
public int son_categoryid { get; set; } public int son_categoryid { get; set; }
public int son_status { get; set; } public int son_status { get; set; }
} }
public class ResponseMonitorSnProduct
{
public string sn { get; set; } = string.Empty;
public int id { get; set; } = 0;
public string name { get; set; } = string.Empty;
public string code { get; set; } = string.Empty;
}
} }
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